feat: implement SalesInvoiceTspSwitchService and SalesInvoiceTspService for handling TSP provider interactions
- Add SalesInvoiceTspSwitchService to manage TSP provider selection and sending invoices. - Introduce SalesInvoiceTspService for creating, sending, and retrieving sales invoices. - Implement NamaProviderSwitchAdapter for communication with the NAMA TSP provider API. - Define DTOs for request and response structures specific to the NAMA provider. - Enhance error handling and logging for TSP provider interactions.
This commit is contained in:
@@ -223,15 +223,10 @@ export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscals
|
||||
* Model SaleInvoiceTspAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscals = Prisma.SaleInvoiceFiscalsModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscalAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscalAttempts = Prisma.SaleInvoiceFiscalAttemptsModel
|
||||
export type SaleInvoiceTspAttempts = Prisma.SaleInvoiceTspAttemptsModel
|
||||
/**
|
||||
* Model SalesInvoicePayment
|
||||
*
|
||||
|
||||
@@ -245,15 +245,10 @@ export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscals
|
||||
* Model SaleInvoiceTspAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscals = Prisma.SaleInvoiceFiscalsModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscalAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscalAttempts = Prisma.SaleInvoiceFiscalAttemptsModel
|
||||
export type SaleInvoiceTspAttempts = Prisma.SaleInvoiceTspAttemptsModel
|
||||
/**
|
||||
* Model SalesInvoicePayment
|
||||
*
|
||||
|
||||
@@ -195,11 +195,11 @@ export type EnumPartnerStatusFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedEnumPartnerStatusFilter<$PrismaModel> | $Enums.PartnerStatus
|
||||
}
|
||||
|
||||
export type EnumPartnerFiscalSwitchTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.PartnerFiscalSwitchType | Prisma.EnumPartnerFiscalSwitchTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.PartnerFiscalSwitchType[]
|
||||
notIn?: $Enums.PartnerFiscalSwitchType[]
|
||||
not?: Prisma.NestedEnumPartnerFiscalSwitchTypeFilter<$PrismaModel> | $Enums.PartnerFiscalSwitchType
|
||||
export type EnumTspProviderTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderType | Prisma.EnumTspProviderTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderType[]
|
||||
notIn?: $Enums.TspProviderType[]
|
||||
not?: Prisma.NestedEnumTspProviderTypeFilter<$PrismaModel> | $Enums.TspProviderType
|
||||
}
|
||||
|
||||
export type EnumPartnerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
@@ -212,14 +212,14 @@ export type EnumPartnerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumPartnerStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumPartnerFiscalSwitchTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.PartnerFiscalSwitchType | Prisma.EnumPartnerFiscalSwitchTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.PartnerFiscalSwitchType[]
|
||||
notIn?: $Enums.PartnerFiscalSwitchType[]
|
||||
not?: Prisma.NestedEnumPartnerFiscalSwitchTypeWithAggregatesFilter<$PrismaModel> | $Enums.PartnerFiscalSwitchType
|
||||
export type EnumTspProviderTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderType | Prisma.EnumTspProviderTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderType[]
|
||||
notIn?: $Enums.TspProviderType[]
|
||||
not?: Prisma.NestedEnumTspProviderTypeWithAggregatesFilter<$PrismaModel> | $Enums.TspProviderType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumPartnerFiscalSwitchTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumPartnerFiscalSwitchTypeFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTspProviderTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTspProviderTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumPOSRoleFilter<$PrismaModel = never> = {
|
||||
@@ -456,6 +456,33 @@ export type EnumConsumerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type DecimalFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type DecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumPOSStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSStatus | Prisma.EnumPOSStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSStatus[]
|
||||
@@ -559,17 +586,6 @@ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type DecimalFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type EnumSKUGuildTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SKUGuildType | Prisma.EnumSKUGuildTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SKUGuildType[]
|
||||
@@ -577,22 +593,6 @@ export type EnumSKUGuildTypeFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedEnumSKUGuildTypeFilter<$PrismaModel> | $Enums.SKUGuildType
|
||||
}
|
||||
|
||||
export type DecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumSKUGuildTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SKUGuildType | Prisma.EnumSKUGuildTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SKUGuildType[]
|
||||
@@ -633,38 +633,106 @@ export type EnumCustomerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumFiscalResponseStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalResponseStatus | Prisma.EnumFiscalResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalResponseStatus[]
|
||||
notIn?: $Enums.FiscalResponseStatus[]
|
||||
not?: Prisma.NestedEnumFiscalResponseStatusFilter<$PrismaModel> | $Enums.FiscalResponseStatus
|
||||
export type EnumInvoiceTemplateTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.InvoiceTemplateType | Prisma.EnumInvoiceTemplateTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.InvoiceTemplateType[]
|
||||
notIn?: $Enums.InvoiceTemplateType[]
|
||||
not?: Prisma.NestedEnumInvoiceTemplateTypeFilter<$PrismaModel> | $Enums.InvoiceTemplateType
|
||||
}
|
||||
|
||||
export type EnumFiscalRequestTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalRequestType | Prisma.EnumFiscalRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalRequestType[]
|
||||
notIn?: $Enums.FiscalRequestType[]
|
||||
not?: Prisma.NestedEnumFiscalRequestTypeFilter<$PrismaModel> | $Enums.FiscalRequestType
|
||||
}
|
||||
|
||||
export type EnumFiscalResponseStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalResponseStatus | Prisma.EnumFiscalResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalResponseStatus[]
|
||||
notIn?: $Enums.FiscalResponseStatus[]
|
||||
not?: Prisma.NestedEnumFiscalResponseStatusWithAggregatesFilter<$PrismaModel> | $Enums.FiscalResponseStatus
|
||||
export type EnumInvoiceTemplateTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.InvoiceTemplateType | Prisma.EnumInvoiceTemplateTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.InvoiceTemplateType[]
|
||||
notIn?: $Enums.InvoiceTemplateType[]
|
||||
not?: Prisma.NestedEnumInvoiceTemplateTypeWithAggregatesFilter<$PrismaModel> | $Enums.InvoiceTemplateType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumFiscalResponseStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumFiscalResponseStatusFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumInvoiceTemplateTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumInvoiceTemplateTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumFiscalRequestTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalRequestType | Prisma.EnumFiscalRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalRequestType[]
|
||||
notIn?: $Enums.FiscalRequestType[]
|
||||
not?: Prisma.NestedEnumFiscalRequestTypeWithAggregatesFilter<$PrismaModel> | $Enums.FiscalRequestType
|
||||
export type JsonFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
|
||||
Required<JsonFilterBase<$PrismaModel>>
|
||||
>
|
||||
| Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>
|
||||
|
||||
export type JsonFilterBase<$PrismaModel = never> = {
|
||||
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
path?: string
|
||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
lt?: runtime.InputJsonValue
|
||||
lte?: runtime.InputJsonValue
|
||||
gt?: runtime.InputJsonValue
|
||||
gte?: runtime.InputJsonValue
|
||||
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
}
|
||||
|
||||
export type JsonWithAggregatesFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
||||
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
|
||||
>
|
||||
| Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
||||
|
||||
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
||||
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
path?: string
|
||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
lt?: runtime.InputJsonValue
|
||||
lte?: runtime.InputJsonValue
|
||||
gt?: runtime.InputJsonValue
|
||||
gte?: runtime.InputJsonValue
|
||||
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumFiscalRequestTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumFiscalRequestTypeFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedJsonFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedJsonFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumTspProviderResponseStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderResponseStatus | Prisma.EnumTspProviderResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderResponseStatus[]
|
||||
notIn?: $Enums.TspProviderResponseStatus[]
|
||||
not?: Prisma.NestedEnumTspProviderResponseStatusFilter<$PrismaModel> | $Enums.TspProviderResponseStatus
|
||||
}
|
||||
|
||||
export type EnumTspProviderRequestTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderRequestType | Prisma.EnumTspProviderRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderRequestType[]
|
||||
notIn?: $Enums.TspProviderRequestType[]
|
||||
not?: Prisma.NestedEnumTspProviderRequestTypeFilter<$PrismaModel> | $Enums.TspProviderRequestType
|
||||
}
|
||||
|
||||
export type EnumTspProviderResponseStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderResponseStatus | Prisma.EnumTspProviderResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderResponseStatus[]
|
||||
notIn?: $Enums.TspProviderResponseStatus[]
|
||||
not?: Prisma.NestedEnumTspProviderResponseStatusWithAggregatesFilter<$PrismaModel> | $Enums.TspProviderResponseStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTspProviderResponseStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTspProviderResponseStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumTspProviderRequestTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderRequestType | Prisma.EnumTspProviderRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderRequestType[]
|
||||
notIn?: $Enums.TspProviderRequestType[]
|
||||
not?: Prisma.NestedEnumTspProviderRequestTypeWithAggregatesFilter<$PrismaModel> | $Enums.TspProviderRequestType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTspProviderRequestTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTspProviderRequestTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumPaymentMethodTypeFilter<$PrismaModel = never> = {
|
||||
@@ -882,11 +950,11 @@ export type NestedEnumPartnerStatusFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedEnumPartnerStatusFilter<$PrismaModel> | $Enums.PartnerStatus
|
||||
}
|
||||
|
||||
export type NestedEnumPartnerFiscalSwitchTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.PartnerFiscalSwitchType | Prisma.EnumPartnerFiscalSwitchTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.PartnerFiscalSwitchType[]
|
||||
notIn?: $Enums.PartnerFiscalSwitchType[]
|
||||
not?: Prisma.NestedEnumPartnerFiscalSwitchTypeFilter<$PrismaModel> | $Enums.PartnerFiscalSwitchType
|
||||
export type NestedEnumTspProviderTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderType | Prisma.EnumTspProviderTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderType[]
|
||||
notIn?: $Enums.TspProviderType[]
|
||||
not?: Prisma.NestedEnumTspProviderTypeFilter<$PrismaModel> | $Enums.TspProviderType
|
||||
}
|
||||
|
||||
export type NestedEnumPartnerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
@@ -899,14 +967,14 @@ export type NestedEnumPartnerStatusWithAggregatesFilter<$PrismaModel = never> =
|
||||
_max?: Prisma.NestedEnumPartnerStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumPartnerFiscalSwitchTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.PartnerFiscalSwitchType | Prisma.EnumPartnerFiscalSwitchTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.PartnerFiscalSwitchType[]
|
||||
notIn?: $Enums.PartnerFiscalSwitchType[]
|
||||
not?: Prisma.NestedEnumPartnerFiscalSwitchTypeWithAggregatesFilter<$PrismaModel> | $Enums.PartnerFiscalSwitchType
|
||||
export type NestedEnumTspProviderTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderType | Prisma.EnumTspProviderTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderType[]
|
||||
notIn?: $Enums.TspProviderType[]
|
||||
not?: Prisma.NestedEnumTspProviderTypeWithAggregatesFilter<$PrismaModel> | $Enums.TspProviderType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumPartnerFiscalSwitchTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumPartnerFiscalSwitchTypeFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTspProviderTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTspProviderTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumPOSRoleFilter<$PrismaModel = never> = {
|
||||
@@ -1116,6 +1184,33 @@ export type NestedEnumConsumerStatusWithAggregatesFilter<$PrismaModel = never> =
|
||||
_max?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedDecimalFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type NestedDecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumPOSStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSStatus | Prisma.EnumPOSStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSStatus[]
|
||||
@@ -1219,17 +1314,6 @@ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedDecimalFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type NestedEnumSKUGuildTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SKUGuildType | Prisma.EnumSKUGuildTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SKUGuildType[]
|
||||
@@ -1237,22 +1321,6 @@ export type NestedEnumSKUGuildTypeFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedEnumSKUGuildTypeFilter<$PrismaModel> | $Enums.SKUGuildType
|
||||
}
|
||||
|
||||
export type NestedDecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumSKUGuildTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SKUGuildType | Prisma.EnumSKUGuildTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SKUGuildType[]
|
||||
@@ -1293,38 +1361,79 @@ export type NestedEnumCustomerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumFiscalResponseStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalResponseStatus | Prisma.EnumFiscalResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalResponseStatus[]
|
||||
notIn?: $Enums.FiscalResponseStatus[]
|
||||
not?: Prisma.NestedEnumFiscalResponseStatusFilter<$PrismaModel> | $Enums.FiscalResponseStatus
|
||||
export type NestedEnumInvoiceTemplateTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.InvoiceTemplateType | Prisma.EnumInvoiceTemplateTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.InvoiceTemplateType[]
|
||||
notIn?: $Enums.InvoiceTemplateType[]
|
||||
not?: Prisma.NestedEnumInvoiceTemplateTypeFilter<$PrismaModel> | $Enums.InvoiceTemplateType
|
||||
}
|
||||
|
||||
export type NestedEnumFiscalRequestTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalRequestType | Prisma.EnumFiscalRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalRequestType[]
|
||||
notIn?: $Enums.FiscalRequestType[]
|
||||
not?: Prisma.NestedEnumFiscalRequestTypeFilter<$PrismaModel> | $Enums.FiscalRequestType
|
||||
}
|
||||
|
||||
export type NestedEnumFiscalResponseStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalResponseStatus | Prisma.EnumFiscalResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalResponseStatus[]
|
||||
notIn?: $Enums.FiscalResponseStatus[]
|
||||
not?: Prisma.NestedEnumFiscalResponseStatusWithAggregatesFilter<$PrismaModel> | $Enums.FiscalResponseStatus
|
||||
export type NestedEnumInvoiceTemplateTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.InvoiceTemplateType | Prisma.EnumInvoiceTemplateTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.InvoiceTemplateType[]
|
||||
notIn?: $Enums.InvoiceTemplateType[]
|
||||
not?: Prisma.NestedEnumInvoiceTemplateTypeWithAggregatesFilter<$PrismaModel> | $Enums.InvoiceTemplateType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumFiscalResponseStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumFiscalResponseStatusFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumInvoiceTemplateTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumInvoiceTemplateTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumFiscalRequestTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.FiscalRequestType | Prisma.EnumFiscalRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.FiscalRequestType[]
|
||||
notIn?: $Enums.FiscalRequestType[]
|
||||
not?: Prisma.NestedEnumFiscalRequestTypeWithAggregatesFilter<$PrismaModel> | $Enums.FiscalRequestType
|
||||
export type NestedJsonFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
|
||||
Required<NestedJsonFilterBase<$PrismaModel>>
|
||||
>
|
||||
| Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>
|
||||
|
||||
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
||||
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
path?: string
|
||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
||||
lt?: runtime.InputJsonValue
|
||||
lte?: runtime.InputJsonValue
|
||||
gt?: runtime.InputJsonValue
|
||||
gte?: runtime.InputJsonValue
|
||||
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
}
|
||||
|
||||
export type NestedEnumTspProviderResponseStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderResponseStatus | Prisma.EnumTspProviderResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderResponseStatus[]
|
||||
notIn?: $Enums.TspProviderResponseStatus[]
|
||||
not?: Prisma.NestedEnumTspProviderResponseStatusFilter<$PrismaModel> | $Enums.TspProviderResponseStatus
|
||||
}
|
||||
|
||||
export type NestedEnumTspProviderRequestTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderRequestType | Prisma.EnumTspProviderRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderRequestType[]
|
||||
notIn?: $Enums.TspProviderRequestType[]
|
||||
not?: Prisma.NestedEnumTspProviderRequestTypeFilter<$PrismaModel> | $Enums.TspProviderRequestType
|
||||
}
|
||||
|
||||
export type NestedEnumTspProviderResponseStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderResponseStatus | Prisma.EnumTspProviderResponseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderResponseStatus[]
|
||||
notIn?: $Enums.TspProviderResponseStatus[]
|
||||
not?: Prisma.NestedEnumTspProviderResponseStatusWithAggregatesFilter<$PrismaModel> | $Enums.TspProviderResponseStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumFiscalRequestTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumFiscalRequestTypeFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTspProviderResponseStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTspProviderResponseStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumTspProviderRequestTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TspProviderRequestType | Prisma.EnumTspProviderRequestTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TspProviderRequestType[]
|
||||
notIn?: $Enums.TspProviderRequestType[]
|
||||
not?: Prisma.NestedEnumTspProviderRequestTypeWithAggregatesFilter<$PrismaModel> | $Enums.TspProviderRequestType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTspProviderRequestTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTspProviderRequestTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumPaymentMethodTypeFilter<$PrismaModel = never> = {
|
||||
|
||||
@@ -10,12 +10,13 @@
|
||||
*/
|
||||
|
||||
export const PaymentMethodType = {
|
||||
TERMINAL: 'TERMINAL',
|
||||
CASH: 'CASH',
|
||||
CHEQUE: 'CHEQUE',
|
||||
SET_OFF: 'SET_OFF',
|
||||
CASH: 'CASH',
|
||||
TERMINAL: 'TERMINAL',
|
||||
PAYMENT_GATEWAY: 'PAYMENT_GATEWAY',
|
||||
CARD: 'CARD',
|
||||
BANK: 'BANK',
|
||||
CHECK: 'CHECK',
|
||||
OTHER: 'OTHER'
|
||||
} as const
|
||||
|
||||
@@ -248,40 +249,40 @@ export const ConsumerType = {
|
||||
export type ConsumerType = (typeof ConsumerType)[keyof typeof ConsumerType]
|
||||
|
||||
|
||||
export const PartnerFiscalSwitchType = {
|
||||
export const TspProviderType = {
|
||||
NAMA: 'NAMA',
|
||||
SUN: 'SUN'
|
||||
} as const
|
||||
|
||||
export type PartnerFiscalSwitchType = (typeof PartnerFiscalSwitchType)[keyof typeof PartnerFiscalSwitchType]
|
||||
export type TspProviderType = (typeof TspProviderType)[keyof typeof TspProviderType]
|
||||
|
||||
|
||||
export const FiscalResponseStatus = {
|
||||
export const TspProviderResponseStatus = {
|
||||
SUCCESS: 'SUCCESS',
|
||||
FAILURE: 'FAILURE',
|
||||
NOT_SEND: 'NOT_SEND',
|
||||
QUEUED: 'QUEUED'
|
||||
} as const
|
||||
|
||||
export type FiscalResponseStatus = (typeof FiscalResponseStatus)[keyof typeof FiscalResponseStatus]
|
||||
export type TspProviderResponseStatus = (typeof TspProviderResponseStatus)[keyof typeof TspProviderResponseStatus]
|
||||
|
||||
|
||||
export const FiscalRequestType = {
|
||||
export const TspProviderRequestType = {
|
||||
MAIN: 'MAIN',
|
||||
UPDATE: 'UPDATE',
|
||||
REVOKE: 'REVOKE',
|
||||
REMOVE: 'REMOVE'
|
||||
} as const
|
||||
|
||||
export type FiscalRequestType = (typeof FiscalRequestType)[keyof typeof FiscalRequestType]
|
||||
export type TspProviderRequestType = (typeof TspProviderRequestType)[keyof typeof TspProviderRequestType]
|
||||
|
||||
|
||||
export const FiscalInvoiceCustomerType = {
|
||||
export const TspProviderCustomerType = {
|
||||
Unknown: 'Unknown',
|
||||
Known: 'Known'
|
||||
} as const
|
||||
|
||||
export type FiscalInvoiceCustomerType = (typeof FiscalInvoiceCustomerType)[keyof typeof FiscalInvoiceCustomerType]
|
||||
export type TspProviderCustomerType = (typeof TspProviderCustomerType)[keyof typeof TspProviderCustomerType]
|
||||
|
||||
|
||||
export const SKUGuildType = {
|
||||
@@ -289,3 +290,20 @@ export const SKUGuildType = {
|
||||
} as const
|
||||
|
||||
export type SKUGuildType = (typeof SKUGuildType)[keyof typeof SKUGuildType]
|
||||
|
||||
|
||||
export const InvoiceTemplateType = {
|
||||
SALE: 'SALE',
|
||||
FX_SALE: 'FX_SALE',
|
||||
GOLD_JEWELRY: 'GOLD_JEWELRY',
|
||||
CONTRACT: 'CONTRACT',
|
||||
UTILITY: 'UTILITY',
|
||||
AIR_TICKET: 'AIR_TICKET',
|
||||
EXPORT: 'EXPORT',
|
||||
BILL_OF_LADING: 'BILL_OF_LADING',
|
||||
PETROCHEMICAL: 'PETROCHEMICAL',
|
||||
COMMODITY_EXCHANGE: 'COMMODITY_EXCHANGE',
|
||||
INSURANCE: 'INSURANCE'
|
||||
} as const
|
||||
|
||||
export type InvoiceTemplateType = (typeof InvoiceTemplateType)[keyof typeof InvoiceTemplateType]
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -425,8 +425,7 @@ export const ModelName = {
|
||||
Guild: 'Guild',
|
||||
SalesInvoice: 'SalesInvoice',
|
||||
SalesInvoiceItem: 'SalesInvoiceItem',
|
||||
SaleInvoiceFiscals: 'SaleInvoiceFiscals',
|
||||
SaleInvoiceFiscalAttempts: 'SaleInvoiceFiscalAttempts',
|
||||
SaleInvoiceTspAttempts: 'SaleInvoiceTspAttempts',
|
||||
SalesInvoicePayment: 'SalesInvoicePayment',
|
||||
SalesInvoicePaymentTerminalInfo: 'SalesInvoicePaymentTerminalInfo',
|
||||
Service: 'Service',
|
||||
@@ -446,7 +445,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
omit: GlobalOmitOptions
|
||||
}
|
||||
meta: {
|
||||
modelProps: "adminAccount" | "admin" | "account" | "deviceBrand" | "device" | "licenseChargeTransaction" | "license" | "licenseActivation" | "licenseRenewChargeTransaction" | "licenseRenew" | "partnerAccountQuotaChargeTransaction" | "partnerAccountQuotaCredit" | "licenseAccountAllocation" | "partnerAccount" | "partner" | "permissionConsumer" | "permissionPos" | "permissionComplex" | "permissionBusiness" | "providerAccount" | "provider" | "consumerDevices" | "applicationReleasedInfo" | "consumerAccount" | "consumer" | "consumerIndividual" | "consumerLegal" | "businessActivity" | "complex" | "pos" | "good" | "goodCategory" | "measureUnits" | "stockKeepingUnits" | "triggerLog" | "customer" | "customerIndividual" | "customerLegal" | "guild" | "salesInvoice" | "salesInvoiceItem" | "saleInvoiceFiscals" | "saleInvoiceFiscalAttempts" | "salesInvoicePayment" | "salesInvoicePaymentTerminalInfo" | "service" | "serviceCategory"
|
||||
modelProps: "adminAccount" | "admin" | "account" | "deviceBrand" | "device" | "licenseChargeTransaction" | "license" | "licenseActivation" | "licenseRenewChargeTransaction" | "licenseRenew" | "partnerAccountQuotaChargeTransaction" | "partnerAccountQuotaCredit" | "licenseAccountAllocation" | "partnerAccount" | "partner" | "permissionConsumer" | "permissionPos" | "permissionComplex" | "permissionBusiness" | "providerAccount" | "provider" | "consumerDevices" | "applicationReleasedInfo" | "consumerAccount" | "consumer" | "consumerIndividual" | "consumerLegal" | "businessActivity" | "complex" | "pos" | "good" | "goodCategory" | "measureUnits" | "stockKeepingUnits" | "triggerLog" | "customer" | "customerIndividual" | "customerLegal" | "guild" | "salesInvoice" | "salesInvoiceItem" | "saleInvoiceTspAttempts" | "salesInvoicePayment" | "salesInvoicePaymentTerminalInfo" | "service" | "serviceCategory"
|
||||
txIsolationLevel: TransactionIsolationLevel
|
||||
}
|
||||
model: {
|
||||
@@ -3156,135 +3155,69 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
}
|
||||
}
|
||||
}
|
||||
SaleInvoiceFiscals: {
|
||||
payload: Prisma.$SaleInvoiceFiscalsPayload<ExtArgs>
|
||||
fields: Prisma.SaleInvoiceFiscalsFieldRefs
|
||||
SaleInvoiceTspAttempts: {
|
||||
payload: Prisma.$SaleInvoiceTspAttemptsPayload<ExtArgs>
|
||||
fields: Prisma.SaleInvoiceTspAttemptsFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.SaleInvoiceFiscalsFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload> | null
|
||||
args: Prisma.SaleInvoiceTspAttemptsFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.SaleInvoiceFiscalsFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload>
|
||||
args: Prisma.SaleInvoiceTspAttemptsFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.SaleInvoiceFiscalsFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload> | null
|
||||
args: Prisma.SaleInvoiceTspAttemptsFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.SaleInvoiceFiscalsFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload>
|
||||
args: Prisma.SaleInvoiceTspAttemptsFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.SaleInvoiceFiscalsFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload>[]
|
||||
args: Prisma.SaleInvoiceTspAttemptsFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.SaleInvoiceFiscalsCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload>
|
||||
args: Prisma.SaleInvoiceTspAttemptsCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.SaleInvoiceFiscalsCreateManyArgs<ExtArgs>
|
||||
args: Prisma.SaleInvoiceTspAttemptsCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.SaleInvoiceFiscalsDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload>
|
||||
args: Prisma.SaleInvoiceTspAttemptsDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.SaleInvoiceFiscalsUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload>
|
||||
args: Prisma.SaleInvoiceTspAttemptsUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.SaleInvoiceFiscalsDeleteManyArgs<ExtArgs>
|
||||
args: Prisma.SaleInvoiceTspAttemptsDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.SaleInvoiceFiscalsUpdateManyArgs<ExtArgs>
|
||||
args: Prisma.SaleInvoiceTspAttemptsUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.SaleInvoiceFiscalsUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalsPayload>
|
||||
args: Prisma.SaleInvoiceTspAttemptsUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceTspAttemptsPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.SaleInvoiceFiscalsAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateSaleInvoiceFiscals>
|
||||
args: Prisma.SaleInvoiceTspAttemptsAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateSaleInvoiceTspAttempts>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.SaleInvoiceFiscalsGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SaleInvoiceFiscalsGroupByOutputType>[]
|
||||
args: Prisma.SaleInvoiceTspAttemptsGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SaleInvoiceTspAttemptsGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.SaleInvoiceFiscalsCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SaleInvoiceFiscalsCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
SaleInvoiceFiscalAttempts: {
|
||||
payload: Prisma.$SaleInvoiceFiscalAttemptsPayload<ExtArgs>
|
||||
fields: Prisma.SaleInvoiceFiscalAttemptsFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SaleInvoiceFiscalAttemptsPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateSaleInvoiceFiscalAttempts>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SaleInvoiceFiscalAttemptsGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.SaleInvoiceFiscalAttemptsCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SaleInvoiceFiscalAttemptsCountAggregateOutputType> | number
|
||||
args: Prisma.SaleInvoiceTspAttemptsCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SaleInvoiceTspAttemptsCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3762,7 +3695,7 @@ export const PartnerScalarFieldEnum = {
|
||||
name: 'name',
|
||||
code: 'code',
|
||||
status: 'status',
|
||||
fiscal_switch_type: 'fiscal_switch_type',
|
||||
tsp_provider: 'tsp_provider',
|
||||
logo_url: 'logo_url',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
@@ -3927,6 +3860,7 @@ export const BusinessActivityScalarFieldEnum = {
|
||||
name: 'name',
|
||||
fiscal_id: 'fiscal_id',
|
||||
partner_token: 'partner_token',
|
||||
invoice_number_sequence: 'invoice_number_sequence',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
guild_id: 'guild_id',
|
||||
@@ -4082,6 +4016,7 @@ export type CustomerLegalScalarFieldEnum = (typeof CustomerLegalScalarFieldEnum)
|
||||
export const GuildScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
invoice_template: 'invoice_template',
|
||||
code: 'code',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
@@ -4130,19 +4065,7 @@ export const SalesInvoiceItemScalarFieldEnum = {
|
||||
export type SalesInvoiceItemScalarFieldEnum = (typeof SalesInvoiceItemScalarFieldEnum)[keyof typeof SalesInvoiceItemScalarFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
retry_count: 'retry_count',
|
||||
last_attempt_at: 'last_attempt_at',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalsScalarFieldEnum = (typeof SaleInvoiceFiscalsScalarFieldEnum)[keyof typeof SaleInvoiceFiscalsScalarFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsScalarFieldEnum = {
|
||||
export const SaleInvoiceTspAttemptsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
attempt_no: 'attempt_no',
|
||||
status: 'status',
|
||||
@@ -4154,10 +4077,10 @@ export const SaleInvoiceFiscalAttemptsScalarFieldEnum = {
|
||||
sent_at: 'sent_at',
|
||||
received_at: 'received_at',
|
||||
created_at: 'created_at',
|
||||
fiscal_id: 'fiscal_id'
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalAttemptsScalarFieldEnum = (typeof SaleInvoiceFiscalAttemptsScalarFieldEnum)[keyof typeof SaleInvoiceFiscalAttemptsScalarFieldEnum]
|
||||
export type SaleInvoiceTspAttemptsScalarFieldEnum = (typeof SaleInvoiceTspAttemptsScalarFieldEnum)[keyof typeof SaleInvoiceTspAttemptsScalarFieldEnum]
|
||||
|
||||
|
||||
export const SalesInvoicePaymentScalarFieldEnum = {
|
||||
@@ -4237,6 +4160,13 @@ export const NullableJsonNullValueInput = {
|
||||
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
||||
|
||||
|
||||
export const JsonNullValueInput = {
|
||||
JsonNull: JsonNull
|
||||
} as const
|
||||
|
||||
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
||||
|
||||
|
||||
export const AdminAccountOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
admin_id: 'admin_id',
|
||||
@@ -4679,22 +4609,14 @@ export const SalesInvoiceItemOrderByRelevanceFieldEnum = {
|
||||
export type SalesInvoiceItemOrderByRelevanceFieldEnum = (typeof SalesInvoiceItemOrderByRelevanceFieldEnum)[keyof typeof SalesInvoiceItemOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFiscalsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceFiscalsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = {
|
||||
export const SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
tax_id: 'tax_id',
|
||||
error_message: 'error_message',
|
||||
fiscal_id: 'fiscal_id'
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum]
|
||||
export type SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum = (typeof SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SalesInvoicePaymentOrderByRelevanceFieldEnum = {
|
||||
@@ -4801,9 +4723,9 @@ export type EnumPartnerStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$Pr
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'PartnerFiscalSwitchType'
|
||||
* Reference to a field of type 'TspProviderType'
|
||||
*/
|
||||
export type EnumPartnerFiscalSwitchTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PartnerFiscalSwitchType'>
|
||||
export type EnumTspProviderTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TspProviderType'>
|
||||
|
||||
|
||||
|
||||
@@ -4898,6 +4820,13 @@ export type EnumConsumerStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$P
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'Decimal'
|
||||
*/
|
||||
export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'POSStatus'
|
||||
*/
|
||||
@@ -4919,13 +4848,6 @@ export type EnumGoodPricingModelFieldRefInput<$PrismaModel> = FieldRefInputType<
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'Decimal'
|
||||
*/
|
||||
export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'SKUGuildType'
|
||||
*/
|
||||
@@ -4941,16 +4863,23 @@ export type EnumCustomerTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$Pri
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'FiscalResponseStatus'
|
||||
* Reference to a field of type 'InvoiceTemplateType'
|
||||
*/
|
||||
export type EnumFiscalResponseStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'FiscalResponseStatus'>
|
||||
export type EnumInvoiceTemplateTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'InvoiceTemplateType'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'FiscalRequestType'
|
||||
* Reference to a field of type 'TspProviderResponseStatus'
|
||||
*/
|
||||
export type EnumFiscalRequestTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'FiscalRequestType'>
|
||||
export type EnumTspProviderResponseStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TspProviderResponseStatus'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'TspProviderRequestType'
|
||||
*/
|
||||
export type EnumTspProviderRequestTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TspProviderRequestType'>
|
||||
|
||||
|
||||
|
||||
@@ -5103,8 +5032,7 @@ export type GlobalOmitConfig = {
|
||||
guild?: Prisma.GuildOmit
|
||||
salesInvoice?: Prisma.SalesInvoiceOmit
|
||||
salesInvoiceItem?: Prisma.SalesInvoiceItemOmit
|
||||
saleInvoiceFiscals?: Prisma.SaleInvoiceFiscalsOmit
|
||||
saleInvoiceFiscalAttempts?: Prisma.SaleInvoiceFiscalAttemptsOmit
|
||||
saleInvoiceTspAttempts?: Prisma.SaleInvoiceTspAttemptsOmit
|
||||
salesInvoicePayment?: Prisma.SalesInvoicePaymentOmit
|
||||
salesInvoicePaymentTerminalInfo?: Prisma.SalesInvoicePaymentTerminalInfoOmit
|
||||
service?: Prisma.ServiceOmit
|
||||
|
||||
@@ -92,8 +92,7 @@ export const ModelName = {
|
||||
Guild: 'Guild',
|
||||
SalesInvoice: 'SalesInvoice',
|
||||
SalesInvoiceItem: 'SalesInvoiceItem',
|
||||
SaleInvoiceFiscals: 'SaleInvoiceFiscals',
|
||||
SaleInvoiceFiscalAttempts: 'SaleInvoiceFiscalAttempts',
|
||||
SaleInvoiceTspAttempts: 'SaleInvoiceTspAttempts',
|
||||
SalesInvoicePayment: 'SalesInvoicePayment',
|
||||
SalesInvoicePaymentTerminalInfo: 'SalesInvoicePaymentTerminalInfo',
|
||||
Service: 'Service',
|
||||
@@ -287,7 +286,7 @@ export const PartnerScalarFieldEnum = {
|
||||
name: 'name',
|
||||
code: 'code',
|
||||
status: 'status',
|
||||
fiscal_switch_type: 'fiscal_switch_type',
|
||||
tsp_provider: 'tsp_provider',
|
||||
logo_url: 'logo_url',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
@@ -452,6 +451,7 @@ export const BusinessActivityScalarFieldEnum = {
|
||||
name: 'name',
|
||||
fiscal_id: 'fiscal_id',
|
||||
partner_token: 'partner_token',
|
||||
invoice_number_sequence: 'invoice_number_sequence',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
guild_id: 'guild_id',
|
||||
@@ -607,6 +607,7 @@ export type CustomerLegalScalarFieldEnum = (typeof CustomerLegalScalarFieldEnum)
|
||||
export const GuildScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
invoice_template: 'invoice_template',
|
||||
code: 'code',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
@@ -655,19 +656,7 @@ export const SalesInvoiceItemScalarFieldEnum = {
|
||||
export type SalesInvoiceItemScalarFieldEnum = (typeof SalesInvoiceItemScalarFieldEnum)[keyof typeof SalesInvoiceItemScalarFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
retry_count: 'retry_count',
|
||||
last_attempt_at: 'last_attempt_at',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalsScalarFieldEnum = (typeof SaleInvoiceFiscalsScalarFieldEnum)[keyof typeof SaleInvoiceFiscalsScalarFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsScalarFieldEnum = {
|
||||
export const SaleInvoiceTspAttemptsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
attempt_no: 'attempt_no',
|
||||
status: 'status',
|
||||
@@ -679,10 +668,10 @@ export const SaleInvoiceFiscalAttemptsScalarFieldEnum = {
|
||||
sent_at: 'sent_at',
|
||||
received_at: 'received_at',
|
||||
created_at: 'created_at',
|
||||
fiscal_id: 'fiscal_id'
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalAttemptsScalarFieldEnum = (typeof SaleInvoiceFiscalAttemptsScalarFieldEnum)[keyof typeof SaleInvoiceFiscalAttemptsScalarFieldEnum]
|
||||
export type SaleInvoiceTspAttemptsScalarFieldEnum = (typeof SaleInvoiceTspAttemptsScalarFieldEnum)[keyof typeof SaleInvoiceTspAttemptsScalarFieldEnum]
|
||||
|
||||
|
||||
export const SalesInvoicePaymentScalarFieldEnum = {
|
||||
@@ -762,6 +751,13 @@ export const NullableJsonNullValueInput = {
|
||||
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
||||
|
||||
|
||||
export const JsonNullValueInput = {
|
||||
JsonNull: JsonNull
|
||||
} as const
|
||||
|
||||
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
||||
|
||||
|
||||
export const AdminAccountOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
admin_id: 'admin_id',
|
||||
@@ -1204,22 +1200,14 @@ export const SalesInvoiceItemOrderByRelevanceFieldEnum = {
|
||||
export type SalesInvoiceItemOrderByRelevanceFieldEnum = (typeof SalesInvoiceItemOrderByRelevanceFieldEnum)[keyof typeof SalesInvoiceItemOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFiscalsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceFiscalsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = {
|
||||
export const SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
tax_id: 'tax_id',
|
||||
error_message: 'error_message',
|
||||
fiscal_id: 'fiscal_id'
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum]
|
||||
export type SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum = (typeof SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SalesInvoicePaymentOrderByRelevanceFieldEnum = {
|
||||
|
||||
@@ -49,8 +49,7 @@ export type * from './models/CustomerLegal.js'
|
||||
export type * from './models/Guild.js'
|
||||
export type * from './models/SalesInvoice.js'
|
||||
export type * from './models/SalesInvoiceItem.js'
|
||||
export type * from './models/SaleInvoiceFiscals.js'
|
||||
export type * from './models/SaleInvoiceFiscalAttempts.js'
|
||||
export type * from './models/SaleInvoiceTspAttempts.js'
|
||||
export type * from './models/SalesInvoicePayment.js'
|
||||
export type * from './models/SalesInvoicePaymentTerminalInfo.js'
|
||||
export type * from './models/Service.js'
|
||||
|
||||
@@ -20,16 +20,27 @@ export type BusinessActivityModel = runtime.Types.Result.DefaultSelection<Prisma
|
||||
|
||||
export type AggregateBusinessActivity = {
|
||||
_count: BusinessActivityCountAggregateOutputType | null
|
||||
_avg: BusinessActivityAvgAggregateOutputType | null
|
||||
_sum: BusinessActivitySumAggregateOutputType | null
|
||||
_min: BusinessActivityMinAggregateOutputType | null
|
||||
_max: BusinessActivityMaxAggregateOutputType | null
|
||||
}
|
||||
|
||||
export type BusinessActivityAvgAggregateOutputType = {
|
||||
invoice_number_sequence: runtime.Decimal | null
|
||||
}
|
||||
|
||||
export type BusinessActivitySumAggregateOutputType = {
|
||||
invoice_number_sequence: runtime.Decimal | null
|
||||
}
|
||||
|
||||
export type BusinessActivityMinAggregateOutputType = {
|
||||
id: string | null
|
||||
economic_code: string | null
|
||||
name: string | null
|
||||
fiscal_id: string | null
|
||||
partner_token: string | null
|
||||
invoice_number_sequence: runtime.Decimal | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
guild_id: string | null
|
||||
@@ -42,6 +53,7 @@ export type BusinessActivityMaxAggregateOutputType = {
|
||||
name: string | null
|
||||
fiscal_id: string | null
|
||||
partner_token: string | null
|
||||
invoice_number_sequence: runtime.Decimal | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
guild_id: string | null
|
||||
@@ -54,6 +66,7 @@ export type BusinessActivityCountAggregateOutputType = {
|
||||
name: number
|
||||
fiscal_id: number
|
||||
partner_token: number
|
||||
invoice_number_sequence: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
guild_id: number
|
||||
@@ -62,12 +75,21 @@ export type BusinessActivityCountAggregateOutputType = {
|
||||
}
|
||||
|
||||
|
||||
export type BusinessActivityAvgAggregateInputType = {
|
||||
invoice_number_sequence?: true
|
||||
}
|
||||
|
||||
export type BusinessActivitySumAggregateInputType = {
|
||||
invoice_number_sequence?: true
|
||||
}
|
||||
|
||||
export type BusinessActivityMinAggregateInputType = {
|
||||
id?: true
|
||||
economic_code?: true
|
||||
name?: true
|
||||
fiscal_id?: true
|
||||
partner_token?: true
|
||||
invoice_number_sequence?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
guild_id?: true
|
||||
@@ -80,6 +102,7 @@ export type BusinessActivityMaxAggregateInputType = {
|
||||
name?: true
|
||||
fiscal_id?: true
|
||||
partner_token?: true
|
||||
invoice_number_sequence?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
guild_id?: true
|
||||
@@ -92,6 +115,7 @@ export type BusinessActivityCountAggregateInputType = {
|
||||
name?: true
|
||||
fiscal_id?: true
|
||||
partner_token?: true
|
||||
invoice_number_sequence?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
guild_id?: true
|
||||
@@ -134,6 +158,18 @@ export type BusinessActivityAggregateArgs<ExtArgs extends runtime.Types.Extensio
|
||||
* Count returned BusinessActivities
|
||||
**/
|
||||
_count?: true | BusinessActivityCountAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to average
|
||||
**/
|
||||
_avg?: BusinessActivityAvgAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to sum
|
||||
**/
|
||||
_sum?: BusinessActivitySumAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
@@ -167,6 +203,8 @@ export type BusinessActivityGroupByArgs<ExtArgs extends runtime.Types.Extensions
|
||||
take?: number
|
||||
skip?: number
|
||||
_count?: BusinessActivityCountAggregateInputType | true
|
||||
_avg?: BusinessActivityAvgAggregateInputType
|
||||
_sum?: BusinessActivitySumAggregateInputType
|
||||
_min?: BusinessActivityMinAggregateInputType
|
||||
_max?: BusinessActivityMaxAggregateInputType
|
||||
}
|
||||
@@ -177,11 +215,14 @@ export type BusinessActivityGroupByOutputType = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence: runtime.Decimal
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
guild_id: string
|
||||
consumer_id: string
|
||||
_count: BusinessActivityCountAggregateOutputType | null
|
||||
_avg: BusinessActivityAvgAggregateOutputType | null
|
||||
_sum: BusinessActivitySumAggregateOutputType | null
|
||||
_min: BusinessActivityMinAggregateOutputType | null
|
||||
_max: BusinessActivityMaxAggregateOutputType | null
|
||||
}
|
||||
@@ -210,6 +251,7 @@ export type BusinessActivityWhereInput = {
|
||||
name?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
fiscal_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
partner_token?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
invoice_number_sequence?: Prisma.DecimalFilter<"BusinessActivity"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
@@ -230,6 +272,7 @@ export type BusinessActivityOrderByWithRelationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
fiscal_id?: Prisma.SortOrder
|
||||
partner_token?: Prisma.SortOrder
|
||||
invoice_number_sequence?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
@@ -255,6 +298,7 @@ export type BusinessActivityWhereUniqueInput = Prisma.AtLeast<{
|
||||
name?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
fiscal_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
partner_token?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
invoice_number_sequence?: Prisma.DecimalFilter<"BusinessActivity"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
@@ -275,13 +319,16 @@ export type BusinessActivityOrderByWithAggregationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
fiscal_id?: Prisma.SortOrder
|
||||
partner_token?: Prisma.SortOrder
|
||||
invoice_number_sequence?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
consumer_id?: Prisma.SortOrder
|
||||
_count?: Prisma.BusinessActivityCountOrderByAggregateInput
|
||||
_avg?: Prisma.BusinessActivityAvgOrderByAggregateInput
|
||||
_max?: Prisma.BusinessActivityMaxOrderByAggregateInput
|
||||
_min?: Prisma.BusinessActivityMinOrderByAggregateInput
|
||||
_sum?: Prisma.BusinessActivitySumOrderByAggregateInput
|
||||
}
|
||||
|
||||
export type BusinessActivityScalarWhereWithAggregatesInput = {
|
||||
@@ -293,6 +340,7 @@ export type BusinessActivityScalarWhereWithAggregatesInput = {
|
||||
name?: Prisma.StringWithAggregatesFilter<"BusinessActivity"> | string
|
||||
fiscal_id?: Prisma.StringWithAggregatesFilter<"BusinessActivity"> | string
|
||||
partner_token?: Prisma.StringWithAggregatesFilter<"BusinessActivity"> | string
|
||||
invoice_number_sequence?: Prisma.DecimalWithAggregatesFilter<"BusinessActivity"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringWithAggregatesFilter<"BusinessActivity"> | string
|
||||
@@ -305,6 +353,7 @@ export type BusinessActivityCreateInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -323,6 +372,7 @@ export type BusinessActivityUncheckedCreateInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -341,6 +391,7 @@ export type BusinessActivityUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -359,6 +410,7 @@ export type BusinessActivityUncheckedUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -377,6 +429,7 @@ export type BusinessActivityCreateManyInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -389,6 +442,7 @@ export type BusinessActivityUpdateManyMutationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -399,6 +453,7 @@ export type BusinessActivityUncheckedUpdateManyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -437,18 +492,24 @@ export type BusinessActivityCountOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
fiscal_id?: Prisma.SortOrder
|
||||
partner_token?: Prisma.SortOrder
|
||||
invoice_number_sequence?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
consumer_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type BusinessActivityAvgOrderByAggregateInput = {
|
||||
invoice_number_sequence?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type BusinessActivityMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
economic_code?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
fiscal_id?: Prisma.SortOrder
|
||||
partner_token?: Prisma.SortOrder
|
||||
invoice_number_sequence?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
@@ -461,12 +522,17 @@ export type BusinessActivityMinOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
fiscal_id?: Prisma.SortOrder
|
||||
partner_token?: Prisma.SortOrder
|
||||
invoice_number_sequence?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
consumer_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type BusinessActivitySumOrderByAggregateInput = {
|
||||
invoice_number_sequence?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type BusinessActivityNullableScalarRelationFilter = {
|
||||
is?: Prisma.BusinessActivityWhereInput | null
|
||||
isNot?: Prisma.BusinessActivityWhereInput | null
|
||||
@@ -542,6 +608,14 @@ export type BusinessActivityUncheckedUpdateManyWithoutConsumerNestedInput = {
|
||||
deleteMany?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type DecimalFieldUpdateOperationsInput = {
|
||||
set?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
divide?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateNestedOneWithoutComplexesInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutComplexesInput
|
||||
@@ -648,6 +722,7 @@ export type BusinessActivityCreateWithoutLicense_activationInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -665,6 +740,7 @@ export type BusinessActivityUncheckedCreateWithoutLicense_activationInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -698,6 +774,7 @@ export type BusinessActivityUpdateWithoutLicense_activationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -715,6 +792,7 @@ export type BusinessActivityUncheckedUpdateWithoutLicense_activationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -732,6 +810,7 @@ export type BusinessActivityCreateWithoutPermission_businessesInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -749,6 +828,7 @@ export type BusinessActivityUncheckedCreateWithoutPermission_businessesInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -782,6 +862,7 @@ export type BusinessActivityUpdateWithoutPermission_businessesInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -799,6 +880,7 @@ export type BusinessActivityUncheckedUpdateWithoutPermission_businessesInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -816,6 +898,7 @@ export type BusinessActivityCreateWithoutConsumerInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -833,6 +916,7 @@ export type BusinessActivityUncheckedCreateWithoutConsumerInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -879,6 +963,7 @@ export type BusinessActivityScalarWhereInput = {
|
||||
name?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
fiscal_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
partner_token?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
invoice_number_sequence?: Prisma.DecimalFilter<"BusinessActivity"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
@@ -891,6 +976,7 @@ export type BusinessActivityCreateWithoutComplexesInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -908,6 +994,7 @@ export type BusinessActivityUncheckedCreateWithoutComplexesInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -941,6 +1028,7 @@ export type BusinessActivityUpdateWithoutComplexesInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -958,6 +1046,7 @@ export type BusinessActivityUncheckedUpdateWithoutComplexesInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -975,6 +1064,7 @@ export type BusinessActivityCreateWithoutGoodsInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -992,6 +1082,7 @@ export type BusinessActivityUncheckedCreateWithoutGoodsInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -1025,6 +1116,7 @@ export type BusinessActivityUpdateWithoutGoodsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -1042,6 +1134,7 @@ export type BusinessActivityUncheckedUpdateWithoutGoodsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1059,6 +1152,7 @@ export type BusinessActivityCreateWithoutCustomer_individualsInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -1076,6 +1170,7 @@ export type BusinessActivityUncheckedCreateWithoutCustomer_individualsInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -1109,6 +1204,7 @@ export type BusinessActivityUpdateWithoutCustomer_individualsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -1126,6 +1222,7 @@ export type BusinessActivityUncheckedUpdateWithoutCustomer_individualsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1143,6 +1240,7 @@ export type BusinessActivityCreateWithoutCustomer_legalsInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -1160,6 +1258,7 @@ export type BusinessActivityUncheckedCreateWithoutCustomer_legalsInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -1193,6 +1292,7 @@ export type BusinessActivityUpdateWithoutCustomer_legalsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -1210,6 +1310,7 @@ export type BusinessActivityUncheckedUpdateWithoutCustomer_legalsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1227,6 +1328,7 @@ export type BusinessActivityCreateWithoutGuildInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
consumer: Prisma.ConsumerCreateNestedOneWithoutBusiness_activitiesInput
|
||||
@@ -1244,6 +1346,7 @@ export type BusinessActivityUncheckedCreateWithoutGuildInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
consumer_id: string
|
||||
@@ -1287,6 +1390,7 @@ export type BusinessActivityCreateManyConsumerInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
@@ -1298,6 +1402,7 @@ export type BusinessActivityUpdateWithoutConsumerInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -1315,6 +1420,7 @@ export type BusinessActivityUncheckedUpdateWithoutConsumerInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1332,6 +1438,7 @@ export type BusinessActivityUncheckedUpdateManyWithoutConsumerInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1343,6 +1450,7 @@ export type BusinessActivityCreateManyGuildInput = {
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
consumer_id: string
|
||||
@@ -1354,6 +1462,7 @@ export type BusinessActivityUpdateWithoutGuildInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer?: Prisma.ConsumerUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
@@ -1371,6 +1480,7 @@ export type BusinessActivityUncheckedUpdateWithoutGuildInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1388,6 +1498,7 @@ export type BusinessActivityUncheckedUpdateManyWithoutGuildInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
partner_token?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_number_sequence?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1466,6 +1577,7 @@ export type BusinessActivitySelect<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
name?: boolean
|
||||
fiscal_id?: boolean
|
||||
partner_token?: boolean
|
||||
invoice_number_sequence?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
guild_id?: boolean
|
||||
@@ -1489,13 +1601,14 @@ export type BusinessActivitySelectScalar = {
|
||||
name?: boolean
|
||||
fiscal_id?: boolean
|
||||
partner_token?: boolean
|
||||
invoice_number_sequence?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
guild_id?: boolean
|
||||
consumer_id?: boolean
|
||||
}
|
||||
|
||||
export type BusinessActivityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "economic_code" | "name" | "fiscal_id" | "partner_token" | "created_at" | "updated_at" | "guild_id" | "consumer_id", ExtArgs["result"]["businessActivity"]>
|
||||
export type BusinessActivityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "economic_code" | "name" | "fiscal_id" | "partner_token" | "invoice_number_sequence" | "created_at" | "updated_at" | "guild_id" | "consumer_id", ExtArgs["result"]["businessActivity"]>
|
||||
export type BusinessActivityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
guild?: boolean | Prisma.GuildDefaultArgs<ExtArgs>
|
||||
consumer?: boolean | Prisma.ConsumerDefaultArgs<ExtArgs>
|
||||
@@ -1526,6 +1639,7 @@ export type $BusinessActivityPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
name: string
|
||||
fiscal_id: string
|
||||
partner_token: string
|
||||
invoice_number_sequence: runtime.Decimal
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
guild_id: string
|
||||
@@ -1912,6 +2026,7 @@ export interface BusinessActivityFieldRefs {
|
||||
readonly name: Prisma.FieldRef<"BusinessActivity", 'String'>
|
||||
readonly fiscal_id: Prisma.FieldRef<"BusinessActivity", 'String'>
|
||||
readonly partner_token: Prisma.FieldRef<"BusinessActivity", 'String'>
|
||||
readonly invoice_number_sequence: Prisma.FieldRef<"BusinessActivity", 'Decimal'>
|
||||
readonly created_at: Prisma.FieldRef<"BusinessActivity", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"BusinessActivity", 'DateTime'>
|
||||
readonly guild_id: Prisma.FieldRef<"BusinessActivity", 'String'>
|
||||
|
||||
@@ -623,9 +623,9 @@ export type GoodSumOrderByAggregateInput = {
|
||||
base_sale_price?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodNullableScalarRelationFilter = {
|
||||
is?: Prisma.GoodWhereInput | null
|
||||
isNot?: Prisma.GoodWhereInput | null
|
||||
export type GoodScalarRelationFilter = {
|
||||
is?: Prisma.GoodWhereInput
|
||||
isNot?: Prisma.GoodWhereInput
|
||||
}
|
||||
|
||||
export type GoodCreateNestedManyWithoutBusiness_activityInput = {
|
||||
@@ -818,12 +818,10 @@ export type GoodCreateNestedOneWithoutSales_invoice_itemsInput = {
|
||||
connect?: Prisma.GoodWhereUniqueInput
|
||||
}
|
||||
|
||||
export type GoodUpdateOneWithoutSales_invoice_itemsNestedInput = {
|
||||
export type GoodUpdateOneRequiredWithoutSales_invoice_itemsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCreateWithoutSales_invoice_itemsInput, Prisma.GoodUncheckedCreateWithoutSales_invoice_itemsInput>
|
||||
connectOrCreate?: Prisma.GoodCreateOrConnectWithoutSales_invoice_itemsInput
|
||||
upsert?: Prisma.GoodUpsertWithoutSales_invoice_itemsInput
|
||||
disconnect?: Prisma.GoodWhereInput | boolean
|
||||
delete?: Prisma.GoodWhereInput | boolean
|
||||
connect?: Prisma.GoodWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.GoodUpdateToOneWithWhereWithoutSales_invoice_itemsInput, Prisma.GoodUpdateWithoutSales_invoice_itemsInput>, Prisma.GoodUncheckedUpdateWithoutSales_invoice_itemsInput>
|
||||
}
|
||||
|
||||
@@ -27,6 +27,7 @@ export type AggregateGuild = {
|
||||
export type GuildMinAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
invoice_template: $Enums.InvoiceTemplateType | null
|
||||
code: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
@@ -35,6 +36,7 @@ export type GuildMinAggregateOutputType = {
|
||||
export type GuildMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
invoice_template: $Enums.InvoiceTemplateType | null
|
||||
code: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
@@ -43,6 +45,7 @@ export type GuildMaxAggregateOutputType = {
|
||||
export type GuildCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
invoice_template: number
|
||||
code: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
@@ -53,6 +56,7 @@ export type GuildCountAggregateOutputType = {
|
||||
export type GuildMinAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
invoice_template?: true
|
||||
code?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
@@ -61,6 +65,7 @@ export type GuildMinAggregateInputType = {
|
||||
export type GuildMaxAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
invoice_template?: true
|
||||
code?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
@@ -69,6 +74,7 @@ export type GuildMaxAggregateInputType = {
|
||||
export type GuildCountAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
invoice_template?: true
|
||||
code?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
@@ -150,6 +156,7 @@ export type GuildGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
export type GuildGroupByOutputType = {
|
||||
id: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
@@ -179,6 +186,7 @@ export type GuildWhereInput = {
|
||||
NOT?: Prisma.GuildWhereInput | Prisma.GuildWhereInput[]
|
||||
id?: Prisma.StringFilter<"Guild"> | string
|
||||
name?: Prisma.StringFilter<"Guild"> | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFilter<"Guild"> | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.StringNullableFilter<"Guild"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
@@ -189,6 +197,7 @@ export type GuildWhereInput = {
|
||||
export type GuildOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
invoice_template?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -203,6 +212,7 @@ export type GuildWhereUniqueInput = Prisma.AtLeast<{
|
||||
OR?: Prisma.GuildWhereInput[]
|
||||
NOT?: Prisma.GuildWhereInput | Prisma.GuildWhereInput[]
|
||||
name?: Prisma.StringFilter<"Guild"> | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFilter<"Guild"> | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.StringNullableFilter<"Guild"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
@@ -213,6 +223,7 @@ export type GuildWhereUniqueInput = Prisma.AtLeast<{
|
||||
export type GuildOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
invoice_template?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -227,6 +238,7 @@ export type GuildScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.GuildScalarWhereWithAggregatesInput | Prisma.GuildScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.StringWithAggregatesFilter<"Guild"> | string
|
||||
name?: Prisma.StringWithAggregatesFilter<"Guild"> | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeWithAggregatesFilter<"Guild"> | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.StringNullableWithAggregatesFilter<"Guild"> | string | null
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"Guild"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Guild"> | Date | string
|
||||
@@ -235,6 +247,7 @@ export type GuildScalarWhereWithAggregatesInput = {
|
||||
export type GuildCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -245,6 +258,7 @@ export type GuildCreateInput = {
|
||||
export type GuildUncheckedCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -255,6 +269,7 @@ export type GuildUncheckedCreateInput = {
|
||||
export type GuildUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -265,6 +280,7 @@ export type GuildUpdateInput = {
|
||||
export type GuildUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -275,6 +291,7 @@ export type GuildUncheckedUpdateInput = {
|
||||
export type GuildCreateManyInput = {
|
||||
id?: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -283,6 +300,7 @@ export type GuildCreateManyInput = {
|
||||
export type GuildUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -291,6 +309,7 @@ export type GuildUpdateManyMutationInput = {
|
||||
export type GuildUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -315,6 +334,7 @@ export type GuildOrderByRelevanceInput = {
|
||||
export type GuildCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
invoice_template?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -323,6 +343,7 @@ export type GuildCountOrderByAggregateInput = {
|
||||
export type GuildMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
invoice_template?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -331,6 +352,7 @@ export type GuildMaxOrderByAggregateInput = {
|
||||
export type GuildMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
invoice_template?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -366,9 +388,14 @@ export type GuildUpdateOneWithoutGood_categoriesNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.GuildUpdateToOneWithWhereWithoutGood_categoriesInput, Prisma.GuildUpdateWithoutGood_categoriesInput>, Prisma.GuildUncheckedUpdateWithoutGood_categoriesInput>
|
||||
}
|
||||
|
||||
export type EnumInvoiceTemplateTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.InvoiceTemplateType
|
||||
}
|
||||
|
||||
export type GuildCreateWithoutBusiness_activitiesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -378,6 +405,7 @@ export type GuildCreateWithoutBusiness_activitiesInput = {
|
||||
export type GuildUncheckedCreateWithoutBusiness_activitiesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -403,6 +431,7 @@ export type GuildUpdateToOneWithWhereWithoutBusiness_activitiesInput = {
|
||||
export type GuildUpdateWithoutBusiness_activitiesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -412,6 +441,7 @@ export type GuildUpdateWithoutBusiness_activitiesInput = {
|
||||
export type GuildUncheckedUpdateWithoutBusiness_activitiesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -421,6 +451,7 @@ export type GuildUncheckedUpdateWithoutBusiness_activitiesInput = {
|
||||
export type GuildCreateWithoutGood_categoriesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -430,6 +461,7 @@ export type GuildCreateWithoutGood_categoriesInput = {
|
||||
export type GuildUncheckedCreateWithoutGood_categoriesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -455,6 +487,7 @@ export type GuildUpdateToOneWithWhereWithoutGood_categoriesInput = {
|
||||
export type GuildUpdateWithoutGood_categoriesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -464,6 +497,7 @@ export type GuildUpdateWithoutGood_categoriesInput = {
|
||||
export type GuildUncheckedUpdateWithoutGood_categoriesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_template?: Prisma.EnumInvoiceTemplateTypeFieldUpdateOperationsInput | $Enums.InvoiceTemplateType
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -513,6 +547,7 @@ export type GuildCountOutputTypeCountGood_categoriesArgs<ExtArgs extends runtime
|
||||
export type GuildSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
invoice_template?: boolean
|
||||
code?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
@@ -526,12 +561,13 @@ export type GuildSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
export type GuildSelectScalar = {
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
invoice_template?: boolean
|
||||
code?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
}
|
||||
|
||||
export type GuildOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "created_at" | "updated_at", ExtArgs["result"]["guild"]>
|
||||
export type GuildOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "invoice_template" | "code" | "created_at" | "updated_at", ExtArgs["result"]["guild"]>
|
||||
export type GuildInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
business_activities?: boolean | Prisma.Guild$business_activitiesArgs<ExtArgs>
|
||||
good_categories?: boolean | Prisma.Guild$good_categoriesArgs<ExtArgs>
|
||||
@@ -547,6 +583,7 @@ export type $GuildPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
name: string
|
||||
invoice_template: $Enums.InvoiceTemplateType
|
||||
code: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
@@ -923,6 +960,7 @@ export interface Prisma__GuildClient<T, Null = never, ExtArgs extends runtime.Ty
|
||||
export interface GuildFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Guild", 'String'>
|
||||
readonly name: Prisma.FieldRef<"Guild", 'String'>
|
||||
readonly invoice_template: Prisma.FieldRef<"Guild", 'InvoiceTemplateType'>
|
||||
readonly code: Prisma.FieldRef<"Guild", 'String'>
|
||||
readonly created_at: Prisma.FieldRef<"Guild", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"Guild", 'DateTime'>
|
||||
|
||||
@@ -29,7 +29,7 @@ export type PartnerMinAggregateOutputType = {
|
||||
name: string | null
|
||||
code: string | null
|
||||
status: $Enums.PartnerStatus | null
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType | null
|
||||
tsp_provider: $Enums.TspProviderType | null
|
||||
logo_url: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
@@ -40,7 +40,7 @@ export type PartnerMaxAggregateOutputType = {
|
||||
name: string | null
|
||||
code: string | null
|
||||
status: $Enums.PartnerStatus | null
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType | null
|
||||
tsp_provider: $Enums.TspProviderType | null
|
||||
logo_url: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
@@ -51,7 +51,7 @@ export type PartnerCountAggregateOutputType = {
|
||||
name: number
|
||||
code: number
|
||||
status: number
|
||||
fiscal_switch_type: number
|
||||
tsp_provider: number
|
||||
logo_url: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
@@ -64,7 +64,7 @@ export type PartnerMinAggregateInputType = {
|
||||
name?: true
|
||||
code?: true
|
||||
status?: true
|
||||
fiscal_switch_type?: true
|
||||
tsp_provider?: true
|
||||
logo_url?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
@@ -75,7 +75,7 @@ export type PartnerMaxAggregateInputType = {
|
||||
name?: true
|
||||
code?: true
|
||||
status?: true
|
||||
fiscal_switch_type?: true
|
||||
tsp_provider?: true
|
||||
logo_url?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
@@ -86,7 +86,7 @@ export type PartnerCountAggregateInputType = {
|
||||
name?: true
|
||||
code?: true
|
||||
status?: true
|
||||
fiscal_switch_type?: true
|
||||
tsp_provider?: true
|
||||
logo_url?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
@@ -170,7 +170,7 @@ export type PartnerGroupByOutputType = {
|
||||
name: string
|
||||
code: string
|
||||
status: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider: $Enums.TspProviderType
|
||||
logo_url: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
@@ -202,7 +202,7 @@ export type PartnerWhereInput = {
|
||||
name?: Prisma.StringFilter<"Partner"> | string
|
||||
code?: Prisma.StringFilter<"Partner"> | string
|
||||
status?: Prisma.EnumPartnerStatusFilter<"Partner"> | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFilter<"Partner"> | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFilter<"Partner"> | $Enums.TspProviderType
|
||||
logo_url?: Prisma.StringNullableFilter<"Partner"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
@@ -219,7 +219,7 @@ export type PartnerOrderByWithRelationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
fiscal_switch_type?: Prisma.SortOrder
|
||||
tsp_provider?: Prisma.SortOrder
|
||||
logo_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -240,7 +240,7 @@ export type PartnerWhereUniqueInput = Prisma.AtLeast<{
|
||||
NOT?: Prisma.PartnerWhereInput | Prisma.PartnerWhereInput[]
|
||||
name?: Prisma.StringFilter<"Partner"> | string
|
||||
status?: Prisma.EnumPartnerStatusFilter<"Partner"> | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFilter<"Partner"> | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFilter<"Partner"> | $Enums.TspProviderType
|
||||
logo_url?: Prisma.StringNullableFilter<"Partner"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
@@ -257,7 +257,7 @@ export type PartnerOrderByWithAggregationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
fiscal_switch_type?: Prisma.SortOrder
|
||||
tsp_provider?: Prisma.SortOrder
|
||||
logo_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -274,7 +274,7 @@ export type PartnerScalarWhereWithAggregatesInput = {
|
||||
name?: Prisma.StringWithAggregatesFilter<"Partner"> | string
|
||||
code?: Prisma.StringWithAggregatesFilter<"Partner"> | string
|
||||
status?: Prisma.EnumPartnerStatusWithAggregatesFilter<"Partner"> | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeWithAggregatesFilter<"Partner"> | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeWithAggregatesFilter<"Partner"> | $Enums.TspProviderType
|
||||
logo_url?: Prisma.StringNullableWithAggregatesFilter<"Partner"> | string | null
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"Partner"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Partner"> | Date | string
|
||||
@@ -285,7 +285,7 @@ export type PartnerCreateInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -302,7 +302,7 @@ export type PartnerUncheckedCreateInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -319,7 +319,7 @@ export type PartnerUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -336,7 +336,7 @@ export type PartnerUncheckedUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -353,7 +353,7 @@ export type PartnerCreateManyInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -364,7 +364,7 @@ export type PartnerUpdateManyMutationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -375,7 +375,7 @@ export type PartnerUncheckedUpdateManyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -397,7 +397,7 @@ export type PartnerCountOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
fiscal_switch_type?: Prisma.SortOrder
|
||||
tsp_provider?: Prisma.SortOrder
|
||||
logo_url?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -408,7 +408,7 @@ export type PartnerMaxOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
fiscal_switch_type?: Prisma.SortOrder
|
||||
tsp_provider?: Prisma.SortOrder
|
||||
logo_url?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -419,7 +419,7 @@ export type PartnerMinOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
fiscal_switch_type?: Prisma.SortOrder
|
||||
tsp_provider?: Prisma.SortOrder
|
||||
logo_url?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
@@ -485,8 +485,8 @@ export type EnumPartnerStatusFieldUpdateOperationsInput = {
|
||||
set?: $Enums.PartnerStatus
|
||||
}
|
||||
|
||||
export type EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.PartnerFiscalSwitchType
|
||||
export type EnumTspProviderTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.TspProviderType
|
||||
}
|
||||
|
||||
export type PartnerCreateNestedOneWithoutConsumers_individualInput = {
|
||||
@@ -522,7 +522,7 @@ export type PartnerCreateWithoutLicense_charge_transactionsInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -538,7 +538,7 @@ export type PartnerUncheckedCreateWithoutLicense_charge_transactionsInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -570,7 +570,7 @@ export type PartnerUpdateWithoutLicense_charge_transactionsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -586,7 +586,7 @@ export type PartnerUncheckedUpdateWithoutLicense_charge_transactionsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -602,7 +602,7 @@ export type PartnerCreateWithoutLicense_renew_charge_transactionsInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -618,7 +618,7 @@ export type PartnerUncheckedCreateWithoutLicense_renew_charge_transactionsInput
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -650,7 +650,7 @@ export type PartnerUpdateWithoutLicense_renew_charge_transactionsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -666,7 +666,7 @@ export type PartnerUncheckedUpdateWithoutLicense_renew_charge_transactionsInput
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -682,7 +682,7 @@ export type PartnerCreateWithoutAccount_quota_charge_transactionsInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -698,7 +698,7 @@ export type PartnerUncheckedCreateWithoutAccount_quota_charge_transactionsInput
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -730,7 +730,7 @@ export type PartnerUpdateWithoutAccount_quota_charge_transactionsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -746,7 +746,7 @@ export type PartnerUncheckedUpdateWithoutAccount_quota_charge_transactionsInput
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -762,7 +762,7 @@ export type PartnerCreateWithoutAccountsInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -778,7 +778,7 @@ export type PartnerUncheckedCreateWithoutAccountsInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -810,7 +810,7 @@ export type PartnerUpdateWithoutAccountsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -826,7 +826,7 @@ export type PartnerUncheckedUpdateWithoutAccountsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -842,7 +842,7 @@ export type PartnerCreateWithoutConsumers_individualInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -858,7 +858,7 @@ export type PartnerUncheckedCreateWithoutConsumers_individualInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -890,7 +890,7 @@ export type PartnerUpdateWithoutConsumers_individualInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -906,7 +906,7 @@ export type PartnerUncheckedUpdateWithoutConsumers_individualInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -922,7 +922,7 @@ export type PartnerCreateWithoutConsumers_legalInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -938,7 +938,7 @@ export type PartnerUncheckedCreateWithoutConsumers_legalInput = {
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: $Enums.TspProviderType
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -970,7 +970,7 @@ export type PartnerUpdateWithoutConsumers_legalInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -986,7 +986,7 @@ export type PartnerUncheckedUpdateWithoutConsumers_legalInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
fiscal_switch_type?: Prisma.EnumPartnerFiscalSwitchTypeFieldUpdateOperationsInput | $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider?: Prisma.EnumTspProviderTypeFieldUpdateOperationsInput | $Enums.TspProviderType
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -1078,7 +1078,7 @@ export type PartnerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
name?: boolean
|
||||
code?: boolean
|
||||
status?: boolean
|
||||
fiscal_switch_type?: boolean
|
||||
tsp_provider?: boolean
|
||||
logo_url?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
@@ -1098,13 +1098,13 @@ export type PartnerSelectScalar = {
|
||||
name?: boolean
|
||||
code?: boolean
|
||||
status?: boolean
|
||||
fiscal_switch_type?: boolean
|
||||
tsp_provider?: boolean
|
||||
logo_url?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
}
|
||||
|
||||
export type PartnerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "status" | "fiscal_switch_type" | "logo_url" | "created_at" | "updated_at", ExtArgs["result"]["partner"]>
|
||||
export type PartnerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "status" | "tsp_provider" | "logo_url" | "created_at" | "updated_at", ExtArgs["result"]["partner"]>
|
||||
export type PartnerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
accounts?: boolean | Prisma.Partner$accountsArgs<ExtArgs>
|
||||
consumers_individual?: boolean | Prisma.Partner$consumers_individualArgs<ExtArgs>
|
||||
@@ -1130,7 +1130,7 @@ export type $PartnerPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
||||
name: string
|
||||
code: string
|
||||
status: $Enums.PartnerStatus
|
||||
fiscal_switch_type: $Enums.PartnerFiscalSwitchType
|
||||
tsp_provider: $Enums.TspProviderType
|
||||
logo_url: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
@@ -1513,7 +1513,7 @@ export interface PartnerFieldRefs {
|
||||
readonly name: Prisma.FieldRef<"Partner", 'String'>
|
||||
readonly code: Prisma.FieldRef<"Partner", 'String'>
|
||||
readonly status: Prisma.FieldRef<"Partner", 'PartnerStatus'>
|
||||
readonly fiscal_switch_type: Prisma.FieldRef<"Partner", 'PartnerFiscalSwitchType'>
|
||||
readonly tsp_provider: Prisma.FieldRef<"Partner", 'TspProviderType'>
|
||||
readonly logo_url: Prisma.FieldRef<"Partner", 'String'>
|
||||
readonly created_at: Prisma.FieldRef<"Partner", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"Partner", 'DateTime'>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -275,9 +275,9 @@ export type SalesInvoiceWhereInput = {
|
||||
customer?: Prisma.XOR<Prisma.CustomerNullableScalarRelationFilter, Prisma.CustomerWhereInput> | null
|
||||
consumer_account?: Prisma.XOR<Prisma.ConsumerAccountScalarRelationFilter, Prisma.ConsumerAccountWhereInput>
|
||||
pos?: Prisma.XOR<Prisma.PosScalarRelationFilter, Prisma.PosWhereInput>
|
||||
fiscal?: Prisma.XOR<Prisma.SaleInvoiceFiscalsNullableScalarRelationFilter, Prisma.SaleInvoiceFiscalsWhereInput> | null
|
||||
items?: Prisma.SalesInvoiceItemListRelationFilter
|
||||
payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsListRelationFilter
|
||||
}
|
||||
|
||||
export type SalesInvoiceOrderByWithRelationInput = {
|
||||
@@ -296,9 +296,9 @@ export type SalesInvoiceOrderByWithRelationInput = {
|
||||
customer?: Prisma.CustomerOrderByWithRelationInput
|
||||
consumer_account?: Prisma.ConsumerAccountOrderByWithRelationInput
|
||||
pos?: Prisma.PosOrderByWithRelationInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsOrderByWithRelationInput
|
||||
items?: Prisma.SalesInvoiceItemOrderByRelationAggregateInput
|
||||
payments?: Prisma.SalesInvoicePaymentOrderByRelationAggregateInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.SalesInvoiceOrderByRelevanceInput
|
||||
}
|
||||
|
||||
@@ -322,9 +322,9 @@ export type SalesInvoiceWhereUniqueInput = Prisma.AtLeast<{
|
||||
customer?: Prisma.XOR<Prisma.CustomerNullableScalarRelationFilter, Prisma.CustomerWhereInput> | null
|
||||
consumer_account?: Prisma.XOR<Prisma.ConsumerAccountScalarRelationFilter, Prisma.ConsumerAccountWhereInput>
|
||||
pos?: Prisma.XOR<Prisma.PosScalarRelationFilter, Prisma.PosWhereInput>
|
||||
fiscal?: Prisma.XOR<Prisma.SaleInvoiceFiscalsNullableScalarRelationFilter, Prisma.SaleInvoiceFiscalsWhereInput> | null
|
||||
items?: Prisma.SalesInvoiceItemListRelationFilter
|
||||
payments?: Prisma.SalesInvoicePaymentListRelationFilter
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsListRelationFilter
|
||||
}, "id" | "code" | "invoice_number_pos_id">
|
||||
|
||||
export type SalesInvoiceOrderByWithAggregationInput = {
|
||||
@@ -378,9 +378,9 @@ export type SalesInvoiceCreateInput = {
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
||||
pos: Prisma.PosCreateNestedOneWithoutSales_invoicesInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateInput = {
|
||||
@@ -396,9 +396,9 @@ export type SalesInvoiceUncheckedCreateInput = {
|
||||
customer_id?: string | null
|
||||
consumer_account_id: string
|
||||
pos_id: string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateInput = {
|
||||
@@ -414,9 +414,9 @@ export type SalesInvoiceUpdateInput = {
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
pos?: Prisma.PosUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateInput = {
|
||||
@@ -432,9 +432,9 @@ export type SalesInvoiceUncheckedUpdateInput = {
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
consumer_account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateManyInput = {
|
||||
@@ -698,18 +698,18 @@ export type SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.SalesInvoiceUpdateToOneWithWhereWithoutItemsInput, Prisma.SalesInvoiceUpdateWithoutItemsInput>, Prisma.SalesInvoiceUncheckedUpdateWithoutItemsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateNestedOneWithoutFiscalInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutFiscalInput, Prisma.SalesInvoiceUncheckedCreateWithoutFiscalInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutFiscalInput
|
||||
export type SalesInvoiceCreateNestedOneWithoutTsp_attemptsInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutTsp_attemptsInput, Prisma.SalesInvoiceUncheckedCreateWithoutTsp_attemptsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutTsp_attemptsInput
|
||||
connect?: Prisma.SalesInvoiceWhereUniqueInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateOneRequiredWithoutFiscalNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutFiscalInput, Prisma.SalesInvoiceUncheckedCreateWithoutFiscalInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutFiscalInput
|
||||
upsert?: Prisma.SalesInvoiceUpsertWithoutFiscalInput
|
||||
export type SalesInvoiceUpdateOneRequiredWithoutTsp_attemptsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutTsp_attemptsInput, Prisma.SalesInvoiceUncheckedCreateWithoutTsp_attemptsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutTsp_attemptsInput
|
||||
upsert?: Prisma.SalesInvoiceUpsertWithoutTsp_attemptsInput
|
||||
connect?: Prisma.SalesInvoiceWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.SalesInvoiceUpdateToOneWithWhereWithoutFiscalInput, Prisma.SalesInvoiceUpdateWithoutFiscalInput>, Prisma.SalesInvoiceUncheckedUpdateWithoutFiscalInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.SalesInvoiceUpdateToOneWithWhereWithoutTsp_attemptsInput, Prisma.SalesInvoiceUpdateWithoutTsp_attemptsInput>, Prisma.SalesInvoiceUncheckedUpdateWithoutTsp_attemptsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateNestedOneWithoutPaymentsInput = {
|
||||
@@ -738,9 +738,9 @@ export type SalesInvoiceCreateWithoutConsumer_accountInput = {
|
||||
updated_at?: Date | string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
pos: Prisma.PosCreateNestedOneWithoutSales_invoicesInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutConsumer_accountInput = {
|
||||
@@ -755,9 +755,9 @@ export type SalesInvoiceUncheckedCreateWithoutConsumer_accountInput = {
|
||||
updated_at?: Date | string
|
||||
customer_id?: string | null
|
||||
pos_id: string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutConsumer_accountInput = {
|
||||
@@ -816,9 +816,9 @@ export type SalesInvoiceCreateWithoutPosInput = {
|
||||
updated_at?: Date | string
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutPosInput = {
|
||||
@@ -833,9 +833,9 @@ export type SalesInvoiceUncheckedCreateWithoutPosInput = {
|
||||
updated_at?: Date | string
|
||||
customer_id?: string | null
|
||||
consumer_account_id: string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutPosInput = {
|
||||
@@ -876,9 +876,9 @@ export type SalesInvoiceCreateWithoutCustomerInput = {
|
||||
updated_at?: Date | string
|
||||
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
||||
pos: Prisma.PosCreateNestedOneWithoutSales_invoicesInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutCustomerInput = {
|
||||
@@ -893,9 +893,9 @@ export type SalesInvoiceUncheckedCreateWithoutCustomerInput = {
|
||||
updated_at?: Date | string
|
||||
consumer_account_id: string
|
||||
pos_id: string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutCustomerInput = {
|
||||
@@ -937,8 +937,8 @@ export type SalesInvoiceCreateWithoutItemsInput = {
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
||||
pos: Prisma.PosCreateNestedOneWithoutSales_invoicesInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsCreateNestedOneWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutItemsInput = {
|
||||
@@ -954,8 +954,8 @@ export type SalesInvoiceUncheckedCreateWithoutItemsInput = {
|
||||
customer_id?: string | null
|
||||
consumer_account_id: string
|
||||
pos_id: string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedCreateNestedOneWithoutInvoiceInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutItemsInput = {
|
||||
@@ -987,8 +987,8 @@ export type SalesInvoiceUpdateWithoutItemsInput = {
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
pos?: Prisma.PosUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUpdateOneWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutItemsInput = {
|
||||
@@ -1004,11 +1004,11 @@ export type SalesInvoiceUncheckedUpdateWithoutItemsInput = {
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
consumer_account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedUpdateOneWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateWithoutFiscalInput = {
|
||||
export type SalesInvoiceCreateWithoutTsp_attemptsInput = {
|
||||
id?: string
|
||||
code: string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
@@ -1025,7 +1025,7 @@ export type SalesInvoiceCreateWithoutFiscalInput = {
|
||||
payments?: Prisma.SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutFiscalInput = {
|
||||
export type SalesInvoiceUncheckedCreateWithoutTsp_attemptsInput = {
|
||||
id?: string
|
||||
code: string
|
||||
total_amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
@@ -1042,23 +1042,23 @@ export type SalesInvoiceUncheckedCreateWithoutFiscalInput = {
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutFiscalInput = {
|
||||
export type SalesInvoiceCreateOrConnectWithoutTsp_attemptsInput = {
|
||||
where: Prisma.SalesInvoiceWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutFiscalInput, Prisma.SalesInvoiceUncheckedCreateWithoutFiscalInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutTsp_attemptsInput, Prisma.SalesInvoiceUncheckedCreateWithoutTsp_attemptsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpsertWithoutFiscalInput = {
|
||||
update: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutFiscalInput, Prisma.SalesInvoiceUncheckedUpdateWithoutFiscalInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutFiscalInput, Prisma.SalesInvoiceUncheckedCreateWithoutFiscalInput>
|
||||
export type SalesInvoiceUpsertWithoutTsp_attemptsInput = {
|
||||
update: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutTsp_attemptsInput, Prisma.SalesInvoiceUncheckedUpdateWithoutTsp_attemptsInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutTsp_attemptsInput, Prisma.SalesInvoiceUncheckedCreateWithoutTsp_attemptsInput>
|
||||
where?: Prisma.SalesInvoiceWhereInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateToOneWithWhereWithoutFiscalInput = {
|
||||
export type SalesInvoiceUpdateToOneWithWhereWithoutTsp_attemptsInput = {
|
||||
where?: Prisma.SalesInvoiceWhereInput
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutFiscalInput, Prisma.SalesInvoiceUncheckedUpdateWithoutFiscalInput>
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceUpdateWithoutTsp_attemptsInput, Prisma.SalesInvoiceUncheckedUpdateWithoutTsp_attemptsInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceUpdateWithoutFiscalInput = {
|
||||
export type SalesInvoiceUpdateWithoutTsp_attemptsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
@@ -1075,7 +1075,7 @@ export type SalesInvoiceUpdateWithoutFiscalInput = {
|
||||
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutFiscalInput = {
|
||||
export type SalesInvoiceUncheckedUpdateWithoutTsp_attemptsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
total_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
@@ -1105,8 +1105,8 @@ export type SalesInvoiceCreateWithoutPaymentsInput = {
|
||||
customer?: Prisma.CustomerCreateNestedOneWithoutSales_invoicesInput
|
||||
consumer_account: Prisma.ConsumerAccountCreateNestedOneWithoutSales_invoicesInput
|
||||
pos: Prisma.PosCreateNestedOneWithoutSales_invoicesInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedCreateWithoutPaymentsInput = {
|
||||
@@ -1122,8 +1122,8 @@ export type SalesInvoiceUncheckedCreateWithoutPaymentsInput = {
|
||||
customer_id?: string | null
|
||||
consumer_account_id: string
|
||||
pos_id: string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedCreateNestedOneWithoutInvoiceInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedCreateNestedManyWithoutInvoiceInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateOrConnectWithoutPaymentsInput = {
|
||||
@@ -1155,8 +1155,8 @@ export type SalesInvoiceUpdateWithoutPaymentsInput = {
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
pos?: Prisma.PosUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutPaymentsInput = {
|
||||
@@ -1172,8 +1172,8 @@ export type SalesInvoiceUncheckedUpdateWithoutPaymentsInput = {
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
consumer_account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateManyConsumer_accountInput = {
|
||||
@@ -1202,9 +1202,9 @@ export type SalesInvoiceUpdateWithoutConsumer_accountInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
pos?: Prisma.PosUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutConsumer_accountInput = {
|
||||
@@ -1219,9 +1219,9 @@ export type SalesInvoiceUncheckedUpdateWithoutConsumer_accountInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pos_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountInput = {
|
||||
@@ -1264,9 +1264,9 @@ export type SalesInvoiceUpdateWithoutPosInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer?: Prisma.CustomerUpdateOneWithoutSales_invoicesNestedInput
|
||||
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutPosInput = {
|
||||
@@ -1281,9 +1281,9 @@ export type SalesInvoiceUncheckedUpdateWithoutPosInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
customer_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
consumer_account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateManyWithoutPosInput = {
|
||||
@@ -1326,9 +1326,9 @@ export type SalesInvoiceUpdateWithoutCustomerInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer_account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
pos?: Prisma.PosUpdateOneRequiredWithoutSales_invoicesNestedInput
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateWithoutCustomerInput = {
|
||||
@@ -1343,9 +1343,9 @@ export type SalesInvoiceUncheckedUpdateWithoutCustomerInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer_account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
fiscal?: Prisma.SaleInvoiceFiscalsUncheckedUpdateOneWithoutInvoiceNestedInput
|
||||
items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
payments?: Prisma.SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
tsp_attempts?: Prisma.SaleInvoiceTspAttemptsUncheckedUpdateManyWithoutInvoiceNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceUncheckedUpdateManyWithoutCustomerInput = {
|
||||
@@ -1370,11 +1370,13 @@ export type SalesInvoiceUncheckedUpdateManyWithoutCustomerInput = {
|
||||
export type SalesInvoiceCountOutputType = {
|
||||
items: number
|
||||
payments: number
|
||||
tsp_attempts: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
items?: boolean | SalesInvoiceCountOutputTypeCountItemsArgs
|
||||
payments?: boolean | SalesInvoiceCountOutputTypeCountPaymentsArgs
|
||||
tsp_attempts?: boolean | SalesInvoiceCountOutputTypeCountTsp_attemptsArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1401,6 +1403,13 @@ export type SalesInvoiceCountOutputTypeCountPaymentsArgs<ExtArgs extends runtime
|
||||
where?: Prisma.SalesInvoicePaymentWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoiceCountOutputType without action
|
||||
*/
|
||||
export type SalesInvoiceCountOutputTypeCountTsp_attemptsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.SaleInvoiceTspAttemptsWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type SalesInvoiceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
@@ -1418,9 +1427,9 @@ export type SalesInvoiceSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
customer?: boolean | Prisma.SalesInvoice$customerArgs<ExtArgs>
|
||||
consumer_account?: boolean | Prisma.ConsumerAccountDefaultArgs<ExtArgs>
|
||||
pos?: boolean | Prisma.PosDefaultArgs<ExtArgs>
|
||||
fiscal?: boolean | Prisma.SalesInvoice$fiscalArgs<ExtArgs>
|
||||
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
||||
payments?: boolean | Prisma.SalesInvoice$paymentsArgs<ExtArgs>
|
||||
tsp_attempts?: boolean | Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.SalesInvoiceCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["salesInvoice"]>
|
||||
|
||||
@@ -1446,9 +1455,9 @@ export type SalesInvoiceInclude<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
customer?: boolean | Prisma.SalesInvoice$customerArgs<ExtArgs>
|
||||
consumer_account?: boolean | Prisma.ConsumerAccountDefaultArgs<ExtArgs>
|
||||
pos?: boolean | Prisma.PosDefaultArgs<ExtArgs>
|
||||
fiscal?: boolean | Prisma.SalesInvoice$fiscalArgs<ExtArgs>
|
||||
items?: boolean | Prisma.SalesInvoice$itemsArgs<ExtArgs>
|
||||
payments?: boolean | Prisma.SalesInvoice$paymentsArgs<ExtArgs>
|
||||
tsp_attempts?: boolean | Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.SalesInvoiceCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -1458,9 +1467,9 @@ export type $SalesInvoicePayload<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
customer: Prisma.$CustomerPayload<ExtArgs> | null
|
||||
consumer_account: Prisma.$ConsumerAccountPayload<ExtArgs>
|
||||
pos: Prisma.$PosPayload<ExtArgs>
|
||||
fiscal: Prisma.$SaleInvoiceFiscalsPayload<ExtArgs> | null
|
||||
items: Prisma.$SalesInvoiceItemPayload<ExtArgs>[]
|
||||
payments: Prisma.$SalesInvoicePaymentPayload<ExtArgs>[]
|
||||
tsp_attempts: Prisma.$SaleInvoiceTspAttemptsPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -1818,9 +1827,9 @@ export interface Prisma__SalesInvoiceClient<T, Null = never, ExtArgs extends run
|
||||
customer<T extends Prisma.SalesInvoice$customerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$customerArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
consumer_account<T extends Prisma.ConsumerAccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ConsumerAccountDefaultArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
pos<T extends Prisma.PosDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PosDefaultArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
fiscal<T extends Prisma.SalesInvoice$fiscalArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$fiscalArgs<ExtArgs>>): Prisma.Prisma__SaleInvoiceFiscalsClient<runtime.Types.Result.GetResult<Prisma.$SaleInvoiceFiscalsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
items<T extends Prisma.SalesInvoice$itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoiceItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
payments<T extends Prisma.SalesInvoice$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
tsp_attempts<T extends Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoice$tsp_attemptsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SaleInvoiceTspAttemptsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -2228,25 +2237,6 @@ export type SalesInvoice$customerArgs<ExtArgs extends runtime.Types.Extensions.I
|
||||
where?: Prisma.CustomerWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoice.fiscal
|
||||
*/
|
||||
export type SalesInvoice$fiscalArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the SaleInvoiceFiscals
|
||||
*/
|
||||
select?: Prisma.SaleInvoiceFiscalsSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the SaleInvoiceFiscals
|
||||
*/
|
||||
omit?: Prisma.SaleInvoiceFiscalsOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.SaleInvoiceFiscalsInclude<ExtArgs> | null
|
||||
where?: Prisma.SaleInvoiceFiscalsWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoice.items
|
||||
*/
|
||||
@@ -2295,6 +2285,30 @@ export type SalesInvoice$paymentsArgs<ExtArgs extends runtime.Types.Extensions.I
|
||||
distinct?: Prisma.SalesInvoicePaymentScalarFieldEnum | Prisma.SalesInvoicePaymentScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoice.tsp_attempts
|
||||
*/
|
||||
export type SalesInvoice$tsp_attemptsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the SaleInvoiceTspAttempts
|
||||
*/
|
||||
select?: Prisma.SaleInvoiceTspAttemptsSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the SaleInvoiceTspAttempts
|
||||
*/
|
||||
omit?: Prisma.SaleInvoiceTspAttemptsOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.SaleInvoiceTspAttemptsInclude<ExtArgs> | null
|
||||
where?: Prisma.SaleInvoiceTspAttemptsWhereInput
|
||||
orderBy?: Prisma.SaleInvoiceTspAttemptsOrderByWithRelationInput | Prisma.SaleInvoiceTspAttemptsOrderByWithRelationInput[]
|
||||
cursor?: Prisma.SaleInvoiceTspAttemptsWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.SaleInvoiceTspAttemptsScalarFieldEnum | Prisma.SaleInvoiceTspAttemptsScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoice without action
|
||||
*/
|
||||
|
||||
@@ -266,9 +266,9 @@ export type SalesInvoiceItemGroupByOutputType = {
|
||||
discount: runtime.Decimal
|
||||
notes: string | null
|
||||
payload: runtime.JsonValue | null
|
||||
good_snapshot: runtime.JsonValue | null
|
||||
good_snapshot: runtime.JsonValue
|
||||
invoice_id: string
|
||||
good_id: string | null
|
||||
good_id: string
|
||||
service_id: string | null
|
||||
_count: SalesInvoiceItemCountAggregateOutputType | null
|
||||
_avg: SalesInvoiceItemAvgAggregateOutputType | null
|
||||
@@ -308,12 +308,12 @@ export type SalesInvoiceItemWhereInput = {
|
||||
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
good_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
good?: Prisma.XOR<Prisma.GoodNullableScalarRelationFilter, Prisma.GoodWhereInput> | null
|
||||
good?: Prisma.XOR<Prisma.GoodScalarRelationFilter, Prisma.GoodWhereInput>
|
||||
service?: Prisma.XOR<Prisma.ServiceNullableScalarRelationFilter, Prisma.ServiceWhereInput> | null
|
||||
}
|
||||
|
||||
@@ -330,9 +330,9 @@ export type SalesInvoiceItemOrderByWithRelationInput = {
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_snapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_snapshot?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
invoice?: Prisma.SalesInvoiceOrderByWithRelationInput
|
||||
good?: Prisma.GoodOrderByWithRelationInput
|
||||
@@ -356,12 +356,12 @@ export type SalesInvoiceItemWhereUniqueInput = Prisma.AtLeast<{
|
||||
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
good_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
good?: Prisma.XOR<Prisma.GoodNullableScalarRelationFilter, Prisma.GoodWhereInput> | null
|
||||
good?: Prisma.XOR<Prisma.GoodScalarRelationFilter, Prisma.GoodWhereInput>
|
||||
service?: Prisma.XOR<Prisma.ServiceNullableScalarRelationFilter, Prisma.ServiceWhereInput> | null
|
||||
}, "id">
|
||||
|
||||
@@ -378,9 +378,9 @@ export type SalesInvoiceItemOrderByWithAggregationInput = {
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_snapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_snapshot?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.SalesInvoiceItemCountOrderByAggregateInput
|
||||
_avg?: Prisma.SalesInvoiceItemAvgOrderByAggregateInput
|
||||
@@ -405,9 +405,9 @@ export type SalesInvoiceItemScalarWhereWithAggregatesInput = {
|
||||
discount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableWithAggregatesFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableWithAggregatesFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonWithAggregatesFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
good_id?: Prisma.StringWithAggregatesFilter<"SalesInvoiceItem"> | string
|
||||
service_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
}
|
||||
|
||||
@@ -424,9 +424,9 @@ export type SalesInvoiceItemCreateInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
good: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
}
|
||||
|
||||
@@ -443,9 +443,9 @@ export type SalesInvoiceItemUncheckedCreateInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
good_id: string
|
||||
service_id?: string | null
|
||||
}
|
||||
|
||||
@@ -462,9 +462,9 @@ export type SalesInvoiceItemUpdateInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneRequiredWithoutSales_invoice_itemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
}
|
||||
|
||||
@@ -481,9 +481,9 @@ export type SalesInvoiceItemUncheckedUpdateInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
good_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
@@ -500,9 +500,9 @@ export type SalesInvoiceItemCreateManyInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
good_id: string
|
||||
service_id?: string | null
|
||||
}
|
||||
|
||||
@@ -519,7 +519,7 @@ export type SalesInvoiceItemUpdateManyMutationInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyInput = {
|
||||
@@ -535,9 +535,9 @@ export type SalesInvoiceItemUncheckedUpdateManyInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
good_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
@@ -765,7 +765,7 @@ export type SalesInvoiceItemCreateWithoutGoodInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
}
|
||||
@@ -783,7 +783,7 @@ export type SalesInvoiceItemUncheckedCreateWithoutGoodInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
service_id?: string | null
|
||||
}
|
||||
@@ -830,9 +830,9 @@ export type SalesInvoiceItemScalarWhereInput = {
|
||||
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
good_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
}
|
||||
|
||||
@@ -849,8 +849,8 @@ export type SalesInvoiceItemCreateWithoutInvoiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
good: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
}
|
||||
|
||||
@@ -867,8 +867,8 @@ export type SalesInvoiceItemUncheckedCreateWithoutInvoiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: string | null
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
good_id: string
|
||||
service_id?: string | null
|
||||
}
|
||||
|
||||
@@ -911,9 +911,9 @@ export type SalesInvoiceItemCreateWithoutServiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
good: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedCreateWithoutServiceInput = {
|
||||
@@ -929,9 +929,9 @@ export type SalesInvoiceItemUncheckedCreateWithoutServiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
good_id: string
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutServiceInput = {
|
||||
@@ -973,7 +973,7 @@ export type SalesInvoiceItemCreateManyGoodInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
service_id?: string | null
|
||||
}
|
||||
@@ -991,7 +991,7 @@ export type SalesInvoiceItemUpdateWithoutGoodInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
}
|
||||
@@ -1009,7 +1009,7 @@ export type SalesInvoiceItemUncheckedUpdateWithoutGoodInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
@@ -1027,7 +1027,7 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutGoodInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
@@ -1045,8 +1045,8 @@ export type SalesInvoiceItemCreateManyInvoiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: string | null
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
good_id: string
|
||||
service_id?: string | null
|
||||
}
|
||||
|
||||
@@ -1063,8 +1063,8 @@ export type SalesInvoiceItemUpdateWithoutInvoiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
good?: Prisma.GoodUpdateOneRequiredWithoutSales_invoice_itemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
}
|
||||
|
||||
@@ -1081,8 +1081,8 @@ export type SalesInvoiceItemUncheckedUpdateWithoutInvoiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
@@ -1099,8 +1099,8 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
@@ -1117,9 +1117,9 @@ export type SalesInvoiceItemCreateManyServiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
good_id: string
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutServiceInput = {
|
||||
@@ -1135,9 +1135,9 @@ export type SalesInvoiceItemUpdateWithoutServiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneRequiredWithoutSales_invoice_itemsNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateWithoutServiceInput = {
|
||||
@@ -1153,9 +1153,9 @@ export type SalesInvoiceItemUncheckedUpdateWithoutServiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
good_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput = {
|
||||
@@ -1171,9 +1171,9 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
good_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
@@ -1196,7 +1196,7 @@ export type SalesInvoiceItemSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
good_id?: boolean
|
||||
service_id?: boolean
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
good?: boolean | Prisma.SalesInvoiceItem$goodArgs<ExtArgs>
|
||||
good?: boolean | Prisma.GoodDefaultArgs<ExtArgs>
|
||||
service?: boolean | Prisma.SalesInvoiceItem$serviceArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["salesInvoiceItem"]>
|
||||
|
||||
@@ -1224,7 +1224,7 @@ export type SalesInvoiceItemSelectScalar = {
|
||||
export type SalesInvoiceItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quantity" | "measure_unit_text" | "measure_unit_code" | "sku_code" | "sku_vat" | "unit_price" | "total_amount" | "created_at" | "discount" | "notes" | "payload" | "good_snapshot" | "invoice_id" | "good_id" | "service_id", ExtArgs["result"]["salesInvoiceItem"]>
|
||||
export type SalesInvoiceItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
good?: boolean | Prisma.SalesInvoiceItem$goodArgs<ExtArgs>
|
||||
good?: boolean | Prisma.GoodDefaultArgs<ExtArgs>
|
||||
service?: boolean | Prisma.SalesInvoiceItem$serviceArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -1232,7 +1232,7 @@ export type $SalesInvoiceItemPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
name: "SalesInvoiceItem"
|
||||
objects: {
|
||||
invoice: Prisma.$SalesInvoicePayload<ExtArgs>
|
||||
good: Prisma.$GoodPayload<ExtArgs> | null
|
||||
good: Prisma.$GoodPayload<ExtArgs>
|
||||
service: Prisma.$ServicePayload<ExtArgs> | null
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
@@ -1248,9 +1248,9 @@ export type $SalesInvoiceItemPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
discount: runtime.Decimal
|
||||
notes: string | null
|
||||
payload: runtime.JsonValue | null
|
||||
good_snapshot: runtime.JsonValue | null
|
||||
good_snapshot: runtime.JsonValue
|
||||
invoice_id: string
|
||||
good_id: string | null
|
||||
good_id: string
|
||||
service_id: string | null
|
||||
}, ExtArgs["result"]["salesInvoiceItem"]>
|
||||
composites: {}
|
||||
@@ -1593,7 +1593,7 @@ readonly fields: SalesInvoiceItemFieldRefs;
|
||||
export interface Prisma__SalesInvoiceItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
invoice<T extends Prisma.SalesInvoiceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoiceDefaultArgs<ExtArgs>>): Prisma.Prisma__SalesInvoiceClient<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
good<T extends Prisma.SalesInvoiceItem$goodArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoiceItem$goodArgs<ExtArgs>>): Prisma.Prisma__GoodClient<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
good<T extends Prisma.GoodDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodDefaultArgs<ExtArgs>>): Prisma.Prisma__GoodClient<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
service<T extends Prisma.SalesInvoiceItem$serviceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoiceItem$serviceArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
@@ -1987,25 +1987,6 @@ export type SalesInvoiceItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensi
|
||||
limit?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoiceItem.good
|
||||
*/
|
||||
export type SalesInvoiceItem$goodArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Good
|
||||
*/
|
||||
select?: Prisma.GoodSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Good
|
||||
*/
|
||||
omit?: Prisma.GoodOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.GoodInclude<ExtArgs> | null
|
||||
where?: Prisma.GoodWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoiceItem.service
|
||||
*/
|
||||
|
||||
@@ -318,7 +318,7 @@ export type StockKeepingUnitsCreateInput = {
|
||||
code: string
|
||||
name: string
|
||||
VAT: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
type?: $Enums.SKUGuildType
|
||||
type: $Enums.SKUGuildType
|
||||
is_public?: boolean
|
||||
is_domestic?: boolean
|
||||
created_at?: Date | string
|
||||
@@ -331,7 +331,7 @@ export type StockKeepingUnitsUncheckedCreateInput = {
|
||||
code: string
|
||||
name: string
|
||||
VAT: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
type?: $Enums.SKUGuildType
|
||||
type: $Enums.SKUGuildType
|
||||
is_public?: boolean
|
||||
is_domestic?: boolean
|
||||
created_at?: Date | string
|
||||
@@ -370,7 +370,7 @@ export type StockKeepingUnitsCreateManyInput = {
|
||||
code: string
|
||||
name: string
|
||||
VAT: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
type?: $Enums.SKUGuildType
|
||||
type: $Enums.SKUGuildType
|
||||
is_public?: boolean
|
||||
is_domestic?: boolean
|
||||
created_at?: Date | string
|
||||
@@ -470,14 +470,6 @@ export type StockKeepingUnitsUpdateOneRequiredWithoutGoodsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.StockKeepingUnitsUpdateToOneWithWhereWithoutGoodsInput, Prisma.StockKeepingUnitsUpdateWithoutGoodsInput>, Prisma.StockKeepingUnitsUncheckedUpdateWithoutGoodsInput>
|
||||
}
|
||||
|
||||
export type DecimalFieldUpdateOperationsInput = {
|
||||
set?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
divide?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type EnumSKUGuildTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.SKUGuildType
|
||||
}
|
||||
@@ -487,7 +479,7 @@ export type StockKeepingUnitsCreateWithoutGoodsInput = {
|
||||
code: string
|
||||
name: string
|
||||
VAT: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
type?: $Enums.SKUGuildType
|
||||
type: $Enums.SKUGuildType
|
||||
is_public?: boolean
|
||||
is_domestic?: boolean
|
||||
created_at?: Date | string
|
||||
@@ -499,7 +491,7 @@ export type StockKeepingUnitsUncheckedCreateWithoutGoodsInput = {
|
||||
code: string
|
||||
name: string
|
||||
VAT: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
type?: $Enums.SKUGuildType
|
||||
type: $Enums.SKUGuildType
|
||||
is_public?: boolean
|
||||
is_domestic?: boolean
|
||||
created_at?: Date | string
|
||||
|
||||
Reference in New Issue
Block a user