storemw-core-api 1.0.170 → 1.0.171

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 (43) hide show
  1. package/dist/app.js +1 -1
  2. package/dist/app.js.map +1 -1
  3. package/dist/controllers/item/itemController.js +22 -10
  4. package/dist/controllers/item/itemController.js.map +1 -1
  5. package/dist/models/item/BrandModel.d.ts +34 -23
  6. package/dist/models/item/CategoryModel.d.ts +34 -23
  7. package/dist/models/item/ItemModel.d.ts +100 -78
  8. package/dist/models/item/ProductModel.d.ts +33 -33
  9. package/dist/models/item/UomModel.d.ts +44 -33
  10. package/dist/schema/payload/item/schemaItemBrand.d.ts +28 -14
  11. package/dist/schema/payload/item/schemaItemBrand.js +4 -2
  12. package/dist/schema/payload/item/schemaItemBrand.js.map +1 -1
  13. package/dist/schema/payload/item/schemaItemCategory.d.ts +28 -14
  14. package/dist/schema/payload/item/schemaItemCategory.js +4 -2
  15. package/dist/schema/payload/item/schemaItemCategory.js.map +1 -1
  16. package/dist/schema/payload/item/schemaItemItem.d.ts +65 -65
  17. package/dist/schema/payload/item/schemaItemItem.js +3 -3
  18. package/dist/schema/payload/item/schemaItemItem.js.map +1 -1
  19. package/dist/schema/payload/item/schemaItemProduct.d.ts +41 -41
  20. package/dist/schema/payload/item/schemaItemProduct.js +1 -1
  21. package/dist/schema/payload/item/schemaItemProduct.js.map +1 -1
  22. package/dist/schema/payload/item/schemaItemUom.d.ts +28 -14
  23. package/dist/schema/payload/item/schemaItemUom.js +4 -2
  24. package/dist/schema/payload/item/schemaItemUom.js.map +1 -1
  25. package/dist/services/item/ItemBrandService.d.ts +11 -6
  26. package/dist/services/item/ItemBrandService.js +35 -6
  27. package/dist/services/item/ItemBrandService.js.map +1 -1
  28. package/dist/services/item/ItemCategoryService.d.ts +11 -6
  29. package/dist/services/item/ItemCategoryService.js +37 -7
  30. package/dist/services/item/ItemCategoryService.js.map +1 -1
  31. package/dist/services/item/ItemItemService.d.ts +29 -23
  32. package/dist/services/item/ItemItemService.js +57 -16
  33. package/dist/services/item/ItemItemService.js.map +1 -1
  34. package/dist/services/item/ItemProductService.d.ts +9 -9
  35. package/dist/services/item/ItemProductService.js +11 -10
  36. package/dist/services/item/ItemProductService.js.map +1 -1
  37. package/dist/services/item/ItemService.js +39 -12
  38. package/dist/services/item/ItemService.js.map +1 -1
  39. package/dist/services/item/ItemUomService.d.ts +14 -9
  40. package/dist/services/item/ItemUomService.js +35 -5
  41. package/dist/services/item/ItemUomService.js.map +1 -1
  42. package/package.json +1 -1
  43. package/prisma/schema.prisma +101 -92
@@ -11,10 +11,11 @@ export declare const ModelCategoryFields: {
11
11
  istrash: "istrash";
12
12
  accountid: "accountid";
13
13
  status: "status";
14
- name: "name";
15
14
  description: "description";
16
15
  category_id: "category_id";
16
+ category_code: "category_code";
17
17
  parent_category_id: "parent_category_id";
18
+ category_name: "category_name";
18
19
  };
19
20
  export type ModelCategory = categories;
20
21
  export type ModelCategoryOmitFields = typeof primaryKey | DefaultOmitFields;
@@ -42,7 +43,7 @@ export type ModelCategoryListProps = {
42
43
  };
43
44
  export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
44
45
  selectedPrisma: any;
