@epcc-sdk/sdks-shopper 0.0.24 → 0.0.26
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 +24 -0
- package/dist/client/@tanstack/react-query.gen.d.ts +373 -1
- package/dist/client/@tanstack/react-query.gen.js +221 -1
- package/dist/client/sdk.gen.d.ts +121 -1
- package/dist/client/sdk.gen.js +186 -0
- package/dist/client/transformers.gen.d.ts +10 -1
- package/dist/client/transformers.gen.js +137 -0
- package/dist/client/types.gen.d.ts +478 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -391,6 +391,30 @@ const product = await getByContextProduct({
|
|
|
391
391
|
|
|
392
392
|
- **`listOfferingProducts`** (`GET /v2/subscriptions/offerings/{offering_uuid}/products`)
|
|
393
393
|
|
|
394
|
+
- **`listSubscriptions`** (`GET /v2/subscriptions/subscriptions`)
|
|
395
|
+
|
|
396
|
+
- **`getSubscription`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}`)
|
|
397
|
+
|
|
398
|
+
- **`listSubscriptionProducts`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/products`)
|
|
399
|
+
|
|
400
|
+
- **`listSubscriptionPlans`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/plans`)
|
|
401
|
+
|
|
402
|
+
- **`listSubscriptionStates`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/states`)
|
|
403
|
+
|
|
404
|
+
- **`getSubscriptionState`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/states/{state_uuid}`)
|
|
405
|
+
|
|
406
|
+
- **`listSubscriptionInvoices`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/invoices`)
|
|
407
|
+
|
|
408
|
+
- **`listSubscriptionInvoicePayments`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/invoices/{invoice_uuid}/payments`)
|
|
409
|
+
|
|
410
|
+
- **`getSubscriptionInvoicePayment`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/invoices/{invoice_uuid}/payments/{payment_uuid}`)
|
|
411
|
+
|
|
412
|
+
- **`getSubscriptionInvoice`** (`GET /v2/subscriptions/subscriptions/{subscription_uuid}/invoices/{invoice_uuid}`)
|
|
413
|
+
|
|
414
|
+
- **`listInvoices`** (`GET /v2/subscriptions/invoices`)
|
|
415
|
+
|
|
416
|
+
- **`getInvoice`** (`GET /v2/subscriptions/invoices/{invoice_uuid}`)
|
|
417
|
+
|
|
394
418
|
- **`getFeature`** (`GET /v2/subscriptions/features/{feature_uuid}`)
|
|
395
419
|
|
|
396
420
|
- **`getStock`** (`GET /v2/inventories/{product_uuid}`)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Options } from "@hey-api/client-fetch";
|
|
2
2
|
import { type UseMutationOptions } from "@tanstack/react-query";
|
|
3
|
-
import type { GetByContextReleaseData, GetByContextAllHierarchiesData, GetByContextHierarchyData, GetByContextHierarchyNodesData, GetByContextHierarchyChildNodesData, GetByContextAllNodesData, GetByContextNodeData, GetByContextChildNodesData, GetByContextAllProductsData, GetByContextProductData, GetByContextComponentProductIdsData, GetByContextChildProductsData, GetByContextProductsForHierarchyData, GetByContextProductsForNodeData, ConfigureByContextProductData, GetCatalogsData, CreateCatalogData, DeleteCatalogByIdData, GetCatalogByIdData, UpdateCatalogData, DeleteReleasesData, GetReleasesData, PublishReleaseData, DeleteReleaseByIdData, GetReleaseByIdData, GetRulesData, CreateRuleData, DeleteRuleByIdData, GetRuleByIdData, UpdateRuleData, GetAllHierarchiesData, GetHierarchyData, GetHierarchyNodesData, GetHierarchyChildNodesData, GetAllNodesData, GetNodeData, GetChildNodesData, GetAllProductsData, GetProductData, GetComponentProductIdsData, GetChildProductsData, GetProductsForHierarchyData, GetProductsForNodeData, GetCartsData, CreateACartData, DeleteACartData, GetCartData, UpdateACartData, DeleteAllCartItemsData, GetCartItemsData, ManageCartsData, BulkUpdateItemsInCartData, DeleteACartItemData, UpdateACartItemData, DeleteAccountCartAssociationData, CreateAccountCartAssociationData, CreateAccountCartAssociationResponse, DeleteCustomerCartAssociationData, CreateCustomerCartAssociationData, DeleteAPromotionViaPromotionCodeData, AddTaxItemToCartData, BulkDeleteTaxItemsFromCartData, BulkAddTaxItemsToCartData, DeleteATaxItemData, UpdateATaxItemData, BulkDeleteCustomDiscountsFromCartData, BulkAddCustomDiscountsToCartData, DeleteCustomDiscountFromCartData, UpdateCustomDiscountForCartData, AddCustomDiscountToCartItemData, DeleteCustomDiscountFromCartItemData, UpdateCustomDiscountForCartItemData, CreateCartPaymentIntentData, CheckoutApiData, GetCustomerOrdersData, GetAnOrderData, UpdateAnOrderData, GetOrderItemsData, AnonymizeOrdersData, PaymentSetupData, ConfirmPaymentData, CaptureATransactionData, RefundATransactionData, GetOrderTransactionsData, GetATransactionData, CancelATransactionData, GetSubscriptionProductData, GetPlanData, ListOfferingsData, GetOfferingData, ListOfferingPlansData, ListOfferingFeaturesData, ListOfferingProductsData, GetFeatureData, GetStockData, ListLocationsData, CreateAnAccessTokenData, GetV2AccountAddressesData, PostV2AccountAddressData, DeleteV2AccountAddressData, GetV2AccountAddressData, PutV2AccountAddressData, GetV2AccountsData, PostV2AccountsData, GetV2AccountsAccountIdData, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, GetV2AccountMembersData, GetV2AccountMembersAccountMemberIdData, GetV2AccountsAccountIdAccountMembershipsData, PostV2AccountMembersTokensData, GetAllCurrenciesData, GetACurrencyData, GetAllFilesData, GetAFileData } from "../types.gen";
|
|
3
|
+
import type { GetByContextReleaseData, GetByContextAllHierarchiesData, GetByContextHierarchyData, GetByContextHierarchyNodesData, GetByContextHierarchyChildNodesData, GetByContextAllNodesData, GetByContextNodeData, GetByContextChildNodesData, GetByContextAllProductsData, GetByContextProductData, GetByContextComponentProductIdsData, GetByContextChildProductsData, GetByContextProductsForHierarchyData, GetByContextProductsForNodeData, ConfigureByContextProductData, GetCatalogsData, CreateCatalogData, DeleteCatalogByIdData, GetCatalogByIdData, UpdateCatalogData, DeleteReleasesData, GetReleasesData, PublishReleaseData, DeleteReleaseByIdData, GetReleaseByIdData, GetRulesData, CreateRuleData, DeleteRuleByIdData, GetRuleByIdData, UpdateRuleData, GetAllHierarchiesData, GetHierarchyData, GetHierarchyNodesData, GetHierarchyChildNodesData, GetAllNodesData, GetNodeData, GetChildNodesData, GetAllProductsData, GetProductData, GetComponentProductIdsData, GetChildProductsData, GetProductsForHierarchyData, GetProductsForNodeData, GetCartsData, CreateACartData, DeleteACartData, GetCartData, UpdateACartData, DeleteAllCartItemsData, GetCartItemsData, ManageCartsData, BulkUpdateItemsInCartData, DeleteACartItemData, UpdateACartItemData, DeleteAccountCartAssociationData, CreateAccountCartAssociationData, CreateAccountCartAssociationResponse, DeleteCustomerCartAssociationData, CreateCustomerCartAssociationData, DeleteAPromotionViaPromotionCodeData, AddTaxItemToCartData, BulkDeleteTaxItemsFromCartData, BulkAddTaxItemsToCartData, DeleteATaxItemData, UpdateATaxItemData, BulkDeleteCustomDiscountsFromCartData, BulkAddCustomDiscountsToCartData, DeleteCustomDiscountFromCartData, UpdateCustomDiscountForCartData, AddCustomDiscountToCartItemData, DeleteCustomDiscountFromCartItemData, UpdateCustomDiscountForCartItemData, CreateCartPaymentIntentData, CheckoutApiData, GetCustomerOrdersData, GetAnOrderData, UpdateAnOrderData, GetOrderItemsData, AnonymizeOrdersData, PaymentSetupData, ConfirmPaymentData, CaptureATransactionData, RefundATransactionData, GetOrderTransactionsData, GetATransactionData, CancelATransactionData, GetSubscriptionProductData, GetPlanData, ListOfferingsData, GetOfferingData, ListOfferingPlansData, ListOfferingFeaturesData, ListOfferingProductsData, ListSubscriptionsData, GetSubscriptionData, ListSubscriptionProductsData, ListSubscriptionPlansData, ListSubscriptionStatesData, GetSubscriptionStateData, ListSubscriptionInvoicesData, ListSubscriptionInvoicePaymentsData, GetSubscriptionInvoicePaymentData, GetSubscriptionInvoiceData, ListInvoicesData, GetInvoiceData, GetFeatureData, GetStockData, ListLocationsData, CreateAnAccessTokenData, GetV2AccountAddressesData, PostV2AccountAddressData, DeleteV2AccountAddressData, GetV2AccountAddressData, PutV2AccountAddressData, GetV2AccountsData, PostV2AccountsData, GetV2AccountsAccountIdData, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, GetV2AccountMembersData, GetV2AccountMembersAccountMemberIdData, GetV2AccountsAccountIdAccountMembershipsData, PostV2AccountMembersTokensData, GetAllCurrenciesData, GetACurrencyData, GetAllFilesData, GetAFileData } from "../types.gen";
|
|
4
4
|
export declare const getByContextReleaseQueryKey: (options?: Options<GetByContextReleaseData>) => (Pick<Options<GetByContextReleaseData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
5
5
|
_id: string;
|
|
6
6
|
_infinite?: boolean;
|
|
@@ -1771,6 +1771,378 @@ export declare const listOfferingProductsOptions: (options: Options<ListOffering
|
|
|
1771
1771
|
[dataTagErrorSymbol]: Error;
|
|
1772
1772
|
};
|
|
1773
1773
|
};
|
|
1774
|
+
export declare const listSubscriptionsQueryKey: (options?: Options<ListSubscriptionsData>) => (Pick<Options<ListSubscriptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1775
|
+
_id: string;
|
|
1776
|
+
_infinite?: boolean;
|
|
1777
|
+
})[];
|
|
1778
|
+
export declare const listSubscriptionsOptions: (options?: Options<ListSubscriptionsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1779
|
+
data?: Array<import("../types.gen").Subscription>;
|
|
1780
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1781
|
+
links?: import("../types.gen").Links2;
|
|
1782
|
+
}, Error, {
|
|
1783
|
+
data?: Array<import("../types.gen").Subscription>;
|
|
1784
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1785
|
+
links?: import("../types.gen").Links2;
|
|
1786
|
+
}, (Pick<Options<ListSubscriptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1787
|
+
_id: string;
|
|
1788
|
+
_infinite?: boolean;
|
|
1789
|
+
})[]>, "queryFn"> & {
|
|
1790
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1791
|
+
data?: Array<import("../types.gen").Subscription>;
|
|
1792
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1793
|
+
links?: import("../types.gen").Links2;
|
|
1794
|
+
}, (Pick<Options<ListSubscriptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1795
|
+
_id: string;
|
|
1796
|
+
_infinite?: boolean;
|
|
1797
|
+
})[], never> | undefined;
|
|
1798
|
+
} & {
|
|
1799
|
+
queryKey: (Pick<Options<ListSubscriptionsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1800
|
+
_id: string;
|
|
1801
|
+
_infinite?: boolean;
|
|
1802
|
+
})[] & {
|
|
1803
|
+
[dataTagSymbol]: {
|
|
1804
|
+
data?: Array<import("../types.gen").Subscription>;
|
|
1805
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1806
|
+
links?: import("../types.gen").Links2;
|
|
1807
|
+
};
|
|
1808
|
+
[dataTagErrorSymbol]: Error;
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
export declare const getSubscriptionQueryKey: (options: Options<GetSubscriptionData>) => (Pick<Options<GetSubscriptionData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1812
|
+
_id: string;
|
|
1813
|
+
_infinite?: boolean;
|
|
1814
|
+
})[];
|
|
1815
|
+
export declare const getSubscriptionOptions: (options: Options<GetSubscriptionData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1816
|
+
data?: import("../types.gen").Subscription;
|
|
1817
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1818
|
+
}, Error, {
|
|
1819
|
+
data?: import("../types.gen").Subscription;
|
|
1820
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1821
|
+
}, (Pick<Options<GetSubscriptionData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1822
|
+
_id: string;
|
|
1823
|
+
_infinite?: boolean;
|
|
1824
|
+
})[]>, "queryFn"> & {
|
|
1825
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1826
|
+
data?: import("../types.gen").Subscription;
|
|
1827
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1828
|
+
}, (Pick<Options<GetSubscriptionData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1829
|
+
_id: string;
|
|
1830
|
+
_infinite?: boolean;
|
|
1831
|
+
})[], never> | undefined;
|
|
1832
|
+
} & {
|
|
1833
|
+
queryKey: (Pick<Options<GetSubscriptionData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1834
|
+
_id: string;
|
|
1835
|
+
_infinite?: boolean;
|
|
1836
|
+
})[] & {
|
|
1837
|
+
[dataTagSymbol]: {
|
|
1838
|
+
data?: import("../types.gen").Subscription;
|
|
1839
|
+
included?: import("../types.gen").SubscriptionIncludes;
|
|
1840
|
+
};
|
|
1841
|
+
[dataTagErrorSymbol]: Error;
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1844
|
+
export declare const listSubscriptionProductsQueryKey: (options: Options<ListSubscriptionProductsData>) => (Pick<Options<ListSubscriptionProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1845
|
+
_id: string;
|
|
1846
|
+
_infinite?: boolean;
|
|
1847
|
+
})[];
|
|
1848
|
+
export declare const listSubscriptionProductsOptions: (options: Options<ListSubscriptionProductsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1849
|
+
data?: Array<import("../types.gen").OfferingProduct>;
|
|
1850
|
+
}, Error, {
|
|
1851
|
+
data?: Array<import("../types.gen").OfferingProduct>;
|
|
1852
|
+
}, (Pick<Options<ListSubscriptionProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1853
|
+
_id: string;
|
|
1854
|
+
_infinite?: boolean;
|
|
1855
|
+
})[]>, "queryFn"> & {
|
|
1856
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1857
|
+
data?: Array<import("../types.gen").OfferingProduct>;
|
|
1858
|
+
}, (Pick<Options<ListSubscriptionProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1859
|
+
_id: string;
|
|
1860
|
+
_infinite?: boolean;
|
|
1861
|
+
})[], never> | undefined;
|
|
1862
|
+
} & {
|
|
1863
|
+
queryKey: (Pick<Options<ListSubscriptionProductsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1864
|
+
_id: string;
|
|
1865
|
+
_infinite?: boolean;
|
|
1866
|
+
})[] & {
|
|
1867
|
+
[dataTagSymbol]: {
|
|
1868
|
+
data?: Array<import("../types.gen").OfferingProduct>;
|
|
1869
|
+
};
|
|
1870
|
+
[dataTagErrorSymbol]: Error;
|
|
1871
|
+
};
|
|
1872
|
+
};
|
|
1873
|
+
export declare const listSubscriptionPlansQueryKey: (options: Options<ListSubscriptionPlansData>) => (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1874
|
+
_id: string;
|
|
1875
|
+
_infinite?: boolean;
|
|
1876
|
+
})[];
|
|
1877
|
+
export declare const listSubscriptionPlansOptions: (options: Options<ListSubscriptionPlansData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1878
|
+
data?: Array<import("../types.gen").OfferingPlan>;
|
|
1879
|
+
}, Error, {
|
|
1880
|
+
data?: Array<import("../types.gen").OfferingPlan>;
|
|
1881
|
+
}, (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1882
|
+
_id: string;
|
|
1883
|
+
_infinite?: boolean;
|
|
1884
|
+
})[]>, "queryFn"> & {
|
|
1885
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1886
|
+
data?: Array<import("../types.gen").OfferingPlan>;
|
|
1887
|
+
}, (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1888
|
+
_id: string;
|
|
1889
|
+
_infinite?: boolean;
|
|
1890
|
+
})[], never> | undefined;
|
|
1891
|
+
} & {
|
|
1892
|
+
queryKey: (Pick<Options<ListSubscriptionPlansData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1893
|
+
_id: string;
|
|
1894
|
+
_infinite?: boolean;
|
|
1895
|
+
})[] & {
|
|
1896
|
+
[dataTagSymbol]: {
|
|
1897
|
+
data?: Array<import("../types.gen").OfferingPlan>;
|
|
1898
|
+
};
|
|
1899
|
+
[dataTagErrorSymbol]: Error;
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
export declare const listSubscriptionStatesQueryKey: (options: Options<ListSubscriptionStatesData>) => (Pick<Options<ListSubscriptionStatesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1903
|
+
_id: string;
|
|
1904
|
+
_infinite?: boolean;
|
|
1905
|
+
})[];
|
|
1906
|
+
export declare const listSubscriptionStatesOptions: (options: Options<ListSubscriptionStatesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1907
|
+
data?: Array<import("../types.gen").SubscriptionState>;
|
|
1908
|
+
}, Error, {
|
|
1909
|
+
data?: Array<import("../types.gen").SubscriptionState>;
|
|
1910
|
+
}, (Pick<Options<ListSubscriptionStatesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1911
|
+
_id: string;
|
|
1912
|
+
_infinite?: boolean;
|
|
1913
|
+
})[]>, "queryFn"> & {
|
|
1914
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1915
|
+
data?: Array<import("../types.gen").SubscriptionState>;
|
|
1916
|
+
}, (Pick<Options<ListSubscriptionStatesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1917
|
+
_id: string;
|
|
1918
|
+
_infinite?: boolean;
|
|
1919
|
+
})[], never> | undefined;
|
|
1920
|
+
} & {
|
|
1921
|
+
queryKey: (Pick<Options<ListSubscriptionStatesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1922
|
+
_id: string;
|
|
1923
|
+
_infinite?: boolean;
|
|
1924
|
+
})[] & {
|
|
1925
|
+
[dataTagSymbol]: {
|
|
1926
|
+
data?: Array<import("../types.gen").SubscriptionState>;
|
|
1927
|
+
};
|
|
1928
|
+
[dataTagErrorSymbol]: Error;
|
|
1929
|
+
};
|
|
1930
|
+
};
|
|
1931
|
+
export declare const getSubscriptionStateQueryKey: (options: Options<GetSubscriptionStateData>) => (Pick<Options<GetSubscriptionStateData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1932
|
+
_id: string;
|
|
1933
|
+
_infinite?: boolean;
|
|
1934
|
+
})[];
|
|
1935
|
+
export declare const getSubscriptionStateOptions: (options: Options<GetSubscriptionStateData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1936
|
+
data?: import("../types.gen").SubscriptionState;
|
|
1937
|
+
}, Error, {
|
|
1938
|
+
data?: import("../types.gen").SubscriptionState;
|
|
1939
|
+
}, (Pick<Options<GetSubscriptionStateData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1940
|
+
_id: string;
|
|
1941
|
+
_infinite?: boolean;
|
|
1942
|
+
})[]>, "queryFn"> & {
|
|
1943
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1944
|
+
data?: import("../types.gen").SubscriptionState;
|
|
1945
|
+
}, (Pick<Options<GetSubscriptionStateData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1946
|
+
_id: string;
|
|
1947
|
+
_infinite?: boolean;
|
|
1948
|
+
})[], never> | undefined;
|
|
1949
|
+
} & {
|
|
1950
|
+
queryKey: (Pick<Options<GetSubscriptionStateData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1951
|
+
_id: string;
|
|
1952
|
+
_infinite?: boolean;
|
|
1953
|
+
})[] & {
|
|
1954
|
+
[dataTagSymbol]: {
|
|
1955
|
+
data?: import("../types.gen").SubscriptionState;
|
|
1956
|
+
};
|
|
1957
|
+
[dataTagErrorSymbol]: Error;
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
1960
|
+
export declare const listSubscriptionInvoicesQueryKey: (options: Options<ListSubscriptionInvoicesData>) => (Pick<Options<ListSubscriptionInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1961
|
+
_id: string;
|
|
1962
|
+
_infinite?: boolean;
|
|
1963
|
+
})[];
|
|
1964
|
+
export declare const listSubscriptionInvoicesOptions: (options: Options<ListSubscriptionInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1965
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
1966
|
+
links?: import("../types.gen").Links2;
|
|
1967
|
+
}, Error, {
|
|
1968
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
1969
|
+
links?: import("../types.gen").Links2;
|
|
1970
|
+
}, (Pick<Options<ListSubscriptionInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1971
|
+
_id: string;
|
|
1972
|
+
_infinite?: boolean;
|
|
1973
|
+
})[]>, "queryFn"> & {
|
|
1974
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1975
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
1976
|
+
links?: import("../types.gen").Links2;
|
|
1977
|
+
}, (Pick<Options<ListSubscriptionInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1978
|
+
_id: string;
|
|
1979
|
+
_infinite?: boolean;
|
|
1980
|
+
})[], never> | undefined;
|
|
1981
|
+
} & {
|
|
1982
|
+
queryKey: (Pick<Options<ListSubscriptionInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1983
|
+
_id: string;
|
|
1984
|
+
_infinite?: boolean;
|
|
1985
|
+
})[] & {
|
|
1986
|
+
[dataTagSymbol]: {
|
|
1987
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
1988
|
+
links?: import("../types.gen").Links2;
|
|
1989
|
+
};
|
|
1990
|
+
[dataTagErrorSymbol]: Error;
|
|
1991
|
+
};
|
|
1992
|
+
};
|
|
1993
|
+
export declare const listSubscriptionInvoicePaymentsQueryKey: (options: Options<ListSubscriptionInvoicePaymentsData>) => (Pick<Options<ListSubscriptionInvoicePaymentsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1994
|
+
_id: string;
|
|
1995
|
+
_infinite?: boolean;
|
|
1996
|
+
})[];
|
|
1997
|
+
export declare const listSubscriptionInvoicePaymentsOptions: (options: Options<ListSubscriptionInvoicePaymentsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1998
|
+
data?: Array<import("../types.gen").SubscriptionInvoicePayment>;
|
|
1999
|
+
links?: import("../types.gen").Links2;
|
|
2000
|
+
}, Error, {
|
|
2001
|
+
data?: Array<import("../types.gen").SubscriptionInvoicePayment>;
|
|
2002
|
+
links?: import("../types.gen").Links2;
|
|
2003
|
+
}, (Pick<Options<ListSubscriptionInvoicePaymentsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2004
|
+
_id: string;
|
|
2005
|
+
_infinite?: boolean;
|
|
2006
|
+
})[]>, "queryFn"> & {
|
|
2007
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2008
|
+
data?: Array<import("../types.gen").SubscriptionInvoicePayment>;
|
|
2009
|
+
links?: import("../types.gen").Links2;
|
|
2010
|
+
}, (Pick<Options<ListSubscriptionInvoicePaymentsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2011
|
+
_id: string;
|
|
2012
|
+
_infinite?: boolean;
|
|
2013
|
+
})[], never> | undefined;
|
|
2014
|
+
} & {
|
|
2015
|
+
queryKey: (Pick<Options<ListSubscriptionInvoicePaymentsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2016
|
+
_id: string;
|
|
2017
|
+
_infinite?: boolean;
|
|
2018
|
+
})[] & {
|
|
2019
|
+
[dataTagSymbol]: {
|
|
2020
|
+
data?: Array<import("../types.gen").SubscriptionInvoicePayment>;
|
|
2021
|
+
links?: import("../types.gen").Links2;
|
|
2022
|
+
};
|
|
2023
|
+
[dataTagErrorSymbol]: Error;
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
export declare const getSubscriptionInvoicePaymentQueryKey: (options: Options<GetSubscriptionInvoicePaymentData>) => (Pick<Options<GetSubscriptionInvoicePaymentData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2027
|
+
_id: string;
|
|
2028
|
+
_infinite?: boolean;
|
|
2029
|
+
})[];
|
|
2030
|
+
export declare const getSubscriptionInvoicePaymentOptions: (options: Options<GetSubscriptionInvoicePaymentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2031
|
+
data?: import("../types.gen").SubscriptionInvoicePayment;
|
|
2032
|
+
}, Error, {
|
|
2033
|
+
data?: import("../types.gen").SubscriptionInvoicePayment;
|
|
2034
|
+
}, (Pick<Options<GetSubscriptionInvoicePaymentData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2035
|
+
_id: string;
|
|
2036
|
+
_infinite?: boolean;
|
|
2037
|
+
})[]>, "queryFn"> & {
|
|
2038
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2039
|
+
data?: import("../types.gen").SubscriptionInvoicePayment;
|
|
2040
|
+
}, (Pick<Options<GetSubscriptionInvoicePaymentData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2041
|
+
_id: string;
|
|
2042
|
+
_infinite?: boolean;
|
|
2043
|
+
})[], never> | undefined;
|
|
2044
|
+
} & {
|
|
2045
|
+
queryKey: (Pick<Options<GetSubscriptionInvoicePaymentData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2046
|
+
_id: string;
|
|
2047
|
+
_infinite?: boolean;
|
|
2048
|
+
})[] & {
|
|
2049
|
+
[dataTagSymbol]: {
|
|
2050
|
+
data?: import("../types.gen").SubscriptionInvoicePayment;
|
|
2051
|
+
};
|
|
2052
|
+
[dataTagErrorSymbol]: Error;
|
|
2053
|
+
};
|
|
2054
|
+
};
|
|
2055
|
+
export declare const getSubscriptionInvoiceQueryKey: (options: Options<GetSubscriptionInvoiceData>) => (Pick<Options<GetSubscriptionInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2056
|
+
_id: string;
|
|
2057
|
+
_infinite?: boolean;
|
|
2058
|
+
})[];
|
|
2059
|
+
export declare const getSubscriptionInvoiceOptions: (options: Options<GetSubscriptionInvoiceData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2060
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2061
|
+
}, Error, {
|
|
2062
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2063
|
+
}, (Pick<Options<GetSubscriptionInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2064
|
+
_id: string;
|
|
2065
|
+
_infinite?: boolean;
|
|
2066
|
+
})[]>, "queryFn"> & {
|
|
2067
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2068
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2069
|
+
}, (Pick<Options<GetSubscriptionInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2070
|
+
_id: string;
|
|
2071
|
+
_infinite?: boolean;
|
|
2072
|
+
})[], never> | undefined;
|
|
2073
|
+
} & {
|
|
2074
|
+
queryKey: (Pick<Options<GetSubscriptionInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2075
|
+
_id: string;
|
|
2076
|
+
_infinite?: boolean;
|
|
2077
|
+
})[] & {
|
|
2078
|
+
[dataTagSymbol]: {
|
|
2079
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2080
|
+
};
|
|
2081
|
+
[dataTagErrorSymbol]: Error;
|
|
2082
|
+
};
|
|
2083
|
+
};
|
|
2084
|
+
export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => (Pick<Options<ListInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2085
|
+
_id: string;
|
|
2086
|
+
_infinite?: boolean;
|
|
2087
|
+
})[];
|
|
2088
|
+
export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2089
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
2090
|
+
links?: import("../types.gen").Links2;
|
|
2091
|
+
}, Error, {
|
|
2092
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
2093
|
+
links?: import("../types.gen").Links2;
|
|
2094
|
+
}, (Pick<Options<ListInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2095
|
+
_id: string;
|
|
2096
|
+
_infinite?: boolean;
|
|
2097
|
+
})[]>, "queryFn"> & {
|
|
2098
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2099
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
2100
|
+
links?: import("../types.gen").Links2;
|
|
2101
|
+
}, (Pick<Options<ListInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2102
|
+
_id: string;
|
|
2103
|
+
_infinite?: boolean;
|
|
2104
|
+
})[], never> | undefined;
|
|
2105
|
+
} & {
|
|
2106
|
+
queryKey: (Pick<Options<ListInvoicesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2107
|
+
_id: string;
|
|
2108
|
+
_infinite?: boolean;
|
|
2109
|
+
})[] & {
|
|
2110
|
+
[dataTagSymbol]: {
|
|
2111
|
+
data?: Array<import("../types.gen").SubscriptionInvoice>;
|
|
2112
|
+
links?: import("../types.gen").Links2;
|
|
2113
|
+
};
|
|
2114
|
+
[dataTagErrorSymbol]: Error;
|
|
2115
|
+
};
|
|
2116
|
+
};
|
|
2117
|
+
export declare const getInvoiceQueryKey: (options: Options<GetInvoiceData>) => (Pick<Options<GetInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2118
|
+
_id: string;
|
|
2119
|
+
_infinite?: boolean;
|
|
2120
|
+
})[];
|
|
2121
|
+
export declare const getInvoiceOptions: (options: Options<GetInvoiceData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2122
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2123
|
+
}, Error, {
|
|
2124
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2125
|
+
}, (Pick<Options<GetInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2126
|
+
_id: string;
|
|
2127
|
+
_infinite?: boolean;
|
|
2128
|
+
})[]>, "queryFn"> & {
|
|
2129
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2130
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2131
|
+
}, (Pick<Options<GetInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2132
|
+
_id: string;
|
|
2133
|
+
_infinite?: boolean;
|
|
2134
|
+
})[], never> | undefined;
|
|
2135
|
+
} & {
|
|
2136
|
+
queryKey: (Pick<Options<GetInvoiceData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2137
|
+
_id: string;
|
|
2138
|
+
_infinite?: boolean;
|
|
2139
|
+
})[] & {
|
|
2140
|
+
[dataTagSymbol]: {
|
|
2141
|
+
data?: import("../types.gen").SubscriptionInvoice;
|
|
2142
|
+
};
|
|
2143
|
+
[dataTagErrorSymbol]: Error;
|
|
2144
|
+
};
|
|
2145
|
+
};
|
|
1774
2146
|
export declare const getFeatureQueryKey: (options: Options<GetFeatureData>) => (Pick<Options<GetFeatureData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1775
2147
|
_id: string;
|
|
1776
2148
|
_infinite?: boolean;
|