@arascreative/erp-api-client 1.0.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.mjs CHANGED
@@ -174,6 +174,93 @@ function useSearchAddresses(params, options, queryClient) {
174
174
  query.queryKey = queryOptions.queryKey;
175
175
  return query;
176
176
  }
177
+ var createCatalogItem = (upsertCatalogItemRequest, options) => {
178
+ return axios.post(`/api/catalog`, upsertCatalogItemRequest, options);
179
+ };
180
+ var getCreateCatalogItemMutationOptions = (options) => {
181
+ const mutationKey = ["createCatalogItem"];
182
+ 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 };
183
+ const mutationFn = (props) => {
184
+ const { data } = props ?? {};
185
+ return createCatalogItem(data, axiosOptions);
186
+ };
187
+ return { mutationFn, ...mutationOptions };
188
+ };
189
+ var useCreateCatalogItem = (options, queryClient) => {
190
+ const mutationOptions = getCreateCatalogItemMutationOptions(options);
191
+ return useMutation(mutationOptions, queryClient);
192
+ };
193
+ var listCatalogItems = (params, options) => {
194
+ return axios.get(`/api/catalog`, {
195
+ ...options,
196
+ params: { ...params, ...options?.params }
197
+ });
198
+ };
199
+ var getListCatalogItemsQueryKey = (params) => {
200
+ return [`/api/catalog`, ...params ? [params] : []];
201
+ };
202
+ var getListCatalogItemsQueryOptions = (params, options) => {
203
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
204
+ const queryKey = queryOptions?.queryKey ?? getListCatalogItemsQueryKey(params);
205
+ const queryFn = ({ signal }) => listCatalogItems(params, { signal, ...axiosOptions });
206
+ return { queryKey, queryFn, ...queryOptions };
207
+ };
208
+ function useListCatalogItems(params, options, queryClient) {
209
+ const queryOptions = getListCatalogItemsQueryOptions(params, options);
210
+ const query = useQuery(queryOptions, queryClient);
211
+ query.queryKey = queryOptions.queryKey;
212
+ return query;
213
+ }
214
+ var updateCatalogItem = (id, upsertCatalogItemRequest, options) => {
215
+ return axios.put(`/api/catalog/${id}`, upsertCatalogItemRequest, options);
216
+ };
217
+ var getUpdateCatalogItemMutationOptions = (options) => {
218
+ const mutationKey = ["updateCatalogItem"];
219
+ 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 };
220
+ const mutationFn = (props) => {
221
+ const { id, data } = props ?? {};
222
+ return updateCatalogItem(id, data, axiosOptions);
223
+ };
224
+ return { mutationFn, ...mutationOptions };
225
+ };
226
+ var useUpdateCatalogItem = (options, queryClient) => {
227
+ const mutationOptions = getUpdateCatalogItemMutationOptions(options);
228
+ return useMutation(mutationOptions, queryClient);
229
+ };
230
+ var getCatalogItem = (id, options) => {
231
+ return axios.get(`/api/catalog/${id}`, options);
232
+ };
233
+ var getGetCatalogItemQueryKey = (id) => {
234
+ return [`/api/catalog/${id}`];
235
+ };
236
+ var getGetCatalogItemQueryOptions = (id, options) => {
237
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
238
+ const queryKey = queryOptions?.queryKey ?? getGetCatalogItemQueryKey(id);
239
+ const queryFn = ({ signal }) => getCatalogItem(id, { signal, ...axiosOptions });
240
+ return { queryKey, queryFn, enabled: !!id, ...queryOptions };
241
+ };
242
+ function useGetCatalogItem(id, options, queryClient) {
243
+ const queryOptions = getGetCatalogItemQueryOptions(id, options);
244
+ const query = useQuery(queryOptions, queryClient);
245
+ query.queryKey = queryOptions.queryKey;
246
+ return query;
247
+ }
248
+ var deleteCatalogItem = (id, options) => {
249
+ return axios.delete(`/api/catalog/${id}`, options);
250
+ };
251
+ var getDeleteCatalogItemMutationOptions = (options) => {
252
+ const mutationKey = ["deleteCatalogItem"];
253
+ 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 };
254
+ const mutationFn = (props) => {
255
+ const { id } = props ?? {};
256
+ return deleteCatalogItem(id, axiosOptions);
257
+ };
258
+ return { mutationFn, ...mutationOptions };
259
+ };
260
+ var useDeleteCatalogItem = (options, queryClient) => {
261
+ const mutationOptions = getDeleteCatalogItemMutationOptions(options);
262
+ return useMutation(mutationOptions, queryClient);
263
+ };
177
264
  var createStockItems = (createStockItemCommand, options) => {
178
265
  return axios.post(`/api/stock-items`, createStockItemCommand, options);
179
266
  };
@@ -264,6 +351,394 @@ function useListStockMovements(params, options, queryClient) {
264
351
  query.queryKey = queryOptions.queryKey;
265
352
  return query;
266
353
  }
