@epcc-sdk/sdks-shopper 0.0.25 → 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 +448 -0
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
import { queryOptions } from "@tanstack/react-query";
|
|
50
|
-
import { getByContextRelease, getByContextAllHierarchies, getByContextHierarchy, getByContextHierarchyNodes, getByContextHierarchyChildNodes, getByContextAllNodes, getByContextNode, getByContextChildNodes, getByContextAllProducts, getByContextProduct, getByContextComponentProductIds, getByContextChildProducts, getByContextProductsForHierarchy, getByContextProductsForNode, configureByContextProduct, getCatalogs, createCatalog, deleteCatalogById, getCatalogById, updateCatalog, deleteReleases, getReleases, publishRelease, deleteReleaseById, getReleaseById, getRules, createRule, deleteRuleById, getRuleById, updateRule, getAllHierarchies, getHierarchy, getHierarchyNodes, getHierarchyChildNodes, getAllNodes, getNode, getChildNodes, getAllProducts, getProduct, getComponentProductIds, getChildProducts, getProductsForHierarchy, getProductsForNode, getCarts, createACart, deleteACart, getCart, updateACart, deleteAllCartItems, getCartItems, manageCarts, bulkUpdateItemsInCart, deleteACartItem, updateACartItem, deleteAccountCartAssociation, createAccountCartAssociation, deleteCustomerCartAssociation, createCustomerCartAssociation, deleteAPromotionViaPromotionCode, addTaxItemToCart, bulkDeleteTaxItemsFromCart, bulkAddTaxItemsToCart, deleteATaxItem, updateATaxItem, bulkDeleteCustomDiscountsFromCart, bulkAddCustomDiscountsToCart, deleteCustomDiscountFromCart, updateCustomDiscountForCart, addCustomDiscountToCartItem, deleteCustomDiscountFromCartItem, updateCustomDiscountForCartItem, createCartPaymentIntent, checkoutApi, getCustomerOrders, getAnOrder, updateAnOrder, getOrderItems, anonymizeOrders, paymentSetup, confirmPayment, captureATransaction, refundATransaction, getOrderTransactions, getATransaction, cancelATransaction, getSubscriptionProduct, getPlan, listOfferings, getOffering, listOfferingPlans, listOfferingFeatures, listOfferingProducts, getFeature, getStock, listLocations, createAnAccessToken, getV2AccountAddresses, postV2AccountAddress, deleteV2AccountAddress, getV2AccountAddress, putV2AccountAddress, getV2Accounts, postV2Accounts, getV2AccountsAccountId, putV2AccountsAccountId, getV2AccountMembers, getV2AccountMembersAccountMemberId, getV2AccountsAccountIdAccountMemberships, postV2AccountMembersTokens, getAllCurrencies, getACurrency, getAllFiles, getAFile, client, } from "../sdk.gen";
|
|
50
|
+
import { getByContextRelease, getByContextAllHierarchies, getByContextHierarchy, getByContextHierarchyNodes, getByContextHierarchyChildNodes, getByContextAllNodes, getByContextNode, getByContextChildNodes, getByContextAllProducts, getByContextProduct, getByContextComponentProductIds, getByContextChildProducts, getByContextProductsForHierarchy, getByContextProductsForNode, configureByContextProduct, getCatalogs, createCatalog, deleteCatalogById, getCatalogById, updateCatalog, deleteReleases, getReleases, publishRelease, deleteReleaseById, getReleaseById, getRules, createRule, deleteRuleById, getRuleById, updateRule, getAllHierarchies, getHierarchy, getHierarchyNodes, getHierarchyChildNodes, getAllNodes, getNode, getChildNodes, getAllProducts, getProduct, getComponentProductIds, getChildProducts, getProductsForHierarchy, getProductsForNode, getCarts, createACart, deleteACart, getCart, updateACart, deleteAllCartItems, getCartItems, manageCarts, bulkUpdateItemsInCart, deleteACartItem, updateACartItem, deleteAccountCartAssociation, createAccountCartAssociation, deleteCustomerCartAssociation, createCustomerCartAssociation, deleteAPromotionViaPromotionCode, addTaxItemToCart, bulkDeleteTaxItemsFromCart, bulkAddTaxItemsToCart, deleteATaxItem, updateATaxItem, bulkDeleteCustomDiscountsFromCart, bulkAddCustomDiscountsToCart, deleteCustomDiscountFromCart, updateCustomDiscountForCart, addCustomDiscountToCartItem, deleteCustomDiscountFromCartItem, updateCustomDiscountForCartItem, createCartPaymentIntent, checkoutApi, getCustomerOrders, getAnOrder, updateAnOrder, getOrderItems, anonymizeOrders, paymentSetup, confirmPayment, captureATransaction, refundATransaction, getOrderTransactions, getATransaction, cancelATransaction, getSubscriptionProduct, getPlan, listOfferings, getOffering, listOfferingPlans, listOfferingFeatures, listOfferingProducts, listSubscriptions, getSubscription, listSubscriptionProducts, listSubscriptionPlans, listSubscriptionStates, getSubscriptionState, listSubscriptionInvoices, listSubscriptionInvoicePayments, getSubscriptionInvoicePayment, getSubscriptionInvoice, listInvoices, getInvoice, getFeature, getStock, listLocations, createAnAccessToken, getV2AccountAddresses, postV2AccountAddress, deleteV2AccountAddress, getV2AccountAddress, putV2AccountAddress, getV2Accounts, postV2Accounts, getV2AccountsAccountId, putV2AccountsAccountId, getV2AccountMembers, getV2AccountMembersAccountMemberId, getV2AccountsAccountIdAccountMemberships, postV2AccountMembersTokens, getAllCurrencies, getACurrency, getAllFiles, getAFile, client, } from "../sdk.gen";
|
|
51
51
|
var createQueryKey = function (id, options, infinite) {
|
|
52
52
|
var _a;
|
|
53
53
|
var params = {
|
|
@@ -2045,6 +2045,226 @@ export var listOfferingProductsOptions = function (options) {
|
|
|
2045
2045
|
queryKey: listOfferingProductsQueryKey(options),
|
|
2046
2046
|
});
|
|
2047
2047
|
};
|
|
2048
|
+
export var listSubscriptionsQueryKey = function (options) { return [createQueryKey("listSubscriptions", options)]; };
|
|
2049
|
+
export var listSubscriptionsOptions = function (options) {
|
|
2050
|
+
return queryOptions({
|
|
2051
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2052
|
+
var data;
|
|
2053
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2054
|
+
return __generator(this, function (_c) {
|
|
2055
|
+
switch (_c.label) {
|
|
2056
|
+
case 0: return [4 /*yield*/, listSubscriptions(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2057
|
+
case 1:
|
|
2058
|
+
data = (_c.sent()).data;
|
|
2059
|
+
return [2 /*return*/, data];
|
|
2060
|
+
}
|
|
2061
|
+
});
|
|
2062
|
+
}); },
|
|
2063
|
+
queryKey: listSubscriptionsQueryKey(options),
|
|
2064
|
+
});
|
|
2065
|
+
};
|
|
2066
|
+
export var getSubscriptionQueryKey = function (options) { return [createQueryKey("getSubscription", options)]; };
|
|
2067
|
+
export var getSubscriptionOptions = function (options) {
|
|
2068
|
+
return queryOptions({
|
|
2069
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2070
|
+
var data;
|
|
2071
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2072
|
+
return __generator(this, function (_c) {
|
|
2073
|
+
switch (_c.label) {
|
|
2074
|
+
case 0: return [4 /*yield*/, getSubscription(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2075
|
+
case 1:
|
|
2076
|
+
data = (_c.sent()).data;
|
|
2077
|
+
return [2 /*return*/, data];
|
|
2078
|
+
}
|
|
2079
|
+
});
|
|
2080
|
+
}); },
|
|
2081
|
+
queryKey: getSubscriptionQueryKey(options),
|
|
2082
|
+
});
|
|
2083
|
+
};
|
|
2084
|
+
export var listSubscriptionProductsQueryKey = function (options) { return [createQueryKey("listSubscriptionProducts", options)]; };
|
|
2085
|
+
export var listSubscriptionProductsOptions = function (options) {
|
|
2086
|
+
return queryOptions({
|
|
2087
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2088
|
+
var data;
|
|
2089
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2090
|
+
return __generator(this, function (_c) {
|
|
2091
|
+
switch (_c.label) {
|
|
2092
|
+
case 0: return [4 /*yield*/, listSubscriptionProducts(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2093
|
+
case 1:
|
|
2094
|
+
data = (_c.sent()).data;
|
|
2095
|
+
return [2 /*return*/, data];
|
|
2096
|
+
}
|
|
2097
|
+
});
|
|
2098
|
+
}); },
|
|
2099
|
+
queryKey: listSubscriptionProductsQueryKey(options),
|
|
2100
|
+
});
|
|
2101
|
+
};
|
|
2102
|
+
export var listSubscriptionPlansQueryKey = function (options) { return [createQueryKey("listSubscriptionPlans", options)]; };
|
|
2103
|
+
export var listSubscriptionPlansOptions = function (options) {
|
|
2104
|
+
return queryOptions({
|
|
2105
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2106
|
+
var data;
|
|
2107
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2108
|
+
return __generator(this, function (_c) {
|
|
2109
|
+
switch (_c.label) {
|
|
2110
|
+
case 0: return [4 /*yield*/, listSubscriptionPlans(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2111
|
+
case 1:
|
|
2112
|
+
data = (_c.sent()).data;
|
|
2113
|
+
return [2 /*return*/, data];
|
|
2114
|
+
}
|
|
2115
|
+
});
|
|
2116
|
+
}); },
|
|
2117
|
+
queryKey: listSubscriptionPlansQueryKey(options),
|
|
2118
|
+
});
|
|
2119
|
+
};
|
|
2120
|
+
export var listSubscriptionStatesQueryKey = function (options) { return [createQueryKey("listSubscriptionStates", options)]; };
|
|
2121
|
+
export var listSubscriptionStatesOptions = function (options) {
|
|
2122
|
+
return queryOptions({
|
|
2123
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2124
|
+
var data;
|
|
2125
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2126
|
+
return __generator(this, function (_c) {
|
|
2127
|
+
switch (_c.label) {
|
|
2128
|
+
case 0: return [4 /*yield*/, listSubscriptionStates(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2129
|
+
case 1:
|
|
2130
|
+
data = (_c.sent()).data;
|
|
2131
|
+
return [2 /*return*/, data];
|
|
2132
|
+
}
|
|
2133
|
+
});
|
|
2134
|
+
}); },
|
|
2135
|
+
queryKey: listSubscriptionStatesQueryKey(options),
|
|
2136
|
+
});
|
|
2137
|
+
};
|
|
2138
|
+
export var getSubscriptionStateQueryKey = function (options) { return [createQueryKey("getSubscriptionState", options)]; };
|
|
2139
|
+
export var getSubscriptionStateOptions = function (options) {
|
|
2140
|
+
return queryOptions({
|
|
2141
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2142
|
+
var data;
|
|
2143
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2144
|
+
return __generator(this, function (_c) {
|
|
2145
|
+
switch (_c.label) {
|
|
2146
|
+
case 0: return [4 /*yield*/, getSubscriptionState(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2147
|
+
case 1:
|
|
2148
|
+
data = (_c.sent()).data;
|
|
2149
|
+
return [2 /*return*/, data];
|
|
2150
|
+
}
|
|
2151
|
+
});
|
|
2152
|
+
}); },
|
|
2153
|
+
queryKey: getSubscriptionStateQueryKey(options),
|
|
2154
|
+
});
|
|
2155
|
+
};
|
|
2156
|
+
export var listSubscriptionInvoicesQueryKey = function (options) { return [createQueryKey("listSubscriptionInvoices", options)]; };
|
|
2157
|
+
export var listSubscriptionInvoicesOptions = function (options) {
|
|
2158
|
+
return queryOptions({
|
|
2159
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2160
|
+
var data;
|
|
2161
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2162
|
+
return __generator(this, function (_c) {
|
|
2163
|
+
switch (_c.label) {
|
|
2164
|
+
case 0: return [4 /*yield*/, listSubscriptionInvoices(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2165
|
+
case 1:
|
|
2166
|
+
data = (_c.sent()).data;
|
|
2167
|
+
return [2 /*return*/, data];
|
|
2168
|
+
}
|
|
2169
|
+
});
|
|
2170
|
+
}); },
|
|
2171
|
+
queryKey: listSubscriptionInvoicesQueryKey(options),
|
|
2172
|
+
});
|
|
2173
|
+
};
|
|
2174
|
+
export var listSubscriptionInvoicePaymentsQueryKey = function (options) { return [createQueryKey("listSubscriptionInvoicePayments", options)]; };
|
|
2175
|
+
export var listSubscriptionInvoicePaymentsOptions = function (options) {
|
|
2176
|
+
return queryOptions({
|
|
2177
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2178
|
+
var data;
|
|
2179
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2180
|
+
return __generator(this, function (_c) {
|
|
2181
|
+
switch (_c.label) {
|
|
2182
|
+
case 0: return [4 /*yield*/, listSubscriptionInvoicePayments(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2183
|
+
case 1:
|
|
2184
|
+
data = (_c.sent()).data;
|
|
2185
|
+
return [2 /*return*/, data];
|
|
2186
|
+
}
|
|
2187
|
+
});
|
|
2188
|
+
}); },
|
|
2189
|
+
queryKey: listSubscriptionInvoicePaymentsQueryKey(options),
|
|
2190
|
+
});
|
|
2191
|
+
};
|
|
2192
|
+
export var getSubscriptionInvoicePaymentQueryKey = function (options) { return [createQueryKey("getSubscriptionInvoicePayment", options)]; };
|
|
2193
|
+
export var getSubscriptionInvoicePaymentOptions = function (options) {
|
|
2194
|
+
return queryOptions({
|
|
2195
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2196
|
+
var data;
|
|
2197
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2198
|
+
return __generator(this, function (_c) {
|
|
2199
|
+
switch (_c.label) {
|
|
2200
|
+
case 0: return [4 /*yield*/, getSubscriptionInvoicePayment(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2201
|
+
case 1:
|
|
2202
|
+
data = (_c.sent()).data;
|
|
2203
|
+
return [2 /*return*/, data];
|
|
2204
|
+
}
|
|
2205
|
+
});
|
|
2206
|
+
}); },
|
|
2207
|
+
queryKey: getSubscriptionInvoicePaymentQueryKey(options),
|
|
2208
|
+
});
|
|
2209
|
+
};
|
|
2210
|
+
export var getSubscriptionInvoiceQueryKey = function (options) { return [createQueryKey("getSubscriptionInvoice", options)]; };
|
|
2211
|
+
export var getSubscriptionInvoiceOptions = function (options) {
|
|
2212
|
+
return queryOptions({
|
|
2213
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2214
|
+
var data;
|
|
2215
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2216
|
+
return __generator(this, function (_c) {
|
|
2217
|
+
switch (_c.label) {
|
|
2218
|
+
case 0: return [4 /*yield*/, getSubscriptionInvoice(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2219
|
+
case 1:
|
|
2220
|
+
data = (_c.sent()).data;
|
|
2221
|
+
return [2 /*return*/, data];
|
|
2222
|
+
}
|
|
2223
|
+
});
|
|
2224
|
+
}); },
|
|
2225
|
+
queryKey: getSubscriptionInvoiceQueryKey(options),
|
|
2226
|
+
});
|
|
2227
|
+
};
|
|
2228
|
+
export var listInvoicesQueryKey = function (options) { return [
|
|
2229
|
+
createQueryKey("listInvoices", options),
|
|
2230
|
+
]; };
|
|
2231
|
+
export var listInvoicesOptions = function (options) {
|
|
2232
|
+
return queryOptions({
|
|
2233
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2234
|
+
var data;
|
|
2235
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2236
|
+
return __generator(this, function (_c) {
|
|
2237
|
+
switch (_c.label) {
|
|
2238
|
+
case 0: return [4 /*yield*/, listInvoices(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2239
|
+
case 1:
|
|
2240
|
+
data = (_c.sent()).data;
|
|
2241
|
+
return [2 /*return*/, data];
|
|
2242
|
+
}
|
|
2243
|
+
});
|
|
2244
|
+
}); },
|
|
2245
|
+
queryKey: listInvoicesQueryKey(options),
|
|
2246
|
+
});
|
|
2247
|
+
};
|
|
2248
|
+
export var getInvoiceQueryKey = function (options) { return [
|
|
2249
|
+
createQueryKey("getInvoice", options),
|
|
2250
|
+
]; };
|
|
2251
|
+
export var getInvoiceOptions = function (options) {
|
|
2252
|
+
return queryOptions({
|
|
2253
|
+
queryFn: function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
2254
|
+
var data;
|
|
2255
|
+
var queryKey = _b.queryKey, signal = _b.signal;
|
|
2256
|
+
return __generator(this, function (_c) {
|
|
2257
|
+
switch (_c.label) {
|
|
2258
|
+
case 0: return [4 /*yield*/, getInvoice(__assign(__assign(__assign({}, options), queryKey[0]), { signal: signal, throwOnError: true }))];
|
|
2259
|
+
case 1:
|
|
2260
|
+
data = (_c.sent()).data;
|
|
2261
|
+
return [2 /*return*/, data];
|
|
2262
|
+
}
|
|
2263
|
+
});
|
|
2264
|
+
}); },
|
|
2265
|
+
queryKey: getInvoiceQueryKey(options),
|
|
2266
|
+
});
|
|
2267
|
+
};
|
|
2048
2268
|
export var getFeatureQueryKey = function (options) { return [
|
|
2049
2269
|
createQueryKey("getFeature", options),
|
|
2050
2270
|
]; };
|
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Options } from "@hey-api/client-fetch";
|
|
2
|
-
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";
|
|
2
|
+
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";
|
|
3
3
|
export declare const client: import("@hey-api/client-fetch").Client<Request, Response, unknown, import("@hey-api/client-fetch").RequestOptions<boolean, string>>;
|
|
4
4
|
/**
|
|
5
5
|
* Get the catalog release as shoppers
|
|
@@ -2258,6 +2258,126 @@ export declare const listOfferingProducts: <ThrowOnError extends boolean = false
|
|
|
2258
2258
|
data?: Array<import("./types.gen").OfferingProduct>;
|
|
2259
2259
|
links?: import("./types.gen").Links2;
|
|
2260
2260
|
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2261
|
+
/**
|
|
2262
|
+
* List subscriptions
|
|
2263
|
+
* Retrieves a list of all subscriptions.
|
|
2264
|
+
*
|
|
2265
|
+
* ### Filtering
|
|
2266
|
+
*
|
|
2267
|
+
* This endpoint supports filtering. For the general syntax, see [**Filtering**](/guides/Getting-Started/filtering).
|
|
2268
|
+
*
|
|
2269
|
+
* The following attributes and operators are supported.
|
|
2270
|
+
*
|
|
2271
|
+
* | Operator | Attribute | Description |
|
|
2272
|
+
* | --- | --- | --- |
|
|
2273
|
+
* | `eq` | `account_id`, `name`, `email`, `external_ref` | Equals. Checks if the values of two operands are equal. If they are, the condition is true. |
|
|
2274
|
+
*
|
|
2275
|
+
* ### Including Resources
|
|
2276
|
+
*
|
|
2277
|
+
* You can use the `include` parameter to include the following resources with this endpoint.
|
|
2278
|
+
*
|
|
2279
|
+
* | Resource | Required | Description |
|
|
2280
|
+
* | --- | --- | --- |
|
|
2281
|
+
* | `plans, products` | Optional | Retrieves all plans and products associated with a subscription. |
|
|
2282
|
+
* | `products` | Optional | Retrieves all products associated with a subscription. |
|
|
2283
|
+
* | `plans` | Optional | Retrieves all plans associated with a subscription. |
|
|
2284
|
+
*
|
|
2285
|
+
* See [Characteristics of Include Parameter](/guides/Getting-Started/includes#characteristics-of-include-parameter).
|
|
2286
|
+
*
|
|
2287
|
+
*/
|
|
2288
|
+
export declare const listSubscriptions: <ThrowOnError extends boolean = false>(options?: Options<ListSubscriptionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2289
|
+
data?: Array<import("./types.gen").Subscription>;
|
|
2290
|
+
included?: import("./types.gen").SubscriptionIncludes;
|
|
2291
|
+
links?: import("./types.gen").Links2;
|
|
2292
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2293
|
+
/**
|
|
2294
|
+
* Get subscription
|
|
2295
|
+
*/
|
|
2296
|
+
export declare const getSubscription: <ThrowOnError extends boolean = false>(options: Options<GetSubscriptionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2297
|
+
data?: import("./types.gen").Subscription;
|
|
2298
|
+
included?: import("./types.gen").SubscriptionIncludes;
|
|
2299
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2300
|
+
/**
|
|
2301
|
+
* List subscription products
|
|
2302
|
+
* Retrieves a list of products associated with the specified subscription.
|
|
2303
|
+
*/
|
|
2304
|
+
export declare const listSubscriptionProducts: <ThrowOnError extends boolean = false>(options: Options<ListSubscriptionProductsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2305
|
+
data?: Array<import("./types.gen").OfferingProduct>;
|
|
2306
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2307
|
+
/**
|
|
2308
|
+
* List subscription plans
|
|
2309
|
+
* Retrieves a list of plans associated with the specified subscription. Using this endpoint you can see the plans that are currently active in a subscription. If `active_plan` is `true`, a plan is active in a subscription. If `active_plan` is null, the plan is not active.
|
|
2310
|
+
*/
|
|
2311
|
+
export declare const listSubscriptionPlans: <ThrowOnError extends boolean = false>(options: Options<ListSubscriptionPlansData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2312
|
+
data?: Array<import("./types.gen").OfferingPlan>;
|
|
2313
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2314
|
+
/**
|
|
2315
|
+
* List subscription states
|
|
2316
|
+
*/
|
|
2317
|
+
export declare const listSubscriptionStates: <ThrowOnError extends boolean = false>(options: Options<ListSubscriptionStatesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2318
|
+
data?: Array<import("./types.gen").SubscriptionState>;
|
|
2319
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2320
|
+
/**
|
|
2321
|
+
* Get subscription state
|
|
2322
|
+
*/
|
|
2323
|
+
export declare const getSubscriptionState: <ThrowOnError extends boolean = false>(options: Options<GetSubscriptionStateData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2324
|
+
data?: import("./types.gen").SubscriptionState;
|
|
2325
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2326
|
+
/**
|
|
2327
|
+
* List subscription invoices
|
|
2328
|
+
* Lists all invoices for a given subscription.
|
|
2329
|
+
*/
|
|
2330
|
+
export declare const listSubscriptionInvoices: <ThrowOnError extends boolean = false>(options: Options<ListSubscriptionInvoicesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2331
|
+
data?: Array<import("./types.gen").SubscriptionInvoice>;
|
|
2332
|
+
links?: import("./types.gen").Links2;
|
|
2333
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2334
|
+
/**
|
|
2335
|
+
* List subscription invoice payments
|
|
2336
|
+
* Lists all invoice payments for a given invoice.
|
|
2337
|
+
*/
|
|
2338
|
+
export declare const listSubscriptionInvoicePayments: <ThrowOnError extends boolean = false>(options: Options<ListSubscriptionInvoicePaymentsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2339
|
+
data?: Array<import("./types.gen").SubscriptionInvoicePayment>;
|
|
2340
|
+
links?: import("./types.gen").Links2;
|
|
2341
|
+
}, unknown, ThrowOnError>;
|
|
2342
|
+
/**
|
|
2343
|
+
* Get subscription invoice payment
|
|
2344
|
+
* Gets a specific payment for a given invoice.
|
|
2345
|
+
*/
|
|
2346
|
+
export declare const getSubscriptionInvoicePayment: <ThrowOnError extends boolean = false>(options: Options<GetSubscriptionInvoicePaymentData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2347
|
+
data?: import("./types.gen").SubscriptionInvoicePayment;
|
|
2348
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2349
|
+
/**
|
|
2350
|
+
* Get subscription invoice
|
|
2351
|
+
* Gets a specific invoice for a given subscription.
|
|
2352
|
+
*/
|
|
2353
|
+
export declare const getSubscriptionInvoice: <ThrowOnError extends boolean = false>(options: Options<GetSubscriptionInvoiceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2354
|
+
data?: import("./types.gen").SubscriptionInvoice;
|
|
2355
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2356
|
+
/**
|
|
2357
|
+
* List invoices
|
|
2358
|
+
* Retrieves a list of all invoices.
|
|
2359
|
+
*
|
|
2360
|
+
* ### Filtering
|
|
2361
|
+
*
|
|
2362
|
+
* This endpoint supports filtering. For the general syntax, see [**Filtering**](/guides/Getting-Started/filtering).
|
|
2363
|
+
*
|
|
2364
|
+
* The following attributes and operators are supported.
|
|
2365
|
+
*
|
|
2366
|
+
* | Operator |Attribute | Description |
|
|
2367
|
+
* | --- | --- | --- |
|
|
2368
|
+
* | `eq` | `subscriber_id`, `subscription_id`, `outstanding`, `tax_required` | Equals. Checks if the values of two operands are equal. If they are, the condition is true. |
|
|
2369
|
+
*
|
|
2370
|
+
*/
|
|
2371
|
+
export declare const listInvoices: <ThrowOnError extends boolean = false>(options?: Options<ListInvoicesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2372
|
+
data?: Array<import("./types.gen").SubscriptionInvoice>;
|
|
2373
|
+
links?: import("./types.gen").Links2;
|
|
2374
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2375
|
+
/**
|
|
2376
|
+
* Get invoice
|
|
2377
|
+
*/
|
|
2378
|
+
export declare const getInvoice: <ThrowOnError extends boolean = false>(options: Options<GetInvoiceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
2379
|
+
data?: import("./types.gen").SubscriptionInvoice;
|
|
2380
|
+
}, import("./types.gen").SubscriptionsErrorResponse, ThrowOnError>;
|
|
2261
2381
|
/**
|
|
2262
2382
|
* Get feature
|
|
2263
2383
|
*/
|
package/dist/client/sdk.gen.js
CHANGED
|
@@ -2928,6 +2928,192 @@ export var listOfferingProducts = function (options) {
|
|
|
2928
2928
|
},
|
|
2929
2929
|
], url: "/v2/subscriptions/offerings/{offering_uuid}/products" }));
|
|
2930
2930
|
};
|
|
2931
|
+
/**
|
|
2932
|
+
* List subscriptions
|
|
2933
|
+
* Retrieves a list of all subscriptions.
|
|
2934
|
+
*
|
|
2935
|
+
* ### Filtering
|
|
2936
|
+
*
|
|
2937
|
+
* This endpoint supports filtering. For the general syntax, see [**Filtering**](/guides/Getting-Started/filtering).
|
|
2938
|
+
*
|
|
2939
|
+
* The following attributes and operators are supported.
|
|
2940
|
+
*
|
|
2941
|
+
* | Operator | Attribute | Description |
|
|
2942
|
+
* | --- | --- | --- |
|
|
2943
|
+
* | `eq` | `account_id`, `name`, `email`, `external_ref` | Equals. Checks if the values of two operands are equal. If they are, the condition is true. |
|
|
2944
|
+
*
|
|
2945
|
+
* ### Including Resources
|
|
2946
|
+
*
|
|
2947
|
+
* You can use the `include` parameter to include the following resources with this endpoint.
|
|
2948
|
+
*
|
|
2949
|
+
* | Resource | Required | Description |
|
|
2950
|
+
* | --- | --- | --- |
|
|
2951
|
+
* | `plans, products` | Optional | Retrieves all plans and products associated with a subscription. |
|
|
2952
|
+
* | `products` | Optional | Retrieves all products associated with a subscription. |
|
|
2953
|
+
* | `plans` | Optional | Retrieves all plans associated with a subscription. |
|
|
2954
|
+
*
|
|
2955
|
+
* See [Characteristics of Include Parameter](/guides/Getting-Started/includes#characteristics-of-include-parameter).
|
|
2956
|
+
*
|
|
2957
|
+
*/
|
|
2958
|
+
export var listSubscriptions = function (options) {
|
|
2959
|
+
var _a;
|
|
2960
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
2961
|
+
{
|
|
2962
|
+
scheme: "bearer",
|
|
2963
|
+
type: "http",
|
|
2964
|
+
},
|
|
2965
|
+
], url: "/v2/subscriptions/subscriptions" }));
|
|
2966
|
+
};
|
|
2967
|
+
/**
|
|
2968
|
+
* Get subscription
|
|
2969
|
+
*/
|
|
2970
|
+
export var getSubscription = function (options) {
|
|
2971
|
+
var _a;
|
|
2972
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
2973
|
+
{
|
|
2974
|
+
scheme: "bearer",
|
|
2975
|
+
type: "http",
|
|
2976
|
+
},
|
|
2977
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}" }));
|
|
2978
|
+
};
|
|
2979
|
+
/**
|
|
2980
|
+
* List subscription products
|
|
2981
|
+
* Retrieves a list of products associated with the specified subscription.
|
|
2982
|
+
*/
|
|
2983
|
+
export var listSubscriptionProducts = function (options) {
|
|
2984
|
+
var _a;
|
|
2985
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
2986
|
+
{
|
|
2987
|
+
scheme: "bearer",
|
|
2988
|
+
type: "http",
|
|
2989
|
+
},
|
|
2990
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/products" }));
|
|
2991
|
+
};
|
|
2992
|
+
/**
|
|
2993
|
+
* List subscription plans
|
|
2994
|
+
* Retrieves a list of plans associated with the specified subscription. Using this endpoint you can see the plans that are currently active in a subscription. If `active_plan` is `true`, a plan is active in a subscription. If `active_plan` is null, the plan is not active.
|
|
2995
|
+
*/
|
|
2996
|
+
export var listSubscriptionPlans = function (options) {
|
|
2997
|
+
var _a;
|
|
2998
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
2999
|
+
{
|
|
3000
|
+
scheme: "bearer",
|
|
3001
|
+
type: "http",
|
|
3002
|
+
},
|
|
3003
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/plans" }));
|
|
3004
|
+
};
|
|
3005
|
+
/**
|
|
3006
|
+
* List subscription states
|
|
3007
|
+
*/
|
|
3008
|
+
export var listSubscriptionStates = function (options) {
|
|
3009
|
+
var _a;
|
|
3010
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3011
|
+
{
|
|
3012
|
+
scheme: "bearer",
|
|
3013
|
+
type: "http",
|
|
3014
|
+
},
|
|
3015
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/states" }));
|
|
3016
|
+
};
|
|
3017
|
+
/**
|
|
3018
|
+
* Get subscription state
|
|
3019
|
+
*/
|
|
3020
|
+
export var getSubscriptionState = function (options) {
|
|
3021
|
+
var _a;
|
|
3022
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3023
|
+
{
|
|
3024
|
+
scheme: "bearer",
|
|
3025
|
+
type: "http",
|
|
3026
|
+
},
|
|
3027
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/states/{state_uuid}" }));
|
|
3028
|
+
};
|
|
3029
|
+
/**
|
|
3030
|
+
* List subscription invoices
|
|
3031
|
+
* Lists all invoices for a given subscription.
|
|
3032
|
+
*/
|
|
3033
|
+
export var listSubscriptionInvoices = function (options) {
|
|
3034
|
+
var _a;
|
|
3035
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3036
|
+
{
|
|
3037
|
+
scheme: "bearer",
|
|
3038
|
+
type: "http",
|
|
3039
|
+
},
|
|
3040
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/invoices" }));
|
|
3041
|
+
};
|
|
3042
|
+
/**
|
|
3043
|
+
* List subscription invoice payments
|
|
3044
|
+
* Lists all invoice payments for a given invoice.
|
|
3045
|
+
*/
|
|
3046
|
+
export var listSubscriptionInvoicePayments = function (options) {
|
|
3047
|
+
var _a;
|
|
3048
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3049
|
+
{
|
|
3050
|
+
scheme: "bearer",
|
|
3051
|
+
type: "http",
|
|
3052
|
+
},
|
|
3053
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/invoices/{invoice_uuid}/payments" }));
|
|
3054
|
+
};
|
|
3055
|
+
/**
|
|
3056
|
+
* Get subscription invoice payment
|
|
3057
|
+
* Gets a specific payment for a given invoice.
|
|
3058
|
+
*/
|
|
3059
|
+
export var getSubscriptionInvoicePayment = function (options) {
|
|
3060
|
+
var _a;
|
|
3061
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3062
|
+
{
|
|
3063
|
+
scheme: "bearer",
|
|
3064
|
+
type: "http",
|
|
3065
|
+
},
|
|
3066
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/invoices/{invoice_uuid}/payments/{payment_uuid}" }));
|
|
3067
|
+
};
|
|
3068
|
+
/**
|
|
3069
|
+
* Get subscription invoice
|
|
3070
|
+
* Gets a specific invoice for a given subscription.
|
|
3071
|
+
*/
|
|
3072
|
+
export var getSubscriptionInvoice = function (options) {
|
|
3073
|
+
var _a;
|
|
3074
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3075
|
+
{
|
|
3076
|
+
scheme: "bearer",
|
|
3077
|
+
type: "http",
|
|
3078
|
+
},
|
|
3079
|
+
], url: "/v2/subscriptions/subscriptions/{subscription_uuid}/invoices/{invoice_uuid}" }));
|
|
3080
|
+
};
|
|
3081
|
+
/**
|
|
3082
|
+
* List invoices
|
|
3083
|
+
* Retrieves a list of all invoices.
|
|
3084
|
+
*
|
|
3085
|
+
* ### Filtering
|
|
3086
|
+
*
|
|
3087
|
+
* This endpoint supports filtering. For the general syntax, see [**Filtering**](/guides/Getting-Started/filtering).
|
|
3088
|
+
*
|
|
3089
|
+
* The following attributes and operators are supported.
|
|
3090
|
+
*
|
|
3091
|
+
* | Operator |Attribute | Description |
|
|
3092
|
+
* | --- | --- | --- |
|
|
3093
|
+
* | `eq` | `subscriber_id`, `subscription_id`, `outstanding`, `tax_required` | Equals. Checks if the values of two operands are equal. If they are, the condition is true. |
|
|
3094
|
+
*
|
|
3095
|
+
*/
|
|
3096
|
+
export var listInvoices = function (options) {
|
|
3097
|
+
var _a;
|
|
3098
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3099
|
+
{
|
|
3100
|
+
scheme: "bearer",
|
|
3101
|
+
type: "http",
|
|
3102
|
+
},
|
|
3103
|
+
], url: "/v2/subscriptions/invoices" }));
|
|
3104
|
+
};
|
|
3105
|
+
/**
|
|
3106
|
+
* Get invoice
|
|
3107
|
+
*/
|
|
3108
|
+
export var getInvoice = function (options) {
|
|
3109
|
+
var _a;
|
|
3110
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).get(__assign(__assign({}, options), { security: [
|
|
3111
|
+
{
|
|
3112
|
+
scheme: "bearer",
|
|
3113
|
+
type: "http",
|
|
3114
|
+
},
|
|
3115
|
+
], url: "/v2/subscriptions/invoices/{invoice_uuid}" }));
|
|
3116
|
+
};
|
|
2931
3117
|
/**
|
|
2932
3118
|
* Get feature
|
|
2933
3119
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GetByContextReleaseResponse, GetByContextAllHierarchiesResponse, GetByContextHierarchyResponse, GetByContextHierarchyNodesResponse, GetByContextHierarchyChildNodesResponse, GetByContextAllNodesResponse, GetByContextNodeResponse, GetByContextChildNodesResponse, GetByContextAllProductsResponse, GetByContextProductResponse, GetByContextComponentProductIdsResponse, GetByContextChildProductsResponse, GetByContextProductsForHierarchyResponse, GetByContextProductsForNodeResponse, ConfigureByContextProductResponse, GetCatalogsResponse, CreateCatalogResponse, GetCatalogByIdResponse, UpdateCatalogResponse, GetReleasesResponse, PublishReleaseResponse, GetReleaseByIdResponse, GetRulesResponse, CreateRuleResponse, GetRuleByIdResponse, UpdateRuleResponse, GetAllHierarchiesResponse, GetHierarchyResponse, GetHierarchyNodesResponse, GetHierarchyChildNodesResponse, GetAllNodesResponse, GetNodeResponse, GetChildNodesResponse, GetAllProductsResponse, GetProductResponse, GetComponentProductIdsResponse, GetChildProductsResponse, GetProductsForHierarchyResponse, GetProductsForNodeResponse, GetSubscriptionProductResponse, ListOfferingsResponse, GetOfferingResponse, ListOfferingProductsResponse, GetStockResponse, PutV2AccountsAccountIdResponse, PostV2AccountMembersTokensResponse } from "./types.gen";
|
|
1
|
+
import type { GetByContextReleaseResponse, GetByContextAllHierarchiesResponse, GetByContextHierarchyResponse, GetByContextHierarchyNodesResponse, GetByContextHierarchyChildNodesResponse, GetByContextAllNodesResponse, GetByContextNodeResponse, GetByContextChildNodesResponse, GetByContextAllProductsResponse, GetByContextProductResponse, GetByContextComponentProductIdsResponse, GetByContextChildProductsResponse, GetByContextProductsForHierarchyResponse, GetByContextProductsForNodeResponse, ConfigureByContextProductResponse, GetCatalogsResponse, CreateCatalogResponse, GetCatalogByIdResponse, UpdateCatalogResponse, GetReleasesResponse, PublishReleaseResponse, GetReleaseByIdResponse, GetRulesResponse, CreateRuleResponse, GetRuleByIdResponse, UpdateRuleResponse, GetAllHierarchiesResponse, GetHierarchyResponse, GetHierarchyNodesResponse, GetHierarchyChildNodesResponse, GetAllNodesResponse, GetNodeResponse, GetChildNodesResponse, GetAllProductsResponse, GetProductResponse, GetComponentProductIdsResponse, GetChildProductsResponse, GetProductsForHierarchyResponse, GetProductsForNodeResponse, GetSubscriptionProductResponse, ListOfferingsResponse, GetOfferingResponse, ListOfferingProductsResponse, ListSubscriptionsResponse, GetSubscriptionResponse, ListSubscriptionProductsResponse, ListSubscriptionInvoicesResponse, ListSubscriptionInvoicePaymentsResponse, GetSubscriptionInvoicePaymentResponse, GetSubscriptionInvoiceResponse, ListInvoicesResponse, GetInvoiceResponse, GetStockResponse, PutV2AccountsAccountIdResponse, PostV2AccountMembersTokensResponse } from "./types.gen";
|
|
2
2
|
export declare const getByContextReleaseResponseTransformer: (data: any) => Promise<GetByContextReleaseResponse>;
|
|
3
3
|
export declare const getByContextAllHierarchiesResponseTransformer: (data: any) => Promise<GetByContextAllHierarchiesResponse>;
|
|
4
4
|
export declare const getByContextHierarchyResponseTransformer: (data: any) => Promise<GetByContextHierarchyResponse>;
|
|
@@ -42,6 +42,15 @@ export declare const getSubscriptionProductResponseTransformer: (data: any) => P
|
|
|
42
42
|
export declare const listOfferingsResponseTransformer: (data: any) => Promise<ListOfferingsResponse>;
|
|
43
43
|
export declare const getOfferingResponseTransformer: (data: any) => Promise<GetOfferingResponse>;
|
|
44
44
|
export declare const listOfferingProductsResponseTransformer: (data: any) => Promise<ListOfferingProductsResponse>;
|
|
45
|
+
export declare const listSubscriptionsResponseTransformer: (data: any) => Promise<ListSubscriptionsResponse>;
|
|
46
|
+
export declare const getSubscriptionResponseTransformer: (data: any) => Promise<GetSubscriptionResponse>;
|
|
47
|
+
export declare const listSubscriptionProductsResponseTransformer: (data: any) => Promise<ListSubscriptionProductsResponse>;
|
|
48
|
+
export declare const listSubscriptionInvoicesResponseTransformer: (data: any) => Promise<ListSubscriptionInvoicesResponse>;
|
|
49
|
+
export declare const listSubscriptionInvoicePaymentsResponseTransformer: (data: any) => Promise<ListSubscriptionInvoicePaymentsResponse>;
|
|
50
|
+
export declare const getSubscriptionInvoicePaymentResponseTransformer: (data: any) => Promise<GetSubscriptionInvoicePaymentResponse>;
|
|
51
|
+
export declare const getSubscriptionInvoiceResponseTransformer: (data: any) => Promise<GetSubscriptionInvoiceResponse>;
|
|
52
|
+
export declare const listInvoicesResponseTransformer: (data: any) => Promise<ListInvoicesResponse>;
|
|
53
|
+
export declare const getInvoiceResponseTransformer: (data: any) => Promise<GetInvoiceResponse>;
|
|
45
54
|
export declare const getStockResponseTransformer: (data: any) => Promise<GetStockResponse>;
|
|
46
55
|
export declare const putV2AccountsAccountIdResponseTransformer: (data: any) => Promise<PutV2AccountsAccountIdResponse>;
|
|
47
56
|
export declare const postV2AccountMembersTokensResponseTransformer: (data: any) => Promise<PostV2AccountMembersTokensResponse>;
|