@arascreative/erp-api-client 1.2.0 → 2.0.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.d.ts CHANGED
@@ -29,61 +29,6 @@ interface AddressSearchResultItemDto {
29
29
  interface AntiforgeryTokenResponse {
30
30
  requestToken: string;
31
31
  }
32
- interface CatalogAttributeRequest {
33
- name: string;
34
- value: string;
35
- }
36
- interface CatalogItemResponse {
37
- id: string;
38
- categoryId: string;
39
- name: string;
40
- slug: string;
41
- status: string;
42
- classification: string;
43
- variants: CatalogVariantRequest[];
44
- }
45
- interface CatalogListItemResponse {
46
- id: string;
47
- categoryId: string;
48
- name: string;
49
- slug: string;
50
- status: string;
51
- classification: string;
52
- variantCount: number;
53
- }
54
- type CatalogPriceRequestSale = null | CatalogSalePriceRequest;
55
- type CatalogPriceRequestWholesale = null | CatalogWholesalePriceRequest[];
56
- interface CatalogPriceRequest {
57
- baseAmount: number;
58
- baseCurrency: string;
59
- sale?: CatalogPriceRequestSale;
60
- wholesale?: CatalogPriceRequestWholesale;
61
- }
62
- interface CatalogSalePriceRequest {
63
- amount: number;
64
- currency: string;
65
- startAt: string;
66
- endAt: string;
67
- }
68
- type CatalogVariantRequestId = null | string;
69
- interface CatalogVariantRequest {
70
- id?: CatalogVariantRequestId;
71
- code: string;
72
- itemId: string;
73
- multiplier: number;
74
- attributes: CatalogAttributeRequest[];
75
- weight: CatalogWeightRequest;
76
- price: CatalogPriceRequest;
77
- }
78
- interface CatalogWeightRequest {
79
- value: number;
80
- unit: string;
81
- }
82
- interface CatalogWholesalePriceRequest {
83
- minQty: number;
84
- amount: number;
85
- currency: string;
86
- }
87
32
  type ConsumeBatchRequestExternalReferenceNo = null | string;
88
33
  type ConsumeBatchRequestNote = null | string;
89
34
  interface ConsumeBatchRequest {
@@ -117,11 +62,23 @@ interface CreateBatchRequest {
117
62
  note?: CreateBatchRequestNote;
118
63
  receivedBy?: CreateBatchRequestReceivedBy;
119
64
  }
65
+ interface CreateProductRequest {
66
+ categoryId: string;
67
+ name: string;
68
+ slug: string;
69
+ status?: ProductStatus;
70
+ classification: ProductClassification;
71
+ }
120
72
  interface CreateStockItemCommand {
121
73
  name: string;
122
74
  sku: string;
123
75
  unit: string;
124
76
  }
77
+ interface CreateVariantRequest {
78
+ code: string;
79
+ attributes?: VariantAttributeRequest[];
80
+ weight: VariantWeightRequest;
81
+ }
125
82
  type CreateWarehouseCommandFullAddressText = null | string;
126
83
  interface CreateWarehouseCommand {
127
84
  name: string;
@@ -143,8 +100,8 @@ interface LoginRequest {
143
100
  interface LoginTwoFactorResponse {
144
101
  requiresTwoFactor: boolean;
145
102
  }
146
- interface PagedListOfCatalogListItemResponse {
147
- items: CatalogListItemResponse[];
103
+ interface PagedListOfProductResponse {
104
+ items: ProductResponse[];
148
105
  page: number;
149
106
  pageSize: number;
150
107
  totalCount: number;
@@ -170,6 +127,15 @@ interface PagedListOfStockMovementResponse {
170
127
  hasNextPage?: boolean;
171
128
  hasPreviousPage?: boolean;
172
129
  }
130
+ interface PagedListOfVariantResponse {
131
+ items: VariantResponse[];
132
+ page: number;
133
+ pageSize: number;
134
+ totalCount: number;
135
+ totalPages?: number;
136
+ hasNextPage?: boolean;
137
+ hasPreviousPage?: boolean;
138
+ }
173
139
  interface PagedListOfWarehouseResponse {
174
140
  items: WarehouseResponse[];
175
141
  page: number;
@@ -200,6 +166,26 @@ interface ProblemDetails {
200
166
  detail?: ProblemDetailsDetail;
201
167
  instance?: ProblemDetailsInstance;
202
168
  }
169
+ type ProductClassification = (typeof ProductClassification)[keyof typeof ProductClassification];
170
+ declare const ProductClassification: {
171
+ readonly Physical: "Physical";
172
+ readonly Digital: "Digital";
173
+ };
174
+ interface ProductResponse {
175
+ id: string;
176
+ categoryId: string;
177
+ name: string;
178
+ slug: string;
179
+ status: ProductStatus;
180
+ classification: ProductClassification;
181
+ variantCount: number;
182
+ }
183
+ type ProductStatus = (typeof ProductStatus)[keyof typeof ProductStatus];
184
+ declare const ProductStatus: {
185
+ readonly Tes: "Tes";
186
+ readonly Live: "Live";
187
+ readonly Archived: "Archived";
188
+ };
203
189
  interface ResetPasswordRequest {
204
190
  email: string;
205
191
  resetCode: string;
@@ -293,6 +279,18 @@ interface UpdateAccountRequest {
293
279
  newPassword: UpdateAccountRequestNewPassword;
294
280
  oldPassword: UpdateAccountRequestOldPassword;
295
281
  }
282
+ interface UpdateProductRequest {
283
+ categoryId: string;
284
+ name: string;
285
+ slug: string;
286
+ status: ProductStatus;
287
+ classification: ProductClassification;
288
+ }
289
+ interface UpdateVariantRequest {
290
+ code: string;
291
+ attributes?: VariantAttributeRequest[];
292
+ weight: VariantWeightRequest;
293
+ }
296
294
  type UpdateWarehouseCommandFullAddressText = null | string;
297
295
  interface UpdateWarehouseCommand {
298
296
  warehouseId?: string;
@@ -301,19 +299,74 @@ interface UpdateWarehouseCommand {
301
299
  personInCharge: PersonInChargeData;
302
300
  fullAddressText?: UpdateWarehouseCommandFullAddressText;
303
301
  }
304
- interface UpsertCatalogItemRequest {
305
- categoryId: string;
306
- name: string;
307
- slug: string;
308
- status: string;
309
- classification: string;
310
- variants: CatalogVariantRequest[];
302
+ type UpsertVariantPricingRequestSale = null | VariantSalePriceRequest;
303
+ interface UpsertVariantPricingRequest {
304
+ baseAmount: number;
305
+ baseCurrency: string;
306
+ sale?: UpsertVariantPricingRequestSale;
307
+ wholesale?: VariantWholesalePriceRequest[];
311
308
  }
312
309
  interface UserInfo {
313
310
  id: string;
314
311
  email: string;
315
312
  isActive: boolean;
316
313
  }
314
+ interface VariantAttributeRequest {
315
+ name: string;
316
+ value: string;
317
+ }
318
+ interface VariantAttributeResponse {
319
+ name: string;
320
+ value: string;
321
+ }
322
+ type VariantPricingResponseSale = null | VariantSalePriceResponse;
323
+ interface VariantPricingResponse {
324
+ variantId: string;
325
+ baseAmount: number;
326
+ baseCurrency: string;
327
+ effectiveAmount: number;
328
+ effectiveCurrency: string;
329
+ sale?: VariantPricingResponseSale;
330
+ wholesale?: VariantWholesalePriceResponse[];
331
+ }
332
+ interface VariantResponse {
333
+ id: string;
334
+ productId: string;
335
+ code: string;
336
+ attributes?: VariantAttributeResponse[];
337
+ weight: VariantWeightResponse;
338
+ }
339
+ interface VariantSalePriceRequest {
340
+ amount: number;
341
+ currency: string;
342
+ startAt: string;
343
+ endAt: string;
344
+ }
345
+ interface VariantSalePriceResponse {
346
+ amount: number;
347
+ currency: string;
348
+ startAt: string;
349
+ endAt: string;
350
+ isActive: boolean;
351
+ }
352
+ interface VariantWeightRequest {
353
+ value: number;
354
+ unit: string;
355
+ }
356
+ interface VariantWeightResponse {
357
+ value: number;
358
+ unit: string;
359
+ }
360
+ interface VariantWholesalePriceRequest {
361
+ minQty: number;
362
+ amount: number;
363
+ currency: string;
364
+ }
365
+ interface VariantWholesalePriceResponse {
366
+ minQty: number;
367
+ amount: number;
368
+ currency: string;
369
+ }
317
370
  interface WarehouseOptionResponse {
318
371
  warehouseId: string;
319
372
  name: string;
@@ -341,7 +394,11 @@ type SearchAddressesParams = {
341
394
  keyword: string;
342
395
  limit?: number;
343
396
  };
344
- type ListCatalogItemsParams = {
397
+ type ListProductsParams = {
398
+ page?: number;
399
+ pageSize?: number;
400
+ };
401
+ type ListVariantsParams = {
345
402
  page?: number;
346
403
  pageSize?: number;
347
404
  };
@@ -671,153 +728,402 @@ declare function useSearchAddresses<TData = Awaited<ReturnType<typeof searchAddr
671
728
  queryKey: DataTag<QueryKey, TData>;
672
729
  };
673
730
  /**
674
- * Accepts a catalog item and its variants. This operation is not implemented yet.
675
- * @summary Create a catalog item
731
+ * Creates the product shell only. Add variants and pricing through their own resources.
732
+ * @summary Create a product
676
733
  */
677
- declare const createCatalogItem: (upsertCatalogItemRequest: UpsertCatalogItemRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<CatalogItemResponse>>;
678
- declare const getCreateCatalogItemMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
679
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof createCatalogItem>>, TError, {
680
- data: UpsertCatalogItemRequest;
734
+ declare const createProduct: (createProductRequest: CreateProductRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
735
+ declare const getCreateProductMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
736
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createProduct>>, TError, {
737
+ data: CreateProductRequest;
681
738
  }, TContext>;
682
739
  axios?: AxiosRequestConfig;
683
- }) => UseMutationOptions<Awaited<ReturnType<typeof createCatalogItem>>, TError, {
684
- data: UpsertCatalogItemRequest;
740
+ }) => UseMutationOptions<Awaited<ReturnType<typeof createProduct>>, TError, {
741
+ data: CreateProductRequest;
685
742
  }, TContext>;
686
- type CreateCatalogItemMutationResult = NonNullable<Awaited<ReturnType<typeof createCatalogItem>>>;
687
- type CreateCatalogItemMutationBody = UpsertCatalogItemRequest;
688
- type CreateCatalogItemMutationError = AxiosError<ProblemDetails>;
743
+ type CreateProductMutationResult = NonNullable<Awaited<ReturnType<typeof createProduct>>>;
744
+ type CreateProductMutationBody = CreateProductRequest;
745
+ type CreateProductMutationError = AxiosError<ProblemDetails>;
689
746
  /**
690
- * @summary Create a catalog item
747
+ * @summary Create a product
691
748
  */
692
- declare const useCreateCatalogItem: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
693
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof createCatalogItem>>, TError, {
694
- data: UpsertCatalogItemRequest;
749
+ declare const useCreateProduct: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
750
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createProduct>>, TError, {
751
+ data: CreateProductRequest;
695
752
  }, TContext>;
696
753
  axios?: AxiosRequestConfig;
697
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createCatalogItem>>, TError, {
698
- data: UpsertCatalogItemRequest;
754
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createProduct>>, TError, {
755
+ data: CreateProductRequest;
699
756
  }, TContext>;
700
757
  /**
701
- * Returns a paginated list of catalog items. This operation is not implemented yet.
702
- * @summary List catalog items
758
+ * Returns a paginated list of products with their variant count.
759
+ * @summary List products
703
760
  */
704
- declare const listCatalogItems: (params?: ListCatalogItemsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<PagedListOfCatalogListItemResponse>>;
705
- declare const getListCatalogItemsQueryKey: (params?: ListCatalogItemsParams) => readonly ["/api/catalog", ...ListCatalogItemsParams[]];
706
- declare const getListCatalogItemsQueryOptions: <TData = Awaited<ReturnType<typeof listCatalogItems>>, TError = AxiosError<ProblemDetails>>(params?: ListCatalogItemsParams, options?: {
707
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCatalogItems>>, TError, TData>>;
761
+ declare const listProducts: (params?: ListProductsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<PagedListOfProductResponse>>;
762
+ declare const getListProductsQueryKey: (params?: ListProductsParams) => readonly ["/api/catalog/products", ...ListProductsParams[]];
763
+ declare const getListProductsQueryOptions: <TData = Awaited<ReturnType<typeof listProducts>>, TError = AxiosError<ProblemDetails>>(params?: ListProductsParams, options?: {
764
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listProducts>>, TError, TData>>;
708
765
  axios?: AxiosRequestConfig;
709
- }) => UseQueryOptions<Awaited<ReturnType<typeof listCatalogItems>>, TError, TData> & {
766
+ }) => UseQueryOptions<Awaited<ReturnType<typeof listProducts>>, TError, TData> & {
710
767
  queryKey: DataTag<QueryKey, TData>;
711
768
  };
712
- type ListCatalogItemsQueryResult = NonNullable<Awaited<ReturnType<typeof listCatalogItems>>>;
713
- type ListCatalogItemsQueryError = AxiosError<ProblemDetails>;
714
- declare function useListCatalogItems<TData = Awaited<ReturnType<typeof listCatalogItems>>, TError = AxiosError<ProblemDetails>>(params: undefined | ListCatalogItemsParams, options: {
715
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCatalogItems>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listCatalogItems>>, TError, Awaited<ReturnType<typeof listCatalogItems>>>, 'initialData'>;
769
+ type ListProductsQueryResult = NonNullable<Awaited<ReturnType<typeof listProducts>>>;
770
+ type ListProductsQueryError = AxiosError<ProblemDetails>;
771
+ declare function useListProducts<TData = Awaited<ReturnType<typeof listProducts>>, TError = AxiosError<ProblemDetails>>(params: undefined | ListProductsParams, options: {
772
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listProducts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listProducts>>, TError, Awaited<ReturnType<typeof listProducts>>>, 'initialData'>;
716
773
  axios?: AxiosRequestConfig;
717
774
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
718
775
  queryKey: DataTag<QueryKey, TData>;
719
776
  };
720
- declare function useListCatalogItems<TData = Awaited<ReturnType<typeof listCatalogItems>>, TError = AxiosError<ProblemDetails>>(params?: ListCatalogItemsParams, options?: {
721
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCatalogItems>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listCatalogItems>>, TError, Awaited<ReturnType<typeof listCatalogItems>>>, 'initialData'>;
777
+ declare function useListProducts<TData = Awaited<ReturnType<typeof listProducts>>, TError = AxiosError<ProblemDetails>>(params?: ListProductsParams, options?: {
778
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listProducts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listProducts>>, TError, Awaited<ReturnType<typeof listProducts>>>, 'initialData'>;
722
779
  axios?: AxiosRequestConfig;
723
780
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
724
781
  queryKey: DataTag<QueryKey, TData>;
725
782
  };
726
- declare function useListCatalogItems<TData = Awaited<ReturnType<typeof listCatalogItems>>, TError = AxiosError<ProblemDetails>>(params?: ListCatalogItemsParams, options?: {
727
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listCatalogItems>>, TError, TData>>;
783
+ declare function useListProducts<TData = Awaited<ReturnType<typeof listProducts>>, TError = AxiosError<ProblemDetails>>(params?: ListProductsParams, options?: {
784
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listProducts>>, TError, TData>>;
728
785
  axios?: AxiosRequestConfig;
729
786
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
730
787
  queryKey: DataTag<QueryKey, TData>;
731
788
  };
732
789
  /**
733
- * Replaces a catalog item and its variants. This operation is not implemented yet.
734
- * @summary Update a catalog item
790
+ * Returns one product. Variants are listed from the nested variants resource.
791
+ * @summary Get product by id
735
792
  */
736
- declare const updateCatalogItem: (id: string, upsertCatalogItemRequest: UpsertCatalogItemRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<CatalogItemResponse>>;
737
- declare const getUpdateCatalogItemMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
738
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateCatalogItem>>, TError, {
793
+ declare const getProduct: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
794
+ declare const getGetProductQueryKey: (id?: string) => readonly [`/api/catalog/products/${string}`];
795
+ declare const getGetProductQueryOptions: <TData = Awaited<ReturnType<typeof getProduct>>, TError = AxiosError<ProblemDetails>>(id: string, options?: {
796
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProduct>>, TError, TData>>;
797
+ axios?: AxiosRequestConfig;
798
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getProduct>>, TError, TData> & {
799
+ queryKey: DataTag<QueryKey, TData>;
800
+ };
801
+ type GetProductQueryResult = NonNullable<Awaited<ReturnType<typeof getProduct>>>;
802
+ type GetProductQueryError = AxiosError<ProblemDetails>;
803
+ declare function useGetProduct<TData = Awaited<ReturnType<typeof getProduct>>, TError = AxiosError<ProblemDetails>>(id: string, options: {
804
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProduct>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getProduct>>, TError, Awaited<ReturnType<typeof getProduct>>>, 'initialData'>;
805
+ axios?: AxiosRequestConfig;
806
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
807
+ queryKey: DataTag<QueryKey, TData>;
808
+ };
809
+ declare function useGetProduct<TData = Awaited<ReturnType<typeof getProduct>>, TError = AxiosError<ProblemDetails>>(id: string, options?: {
810
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProduct>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getProduct>>, TError, Awaited<ReturnType<typeof getProduct>>>, 'initialData'>;
811
+ axios?: AxiosRequestConfig;
812
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
813
+ queryKey: DataTag<QueryKey, TData>;
814
+ };
815
+ declare function useGetProduct<TData = Awaited<ReturnType<typeof getProduct>>, TError = AxiosError<ProblemDetails>>(id: string, options?: {
816
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProduct>>, TError, TData>>;
817
+ axios?: AxiosRequestConfig;
818
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
819
+ queryKey: DataTag<QueryKey, TData>;
820
+ };
821
+ /**
822
+ * Replaces the product shell. Variants and pricing are left untouched.
823
+ * @summary Update a product
824
+ */
825
+ declare const updateProduct: (id: string, updateProductRequest: UpdateProductRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ProductResponse>>;
826
+ declare const getUpdateProductMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
827
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateProduct>>, TError, {
828
+ id: string;
829
+ data: UpdateProductRequest;
830
+ }, TContext>;
831
+ axios?: AxiosRequestConfig;
832
+ }) => UseMutationOptions<Awaited<ReturnType<typeof updateProduct>>, TError, {
833
+ id: string;
834
+ data: UpdateProductRequest;
835
+ }, TContext>;
836
+ type UpdateProductMutationResult = NonNullable<Awaited<ReturnType<typeof updateProduct>>>;
837
+ type UpdateProductMutationBody = UpdateProductRequest;
838
+ type UpdateProductMutationError = AxiosError<ProblemDetails>;
839
+ /**
840
+ * @summary Update a product
841
+ */
842
+ declare const useUpdateProduct: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
843
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateProduct>>, TError, {
844
+ id: string;
845
+ data: UpdateProductRequest;
846
+ }, TContext>;
847
+ axios?: AxiosRequestConfig;
848
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateProduct>>, TError, {
849
+ id: string;
850
+ data: UpdateProductRequest;
851
+ }, TContext>;
852
+ /**
853
+ * Deletes a product. Variants and their pricing are removed with it.
854
+ * @summary Delete a product
855
+ */
856
+ declare const deleteProduct: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
857
+ declare const getDeleteProductMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
858
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteProduct>>, TError, {
739
859
  id: string;
740
- data: UpsertCatalogItemRequest;
741
860
  }, TContext>;
742
861
  axios?: AxiosRequestConfig;
743
- }) => UseMutationOptions<Awaited<ReturnType<typeof updateCatalogItem>>, TError, {
862
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deleteProduct>>, TError, {
744
863
  id: string;
745
- data: UpsertCatalogItemRequest;
746
864
  }, TContext>;
747
- type UpdateCatalogItemMutationResult = NonNullable<Awaited<ReturnType<typeof updateCatalogItem>>>;
748
- type UpdateCatalogItemMutationBody = UpsertCatalogItemRequest;
749
- type UpdateCatalogItemMutationError = AxiosError<ProblemDetails>;
865
+ type DeleteProductMutationResult = NonNullable<Awaited<ReturnType<typeof deleteProduct>>>;
866
+ type DeleteProductMutationError = AxiosError<ProblemDetails>;
750
867
  /**
751
- * @summary Update a catalog item
868
+ * @summary Delete a product
752
869
  */
753
- declare const useUpdateCatalogItem: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
754
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateCatalogItem>>, TError, {
870
+ declare const useDeleteProduct: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
871
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteProduct>>, TError, {
755
872
  id: string;
756
- data: UpsertCatalogItemRequest;
757
873
  }, TContext>;
758
874
  axios?: AxiosRequestConfig;
759
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateCatalogItem>>, TError, {
875
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteProduct>>, TError, {
760
876
  id: string;
761
- data: UpsertCatalogItemRequest;
762
877
  }, TContext>;
763
878
  /**
764
- * Returns one catalog item with its variants. This operation is not implemented yet.
765
- * @summary Get catalog item details
879
+ * Adds a variant to the product given by productId. Pricing is set separately.
880
+ * @summary Create a variant
881
+ */
882
+ declare const createVariant: (productId: string, createVariantRequest: CreateVariantRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<VariantResponse>>;
883
+ declare const getCreateVariantMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
884
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createVariant>>, TError, {
885
+ productId: string;
886
+ data: CreateVariantRequest;
887
+ }, TContext>;
888
+ axios?: AxiosRequestConfig;
889
+ }) => UseMutationOptions<Awaited<ReturnType<typeof createVariant>>, TError, {
890
+ productId: string;
891
+ data: CreateVariantRequest;
892
+ }, TContext>;
893
+ type CreateVariantMutationResult = NonNullable<Awaited<ReturnType<typeof createVariant>>>;
894
+ type CreateVariantMutationBody = CreateVariantRequest;
895
+ type CreateVariantMutationError = AxiosError<ProblemDetails>;
896
+ /**
897
+ * @summary Create a variant
898
+ */
899
+ declare const useCreateVariant: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
900
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createVariant>>, TError, {
901
+ productId: string;
902
+ data: CreateVariantRequest;
903
+ }, TContext>;
904
+ axios?: AxiosRequestConfig;
905
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createVariant>>, TError, {
906
+ productId: string;
907
+ data: CreateVariantRequest;
908
+ }, TContext>;
909
+ /**
910
+ * Returns a paginated list of variants belonging to one product.
911
+ * @summary List variants of a product
912
+ */
913
+ declare const listVariants: (productId: string, params?: ListVariantsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<PagedListOfVariantResponse>>;
914
+ declare const getListVariantsQueryKey: (productId?: string, params?: ListVariantsParams) => readonly [`/api/catalog/products/${string}/variants`, ...ListVariantsParams[]];
915
+ declare const getListVariantsQueryOptions: <TData = Awaited<ReturnType<typeof listVariants>>, TError = AxiosError<ProblemDetails>>(productId: string, params?: ListVariantsParams, options?: {
916
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listVariants>>, TError, TData>>;
917
+ axios?: AxiosRequestConfig;
918
+ }) => UseQueryOptions<Awaited<ReturnType<typeof listVariants>>, TError, TData> & {
919
+ queryKey: DataTag<QueryKey, TData>;
920
+ };
921
+ type ListVariantsQueryResult = NonNullable<Awaited<ReturnType<typeof listVariants>>>;
922
+ type ListVariantsQueryError = AxiosError<ProblemDetails>;
923
+ declare function useListVariants<TData = Awaited<ReturnType<typeof listVariants>>, TError = AxiosError<ProblemDetails>>(productId: string, params: undefined | ListVariantsParams, options: {
924
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listVariants>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listVariants>>, TError, Awaited<ReturnType<typeof listVariants>>>, 'initialData'>;
925
+ axios?: AxiosRequestConfig;
926
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
927
+ queryKey: DataTag<QueryKey, TData>;
928
+ };
929
+ declare function useListVariants<TData = Awaited<ReturnType<typeof listVariants>>, TError = AxiosError<ProblemDetails>>(productId: string, params?: ListVariantsParams, options?: {
930
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listVariants>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listVariants>>, TError, Awaited<ReturnType<typeof listVariants>>>, 'initialData'>;
931
+ axios?: AxiosRequestConfig;
932
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
933
+ queryKey: DataTag<QueryKey, TData>;
934
+ };
935
+ declare function useListVariants<TData = Awaited<ReturnType<typeof listVariants>>, TError = AxiosError<ProblemDetails>>(productId: string, params?: ListVariantsParams, options?: {
936
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listVariants>>, TError, TData>>;
937
+ axios?: AxiosRequestConfig;
938
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
939
+ queryKey: DataTag<QueryKey, TData>;
940
+ };
941
+ /**
942
+ * Returns one variant of the given product. Pricing is fetched separately.
943
+ * @summary Get variant by id
766
944
  */
767
- declare const getCatalogItem: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<CatalogItemResponse>>;
768
- declare const getGetCatalogItemQueryKey: (id?: string) => readonly [`/api/catalog/${string}`];
769
- declare const getGetCatalogItemQueryOptions: <TData = Awaited<ReturnType<typeof getCatalogItem>>, TError = AxiosError<ProblemDetails>>(id: string, options?: {
770
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCatalogItem>>, TError, TData>>;
945
+ declare const getVariant: (productId: string, id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<VariantResponse>>;
946
+ declare const getGetVariantQueryKey: (productId?: string, id?: string) => readonly [`/api/catalog/products/undefined/variants/${string}` | `/api/catalog/products/${string}/variants/undefined` | `/api/catalog/products/${string}/variants/${string}`];
947
+ declare const getGetVariantQueryOptions: <TData = Awaited<ReturnType<typeof getVariant>>, TError = AxiosError<ProblemDetails>>(productId: string, id: string, options?: {
948
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariant>>, TError, TData>>;
771
949
  axios?: AxiosRequestConfig;
772
- }) => UseQueryOptions<Awaited<ReturnType<typeof getCatalogItem>>, TError, TData> & {
950
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getVariant>>, TError, TData> & {
773
951
  queryKey: DataTag<QueryKey, TData>;
774
952
  };
775
- type GetCatalogItemQueryResult = NonNullable<Awaited<ReturnType<typeof getCatalogItem>>>;
776
- type GetCatalogItemQueryError = AxiosError<ProblemDetails>;
777
- declare function useGetCatalogItem<TData = Awaited<ReturnType<typeof getCatalogItem>>, TError = AxiosError<ProblemDetails>>(id: string, options: {
778
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCatalogItem>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getCatalogItem>>, TError, Awaited<ReturnType<typeof getCatalogItem>>>, 'initialData'>;
953
+ type GetVariantQueryResult = NonNullable<Awaited<ReturnType<typeof getVariant>>>;
954
+ type GetVariantQueryError = AxiosError<ProblemDetails>;
955
+ declare function useGetVariant<TData = Awaited<ReturnType<typeof getVariant>>, TError = AxiosError<ProblemDetails>>(productId: string, id: string, options: {
956
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariant>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getVariant>>, TError, Awaited<ReturnType<typeof getVariant>>>, 'initialData'>;
779
957
  axios?: AxiosRequestConfig;
780
958
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
781
959
  queryKey: DataTag<QueryKey, TData>;
782
960
  };
783
- declare function useGetCatalogItem<TData = Awaited<ReturnType<typeof getCatalogItem>>, TError = AxiosError<ProblemDetails>>(id: string, options?: {
784
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCatalogItem>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getCatalogItem>>, TError, Awaited<ReturnType<typeof getCatalogItem>>>, 'initialData'>;
961
+ declare function useGetVariant<TData = Awaited<ReturnType<typeof getVariant>>, TError = AxiosError<ProblemDetails>>(productId: string, id: string, options?: {
962
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariant>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getVariant>>, TError, Awaited<ReturnType<typeof getVariant>>>, 'initialData'>;
785
963
  axios?: AxiosRequestConfig;
786
964
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
787
965
  queryKey: DataTag<QueryKey, TData>;
788
966
  };
789
- declare function useGetCatalogItem<TData = Awaited<ReturnType<typeof getCatalogItem>>, TError = AxiosError<ProblemDetails>>(id: string, options?: {
790
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getCatalogItem>>, TError, TData>>;
967
+ declare function useGetVariant<TData = Awaited<ReturnType<typeof getVariant>>, TError = AxiosError<ProblemDetails>>(productId: string, id: string, options?: {
968
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariant>>, TError, TData>>;
791
969
  axios?: AxiosRequestConfig;
792
970
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
793
971
  queryKey: DataTag<QueryKey, TData>;
794
972
  };
795
973
  /**
796
- * Deletes a catalog item. This operation is not implemented yet.
797
- * @summary Delete a catalog item
974
+ * Replaces a variant of the given product. Pricing is left untouched.
975
+ * @summary Update a variant
976
+ */
977
+ declare const updateVariant: (productId: string, id: string, updateVariantRequest: UpdateVariantRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<VariantResponse>>;
978
+ declare const getUpdateVariantMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
979
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateVariant>>, TError, {
980
+ productId: string;
981
+ id: string;
982
+ data: UpdateVariantRequest;
983
+ }, TContext>;
984
+ axios?: AxiosRequestConfig;
985
+ }) => UseMutationOptions<Awaited<ReturnType<typeof updateVariant>>, TError, {
986
+ productId: string;
987
+ id: string;
988
+ data: UpdateVariantRequest;
989
+ }, TContext>;
990
+ type UpdateVariantMutationResult = NonNullable<Awaited<ReturnType<typeof updateVariant>>>;
991
+ type UpdateVariantMutationBody = UpdateVariantRequest;
992
+ type UpdateVariantMutationError = AxiosError<ProblemDetails>;
993
+ /**
994
+ * @summary Update a variant
995
+ */
996
+ declare const useUpdateVariant: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
997
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateVariant>>, TError, {
998
+ productId: string;
999
+ id: string;
1000
+ data: UpdateVariantRequest;
1001
+ }, TContext>;
1002
+ axios?: AxiosRequestConfig;
1003
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateVariant>>, TError, {
1004
+ productId: string;
1005
+ id: string;
1006
+ data: UpdateVariantRequest;
1007
+ }, TContext>;
1008
+ /**
1009
+ * Deletes a variant of the given product together with its pricing.
1010
+ * @summary Delete a variant
798
1011
  */
799
- declare const deleteCatalogItem: (id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
800
- declare const getDeleteCatalogItemMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
801
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteCatalogItem>>, TError, {
1012
+ declare const deleteVariant: (productId: string, id: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
1013
+ declare const getDeleteVariantMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
1014
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteVariant>>, TError, {
1015
+ productId: string;
802
1016
  id: string;
803
1017
  }, TContext>;
804
1018
  axios?: AxiosRequestConfig;
805
- }) => UseMutationOptions<Awaited<ReturnType<typeof deleteCatalogItem>>, TError, {
1019
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deleteVariant>>, TError, {
1020
+ productId: string;
806
1021
  id: string;
807
1022
  }, TContext>;
808
- type DeleteCatalogItemMutationResult = NonNullable<Awaited<ReturnType<typeof deleteCatalogItem>>>;
809
- type DeleteCatalogItemMutationError = AxiosError<ProblemDetails>;
1023
+ type DeleteVariantMutationResult = NonNullable<Awaited<ReturnType<typeof deleteVariant>>>;
1024
+ type DeleteVariantMutationError = AxiosError<ProblemDetails>;
810
1025
  /**
811
- * @summary Delete a catalog item
1026
+ * @summary Delete a variant
812
1027
  */
813
- declare const useDeleteCatalogItem: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
814
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteCatalogItem>>, TError, {
1028
+ declare const useDeleteVariant: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
1029
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteVariant>>, TError, {
1030
+ productId: string;
815
1031
  id: string;
816
1032
  }, TContext>;
817
1033
  axios?: AxiosRequestConfig;
818
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteCatalogItem>>, TError, {
1034
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteVariant>>, TError, {
1035
+ productId: string;
819
1036
  id: string;
820
1037
  }, TContext>;
1038
+ /**
1039
+ * Returns the base amount, the sale window and the wholesale tiers of one variant, including the amount that applies right now.
1040
+ * @summary Get variant pricing
1041
+ */
1042
+ declare const getVariantPricing: (variantId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<VariantPricingResponse>>;
1043
+ declare const getGetVariantPricingQueryKey: (variantId?: string) => readonly [`/api/catalog/variants/${string}/pricing`];
1044
+ declare const getGetVariantPricingQueryOptions: <TData = Awaited<ReturnType<typeof getVariantPricing>>, TError = AxiosError<ProblemDetails>>(variantId: string, options?: {
1045
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariantPricing>>, TError, TData>>;
1046
+ axios?: AxiosRequestConfig;
1047
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getVariantPricing>>, TError, TData> & {
1048
+ queryKey: DataTag<QueryKey, TData>;
1049
+ };
1050
+ type GetVariantPricingQueryResult = NonNullable<Awaited<ReturnType<typeof getVariantPricing>>>;
1051
+ type GetVariantPricingQueryError = AxiosError<ProblemDetails>;
1052
+ declare function useGetVariantPricing<TData = Awaited<ReturnType<typeof getVariantPricing>>, TError = AxiosError<ProblemDetails>>(variantId: string, options: {
1053
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariantPricing>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getVariantPricing>>, TError, Awaited<ReturnType<typeof getVariantPricing>>>, 'initialData'>;
1054
+ axios?: AxiosRequestConfig;
1055
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1056
+ queryKey: DataTag<QueryKey, TData>;
1057
+ };
1058
+ declare function useGetVariantPricing<TData = Awaited<ReturnType<typeof getVariantPricing>>, TError = AxiosError<ProblemDetails>>(variantId: string, options?: {
1059
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariantPricing>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getVariantPricing>>, TError, Awaited<ReturnType<typeof getVariantPricing>>>, 'initialData'>;
1060
+ axios?: AxiosRequestConfig;
1061
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1062
+ queryKey: DataTag<QueryKey, TData>;
1063
+ };
1064
+ declare function useGetVariantPricing<TData = Awaited<ReturnType<typeof getVariantPricing>>, TError = AxiosError<ProblemDetails>>(variantId: string, options?: {
1065
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getVariantPricing>>, TError, TData>>;
1066
+ axios?: AxiosRequestConfig;
1067
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1068
+ queryKey: DataTag<QueryKey, TData>;
1069
+ };
1070
+ /**
1071
+ * Replaces the whole price list of one variant. Omitting sale or wholesale clears them.
1072
+ * @summary Replace variant pricing
1073
+ */
1074
+ declare const upsertVariantPricing: (variantId: string, upsertVariantPricingRequest: UpsertVariantPricingRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<VariantPricingResponse>>;
1075
+ declare const getUpsertVariantPricingMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
1076
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof upsertVariantPricing>>, TError, {
1077
+ variantId: string;
1078
+ data: UpsertVariantPricingRequest;
1079
+ }, TContext>;
1080
+ axios?: AxiosRequestConfig;
1081
+ }) => UseMutationOptions<Awaited<ReturnType<typeof upsertVariantPricing>>, TError, {
1082
+ variantId: string;
1083
+ data: UpsertVariantPricingRequest;
1084
+ }, TContext>;
1085
+ type UpsertVariantPricingMutationResult = NonNullable<Awaited<ReturnType<typeof upsertVariantPricing>>>;
1086
+ type UpsertVariantPricingMutationBody = UpsertVariantPricingRequest;
1087
+ type UpsertVariantPricingMutationError = AxiosError<ProblemDetails>;
1088
+ /**
1089
+ * @summary Replace variant pricing
1090
+ */
1091
+ declare const useUpsertVariantPricing: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
1092
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof upsertVariantPricing>>, TError, {
1093
+ variantId: string;
1094
+ data: UpsertVariantPricingRequest;
1095
+ }, TContext>;
1096
+ axios?: AxiosRequestConfig;
1097
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof upsertVariantPricing>>, TError, {
1098
+ variantId: string;
1099
+ data: UpsertVariantPricingRequest;
1100
+ }, TContext>;
1101
+ /**
1102
+ * Removes the price list of one variant.
1103
+ * @summary Delete variant pricing
1104
+ */
1105
+ declare const deleteVariantPricing: (variantId: string, options?: AxiosRequestConfig) => Promise<AxiosResponse<void>>;
1106
+ declare const getDeleteVariantPricingMutationOptions: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
1107
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteVariantPricing>>, TError, {
1108
+ variantId: string;
1109
+ }, TContext>;
1110
+ axios?: AxiosRequestConfig;
1111
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deleteVariantPricing>>, TError, {
1112
+ variantId: string;
1113
+ }, TContext>;
1114
+ type DeleteVariantPricingMutationResult = NonNullable<Awaited<ReturnType<typeof deleteVariantPricing>>>;
1115
+ type DeleteVariantPricingMutationError = AxiosError<ProblemDetails>;
1116
+ /**
1117
+ * @summary Delete variant pricing
1118
+ */
1119
+ declare const useDeleteVariantPricing: <TError = AxiosError<ProblemDetails>, TContext = unknown>(options?: {
1120
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteVariantPricing>>, TError, {
1121
+ variantId: string;
1122
+ }, TContext>;
1123
+ axios?: AxiosRequestConfig;
1124
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteVariantPricing>>, TError, {
1125
+ variantId: string;
1126
+ }, TContext>;
821
1127
  /**
822
1128
  * Creates a new stock item with a unique SKU. Validation failures return 400.
823
1129
  * @summary Create a stock item
@@ -1638,63 +1944,48 @@ declare const searchAddressesResponse: zod.ZodArray<zod.ZodObject<{
1638
1944
  zipCode: zod.ZodOptional<zod.ZodString>;
1639
1945
  }, zod.z.core.$strict>>;
1640
1946
  /**
1641
- * Accepts a catalog item and its variants. This operation is not implemented yet.
1642
- * @summary Create a catalog item
1947
+ * Creates the product shell only. Add variants and pricing through their own resources.
1948
+ * @summary Create a product
1643
1949
  */
1644
- declare const createCatalogItemBody: zod.ZodObject<{
1950
+ declare const createProductBody: zod.ZodObject<{
1645
1951
  categoryId: zod.ZodUUID;
1646
1952
  name: zod.ZodString;
1647
1953
  slug: zod.ZodString;
1648
- status: zod.ZodString;
1649
- classification: zod.ZodString;
1650
- variants: zod.ZodArray<zod.ZodObject<{
1651
- id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
1652
- code: zod.ZodString;
1653
- itemId: zod.ZodUUID;
1654
- multiplier: zod.ZodNumber;
1655
- attributes: zod.ZodArray<zod.ZodObject<{
1656
- name: zod.ZodString;
1657
- value: zod.ZodString;
1658
- }, zod.z.core.$strict>>;
1659
- weight: zod.ZodObject<{
1660
- value: zod.ZodNumber;
1661
- unit: zod.ZodString;
1662
- }, zod.z.core.$strict>;
1663
- price: zod.ZodObject<{
1664
- baseAmount: zod.ZodNumber;
1665
- baseCurrency: zod.ZodString;
1666
- sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
1667
- amount: zod.ZodNumber;
1668
- currency: zod.ZodString;
1669
- startAt: zod.z.ZodISODateTime;
1670
- endAt: zod.z.ZodISODateTime;
1671
- }, zod.z.core.$strict>]>>;
1672
- wholesale: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1673
- minQty: zod.ZodNumber;
1674
- amount: zod.ZodNumber;
1675
- currency: zod.ZodString;
1676
- }, zod.z.core.$strict>>>>;
1677
- }, zod.z.core.$strict>;
1678
- }, zod.z.core.$strict>>;
1954
+ status: zod.ZodOptional<zod.ZodEnum<{
1955
+ Tes: "Tes";
1956
+ Live: "Live";
1957
+ Archived: "Archived";
1958
+ }>>;
1959
+ classification: zod.ZodEnum<{
1960
+ Physical: "Physical";
1961
+ Digital: "Digital";
1962
+ }>;
1679
1963
  }, zod.z.core.$strict>;
1680
1964
  /**
1681
- * Returns a paginated list of catalog items. This operation is not implemented yet.
1682
- * @summary List catalog items
1965
+ * Returns a paginated list of products with their variant count.
1966
+ * @summary List products
1683
1967
  */
1684
- declare const listCatalogItemsQueryPageDefault = 1;
1685
- declare const listCatalogItemsQueryPageSizeDefault = 10;
1686
- declare const listCatalogItemsQueryParams: zod.ZodObject<{
1968
+ declare const listProductsQueryPageDefault = 1;
1969
+ declare const listProductsQueryPageSizeDefault = 10;
1970
+ declare const listProductsQueryParams: zod.ZodObject<{
1687
1971
  page: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
1688
1972
  pageSize: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
1689
1973
  }, zod.z.core.$strict>;
1690
- declare const listCatalogItemsResponse: zod.ZodObject<{
1974
+ declare const listProductsResponse: zod.ZodObject<{
1691
1975
  items: zod.ZodArray<zod.ZodObject<{
1692
1976
  id: zod.ZodUUID;
1693
1977
  categoryId: zod.ZodUUID;
1694
1978
  name: zod.ZodString;
1695
1979
  slug: zod.ZodString;
1696
- status: zod.ZodString;
1697
- classification: zod.ZodString;
1980
+ status: zod.ZodEnum<{
1981
+ Tes: "Tes";
1982
+ Live: "Live";
1983
+ Archived: "Archived";
1984
+ }>;
1985
+ classification: zod.ZodEnum<{
1986
+ Physical: "Physical";
1987
+ Digital: "Digital";
1988
+ }>;
1698
1989
  variantCount: zod.ZodNumber;
1699
1990
  }, zod.z.core.$strict>>;
1700
1991
  page: zod.ZodNumber;
@@ -1705,135 +1996,258 @@ declare const listCatalogItemsResponse: zod.ZodObject<{
1705
1996
  hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
1706
1997
  }, zod.z.core.$strict>;
1707
1998
  /**
1708
- * Replaces a catalog item and its variants. This operation is not implemented yet.
1709
- * @summary Update a catalog item
1999
+ * Returns one product. Variants are listed from the nested variants resource.
2000
+ * @summary Get product by id
1710
2001
  */
1711
- declare const updateCatalogItemParams: zod.ZodObject<{
2002
+ declare const getProductParams: zod.ZodObject<{
1712
2003
  id: zod.ZodUUID;
1713
2004
  }, zod.z.core.$strict>;
1714
- declare const updateCatalogItemBody: zod.ZodObject<{
2005
+ declare const getProductResponse: zod.ZodObject<{
2006
+ id: zod.ZodUUID;
1715
2007
  categoryId: zod.ZodUUID;
1716
2008
  name: zod.ZodString;
1717
2009
  slug: zod.ZodString;
1718
- status: zod.ZodString;
1719
- classification: zod.ZodString;
1720
- variants: zod.ZodArray<zod.ZodObject<{
1721
- id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
1722
- code: zod.ZodString;
1723
- itemId: zod.ZodUUID;
1724
- multiplier: zod.ZodNumber;
1725
- attributes: zod.ZodArray<zod.ZodObject<{
1726
- name: zod.ZodString;
1727
- value: zod.ZodString;
1728
- }, zod.z.core.$strict>>;
1729
- weight: zod.ZodObject<{
1730
- value: zod.ZodNumber;
1731
- unit: zod.ZodString;
1732
- }, zod.z.core.$strict>;
1733
- price: zod.ZodObject<{
1734
- baseAmount: zod.ZodNumber;
1735
- baseCurrency: zod.ZodString;
1736
- sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
1737
- amount: zod.ZodNumber;
1738
- currency: zod.ZodString;
1739
- startAt: zod.z.ZodISODateTime;
1740
- endAt: zod.z.ZodISODateTime;
1741
- }, zod.z.core.$strict>]>>;
1742
- wholesale: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1743
- minQty: zod.ZodNumber;
1744
- amount: zod.ZodNumber;
1745
- currency: zod.ZodString;
1746
- }, zod.z.core.$strict>>>>;
1747
- }, zod.z.core.$strict>;
1748
- }, zod.z.core.$strict>>;
2010
+ status: zod.ZodEnum<{
2011
+ Tes: "Tes";
2012
+ Live: "Live";
2013
+ Archived: "Archived";
2014
+ }>;
2015
+ classification: zod.ZodEnum<{
2016
+ Physical: "Physical";
2017
+ Digital: "Digital";
2018
+ }>;
2019
+ variantCount: zod.ZodNumber;
2020
+ }, zod.z.core.$strict>;
2021
+ /**
2022
+ * Replaces the product shell. Variants and pricing are left untouched.
2023
+ * @summary Update a product
2024
+ */
2025
+ declare const updateProductParams: zod.ZodObject<{
2026
+ id: zod.ZodUUID;
2027
+ }, zod.z.core.$strict>;
2028
+ declare const updateProductBody: zod.ZodObject<{
2029
+ categoryId: zod.ZodUUID;
2030
+ name: zod.ZodString;
2031
+ slug: zod.ZodString;
2032
+ status: zod.ZodEnum<{
2033
+ Tes: "Tes";
2034
+ Live: "Live";
2035
+ Archived: "Archived";
2036
+ }>;
2037
+ classification: zod.ZodEnum<{
2038
+ Physical: "Physical";
2039
+ Digital: "Digital";
2040
+ }>;
1749
2041
  }, zod.z.core.$strict>;
1750
- declare const updateCatalogItemResponse: zod.ZodObject<{
2042
+ declare const updateProductResponse: zod.ZodObject<{
1751
2043
  id: zod.ZodUUID;
1752
2044
  categoryId: zod.ZodUUID;
1753
2045
  name: zod.ZodString;
1754
2046
  slug: zod.ZodString;
1755
- status: zod.ZodString;
1756
- classification: zod.ZodString;
1757
- variants: zod.ZodArray<zod.ZodObject<{
1758
- id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
2047
+ status: zod.ZodEnum<{
2048
+ Tes: "Tes";
2049
+ Live: "Live";
2050
+ Archived: "Archived";
2051
+ }>;
2052
+ classification: zod.ZodEnum<{
2053
+ Physical: "Physical";
2054
+ Digital: "Digital";
2055
+ }>;
2056
+ variantCount: zod.ZodNumber;
2057
+ }, zod.z.core.$strict>;
2058
+ /**
2059
+ * Deletes a product. Variants and their pricing are removed with it.
2060
+ * @summary Delete a product
2061
+ */
2062
+ declare const deleteProductParams: zod.ZodObject<{
2063
+ id: zod.ZodUUID;
2064
+ }, zod.z.core.$strict>;
2065
+ /**
2066
+ * Adds a variant to the product given by productId. Pricing is set separately.
2067
+ * @summary Create a variant
2068
+ */
2069
+ declare const createVariantParams: zod.ZodObject<{
2070
+ productId: zod.ZodUUID;
2071
+ }, zod.z.core.$strict>;
2072
+ declare const createVariantBody: zod.ZodObject<{
2073
+ code: zod.ZodString;
2074
+ attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2075
+ name: zod.ZodString;
2076
+ value: zod.ZodString;
2077
+ }, zod.z.core.$strict>>>;
2078
+ weight: zod.ZodObject<{
2079
+ value: zod.ZodNumber;
2080
+ unit: zod.ZodString;
2081
+ }, zod.z.core.$strict>;
2082
+ }, zod.z.core.$strict>;
2083
+ /**
2084
+ * Returns a paginated list of variants belonging to one product.
2085
+ * @summary List variants of a product
2086
+ */
2087
+ declare const listVariantsParams: zod.ZodObject<{
2088
+ productId: zod.ZodUUID;
2089
+ }, zod.z.core.$strict>;
2090
+ declare const listVariantsQueryPageDefault = 1;
2091
+ declare const listVariantsQueryPageSizeDefault = 10;
2092
+ declare const listVariantsQueryParams: zod.ZodObject<{
2093
+ page: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
2094
+ pageSize: zod.ZodDefault<zod.z.ZodCoercedNumber<unknown>>;
2095
+ }, zod.z.core.$strict>;
2096
+ declare const listVariantsResponse: zod.ZodObject<{
2097
+ items: zod.ZodArray<zod.ZodObject<{
2098
+ id: zod.ZodUUID;
2099
+ productId: zod.ZodUUID;
1759
2100
  code: zod.ZodString;
1760
- itemId: zod.ZodUUID;
1761
- multiplier: zod.ZodNumber;
1762
- attributes: zod.ZodArray<zod.ZodObject<{
2101
+ attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1763
2102
  name: zod.ZodString;
1764
2103
  value: zod.ZodString;
1765
- }, zod.z.core.$strict>>;
2104
+ }, zod.z.core.$strict>>>;
1766
2105
  weight: zod.ZodObject<{
1767
2106
  value: zod.ZodNumber;
1768
2107
  unit: zod.ZodString;
1769
2108
  }, zod.z.core.$strict>;
1770
- price: zod.ZodObject<{
1771
- baseAmount: zod.ZodNumber;
1772
- baseCurrency: zod.ZodString;
1773
- sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
1774
- amount: zod.ZodNumber;
1775
- currency: zod.ZodString;
1776
- startAt: zod.z.ZodISODateTime;
1777
- endAt: zod.z.ZodISODateTime;
1778
- }, zod.z.core.$strict>]>>;
1779
- wholesale: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1780
- minQty: zod.ZodNumber;
1781
- amount: zod.ZodNumber;
1782
- currency: zod.ZodString;
1783
- }, zod.z.core.$strict>>>>;
1784
- }, zod.z.core.$strict>;
1785
2109
  }, zod.z.core.$strict>>;
2110
+ page: zod.ZodNumber;
2111
+ pageSize: zod.ZodNumber;
2112
+ totalCount: zod.ZodNumber;
2113
+ totalPages: zod.ZodOptional<zod.ZodNumber>;
2114
+ hasNextPage: zod.ZodOptional<zod.ZodBoolean>;
2115
+ hasPreviousPage: zod.ZodOptional<zod.ZodBoolean>;
1786
2116
  }, zod.z.core.$strict>;
1787
2117
  /**
1788
- * Returns one catalog item with its variants. This operation is not implemented yet.
1789
- * @summary Get catalog item details
2118
+ * Returns one variant of the given product. Pricing is fetched separately.
2119
+ * @summary Get variant by id
1790
2120
  */
1791
- declare const getCatalogItemParams: zod.ZodObject<{
2121
+ declare const getVariantParams: zod.ZodObject<{
2122
+ productId: zod.ZodUUID;
1792
2123
  id: zod.ZodUUID;
1793
2124
  }, zod.z.core.$strict>;
1794
- declare const getCatalogItemResponse: zod.ZodObject<{
2125
+ declare const getVariantResponse: zod.ZodObject<{
1795
2126
  id: zod.ZodUUID;
1796
- categoryId: zod.ZodUUID;
1797
- name: zod.ZodString;
1798
- slug: zod.ZodString;
1799
- status: zod.ZodString;
1800
- classification: zod.ZodString;
1801
- variants: zod.ZodArray<zod.ZodObject<{
1802
- id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
1803
- code: zod.ZodString;
1804
- itemId: zod.ZodUUID;
1805
- multiplier: zod.ZodNumber;
1806
- attributes: zod.ZodArray<zod.ZodObject<{
1807
- name: zod.ZodString;
1808
- value: zod.ZodString;
1809
- }, zod.z.core.$strict>>;
1810
- weight: zod.ZodObject<{
1811
- value: zod.ZodNumber;
1812
- unit: zod.ZodString;
1813
- }, zod.z.core.$strict>;
1814
- price: zod.ZodObject<{
1815
- baseAmount: zod.ZodNumber;
1816
- baseCurrency: zod.ZodString;
1817
- sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
1818
- amount: zod.ZodNumber;
1819
- currency: zod.ZodString;
1820
- startAt: zod.z.ZodISODateTime;
1821
- endAt: zod.z.ZodISODateTime;
1822
- }, zod.z.core.$strict>]>>;
1823
- wholesale: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
1824
- minQty: zod.ZodNumber;
1825
- amount: zod.ZodNumber;
1826
- currency: zod.ZodString;
1827
- }, zod.z.core.$strict>>>>;
1828
- }, zod.z.core.$strict>;
1829
- }, zod.z.core.$strict>>;
2127
+ productId: zod.ZodUUID;
2128
+ code: zod.ZodString;
2129
+ attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2130
+ name: zod.ZodString;
2131
+ value: zod.ZodString;
2132
+ }, zod.z.core.$strict>>>;
2133
+ weight: zod.ZodObject<{
2134
+ value: zod.ZodNumber;
2135
+ unit: zod.ZodString;
2136
+ }, zod.z.core.$strict>;
1830
2137
  }, zod.z.core.$strict>;
1831
2138
  /**
1832
- * Deletes a catalog item. This operation is not implemented yet.
1833
- * @summary Delete a catalog item
2139
+ * Replaces a variant of the given product. Pricing is left untouched.
2140
+ * @summary Update a variant
1834
2141
  */
1835
- declare const deleteCatalogItemParams: zod.ZodObject<{
2142
+ declare const updateVariantParams: zod.ZodObject<{
2143
+ productId: zod.ZodUUID;
2144
+ id: zod.ZodUUID;
2145
+ }, zod.z.core.$strict>;
2146
+ declare const updateVariantBody: zod.ZodObject<{
2147
+ code: zod.ZodString;
2148
+ attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2149
+ name: zod.ZodString;
2150
+ value: zod.ZodString;
2151
+ }, zod.z.core.$strict>>>;
2152
+ weight: zod.ZodObject<{
2153
+ value: zod.ZodNumber;
2154
+ unit: zod.ZodString;
2155
+ }, zod.z.core.$strict>;
2156
+ }, zod.z.core.$strict>;
2157
+ declare const updateVariantResponse: zod.ZodObject<{
1836
2158
  id: zod.ZodUUID;
2159
+ productId: zod.ZodUUID;
2160
+ code: zod.ZodString;
2161
+ attributes: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2162
+ name: zod.ZodString;
2163
+ value: zod.ZodString;
2164
+ }, zod.z.core.$strict>>>;
2165
+ weight: zod.ZodObject<{
2166
+ value: zod.ZodNumber;
2167
+ unit: zod.ZodString;
2168
+ }, zod.z.core.$strict>;
2169
+ }, zod.z.core.$strict>;
2170
+ /**
2171
+ * Deletes a variant of the given product together with its pricing.
2172
+ * @summary Delete a variant
2173
+ */
2174
+ declare const deleteVariantParams: zod.ZodObject<{
2175
+ productId: zod.ZodUUID;
2176
+ id: zod.ZodUUID;
2177
+ }, zod.z.core.$strict>;
2178
+ /**
2179
+ * Returns the base amount, the sale window and the wholesale tiers of one variant, including the amount that applies right now.
2180
+ * @summary Get variant pricing
2181
+ */
2182
+ declare const getVariantPricingParams: zod.ZodObject<{
2183
+ variantId: zod.ZodUUID;
2184
+ }, zod.z.core.$strict>;
2185
+ declare const getVariantPricingResponse: zod.ZodObject<{
2186
+ variantId: zod.ZodUUID;
2187
+ baseAmount: zod.ZodNumber;
2188
+ baseCurrency: zod.ZodString;
2189
+ effectiveAmount: zod.ZodNumber;
2190
+ effectiveCurrency: zod.ZodString;
2191
+ sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
2192
+ amount: zod.ZodNumber;
2193
+ currency: zod.ZodString;
2194
+ startAt: zod.z.ZodISODateTime;
2195
+ endAt: zod.z.ZodISODateTime;
2196
+ isActive: zod.ZodBoolean;
2197
+ }, zod.z.core.$strict>]>>;
2198
+ wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2199
+ minQty: zod.ZodNumber;
2200
+ amount: zod.ZodNumber;
2201
+ currency: zod.ZodString;
2202
+ }, zod.z.core.$strict>>>;
2203
+ }, zod.z.core.$strict>;
2204
+ /**
2205
+ * Replaces the whole price list of one variant. Omitting sale or wholesale clears them.
2206
+ * @summary Replace variant pricing
2207
+ */
2208
+ declare const upsertVariantPricingParams: zod.ZodObject<{
2209
+ variantId: zod.ZodUUID;
2210
+ }, zod.z.core.$strict>;
2211
+ declare const upsertVariantPricingBody: zod.ZodObject<{
2212
+ baseAmount: zod.ZodNumber;
2213
+ baseCurrency: zod.ZodString;
2214
+ sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
2215
+ amount: zod.ZodNumber;
2216
+ currency: zod.ZodString;
2217
+ startAt: zod.z.ZodISODateTime;
2218
+ endAt: zod.z.ZodISODateTime;
2219
+ }, zod.z.core.$strict>]>>;
2220
+ wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2221
+ minQty: zod.ZodNumber;
2222
+ amount: zod.ZodNumber;
2223
+ currency: zod.ZodString;
2224
+ }, zod.z.core.$strict>>>;
2225
+ }, zod.z.core.$strict>;
2226
+ declare const upsertVariantPricingResponse: zod.ZodObject<{
2227
+ variantId: zod.ZodUUID;
2228
+ baseAmount: zod.ZodNumber;
2229
+ baseCurrency: zod.ZodString;
2230
+ effectiveAmount: zod.ZodNumber;
2231
+ effectiveCurrency: zod.ZodString;
2232
+ sale: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodNull, zod.ZodObject<{
2233
+ amount: zod.ZodNumber;
2234
+ currency: zod.ZodString;
2235
+ startAt: zod.z.ZodISODateTime;
2236
+ endAt: zod.z.ZodISODateTime;
2237
+ isActive: zod.ZodBoolean;
2238
+ }, zod.z.core.$strict>]>>;
2239
+ wholesale: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
2240
+ minQty: zod.ZodNumber;
2241
+ amount: zod.ZodNumber;
2242
+ currency: zod.ZodString;
2243
+ }, zod.z.core.$strict>>>;
2244
+ }, zod.z.core.$strict>;
2245
+ /**
2246
+ * Removes the price list of one variant.
2247
+ * @summary Delete variant pricing
2248
+ */
2249
+ declare const deleteVariantPricingParams: zod.ZodObject<{
2250
+ variantId: zod.ZodUUID;
1837
2251
  }, zod.z.core.$strict>;
1838
2252
  /**
1839
2253
  * Creates a new stock item with a unique SKU. Validation failures return 400.
@@ -2096,4 +2510,4 @@ declare const postApiIdentityAdminUsersIdLogoutParams: zod.ZodObject<{
2096
2510
  id: zod.ZodUUID;
2097
2511
  }, zod.z.core.$strict>;
2098
2512
 
2099
- export { type AccountInfo, type AddressData, type AddressSearchResultItemDto, type AddressSearchResultItemDtoExternalId, type AntiforgeryTokenResponse, type CatalogAttributeRequest, type CatalogItemResponse, type CatalogListItemResponse, type CatalogPriceRequest, type CatalogPriceRequestSale, type CatalogPriceRequestWholesale, type CatalogSalePriceRequest, type CatalogVariantRequest, type CatalogVariantRequestId, type CatalogWeightRequest, type CatalogWholesalePriceRequest, type ConsumeBatchMutationBody, type ConsumeBatchMutationError, type ConsumeBatchMutationResult, type ConsumeBatchRequest, type ConsumeBatchRequestExternalReferenceNo, type ConsumeBatchRequestNote, ConsumeBatchSourceType, type CreateBatchMutationBody, type CreateBatchMutationError, type CreateBatchMutationResult, type CreateBatchRequest, type CreateBatchRequestExpiresOn, type CreateBatchRequestExternalReferenceNo, type CreateBatchRequestNote, type CreateBatchRequestReceivedBy, type CreateCatalogItemMutationBody, type CreateCatalogItemMutationError, type CreateCatalogItemMutationResult, type CreateStockItemCommand, type CreateStockItemsMutationBody, type CreateStockItemsMutationError, type CreateStockItemsMutationResult, type CreateWarehouseCommand, type CreateWarehouseCommandFullAddressText, type CreateWarehouseMutationBody, type CreateWarehouseMutationError, type CreateWarehouseMutationResult, type DeleteApiIdentityAdminRolesIdMutationError, type DeleteApiIdentityAdminRolesIdMutationResult, type DeleteCatalogItemMutationError, type DeleteCatalogItemMutationResult, type DeleteWarehouseMutationError, type DeleteWarehouseMutationResult, type EmailRequest, type GetApiIdentityAdminPermissionsQueryError, type GetApiIdentityAdminPermissionsQueryResult, type GetApiIdentityAdminRolesIdQueryError, type GetApiIdentityAdminRolesIdQueryResult, type GetApiIdentityAdminRolesQueryError, type GetApiIdentityAdminRolesQueryResult, type GetApiIdentityAdminUsersIdPermissionsQueryError, type GetApiIdentityAdminUsersIdPermissionsQueryResult, type GetApiIdentityAdminUsersIdRolesQueryError, type GetApiIdentityAdminUsersIdRolesQueryResult, type GetApiIdentityAdminUsersParams, type GetApiIdentityAdminUsersQueryError, type GetApiIdentityAdminUsersQueryResult, type GetApiIdentityAntiforgeryQueryError, type GetApiIdentityAntiforgeryQueryResult, type GetApiIdentityManage2faQueryError, type GetApiIdentityManage2faQueryResult, type GetApiIdentityManageInfoQueryError, type GetApiIdentityManageInfoQueryResult, type GetCatalogItemQueryError, type GetCatalogItemQueryResult, type GetHealthQueryError, type GetHealthQueryResult, type GetWarehouseByIdQueryError, type GetWarehouseByIdQueryResult, type GetWarehouseOptionsQueryError, type GetWarehouseOptionsQueryResult, type ListCatalogItemsParams, type ListCatalogItemsQueryError, type ListCatalogItemsQueryResult, type ListStockItemsParams, type ListStockItemsQueryError, type ListStockItemsQueryResult, type ListStockMovementsParams, type ListStockMovementsQueryError, type ListStockMovementsQueryResult, type ListWarehousesParams, type ListWarehousesQueryError, type ListWarehousesQueryResult, type LoginRequest, type LoginRequestTwoFactorCode, type LoginRequestTwoFactorRecoveryCode, type LoginTwoFactorResponse, type PagedListOfCatalogListItemResponse, type PagedListOfStockItemResponse, type PagedListOfStockMovementResponse, type PagedListOfWarehouseResponse, type PermissionInfo, type PersonInChargeData, type PersonInChargeDataPhone, type PostApiIdentityAdminRolesMutationBody, type PostApiIdentityAdminRolesMutationError, type PostApiIdentityAdminRolesMutationResult, type PostApiIdentityAdminUsersIdLogoutMutationError, type PostApiIdentityAdminUsersIdLogoutMutationResult, type PostApiIdentityForgotPasswordMutationBody, type PostApiIdentityForgotPasswordMutationError, type PostApiIdentityForgotPasswordMutationResult, type PostApiIdentityLoginMutationBody, type PostApiIdentityLoginMutationError, type PostApiIdentityLoginMutationResult, type PostApiIdentityLogoutMutationError, type PostApiIdentityLogoutMutationResult, type PostApiIdentityManage2faMutationBody, type PostApiIdentityManage2faMutationError, type PostApiIdentityManage2faMutationResult, type PostApiIdentityManageInfoMutationBody, type PostApiIdentityManageInfoMutationError, type PostApiIdentityManageInfoMutationResult, type PostApiIdentityResetPasswordMutationBody, type PostApiIdentityResetPasswordMutationError, type PostApiIdentityResetPasswordMutationResult, type ProblemDetails, type ProblemDetailsDetail, type ProblemDetailsInstance, type ProblemDetailsTitle, type ProblemDetailsType, type PutApiIdentityAdminRolesIdMutationBody, type PutApiIdentityAdminRolesIdMutationError, type PutApiIdentityAdminRolesIdMutationResult, type PutApiIdentityAdminRolesIdPermissionsMutationBody, type PutApiIdentityAdminRolesIdPermissionsMutationError, type PutApiIdentityAdminRolesIdPermissionsMutationResult, type PutApiIdentityAdminUsersIdActiveMutationBody, type PutApiIdentityAdminUsersIdActiveMutationError, type PutApiIdentityAdminUsersIdActiveMutationResult, type PutApiIdentityAdminUsersIdRolesMutationBody, type PutApiIdentityAdminUsersIdRolesMutationError, type PutApiIdentityAdminUsersIdRolesMutationResult, type ResetPasswordRequest, type RoleInfo, type RoleNameRequest, type SearchAddressesParams, type SearchAddressesQueryError, type SearchAddressesQueryResult, type SetPermissionsRequest, type SetUserActiveRequest, type SetUserRolesRequest, SourceTypeEnum, type StockItemResponse, type StockItemResponseWarehouseId, type StockItemResponseWarehouseName, type StockMovementResponse, type StockMovementResponseBatchId, type StockMovementResponseExternalReferenceNo, type StockMovementResponseNote, type StockMovementResponseReceivedBy, type StockMovementResponseSourceReferenceId, type StockMovementResponseWarehouseName, type ToggleWarehouseStatusMutationError, type ToggleWarehouseStatusMutationResult, type TwoFactorRequest, type TwoFactorRequestEnable, type TwoFactorRequestPassword, type TwoFactorRequestTwoFactorCode, type TwoFactorState, type TwoFactorStateRecoveryCodes, type TwoFactorStateSharedKey, type UpdateAccountRequest, type UpdateAccountRequestNewEmail, type UpdateAccountRequestNewPassword, type UpdateAccountRequestOldPassword, type UpdateCatalogItemMutationBody, type UpdateCatalogItemMutationError, type UpdateCatalogItemMutationResult, type UpdateWarehouseCommand, type UpdateWarehouseCommandFullAddressText, type UpdateWarehouseMutationBody, type UpdateWarehouseMutationError, type UpdateWarehouseMutationResult, type UpsertCatalogItemRequest, type UserInfo, type WarehouseOptionResponse, type WarehouseResponse, type WarehouseResponseFullAddressText, consumeBatch, consumeBatchBody, consumeBatchParams, createBatch, createBatchBody, createCatalogItem, createCatalogItemBody, createStockItems, createStockItemsBody, createWarehouse, createWarehouseBody, deleteApiIdentityAdminRolesId, deleteApiIdentityAdminRolesIdParams, deleteCatalogItem, deleteCatalogItemParams, deleteWarehouse, deleteWarehouseParams, getApiIdentityAdminPermissions, getApiIdentityAdminPermissionsResponse, getApiIdentityAdminPermissionsResponseItem, getApiIdentityAdminRoles, getApiIdentityAdminRolesId, getApiIdentityAdminRolesIdParams, getApiIdentityAdminRolesIdResponse, getApiIdentityAdminRolesResponse, getApiIdentityAdminRolesResponseItem, getApiIdentityAdminUsers, getApiIdentityAdminUsersIdPermissions, getApiIdentityAdminUsersIdPermissionsParams, getApiIdentityAdminUsersIdPermissionsResponse, getApiIdentityAdminUsersIdPermissionsResponseItem, getApiIdentityAdminUsersIdRoles, getApiIdentityAdminUsersIdRolesParams, getApiIdentityAdminUsersIdRolesResponse, getApiIdentityAdminUsersIdRolesResponseItem, getApiIdentityAdminUsersQueryParams, getApiIdentityAdminUsersResponse, getApiIdentityAntiforgery, getApiIdentityAntiforgeryResponse, getApiIdentityManage2fa, getApiIdentityManage2faResponse, getApiIdentityManageInfo, getApiIdentityManageInfoResponse, getCatalogItem, getCatalogItemParams, getCatalogItemResponse, getConsumeBatchMutationOptions, getCreateBatchMutationOptions, getCreateCatalogItemMutationOptions, getCreateStockItemsMutationOptions, getCreateWarehouseMutationOptions, getDeleteApiIdentityAdminRolesIdMutationOptions, getDeleteCatalogItemMutationOptions, getDeleteWarehouseMutationOptions, getGetApiIdentityAdminPermissionsQueryKey, getGetApiIdentityAdminPermissionsQueryOptions, getGetApiIdentityAdminRolesIdQueryKey, getGetApiIdentityAdminRolesIdQueryOptions, getGetApiIdentityAdminRolesQueryKey, getGetApiIdentityAdminRolesQueryOptions, getGetApiIdentityAdminUsersIdPermissionsQueryKey, getGetApiIdentityAdminUsersIdPermissionsQueryOptions, getGetApiIdentityAdminUsersIdRolesQueryKey, getGetApiIdentityAdminUsersIdRolesQueryOptions, getGetApiIdentityAdminUsersQueryKey, getGetApiIdentityAdminUsersQueryOptions, getGetApiIdentityAntiforgeryQueryKey, getGetApiIdentityAntiforgeryQueryOptions, getGetApiIdentityManage2faQueryKey, getGetApiIdentityManage2faQueryOptions, getGetApiIdentityManageInfoQueryKey, getGetApiIdentityManageInfoQueryOptions, getGetCatalogItemQueryKey, getGetCatalogItemQueryOptions, getGetHealthQueryKey, getGetHealthQueryOptions, getGetWarehouseByIdQueryKey, getGetWarehouseByIdQueryOptions, getGetWarehouseOptionsQueryKey, getGetWarehouseOptionsQueryOptions, getHealth, getListCatalogItemsQueryKey, getListCatalogItemsQueryOptions, getListStockItemsQueryKey, getListStockItemsQueryOptions, getListStockMovementsQueryKey, getListStockMovementsQueryOptions, getListWarehousesQueryKey, getListWarehousesQueryOptions, getPostApiIdentityAdminRolesMutationOptions, getPostApiIdentityAdminUsersIdLogoutMutationOptions, getPostApiIdentityForgotPasswordMutationOptions, getPostApiIdentityLoginMutationOptions, getPostApiIdentityLogoutMutationOptions, getPostApiIdentityManage2faMutationOptions, getPostApiIdentityManageInfoMutationOptions, getPostApiIdentityResetPasswordMutationOptions, getPutApiIdentityAdminRolesIdMutationOptions, getPutApiIdentityAdminRolesIdPermissionsMutationOptions, getPutApiIdentityAdminUsersIdActiveMutationOptions, getPutApiIdentityAdminUsersIdRolesMutationOptions, getSearchAddressesQueryKey, getSearchAddressesQueryOptions, getToggleWarehouseStatusMutationOptions, getUpdateCatalogItemMutationOptions, getUpdateWarehouseMutationOptions, getWarehouseById, getWarehouseByIdParams, getWarehouseByIdResponse, getWarehouseOptions, getWarehouseOptionsResponse, getWarehouseOptionsResponseItem, listCatalogItems, listCatalogItemsQueryPageDefault, listCatalogItemsQueryPageSizeDefault, listCatalogItemsQueryParams, listCatalogItemsResponse, listStockItems, listStockItemsQueryDescendingDefault, listStockItemsQueryPageDefault, listStockItemsQueryPageSizeDefault, listStockItemsQueryParams, listStockItemsResponse, listStockMovements, listStockMovementsQueryDescendingDefault, listStockMovementsQueryPageDefault, listStockMovementsQueryPageSizeDefault, listStockMovementsQueryParams, listStockMovementsResponse, listWarehouses, listWarehousesQueryPageDefault, listWarehousesQueryPageSizeDefault, listWarehousesQueryParams, listWarehousesResponse, postApiIdentityAdminRoles, postApiIdentityAdminRolesBody, postApiIdentityAdminUsersIdLogout, postApiIdentityAdminUsersIdLogoutParams, postApiIdentityForgotPassword, postApiIdentityForgotPasswordBody, postApiIdentityLogin, postApiIdentityLoginBody, postApiIdentityLoginResponse, postApiIdentityLogout, postApiIdentityManage2fa, postApiIdentityManage2faBody, postApiIdentityManage2faResponse, postApiIdentityManageInfo, postApiIdentityManageInfoBody, postApiIdentityManageInfoResponse, postApiIdentityResetPassword, postApiIdentityResetPasswordBody, putApiIdentityAdminRolesId, putApiIdentityAdminRolesIdBody, putApiIdentityAdminRolesIdParams, putApiIdentityAdminRolesIdPermissions, putApiIdentityAdminRolesIdPermissionsBody, putApiIdentityAdminRolesIdPermissionsParams, putApiIdentityAdminUsersIdActive, putApiIdentityAdminUsersIdActiveBody, putApiIdentityAdminUsersIdActiveParams, putApiIdentityAdminUsersIdRoles, putApiIdentityAdminUsersIdRolesBody, putApiIdentityAdminUsersIdRolesParams, searchAddresses, searchAddressesQueryLimitDefault, searchAddressesQueryParams, searchAddressesResponse, searchAddressesResponseItem, toggleWarehouseStatus, toggleWarehouseStatusParams, updateCatalogItem, updateCatalogItemBody, updateCatalogItemParams, updateCatalogItemResponse, updateWarehouse, updateWarehouseBody, updateWarehouseParams, useConsumeBatch, useCreateBatch, useCreateCatalogItem, useCreateStockItems, useCreateWarehouse, useDeleteApiIdentityAdminRolesId, useDeleteCatalogItem, useDeleteWarehouse, useGetApiIdentityAdminPermissions, useGetApiIdentityAdminRoles, useGetApiIdentityAdminRolesId, useGetApiIdentityAdminUsers, useGetApiIdentityAdminUsersIdPermissions, useGetApiIdentityAdminUsersIdRoles, useGetApiIdentityAntiforgery, useGetApiIdentityManage2fa, useGetApiIdentityManageInfo, useGetCatalogItem, useGetHealth, useGetWarehouseById, useGetWarehouseOptions, useListCatalogItems, useListStockItems, useListStockMovements, useListWarehouses, usePostApiIdentityAdminRoles, usePostApiIdentityAdminUsersIdLogout, usePostApiIdentityForgotPassword, usePostApiIdentityLogin, usePostApiIdentityLogout, usePostApiIdentityManage2fa, usePostApiIdentityManageInfo, usePostApiIdentityResetPassword, usePutApiIdentityAdminRolesId, usePutApiIdentityAdminRolesIdPermissions, usePutApiIdentityAdminUsersIdActive, usePutApiIdentityAdminUsersIdRoles, useSearchAddresses, useToggleWarehouseStatus, useUpdateCatalogItem, useUpdateWarehouse };
2513
+ export { type AccountInfo, type AddressData, type AddressSearchResultItemDto, type AddressSearchResultItemDtoExternalId, type AntiforgeryTokenResponse, type ConsumeBatchMutationBody, type ConsumeBatchMutationError, type ConsumeBatchMutationResult, type ConsumeBatchRequest, type ConsumeBatchRequestExternalReferenceNo, type ConsumeBatchRequestNote, ConsumeBatchSourceType, type CreateBatchMutationBody, type CreateBatchMutationError, type CreateBatchMutationResult, type CreateBatchRequest, type CreateBatchRequestExpiresOn, type CreateBatchRequestExternalReferenceNo, type CreateBatchRequestNote, type CreateBatchRequestReceivedBy, type CreateProductMutationBody, type CreateProductMutationError, type CreateProductMutationResult, type CreateProductRequest, type CreateStockItemCommand, type CreateStockItemsMutationBody, type CreateStockItemsMutationError, type CreateStockItemsMutationResult, type CreateVariantMutationBody, type CreateVariantMutationError, type CreateVariantMutationResult, type CreateVariantRequest, type CreateWarehouseCommand, type CreateWarehouseCommandFullAddressText, type CreateWarehouseMutationBody, type CreateWarehouseMutationError, type CreateWarehouseMutationResult, type DeleteApiIdentityAdminRolesIdMutationError, type DeleteApiIdentityAdminRolesIdMutationResult, type DeleteProductMutationError, type DeleteProductMutationResult, type DeleteVariantMutationError, type DeleteVariantMutationResult, type DeleteVariantPricingMutationError, type DeleteVariantPricingMutationResult, type DeleteWarehouseMutationError, type DeleteWarehouseMutationResult, type EmailRequest, type GetApiIdentityAdminPermissionsQueryError, type GetApiIdentityAdminPermissionsQueryResult, type GetApiIdentityAdminRolesIdQueryError, type GetApiIdentityAdminRolesIdQueryResult, type GetApiIdentityAdminRolesQueryError, type GetApiIdentityAdminRolesQueryResult, type GetApiIdentityAdminUsersIdPermissionsQueryError, type GetApiIdentityAdminUsersIdPermissionsQueryResult, type GetApiIdentityAdminUsersIdRolesQueryError, type GetApiIdentityAdminUsersIdRolesQueryResult, type GetApiIdentityAdminUsersParams, type GetApiIdentityAdminUsersQueryError, type GetApiIdentityAdminUsersQueryResult, type GetApiIdentityAntiforgeryQueryError, type GetApiIdentityAntiforgeryQueryResult, type GetApiIdentityManage2faQueryError, type GetApiIdentityManage2faQueryResult, type GetApiIdentityManageInfoQueryError, type GetApiIdentityManageInfoQueryResult, type GetHealthQueryError, type GetHealthQueryResult, type GetProductQueryError, type GetProductQueryResult, type GetVariantPricingQueryError, type GetVariantPricingQueryResult, type GetVariantQueryError, type GetVariantQueryResult, type GetWarehouseByIdQueryError, type GetWarehouseByIdQueryResult, type GetWarehouseOptionsQueryError, type GetWarehouseOptionsQueryResult, type ListProductsParams, type ListProductsQueryError, type ListProductsQueryResult, type ListStockItemsParams, type ListStockItemsQueryError, type ListStockItemsQueryResult, type ListStockMovementsParams, type ListStockMovementsQueryError, type ListStockMovementsQueryResult, type ListVariantsParams, type ListVariantsQueryError, type ListVariantsQueryResult, type ListWarehousesParams, type ListWarehousesQueryError, type ListWarehousesQueryResult, type LoginRequest, type LoginRequestTwoFactorCode, type LoginRequestTwoFactorRecoveryCode, type LoginTwoFactorResponse, type PagedListOfProductResponse, type PagedListOfStockItemResponse, type PagedListOfStockMovementResponse, type PagedListOfVariantResponse, type PagedListOfWarehouseResponse, type PermissionInfo, type PersonInChargeData, type PersonInChargeDataPhone, type PostApiIdentityAdminRolesMutationBody, type PostApiIdentityAdminRolesMutationError, type PostApiIdentityAdminRolesMutationResult, type PostApiIdentityAdminUsersIdLogoutMutationError, type PostApiIdentityAdminUsersIdLogoutMutationResult, type PostApiIdentityForgotPasswordMutationBody, type PostApiIdentityForgotPasswordMutationError, type PostApiIdentityForgotPasswordMutationResult, type PostApiIdentityLoginMutationBody, type PostApiIdentityLoginMutationError, type PostApiIdentityLoginMutationResult, type PostApiIdentityLogoutMutationError, type PostApiIdentityLogoutMutationResult, type PostApiIdentityManage2faMutationBody, type PostApiIdentityManage2faMutationError, type PostApiIdentityManage2faMutationResult, type PostApiIdentityManageInfoMutationBody, type PostApiIdentityManageInfoMutationError, type PostApiIdentityManageInfoMutationResult, type PostApiIdentityResetPasswordMutationBody, type PostApiIdentityResetPasswordMutationError, type PostApiIdentityResetPasswordMutationResult, type ProblemDetails, type ProblemDetailsDetail, type ProblemDetailsInstance, type ProblemDetailsTitle, type ProblemDetailsType, ProductClassification, type ProductResponse, ProductStatus, type PutApiIdentityAdminRolesIdMutationBody, type PutApiIdentityAdminRolesIdMutationError, type PutApiIdentityAdminRolesIdMutationResult, type PutApiIdentityAdminRolesIdPermissionsMutationBody, type PutApiIdentityAdminRolesIdPermissionsMutationError, type PutApiIdentityAdminRolesIdPermissionsMutationResult, type PutApiIdentityAdminUsersIdActiveMutationBody, type PutApiIdentityAdminUsersIdActiveMutationError, type PutApiIdentityAdminUsersIdActiveMutationResult, type PutApiIdentityAdminUsersIdRolesMutationBody, type PutApiIdentityAdminUsersIdRolesMutationError, type PutApiIdentityAdminUsersIdRolesMutationResult, type ResetPasswordRequest, type RoleInfo, type RoleNameRequest, type SearchAddressesParams, type SearchAddressesQueryError, type SearchAddressesQueryResult, type SetPermissionsRequest, type SetUserActiveRequest, type SetUserRolesRequest, SourceTypeEnum, type StockItemResponse, type StockItemResponseWarehouseId, type StockItemResponseWarehouseName, type StockMovementResponse, type StockMovementResponseBatchId, type StockMovementResponseExternalReferenceNo, type StockMovementResponseNote, type StockMovementResponseReceivedBy, type StockMovementResponseSourceReferenceId, type StockMovementResponseWarehouseName, type ToggleWarehouseStatusMutationError, type ToggleWarehouseStatusMutationResult, type TwoFactorRequest, type TwoFactorRequestEnable, type TwoFactorRequestPassword, type TwoFactorRequestTwoFactorCode, type TwoFactorState, type TwoFactorStateRecoveryCodes, type TwoFactorStateSharedKey, type UpdateAccountRequest, type UpdateAccountRequestNewEmail, type UpdateAccountRequestNewPassword, type UpdateAccountRequestOldPassword, type UpdateProductMutationBody, type UpdateProductMutationError, type UpdateProductMutationResult, type UpdateProductRequest, type UpdateVariantMutationBody, type UpdateVariantMutationError, type UpdateVariantMutationResult, type UpdateVariantRequest, type UpdateWarehouseCommand, type UpdateWarehouseCommandFullAddressText, type UpdateWarehouseMutationBody, type UpdateWarehouseMutationError, type UpdateWarehouseMutationResult, type UpsertVariantPricingMutationBody, type UpsertVariantPricingMutationError, type UpsertVariantPricingMutationResult, type UpsertVariantPricingRequest, type UpsertVariantPricingRequestSale, type UserInfo, type VariantAttributeRequest, type VariantAttributeResponse, type VariantPricingResponse, type VariantPricingResponseSale, type VariantResponse, type VariantSalePriceRequest, type VariantSalePriceResponse, type VariantWeightRequest, type VariantWeightResponse, type VariantWholesalePriceRequest, type VariantWholesalePriceResponse, type WarehouseOptionResponse, type WarehouseResponse, type WarehouseResponseFullAddressText, consumeBatch, consumeBatchBody, consumeBatchParams, createBatch, createBatchBody, createProduct, createProductBody, createStockItems, createStockItemsBody, createVariant, createVariantBody, createVariantParams, createWarehouse, createWarehouseBody, deleteApiIdentityAdminRolesId, deleteApiIdentityAdminRolesIdParams, deleteProduct, deleteProductParams, deleteVariant, deleteVariantParams, deleteVariantPricing, deleteVariantPricingParams, deleteWarehouse, deleteWarehouseParams, getApiIdentityAdminPermissions, getApiIdentityAdminPermissionsResponse, getApiIdentityAdminPermissionsResponseItem, getApiIdentityAdminRoles, getApiIdentityAdminRolesId, getApiIdentityAdminRolesIdParams, getApiIdentityAdminRolesIdResponse, getApiIdentityAdminRolesResponse, getApiIdentityAdminRolesResponseItem, getApiIdentityAdminUsers, getApiIdentityAdminUsersIdPermissions, getApiIdentityAdminUsersIdPermissionsParams, getApiIdentityAdminUsersIdPermissionsResponse, getApiIdentityAdminUsersIdPermissionsResponseItem, getApiIdentityAdminUsersIdRoles, getApiIdentityAdminUsersIdRolesParams, getApiIdentityAdminUsersIdRolesResponse, getApiIdentityAdminUsersIdRolesResponseItem, getApiIdentityAdminUsersQueryParams, getApiIdentityAdminUsersResponse, getApiIdentityAntiforgery, getApiIdentityAntiforgeryResponse, getApiIdentityManage2fa, getApiIdentityManage2faResponse, getApiIdentityManageInfo, getApiIdentityManageInfoResponse, getConsumeBatchMutationOptions, getCreateBatchMutationOptions, getCreateProductMutationOptions, getCreateStockItemsMutationOptions, getCreateVariantMutationOptions, getCreateWarehouseMutationOptions, getDeleteApiIdentityAdminRolesIdMutationOptions, getDeleteProductMutationOptions, getDeleteVariantMutationOptions, getDeleteVariantPricingMutationOptions, getDeleteWarehouseMutationOptions, getGetApiIdentityAdminPermissionsQueryKey, getGetApiIdentityAdminPermissionsQueryOptions, getGetApiIdentityAdminRolesIdQueryKey, getGetApiIdentityAdminRolesIdQueryOptions, getGetApiIdentityAdminRolesQueryKey, getGetApiIdentityAdminRolesQueryOptions, getGetApiIdentityAdminUsersIdPermissionsQueryKey, getGetApiIdentityAdminUsersIdPermissionsQueryOptions, getGetApiIdentityAdminUsersIdRolesQueryKey, getGetApiIdentityAdminUsersIdRolesQueryOptions, getGetApiIdentityAdminUsersQueryKey, getGetApiIdentityAdminUsersQueryOptions, getGetApiIdentityAntiforgeryQueryKey, getGetApiIdentityAntiforgeryQueryOptions, getGetApiIdentityManage2faQueryKey, getGetApiIdentityManage2faQueryOptions, getGetApiIdentityManageInfoQueryKey, getGetApiIdentityManageInfoQueryOptions, getGetHealthQueryKey, getGetHealthQueryOptions, getGetProductQueryKey, getGetProductQueryOptions, getGetVariantPricingQueryKey, getGetVariantPricingQueryOptions, getGetVariantQueryKey, getGetVariantQueryOptions, getGetWarehouseByIdQueryKey, getGetWarehouseByIdQueryOptions, getGetWarehouseOptionsQueryKey, getGetWarehouseOptionsQueryOptions, getHealth, getListProductsQueryKey, getListProductsQueryOptions, getListStockItemsQueryKey, getListStockItemsQueryOptions, getListStockMovementsQueryKey, getListStockMovementsQueryOptions, getListVariantsQueryKey, getListVariantsQueryOptions, getListWarehousesQueryKey, getListWarehousesQueryOptions, getPostApiIdentityAdminRolesMutationOptions, getPostApiIdentityAdminUsersIdLogoutMutationOptions, getPostApiIdentityForgotPasswordMutationOptions, getPostApiIdentityLoginMutationOptions, getPostApiIdentityLogoutMutationOptions, getPostApiIdentityManage2faMutationOptions, getPostApiIdentityManageInfoMutationOptions, getPostApiIdentityResetPasswordMutationOptions, getProduct, getProductParams, getProductResponse, getPutApiIdentityAdminRolesIdMutationOptions, getPutApiIdentityAdminRolesIdPermissionsMutationOptions, getPutApiIdentityAdminUsersIdActiveMutationOptions, getPutApiIdentityAdminUsersIdRolesMutationOptions, getSearchAddressesQueryKey, getSearchAddressesQueryOptions, getToggleWarehouseStatusMutationOptions, getUpdateProductMutationOptions, getUpdateVariantMutationOptions, getUpdateWarehouseMutationOptions, getUpsertVariantPricingMutationOptions, getVariant, getVariantParams, getVariantPricing, getVariantPricingParams, getVariantPricingResponse, getVariantResponse, getWarehouseById, getWarehouseByIdParams, getWarehouseByIdResponse, getWarehouseOptions, getWarehouseOptionsResponse, getWarehouseOptionsResponseItem, listProducts, listProductsQueryPageDefault, listProductsQueryPageSizeDefault, listProductsQueryParams, listProductsResponse, listStockItems, listStockItemsQueryDescendingDefault, listStockItemsQueryPageDefault, listStockItemsQueryPageSizeDefault, listStockItemsQueryParams, listStockItemsResponse, listStockMovements, listStockMovementsQueryDescendingDefault, listStockMovementsQueryPageDefault, listStockMovementsQueryPageSizeDefault, listStockMovementsQueryParams, listStockMovementsResponse, listVariants, listVariantsParams, listVariantsQueryPageDefault, listVariantsQueryPageSizeDefault, listVariantsQueryParams, listVariantsResponse, listWarehouses, listWarehousesQueryPageDefault, listWarehousesQueryPageSizeDefault, listWarehousesQueryParams, listWarehousesResponse, postApiIdentityAdminRoles, postApiIdentityAdminRolesBody, postApiIdentityAdminUsersIdLogout, postApiIdentityAdminUsersIdLogoutParams, postApiIdentityForgotPassword, postApiIdentityForgotPasswordBody, postApiIdentityLogin, postApiIdentityLoginBody, postApiIdentityLoginResponse, postApiIdentityLogout, postApiIdentityManage2fa, postApiIdentityManage2faBody, postApiIdentityManage2faResponse, postApiIdentityManageInfo, postApiIdentityManageInfoBody, postApiIdentityManageInfoResponse, postApiIdentityResetPassword, postApiIdentityResetPasswordBody, putApiIdentityAdminRolesId, putApiIdentityAdminRolesIdBody, putApiIdentityAdminRolesIdParams, putApiIdentityAdminRolesIdPermissions, putApiIdentityAdminRolesIdPermissionsBody, putApiIdentityAdminRolesIdPermissionsParams, putApiIdentityAdminUsersIdActive, putApiIdentityAdminUsersIdActiveBody, putApiIdentityAdminUsersIdActiveParams, putApiIdentityAdminUsersIdRoles, putApiIdentityAdminUsersIdRolesBody, putApiIdentityAdminUsersIdRolesParams, searchAddresses, searchAddressesQueryLimitDefault, searchAddressesQueryParams, searchAddressesResponse, searchAddressesResponseItem, toggleWarehouseStatus, toggleWarehouseStatusParams, updateProduct, updateProductBody, updateProductParams, updateProductResponse, updateVariant, updateVariantBody, updateVariantParams, updateVariantResponse, updateWarehouse, updateWarehouseBody, updateWarehouseParams, upsertVariantPricing, upsertVariantPricingBody, upsertVariantPricingParams, upsertVariantPricingResponse, useConsumeBatch, useCreateBatch, useCreateProduct, useCreateStockItems, useCreateVariant, useCreateWarehouse, useDeleteApiIdentityAdminRolesId, useDeleteProduct, useDeleteVariant, useDeleteVariantPricing, useDeleteWarehouse, useGetApiIdentityAdminPermissions, useGetApiIdentityAdminRoles, useGetApiIdentityAdminRolesId, useGetApiIdentityAdminUsers, useGetApiIdentityAdminUsersIdPermissions, useGetApiIdentityAdminUsersIdRoles, useGetApiIdentityAntiforgery, useGetApiIdentityManage2fa, useGetApiIdentityManageInfo, useGetHealth, useGetProduct, useGetVariant, useGetVariantPricing, useGetWarehouseById, useGetWarehouseOptions, useListProducts, useListStockItems, useListStockMovements, useListVariants, useListWarehouses, usePostApiIdentityAdminRoles, usePostApiIdentityAdminUsersIdLogout, usePostApiIdentityForgotPassword, usePostApiIdentityLogin, usePostApiIdentityLogout, usePostApiIdentityManage2fa, usePostApiIdentityManageInfo, usePostApiIdentityResetPassword, usePutApiIdentityAdminRolesId, usePutApiIdentityAdminRolesIdPermissions, usePutApiIdentityAdminUsersIdActive, usePutApiIdentityAdminUsersIdRoles, useSearchAddresses, useToggleWarehouseStatus, useUpdateProduct, useUpdateVariant, useUpdateWarehouse, useUpsertVariantPricing };