@epcc-sdk/sdks-shopper 0.0.31 → 0.0.33
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 +32 -10
- package/dist/client/@tanstack/react-query.gen.cjs +43 -64
- package/dist/client/@tanstack/react-query.gen.cjs.map +1 -1
- package/dist/client/@tanstack/react-query.gen.d.cts +67 -96
- package/dist/client/@tanstack/react-query.gen.d.ts +67 -96
- package/dist/client/@tanstack/react-query.gen.mjs +41 -61
- 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 +44 -34
- package/dist/client/sdk.gen.cjs.map +1 -1
- package/dist/client/sdk.gen.d.cts +26 -32
- package/dist/client/sdk.gen.d.ts +26 -32
- package/dist/client/sdk.gen.mjs +41 -30
- package/dist/client/sdk.gen.mjs.map +1 -1
- package/dist/client/transformers.gen.cjs +3 -94
- package/dist/client/transformers.gen.cjs.map +1 -1
- package/dist/client/transformers.gen.d.cts +2 -9
- package/dist/client/transformers.gen.d.ts +2 -9
- package/dist/client/transformers.gen.mjs +3 -87
- 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 +252 -245
- package/dist/client/types.gen.d.ts +252 -245
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react-query.cjs +23 -0
- package/dist/react-query.cjs.map +1 -0
- package/dist/react-query.d.cts +4 -0
- package/dist/react-query.d.ts +4 -0
- package/dist/react-query.mjs +2 -0
- package/dist/react-query.mjs.map +1 -0
- package/package.json +11 -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, 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,
|
|
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, ListOfferingsData, Offering, OfferingIncludes, Links2, GetOfferingData, ListOfferingPricingOptionsData, OfferingPricingOption, ListOfferingFeaturesData, OfferingFeature, ListOfferingPlansData, OfferingPlan, ListOfferingPlanPricingOptionsData, RelationshipData, ListSubscriptionsData, Subscription, SubscriptionIncludes, GetSubscriptionData, ListSubscriptionPlansData, ListSubscriptionPricingOptionsData, 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"> & {
|
|
@@ -1588,64 +1588,6 @@ declare const cancelATransactionOptions: (options: Options<CancelATransactionDat
|
|
|
1588
1588
|
declare const cancelATransactionMutation: (options?: Partial<Options<CancelATransactionData>>) => UseMutationOptions<ResponseData & {
|
|
1589
1589
|
data?: TransactionResponse;
|
|
1590
1590
|
}, ResponseError, Options<CancelATransactionData>, unknown>;
|
|
1591
|
-
declare const getSubscriptionProductQueryKey: (options: Options<GetSubscriptionProductData>) => (Pick<Options<GetSubscriptionProductData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1592
|
-
_id: string;
|
|
1593
|
-
_infinite?: boolean;
|
|
1594
|
-
})[];
|
|
1595
|
-
declare const getSubscriptionProductOptions: (options: Options<GetSubscriptionProductData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1596
|
-
data?: Product2;
|
|
1597
|
-
}, Error, {
|
|
1598
|
-
data?: Product2;
|
|
1599
|
-
}, (Pick<Options<GetSubscriptionProductData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1600
|
-
_id: string;
|
|
1601
|
-
_infinite?: boolean;
|
|
1602
|
-
})[]>, "queryFn"> & {
|
|
1603
|
-
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1604
|
-
data?: Product2;
|
|
1605
|
-
}, (Pick<Options<GetSubscriptionProductData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1606
|
-
_id: string;
|
|
1607
|
-
_infinite?: boolean;
|
|
1608
|
-
})[], never> | undefined;
|
|
1609
|
-
} & {
|
|
1610
|
-
queryKey: (Pick<Options<GetSubscriptionProductData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1611
|
-
_id: string;
|
|
1612
|
-
_infinite?: boolean;
|
|
1613
|
-
})[] & {
|
|
1614
|
-
[dataTagSymbol]: {
|
|
1615
|
-
data?: Product2;
|
|
1616
|
-
};
|
|
1617
|
-
[dataTagErrorSymbol]: Error;
|
|
1618
|
-
};
|
|
1619
|
-
};
|
|
1620
|
-
declare const getPlanQueryKey: (options: Options<GetPlanData>) => (Pick<Options<GetPlanData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1621
|
-
_id: string;
|
|
1622
|
-
_infinite?: boolean;
|
|
1623
|
-
})[];
|
|
1624
|
-
declare const getPlanOptions: (options: Options<GetPlanData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1625
|
-
data?: Plan;
|
|
1626
|
-
}, Error, {
|
|
1627
|
-
data?: Plan;
|
|
1628
|
-
}, (Pick<Options<GetPlanData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1629
|
-
_id: string;
|
|
1630
|
-
_infinite?: boolean;
|
|
1631
|
-
})[]>, "queryFn"> & {
|
|
1632
|
-
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1633
|
-
data?: Plan;
|
|
1634
|
-
}, (Pick<Options<GetPlanData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1635
|
-
_id: string;
|
|
1636
|
-
_infinite?: boolean;
|
|
1637
|
-
})[], never> | undefined;
|
|
1638
|
-
} & {
|
|
1639
|
-
queryKey: (Pick<Options<GetPlanData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1640
|
-
_id: string;
|
|
1641
|
-
_infinite?: boolean;
|
|
1642
|
-
})[] & {
|
|
1643
|
-
[dataTagSymbol]: {
|
|
1644
|
-
data?: Plan;
|
|
1645
|
-
};
|
|
1646
|
-
[dataTagErrorSymbol]: Error;
|
|
1647
|
-
};
|
|
1648
|
-
};
|
|
1649
1591
|
declare const listOfferingsQueryKey: (options?: Options<ListOfferingsData>) => (Pick<Options<ListOfferingsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1650
1592
|
_id: string;
|
|
1651
1593
|
_infinite?: boolean;
|
|
@@ -1716,34 +1658,34 @@ declare const getOfferingOptions: (options: Options<GetOfferingData>) => _tansta
|
|
|
1716
1658
|
[dataTagErrorSymbol]: Error;
|
|
1717
1659
|
};
|
|
1718
1660
|
};
|
|
1719
|
-
declare const
|
|
1661
|
+
declare const listOfferingPricingOptionsQueryKey: (options: Options<ListOfferingPricingOptionsData>) => (Pick<Options<ListOfferingPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1720
1662
|
_id: string;
|
|
1721
1663
|
_infinite?: boolean;
|
|
1722
1664
|
})[];
|
|
1723
|
-
declare const
|
|
1724
|
-
data?: Array<
|
|
1665
|
+
declare const listOfferingPricingOptionsOptions: (options: Options<ListOfferingPricingOptionsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1666
|
+
data?: Array<OfferingPricingOption>;
|
|
1725
1667
|
links?: Links2;
|
|
1726
1668
|
}, Error, {
|
|
1727
|
-
data?: Array<
|
|
1669
|
+
data?: Array<OfferingPricingOption>;
|
|
1728
1670
|
links?: Links2;
|
|
1729
|
-
}, (Pick<Options<
|
|
1671
|
+
}, (Pick<Options<ListOfferingPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1730
1672
|
_id: string;
|
|
1731
1673
|
_infinite?: boolean;
|
|
1732
1674
|
})[]>, "queryFn"> & {
|
|
1733
1675
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1734
|
-
data?: Array<
|
|
1676
|
+
data?: Array<OfferingPricingOption>;
|
|
1735
1677
|
links?: Links2;
|
|
1736
|
-
}, (Pick<Options<
|
|
1678
|
+
}, (Pick<Options<ListOfferingPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1737
1679
|
_id: string;
|
|
1738
1680
|
_infinite?: boolean;
|
|
1739
1681
|
})[], never> | undefined;
|
|
1740
1682
|
} & {
|
|
1741
|
-
queryKey: (Pick<Options<
|
|
1683
|
+
queryKey: (Pick<Options<ListOfferingPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1742
1684
|
_id: string;
|
|
1743
1685
|
_infinite?: boolean;
|
|
1744
1686
|
})[] & {
|
|
1745
1687
|
[dataTagSymbol]: {
|
|
1746
|
-
data?: Array<
|
|
1688
|
+
data?: Array<OfferingPricingOption>;
|
|
1747
1689
|
links?: Links2;
|
|
1748
1690
|
};
|
|
1749
1691
|
[dataTagErrorSymbol]: Error;
|
|
@@ -1782,39 +1724,68 @@ declare const listOfferingFeaturesOptions: (options: Options<ListOfferingFeature
|
|
|
1782
1724
|
[dataTagErrorSymbol]: Error;
|
|
1783
1725
|
};
|
|
1784
1726
|
};
|
|
1785
|
-
declare const
|
|
1727
|
+
declare const listOfferingPlansQueryKey: (options: Options<ListOfferingPlansData>) => (Pick<Options<ListOfferingPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1786
1728
|
_id: string;
|
|
1787
1729
|
_infinite?: boolean;
|
|
1788
1730
|
})[];
|
|
1789
|
-
declare const
|
|
1790
|
-
data?: Array<
|
|
1731
|
+
declare const listOfferingPlansOptions: (options: Options<ListOfferingPlansData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1732
|
+
data?: Array<OfferingPlan>;
|
|
1791
1733
|
links?: Links2;
|
|
1792
1734
|
}, Error, {
|
|
1793
|
-
data?: Array<
|
|
1735
|
+
data?: Array<OfferingPlan>;
|
|
1794
1736
|
links?: Links2;
|
|
1795
|
-
}, (Pick<Options<
|
|
1737
|
+
}, (Pick<Options<ListOfferingPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1796
1738
|
_id: string;
|
|
1797
1739
|
_infinite?: boolean;
|
|
1798
1740
|
})[]>, "queryFn"> & {
|
|
1799
1741
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1800
|
-
data?: Array<
|
|
1742
|
+
data?: Array<OfferingPlan>;
|
|
1801
1743
|
links?: Links2;
|
|
1802
|
-
}, (Pick<Options<
|
|
1744
|
+
}, (Pick<Options<ListOfferingPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1803
1745
|
_id: string;
|
|
1804
1746
|
_infinite?: boolean;
|
|
1805
1747
|
})[], never> | undefined;
|
|
1806
1748
|
} & {
|
|
1807
|
-
queryKey: (Pick<Options<
|
|
1749
|
+
queryKey: (Pick<Options<ListOfferingPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1808
1750
|
_id: string;
|
|
1809
1751
|
_infinite?: boolean;
|
|
1810
1752
|
})[] & {
|
|
1811
1753
|
[dataTagSymbol]: {
|
|
1812
|
-
data?: Array<
|
|
1754
|
+
data?: Array<OfferingPlan>;
|
|
1813
1755
|
links?: Links2;
|
|
1814
1756
|
};
|
|
1815
1757
|
[dataTagErrorSymbol]: Error;
|
|
1816
1758
|
};
|
|
1817
1759
|
};
|
|
1760
|
+
declare const listOfferingPlanPricingOptionsQueryKey: (options: Options<ListOfferingPlanPricingOptionsData>) => (Pick<Options<ListOfferingPlanPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1761
|
+
_id: string;
|
|
1762
|
+
_infinite?: boolean;
|
|
1763
|
+
})[];
|
|
1764
|
+
declare const listOfferingPlanPricingOptionsOptions: (options: Options<ListOfferingPlanPricingOptionsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1765
|
+
data?: Array<RelationshipData>;
|
|
1766
|
+
}, Error, {
|
|
1767
|
+
data?: Array<RelationshipData>;
|
|
1768
|
+
}, (Pick<Options<ListOfferingPlanPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1769
|
+
_id: string;
|
|
1770
|
+
_infinite?: boolean;
|
|
1771
|
+
})[]>, "queryFn"> & {
|
|
1772
|
+
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1773
|
+
data?: Array<RelationshipData>;
|
|
1774
|
+
}, (Pick<Options<ListOfferingPlanPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1775
|
+
_id: string;
|
|
1776
|
+
_infinite?: boolean;
|
|
1777
|
+
})[], never> | undefined;
|
|
1778
|
+
} & {
|
|
1779
|
+
queryKey: (Pick<Options<ListOfferingPlanPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1780
|
+
_id: string;
|
|
1781
|
+
_infinite?: boolean;
|
|
1782
|
+
})[] & {
|
|
1783
|
+
[dataTagSymbol]: {
|
|
1784
|
+
data?: Array<RelationshipData>;
|
|
1785
|
+
};
|
|
1786
|
+
[dataTagErrorSymbol]: Error;
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1818
1789
|
declare const listSubscriptionsQueryKey: (options?: Options<ListSubscriptionsData>) => (Pick<Options<ListSubscriptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1819
1790
|
_id: string;
|
|
1820
1791
|
_infinite?: boolean;
|
|
@@ -1885,60 +1856,60 @@ declare const getSubscriptionOptions: (options: Options<GetSubscriptionData>) =>
|
|
|
1885
1856
|
[dataTagErrorSymbol]: Error;
|
|
1886
1857
|
};
|
|
1887
1858
|
};
|
|
1888
|
-
declare const
|
|
1859
|
+
declare const listSubscriptionPlansQueryKey: (options: Options<ListSubscriptionPlansData>) => (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1889
1860
|
_id: string;
|
|
1890
1861
|
_infinite?: boolean;
|
|
1891
1862
|
})[];
|
|
1892
|
-
declare const
|
|
1893
|
-
data?: Array<
|
|
1863
|
+
declare const listSubscriptionPlansOptions: (options: Options<ListSubscriptionPlansData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1864
|
+
data?: Array<OfferingPlan>;
|
|
1894
1865
|
}, Error, {
|
|
1895
|
-
data?: Array<
|
|
1896
|
-
}, (Pick<Options<
|
|
1866
|
+
data?: Array<OfferingPlan>;
|
|
1867
|
+
}, (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1897
1868
|
_id: string;
|
|
1898
1869
|
_infinite?: boolean;
|
|
1899
1870
|
})[]>, "queryFn"> & {
|
|
1900
1871
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1901
|
-
data?: Array<
|
|
1902
|
-
}, (Pick<Options<
|
|
1872
|
+
data?: Array<OfferingPlan>;
|
|
1873
|
+
}, (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1903
1874
|
_id: string;
|
|
1904
1875
|
_infinite?: boolean;
|
|
1905
1876
|
})[], never> | undefined;
|
|
1906
1877
|
} & {
|
|
1907
|
-
queryKey: (Pick<Options<
|
|
1878
|
+
queryKey: (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1908
1879
|
_id: string;
|
|
1909
1880
|
_infinite?: boolean;
|
|
1910
1881
|
})[] & {
|
|
1911
1882
|
[dataTagSymbol]: {
|
|
1912
|
-
data?: Array<
|
|
1883
|
+
data?: Array<OfferingPlan>;
|
|
1913
1884
|
};
|
|
1914
1885
|
[dataTagErrorSymbol]: Error;
|
|
1915
1886
|
};
|
|
1916
1887
|
};
|
|
1917
|
-
declare const
|
|
1888
|
+
declare const listSubscriptionPricingOptionsQueryKey: (options: Options<ListSubscriptionPricingOptionsData>) => (Pick<Options<ListSubscriptionPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1918
1889
|
_id: string;
|
|
1919
1890
|
_infinite?: boolean;
|
|
1920
1891
|
})[];
|
|
1921
|
-
declare const
|
|
1922
|
-
data?: Array<
|
|
1892
|
+
declare const listSubscriptionPricingOptionsOptions: (options: Options<ListSubscriptionPricingOptionsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1893
|
+
data?: Array<OfferingPricingOption>;
|
|
1923
1894
|
}, Error, {
|
|
1924
|
-
data?: Array<
|
|
1925
|
-
}, (Pick<Options<
|
|
1895
|
+
data?: Array<OfferingPricingOption>;
|
|
1896
|
+
}, (Pick<Options<ListSubscriptionPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1926
1897
|
_id: string;
|
|
1927
1898
|
_infinite?: boolean;
|
|
1928
1899
|
})[]>, "queryFn"> & {
|
|
1929
1900
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1930
|
-
data?: Array<
|
|
1931
|
-
}, (Pick<Options<
|
|
1901
|
+
data?: Array<OfferingPricingOption>;
|
|
1902
|
+
}, (Pick<Options<ListSubscriptionPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1932
1903
|
_id: string;
|
|
1933
1904
|
_infinite?: boolean;
|
|
1934
1905
|
})[], never> | undefined;
|
|
1935
1906
|
} & {
|
|
1936
|
-
queryKey: (Pick<Options<
|
|
1907
|
+
queryKey: (Pick<Options<ListSubscriptionPricingOptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1937
1908
|
_id: string;
|
|
1938
1909
|
_infinite?: boolean;
|
|
1939
1910
|
})[] & {
|
|
1940
1911
|
[dataTagSymbol]: {
|
|
1941
|
-
data?: Array<
|
|
1912
|
+
data?: Array<OfferingPricingOption>;
|
|
1942
1913
|
};
|
|
1943
1914
|
[dataTagErrorSymbol]: Error;
|
|
1944
1915
|
};
|
|
@@ -2916,4 +2887,4 @@ declare const getAFileOptions: (options: Options<GetAFileData>) => _tanstack_rea
|
|
|
2916
2887
|
};
|
|
2917
2888
|
};
|
|
2918
2889
|
|
|
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,
|
|
2890
|
+
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, getProductOptions, getProductQueryKey, getProductsForHierarchyOptions, getProductsForHierarchyQueryKey, getProductsForNodeOptions, getProductsForNodeQueryKey, getReleaseByIdOptions, getReleaseByIdQueryKey, getReleasesOptions, getReleasesQueryKey, getRuleByIdOptions, getRuleByIdQueryKey, getRulesOptions, getRulesQueryKey, getStockOptions, getStockQueryKey, getSubscriptionInvoiceOptions, getSubscriptionInvoicePaymentOptions, getSubscriptionInvoicePaymentQueryKey, getSubscriptionInvoiceQueryKey, getSubscriptionOptions, getSubscriptionQueryKey, getSubscriptionStateOptions, getSubscriptionStateQueryKey, getV2AccountAddressOptions, getV2AccountAddressQueryKey, getV2AccountAddressesOptions, getV2AccountAddressesQueryKey, getV2AccountMembersAccountMemberIdOptions, getV2AccountMembersAccountMemberIdQueryKey, getV2AccountMembersOptions, getV2AccountMembersQueryKey, getV2AccountsAccountIdAccountMembershipsOptions, getV2AccountsAccountIdAccountMembershipsQueryKey, getV2AccountsAccountIdOptions, getV2AccountsAccountIdQueryKey, getV2AccountsOptions, getV2AccountsQueryKey, listInvoicesOptions, listInvoicesQueryKey, listLocationsOptions, listLocationsQueryKey, listOfferingFeaturesOptions, listOfferingFeaturesQueryKey, listOfferingPlanPricingOptionsOptions, listOfferingPlanPricingOptionsQueryKey, listOfferingPlansOptions, listOfferingPlansQueryKey, listOfferingPricingOptionsOptions, listOfferingPricingOptionsQueryKey, listOfferingsOptions, listOfferingsQueryKey, listSubscriptionInvoicePaymentsOptions, listSubscriptionInvoicePaymentsQueryKey, listSubscriptionInvoicesOptions, listSubscriptionInvoicesQueryKey, listSubscriptionPlansOptions, listSubscriptionPlansQueryKey, listSubscriptionPricingOptionsOptions, listSubscriptionPricingOptionsQueryKey, 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 };
|
|
@@ -89,17 +89,16 @@ import {
|
|
|
89
89
|
getOrderTransactions,
|
|
90
90
|
getATransaction,
|
|
91
91
|
cancelATransaction,
|
|
92
|
-
getSubscriptionProduct,
|
|
93
|
-
getPlan,
|
|
94
92
|
listOfferings,
|
|
95
93
|
getOffering,
|
|
96
|
-
|
|
94
|
+
listOfferingPricingOptions,
|
|
97
95
|
listOfferingFeatures,
|
|
98
|
-
|
|
96
|
+
listOfferingPlans,
|
|
97
|
+
listOfferingPlanPricingOptions,
|
|
99
98
|
listSubscriptions,
|
|
100
99
|
getSubscription,
|
|
101
|
-
listSubscriptionProducts,
|
|
102
100
|
listSubscriptionPlans,
|
|
101
|
+
listSubscriptionPricingOptions,
|
|
103
102
|
listSubscriptionStates,
|
|
104
103
|
getSubscriptionState,
|
|
105
104
|
listSubscriptionInvoices,
|
|
@@ -1712,38 +1711,6 @@ const cancelATransactionMutation = (options) => {
|
|
|
1712
1711
|
};
|
|
1713
1712
|
return mutationOptions;
|
|
1714
1713
|
};
|
|
1715
|
-
const getSubscriptionProductQueryKey = (options) => [createQueryKey("getSubscriptionProduct", options)];
|
|
1716
|
-
const getSubscriptionProductOptions = (options) => {
|
|
1717
|
-
return queryOptions({
|
|
1718
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
1719
|
-
const { data } = await getSubscriptionProduct({
|
|
1720
|
-
...options,
|
|
1721
|
-
...queryKey[0],
|
|
1722
|
-
signal,
|
|
1723
|
-
throwOnError: true
|
|
1724
|
-
});
|
|
1725
|
-
return data;
|
|
1726
|
-
},
|
|
1727
|
-
queryKey: getSubscriptionProductQueryKey(options)
|
|
1728
|
-
});
|
|
1729
|
-
};
|
|
1730
|
-
const getPlanQueryKey = (options) => [
|
|
1731
|
-
createQueryKey("getPlan", options)
|
|
1732
|
-
];
|
|
1733
|
-
const getPlanOptions = (options) => {
|
|
1734
|
-
return queryOptions({
|
|
1735
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
1736
|
-
const { data } = await getPlan({
|
|
1737
|
-
...options,
|
|
1738
|
-
...queryKey[0],
|
|
1739
|
-
signal,
|
|
1740
|
-
throwOnError: true
|
|
1741
|
-
});
|
|
1742
|
-
return data;
|
|
1743
|
-
},
|
|
1744
|
-
queryKey: getPlanQueryKey(options)
|
|
1745
|
-
});
|
|
1746
|
-
};
|
|
1747
1714
|
const listOfferingsQueryKey = (options) => [
|
|
1748
1715
|
createQueryKey("listOfferings", options)
|
|
1749
1716
|
];
|
|
@@ -1778,11 +1745,11 @@ const getOfferingOptions = (options) => {
|
|
|
1778
1745
|
queryKey: getOfferingQueryKey(options)
|
|
1779
1746
|
});
|
|
1780
1747
|
};
|
|
1781
|
-
const
|
|
1782
|
-
const
|
|
1748
|
+
const listOfferingPricingOptionsQueryKey = (options) => [createQueryKey("listOfferingPricingOptions", options)];
|
|
1749
|
+
const listOfferingPricingOptionsOptions = (options) => {
|
|
1783
1750
|
return queryOptions({
|
|
1784
1751
|
queryFn: async ({ queryKey, signal }) => {
|
|
1785
|
-
const { data } = await
|
|
1752
|
+
const { data } = await listOfferingPricingOptions({
|
|
1786
1753
|
...options,
|
|
1787
1754
|
...queryKey[0],
|
|
1788
1755
|
signal,
|
|
@@ -1790,7 +1757,7 @@ const listOfferingPlansOptions = (options) => {
|
|
|
1790
1757
|
});
|
|
1791
1758
|
return data;
|
|
1792
1759
|
},
|
|
1793
|
-
queryKey:
|
|
1760
|
+
queryKey: listOfferingPricingOptionsQueryKey(options)
|
|
1794
1761
|
});
|
|
1795
1762
|
};
|
|
1796
1763
|
const listOfferingFeaturesQueryKey = (options) => [createQueryKey("listOfferingFeatures", options)];
|
|
@@ -1808,11 +1775,26 @@ const listOfferingFeaturesOptions = (options) => {
|
|
|
1808
1775
|
queryKey: listOfferingFeaturesQueryKey(options)
|
|
1809
1776
|
});
|
|
1810
1777
|
};
|
|
1811
|
-
const
|
|
1812
|
-
const
|
|
1778
|
+
const listOfferingPlansQueryKey = (options) => [createQueryKey("listOfferingPlans", options)];
|
|
1779
|
+
const listOfferingPlansOptions = (options) => {
|
|
1780
|
+
return queryOptions({
|
|
1781
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1782
|
+
const { data } = await listOfferingPlans({
|
|
1783
|
+
...options,
|
|
1784
|
+
...queryKey[0],
|
|
1785
|
+
signal,
|
|
1786
|
+
throwOnError: true
|
|
1787
|
+
});
|
|
1788
|
+
return data;
|
|
1789
|
+
},
|
|
1790
|
+
queryKey: listOfferingPlansQueryKey(options)
|
|
1791
|
+
});
|
|
1792
|
+
};
|
|
1793
|
+
const listOfferingPlanPricingOptionsQueryKey = (options) => [createQueryKey("listOfferingPlanPricingOptions", options)];
|
|
1794
|
+
const listOfferingPlanPricingOptionsOptions = (options) => {
|
|
1813
1795
|
return queryOptions({
|
|
1814
1796
|
queryFn: async ({ queryKey, signal }) => {
|
|
1815
|
-
const { data } = await
|
|
1797
|
+
const { data } = await listOfferingPlanPricingOptions({
|
|
1816
1798
|
...options,
|
|
1817
1799
|
...queryKey[0],
|
|
1818
1800
|
signal,
|
|
@@ -1820,7 +1802,7 @@ const listOfferingProductsOptions = (options) => {
|
|
|
1820
1802
|
});
|
|
1821
1803
|
return data;
|
|
1822
1804
|
},
|
|
1823
|
-
queryKey:
|
|
1805
|
+
queryKey: listOfferingPlanPricingOptionsQueryKey(options)
|
|
1824
1806
|
});
|
|
1825
1807
|
};
|
|
1826
1808
|
const listSubscriptionsQueryKey = (options) => [createQueryKey("listSubscriptions", options)];
|
|
@@ -1853,11 +1835,11 @@ const getSubscriptionOptions = (options) => {
|
|
|
1853
1835
|
queryKey: getSubscriptionQueryKey(options)
|
|
1854
1836
|
});
|
|
1855
1837
|
};
|
|
1856
|
-
const
|
|
1857
|
-
const
|
|
1838
|
+
const listSubscriptionPlansQueryKey = (options) => [createQueryKey("listSubscriptionPlans", options)];
|
|
1839
|
+
const listSubscriptionPlansOptions = (options) => {
|
|
1858
1840
|
return queryOptions({
|
|
1859
1841
|
queryFn: async ({ queryKey, signal }) => {
|
|
1860
|
-
const { data } = await
|
|
1842
|
+
const { data } = await listSubscriptionPlans({
|
|
1861
1843
|
...options,
|
|
1862
1844
|
...queryKey[0],
|
|
1863
1845
|
signal,
|
|
@@ -1865,14 +1847,14 @@ const listSubscriptionProductsOptions = (options) => {
|
|
|
1865
1847
|
});
|
|
1866
1848
|
return data;
|
|
1867
1849
|
},
|
|
1868
|
-
queryKey:
|
|
1850
|
+
queryKey: listSubscriptionPlansQueryKey(options)
|
|
1869
1851
|
});
|
|
1870
1852
|
};
|
|
1871
|
-
const
|
|
1872
|
-
const
|
|
1853
|
+
const listSubscriptionPricingOptionsQueryKey = (options) => [createQueryKey("listSubscriptionPricingOptions", options)];
|
|
1854
|
+
const listSubscriptionPricingOptionsOptions = (options) => {
|
|
1873
1855
|
return queryOptions({
|
|
1874
1856
|
queryFn: async ({ queryKey, signal }) => {
|
|
1875
|
-
const { data } = await
|
|
1857
|
+
const { data } = await listSubscriptionPricingOptions({
|
|
1876
1858
|
...options,
|
|
1877
1859
|
...queryKey[0],
|
|
1878
1860
|
signal,
|
|
@@ -1880,7 +1862,7 @@ const listSubscriptionPlansOptions = (options) => {
|
|
|
1880
1862
|
});
|
|
1881
1863
|
return data;
|
|
1882
1864
|
},
|
|
1883
|
-
queryKey:
|
|
1865
|
+
queryKey: listSubscriptionPricingOptionsQueryKey(options)
|
|
1884
1866
|
});
|
|
1885
1867
|
};
|
|
1886
1868
|
const listSubscriptionStatesQueryKey = (options) => [createQueryKey("listSubscriptionStates", options)];
|
|
@@ -2581,8 +2563,6 @@ export {
|
|
|
2581
2563
|
getOrderItemsQueryKey,
|
|
2582
2564
|
getOrderTransactionsOptions,
|
|
2583
2565
|
getOrderTransactionsQueryKey,
|
|
2584
|
-
getPlanOptions,
|
|
2585
|
-
getPlanQueryKey,
|
|
2586
2566
|
getProductOptions,
|
|
2587
2567
|
getProductQueryKey,
|
|
2588
2568
|
getProductsForHierarchyOptions,
|
|
@@ -2604,8 +2584,6 @@ export {
|
|
|
2604
2584
|
getSubscriptionInvoicePaymentQueryKey,
|
|
2605
2585
|
getSubscriptionInvoiceQueryKey,
|
|
2606
2586
|
getSubscriptionOptions,
|
|
2607
|
-
getSubscriptionProductOptions,
|
|
2608
|
-
getSubscriptionProductQueryKey,
|
|
2609
2587
|
getSubscriptionQueryKey,
|
|
2610
2588
|
getSubscriptionStateOptions,
|
|
2611
2589
|
getSubscriptionStateQueryKey,
|
|
@@ -2629,10 +2607,12 @@ export {
|
|
|
2629
2607
|
listLocationsQueryKey,
|
|
2630
2608
|
listOfferingFeaturesOptions,
|
|
2631
2609
|
listOfferingFeaturesQueryKey,
|
|
2610
|
+
listOfferingPlanPricingOptionsOptions,
|
|
2611
|
+
listOfferingPlanPricingOptionsQueryKey,
|
|
2632
2612
|
listOfferingPlansOptions,
|
|
2633
2613
|
listOfferingPlansQueryKey,
|
|
2634
|
-
|
|
2635
|
-
|
|
2614
|
+
listOfferingPricingOptionsOptions,
|
|
2615
|
+
listOfferingPricingOptionsQueryKey,
|
|
2636
2616
|
listOfferingsOptions,
|
|
2637
2617
|
listOfferingsQueryKey,
|
|
2638
2618
|
listSubscriptionInvoicePaymentsOptions,
|
|
@@ -2641,8 +2621,8 @@ export {
|
|
|
2641
2621
|
listSubscriptionInvoicesQueryKey,
|
|
2642
2622
|
listSubscriptionPlansOptions,
|
|
2643
2623
|
listSubscriptionPlansQueryKey,
|
|
2644
|
-
|
|
2645
|
-
|
|
2624
|
+
listSubscriptionPricingOptionsOptions,
|
|
2625
|
+
listSubscriptionPricingOptionsQueryKey,
|
|
2646
2626
|
listSubscriptionStatesOptions,
|
|
2647
2627
|
listSubscriptionStatesQueryKey,
|
|
2648
2628
|
listSubscriptionsOptions,
|