feat: add config module with controller and service
- Implemented ConfigController for handling config-related requests. - Created ConfigService for business logic related to configurations. - Added CreateConfigDto for validating configuration data. feat: add good categories module with controller and service - Implemented GoodCategoriesController for managing good categories. - Created GoodCategoriesService for business logic related to good categories. - Added CreateGoodCategoryDto for validating good category data. feat: add goods module with controller and service - Implemented GoodsController for managing goods. - Created GoodsService for business logic related to goods. - Added CreateGoodDto for validating good data. feat: add profile module with controller and service - Implemented ProfileController for managing user profiles. - Created ProfileService for business logic related to profiles. - Added CreateProfileDto for profile data structure. feat: add sales invoice payments module with controller and service - Implemented SalesInvoicePaymentsController for managing invoice payments. - Created SalesInvoicePaymentsService for business logic related to payments. - Added CreateSalesInvoicePaymentDto for validating payment data. feat: add service categories module with controller and service - Implemented ServiceCategoriesController for managing service categories. - Created ServiceCategoriesService for business logic related to service categories. - Added CreateServiceCategoryDto for validating service category data. feat: add services module with controller and service - Implemented ServicesController for managing services. - Created ServicesService for business logic related to services. - Added CreateServiceDto for validating service data. feat: add trigger logs module with controller and service - Implemented TriggerLogsController for managing trigger logs. - Created TriggerLogsService for business logic related to trigger logs. - Added CreateTriggerLogDto for validating trigger log data. feat: add uploaders module for handling file uploads - Implemented UploadersController for managing file uploads. - Created ImageUploaderService for image upload logic. - Created UploaderService for file handling and storage.
This commit is contained in:
@@ -20,106 +20,100 @@ export type CustomerModel = runtime.Types.Result.DefaultSelection<Prisma.$Custom
|
||||
|
||||
export type AggregateCustomer = {
|
||||
_count: CustomerCountAggregateOutputType | null
|
||||
_avg: CustomerAvgAggregateOutputType | null
|
||||
_sum: CustomerSumAggregateOutputType | null
|
||||
_min: CustomerMinAggregateOutputType | null
|
||||
_max: CustomerMaxAggregateOutputType | null
|
||||
}
|
||||
|
||||
export type CustomerAvgAggregateOutputType = {
|
||||
id: number | null
|
||||
}
|
||||
|
||||
export type CustomerSumAggregateOutputType = {
|
||||
id: number | null
|
||||
}
|
||||
|
||||
export type CustomerMinAggregateOutputType = {
|
||||
id: number | null
|
||||
firstName: string | null
|
||||
lastName: string | null
|
||||
id: string | null
|
||||
first_name: string | null
|
||||
last_name: string | null
|
||||
email: string | null
|
||||
mobileNumber: string | null
|
||||
mobile_number: string | null
|
||||
address: string | null
|
||||
isActive: boolean | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
deletedAt: Date | null
|
||||
is_active: boolean | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
deleted_at: Date | null
|
||||
}
|
||||
|
||||
export type CustomerMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
firstName: string | null
|
||||
lastName: string | null
|
||||
id: string | null
|
||||
first_name: string | null
|
||||
last_name: string | null
|
||||
email: string | null
|
||||
mobileNumber: string | null
|
||||
mobile_number: string | null
|
||||
address: string | null
|
||||
isActive: boolean | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
deletedAt: Date | null
|
||||
is_active: boolean | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
deleted_at: Date | null
|
||||
}
|
||||
|
||||
export type CustomerCountAggregateOutputType = {
|
||||
id: number
|
||||
firstName: number
|
||||
lastName: number
|
||||
first_name: number
|
||||
last_name: number
|
||||
email: number
|
||||
mobileNumber: number
|
||||
mobile_number: number
|
||||
address: number
|
||||
isActive: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
deletedAt: number
|
||||
is_active: number
|
||||
account_id: number
|
||||
complex_id: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
deleted_at: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
|
||||
export type CustomerAvgAggregateInputType = {
|
||||
id?: true
|
||||
}
|
||||
|
||||
export type CustomerSumAggregateInputType = {
|
||||
id?: true
|
||||
}
|
||||
|
||||
export type CustomerMinAggregateInputType = {
|
||||
id?: true
|
||||
firstName?: true
|
||||
lastName?: true
|
||||
first_name?: true
|
||||
last_name?: true
|
||||
email?: true
|
||||
mobileNumber?: true
|
||||
mobile_number?: true
|
||||
address?: true
|
||||
isActive?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
deletedAt?: true
|
||||
is_active?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
}
|
||||
|
||||
export type CustomerMaxAggregateInputType = {
|
||||
id?: true
|
||||
firstName?: true
|
||||
lastName?: true
|
||||
first_name?: true
|
||||
last_name?: true
|
||||
email?: true
|
||||
mobileNumber?: true
|
||||
mobile_number?: true
|
||||
address?: true
|
||||
isActive?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
deletedAt?: true
|
||||
is_active?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
}
|
||||
|
||||
export type CustomerCountAggregateInputType = {
|
||||
id?: true
|
||||
firstName?: true
|
||||
lastName?: true
|
||||
first_name?: true
|
||||
last_name?: true
|
||||
email?: true
|
||||
mobileNumber?: true
|
||||
mobile_number?: true
|
||||
address?: true
|
||||
isActive?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
deletedAt?: true
|
||||
is_active?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -158,18 +152,6 @@ export type CustomerAggregateArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
* Count returned Customers
|
||||
**/
|
||||
_count?: true | CustomerCountAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to average
|
||||
**/
|
||||
_avg?: CustomerAvgAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to sum
|
||||
**/
|
||||
_sum?: CustomerSumAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
@@ -203,26 +185,24 @@ export type CustomerGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
take?: number
|
||||
skip?: number
|
||||
_count?: CustomerCountAggregateInputType | true
|
||||
_avg?: CustomerAvgAggregateInputType
|
||||
_sum?: CustomerSumAggregateInputType
|
||||
_min?: CustomerMinAggregateInputType
|
||||
_max?: CustomerMaxAggregateInputType
|
||||
}
|
||||
|
||||
export type CustomerGroupByOutputType = {
|
||||
id: number
|
||||
firstName: string
|
||||
lastName: string
|
||||
id: string
|
||||
first_name: string
|
||||
last_name: string
|
||||
email: string | null
|
||||
mobileNumber: string
|
||||
mobile_number: string
|
||||
address: string | null
|
||||
isActive: boolean
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
deletedAt: Date | null
|
||||
is_active: boolean
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
_count: CustomerCountAggregateOutputType | null
|
||||
_avg: CustomerAvgAggregateOutputType | null
|
||||
_sum: CustomerSumAggregateOutputType | null
|
||||
_min: CustomerMinAggregateOutputType | null
|
||||
_max: CustomerMaxAggregateOutputType | null
|
||||
}
|
||||
@@ -246,175 +226,200 @@ export type CustomerWhereInput = {
|
||||
AND?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[]
|
||||
OR?: Prisma.CustomerWhereInput[]
|
||||
NOT?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[]
|
||||
id?: Prisma.IntFilter<"Customer"> | number
|
||||
firstName?: Prisma.StringFilter<"Customer"> | string
|
||||
lastName?: Prisma.StringFilter<"Customer"> | string
|
||||
id?: Prisma.StringFilter<"Customer"> | string
|
||||
first_name?: Prisma.StringFilter<"Customer"> | string
|
||||
last_name?: Prisma.StringFilter<"Customer"> | string
|
||||
email?: Prisma.StringNullableFilter<"Customer"> | string | null
|
||||
mobileNumber?: Prisma.StringFilter<"Customer"> | string
|
||||
mobile_number?: Prisma.StringFilter<"Customer"> | string
|
||||
address?: Prisma.StringNullableFilter<"Customer"> | string | null
|
||||
isActive?: Prisma.BoolFilter<"Customer"> | boolean
|
||||
createdAt?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
deletedAt?: Prisma.DateTimeNullableFilter<"Customer"> | Date | string | null
|
||||
salesInvoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
is_active?: Prisma.BoolFilter<"Customer"> | boolean
|
||||
account_id?: Prisma.StringFilter<"Customer"> | string
|
||||
complex_id?: Prisma.StringFilter<"Customer"> | string
|
||||
created_at?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"Customer"> | Date | string | null
|
||||
sales_invoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
}
|
||||
|
||||
export type CustomerOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
firstName?: Prisma.SortOrder
|
||||
lastName?: Prisma.SortOrder
|
||||
first_name?: Prisma.SortOrder
|
||||
last_name?: Prisma.SortOrder
|
||||
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
mobileNumber?: Prisma.SortOrder
|
||||
mobile_number?: Prisma.SortOrder
|
||||
address?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
isActive?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
salesInvoices?: Prisma.SalesInvoiceOrderByRelationAggregateInput
|
||||
is_active?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
sales_invoices?: Prisma.SalesInvoiceOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.CustomerOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type CustomerWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: number
|
||||
mobileNumber?: string
|
||||
id?: string
|
||||
mobile_number?: string
|
||||
AND?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[]
|
||||
OR?: Prisma.CustomerWhereInput[]
|
||||
NOT?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[]
|
||||
firstName?: Prisma.StringFilter<"Customer"> | string
|
||||
lastName?: Prisma.StringFilter<"Customer"> | string
|
||||
first_name?: Prisma.StringFilter<"Customer"> | string
|
||||
last_name?: Prisma.StringFilter<"Customer"> | string
|
||||
email?: Prisma.StringNullableFilter<"Customer"> | string | null
|
||||
address?: Prisma.StringNullableFilter<"Customer"> | string | null
|
||||
isActive?: Prisma.BoolFilter<"Customer"> | boolean
|
||||
createdAt?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
deletedAt?: Prisma.DateTimeNullableFilter<"Customer"> | Date | string | null
|
||||
salesInvoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
}, "id" | "mobileNumber">
|
||||
is_active?: Prisma.BoolFilter<"Customer"> | boolean
|
||||
account_id?: Prisma.StringFilter<"Customer"> | string
|
||||
complex_id?: Prisma.StringFilter<"Customer"> | string
|
||||
created_at?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Customer"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"Customer"> | Date | string | null
|
||||
sales_invoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
}, "id" | "mobile_number">
|
||||
|
||||
export type CustomerOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
firstName?: Prisma.SortOrder
|
||||
lastName?: Prisma.SortOrder
|
||||
first_name?: Prisma.SortOrder
|
||||
last_name?: Prisma.SortOrder
|
||||
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
mobileNumber?: Prisma.SortOrder
|
||||
mobile_number?: Prisma.SortOrder
|
||||
address?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
isActive?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
is_active?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.CustomerCountOrderByAggregateInput
|
||||
_avg?: Prisma.CustomerAvgOrderByAggregateInput
|
||||
_max?: Prisma.CustomerMaxOrderByAggregateInput
|
||||
_min?: Prisma.CustomerMinOrderByAggregateInput
|
||||
_sum?: Prisma.CustomerSumOrderByAggregateInput
|
||||
}
|
||||
|
||||
export type CustomerScalarWhereWithAggregatesInput = {
|
||||
AND?: Prisma.CustomerScalarWhereWithAggregatesInput | Prisma.CustomerScalarWhereWithAggregatesInput[]
|
||||
OR?: Prisma.CustomerScalarWhereWithAggregatesInput[]
|
||||
NOT?: Prisma.CustomerScalarWhereWithAggregatesInput | Prisma.CustomerScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"Customer"> | number
|
||||
firstName?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
lastName?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
id?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
first_name?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
last_name?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
email?: Prisma.StringNullableWithAggregatesFilter<"Customer"> | string | null
|
||||
mobileNumber?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
mobile_number?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
address?: Prisma.StringNullableWithAggregatesFilter<"Customer"> | string | null
|
||||
isActive?: Prisma.BoolWithAggregatesFilter<"Customer"> | boolean
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Customer"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Customer"> | Date | string
|
||||
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Customer"> | Date | string | null
|
||||
is_active?: Prisma.BoolWithAggregatesFilter<"Customer"> | boolean
|
||||
account_id?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
complex_id?: Prisma.StringWithAggregatesFilter<"Customer"> | string
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"Customer"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Customer"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Customer"> | Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerCreateInput = {
|
||||
firstName: string
|
||||
lastName: string
|
||||
id?: string
|
||||
first_name: string
|
||||
last_name: string
|
||||
email?: string | null
|
||||
mobileNumber: string
|
||||
mobile_number: string
|
||||
address?: string | null
|
||||
isActive?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutCustomerInput
|
||||
is_active?: boolean
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutCustomerInput
|
||||
}
|
||||
|
||||
export type CustomerUncheckedCreateInput = {
|
||||
id?: number
|
||||
firstName: string
|
||||
lastName: string
|
||||
id?: string
|
||||
first_name: string
|
||||
last_name: string
|
||||
email?: string | null
|
||||
mobileNumber: string
|
||||
mobile_number: string
|
||||
address?: string | null
|
||||
isActive?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutCustomerInput
|
||||
is_active?: boolean
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutCustomerInput
|
||||
}
|
||||
|
||||
export type CustomerUpdateInput = {
|
||||
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
mobileNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutCustomerNestedInput
|
||||
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutCustomerNestedInput
|
||||
}
|
||||
|
||||
export type CustomerUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
mobileNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutCustomerNestedInput
|
||||
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutCustomerNestedInput
|
||||
}
|
||||
|
||||
export type CustomerCreateManyInput = {
|
||||
id?: number
|
||||
firstName: string
|
||||
lastName: string
|
||||
id?: string
|
||||
first_name: string
|
||||
last_name: string
|
||||
email?: string | null
|
||||
mobileNumber: string
|
||||
mobile_number: string
|
||||
address?: string | null
|
||||
isActive?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
is_active?: boolean
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerUpdateManyMutationInput = {
|
||||
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
mobileNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
mobileNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerOrderByRelevanceInput = {
|
||||
@@ -425,49 +430,47 @@ export type CustomerOrderByRelevanceInput = {
|
||||
|
||||
export type CustomerCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
firstName?: Prisma.SortOrder
|
||||
lastName?: Prisma.SortOrder
|
||||
first_name?: Prisma.SortOrder
|
||||
last_name?: Prisma.SortOrder
|
||||
email?: Prisma.SortOrder
|
||||
mobileNumber?: Prisma.SortOrder
|
||||
mobile_number?: Prisma.SortOrder
|
||||
address?: Prisma.SortOrder
|
||||
isActive?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerAvgOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
is_active?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
firstName?: Prisma.SortOrder
|
||||
lastName?: Prisma.SortOrder
|
||||
first_name?: Prisma.SortOrder
|
||||
last_name?: Prisma.SortOrder
|
||||
email?: Prisma.SortOrder
|
||||
mobileNumber?: Prisma.SortOrder
|
||||
mobile_number?: Prisma.SortOrder
|
||||
address?: Prisma.SortOrder
|
||||
isActive?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrder
|
||||
is_active?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
firstName?: Prisma.SortOrder
|
||||
lastName?: Prisma.SortOrder
|
||||
first_name?: Prisma.SortOrder
|
||||
last_name?: Prisma.SortOrder
|
||||
email?: Prisma.SortOrder
|
||||
mobileNumber?: Prisma.SortOrder
|
||||
mobile_number?: Prisma.SortOrder
|
||||
address?: Prisma.SortOrder
|
||||
isActive?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
deletedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerSumOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
is_active?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerNullableScalarRelationFilter = {
|
||||
@@ -475,90 +478,116 @@ export type CustomerNullableScalarRelationFilter = {
|
||||
isNot?: Prisma.CustomerWhereInput | null
|
||||
}
|
||||
|
||||
export type StringFieldUpdateOperationsInput = {
|
||||
set?: string
|
||||
}
|
||||
|
||||
export type NullableStringFieldUpdateOperationsInput = {
|
||||
set?: string | null
|
||||
}
|
||||
|
||||
export type BoolFieldUpdateOperationsInput = {
|
||||
set?: boolean
|
||||
}
|
||||
|
||||
export type CustomerCreateNestedOneWithoutSalesInvoicesInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerCreateWithoutSalesInvoicesInput, Prisma.CustomerUncheckedCreateWithoutSalesInvoicesInput>
|
||||
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutSalesInvoicesInput
|
||||
export type DateTimeFieldUpdateOperationsInput = {
|
||||
set?: Date | string
|
||||
}
|
||||
|
||||
export type NullableDateTimeFieldUpdateOperationsInput = {
|
||||
set?: Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerCreateNestedOneWithoutSales_invoicesInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerCreateWithoutSales_invoicesInput, Prisma.CustomerUncheckedCreateWithoutSales_invoicesInput>
|
||||
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutSales_invoicesInput
|
||||
connect?: Prisma.CustomerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type CustomerUpdateOneWithoutSalesInvoicesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerCreateWithoutSalesInvoicesInput, Prisma.CustomerUncheckedCreateWithoutSalesInvoicesInput>
|
||||
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutSalesInvoicesInput
|
||||
upsert?: Prisma.CustomerUpsertWithoutSalesInvoicesInput
|
||||
export type CustomerUpdateOneWithoutSales_invoicesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerCreateWithoutSales_invoicesInput, Prisma.CustomerUncheckedCreateWithoutSales_invoicesInput>
|
||||
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutSales_invoicesInput
|
||||
upsert?: Prisma.CustomerUpsertWithoutSales_invoicesInput
|
||||
disconnect?: Prisma.CustomerWhereInput | boolean
|
||||
delete?: Prisma.CustomerWhereInput | boolean
|
||||
connect?: Prisma.CustomerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutSalesInvoicesInput, Prisma.CustomerUpdateWithoutSalesInvoicesInput>, Prisma.CustomerUncheckedUpdateWithoutSalesInvoicesInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutSales_invoicesInput, Prisma.CustomerUpdateWithoutSales_invoicesInput>, Prisma.CustomerUncheckedUpdateWithoutSales_invoicesInput>
|
||||
}
|
||||
|
||||
export type CustomerCreateWithoutSalesInvoicesInput = {
|
||||
firstName: string
|
||||
lastName: string
|
||||
export type CustomerCreateWithoutSales_invoicesInput = {
|
||||
id?: string
|
||||
first_name: string
|
||||
last_name: string
|
||||
email?: string | null
|
||||
mobileNumber: string
|
||||
mobile_number: string
|
||||
address?: string | null
|
||||
isActive?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
is_active?: boolean
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerUncheckedCreateWithoutSalesInvoicesInput = {
|
||||
id?: number
|
||||
firstName: string
|
||||
lastName: string
|
||||
export type CustomerUncheckedCreateWithoutSales_invoicesInput = {
|
||||
id?: string
|
||||
first_name: string
|
||||
last_name: string
|
||||
email?: string | null
|
||||
mobileNumber: string
|
||||
mobile_number: string
|
||||
address?: string | null
|
||||
isActive?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
is_active?: boolean
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerCreateOrConnectWithoutSalesInvoicesInput = {
|
||||
export type CustomerCreateOrConnectWithoutSales_invoicesInput = {
|
||||
where: Prisma.CustomerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.CustomerCreateWithoutSalesInvoicesInput, Prisma.CustomerUncheckedCreateWithoutSalesInvoicesInput>
|
||||
create: Prisma.XOR<Prisma.CustomerCreateWithoutSales_invoicesInput, Prisma.CustomerUncheckedCreateWithoutSales_invoicesInput>
|
||||
}
|
||||
|
||||
export type CustomerUpsertWithoutSalesInvoicesInput = {
|
||||
update: Prisma.XOR<Prisma.CustomerUpdateWithoutSalesInvoicesInput, Prisma.CustomerUncheckedUpdateWithoutSalesInvoicesInput>
|
||||
create: Prisma.XOR<Prisma.CustomerCreateWithoutSalesInvoicesInput, Prisma.CustomerUncheckedCreateWithoutSalesInvoicesInput>
|
||||
export type CustomerUpsertWithoutSales_invoicesInput = {
|
||||
update: Prisma.XOR<Prisma.CustomerUpdateWithoutSales_invoicesInput, Prisma.CustomerUncheckedUpdateWithoutSales_invoicesInput>
|
||||
create: Prisma.XOR<Prisma.CustomerCreateWithoutSales_invoicesInput, Prisma.CustomerUncheckedCreateWithoutSales_invoicesInput>
|
||||
where?: Prisma.CustomerWhereInput
|
||||
}
|
||||
|
||||
export type CustomerUpdateToOneWithWhereWithoutSalesInvoicesInput = {
|
||||
export type CustomerUpdateToOneWithWhereWithoutSales_invoicesInput = {
|
||||
where?: Prisma.CustomerWhereInput
|
||||
data: Prisma.XOR<Prisma.CustomerUpdateWithoutSalesInvoicesInput, Prisma.CustomerUncheckedUpdateWithoutSalesInvoicesInput>
|
||||
data: Prisma.XOR<Prisma.CustomerUpdateWithoutSales_invoicesInput, Prisma.CustomerUncheckedUpdateWithoutSales_invoicesInput>
|
||||
}
|
||||
|
||||
export type CustomerUpdateWithoutSalesInvoicesInput = {
|
||||
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type CustomerUpdateWithoutSales_invoicesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
mobileNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type CustomerUncheckedUpdateWithoutSalesInvoicesInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type CustomerUncheckedUpdateWithoutSales_invoicesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
mobileNumber?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
|
||||
@@ -567,11 +596,11 @@ export type CustomerUncheckedUpdateWithoutSalesInvoicesInput = {
|
||||
*/
|
||||
|
||||
export type CustomerCountOutputType = {
|
||||
salesInvoices: number
|
||||
sales_invoices: number
|
||||
}
|
||||
|
||||
export type CustomerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
salesInvoices?: boolean | CustomerCountOutputTypeCountSalesInvoicesArgs
|
||||
sales_invoices?: boolean | CustomerCountOutputTypeCountSales_invoicesArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -587,23 +616,25 @@ export type CustomerCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Ext
|
||||
/**
|
||||
* CustomerCountOutputType without action
|
||||
*/
|
||||
export type CustomerCountOutputTypeCountSalesInvoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type CustomerCountOutputTypeCountSales_invoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.SalesInvoiceWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type CustomerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
firstName?: boolean
|
||||
lastName?: boolean
|
||||
first_name?: boolean
|
||||
last_name?: boolean
|
||||
email?: boolean
|
||||
mobileNumber?: boolean
|
||||
mobile_number?: boolean
|
||||
address?: boolean
|
||||
isActive?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
deletedAt?: boolean
|
||||
salesInvoices?: boolean | Prisma.Customer$salesInvoicesArgs<ExtArgs>
|
||||
is_active?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
deleted_at?: boolean
|
||||
sales_invoices?: boolean | Prisma.Customer$sales_invoicesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.CustomerCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["customer"]>
|
||||
|
||||
@@ -611,39 +642,43 @@ export type CustomerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
|
||||
export type CustomerSelectScalar = {
|
||||
id?: boolean
|
||||
firstName?: boolean
|
||||
lastName?: boolean
|
||||
first_name?: boolean
|
||||
last_name?: boolean
|
||||
email?: boolean
|
||||
mobileNumber?: boolean
|
||||
mobile_number?: boolean
|
||||
address?: boolean
|
||||
isActive?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
deletedAt?: boolean
|
||||
is_active?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
deleted_at?: boolean
|
||||
}
|
||||
|
||||
export type CustomerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "firstName" | "lastName" | "email" | "mobileNumber" | "address" | "isActive" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["customer"]>
|
||||
export type CustomerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "first_name" | "last_name" | "email" | "mobile_number" | "address" | "is_active" | "account_id" | "complex_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["customer"]>
|
||||
export type CustomerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
salesInvoices?: boolean | Prisma.Customer$salesInvoicesArgs<ExtArgs>
|
||||
sales_invoices?: boolean | Prisma.Customer$sales_invoicesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.CustomerCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $CustomerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "Customer"
|
||||
objects: {
|
||||
salesInvoices: Prisma.$SalesInvoicePayload<ExtArgs>[]
|
||||
sales_invoices: Prisma.$SalesInvoicePayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
firstName: string
|
||||
lastName: string
|
||||
id: string
|
||||
first_name: string
|
||||
last_name: string
|
||||
email: string | null
|
||||
mobileNumber: string
|
||||
mobile_number: string
|
||||
address: string | null
|
||||
isActive: boolean
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
deletedAt: Date | null
|
||||
is_active: boolean
|
||||
account_id: string
|
||||
complex_id: string
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
}, ExtArgs["result"]["customer"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -984,7 +1019,7 @@ readonly fields: CustomerFieldRefs;
|
||||
*/
|
||||
export interface Prisma__CustomerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
salesInvoices<T extends Prisma.Customer$salesInvoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$salesInvoicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
sales_invoices<T extends Prisma.Customer$sales_invoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$sales_invoicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1014,16 +1049,18 @@ export interface Prisma__CustomerClient<T, Null = never, ExtArgs extends runtime
|
||||
* Fields of the Customer model
|
||||
*/
|
||||
export interface CustomerFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Customer", 'Int'>
|
||||
readonly firstName: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly lastName: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly id: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly first_name: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly last_name: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly email: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly mobileNumber: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly mobile_number: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly address: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly isActive: Prisma.FieldRef<"Customer", 'Boolean'>
|
||||
readonly createdAt: Prisma.FieldRef<"Customer", 'DateTime'>
|
||||
readonly updatedAt: Prisma.FieldRef<"Customer", 'DateTime'>
|
||||
readonly deletedAt: Prisma.FieldRef<"Customer", 'DateTime'>
|
||||
readonly is_active: Prisma.FieldRef<"Customer", 'Boolean'>
|
||||
readonly account_id: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly complex_id: Prisma.FieldRef<"Customer", 'String'>
|
||||
readonly created_at: Prisma.FieldRef<"Customer", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"Customer", 'DateTime'>
|
||||
readonly deleted_at: Prisma.FieldRef<"Customer", 'DateTime'>
|
||||
}
|
||||
|
||||
|
||||
@@ -1367,9 +1404,9 @@ export type CustomerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
}
|
||||
|
||||
/**
|
||||
* Customer.salesInvoices
|
||||
* Customer.sales_invoices
|
||||
*/
|
||||
export type Customer$salesInvoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type Customer$sales_invoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the SalesInvoice
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user