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,83 +27,75 @@ export type AggregateSalesInvoicePayment = {
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentAvgAggregateOutputType = {
|
||||
id: number | null
|
||||
invoiceId: number | null
|
||||
amount: runtime.Decimal | null
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentSumAggregateOutputType = {
|
||||
id: number | null
|
||||
invoiceId: number | null
|
||||
amount: runtime.Decimal | null
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMinAggregateOutputType = {
|
||||
id: number | null
|
||||
invoiceId: number | null
|
||||
id: string | null
|
||||
invoice_id: string | null
|
||||
amount: runtime.Decimal | null
|
||||
paymentMethod: $Enums.PaymentMethodType | null
|
||||
paidAt: Date | null
|
||||
createdAt: Date | null
|
||||
payment_method: $Enums.PaymentMethodType | null
|
||||
paid_at: Date | null
|
||||
created_at: Date | null
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
invoiceId: number | null
|
||||
id: string | null
|
||||
invoice_id: string | null
|
||||
amount: runtime.Decimal | null
|
||||
paymentMethod: $Enums.PaymentMethodType | null
|
||||
paidAt: Date | null
|
||||
createdAt: Date | null
|
||||
payment_method: $Enums.PaymentMethodType | null
|
||||
paid_at: Date | null
|
||||
created_at: Date | null
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCountAggregateOutputType = {
|
||||
id: number
|
||||
invoiceId: number
|
||||
invoice_id: number
|
||||
amount: number
|
||||
paymentMethod: number
|
||||
paidAt: number
|
||||
createdAt: number
|
||||
payment_method: number
|
||||
paid_at: number
|
||||
created_at: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
|
||||
export type SalesInvoicePaymentAvgAggregateInputType = {
|
||||
id?: true
|
||||
invoiceId?: true
|
||||
amount?: true
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentSumAggregateInputType = {
|
||||
id?: true
|
||||
invoiceId?: true
|
||||
amount?: true
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMinAggregateInputType = {
|
||||
id?: true
|
||||
invoiceId?: true
|
||||
invoice_id?: true
|
||||
amount?: true
|
||||
paymentMethod?: true
|
||||
paidAt?: true
|
||||
createdAt?: true
|
||||
payment_method?: true
|
||||
paid_at?: true
|
||||
created_at?: true
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMaxAggregateInputType = {
|
||||
id?: true
|
||||
invoiceId?: true
|
||||
invoice_id?: true
|
||||
amount?: true
|
||||
paymentMethod?: true
|
||||
paidAt?: true
|
||||
createdAt?: true
|
||||
payment_method?: true
|
||||
paid_at?: true
|
||||
created_at?: true
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCountAggregateInputType = {
|
||||
id?: true
|
||||
invoiceId?: true
|
||||
invoice_id?: true
|
||||
amount?: true
|
||||
paymentMethod?: true
|
||||
paidAt?: true
|
||||
createdAt?: true
|
||||
payment_method?: true
|
||||
paid_at?: true
|
||||
created_at?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -194,12 +186,12 @@ export type SalesInvoicePaymentGroupByArgs<ExtArgs extends runtime.Types.Extensi
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentGroupByOutputType = {
|
||||
id: number
|
||||
invoiceId: number
|
||||
id: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date
|
||||
createdAt: Date
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date
|
||||
created_at: Date
|
||||
_count: SalesInvoicePaymentCountAggregateOutputType | null
|
||||
_avg: SalesInvoicePaymentAvgAggregateOutputType | null
|
||||
_sum: SalesInvoicePaymentSumAggregateOutputType | null
|
||||
@@ -226,45 +218,46 @@ export type SalesInvoicePaymentWhereInput = {
|
||||
AND?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[]
|
||||
OR?: Prisma.SalesInvoicePaymentWhereInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[]
|
||||
id?: Prisma.IntFilter<"SalesInvoicePayment"> | number
|
||||
invoiceId?: Prisma.IntFilter<"SalesInvoicePayment"> | number
|
||||
id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
paymentMethod?: Prisma.SortOrder
|
||||
paidAt?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
invoice?: Prisma.SalesInvoiceOrderByWithRelationInput
|
||||
_relevance?: Prisma.SalesInvoicePaymentOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: number
|
||||
id?: string
|
||||
AND?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[]
|
||||
OR?: Prisma.SalesInvoicePaymentWhereInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[]
|
||||
invoiceId?: Prisma.IntFilter<"SalesInvoicePayment"> | number
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
}, "id">
|
||||
|
||||
export type SalesInvoicePaymentOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
paymentMethod?: Prisma.SortOrder
|
||||
paidAt?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
_count?: Prisma.SalesInvoicePaymentCountOrderByAggregateInput
|
||||
_avg?: Prisma.SalesInvoicePaymentAvgOrderByAggregateInput
|
||||
_max?: Prisma.SalesInvoicePaymentMaxOrderByAggregateInput
|
||||
@@ -276,71 +269,74 @@ export type SalesInvoicePaymentScalarWhereWithAggregatesInput = {
|
||||
AND?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput | Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[]
|
||||
OR?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput | Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.IntWithAggregatesFilter<"SalesInvoicePayment"> | number
|
||||
invoiceId?: Prisma.IntWithAggregatesFilter<"SalesInvoicePayment"> | number
|
||||
id?: Prisma.StringWithAggregatesFilter<"SalesInvoicePayment"> | string
|
||||
invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeWithAggregatesFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeWithAggregatesFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateInput = {
|
||||
id?: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date | string
|
||||
createdAt?: Date | string
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutSalesInvoicePaymentsInput
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutSales_invoice_paymentsInput
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUncheckedCreateInput = {
|
||||
id?: number
|
||||
invoiceId: number
|
||||
id?: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date | string
|
||||
createdAt?: Date | string
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutSalesInvoicePaymentsNestedInput
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutSales_invoice_paymentsNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateManyInput = {
|
||||
id?: number
|
||||
invoiceId: number
|
||||
id?: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date | string
|
||||
createdAt?: Date | string
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentListRelationFilter = {
|
||||
@@ -353,42 +349,44 @@ export type SalesInvoicePaymentOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentOrderByRelevanceInput = {
|
||||
fields: Prisma.SalesInvoicePaymentOrderByRelevanceFieldEnum | Prisma.SalesInvoicePaymentOrderByRelevanceFieldEnum[]
|
||||
sort: Prisma.SortOrder
|
||||
search: string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
paymentMethod?: Prisma.SortOrder
|
||||
paidAt?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentAvgOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
paymentMethod?: Prisma.SortOrder
|
||||
paidAt?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
paymentMethod?: Prisma.SortOrder
|
||||
paidAt?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentSumOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
@@ -439,18 +437,19 @@ export type EnumPaymentMethodTypeFieldUpdateOperationsInput = {
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateWithoutInvoiceInput = {
|
||||
id?: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date | string
|
||||
createdAt?: Date | string
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUncheckedCreateWithoutInvoiceInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date | string
|
||||
createdAt?: Date | string
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput = {
|
||||
@@ -483,54 +482,55 @@ export type SalesInvoicePaymentScalarWhereInput = {
|
||||
AND?: Prisma.SalesInvoicePaymentScalarWhereInput | Prisma.SalesInvoicePaymentScalarWhereInput[]
|
||||
OR?: Prisma.SalesInvoicePaymentScalarWhereInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentScalarWhereInput | Prisma.SalesInvoicePaymentScalarWhereInput[]
|
||||
id?: Prisma.IntFilter<"SalesInvoicePayment"> | number
|
||||
invoiceId?: Prisma.IntFilter<"SalesInvoicePayment"> | number
|
||||
id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateManyInvoiceInput = {
|
||||
id?: number
|
||||
id?: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date | string
|
||||
createdAt?: Date | string
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUpdateWithoutInvoiceInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUncheckedUpdateWithoutInvoiceInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
paymentMethod?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paidAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type SalesInvoicePaymentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
invoiceId?: boolean
|
||||
invoice_id?: boolean
|
||||
amount?: boolean
|
||||
paymentMethod?: boolean
|
||||
paidAt?: boolean
|
||||
createdAt?: boolean
|
||||
payment_method?: boolean
|
||||
paid_at?: boolean
|
||||
created_at?: boolean
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["salesInvoicePayment"]>
|
||||
|
||||
@@ -538,14 +538,14 @@ export type SalesInvoicePaymentSelect<ExtArgs extends runtime.Types.Extensions.I
|
||||
|
||||
export type SalesInvoicePaymentSelectScalar = {
|
||||
id?: boolean
|
||||
invoiceId?: boolean
|
||||
invoice_id?: boolean
|
||||
amount?: boolean
|
||||
paymentMethod?: boolean
|
||||
paidAt?: boolean
|
||||
createdAt?: boolean
|
||||
payment_method?: boolean
|
||||
paid_at?: boolean
|
||||
created_at?: boolean
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "invoiceId" | "amount" | "paymentMethod" | "paidAt" | "createdAt", ExtArgs["result"]["salesInvoicePayment"]>
|
||||
export type SalesInvoicePaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "invoice_id" | "amount" | "payment_method" | "paid_at" | "created_at", ExtArgs["result"]["salesInvoicePayment"]>
|
||||
export type SalesInvoicePaymentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -556,12 +556,12 @@ export type $SalesInvoicePaymentPayload<ExtArgs extends runtime.Types.Extensions
|
||||
invoice: Prisma.$SalesInvoicePayload<ExtArgs>
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
invoiceId: number
|
||||
id: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal
|
||||
paymentMethod: $Enums.PaymentMethodType
|
||||
paidAt: Date
|
||||
createdAt: Date
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date
|
||||
created_at: Date
|
||||
}, ExtArgs["result"]["salesInvoicePayment"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -932,12 +932,12 @@ export interface Prisma__SalesInvoicePaymentClient<T, Null = never, ExtArgs exte
|
||||
* Fields of the SalesInvoicePayment model
|
||||
*/
|
||||
export interface SalesInvoicePaymentFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"SalesInvoicePayment", 'Int'>
|
||||
readonly invoiceId: Prisma.FieldRef<"SalesInvoicePayment", 'Int'>
|
||||
readonly id: Prisma.FieldRef<"SalesInvoicePayment", 'String'>
|
||||
readonly invoice_id: Prisma.FieldRef<"SalesInvoicePayment", 'String'>
|
||||
readonly amount: Prisma.FieldRef<"SalesInvoicePayment", 'Decimal'>
|
||||
readonly paymentMethod: Prisma.FieldRef<"SalesInvoicePayment", 'PaymentMethodType'>
|
||||
readonly paidAt: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'>
|
||||
readonly createdAt: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'>
|
||||
readonly payment_method: Prisma.FieldRef<"SalesInvoicePayment", 'PaymentMethodType'>
|
||||
readonly paid_at: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'>
|
||||
readonly created_at: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'>
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user