|
|
@@ -31,6 +31,7 @@ export type SalesInvoiceAvgAggregateOutputType = {
|
|
|
|
invoice_number: number | null
|
|
|
|
invoice_number: number | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
|
|
|
|
last_attempt_no: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceSumAggregateOutputType = {
|
|
|
|
export type SalesInvoiceSumAggregateOutputType = {
|
|
|
@@ -38,6 +39,7 @@ export type SalesInvoiceSumAggregateOutputType = {
|
|
|
|
invoice_number: number | null
|
|
|
|
invoice_number: number | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
|
|
|
|
last_attempt_no: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceMinAggregateOutputType = {
|
|
|
|
export type SalesInvoiceMinAggregateOutputType = {
|
|
|
@@ -59,6 +61,8 @@ export type SalesInvoiceMinAggregateOutputType = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType | null
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
|
|
|
|
last_tsp_status: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceMaxAggregateOutputType = {
|
|
|
|
export type SalesInvoiceMaxAggregateOutputType = {
|
|
|
@@ -80,6 +84,8 @@ export type SalesInvoiceMaxAggregateOutputType = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType | null
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
|
|
|
|
last_tsp_status: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceCountAggregateOutputType = {
|
|
|
|
export type SalesInvoiceCountAggregateOutputType = {
|
|
|
@@ -102,6 +108,8 @@ export type SalesInvoiceCountAggregateOutputType = {
|
|
|
|
settlement_type: number
|
|
|
|
settlement_type: number
|
|
|
|
discount_amount: number
|
|
|
|
discount_amount: number
|
|
|
|
tax_amount: number
|
|
|
|
tax_amount: number
|
|
|
|
|
|
|
|
last_tsp_status: number
|
|
|
|
|
|
|
|
last_attempt_no: number
|
|
|
|
_all: number
|
|
|
|
_all: number
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@@ -111,6 +119,7 @@ export type SalesInvoiceAvgAggregateInputType = {
|
|
|
|
invoice_number?: true
|
|
|
|
invoice_number?: true
|
|
|
|
discount_amount?: true
|
|
|
|
discount_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
|
|
|
|
last_attempt_no?: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceSumAggregateInputType = {
|
|
|
|
export type SalesInvoiceSumAggregateInputType = {
|
|
|
@@ -118,6 +127,7 @@ export type SalesInvoiceSumAggregateInputType = {
|
|
|
|
invoice_number?: true
|
|
|
|
invoice_number?: true
|
|
|
|
discount_amount?: true
|
|
|
|
discount_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
|
|
|
|
last_attempt_no?: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceMinAggregateInputType = {
|
|
|
|
export type SalesInvoiceMinAggregateInputType = {
|
|
|
@@ -139,6 +149,8 @@ export type SalesInvoiceMinAggregateInputType = {
|
|
|
|
settlement_type?: true
|
|
|
|
settlement_type?: true
|
|
|
|
discount_amount?: true
|
|
|
|
discount_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
|
|
|
|
last_tsp_status?: true
|
|
|
|
|
|
|
|
last_attempt_no?: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceMaxAggregateInputType = {
|
|
|
|
export type SalesInvoiceMaxAggregateInputType = {
|
|
|
@@ -160,6 +172,8 @@ export type SalesInvoiceMaxAggregateInputType = {
|
|
|
|
settlement_type?: true
|
|
|
|
settlement_type?: true
|
|
|
|
discount_amount?: true
|
|
|
|
discount_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
|
|
|
|
last_tsp_status?: true
|
|
|
|
|
|
|
|
last_attempt_no?: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceCountAggregateInputType = {
|
|
|
|
export type SalesInvoiceCountAggregateInputType = {
|
|
|
@@ -182,6 +196,8 @@ export type SalesInvoiceCountAggregateInputType = {
|
|
|
|
settlement_type?: true
|
|
|
|
settlement_type?: true
|
|
|
|
discount_amount?: true
|
|
|
|
discount_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
tax_amount?: true
|
|
|
|
|
|
|
|
last_tsp_status?: true
|
|
|
|
|
|
|
|
last_attempt_no?: true
|
|
|
|
_all?: true
|
|
|
|
_all?: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@@ -291,6 +307,8 @@ export type SalesInvoiceGroupByOutputType = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
|
|
|
|
last_tsp_status: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no: number | null
|
|
|
|
_count: SalesInvoiceCountAggregateOutputType | null
|
|
|
|
_count: SalesInvoiceCountAggregateOutputType | null
|
|
|
|
_avg: SalesInvoiceAvgAggregateOutputType | null
|
|
|
|
_avg: SalesInvoiceAvgAggregateOutputType | null
|
|
|
|
_sum: SalesInvoiceSumAggregateOutputType | null
|
|
|
|
_sum: SalesInvoiceSumAggregateOutputType | null
|
|
|
@@ -336,6 +354,8 @@ export type SalesInvoiceWhereInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.EnumTspProviderResponseStatusNullableFilter<"SalesInvoice"> | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.IntNullableFilter<"SalesInvoice"> | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsListRelationFilter
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsListRelationFilter
|
|
|
|
items?: Prisma.SalesInvoiceItemListRelationFilter
|
|
|
|
items?: Prisma.SalesInvoiceItemListRelationFilter
|
|
|
|
payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
|
|
|
payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
|
|
@@ -366,6 +386,8 @@ export type SalesInvoiceOrderByWithRelationInput = {
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsOrderByRelationAggregateInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsOrderByRelationAggregateInput
|
|
|
|
items?: Prisma.SalesInvoiceItemOrderByRelationAggregateInput
|
|
|
|
items?: Prisma.SalesInvoiceItemOrderByRelationAggregateInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentOrderByRelationAggregateInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentOrderByRelationAggregateInput
|
|
|
@@ -401,6 +423,8 @@ export type SalesInvoiceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.EnumTspProviderResponseStatusNullableFilter<"SalesInvoice"> | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.IntNullableFilter<"SalesInvoice"> | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsListRelationFilter
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsListRelationFilter
|
|
|
|
items?: Prisma.SalesInvoiceItemListRelationFilter
|
|
|
|
items?: Prisma.SalesInvoiceItemListRelationFilter
|
|
|
|
payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
|
|
|
payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
|
|
@@ -431,6 +455,8 @@ export type SalesInvoiceOrderByWithAggregationInput = {
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
_count?: Prisma.SalesInvoiceCountOrderByAggregateInput
|
|
|
|
_count?: Prisma.SalesInvoiceCountOrderByAggregateInput
|
|
|
|
_avg?: Prisma.SalesInvoiceAvgOrderByAggregateInput
|
|
|
|
_avg?: Prisma.SalesInvoiceAvgOrderByAggregateInput
|
|
|
|
_max?: Prisma.SalesInvoiceMaxOrderByAggregateInput
|
|
|
|
_max?: Prisma.SalesInvoiceMaxOrderByAggregateInput
|
|
|
@@ -461,6 +487,8 @@ export type SalesInvoiceScalarWhereWithAggregatesInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeWithAggregatesFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeWithAggregatesFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.DecimalNullableWithAggregatesFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.DecimalNullableWithAggregatesFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableWithAggregatesFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableWithAggregatesFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.EnumTspProviderResponseStatusNullableWithAggregatesFilter<"SalesInvoice"> | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.IntNullableWithAggregatesFilter<"SalesInvoice"> | number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceCreateInput = {
|
|
|
|
export type SalesInvoiceCreateInput = {
|
|
|
@@ -479,6 +507,8 @@ export type SalesInvoiceCreateInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -509,6 +539,8 @@ export type SalesInvoiceUncheckedCreateInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -531,6 +563,8 @@ export type SalesInvoiceUpdateInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -561,6 +595,8 @@ export type SalesInvoiceUncheckedUpdateInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -587,6 +623,8 @@ export type SalesInvoiceCreateManyInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceUpdateManyMutationInput = {
|
|
|
|
export type SalesInvoiceUpdateManyMutationInput = {
|
|
|
@@ -605,6 +643,8 @@ export type SalesInvoiceUpdateManyMutationInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceUncheckedUpdateManyInput = {
|
|
|
|
export type SalesInvoiceUncheckedUpdateManyInput = {
|
|
|
@@ -627,6 +667,8 @@ export type SalesInvoiceUncheckedUpdateManyInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceListRelationFilter = {
|
|
|
|
export type SalesInvoiceListRelationFilter = {
|
|
|
@@ -675,6 +717,8 @@ export type SalesInvoiceCountOrderByAggregateInput = {
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.SortOrder
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceAvgOrderByAggregateInput = {
|
|
|
|
export type SalesInvoiceAvgOrderByAggregateInput = {
|
|
|
@@ -682,6 +726,7 @@ export type SalesInvoiceAvgOrderByAggregateInput = {
|
|
|
|
invoice_number?: Prisma.SortOrder
|
|
|
|
invoice_number?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.SortOrder
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceMaxOrderByAggregateInput = {
|
|
|
|
export type SalesInvoiceMaxOrderByAggregateInput = {
|
|
|
@@ -703,6 +748,8 @@ export type SalesInvoiceMaxOrderByAggregateInput = {
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.SortOrder
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceMinOrderByAggregateInput = {
|
|
|
|
export type SalesInvoiceMinOrderByAggregateInput = {
|
|
|
@@ -724,6 +771,8 @@ export type SalesInvoiceMinOrderByAggregateInput = {
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
settlement_type?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.SortOrder
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceSumOrderByAggregateInput = {
|
|
|
|
export type SalesInvoiceSumOrderByAggregateInput = {
|
|
|
@@ -731,6 +780,7 @@ export type SalesInvoiceSumOrderByAggregateInput = {
|
|
|
|
invoice_number?: Prisma.SortOrder
|
|
|
|
invoice_number?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
discount_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
tax_amount?: Prisma.SortOrder
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.SortOrder
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceScalarRelationFilter = {
|
|
|
|
export type SalesInvoiceScalarRelationFilter = {
|
|
|
@@ -890,6 +940,18 @@ export type EnumInvoiceSettlementTypeFieldUpdateOperationsInput = {
|
|
|
|
set?: $Enums.InvoiceSettlementType
|
|
|
|
set?: $Enums.InvoiceSettlementType
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput = {
|
|
|
|
|
|
|
|
set?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type NullableIntFieldUpdateOperationsInput = {
|
|
|
|
|
|
|
|
set?: number | null
|
|
|
|
|
|
|
|
increment?: number
|
|
|
|
|
|
|
|
decrement?: number
|
|
|
|
|
|
|
|
multiply?: number
|
|
|
|
|
|
|
|
divide?: number
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceUpdateOneWithoutReferenced_byNestedInput = {
|
|
|
|
export type SalesInvoiceUpdateOneWithoutReferenced_byNestedInput = {
|
|
|
|
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutReferenced_byInput, Prisma.SalesInvoiceUncheckedCreateWithoutReferenced_byInput>
|
|
|
|
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutReferenced_byInput, Prisma.SalesInvoiceUncheckedCreateWithoutReferenced_byInput>
|
|
|
|
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutReferenced_byInput
|
|
|
|
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutReferenced_byInput
|
|
|
@@ -978,6 +1040,8 @@ export type SalesInvoiceCreateWithoutConsumer_accountInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1006,6 +1070,8 @@ export type SalesInvoiceUncheckedCreateWithoutConsumer_accountInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1061,6 +1127,8 @@ export type SalesInvoiceScalarWhereInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFilter<"SalesInvoice"> | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.DecimalNullableFilter<"SalesInvoice"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.EnumTspProviderResponseStatusNullableFilter<"SalesInvoice"> | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.IntNullableFilter<"SalesInvoice"> | number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceCreateWithoutPosInput = {
|
|
|
|
export type SalesInvoiceCreateWithoutPosInput = {
|
|
|
@@ -1079,6 +1147,8 @@ export type SalesInvoiceCreateWithoutPosInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1107,6 +1177,8 @@ export type SalesInvoiceUncheckedCreateWithoutPosInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1155,6 +1227,8 @@ export type SalesInvoiceCreateWithoutCustomerInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1183,6 +1257,8 @@ export type SalesInvoiceUncheckedCreateWithoutCustomerInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1231,6 +1307,8 @@ export type SalesInvoiceCreateWithoutReferenced_byInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1260,6 +1338,8 @@ export type SalesInvoiceUncheckedCreateWithoutReferenced_byInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1286,6 +1366,8 @@ export type SalesInvoiceCreateWithoutReference_invoiceInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1314,6 +1396,8 @@ export type SalesInvoiceUncheckedCreateWithoutReference_invoiceInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
@@ -1352,6 +1436,8 @@ export type SalesInvoiceUpdateWithoutReferenced_byInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1381,6 +1467,8 @@ export type SalesInvoiceUncheckedUpdateWithoutReferenced_byInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1413,6 +1501,8 @@ export type SalesInvoiceUpdateWithoutReference_invoiceInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1441,6 +1531,8 @@ export type SalesInvoiceUncheckedUpdateWithoutReference_invoiceInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1463,6 +1555,8 @@ export type SalesInvoiceCreateWithoutItemsInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
|
|
|
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
|
|
@@ -1492,6 +1586,8 @@ export type SalesInvoiceUncheckedCreateWithoutItemsInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedCreateNestedOneWithoutReference_invoiceInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedCreateNestedOneWithoutReference_invoiceInput
|
|
|
@@ -1529,6 +1625,8 @@ export type SalesInvoiceUpdateWithoutItemsInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
|
|
|
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
|
|
@@ -1558,6 +1656,8 @@ export type SalesInvoiceUncheckedUpdateWithoutItemsInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedUpdateOneWithoutReference_invoiceNestedInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedUpdateOneWithoutReference_invoiceNestedInput
|
|
|
@@ -1579,6 +1679,8 @@ export type SalesInvoiceCreateWithoutTsp_attemptsInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
|
|
|
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
|
|
|
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
|
|
@@ -1608,6 +1710,8 @@ export type SalesInvoiceUncheckedCreateWithoutTsp_attemptsInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedCreateNestedOneWithoutReference_invoiceInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedCreateNestedOneWithoutReference_invoiceInput
|
|
|
@@ -1645,6 +1749,8 @@ export type SalesInvoiceUpdateWithoutTsp_attemptsInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
|
|
|
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
|
|
@@ -1674,6 +1780,8 @@ export type SalesInvoiceUncheckedUpdateWithoutTsp_attemptsInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedUpdateOneWithoutReference_invoiceNestedInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedUpdateOneWithoutReference_invoiceNestedInput
|
|
|
@@ -1695,6 +1803,8 @@ export type SalesInvoiceCreateWithoutPaymentsInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
|
|
|
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
|
|
|
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
|
|
@@ -1724,6 +1834,8 @@ export type SalesInvoiceUncheckedCreateWithoutPaymentsInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedCreateNestedOneWithoutReference_invoiceInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedCreateNestedOneWithoutReference_invoiceInput
|
|
|
@@ -1761,6 +1873,8 @@ export type SalesInvoiceUpdateWithoutPaymentsInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
|
|
|
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
|
|
@@ -1790,6 +1904,8 @@ export type SalesInvoiceUncheckedUpdateWithoutPaymentsInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedUpdateOneWithoutReference_invoiceNestedInput
|
|
|
|
referenced_by?: Prisma.SalesInvoiceUncheckedUpdateOneWithoutReference_invoiceNestedInput
|
|
|
@@ -1814,6 +1930,8 @@ export type SalesInvoiceCreateManyConsumer_accountInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceUpdateWithoutConsumer_accountInput = {
|
|
|
|
export type SalesInvoiceUpdateWithoutConsumer_accountInput = {
|
|
|
@@ -1832,6 +1950,8 @@ export type SalesInvoiceUpdateWithoutConsumer_accountInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1860,6 +1980,8 @@ export type SalesInvoiceUncheckedUpdateWithoutConsumer_accountInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1885,6 +2007,8 @@ export type SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceCreateManyPosInput = {
|
|
|
|
export type SalesInvoiceCreateManyPosInput = {
|
|
|
@@ -1906,6 +2030,8 @@ export type SalesInvoiceCreateManyPosInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceUpdateWithoutPosInput = {
|
|
|
|
export type SalesInvoiceUpdateWithoutPosInput = {
|
|
|
@@ -1924,6 +2050,8 @@ export type SalesInvoiceUpdateWithoutPosInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1952,6 +2080,8 @@ export type SalesInvoiceUncheckedUpdateWithoutPosInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -1977,6 +2107,8 @@ export type SalesInvoiceUncheckedUpdateManyWithoutPosInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceCreateManyCustomerInput = {
|
|
|
|
export type SalesInvoiceCreateManyCustomerInput = {
|
|
|
@@ -1998,6 +2130,8 @@ export type SalesInvoiceCreateManyCustomerInput = {
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceUpdateWithoutCustomerInput = {
|
|
|
|
export type SalesInvoiceUpdateWithoutCustomerInput = {
|
|
|
@@ -2016,6 +2150,8 @@ export type SalesInvoiceUpdateWithoutCustomerInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -2044,6 +2180,8 @@ export type SalesInvoiceUncheckedUpdateWithoutCustomerInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
|
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
|
|
@@ -2069,6 +2207,8 @@ export type SalesInvoiceUncheckedUpdateManyWithoutCustomerInput = {
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
settlement_type?: Prisma.EnumInvoiceSettlementTypeFieldUpdateOperationsInput | $Enums.InvoiceSettlementType
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
discount_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
tax_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
|
|
|
last_tsp_status?: Prisma.NullableEnumTspProviderResponseStatusFieldUpdateOperationsInput | $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -2140,6 +2280,8 @@ export type SalesInvoiceSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
|
settlement_type?: boolean
|
|
|
|
settlement_type?: boolean
|
|
|
|
discount_amount?: boolean
|
|
|
|
discount_amount?: boolean
|
|
|
|
tax_amount?: boolean
|
|
|
|
tax_amount?: boolean
|
|
|
|
|
|
|
|
last_tsp_status?: boolean
|
|
|
|
|
|
|
|
last_attempt_no?: boolean
|
|
|
|
tsp_attempts?: boolean | Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs>
|
|
|
|
tsp_attempts?: boolean | Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs>
|
|
|
|
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
|
|
|
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
|
|
|
payments?: boolean | Prisma.SalesInvoice$paymentsArgs<ExtArgs>
|
|
|
|
payments?: boolean | Prisma.SalesInvoice$paymentsArgs<ExtArgs>
|
|
|
@@ -2173,9 +2315,11 @@ export type SalesInvoiceSelectScalar = {
|
|
|
|
settlement_type?: boolean
|
|
|
|
settlement_type?: boolean
|
|
|
|
discount_amount?: boolean
|
|
|
|
discount_amount?: boolean
|
|
|
|
tax_amount?: boolean
|
|
|
|
tax_amount?: boolean
|
|
|
|
|
|
|
|
last_tsp_status?: boolean
|
|
|
|
|
|
|
|
last_attempt_no?: boolean
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "total_amount" | "invoice_number" | "invoice_date" | "type" | "tax_id" | "notes" | "unknown_customer" | "created_at" | "updated_at" | "main_id" | "ref_id" | "customer_id" | "consumer_account_id" | "pos_id" | "settlement_type" | "discount_amount" | "tax_amount", ExtArgs["result"]["salesInvoice"]>
|
|
|
|
export type SalesInvoiceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "total_amount" | "invoice_number" | "invoice_date" | "type" | "tax_id" | "notes" | "unknown_customer" | "created_at" | "updated_at" | "main_id" | "ref_id" | "customer_id" | "consumer_account_id" | "pos_id" | "settlement_type" | "discount_amount" | "tax_amount" | "last_tsp_status" | "last_attempt_no", ExtArgs["result"]["salesInvoice"]>
|
|
|
|
export type SalesInvoiceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
export type SalesInvoiceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
tsp_attempts?: boolean | Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs>
|
|
|
|
tsp_attempts?: boolean | Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs>
|
|
|
|
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
|
|
|
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
|
|
@@ -2220,6 +2364,8 @@ export type $SalesInvoicePayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
settlement_type: $Enums.InvoiceSettlementType
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
discount_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
tax_amount: runtime.Decimal | null
|
|
|
|
|
|
|
|
last_tsp_status: $Enums.TspProviderResponseStatus | null
|
|
|
|
|
|
|
|
last_attempt_no: number | null
|
|
|
|
}, ExtArgs["result"]["salesInvoice"]>
|
|
|
|
}, ExtArgs["result"]["salesInvoice"]>
|
|
|
|
composites: {}
|
|
|
|
composites: {}
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -2616,6 +2762,8 @@ export interface SalesInvoiceFieldRefs {
|
|
|
|
readonly settlement_type: Prisma.FieldRef<"SalesInvoice", 'InvoiceSettlementType'>
|
|
|
|
readonly settlement_type: Prisma.FieldRef<"SalesInvoice", 'InvoiceSettlementType'>
|
|
|
|
readonly discount_amount: Prisma.FieldRef<"SalesInvoice", 'Decimal'>
|
|
|
|
readonly discount_amount: Prisma.FieldRef<"SalesInvoice", 'Decimal'>
|
|
|
|
readonly tax_amount: Prisma.FieldRef<"SalesInvoice", 'Decimal'>
|
|
|
|
readonly tax_amount: Prisma.FieldRef<"SalesInvoice", 'Decimal'>
|
|
|
|
|
|
|
|
readonly last_tsp_status: Prisma.FieldRef<"SalesInvoice", 'TspProviderResponseStatus'>
|
|
|
|
|
|
|
|
readonly last_attempt_no: Prisma.FieldRef<"SalesInvoice", 'Int'>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|