@arascreative/erp-api-client 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -37,12 +37,16 @@ __export(index_exports, {
37
37
  consumeBatchParams: () => consumeBatchParams,
38
38
  createBatch: () => createBatch,
39
39
  createBatchBody: () => createBatchBody,
40
+ createCatalogItem: () => createCatalogItem,
41
+ createCatalogItemBody: () => createCatalogItemBody,
40
42
  createStockItems: () => createStockItems,
41
43
  createStockItemsBody: () => createStockItemsBody,
42
44
  createWarehouse: () => createWarehouse,
43
45
  createWarehouseBody: () => createWarehouseBody,
44
46
  deleteApiIdentityAdminRolesId: () => deleteApiIdentityAdminRolesId,
45
47
  deleteApiIdentityAdminRolesIdParams: () => deleteApiIdentityAdminRolesIdParams,
48
+ deleteCatalogItem: () => deleteCatalogItem,
49
+ deleteCatalogItemParams: () => deleteCatalogItemParams,
46
50
  deleteWarehouse: () => deleteWarehouse,
47
51
  deleteWarehouseParams: () => deleteWarehouseParams,
48
52
  getApiIdentityAdminPermissions: () => getApiIdentityAdminPermissions,
@@ -71,11 +75,16 @@ __export(index_exports, {
71
75
  getApiIdentityManage2faResponse: () => getApiIdentityManage2faResponse,
72
76
  getApiIdentityManageInfo: () => getApiIdentityManageInfo,
73
77
  getApiIdentityManageInfoResponse: () => getApiIdentityManageInfoResponse,
78
+ getCatalogItem: () => getCatalogItem,
79
+ getCatalogItemParams: () => getCatalogItemParams,
80
+ getCatalogItemResponse: () => getCatalogItemResponse,
74
81
  getConsumeBatchMutationOptions: () => getConsumeBatchMutationOptions,
75
82
  getCreateBatchMutationOptions: () => getCreateBatchMutationOptions,
83
+ getCreateCatalogItemMutationOptions: () => getCreateCatalogItemMutationOptions,
76
84
  getCreateStockItemsMutationOptions: () => getCreateStockItemsMutationOptions,
77
85
  getCreateWarehouseMutationOptions: () => getCreateWarehouseMutationOptions,
78
86
  getDeleteApiIdentityAdminRolesIdMutationOptions: () => getDeleteApiIdentityAdminRolesIdMutationOptions,
87
+ getDeleteCatalogItemMutationOptions: () => getDeleteCatalogItemMutationOptions,
79
88
  getDeleteWarehouseMutationOptions: () => getDeleteWarehouseMutationOptions,
80
89
  getGetApiIdentityAdminPermissionsQueryKey: () => getGetApiIdentityAdminPermissionsQueryKey,
81
90
  getGetApiIdentityAdminPermissionsQueryOptions: () => getGetApiIdentityAdminPermissionsQueryOptions,
@@ -95,6 +104,8 @@ __export(index_exports, {
95
104
  getGetApiIdentityManage2faQueryOptions: () => getGetApiIdentityManage2faQueryOptions,
96
105
  getGetApiIdentityManageInfoQueryKey: () => getGetApiIdentityManageInfoQueryKey,
97
106
  getGetApiIdentityManageInfoQueryOptions: () => getGetApiIdentityManageInfoQueryOptions,
107
+ getGetCatalogItemQueryKey: () => getGetCatalogItemQueryKey,
108
+ getGetCatalogItemQueryOptions: () => getGetCatalogItemQueryOptions,
98
109
  getGetHealthQueryKey: () => getGetHealthQueryKey,
99
110
  getGetHealthQueryOptions: () => getGetHealthQueryOptions,
100
111
  getGetWarehouseByIdQueryKey: () => getGetWarehouseByIdQueryKey,
@@ -102,6 +113,8 @@ __export(index_exports, {
102
113
  getGetWarehouseOptionsQueryKey: () => getGetWarehouseOptionsQueryKey,
103
114
  getGetWarehouseOptionsQueryOptions: () => getGetWarehouseOptionsQueryOptions,
104
115
  getHealth: () => getHealth,
116
+ getListCatalogItemsQueryKey: () => getListCatalogItemsQueryKey,
117
+ getListCatalogItemsQueryOptions: () => getListCatalogItemsQueryOptions,
105
118
  getListStockItemsQueryKey: () => getListStockItemsQueryKey,
106
119
  getListStockItemsQueryOptions: () => getListStockItemsQueryOptions,
107
120
  getListStockMovementsQueryKey: () => getListStockMovementsQueryKey,
@@ -123,6 +136,7 @@ __export(index_exports, {
123
136
  getSearchAddressesQueryKey: () => getSearchAddressesQueryKey,
124
137
  getSearchAddressesQueryOptions: () => getSearchAddressesQueryOptions,
125
138
  getToggleWarehouseStatusMutationOptions: () => getToggleWarehouseStatusMutationOptions,
139
+ getUpdateCatalogItemMutationOptions: () => getUpdateCatalogItemMutationOptions,
126
140
  getUpdateWarehouseMutationOptions: () => getUpdateWarehouseMutationOptions,
127
141
  getWarehouseById: () => getWarehouseById,
128
142
  getWarehouseByIdParams: () => getWarehouseByIdParams,
@@ -130,6 +144,11 @@ __export(index_exports, {
130
144
  getWarehouseOptions: () => getWarehouseOptions,
131
145
  getWarehouseOptionsResponse: () => getWarehouseOptionsResponse,
132
146
  getWarehouseOptionsResponseItem: () => getWarehouseOptionsResponseItem,
147
+ listCatalogItems: () => listCatalogItems,
148
+ listCatalogItemsQueryPageDefault: () => listCatalogItemsQueryPageDefault,
149
+ listCatalogItemsQueryPageSizeDefault: () => listCatalogItemsQueryPageSizeDefault,
150
+ listCatalogItemsQueryParams: () => listCatalogItemsQueryParams,
151
+ listCatalogItemsResponse: () => listCatalogItemsResponse,
133
152
  listStockItems: () => listStockItems,
134
153
  listStockItemsQueryDescendingDefault: () => listStockItemsQueryDescendingDefault,
135
154
  listStockItemsQueryPageDefault: () => listStockItemsQueryPageDefault,
@@ -184,14 +203,20 @@ __export(index_exports, {
184
203
  searchAddressesResponseItem: () => searchAddressesResponseItem,
185
204
  toggleWarehouseStatus: () => toggleWarehouseStatus,
186
205
  toggleWarehouseStatusParams: () => toggleWarehouseStatusParams,
206
+ updateCatalogItem: () => updateCatalogItem,
207
+ updateCatalogItemBody: () => updateCatalogItemBody,
208
+ updateCatalogItemParams: () => updateCatalogItemParams,
209
+ updateCatalogItemResponse: () => updateCatalogItemResponse,
187
210
  updateWarehouse: () => updateWarehouse,
188
211
  updateWarehouseBody: () => updateWarehouseBody,
189
212
  updateWarehouseParams: () => updateWarehouseParams,
190
213
  useConsumeBatch: () => useConsumeBatch,
191
214
  useCreateBatch: () => useCreateBatch,
215
+ useCreateCatalogItem: () => useCreateCatalogItem,
192
216
  useCreateStockItems: () => useCreateStockItems,
193
217
  useCreateWarehouse: () => useCreateWarehouse,
194
218
  useDeleteApiIdentityAdminRolesId: () => useDeleteApiIdentityAdminRolesId,
219
+ useDeleteCatalogItem: () => useDeleteCatalogItem,
195
220
  useDeleteWarehouse: () => useDeleteWarehouse,
196
221
  useGetApiIdentityAdminPermissions: () => useGetApiIdentityAdminPermissions,
197
222
  useGetApiIdentityAdminRoles: () => useGetApiIdentityAdminRoles,
@@ -202,9 +227,11 @@ __export(index_exports, {
202
227
  useGetApiIdentityAntiforgery: () => useGetApiIdentityAntiforgery,
203
228
  useGetApiIdentityManage2fa: () => useGetApiIdentityManage2fa,
204
229
  useGetApiIdentityManageInfo: () => useGetApiIdentityManageInfo,
230
+ useGetCatalogItem: () => useGetCatalogItem,
205
231
  useGetHealth: () => useGetHealth,
206
232
  useGetWarehouseById: () => useGetWarehouseById,
207
233
  useGetWarehouseOptions: () => useGetWarehouseOptions,
234
+ useListCatalogItems: () => useListCatalogItems,
208
235
  useListStockItems: () => useListStockItems,
209
236
  useListStockMovements: () => useListStockMovements,
210
237
  useListWarehouses: () => useListWarehouses,
@@ -222,6 +249,7 @@ __export(index_exports, {
222
249
  usePutApiIdentityAdminUsersIdRoles: () => usePutApiIdentityAdminUsersIdRoles,
223
250
  useSearchAddresses: () => useSearchAddresses,
224
251
  useToggleWarehouseStatus: () => useToggleWarehouseStatus,
252
+ useUpdateCatalogItem: () => useUpdateCatalogItem,
225
253
  useUpdateWarehouse: () => useUpdateWarehouse
226
254
  });
227
255
  module.exports = __toCommonJS(index_exports);
@@ -402,6 +430,93 @@ function useSearchAddresses(params, options, queryClient) {
402
430
  query.queryKey = queryOptions.queryKey;
403
431
  return query;
404
432
  }
433
+ var createCatalogItem = (upsertCatalogItemRequest, options) => {
434
+ return import_axios.default.post(`/api/catalog`, upsertCatalogItemRequest, options);
435
+ };
436
+ var getCreateCatalogItemMutationOptions = (options) => {
437
+ const mutationKey = ["createCatalogItem"];
438
+ const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
439
+ const mutationFn = (props) => {
440
+ const { data } = props ?? {};
441
+ return createCatalogItem(data, axiosOptions);
442
+ };
443
+ return { mutationFn, ...mutationOptions };
444
+ };
445
+ var useCreateCatalogItem = (options, queryClient) => {
446
+ const mutationOptions = getCreateCatalogItemMutationOptions(options);
447
+ return (0, import_react_query.useMutation)(mutationOptions, queryClient);
448
+ };
449
+ var listCatalogItems = (params, options) => {
450
+ return import_axios.default.get(`/api/catalog`, {
451
+ ...options,
452
+ params: { ...params, ...options?.params }
453
+ });
454
+ };
455
+ var getListCatalogItemsQueryKey = (params) => {
456
+ return [`/api/catalog`, ...params ? [params] : []];
457
+ };
458
+ var getListCatalogItemsQueryOptions = (params, options) => {
459
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
460
+ const queryKey = queryOptions?.queryKey ?? getListCatalogItemsQueryKey(params);
461
+ const queryFn = ({ signal }) => listCatalogItems(params, { signal, ...axiosOptions });
462
+ return { queryKey, queryFn, ...queryOptions };
463
+ };
464
+ function useListCatalogItems(params, options, queryClient) {
465
+ const queryOptions = getListCatalogItemsQueryOptions(params, options);
466
+ const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
467
+ query.queryKey = queryOptions.queryKey;
468
+ return query;
469
+ }
470
+ var updateCatalogItem = (id, upsertCatalogItemRequest, options) => {
471
+ return import_axios.default.put(`/api/catalog/${id}`, upsertCatalogItemRequest, options);
472
+ };
473
+ var getUpdateCatalogItemMutationOptions = (options) => {
474
+ const mutationKey = ["updateCatalogItem"];
475
+ const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
476
+ const mutationFn = (props) => {
477
+ const { id, data } = props ?? {};
478
+ return updateCatalogItem(id, data, axiosOptions);
479
+ };
480
+ return { mutationFn, ...mutationOptions };
481
+ };
482
+ var useUpdateCatalogItem = (options, queryClient) => {
483
+ const mutationOptions = getUpdateCatalogItemMutationOptions(options);
484
+ return (0, import_react_query.useMutation)(mutationOptions, queryClient);
485
+ };
486
+ var getCatalogItem = (id, options) => {
487
+ return import_axios.default.get(`/api/catalog/${id}`, options);
488
+ };
489
+ var getGetCatalogItemQueryKey = (id) => {
490
+ return [`/api/catalog/${id}`];
491
+ };
492
+ var getGetCatalogItemQueryOptions = (id, options) => {
493
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
494
+ const queryKey = queryOptions?.queryKey ?? getGetCatalogItemQueryKey(id);
495
+ const queryFn = ({ signal }) => getCatalogItem(id, { signal, ...axiosOptions });
496
+ return { queryKey, queryFn, enabled: !!id, ...queryOptions };
497
+ };
498
+ function useGetCatalogItem(id, options, queryClient) {
499
+ const queryOptions = getGetCatalogItemQueryOptions(id, options);
500
+ const query = (0, import_react_query.useQuery)(queryOptions, queryClient);
501
+ query.queryKey = queryOptions.queryKey;
502
+ return query;
503
+ }
504
+ var deleteCatalogItem = (id, options) => {
505
+ return import_axios.default.delete(`/api/catalog/${id}`, options);
506
+ };
507
+ var getDeleteCatalogItemMutationOptions = (options) => {
508
+ const mutationKey = ["deleteCatalogItem"];
509
+ const { mutation: mutationOptions, axios: axiosOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : { ...options, mutation: { ...options.mutation, mutationKey } } : { mutation: { mutationKey }, axios: void 0 };
510
+ const mutationFn = (props) => {
511
+ const { id } = props ?? {};
512
+ return deleteCatalogItem(id, axiosOptions);
513
+ };
514
+ return { mutationFn, ...mutationOptions };
515
+ };
516
+ var useDeleteCatalogItem = (options, queryClient) => {
517
+ const mutationOptions = getDeleteCatalogItemMutationOptions(options);
518
+ return (0, import_react_query.useMutation)(mutationOptions, queryClient);
519
+ };
405
520
  var createStockItems = (createStockItemCommand, options) => {
406
521
  return import_axios.default.post(`/api/stock-items`, createStockItemCommand, options);
407
522
  };
@@ -988,6 +1103,222 @@ var searchAddressesResponseItem = zod.strictObject({
988
1103
  zipCode: zod.string().optional()
989
1104
  });
990
1105
  var searchAddressesResponse = zod.array(searchAddressesResponseItem);
1106
+ var createCatalogItemBody = zod.strictObject({
1107
+ categoryId: zod.uuid(),
1108
+ name: zod.string(),
1109
+ slug: zod.string(),
1110
+ status: zod.string(),
1111
+ classification: zod.string(),
1112
+ variants: zod.array(
1113
+ zod.strictObject({
1114
+ id: zod.uuid().nullish(),
1115
+ code: zod.string(),
1116
+ itemId: zod.uuid(),
1117
+ multiplier: zod.number(),
1118
+ attributes: zod.array(
1119
+ zod.strictObject({
1120
+ name: zod.string(),
1121
+ value: zod.string()
1122
+ })
1123
+ ),
1124
+ weight: zod.strictObject({
1125
+ value: zod.number(),
1126
+ unit: zod.string()
1127
+ }),
1128
+ price: zod.strictObject({
1129
+ baseAmount: zod.number(),
1130
+ baseCurrency: zod.string(),
1131
+ sale: zod.union([
1132
+ zod.null(),
1133
+ zod.strictObject({
1134
+ amount: zod.number(),
1135
+ currency: zod.string(),
1136
+ startAt: zod.iso.datetime({}),
1137
+ endAt: zod.iso.datetime({})
1138
+ })
1139
+ ]).optional(),
1140
+ wholesale: zod.array(
1141
+ zod.strictObject({
1142
+ minQty: zod.number(),
1143
+ amount: zod.number(),
1144
+ currency: zod.string()
1145
+ })
1146
+ ).nullish()
1147
+ })
1148
+ })
1149
+ )
1150
+ });
1151
+ var listCatalogItemsQueryPageDefault = 1;
1152
+ var listCatalogItemsQueryPageSizeDefault = 10;
1153
+ var listCatalogItemsQueryParams = zod.strictObject({
1154
+ page: zod.coerce.number().default(listCatalogItemsQueryPageDefault),
1155
+ pageSize: zod.coerce.number().default(listCatalogItemsQueryPageSizeDefault)
1156
+ });
1157
+ var listCatalogItemsResponse = zod.strictObject({
1158
+ items: zod.array(
1159
+ zod.strictObject({
1160
+ id: zod.uuid(),
1161
+ categoryId: zod.uuid(),
1162
+ name: zod.string(),
1163
+ slug: zod.string(),
1164
+ status: zod.string(),
1165
+ classification: zod.string(),
1166
+ variantCount: zod.number()
1167
+ })
1168
+ ),
1169
+ page: zod.number(),
1170
+ pageSize: zod.number(),
1171
+ totalCount: zod.number(),
1172
+ totalPages: zod.number().optional(),
1173
+ hasNextPage: zod.boolean().optional(),
1174
+ hasPreviousPage: zod.boolean().optional()
1175
+ });
1176
+ var updateCatalogItemParams = zod.strictObject({
1177
+ id: zod.uuid()
1178
+ });
1179
+ var updateCatalogItemBody = zod.strictObject({
1180
+ categoryId: zod.uuid(),
1181
+ name: zod.string(),
1182
+ slug: zod.string(),
1183
+ status: zod.string(),
1184
+ classification: zod.string(),
1185
+ variants: zod.array(
1186
+ zod.strictObject({
1187
+ id: zod.uuid().nullish(),
1188
+ code: zod.string(),
1189
+ itemId: zod.uuid(),
1190
+ multiplier: zod.number(),
1191
+ attributes: zod.array(
1192
+ zod.strictObject({
1193
+ name: zod.string(),
1194
+ value: zod.string()
1195
+ })
1196
+ ),
1197
+ weight: zod.strictObject({
1198
+ value: zod.number(),
1199
+ unit: zod.string()
1200
+ }),
1201
+ price: zod.strictObject({
1202
+ baseAmount: zod.number(),
1203
+ baseCurrency: zod.string(),
1204
+ sale: zod.union([
1205
+ zod.null(),
1206
+ zod.strictObject({
1207
+ amount: zod.number(),
1208
+ currency: zod.string(),
1209
+ startAt: zod.iso.datetime({}),
1210
+ endAt: zod.iso.datetime({})
1211
+ })
1212
+ ]).optional(),
1213
+ wholesale: zod.array(
1214
+ zod.strictObject({
1215
+ minQty: zod.number(),
1216
+ amount: zod.number(),
1217
+ currency: zod.string()
1218
+ })
1219
+ ).nullish()
1220
+ })
1221
+ })
1222
+ )
1223
+ });
1224
+ var updateCatalogItemResponse = zod.strictObject({
1225
+ id: zod.uuid(),
1226
+ categoryId: zod.uuid(),
1227
+ name: zod.string(),
1228
+ slug: zod.string(),
1229
+ status: zod.string(),
1230
+ classification: zod.string(),
1231
+ variants: zod.array(
1232
+ zod.strictObject({
1233
+ id: zod.uuid().nullish(),
1234
+ code: zod.string(),
1235
+ itemId: zod.uuid(),
1236
+ multiplier: zod.number(),
1237
+ attributes: zod.array(
1238
+ zod.strictObject({
1239
+ name: zod.string(),
1240
+ value: zod.string()
1241
+ })
1242
+ ),
1243
+ weight: zod.strictObject({
1244
+ value: zod.number(),
1245
+ unit: zod.string()
1246
+ }),
1247
+ price: zod.strictObject({
1248
+ baseAmount: zod.number(),
1249
+ baseCurrency: zod.string(),
1250
+ sale: zod.union([
1251
+ zod.null(),
1252
+ zod.strictObject({
1253
+ amount: zod.number(),
1254
+ currency: zod.string(),
1255
+ startAt: zod.iso.datetime({}),
1256
+ endAt: zod.iso.datetime({})
1257
+ })
1258
+ ]).optional(),
1259
+ wholesale: zod.array(
1260
+ zod.strictObject({
1261
+ minQty: zod.number(),
1262
+ amount: zod.number(),
1263
+ currency: zod.string()
1264
+ })
1265
+ ).nullish()
1266
+ })
1267
+ })
1268
+ )
1269
+ });
1270
+ var getCatalogItemParams = zod.strictObject({
1271
+ id: zod.uuid()
1272
+ });
1273
+ var getCatalogItemResponse = zod.strictObject({
1274
+ id: zod.uuid(),
1275
+ categoryId: zod.uuid(),
1276
+ name: zod.string(),
1277
+ slug: zod.string(),
1278
+ status: zod.string(),
1279
+ classification: zod.string(),
1280
+ variants: zod.array(
1281
+ zod.strictObject({
1282
+ id: zod.uuid().nullish(),
1283
+ code: zod.string(),
1284
+ itemId: zod.uuid(),
1285
+ multiplier: zod.number(),
1286
+ attributes: zod.array(
1287
+ zod.strictObject({
1288
+ name: zod.string(),
1289
+ value: zod.string()
1290
+ })
1291
+ ),
1292
+ weight: zod.strictObject({
1293
+ value: zod.number(),
1294
+ unit: zod.string()
1295
+ }),
1296
+ price: zod.strictObject({
1297
+ baseAmount: zod.number(),
1298
+ baseCurrency: zod.string(),
1299
+ sale: zod.union([
1300
+ zod.null(),
1301
+ zod.strictObject({
1302
+ amount: zod.number(),
1303
+ currency: zod.string(),
1304
+ startAt: zod.iso.datetime({}),
1305
+ endAt: zod.iso.datetime({})
1306
+ })
1307
+ ]).optional(),
1308
+ wholesale: zod.array(
1309
+ zod.strictObject({
1310
+ minQty: zod.number(),
1311
+ amount: zod.number(),
1312
+ currency: zod.string()
1313
+ })
1314
+ ).nullish()
1315
+ })
1316
+ })
1317
+ )
1318
+ });
1319
+ var deleteCatalogItemParams = zod.strictObject({
1320
+ id: zod.uuid()
1321
+ });
991
1322
  var createStockItemsBody = zod.strictObject({
992
1323
  name: zod.string(),
993
1324
  sku: zod.string(),
@@ -1235,12 +1566,16 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1235
1566
  consumeBatchParams,
1236
1567
  createBatch,
1237
1568
  createBatchBody,
1569
+ createCatalogItem,
1570
+ createCatalogItemBody,
1238
1571
  createStockItems,
1239
1572
  createStockItemsBody,
1240
1573
  createWarehouse,
1241
1574
  createWarehouseBody,
1242
1575
  deleteApiIdentityAdminRolesId,
1243
1576
  deleteApiIdentityAdminRolesIdParams,
1577
+ deleteCatalogItem,
1578
+ deleteCatalogItemParams,
1244
1579
  deleteWarehouse,
1245
1580
  deleteWarehouseParams,
1246
1581
  getApiIdentityAdminPermissions,
@@ -1269,11 +1604,16 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1269
1604
  getApiIdentityManage2faResponse,
1270
1605
  getApiIdentityManageInfo,
1271
1606
  getApiIdentityManageInfoResponse,
1607
+ getCatalogItem,
1608
+ getCatalogItemParams,
1609
+ getCatalogItemResponse,
1272
1610
  getConsumeBatchMutationOptions,
1273
1611
  getCreateBatchMutationOptions,
1612
+ getCreateCatalogItemMutationOptions,
1274
1613
  getCreateStockItemsMutationOptions,
1275
1614
  getCreateWarehouseMutationOptions,
1276
1615
  getDeleteApiIdentityAdminRolesIdMutationOptions,
1616
+ getDeleteCatalogItemMutationOptions,
1277
1617
  getDeleteWarehouseMutationOptions,
1278
1618
  getGetApiIdentityAdminPermissionsQueryKey,
1279
1619
  getGetApiIdentityAdminPermissionsQueryOptions,
@@ -1293,6 +1633,8 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1293
1633
  getGetApiIdentityManage2faQueryOptions,
1294
1634
  getGetApiIdentityManageInfoQueryKey,
1295
1635
  getGetApiIdentityManageInfoQueryOptions,
1636
+ getGetCatalogItemQueryKey,
1637
+ getGetCatalogItemQueryOptions,
1296
1638
  getGetHealthQueryKey,
1297
1639
  getGetHealthQueryOptions,
1298
1640
  getGetWarehouseByIdQueryKey,
@@ -1300,6 +1642,8 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1300
1642
  getGetWarehouseOptionsQueryKey,
1301
1643
  getGetWarehouseOptionsQueryOptions,
1302
1644
  getHealth,
1645
+ getListCatalogItemsQueryKey,
1646
+ getListCatalogItemsQueryOptions,
1303
1647
  getListStockItemsQueryKey,
1304
1648
  getListStockItemsQueryOptions,
1305
1649
  getListStockMovementsQueryKey,
@@ -1321,6 +1665,7 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1321
1665
  getSearchAddressesQueryKey,
1322
1666
  getSearchAddressesQueryOptions,
1323
1667
  getToggleWarehouseStatusMutationOptions,
1668
+ getUpdateCatalogItemMutationOptions,
1324
1669
  getUpdateWarehouseMutationOptions,
1325
1670
  getWarehouseById,
1326
1671
  getWarehouseByIdParams,
@@ -1328,6 +1673,11 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1328
1673
  getWarehouseOptions,
1329
1674
  getWarehouseOptionsResponse,
1330
1675
  getWarehouseOptionsResponseItem,
1676
+ listCatalogItems,
1677
+ listCatalogItemsQueryPageDefault,
1678
+ listCatalogItemsQueryPageSizeDefault,
1679
+ listCatalogItemsQueryParams,
1680
+ listCatalogItemsResponse,
1331
1681
  listStockItems,
1332
1682
  listStockItemsQueryDescendingDefault,
1333
1683
  listStockItemsQueryPageDefault,
@@ -1382,14 +1732,20 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1382
1732
  searchAddressesResponseItem,
1383
1733
  toggleWarehouseStatus,
1384
1734
  toggleWarehouseStatusParams,
1735
+ updateCatalogItem,
1736
+ updateCatalogItemBody,
1737
+ updateCatalogItemParams,
1738
+ updateCatalogItemResponse,
1385
1739
  updateWarehouse,
1386
1740
  updateWarehouseBody,
1387
1741
  updateWarehouseParams,
1388
1742
  useConsumeBatch,
1389
1743
  useCreateBatch,
1744
+ useCreateCatalogItem,
1390
1745
  useCreateStockItems,
1391
1746
  useCreateWarehouse,
1392
1747
  useDeleteApiIdentityAdminRolesId,
1748
+ useDeleteCatalogItem,
1393
1749
  useDeleteWarehouse,
1394
1750
  useGetApiIdentityAdminPermissions,
1395
1751
  useGetApiIdentityAdminRoles,
@@ -1400,9 +1756,11 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1400
1756
  useGetApiIdentityAntiforgery,
1401
1757
  useGetApiIdentityManage2fa,
1402
1758
  useGetApiIdentityManageInfo,
1759
+ useGetCatalogItem,
1403
1760
  useGetHealth,
1404
1761
  useGetWarehouseById,
1405
1762
  useGetWarehouseOptions,
1763
+ useListCatalogItems,
1406
1764
  useListStockItems,
1407
1765
  useListStockMovements,
1408
1766
  useListWarehouses,
@@ -1420,6 +1778,7 @@ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1420
1778
  usePutApiIdentityAdminUsersIdRoles,
1421
1779
  useSearchAddresses,
1422
1780
  useToggleWarehouseStatus,
1781
+ useUpdateCatalogItem,
1423
1782
  useUpdateWarehouse
1424
1783
  });
1425
1784
  //# sourceMappingURL=index.js.map