storemw-core-api 1.0.162 → 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/controllers/index.d.ts +1 -0
- package/dist/controllers/index.js +4 -2
- package/dist/controllers/index.js.map +1 -1
- package/dist/controllers/scheduler/schedulerSqlController.d.ts +5 -0
- package/dist/controllers/scheduler/schedulerSqlController.js +77 -0
- package/dist/controllers/scheduler/schedulerSqlController.js.map +1 -0
- package/dist/features/index.d.ts +3 -0
- package/dist/features/index.js +5 -1
- package/dist/features/index.js.map +1 -1
- package/dist/features/scheduler_sql/schedulerSqlRegister.d.ts +6 -0
- package/dist/features/scheduler_sql/schedulerSqlRegister.js +11 -0
- package/dist/features/scheduler_sql/schedulerSqlRegister.js.map +1 -0
- package/dist/features/scheduler_sql/schedulerSqlRegistry.d.ts +3 -0
- package/dist/features/scheduler_sql/schedulerSqlRegistry.js +50 -0
- package/dist/features/scheduler_sql/schedulerSqlRegistry.js.map +1 -0
- package/dist/features/scheduler_sql/schedulerSqlType.d.ts +31 -0
- package/dist/features/scheduler_sql/schedulerSqlType.js +3 -0
- package/dist/features/scheduler_sql/schedulerSqlType.js.map +1 -0
- 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/middlewares/route/index.d.ts +1 -1
- package/dist/middlewares/route/index.js +2 -1
- package/dist/middlewares/route/index.js.map +1 -1
- package/dist/middlewares/route/validateScheduler.d.ts +1 -0
- package/dist/middlewares/route/validateScheduler.js +6 -1
- package/dist/middlewares/route/validateScheduler.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/routes/scheduler/schedulerSqlRoutes.d.ts +2 -0
- package/dist/routes/scheduler/schedulerSqlRoutes.js +11 -0
- package/dist/routes/scheduler/schedulerSqlRoutes.js.map +1 -0
- package/dist/routes/scheduler/schedulersRoutes.js +3 -0
- package/dist/routes/scheduler/schedulersRoutes.js.map +1 -1
- 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/schema/payload/index.d.ts +2 -0
- package/dist/schema/payload/index.js +3 -1
- package/dist/schema/payload/index.js.map +1 -1
- package/dist/schema/payload/scheduler/schemaSchedulerSql.d.ts +69 -0
- package/dist/schema/payload/scheduler/schemaSchedulerSql.js +19 -0
- package/dist/schema/payload/scheduler/schemaSchedulerSql.js.map +1 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.js +3 -1
- package/dist/services/index.js.map +1 -1
- package/dist/services/scheduler/SchedulerSqlService.d.ts +24 -0
- package/dist/services/scheduler/SchedulerSqlService.js +170 -0
- package/dist/services/scheduler/SchedulerSqlService.js.map +1 -0
- package/dist/utils/serviceUtils.d.ts +2 -0
- package/dist/utils/serviceUtils.js.map +1 -1
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ export declare const BusinessModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
59
59
|
name: string;
|
|
60
60
|
type: string;
|
|
61
61
|
}[]>;
|
|
62
|
-
create: ({ data }: {
|
|
62
|
+
create: ({ data, }: {
|
|
63
63
|
data: Omit<any, DefaultOmitFields>;
|
|
64
64
|
}) => Promise<{
|
|
65
65
|
createdatetime: Date | null;
|
|
@@ -134,7 +134,7 @@ export declare const BusinessModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
134
134
|
website: string | null;
|
|
135
135
|
company_contact: 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;
|
|
@@ -156,7 +156,7 @@ export declare const BusinessModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
156
156
|
website: string | null;
|
|
157
157
|
company_contact: string | null;
|
|
158
158
|
}[]>;
|
|
159
|
-
count: ({ where }?: {
|
|
159
|
+
count: ({ where, }?: {
|
|
160
160
|
where?: Record<string, any>;
|
|
161
161
|
}) => Promise<number>;
|
|
162
162
|
aggregate: ({ field, operation, where, }: {
|
|
@@ -189,7 +189,7 @@ export declare const BusinessModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
189
189
|
website: string | null;
|
|
190
190
|
company_contact: string | null;
|
|
191
191
|
}>;
|
|
192
|
-
disableRollback?:
|
|
192
|
+
disableRollback?: boolean;
|
|
193
193
|
}) => Promise<{
|
|
194
194
|
createdatetime: Date | null;
|
|
195
195
|
createuserid: bigint;
|
|
@@ -311,6 +311,5 @@ export declare const BusinessModel: ({ ...rest }: DefaultServiceProps) => {
|
|
|
311
311
|
company_contact: string | null;
|
|
312
312
|
}[]>;
|
|
313
313
|
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
314
|
-
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
315
314
|
};
|
|
316
315
|
export {};
|
|
@@ -47,7 +47,7 @@ export declare const DocumentAmountModel: ({ ...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 DocumentAmountModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
98
98
|
document_amount_id: bigint;
|
|
99
99
|
sub_amount: Prisma.Decimal;
|
|
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 DocumentAmountModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
112
112
|
document_amount_id: bigint;
|
|
113
113
|
sub_amount: Prisma.Decimal;
|
|
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 DocumentAmountModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
137
137
|
document_amount_id: bigint;
|
|
138
138
|
sub_amount: Prisma.Decimal;
|
|
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 DocumentAmountModel: ({ ...rest }: DefaultServiceProps) =>
|
|
|
219
219
|
sub_amount: Prisma.Decimal;
|
|
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 {};
|
|
@@ -55,7 +55,7 @@ export declare const DocumentDocumentModel: ({ ...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 DocumentDocumentModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
130
130
|
reference2_label: string | null;
|
|
131
131
|
main_document_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 DocumentDocumentModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
152
152
|
reference2_label: string | null;
|
|
153
153
|
main_document_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 DocumentDocumentModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
185
185
|
reference2_label: string | null;
|
|
186
186
|
main_document_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 DocumentDocumentModel: ({ ...rest }: DefaultServiceProps) =
|
|
|
307
307
|
main_document_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 {};
|
|
@@ -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 {};
|