feat: add stock keeping unit management with create, update, and retrieval functionalities
- Implemented CreateStockKeepingUnitDto for creating stock keeping units. - Added StockKeepingUnitsService for handling business logic related to stock keeping units. - Created StockKeepingUnitsController to manage HTTP requests for stock keeping units. - Developed UpdateStockKeepingUnitDto for updating existing stock keeping units. - Introduced StockKeepingUnitsServiceFindAllResponseDto for response structure. - Established stock keeping units module for encapsulation of related components. feat: enhance sales invoice fiscal management with new endpoints - Created SalesInvoicesFilterDto for filtering sales invoices. - Implemented PosSalesInvoiceFiscalController for managing fiscal operations on sales invoices. - Developed PosSalesInvoiceFiscalService to handle fiscal logic and interactions. - Added methods for sending, retrying, and checking the status of fiscal invoices. - Integrated error handling and response mapping for fiscal operations.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -414,12 +414,14 @@ export const ModelName = {
|
||||
BusinessActivity: 'BusinessActivity',
|
||||
Complex: 'Complex',
|
||||
Pos: 'Pos',
|
||||
Good: 'Good',
|
||||
GoodCategory: 'GoodCategory',
|
||||
MeasureUnits: 'MeasureUnits',
|
||||
StockKeepingUnits: 'StockKeepingUnits',
|
||||
TriggerLog: 'TriggerLog',
|
||||
Customer: 'Customer',
|
||||
CustomerIndividual: 'CustomerIndividual',
|
||||
CustomerLegal: 'CustomerLegal',
|
||||
Good: 'Good',
|
||||
GoodCategory: 'GoodCategory',
|
||||
Guild: 'Guild',
|
||||
SalesInvoice: 'SalesInvoice',
|
||||
SalesInvoiceItem: 'SalesInvoiceItem',
|
||||
@@ -444,7 +446,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" | "triggerLog" | "customer" | "customerIndividual" | "customerLegal" | "good" | "goodCategory" | "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" | "saleInvoiceFiscals" | "saleInvoiceFiscalAttempts" | "salesInvoicePayment" | "salesInvoicePaymentTerminalInfo" | "service" | "serviceCategory"
|
||||
txIsolationLevel: TransactionIsolationLevel
|
||||
}
|
||||
model: {
|
||||
@@ -2428,6 +2430,270 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
}
|
||||
}
|
||||
}
|
||||
Good: {
|
||||
payload: Prisma.$GoodPayload<ExtArgs>
|
||||
fields: Prisma.GoodFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.GoodFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.GoodFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.GoodFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.GoodFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.GoodFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.GoodCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.GoodCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.GoodDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.GoodUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.GoodDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.GoodUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.GoodUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.GoodAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateGood>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.GoodGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.GoodCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
GoodCategory: {
|
||||
payload: Prisma.$GoodCategoryPayload<ExtArgs>
|
||||
fields: Prisma.GoodCategoryFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.GoodCategoryFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.GoodCategoryFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.GoodCategoryFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.GoodCategoryFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.GoodCategoryFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.GoodCategoryCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.GoodCategoryCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.GoodCategoryDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.GoodCategoryUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.GoodCategoryDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.GoodCategoryUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.GoodCategoryUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.GoodCategoryAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateGoodCategory>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.GoodCategoryGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodCategoryGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.GoodCategoryCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodCategoryCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
MeasureUnits: {
|
||||
payload: Prisma.$MeasureUnitsPayload<ExtArgs>
|
||||
fields: Prisma.MeasureUnitsFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.MeasureUnitsFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.MeasureUnitsFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.MeasureUnitsFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.MeasureUnitsFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.MeasureUnitsFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.MeasureUnitsCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.MeasureUnitsCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.MeasureUnitsDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.MeasureUnitsUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.MeasureUnitsDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.MeasureUnitsUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.MeasureUnitsUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$MeasureUnitsPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.MeasureUnitsAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateMeasureUnits>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.MeasureUnitsGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.MeasureUnitsGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.MeasureUnitsCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.MeasureUnitsCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
StockKeepingUnits: {
|
||||
payload: Prisma.$StockKeepingUnitsPayload<ExtArgs>
|
||||
fields: Prisma.StockKeepingUnitsFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.StockKeepingUnitsFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.StockKeepingUnitsFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.StockKeepingUnitsFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.StockKeepingUnitsFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.StockKeepingUnitsFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.StockKeepingUnitsCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.StockKeepingUnitsCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.StockKeepingUnitsDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.StockKeepingUnitsUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.StockKeepingUnitsDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.StockKeepingUnitsUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.StockKeepingUnitsUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$StockKeepingUnitsPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.StockKeepingUnitsAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateStockKeepingUnits>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.StockKeepingUnitsGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.StockKeepingUnitsGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.StockKeepingUnitsCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.StockKeepingUnitsCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
TriggerLog: {
|
||||
payload: Prisma.$TriggerLogPayload<ExtArgs>
|
||||
fields: Prisma.TriggerLogFieldRefs
|
||||
@@ -2692,138 +2958,6 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
}
|
||||
}
|
||||
}
|
||||
Good: {
|
||||
payload: Prisma.$GoodPayload<ExtArgs>
|
||||
fields: Prisma.GoodFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.GoodFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.GoodFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.GoodFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.GoodFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.GoodFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.GoodCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.GoodCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.GoodDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.GoodUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.GoodDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.GoodUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.GoodUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.GoodAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateGood>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.GoodGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.GoodCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
GoodCategory: {
|
||||
payload: Prisma.$GoodCategoryPayload<ExtArgs>
|
||||
fields: Prisma.GoodCategoryFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.GoodCategoryFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.GoodCategoryFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.GoodCategoryFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.GoodCategoryFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.GoodCategoryFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.GoodCategoryCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.GoodCategoryCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.GoodCategoryDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.GoodCategoryUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.GoodCategoryDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.GoodCategoryUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.GoodCategoryUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$GoodCategoryPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.GoodCategoryAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateGoodCategory>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.GoodCategoryGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodCategoryGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.GoodCategoryCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.GoodCategoryCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
Guild: {
|
||||
payload: Prisma.$GuildPayload<ExtArgs>
|
||||
fields: Prisma.GuildFieldRefs
|
||||
@@ -3833,6 +3967,70 @@ export const PosScalarFieldEnum = {
|
||||
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
pricing_model: 'pricing_model',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
base_sale_price: 'base_sale_price',
|
||||
image_url: 'image_url',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at',
|
||||
sku_id: 'sku_id',
|
||||
measure_unit_id: 'measure_unit_id',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodScalarFieldEnum = (typeof GoodScalarFieldEnum)[keyof typeof GoodScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
guild_id: 'guild_id',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryScalarFieldEnum = (typeof GoodCategoryScalarFieldEnum)[keyof typeof GoodCategoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const MeasureUnitsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
} as const
|
||||
|
||||
export type MeasureUnitsScalarFieldEnum = (typeof MeasureUnitsScalarFieldEnum)[keyof typeof MeasureUnitsScalarFieldEnum]
|
||||
|
||||
|
||||
export const StockKeepingUnitsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name',
|
||||
VAT: 'VAT',
|
||||
type: 'type',
|
||||
is_public: 'is_public',
|
||||
is_domestic: 'is_domestic',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
} as const
|
||||
|
||||
export type StockKeepingUnitsScalarFieldEnum = (typeof StockKeepingUnitsScalarFieldEnum)[keyof typeof StockKeepingUnitsScalarFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
message: 'message',
|
||||
@@ -3870,7 +4068,7 @@ export type CustomerIndividualScalarFieldEnum = (typeof CustomerIndividualScalar
|
||||
|
||||
|
||||
export const CustomerLegalScalarFieldEnum = {
|
||||
company_name: 'company_name',
|
||||
name: 'name',
|
||||
economic_code: 'economic_code',
|
||||
registration_number: 'registration_number',
|
||||
postal_code: 'postal_code',
|
||||
@@ -3881,44 +4079,6 @@ export const CustomerLegalScalarFieldEnum = {
|
||||
export type CustomerLegalScalarFieldEnum = (typeof CustomerLegalScalarFieldEnum)[keyof typeof CustomerLegalScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
sku: 'sku',
|
||||
unit_type: 'unit_type',
|
||||
pricing_model: 'pricing_model',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
base_sale_price: 'base_sale_price',
|
||||
image_url: 'image_url',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodScalarFieldEnum = (typeof GoodScalarFieldEnum)[keyof typeof GoodScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
guild_id: 'guild_id',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryScalarFieldEnum = (typeof GoodCategoryScalarFieldEnum)[keyof typeof GoodCategoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const GuildScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -3951,7 +4111,10 @@ export type SalesInvoiceScalarFieldEnum = (typeof SalesInvoiceScalarFieldEnum)[k
|
||||
export const SalesInvoiceItemScalarFieldEnum = {
|
||||
id: 'id',
|
||||
quantity: 'quantity',
|
||||
unit_type: 'unit_type',
|
||||
measure_unit_text: 'measure_unit_text',
|
||||
measure_unit_code: 'measure_unit_code',
|
||||
sku_code: 'sku_code',
|
||||
sku_vat: 'sku_vat',
|
||||
unit_price: 'unit_price',
|
||||
total_amount: 'total_amount',
|
||||
created_at: 'created_at',
|
||||
@@ -3984,6 +4147,7 @@ export const SaleInvoiceFiscalAttemptsScalarFieldEnum = {
|
||||
attempt_no: 'attempt_no',
|
||||
status: 'status',
|
||||
tax_id: 'tax_id',
|
||||
type: 'type',
|
||||
request_payload: 'request_payload',
|
||||
response_payload: 'response_payload',
|
||||
error_message: 'error_message',
|
||||
@@ -4393,6 +4557,52 @@ export const PosOrderByRelevanceFieldEnum = {
|
||||
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
image_url: 'image_url',
|
||||
sku_id: 'sku_id',
|
||||
measure_unit_id: 'measure_unit_id',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodOrderByRelevanceFieldEnum = (typeof GoodOrderByRelevanceFieldEnum)[keyof typeof GoodOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
guild_id: 'guild_id'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryOrderByRelevanceFieldEnum = (typeof GoodCategoryOrderByRelevanceFieldEnum)[keyof typeof GoodCategoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const MeasureUnitsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type MeasureUnitsOrderByRelevanceFieldEnum = (typeof MeasureUnitsOrderByRelevanceFieldEnum)[keyof typeof MeasureUnitsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const StockKeepingUnitsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type StockKeepingUnitsOrderByRelevanceFieldEnum = (typeof StockKeepingUnitsOrderByRelevanceFieldEnum)[keyof typeof StockKeepingUnitsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogOrderByRelevanceFieldEnum = {
|
||||
message: 'message',
|
||||
name: 'name'
|
||||
@@ -4423,7 +4633,7 @@ export type CustomerIndividualOrderByRelevanceFieldEnum = (typeof CustomerIndivi
|
||||
|
||||
|
||||
export const CustomerLegalOrderByRelevanceFieldEnum = {
|
||||
company_name: 'company_name',
|
||||
name: 'name',
|
||||
economic_code: 'economic_code',
|
||||
registration_number: 'registration_number',
|
||||
postal_code: 'postal_code',
|
||||
@@ -4434,33 +4644,6 @@ export const CustomerLegalOrderByRelevanceFieldEnum = {
|
||||
export type CustomerLegalOrderByRelevanceFieldEnum = (typeof CustomerLegalOrderByRelevanceFieldEnum)[keyof typeof CustomerLegalOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
sku: 'sku',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
image_url: 'image_url',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodOrderByRelevanceFieldEnum = (typeof GoodOrderByRelevanceFieldEnum)[keyof typeof GoodOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
guild_id: 'guild_id'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryOrderByRelevanceFieldEnum = (typeof GoodCategoryOrderByRelevanceFieldEnum)[keyof typeof GoodCategoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GuildOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -4484,6 +4667,9 @@ export type SalesInvoiceOrderByRelevanceFieldEnum = (typeof SalesInvoiceOrderByR
|
||||
|
||||
export const SalesInvoiceItemOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
measure_unit_text: 'measure_unit_text',
|
||||
measure_unit_code: 'measure_unit_code',
|
||||
sku_code: 'sku_code',
|
||||
notes: 'notes',
|
||||
invoice_id: 'invoice_id',
|
||||
good_id: 'good_id',
|
||||
@@ -4503,7 +4689,6 @@ export type SaleInvoiceFiscalsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFis
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
status: 'status',
|
||||
tax_id: 'tax_id',
|
||||
error_message: 'error_message',
|
||||
fiscal_id: 'fiscal_id'
|
||||
@@ -4727,20 +4912,6 @@ export type EnumPOSTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaMo
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'CustomerType'
|
||||
*/
|
||||
export type EnumCustomerTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CustomerType'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'UnitType'
|
||||
*/
|
||||
export type EnumUnitTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UnitType'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'GoodPricingModel'
|
||||
*/
|
||||
@@ -4755,6 +4926,34 @@ export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel,
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'SKUGuildType'
|
||||
*/
|
||||
export type EnumSKUGuildTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SKUGuildType'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'CustomerType'
|
||||
*/
|
||||
export type EnumCustomerTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CustomerType'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'FiscalResponseStatus'
|
||||
*/
|
||||
export type EnumFiscalResponseStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'FiscalResponseStatus'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'FiscalRequestType'
|
||||
*/
|
||||
export type EnumFiscalRequestTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'FiscalRequestType'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'PaymentMethodType'
|
||||
*/
|
||||
@@ -4893,12 +5092,14 @@ export type GlobalOmitConfig = {
|
||||
businessActivity?: Prisma.BusinessActivityOmit
|
||||
complex?: Prisma.ComplexOmit
|
||||
pos?: Prisma.PosOmit
|
||||
good?: Prisma.GoodOmit
|
||||
goodCategory?: Prisma.GoodCategoryOmit
|
||||
measureUnits?: Prisma.MeasureUnitsOmit
|
||||
stockKeepingUnits?: Prisma.StockKeepingUnitsOmit
|
||||
triggerLog?: Prisma.TriggerLogOmit
|
||||
customer?: Prisma.CustomerOmit
|
||||
customerIndividual?: Prisma.CustomerIndividualOmit
|
||||
customerLegal?: Prisma.CustomerLegalOmit
|
||||
good?: Prisma.GoodOmit
|
||||
goodCategory?: Prisma.GoodCategoryOmit
|
||||
guild?: Prisma.GuildOmit
|
||||
salesInvoice?: Prisma.SalesInvoiceOmit
|
||||
salesInvoiceItem?: Prisma.SalesInvoiceItemOmit
|
||||
|
||||
@@ -81,12 +81,14 @@ export const ModelName = {
|
||||
BusinessActivity: 'BusinessActivity',
|
||||
Complex: 'Complex',
|
||||
Pos: 'Pos',
|
||||
Good: 'Good',
|
||||
GoodCategory: 'GoodCategory',
|
||||
MeasureUnits: 'MeasureUnits',
|
||||
StockKeepingUnits: 'StockKeepingUnits',
|
||||
TriggerLog: 'TriggerLog',
|
||||
Customer: 'Customer',
|
||||
CustomerIndividual: 'CustomerIndividual',
|
||||
CustomerLegal: 'CustomerLegal',
|
||||
Good: 'Good',
|
||||
GoodCategory: 'GoodCategory',
|
||||
Guild: 'Guild',
|
||||
SalesInvoice: 'SalesInvoice',
|
||||
SalesInvoiceItem: 'SalesInvoiceItem',
|
||||
@@ -490,6 +492,70 @@ export const PosScalarFieldEnum = {
|
||||
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
pricing_model: 'pricing_model',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
base_sale_price: 'base_sale_price',
|
||||
image_url: 'image_url',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at',
|
||||
sku_id: 'sku_id',
|
||||
measure_unit_id: 'measure_unit_id',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodScalarFieldEnum = (typeof GoodScalarFieldEnum)[keyof typeof GoodScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
guild_id: 'guild_id',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryScalarFieldEnum = (typeof GoodCategoryScalarFieldEnum)[keyof typeof GoodCategoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const MeasureUnitsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
} as const
|
||||
|
||||
export type MeasureUnitsScalarFieldEnum = (typeof MeasureUnitsScalarFieldEnum)[keyof typeof MeasureUnitsScalarFieldEnum]
|
||||
|
||||
|
||||
export const StockKeepingUnitsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name',
|
||||
VAT: 'VAT',
|
||||
type: 'type',
|
||||
is_public: 'is_public',
|
||||
is_domestic: 'is_domestic',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
} as const
|
||||
|
||||
export type StockKeepingUnitsScalarFieldEnum = (typeof StockKeepingUnitsScalarFieldEnum)[keyof typeof StockKeepingUnitsScalarFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
message: 'message',
|
||||
@@ -527,7 +593,7 @@ export type CustomerIndividualScalarFieldEnum = (typeof CustomerIndividualScalar
|
||||
|
||||
|
||||
export const CustomerLegalScalarFieldEnum = {
|
||||
company_name: 'company_name',
|
||||
name: 'name',
|
||||
economic_code: 'economic_code',
|
||||
registration_number: 'registration_number',
|
||||
postal_code: 'postal_code',
|
||||
@@ -538,44 +604,6 @@ export const CustomerLegalScalarFieldEnum = {
|
||||
export type CustomerLegalScalarFieldEnum = (typeof CustomerLegalScalarFieldEnum)[keyof typeof CustomerLegalScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
sku: 'sku',
|
||||
unit_type: 'unit_type',
|
||||
pricing_model: 'pricing_model',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
base_sale_price: 'base_sale_price',
|
||||
image_url: 'image_url',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodScalarFieldEnum = (typeof GoodScalarFieldEnum)[keyof typeof GoodScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
guild_id: 'guild_id',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryScalarFieldEnum = (typeof GoodCategoryScalarFieldEnum)[keyof typeof GoodCategoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const GuildScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -608,7 +636,10 @@ export type SalesInvoiceScalarFieldEnum = (typeof SalesInvoiceScalarFieldEnum)[k
|
||||
export const SalesInvoiceItemScalarFieldEnum = {
|
||||
id: 'id',
|
||||
quantity: 'quantity',
|
||||
unit_type: 'unit_type',
|
||||
measure_unit_text: 'measure_unit_text',
|
||||
measure_unit_code: 'measure_unit_code',
|
||||
sku_code: 'sku_code',
|
||||
sku_vat: 'sku_vat',
|
||||
unit_price: 'unit_price',
|
||||
total_amount: 'total_amount',
|
||||
created_at: 'created_at',
|
||||
@@ -641,6 +672,7 @@ export const SaleInvoiceFiscalAttemptsScalarFieldEnum = {
|
||||
attempt_no: 'attempt_no',
|
||||
status: 'status',
|
||||
tax_id: 'tax_id',
|
||||
type: 'type',
|
||||
request_payload: 'request_payload',
|
||||
response_payload: 'response_payload',
|
||||
error_message: 'error_message',
|
||||
@@ -1050,6 +1082,52 @@ export const PosOrderByRelevanceFieldEnum = {
|
||||
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
image_url: 'image_url',
|
||||
sku_id: 'sku_id',
|
||||
measure_unit_id: 'measure_unit_id',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodOrderByRelevanceFieldEnum = (typeof GoodOrderByRelevanceFieldEnum)[keyof typeof GoodOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
guild_id: 'guild_id'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryOrderByRelevanceFieldEnum = (typeof GoodCategoryOrderByRelevanceFieldEnum)[keyof typeof GoodCategoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const MeasureUnitsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type MeasureUnitsOrderByRelevanceFieldEnum = (typeof MeasureUnitsOrderByRelevanceFieldEnum)[keyof typeof MeasureUnitsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const StockKeepingUnitsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type StockKeepingUnitsOrderByRelevanceFieldEnum = (typeof StockKeepingUnitsOrderByRelevanceFieldEnum)[keyof typeof StockKeepingUnitsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogOrderByRelevanceFieldEnum = {
|
||||
message: 'message',
|
||||
name: 'name'
|
||||
@@ -1080,7 +1158,7 @@ export type CustomerIndividualOrderByRelevanceFieldEnum = (typeof CustomerIndivi
|
||||
|
||||
|
||||
export const CustomerLegalOrderByRelevanceFieldEnum = {
|
||||
company_name: 'company_name',
|
||||
name: 'name',
|
||||
economic_code: 'economic_code',
|
||||
registration_number: 'registration_number',
|
||||
postal_code: 'postal_code',
|
||||
@@ -1091,33 +1169,6 @@ export const CustomerLegalOrderByRelevanceFieldEnum = {
|
||||
export type CustomerLegalOrderByRelevanceFieldEnum = (typeof CustomerLegalOrderByRelevanceFieldEnum)[keyof typeof CustomerLegalOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
sku: 'sku',
|
||||
description: 'description',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
image_url: 'image_url',
|
||||
category_id: 'category_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type GoodOrderByRelevanceFieldEnum = (typeof GoodOrderByRelevanceFieldEnum)[keyof typeof GoodOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodCategoryOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
complex_id: 'complex_id',
|
||||
guild_id: 'guild_id'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryOrderByRelevanceFieldEnum = (typeof GoodCategoryOrderByRelevanceFieldEnum)[keyof typeof GoodCategoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GuildOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -1141,6 +1192,9 @@ export type SalesInvoiceOrderByRelevanceFieldEnum = (typeof SalesInvoiceOrderByR
|
||||
|
||||
export const SalesInvoiceItemOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
measure_unit_text: 'measure_unit_text',
|
||||
measure_unit_code: 'measure_unit_code',
|
||||
sku_code: 'sku_code',
|
||||
notes: 'notes',
|
||||
invoice_id: 'invoice_id',
|
||||
good_id: 'good_id',
|
||||
@@ -1160,7 +1214,6 @@ export type SaleInvoiceFiscalsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFis
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
status: 'status',
|
||||
tax_id: 'tax_id',
|
||||
error_message: 'error_message',
|
||||
fiscal_id: 'fiscal_id'
|
||||
|
||||
Reference in New Issue
Block a user