354
+ var getApiIdentityAntiforgery = (options) => {
355
+ return axios.get(`/api/identity/antiforgery`, options);
356
+ };
357
+ var getGetApiIdentityAntiforgeryQueryKey = () => {
358
+ return [`/api/identity/antiforgery`];
359
+ };
360
+ var getGetApiIdentityAntiforgeryQueryOptions = (options) => {
361
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
362
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAntiforgeryQueryKey();
363
+ const queryFn = ({
364
+ signal
365
+ }) => getApiIdentityAntiforgery({ signal, ...axiosOptions });
366
+ return { queryKey, queryFn, ...queryOptions };
367
+ };
368
+ function useGetApiIdentityAntiforgery(options, queryClient) {
369
+ const queryOptions = getGetApiIdentityAntiforgeryQueryOptions(options);
370
+ const query = useQuery(queryOptions, queryClient);
371
+ query.queryKey = queryOptions.queryKey;
372
+ return query;
373
+ }
374
+ var postApiIdentityLogin = (loginRequest, options) => {
375
+ return axios.post(`/api/identity/login`, loginRequest, options);
376
+ };
377
+ var getPostApiIdentityLoginMutationOptions = (options) => {
378
+ const mutationKey = ["postApiIdentityLogin"];
379
+ 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 };
380
+ const mutationFn = (props) => {
381
+ const { data } = props ?? {};
382
+ return postApiIdentityLogin(data, axiosOptions);
383
+ };
384
+ return { mutationFn, ...mutationOptions };
385
+ };
386
+ var usePostApiIdentityLogin = (options, queryClient) => {
387
+ const mutationOptions = getPostApiIdentityLoginMutationOptions(options);
388
+ return useMutation(mutationOptions, queryClient);
389
+ };
390
+ var postApiIdentityLogout = (options) => {
391
+ return axios.post(`/api/identity/logout`, void 0, options);
392
+ };
393
+ var getPostApiIdentityLogoutMutationOptions = (options) => {
394
+ const mutationKey = ["postApiIdentityLogout"];
395
+ 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 };
396
+ const mutationFn = () => {
397
+ return postApiIdentityLogout(axiosOptions);
398
+ };
399
+ return { mutationFn, ...mutationOptions };
400
+ };
401
+ var usePostApiIdentityLogout = (options, queryClient) => {
402
+ const mutationOptions = getPostApiIdentityLogoutMutationOptions(options);
403
+ return useMutation(mutationOptions, queryClient);
404
+ };
405
+ var postApiIdentityForgotPassword = (emailRequest, options) => {
406
+ return axios.post(`/api/identity/forgotPassword`, emailRequest, options);
407
+ };
408
+ var getPostApiIdentityForgotPasswordMutationOptions = (options) => {
409
+ const mutationKey = ["postApiIdentityForgotPassword"];
410
+ 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 };
411
+ const mutationFn = (props) => {
412
+ const { data } = props ?? {};
413
+ return postApiIdentityForgotPassword(data, axiosOptions);
414
+ };
415
+ return { mutationFn, ...mutationOptions };
416
+ };
417
+ var usePostApiIdentityForgotPassword = (options, queryClient) => {
418
+ const mutationOptions = getPostApiIdentityForgotPasswordMutationOptions(options);
419
+ return useMutation(mutationOptions, queryClient);
420
+ };
421
+ var postApiIdentityResetPassword = (resetPasswordRequest, options) => {
422
+ return axios.post(`/api/identity/resetPassword`, resetPasswordRequest, options);
423
+ };
424
+ var getPostApiIdentityResetPasswordMutationOptions = (options) => {
425
+ const mutationKey = ["postApiIdentityResetPassword"];
426
+ 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 };
427
+ const mutationFn = (props) => {
428
+ const { data } = props ?? {};
429
+ return postApiIdentityResetPassword(data, axiosOptions);
430
+ };
431
+ return { mutationFn, ...mutationOptions };
432
+ };
433
+ var usePostApiIdentityResetPassword = (options, queryClient) => {
434
+ const mutationOptions = getPostApiIdentityResetPasswordMutationOptions(options);
435
+ return useMutation(mutationOptions, queryClient);
436
+ };
437
+ var getApiIdentityManage2fa = (options) => {
438
+ return axios.get(`/api/identity/manage/2fa`, options);
439
+ };
440
+ var getGetApiIdentityManage2faQueryKey = () => {
441
+ return [`/api/identity/manage/2fa`];
442
+ };
443
+ var getGetApiIdentityManage2faQueryOptions = (options) => {
444
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
445
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityManage2faQueryKey();
446
+ const queryFn = ({
447
+ signal
448
+ }) => getApiIdentityManage2fa({ signal, ...axiosOptions });
449
+ return { queryKey, queryFn, ...queryOptions };
450
+ };
451
+ function useGetApiIdentityManage2fa(options, queryClient) {
452
+ const queryOptions = getGetApiIdentityManage2faQueryOptions(options);
453
+ const query = useQuery(queryOptions, queryClient);
454
+ query.queryKey = queryOptions.queryKey;
455
+ return query;
456
+ }
457
+ var postApiIdentityManage2fa = (twoFactorRequest, options) => {
458
+ return axios.post(`/api/identity/manage/2fa`, twoFactorRequest, options);
459
+ };
460
+ var getPostApiIdentityManage2faMutationOptions = (options) => {
461
+ const mutationKey = ["postApiIdentityManage2fa"];
462
+ 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 };
463
+ const mutationFn = (props) => {
464
+ const { data } = props ?? {};
465
+ return postApiIdentityManage2fa(data, axiosOptions);
466
+ };
467
+ return { mutationFn, ...mutationOptions };
468
+ };
469
+ var usePostApiIdentityManage2fa = (options, queryClient) => {
470
+ const mutationOptions = getPostApiIdentityManage2faMutationOptions(options);
471
+ return useMutation(mutationOptions, queryClient);
472
+ };
473
+ var getApiIdentityManageInfo = (options) => {
474
+ return axios.get(`/api/identity/manage/info`, options);
475
+ };
476
+ var getGetApiIdentityManageInfoQueryKey = () => {
477
+ return [`/api/identity/manage/info`];
478
+ };
479
+ var getGetApiIdentityManageInfoQueryOptions = (options) => {
480
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
481
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityManageInfoQueryKey();
482
+ const queryFn = ({
483
+ signal
484
+ }) => getApiIdentityManageInfo({ signal, ...axiosOptions });
485
+ return { queryKey, queryFn, ...queryOptions };
486
+ };
487
+ function useGetApiIdentityManageInfo(options, queryClient) {
488
+ const queryOptions = getGetApiIdentityManageInfoQueryOptions(options);
489
+ const query = useQuery(queryOptions, queryClient);
490
+ query.queryKey = queryOptions.queryKey;
491
+ return query;
492
+ }
493
+ var postApiIdentityManageInfo = (updateAccountRequest, options) => {
494
+ return axios.post(`/api/identity/manage/info`, updateAccountRequest, options);
495
+ };
496
+ var getPostApiIdentityManageInfoMutationOptions = (options) => {
497
+ const mutationKey = ["postApiIdentityManageInfo"];
498
+ 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 };
499
+ const mutationFn = (props) => {
500
+ const { data } = props ?? {};
501
+ return postApiIdentityManageInfo(data, axiosOptions);
502
+ };
503
+ return { mutationFn, ...mutationOptions };
504
+ };
505
+ var usePostApiIdentityManageInfo = (options, queryClient) => {
506
+ const mutationOptions = getPostApiIdentityManageInfoMutationOptions(options);
507
+ return useMutation(mutationOptions, queryClient);
508
+ };
509
+ var getApiIdentityAdminRoles = (options) => {
510
+ return axios.get(`/api/identity/admin/roles`, options);
511
+ };
512
+ var getGetApiIdentityAdminRolesQueryKey = () => {
513
+ return [`/api/identity/admin/roles`];
514
+ };
515
+ var getGetApiIdentityAdminRolesQueryOptions = (options) => {
516
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
517
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminRolesQueryKey();
518
+ const queryFn = ({
519
+ signal
520
+ }) => getApiIdentityAdminRoles({ signal, ...axiosOptions });
521
+ return { queryKey, queryFn, ...queryOptions };
522
+ };
523
+ function useGetApiIdentityAdminRoles(options, queryClient) {
524
+ const queryOptions = getGetApiIdentityAdminRolesQueryOptions(options);
525
+ const query = useQuery(queryOptions, queryClient);
526
+ query.queryKey = queryOptions.queryKey;
527
+ return query;
528
+ }
529
+ var postApiIdentityAdminRoles = (roleNameRequest, options) => {
530
+ return axios.post(`/api/identity/admin/roles`, roleNameRequest, options);
531
+ };
532
+ var getPostApiIdentityAdminRolesMutationOptions = (options) => {
533
+ const mutationKey = ["postApiIdentityAdminRoles"];
534
+ 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 };
535
+ const mutationFn = (props) => {
536
+ const { data } = props ?? {};
537
+ return postApiIdentityAdminRoles(data, axiosOptions);
538
+ };
539
+ return { mutationFn, ...mutationOptions };
540
+ };
541
+ var usePostApiIdentityAdminRoles = (options, queryClient) => {
542
+ const mutationOptions = getPostApiIdentityAdminRolesMutationOptions(options);
543
+ return useMutation(mutationOptions, queryClient);
544
+ };
545
+ var getApiIdentityAdminRolesId = (id, options) => {
546
+ return axios.get(`/api/identity/admin/roles/${id}`, options);
547
+ };
548
+ var getGetApiIdentityAdminRolesIdQueryKey = (id) => {
549
+ return [`/api/identity/admin/roles/${id}`];
550
+ };
551
+ var getGetApiIdentityAdminRolesIdQueryOptions = (id, options) => {
552
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
553
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminRolesIdQueryKey(id);
554
+ const queryFn = ({
555
+ signal
556
+ }) => getApiIdentityAdminRolesId(id, { signal, ...axiosOptions });
557
+ return { queryKey, queryFn, enabled: !!id, ...queryOptions };
558
+ };
559
+ function useGetApiIdentityAdminRolesId(id, options, queryClient) {
560
+ const queryOptions = getGetApiIdentityAdminRolesIdQueryOptions(id, options);
561
+ const query = useQuery(queryOptions, queryClient);
562
+ query.queryKey = queryOptions.queryKey;
563
+ return query;
564
+ }
565
+ var putApiIdentityAdminRolesId = (id, roleNameRequest, options) => {
566
+ return axios.put(`/api/identity/admin/roles/${id}`, roleNameRequest, options);
567
+ };
568
+ var getPutApiIdentityAdminRolesIdMutationOptions = (options) => {
569
+ const mutationKey = ["putApiIdentityAdminRolesId"];
570
+ 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 };
571
+ const mutationFn = (props) => {
572
+ const { id, data } = props ?? {};
573
+ return putApiIdentityAdminRolesId(id, data, axiosOptions);
574
+ };
575
+ return { mutationFn, ...mutationOptions };
576
+ };
577
+ var usePutApiIdentityAdminRolesId = (options, queryClient) => {
578
+ const mutationOptions = getPutApiIdentityAdminRolesIdMutationOptions(options);
579
+ return useMutation(mutationOptions, queryClient);
580
+ };
581
+ var deleteApiIdentityAdminRolesId = (id, options) => {
582
+ return axios.delete(`/api/identity/admin/roles/${id}`, options);
583
+ };
584
+ var getDeleteApiIdentityAdminRolesIdMutationOptions = (options) => {
585
+ const mutationKey = ["deleteApiIdentityAdminRolesId"];
586
+ 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 };
587
+ const mutationFn = (props) => {
588
+ const { id } = props ?? {};
589
+ return deleteApiIdentityAdminRolesId(id, axiosOptions);
590
+ };
591
+ return { mutationFn, ...mutationOptions };
592
+ };
593
+ var useDeleteApiIdentityAdminRolesId = (options, queryClient) => {
594
+ const mutationOptions = getDeleteApiIdentityAdminRolesIdMutationOptions(options);
595
+ return useMutation(mutationOptions, queryClient);
596
+ };
597
+ var putApiIdentityAdminRolesIdPermissions = (id, setPermissionsRequest, options) => {
598
+ return axios.put(`/api/identity/admin/roles/${id}/permissions`, setPermissionsRequest, options);
599
+ };
600
+ var getPutApiIdentityAdminRolesIdPermissionsMutationOptions = (options) => {
601
+ const mutationKey = ["putApiIdentityAdminRolesIdPermissions"];
602
+ 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 };
603
+ const mutationFn = (props) => {
604
+ const { id, data } = props ?? {};
605
+ return putApiIdentityAdminRolesIdPermissions(id, data, axiosOptions);
606
+ };
607
+ return { mutationFn, ...mutationOptions };
608
+ };
609
+ var usePutApiIdentityAdminRolesIdPermissions = (options, queryClient) => {
610
+ const mutationOptions = getPutApiIdentityAdminRolesIdPermissionsMutationOptions(options);
611
+ return useMutation(mutationOptions, queryClient);
612
+ };
613
+ var getApiIdentityAdminPermissions = (options) => {
614
+ return axios.get(`/api/identity/admin/permissions`, options);
615
+ };
616
+ var getGetApiIdentityAdminPermissionsQueryKey = () => {
617
+ return [`/api/identity/admin/permissions`];
618
+ };
619
+ var getGetApiIdentityAdminPermissionsQueryOptions = (options) => {
620
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
621
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminPermissionsQueryKey();
622
+ const queryFn = ({
623
+ signal
624
+ }) => getApiIdentityAdminPermissions({ signal, ...axiosOptions });
625
+ return { queryKey, queryFn, ...queryOptions };
626
+ };
627
+ function useGetApiIdentityAdminPermissions(options, queryClient) {
628
+ const queryOptions = getGetApiIdentityAdminPermissionsQueryOptions(options);
629
+ const query = useQuery(queryOptions, queryClient);
630
+ query.queryKey = queryOptions.queryKey;
631
+ return query;
632
+ }
633
+ var getApiIdentityAdminUsers = (params, options) => {
634
+ return axios.get(`/api/identity/admin/users`, {
635
+ ...options,
636
+ params: { ...params, ...options?.params }
637
+ });
638
+ };
639
+ var getGetApiIdentityAdminUsersQueryKey = (params) => {
640
+ return [`/api/identity/admin/users`, ...params ? [params] : []];
641
+ };
642
+ var getGetApiIdentityAdminUsersQueryOptions = (params, options) => {
643
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
644
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersQueryKey(params);
645
+ const queryFn = ({
646
+ signal
647
+ }) => getApiIdentityAdminUsers(params, { signal, ...axiosOptions });
648
+ return { queryKey, queryFn, ...queryOptions };
649
+ };
650
+ function useGetApiIdentityAdminUsers(params, options, queryClient) {
651
+ const queryOptions = getGetApiIdentityAdminUsersQueryOptions(params, options);
652
+ const query = useQuery(queryOptions, queryClient);
653
+ query.queryKey = queryOptions.queryKey;
654
+ return query;
655
+ }
656
+ var getApiIdentityAdminUsersIdRoles = (id, options) => {
657
+ return axios.get(`/api/identity/admin/users/${id}/roles`, options);
658
+ };
659
+ var getGetApiIdentityAdminUsersIdRolesQueryKey = (id) => {
660
+ return [`/api/identity/admin/users/${id}/roles`];
661
+ };
662
+ var getGetApiIdentityAdminUsersIdRolesQueryOptions = (id, options) => {
663
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
664
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersIdRolesQueryKey(id);
665
+ const queryFn = ({
666
+ signal
667
+ }) => getApiIdentityAdminUsersIdRoles(id, { signal, ...axiosOptions });
668
+ return { queryKey, queryFn, enabled: !!id, ...queryOptions };
669
+ };
670
+ function useGetApiIdentityAdminUsersIdRoles(id, options, queryClient) {
671
+ const queryOptions = getGetApiIdentityAdminUsersIdRolesQueryOptions(id, options);
672
+ const query = useQuery(queryOptions, queryClient);
673
+ query.queryKey = queryOptions.queryKey;
674
+ return query;
675
+ }
676
+ var putApiIdentityAdminUsersIdRoles = (id, setUserRolesRequest, options) => {
677
+ return axios.put(`/api/identity/admin/users/${id}/roles`, setUserRolesRequest, options);
678
+ };
679
+ var getPutApiIdentityAdminUsersIdRolesMutationOptions = (options) => {
680
+ const mutationKey = ["putApiIdentityAdminUsersIdRoles"];
681
+ 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 };
682
+ const mutationFn = (props) => {
683
+ const { id, data } = props ?? {};
684
+ return putApiIdentityAdminUsersIdRoles(id, data, axiosOptions);
685
+ };
686
+ return { mutationFn, ...mutationOptions };
687
+ };
688
+ var usePutApiIdentityAdminUsersIdRoles = (options, queryClient) => {
689
+ const mutationOptions = getPutApiIdentityAdminUsersIdRolesMutationOptions(options);
690
+ return useMutation(mutationOptions, queryClient);
691
+ };
692
+ var getApiIdentityAdminUsersIdPermissions = (id, options) => {
693
+ return axios.get(`/api/identity/admin/users/${id}/permissions`, options);
694
+ };
695
+ var getGetApiIdentityAdminUsersIdPermissionsQueryKey = (id) => {
696
+ return [`/api/identity/admin/users/${id}/permissions`];
697
+ };
698
+ var getGetApiIdentityAdminUsersIdPermissionsQueryOptions = (id, options) => {
699
+ const { query: queryOptions, axios: axiosOptions } = options ?? {};
700
+ const queryKey = queryOptions?.queryKey ?? getGetApiIdentityAdminUsersIdPermissionsQueryKey(id);
701
+ const queryFn = ({ signal }) => getApiIdentityAdminUsersIdPermissions(id, { signal, ...axiosOptions });
702
+ return { queryKey, queryFn, enabled: !!id, ...queryOptions };
703
+ };
704
+ function useGetApiIdentityAdminUsersIdPermissions(id, options, queryClient) {
705
+ const queryOptions = getGetApiIdentityAdminUsersIdPermissionsQueryOptions(id, options);
706
+ const query = useQuery(queryOptions, queryClient);
707
+ query.queryKey = queryOptions.queryKey;
708
+ return query;
709
+ }
710
+ var putApiIdentityAdminUsersIdActive = (id, setUserActiveRequest, options) => {
711
+ return axios.put(`/api/identity/admin/users/${id}/active`, setUserActiveRequest, options);
712
+ };
713
+ var getPutApiIdentityAdminUsersIdActiveMutationOptions = (options) => {
714
+ const mutationKey = ["putApiIdentityAdminUsersIdActive"];
715
+ 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 };
716
+ const mutationFn = (props) => {
717
+ const { id, data } = props ?? {};
718
+ return putApiIdentityAdminUsersIdActive(id, data, axiosOptions);
719
+ };
720
+ return { mutationFn, ...mutationOptions };
721
+ };
722
+ var usePutApiIdentityAdminUsersIdActive = (options, queryClient) => {
723
+ const mutationOptions = getPutApiIdentityAdminUsersIdActiveMutationOptions(options);
724
+ return useMutation(mutationOptions, queryClient);
725
+ };
726
+ var postApiIdentityAdminUsersIdLogout = (id, options) => {
727
+ return axios.post(`/api/identity/admin/users/${id}/logout`, void 0, options);
728
+ };
729
+ var getPostApiIdentityAdminUsersIdLogoutMutationOptions = (options) => {
730
+ const mutationKey = ["postApiIdentityAdminUsersIdLogout"];
731
+ 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 };
732
+ const mutationFn = (props) => {
733
+ const { id } = props ?? {};
734
+ return postApiIdentityAdminUsersIdLogout(id, axiosOptions);
735
+ };
736
+ return { mutationFn, ...mutationOptions };
737
+ };
738
+ var usePostApiIdentityAdminUsersIdLogout = (options, queryClient) => {
739
+ const mutationOptions = getPostApiIdentityAdminUsersIdLogoutMutationOptions(options);
740
+ return useMutation(mutationOptions, queryClient);
741
+ };
267
742
 