45
- primaryKey: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "name" | "description" | "category_id" | "parent_category_id";
46
+ primaryKey: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "description" | "category_id" | "category_code" | "parent_category_id" | "category_name";
46
47
  getFields: (prefix?: string, excludeKeywords?: string[]) => Promise<{
47
48
  name: string;
48
49
  type: string;
@@ -57,11 +58,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
57
58
  isdelete: boolean | null;
58
59
  istrash: boolean | null;
59
60
  accountid: bigint;
60
- status: number | null;
61
- name: string | null;
61
+ status: boolean | null;
62
62
  description: string | null;
63
63
  category_id: bigint;
64
+ category_code: string;
64
65
  parent_category_id: bigint;
66
+ category_name: string | null;
65
67
  }>;
66
68
  createMany: ({ dataList, disableRollback, }: {
67
69
  dataList: Omit<any, DefaultOmitFields>[];
@@ -74,11 +76,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
74
76
  isdelete: boolean | null;
75
77
  istrash: boolean | null;
76
78
  accountid: bigint;
77
- status: number | null;
78
- name: string | null;
79
+ status: boolean | null;
79
80
  description: string | null;
80
81
  category_id: bigint;
82
+ category_code: string;
81
83
  parent_category_id: bigint;
84
+ category_name: string | null;
82
85
  }[]>;
83
86
  get: ({ id, where, include, }: {
84
87
  id?: number;
@@ -92,11 +95,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
92
95
  isdelete: boolean | null;
93
96
  istrash: boolean | null;
94
97
  accountid: bigint;
95
- status: number | null;
96
- name: string | null;
98
+ status: boolean | null;
97
99
  description: string | null;
98
100
  category_id: bigint;
101
+ category_code: string;
99
102
  parent_category_id: bigint;
103
+ category_name: string | null;
100
104
  } | null>;
101
105
  list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
102
106
  createdatetime: Date | null;
@@ -106,17 +110,18 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
106
110
  isdelete: boolean | null;
107
111
  istrash: boolean | null;
108
112
  accountid: bigint;
109
- status: number | null;
110
- name: string | null;
113
+ status: boolean | null;
111
114
  description: string | null;
112
115
  category_id: bigint;
116
+ category_code: string;
113
117
  parent_category_id: bigint;
118
+ category_name: string | null;
114
119
  }[]>;
115
120
  count: ({ where, }?: {
116
121
  where?: Record<string, any>;
117
122
  }) => Promise<number>;
118
123
  aggregate: ({ field, operation, where, }: {
119
- field: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "name" | "description" | "category_id" | "parent_category_id";
124
+ field: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "description" | "category_id" | "category_code" | "parent_category_id" | "category_name";
120
125
  operation?: "sum" | "avg" | "min" | "max" | "count";
121
126
  where?: Record<string, any>;
122
127
  }) => Promise<number>;
@@ -131,11 +136,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
131
136
  isdelete: boolean | null;
132
137
  istrash: boolean | null;
133
138
  accountid: bigint;
134
- status: number | null;
135
- name: string | null;
139
+ status: boolean | null;
136
140
  description: string | null;
137
141
  category_id: bigint;
142
+ category_code: string;
138
143
  parent_category_id: bigint;
144
+ category_name: string | null;
139
145
  }>;
140
146
  disableRollback?: boolean;
141
147
  }) => Promise<{
@@ -146,11 +152,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
146
152
  isdelete: boolean | null;
147
153
  istrash: boolean | null;
148
154
  accountid: bigint;
149
- status: number | null;
150
- name: string | null;
155
+ status: boolean | null;
151
156
  description: string | null;
152
157
  category_id: bigint;
158
+ category_code: string;
153
159
  parent_category_id: bigint;
160
+ category_name: string | null;
154
161
  }>;
155
162
  updateMany: ({ dataList, disableRollback, }: {
156
163
  dataList: {
@@ -163,11 +170,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
163
170
  isdelete: boolean | null;
164
171
  istrash: boolean | null;
165
172
  accountid: bigint;
166
- status: number | null;
167
- name: string | null;
173
+ status: boolean | null;
168
174
  description: string | null;
169
175
  category_id: bigint;
176
+ category_code: string;
170
177
  parent_category_id: bigint;
178
+ category_name: string | null;
171
179
  }>;
172
180
  }[];
173
181
  disableRollback?: boolean;
@@ -179,11 +187,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
179
187
  isdelete: boolean | null;
180
188
  istrash: boolean | null;
181
189
  accountid: bigint;
182
- status: number | null;
183
- name: string | null;
190
+ status: boolean | null;
184
191
  description: string | null;
185
192
  category_id: bigint;
193
+ category_code: string;
186
194
  parent_category_id: bigint;
195
+ category_name: string | null;
187
196
  }[]>;
