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.
Files changed (110) hide show
  1. package/dist/controllers/index.d.ts +1 -0
  2. package/dist/controllers/index.js +4 -2
  3. package/dist/controllers/index.js.map +1 -1
  4. package/dist/controllers/scheduler/schedulerSqlController.d.ts +5 -0
  5. package/dist/controllers/scheduler/schedulerSqlController.js +77 -0
  6. package/dist/controllers/scheduler/schedulerSqlController.js.map +1 -0
  7. package/dist/features/index.d.ts +3 -0
  8. package/dist/features/index.js +5 -1
  9. package/dist/features/index.js.map +1 -1
  10. package/dist/features/scheduler_sql/schedulerSqlRegister.d.ts +6 -0
  11. package/dist/features/scheduler_sql/schedulerSqlRegister.js +11 -0
  12. package/dist/features/scheduler_sql/schedulerSqlRegister.js.map +1 -0
  13. package/dist/features/scheduler_sql/schedulerSqlRegistry.d.ts +3 -0
  14. package/dist/features/scheduler_sql/schedulerSqlRegistry.js +50 -0
  15. package/dist/features/scheduler_sql/schedulerSqlRegistry.js.map +1 -0
  16. package/dist/features/scheduler_sql/schedulerSqlType.d.ts +31 -0
  17. package/dist/features/scheduler_sql/schedulerSqlType.js +3 -0
  18. package/dist/features/scheduler_sql/schedulerSqlType.js.map +1 -0
  19. package/dist/lib/model_factory/ModelFactory.d.ts +7 -6
  20. package/dist/lib/model_factory/ModelFactory.js +595 -197
  21. package/dist/lib/model_factory/ModelFactory.js.map +1 -1
  22. package/dist/middlewares/route/index.d.ts +1 -1
  23. package/dist/middlewares/route/index.js +2 -1
  24. package/dist/middlewares/route/index.js.map +1 -1
  25. package/dist/middlewares/route/validateScheduler.d.ts +1 -0
  26. package/dist/middlewares/route/validateScheduler.js +6 -1
  27. package/dist/middlewares/route/validateScheduler.js.map +1 -1
  28. package/dist/models/access_control/AccessControlRoleModel.d.ts +4 -5
  29. package/dist/models/access_control/AccessControlRolePolicyModel.d.ts +4 -5
  30. package/dist/models/access_control/AccessControlUserRoleModel.d.ts +4 -5
  31. package/dist/models/account/AccountModel.d.ts +4 -5
  32. package/dist/models/auth/AccessKeyModel.d.ts +4 -5
  33. package/dist/models/branch/UserBranchModel.d.ts +4 -5
  34. package/dist/models/branch_user/BranchUserModel.d.ts +4 -5
  35. package/dist/models/business/BusinessModel.d.ts +4 -5
  36. package/dist/models/document/DocumentAmountModel.d.ts +4 -5
  37. package/dist/models/document/DocumentDocumentModel.d.ts +4 -5
  38. package/dist/models/document/DocumentItemModel.d.ts +4 -5
  39. package/dist/models/document/DocumentLocationModel.d.ts +4 -5
  40. package/dist/models/document/DocumentModel.d.ts +4 -5
  41. package/dist/models/document/DocumentPaymentModel.d.ts +4 -5
  42. package/dist/models/document/DocumentProfileModel.d.ts +4 -5
  43. package/dist/models/document/DocumentTotalModel.d.ts +4 -5
  44. package/dist/models/file/FileModel.d.ts +4 -5
  45. package/dist/models/group/GroupModel.d.ts +4 -5
  46. package/dist/models/group/GroupOwnerModel.d.ts +4 -5
  47. package/dist/models/injection_field/DocumentInjectionFieldModel.d.ts +4 -5
  48. package/dist/models/injection_field/InjectionFieldModel.d.ts +4 -5
  49. package/dist/models/injection_field/ItemInjectionFieldModel.d.ts +4 -5
  50. package/dist/models/injection_field/LogisticInjectionFieldModel.d.ts +4 -5
  51. package/dist/models/injection_field/RepositoryInjectionFieldModel.d.ts +4 -5
  52. package/dist/models/injection_field/UserInjectionFieldModel.d.ts +4 -5
  53. package/dist/models/item/BrandModel.d.ts +4 -5
  54. package/dist/models/item/CategoryModel.d.ts +4 -5
  55. package/dist/models/item/ItemModel.d.ts +4 -5
  56. package/dist/models/item/ProductModel.d.ts +4 -5
  57. package/dist/models/item/UomModel.d.ts +4 -5
  58. package/dist/models/location/LocationModel.d.ts +4 -5
  59. package/dist/models/location/LocationRackModel.d.ts +4 -5
  60. package/dist/models/location/LocationSlotModel.d.ts +4 -5
  61. package/dist/models/others/NumberDateSequenceModel.d.ts +4 -5
  62. package/dist/models/others/OneTimeCodeModel.d.ts +4 -5
  63. package/dist/models/region/AreaModel.d.ts +4 -5
  64. package/dist/models/region/CountryModel.d.ts +4 -5
  65. package/dist/models/region/StateModel.d.ts +4 -5
  66. package/dist/models/repository/RepositoryCartonModel.d.ts +4 -5
  67. package/dist/models/repository/RepositoryContainerModel.d.ts +4 -5
  68. package/dist/models/repository/RepositoryModel.d.ts +4 -5
  69. package/dist/models/repository/RepositoryPackageItemModel.d.ts +4 -5
  70. package/dist/models/repository/RepositoryPackageModel.d.ts +4 -5
  71. package/dist/models/repository/RepositoryPalletModel.d.ts +4 -5
  72. package/dist/models/scheduler/SchedulerLogModel.d.ts +4 -5
  73. package/dist/models/scheduler/SchedulerRequestModel.d.ts +4 -5
  74. package/dist/models/subscription/account/AccountSubscribeModel.d.ts +4 -5
  75. package/dist/models/subscription/plan/SubscribePlanModel.d.ts +4 -5
  76. package/dist/models/user/AdministratorModel.d.ts +4 -5
  77. package/dist/models/user/AgentModel.d.ts +4 -5
  78. package/dist/models/user/CustomerModel.d.ts +4 -5
  79. package/dist/models/user/DriverModel.d.ts +4 -5
  80. package/dist/models/user/MemberModel.d.ts +4 -5
  81. package/dist/models/user/OperatorModel.d.ts +4 -5
  82. package/dist/models/user/RetailerModel.d.ts +4 -5
  83. package/dist/models/user/UserModel.d.ts +4 -5
  84. package/dist/models/user/UserPropModel.d.ts +4 -5
  85. package/dist/models/user/WorkerModel.d.ts +4 -5
  86. package/dist/routes/scheduler/schedulerSqlRoutes.d.ts +2 -0
  87. package/dist/routes/scheduler/schedulerSqlRoutes.js +11 -0
  88. package/dist/routes/scheduler/schedulerSqlRoutes.js.map +1 -0
  89. package/dist/routes/scheduler/schedulersRoutes.js +3 -0
  90. package/dist/routes/scheduler/schedulersRoutes.js.map +1 -1
  91. package/dist/schema/payload/document/schemaDocumentCashSales.d.ts +64 -64
  92. package/dist/schema/payload/document/schemaDocumentDeliveryOrder.d.ts +64 -64
  93. package/dist/schema/payload/document/schemaDocumentProformaSales.d.ts +64 -64
  94. package/dist/schema/payload/document/schemaDocumentReplacementDeliveryOrder.d.ts +64 -64
  95. package/dist/schema/payload/document/schemaDocumentSalesOrder.d.ts +64 -64
  96. package/dist/schema/payload/index.d.ts +2 -0
  97. package/dist/schema/payload/index.js +3 -1
  98. package/dist/schema/payload/index.js.map +1 -1
  99. package/dist/schema/payload/scheduler/schemaSchedulerSql.d.ts +69 -0
  100. package/dist/schema/payload/scheduler/schemaSchedulerSql.js +19 -0
  101. package/dist/schema/payload/scheduler/schemaSchedulerSql.js.map +1 -0
  102. package/dist/services/index.d.ts +2 -0
  103. package/dist/services/index.js +3 -1
  104. package/dist/services/index.js.map +1 -1
  105. package/dist/services/scheduler/SchedulerSqlService.d.ts +24 -0
  106. package/dist/services/scheduler/SchedulerSqlService.js +170 -0
  107. package/dist/services/scheduler/SchedulerSqlService.js.map +1 -0
  108. package/dist/utils/serviceUtils.d.ts +2 -0
  109. package/dist/utils/serviceUtils.js.map +1 -1
  110. package/package.json +1 -1
