storemw-core-api 1.0.163 → 1.0.165
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/index.d.ts +2 -0
- package/dist/lib/index.js +5 -1
- package/dist/lib/index.js.map +1 -1
- 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/lib/query_builder/queryBuilder.d.ts +1 -1
- package/dist/lib/query_builder/queryBuilder.js +66 -15
- package/dist/lib/query_builder/queryBuilder.js.map +1 -1
- package/dist/lib/query_builder/queryDocumentProfile.d.ts +7 -0
- package/dist/lib/query_builder/queryDocumentProfile.js +87 -0
- package/dist/lib/query_builder/queryDocumentProfile.js.map +1 -0
- package/dist/lib/query_builder/queryUserBranch.d.ts +10 -0
- package/dist/lib/query_builder/queryUserBranch.js +31 -0
- package/dist/lib/query_builder/queryUserBranch.js.map +1 -0
- 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/services/branch/UserBranchService.d.ts +2 -2
- package/dist/services/branch/UserBranchService.js +53 -22
- package/dist/services/branch/UserBranchService.js.map +1 -1
- package/dist/services/document/DocumentProfileService.js +47 -19
- package/dist/services/document/DocumentProfileService.js.map +1 -1
- package/dist/utils/serviceUtils.d.ts +2 -0
- package/dist/utils/serviceUtils.js.map +1 -1
- package/package.json +1 -1
|
@@ -49,7 +49,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
49
49
|
name: string;
|
|
50
50
|
type: string;
|
|
51
51
|
}[]>;
|
|
52
|
-
create: ({ data }: {
|
|
52
|
+
create: ({ data, }: {
|
|
53
53
|
data: Omit<any, DefaultOmitFields>;
|
|
54
54
|
}) => Promise<{
|
|
55
55
|
createdatetime: Date | null;
|
|
@@ -106,7 +106,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
106
106
|
metric_type_display_name: string | null;
|
|
107
107
|
decimal_digit: number | null;
|
|
108
108
|
} | null>;
|
|
109
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
109
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
110
110
|
createdatetime: Date | null;
|
|
111
111
|
createuserid: bigint;
|
|
112
112
|
updatedatetime: Date | null;
|
|
@@ -122,7 +122,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
122
122
|
metric_type_display_name: string | null;
|
|
123
123
|
decimal_digit: number | null;
|
|
124
124
|
}[]>;
|
|
125
|
-
count: ({ where }?: {
|
|
125
|
+
count: ({ where, }?: {
|
|
126
126
|
where?: Record<string, any>;
|
|
127
127
|
}) => Promise<number>;
|
|
128
128
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -149,7 +149,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
149
149
|
metric_type_display_name: string | null;
|
|
150
150
|
decimal_digit: number | null;
|
|
151
151
|
}>;
|
|
152
|
-
disableRollback?:
|
|
152
|
+
disableRollback?: boolean;
|
|
153
153
|
}) => Promise<{
|
|
154
154
|
createdatetime: Date | null;
|
|
155
155
|
createuserid: bigint;
|
|
@@ -241,6 +241,5 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
241
241
|
decimal_digit: number | null;
|
|
242
242
|
}[]>;
|
|
243
243
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
244
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
245
244
|
};
|
|
246
245
|
export {};
|
|
@@ -62,7 +62,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
62
62
|
name: string;
|
|
63
63
|
type: string;
|
|
64
64
|
}[]>;
|
|
65
|
-
create: ({ data }: {
|
|
65
|
+
create: ({ data, }: {
|
|
66
66
|
data: Omit<any, DefaultOmitFields>;
|
|
67
67
|
}) => Promise<{
|
|
68
68
|
createdatetime: Date | null;
|
|
@@ -146,7 +146,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
146
146
|
area_id: bigint | null;
|
|
147
147
|
location_code: string | null;
|
|
148
148
|
} | null>;
|
|
149
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
149
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
150
150
|
createdatetime: Date | null;
|
|
151
151
|
createuserid: bigint;
|
|
152
152
|
updatedatetime: Date | null;
|
|
@@ -171,7 +171,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
171
171
|
area_id: bigint | null;
|
|
172
172
|
location_code: string | null;
|
|
173
173
|
}[]>;
|
|
174
|
-
count: ({ where }?: {
|
|
174
|
+
count: ({ where, }?: {
|
|
175
175
|
where?: Record<string, any>;
|
|
176
176
|
}) => Promise<number>;
|
|
177
177
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -207,7 +207,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
207
207
|
area_id: bigint | null;
|
|
208
208
|
location_code: string | null;
|
|
209
209
|
}>;
|
|
210
|
-
disableRollback?:
|
|
210
|
+
disableRollback?: boolean;
|
|
211
211
|
}) => Promise<{
|
|
212
212
|
createdatetime: Date | null;
|
|
213
213
|
createuserid: bigint;
|
|
@@ -344,6 +344,5 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
344
344
|
location_code: string | null;
|
|
345
345
|
}[]>;
|
|
346
346
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
347
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
348
347
|
};
|
|
349
348
|
export {};
|
|
@@ -53,7 +53,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
53
53
|
name: string;
|
|
54
54
|
type: string;
|
|
55
55
|
}[]>;
|
|
56
|
-
create: ({ data }: {
|
|
56
|
+
create: ({ data, }: {
|
|
57
57
|
data: Omit<any, DefaultOmitFields>;
|
|
58
58
|
}) => Promise<{
|
|
59
59
|
createdatetime: Date | null;
|
|
@@ -110,7 +110,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
110
110
|
rack_sequence: bigint | null;
|
|
111
111
|
rack_type: string | 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;
|
|
@@ -126,7 +126,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
126
126
|
rack_sequence: bigint | null;
|
|
127
127
|
rack_type: string | null;
|
|
128
128
|
}[]>;
|
|
129
|
-
count: ({ where }?: {
|
|
129
|
+
count: ({ where, }?: {
|
|
130
130
|
where?: Record<string, any>;
|
|
131
131
|
}) => Promise<number>;
|
|
132
132
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -153,7 +153,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
153
153
|
rack_sequence: bigint | null;
|
|
154
154
|
rack_type: string | null;
|
|
155
155
|
}>;
|
|
156
|
-
disableRollback?:
|
|
156
|
+
disableRollback?: boolean;
|
|
157
157
|
}) => Promise<{
|
|
158
158
|
createdatetime: Date | null;
|
|
159
159
|
createuserid: bigint;
|
|
@@ -245,6 +245,5 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
245
245
|
rack_type: string | null;
|
|
246
246
|
}[]>;
|
|
247
247
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
248
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
249
248
|
};
|
|
250
249
|
export {};
|
|
@@ -52,7 +52,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
52
52
|
name: string;
|
|
53
53
|
type: string;
|
|
54
54
|
}[]>;
|
|
55
|
-
create: ({ data }: {
|
|
55
|
+
create: ({ data, }: {
|
|
56
56
|
data: Omit<any, DefaultOmitFields>;
|
|
57
57
|
}) => Promise<{
|
|
58
58
|
createdatetime: Date | null;
|
|
@@ -106,7 +106,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
106
106
|
slot_name: string;
|
|
107
107
|
slot_sequence: number | null;
|
|
108
108
|
} | null>;
|
|
109
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
109
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
110
110
|
createdatetime: Date | null;
|
|
111
111
|
createuserid: bigint;
|
|
112
112
|
updatedatetime: Date | null;
|
|
@@ -121,7 +121,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
121
121
|
slot_name: string;
|
|
122
122
|
slot_sequence: number | null;
|
|
123
123
|
}[]>;
|
|
124
|
-
count: ({ where }?: {
|
|
124
|
+
count: ({ where, }?: {
|
|
125
125
|
where?: Record<string, any>;
|
|
126
126
|
}) => Promise<number>;
|
|
127
127
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -147,7 +147,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
147
147
|
slot_name: string;
|
|
148
148
|
slot_sequence: number | null;
|
|
149
149
|
}>;
|
|
150
|
-
disableRollback?:
|
|
150
|
+
disableRollback?: boolean;
|
|
151
151
|
}) => Promise<{
|
|
152
152
|
createdatetime: Date | null;
|
|
153
153
|
createuserid: bigint;
|
|
@@ -234,6 +234,5 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
234
234
|
slot_sequence: number | null;
|
|
235
235
|
}[]>;
|
|
236
236
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
237
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
238
237
|
};
|
|
239
238
|
export {};
|
|
@@ -49,7 +49,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
|
|
|
49
49
|
name: string;
|
|
50
50
|
type: string;
|
|
51
51
|
}[]>;
|
|
52
|
-
create: ({ data }: {
|
|
52
|
+
create: ({ data, }: {
|
|
53
53
|
data: Omit<any, DefaultOmitFields>;
|
|
54
54
|
}) => Promise<{
|
|
55
55
|
createdatetime: Date | null;
|
|
@@ -106,7 +106,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
|
|
|
106
106
|
day_label: string | null;
|
|
107
107
|
increment_no: number | null;
|
|
108
108
|
} | null>;
|
|
109
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
109
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
110
110
|
createdatetime: Date | null;
|
|
111
111
|
createuserid: bigint;
|
|
112
112
|
updatedatetime: Date | null;
|
|
@@ -122,7 +122,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
|
|
|
122
122
|
day_label: string | null;
|
|
123
123
|
increment_no: number | null;
|
|
124
124
|
}[]>;
|
|
125
|
-
count: ({ where }?: {
|
|
125
|
+
count: ({ where, }?: {
|
|
126
126
|
where?: Record<string, any>;
|
|
127
127
|
}) => Promise<number>;
|
|
128
128
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -149,7 +149,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
|
|
|
149
149
|
day_label: string | null;
|
|
150
150
|
increment_no: number | null;
|
|
151
151
|
}>;
|
|
152
|
-
disableRollback?:
|
|
152
|
+
disableRollback?: boolean;
|
|
153
153
|
}) => Promise<{
|
|
154
154
|
createdatetime: Date | null;
|
|
155
155
|
createuserid: bigint;
|
|
@@ -241,6 +241,5 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
|
|
|
241
241
|
increment_no: number | null;
|
|
242
242
|
}[]>;
|
|
243
243
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
244
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
245
244
|
};
|
|
246
245
|
export {};
|
|
@@ -55,7 +55,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
55
55
|
name: string;
|
|
56
56
|
type: string;
|
|
57
57
|
}[]>;
|
|
58
|
-
create: ({ data }: {
|
|
58
|
+
create: ({ data, }: {
|
|
59
59
|
data: Omit<any, DefaultOmitFields>;
|
|
60
60
|
}) => Promise<{
|
|
61
61
|
createdatetime: Date | null;
|
|
@@ -130,7 +130,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
130
130
|
code_status: string | null;
|
|
131
131
|
purpose_type: string | null;
|
|
132
132
|
} | null>;
|
|
133
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
133
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
134
134
|
createdatetime: Date | null;
|
|
135
135
|
createuserid: bigint;
|
|
136
136
|
updatedatetime: Date | null;
|
|
@@ -152,7 +152,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
152
152
|
code_status: string | null;
|
|
153
153
|
purpose_type: string | null;
|
|
154
154
|
}[]>;
|
|
155
|
-
count: ({ where }?: {
|
|
155
|
+
count: ({ where, }?: {
|
|
156
156
|
where?: Record<string, any>;
|
|
157
157
|
}) => Promise<number>;
|
|
158
158
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -185,7 +185,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
185
185
|
code_status: string | null;
|
|
186
186
|
purpose_type: string | null;
|
|
187
187
|
}>;
|
|
188
|
-
disableRollback?:
|
|
188
|
+
disableRollback?: boolean;
|
|
189
189
|
}) => Promise<{
|
|
190
190
|
createdatetime: Date | null;
|
|
191
191
|
createuserid: bigint;
|
|
@@ -307,6 +307,5 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
307
307
|
purpose_type: string | null;
|
|
308
308
|
}[]>;
|
|
309
309
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
310
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
311
310
|
};
|
|
312
311
|
export {};
|
|
@@ -47,7 +47,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
47
47
|
name: string;
|
|
48
48
|
type: string;
|
|
49
49
|
}[]>;
|
|
50
|
-
create: ({ data }: {
|
|
50
|
+
create: ({ data, }: {
|
|
51
51
|
data: Omit<any, DefaultOmitFields>;
|
|
52
52
|
}) => Promise<{
|
|
53
53
|
createdatetime: Date | null;
|
|
@@ -98,7 +98,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
98
98
|
area_name: string;
|
|
99
99
|
postcode_string: string | null;
|
|
100
100
|
} | null>;
|
|
101
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
101
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
102
102
|
createdatetime: Date | null;
|
|
103
103
|
createuserid: bigint;
|
|
104
104
|
updatedatetime: Date | null;
|
|
@@ -112,7 +112,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
112
112
|
area_name: string;
|
|
113
113
|
postcode_string: string | null;
|
|
114
114
|
}[]>;
|
|
115
|
-
count: ({ where }?: {
|
|
115
|
+
count: ({ where, }?: {
|
|
116
116
|
where?: Record<string, any>;
|
|
117
117
|
}) => Promise<number>;
|
|
118
118
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -137,7 +137,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
137
137
|
area_name: string;
|
|
138
138
|
postcode_string: string | null;
|
|
139
139
|
}>;
|
|
140
|
-
disableRollback?:
|
|
140
|
+
disableRollback?: boolean;
|
|
141
141
|
}) => Promise<{
|
|
142
142
|
createdatetime: Date | null;
|
|
143
143
|
createuserid: bigint;
|
|
@@ -219,6 +219,5 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
219
219
|
postcode_string: string | null;
|
|
220
220
|
}[]>;
|
|
221
221
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
222
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
223
222
|
};
|
|
224
223
|
export {};
|
|
@@ -47,7 +47,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
47
47
|
name: string;
|
|
48
48
|
type: string;
|
|
49
49
|
}[]>;
|
|
50
|
-
create: ({ data }: {
|
|
50
|
+
create: ({ data, }: {
|
|
51
51
|
data: Omit<any, DefaultOmitFields>;
|
|
52
52
|
}) => Promise<{
|
|
53
53
|
createdatetime: Date | null;
|
|
@@ -98,7 +98,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
98
98
|
country_name: string;
|
|
99
99
|
phone_code: number;
|
|
100
100
|
} | null>;
|
|
101
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
101
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
102
102
|
createdatetime: Date | null;
|
|
103
103
|
createuserid: bigint;
|
|
104
104
|
updatedatetime: Date | null;
|
|
@@ -112,7 +112,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
112
112
|
country_name: string;
|
|
113
113
|
phone_code: number;
|
|
114
114
|
}[]>;
|
|
115
|
-
count: ({ where }?: {
|
|
115
|
+
count: ({ where, }?: {
|
|
116
116
|
where?: Record<string, any>;
|
|
117
117
|
}) => Promise<number>;
|
|
118
118
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -137,7 +137,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
137
137
|
country_name: string;
|
|
138
138
|
phone_code: number;
|
|
139
139
|
}>;
|
|
140
|
-
disableRollback?:
|
|
140
|
+
disableRollback?: boolean;
|
|
141
141
|
}) => Promise<{
|
|
142
142
|
createdatetime: Date | null;
|
|
143
143
|
createuserid: bigint;
|
|
@@ -219,6 +219,5 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
219
219
|
phone_code: number;
|
|
220
220
|
}[]>;
|
|
221
221
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
222
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
223
222
|
};
|
|
224
223
|
export {};
|
|
@@ -46,7 +46,7 @@ export declare const StateModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
46
46
|
name: string;
|
|
47
47
|
type: string;
|
|
48
48
|
}[]>;
|
|
49
|
-
create: ({ data }: {
|
|
49
|
+
create: ({ data, }: {
|
|
50
50
|
data: Omit<any, DefaultOmitFields>;
|
|
51
51
|
}) => Promise<{
|
|
52
52
|
createdatetime: Date | null;
|
|
@@ -94,7 +94,7 @@ export declare const StateModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
94
94
|
country_id: bigint;
|
|
95
95
|
state_name: string;
|
|
96
96
|
} | null>;
|
|
97
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
97
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
98
98
|
createdatetime: Date | null;
|
|
99
99
|
createuserid: bigint;
|
|
100
100
|
updatedatetime: Date | null;
|
|
@@ -107,7 +107,7 @@ export declare const StateModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
107
107
|
country_id: bigint;
|
|
108
108
|
state_name: string;
|
|
109
109
|
}[]>;
|
|
110
|
-
count: ({ where }?: {
|
|
110
|
+
count: ({ where, }?: {
|
|
111
111
|
where?: Record<string, any>;
|
|
112
112
|
}) => Promise<number>;
|
|
113
113
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -131,7 +131,7 @@ export declare const StateModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
131
131
|
country_id: bigint;
|
|
132
132
|
state_name: string;
|
|
133
133
|
}>;
|
|
134
|
-
disableRollback?:
|
|
134
|
+
disableRollback?: boolean;
|
|
135
135
|
}) => Promise<{
|
|
136
136
|
createdatetime: Date | null;
|
|
137
137
|
createuserid: bigint;
|
|
@@ -208,6 +208,5 @@ export declare const StateModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
208
208
|
state_name: string;
|
|
209
209
|
}[]>;
|
|
210
210
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
211
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
212
211
|
};
|
|
213
212
|
export {};
|
|
@@ -55,7 +55,7 @@ export declare const RepositoryCartonModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
55
55
|
name: string;
|
|
56
56
|
type: string;
|
|
57
57
|
}[]>;
|
|
58
|
-
create: ({ data }: {
|
|
58
|
+
create: ({ data, }: {
|
|
59
59
|
data: Omit<any, DefaultOmitFields>;
|
|
60
60
|
}) => Promise<{
|
|
61
61
|
createdatetime: Date | null;
|
|
@@ -130,7 +130,7 @@ export declare const RepositoryCartonModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
130
130
|
carton_number: string | null;
|
|
131
131
|
carton_description: string | null;
|
|
132
132
|
} | null>;
|
|
133
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
133
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
134
134
|
createdatetime: Date | null;
|
|
135
135
|
createuserid: bigint;
|
|
136
136
|
updatedatetime: Date | null;
|
|
@@ -152,7 +152,7 @@ export declare const RepositoryCartonModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
152
152
|
carton_number: string | null;
|
|
153
153
|
carton_description: string | null;
|
|
154
154
|
}[]>;
|
|
155
|
-
count: ({ where }?: {
|
|
155
|
+
count: ({ where, }?: {
|
|
156
156
|
where?: Record<string, any>;
|
|
157
157
|
}) => Promise<number>;
|
|
158
158
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -185,7 +185,7 @@ export declare const RepositoryCartonModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
185
185
|
carton_number: string | null;
|
|
186
186
|
carton_description: string | null;
|
|
187
187
|
}>;
|
|
188
|
-
disableRollback?:
|
|
188
|
+
disableRollback?: boolean;
|
|
189
189
|
}) => Promise<{
|
|
190
190
|
createdatetime: Date | null;
|
|
191
191
|
createuserid: bigint;
|
|
@@ -307,6 +307,5 @@ export declare const RepositoryCartonModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
307
307
|
carton_description: string | null;
|
|
308
308
|
}[]>;
|
|
309
309
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
310
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
311
310
|
};
|
|
312
311
|
export {};
|
|
@@ -51,7 +51,7 @@ export declare const RepositoryContainerModel: ({ ...rest }: DefaultServiceProps
|
|
|
51
51
|
name: string;
|
|
52
52
|
type: string;
|
|
53
53
|
}[]>;
|
|
54
|
-
create: ({ data }: {
|
|
54
|
+
create: ({ data, }: {
|
|
55
55
|
data: Omit<any, DefaultOmitFields>;
|
|
56
56
|
}) => Promise<{
|
|
57
57
|
createdatetime: Date | null;
|
|
@@ -114,7 +114,7 @@ export declare const RepositoryContainerModel: ({ ...rest }: DefaultServiceProps
|
|
|
114
114
|
load_date: Date | null;
|
|
115
115
|
arrival_date: Date | null;
|
|
116
116
|
} | null>;
|
|
117
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
117
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
118
118
|
createdatetime: Date | null;
|
|
119
119
|
createuserid: bigint;
|
|
120
120
|
updatedatetime: Date | null;
|
|
@@ -132,7 +132,7 @@ export declare const RepositoryContainerModel: ({ ...rest }: DefaultServiceProps
|
|
|
132
132
|
load_date: Date | null;
|
|
133
133
|
arrival_date: Date | null;
|
|
134
134
|
}[]>;
|
|
135
|
-
count: ({ where }?: {
|
|
135
|
+
count: ({ where, }?: {
|
|
136
136
|
where?: Record<string, any>;
|
|
137
137
|
}) => Promise<number>;
|
|
138
138
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -161,7 +161,7 @@ export declare const RepositoryContainerModel: ({ ...rest }: DefaultServiceProps
|
|
|
161
161
|
load_date: Date | null;
|
|
162
162
|
arrival_date: Date | null;
|
|
163
163
|
}>;
|
|
164
|
-
disableRollback?:
|
|
164
|
+
disableRollback?: boolean;
|
|
165
165
|
}) => Promise<{
|
|
166
166
|
createdatetime: Date | null;
|
|
167
167
|
createuserid: bigint;
|
|
@@ -263,6 +263,5 @@ export declare const RepositoryContainerModel: ({ ...rest }: DefaultServiceProps
|
|
|
263
263
|
arrival_date: Date | null;
|
|
264
264
|
}[]>;
|
|
265
265
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
266
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
267
266
|
};
|
|
268
267
|
export {};
|
|
@@ -48,7 +48,7 @@ export declare const RepositoryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
48
48
|
name: string;
|
|
49
49
|
type: string;
|
|
50
50
|
}[]>;
|
|
51
|
-
create: ({ data }: {
|
|
51
|
+
create: ({ data, }: {
|
|
52
52
|
data: Omit<any, DefaultOmitFields>;
|
|
53
53
|
}) => Promise<{
|
|
54
54
|
createdatetime: Date | null;
|
|
@@ -102,7 +102,7 @@ export declare const RepositoryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
102
102
|
repository_date: Date | null;
|
|
103
103
|
repository_type: string | null;
|
|
104
104
|
} | null>;
|
|
105
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
105
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
106
106
|
createdatetime: Date | null;
|
|
107
107
|
createuserid: bigint;
|
|
108
108
|
updatedatetime: Date | null;
|
|
@@ -117,7 +117,7 @@ export declare const RepositoryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
117
117
|
repository_date: Date | null;
|
|
118
118
|
repository_type: string | null;
|
|
119
119
|
}[]>;
|
|
120
|
-
count: ({ where }?: {
|
|
120
|
+
count: ({ where, }?: {
|
|
121
121
|
where?: Record<string, any>;
|
|
122
122
|
}) => Promise<number>;
|
|
123
123
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -143,7 +143,7 @@ export declare const RepositoryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
143
143
|
repository_date: Date | null;
|
|
144
144
|
repository_type: string | null;
|
|
145
145
|
}>;
|
|
146
|
-
disableRollback?:
|
|
146
|
+
disableRollback?: boolean;
|
|
147
147
|
}) => Promise<{
|
|
148
148
|
createdatetime: Date | null;
|
|
149
149
|
createuserid: bigint;
|
|
@@ -230,6 +230,5 @@ export declare const RepositoryModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
230
230
|
repository_type: string | null;
|
|
231
231
|
}[]>;
|
|
232
232
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
233
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
234
233
|
};
|
|
235
234
|
export {};
|
|
@@ -57,7 +57,7 @@ export declare const RepositoryPackageItemModel: ({ ...rest }: DefaultServicePro
|
|
|
57
57
|
name: string;
|
|
58
58
|
type: string;
|
|
59
59
|
}[]>;
|
|
60
|
-
create: ({ data }: {
|
|
60
|
+
create: ({ data, }: {
|
|
61
61
|
data: Omit<any, DefaultOmitFields>;
|
|
62
62
|
}) => Promise<{
|
|
63
63
|
createdatetime: Date | null;
|
|
@@ -138,7 +138,7 @@ export declare const RepositoryPackageItemModel: ({ ...rest }: DefaultServicePro
|
|
|
138
138
|
repository_package_item_id: bigint;
|
|
139
139
|
item_number: string | null;
|
|
140
140
|
} | null>;
|
|
141
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
141
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
142
142
|
createdatetime: Date | null;
|
|
143
143
|
createuserid: bigint;
|
|
144
144
|
updatedatetime: Date | null;
|
|
@@ -162,7 +162,7 @@ export declare const RepositoryPackageItemModel: ({ ...rest }: DefaultServicePro
|
|
|
162
162
|
repository_package_item_id: bigint;
|
|
163
163
|
item_number: string | null;
|
|
164
164
|
}[]>;
|
|
165
|
-
count: ({ where }?: {
|
|
165
|
+
count: ({ where, }?: {
|
|
166
166
|
where?: Record<string, any>;
|
|
167
167
|
}) => Promise<number>;
|
|
168
168
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -197,7 +197,7 @@ export declare const RepositoryPackageItemModel: ({ ...rest }: DefaultServicePro
|
|
|
197
197
|
repository_package_item_id: bigint;
|
|
198
198
|
item_number: string | null;
|
|
199
199
|
}>;
|
|
200
|
-
disableRollback?:
|
|
200
|
+
disableRollback?: boolean;
|
|
201
201
|
}) => Promise<{
|
|
202
202
|
createdatetime: Date | null;
|
|
203
203
|
createuserid: bigint;
|
|
@@ -329,6 +329,5 @@ export declare const RepositoryPackageItemModel: ({ ...rest }: DefaultServicePro
|
|
|
329
329
|
item_number: string | null;
|
|
330
330
|
}[]>;
|
|
331
331
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
332
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
333
332
|
};
|
|
334
333
|
export {};
|
|
@@ -56,7 +56,7 @@ export declare const RepositoryPackageModel: ({ ...rest }: DefaultServiceProps)
|
|
|
56
56
|
name: string;
|
|
57
57
|
type: string;
|
|
58
58
|
}[]>;
|
|
59
|
-
create: ({ data }: {
|
|
59
|
+
create: ({ data, }: {
|
|
60
60
|
data: Omit<any, DefaultOmitFields>;
|
|
61
61
|
}) => Promise<{
|
|
62
62
|
createdatetime: Date | null;
|
|
@@ -134,7 +134,7 @@ export declare const RepositoryPackageModel: ({ ...rest }: DefaultServiceProps)
|
|
|
134
134
|
package_number: string | null;
|
|
135
135
|
package_description: string | null;
|
|
136
136
|
} | null>;
|
|
137
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
137
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
138
138
|
createdatetime: Date | null;
|
|
139
139
|
createuserid: bigint;
|
|
140
140
|
updatedatetime: Date | null;
|
|
@@ -157,7 +157,7 @@ export declare const RepositoryPackageModel: ({ ...rest }: DefaultServiceProps)
|
|
|
157
157
|
package_number: string | null;
|
|
158
158
|
package_description: string | null;
|
|
159
159
|
}[]>;
|
|
160
|
-
count: ({ where }?: {
|
|
160
|
+
count: ({ where, }?: {
|
|
161
161
|
where?: Record<string, any>;
|
|
162
162
|
}) => Promise<number>;
|
|
163
163
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -191,7 +191,7 @@ export declare const RepositoryPackageModel: ({ ...rest }: DefaultServiceProps)
|
|
|
191
191
|
package_number: string | null;
|
|
192
192
|
package_description: string | null;
|
|
193
193
|
}>;
|
|
194
|
-
disableRollback?:
|
|
194
|
+
disableRollback?: boolean;
|
|
195
195
|
}) => Promise<{
|
|
196
196
|
createdatetime: Date | null;
|
|
197
197
|
createuserid: bigint;
|
|
@@ -318,6 +318,5 @@ export declare const RepositoryPackageModel: ({ ...rest }: DefaultServiceProps)
|
|
|
318
318
|
package_description: string | null;
|
|
319
319
|
}[]>;
|
|
320
320
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
321
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
322
321
|
};
|
|
323
322
|
export {};
|
|
@@ -54,7 +54,7 @@ export declare const RepositoryPalletModel: ({ ...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 RepositoryPalletModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
126
126
|
is_fragile: boolean | null;
|
|
127
127
|
batch_number: string | null;
|
|
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 RepositoryPalletModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
147
147
|
is_fragile: boolean | null;
|
|
148
148
|
batch_number: string | null;
|
|
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 RepositoryPalletModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
179
179
|
is_fragile: boolean | null;
|
|
180
180
|
batch_number: string | null;
|
|
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 RepositoryPalletModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
296
296
|
batch_number: string | null;
|
|
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 {};
|