@epcc-sdk/sdks-shopper 0.0.13 → 0.0.15
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 +22 -0
- package/dist/client/@tanstack/react-query.gen.d.ts +409 -12
- package/dist/client/@tanstack/react-query.gen.js +229 -1
- package/dist/client/sdk.gen.d.ts +161 -4
- package/dist/client/sdk.gen.js +195 -0
- package/dist/client/transformers.gen.d.ts +2 -1
- package/dist/client/transformers.gen.js +16 -0
- package/dist/client/types.gen.d.ts +1481 -431
- package/dist/utils/extract-media.d.ts +15 -0
- package/dist/utils/extract-media.js +54 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -399,6 +399,28 @@ const product = await getByContextProduct({
|
|
|
399
399
|
|
|
400
400
|
- **`createAnAccessToken`** (`POST /oauth/access_token`)
|
|
401
401
|
|
|
402
|
+
- **`getV2AccountAddresses`** (`GET /v2/accounts/{accountID}/addresses`)
|
|
403
|
+
|
|
404
|
+
- **`deleteV2AccountAddress`** (`DELETE /v2/accounts/{accountID}/addresses/{addressID}`)
|
|
405
|
+
|
|
406
|
+
- **`getV2AccountAddress`** (`GET /v2/accounts/{accountID}/addresses/{addressID}`)
|
|
407
|
+
|
|
408
|
+
- **`postV2AccountAddress`** (`POST /v2/accounts/{accountID}/addresses/{addressID}`)
|
|
409
|
+
|
|
410
|
+
- **`putV2AccountAddress`** (`PUT /v2/accounts/{accountID}/addresses/{addressID}`)
|
|
411
|
+
|
|
412
|
+
- **`getV2Accounts`** (`GET /v2/accounts`)
|
|
413
|
+
|
|
414
|
+
- **`getV2AccountsAccountId`** (`GET /v2/accounts/{accountID}`)
|
|
415
|
+
|
|
416
|
+
- **`getV2AccountMembers`** (`GET /v2/account-members`)
|
|
417
|
+
|
|
418
|
+
- **`getV2AccountMembersAccountMemberId`** (`GET /v2/account-members/{accountMemberID}`)
|
|
419
|
+
|
|
420
|
+
- **`getV2AccountsAccountIdAccountMemberships`** (`GET /v2/accounts/{accountID}/account-memberships`)
|
|
421
|
+
|
|
422
|
+
- **`postV2AccountMembersTokens`** (`POST /v2/account-members/tokens`)
|
|
423
|
+
|
|
402
424
|
|
|
403
425
|
|
|
404
426
|
---
|
|
@@ -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 } 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, GetFeatureData, GetStockData, ListLocationsData, CreateAnAccessTokenData, GetV2AccountAddressesData, DeleteV2AccountAddressData, GetV2AccountAddressData, PostV2AccountAddressData, PutV2AccountAddressData, GetV2AccountsData, GetV2AccountsAccountIdData, GetV2AccountMembersData, GetV2AccountMembersAccountMemberIdData, GetV2AccountsAccountIdAccountMembershipsData, PostV2AccountMembersTokensData } 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;
|
|
@@ -1842,31 +1842,428 @@ export declare const createAnAccessTokenQueryKey: (options?: Options<CreateAnAcc
|
|
|
1842
1842
|
_id: string;
|
|
1843
1843
|
_infinite?: boolean;
|
|
1844
1844
|
})[];
|
|
1845
|
-
export declare const createAnAccessTokenOptions: (options?: Options<CreateAnAccessTokenData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1846
|
-
|
|
1845
|
+
export declare const createAnAccessTokenOptions: (options?: Options<CreateAnAccessTokenData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").AccessTokenResponse, Error, import("../types.gen").AccessTokenResponse, (Pick<Options<CreateAnAccessTokenData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1846
|
+
_id: string;
|
|
1847
|
+
_infinite?: boolean;
|
|
1848
|
+
})[]>, "queryFn"> & {
|
|
1849
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").AccessTokenResponse, (Pick<Options<CreateAnAccessTokenData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1850
|
+
_id: string;
|
|
1851
|
+
_infinite?: boolean;
|
|
1852
|
+
})[], never> | undefined;
|
|
1853
|
+
} & {
|
|
1854
|
+
queryKey: (Pick<Options<CreateAnAccessTokenData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1855
|
+
_id: string;
|
|
1856
|
+
_infinite?: boolean;
|
|
1857
|
+
})[] & {
|
|
1858
|
+
[dataTagSymbol]: import("../types.gen").AccessTokenResponse;
|
|
1859
|
+
[dataTagErrorSymbol]: Error;
|
|
1860
|
+
};
|
|
1861
|
+
};
|
|
1862
|
+
export declare const createAnAccessTokenMutation: (options?: Partial<Options<CreateAnAccessTokenData>>) => UseMutationOptions<import("../types.gen").AccessTokenResponse, import("../types.gen").ErrorResponse2, Options<CreateAnAccessTokenData>, unknown>;
|
|
1863
|
+
export declare const getV2AccountAddressesQueryKey: (options: Options<GetV2AccountAddressesData>) => (Pick<Options<GetV2AccountAddressesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1864
|
+
_id: string;
|
|
1865
|
+
_infinite?: boolean;
|
|
1866
|
+
})[];
|
|
1867
|
+
export declare const getV2AccountAddressesOptions: (options: Options<GetV2AccountAddressesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1868
|
+
data?: Array<import("../types.gen").AccountAddressResponse>;
|
|
1847
1869
|
}, Error, {
|
|
1848
|
-
data?: import("../types.gen").
|
|
1849
|
-
}, (Pick<Options<
|
|
1870
|
+
data?: Array<import("../types.gen").AccountAddressResponse>;
|
|
1871
|
+
}, (Pick<Options<GetV2AccountAddressesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1850
1872
|
_id: string;
|
|
1851
1873
|
_infinite?: boolean;
|
|
1852
1874
|
})[]>, "queryFn"> & {
|
|
1853
1875
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1854
|
-
data?: import("../types.gen").
|
|
1855
|
-
}, (Pick<Options<
|
|
1876
|
+
data?: Array<import("../types.gen").AccountAddressResponse>;
|
|
1877
|
+
}, (Pick<Options<GetV2AccountAddressesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1856
1878
|
_id: string;
|
|
1857
1879
|
_infinite?: boolean;
|
|
1858
1880
|
})[], never> | undefined;
|
|
1859
1881
|
} & {
|
|
1860
|
-
queryKey: (Pick<Options<
|
|
1882
|
+
queryKey: (Pick<Options<GetV2AccountAddressesData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1883
|
+
_id: string;
|
|
1884
|
+
_infinite?: boolean;
|
|
1885
|
+
})[] & {
|
|
1886
|
+
[dataTagSymbol]: {
|
|
1887
|
+
data?: Array<import("../types.gen").AccountAddressResponse>;
|
|
1888
|
+
};
|
|
1889
|
+
[dataTagErrorSymbol]: Error;
|
|
1890
|
+
};
|
|
1891
|
+
};
|
|
1892
|
+
export declare const deleteV2AccountAddressMutation: (options?: Partial<Options<DeleteV2AccountAddressData>>) => UseMutationOptions<void, import("../types.gen").AccountAddressesErrorResponse, Options<DeleteV2AccountAddressData>, unknown>;
|
|
1893
|
+
export declare const getV2AccountAddressQueryKey: (options: Options<GetV2AccountAddressData>) => (Pick<Options<GetV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1894
|
+
_id: string;
|
|
1895
|
+
_infinite?: boolean;
|
|
1896
|
+
})[];
|
|
1897
|
+
export declare const getV2AccountAddressOptions: (options: Options<GetV2AccountAddressData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1898
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1899
|
+
}, Error, {
|
|
1900
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1901
|
+
}, (Pick<Options<GetV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1902
|
+
_id: string;
|
|
1903
|
+
_infinite?: boolean;
|
|
1904
|
+
})[]>, "queryFn"> & {
|
|
1905
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1906
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1907
|
+
}, (Pick<Options<GetV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1908
|
+
_id: string;
|
|
1909
|
+
_infinite?: boolean;
|
|
1910
|
+
})[], never> | undefined;
|
|
1911
|
+
} & {
|
|
1912
|
+
queryKey: (Pick<Options<GetV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1913
|
+
_id: string;
|
|
1914
|
+
_infinite?: boolean;
|
|
1915
|
+
})[] & {
|
|
1916
|
+
[dataTagSymbol]: {
|
|
1917
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1918
|
+
};
|
|
1919
|
+
[dataTagErrorSymbol]: Error;
|
|
1920
|
+
};
|
|
1921
|
+
};
|
|
1922
|
+
export declare const postV2AccountAddressQueryKey: (options: Options<PostV2AccountAddressData>) => (Pick<Options<PostV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1923
|
+
_id: string;
|
|
1924
|
+
_infinite?: boolean;
|
|
1925
|
+
})[];
|
|
1926
|
+
export declare const postV2AccountAddressOptions: (options: Options<PostV2AccountAddressData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1927
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1928
|
+
}, Error, {
|
|
1929
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1930
|
+
}, (Pick<Options<PostV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1931
|
+
_id: string;
|
|
1932
|
+
_infinite?: boolean;
|
|
1933
|
+
})[]>, "queryFn"> & {
|
|
1934
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1935
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1936
|
+
}, (Pick<Options<PostV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1937
|
+
_id: string;
|
|
1938
|
+
_infinite?: boolean;
|
|
1939
|
+
})[], never> | undefined;
|
|
1940
|
+
} & {
|
|
1941
|
+
queryKey: (Pick<Options<PostV2AccountAddressData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1942
|
+
_id: string;
|
|
1943
|
+
_infinite?: boolean;
|
|
1944
|
+
})[] & {
|
|
1945
|
+
[dataTagSymbol]: {
|
|
1946
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1947
|
+
};
|
|
1948
|
+
[dataTagErrorSymbol]: Error;
|
|
1949
|
+
};
|
|
1950
|
+
};
|
|
1951
|
+
export declare const postV2AccountAddressMutation: (options?: Partial<Options<PostV2AccountAddressData>>) => UseMutationOptions<{
|
|
1952
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1953
|
+
}, import("../types.gen").AccountAddressesErrorResponse, Options<PostV2AccountAddressData>, unknown>;
|
|
1954
|
+
export declare const putV2AccountAddressMutation: (options?: Partial<Options<PutV2AccountAddressData>>) => UseMutationOptions<{
|
|
1955
|
+
data?: import("../types.gen").AccountAddressResponse;
|
|
1956
|
+
}, import("../types.gen").AccountAddressesErrorResponse, Options<PutV2AccountAddressData>, unknown>;
|
|
1957
|
+
export declare const getV2AccountsQueryKey: (options?: Options<GetV2AccountsData>) => (Pick<Options<GetV2AccountsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1958
|
+
_id: string;
|
|
1959
|
+
_infinite?: boolean;
|
|
1960
|
+
})[];
|
|
1961
|
+
export declare const getV2AccountsOptions: (options?: Options<GetV2AccountsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
1962
|
+
data?: Array<import("../types.gen").AccountResponse>;
|
|
1963
|
+
meta?: import("../types.gen").MetaList;
|
|
1964
|
+
links?: {
|
|
1965
|
+
current?: string;
|
|
1966
|
+
first?: string;
|
|
1967
|
+
last?: string;
|
|
1968
|
+
next?: string;
|
|
1969
|
+
prev?: string;
|
|
1970
|
+
};
|
|
1971
|
+
}, Error, {
|
|
1972
|
+
data?: Array<import("../types.gen").AccountResponse>;
|
|
1973
|
+
meta?: import("../types.gen").MetaList;
|
|
1974
|
+
links?: {
|
|
1975
|
+
current?: string;
|
|
1976
|
+
first?: string;
|
|
1977
|
+
last?: string;
|
|
1978
|
+
next?: string;
|
|
1979
|
+
prev?: string;
|
|
1980
|
+
};
|
|
1981
|
+
}, (Pick<Options<GetV2AccountsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1982
|
+
_id: string;
|
|
1983
|
+
_infinite?: boolean;
|
|
1984
|
+
})[]>, "queryFn"> & {
|
|
1985
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1986
|
+
data?: Array<import("../types.gen").AccountResponse>;
|
|
1987
|
+
meta?: import("../types.gen").MetaList;
|
|
1988
|
+
links?: {
|
|
1989
|
+
current?: string;
|
|
1990
|
+
first?: string;
|
|
1991
|
+
last?: string;
|
|
1992
|
+
next?: string;
|
|
1993
|
+
prev?: string;
|
|
1994
|
+
};
|
|
1995
|
+
}, (Pick<Options<GetV2AccountsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1996
|
+
_id: string;
|
|
1997
|
+
_infinite?: boolean;
|
|
1998
|
+
})[], never> | undefined;
|
|
1999
|
+
} & {
|
|
2000
|
+
queryKey: (Pick<Options<GetV2AccountsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
1861
2001
|
_id: string;
|
|
1862
2002
|
_infinite?: boolean;
|
|
1863
2003
|
})[] & {
|
|
1864
2004
|
[dataTagSymbol]: {
|
|
1865
|
-
data?: import("../types.gen").
|
|
2005
|
+
data?: Array<import("../types.gen").AccountResponse>;
|
|
2006
|
+
meta?: import("../types.gen").MetaList;
|
|
2007
|
+
links?: {
|
|
2008
|
+
current?: string;
|
|
2009
|
+
first?: string;
|
|
2010
|
+
last?: string;
|
|
2011
|
+
next?: string;
|
|
2012
|
+
prev?: string;
|
|
2013
|
+
};
|
|
1866
2014
|
};
|
|
1867
2015
|
[dataTagErrorSymbol]: Error;
|
|
1868
2016
|
};
|
|
1869
2017
|
};
|
|
1870
|
-
export declare const
|
|
1871
|
-
|
|
1872
|
-
|
|
2018
|
+
export declare const getV2AccountsAccountIdQueryKey: (options: Options<GetV2AccountsAccountIdData>) => (Pick<Options<GetV2AccountsAccountIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2019
|
+
_id: string;
|
|
2020
|
+
_infinite?: boolean;
|
|
2021
|
+
})[];
|
|
2022
|
+
export declare const getV2AccountsAccountIdOptions: (options: Options<GetV2AccountsAccountIdData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2023
|
+
data?: import("../types.gen").AccountResponse;
|
|
2024
|
+
}, Error, {
|
|
2025
|
+
data?: import("../types.gen").AccountResponse;
|
|
2026
|
+
}, (Pick<Options<GetV2AccountsAccountIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2027
|
+
_id: string;
|
|
2028
|
+
_infinite?: boolean;
|
|
2029
|
+
})[]>, "queryFn"> & {
|
|
2030
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2031
|
+
data?: import("../types.gen").AccountResponse;
|
|
2032
|
+
}, (Pick<Options<GetV2AccountsAccountIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2033
|
+
_id: string;
|
|
2034
|
+
_infinite?: boolean;
|
|
2035
|
+
})[], never> | undefined;
|
|
2036
|
+
} & {
|
|
2037
|
+
queryKey: (Pick<Options<GetV2AccountsAccountIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2038
|
+
_id: string;
|
|
2039
|
+
_infinite?: boolean;
|
|
2040
|
+
})[] & {
|
|
2041
|
+
[dataTagSymbol]: {
|
|
2042
|
+
data?: import("../types.gen").AccountResponse;
|
|
2043
|
+
};
|
|
2044
|
+
[dataTagErrorSymbol]: Error;
|
|
2045
|
+
};
|
|
2046
|
+
};
|
|
2047
|
+
export declare const getV2AccountMembersQueryKey: (options?: Options<GetV2AccountMembersData>) => (Pick<Options<GetV2AccountMembersData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2048
|
+
_id: string;
|
|
2049
|
+
_infinite?: boolean;
|
|
2050
|
+
})[];
|
|
2051
|
+
export declare const getV2AccountMembersOptions: (options?: Options<GetV2AccountMembersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2052
|
+
data?: Array<import("../types.gen").AccountMemberResponse>;
|
|
2053
|
+
meta?: import("../types.gen").MetaList;
|
|
2054
|
+
links?: {
|
|
2055
|
+
current?: string;
|
|
2056
|
+
first?: string;
|
|
2057
|
+
last?: string;
|
|
2058
|
+
next?: string;
|
|
2059
|
+
prev?: string;
|
|
2060
|
+
};
|
|
2061
|
+
}, Error, {
|
|
2062
|
+
data?: Array<import("../types.gen").AccountMemberResponse>;
|
|
2063
|
+
meta?: import("../types.gen").MetaList;
|
|
2064
|
+
links?: {
|
|
2065
|
+
current?: string;
|
|
2066
|
+
first?: string;
|
|
2067
|
+
last?: string;
|
|
2068
|
+
next?: string;
|
|
2069
|
+
prev?: string;
|
|
2070
|
+
};
|
|
2071
|
+
}, (Pick<Options<GetV2AccountMembersData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2072
|
+
_id: string;
|
|
2073
|
+
_infinite?: boolean;
|
|
2074
|
+
})[]>, "queryFn"> & {
|
|
2075
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2076
|
+
data?: Array<import("../types.gen").AccountMemberResponse>;
|
|
2077
|
+
meta?: import("../types.gen").MetaList;
|
|
2078
|
+
links?: {
|
|
2079
|
+
current?: string;
|
|
2080
|
+
first?: string;
|
|
2081
|
+
last?: string;
|
|
2082
|
+
next?: string;
|
|
2083
|
+
prev?: string;
|
|
2084
|
+
};
|
|
2085
|
+
}, (Pick<Options<GetV2AccountMembersData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2086
|
+
_id: string;
|
|
2087
|
+
_infinite?: boolean;
|
|
2088
|
+
})[], never> | undefined;
|
|
2089
|
+
} & {
|
|
2090
|
+
queryKey: (Pick<Options<GetV2AccountMembersData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2091
|
+
_id: string;
|
|
2092
|
+
_infinite?: boolean;
|
|
2093
|
+
})[] & {
|
|
2094
|
+
[dataTagSymbol]: {
|
|
2095
|
+
data?: Array<import("../types.gen").AccountMemberResponse>;
|
|
2096
|
+
meta?: import("../types.gen").MetaList;
|
|
2097
|
+
links?: {
|
|
2098
|
+
current?: string;
|
|
2099
|
+
first?: string;
|
|
2100
|
+
last?: string;
|
|
2101
|
+
next?: string;
|
|
2102
|
+
prev?: string;
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
[dataTagErrorSymbol]: Error;
|
|
2106
|
+
};
|
|
2107
|
+
};
|
|
2108
|
+
export declare const getV2AccountMembersAccountMemberIdQueryKey: (options: Options<GetV2AccountMembersAccountMemberIdData>) => (Pick<Options<GetV2AccountMembersAccountMemberIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2109
|
+
_id: string;
|
|
2110
|
+
_infinite?: boolean;
|
|
2111
|
+
})[];
|
|
2112
|
+
export declare const getV2AccountMembersAccountMemberIdOptions: (options: Options<GetV2AccountMembersAccountMemberIdData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2113
|
+
data?: import("../types.gen").AccountMemberResponse;
|
|
2114
|
+
}, Error, {
|
|
2115
|
+
data?: import("../types.gen").AccountMemberResponse;
|
|
2116
|
+
}, (Pick<Options<GetV2AccountMembersAccountMemberIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2117
|
+
_id: string;
|
|
2118
|
+
_infinite?: boolean;
|
|
2119
|
+
})[]>, "queryFn"> & {
|
|
2120
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2121
|
+
data?: import("../types.gen").AccountMemberResponse;
|
|
2122
|
+
}, (Pick<Options<GetV2AccountMembersAccountMemberIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2123
|
+
_id: string;
|
|
2124
|
+
_infinite?: boolean;
|
|
2125
|
+
})[], never> | undefined;
|
|
2126
|
+
} & {
|
|
2127
|
+
queryKey: (Pick<Options<GetV2AccountMembersAccountMemberIdData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2128
|
+
_id: string;
|
|
2129
|
+
_infinite?: boolean;
|
|
2130
|
+
})[] & {
|
|
2131
|
+
[dataTagSymbol]: {
|
|
2132
|
+
data?: import("../types.gen").AccountMemberResponse;
|
|
2133
|
+
};
|
|
2134
|
+
[dataTagErrorSymbol]: Error;
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
export declare const getV2AccountsAccountIdAccountMembershipsQueryKey: (options: Options<GetV2AccountsAccountIdAccountMembershipsData>) => (Pick<Options<GetV2AccountsAccountIdAccountMembershipsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2138
|
+
_id: string;
|
|
2139
|
+
_infinite?: boolean;
|
|
2140
|
+
})[];
|
|
2141
|
+
export declare const getV2AccountsAccountIdAccountMembershipsOptions: (options: Options<GetV2AccountsAccountIdAccountMembershipsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2142
|
+
data?: Array<import("../types.gen").AccountMembershipResponse>;
|
|
2143
|
+
meta?: import("../types.gen").MetaList;
|
|
2144
|
+
links?: {
|
|
2145
|
+
current?: string;
|
|
2146
|
+
first?: string;
|
|
2147
|
+
last?: string;
|
|
2148
|
+
next?: string;
|
|
2149
|
+
prev?: string;
|
|
2150
|
+
};
|
|
2151
|
+
}, Error, {
|
|
2152
|
+
data?: Array<import("../types.gen").AccountMembershipResponse>;
|
|
2153
|
+
meta?: import("../types.gen").MetaList;
|
|
2154
|
+
links?: {
|
|
2155
|
+
current?: string;
|
|
2156
|
+
first?: string;
|
|
2157
|
+
last?: string;
|
|
2158
|
+
next?: string;
|
|
2159
|
+
prev?: string;
|
|
2160
|
+
};
|
|
2161
|
+
}, (Pick<Options<GetV2AccountsAccountIdAccountMembershipsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2162
|
+
_id: string;
|
|
2163
|
+
_infinite?: boolean;
|
|
2164
|
+
})[]>, "queryFn"> & {
|
|
2165
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2166
|
+
data?: Array<import("../types.gen").AccountMembershipResponse>;
|
|
2167
|
+
meta?: import("../types.gen").MetaList;
|
|
2168
|
+
links?: {
|
|
2169
|
+
current?: string;
|
|
2170
|
+
first?: string;
|
|
2171
|
+
last?: string;
|
|
2172
|
+
next?: string;
|
|
2173
|
+
prev?: string;
|
|
2174
|
+
};
|
|
2175
|
+
}, (Pick<Options<GetV2AccountsAccountIdAccountMembershipsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2176
|
+
_id: string;
|
|
2177
|
+
_infinite?: boolean;
|
|
2178
|
+
})[], never> | undefined;
|
|
2179
|
+
} & {
|
|
2180
|
+
queryKey: (Pick<Options<GetV2AccountsAccountIdAccountMembershipsData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2181
|
+
_id: string;
|
|
2182
|
+
_infinite?: boolean;
|
|
2183
|
+
})[] & {
|
|
2184
|
+
[dataTagSymbol]: {
|
|
2185
|
+
data?: Array<import("../types.gen").AccountMembershipResponse>;
|
|
2186
|
+
meta?: import("../types.gen").MetaList;
|
|
2187
|
+
links?: {
|
|
2188
|
+
current?: string;
|
|
2189
|
+
first?: string;
|
|
2190
|
+
last?: string;
|
|
2191
|
+
next?: string;
|
|
2192
|
+
prev?: string;
|
|
2193
|
+
};
|
|
2194
|
+
};
|
|
2195
|
+
[dataTagErrorSymbol]: Error;
|
|
2196
|
+
};
|
|
2197
|
+
};
|
|
2198
|
+
export declare const postV2AccountMembersTokensQueryKey: (options?: Options<PostV2AccountMembersTokensData>) => (Pick<Options<PostV2AccountMembersTokensData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2199
|
+
_id: string;
|
|
2200
|
+
_infinite?: boolean;
|
|
2201
|
+
})[];
|
|
2202
|
+
export declare const postV2AccountMembersTokensOptions: (options?: Options<PostV2AccountMembersTokensData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
2203
|
+
data?: Array<import("../types.gen").AccountManagementAuthenticationTokenResponse>;
|
|
2204
|
+
meta?: import("../types.gen").MetaList;
|
|
2205
|
+
links?: {
|
|
2206
|
+
current?: string;
|
|
2207
|
+
first?: string;
|
|
2208
|
+
last?: string;
|
|
2209
|
+
next?: string;
|
|
2210
|
+
prev?: string;
|
|
2211
|
+
};
|
|
2212
|
+
}, Error, {
|
|
2213
|
+
data?: Array<import("../types.gen").AccountManagementAuthenticationTokenResponse>;
|
|
2214
|
+
meta?: import("../types.gen").MetaList;
|
|
2215
|
+
links?: {
|
|
2216
|
+
current?: string;
|
|
2217
|
+
first?: string;
|
|
2218
|
+
last?: string;
|
|
2219
|
+
next?: string;
|
|
2220
|
+
prev?: string;
|
|
2221
|
+
};
|
|
2222
|
+
}, (Pick<Options<PostV2AccountMembersTokensData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2223
|
+
_id: string;
|
|
2224
|
+
_infinite?: boolean;
|
|
2225
|
+
})[]>, "queryFn"> & {
|
|
2226
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
2227
|
+
data?: Array<import("../types.gen").AccountManagementAuthenticationTokenResponse>;
|
|
2228
|
+
meta?: import("../types.gen").MetaList;
|
|
2229
|
+
links?: {
|
|
2230
|
+
current?: string;
|
|
2231
|
+
first?: string;
|
|
2232
|
+
last?: string;
|
|
2233
|
+
next?: string;
|
|
2234
|
+
prev?: string;
|
|
2235
|
+
};
|
|
2236
|
+
}, (Pick<Options<PostV2AccountMembersTokensData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2237
|
+
_id: string;
|
|
2238
|
+
_infinite?: boolean;
|
|
2239
|
+
})[], never> | undefined;
|
|
2240
|
+
} & {
|
|
2241
|
+
queryKey: (Pick<Options<PostV2AccountMembersTokensData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
|
|
2242
|
+
_id: string;
|
|
2243
|
+
_infinite?: boolean;
|
|
2244
|
+
})[] & {
|
|
2245
|
+
[dataTagSymbol]: {
|
|
2246
|
+
data?: Array<import("../types.gen").AccountManagementAuthenticationTokenResponse>;
|
|
2247
|
+
meta?: import("../types.gen").MetaList;
|
|
2248
|
+
links?: {
|
|
2249
|
+
current?: string;
|
|
2250
|
+
first?: string;
|
|
2251
|
+
last?: string;
|
|
2252
|
+
next?: string;
|
|
2253
|
+
prev?: string;
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
[dataTagErrorSymbol]: Error;
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
export declare const postV2AccountMembersTokensMutation: (options?: Partial<Options<PostV2AccountMembersTokensData>>) => UseMutationOptions<{
|
|
2260
|
+
data?: Array<import("../types.gen").AccountManagementAuthenticationTokenResponse>;
|
|
2261
|
+
meta?: import("../types.gen").MetaList;
|
|
2262
|
+
links?: {
|
|
2263
|
+
current?: string;
|
|
2264
|
+
first?: string;
|
|
2265
|
+
last?: string;
|
|
2266
|
+
next?: string;
|
|
2267
|
+
prev?: string;
|
|
2268
|
+
};
|
|
2269
|
+
}, import("../types.gen").AccountManagementErrorResponse, Options<PostV2AccountMembersTokensData>, unknown>;
|