@@ -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?: Boolean;
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?: Boolean;
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?: Boolean;
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?: Boolean;
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?: Boolean;
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?: Boolean;
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?: Boolean;
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 {};
@@ -64,7 +64,7 @@ export declare const SchedulerLogModel: ({ ...rest }: DefaultServiceProps) => {
64
64
  name: string;
65
65
  type: string;
66
66
  }[]>;
67
- create: ({ data }: {
67
+ create: ({ data, }: {
68
68
  data: Omit<any, DefaultOmitFields>;
69
69
  }) => Promise<{
70
70
  createdatetime: Date | null;
@@ -154,7 +154,7 @@ export declare const SchedulerLogModel: ({ ...rest }: DefaultServiceProps) => {
154
154
  destination_submit_payload: string | null;
155
155
  destination_submit_response: string | null;
156
156
  } | null>;
157
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
157
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
158
158
  createdatetime: Date | null;
159
159
  createuserid: bigint;
160
160
  updatedatetime: Date | null;
@@ -181,7 +181,7 @@ export declare const SchedulerLogModel: ({ ...rest }: DefaultServiceProps) => {
181
181
  destination_submit_payload: string | null;
182
182
  destination_submit_response: string | null;
183
183
  }[]>;
184
- count: ({ where }?: {
184
+ count: ({ where, }?: {
185
185
  where?: Record<string, any>;
186
186
  }) => Promise<number>;
187
187
  aggregate: ({ field, operation, where, }: {
@@ -219,7 +219,7 @@ export declare const SchedulerLogModel: ({ ...rest }: DefaultServiceProps) => {
219
219
  destination_submit_payload: string | null;
220
220
  destination_submit_response: string | null;
221
221
  }>;
222
- disableRollback?: Boolean;
222
+ disableRollback?: boolean;
223
223
  }) => Promise<{
224
224
  createdatetime: Date | null;
225
225
  createuserid: bigint;
@@ -366,6 +366,5 @@ export declare const SchedulerLogModel: ({ ...rest }: DefaultServiceProps) => {
366
366
  destination_submit_response: string | null;
367
367
  }[]>;
368
368
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
369
- rawExec: (query: string, params?: any[]) => Promise<number>;
370
369
  };
371
370
  export {};
@@ -60,7 +60,7 @@ export declare const SchedulerRequestModel: ({ ...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;
@@ -138,7 +138,7 @@ export declare const SchedulerRequestModel: ({ ...rest }: DefaultServiceProps) =
138
138
  attempt_result: string | null;
139
139
  attempt_datetime: Date | 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;
@@ -161,7 +161,7 @@ export declare const SchedulerRequestModel: ({ ...rest }: DefaultServiceProps) =
161
161
  attempt_result: string | null;
162
162
  attempt_datetime: Date | null;
163
163
  }[]>;
164
- count: ({ where }?: {
164
+ count: ({ where, }?: {
165
165
  where?: Record<string, any>;
166
166
  }) => Promise<number>;
167
167
  aggregate: ({ field, operation, where, }: {
@@ -195,7 +195,7 @@ export declare const SchedulerRequestModel: ({ ...rest }: DefaultServiceProps) =
195
195
  attempt_result: string | null;
196
196
  attempt_datetime: Date | null;
197
197
  }>;
198
- disableRollback?: Boolean;
198
+ disableRollback?: boolean;
199
199
  }) => Promise<{
200
200
  createdatetime: Date | null;
201
201
  createuserid: bigint;
@@ -322,6 +322,5 @@ export declare const SchedulerRequestModel: ({ ...rest }: DefaultServiceProps) =
322
322
  attempt_datetime: Date | null;
323
323
  }[]>;
324
324
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
325
- rawExec: (query: string, params?: any[]) => Promise<number>;
326
325
  };
327
326
  export {};
@@ -50,7 +50,7 @@ export declare const AccountSubscribeModel: ({ ...rest }: DefaultServiceProps) =
50
50
  name: string;
51
51
  type: string;
52
52
  }[]>;
53
- create: ({ data }: {
53
+ create: ({ data, }: {
54
54
  data: Omit<any, DefaultOmitFields>;
55
55
  }) => Promise<{
56
56
  createdatetime: Date | null;
@@ -110,7 +110,7 @@ export declare const AccountSubscribeModel: ({ ...rest }: DefaultServiceProps) =
110
110
  is_cancel: boolean | null;
111
111
  cancel_datetime: Date | null;
112
112
  } | null>;
113
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
113
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
114
114
  createdatetime: Date | null;
115
115
  createuserid: bigint;
116
116
  updatedatetime: Date | null;
@@ -127,7 +127,7 @@ export declare const AccountSubscribeModel: ({ ...rest }: DefaultServiceProps) =
127
127
  is_cancel: boolean | null;
128
128
  cancel_datetime: Date | null;
129
129
  }[]>;
130
- count: ({ where }?: {
130
+ count: ({ where, }?: {
131
131
  where?: Record<string, any>;
132
132
  }) => Promise<number>;
133
133
  aggregate: ({ field, operation, where, }: {
@@ -155,7 +155,7 @@ export declare const AccountSubscribeModel: ({ ...rest }: DefaultServiceProps) =
155
155
  is_cancel: boolean | null;
156
156
  cancel_datetime: Date | null;
157
157
  }>;
158
- disableRollback?: Boolean;
158
+ disableRollback?: boolean;
159
159
  }) => Promise<{
160
160
  createdatetime: Date | null;
161
161
  createuserid: bigint;
@@ -252,6 +252,5 @@ export declare const AccountSubscribeModel: ({ ...rest }: DefaultServiceProps) =
252
252
  cancel_datetime: Date | null;
253
253
  }[]>;
254
254
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
255
- rawExec: (query: string, params?: any[]) => Promise<number>;
256
255
  };
257
256
  export {};
@@ -51,7 +51,7 @@ export declare const SubscribePlanModel: ({ ...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 SubscribePlanModel: ({ ...rest }: DefaultServiceProps) => {
114
114
  billing_cycle: string;
115
115
  is_single_subscription: boolean;
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 SubscribePlanModel: ({ ...rest }: DefaultServiceProps) => {
132
132
  billing_cycle: string;
133
133
  is_single_subscription: boolean;
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 SubscribePlanModel: ({ ...rest }: DefaultServiceProps) => {
161
161
  billing_cycle: string;
162
162
  is_single_subscription: boolean;
163
163
  }>;
164
- disableRollback?: Boolean;
164
+ disableRollback?: boolean;
165
165
  }) => Promise<{
166
166
  createdatetime: Date | null;
167
167
  createuserid: bigint;
@@ -263,6 +263,5 @@ export declare const SubscribePlanModel: ({ ...rest }: DefaultServiceProps) => {
263
263
  is_single_subscription: boolean;
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 {};
@@ -45,7 +45,7 @@ export declare const AdministratorModel: ({ ...rest }: DefaultServiceProps) => {
45
45
  name: string;
46
46
  type: string;
47
47
  }[]>;
48
- create: ({ data }: {
48
+ create: ({ data, }: {
49
49
  data: Omit<any, DefaultOmitFields>;
50
50
  }) => Promise<{
51
51
  createdatetime: Date | null;
@@ -90,7 +90,7 @@ export declare const AdministratorModel: ({ ...rest }: DefaultServiceProps) => {
90
90
  administrator_id: bigint;
91
91
  is_owner: boolean;
92
92
  } | null>;
93
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
93
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
94
94
  createdatetime: Date | null;
95
95
  createuserid: bigint;
96
96
  updatedatetime: Date | null;
@@ -102,7 +102,7 @@ export declare const AdministratorModel: ({ ...rest }: DefaultServiceProps) => {
102
102
  administrator_id: bigint;
103
103
  is_owner: boolean;
104
104
  }[]>;
105
- count: ({ where }?: {
105
+ count: ({ where, }?: {
106
106
  where?: Record<string, any>;
107
107
  }) => Promise<number>;
108
108
  aggregate: ({ field, operation, where, }: {
@@ -125,7 +125,7 @@ export declare const AdministratorModel: ({ ...rest }: DefaultServiceProps) => {
125
125
  administrator_id: bigint;
126
126
  is_owner: boolean;
127
127
  }>;
128
- disableRollback?: Boolean;
128
+ disableRollback?: boolean;
129
129
  }) => Promise<{
130
130
  createdatetime: Date | null;
131
131
  createuserid: bigint;
@@ -197,6 +197,5 @@ export declare const AdministratorModel: ({ ...rest }: DefaultServiceProps) => {
197
197
  is_owner: boolean;
198
198
  }[]>;
199
199
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
200
- rawExec: (query: string, params?: any[]) => Promise<number>;
201
200
  };
202
201
  export {};
@@ -56,7 +56,7 @@ export declare const AgentModel: ({ ...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 AgentModel: ({ ...rest }: DefaultServiceProps) => {
134
134
  dob: Date | null;
135
135
  agent_id: bigint;
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 AgentModel: ({ ...rest }: DefaultServiceProps) => {
157
157
  dob: Date | null;
158
158
  agent_id: bigint;
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 AgentModel: ({ ...rest }: DefaultServiceProps) => {
191
191
  dob: Date | null;
192
192
  agent_id: bigint;
193
193
  }>;
194
- disableRollback?: Boolean;
194
+ disableRollback?: boolean;
195
195
  }) => Promise<{
196
196
  createdatetime: Date | null;
197
197
  createuserid: bigint;
@@ -318,6 +318,5 @@ export declare const AgentModel: ({ ...rest }: DefaultServiceProps) => {
318
318
  agent_id: bigint;
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 {};
@@ -53,7 +53,7 @@ export declare const CustomerModel: ({ ...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;
@@ -122,7 +122,7 @@ export declare const CustomerModel: ({ ...rest }: DefaultServiceProps) => {
122
122
  tax_registration_no: string | null;
123
123
  secondary_reg_no: string | 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;
@@ -142,7 +142,7 @@ export declare const CustomerModel: ({ ...rest }: DefaultServiceProps) => {
142
142
  tax_registration_no: string | null;
143
143
  secondary_reg_no: string | null;
144
144
  }[]>;
145
- count: ({ where }?: {
145
+ count: ({ where, }?: {
146
146
  where?: Record<string, any>;
147
147
  }) => Promise<number>;
148
148
  aggregate: ({ field, operation, where, }: {
@@ -173,7 +173,7 @@ export declare const CustomerModel: ({ ...rest }: DefaultServiceProps) => {
173
173
  tax_registration_no: string | null;
174
174
  secondary_reg_no: string | null;
175
175
  }>;
176
- disableRollback?: Boolean;
176
+ disableRollback?: boolean;
177
177
  }) => Promise<{
178
178
  createdatetime: Date | null;
179
179
  createuserid: bigint;
@@ -285,6 +285,5 @@ export declare const CustomerModel: ({ ...rest }: DefaultServiceProps) => {
285
285
  secondary_reg_no: string | null;
286
286
  }[]>;
287
287
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
288
- rawExec: (query: string, params?: any[]) => Promise<number>;
289
288
  };
290
289
  export {};
@@ -46,7 +46,7 @@ export declare const DriverModel: ({ ...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 DriverModel: ({ ...rest }: DefaultServiceProps) => {
94
94
  company_name: string | null;
95
95
  driver_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 DriverModel: ({ ...rest }: DefaultServiceProps) => {
107
107
  company_name: string | null;
108
108
  driver_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 DriverModel: ({ ...rest }: DefaultServiceProps) => {
131
131
  company_name: string | null;
132
132
  driver_id: bigint;
133
133
  }>;
134
- disableRollback?: Boolean;
134
+ disableRollback?: boolean;
135
135
  }) => Promise<{
136
136
  createdatetime: Date | null;
137
137
  createuserid: bigint;
@@ -208,6 +208,5 @@ export declare const DriverModel: ({ ...rest }: DefaultServiceProps) => {
208
208
  driver_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 {};