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:
@@ -27,89 +27,93 @@ export type AggregateSalesInvoice = {
|
||||
}
|
||||
|
||||
export type SalesInvoiceAvgAggregateOutputType = {
|
||||
id: number | null
|
||||
totalAmount: runtime.Decimal | null
|
||||
customerId: number | null
|
||||
total_amount: runtime.Decimal | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceSumAggregateOutputType = {
|
||||
id: number | null
|
||||
totalAmount: runtime.Decimal | null
|
||||
customerId: number | null
|
||||
total_amount: runtime.Decimal | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceMinAggregateOutputType = {
|
||||
id: number | null
|
||||
id: string | null
|
||||
code: string | null
|
||||
totalAmount: runtime.Decimal | null
|
||||
total_amount: runtime.Decimal | null
|
||||
description: string | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
customerId: number | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
customer_id: string | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
id: string | null
|
||||
code: string | null
|
||||
totalAmount: runtime.Decimal | null
|
||||
total_amount: runtime.Decimal | null
|
||||
description: string | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
customerId: number | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
customer_id: string | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceCountAggregateOutputType = {
|
||||
id: number
|
||||
code: number
|
||||
totalAmount: number
|
||||
total_amount: number
|
||||
description: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
customerId: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
customer_id: number
|
||||
account_id: number
|
||||
complex_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
|
||||
export type SalesInvoiceAvgAggregateInputType = {
|
||||
id?: true
|
||||
totalAmount?: true
|
||||
customerId?: true
|
||||
total_amount?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceSumAggregateInputType = {
|
||||
id?: true
|
||||
totalAmount?: true
|
||||
customerId?: true
|
||||
total_amount?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceMinAggregateInputType = {
|
||||
id?: true
|
||||
code?: true
|
||||
totalAmount?: true
|
||||
total_amount?: true
|
||||
description?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
customerId?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
customer_id?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceMaxAggregateInputType = {
|
||||
id?: true
|
||||
code?: true
|
||||
totalAmount?: true
|
||||
total_amount?: true
|
||||
description?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
customerId?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
customer_id?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceCountAggregateInputType = {
|
||||
id?: true
|
||||
code?: true
|
||||
totalAmount?: true
|
||||
total_amount?: true
|
||||
description?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
customerId?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
customer_id?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -200,13 +204,15 @@ export type SalesInvoiceGroupByArgs<ExtArgs extends runtime.Types.Extensions.Int
|
||||
}
|
||||
|
||||
export type SalesInvoiceGroupByOutputType = {
|
||||
id: number
|
||||
id: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal
|
||||
total_amount: runtime.Decimal
|
||||
description: string | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
customerId: number | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
customer_id: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
_count: SalesInvoiceCountAggregateOutputType | null
|
||||
_avg: SalesInvoiceAvgAggregateOutputType | null
|
||||
_sum: SalesInvoiceSumAggregateOutputType | null
|
||||
@@ -233,56 +239,64 @@ export type SalesInvoiceWhereInput = {
|
||||
AND?: Prisma.SalesInvoiceWhereInput | Prisma.SalesInvoiceWhereInput[]
|
||||
OR?: Prisma.SalesInvoiceWhereInput[]
|
||||
NOT?: Prisma.SalesInvoiceWhereInput | Prisma.SalesInvoiceWhereInput[]
|
||||
id?: Prisma.IntFilter<"SalesInvoice"> | number
|
||||
id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
code?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
totalAmount?: Prisma.DecimalFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.StringNullableFilter<"SalesInvoice"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
customerId?: Prisma.IntNullableFilter<"SalesInvoice"> | number | null
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
customer_id?: Prisma.StringNullableFilter<"SalesInvoice"> | string | null
|
||||
account_id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
complex_id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
customer?: Prisma.XOR<Prisma.CustomerNullableScalarRelationFilter, Prisma.CustomerWhereInput> | null
|
||||
items?: Prisma.SalesInvoiceItemListRelationFilter
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentListRelationFilter
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
||||
}
|
||||
|
||||
export type SalesInvoiceOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
total_amount?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
customerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
customer?: Prisma.CustomerOrderByWithRelationInput
|
||||
items?: Prisma.SalesInvoiceItemOrderByRelationAggregateInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentOrderByRelationAggregateInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.SalesInvoiceOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: number
|
||||
id?: string
|
||||
code?: string
|
||||
AND?: Prisma.SalesInvoiceWhereInput | Prisma.SalesInvoiceWhereInput[]
|
||||
OR?: Prisma.SalesInvoiceWhereInput[]
|
||||
NOT?: Prisma.SalesInvoiceWhereInput | Prisma.SalesInvoiceWhereInput[]
|
||||
totalAmount?: Prisma.DecimalFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.StringNullableFilter<"SalesInvoice"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
customerId?: Prisma.IntNullableFilter<"SalesInvoice"> | number | null
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
customer_id?: Prisma.StringNullableFilter<"SalesInvoice"> | string | null
|
||||
account_id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
complex_id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
customer?: Prisma.XOR<Prisma.CustomerNullableScalarRelationFilter, Prisma.CustomerWhereInput> | null
|
||||
items?: Prisma.SalesInvoiceItemListRelationFilter
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentListRelationFilter
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
||||
}, "id" | "code">
|
||||
|
||||
export type SalesInvoiceOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
total_amount?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
customerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
_count?: Prisma.SalesInvoiceCountOrderByAggregateInput
|
||||
_avg?: Prisma.SalesInvoiceAvgOrderByAggregateInput
|
||||
_max?: Prisma.SalesInvoiceMaxOrderByAggregateInput
|
||||
@@ -294,87 +308,106 @@ export type SalesInvoiceScalarWhereWithAggregatesInput = {
|
||||
AND?: Prisma.SalesInvoiceScalarWhereWithAggregatesInput | Prisma.SalesInvoiceScalarWhereWithAggregatesInput[]
|
||||
OR?: Prisma.SalesInvoiceScalarWhereWithAggregatesInput[]
|
||||
NOT?: Prisma.SalesInvoiceScalarWhereWithAggregatesInput | Prisma.SalesInvoiceScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"SalesInvoice"> | number
|
||||
id?: Prisma.StringWithAggregatesFilter<"SalesInvoice"> | string
|
||||
code?: Prisma.StringWithAggregatesFilter<"SalesInvoice"> | string
|
||||
totalAmount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoice"> | string | null
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoice"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoice"> | Date | string
|
||||
customerId?: Prisma.IntNullableWithAggregatesFilter<"SalesInvoice"> | number | null
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoice"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoice"> | Date | string
|
||||
customer_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoice"> | string | null
|
||||
account_id?: Prisma.StringWithAggregatesFilter<"SalesInvoice"> | string
|
||||
complex_id?: Prisma.StringWithAggregatesFilter<"SalesInvoice"> | string
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateInput = {
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSalesInvoicesInput
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
complex_id: string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
customerId?: number | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
customer_id?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSalesInvoicesNestedInput
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customerId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateManyInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
customerId?: number | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
customer_id?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customerId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type SalesInvoiceListRelationFilter = {
|
||||
@@ -396,43 +429,45 @@ export type SalesInvoiceOrderByRelevanceInput = {
|
||||
export type SalesInvoiceCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
total_amount?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
customerId?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceAvgOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
customerId?: Prisma.SortOrder
|
||||
total_amount?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
total_amount?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
customerId?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
total_amount?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
customerId?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceSumOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
customerId?: Prisma.SortOrder
|
||||
total_amount?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceScalarRelationFilter = {
|
||||
@@ -496,39 +531,44 @@ export type SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.SalesInvoiceUpdateToOneWithWhereWithoutItemsInput, Prisma.SalesInvoiceUpdateWithoutItemsInput>, Prisma.SalesInvoiceUncheckedUpdateWithoutItemsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateNestedOneWithoutSalesInvoicePaymentsInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSalesInvoicePaymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSalesInvoicePaymentsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutSalesInvoicePaymentsInput
|
||||
export type SalesInvoiceCreateNestedOneWithoutSales_invoice_paymentsInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSales_invoice_paymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSales_invoice_paymentsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutSales_invoice_paymentsInput
|
||||
connect?: Prisma.SalesInvoiceWhereUniqueInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateOneRequiredWithoutSalesInvoicePaymentsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSalesInvoicePaymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSalesInvoicePaymentsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutSalesInvoicePaymentsInput
|
||||
upsert?: Prisma.SalesInvoiceUpsertWithoutSalesInvoicePaymentsInput
|
||||
export type SalesInvoiceUpdateOneRequiredWithoutSales_invoice_paymentsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSales_invoice_paymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSales_invoice_paymentsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutSales_invoice_paymentsInput
|
||||
upsert?: Prisma.SalesInvoiceUpsertWithoutSales_invoice_paymentsInput
|
||||
connect?: Prisma.SalesInvoiceWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.SalesInvoiceUpdateToOneWithWhereWithoutSalesInvoicePaymentsInput, Prisma.SalesInvoiceUpdateWithoutSalesInvoicePaymentsInput>, Prisma.SalesInvoiceUncheckedUpdateWithoutSalesInvoicePaymentsInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.SalesInvoiceUpdateToOneWithWhereWithoutSales_invoice_paymentsInput, Prisma.SalesInvoiceUpdateWithoutSales_invoice_paymentsInput>, Prisma.SalesInvoiceUncheckedUpdateWithoutSales_invoice_paymentsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateWithoutCustomerInput = {
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
complex_id: string
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutCustomerInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
complex_id: string
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutCustomerInput = {
|
||||
@@ -561,34 +601,41 @@ export type SalesInvoiceScalarWhereInput = {
|
||||
AND?: Prisma.SalesInvoiceScalarWhereInput | Prisma.SalesInvoiceScalarWhereInput[]
|
||||
OR?: Prisma.SalesInvoiceScalarWhereInput[]
|
||||
NOT?: Prisma.SalesInvoiceScalarWhereInput | Prisma.SalesInvoiceScalarWhereInput[]
|
||||
id?: Prisma.IntFilter<"SalesInvoice"> | number
|
||||
id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
code?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
totalAmount?: Prisma.DecimalFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.StringNullableFilter<"SalesInvoice"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
customerId?: Prisma.IntNullableFilter<"SalesInvoice"> | number | null
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"SalesInvoice"> | Date | string
|
||||
customer_id?: Prisma.StringNullableFilter<"SalesInvoice"> | string | null
|
||||
account_id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
complex_id?: Prisma.StringFilter<"SalesInvoice"> | string
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateWithoutItemsInput = {
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSalesInvoicesInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
complex_id: string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutItemsInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
customerId?: number | null
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
customer_id?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutItemsInput = {
|
||||
@@ -608,121 +655,145 @@ export type SalesInvoiceUpdateToOneWithWhereWithoutItemsInput = {
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateWithoutItemsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSalesInvoicesNestedInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutItemsInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customerId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateWithoutSalesInvoicePaymentsInput = {
|
||||
export type SalesInvoiceCreateWithoutSales_invoice_paymentsInput = {
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSalesInvoicesInput
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
complex_id: string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutSalesInvoicePaymentsInput = {
|
||||
id?: number
|
||||
export type SalesInvoiceUncheckedCreateWithoutSales_invoice_paymentsInput = {
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
customerId?: number | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
customer_id?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutSalesInvoicePaymentsInput = {
|
||||
export type SalesInvoiceCreateOrConnectWithoutSales_invoice_paymentsInput = {
|
||||
where: Prisma.SalesInvoiceWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSalesInvoicePaymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSalesInvoicePaymentsInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSales_invoice_paymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSales_invoice_paymentsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpsertWithoutSalesInvoicePaymentsInput = {
|
||||
update: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutSalesInvoicePaymentsInput, Prisma.SalesInvoiceUncheckedUpdateWithoutSalesInvoicePaymentsInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSalesInvoicePaymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSalesInvoicePaymentsInput>
|
||||
export type SalesInvoiceUpsertWithoutSales_invoice_paymentsInput = {
|
||||
update: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutSales_invoice_paymentsInput, Prisma.SalesInvoiceUncheckedUpdateWithoutSales_invoice_paymentsInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutSales_invoice_paymentsInput, Prisma.SalesInvoiceUncheckedCreateWithoutSales_invoice_paymentsInput>
|
||||
where?: Prisma.SalesInvoiceWhereInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateToOneWithWhereWithoutSalesInvoicePaymentsInput = {
|
||||
export type SalesInvoiceUpdateToOneWithWhereWithoutSales_invoice_paymentsInput = {
|
||||
where?: Prisma.SalesInvoiceWhereInput
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutSalesInvoicePaymentsInput, Prisma.SalesInvoiceUncheckedUpdateWithoutSalesInvoicePaymentsInput>
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutSales_invoice_paymentsInput, Prisma.SalesInvoiceUncheckedUpdateWithoutSales_invoice_paymentsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateWithoutSalesInvoicePaymentsInput = {
|
||||
export type SalesInvoiceUpdateWithoutSales_invoice_paymentsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSalesInvoicesNestedInput
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutSalesInvoicePaymentsInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
export type SalesInvoiceUncheckedUpdateWithoutSales_invoice_paymentsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customerId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateManyCustomerInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
complex_id: string
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateWithoutCustomerInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutCustomerInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
salesInvoicePayments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
sales_invoice_payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateManyWithoutCustomerInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
@@ -732,12 +803,12 @@ export type SalesInvoiceUncheckedUpdateManyWithoutCustomerInput = {
|
||||
|
||||
export type SalesInvoiceCountOutputType = {
|
||||
items: number
|
||||
salesInvoicePayments: number
|
||||
sales_invoice_payments: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
items?: boolean | SalesInvoiceCountOutputTypeCountItemsArgs
|
||||
salesInvoicePayments?: boolean | SalesInvoiceCountOutputTypeCountSalesInvoicePaymentsArgs
|
||||
sales_invoice_payments?: boolean | SalesInvoiceCountOutputTypeCountSales_invoice_paymentsArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -760,7 +831,7 @@ export type SalesInvoiceCountOutputTypeCountItemsArgs<ExtArgs extends runtime.Ty
|
||||
/**
|
||||
* SalesInvoiceCountOutputType without action
|
||||
*/
|
||||
export type SalesInvoiceCountOutputTypeCountSalesInvoicePaymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type SalesInvoiceCountOutputTypeCountSales_invoice_paymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.SalesInvoicePaymentWhereInput
|
||||
}
|
||||
|
||||
@@ -768,14 +839,16 @@ export type SalesInvoiceCountOutputTypeCountSalesInvoicePaymentsArgs<ExtArgs ext
|
||||
export type SalesInvoiceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
code?: boolean
|
||||
totalAmount?: boolean
|
||||
total_amount?: boolean
|
||||
description?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
customerId?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
customer_id?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
customer?: boolean | Prisma.SalesInvoice$customerArgs<ExtArgs>
|
||||
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
||||
salesInvoicePayments?: boolean | Prisma.SalesInvoice$salesInvoicePaymentsArgs<ExtArgs>
|
||||
sales_invoice_payments?: boolean | Prisma.SalesInvoice$sales_invoice_paymentsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.SalesInvoiceCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["salesInvoice"]>
|
||||
|
||||
@@ -784,18 +857,20 @@ export type SalesInvoiceSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
export type SalesInvoiceSelectScalar = {
|
||||
id?: boolean
|
||||
code?: boolean
|
||||
totalAmount?: boolean
|
||||
total_amount?: boolean
|
||||
description?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
customerId?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
customer_id?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
}
|
||||
|
||||
export type SalesInvoiceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "totalAmount" | "description" | "createdAt" | "updatedAt" | "customerId", ExtArgs["result"]["salesInvoice"]>
|
||||
export type SalesInvoiceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "total_amount" | "description" | "created_at" | "updated_at" | "customer_id" | "account_id" | "complex_id", ExtArgs["result"]["salesInvoice"]>
|
||||
export type SalesInvoiceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
customer?: boolean | Prisma.SalesInvoice$customerArgs<ExtArgs>
|
||||
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
||||
salesInvoicePayments?: boolean | Prisma.SalesInvoice$salesInvoicePaymentsArgs<ExtArgs>
|
||||
sales_invoice_payments?: boolean | Prisma.SalesInvoice$sales_invoice_paymentsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.SalesInvoiceCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -804,16 +879,18 @@ export type $SalesInvoicePayload<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
objects: {
|
||||
customer: Prisma.$CustomerPayload<ExtArgs> | null
|
||||
items: Prisma.$SalesInvoiceItemPayload<ExtArgs>[]
|
||||
salesInvoicePayments: Prisma.$SalesInvoicePaymentPayload<ExtArgs>[]
|
||||
sales_invoice_payments: Prisma.$SalesInvoicePaymentPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
id: string
|
||||
code: string
|
||||
totalAmount: runtime.Decimal
|
||||
total_amount: runtime.Decimal
|
||||
description: string | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
customerId: number | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
customer_id: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
}, ExtArgs["result"]["salesInvoice"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -1156,7 +1233,7 @@ export interface Prisma__SalesInvoiceClient<T, Null = never, ExtArgs extends run
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
customer<T extends Prisma.SalesInvoice$customerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$customerArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
items<T extends Prisma.SalesInvoice$itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoiceItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
salesInvoicePayments<T extends Prisma.SalesInvoice$salesInvoicePaymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$salesInvoicePaymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
sales_invoice_payments<T extends Prisma.SalesInvoice$sales_invoice_paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$sales_invoice_paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePaymentPayload<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.
|
||||
@@ -1186,13 +1263,15 @@ export interface Prisma__SalesInvoiceClient<T, Null = never, ExtArgs extends run
|
||||
* Fields of the SalesInvoice model
|
||||
*/
|
||||
export interface SalesInvoiceFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"SalesInvoice", 'Int'>
|
||||
readonly id: Prisma.FieldRef<"SalesInvoice", 'String'>
|
||||
readonly code: Prisma.FieldRef<"SalesInvoice", 'String'>
|
||||
readonly totalAmount: Prisma.FieldRef<"SalesInvoice", 'Decimal'>
|
||||
readonly total_amount: Prisma.FieldRef<"SalesInvoice", 'Decimal'>
|
||||
readonly description: Prisma.FieldRef<"SalesInvoice", 'String'>
|
||||
readonly createdAt: Prisma.FieldRef<"SalesInvoice", 'DateTime'>
|
||||
readonly updatedAt: Prisma.FieldRef<"SalesInvoice", 'DateTime'>
|
||||
readonly customerId: Prisma.FieldRef<"SalesInvoice", 'Int'>
|
||||
readonly created_at: Prisma.FieldRef<"SalesInvoice", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"SalesInvoice", 'DateTime'>
|
||||
readonly customer_id: Prisma.FieldRef<"SalesInvoice", 'String'>
|
||||
readonly account_id: Prisma.FieldRef<"SalesInvoice", 'String'>
|
||||
readonly complex_id: Prisma.FieldRef<"SalesInvoice", 'String'>
|
||||
}
|
||||
|
||||
|
||||
@@ -1579,9 +1658,9 @@ export type SalesInvoice$itemsArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoice.salesInvoicePayments
|
||||
* SalesInvoice.sales_invoice_payments
|
||||
*/
|
||||
export type SalesInvoice$salesInvoicePaymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type SalesInvoice$sales_invoice_paymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the SalesInvoicePayment
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user