@epcc-sdk/sdks-shopper 0.0.29 → 0.0.31
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/README.md +4 -0
- package/dist/client/@tanstack/react-query.gen.cjs +38 -0
- package/dist/client/@tanstack/react-query.gen.cjs.map +1 -1
- package/dist/client/@tanstack/react-query.gen.d.cts +44 -2
- package/dist/client/@tanstack/react-query.gen.d.ts +44 -2
- package/dist/client/@tanstack/react-query.gen.mjs +36 -0
- package/dist/client/@tanstack/react-query.gen.mjs.map +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.cjs +100 -0
- package/dist/client/sdk.gen.cjs.map +1 -1
- package/dist/client/sdk.gen.d.cts +147 -90
- package/dist/client/sdk.gen.d.ts +147 -90
- package/dist/client/sdk.gen.mjs +98 -0
- package/dist/client/sdk.gen.mjs.map +1 -1
- package/dist/client/transformers.gen.cjs +18 -3
- package/dist/client/transformers.gen.cjs.map +1 -1
- package/dist/client/transformers.gen.d.cts +4 -2
- package/dist/client/transformers.gen.d.ts +4 -2
- package/dist/client/transformers.gen.mjs +16 -3
- package/dist/client/transformers.gen.mjs.map +1 -1
- package/dist/client/types.gen.cjs.map +1 -1
- package/dist/client/types.gen.d.cts +537 -139
- package/dist/client/types.gen.d.ts +537 -139
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/utils/extract-product-image.cjs.map +1 -1
- package/dist/utils/extract-product-image.d.cts +2 -2
- package/dist/utils/extract-product-image.d.ts +2 -2
- package/dist/utils/extract-product-image.mjs.map +1 -1
- package/dist/utils/get-cart-id.cjs +2 -2
- package/dist/utils/get-cart-id.cjs.map +1 -1
- package/dist/utils/get-cart-id.d.cts +3 -1
- package/dist/utils/get-cart-id.d.ts +3 -1
- package/dist/utils/get-cart-id.mjs +2 -2
- package/dist/utils/get-cart-id.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
3
|
-
import { GetByContextReleaseData, ReleaseData, GetByContextAllHierarchiesData, HierarchyListData, GetByContextHierarchyData, HierarchyData, GetByContextHierarchyNodesData, NodeListData, GetByContextHierarchyChildNodesData, GetByContextAllNodesData, GetByContextNodeData, NodeData, GetByContextChildNodesData, GetByContextAllProductsData, ProductListData, GetByContextProductData, ProductData, GetByContextComponentProductIdsData, ProductReferenceListData, GetByContextChildProductsData, GetByContextProductsForHierarchyData, GetByContextProductsForNodeData, ConfigureByContextProductData, ErrorResponse, GetCatalogsData, CatalogListData, CreateCatalogData, CatalogData, DeleteCatalogByIdData, GetCatalogByIdData, UpdateCatalogData, DeleteReleasesData, GetReleasesData, ReleaseListData, PublishReleaseData, DeleteReleaseByIdData, GetReleaseByIdData, GetRulesData, RuleListData, CreateRuleData, RuleData, DeleteRuleByIdData, GetRuleByIdData, UpdateRuleData, GetAllHierarchiesData, GetHierarchyData, GetHierarchyNodesData, GetHierarchyChildNodesData, GetAllNodesData, GetNodeData, GetChildNodesData, GetAllProductsData, GetProductData, GetComponentProductIdsData, GetChildProductsData, GetProductsForHierarchyData, GetProductsForNodeData, GetCartsData, ResponseData, CartResponse, ResponsePageLinks, ResponseMetaCarts, CreateACartData, ResponseError, DeleteACartData, GetCartData, CartInclude, UpdateACartData, DeleteAllCartItemsData, GetCartItemsData, CartsResponse, ManageCartsData, BulkUpdateItemsInCartData, DeleteACartItemData, UpdateACartItemData, DeleteAccountCartAssociationData, CreateAccountCartAssociationData, CreateAccountCartAssociationResponse, DeleteCustomerCartAssociationData, CreateCustomerCartAssociationData, CartsRelationshipsCustomersData, DeleteAPromotionViaPromotionCodeData, AddTaxItemToCartData, CartsItemsTaxesObject, BulkDeleteTaxItemsFromCartData, BulkAddTaxItemsToCartData, CartsBulkTaxes, DeleteATaxItemData, UpdateATaxItemData, BulkDeleteCustomDiscountsFromCartData, BulkAddCustomDiscountsToCartData, CartsBulkCustomDiscountsResponse, DeleteCustomDiscountFromCartData, UpdateCustomDiscountForCartData, CartsCustomDiscountsResponse, AddCustomDiscountToCartItemData, DeleteCustomDiscountFromCartItemData, UpdateCustomDiscountForCartItemData, CreateCartPaymentIntentData, CheckoutApiData, OrderResponse, GetCustomerOrdersData, ResponseMetaOrders, OrderItemResponse, GetAnOrderData, UpdateAnOrderData, GetOrderItemsData, AnonymizeOrdersData, PaymentSetupData, TransactionResponse, ConfirmPaymentData, CaptureATransactionData, RefundATransactionData, GetOrderTransactionsData, GetATransactionData, CancelATransactionData, GetSubscriptionProductData, Product2, GetPlanData, Plan, ListOfferingsData, Offering, OfferingIncludes, Links2, GetOfferingData, ListOfferingPlansData, OfferingPlan, ListOfferingFeaturesData, OfferingFeature, ListOfferingProductsData, OfferingProduct, ListSubscriptionsData, Subscription, SubscriptionIncludes, GetSubscriptionData, ListSubscriptionProductsData, ListSubscriptionPlansData, ListSubscriptionStatesData, SubscriptionState, GetSubscriptionStateData, ListSubscriptionInvoicesData, SubscriptionInvoice, ListSubscriptionInvoicePaymentsData, SubscriptionInvoicePayment, GetSubscriptionInvoicePaymentData, GetSubscriptionInvoiceData, ListInvoicesData, GetInvoiceData, GetFeatureData, Feature, GetStockData, StockResponse, ListLocationsData, Location, CreateAnAccessTokenData, AccessTokenResponse, ErrorResponse2, GetV2AccountAddressesData, AccountAddressResponse, PostV2AccountAddressData, AccountAddressesErrorResponse, DeleteV2AccountAddressData, GetV2AccountAddressData, PutV2AccountAddressData, GetV2AccountsData, AccountResponse, MetaList, PostV2AccountsData, AccountManagementErrorResponse, GetV2AccountsAccountIdData, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, GetV2AccountMembersData, AccountMemberResponse, GetV2AccountMembersAccountMemberIdData, GetV2AccountsAccountIdAccountMembershipsData, AccountMembershipResponse, PostV2AccountMembersTokensData, AccountManagementAuthenticationTokenResponse, MetaAccountMemberId, CreateOneTimePasswordTokenRequestData, UpdatePasswordProfileInfoData, PasswordProfileInfoResponse, GetAllCurrenciesData, ResponseCurrency, GetACurrencyData, GetAllFilesData, File, ResultsMeta, ResultsLinks, GetAFileData } from '../types.gen.cjs';
|
|
3
|
+
import { GetByContextReleaseData, ReleaseData, GetByContextAllHierarchiesData, HierarchyListData, GetByContextHierarchyData, HierarchyData, GetByContextHierarchyNodesData, NodeListData, GetByContextHierarchyChildNodesData, GetByContextAllNodesData, GetByContextNodeData, NodeData, GetByContextChildNodesData, GetByContextAllProductsData, ProductListData, GetByContextProductData, ProductData, GetByContextAllRelatedProductsData, GetByContextComponentProductIdsData, ProductReferenceListData, GetByContextChildProductsData, GetByContextProductsForHierarchyData, GetByContextProductsForNodeData, ConfigureByContextProductData, ErrorResponse, GetCatalogsData, CatalogListData, CreateCatalogData, CatalogData, DeleteCatalogByIdData, GetCatalogByIdData, UpdateCatalogData, DeleteReleasesData, GetReleasesData, ReleaseListData, PublishReleaseData, DeleteReleaseByIdData, GetReleaseByIdData, GetRulesData, RuleListData, CreateRuleData, RuleData, DeleteRuleByIdData, GetRuleByIdData, UpdateRuleData, GetAllHierarchiesData, GetHierarchyData, GetHierarchyNodesData, GetHierarchyChildNodesData, GetAllNodesData, GetNodeData, GetChildNodesData, GetAllProductsData, GetProductData, GetAllRelatedProductsData, GetComponentProductIdsData, GetChildProductsData, GetProductsForHierarchyData, GetProductsForNodeData, GetCartsData, ResponseData, CartResponse, ResponsePageLinks, ResponseMetaCarts, CreateACartData, ResponseError, DeleteACartData, GetCartData, CartInclude, UpdateACartData, DeleteAllCartItemsData, GetCartItemsData, CartsResponse, ManageCartsData, BulkUpdateItemsInCartData, DeleteACartItemData, UpdateACartItemData, DeleteAccountCartAssociationData, CreateAccountCartAssociationData, CreateAccountCartAssociationResponse, DeleteCustomerCartAssociationData, CreateCustomerCartAssociationData, CartsRelationshipsCustomersData, DeleteAPromotionViaPromotionCodeData, AddTaxItemToCartData, CartsItemsTaxesObject, BulkDeleteTaxItemsFromCartData, BulkAddTaxItemsToCartData, CartsBulkTaxes, DeleteATaxItemData, UpdateATaxItemData, BulkDeleteCustomDiscountsFromCartData, BulkAddCustomDiscountsToCartData, CartsBulkCustomDiscountsResponse, DeleteCustomDiscountFromCartData, UpdateCustomDiscountForCartData, CartsCustomDiscountsResponse, AddCustomDiscountToCartItemData, DeleteCustomDiscountFromCartItemData, UpdateCustomDiscountForCartItemData, CreateCartPaymentIntentData, CheckoutApiData, OrderResponse, GetCustomerOrdersData, ResponseMetaOrders, OrderItemResponse, GetAnOrderData, UpdateAnOrderData, GetOrderItemsData, AnonymizeOrdersData, PaymentSetupData, TransactionResponse, ConfirmPaymentData, CaptureATransactionData, RefundATransactionData, GetOrderTransactionsData, GetATransactionData, CancelATransactionData, GetSubscriptionProductData, Product2, GetPlanData, Plan, ListOfferingsData, Offering, OfferingIncludes, Links2, GetOfferingData, ListOfferingPlansData, OfferingPlan, ListOfferingFeaturesData, OfferingFeature, ListOfferingProductsData, OfferingProduct, ListSubscriptionsData, Subscription, SubscriptionIncludes, GetSubscriptionData, ListSubscriptionProductsData, ListSubscriptionPlansData, ListSubscriptionStatesData, SubscriptionState, GetSubscriptionStateData, ListSubscriptionInvoicesData, SubscriptionInvoice, ListSubscriptionInvoicePaymentsData, SubscriptionInvoicePayment, GetSubscriptionInvoicePaymentData, GetSubscriptionInvoiceData, ListInvoicesData, GetInvoiceData, GetFeatureData, Feature, GetStockData, StockResponse, ListLocationsData, Location, CreateAnAccessTokenData, AccessTokenResponse, ErrorResponse2, GetV2AccountAddressesData, AccountAddressResponse, PostV2AccountAddressData, AccountAddressesErrorResponse, DeleteV2AccountAddressData, GetV2AccountAddressData, PutV2AccountAddressData, GetV2AccountsData, AccountResponse, MetaList, PostV2AccountsData, AccountManagementErrorResponse, GetV2AccountsAccountIdData, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, GetV2AccountMembersData, AccountMemberResponse, GetV2AccountMembersAccountMemberIdData, GetV2AccountsAccountIdAccountMembershipsData, AccountMembershipResponse, PostV2AccountMembersTokensData, AccountManagementAuthenticationTokenResponse, MetaAccountMemberId, CreateOneTimePasswordTokenRequestData, UpdatePasswordProfileInfoData, PasswordProfileInfoResponse, GetAllCurrenciesData, ResponseCurrency, GetACurrencyData, GetAllFilesData, File, ResultsMeta, ResultsLinks, GetAFileData } from '../types.gen.cjs';
|
|
4
4
|
import { Options } from '@hey-api/client-fetch';
|
|
5
5
|
|
|
6
6
|
declare const getByContextReleaseQueryKey: (options?: Options<GetByContextReleaseData>) => (Pick<Options<GetByContextReleaseData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
@@ -213,6 +213,27 @@ declare const getByContextProductOptions: (options: Options<GetByContextProductD
|
|
|
213
213
|
[dataTagErrorSymbol]: Error;
|
|
214
214
|
};
|
|
215
215
|
};
|
|
216
|
+
declare const getByContextAllRelatedProductsQueryKey: (options: Options<GetByContextAllRelatedProductsData>) => (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
217
|
+
_id: string;
|
|
218
|
+
_infinite?: boolean;
|
|
219
|
+
})[];
|
|
220
|
+
declare const getByContextAllRelatedProductsOptions: (options: Options<GetByContextAllRelatedProductsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProductListData, Error, ProductListData, (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
221
|
+
_id: string;
|
|
222
|
+
_infinite?: boolean;
|
|
223
|
+
})[]>, "queryFn"> & {
|
|
224
|
+
queryFn?: _tanstack_react_query.QueryFunction<ProductListData, (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
225
|
+
_id: string;
|
|
226
|
+
_infinite?: boolean;
|
|
227
|
+
})[], never> | undefined;
|
|
228
|
+
} & {
|
|
229
|
+
queryKey: (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
230
|
+
_id: string;
|
|
231
|
+
_infinite?: boolean;
|
|
232
|
+
})[] & {
|
|
233
|
+
[dataTagSymbol]: ProductListData;
|
|
234
|
+
[dataTagErrorSymbol]: Error;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
216
237
|
declare const getByContextComponentProductIdsQueryKey: (options: Options<GetByContextComponentProductIdsData>) => (Pick<Options<GetByContextComponentProductIdsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
217
238
|
_id: string;
|
|
218
239
|
_infinite?: boolean;
|
|
@@ -706,6 +727,27 @@ declare const getProductOptions: (options: Options<GetProductData>) => _tanstack
|
|
|
706
727
|
[dataTagErrorSymbol]: Error;
|
|
707
728
|
};
|
|
708
729
|
};
|
|
730
|
+
declare const getAllRelatedProductsQueryKey: (options: Options<GetAllRelatedProductsData>) => (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
731
|
+
_id: string;
|
|
732
|
+
_infinite?: boolean;
|
|
733
|
+
})[];
|
|
734
|
+
declare const getAllRelatedProductsOptions: (options: Options<GetAllRelatedProductsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProductListData, Error, ProductListData, (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
735
|
+
_id: string;
|
|
736
|
+
_infinite?: boolean;
|
|
737
|
+
})[]>, "queryFn"> & {
|
|
738
|
+
queryFn?: _tanstack_react_query.QueryFunction<ProductListData, (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
739
|
+
_id: string;
|
|
740
|
+
_infinite?: boolean;
|
|
741
|
+
})[], never> | undefined;
|
|
742
|
+
} & {
|
|
743
|
+
queryKey: (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
744
|
+
_id: string;
|
|
745
|
+
_infinite?: boolean;
|
|
746
|
+
})[] & {
|
|
747
|
+
[dataTagSymbol]: ProductListData;
|
|
748
|
+
[dataTagErrorSymbol]: Error;
|
|
749
|
+
};
|
|
750
|
+
};
|
|
709
751
|
declare const getComponentProductIdsQueryKey: (options: Options<GetComponentProductIdsData>) => (Pick<Options<GetComponentProductIdsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
710
752
|
_id: string;
|
|
711
753
|
_infinite?: boolean;
|
|
@@ -2874,4 +2916,4 @@ declare const getAFileOptions: (options: Options<GetAFileData>) => _tanstack_rea
|
|
|
2874
2916
|
};
|
|
2875
2917
|
};
|
|
2876
2918
|
|
|
2877
|
-
export { addCustomDiscountToCartItemMutation, addCustomDiscountToCartItemOptions, addCustomDiscountToCartItemQueryKey, addTaxItemToCartMutation, addTaxItemToCartOptions, addTaxItemToCartQueryKey, anonymizeOrdersMutation, anonymizeOrdersOptions, anonymizeOrdersQueryKey, bulkAddCustomDiscountsToCartMutation, bulkAddCustomDiscountsToCartOptions, bulkAddCustomDiscountsToCartQueryKey, bulkAddTaxItemsToCartMutation, bulkAddTaxItemsToCartOptions, bulkAddTaxItemsToCartQueryKey, bulkDeleteCustomDiscountsFromCartMutation, bulkDeleteTaxItemsFromCartMutation, bulkUpdateItemsInCartMutation, cancelATransactionMutation, cancelATransactionOptions, cancelATransactionQueryKey, captureATransactionMutation, captureATransactionOptions, captureATransactionQueryKey, checkoutApiMutation, checkoutApiOptions, checkoutApiQueryKey, configureByContextProductMutation, configureByContextProductOptions, configureByContextProductQueryKey, confirmPaymentMutation, confirmPaymentOptions, confirmPaymentQueryKey, createACartMutation, createACartOptions, createACartQueryKey, createAccountCartAssociationMutation, createAccountCartAssociationOptions, createAccountCartAssociationQueryKey, createAnAccessTokenMutation, createAnAccessTokenOptions, createAnAccessTokenQueryKey, createCartPaymentIntentMutation, createCartPaymentIntentOptions, createCartPaymentIntentQueryKey, createCatalogMutation, createCatalogOptions, createCatalogQueryKey, createCustomerCartAssociationMutation, createCustomerCartAssociationOptions, createCustomerCartAssociationQueryKey, createOneTimePasswordTokenRequestMutation, createOneTimePasswordTokenRequestOptions, createOneTimePasswordTokenRequestQueryKey, createRuleMutation, createRuleOptions, createRuleQueryKey, deleteACartItemMutation, deleteACartMutation, deleteAPromotionViaPromotionCodeMutation, deleteATaxItemMutation, deleteAccountCartAssociationMutation, deleteAllCartItemsMutation, deleteCatalogByIdMutation, deleteCustomDiscountFromCartItemMutation, deleteCustomDiscountFromCartMutation, deleteCustomerCartAssociationMutation, deleteReleaseByIdMutation, deleteReleasesMutation, deleteRuleByIdMutation, deleteV2AccountAddressMutation, getACurrencyOptions, getACurrencyQueryKey, getAFileOptions, getAFileQueryKey, getATransactionOptions, getATransactionQueryKey, getAllCurrenciesOptions, getAllCurrenciesQueryKey, getAllFilesOptions, getAllFilesQueryKey, getAllHierarchiesOptions, getAllHierarchiesQueryKey, getAllNodesOptions, getAllNodesQueryKey, getAllProductsOptions, getAllProductsQueryKey, getAnOrderOptions, getAnOrderQueryKey, getByContextAllHierarchiesOptions, getByContextAllHierarchiesQueryKey, getByContextAllNodesOptions, getByContextAllNodesQueryKey, getByContextAllProductsOptions, getByContextAllProductsQueryKey, getByContextChildNodesOptions, getByContextChildNodesQueryKey, getByContextChildProductsOptions, getByContextChildProductsQueryKey, getByContextComponentProductIdsOptions, getByContextComponentProductIdsQueryKey, getByContextHierarchyChildNodesOptions, getByContextHierarchyChildNodesQueryKey, getByContextHierarchyNodesOptions, getByContextHierarchyNodesQueryKey, getByContextHierarchyOptions, getByContextHierarchyQueryKey, getByContextNodeOptions, getByContextNodeQueryKey, getByContextProductOptions, getByContextProductQueryKey, getByContextProductsForHierarchyOptions, getByContextProductsForHierarchyQueryKey, getByContextProductsForNodeOptions, getByContextProductsForNodeQueryKey, getByContextReleaseOptions, getByContextReleaseQueryKey, getCartItemsOptions, getCartItemsQueryKey, getCartOptions, getCartQueryKey, getCartsOptions, getCartsQueryKey, getCatalogByIdOptions, getCatalogByIdQueryKey, getCatalogsOptions, getCatalogsQueryKey, getChildNodesOptions, getChildNodesQueryKey, getChildProductsOptions, getChildProductsQueryKey, getComponentProductIdsOptions, getComponentProductIdsQueryKey, getCustomerOrdersOptions, getCustomerOrdersQueryKey, getFeatureOptions, getFeatureQueryKey, getHierarchyChildNodesOptions, getHierarchyChildNodesQueryKey, getHierarchyNodesOptions, getHierarchyNodesQueryKey, getHierarchyOptions, getHierarchyQueryKey, getInvoiceOptions, getInvoiceQueryKey, getNodeOptions, getNodeQueryKey, getOfferingOptions, getOfferingQueryKey, getOrderItemsOptions, getOrderItemsQueryKey, getOrderTransactionsOptions, getOrderTransactionsQueryKey, getPlanOptions, getPlanQueryKey, getProductOptions, getProductQueryKey, getProductsForHierarchyOptions, getProductsForHierarchyQueryKey, getProductsForNodeOptions, getProductsForNodeQueryKey, getReleaseByIdOptions, getReleaseByIdQueryKey, getReleasesOptions, getReleasesQueryKey, getRuleByIdOptions, getRuleByIdQueryKey, getRulesOptions, getRulesQueryKey, getStockOptions, getStockQueryKey, getSubscriptionInvoiceOptions, getSubscriptionInvoicePaymentOptions, getSubscriptionInvoicePaymentQueryKey, getSubscriptionInvoiceQueryKey, getSubscriptionOptions, getSubscriptionProductOptions, getSubscriptionProductQueryKey, getSubscriptionQueryKey, getSubscriptionStateOptions, getSubscriptionStateQueryKey, getV2AccountAddressOptions, getV2AccountAddressQueryKey, getV2AccountAddressesOptions, getV2AccountAddressesQueryKey, getV2AccountMembersAccountMemberIdOptions, getV2AccountMembersAccountMemberIdQueryKey, getV2AccountMembersOptions, getV2AccountMembersQueryKey, getV2AccountsAccountIdAccountMembershipsOptions, getV2AccountsAccountIdAccountMembershipsQueryKey, getV2AccountsAccountIdOptions, getV2AccountsAccountIdQueryKey, getV2AccountsOptions, getV2AccountsQueryKey, listInvoicesOptions, listInvoicesQueryKey, listLocationsOptions, listLocationsQueryKey, listOfferingFeaturesOptions, listOfferingFeaturesQueryKey, listOfferingPlansOptions, listOfferingPlansQueryKey, listOfferingProductsOptions, listOfferingProductsQueryKey, listOfferingsOptions, listOfferingsQueryKey, listSubscriptionInvoicePaymentsOptions, listSubscriptionInvoicePaymentsQueryKey, listSubscriptionInvoicesOptions, listSubscriptionInvoicesQueryKey, listSubscriptionPlansOptions, listSubscriptionPlansQueryKey, listSubscriptionProductsOptions, listSubscriptionProductsQueryKey, listSubscriptionStatesOptions, listSubscriptionStatesQueryKey, listSubscriptionsOptions, listSubscriptionsQueryKey, manageCartsMutation, manageCartsOptions, manageCartsQueryKey, paymentSetupMutation, paymentSetupOptions, paymentSetupQueryKey, postV2AccountAddressMutation, postV2AccountAddressOptions, postV2AccountAddressQueryKey, postV2AccountMembersTokensMutation, postV2AccountMembersTokensOptions, postV2AccountMembersTokensQueryKey, postV2AccountsMutation, postV2AccountsOptions, postV2AccountsQueryKey, publishReleaseMutation, publishReleaseOptions, publishReleaseQueryKey, putV2AccountAddressMutation, putV2AccountsAccountIdMutation, refundATransactionMutation, refundATransactionOptions, refundATransactionQueryKey, updateACartItemMutation, updateACartMutation, updateATaxItemMutation, updateAnOrderMutation, updateCatalogMutation, updateCustomDiscountForCartItemMutation, updateCustomDiscountForCartMutation, updatePasswordProfileInfoMutation, updateRuleMutation };
|
|
2919
|
+
export { addCustomDiscountToCartItemMutation, addCustomDiscountToCartItemOptions, addCustomDiscountToCartItemQueryKey, addTaxItemToCartMutation, addTaxItemToCartOptions, addTaxItemToCartQueryKey, anonymizeOrdersMutation, anonymizeOrdersOptions, anonymizeOrdersQueryKey, bulkAddCustomDiscountsToCartMutation, bulkAddCustomDiscountsToCartOptions, bulkAddCustomDiscountsToCartQueryKey, bulkAddTaxItemsToCartMutation, bulkAddTaxItemsToCartOptions, bulkAddTaxItemsToCartQueryKey, bulkDeleteCustomDiscountsFromCartMutation, bulkDeleteTaxItemsFromCartMutation, bulkUpdateItemsInCartMutation, cancelATransactionMutation, cancelATransactionOptions, cancelATransactionQueryKey, captureATransactionMutation, captureATransactionOptions, captureATransactionQueryKey, checkoutApiMutation, checkoutApiOptions, checkoutApiQueryKey, configureByContextProductMutation, configureByContextProductOptions, configureByContextProductQueryKey, confirmPaymentMutation, confirmPaymentOptions, confirmPaymentQueryKey, createACartMutation, createACartOptions, createACartQueryKey, createAccountCartAssociationMutation, createAccountCartAssociationOptions, createAccountCartAssociationQueryKey, createAnAccessTokenMutation, createAnAccessTokenOptions, createAnAccessTokenQueryKey, createCartPaymentIntentMutation, createCartPaymentIntentOptions, createCartPaymentIntentQueryKey, createCatalogMutation, createCatalogOptions, createCatalogQueryKey, createCustomerCartAssociationMutation, createCustomerCartAssociationOptions, createCustomerCartAssociationQueryKey, createOneTimePasswordTokenRequestMutation, createOneTimePasswordTokenRequestOptions, createOneTimePasswordTokenRequestQueryKey, createRuleMutation, createRuleOptions, createRuleQueryKey, deleteACartItemMutation, deleteACartMutation, deleteAPromotionViaPromotionCodeMutation, deleteATaxItemMutation, deleteAccountCartAssociationMutation, deleteAllCartItemsMutation, deleteCatalogByIdMutation, deleteCustomDiscountFromCartItemMutation, deleteCustomDiscountFromCartMutation, deleteCustomerCartAssociationMutation, deleteReleaseByIdMutation, deleteReleasesMutation, deleteRuleByIdMutation, deleteV2AccountAddressMutation, getACurrencyOptions, getACurrencyQueryKey, getAFileOptions, getAFileQueryKey, getATransactionOptions, getATransactionQueryKey, getAllCurrenciesOptions, getAllCurrenciesQueryKey, getAllFilesOptions, getAllFilesQueryKey, getAllHierarchiesOptions, getAllHierarchiesQueryKey, getAllNodesOptions, getAllNodesQueryKey, getAllProductsOptions, getAllProductsQueryKey, getAllRelatedProductsOptions, getAllRelatedProductsQueryKey, getAnOrderOptions, getAnOrderQueryKey, getByContextAllHierarchiesOptions, getByContextAllHierarchiesQueryKey, getByContextAllNodesOptions, getByContextAllNodesQueryKey, getByContextAllProductsOptions, getByContextAllProductsQueryKey, getByContextAllRelatedProductsOptions, getByContextAllRelatedProductsQueryKey, getByContextChildNodesOptions, getByContextChildNodesQueryKey, getByContextChildProductsOptions, getByContextChildProductsQueryKey, getByContextComponentProductIdsOptions, getByContextComponentProductIdsQueryKey, getByContextHierarchyChildNodesOptions, getByContextHierarchyChildNodesQueryKey, getByContextHierarchyNodesOptions, getByContextHierarchyNodesQueryKey, getByContextHierarchyOptions, getByContextHierarchyQueryKey, getByContextNodeOptions, getByContextNodeQueryKey, getByContextProductOptions, getByContextProductQueryKey, getByContextProductsForHierarchyOptions, getByContextProductsForHierarchyQueryKey, getByContextProductsForNodeOptions, getByContextProductsForNodeQueryKey, getByContextReleaseOptions, getByContextReleaseQueryKey, getCartItemsOptions, getCartItemsQueryKey, getCartOptions, getCartQueryKey, getCartsOptions, getCartsQueryKey, getCatalogByIdOptions, getCatalogByIdQueryKey, getCatalogsOptions, getCatalogsQueryKey, getChildNodesOptions, getChildNodesQueryKey, getChildProductsOptions, getChildProductsQueryKey, getComponentProductIdsOptions, getComponentProductIdsQueryKey, getCustomerOrdersOptions, getCustomerOrdersQueryKey, getFeatureOptions, getFeatureQueryKey, getHierarchyChildNodesOptions, getHierarchyChildNodesQueryKey, getHierarchyNodesOptions, getHierarchyNodesQueryKey, getHierarchyOptions, getHierarchyQueryKey, getInvoiceOptions, getInvoiceQueryKey, getNodeOptions, getNodeQueryKey, getOfferingOptions, getOfferingQueryKey, getOrderItemsOptions, getOrderItemsQueryKey, getOrderTransactionsOptions, getOrderTransactionsQueryKey, getPlanOptions, getPlanQueryKey, getProductOptions, getProductQueryKey, getProductsForHierarchyOptions, getProductsForHierarchyQueryKey, getProductsForNodeOptions, getProductsForNodeQueryKey, getReleaseByIdOptions, getReleaseByIdQueryKey, getReleasesOptions, getReleasesQueryKey, getRuleByIdOptions, getRuleByIdQueryKey, getRulesOptions, getRulesQueryKey, getStockOptions, getStockQueryKey, getSubscriptionInvoiceOptions, getSubscriptionInvoicePaymentOptions, getSubscriptionInvoicePaymentQueryKey, getSubscriptionInvoiceQueryKey, getSubscriptionOptions, getSubscriptionProductOptions, getSubscriptionProductQueryKey, getSubscriptionQueryKey, getSubscriptionStateOptions, getSubscriptionStateQueryKey, getV2AccountAddressOptions, getV2AccountAddressQueryKey, getV2AccountAddressesOptions, getV2AccountAddressesQueryKey, getV2AccountMembersAccountMemberIdOptions, getV2AccountMembersAccountMemberIdQueryKey, getV2AccountMembersOptions, getV2AccountMembersQueryKey, getV2AccountsAccountIdAccountMembershipsOptions, getV2AccountsAccountIdAccountMembershipsQueryKey, getV2AccountsAccountIdOptions, getV2AccountsAccountIdQueryKey, getV2AccountsOptions, getV2AccountsQueryKey, listInvoicesOptions, listInvoicesQueryKey, listLocationsOptions, listLocationsQueryKey, listOfferingFeaturesOptions, listOfferingFeaturesQueryKey, listOfferingPlansOptions, listOfferingPlansQueryKey, listOfferingProductsOptions, listOfferingProductsQueryKey, listOfferingsOptions, listOfferingsQueryKey, listSubscriptionInvoicePaymentsOptions, listSubscriptionInvoicePaymentsQueryKey, listSubscriptionInvoicesOptions, listSubscriptionInvoicesQueryKey, listSubscriptionPlansOptions, listSubscriptionPlansQueryKey, listSubscriptionProductsOptions, listSubscriptionProductsQueryKey, listSubscriptionStatesOptions, listSubscriptionStatesQueryKey, listSubscriptionsOptions, listSubscriptionsQueryKey, manageCartsMutation, manageCartsOptions, manageCartsQueryKey, paymentSetupMutation, paymentSetupOptions, paymentSetupQueryKey, postV2AccountAddressMutation, postV2AccountAddressOptions, postV2AccountAddressQueryKey, postV2AccountMembersTokensMutation, postV2AccountMembersTokensOptions, postV2AccountMembersTokensQueryKey, postV2AccountsMutation, postV2AccountsOptions, postV2AccountsQueryKey, publishReleaseMutation, publishReleaseOptions, publishReleaseQueryKey, putV2AccountAddressMutation, putV2AccountsAccountIdMutation, refundATransactionMutation, refundATransactionOptions, refundATransactionQueryKey, updateACartItemMutation, updateACartMutation, updateATaxItemMutation, updateAnOrderMutation, updateCatalogMutation, updateCustomDiscountForCartItemMutation, updateCustomDiscountForCartMutation, updatePasswordProfileInfoMutation, updateRuleMutation };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
3
|
-
import { GetByContextReleaseData, ReleaseData, GetByContextAllHierarchiesData, HierarchyListData, GetByContextHierarchyData, HierarchyData, GetByContextHierarchyNodesData, NodeListData, GetByContextHierarchyChildNodesData, GetByContextAllNodesData, GetByContextNodeData, NodeData, GetByContextChildNodesData, GetByContextAllProductsData, ProductListData, GetByContextProductData, ProductData, GetByContextComponentProductIdsData, ProductReferenceListData, GetByContextChildProductsData, GetByContextProductsForHierarchyData, GetByContextProductsForNodeData, ConfigureByContextProductData, ErrorResponse, GetCatalogsData, CatalogListData, CreateCatalogData, CatalogData, DeleteCatalogByIdData, GetCatalogByIdData, UpdateCatalogData, DeleteReleasesData, GetReleasesData, ReleaseListData, PublishReleaseData, DeleteReleaseByIdData, GetReleaseByIdData, GetRulesData, RuleListData, CreateRuleData, RuleData, DeleteRuleByIdData, GetRuleByIdData, UpdateRuleData, GetAllHierarchiesData, GetHierarchyData, GetHierarchyNodesData, GetHierarchyChildNodesData, GetAllNodesData, GetNodeData, GetChildNodesData, GetAllProductsData, GetProductData, GetComponentProductIdsData, GetChildProductsData, GetProductsForHierarchyData, GetProductsForNodeData, GetCartsData, ResponseData, CartResponse, ResponsePageLinks, ResponseMetaCarts, CreateACartData, ResponseError, DeleteACartData, GetCartData, CartInclude, UpdateACartData, DeleteAllCartItemsData, GetCartItemsData, CartsResponse, ManageCartsData, BulkUpdateItemsInCartData, DeleteACartItemData, UpdateACartItemData, DeleteAccountCartAssociationData, CreateAccountCartAssociationData, CreateAccountCartAssociationResponse, DeleteCustomerCartAssociationData, CreateCustomerCartAssociationData, CartsRelationshipsCustomersData, DeleteAPromotionViaPromotionCodeData, AddTaxItemToCartData, CartsItemsTaxesObject, BulkDeleteTaxItemsFromCartData, BulkAddTaxItemsToCartData, CartsBulkTaxes, DeleteATaxItemData, UpdateATaxItemData, BulkDeleteCustomDiscountsFromCartData, BulkAddCustomDiscountsToCartData, CartsBulkCustomDiscountsResponse, DeleteCustomDiscountFromCartData, UpdateCustomDiscountForCartData, CartsCustomDiscountsResponse, AddCustomDiscountToCartItemData, DeleteCustomDiscountFromCartItemData, UpdateCustomDiscountForCartItemData, CreateCartPaymentIntentData, CheckoutApiData, OrderResponse, GetCustomerOrdersData, ResponseMetaOrders, OrderItemResponse, GetAnOrderData, UpdateAnOrderData, GetOrderItemsData, AnonymizeOrdersData, PaymentSetupData, TransactionResponse, ConfirmPaymentData, CaptureATransactionData, RefundATransactionData, GetOrderTransactionsData, GetATransactionData, CancelATransactionData, GetSubscriptionProductData, Product2, GetPlanData, Plan, ListOfferingsData, Offering, OfferingIncludes, Links2, GetOfferingData, ListOfferingPlansData, OfferingPlan, ListOfferingFeaturesData, OfferingFeature, ListOfferingProductsData, OfferingProduct, ListSubscriptionsData, Subscription, SubscriptionIncludes, GetSubscriptionData, ListSubscriptionProductsData, ListSubscriptionPlansData, ListSubscriptionStatesData, SubscriptionState, GetSubscriptionStateData, ListSubscriptionInvoicesData, SubscriptionInvoice, ListSubscriptionInvoicePaymentsData, SubscriptionInvoicePayment, GetSubscriptionInvoicePaymentData, GetSubscriptionInvoiceData, ListInvoicesData, GetInvoiceData, GetFeatureData, Feature, GetStockData, StockResponse, ListLocationsData, Location, CreateAnAccessTokenData, AccessTokenResponse, ErrorResponse2, GetV2AccountAddressesData, AccountAddressResponse, PostV2AccountAddressData, AccountAddressesErrorResponse, DeleteV2AccountAddressData, GetV2AccountAddressData, PutV2AccountAddressData, GetV2AccountsData, AccountResponse, MetaList, PostV2AccountsData, AccountManagementErrorResponse, GetV2AccountsAccountIdData, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, GetV2AccountMembersData, AccountMemberResponse, GetV2AccountMembersAccountMemberIdData, GetV2AccountsAccountIdAccountMembershipsData, AccountMembershipResponse, PostV2AccountMembersTokensData, AccountManagementAuthenticationTokenResponse, MetaAccountMemberId, CreateOneTimePasswordTokenRequestData, UpdatePasswordProfileInfoData, PasswordProfileInfoResponse, GetAllCurrenciesData, ResponseCurrency, GetACurrencyData, GetAllFilesData, File, ResultsMeta, ResultsLinks, GetAFileData } from '../types.gen.js';
|
|
3
|
+
import { GetByContextReleaseData, ReleaseData, GetByContextAllHierarchiesData, HierarchyListData, GetByContextHierarchyData, HierarchyData, GetByContextHierarchyNodesData, NodeListData, GetByContextHierarchyChildNodesData, GetByContextAllNodesData, GetByContextNodeData, NodeData, GetByContextChildNodesData, GetByContextAllProductsData, ProductListData, GetByContextProductData, ProductData, GetByContextAllRelatedProductsData, GetByContextComponentProductIdsData, ProductReferenceListData, GetByContextChildProductsData, GetByContextProductsForHierarchyData, GetByContextProductsForNodeData, ConfigureByContextProductData, ErrorResponse, GetCatalogsData, CatalogListData, CreateCatalogData, CatalogData, DeleteCatalogByIdData, GetCatalogByIdData, UpdateCatalogData, DeleteReleasesData, GetReleasesData, ReleaseListData, PublishReleaseData, DeleteReleaseByIdData, GetReleaseByIdData, GetRulesData, RuleListData, CreateRuleData, RuleData, DeleteRuleByIdData, GetRuleByIdData, UpdateRuleData, GetAllHierarchiesData, GetHierarchyData, GetHierarchyNodesData, GetHierarchyChildNodesData, GetAllNodesData, GetNodeData, GetChildNodesData, GetAllProductsData, GetProductData, GetAllRelatedProductsData, GetComponentProductIdsData, GetChildProductsData, GetProductsForHierarchyData, GetProductsForNodeData, GetCartsData, ResponseData, CartResponse, ResponsePageLinks, ResponseMetaCarts, CreateACartData, ResponseError, DeleteACartData, GetCartData, CartInclude, UpdateACartData, DeleteAllCartItemsData, GetCartItemsData, CartsResponse, ManageCartsData, BulkUpdateItemsInCartData, DeleteACartItemData, UpdateACartItemData, DeleteAccountCartAssociationData, CreateAccountCartAssociationData, CreateAccountCartAssociationResponse, DeleteCustomerCartAssociationData, CreateCustomerCartAssociationData, CartsRelationshipsCustomersData, DeleteAPromotionViaPromotionCodeData, AddTaxItemToCartData, CartsItemsTaxesObject, BulkDeleteTaxItemsFromCartData, BulkAddTaxItemsToCartData, CartsBulkTaxes, DeleteATaxItemData, UpdateATaxItemData, BulkDeleteCustomDiscountsFromCartData, BulkAddCustomDiscountsToCartData, CartsBulkCustomDiscountsResponse, DeleteCustomDiscountFromCartData, UpdateCustomDiscountForCartData, CartsCustomDiscountsResponse, AddCustomDiscountToCartItemData, DeleteCustomDiscountFromCartItemData, UpdateCustomDiscountForCartItemData, CreateCartPaymentIntentData, CheckoutApiData, OrderResponse, GetCustomerOrdersData, ResponseMetaOrders, OrderItemResponse, GetAnOrderData, UpdateAnOrderData, GetOrderItemsData, AnonymizeOrdersData, PaymentSetupData, TransactionResponse, ConfirmPaymentData, CaptureATransactionData, RefundATransactionData, GetOrderTransactionsData, GetATransactionData, CancelATransactionData, GetSubscriptionProductData, Product2, GetPlanData, Plan, ListOfferingsData, Offering, OfferingIncludes, Links2, GetOfferingData, ListOfferingPlansData, OfferingPlan, ListOfferingFeaturesData, OfferingFeature, ListOfferingProductsData, OfferingProduct, ListSubscriptionsData, Subscription, SubscriptionIncludes, GetSubscriptionData, ListSubscriptionProductsData, ListSubscriptionPlansData, ListSubscriptionStatesData, SubscriptionState, GetSubscriptionStateData, ListSubscriptionInvoicesData, SubscriptionInvoice, ListSubscriptionInvoicePaymentsData, SubscriptionInvoicePayment, GetSubscriptionInvoicePaymentData, GetSubscriptionInvoiceData, ListInvoicesData, GetInvoiceData, GetFeatureData, Feature, GetStockData, StockResponse, ListLocationsData, Location, CreateAnAccessTokenData, AccessTokenResponse, ErrorResponse2, GetV2AccountAddressesData, AccountAddressResponse, PostV2AccountAddressData, AccountAddressesErrorResponse, DeleteV2AccountAddressData, GetV2AccountAddressData, PutV2AccountAddressData, GetV2AccountsData, AccountResponse, MetaList, PostV2AccountsData, AccountManagementErrorResponse, GetV2AccountsAccountIdData, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, GetV2AccountMembersData, AccountMemberResponse, GetV2AccountMembersAccountMemberIdData, GetV2AccountsAccountIdAccountMembershipsData, AccountMembershipResponse, PostV2AccountMembersTokensData, AccountManagementAuthenticationTokenResponse, MetaAccountMemberId, CreateOneTimePasswordTokenRequestData, UpdatePasswordProfileInfoData, PasswordProfileInfoResponse, GetAllCurrenciesData, ResponseCurrency, GetACurrencyData, GetAllFilesData, File, ResultsMeta, ResultsLinks, GetAFileData } from '../types.gen.js';
|
|
4
4
|
import { Options } from '@hey-api/client-fetch';
|
|
5
5
|
|
|
6
6
|
declare const getByContextReleaseQueryKey: (options?: Options<GetByContextReleaseData>) => (Pick<Options<GetByContextReleaseData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
@@ -213,6 +213,27 @@ declare const getByContextProductOptions: (options: Options<GetByContextProductD
|
|
|
213
213
|
[dataTagErrorSymbol]: Error;
|
|
214
214
|
};
|
|
215
215
|
};
|
|
216
|
+
declare const getByContextAllRelatedProductsQueryKey: (options: Options<GetByContextAllRelatedProductsData>) => (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
217
|
+
_id: string;
|
|
218
|
+
_infinite?: boolean;
|
|
219
|
+
})[];
|
|
220
|
+
declare const getByContextAllRelatedProductsOptions: (options: Options<GetByContextAllRelatedProductsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProductListData, Error, ProductListData, (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
221
|
+
_id: string;
|
|
222
|
+
_infinite?: boolean;
|
|
223
|
+
})[]>, "queryFn"> & {
|
|
224
|
+
queryFn?: _tanstack_react_query.QueryFunction<ProductListData, (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
225
|
+
_id: string;
|
|
226
|
+
_infinite?: boolean;
|
|
227
|
+
})[], never> | undefined;
|
|
228
|
+
} & {
|
|
229
|
+
queryKey: (Pick<Options<GetByContextAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
230
|
+
_id: string;
|
|
231
|
+
_infinite?: boolean;
|
|
232
|
+
})[] & {
|
|
233
|
+
[dataTagSymbol]: ProductListData;
|
|
234
|
+
[dataTagErrorSymbol]: Error;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
216
237
|
declare const getByContextComponentProductIdsQueryKey: (options: Options<GetByContextComponentProductIdsData>) => (Pick<Options<GetByContextComponentProductIdsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
217
238
|
_id: string;
|
|
218
239
|
_infinite?: boolean;
|
|
@@ -706,6 +727,27 @@ declare const getProductOptions: (options: Options<GetProductData>) => _tanstack
|
|
|
706
727
|
[dataTagErrorSymbol]: Error;
|
|
707
728
|
};
|
|
708
729
|
};
|
|
730
|
+
declare const getAllRelatedProductsQueryKey: (options: Options<GetAllRelatedProductsData>) => (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
731
|
+
_id: string;
|
|
732
|
+
_infinite?: boolean;
|
|
733
|
+
})[];
|
|
734
|
+
declare const getAllRelatedProductsOptions: (options: Options<GetAllRelatedProductsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProductListData, Error, ProductListData, (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
735
|
+
_id: string;
|
|
736
|
+
_infinite?: boolean;
|
|
737
|
+
})[]>, "queryFn"> & {
|
|
738
|
+
queryFn?: _tanstack_react_query.QueryFunction<ProductListData, (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
739
|
+
_id: string;
|
|
740
|
+
_infinite?: boolean;
|
|
741
|
+
})[], never> | undefined;
|
|
742
|
+
} & {
|
|
743
|
+
queryKey: (Pick<Options<GetAllRelatedProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
744
|
+
_id: string;
|
|
745
|
+
_infinite?: boolean;
|
|
746
|
+
})[] & {
|
|
747
|
+
[dataTagSymbol]: ProductListData;
|
|
748
|
+
[dataTagErrorSymbol]: Error;
|
|
749
|
+
};
|
|
750
|
+
};
|
|
709
751
|
declare const getComponentProductIdsQueryKey: (options: Options<GetComponentProductIdsData>) => (Pick<Options<GetComponentProductIdsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
710
752
|
_id: string;
|
|
711
753
|
_infinite?: boolean;
|
|
@@ -2874,4 +2916,4 @@ declare const getAFileOptions: (options: Options<GetAFileData>) => _tanstack_rea
|
|
|
2874
2916
|
};
|
|
2875
2917
|
};
|
|
2876
2918
|
|
|
2877
|
-
export { addCustomDiscountToCartItemMutation, addCustomDiscountToCartItemOptions, addCustomDiscountToCartItemQueryKey, addTaxItemToCartMutation, addTaxItemToCartOptions, addTaxItemToCartQueryKey, anonymizeOrdersMutation, anonymizeOrdersOptions, anonymizeOrdersQueryKey, bulkAddCustomDiscountsToCartMutation, bulkAddCustomDiscountsToCartOptions, bulkAddCustomDiscountsToCartQueryKey, bulkAddTaxItemsToCartMutation, bulkAddTaxItemsToCartOptions, bulkAddTaxItemsToCartQueryKey, bulkDeleteCustomDiscountsFromCartMutation, bulkDeleteTaxItemsFromCartMutation, bulkUpdateItemsInCartMutation, cancelATransactionMutation, cancelATransactionOptions, cancelATransactionQueryKey, captureATransactionMutation, captureATransactionOptions, captureATransactionQueryKey, checkoutApiMutation, checkoutApiOptions, checkoutApiQueryKey, configureByContextProductMutation, configureByContextProductOptions, configureByContextProductQueryKey, confirmPaymentMutation, confirmPaymentOptions, confirmPaymentQueryKey, createACartMutation, createACartOptions, createACartQueryKey, createAccountCartAssociationMutation, createAccountCartAssociationOptions, createAccountCartAssociationQueryKey, createAnAccessTokenMutation, createAnAccessTokenOptions, createAnAccessTokenQueryKey, createCartPaymentIntentMutation, createCartPaymentIntentOptions, createCartPaymentIntentQueryKey, createCatalogMutation, createCatalogOptions, createCatalogQueryKey, createCustomerCartAssociationMutation, createCustomerCartAssociationOptions, createCustomerCartAssociationQueryKey, createOneTimePasswordTokenRequestMutation, createOneTimePasswordTokenRequestOptions, createOneTimePasswordTokenRequestQueryKey, createRuleMutation, createRuleOptions, createRuleQueryKey, deleteACartItemMutation, deleteACartMutation, deleteAPromotionViaPromotionCodeMutation, deleteATaxItemMutation, deleteAccountCartAssociationMutation, deleteAllCartItemsMutation, deleteCatalogByIdMutation, deleteCustomDiscountFromCartItemMutation, deleteCustomDiscountFromCartMutation, deleteCustomerCartAssociationMutation, deleteReleaseByIdMutation, deleteReleasesMutation, deleteRuleByIdMutation, deleteV2AccountAddressMutation, getACurrencyOptions, getACurrencyQueryKey, getAFileOptions, getAFileQueryKey, getATransactionOptions, getATransactionQueryKey, getAllCurrenciesOptions, getAllCurrenciesQueryKey, getAllFilesOptions, getAllFilesQueryKey, getAllHierarchiesOptions, getAllHierarchiesQueryKey, getAllNodesOptions, getAllNodesQueryKey, getAllProductsOptions, getAllProductsQueryKey, getAnOrderOptions, getAnOrderQueryKey, getByContextAllHierarchiesOptions, getByContextAllHierarchiesQueryKey, getByContextAllNodesOptions, getByContextAllNodesQueryKey, getByContextAllProductsOptions, getByContextAllProductsQueryKey, getByContextChildNodesOptions, getByContextChildNodesQueryKey, getByContextChildProductsOptions, getByContextChildProductsQueryKey, getByContextComponentProductIdsOptions, getByContextComponentProductIdsQueryKey, getByContextHierarchyChildNodesOptions, getByContextHierarchyChildNodesQueryKey, getByContextHierarchyNodesOptions, getByContextHierarchyNodesQueryKey, getByContextHierarchyOptions, getByContextHierarchyQueryKey, getByContextNodeOptions, getByContextNodeQueryKey, getByContextProductOptions, getByContextProductQueryKey, getByContextProductsForHierarchyOptions, getByContextProductsForHierarchyQueryKey, getByContextProductsForNodeOptions, getByContextProductsForNodeQueryKey, getByContextReleaseOptions, getByContextReleaseQueryKey, getCartItemsOptions, getCartItemsQueryKey, getCartOptions, getCartQueryKey, getCartsOptions, getCartsQueryKey, getCatalogByIdOptions, getCatalogByIdQueryKey, getCatalogsOptions, getCatalogsQueryKey, getChildNodesOptions, getChildNodesQueryKey, getChildProductsOptions, getChildProductsQueryKey, getComponentProductIdsOptions, getComponentProductIdsQueryKey, getCustomerOrdersOptions, getCustomerOrdersQueryKey, getFeatureOptions, getFeatureQueryKey, getHierarchyChildNodesOptions, getHierarchyChildNodesQueryKey, getHierarchyNodesOptions, getHierarchyNodesQueryKey, getHierarchyOptions, getHierarchyQueryKey, getInvoiceOptions, getInvoiceQueryKey, getNodeOptions, getNodeQueryKey, getOfferingOptions, getOfferingQueryKey, getOrderItemsOptions, getOrderItemsQueryKey, getOrderTransactionsOptions, getOrderTransactionsQueryKey, getPlanOptions, getPlanQueryKey, getProductOptions, getProductQueryKey, getProductsForHierarchyOptions, getProductsForHierarchyQueryKey, getProductsForNodeOptions, getProductsForNodeQueryKey, getReleaseByIdOptions, getReleaseByIdQueryKey, getReleasesOptions, getReleasesQueryKey, getRuleByIdOptions, getRuleByIdQueryKey, getRulesOptions, getRulesQueryKey, getStockOptions, getStockQueryKey, getSubscriptionInvoiceOptions, getSubscriptionInvoicePaymentOptions, getSubscriptionInvoicePaymentQueryKey, getSubscriptionInvoiceQueryKey, getSubscriptionOptions, getSubscriptionProductOptions, getSubscriptionProductQueryKey, getSubscriptionQueryKey, getSubscriptionStateOptions, getSubscriptionStateQueryKey, getV2AccountAddressOptions, getV2AccountAddressQueryKey, getV2AccountAddressesOptions, getV2AccountAddressesQueryKey, getV2AccountMembersAccountMemberIdOptions, getV2AccountMembersAccountMemberIdQueryKey, getV2AccountMembersOptions, getV2AccountMembersQueryKey, getV2AccountsAccountIdAccountMembershipsOptions, getV2AccountsAccountIdAccountMembershipsQueryKey, getV2AccountsAccountIdOptions, getV2AccountsAccountIdQueryKey, getV2AccountsOptions, getV2AccountsQueryKey, listInvoicesOptions, listInvoicesQueryKey, listLocationsOptions, listLocationsQueryKey, listOfferingFeaturesOptions, listOfferingFeaturesQueryKey, listOfferingPlansOptions, listOfferingPlansQueryKey, listOfferingProductsOptions, listOfferingProductsQueryKey, listOfferingsOptions, listOfferingsQueryKey, listSubscriptionInvoicePaymentsOptions, listSubscriptionInvoicePaymentsQueryKey, listSubscriptionInvoicesOptions, listSubscriptionInvoicesQueryKey, listSubscriptionPlansOptions, listSubscriptionPlansQueryKey, listSubscriptionProductsOptions, listSubscriptionProductsQueryKey, listSubscriptionStatesOptions, listSubscriptionStatesQueryKey, listSubscriptionsOptions, listSubscriptionsQueryKey, manageCartsMutation, manageCartsOptions, manageCartsQueryKey, paymentSetupMutation, paymentSetupOptions, paymentSetupQueryKey, postV2AccountAddressMutation, postV2AccountAddressOptions, postV2AccountAddressQueryKey, postV2AccountMembersTokensMutation, postV2AccountMembersTokensOptions, postV2AccountMembersTokensQueryKey, postV2AccountsMutation, postV2AccountsOptions, postV2AccountsQueryKey, publishReleaseMutation, publishReleaseOptions, publishReleaseQueryKey, putV2AccountAddressMutation, putV2AccountsAccountIdMutation, refundATransactionMutation, refundATransactionOptions, refundATransactionQueryKey, updateACartItemMutation, updateACartMutation, updateATaxItemMutation, updateAnOrderMutation, updateCatalogMutation, updateCustomDiscountForCartItemMutation, updateCustomDiscountForCartMutation, updatePasswordProfileInfoMutation, updateRuleMutation };
|
|
2919
|
+
export { addCustomDiscountToCartItemMutation, addCustomDiscountToCartItemOptions, addCustomDiscountToCartItemQueryKey, addTaxItemToCartMutation, addTaxItemToCartOptions, addTaxItemToCartQueryKey, anonymizeOrdersMutation, anonymizeOrdersOptions, anonymizeOrdersQueryKey, bulkAddCustomDiscountsToCartMutation, bulkAddCustomDiscountsToCartOptions, bulkAddCustomDiscountsToCartQueryKey, bulkAddTaxItemsToCartMutation, bulkAddTaxItemsToCartOptions, bulkAddTaxItemsToCartQueryKey, bulkDeleteCustomDiscountsFromCartMutation, bulkDeleteTaxItemsFromCartMutation, bulkUpdateItemsInCartMutation, cancelATransactionMutation, cancelATransactionOptions, cancelATransactionQueryKey, captureATransactionMutation, captureATransactionOptions, captureATransactionQueryKey, checkoutApiMutation, checkoutApiOptions, checkoutApiQueryKey, configureByContextProductMutation, configureByContextProductOptions, configureByContextProductQueryKey, confirmPaymentMutation, confirmPaymentOptions, confirmPaymentQueryKey, createACartMutation, createACartOptions, createACartQueryKey, createAccountCartAssociationMutation, createAccountCartAssociationOptions, createAccountCartAssociationQueryKey, createAnAccessTokenMutation, createAnAccessTokenOptions, createAnAccessTokenQueryKey, createCartPaymentIntentMutation, createCartPaymentIntentOptions, createCartPaymentIntentQueryKey, createCatalogMutation, createCatalogOptions, createCatalogQueryKey, createCustomerCartAssociationMutation, createCustomerCartAssociationOptions, createCustomerCartAssociationQueryKey, createOneTimePasswordTokenRequestMutation, createOneTimePasswordTokenRequestOptions, createOneTimePasswordTokenRequestQueryKey, createRuleMutation, createRuleOptions, createRuleQueryKey, deleteACartItemMutation, deleteACartMutation, deleteAPromotionViaPromotionCodeMutation, deleteATaxItemMutation, deleteAccountCartAssociationMutation, deleteAllCartItemsMutation, deleteCatalogByIdMutation, deleteCustomDiscountFromCartItemMutation, deleteCustomDiscountFromCartMutation, deleteCustomerCartAssociationMutation, deleteReleaseByIdMutation, deleteReleasesMutation, deleteRuleByIdMutation, deleteV2AccountAddressMutation, getACurrencyOptions, getACurrencyQueryKey, getAFileOptions, getAFileQueryKey, getATransactionOptions, getATransactionQueryKey, getAllCurrenciesOptions, getAllCurrenciesQueryKey, getAllFilesOptions, getAllFilesQueryKey, getAllHierarchiesOptions, getAllHierarchiesQueryKey, getAllNodesOptions, getAllNodesQueryKey, getAllProductsOptions, getAllProductsQueryKey, getAllRelatedProductsOptions, getAllRelatedProductsQueryKey, getAnOrderOptions, getAnOrderQueryKey, getByContextAllHierarchiesOptions, getByContextAllHierarchiesQueryKey, getByContextAllNodesOptions, getByContextAllNodesQueryKey, getByContextAllProductsOptions, getByContextAllProductsQueryKey, getByContextAllRelatedProductsOptions, getByContextAllRelatedProductsQueryKey, getByContextChildNodesOptions, getByContextChildNodesQueryKey, getByContextChildProductsOptions, getByContextChildProductsQueryKey, getByContextComponentProductIdsOptions, getByContextComponentProductIdsQueryKey, getByContextHierarchyChildNodesOptions, getByContextHierarchyChildNodesQueryKey, getByContextHierarchyNodesOptions, getByContextHierarchyNodesQueryKey, getByContextHierarchyOptions, getByContextHierarchyQueryKey, getByContextNodeOptions, getByContextNodeQueryKey, getByContextProductOptions, getByContextProductQueryKey, getByContextProductsForHierarchyOptions, getByContextProductsForHierarchyQueryKey, getByContextProductsForNodeOptions, getByContextProductsForNodeQueryKey, getByContextReleaseOptions, getByContextReleaseQueryKey, getCartItemsOptions, getCartItemsQueryKey, getCartOptions, getCartQueryKey, getCartsOptions, getCartsQueryKey, getCatalogByIdOptions, getCatalogByIdQueryKey, getCatalogsOptions, getCatalogsQueryKey, getChildNodesOptions, getChildNodesQueryKey, getChildProductsOptions, getChildProductsQueryKey, getComponentProductIdsOptions, getComponentProductIdsQueryKey, getCustomerOrdersOptions, getCustomerOrdersQueryKey, getFeatureOptions, getFeatureQueryKey, getHierarchyChildNodesOptions, getHierarchyChildNodesQueryKey, getHierarchyNodesOptions, getHierarchyNodesQueryKey, getHierarchyOptions, getHierarchyQueryKey, getInvoiceOptions, getInvoiceQueryKey, getNodeOptions, getNodeQueryKey, getOfferingOptions, getOfferingQueryKey, getOrderItemsOptions, getOrderItemsQueryKey, getOrderTransactionsOptions, getOrderTransactionsQueryKey, getPlanOptions, getPlanQueryKey, getProductOptions, getProductQueryKey, getProductsForHierarchyOptions, getProductsForHierarchyQueryKey, getProductsForNodeOptions, getProductsForNodeQueryKey, getReleaseByIdOptions, getReleaseByIdQueryKey, getReleasesOptions, getReleasesQueryKey, getRuleByIdOptions, getRuleByIdQueryKey, getRulesOptions, getRulesQueryKey, getStockOptions, getStockQueryKey, getSubscriptionInvoiceOptions, getSubscriptionInvoicePaymentOptions, getSubscriptionInvoicePaymentQueryKey, getSubscriptionInvoiceQueryKey, getSubscriptionOptions, getSubscriptionProductOptions, getSubscriptionProductQueryKey, getSubscriptionQueryKey, getSubscriptionStateOptions, getSubscriptionStateQueryKey, getV2AccountAddressOptions, getV2AccountAddressQueryKey, getV2AccountAddressesOptions, getV2AccountAddressesQueryKey, getV2AccountMembersAccountMemberIdOptions, getV2AccountMembersAccountMemberIdQueryKey, getV2AccountMembersOptions, getV2AccountMembersQueryKey, getV2AccountsAccountIdAccountMembershipsOptions, getV2AccountsAccountIdAccountMembershipsQueryKey, getV2AccountsAccountIdOptions, getV2AccountsAccountIdQueryKey, getV2AccountsOptions, getV2AccountsQueryKey, listInvoicesOptions, listInvoicesQueryKey, listLocationsOptions, listLocationsQueryKey, listOfferingFeaturesOptions, listOfferingFeaturesQueryKey, listOfferingPlansOptions, listOfferingPlansQueryKey, listOfferingProductsOptions, listOfferingProductsQueryKey, listOfferingsOptions, listOfferingsQueryKey, listSubscriptionInvoicePaymentsOptions, listSubscriptionInvoicePaymentsQueryKey, listSubscriptionInvoicesOptions, listSubscriptionInvoicesQueryKey, listSubscriptionPlansOptions, listSubscriptionPlansQueryKey, listSubscriptionProductsOptions, listSubscriptionProductsQueryKey, listSubscriptionStatesOptions, listSubscriptionStatesQueryKey, listSubscriptionsOptions, listSubscriptionsQueryKey, manageCartsMutation, manageCartsOptions, manageCartsQueryKey, paymentSetupMutation, paymentSetupOptions, paymentSetupQueryKey, postV2AccountAddressMutation, postV2AccountAddressOptions, postV2AccountAddressQueryKey, postV2AccountMembersTokensMutation, postV2AccountMembersTokensOptions, postV2AccountMembersTokensQueryKey, postV2AccountsMutation, postV2AccountsOptions, postV2AccountsQueryKey, publishReleaseMutation, publishReleaseOptions, publishReleaseQueryKey, putV2AccountAddressMutation, putV2AccountsAccountIdMutation, refundATransactionMutation, refundATransactionOptions, refundATransactionQueryKey, updateACartItemMutation, updateACartMutation, updateATaxItemMutation, updateAnOrderMutation, updateCatalogMutation, updateCustomDiscountForCartItemMutation, updateCustomDiscountForCartMutation, updatePasswordProfileInfoMutation, updateRuleMutation };
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
getByContextChildNodes,
|
|
13
13
|
getByContextAllProducts,
|
|
14
14
|
getByContextProduct,
|
|
15
|
+
getByContextAllRelatedProducts,
|
|
15
16
|
getByContextComponentProductIds,
|
|
16
17
|
getByContextChildProducts,
|
|
17
18
|
getByContextProductsForHierarchy,
|
|
@@ -41,6 +42,7 @@ import {
|
|
|
41
42
|
getChildNodes,
|
|
42
43
|
getAllProducts,
|
|
43
44
|
getProduct,
|
|
45
|
+
getAllRelatedProducts,
|
|
44
46
|
getComponentProductIds,
|
|
45
47
|
getChildProducts,
|
|
46
48
|
getProductsForHierarchy,
|
|
@@ -303,6 +305,21 @@ const getByContextProductOptions = (options) => {
|
|
|
303
305
|
queryKey: getByContextProductQueryKey(options)
|
|
304
306
|
});
|
|
305
307
|
};
|
|
308
|
+
const getByContextAllRelatedProductsQueryKey = (options) => [createQueryKey("getByContextAllRelatedProducts", options)];
|
|
309
|
+
const getByContextAllRelatedProductsOptions = (options) => {
|
|
310
|
+
return queryOptions({
|
|
311
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
312
|
+
const { data } = await getByContextAllRelatedProducts({
|
|
313
|
+
...options,
|
|
314
|
+
...queryKey[0],
|
|
315
|
+
signal,
|
|
316
|
+
throwOnError: true
|
|
317
|
+
});
|
|
318
|
+
return data;
|
|
319
|
+
},
|
|
320
|
+
queryKey: getByContextAllRelatedProductsQueryKey(options)
|
|
321
|
+
});
|
|
322
|
+
};
|
|
306
323
|
const getByContextComponentProductIdsQueryKey = (options) => [createQueryKey("getByContextComponentProductIds", options)];
|
|
307
324
|
const getByContextComponentProductIdsOptions = (options) => {
|
|
308
325
|
return queryOptions({
|
|
@@ -800,6 +817,21 @@ const getProductOptions = (options) => {
|
|
|
800
817
|
queryKey: getProductQueryKey(options)
|
|
801
818
|
});
|
|
802
819
|
};
|
|
820
|
+
const getAllRelatedProductsQueryKey = (options) => [createQueryKey("getAllRelatedProducts", options)];
|
|
821
|
+
const getAllRelatedProductsOptions = (options) => {
|
|
822
|
+
return queryOptions({
|
|
823
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
824
|
+
const { data } = await getAllRelatedProducts({
|
|
825
|
+
...options,
|
|
826
|
+
...queryKey[0],
|
|
827
|
+
signal,
|
|
828
|
+
throwOnError: true
|
|
829
|
+
});
|
|
830
|
+
return data;
|
|
831
|
+
},
|
|
832
|
+
queryKey: getAllRelatedProductsQueryKey(options)
|
|
833
|
+
});
|
|
834
|
+
};
|
|
803
835
|
const getComponentProductIdsQueryKey = (options) => [createQueryKey("getComponentProductIds", options)];
|
|
804
836
|
const getComponentProductIdsOptions = (options) => {
|
|
805
837
|
return queryOptions({
|
|
@@ -2479,6 +2511,8 @@ export {
|
|
|
2479
2511
|
getAllNodesQueryKey,
|
|
2480
2512
|
getAllProductsOptions,
|
|
2481
2513
|
getAllProductsQueryKey,
|
|
2514
|
+
getAllRelatedProductsOptions,
|
|
2515
|
+
getAllRelatedProductsQueryKey,
|
|
2482
2516
|
getAnOrderOptions,
|
|
2483
2517
|
getAnOrderQueryKey,
|
|
2484
2518
|
getByContextAllHierarchiesOptions,
|
|
@@ -2487,6 +2521,8 @@ export {
|
|
|
2487
2521
|
getByContextAllNodesQueryKey,
|
|
2488
2522
|
getByContextAllProductsOptions,
|
|
2489
2523
|
getByContextAllProductsQueryKey,
|
|
2524
|
+
getByContextAllRelatedProductsOptions,
|
|
2525
|
+
getByContextAllRelatedProductsQueryKey,
|
|
2490
2526
|
getByContextChildNodesOptions,
|
|
2491
2527
|
getByContextChildNodesQueryKey,
|
|
2492
2528
|
getByContextChildProductsOptions,
|