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 DocumentItemModel: ({ ...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 DocumentItemModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
126
126
|
uom_id: bigint | null;
|
|
127
127
|
document_doc_id: bigint | 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 DocumentItemModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
147
147
|
uom_id: bigint | null;
|
|
148
148
|
document_doc_id: bigint | 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 DocumentItemModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
179
179
|
uom_id: bigint | null;
|
|
180
180
|
document_doc_id: bigint | 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 DocumentItemModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
296
296
|
document_doc_id: bigint | 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 {};
|
|
@@ -46,7 +46,7 @@ export declare const DocumentLocationModel: ({ ...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 DocumentLocationModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
94
94
|
location_id: bigint;
|
|
95
95
|
document_location_id: bigint;
|
|
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 DocumentLocationModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
107
107
|
location_id: bigint;
|
|
108
108
|
document_location_id: bigint;
|
|
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 DocumentLocationModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
131
131
|
location_id: bigint;
|
|
132
132
|
document_location_id: bigint;
|
|
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 DocumentLocationModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
208
208
|
document_location_id: bigint;
|
|
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 {};
|
|
@@ -62,7 +62,7 @@ export declare const DocumentModel: ({ ...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;
|
|
@@ -158,7 +158,7 @@ export declare const DocumentModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
158
158
|
paid_amount: Prisma.Decimal;
|
|
159
159
|
balance_amount: Prisma.Decimal;
|
|
160
160
|
} | null>;
|
|
161
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
161
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
162
162
|
createdatetime: Date | null;
|
|
163
163
|
createuserid: bigint;
|
|
164
164
|
updatedatetime: Date | null;
|
|
@@ -187,7 +187,7 @@ export declare const DocumentModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
187
187
|
paid_amount: Prisma.Decimal;
|
|
188
188
|
balance_amount: Prisma.Decimal;
|
|
189
189
|
}[]>;
|
|
190
|
-
count: ({ where }?: {
|
|
190
|
+
count: ({ where, }?: {
|
|
191
191
|
where?: Record<string, any>;
|
|
192
192
|
}) => Promise<number>;
|
|
193
193
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -227,7 +227,7 @@ export declare const DocumentModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
227
227
|
paid_amount: Prisma.Decimal;
|
|
228
228
|
balance_amount: Prisma.Decimal;
|
|
229
229
|
}>;
|
|
230
|
-
disableRollback?:
|
|
230
|
+
disableRollback?: boolean;
|
|
231
231
|
}) => Promise<{
|
|
232
232
|
createdatetime: Date | null;
|
|
233
233
|
createuserid: bigint;
|
|
@@ -384,6 +384,5 @@ export declare const DocumentModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
384
384
|
balance_amount: Prisma.Decimal;
|
|
385
385
|
}[]>;
|
|
386
386
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
387
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
388
387
|
};
|
|
389
388
|
export {};
|
|
@@ -55,7 +55,7 @@ export declare const DocumentPaymentModel: ({ ...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 DocumentPaymentModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
130
130
|
payment_reference: string | null;
|
|
131
131
|
payment_post_date: Date | 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 DocumentPaymentModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
152
152
|
payment_reference: string | null;
|
|
153
153
|
payment_post_date: Date | 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 DocumentPaymentModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
185
185
|
payment_reference: string | null;
|
|
186
186
|
payment_post_date: Date | 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 DocumentPaymentModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
307
307
|
payment_post_date: Date | 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 {};
|
|
@@ -60,7 +60,7 @@ export declare const DocumentProfileModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
60
60
|
name: string;
|
|
61
61
|
type: string;
|
|
62
62
|
}[]>;
|
|
63
|
-
create: ({ data }: {
|
|
63
|
+
create: ({ data, }: {
|
|
64
64
|
data: Omit<any, DefaultOmitFields>;
|
|
65
65
|
}) => Promise<{
|
|
66
66
|
createdatetime: Date | null;
|
|
@@ -150,7 +150,7 @@ export declare const DocumentProfileModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
150
150
|
contact: string | null;
|
|
151
151
|
document_type: string | null;
|
|
152
152
|
} | null>;
|
|
153
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
153
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
154
154
|
createdatetime: Date | null;
|
|
155
155
|
createuserid: bigint;
|
|
156
156
|
updatedatetime: Date | null;
|
|
@@ -177,7 +177,7 @@ export declare const DocumentProfileModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
177
177
|
contact: string | null;
|
|
178
178
|
document_type: string | null;
|
|
179
179
|
}[]>;
|
|
180
|
-
count: ({ where }?: {
|
|
180
|
+
count: ({ where, }?: {
|
|
181
181
|
where?: Record<string, any>;
|
|
182
182
|
}) => Promise<number>;
|
|
183
183
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -215,7 +215,7 @@ export declare const DocumentProfileModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
215
215
|
contact: string | null;
|
|
216
216
|
document_type: string | null;
|
|
217
217
|
}>;
|
|
218
|
-
disableRollback?:
|
|
218
|
+
disableRollback?: boolean;
|
|
219
219
|
}) => Promise<{
|
|
220
220
|
createdatetime: Date | null;
|
|
221
221
|
createuserid: bigint;
|
|
@@ -362,6 +362,5 @@ export declare const DocumentProfileModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
362
362
|
document_type: string | null;
|
|
363
363
|
}[]>;
|
|
364
364
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
365
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
366
365
|
};
|
|
367
366
|
export {};
|
|
@@ -51,7 +51,7 @@ export declare const DocumentTotalModel: ({ ...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 DocumentTotalModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
114
114
|
description: string | null;
|
|
115
115
|
total_percentage: Prisma.Decimal | 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 DocumentTotalModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
132
132
|
description: string | null;
|
|
133
133
|
total_percentage: Prisma.Decimal | 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 DocumentTotalModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
161
161
|
description: string | null;
|
|
162
162
|
total_percentage: Prisma.Decimal | 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 DocumentTotalModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
263
263
|
total_percentage: Prisma.Decimal | 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 {};
|
|
@@ -70,7 +70,7 @@ export declare const FileModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
70
70
|
name: string;
|
|
71
71
|
type: string;
|
|
72
72
|
}[]>;
|
|
73
|
-
create: ({ data }: {
|
|
73
|
+
create: ({ data, }: {
|
|
74
74
|
data: Omit<any, DefaultOmitFields>;
|
|
75
75
|
}) => Promise<{
|
|
76
76
|
createdatetime: Date | null;
|
|
@@ -190,7 +190,7 @@ export declare const FileModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
190
190
|
refer_id_2: bigint;
|
|
191
191
|
refer_label_2: string | null;
|
|
192
192
|
} | null>;
|
|
193
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
193
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
194
194
|
createdatetime: Date | null;
|
|
195
195
|
createuserid: bigint;
|
|
196
196
|
updatedatetime: Date | null;
|
|
@@ -227,7 +227,7 @@ export declare const FileModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
227
227
|
refer_id_2: bigint;
|
|
228
228
|
refer_label_2: string | null;
|
|
229
229
|
}[]>;
|
|
230
|
-
count: ({ where }?: {
|
|
230
|
+
count: ({ where, }?: {
|
|
231
231
|
where?: Record<string, any>;
|
|
232
232
|
}) => Promise<number>;
|
|
233
233
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -275,7 +275,7 @@ export declare const FileModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
275
275
|
refer_id_2: bigint;
|
|
276
276
|
refer_label_2: string | null;
|
|
277
277
|
}>;
|
|
278
|
-
disableRollback?:
|
|
278
|
+
disableRollback?: boolean;
|
|
279
279
|
}) => Promise<{
|
|
280
280
|
createdatetime: Date | null;
|
|
281
281
|
createuserid: bigint;
|
|
@@ -472,6 +472,5 @@ export declare const FileModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
472
472
|
refer_label_2: string | null;
|
|
473
473
|
}[]>;
|
|
474
474
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
475
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
476
475
|
};
|
|
477
476
|
export {};
|
|
@@ -51,7 +51,7 @@ export declare const GroupModel: ({ ...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;
|
|
@@ -102,7 +102,7 @@ export declare const GroupModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
102
102
|
group_description: string | null;
|
|
103
103
|
group_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;
|
|
@@ -116,7 +116,7 @@ export declare const GroupModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
116
116
|
group_description: string | null;
|
|
117
117
|
group_type: string | null;
|
|
118
118
|
}[]>;
|
|
119
|
-
count: ({ where }?: {
|
|
119
|
+
count: ({ where, }?: {
|
|
120
120
|
where?: Record<string, any>;
|
|
121
121
|
}) => Promise<number>;
|
|
122
122
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -141,7 +141,7 @@ export declare const GroupModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
141
141
|
group_description: string | null;
|
|
142
142
|
group_type: string | null;
|
|
143
143
|
}>;
|
|
144
|
-
disableRollback?:
|
|
144
|
+
disableRollback?: boolean;
|
|
145
145
|
}) => Promise<{
|
|
146
146
|
createdatetime: Date | null;
|
|
147
147
|
createuserid: bigint;
|
|
@@ -223,6 +223,5 @@ export declare const GroupModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
223
223
|
group_type: string | null;
|
|
224
224
|
}[]>;
|
|
225
225
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
226
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
227
226
|
};
|
|
228
227
|
export {};
|
|
@@ -50,7 +50,7 @@ export declare const GroupOwnerModel: ({ ...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;
|
|
@@ -98,7 +98,7 @@ export declare const GroupOwnerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
98
98
|
group_id: bigint;
|
|
99
99
|
group_owner_id: bigint;
|
|
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;
|
|
@@ -111,7 +111,7 @@ export declare const GroupOwnerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
111
111
|
group_id: bigint;
|
|
112
112
|
group_owner_id: bigint;
|
|
113
113
|
}[]>;
|
|
114
|
-
count: ({ where }?: {
|
|
114
|
+
count: ({ where, }?: {
|
|
115
115
|
where?: Record<string, any>;
|
|
116
116
|
}) => Promise<number>;
|
|
117
117
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -135,7 +135,7 @@ export declare const GroupOwnerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
135
135
|
group_id: bigint;
|
|
136
136
|
group_owner_id: bigint;
|
|
137
137
|
}>;
|
|
138
|
-
disableRollback?:
|
|
138
|
+
disableRollback?: boolean;
|
|
139
139
|
}) => Promise<{
|
|
140
140
|
createdatetime: Date | null;
|
|
141
141
|
createuserid: bigint;
|
|
@@ -212,6 +212,5 @@ export declare const GroupOwnerModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
212
212
|
group_owner_id: bigint;
|
|
213
213
|
}[]>;
|
|
214
214
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
215
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
216
215
|
};
|
|
217
216
|
export {};
|
|
@@ -94,7 +94,7 @@ export declare const DocumentInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
94
94
|
name: string;
|
|
95
95
|
type: string;
|
|
96
96
|
}[]>;
|
|
97
|
-
create: ({ data }: {
|
|
97
|
+
create: ({ data, }: {
|
|
98
98
|
data: Omit<any, DefaultOmitFields>;
|
|
99
99
|
}) => Promise<{
|
|
100
100
|
createdatetime: Date | null;
|
|
@@ -274,7 +274,7 @@ export declare const DocumentInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
274
274
|
doci_trp_sampletrip_item_no: bigint | null;
|
|
275
275
|
doci_trp_samepltrip_item_date: string | null;
|
|
276
276
|
} | null>;
|
|
277
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
277
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
278
278
|
createdatetime: Date | null;
|
|
279
279
|
createuserid: bigint;
|
|
280
280
|
updatedatetime: Date | null;
|
|
@@ -331,7 +331,7 @@ export declare const DocumentInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
331
331
|
doci_trp_sampletrip_item_no: bigint | null;
|
|
332
332
|
doci_trp_samepltrip_item_date: string | null;
|
|
333
333
|
}[]>;
|
|
334
|
-
count: ({ where }?: {
|
|
334
|
+
count: ({ where, }?: {
|
|
335
335
|
where?: Record<string, any>;
|
|
336
336
|
}) => Promise<number>;
|
|
337
337
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -399,7 +399,7 @@ export declare const DocumentInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
399
399
|
doci_trp_sampletrip_item_no: bigint | null;
|
|
400
400
|
doci_trp_samepltrip_item_date: string | null;
|
|
401
401
|
}>;
|
|
402
|
-
disableRollback?:
|
|
402
|
+
disableRollback?: boolean;
|
|
403
403
|
}) => Promise<{
|
|
404
404
|
createdatetime: Date | null;
|
|
405
405
|
createuserid: bigint;
|
|
@@ -696,6 +696,5 @@ export declare const DocumentInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
696
696
|
doci_trp_samepltrip_item_date: string | null;
|
|
697
697
|
}[]>;
|
|
698
698
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
699
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
700
699
|
};
|
|
701
700
|
export {};
|
|
@@ -62,7 +62,7 @@ export declare const InjectionFieldModel: ({ ...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;
|
|
@@ -125,7 +125,7 @@ export declare const InjectionFieldModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
125
125
|
multiple_count: bigint | null;
|
|
126
126
|
merge_multiple_inline: bigint;
|
|
127
127
|
} | null>;
|
|
128
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
128
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
129
129
|
createdatetime: Date | null;
|
|
130
130
|
createuserid: bigint;
|
|
131
131
|
updatedatetime: Date | null;
|
|
@@ -143,7 +143,7 @@ export declare const InjectionFieldModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
143
143
|
multiple_count: bigint | null;
|
|
144
144
|
merge_multiple_inline: bigint;
|
|
145
145
|
}[]>;
|
|
146
|
-
count: ({ where }?: {
|
|
146
|
+
count: ({ where, }?: {
|
|
147
147
|
where?: Record<string, any>;
|
|
148
148
|
}) => Promise<number>;
|
|
149
149
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -172,7 +172,7 @@ export declare const InjectionFieldModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
172
172
|
multiple_count: bigint | null;
|
|
173
173
|
merge_multiple_inline: bigint;
|
|
174
174
|
}>;
|
|
175
|
-
disableRollback?:
|
|
175
|
+
disableRollback?: boolean;
|
|
176
176
|
}) => Promise<{
|
|
177
177
|
createdatetime: Date | null;
|
|
178
178
|
createuserid: bigint;
|
|
@@ -274,6 +274,5 @@ export declare const InjectionFieldModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
274
274
|
merge_multiple_inline: bigint;
|
|
275
275
|
}[]>;
|
|
276
276
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
277
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
278
277
|
};
|
|
279
278
|
export {};
|
|
@@ -88,7 +88,7 @@ export declare const ItemInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
88
88
|
name: string;
|
|
89
89
|
type: string;
|
|
90
90
|
}[]>;
|
|
91
|
-
create: ({ data }: {
|
|
91
|
+
create: ({ data, }: {
|
|
92
92
|
data: Omit<any, DefaultOmitFields>;
|
|
93
93
|
}) => Promise<{
|
|
94
94
|
createdatetime: Date | null;
|
|
@@ -250,7 +250,7 @@ export declare const ItemInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
250
250
|
removed_itm_ct_samplefield: string | null;
|
|
251
251
|
itm_ct_enable: string | null;
|
|
252
252
|
} | null>;
|
|
253
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
253
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
254
254
|
createdatetime: Date | null;
|
|
255
255
|
createuserid: bigint;
|
|
256
256
|
updatedatetime: Date | null;
|
|
@@ -301,7 +301,7 @@ export declare const ItemInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
301
301
|
removed_itm_ct_samplefield: string | null;
|
|
302
302
|
itm_ct_enable: string | null;
|
|
303
303
|
}[]>;
|
|
304
|
-
count: ({ where }?: {
|
|
304
|
+
count: ({ where, }?: {
|
|
305
305
|
where?: Record<string, any>;
|
|
306
306
|
}) => Promise<number>;
|
|
307
307
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -363,7 +363,7 @@ export declare const ItemInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
363
363
|
removed_itm_ct_samplefield: string | null;
|
|
364
364
|
itm_ct_enable: string | null;
|
|
365
365
|
}>;
|
|
366
|
-
disableRollback?:
|
|
366
|
+
disableRollback?: boolean;
|
|
367
367
|
}) => Promise<{
|
|
368
368
|
createdatetime: Date | null;
|
|
369
369
|
createuserid: bigint;
|
|
@@ -630,6 +630,5 @@ export declare const ItemInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
630
630
|
itm_ct_enable: string | null;
|
|
631
631
|
}[]>;
|
|
632
632
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
633
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
634
633
|
};
|
|
635
634
|
export {};
|
|
@@ -51,7 +51,7 @@ export declare const LogisticInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
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;
|
|
@@ -102,7 +102,7 @@ export declare const LogisticInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
102
102
|
logistic_id: bigint;
|
|
103
103
|
lgt_tpt_repo_t3e2s2: Prisma.Decimal | 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;
|
|
@@ -116,7 +116,7 @@ export declare const LogisticInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
116
116
|
logistic_id: bigint;
|
|
117
117
|
lgt_tpt_repo_t3e2s2: Prisma.Decimal | null;
|
|
118
118
|
}[]>;
|
|
119
|
-
count: ({ where }?: {
|
|
119
|
+
count: ({ where, }?: {
|
|
120
120
|
where?: Record<string, any>;
|
|
121
121
|
}) => Promise<number>;
|
|
122
122
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -141,7 +141,7 @@ export declare const LogisticInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
141
141
|
logistic_id: bigint;
|
|
142
142
|
lgt_tpt_repo_t3e2s2: Prisma.Decimal | null;
|
|
143
143
|
}>;
|
|
144
|
-
disableRollback?:
|
|
144
|
+
disableRollback?: boolean;
|
|
145
145
|
}) => Promise<{
|
|
146
146
|
createdatetime: Date | null;
|
|
147
147
|
createuserid: bigint;
|
|
@@ -223,6 +223,5 @@ export declare const LogisticInjectionFieldModel: ({ ...rest }: DefaultServicePr
|
|
|
223
223
|
lgt_tpt_repo_t3e2s2: Prisma.Decimal | null;
|
|
224
224
|
}[]>;
|
|
225
225
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
226
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
227
226
|
};
|
|
228
227
|
export {};
|
|
@@ -56,7 +56,7 @@ export declare const RepositoryInjectionFieldModel: ({ ...rest }: DefaultService
|
|
|
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;
|
|
@@ -122,7 +122,7 @@ export declare const RepositoryInjectionFieldModel: ({ ...rest }: DefaultService
|
|
|
122
122
|
repo_itme_pk_pk_cont_item: Prisma.Decimal | null;
|
|
123
123
|
repo_itme_cont_pk_cont_item: Prisma.Decimal | null;
|
|
124
124
|
} | null>;
|
|
125
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
125
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
126
126
|
createdatetime: Date | null;
|
|
127
127
|
createuserid: bigint;
|
|
128
128
|
updatedatetime: Date | null;
|
|
@@ -141,7 +141,7 @@ export declare const RepositoryInjectionFieldModel: ({ ...rest }: DefaultService
|
|
|
141
141
|
repo_itme_pk_pk_cont_item: Prisma.Decimal | null;
|
|
142
142
|
repo_itme_cont_pk_cont_item: Prisma.Decimal | null;
|
|
143
143
|
}[]>;
|
|
144
|
-
count: ({ where }?: {
|
|
144
|
+
count: ({ where, }?: {
|
|
145
145
|
where?: Record<string, any>;
|
|
146
146
|
}) => Promise<number>;
|
|
147
147
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -171,7 +171,7 @@ export declare const RepositoryInjectionFieldModel: ({ ...rest }: DefaultService
|
|
|
171
171
|
repo_itme_pk_pk_cont_item: Prisma.Decimal | null;
|
|
172
172
|
repo_itme_cont_pk_cont_item: Prisma.Decimal | null;
|
|
173
173
|
}>;
|
|
174
|
-
disableRollback?:
|
|
174
|
+
disableRollback?: boolean;
|
|
175
175
|
}) => Promise<{
|
|
176
176
|
createdatetime: Date | null;
|
|
177
177
|
createuserid: bigint;
|
|
@@ -278,6 +278,5 @@ export declare const RepositoryInjectionFieldModel: ({ ...rest }: DefaultService
|
|
|
278
278
|
repo_itme_cont_pk_cont_item: Prisma.Decimal | null;
|
|
279
279
|
}[]>;
|
|
280
280
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
281
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
282
281
|
};
|
|
283
282
|
export {};
|
|
@@ -69,7 +69,7 @@ export declare const UserInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
69
69
|
name: string;
|
|
70
70
|
type: string;
|
|
71
71
|
}[]>;
|
|
72
|
-
create: ({ data }: {
|
|
72
|
+
create: ({ data, }: {
|
|
73
73
|
data: Omit<any, DefaultOmitFields>;
|
|
74
74
|
}) => Promise<{
|
|
75
75
|
createdatetime: Date | null;
|
|
@@ -174,7 +174,7 @@ export declare const UserInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
174
174
|
usr_ret_enable: string | null;
|
|
175
175
|
usr_admin_is_oku: number | null;
|
|
176
176
|
} | null>;
|
|
177
|
-
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
177
|
+
list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
|
|
178
178
|
createdatetime: Date | null;
|
|
179
179
|
createuserid: bigint;
|
|
180
180
|
updatedatetime: Date | null;
|
|
@@ -206,7 +206,7 @@ export declare const UserInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
206
206
|
usr_ret_enable: string | null;
|
|
207
207
|
usr_admin_is_oku: number | null;
|
|
208
208
|
}[]>;
|
|
209
|
-
count: ({ where }?: {
|
|
209
|
+
count: ({ where, }?: {
|
|
210
210
|
where?: Record<string, any>;
|
|
211
211
|
}) => Promise<number>;
|
|
212
212
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -249,7 +249,7 @@ export declare const UserInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
249
249
|
usr_ret_enable: string | null;
|
|
250
250
|
usr_admin_is_oku: number | null;
|
|
251
251
|
}>;
|
|
252
|
-
disableRollback?:
|
|
252
|
+
disableRollback?: boolean;
|
|
253
253
|
}) => Promise<{
|
|
254
254
|
createdatetime: Date | null;
|
|
255
255
|
createuserid: bigint;
|
|
@@ -421,6 +421,5 @@ export declare const UserInjectionFieldModel: ({ ...rest }: DefaultServiceProps)
|
|
|
421
421
|
usr_admin_is_oku: number | null;
|
|
422
422
|
}[]>;
|
|
423
423
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
424
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
425
424
|
};
|
|
426
425
|
export {};
|