188
197
  trash: ({ ids }: {
189
198
  ids: number[];
@@ -195,11 +204,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
195
204
  isdelete: boolean | null;
196
205
  istrash: boolean | null;
197
206
  accountid: bigint;
198
- status: number | null;
199
- name: string | null;
207
+ status: boolean | null;
200
208
  description: string | null;
201
209
  category_id: bigint;
210
+ category_code: string;
202
211
  parent_category_id: bigint;
212
+ category_name: string | null;
203
213
  }[]>;
204
214
  remove: ({ ids, where }: {
205
215
  ids?: number[];
@@ -212,11 +222,12 @@ export declare const CategoryModel: ({ ...rest }: DefaultServiceProps) => {
212
222
  isdelete: boolean | null;
213
223
  istrash: boolean | null;
214
224
  accountid: bigint;
215
- status: number | null;
216
- name: string | null;
225
+ status: boolean | null;
217
226
  description: string | null;
218
227
  category_id: bigint;
228
+ category_code: string;
219
229
  parent_category_id: bigint;
230
+ category_name: string | null;
220
231
  }[]>;
221
232
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
222
233
  };
@@ -16,20 +16,22 @@ export declare const ModelItemFields: {
16
16
  remark: "remark";
17
17
  product_id: "product_id";
18
18
  summary: "summary";
19
+ uom_name: "uom_name";
20
+ uom_code: "uom_code";
19
21
  item_code: "item_code";
20
22
  item_description: "item_description";
21
- cost: "cost";
22
- uom_price: "uom_price";
23
+ item_cost: "item_cost";
24
+ item_price: "item_price";
25
+ floor_price: "floor_price";
23
26
  gross_weight: "gross_weight";
24
27
  net_weight: "net_weight";
25
- uom_bal: "uom_bal";
26
- is_package: "is_package";
27
- floor_price: "floor_price";
28
+ volume_weight: "volume_weight";
28
29
  dimension_width: "dimension_width";
29
30
  dimension_height: "dimension_height";
30
31
  dimension_length: "dimension_length";
31
32
  cbm: "cbm";
32
- volume_weight: "volume_weight";
33
+ balance_quantity: "balance_quantity";
34
+ is_package: "is_package";
33
35
  };
34
36
  export type ModelItem = items;
35
37
  export type ModelItemOmitFields = typeof primaryKey | DefaultOmitFields;
@@ -57,7 +59,7 @@ export type ModelItemListProps = {
57
59
  };
58
60
  export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
59
61
  selectedPrisma: any;
60
- primaryKey: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "item_id" | "uom_id" | "remark" | "product_id" | "summary" | "item_code" | "item_description" | "cost" | "uom_price" | "gross_weight" | "net_weight" | "uom_bal" | "is_package" | "floor_price" | "dimension_width" | "dimension_height" | "dimension_length" | "cbm" | "volume_weight";
62
+ primaryKey: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "item_id" | "uom_id" | "remark" | "product_id" | "summary" | "uom_name" | "uom_code" | "item_code" | "item_description" | "item_cost" | "item_price" | "floor_price" | "gross_weight" | "net_weight" | "volume_weight" | "dimension_width" | "dimension_height" | "dimension_length" | "cbm" | "balance_quantity" | "is_package";
61
63
  getFields: (prefix?: string, excludeKeywords?: string[]) => Promise<{
62
64
  name: string;
63
65
  type: string;
@@ -72,26 +74,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
72
74
  isdelete: boolean | null;
73
75
  istrash: boolean | null;
74
76
  accountid: bigint;
75
- status: number | null;
77
+ status: boolean | null;
76
78
  item_id: bigint;
77
79
  uom_id: bigint;
78
80
  remark: string | null;
79
81
  product_id: bigint;
80
82
  summary: string | null;
83
+ uom_name: string | null;
84
+ uom_code: string;
81
85
  item_code: string | null;
82
86
  item_description: string | null;
83
- cost: Prisma.Decimal | null;
84
- uom_price: Prisma.Decimal | null;
87
+ item_cost: Prisma.Decimal | null;
88
+ item_price: Prisma.Decimal | null;
89
+ floor_price: Prisma.Decimal | null;
85
90
  gross_weight: Prisma.Decimal | null;
86
91
  net_weight: Prisma.Decimal | null;
87
- uom_bal: Prisma.Decimal;
88
- is_package: number;
89
- floor_price: Prisma.Decimal | null;
92
+ volume_weight: Prisma.Decimal | null;
90
93
  dimension_width: Prisma.Decimal | null;
91
94
  dimension_height: Prisma.Decimal | null;
92
95
  dimension_length: Prisma.Decimal | null;
93
96
  cbm: Prisma.Decimal | null;
94
- volume_weight: Prisma.Decimal | null;
97
+ balance_quantity: Prisma.Decimal;
98
+ is_package: boolean | null;
95
99
  }>;
96
100
  createMany: ({ dataList, disableRollback, }: {
97
101
  dataList: Omit<any, DefaultOmitFields>[];
@@ -104,26 +108,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
104
108
  isdelete: boolean | null;
105
109
  istrash: boolean | null;
106
110
  accountid: bigint;
107
- status: number | null;
111
+ status: boolean | null;
108
112
  item_id: bigint;
109
113
  uom_id: bigint;
110
114
  remark: string | null;
111
115
  product_id: bigint;
112
116
  summary: string | null;
117
+ uom_name: string | null;
118
+ uom_code: string;
113
119
  item_code: string | null;
114
120
  item_description: string | null;
115
- cost: Prisma.Decimal | null;
116
- uom_price: Prisma.Decimal | null;
121
+ item_cost: Prisma.Decimal | null;
122
+ item_price: Prisma.Decimal | null;
123
+ floor_price: Prisma.Decimal | null;
117
124
  gross_weight: Prisma.Decimal | null;
118
125
  net_weight: Prisma.Decimal | null;
119
- uom_bal: Prisma.Decimal;
120
- is_package: number;
121
- floor_price: Prisma.Decimal | null;
126
+ volume_weight: Prisma.Decimal | null;
122
127
  dimension_width: Prisma.Decimal | null;
123
128
  dimension_height: Prisma.Decimal | null;
124
129
  dimension_length: Prisma.Decimal | null;
125
130
  cbm: Prisma.Decimal | null;
126
- volume_weight: Prisma.Decimal | null;
131
+ balance_quantity: Prisma.Decimal;
132
+ is_package: boolean | null;
127
133
  }[]>;
128
134
  get: ({ id, where, include, }: {
129
135
  id?: number;
@@ -137,26 +143,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
137
143
  isdelete: boolean | null;
138
144
  istrash: boolean | null;
139
145
  accountid: bigint;
140
- status: number | null;
146
+ status: boolean | null;
141
147
  item_id: bigint;
142
148
  uom_id: bigint;
143
149
  remark: string | null;
144
150
  product_id: bigint;
145
151
  summary: string | null;
152
+ uom_name: string | null;
153
+ uom_code: string;
146
154
  item_code: string | null;
147
155
  item_description: string | null;
148
- cost: Prisma.Decimal | null;
149
- uom_price: Prisma.Decimal | null;
156
+ item_cost: Prisma.Decimal | null;
157
+ item_price: Prisma.Decimal | null;
158
+ floor_price: Prisma.Decimal | null;
150
159
  gross_weight: Prisma.Decimal | null;
151
160
  net_weight: Prisma.Decimal | null;
152
- uom_bal: Prisma.Decimal;
153
- is_package: number;
154
- floor_price: Prisma.Decimal | null;
161
+ volume_weight: Prisma.Decimal | null;
155
162
  dimension_width: Prisma.Decimal | null;
156
163
  dimension_height: Prisma.Decimal | null;
157
164
  dimension_length: Prisma.Decimal | null;
158
165
  cbm: Prisma.Decimal | null;
159
- volume_weight: Prisma.Decimal | null;
166
+ balance_quantity: Prisma.Decimal;
167
+ is_package: boolean | null;
160
168
  } | null>;
161
169
  list: ({ where, orderBy, offset, limit, include, }?: any) => Promise<{
162
170
  createdatetime: Date | null;
@@ -166,32 +174,34 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
166
174
  isdelete: boolean | null;
167
175
  istrash: boolean | null;
168
176
  accountid: bigint;
169
- status: number | null;
177
+ status: boolean | null;
170
178
  item_id: bigint;
171
179
  uom_id: bigint;
172
180
  remark: string | null;
173
181
  product_id: bigint;
174
182
  summary: string | null;
183
+ uom_name: string | null;
184
+ uom_code: string;
175
185
  item_code: string | null;
176
186
  item_description: string | null;
177
- cost: Prisma.Decimal | null;
178
- uom_price: Prisma.Decimal | null;
187
+ item_cost: Prisma.Decimal | null;
188
+ item_price: Prisma.Decimal | null;
189
+ floor_price: Prisma.Decimal | null;
179
190
  gross_weight: Prisma.Decimal | null;
180
191
  net_weight: Prisma.Decimal | null;
181
- uom_bal: Prisma.Decimal;
182
- is_package: number;
183
- floor_price: Prisma.Decimal | null;
192
+ volume_weight: Prisma.Decimal | null;
184
193
  dimension_width: Prisma.Decimal | null;
185
194
  dimension_height: Prisma.Decimal | null;
186
195
  dimension_length: Prisma.Decimal | null;
187
196
  cbm: Prisma.Decimal | null;
188
- volume_weight: Prisma.Decimal | null;
197
+ balance_quantity: Prisma.Decimal;
198
+ is_package: boolean | null;
189
199
  }[]>;
190
200
  count: ({ where, }?: {
191
201
  where?: Record<string, any>;
192
202
  }) => Promise<number>;
193
203
  aggregate: ({ field, operation, where, }: {
194
- field: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "item_id" | "uom_id" | "remark" | "product_id" | "summary" | "item_code" | "item_description" | "cost" | "uom_price" | "gross_weight" | "net_weight" | "uom_bal" | "is_package" | "floor_price" | "dimension_width" | "dimension_height" | "dimension_length" | "cbm" | "volume_weight";
204
+ field: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "status" | "item_id" | "uom_id" | "remark" | "product_id" | "summary" | "uom_name" | "uom_code" | "item_code" | "item_description" | "item_cost" | "item_price" | "floor_price" | "gross_weight" | "net_weight" | "volume_weight" | "dimension_width" | "dimension_height" | "dimension_length" | "cbm" | "balance_quantity" | "is_package";
195
205
  operation?: "sum" | "avg" | "min" | "max" | "count";
196
206
  where?: Record<string, any>;
197
207
  }) => Promise<number>;
@@ -206,26 +216,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
206
216
  isdelete: boolean | null;
207
217
  istrash: boolean | null;
208
218
  accountid: bigint;
209
- status: number | null;
219
+ status: boolean | null;
210
220
  item_id: bigint;
211
221
  uom_id: bigint;
212
222
  remark: string | null;
213
223
  product_id: bigint;
214
224
  summary: string | null;
225
+ uom_name: string | null;
226
+ uom_code: string;
215
227
  item_code: string | null;
216
228
  item_description: string | null;
217
- cost: Prisma.Decimal | null;
218
- uom_price: Prisma.Decimal | null;
229
+ item_cost: Prisma.Decimal | null;
230
+ item_price: Prisma.Decimal | null;
231
+ floor_price: Prisma.Decimal | null;
219
232
  gross_weight: Prisma.Decimal | null;
220
233
  net_weight: Prisma.Decimal | null;
221
- uom_bal: Prisma.Decimal;
222
- is_package: number;
223
- floor_price: Prisma.Decimal | null;
234
+ volume_weight: Prisma.Decimal | null;
224
235
  dimension_width: Prisma.Decimal | null;
225
236
  dimension_height: Prisma.Decimal | null;
226
237
  dimension_length: Prisma.Decimal | null;
227
238
  cbm: Prisma.Decimal | null;
228
- volume_weight: Prisma.Decimal | null;
239
+ balance_quantity: Prisma.Decimal;
240
+ is_package: boolean | null;
229
241
  }>;
230
242
  disableRollback?: boolean;
231
243
  }) => Promise<{
@@ -236,26 +248,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
236
248
  isdelete: boolean | null;
237
249
  istrash: boolean | null;
238
250
  accountid: bigint;
239
- status: number | null;
251
+ status: boolean | null;
240
252
  item_id: bigint;
241
253
  uom_id: bigint;
242
254
  remark: string | null;
243
255
  product_id: bigint;
244
256
  summary: string | null;
257
+ uom_name: string | null;
258
+ uom_code: string;
245
259
  item_code: string | null;
246
260
  item_description: string | null;
247
- cost: Prisma.Decimal | null;
248
- uom_price: Prisma.Decimal | null;
261
+ item_cost: Prisma.Decimal | null;
262
+ item_price: Prisma.Decimal | null;
263
+ floor_price: Prisma.Decimal | null;
249
264
  gross_weight: Prisma.Decimal | null;
250
265
  net_weight: Prisma.Decimal | null;
251
- uom_bal: Prisma.Decimal;
252
- is_package: number;
253
- floor_price: Prisma.Decimal | null;
266
+ volume_weight: Prisma.Decimal | null;
254
267
  dimension_width: Prisma.Decimal | null;
255
268
  dimension_height: Prisma.Decimal | null;
256
269
  dimension_length: Prisma.Decimal | null;
257
270
  cbm: Prisma.Decimal | null;
258
- volume_weight: Prisma.Decimal | null;
271
+ balance_quantity: Prisma.Decimal;
272
+ is_package: boolean | null;
259
273
  }>;
260
274
  updateMany: ({ dataList, disableRollback, }: {
261
275
  dataList: {
@@ -268,26 +282,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
268
282
  isdelete: boolean | null;
269
283
  istrash: boolean | null;
270
284
  accountid: bigint;
271
- status: number | null;
285
+ status: boolean | null;
272
286
  item_id: bigint;
273
287
  uom_id: bigint;
274
288
  remark: string | null;
275
289
  product_id: bigint;
276
290
  summary: string | null;
291
+ uom_name: string | null;
292
+ uom_code: string;
277
293
  item_code: string | null;
278
294
  item_description: string | null;
279
- cost: Prisma.Decimal | null;
280
- uom_price: Prisma.Decimal | null;
295
+ item_cost: Prisma.Decimal | null;
296
+ item_price: Prisma.Decimal | null;
297
+ floor_price: Prisma.Decimal | null;
281
298
  gross_weight: Prisma.Decimal | null;
282
299
  net_weight: Prisma.Decimal | null;
283
- uom_bal: Prisma.Decimal;
284
- is_package: number;
285
- floor_price: Prisma.Decimal | null;
300
+ volume_weight: Prisma.Decimal | null;
286
301
  dimension_width: Prisma.Decimal | null;
287
302
  dimension_height: Prisma.Decimal | null;
288
303
  dimension_length: Prisma.Decimal | null;
289
304
  cbm: Prisma.Decimal | null;
290
- volume_weight: Prisma.Decimal | null;
305
+ balance_quantity: Prisma.Decimal;
306
+ is_package: boolean | null;
291
307
  }>;
292
308
  }[];
293
309
  disableRollback?: boolean;
@@ -299,26 +315,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
299
315
  isdelete: boolean | null;
300
316
  istrash: boolean | null;
301
317
  accountid: bigint;
302
- status: number | null;
318
+ status: boolean | null;
303
319
  item_id: bigint;
304
320
  uom_id: bigint;
305
321
  remark: string | null;
306
322
  product_id: bigint;
307
323
  summary: string | null;
324
+ uom_name: string | null;
325
+ uom_code: string;
308
326
  item_code: string | null;
309
327
  item_description: string | null;
310
- cost: Prisma.Decimal | null;
311
- uom_price: Prisma.Decimal | null;
328
+ item_cost: Prisma.Decimal | null;
329
+ item_price: Prisma.Decimal | null;
330
+ floor_price: Prisma.Decimal | null;
312
331
  gross_weight: Prisma.Decimal | null;
313
332
  net_weight: Prisma.Decimal | null;
314
- uom_bal: Prisma.Decimal;
315
- is_package: number;
316
- floor_price: Prisma.Decimal | null;
333
+ volume_weight: Prisma.Decimal | null;
317
334
  dimension_width: Prisma.Decimal | null;
318
335
  dimension_height: Prisma.Decimal | null;
319
336
  dimension_length: Prisma.Decimal | null;
320
337
  cbm: Prisma.Decimal | null;
321
- volume_weight: Prisma.Decimal | null;
338
+ balance_quantity: Prisma.Decimal;
339
+ is_package: boolean | null;
322
340
  }[]>;
323
341
  trash: ({ ids }: {
324
342
  ids: number[];
@@ -330,26 +348,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
330
348
  isdelete: boolean | null;
331
349
  istrash: boolean | null;
332
350
  accountid: bigint;
333
- status: number | null;
351
+ status: boolean | null;
334
352
  item_id: bigint;
335
353
  uom_id: bigint;
336
354
  remark: string | null;
337
355
  product_id: bigint;
338
356
  summary: string | null;
357
+ uom_name: string | null;
358
+ uom_code: string;
339
359
  item_code: string | null;
340
360
  item_description: string | null;
341
- cost: Prisma.Decimal | null;
342
- uom_price: Prisma.Decimal | null;
361
+ item_cost: Prisma.Decimal | null;
362
+ item_price: Prisma.Decimal | null;
363
+ floor_price: Prisma.Decimal | null;
343
364
  gross_weight: Prisma.Decimal | null;
344
365
  net_weight: Prisma.Decimal | null;
345
- uom_bal: Prisma.Decimal;
346
- is_package: number;
347
- floor_price: Prisma.Decimal | null;
366
+ volume_weight: Prisma.Decimal | null;
348
367
  dimension_width: Prisma.Decimal | null;
349
368
  dimension_height: Prisma.Decimal | null;
350
369
  dimension_length: Prisma.Decimal | null;
351
370
  cbm: Prisma.Decimal | null;
352
- volume_weight: Prisma.Decimal | null;
371
+ balance_quantity: Prisma.Decimal;
372
+ is_package: boolean | null;
353
373
  }[]>;
354
374
  remove: ({ ids, where }: {
355
375
  ids?: number[];
@@ -362,26 +382,28 @@ export declare const ItemModel: ({ ...rest }: DefaultServiceProps) => {
362
382
  isdelete: boolean | null;
363
383
  istrash: boolean | null;
364
384
  accountid: bigint;
365
- status: number | null;
385
+ status: boolean | null;
366
386
  item_id: bigint;
367
387
  uom_id: bigint;
368
388
  remark: string | null;
369
389
  product_id: bigint;
370
390
  summary: string | null;
391
+ uom_name: string | null;
392
+ uom_code: string;
371
393
  item_code: string | null;
372
394
  item_description: string | null;
373
- cost: Prisma.Decimal | null;
374
- uom_price: Prisma.Decimal | null;
395
+ item_cost: Prisma.Decimal | null;
396
+ item_price: Prisma.Decimal | null;
397
+ floor_price: Prisma.Decimal | null;
375
398
  gross_weight: Prisma.Decimal | null;
376
399
  net_weight: Prisma.Decimal | null;
377
- uom_bal: Prisma.Decimal;
378
- is_package: number;
379
- floor_price: Prisma.Decimal | null;
400
+ volume_weight: Prisma.Decimal | null;
380
401
  dimension_width: Prisma.Decimal | null;
381
402
  dimension_height: Prisma.Decimal | null;
382
403
  dimension_length: Prisma.Decimal | null;
383
404
  cbm: Prisma.Decimal | null;
384
- volume_weight: Prisma.Decimal | null;
405
+ balance_quantity: Prisma.Decimal;
406
+ is_package: boolean | null;
385
407
  }[]>;
386
408
  raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
387
409
  };