268
743
  // src/gen/v1.zod.ts
269
744
  import * as zod from "zod";
@@ -372,6 +847,222 @@ var searchAddressesResponseItem = zod.strictObject({
372
847
  zipCode: zod.string().optional()
373
848
  });
374
849
  var searchAddressesResponse = zod.array(searchAddressesResponseItem);
850
+ var createCatalogItemBody = zod.strictObject({
851
+ categoryId: zod.uuid(),
852
+ name: zod.string(),
853
+ slug: zod.string(),
854
+ status: zod.string(),
855
+ classification: zod.string(),
856
+ variants: zod.array(
857
+ zod.strictObject({
858
+ id: zod.uuid().nullish(),
859
+ code: zod.string(),
860
+ itemId: zod.uuid(),
861
+ multiplier: zod.number(),
862
+ attributes: zod.array(
863
+ zod.strictObject({
864
+ name: zod.string(),
865
+ value: zod.string()
866
+ })
867
+ ),
868
+ weight: zod.strictObject({
869
+ value: zod.number(),
870
+ unit: zod.string()
871
+ }),
872
+ price: zod.strictObject({
873
+ baseAmount: zod.number(),
874
+ baseCurrency: zod.string(),
875
+ sale: zod.union([
876
+ zod.null(),
877
+ zod.strictObject({
878
+ amount: zod.number(),
879
+ currency: zod.string(),
880
+ startAt: zod.iso.datetime({}),
881
+ endAt: zod.iso.datetime({})
882
+ })
883
+ ]).optional(),
884
+ wholesale: zod.array(
885
+ zod.strictObject({
886
+ minQty: zod.number(),
887
+ amount: zod.number(),
888
+ currency: zod.string()
889
+ })
890
+ ).nullish()
891
+ })
892
+ })
893
+ )
894
+ });
895
+ var listCatalogItemsQueryPageDefault = 1;
896
+ var listCatalogItemsQueryPageSizeDefault = 10;
897
+ var listCatalogItemsQueryParams = zod.strictObject({
898
+ page: zod.coerce.number().default(listCatalogItemsQueryPageDefault),
899
+ pageSize: zod.coerce.number().default(listCatalogItemsQueryPageSizeDefault)
900
+ });
901
+ var listCatalogItemsResponse = zod.strictObject({
902
+ items: zod.array(
903
+ zod.strictObject({
904
+ id: zod.uuid(),
905
+ categoryId: zod.uuid(),
906
+ name: zod.string(),
907
+ slug: zod.string(),
908
+ status: zod.string(),
909
+ classification: zod.string(),
910
+ variantCount: zod.number()
911
+ })
912
+ ),
913
+ page: zod.number(),
914
+ pageSize: zod.number(),
915
+ totalCount: zod.number(),
916
+ totalPages: zod.number().optional(),
917
+ hasNextPage: zod.boolean().optional(),
918
+ hasPreviousPage: zod.boolean().optional()
919
+ });
920
+ var updateCatalogItemParams = zod.strictObject({
921
+ id: zod.uuid()
922
+ });
923
+ var updateCatalogItemBody = zod.strictObject({
924
+ categoryId: zod.uuid(),
925
+ name: zod.string(),
926
+ slug: zod.string(),
927
+ status: zod.string(),
928
+ classification: zod.string(),
929
+ variants: zod.array(
930
+ zod.strictObject({
931
+ id: zod.uuid().nullish(),
932
+ code: zod.string(),
933
+ itemId: zod.uuid(),
934
+ multiplier: zod.number(),
935
+ attributes: zod.array(
936
+ zod.strictObject({
937
+ name: zod.string(),
938
+ value: zod.string()
939
+ })
940
+ ),
941
+ weight: zod.strictObject({
942
+ value: zod.number(),
943
+ unit: zod.string()
944
+ }),
945
+ price: zod.strictObject({
946
+ baseAmount: zod.number(),
947
+ baseCurrency: zod.string(),
948
+ sale: zod.union([
949
+ zod.null(),
950
+ zod.strictObject({
951
+ amount: zod.number(),
952
+ currency: zod.string(),
953
+ startAt: zod.iso.datetime({}),
954
+ endAt: zod.iso.datetime({})
955
+ })
956
+ ]).optional(),
957
+ wholesale: zod.array(
958
+ zod.strictObject({
959
+ minQty: zod.number(),
960
+ amount: zod.number(),
961
+ currency: zod.string()
962
+ })
963
+ ).nullish()
964
+ })
965
+ })
966
+ )
967
+ });
968
+ var updateCatalogItemResponse = zod.strictObject({
969
+ id: zod.uuid(),
970
+ categoryId: zod.uuid(),
971
+ name: zod.string(),
972
+ slug: zod.string(),
973
+ status: zod.string(),
974
+ classification: zod.string(),
975
+ variants: zod.array(
976
+ zod.strictObject({
977
+ id: zod.uuid().nullish(),
978
+ code: zod.string(),
979
+ itemId: zod.uuid(),
980
+ multiplier: zod.number(),
981
+ attributes: zod.array(
982
+ zod.strictObject({
983
+ name: zod.string(),
984
+ value: zod.string()
985
+ })
986
+ ),
987
+ weight: zod.strictObject({
988
+ value: zod.number(),
989
+ unit: zod.string()
990
+ }),
991
+ price: zod.strictObject({
992
+ baseAmount: zod.number(),
993
+ baseCurrency: zod.string(),
994
+ sale: zod.union([
995
+ zod.null(),
996
+ zod.strictObject({
997
+ amount: zod.number(),
998
+ currency: zod.string(),
999
+ startAt: zod.iso.datetime({}),
1000
+ endAt: zod.iso.datetime({})
1001
+ })
1002
+ ]).optional(),
1003
+ wholesale: zod.array(
1004
+ zod.strictObject({
1005
+ minQty: zod.number(),
1006
+ amount: zod.number(),
1007
+ currency: zod.string()
1008
+ })
1009
+ ).nullish()
1010
+ })
1011
+ })
1012
+ )
1013
+ });
1014
+ var getCatalogItemParams = zod.strictObject({
1015
+ id: zod.uuid()
1016
+ });
1017
+ var getCatalogItemResponse = zod.strictObject({
1018
+ id: zod.uuid(),
1019
+ categoryId: zod.uuid(),
1020
+ name: zod.string(),
1021
+ slug: zod.string(),
1022
+ status: zod.string(),
1023
+ classification: zod.string(),
1024
+ variants: zod.array(
1025
+ zod.strictObject({
1026
+ id: zod.uuid().nullish(),
1027
+ code: zod.string(),
1028
+ itemId: zod.uuid(),
1029
+ multiplier: zod.number(),
1030
+ attributes: zod.array(
1031
+ zod.strictObject({
1032
+ name: zod.string(),
1033
+ value: zod.string()
1034
+ })
1035
+ ),
1036
+ weight: zod.strictObject({
1037
+ value: zod.number(),
1038
+ unit: zod.string()
1039
+ }),
1040
+ price: zod.strictObject({
1041
+ baseAmount: zod.number(),
1042
+ baseCurrency: zod.string(),
1043
+ sale: zod.union([
1044
+ zod.null(),
1045
+ zod.strictObject({
1046
+ amount: zod.number(),
1047
+ currency: zod.string(),
1048
+ startAt: zod.iso.datetime({}),
1049
+ endAt: zod.iso.datetime({})
1050
+ })
1051
+ ]).optional(),
1052
+ wholesale: zod.array(
1053
+ zod.strictObject({
1054
+ minQty: zod.number(),
1055
+ amount: zod.number(),
1056
+ currency: zod.string()
1057
+ })
1058
+ ).nullish()
1059
+ })
1060
+ })
1061
+ )
1062
+ });
1063
+ var deleteCatalogItemParams = zod.strictObject({
1064
+ id: zod.uuid()
1065
+ });
375
1066
  var createStockItemsBody = zod.strictObject({
376
1067
  name: zod.string(),
377
1068
  sku: zod.string(),
@@ -478,6 +1169,138 @@ var listStockMovementsResponse = zod.strictObject({
478
1169
  hasNextPage: zod.boolean().optional(),
479
1170
  hasPreviousPage: zod.boolean().optional()
480
1171
  });
1172
+ var getApiIdentityAntiforgeryResponse = zod.strictObject({
1173
+ requestToken: zod.string()
1174
+ });
1175
+ var postApiIdentityLoginBody = zod.strictObject({
1176
+ email: zod.string(),
1177
+ password: zod.string(),
1178
+ twoFactorCode: zod.string().nullable(),
1179
+ twoFactorRecoveryCode: zod.string().nullable()
1180
+ });
1181
+ var postApiIdentityLoginResponse = zod.strictObject({
1182
+ requiresTwoFactor: zod.boolean()
1183
+ });
1184
+ var postApiIdentityForgotPasswordBody = zod.strictObject({
1185
+ email: zod.string()
1186
+ });
1187
+ var postApiIdentityResetPasswordBody = zod.strictObject({
1188
+ email: zod.string(),
1189
+ resetCode: zod.string(),
1190
+ newPassword: zod.string()
1191
+ });
1192
+ var getApiIdentityManage2faResponse = zod.strictObject({
1193
+ sharedKey: zod.string().nullable(),
1194
+ recoveryCodes: zod.array(zod.string()).nullable(),
1195
+ recoveryCodesLeft: zod.number(),
1196
+ isTwoFactorEnabled: zod.boolean(),
1197
+ isMachineRemembered: zod.boolean()
1198
+ });
1199
+ var postApiIdentityManage2faBody = zod.strictObject({
1200
+ enable: zod.boolean().nullable(),
1201
+ resetSharedKey: zod.boolean(),
1202
+ resetRecoveryCodes: zod.boolean(),
1203
+ forgetMachine: zod.boolean(),
1204
+ twoFactorCode: zod.string().nullable(),
1205
+ password: zod.string().nullable()
1206
+ });
1207
+ var postApiIdentityManage2faResponse = zod.strictObject({
1208
+ sharedKey: zod.string().nullable(),
1209
+ recoveryCodes: zod.array(zod.string()).nullable(),
1210
+ recoveryCodesLeft: zod.number(),
1211
+ isTwoFactorEnabled: zod.boolean(),
1212
+ isMachineRemembered: zod.boolean()
1213
+ });
1214
+ var getApiIdentityManageInfoResponse = zod.strictObject({
1215
+ email: zod.string(),
1216
+ isEmailConfirmed: zod.boolean()
1217
+ });
1218
+ var postApiIdentityManageInfoBody = zod.strictObject({
1219
+ newEmail: zod.string().nullable(),
1220
+ newPassword: zod.string().nullable(),
1221
+ oldPassword: zod.string().nullable()
1222
+ });
1223
+ var postApiIdentityManageInfoResponse = zod.strictObject({
1224
+ email: zod.string(),
1225
+ isEmailConfirmed: zod.boolean()
1226
+ });
1227
+ var getApiIdentityAdminRolesResponseItem = zod.strictObject({
1228
+ id: zod.uuid(),
1229
+ name: zod.string(),
1230
+ permissions: zod.array(zod.string())
1231
+ });
1232
+ var getApiIdentityAdminRolesResponse = zod.array(getApiIdentityAdminRolesResponseItem);
1233
+ var postApiIdentityAdminRolesBody = zod.strictObject({
1234
+ name: zod.string()
1235
+ });
1236
+ var getApiIdentityAdminRolesIdParams = zod.strictObject({
1237
+ id: zod.uuid()
1238
+ });
1239
+ var getApiIdentityAdminRolesIdResponse = zod.strictObject({
1240
+ id: zod.uuid(),
1241
+ name: zod.string(),
1242
+ permissions: zod.array(zod.string())
1243
+ });
1244
+ var putApiIdentityAdminRolesIdParams = zod.strictObject({
1245
+ id: zod.uuid()
1246
+ });
1247
+ var putApiIdentityAdminRolesIdBody = zod.strictObject({
1248
+ name: zod.string()
1249
+ });
1250
+ var deleteApiIdentityAdminRolesIdParams = zod.strictObject({
1251
+ id: zod.uuid()
1252
+ });
1253
+ var putApiIdentityAdminRolesIdPermissionsParams = zod.strictObject({
1254
+ id: zod.uuid()
1255
+ });
1256
+ var putApiIdentityAdminRolesIdPermissionsBody = zod.strictObject({
1257
+ codes: zod.array(zod.string())
1258
+ });
1259
+ var getApiIdentityAdminPermissionsResponseItem = zod.strictObject({
1260
+ module: zod.string(),
1261
+ code: zod.string(),
1262
+ description: zod.string()
1263
+ });
1264
+ var getApiIdentityAdminPermissionsResponse = zod.array(
1265
+ getApiIdentityAdminPermissionsResponseItem
1266
+ );
1267
+ var getApiIdentityAdminUsersQueryParams = zod.strictObject({
1268
+ email: zod.coerce.string()
1269
+ });
1270
+ var getApiIdentityAdminUsersResponse = zod.strictObject({
1271
+ id: zod.uuid(),
1272
+ email: zod.string(),
1273
+ isActive: zod.boolean()
1274
+ });
1275
+ var getApiIdentityAdminUsersIdRolesParams = zod.strictObject({
1276
+ id: zod.uuid()
1277
+ });
1278
+ var getApiIdentityAdminUsersIdRolesResponseItem = zod.string();
1279
+ var getApiIdentityAdminUsersIdRolesResponse = zod.array(
1280
+ getApiIdentityAdminUsersIdRolesResponseItem
1281
+ );
1282
+ var putApiIdentityAdminUsersIdRolesParams = zod.strictObject({
1283
+ id: zod.uuid()
1284
+ });
1285
+ var putApiIdentityAdminUsersIdRolesBody = zod.strictObject({
1286
+ roles: zod.array(zod.string())
1287
+ });
1288
+ var getApiIdentityAdminUsersIdPermissionsParams = zod.strictObject({
1289
+ id: zod.uuid()
1290
+ });
1291
+ var getApiIdentityAdminUsersIdPermissionsResponseItem = zod.string();
1292
+ var getApiIdentityAdminUsersIdPermissionsResponse = zod.array(
1293
+ getApiIdentityAdminUsersIdPermissionsResponseItem
1294
+ );
1295
+ var putApiIdentityAdminUsersIdActiveParams = zod.strictObject({
1296
+ id: zod.uuid()
1297
+ });
1298
+ var putApiIdentityAdminUsersIdActiveBody = zod.strictObject({
1299
+ isActive: zod.boolean()
1300
+ });
1301
+ var postApiIdentityAdminUsersIdLogoutParams = zod.strictObject({
1302
+ id: zod.uuid()
1303
+ });
481
1304
  export {
482
1305
  ConsumeBatchSourceType,
483
1306
  SourceTypeEnum,
@@ -486,17 +1309,75 @@ export {
486
1309
  consumeBatchParams,
487
1310
  createBatch,
488
1311
  createBatchBody,
1312
+ createCatalogItem,
1313
+ createCatalogItemBody,
489
1314
  createStockItems,
490
1315
  createStockItemsBody,
491
1316
  createWarehouse,
492
1317
  createWarehouseBody,
1318
+ deleteApiIdentityAdminRolesId,
1319
+ deleteApiIdentityAdminRolesIdParams,
1320
+ deleteCatalogItem,
1321
+ deleteCatalogItemParams,
493
1322
  deleteWarehouse,
494
1323
  deleteWarehouseParams,
1324
+ getApiIdentityAdminPermissions,
1325
+ getApiIdentityAdminPermissionsResponse,
1326
+ getApiIdentityAdminPermissionsResponseItem,
1327
+ getApiIdentityAdminRoles,
1328
+ getApiIdentityAdminRolesId,
1329
+ getApiIdentityAdminRolesIdParams,
1330
+ getApiIdentityAdminRolesIdResponse,
1331
+ getApiIdentityAdminRolesResponse,
1332
+ getApiIdentityAdminRolesResponseItem,
1333
+ getApiIdentityAdminUsers,
1334
+ getApiIdentityAdminUsersIdPermissions,
1335
+ getApiIdentityAdminUsersIdPermissionsParams,
1336
+ getApiIdentityAdminUsersIdPermissionsResponse,
1337
+ getApiIdentityAdminUsersIdPermissionsResponseItem,
1338
+ getApiIdentityAdminUsersIdRoles,
1339
+ getApiIdentityAdminUsersIdRolesParams,
1340
+ getApiIdentityAdminUsersIdRolesResponse,
1341
+ getApiIdentityAdminUsersIdRolesResponseItem,
1342
+ getApiIdentityAdminUsersQueryParams,
1343
+ getApiIdentityAdminUsersResponse,
1344
+ getApiIdentityAntiforgery,
1345
+ getApiIdentityAntiforgeryResponse,
1346
+ getApiIdentityManage2fa,
1347
+ getApiIdentityManage2faResponse,
1348
+ getApiIdentityManageInfo,
1349
+ getApiIdentityManageInfoResponse,
1350
+ getCatalogItem,
1351
+ getCatalogItemParams,
1352
+ getCatalogItemResponse,
495
1353
  getConsumeBatchMutationOptions,
496
1354
  getCreateBatchMutationOptions,
1355
+ getCreateCatalogItemMutationOptions,
497
1356
  getCreateStockItemsMutationOptions,
498
1357
  getCreateWarehouseMutationOptions,
1358
+ getDeleteApiIdentityAdminRolesIdMutationOptions,
1359
+ getDeleteCatalogItemMutationOptions,
499
1360
  getDeleteWarehouseMutationOptions,
1361
+ getGetApiIdentityAdminPermissionsQueryKey,
1362
+ getGetApiIdentityAdminPermissionsQueryOptions,
1363
+ getGetApiIdentityAdminRolesIdQueryKey,
1364
+ getGetApiIdentityAdminRolesIdQueryOptions,
1365
+ getGetApiIdentityAdminRolesQueryKey,
1366
+ getGetApiIdentityAdminRolesQueryOptions,
1367
+ getGetApiIdentityAdminUsersIdPermissionsQueryKey,
1368
+ getGetApiIdentityAdminUsersIdPermissionsQueryOptions,
1369
+ getGetApiIdentityAdminUsersIdRolesQueryKey,
1370
+ getGetApiIdentityAdminUsersIdRolesQueryOptions,
1371
+ getGetApiIdentityAdminUsersQueryKey,
1372
+ getGetApiIdentityAdminUsersQueryOptions,
1373
+ getGetApiIdentityAntiforgeryQueryKey,
1374
+ getGetApiIdentityAntiforgeryQueryOptions,
1375
+ getGetApiIdentityManage2faQueryKey,
1376
+ getGetApiIdentityManage2faQueryOptions,
1377
+ getGetApiIdentityManageInfoQueryKey,
1378
+ getGetApiIdentityManageInfoQueryOptions,
1379
+ getGetCatalogItemQueryKey,
1380
+ getGetCatalogItemQueryOptions,
500
1381
  getGetHealthQueryKey,
501
1382
  getGetHealthQueryOptions,
502
1383
  getGetWarehouseByIdQueryKey,
@@ -504,15 +1385,30 @@ export {
504
1385
  getGetWarehouseOptionsQueryKey,
505
1386
  getGetWarehouseOptionsQueryOptions,
506
1387
  getHealth,
1388
+ getListCatalogItemsQueryKey,
1389
+ getListCatalogItemsQueryOptions,
507
1390
  getListStockItemsQueryKey,
508
1391
  getListStockItemsQueryOptions,
509
1392
  getListStockMovementsQueryKey,
510
1393
  getListStockMovementsQueryOptions,
511
1394
  getListWarehousesQueryKey,
512
1395
  getListWarehousesQueryOptions,
1396
+ getPostApiIdentityAdminRolesMutationOptions,
1397
+ getPostApiIdentityAdminUsersIdLogoutMutationOptions,
1398
+ getPostApiIdentityForgotPasswordMutationOptions,
1399
+ getPostApiIdentityLoginMutationOptions,
1400
+ getPostApiIdentityLogoutMutationOptions,
1401
+ getPostApiIdentityManage2faMutationOptions,
1402
+ getPostApiIdentityManageInfoMutationOptions,
1403
+ getPostApiIdentityResetPasswordMutationOptions,
1404
+ getPutApiIdentityAdminRolesIdMutationOptions,
1405
+ getPutApiIdentityAdminRolesIdPermissionsMutationOptions,
1406
+ getPutApiIdentityAdminUsersIdActiveMutationOptions,
1407
+ getPutApiIdentityAdminUsersIdRolesMutationOptions,
513
1408
  getSearchAddressesQueryKey,
514
1409
  getSearchAddressesQueryOptions,
515
1410
  getToggleWarehouseStatusMutationOptions,
1411
+ getUpdateCatalogItemMutationOptions,
516
1412
  getUpdateWarehouseMutationOptions,
517
1413
  getWarehouseById,
518
1414
  getWarehouseByIdParams,
@@ -520,6 +1416,11 @@ export {
520
1416
  getWarehouseOptions,
521
1417
  getWarehouseOptionsResponse,
522
1418
  getWarehouseOptionsResponseItem,
1419
+ listCatalogItems,
1420
+ listCatalogItemsQueryPageDefault,
1421
+ listCatalogItemsQueryPageSizeDefault,
1422
+ listCatalogItemsQueryParams,
1423
+ listCatalogItemsResponse,
523
1424
  listStockItems,
524
1425
  listStockItemsQueryDescendingDefault,
525
1426
  listStockItemsQueryPageDefault,
@@ -537,6 +1438,36 @@ export {
537
1438
  listWarehousesQueryPageSizeDefault,
538
1439
  listWarehousesQueryParams,
539
1440
  listWarehousesResponse,
1441
+ postApiIdentityAdminRoles,
1442
+ postApiIdentityAdminRolesBody,
1443
+ postApiIdentityAdminUsersIdLogout,
1444
+ postApiIdentityAdminUsersIdLogoutParams,
1445
+ postApiIdentityForgotPassword,
1446
+ postApiIdentityForgotPasswordBody,
1447
+ postApiIdentityLogin,
1448
+ postApiIdentityLoginBody,
1449
+ postApiIdentityLoginResponse,
1450
+ postApiIdentityLogout,
1451
+ postApiIdentityManage2fa,
1452
+ postApiIdentityManage2faBody,
1453
+ postApiIdentityManage2faResponse,
1454
+ postApiIdentityManageInfo,
1455
+ postApiIdentityManageInfoBody,
1456
+ postApiIdentityManageInfoResponse,
1457
+ postApiIdentityResetPassword,
1458
+ postApiIdentityResetPasswordBody,
1459
+ putApiIdentityAdminRolesId,
1460
+ putApiIdentityAdminRolesIdBody,
1461
+ putApiIdentityAdminRolesIdParams,
1462
+ putApiIdentityAdminRolesIdPermissions,
1463
+ putApiIdentityAdminRolesIdPermissionsBody,
1464
+ putApiIdentityAdminRolesIdPermissionsParams,
1465
+ putApiIdentityAdminUsersIdActive,
1466
+ putApiIdentityAdminUsersIdActiveBody,
1467
+ putApiIdentityAdminUsersIdActiveParams,
1468
+ putApiIdentityAdminUsersIdRoles,
1469
+ putApiIdentityAdminUsersIdRolesBody,
1470
+ putApiIdentityAdminUsersIdRolesParams,
540
1471
  searchAddresses,
541
1472
  searchAddressesQueryLimitDefault,
542
1473
  searchAddressesQueryParams,
@@ -544,22 +1475,53 @@ export {
544
1475
  searchAddressesResponseItem,
545
1476
  toggleWarehouseStatus,
546
1477
  toggleWarehouseStatusParams,
1478
+ updateCatalogItem,
1479
+ updateCatalogItemBody,
1480
+ updateCatalogItemParams,
1481
+ updateCatalogItemResponse,
547
1482
  updateWarehouse,
548
1483
  updateWarehouseBody,
549
1484
  updateWarehouseParams,
550
1485
  useConsumeBatch,
551
1486
  useCreateBatch,
1487
+ useCreateCatalogItem,
552
1488
  useCreateStockItems,
553
1489
  useCreateWarehouse,
1490
+ useDeleteApiIdentityAdminRolesId,
1491
+ useDeleteCatalogItem,
554
1492
  useDeleteWarehouse,
1493
+ useGetApiIdentityAdminPermissions,
1494
+ useGetApiIdentityAdminRoles,
1495
+ useGetApiIdentityAdminRolesId,
1496
+ useGetApiIdentityAdminUsers,
1497
+ useGetApiIdentityAdminUsersIdPermissions,
1498
+ useGetApiIdentityAdminUsersIdRoles,
1499
+ useGetApiIdentityAntiforgery,
1500
+ useGetApiIdentityManage2fa,
1501
+ useGetApiIdentityManageInfo,
1502
+ useGetCatalogItem,
555
1503
  useGetHealth,
556
1504
  useGetWarehouseById,
557
1505
  useGetWarehouseOptions,
1506
+ useListCatalogItems,
558
1507
  useListStockItems,
559
1508
  useListStockMovements,
560
1509
  useListWarehouses,
1510
+ usePostApiIdentityAdminRoles,
1511
+ usePostApiIdentityAdminUsersIdLogout,
1512
+ usePostApiIdentityForgotPassword,
1513
+ usePostApiIdentityLogin,
1514
+ usePostApiIdentityLogout,
1515
+ usePostApiIdentityManage2fa,
1516
+ usePostApiIdentityManageInfo,
1517
+ usePostApiIdentityResetPassword,
1518
+ usePutApiIdentityAdminRolesId,
1519
+ usePutApiIdentityAdminRolesIdPermissions,
1520
+ usePutApiIdentityAdminUsersIdActive,
1521
+ usePutApiIdentityAdminUsersIdRoles,
561
1522
  useSearchAddresses,
562
1523
  useToggleWarehouseStatus,
1524
+ useUpdateCatalogItem,
563
1525
  useUpdateWarehouse
564
1526
  };
565
1527
  //# sourceMappingURL=index.mjs.map