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
@@ -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?: Boolean;
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?: Boolean;
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?: Boolean;
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 {};
@@ -46,7 +46,7 @@ export declare const BrandModel: ({ ...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 BrandModel: ({ ...rest }: DefaultServiceProps) => {
94
94
  description: string | null;
95
95
  brand_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 BrandModel: ({ ...rest }: DefaultServiceProps) => {
107
107
  description: string | null;
108
108
  brand_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 BrandModel: ({ ...rest }: DefaultServiceProps) => {
131
131
  description: string | null;
132
132
  brand_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 BrandModel: ({ ...rest }: DefaultServiceProps) => {
208
208
  brand_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 {};
@@ -47,7 +47,7 @@ export declare const CategoryModel: ({ ...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 CategoryModel: ({ ...rest }: DefaultServiceProps) => {
98
98
  category_id: bigint;
99
99
  parent_category_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;
@@ -112,7 +112,7 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
112
112
  category_id: bigint;
113
113
  parent_category_id: bigint;
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 CategoryModel: ({ ...rest }: DefaultServiceProps) => {
137
137
  category_id: bigint;
138
138
  parent_category_id: bigint;
139
139
  }>;
140
- disableRollback?: Boolean;
140
+ disableRollback?: boolean;
141
141
  }) => Promise<{
142
142
  createdatetime: Date | null;
143
143
  createuserid: bigint;
@@ -219,6 +219,5 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
219
219
  parent_category_id: bigint;
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 {};
@@ -62,7 +62,7 @@ export declare const ItemModel: ({ ...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 ItemModel: ({ ...rest }: DefaultServiceProps) => {
158
158
  cbm: Prisma.Decimal | null;
159
159
  volume_weight: Prisma.Decimal | null;
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 ItemModel: ({ ...rest }: DefaultServiceProps) => {
187
187
  cbm: Prisma.Decimal | null;
188
188
  volume_weight: Prisma.Decimal | null;
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 ItemModel: ({ ...rest }: DefaultServiceProps) => {
227
227
  cbm: Prisma.Decimal | null;
228
228
  volume_weight: Prisma.Decimal | null;
229
229
  }>;
230
- disableRollback?: Boolean;
230
+ disableRollback?: boolean;
231
231
  }) => Promise<{
232
232
  createdatetime: Date | null;
233
233
  createuserid: bigint;
@@ -384,6 +384,5 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
384
384
  volume_weight: Prisma.Decimal | null;
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 {};
@@ -51,7 +51,7 @@ export declare const ProductModel: ({ ...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 ProductModel: ({ ...rest }: DefaultServiceProps) => {
114
114
  summary: string | null;
115
115
  product_code: string | 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 ProductModel: ({ ...rest }: DefaultServiceProps) => {
132
132
  summary: string | null;
133
133
  product_code: string | 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 ProductModel: ({ ...rest }: DefaultServiceProps) => {
161
161
  summary: string | null;
162
162
  product_code: string | 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 ProductModel: ({ ...rest }: DefaultServiceProps) => {
263
263
  product_code: string | 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 {};
@@ -49,7 +49,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
49
49
  name: string;
50
50
  type: string;
51
51
  }[]>;
52
- create: ({ data }: {
52
+ create: ({ data, }: {
53
53
  data: Omit<any, DefaultOmitFields>;
54
54
  }) => Promise<{
55
55
  createdatetime: Date | null;
@@ -106,7 +106,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
106
106
  metric_type_display_name: string | null;
107
107
  decimal_digit: number | null;
108
108
  } | null>;
109
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
109
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
110
110
  createdatetime: Date | null;
111
111
  createuserid: bigint;
112
112
  updatedatetime: Date | null;
@@ -122,7 +122,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
122
122
  metric_type_display_name: string | null;
123
123
  decimal_digit: number | null;
124
124
  }[]>;
125
- count: ({ where }?: {
125
+ count: ({ where, }?: {
126
126
  where?: Record<string, any>;
127
127
  }) => Promise<number>;
128
128
  aggregate: ({ field, operation, where, }: {
@@ -149,7 +149,7 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
149
149
  metric_type_display_name: string | null;
150
150
  decimal_digit: number | null;
151
151
  }>;
152
- disableRollback?: Boolean;
152
+ disableRollback?: boolean;
153
153
  }) => Promise<{
154
154
  createdatetime: Date | null;
155
155
  createuserid: bigint;
@@ -241,6 +241,5 @@ export declare const UomModel: ({ ...rest }: DefaultServiceProps) => {
241
241
  decimal_digit: number | null;
242
242
  }[]>;
243
243
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
244
- rawExec: (query: string, params?: any[]) => Promise<number>;
245
244
  };
246
245
  export {};
@@ -62,7 +62,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
62
62
  name: string;
63
63
  type: string;
64
64
  }[]>;
65
- create: ({ data }: {
65
+ create: ({ data, }: {
66
66
  data: Omit<any, DefaultOmitFields>;
67
67
  }) => Promise<{
68
68
  createdatetime: Date | null;
@@ -146,7 +146,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
146
146
  area_id: bigint | null;
147
147
  location_code: string | null;
148
148
  } | null>;
149
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
149
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
150
150
  createdatetime: Date | null;
151
151
  createuserid: bigint;
152
152
  updatedatetime: Date | null;
@@ -171,7 +171,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
171
171
  area_id: bigint | null;
172
172
  location_code: string | null;
173
173
  }[]>;
174
- count: ({ where }?: {
174
+ count: ({ where, }?: {
175
175
  where?: Record<string, any>;
176
176
  }) => Promise<number>;
177
177
  aggregate: ({ field, operation, where, }: {
@@ -207,7 +207,7 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
207
207
  area_id: bigint | null;
208
208
  location_code: string | null;
209
209
  }>;
210
- disableRollback?: Boolean;
210
+ disableRollback?: boolean;
211
211
  }) => Promise<{
212
212
  createdatetime: Date | null;
213
213
  createuserid: bigint;
@@ -344,6 +344,5 @@ export declare const LocationModel: ({ ...rest }: DefaultServiceProps) => {
344
344
  location_code: string | null;
345
345
  }[]>;
346
346
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
347
- rawExec: (query: string, params?: any[]) => Promise<number>;
348
347
  };
349
348
  export {};
@@ -53,7 +53,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
53
53
  name: string;
54
54
  type: string;
55
55
  }[]>;
56
- create: ({ data }: {
56
+ create: ({ data, }: {
57
57
  data: Omit<any, DefaultOmitFields>;
58
58
  }) => Promise<{
59
59
  createdatetime: Date | null;
@@ -110,7 +110,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
110
110
  rack_sequence: bigint | null;
111
111
  rack_type: string | null;
112
112
  } | null>;
113
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
113
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
114
114
  createdatetime: Date | null;
115
115
  createuserid: bigint;
116
116
  updatedatetime: Date | null;
@@ -126,7 +126,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
126
126
  rack_sequence: bigint | null;
127
127
  rack_type: string | null;
128
128
  }[]>;
129
- count: ({ where }?: {
129
+ count: ({ where, }?: {
130
130
  where?: Record<string, any>;
131
131
  }) => Promise<number>;
132
132
  aggregate: ({ field, operation, where, }: {
@@ -153,7 +153,7 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
153
153
  rack_sequence: bigint | null;
154
154
  rack_type: string | null;
155
155
  }>;
156
- disableRollback?: Boolean;
156
+ disableRollback?: boolean;
157
157
  }) => Promise<{
158
158
  createdatetime: Date | null;
159
159
  createuserid: bigint;
@@ -245,6 +245,5 @@ export declare const LocationRackModel: ({ ...rest }: DefaultServiceProps) => {
245
245
  rack_type: string | null;
246
246
  }[]>;
247
247
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
248
- rawExec: (query: string, params?: any[]) => Promise<number>;
249
248
  };
250
249
  export {};
@@ -52,7 +52,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
52
52
  name: string;
53
53
  type: string;
54
54
  }[]>;
55
- create: ({ data }: {
55
+ create: ({ data, }: {
56
56
  data: Omit<any, DefaultOmitFields>;
57
57
  }) => Promise<{
58
58
  createdatetime: Date | null;
@@ -106,7 +106,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
106
106
  slot_name: string;
107
107
  slot_sequence: number | null;
108
108
  } | null>;
109
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
109
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
110
110
  createdatetime: Date | null;
111
111
  createuserid: bigint;
112
112
  updatedatetime: Date | null;
@@ -121,7 +121,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
121
121
  slot_name: string;
122
122
  slot_sequence: number | null;
123
123
  }[]>;
124
- count: ({ where }?: {
124
+ count: ({ where, }?: {
125
125
  where?: Record<string, any>;
126
126
  }) => Promise<number>;
127
127
  aggregate: ({ field, operation, where, }: {
@@ -147,7 +147,7 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
147
147
  slot_name: string;
148
148
  slot_sequence: number | null;
149
149
  }>;
150
- disableRollback?: Boolean;
150
+ disableRollback?: boolean;
151
151
  }) => Promise<{
152
152
  createdatetime: Date | null;
153
153
  createuserid: bigint;
@@ -234,6 +234,5 @@ export declare const LocationSlotModel: ({ ...rest }: DefaultServiceProps) => {
234
234
  slot_sequence: number | null;
235
235
  }[]>;
236
236
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
237
- rawExec: (query: string, params?: any[]) => Promise<number>;
238
237
  };
239
238
  export {};
@@ -49,7 +49,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
49
49
  name: string;
50
50
  type: string;
51
51
  }[]>;
52
- create: ({ data }: {
52
+ create: ({ data, }: {
53
53
  data: Omit<any, DefaultOmitFields>;
54
54
  }) => Promise<{
55
55
  createdatetime: Date | null;
@@ -106,7 +106,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
106
106
  day_label: string | null;
107
107
  increment_no: number | null;
108
108
  } | null>;
109
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
109
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
110
110
  createdatetime: Date | null;
111
111
  createuserid: bigint;
112
112
  updatedatetime: Date | null;
@@ -122,7 +122,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
122
122
  day_label: string | null;
123
123
  increment_no: number | null;
124
124
  }[]>;
125
- count: ({ where }?: {
125
+ count: ({ where, }?: {
126
126
  where?: Record<string, any>;
127
127
  }) => Promise<number>;
128
128
  aggregate: ({ field, operation, where, }: {
@@ -149,7 +149,7 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
149
149
  day_label: string | null;
150
150
  increment_no: number | null;
151
151
  }>;
152
- disableRollback?: Boolean;
152
+ disableRollback?: boolean;
153
153
  }) => Promise<{
154
154
  createdatetime: Date | null;
155
155
  createuserid: bigint;
@@ -241,6 +241,5 @@ export declare const NumberDateSequenceModel: ({ ...rest }: DefaultServiceProps)
241
241
  increment_no: number | null;
242
242
  }[]>;
243
243
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
244
- rawExec: (query: string, params?: any[]) => Promise<number>;
245
244
  };
246
245
  export {};
@@ -55,7 +55,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
55
55
  name: string;
56
56
  type: string;
57
57
  }[]>;
58
- create: ({ data }: {
58
+ create: ({ data, }: {
59
59
  data: Omit<any, DefaultOmitFields>;
60
60
  }) => Promise<{
61
61
  createdatetime: Date | null;
@@ -130,7 +130,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
130
130
  code_status: string | null;
131
131
  purpose_type: string | null;
132
132
  } | null>;
133
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
133
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
134
134
  createdatetime: Date | null;
135
135
  createuserid: bigint;
136
136
  updatedatetime: Date | null;
@@ -152,7 +152,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
152
152
  code_status: string | null;
153
153
  purpose_type: string | null;
154
154
  }[]>;
155
- count: ({ where }?: {
155
+ count: ({ where, }?: {
156
156
  where?: Record<string, any>;
157
157
  }) => Promise<number>;
158
158
  aggregate: ({ field, operation, where, }: {
@@ -185,7 +185,7 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
185
185
  code_status: string | null;
186
186
  purpose_type: string | null;
187
187
  }>;
188
- disableRollback?: Boolean;
188
+ disableRollback?: boolean;
189
189
  }) => Promise<{
190
190
  createdatetime: Date | null;
191
191
  createuserid: bigint;
@@ -307,6 +307,5 @@ export declare const OneTimeCodeModel: ({ ...rest }: DefaultServiceProps) => {
307
307
  purpose_type: string | null;
308
308
  }[]>;
309
309
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
310
- rawExec: (query: string, params?: any[]) => Promise<number>;
311
310
  };
312
311
  export {};
@@ -47,7 +47,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
47
47
  name: string;
48
48
  type: string;
49
49
  }[]>;
50
- create: ({ data }: {
50
+ create: ({ data, }: {
51
51
  data: Omit<any, DefaultOmitFields>;
52
52
  }) => Promise<{
53
53
  createdatetime: Date | null;
@@ -98,7 +98,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
98
98
  area_name: string;
99
99
  postcode_string: string | null;
100
100
  } | null>;
101
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
101
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
102
102
  createdatetime: Date | null;
103
103
  createuserid: bigint;
104
104
  updatedatetime: Date | null;
@@ -112,7 +112,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
112
112
  area_name: string;
113
113
  postcode_string: string | null;
114
114
  }[]>;
115
- count: ({ where }?: {
115
+ count: ({ where, }?: {
116
116
  where?: Record<string, any>;
117
117
  }) => Promise<number>;
118
118
  aggregate: ({ field, operation, where, }: {
@@ -137,7 +137,7 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
137
137
  area_name: string;
138
138
  postcode_string: string | null;
139
139
  }>;
140
- disableRollback?: Boolean;
140
+ disableRollback?: boolean;
141
141
  }) => Promise<{
142
142
  createdatetime: Date | null;
143
143
  createuserid: bigint;
@@ -219,6 +219,5 @@ export declare const AreaModel: ({ ...rest }: DefaultServiceProps) => {
219
219
  postcode_string: string | null;
220
220
  }[]>;
221
221
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
222
- rawExec: (query: string, params?: any[]) => Promise<number>;
223
222
  };
224
223
  export {};
@@ -47,7 +47,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
47
47
  name: string;
48
48
  type: string;
49
49
  }[]>;
50
- create: ({ data }: {
50
+ create: ({ data, }: {
51
51
  data: Omit<any, DefaultOmitFields>;
52
52
  }) => Promise<{
53
53
  createdatetime: Date | null;
@@ -98,7 +98,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
98
98
  country_name: string;
99
99
  phone_code: number;
100
100
  } | null>;
101
- list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
101
+ list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
102
102
  createdatetime: Date | null;
103
103
  createuserid: bigint;
104
104
  updatedatetime: Date | null;
@@ -112,7 +112,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
112
112
  country_name: string;
113
113
  phone_code: number;
114
114
  }[]>;
115
- count: ({ where }?: {
115
+ count: ({ where, }?: {
116
116
  where?: Record<string, any>;
117
117
  }) => Promise<number>;
118
118
  aggregate: ({ field, operation, where, }: {
@@ -137,7 +137,7 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
137
137
  country_name: string;
138
138
  phone_code: number;
139
139
  }>;
140
- disableRollback?: Boolean;
140
+ disableRollback?: boolean;
141
141
  }) => Promise<{
142
142
  createdatetime: Date | null;
143
143
  createuserid: bigint;
@@ -219,6 +219,5 @@ export declare const CountryModel: ({ ...rest }: DefaultServiceProps) => {
219
219
  phone_code: number;
220
220
  }[]>;
221
221
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
222
- rawExec: (query: string, params?: any[]) => Promise<number>;
223
222
  };
224
223
  export {};