storemw-core-api 1.0.163 → 1.0.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/model_factory/ModelFactory.d.ts +7 -6
- package/dist/lib/model_factory/ModelFactory.js +595 -197
- package/dist/lib/model_factory/ModelFactory.js.map +1 -1
- package/dist/models/access_control/AccessControlRoleModel.d.ts +4 -5
- package/dist/models/access_control/AccessControlRolePolicyModel.d.ts +4 -5
- package/dist/models/access_control/AccessControlUserRoleModel.d.ts +4 -5
- package/dist/models/account/AccountModel.d.ts +4 -5
- package/dist/models/auth/AccessKeyModel.d.ts +4 -5
- package/dist/models/branch/UserBranchModel.d.ts +4 -5
- package/dist/models/branch_user/BranchUserModel.d.ts +4 -5
- package/dist/models/business/BusinessModel.d.ts +4 -5
- package/dist/models/document/DocumentAmountModel.d.ts +4 -5
- package/dist/models/document/DocumentDocumentModel.d.ts +4 -5
- package/dist/models/document/DocumentItemModel.d.ts +4 -5
- package/dist/models/document/DocumentLocationModel.d.ts +4 -5
- package/dist/models/document/DocumentModel.d.ts +4 -5
- package/dist/models/document/DocumentPaymentModel.d.ts +4 -5
- package/dist/models/document/DocumentProfileModel.d.ts +4 -5
- package/dist/models/document/DocumentTotalModel.d.ts +4 -5
- package/dist/models/file/FileModel.d.ts +4 -5
- package/dist/models/group/GroupModel.d.ts +4 -5
- package/dist/models/group/GroupOwnerModel.d.ts +4 -5
- package/dist/models/injection_field/DocumentInjectionFieldModel.d.ts +4 -5
- package/dist/models/injection_field/InjectionFieldModel.d.ts +4 -5
- package/dist/models/injection_field/ItemInjectionFieldModel.d.ts +4 -5
- package/dist/models/injection_field/LogisticInjectionFieldModel.d.ts +4 -5
- package/dist/models/injection_field/RepositoryInjectionFieldModel.d.ts +4 -5
- package/dist/models/injection_field/UserInjectionFieldModel.d.ts +4 -5
- package/dist/models/item/BrandModel.d.ts +4 -5
- package/dist/models/item/CategoryModel.d.ts +4 -5
- package/dist/models/item/ItemModel.d.ts +4 -5
- package/dist/models/item/ProductModel.d.ts +4 -5
- package/dist/models/item/UomModel.d.ts +4 -5
- package/dist/models/location/LocationModel.d.ts +4 -5
- package/dist/models/location/LocationRackModel.d.ts +4 -5
- package/dist/models/location/LocationSlotModel.d.ts +4 -5
- package/dist/models/others/NumberDateSequenceModel.d.ts +4 -5
- package/dist/models/others/OneTimeCodeModel.d.ts +4 -5
- package/dist/models/region/AreaModel.d.ts +4 -5
- package/dist/models/region/CountryModel.d.ts +4 -5
- package/dist/models/region/StateModel.d.ts +4 -5
- package/dist/models/repository/RepositoryCartonModel.d.ts +4 -5
- package/dist/models/repository/RepositoryContainerModel.d.ts +4 -5
- package/dist/models/repository/RepositoryModel.d.ts +4 -5
- package/dist/models/repository/RepositoryPackageItemModel.d.ts +4 -5
- package/dist/models/repository/RepositoryPackageModel.d.ts +4 -5
- package/dist/models/repository/RepositoryPalletModel.d.ts +4 -5
- package/dist/models/scheduler/SchedulerLogModel.d.ts +4 -5
- package/dist/models/scheduler/SchedulerRequestModel.d.ts +4 -5
- package/dist/models/subscription/account/AccountSubscribeModel.d.ts +4 -5
- package/dist/models/subscription/plan/SubscribePlanModel.d.ts +4 -5
- package/dist/models/user/AdministratorModel.d.ts +4 -5
- package/dist/models/user/AgentModel.d.ts +4 -5
- package/dist/models/user/CustomerModel.d.ts +4 -5
- package/dist/models/user/DriverModel.d.ts +4 -5
- package/dist/models/user/MemberModel.d.ts +4 -5
- package/dist/models/user/OperatorModel.d.ts +4 -5
- package/dist/models/user/RetailerModel.d.ts +4 -5
- package/dist/models/user/UserModel.d.ts +4 -5
- package/dist/models/user/UserPropModel.d.ts +4 -5
- package/dist/models/user/WorkerModel.d.ts +4 -5
- package/dist/schema/payload/document/schemaDocumentCashSales.d.ts +64 -64
- package/dist/schema/payload/document/schemaDocumentDeliveryOrder.d.ts +64 -64
- package/dist/schema/payload/document/schemaDocumentProformaSales.d.ts +64 -64
- package/dist/schema/payload/document/schemaDocumentReplacementDeliveryOrder.d.ts +64 -64
- package/dist/schema/payload/document/schemaDocumentSalesOrder.d.ts +64 -64
- package/dist/utils/serviceUtils.d.ts +2 -0
- package/dist/utils/serviceUtils.js.map +1 -1
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@ export declare const UserModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
54
54
|
name: string;
|
|
55
55
|
type: string;
|
|
56
56
|
}[]>;
|
|
57
|
-
create: ({ data }: {
|
|
57
|
+
create: ({ data, }: {
|
|
58
58
|
data: Omit<any, DefaultOmitFields>;
|
|
59
59
|
}) => Promise<{
|
|
60
60
|
createdatetime: Date | null;
|
|
@@ -126,7 +126,7 @@ export declare const UserModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
126
126
|
contact_phone_number: string | null;
|
|
127
127
|
parent_user_id: bigint;
|
|
128
128
|
} | null>;
|
|
129
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
129
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
130
130
|
createdatetime: Date | null;
|
|
131
131
|
createuserid: bigint;
|
|
132
132
|
updatedatetime: Date | null;
|
|
@@ -147,7 +147,7 @@ export declare const UserModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
147
147
|
contact_phone_number: string | null;
|
|
148
148
|
parent_user_id: bigint;
|
|
149
149
|
}[]>;
|
|
150
|
-
count: ({ where }?: {
|
|
150
|
+
count: ({ where, }?: {
|
|
151
151
|
where?: Record<string, any>;
|
|
152
152
|
}) => Promise<number>;
|
|
153
153
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -179,7 +179,7 @@ export declare const UserModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
179
179
|
contact_phone_number: string | null;
|
|
180
180
|
parent_user_id: bigint;
|
|
181
181
|
}>;
|
|
182
|
-
disableRollback?:
|
|
182
|
+
disableRollback?: boolean;
|
|
183
183
|
}) => Promise<{
|
|
184
184
|
createdatetime: Date | null;
|
|
185
185
|
createuserid: bigint;
|
|
@@ -296,6 +296,5 @@ export declare const UserModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
296
296
|
parent_user_id: bigint;
|
|
297
297
|
}[]>;
|
|
298
298
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
299
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
300
299
|
};
|
|
301
300
|
export {};
|
|
@@ -50,7 +50,7 @@ export declare const UserPropModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
50
50
|
name: string;
|
|
51
51
|
type: string;
|
|
52
52
|
}[]>;
|
|
53
|
-
create: ({ data }: {
|
|
53
|
+
create: ({ data, }: {
|
|
54
54
|
data: Omit<any, DefaultOmitFields>;
|
|
55
55
|
}) => Promise<{
|
|
56
56
|
createdatetime: Date | null;
|
|
@@ -110,7 +110,7 @@ export declare const UserPropModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
110
110
|
props_timestamp: Date | null;
|
|
111
111
|
props_integer: bigint | null;
|
|
112
112
|
} | null>;
|
|
113
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
113
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
114
114
|
createdatetime: Date | null;
|
|
115
115
|
createuserid: bigint;
|
|
116
116
|
updatedatetime: Date | null;
|
|
@@ -127,7 +127,7 @@ export declare const UserPropModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
127
127
|
props_timestamp: Date | null;
|
|
128
128
|
props_integer: bigint | null;
|
|
129
129
|
}[]>;
|
|
130
|
-
count: ({ where }?: {
|
|
130
|
+
count: ({ where, }?: {
|
|
131
131
|
where?: Record<string, any>;
|
|
132
132
|
}) => Promise<number>;
|
|
133
133
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -155,7 +155,7 @@ export declare const UserPropModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
155
155
|
props_timestamp: Date | null;
|
|
156
156
|
props_integer: bigint | null;
|
|
157
157
|
}>;
|
|
158
|
-
disableRollback?:
|
|
158
|
+
disableRollback?: boolean;
|
|
159
159
|
}) => Promise<{
|
|
160
160
|
createdatetime: Date | null;
|
|
161
161
|
createuserid: bigint;
|
|
@@ -252,6 +252,5 @@ export declare const UserPropModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
252
252
|
props_integer: bigint | null;
|
|
253
253
|
}[]>;
|
|
254
254
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
255
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
256
255
|
};
|
|
257
256
|
export {};
|
|
@@ -45,7 +45,7 @@ export declare const WorkerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
45
45
|
name: string;
|
|
46
46
|
type: string;
|
|
47
47
|
}[]>;
|
|
48
|
-
create: ({ data }: {
|
|
48
|
+
create: ({ data, }: {
|
|
49
49
|
data: Omit<any, DefaultOmitFields>;
|
|
50
50
|
}) => Promise<{
|
|
51
51
|
createdatetime: Date | null;
|
|
@@ -90,7 +90,7 @@ export declare const WorkerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
90
90
|
remark: string | null;
|
|
91
91
|
worker_id: bigint;
|
|
92
92
|
} | null>;
|
|
93
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
93
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
94
94
|
createdatetime: Date | null;
|
|
95
95
|
createuserid: bigint;
|
|
96
96
|
updatedatetime: Date | null;
|
|
@@ -102,7 +102,7 @@ export declare const WorkerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
102
102
|
remark: string | null;
|
|
103
103
|
worker_id: bigint;
|
|
104
104
|
}[]>;
|
|
105
|
-
count: ({ where }?: {
|
|
105
|
+
count: ({ where, }?: {
|
|
106
106
|
where?: Record<string, any>;
|
|
107
107
|
}) => Promise<number>;
|
|
108
108
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -125,7 +125,7 @@ export declare const WorkerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
125
125
|
remark: string | null;
|
|
126
126
|
worker_id: bigint;
|
|
127
127
|
}>;
|
|
128
|
-
disableRollback?:
|
|
128
|
+
disableRollback?: boolean;
|
|
129
129
|
}) => Promise<{
|
|
130
130
|
createdatetime: Date | null;
|
|
131
131
|
createuserid: bigint;
|
|
@@ -197,6 +197,5 @@ export declare const WorkerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
197
197
|
worker_id: bigint;
|
|
198
198
|
}[]>;
|
|
199
199
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
200
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
201
200
|
};
|
|
202
201
|
export {};
|
|
@@ -191,14 +191,6 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
191
191
|
profileName?: string | undefined;
|
|
192
192
|
personName?: string | undefined;
|
|
193
193
|
};
|
|
194
|
-
totals?: {
|
|
195
|
-
description: string;
|
|
196
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
197
|
-
totalAmount: number;
|
|
198
|
-
totalPercentage: number;
|
|
199
|
-
documentTotalId?: number | undefined;
|
|
200
|
-
referId?: string | undefined;
|
|
201
|
-
}[] | undefined;
|
|
202
194
|
items?: {
|
|
203
195
|
quantity: number;
|
|
204
196
|
itemId: number;
|
|
@@ -209,6 +201,14 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
209
201
|
uomId?: number | undefined;
|
|
210
202
|
uomPrice?: number | undefined;
|
|
211
203
|
}[] | undefined;
|
|
204
|
+
totals?: {
|
|
205
|
+
description: string;
|
|
206
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
207
|
+
totalAmount: number;
|
|
208
|
+
totalPercentage: number;
|
|
209
|
+
documentTotalId?: number | undefined;
|
|
210
|
+
referId?: string | undefined;
|
|
211
|
+
}[] | undefined;
|
|
212
212
|
remark?: string | undefined;
|
|
213
213
|
documentNumber?: string | undefined;
|
|
214
214
|
documentReferenceId1?: string | undefined;
|
|
@@ -249,14 +249,6 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
249
249
|
profileName?: string | undefined;
|
|
250
250
|
personName?: string | undefined;
|
|
251
251
|
};
|
|
252
|
-
totals?: {
|
|
253
|
-
description: string;
|
|
254
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
255
|
-
documentTotalId?: number | undefined;
|
|
256
|
-
referId?: string | undefined;
|
|
257
|
-
totalAmount?: unknown;
|
|
258
|
-
totalPercentage?: unknown;
|
|
259
|
-
}[] | undefined;
|
|
260
252
|
items?: {
|
|
261
253
|
quantity: number;
|
|
262
254
|
itemId: number;
|
|
@@ -267,6 +259,14 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
267
259
|
uomId?: number | undefined;
|
|
268
260
|
uomPrice?: number | undefined;
|
|
269
261
|
}[] | undefined;
|
|
262
|
+
totals?: {
|
|
263
|
+
description: string;
|
|
264
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
265
|
+
documentTotalId?: number | undefined;
|
|
266
|
+
referId?: string | undefined;
|
|
267
|
+
totalAmount?: unknown;
|
|
268
|
+
totalPercentage?: unknown;
|
|
269
|
+
}[] | undefined;
|
|
270
270
|
remark?: string | undefined;
|
|
271
271
|
documentNumber?: string | undefined;
|
|
272
272
|
documentReferenceId1?: string | undefined;
|
|
@@ -313,14 +313,6 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
313
313
|
profileName?: string | undefined;
|
|
314
314
|
personName?: string | undefined;
|
|
315
315
|
};
|
|
316
|
-
totals?: {
|
|
317
|
-
description: string;
|
|
318
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
319
|
-
totalAmount: number;
|
|
320
|
-
totalPercentage: number;
|
|
321
|
-
documentTotalId?: number | undefined;
|
|
322
|
-
referId?: string | undefined;
|
|
323
|
-
}[] | undefined;
|
|
324
316
|
items?: {
|
|
325
317
|
quantity: number;
|
|
326
318
|
itemId: number;
|
|
@@ -331,6 +323,14 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
331
323
|
uomId?: number | undefined;
|
|
332
324
|
uomPrice?: number | undefined;
|
|
333
325
|
}[] | undefined;
|
|
326
|
+
totals?: {
|
|
327
|
+
description: string;
|
|
328
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
329
|
+
totalAmount: number;
|
|
330
|
+
totalPercentage: number;
|
|
331
|
+
documentTotalId?: number | undefined;
|
|
332
|
+
referId?: string | undefined;
|
|
333
|
+
}[] | undefined;
|
|
334
334
|
remark?: string | undefined;
|
|
335
335
|
documentNumber?: string | undefined;
|
|
336
336
|
documentReferenceId1?: string | undefined;
|
|
@@ -377,14 +377,6 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
377
377
|
profileName?: string | undefined;
|
|
378
378
|
personName?: string | undefined;
|
|
379
379
|
};
|
|
380
|
-
totals?: {
|
|
381
|
-
description: string;
|
|
382
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
383
|
-
documentTotalId?: number | undefined;
|
|
384
|
-
referId?: string | undefined;
|
|
385
|
-
totalAmount?: unknown;
|
|
386
|
-
totalPercentage?: unknown;
|
|
387
|
-
}[] | undefined;
|
|
388
380
|
items?: {
|
|
389
381
|
quantity: number;
|
|
390
382
|
itemId: number;
|
|
@@ -395,6 +387,14 @@ export declare const schemaDocumentCashSalesCreatePayload: z.ZodObject<{
|
|
|
395
387
|
uomId?: number | undefined;
|
|
396
388
|
uomPrice?: number | undefined;
|
|
397
389
|
}[] | undefined;
|
|
390
|
+
totals?: {
|
|
391
|
+
description: string;
|
|
392
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
393
|
+
documentTotalId?: number | undefined;
|
|
394
|
+
referId?: string | undefined;
|
|
395
|
+
totalAmount?: unknown;
|
|
396
|
+
totalPercentage?: unknown;
|
|
397
|
+
}[] | undefined;
|
|
398
398
|
remark?: string | undefined;
|
|
399
399
|
documentNumber?: string | undefined;
|
|
400
400
|
documentReferenceId1?: string | undefined;
|
|
@@ -597,14 +597,6 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
597
597
|
profileName?: string | undefined;
|
|
598
598
|
personName?: string | undefined;
|
|
599
599
|
};
|
|
600
|
-
totals?: {
|
|
601
|
-
description: string;
|
|
602
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
603
|
-
totalAmount: number;
|
|
604
|
-
totalPercentage: number;
|
|
605
|
-
documentTotalId?: number | undefined;
|
|
606
|
-
referId?: string | undefined;
|
|
607
|
-
}[] | undefined;
|
|
608
600
|
items?: {
|
|
609
601
|
quantity: number;
|
|
610
602
|
itemId: number;
|
|
@@ -615,6 +607,14 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
615
607
|
uomId?: number | undefined;
|
|
616
608
|
uomPrice?: number | undefined;
|
|
617
609
|
}[] | undefined;
|
|
610
|
+
totals?: {
|
|
611
|
+
description: string;
|
|
612
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
613
|
+
totalAmount: number;
|
|
614
|
+
totalPercentage: number;
|
|
615
|
+
documentTotalId?: number | undefined;
|
|
616
|
+
referId?: string | undefined;
|
|
617
|
+
}[] | undefined;
|
|
618
618
|
remark?: string | undefined;
|
|
619
619
|
documentReferenceId1?: string | undefined;
|
|
620
620
|
documentReferenceLabel1?: string | undefined;
|
|
@@ -654,14 +654,6 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
654
654
|
profileName?: string | undefined;
|
|
655
655
|
personName?: string | undefined;
|
|
656
656
|
};
|
|
657
|
-
totals?: {
|
|
658
|
-
description: string;
|
|
659
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
660
|
-
documentTotalId?: number | undefined;
|
|
661
|
-
referId?: string | undefined;
|
|
662
|
-
totalAmount?: unknown;
|
|
663
|
-
totalPercentage?: unknown;
|
|
664
|
-
}[] | undefined;
|
|
665
657
|
items?: {
|
|
666
658
|
quantity: number;
|
|
667
659
|
itemId: number;
|
|
@@ -672,6 +664,14 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
672
664
|
uomId?: number | undefined;
|
|
673
665
|
uomPrice?: number | undefined;
|
|
674
666
|
}[] | undefined;
|
|
667
|
+
totals?: {
|
|
668
|
+
description: string;
|
|
669
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
670
|
+
documentTotalId?: number | undefined;
|
|
671
|
+
referId?: string | undefined;
|
|
672
|
+
totalAmount?: unknown;
|
|
673
|
+
totalPercentage?: unknown;
|
|
674
|
+
}[] | undefined;
|
|
675
675
|
remark?: string | undefined;
|
|
676
676
|
documentReferenceId1?: string | undefined;
|
|
677
677
|
documentReferenceLabel1?: string | undefined;
|
|
@@ -717,14 +717,6 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
717
717
|
profileName?: string | undefined;
|
|
718
718
|
personName?: string | undefined;
|
|
719
719
|
};
|
|
720
|
-
totals?: {
|
|
721
|
-
description: string;
|
|
722
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
723
|
-
totalAmount: number;
|
|
724
|
-
totalPercentage: number;
|
|
725
|
-
documentTotalId?: number | undefined;
|
|
726
|
-
referId?: string | undefined;
|
|
727
|
-
}[] | undefined;
|
|
728
720
|
items?: {
|
|
729
721
|
quantity: number;
|
|
730
722
|
itemId: number;
|
|
@@ -735,6 +727,14 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
735
727
|
uomId?: number | undefined;
|
|
736
728
|
uomPrice?: number | undefined;
|
|
737
729
|
}[] | undefined;
|
|
730
|
+
totals?: {
|
|
731
|
+
description: string;
|
|
732
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
733
|
+
totalAmount: number;
|
|
734
|
+
totalPercentage: number;
|
|
735
|
+
documentTotalId?: number | undefined;
|
|
736
|
+
referId?: string | undefined;
|
|
737
|
+
}[] | undefined;
|
|
738
738
|
remark?: string | undefined;
|
|
739
739
|
documentReferenceId1?: string | undefined;
|
|
740
740
|
documentReferenceLabel1?: string | undefined;
|
|
@@ -780,14 +780,6 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
780
780
|
profileName?: string | undefined;
|
|
781
781
|
personName?: string | undefined;
|
|
782
782
|
};
|
|
783
|
-
totals?: {
|
|
784
|
-
description: string;
|
|
785
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
786
|
-
documentTotalId?: number | undefined;
|
|
787
|
-
referId?: string | undefined;
|
|
788
|
-
totalAmount?: unknown;
|
|
789
|
-
totalPercentage?: unknown;
|
|
790
|
-
}[] | undefined;
|
|
791
783
|
items?: {
|
|
792
784
|
quantity: number;
|
|
793
785
|
itemId: number;
|
|
@@ -798,6 +790,14 @@ export declare const schemaDocumentCashSalesUpdatePayload: z.ZodObject<{
|
|
|
798
790
|
uomId?: number | undefined;
|
|
799
791
|
uomPrice?: number | undefined;
|
|
800
792
|
}[] | undefined;
|
|
793
|
+
totals?: {
|
|
794
|
+
description: string;
|
|
795
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
796
|
+
documentTotalId?: number | undefined;
|
|
797
|
+
referId?: string | undefined;
|
|
798
|
+
totalAmount?: unknown;
|
|
799
|
+
totalPercentage?: unknown;
|
|
800
|
+
}[] | undefined;
|
|
801
801
|
remark?: string | undefined;
|
|
802
802
|
documentReferenceId1?: string | undefined;
|
|
803
803
|
documentReferenceLabel1?: string | undefined;
|
|
@@ -191,14 +191,6 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
191
191
|
profileName?: string | undefined;
|
|
192
192
|
personName?: string | undefined;
|
|
193
193
|
};
|
|
194
|
-
totals?: {
|
|
195
|
-
description: string;
|
|
196
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
197
|
-
totalAmount: number;
|
|
198
|
-
totalPercentage: number;
|
|
199
|
-
documentTotalId?: number | undefined;
|
|
200
|
-
referId?: string | undefined;
|
|
201
|
-
}[] | undefined;
|
|
202
194
|
items?: {
|
|
203
195
|
quantity: number;
|
|
204
196
|
itemId: number;
|
|
@@ -209,6 +201,14 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
209
201
|
uomId?: number | undefined;
|
|
210
202
|
uomPrice?: number | undefined;
|
|
211
203
|
}[] | undefined;
|
|
204
|
+
totals?: {
|
|
205
|
+
description: string;
|
|
206
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
207
|
+
totalAmount: number;
|
|
208
|
+
totalPercentage: number;
|
|
209
|
+
documentTotalId?: number | undefined;
|
|
210
|
+
referId?: string | undefined;
|
|
211
|
+
}[] | undefined;
|
|
212
212
|
remark?: string | undefined;
|
|
213
213
|
documentNumber?: string | undefined;
|
|
214
214
|
documentReferenceId1?: string | undefined;
|
|
@@ -249,14 +249,6 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
249
249
|
profileName?: string | undefined;
|
|
250
250
|
personName?: string | undefined;
|
|
251
251
|
};
|
|
252
|
-
totals?: {
|
|
253
|
-
description: string;
|
|
254
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
255
|
-
documentTotalId?: number | undefined;
|
|
256
|
-
referId?: string | undefined;
|
|
257
|
-
totalAmount?: unknown;
|
|
258
|
-
totalPercentage?: unknown;
|
|
259
|
-
}[] | undefined;
|
|
260
252
|
items?: {
|
|
261
253
|
quantity: number;
|
|
262
254
|
itemId: number;
|
|
@@ -267,6 +259,14 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
267
259
|
uomId?: number | undefined;
|
|
268
260
|
uomPrice?: number | undefined;
|
|
269
261
|
}[] | undefined;
|
|
262
|
+
totals?: {
|
|
263
|
+
description: string;
|
|
264
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
265
|
+
documentTotalId?: number | undefined;
|
|
266
|
+
referId?: string | undefined;
|
|
267
|
+
totalAmount?: unknown;
|
|
268
|
+
totalPercentage?: unknown;
|
|
269
|
+
}[] | undefined;
|
|
270
270
|
remark?: string | undefined;
|
|
271
271
|
documentNumber?: string | undefined;
|
|
272
272
|
documentReferenceId1?: string | undefined;
|
|
@@ -313,14 +313,6 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
313
313
|
profileName?: string | undefined;
|
|
314
314
|
personName?: string | undefined;
|
|
315
315
|
};
|
|
316
|
-
totals?: {
|
|
317
|
-
description: string;
|
|
318
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
319
|
-
totalAmount: number;
|
|
320
|
-
totalPercentage: number;
|
|
321
|
-
documentTotalId?: number | undefined;
|
|
322
|
-
referId?: string | undefined;
|
|
323
|
-
}[] | undefined;
|
|
324
316
|
items?: {
|
|
325
317
|
quantity: number;
|
|
326
318
|
itemId: number;
|
|
@@ -331,6 +323,14 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
331
323
|
uomId?: number | undefined;
|
|
332
324
|
uomPrice?: number | undefined;
|
|
333
325
|
}[] | undefined;
|
|
326
|
+
totals?: {
|
|
327
|
+
description: string;
|
|
328
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
329
|
+
totalAmount: number;
|
|
330
|
+
totalPercentage: number;
|
|
331
|
+
documentTotalId?: number | undefined;
|
|
332
|
+
referId?: string | undefined;
|
|
333
|
+
}[] | undefined;
|
|
334
334
|
remark?: string | undefined;
|
|
335
335
|
documentNumber?: string | undefined;
|
|
336
336
|
documentReferenceId1?: string | undefined;
|
|
@@ -377,14 +377,6 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
377
377
|
profileName?: string | undefined;
|
|
378
378
|
personName?: string | undefined;
|
|
379
379
|
};
|
|
380
|
-
totals?: {
|
|
381
|
-
description: string;
|
|
382
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
383
|
-
documentTotalId?: number | undefined;
|
|
384
|
-
referId?: string | undefined;
|
|
385
|
-
totalAmount?: unknown;
|
|
386
|
-
totalPercentage?: unknown;
|
|
387
|
-
}[] | undefined;
|
|
388
380
|
items?: {
|
|
389
381
|
quantity: number;
|
|
390
382
|
itemId: number;
|
|
@@ -395,6 +387,14 @@ export declare const schemaDocumentDeliveryOrderCreatePayload: z.ZodObject<{
|
|
|
395
387
|
uomId?: number | undefined;
|
|
396
388
|
uomPrice?: number | undefined;
|
|
397
389
|
}[] | undefined;
|
|
390
|
+
totals?: {
|
|
391
|
+
description: string;
|
|
392
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
393
|
+
documentTotalId?: number | undefined;
|
|
394
|
+
referId?: string | undefined;
|
|
395
|
+
totalAmount?: unknown;
|
|
396
|
+
totalPercentage?: unknown;
|
|
397
|
+
}[] | undefined;
|
|
398
398
|
remark?: string | undefined;
|
|
399
399
|
documentNumber?: string | undefined;
|
|
400
400
|
documentReferenceId1?: string | undefined;
|
|
@@ -597,14 +597,6 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
597
597
|
profileName?: string | undefined;
|
|
598
598
|
personName?: string | undefined;
|
|
599
599
|
};
|
|
600
|
-
totals?: {
|
|
601
|
-
description: string;
|
|
602
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
603
|
-
totalAmount: number;
|
|
604
|
-
totalPercentage: number;
|
|
605
|
-
documentTotalId?: number | undefined;
|
|
606
|
-
referId?: string | undefined;
|
|
607
|
-
}[] | undefined;
|
|
608
600
|
items?: {
|
|
609
601
|
quantity: number;
|
|
610
602
|
itemId: number;
|
|
@@ -615,6 +607,14 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
615
607
|
uomId?: number | undefined;
|
|
616
608
|
uomPrice?: number | undefined;
|
|
617
609
|
}[] | undefined;
|
|
610
|
+
totals?: {
|
|
611
|
+
description: string;
|
|
612
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
613
|
+
totalAmount: number;
|
|
614
|
+
totalPercentage: number;
|
|
615
|
+
documentTotalId?: number | undefined;
|
|
616
|
+
referId?: string | undefined;
|
|
617
|
+
}[] | undefined;
|
|
618
618
|
remark?: string | undefined;
|
|
619
619
|
documentReferenceId1?: string | undefined;
|
|
620
620
|
documentReferenceLabel1?: string | undefined;
|
|
@@ -654,14 +654,6 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
654
654
|
profileName?: string | undefined;
|
|
655
655
|
personName?: string | undefined;
|
|
656
656
|
};
|
|
657
|
-
totals?: {
|
|
658
|
-
description: string;
|
|
659
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
660
|
-
documentTotalId?: number | undefined;
|
|
661
|
-
referId?: string | undefined;
|
|
662
|
-
totalAmount?: unknown;
|
|
663
|
-
totalPercentage?: unknown;
|
|
664
|
-
}[] | undefined;
|
|
665
657
|
items?: {
|
|
666
658
|
quantity: number;
|
|
667
659
|
itemId: number;
|
|
@@ -672,6 +664,14 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
672
664
|
uomId?: number | undefined;
|
|
673
665
|
uomPrice?: number | undefined;
|
|
674
666
|
}[] | undefined;
|
|
667
|
+
totals?: {
|
|
668
|
+
description: string;
|
|
669
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
670
|
+
documentTotalId?: number | undefined;
|
|
671
|
+
referId?: string | undefined;
|
|
672
|
+
totalAmount?: unknown;
|
|
673
|
+
totalPercentage?: unknown;
|
|
674
|
+
}[] | undefined;
|
|
675
675
|
remark?: string | undefined;
|
|
676
676
|
documentReferenceId1?: string | undefined;
|
|
677
677
|
documentReferenceLabel1?: string | undefined;
|
|
@@ -717,14 +717,6 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
717
717
|
profileName?: string | undefined;
|
|
718
718
|
personName?: string | undefined;
|
|
719
719
|
};
|
|
720
|
-
totals?: {
|
|
721
|
-
description: string;
|
|
722
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
723
|
-
totalAmount: number;
|
|
724
|
-
totalPercentage: number;
|
|
725
|
-
documentTotalId?: number | undefined;
|
|
726
|
-
referId?: string | undefined;
|
|
727
|
-
}[] | undefined;
|
|
728
720
|
items?: {
|
|
729
721
|
quantity: number;
|
|
730
722
|
itemId: number;
|
|
@@ -735,6 +727,14 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
735
727
|
uomId?: number | undefined;
|
|
736
728
|
uomPrice?: number | undefined;
|
|
737
729
|
}[] | undefined;
|
|
730
|
+
totals?: {
|
|
731
|
+
description: string;
|
|
732
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
733
|
+
totalAmount: number;
|
|
734
|
+
totalPercentage: number;
|
|
735
|
+
documentTotalId?: number | undefined;
|
|
736
|
+
referId?: string | undefined;
|
|
737
|
+
}[] | undefined;
|
|
738
738
|
remark?: string | undefined;
|
|
739
739
|
documentReferenceId1?: string | undefined;
|
|
740
740
|
documentReferenceLabel1?: string | undefined;
|
|
@@ -780,14 +780,6 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
780
780
|
profileName?: string | undefined;
|
|
781
781
|
personName?: string | undefined;
|
|
782
782
|
};
|
|
783
|
-
totals?: {
|
|
784
|
-
description: string;
|
|
785
|
-
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
786
|
-
documentTotalId?: number | undefined;
|
|
787
|
-
referId?: string | undefined;
|
|
788
|
-
totalAmount?: unknown;
|
|
789
|
-
totalPercentage?: unknown;
|
|
790
|
-
}[] | undefined;
|
|
791
783
|
items?: {
|
|
792
784
|
quantity: number;
|
|
793
785
|
itemId: number;
|
|
@@ -798,6 +790,14 @@ export declare const schemaDocumentDeliveryOrderUpdatePayload: z.ZodObject<{
|
|
|
798
790
|
uomId?: number | undefined;
|
|
799
791
|
uomPrice?: number | undefined;
|
|
800
792
|
}[] | undefined;
|
|
793
|
+
totals?: {
|
|
794
|
+
description: string;
|
|
795
|
+
totalType: "discount" | "rounding_down" | "tax" | "rouding_up";
|
|
796
|
+
documentTotalId?: number | undefined;
|
|
797
|
+
referId?: string | undefined;
|
|
798
|
+
totalAmount?: unknown;
|
|
799
|
+
totalPercentage?: unknown;
|
|
800
|
+
}[] | undefined;
|
|
801
801
|
remark?: string | undefined;
|
|
802
802
|
documentReferenceId1?: string | undefined;
|
|
803
803
|
documentReferenceLabel1?: string | undefined;
|