@epcc-sdk/sdks-shopper 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/client/@tanstack/react-query.gen.cjs +2790 -0
- package/dist/client/@tanstack/react-query.gen.cjs.map +1 -0
- package/dist/client/@tanstack/react-query.gen.d.cts +2877 -0
- package/dist/client/@tanstack/react-query.gen.d.ts +821 -794
- package/dist/client/@tanstack/react-query.gen.mjs +2647 -0
- package/dist/client/@tanstack/react-query.gen.mjs.map +1 -0
- package/dist/client/index.cjs +25 -0
- package/dist/client/index.cjs.map +1 -0
- package/dist/client/index.d.cts +3 -0
- package/dist/client/index.d.ts +3 -2
- package/dist/client/index.mjs +3 -0
- package/dist/client/index.mjs.map +1 -0
- package/dist/client/sdk.gen.cjs +1959 -0
- package/dist/client/sdk.gen.cjs.map +1 -0
- package/dist/client/{sdk.gen.js → sdk.gen.d.cts} +338 -1134
- package/dist/client/sdk.gen.d.ts +285 -273
- package/dist/client/sdk.gen.mjs +1812 -0
- package/dist/client/sdk.gen.mjs.map +1 -0
- package/dist/client/transformers.gen.cjs +821 -0
- package/dist/client/transformers.gen.cjs.map +1 -0
- package/dist/client/transformers.gen.d.cts +60 -0
- package/dist/client/transformers.gen.d.ts +60 -56
- package/dist/client/transformers.gen.mjs +742 -0
- package/dist/client/transformers.gen.mjs.map +1 -0
- package/dist/client/types.gen.cjs +17 -0
- package/dist/client/types.gen.cjs.map +1 -0
- package/dist/client/types.gen.d.cts +10820 -0
- package/dist/client/types.gen.d.ts +1399 -1127
- package/dist/client/types.gen.mjs +1 -0
- package/dist/client/types.gen.mjs.map +1 -0
- package/dist/index.cjs +40 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +1 -0
- package/dist/utils/extract-media.cjs +54 -0
- package/dist/utils/extract-media.cjs.map +1 -0
- package/dist/utils/extract-media.d.cts +18 -0
- package/dist/utils/extract-media.d.ts +6 -3
- package/dist/utils/extract-media.mjs +30 -0
- package/dist/utils/extract-media.mjs.map +1 -0
- package/dist/utils/extract-product-image.cjs +35 -0
- package/dist/utils/extract-product-image.cjs.map +1 -0
- package/dist/utils/extract-product-image.d.cts +5 -0
- package/dist/utils/extract-product-image.d.ts +5 -2
- package/dist/utils/extract-product-image.mjs +11 -0
- package/dist/utils/extract-product-image.mjs.map +1 -0
- package/dist/utils/index.cjs +32 -0
- package/dist/utils/index.cjs.map +1 -0
- package/dist/utils/index.d.cts +3 -0
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.mjs +7 -0
- package/dist/utils/index.mjs.map +1 -0
- package/package.json +23 -15
- package/dist/client/@tanstack/react-query.gen.js +0 -2717
- package/dist/client/index.js +0 -3
- package/dist/client/transformers.gen.js +0 -789
- package/dist/client/types.gen.js +0 -2
- package/dist/index.js +0 -6
- package/dist/utils/extract-media.js +0 -54
- package/dist/utils/extract-product-image.js +0 -8
- package/dist/utils/index.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.gen.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var index_exports = {};
|
|
21
|
+
__export(index_exports, {
|
|
22
|
+
client: () => import_sdk.client,
|
|
23
|
+
createClient: () => import_client_fetch.createClient,
|
|
24
|
+
extractProductImage: () => import_utils.extractProductImage
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(index_exports);
|
|
27
|
+
__reExport(index_exports, require('./client/index.cjs'), module.exports);
|
|
28
|
+
__reExport(index_exports, require('./client/@tanstack/react-query.gen.cjs'), module.exports);
|
|
29
|
+
var import_client_fetch = require("@hey-api/client-fetch");
|
|
30
|
+
var import_sdk = require('./client/sdk.gen.cjs');
|
|
31
|
+
var import_utils = require('./utils/index.cjs');
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
client,
|
|
35
|
+
createClient,
|
|
36
|
+
extractProductImage,
|
|
37
|
+
...require('./client/index.cjs'),
|
|
38
|
+
...require('./client/@tanstack/react-query.gen.cjs')
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from \"./client\"\nexport * from \"./client/@tanstack/react-query.gen\"\nimport { type Client, createClient } from \"@hey-api/client-fetch\"\nexport { createClient, type Client }\nexport { client } from \"./client/sdk.gen\"\nexport { extractProductImage } from \"./utils\"\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAc,qBAAd;AACA,0BAAc,+CADd;AAEA,0BAA0C;AAE1C,iBAAuB;AACvB,mBAAoC;","names":[]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { AcceptLanguage, AccessTokenRequest, AccessTokenResponse, Account, AccountAddressResponse, AccountAddressesError, AccountAddressesErrorResponse, AccountAddressesMetaTimestamps, AccountAuthenticationSettings, AccountAuthenticationSettingsResponse, AccountCheckout, AccountManagementAuthenticationToken, AccountManagementAuthenticationTokenResponse, AccountManagementError, AccountManagementErrorResponse, AccountManagementMetaTimestamps, AccountMember, AccountMemberResponse, AccountMemberSelfManagement, AccountMembership, AccountMembershipResponse, AccountMembershipResponseUsingAccountMemberId, AccountMembershipSettings, AccountResponse, Action, ActivePlan, AddAllOrNothingOptionsObject, AddCustomDiscountToCartItemData, AddCustomDiscountToCartItemError, AddCustomDiscountToCartItemErrors, AddCustomDiscountToCartItemResponse, AddCustomDiscountToCartItemResponses, AddTaxItemToCartData, AddTaxItemToCartError, AddTaxItemToCartErrors, AddTaxItemToCartResponse, AddTaxItemToCartResponses, Address, AddressResponse, Amount, AnonymizeOrdersData, AnonymizeOrdersError, AnonymizeOrdersErrors, AnonymizeOrdersResponse, AnonymizeOrdersResponses, AuthenticationRealm, AuthenticationRealmListResponse, AuthenticationRealmResponse, AuthenticationRealmUpdateRequest, BillingAddress, BillingIntervalType, BillingRunReport, BuildOffering, BuildSubscription, BulkAddCustomDiscountsToCartData, BulkAddCustomDiscountsToCartError, BulkAddCustomDiscountsToCartErrors, BulkAddCustomDiscountsToCartResponse, BulkAddCustomDiscountsToCartResponses, BulkAddItemsRequest, BulkAddTaxItemsToCartData, BulkAddTaxItemsToCartError, BulkAddTaxItemsToCartErrors, BulkAddTaxItemsToCartResponse, BulkAddTaxItemsToCartResponses, BulkDeleteCustomDiscountsFromCartData, BulkDeleteCustomDiscountsFromCartError, BulkDeleteCustomDiscountsFromCartErrors, BulkDeleteCustomDiscountsFromCartResponse, BulkDeleteCustomDiscountsFromCartResponses, BulkDeleteTaxItemsFromCartData, BulkDeleteTaxItemsFromCartError, BulkDeleteTaxItemsFromCartErrors, BulkDeleteTaxItemsFromCartResponse, BulkDeleteTaxItemsFromCartResponses, BulkUpdateCartsItems, BulkUpdateItemsInCartData, BulkUpdateItemsInCartError, BulkUpdateItemsInCartErrors, BulkUpdateItemsInCartResponses, BundleConfiguration, BundleConfigurationData, BundleConfigurationData2, CancelATransactionData, CancelATransactionError, CancelATransactionErrors, CancelATransactionResponse, CancelATransactionResponses, CaptureATransactionData, CaptureATransactionError, CaptureATransactionErrors, CaptureATransactionResponse, CaptureATransactionResponses, CartCheckoutTimestamps, CartContact, CartInclude, CartInclude2, CartItemBulkCustomDiscountObject, CartItemBulkCustomDiscountResponse, CartItemObject, CartItemObjectData, CartItemRelationship, CartItemResponse, CartItemResponseObject, CartItemsObjectRequest, CartItemsObjectResponse, CartMergeObject, CartMergeObjectRequest, CartResponse, CartTimestamps, CartsBulkCustomDiscounts, CartsBulkCustomDiscountsResponse, CartsBulkTaxes, CartsCustomDiscountsObject, CartsCustomDiscountsResponse, CartsItemsTaxesObject, CartsRelationshipsAccountsData, CartsRelationshipsCustomersData, CartsRequest, CartsResponse, Catalog, CatalogCreateData, CatalogData, CatalogListData, CatalogReleaseCreateData, CatalogUpdateData, ChangeState, Channel, CheckoutApiData, CheckoutApiError, CheckoutApiErrors, CheckoutApiResponse, CheckoutApiResponses, ComponentProduct, ComponentProductOption, ComponentProductsRelationship, Components, ConfigureByContextProductData, ConfigureByContextProductError, ConfigureByContextProductErrors, ConfigureByContextProductResponse, ConfigureByContextProductResponses, ConfirmPaymentData, ConfirmPaymentError, ConfirmPaymentErrors, ConfirmPaymentResponse, ConfirmPaymentResponses, Contact, CreateACartData, CreateACartError, CreateACartErrors, CreateACartResponse, CreateACartResponses, CreateAccountCartAssociationData, CreateAccountCartAssociationError, CreateAccountCartAssociationErrors, CreateAccountCartAssociationResponse, CreateAccountCartAssociationResponses, CreateAnAccessTokenData, CreateAnAccessTokenError, CreateAnAccessTokenErrors, CreateAnAccessTokenResponse, CreateAnAccessTokenResponses, CreateCartPaymentIntentData, CreateCartPaymentIntentError, CreateCartPaymentIntentErrors, CreateCartPaymentIntentResponse, CreateCartPaymentIntentResponses, CreateCatalogData, CreateCatalogError, CreateCatalogErrors, CreateCatalogResponse, CreateCatalogResponses, CreateCustomerCartAssociationData, CreateCustomerCartAssociationError, CreateCustomerCartAssociationErrors, CreateCustomerCartAssociationResponse, CreateCustomerCartAssociationResponses, CreateOneTimePasswordTokenRequestData, CreateOneTimePasswordTokenRequestResponses, CreateRuleData, CreateRuleError, CreateRuleErrors, CreateRuleResponse, CreateRuleResponses, Currencies, CurrencyIdentifier, CustomAttributes, CustomDiscountRelationshipsCartItemRequest, CustomInput, CustomInputValidationRule, CustomInputValidationRuleOptions, CustomInputs, CustomItemObject, CustomItemObjectData, CustomItemResponseObject, CustomerCheckout, DataAdyenPayment, DataAuthorizeNetPayment, DataBasePayments, DataBraintreePayment, DataCardConnectPayment, DataCreateCurrencies, DataCyberSourcePayment, DataManualPayment, DataPayPalExpressCheckoutPayment, DataPaymentObject, DataStripeConnectPayment, DataStripePayment, DataStripePaymentIntentsPayment, DataUpdateCurrencies, DeleteACartData, DeleteACartError, DeleteACartErrors, DeleteACartItemData, DeleteACartItemError, DeleteACartItemErrors, DeleteACartItemResponse, DeleteACartItemResponses, DeleteACartResponse, DeleteACartResponses, DeleteAPromotionViaPromotionCodeData, DeleteAPromotionViaPromotionCodeError, DeleteAPromotionViaPromotionCodeErrors, DeleteAPromotionViaPromotionCodeResponse, DeleteAPromotionViaPromotionCodeResponses, DeleteATaxItemData, DeleteATaxItemError, DeleteATaxItemErrors, DeleteATaxItemResponse, DeleteATaxItemResponses, DeleteAccountCartAssociationData, DeleteAccountCartAssociationError, DeleteAccountCartAssociationErrors, DeleteAccountCartAssociationResponse, DeleteAccountCartAssociationResponses, DeleteAllCartItemsData, DeleteAllCartItemsError, DeleteAllCartItemsErrors, DeleteAllCartItemsResponse, DeleteAllCartItemsResponses, DeleteCatalogByIdData, DeleteCatalogByIdError, DeleteCatalogByIdErrors, DeleteCatalogByIdResponse, DeleteCatalogByIdResponses, DeleteCustomDiscountFromCartData, DeleteCustomDiscountFromCartError, DeleteCustomDiscountFromCartErrors, DeleteCustomDiscountFromCartItemData, DeleteCustomDiscountFromCartItemError, DeleteCustomDiscountFromCartItemErrors, DeleteCustomDiscountFromCartItemResponse, DeleteCustomDiscountFromCartItemResponses, DeleteCustomDiscountFromCartResponse, DeleteCustomDiscountFromCartResponses, DeleteCustomerCartAssociationData, DeleteCustomerCartAssociationError, DeleteCustomerCartAssociationErrors, DeleteCustomerCartAssociationResponse, DeleteCustomerCartAssociationResponses, DeleteReleaseByIdData, DeleteReleaseByIdError, DeleteReleaseByIdErrors, DeleteReleaseByIdResponse, DeleteReleaseByIdResponses, DeleteReleasesData, DeleteReleasesError, DeleteReleasesErrors, DeleteReleasesResponse, DeleteReleasesResponses, DeleteRuleByIdData, DeleteRuleByIdError, DeleteRuleByIdErrors, DeleteRuleByIdResponse, DeleteRuleByIdResponses, DeleteV2AccountAddressData, DeleteV2AccountAddressError, DeleteV2AccountAddressErrors, DeleteV2AccountAddressResponse, DeleteV2AccountAddressResponses, DiffListData, DiscountData, DiscountSettings, DisplayPrice, DisplayPrice2, DunningRule, DunningRuleAttributes, DunningRuleCreate, DunningRuleMeta, DunningRuleUpdate, DunningRuleUpdateAttributes, ElasticPathFile, ElasticPathPaymentsPoweredByStripePayment, EndBehavior, Error2, ErrorBadRequest, ErrorNotFound, ErrorResponse, ErrorResponse2, Extension, Extensions, ExternalRef, ExternalRefUpdate, Feature, FeatureAccessAttributes, FeatureAttributes, FeatureConfigAccessAttributes, FeatureConfigPromotionAttributes, FeatureConfigUsageAttributes, FeatureConfiguration, FeatureCreate, FeatureMeta, FeatureProductConfiguration, FeatureProductConfigurationUpdate, FeaturePromotion, FeaturePromotionAttributes, FeatureResponseAttributes, FeatureTag, FeatureUpdate, FeatureUpdateAttributes, FeatureUsageAttributes, File, FileLink, FileLink2, FileMeta, FileMeta2, FileReference, FilesError, FilesErrorResponse, FilesLinks, FilesRelationship, FilesUuid, Filesfilter, FilespageLimit, FilespageOffset, Filter, FilterHierarchy, FilterNode, FilterProduct, FilterRule, FormattedPrice, FormattedPriceData, Gateway, GeolocationDetails, GetACurrencyData, GetACurrencyError, GetACurrencyErrors, GetACurrencyResponse, GetACurrencyResponses, GetAFileData, GetAFileError, GetAFileErrors, GetAFileResponse, GetAFileResponses, GetATransactionData, GetATransactionError, GetATransactionErrors, GetATransactionResponse, GetATransactionResponses, GetAllCurrenciesData, GetAllCurrenciesError, GetAllCurrenciesErrors, GetAllCurrenciesResponse, GetAllCurrenciesResponses, GetAllFilesData, GetAllFilesError, GetAllFilesErrors, GetAllFilesResponse, GetAllFilesResponses, GetAllHierarchiesData, GetAllHierarchiesError, GetAllHierarchiesErrors, GetAllHierarchiesResponse, GetAllHierarchiesResponses, GetAllNodesData, GetAllNodesError, GetAllNodesErrors, GetAllNodesResponse, GetAllNodesResponses, GetAllProductsData, GetAllProductsError, GetAllProductsErrors, GetAllProductsResponse, GetAllProductsResponses, GetAnOrderData, GetAnOrderError, GetAnOrderErrors, GetAnOrderResponse, GetAnOrderResponses, GetByContextAllHierarchiesData, GetByContextAllHierarchiesError, GetByContextAllHierarchiesErrors, GetByContextAllHierarchiesResponse, GetByContextAllHierarchiesResponses, GetByContextAllNodesData, GetByContextAllNodesError, GetByContextAllNodesErrors, GetByContextAllNodesResponse, GetByContextAllNodesResponses, GetByContextAllProductsData, GetByContextAllProductsError, GetByContextAllProductsErrors, GetByContextAllProductsResponse, GetByContextAllProductsResponses, GetByContextChildNodesData, GetByContextChildNodesError, GetByContextChildNodesErrors, GetByContextChildNodesResponse, GetByContextChildNodesResponses, GetByContextChildProductsData, GetByContextChildProductsError, GetByContextChildProductsErrors, GetByContextChildProductsResponse, GetByContextChildProductsResponses, GetByContextComponentProductIdsData, GetByContextComponentProductIdsError, GetByContextComponentProductIdsErrors, GetByContextComponentProductIdsResponse, GetByContextComponentProductIdsResponses, GetByContextHierarchyChildNodesData, GetByContextHierarchyChildNodesError, GetByContextHierarchyChildNodesErrors, GetByContextHierarchyChildNodesResponse, GetByContextHierarchyChildNodesResponses, GetByContextHierarchyData, GetByContextHierarchyError, GetByContextHierarchyErrors, GetByContextHierarchyNodesData, GetByContextHierarchyNodesError, GetByContextHierarchyNodesErrors, GetByContextHierarchyNodesResponse, GetByContextHierarchyNodesResponses, GetByContextHierarchyResponse, GetByContextHierarchyResponses, GetByContextNodeData, GetByContextNodeError, GetByContextNodeErrors, GetByContextNodeResponse, GetByContextNodeResponses, GetByContextProductData, GetByContextProductError, GetByContextProductErrors, GetByContextProductResponse, GetByContextProductResponses, GetByContextProductsForHierarchyData, GetByContextProductsForHierarchyError, GetByContextProductsForHierarchyErrors, GetByContextProductsForHierarchyResponse, GetByContextProductsForHierarchyResponses, GetByContextProductsForNodeData, GetByContextProductsForNodeError, GetByContextProductsForNodeErrors, GetByContextProductsForNodeResponse, GetByContextProductsForNodeResponses, GetByContextReleaseData, GetByContextReleaseError, GetByContextReleaseErrors, GetByContextReleaseResponse, GetByContextReleaseResponses, GetCartData, GetCartError, GetCartErrors, GetCartItemsData, GetCartItemsError, GetCartItemsErrors, GetCartItemsResponse, GetCartItemsResponses, GetCartResponse, GetCartResponses, GetCartsData, GetCartsError, GetCartsErrors, GetCartsResponse, GetCartsResponses, GetCatalogByIdData, GetCatalogByIdError, GetCatalogByIdErrors, GetCatalogByIdResponse, GetCatalogByIdResponses, GetCatalogsData, GetCatalogsError, GetCatalogsErrors, GetCatalogsResponse, GetCatalogsResponses, GetChildNodesData, GetChildNodesError, GetChildNodesErrors, GetChildNodesResponse, GetChildNodesResponses, GetChildProductsData, GetChildProductsError, GetChildProductsErrors, GetChildProductsResponse, GetChildProductsResponses, GetComponentProductIdsData, GetComponentProductIdsError, GetComponentProductIdsErrors, GetComponentProductIdsResponse, GetComponentProductIdsResponses, GetCustomerOrdersData, GetCustomerOrdersError, GetCustomerOrdersErrors, GetCustomerOrdersResponse, GetCustomerOrdersResponses, GetFeatureData, GetFeatureError, GetFeatureErrors, GetFeatureResponse, GetFeatureResponses, GetHierarchyChildNodesData, GetHierarchyChildNodesError, GetHierarchyChildNodesErrors, GetHierarchyChildNodesResponse, GetHierarchyChildNodesResponses, GetHierarchyData, GetHierarchyError, GetHierarchyErrors, GetHierarchyNodesData, GetHierarchyNodesError, GetHierarchyNodesErrors, GetHierarchyNodesResponse, GetHierarchyNodesResponses, GetHierarchyResponse, GetHierarchyResponses, GetInvoiceData, GetInvoiceError, GetInvoiceErrors, GetInvoiceResponse, GetInvoiceResponses, GetNodeData, GetNodeError, GetNodeErrors, GetNodeResponse, GetNodeResponses, GetOfferingData, GetOfferingError, GetOfferingErrors, GetOfferingResponse, GetOfferingResponses, GetOrderItemsData, GetOrderItemsError, GetOrderItemsErrors, GetOrderItemsResponse, GetOrderItemsResponses, GetOrderTransactionsData, GetOrderTransactionsError, GetOrderTransactionsErrors, GetOrderTransactionsResponse, GetOrderTransactionsResponses, GetPlanData, GetPlanError, GetPlanErrors, GetPlanResponse, GetPlanResponses, GetProductData, GetProductError, GetProductErrors, GetProductResponse, GetProductResponses, GetProductsForHierarchyData, GetProductsForHierarchyError, GetProductsForHierarchyErrors, GetProductsForHierarchyResponse, GetProductsForHierarchyResponses, GetProductsForNodeData, GetProductsForNodeError, GetProductsForNodeErrors, GetProductsForNodeResponse, GetProductsForNodeResponses, GetReleaseByIdData, GetReleaseByIdError, GetReleaseByIdErrors, GetReleaseByIdResponse, GetReleaseByIdResponses, GetReleasesData, GetReleasesError, GetReleasesErrors, GetReleasesResponse, GetReleasesResponses, GetRuleByIdData, GetRuleByIdError, GetRuleByIdErrors, GetRuleByIdResponse, GetRuleByIdResponses, GetRulesData, GetRulesError, GetRulesErrors, GetRulesResponse, GetRulesResponses, GetStockData, GetStockError, GetStockErrors, GetStockResponse, GetStockResponses, GetSubscriptionData, GetSubscriptionError, GetSubscriptionErrors, GetSubscriptionInvoiceData, GetSubscriptionInvoiceError, GetSubscriptionInvoiceErrors, GetSubscriptionInvoicePaymentData, GetSubscriptionInvoicePaymentError, GetSubscriptionInvoicePaymentErrors, GetSubscriptionInvoicePaymentResponse, GetSubscriptionInvoicePaymentResponses, GetSubscriptionInvoiceResponse, GetSubscriptionInvoiceResponses, GetSubscriptionProductData, GetSubscriptionProductError, GetSubscriptionProductErrors, GetSubscriptionProductResponse, GetSubscriptionProductResponses, GetSubscriptionResponse, GetSubscriptionResponses, GetSubscriptionStateData, GetSubscriptionStateError, GetSubscriptionStateErrors, GetSubscriptionStateResponse, GetSubscriptionStateResponses, GetV2AccountAddressData, GetV2AccountAddressError, GetV2AccountAddressErrors, GetV2AccountAddressResponse, GetV2AccountAddressResponses, GetV2AccountAddressesData, GetV2AccountAddressesError, GetV2AccountAddressesErrors, GetV2AccountAddressesResponse, GetV2AccountAddressesResponses, GetV2AccountMembersAccountMemberIdData, GetV2AccountMembersAccountMemberIdError, GetV2AccountMembersAccountMemberIdErrors, GetV2AccountMembersAccountMemberIdResponse, GetV2AccountMembersAccountMemberIdResponses, GetV2AccountMembersData, GetV2AccountMembersError, GetV2AccountMembersErrors, GetV2AccountMembersResponse, GetV2AccountMembersResponses, GetV2AccountsAccountIdAccountMembershipsData, GetV2AccountsAccountIdAccountMembershipsError, GetV2AccountsAccountIdAccountMembershipsErrors, GetV2AccountsAccountIdAccountMembershipsResponse, GetV2AccountsAccountIdAccountMembershipsResponses, GetV2AccountsAccountIdData, GetV2AccountsAccountIdError, GetV2AccountsAccountIdErrors, GetV2AccountsAccountIdResponse, GetV2AccountsAccountIdResponses, GetV2AccountsData, GetV2AccountsError, GetV2AccountsErrors, GetV2AccountsResponse, GetV2AccountsResponses, Hierarchy, HierarchyAttributes, HierarchyData, HierarchyListData, HierarchyMeta, HierarchyRelationships, Import, ImportAttributes, ImportMeta, ImportRecords, Include, Include2, IncludeAccount, IncludeAccountMember, IncludeComponentProducts, Included, InventoriesError, InventoriesErrorResponse, InventoriesFilter, InventoriesPageLimit, InventoriesPageOffset, InventoriesTimestamps, InventoriesTransactionResponse, InventoriesUuid, InventoryLocationType, InvoicePaymentTimestamps, InvoiceTaxItems, InvoiceTimestamps, ItemPriceData, Job, JobAttributes, JobCreate, JobCreateAttributes, JobMeta, JobReport, JobResponseAttributes, JobTimestamps, JobType, Limit, Link, LinkObject, LinkUri, Links, Links2, ListInvoicesData, ListInvoicesError, ListInvoicesErrors, ListInvoicesResponse, ListInvoicesResponses, ListLocationsData, ListLocationsError, ListLocationsErrors, ListLocationsResponse, ListLocationsResponses, ListOfferingFeaturesData, ListOfferingFeaturesError, ListOfferingFeaturesErrors, ListOfferingFeaturesResponse, ListOfferingFeaturesResponses, ListOfferingPlansData, ListOfferingPlansError, ListOfferingPlansErrors, ListOfferingPlansResponse, ListOfferingPlansResponses, ListOfferingProductsData, ListOfferingProductsError, ListOfferingProductsErrors, ListOfferingProductsResponse, ListOfferingProductsResponses, ListOfferingsData, ListOfferingsError, ListOfferingsErrors, ListOfferingsResponse, ListOfferingsResponses, ListSubscriptionInvoicePaymentsData, ListSubscriptionInvoicePaymentsResponse, ListSubscriptionInvoicePaymentsResponses, ListSubscriptionInvoicesData, ListSubscriptionInvoicesError, ListSubscriptionInvoicesErrors, ListSubscriptionInvoicesResponse, ListSubscriptionInvoicesResponses, ListSubscriptionPlansData, ListSubscriptionPlansError, ListSubscriptionPlansErrors, ListSubscriptionPlansResponse, ListSubscriptionPlansResponses, ListSubscriptionProductsData, ListSubscriptionProductsError, ListSubscriptionProductsErrors, ListSubscriptionProductsResponse, ListSubscriptionProductsResponses, ListSubscriptionStatesData, ListSubscriptionStatesError, ListSubscriptionStatesErrors, ListSubscriptionStatesResponse, ListSubscriptionStatesResponses, ListSubscriptionsData, ListSubscriptionsError, ListSubscriptionsErrors, ListSubscriptionsResponse, ListSubscriptionsResponses, Location, LocationAttributes, LocationRequest, LocationUpdateAttributes, LocationUpdateRequest, MainImageRelationship, ManageCartsData, ManageCartsError, ManageCartsErrors, ManageCartsResponse, ManageCartsResponses, ManageSubscriptionProducts, ManualPayments, ManyRelationship, Meta, MetaAccountMemberId, MetaList, MetaListPage, MetaListResults, Method, MultipleProducts, Node, NodeAttributes, NodeCreateData, NodeData, NodeListData, NodeMeta, NodeReference, NodeRelationships, NodeRelationshipsData, NullableLocation, NullableLocations, NullablePaymentAuthority, NullablePrice, NullablePriceUnits, Offering, OfferingAttributes, OfferingCreate, OfferingFeature, OfferingFeatureAttach, OfferingFeatureUpdate, OfferingIncludes, OfferingMeta, OfferingPlan, OfferingPlanAttach, OfferingPlanMeta, OfferingPlanUpdate, OfferingProduct, OfferingProductAttach, OfferingProductExternalRefMeta, OfferingProductReplace, OfferingProductResponseAttributes, OfferingProductResponseExtraAttributes, OfferingProductUpdate, OfferingProductUpdateAttributes, OfferingProductUpdateExtraAttributes, OfferingRelationships, OfferingResponseAttributes, OfferingUpdate, OfferingUpdateAttributes, OfferingUpdateRelationships, Offset, OidcProfile, OidcProfileCreateRequestWrapper, OidcProfileListResponse, OidcProfileResponse, OidcProfileUpdateRequestWrapper, OneTimePasswordTokenRequest, OpenIdConnectRequest, OrderItemFormattedUnitPriceData, OrderItemResponse, OrderMeta, OrderPriceData, OrderResponse, OrdersAddressData, OrdersAnonymizeData, OrdersAnonymizeRequest, OrdersCancelData, OrdersFulfilledData, OrdersTransactionsCancelRequest, OrdersTransactionsCaptureRequest, OrdersTransactionsConfirmRequest, OrdersTransactionsRefundRequest, OrdersUpdateRequest, Owner, OwnerMeta, PageLimit, PageMeta, PageOffset, PasswordProfile, PasswordProfileCreateRequestWrapper, PasswordProfileInfo, PasswordProfileInfoCreateRequest, PasswordProfileInfoCreateRequestWrapper, PasswordProfileInfoListResponse, PasswordProfileInfoResponse, PasswordProfileInfoUpdateRequest, PasswordProfileInfoUpdateRequestWrapper, PasswordProfileListResponse, PasswordProfileResponse, PasswordProfileUpdateRequestWrapper, PasswordRequest, PasswordlessRequest, PaymentAuthority, PaymentAuthorityAuthorizeNet, PaymentAuthorityStripe, PaymentFailureDetail, PaymentRetryType, PaymentRetryUnit, PaymentRunReport, PaymentSetupData, PaymentSetupError, PaymentSetupErrors, PaymentSetupResponse, PaymentSetupResponses, PaymentsRequest, Plan, PlanAttributes, PlanAttributesAndSelectedMeta, PlanCreate, PlanMeta, PlanResponseAttributes, PlanUpdate, PlanUpdateAttributes, PostV2AccountAddressData, PostV2AccountAddressError, PostV2AccountAddressErrors, PostV2AccountAddressResponse, PostV2AccountAddressResponses, PostV2AccountMembersTokensData, PostV2AccountMembersTokensError, PostV2AccountMembersTokensErrors, PostV2AccountMembersTokensResponse, PostV2AccountMembersTokensResponses, PostV2AccountsData, PostV2AccountsError, PostV2AccountsErrors, PostV2AccountsResponse, PostV2AccountsResponses, Price, PriceFormatting, PriceUnits, Pricebook, PricebookCreateData, PricebookData, PricebookPrice, PricebookPriceCreateData, PricebookPriceData, PrioritizedPricebooks, Product, Product2, ProductAttributes, ProductAttributes2, ProductCreate, ProductCreateData, ProductData, ProductDiff, ProductListData, ProductMeta, ProductMeta2, ProductReference, ProductReferenceListData, ProductReferences, ProductRelationships, ProductRelationshipsData, ProductResponseAttributes, ProductUpdate, ProductUpdateAttributes, ProductsForCart, ProductsForCartConfiguration, ProductsForCartConfiguration2, PromotionItemObject, PromotionItemObjectData, PromotionItemResponseObject, ProrationEvent, ProrationPolicy, ProrationPolicyAttributes, ProrationPolicyCreate, ProrationPolicyMeta, ProrationPolicyRelationshipAttributes, ProrationPolicyResponseAttributes, ProrationPolicyType, ProrationPolicyUpdate, ProrationPolicyUpdateAttributes, ProrationPolicyUpdateRelationshipAttributes, PublishReleaseData, PublishReleaseError, PublishReleaseErrors, PublishReleaseResponse, PublishReleaseResponses, Purpose, PutV2AccountAddressData, PutV2AccountAddressError, PutV2AccountAddressErrors, PutV2AccountAddressResponse, PutV2AccountAddressResponses, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, PutV2AccountsAccountIdErrors, PutV2AccountsAccountIdResponse, PutV2AccountsAccountIdResponses, ReOrderObject, ReOrderObjectRequest, ReadOnlyParentId, RefundATransactionData, RefundATransactionError, RefundATransactionErrors, RefundATransactionResponse, RefundATransactionResponses, RelatedLink, Relationship, RelationshipArray, RelationshipData, RelationshipItem, RelationshipLinks, Relationships, Release, ReleaseData, ReleaseListData, ReleaseMeta, ReleaseRelationships, ReleaseStatus, RequestCreateCurrencies, RequestUpdateCurrencies, ResponseCurrency, ResponseData, ResponseError, ResponseMetaCarts, ResponseMetaCurrency, ResponseMetaOrders, ResponsePageLinks, ResponsePaginationPage, ResponsePaginationResults, ResultsLinks, ResultsMeta, Rounding, Rule, RuleCreateData, RuleData, RuleListData, RuleSchedule, RuleUpdateData, Sale, Sales, Schedule, Schedule2, ScheduleAttributes, ScheduleCreate, ScheduleJob, ScheduleMeta, ScheduleResponseAttributes, ScheduleUpdate, ScheduleUpdateAttributes, SelectedPlanMeta, SelectedPlanMetaAttributes, SelfLink, SelfLink2, SelfSignupRequest, ShippingAddress, ShopperAttributes, SingleCurrencyPrice, SingleRelationship, Sort, StateMeta, Status, Status2, StockCreate, StockCreateAttributes, StockLocations, StockMeta, StockResponse, StockResponseAttributes, StockTransactionType, StockType, StockUpdateAttributes, StockUpdateRequest, Subscriber, SubscriberAttributes, SubscriberCreate, SubscriberMeta, SubscriberResponseAttributes, SubscriberUpdate, SubscriberUpdateAttributes, Subscription, SubscriptionAttributes, SubscriptionDunningRuleType, SubscriptionFeatureType, SubscriptionImportError, SubscriptionImportErrorMeta, SubscriptionImportErrorType, SubscriptionImportType, SubscriptionIncludes, SubscriptionInvoice, SubscriptionInvoiceAttributes, SubscriptionInvoiceItem, SubscriptionInvoiceMeta, SubscriptionInvoicePayment, SubscriptionInvoicePaymentAttributes, SubscriptionInvoicePaymentMeta, SubscriptionInvoicePaymentType, SubscriptionInvoiceType, SubscriptionItemObject, SubscriptionItemObjectData, SubscriptionItemResponseObject, SubscriptionJobType, SubscriptionMeta, SubscriptionOfferingFeatureType, SubscriptionOfferingPlanType, SubscriptionOfferingProductType, SubscriptionOfferingType, SubscriptionPlanType, SubscriptionProductType, SubscriptionScheduleType, SubscriptionState, SubscriptionStateAction, SubscriptionStateAttributes, SubscriptionStateType, SubscriptionSubscriberType, SubscriptionTimestamps, SubscriptionType, SubscriptionUpdate, SubscriptionUpdateAttributes, SubscriptionsError, SubscriptionsErrorResponse, SubscriptionsFilter, SubscriptionsPageLimit, SubscriptionsPageOffset, SubscriptionsSingleRelationship, SubscriptionsTimestamps, SubscriptionsUuid, SwitchingAccountRequest, Tag, TaxItem, TaxRunReport, Tier, TieredAmount, TieredCurrencies, Tiers, TimePeriod, Timestamps, TransactionCreate, TransactionCreateAttributes, TransactionResponse, TransactionResponseAttributes, Type, Unit, UpdateACartData, UpdateACartError, UpdateACartErrors, UpdateACartItemData, UpdateACartItemError, UpdateACartItemErrors, UpdateACartItemResponse, UpdateACartItemResponses, UpdateACartResponse, UpdateACartResponses, UpdateATaxItemData, UpdateATaxItemError, UpdateATaxItemErrors, UpdateATaxItemResponse, UpdateATaxItemResponses, UpdateAllOrNothingOptionsObject, UpdateAnOrderData, UpdateAnOrderError, UpdateAnOrderErrors, UpdateAnOrderResponse, UpdateAnOrderResponses, UpdateCartsItems, UpdateCatalogData, UpdateCatalogError, UpdateCatalogErrors, UpdateCatalogResponse, UpdateCatalogResponses, UpdateCustomDiscountForCartData, UpdateCustomDiscountForCartError, UpdateCustomDiscountForCartErrors, UpdateCustomDiscountForCartItemData, UpdateCustomDiscountForCartItemError, UpdateCustomDiscountForCartItemErrors, UpdateCustomDiscountForCartItemResponse, UpdateCustomDiscountForCartItemResponses, UpdateCustomDiscountForCartResponse, UpdateCustomDiscountForCartResponses, UpdateInvoicePayment, UpdateInvoicePaymentAttributes, UpdatePasswordProfileInfoData, UpdatePasswordProfileInfoErrors, UpdatePasswordProfileInfoResponse, UpdatePasswordProfileInfoResponses, UpdateRuleData, UpdateRuleError, UpdateRuleErrors, UpdateRuleResponse, UpdateRuleResponses, UserAuthenticationInfo, UserAuthenticationInfoCreateRequestWrapper, UserAuthenticationInfoListResponse, UserAuthenticationInfoResponse, UserAuthenticationInfoUpdateRequestWrapper, UserAuthenticationOidcProfileInfo, UserAuthenticationOidcProfileInfoCreateRequestWrapper, UserAuthenticationOidcProfileInfoListResponse, UserAuthenticationOidcProfileInfoResponse, UserAuthenticationOidcProfileInfoUpdateRequestWrapper, Uuid, Variation, VariationOption, WritableParentId, _Error } from './client/types.gen.cjs';
|
|
2
|
+
export { addCustomDiscountToCartItem, addTaxItemToCart, anonymizeOrders, bulkAddCustomDiscountsToCart, bulkAddTaxItemsToCart, bulkDeleteCustomDiscountsFromCart, bulkDeleteTaxItemsFromCart, bulkUpdateItemsInCart, cancelATransaction, captureATransaction, checkoutApi, client, configureByContextProduct, confirmPayment, createACart, createAccountCartAssociation, createAnAccessToken, createCartPaymentIntent, createCatalog, createCustomerCartAssociation, createOneTimePasswordTokenRequest, createRule, deleteACart, deleteACartItem, deleteAPromotionViaPromotionCode, deleteATaxItem, deleteAccountCartAssociation, deleteAllCartItems, deleteCatalogById, deleteCustomDiscountFromCart, deleteCustomDiscountFromCartItem, deleteCustomerCartAssociation, deleteReleaseById, deleteReleases, deleteRuleById, deleteV2AccountAddress, getACurrency, getAFile, getATransaction, getAllCurrencies, getAllFiles, getAllHierarchies, getAllNodes, getAllProducts, getAnOrder, getByContextAllHierarchies, getByContextAllNodes, getByContextAllProducts, getByContextChildNodes, getByContextChildProducts, getByContextComponentProductIds, getByContextHierarchy, getByContextHierarchyChildNodes, getByContextHierarchyNodes, getByContextNode, getByContextProduct, getByContextProductsForHierarchy, getByContextProductsForNode, getByContextRelease, getCart, getCartItems, getCarts, getCatalogById, getCatalogs, getChildNodes, getChildProducts, getComponentProductIds, getCustomerOrders, getFeature, getHierarchy, getHierarchyChildNodes, getHierarchyNodes, getInvoice, getNode, getOffering, getOrderItems, getOrderTransactions, getPlan, getProduct, getProductsForHierarchy, getProductsForNode, getReleaseById, getReleases, getRuleById, getRules, getStock, getSubscription, getSubscriptionInvoice, getSubscriptionInvoicePayment, getSubscriptionProduct, getSubscriptionState, getV2AccountAddress, getV2AccountAddresses, getV2AccountMembers, getV2AccountMembersAccountMemberId, getV2Accounts, getV2AccountsAccountId, getV2AccountsAccountIdAccountMemberships, listInvoices, listLocations, listOfferingFeatures, listOfferingPlans, listOfferingProducts, listOfferings, listSubscriptionInvoicePayments, listSubscriptionInvoices, listSubscriptionPlans, listSubscriptionProducts, listSubscriptionStates, listSubscriptions, manageCarts, paymentSetup, postV2AccountAddress, postV2AccountMembersTokens, postV2Accounts, publishRelease, putV2AccountAddress, putV2AccountsAccountId, refundATransaction, updateACart, updateACartItem, updateATaxItem, updateAnOrder, updateCatalog, updateCustomDiscountForCart, updateCustomDiscountForCartItem, updatePasswordProfileInfo, updateRule } from './client/sdk.gen.cjs';
|
|
3
|
+
export { addCustomDiscountToCartItemMutation, addCustomDiscountToCartItemOptions, addCustomDiscountToCartItemQueryKey, addTaxItemToCartMutation, addTaxItemToCartOptions, addTaxItemToCartQueryKey, anonymizeOrdersMutation, anonymizeOrdersOptions, anonymizeOrdersQueryKey, bulkAddCustomDiscountsToCartMutation, bulkAddCustomDiscountsToCartOptions, bulkAddCustomDiscountsToCartQueryKey, bulkAddTaxItemsToCartMutation, bulkAddTaxItemsToCartOptions, bulkAddTaxItemsToCartQueryKey, bulkDeleteCustomDiscountsFromCartMutation, bulkDeleteTaxItemsFromCartMutation, bulkUpdateItemsInCartMutation, cancelATransactionMutation, cancelATransactionOptions, cancelATransactionQueryKey, captureATransactionMutation, captureATransactionOptions, captureATransactionQueryKey, checkoutApiMutation, checkoutApiOptions, checkoutApiQueryKey, configureByContextProductMutation, configureByContextProductOptions, configureByContextProductQueryKey, confirmPaymentMutation, confirmPaymentOptions, confirmPaymentQueryKey, createACartMutation, createACartOptions, createACartQueryKey, createAccountCartAssociationMutation, createAccountCartAssociationOptions, createAccountCartAssociationQueryKey, createAnAccessTokenMutation, createAnAccessTokenOptions, createAnAccessTokenQueryKey, createCartPaymentIntentMutation, createCartPaymentIntentOptions, createCartPaymentIntentQueryKey, createCatalogMutation, createCatalogOptions, createCatalogQueryKey, createCustomerCartAssociationMutation, createCustomerCartAssociationOptions, createCustomerCartAssociationQueryKey, createOneTimePasswordTokenRequestMutation, createOneTimePasswordTokenRequestOptions, createOneTimePasswordTokenRequestQueryKey, createRuleMutation, createRuleOptions, createRuleQueryKey, deleteACartItemMutation, deleteACartMutation, deleteAPromotionViaPromotionCodeMutation, deleteATaxItemMutation, deleteAccountCartAssociationMutation, deleteAllCartItemsMutation, deleteCatalogByIdMutation, deleteCustomDiscountFromCartItemMutation, deleteCustomDiscountFromCartMutation, deleteCustomerCartAssociationMutation, deleteReleaseByIdMutation, deleteReleasesMutation, deleteRuleByIdMutation, deleteV2AccountAddressMutation, getACurrencyOptions, getACurrencyQueryKey, getAFileOptions, getAFileQueryKey, getATransactionOptions, getATransactionQueryKey, getAllCurrenciesOptions, getAllCurrenciesQueryKey, getAllFilesOptions, getAllFilesQueryKey, getAllHierarchiesOptions, getAllHierarchiesQueryKey, getAllNodesOptions, getAllNodesQueryKey, getAllProductsOptions, getAllProductsQueryKey, getAnOrderOptions, getAnOrderQueryKey, getByContextAllHierarchiesOptions, getByContextAllHierarchiesQueryKey, getByContextAllNodesOptions, getByContextAllNodesQueryKey, getByContextAllProductsOptions, getByContextAllProductsQueryKey, getByContextChildNodesOptions, getByContextChildNodesQueryKey, getByContextChildProductsOptions, getByContextChildProductsQueryKey, getByContextComponentProductIdsOptions, getByContextComponentProductIdsQueryKey, getByContextHierarchyChildNodesOptions, getByContextHierarchyChildNodesQueryKey, getByContextHierarchyNodesOptions, getByContextHierarchyNodesQueryKey, getByContextHierarchyOptions, getByContextHierarchyQueryKey, getByContextNodeOptions, getByContextNodeQueryKey, getByContextProductOptions, getByContextProductQueryKey, getByContextProductsForHierarchyOptions, getByContextProductsForHierarchyQueryKey, getByContextProductsForNodeOptions, getByContextProductsForNodeQueryKey, getByContextReleaseOptions, getByContextReleaseQueryKey, getCartItemsOptions, getCartItemsQueryKey, getCartOptions, getCartQueryKey, getCartsOptions, getCartsQueryKey, getCatalogByIdOptions, getCatalogByIdQueryKey, getCatalogsOptions, getCatalogsQueryKey, getChildNodesOptions, getChildNodesQueryKey, getChildProductsOptions, getChildProductsQueryKey, getComponentProductIdsOptions, getComponentProductIdsQueryKey, getCustomerOrdersOptions, getCustomerOrdersQueryKey, getFeatureOptions, getFeatureQueryKey, getHierarchyChildNodesOptions, getHierarchyChildNodesQueryKey, getHierarchyNodesOptions, getHierarchyNodesQueryKey, getHierarchyOptions, getHierarchyQueryKey, getInvoiceOptions, getInvoiceQueryKey, getNodeOptions, getNodeQueryKey, getOfferingOptions, getOfferingQueryKey, getOrderItemsOptions, getOrderItemsQueryKey, getOrderTransactionsOptions, getOrderTransactionsQueryKey, getPlanOptions, getPlanQueryKey, getProductOptions, getProductQueryKey, getProductsForHierarchyOptions, getProductsForHierarchyQueryKey, getProductsForNodeOptions, getProductsForNodeQueryKey, getReleaseByIdOptions, getReleaseByIdQueryKey, getReleasesOptions, getReleasesQueryKey, getRuleByIdOptions, getRuleByIdQueryKey, getRulesOptions, getRulesQueryKey, getStockOptions, getStockQueryKey, getSubscriptionInvoiceOptions, getSubscriptionInvoicePaymentOptions, getSubscriptionInvoicePaymentQueryKey, getSubscriptionInvoiceQueryKey, getSubscriptionOptions, getSubscriptionProductOptions, getSubscriptionProductQueryKey, getSubscriptionQueryKey, getSubscriptionStateOptions, getSubscriptionStateQueryKey, getV2AccountAddressOptions, getV2AccountAddressQueryKey, getV2AccountAddressesOptions, getV2AccountAddressesQueryKey, getV2AccountMembersAccountMemberIdOptions, getV2AccountMembersAccountMemberIdQueryKey, getV2AccountMembersOptions, getV2AccountMembersQueryKey, getV2AccountsAccountIdAccountMembershipsOptions, getV2AccountsAccountIdAccountMembershipsQueryKey, getV2AccountsAccountIdOptions, getV2AccountsAccountIdQueryKey, getV2AccountsOptions, getV2AccountsQueryKey, listInvoicesOptions, listInvoicesQueryKey, listLocationsOptions, listLocationsQueryKey, listOfferingFeaturesOptions, listOfferingFeaturesQueryKey, listOfferingPlansOptions, listOfferingPlansQueryKey, listOfferingProductsOptions, listOfferingProductsQueryKey, listOfferingsOptions, listOfferingsQueryKey, listSubscriptionInvoicePaymentsOptions, listSubscriptionInvoicePaymentsQueryKey, listSubscriptionInvoicesOptions, listSubscriptionInvoicesQueryKey, listSubscriptionPlansOptions, listSubscriptionPlansQueryKey, listSubscriptionProductsOptions, listSubscriptionProductsQueryKey, listSubscriptionStatesOptions, listSubscriptionStatesQueryKey, listSubscriptionsOptions, listSubscriptionsQueryKey, manageCartsMutation, manageCartsOptions, manageCartsQueryKey, paymentSetupMutation, paymentSetupOptions, paymentSetupQueryKey, postV2AccountAddressMutation, postV2AccountAddressOptions, postV2AccountAddressQueryKey, postV2AccountMembersTokensMutation, postV2AccountMembersTokensOptions, postV2AccountMembersTokensQueryKey, postV2AccountsMutation, postV2AccountsOptions, postV2AccountsQueryKey, publishReleaseMutation, publishReleaseOptions, publishReleaseQueryKey, putV2AccountAddressMutation, putV2AccountsAccountIdMutation, refundATransactionMutation, refundATransactionOptions, refundATransactionQueryKey, updateACartItemMutation, updateACartMutation, updateATaxItemMutation, updateAnOrderMutation, updateCatalogMutation, updateCustomDiscountForCartItemMutation, updateCustomDiscountForCartMutation, updatePasswordProfileInfoMutation, updateRuleMutation } from './client/@tanstack/react-query.gen.cjs';
|
|
4
|
+
export { Client, createClient } from '@hey-api/client-fetch';
|
|
5
|
+
export { extractProductImage } from './utils/extract-product-image.cjs';
|
|
6
|
+
import '@tanstack/react-query';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./client";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
|
|
1
|
+
export { AcceptLanguage, AccessTokenRequest, AccessTokenResponse, Account, AccountAddressResponse, AccountAddressesError, AccountAddressesErrorResponse, AccountAddressesMetaTimestamps, AccountAuthenticationSettings, AccountAuthenticationSettingsResponse, AccountCheckout, AccountManagementAuthenticationToken, AccountManagementAuthenticationTokenResponse, AccountManagementError, AccountManagementErrorResponse, AccountManagementMetaTimestamps, AccountMember, AccountMemberResponse, AccountMemberSelfManagement, AccountMembership, AccountMembershipResponse, AccountMembershipResponseUsingAccountMemberId, AccountMembershipSettings, AccountResponse, Action, ActivePlan, AddAllOrNothingOptionsObject, AddCustomDiscountToCartItemData, AddCustomDiscountToCartItemError, AddCustomDiscountToCartItemErrors, AddCustomDiscountToCartItemResponse, AddCustomDiscountToCartItemResponses, AddTaxItemToCartData, AddTaxItemToCartError, AddTaxItemToCartErrors, AddTaxItemToCartResponse, AddTaxItemToCartResponses, Address, AddressResponse, Amount, AnonymizeOrdersData, AnonymizeOrdersError, AnonymizeOrdersErrors, AnonymizeOrdersResponse, AnonymizeOrdersResponses, AuthenticationRealm, AuthenticationRealmListResponse, AuthenticationRealmResponse, AuthenticationRealmUpdateRequest, BillingAddress, BillingIntervalType, BillingRunReport, BuildOffering, BuildSubscription, BulkAddCustomDiscountsToCartData, BulkAddCustomDiscountsToCartError, BulkAddCustomDiscountsToCartErrors, BulkAddCustomDiscountsToCartResponse, BulkAddCustomDiscountsToCartResponses, BulkAddItemsRequest, BulkAddTaxItemsToCartData, BulkAddTaxItemsToCartError, BulkAddTaxItemsToCartErrors, BulkAddTaxItemsToCartResponse, BulkAddTaxItemsToCartResponses, BulkDeleteCustomDiscountsFromCartData, BulkDeleteCustomDiscountsFromCartError, BulkDeleteCustomDiscountsFromCartErrors, BulkDeleteCustomDiscountsFromCartResponse, BulkDeleteCustomDiscountsFromCartResponses, BulkDeleteTaxItemsFromCartData, BulkDeleteTaxItemsFromCartError, BulkDeleteTaxItemsFromCartErrors, BulkDeleteTaxItemsFromCartResponse, BulkDeleteTaxItemsFromCartResponses, BulkUpdateCartsItems, BulkUpdateItemsInCartData, BulkUpdateItemsInCartError, BulkUpdateItemsInCartErrors, BulkUpdateItemsInCartResponses, BundleConfiguration, BundleConfigurationData, BundleConfigurationData2, CancelATransactionData, CancelATransactionError, CancelATransactionErrors, CancelATransactionResponse, CancelATransactionResponses, CaptureATransactionData, CaptureATransactionError, CaptureATransactionErrors, CaptureATransactionResponse, CaptureATransactionResponses, CartCheckoutTimestamps, CartContact, CartInclude, CartInclude2, CartItemBulkCustomDiscountObject, CartItemBulkCustomDiscountResponse, CartItemObject, CartItemObjectData, CartItemRelationship, CartItemResponse, CartItemResponseObject, CartItemsObjectRequest, CartItemsObjectResponse, CartMergeObject, CartMergeObjectRequest, CartResponse, CartTimestamps, CartsBulkCustomDiscounts, CartsBulkCustomDiscountsResponse, CartsBulkTaxes, CartsCustomDiscountsObject, CartsCustomDiscountsResponse, CartsItemsTaxesObject, CartsRelationshipsAccountsData, CartsRelationshipsCustomersData, CartsRequest, CartsResponse, Catalog, CatalogCreateData, CatalogData, CatalogListData, CatalogReleaseCreateData, CatalogUpdateData, ChangeState, Channel, CheckoutApiData, CheckoutApiError, CheckoutApiErrors, CheckoutApiResponse, CheckoutApiResponses, ComponentProduct, ComponentProductOption, ComponentProductsRelationship, Components, ConfigureByContextProductData, ConfigureByContextProductError, ConfigureByContextProductErrors, ConfigureByContextProductResponse, ConfigureByContextProductResponses, ConfirmPaymentData, ConfirmPaymentError, ConfirmPaymentErrors, ConfirmPaymentResponse, ConfirmPaymentResponses, Contact, CreateACartData, CreateACartError, CreateACartErrors, CreateACartResponse, CreateACartResponses, CreateAccountCartAssociationData, CreateAccountCartAssociationError, CreateAccountCartAssociationErrors, CreateAccountCartAssociationResponse, CreateAccountCartAssociationResponses, CreateAnAccessTokenData, CreateAnAccessTokenError, CreateAnAccessTokenErrors, CreateAnAccessTokenResponse, CreateAnAccessTokenResponses, CreateCartPaymentIntentData, CreateCartPaymentIntentError, CreateCartPaymentIntentErrors, CreateCartPaymentIntentResponse, CreateCartPaymentIntentResponses, CreateCatalogData, CreateCatalogError, CreateCatalogErrors, CreateCatalogResponse, CreateCatalogResponses, CreateCustomerCartAssociationData, CreateCustomerCartAssociationError, CreateCustomerCartAssociationErrors, CreateCustomerCartAssociationResponse, CreateCustomerCartAssociationResponses, CreateOneTimePasswordTokenRequestData, CreateOneTimePasswordTokenRequestResponses, CreateRuleData, CreateRuleError, CreateRuleErrors, CreateRuleResponse, CreateRuleResponses, Currencies, CurrencyIdentifier, CustomAttributes, CustomDiscountRelationshipsCartItemRequest, CustomInput, CustomInputValidationRule, CustomInputValidationRuleOptions, CustomInputs, CustomItemObject, CustomItemObjectData, CustomItemResponseObject, CustomerCheckout, DataAdyenPayment, DataAuthorizeNetPayment, DataBasePayments, DataBraintreePayment, DataCardConnectPayment, DataCreateCurrencies, DataCyberSourcePayment, DataManualPayment, DataPayPalExpressCheckoutPayment, DataPaymentObject, DataStripeConnectPayment, DataStripePayment, DataStripePaymentIntentsPayment, DataUpdateCurrencies, DeleteACartData, DeleteACartError, DeleteACartErrors, DeleteACartItemData, DeleteACartItemError, DeleteACartItemErrors, DeleteACartItemResponse, DeleteACartItemResponses, DeleteACartResponse, DeleteACartResponses, DeleteAPromotionViaPromotionCodeData, DeleteAPromotionViaPromotionCodeError, DeleteAPromotionViaPromotionCodeErrors, DeleteAPromotionViaPromotionCodeResponse, DeleteAPromotionViaPromotionCodeResponses, DeleteATaxItemData, DeleteATaxItemError, DeleteATaxItemErrors, DeleteATaxItemResponse, DeleteATaxItemResponses, DeleteAccountCartAssociationData, DeleteAccountCartAssociationError, DeleteAccountCartAssociationErrors, DeleteAccountCartAssociationResponse, DeleteAccountCartAssociationResponses, DeleteAllCartItemsData, DeleteAllCartItemsError, DeleteAllCartItemsErrors, DeleteAllCartItemsResponse, DeleteAllCartItemsResponses, DeleteCatalogByIdData, DeleteCatalogByIdError, DeleteCatalogByIdErrors, DeleteCatalogByIdResponse, DeleteCatalogByIdResponses, DeleteCustomDiscountFromCartData, DeleteCustomDiscountFromCartError, DeleteCustomDiscountFromCartErrors, DeleteCustomDiscountFromCartItemData, DeleteCustomDiscountFromCartItemError, DeleteCustomDiscountFromCartItemErrors, DeleteCustomDiscountFromCartItemResponse, DeleteCustomDiscountFromCartItemResponses, DeleteCustomDiscountFromCartResponse, DeleteCustomDiscountFromCartResponses, DeleteCustomerCartAssociationData, DeleteCustomerCartAssociationError, DeleteCustomerCartAssociationErrors, DeleteCustomerCartAssociationResponse, DeleteCustomerCartAssociationResponses, DeleteReleaseByIdData, DeleteReleaseByIdError, DeleteReleaseByIdErrors, DeleteReleaseByIdResponse, DeleteReleaseByIdResponses, DeleteReleasesData, DeleteReleasesError, DeleteReleasesErrors, DeleteReleasesResponse, DeleteReleasesResponses, DeleteRuleByIdData, DeleteRuleByIdError, DeleteRuleByIdErrors, DeleteRuleByIdResponse, DeleteRuleByIdResponses, DeleteV2AccountAddressData, DeleteV2AccountAddressError, DeleteV2AccountAddressErrors, DeleteV2AccountAddressResponse, DeleteV2AccountAddressResponses, DiffListData, DiscountData, DiscountSettings, DisplayPrice, DisplayPrice2, DunningRule, DunningRuleAttributes, DunningRuleCreate, DunningRuleMeta, DunningRuleUpdate, DunningRuleUpdateAttributes, ElasticPathFile, ElasticPathPaymentsPoweredByStripePayment, EndBehavior, Error2, ErrorBadRequest, ErrorNotFound, ErrorResponse, ErrorResponse2, Extension, Extensions, ExternalRef, ExternalRefUpdate, Feature, FeatureAccessAttributes, FeatureAttributes, FeatureConfigAccessAttributes, FeatureConfigPromotionAttributes, FeatureConfigUsageAttributes, FeatureConfiguration, FeatureCreate, FeatureMeta, FeatureProductConfiguration, FeatureProductConfigurationUpdate, FeaturePromotion, FeaturePromotionAttributes, FeatureResponseAttributes, FeatureTag, FeatureUpdate, FeatureUpdateAttributes, FeatureUsageAttributes, File, FileLink, FileLink2, FileMeta, FileMeta2, FileReference, FilesError, FilesErrorResponse, FilesLinks, FilesRelationship, FilesUuid, Filesfilter, FilespageLimit, FilespageOffset, Filter, FilterHierarchy, FilterNode, FilterProduct, FilterRule, FormattedPrice, FormattedPriceData, Gateway, GeolocationDetails, GetACurrencyData, GetACurrencyError, GetACurrencyErrors, GetACurrencyResponse, GetACurrencyResponses, GetAFileData, GetAFileError, GetAFileErrors, GetAFileResponse, GetAFileResponses, GetATransactionData, GetATransactionError, GetATransactionErrors, GetATransactionResponse, GetATransactionResponses, GetAllCurrenciesData, GetAllCurrenciesError, GetAllCurrenciesErrors, GetAllCurrenciesResponse, GetAllCurrenciesResponses, GetAllFilesData, GetAllFilesError, GetAllFilesErrors, GetAllFilesResponse, GetAllFilesResponses, GetAllHierarchiesData, GetAllHierarchiesError, GetAllHierarchiesErrors, GetAllHierarchiesResponse, GetAllHierarchiesResponses, GetAllNodesData, GetAllNodesError, GetAllNodesErrors, GetAllNodesResponse, GetAllNodesResponses, GetAllProductsData, GetAllProductsError, GetAllProductsErrors, GetAllProductsResponse, GetAllProductsResponses, GetAnOrderData, GetAnOrderError, GetAnOrderErrors, GetAnOrderResponse, GetAnOrderResponses, GetByContextAllHierarchiesData, GetByContextAllHierarchiesError, GetByContextAllHierarchiesErrors, GetByContextAllHierarchiesResponse, GetByContextAllHierarchiesResponses, GetByContextAllNodesData, GetByContextAllNodesError, GetByContextAllNodesErrors, GetByContextAllNodesResponse, GetByContextAllNodesResponses, GetByContextAllProductsData, GetByContextAllProductsError, GetByContextAllProductsErrors, GetByContextAllProductsResponse, GetByContextAllProductsResponses, GetByContextChildNodesData, GetByContextChildNodesError, GetByContextChildNodesErrors, GetByContextChildNodesResponse, GetByContextChildNodesResponses, GetByContextChildProductsData, GetByContextChildProductsError, GetByContextChildProductsErrors, GetByContextChildProductsResponse, GetByContextChildProductsResponses, GetByContextComponentProductIdsData, GetByContextComponentProductIdsError, GetByContextComponentProductIdsErrors, GetByContextComponentProductIdsResponse, GetByContextComponentProductIdsResponses, GetByContextHierarchyChildNodesData, GetByContextHierarchyChildNodesError, GetByContextHierarchyChildNodesErrors, GetByContextHierarchyChildNodesResponse, GetByContextHierarchyChildNodesResponses, GetByContextHierarchyData, GetByContextHierarchyError, GetByContextHierarchyErrors, GetByContextHierarchyNodesData, GetByContextHierarchyNodesError, GetByContextHierarchyNodesErrors, GetByContextHierarchyNodesResponse, GetByContextHierarchyNodesResponses, GetByContextHierarchyResponse, GetByContextHierarchyResponses, GetByContextNodeData, GetByContextNodeError, GetByContextNodeErrors, GetByContextNodeResponse, GetByContextNodeResponses, GetByContextProductData, GetByContextProductError, GetByContextProductErrors, GetByContextProductResponse, GetByContextProductResponses, GetByContextProductsForHierarchyData, GetByContextProductsForHierarchyError, GetByContextProductsForHierarchyErrors, GetByContextProductsForHierarchyResponse, GetByContextProductsForHierarchyResponses, GetByContextProductsForNodeData, GetByContextProductsForNodeError, GetByContextProductsForNodeErrors, GetByContextProductsForNodeResponse, GetByContextProductsForNodeResponses, GetByContextReleaseData, GetByContextReleaseError, GetByContextReleaseErrors, GetByContextReleaseResponse, GetByContextReleaseResponses, GetCartData, GetCartError, GetCartErrors, GetCartItemsData, GetCartItemsError, GetCartItemsErrors, GetCartItemsResponse, GetCartItemsResponses, GetCartResponse, GetCartResponses, GetCartsData, GetCartsError, GetCartsErrors, GetCartsResponse, GetCartsResponses, GetCatalogByIdData, GetCatalogByIdError, GetCatalogByIdErrors, GetCatalogByIdResponse, GetCatalogByIdResponses, GetCatalogsData, GetCatalogsError, GetCatalogsErrors, GetCatalogsResponse, GetCatalogsResponses, GetChildNodesData, GetChildNodesError, GetChildNodesErrors, GetChildNodesResponse, GetChildNodesResponses, GetChildProductsData, GetChildProductsError, GetChildProductsErrors, GetChildProductsResponse, GetChildProductsResponses, GetComponentProductIdsData, GetComponentProductIdsError, GetComponentProductIdsErrors, GetComponentProductIdsResponse, GetComponentProductIdsResponses, GetCustomerOrdersData, GetCustomerOrdersError, GetCustomerOrdersErrors, GetCustomerOrdersResponse, GetCustomerOrdersResponses, GetFeatureData, GetFeatureError, GetFeatureErrors, GetFeatureResponse, GetFeatureResponses, GetHierarchyChildNodesData, GetHierarchyChildNodesError, GetHierarchyChildNodesErrors, GetHierarchyChildNodesResponse, GetHierarchyChildNodesResponses, GetHierarchyData, GetHierarchyError, GetHierarchyErrors, GetHierarchyNodesData, GetHierarchyNodesError, GetHierarchyNodesErrors, GetHierarchyNodesResponse, GetHierarchyNodesResponses, GetHierarchyResponse, GetHierarchyResponses, GetInvoiceData, GetInvoiceError, GetInvoiceErrors, GetInvoiceResponse, GetInvoiceResponses, GetNodeData, GetNodeError, GetNodeErrors, GetNodeResponse, GetNodeResponses, GetOfferingData, GetOfferingError, GetOfferingErrors, GetOfferingResponse, GetOfferingResponses, GetOrderItemsData, GetOrderItemsError, GetOrderItemsErrors, GetOrderItemsResponse, GetOrderItemsResponses, GetOrderTransactionsData, GetOrderTransactionsError, GetOrderTransactionsErrors, GetOrderTransactionsResponse, GetOrderTransactionsResponses, GetPlanData, GetPlanError, GetPlanErrors, GetPlanResponse, GetPlanResponses, GetProductData, GetProductError, GetProductErrors, GetProductResponse, GetProductResponses, GetProductsForHierarchyData, GetProductsForHierarchyError, GetProductsForHierarchyErrors, GetProductsForHierarchyResponse, GetProductsForHierarchyResponses, GetProductsForNodeData, GetProductsForNodeError, GetProductsForNodeErrors, GetProductsForNodeResponse, GetProductsForNodeResponses, GetReleaseByIdData, GetReleaseByIdError, GetReleaseByIdErrors, GetReleaseByIdResponse, GetReleaseByIdResponses, GetReleasesData, GetReleasesError, GetReleasesErrors, GetReleasesResponse, GetReleasesResponses, GetRuleByIdData, GetRuleByIdError, GetRuleByIdErrors, GetRuleByIdResponse, GetRuleByIdResponses, GetRulesData, GetRulesError, GetRulesErrors, GetRulesResponse, GetRulesResponses, GetStockData, GetStockError, GetStockErrors, GetStockResponse, GetStockResponses, GetSubscriptionData, GetSubscriptionError, GetSubscriptionErrors, GetSubscriptionInvoiceData, GetSubscriptionInvoiceError, GetSubscriptionInvoiceErrors, GetSubscriptionInvoicePaymentData, GetSubscriptionInvoicePaymentError, GetSubscriptionInvoicePaymentErrors, GetSubscriptionInvoicePaymentResponse, GetSubscriptionInvoicePaymentResponses, GetSubscriptionInvoiceResponse, GetSubscriptionInvoiceResponses, GetSubscriptionProductData, GetSubscriptionProductError, GetSubscriptionProductErrors, GetSubscriptionProductResponse, GetSubscriptionProductResponses, GetSubscriptionResponse, GetSubscriptionResponses, GetSubscriptionStateData, GetSubscriptionStateError, GetSubscriptionStateErrors, GetSubscriptionStateResponse, GetSubscriptionStateResponses, GetV2AccountAddressData, GetV2AccountAddressError, GetV2AccountAddressErrors, GetV2AccountAddressResponse, GetV2AccountAddressResponses, GetV2AccountAddressesData, GetV2AccountAddressesError, GetV2AccountAddressesErrors, GetV2AccountAddressesResponse, GetV2AccountAddressesResponses, GetV2AccountMembersAccountMemberIdData, GetV2AccountMembersAccountMemberIdError, GetV2AccountMembersAccountMemberIdErrors, GetV2AccountMembersAccountMemberIdResponse, GetV2AccountMembersAccountMemberIdResponses, GetV2AccountMembersData, GetV2AccountMembersError, GetV2AccountMembersErrors, GetV2AccountMembersResponse, GetV2AccountMembersResponses, GetV2AccountsAccountIdAccountMembershipsData, GetV2AccountsAccountIdAccountMembershipsError, GetV2AccountsAccountIdAccountMembershipsErrors, GetV2AccountsAccountIdAccountMembershipsResponse, GetV2AccountsAccountIdAccountMembershipsResponses, GetV2AccountsAccountIdData, GetV2AccountsAccountIdError, GetV2AccountsAccountIdErrors, GetV2AccountsAccountIdResponse, GetV2AccountsAccountIdResponses, GetV2AccountsData, GetV2AccountsError, GetV2AccountsErrors, GetV2AccountsResponse, GetV2AccountsResponses, Hierarchy, HierarchyAttributes, HierarchyData, HierarchyListData, HierarchyMeta, HierarchyRelationships, Import, ImportAttributes, ImportMeta, ImportRecords, Include, Include2, IncludeAccount, IncludeAccountMember, IncludeComponentProducts, Included, InventoriesError, InventoriesErrorResponse, InventoriesFilter, InventoriesPageLimit, InventoriesPageOffset, InventoriesTimestamps, InventoriesTransactionResponse, InventoriesUuid, InventoryLocationType, InvoicePaymentTimestamps, InvoiceTaxItems, InvoiceTimestamps, ItemPriceData, Job, JobAttributes, JobCreate, JobCreateAttributes, JobMeta, JobReport, JobResponseAttributes, JobTimestamps, JobType, Limit, Link, LinkObject, LinkUri, Links, Links2, ListInvoicesData, ListInvoicesError, ListInvoicesErrors, ListInvoicesResponse, ListInvoicesResponses, ListLocationsData, ListLocationsError, ListLocationsErrors, ListLocationsResponse, ListLocationsResponses, ListOfferingFeaturesData, ListOfferingFeaturesError, ListOfferingFeaturesErrors, ListOfferingFeaturesResponse, ListOfferingFeaturesResponses, ListOfferingPlansData, ListOfferingPlansError, ListOfferingPlansErrors, ListOfferingPlansResponse, ListOfferingPlansResponses, ListOfferingProductsData, ListOfferingProductsError, ListOfferingProductsErrors, ListOfferingProductsResponse, ListOfferingProductsResponses, ListOfferingsData, ListOfferingsError, ListOfferingsErrors, ListOfferingsResponse, ListOfferingsResponses, ListSubscriptionInvoicePaymentsData, ListSubscriptionInvoicePaymentsResponse, ListSubscriptionInvoicePaymentsResponses, ListSubscriptionInvoicesData, ListSubscriptionInvoicesError, ListSubscriptionInvoicesErrors, ListSubscriptionInvoicesResponse, ListSubscriptionInvoicesResponses, ListSubscriptionPlansData, ListSubscriptionPlansError, ListSubscriptionPlansErrors, ListSubscriptionPlansResponse, ListSubscriptionPlansResponses, ListSubscriptionProductsData, ListSubscriptionProductsError, ListSubscriptionProductsErrors, ListSubscriptionProductsResponse, ListSubscriptionProductsResponses, ListSubscriptionStatesData, ListSubscriptionStatesError, ListSubscriptionStatesErrors, ListSubscriptionStatesResponse, ListSubscriptionStatesResponses, ListSubscriptionsData, ListSubscriptionsError, ListSubscriptionsErrors, ListSubscriptionsResponse, ListSubscriptionsResponses, Location, LocationAttributes, LocationRequest, LocationUpdateAttributes, LocationUpdateRequest, MainImageRelationship, ManageCartsData, ManageCartsError, ManageCartsErrors, ManageCartsResponse, ManageCartsResponses, ManageSubscriptionProducts, ManualPayments, ManyRelationship, Meta, MetaAccountMemberId, MetaList, MetaListPage, MetaListResults, Method, MultipleProducts, Node, NodeAttributes, NodeCreateData, NodeData, NodeListData, NodeMeta, NodeReference, NodeRelationships, NodeRelationshipsData, NullableLocation, NullableLocations, NullablePaymentAuthority, NullablePrice, NullablePriceUnits, Offering, OfferingAttributes, OfferingCreate, OfferingFeature, OfferingFeatureAttach, OfferingFeatureUpdate, OfferingIncludes, OfferingMeta, OfferingPlan, OfferingPlanAttach, OfferingPlanMeta, OfferingPlanUpdate, OfferingProduct, OfferingProductAttach, OfferingProductExternalRefMeta, OfferingProductReplace, OfferingProductResponseAttributes, OfferingProductResponseExtraAttributes, OfferingProductUpdate, OfferingProductUpdateAttributes, OfferingProductUpdateExtraAttributes, OfferingRelationships, OfferingResponseAttributes, OfferingUpdate, OfferingUpdateAttributes, OfferingUpdateRelationships, Offset, OidcProfile, OidcProfileCreateRequestWrapper, OidcProfileListResponse, OidcProfileResponse, OidcProfileUpdateRequestWrapper, OneTimePasswordTokenRequest, OpenIdConnectRequest, OrderItemFormattedUnitPriceData, OrderItemResponse, OrderMeta, OrderPriceData, OrderResponse, OrdersAddressData, OrdersAnonymizeData, OrdersAnonymizeRequest, OrdersCancelData, OrdersFulfilledData, OrdersTransactionsCancelRequest, OrdersTransactionsCaptureRequest, OrdersTransactionsConfirmRequest, OrdersTransactionsRefundRequest, OrdersUpdateRequest, Owner, OwnerMeta, PageLimit, PageMeta, PageOffset, PasswordProfile, PasswordProfileCreateRequestWrapper, PasswordProfileInfo, PasswordProfileInfoCreateRequest, PasswordProfileInfoCreateRequestWrapper, PasswordProfileInfoListResponse, PasswordProfileInfoResponse, PasswordProfileInfoUpdateRequest, PasswordProfileInfoUpdateRequestWrapper, PasswordProfileListResponse, PasswordProfileResponse, PasswordProfileUpdateRequestWrapper, PasswordRequest, PasswordlessRequest, PaymentAuthority, PaymentAuthorityAuthorizeNet, PaymentAuthorityStripe, PaymentFailureDetail, PaymentRetryType, PaymentRetryUnit, PaymentRunReport, PaymentSetupData, PaymentSetupError, PaymentSetupErrors, PaymentSetupResponse, PaymentSetupResponses, PaymentsRequest, Plan, PlanAttributes, PlanAttributesAndSelectedMeta, PlanCreate, PlanMeta, PlanResponseAttributes, PlanUpdate, PlanUpdateAttributes, PostV2AccountAddressData, PostV2AccountAddressError, PostV2AccountAddressErrors, PostV2AccountAddressResponse, PostV2AccountAddressResponses, PostV2AccountMembersTokensData, PostV2AccountMembersTokensError, PostV2AccountMembersTokensErrors, PostV2AccountMembersTokensResponse, PostV2AccountMembersTokensResponses, PostV2AccountsData, PostV2AccountsError, PostV2AccountsErrors, PostV2AccountsResponse, PostV2AccountsResponses, Price, PriceFormatting, PriceUnits, Pricebook, PricebookCreateData, PricebookData, PricebookPrice, PricebookPriceCreateData, PricebookPriceData, PrioritizedPricebooks, Product, Product2, ProductAttributes, ProductAttributes2, ProductCreate, ProductCreateData, ProductData, ProductDiff, ProductListData, ProductMeta, ProductMeta2, ProductReference, ProductReferenceListData, ProductReferences, ProductRelationships, ProductRelationshipsData, ProductResponseAttributes, ProductUpdate, ProductUpdateAttributes, ProductsForCart, ProductsForCartConfiguration, ProductsForCartConfiguration2, PromotionItemObject, PromotionItemObjectData, PromotionItemResponseObject, ProrationEvent, ProrationPolicy, ProrationPolicyAttributes, ProrationPolicyCreate, ProrationPolicyMeta, ProrationPolicyRelationshipAttributes, ProrationPolicyResponseAttributes, ProrationPolicyType, ProrationPolicyUpdate, ProrationPolicyUpdateAttributes, ProrationPolicyUpdateRelationshipAttributes, PublishReleaseData, PublishReleaseError, PublishReleaseErrors, PublishReleaseResponse, PublishReleaseResponses, Purpose, PutV2AccountAddressData, PutV2AccountAddressError, PutV2AccountAddressErrors, PutV2AccountAddressResponse, PutV2AccountAddressResponses, PutV2AccountsAccountIdData, PutV2AccountsAccountIdError, PutV2AccountsAccountIdErrors, PutV2AccountsAccountIdResponse, PutV2AccountsAccountIdResponses, ReOrderObject, ReOrderObjectRequest, ReadOnlyParentId, RefundATransactionData, RefundATransactionError, RefundATransactionErrors, RefundATransactionResponse, RefundATransactionResponses, RelatedLink, Relationship, RelationshipArray, RelationshipData, RelationshipItem, RelationshipLinks, Relationships, Release, ReleaseData, ReleaseListData, ReleaseMeta, ReleaseRelationships, ReleaseStatus, RequestCreateCurrencies, RequestUpdateCurrencies, ResponseCurrency, ResponseData, ResponseError, ResponseMetaCarts, ResponseMetaCurrency, ResponseMetaOrders, ResponsePageLinks, ResponsePaginationPage, ResponsePaginationResults, ResultsLinks, ResultsMeta, Rounding, Rule, RuleCreateData, RuleData, RuleListData, RuleSchedule, RuleUpdateData, Sale, Sales, Schedule, Schedule2, ScheduleAttributes, ScheduleCreate, ScheduleJob, ScheduleMeta, ScheduleResponseAttributes, ScheduleUpdate, ScheduleUpdateAttributes, SelectedPlanMeta, SelectedPlanMetaAttributes, SelfLink, SelfLink2, SelfSignupRequest, ShippingAddress, ShopperAttributes, SingleCurrencyPrice, SingleRelationship, Sort, StateMeta, Status, Status2, StockCreate, StockCreateAttributes, StockLocations, StockMeta, StockResponse, StockResponseAttributes, StockTransactionType, StockType, StockUpdateAttributes, StockUpdateRequest, Subscriber, SubscriberAttributes, SubscriberCreate, SubscriberMeta, SubscriberResponseAttributes, SubscriberUpdate, SubscriberUpdateAttributes, Subscription, SubscriptionAttributes, SubscriptionDunningRuleType, SubscriptionFeatureType, SubscriptionImportError, SubscriptionImportErrorMeta, SubscriptionImportErrorType, SubscriptionImportType, SubscriptionIncludes, SubscriptionInvoice, SubscriptionInvoiceAttributes, SubscriptionInvoiceItem, SubscriptionInvoiceMeta, SubscriptionInvoicePayment, SubscriptionInvoicePaymentAttributes, SubscriptionInvoicePaymentMeta, SubscriptionInvoicePaymentType, SubscriptionInvoiceType, SubscriptionItemObject, SubscriptionItemObjectData, SubscriptionItemResponseObject, SubscriptionJobType, SubscriptionMeta, SubscriptionOfferingFeatureType, SubscriptionOfferingPlanType, SubscriptionOfferingProductType, SubscriptionOfferingType, SubscriptionPlanType, SubscriptionProductType, SubscriptionScheduleType, SubscriptionState, SubscriptionStateAction, SubscriptionStateAttributes, SubscriptionStateType, SubscriptionSubscriberType, SubscriptionTimestamps, SubscriptionType, SubscriptionUpdate, SubscriptionUpdateAttributes, SubscriptionsError, SubscriptionsErrorResponse, SubscriptionsFilter, SubscriptionsPageLimit, SubscriptionsPageOffset, SubscriptionsSingleRelationship, SubscriptionsTimestamps, SubscriptionsUuid, SwitchingAccountRequest, Tag, TaxItem, TaxRunReport, Tier, TieredAmount, TieredCurrencies, Tiers, TimePeriod, Timestamps, TransactionCreate, TransactionCreateAttributes, TransactionResponse, TransactionResponseAttributes, Type, Unit, UpdateACartData, UpdateACartError, UpdateACartErrors, UpdateACartItemData, UpdateACartItemError, UpdateACartItemErrors, UpdateACartItemResponse, UpdateACartItemResponses, UpdateACartResponse, UpdateACartResponses, UpdateATaxItemData, UpdateATaxItemError, UpdateATaxItemErrors, UpdateATaxItemResponse, UpdateATaxItemResponses, UpdateAllOrNothingOptionsObject, UpdateAnOrderData, UpdateAnOrderError, UpdateAnOrderErrors, UpdateAnOrderResponse, UpdateAnOrderResponses, UpdateCartsItems, UpdateCatalogData, UpdateCatalogError, UpdateCatalogErrors, UpdateCatalogResponse, UpdateCatalogResponses, UpdateCustomDiscountForCartData, UpdateCustomDiscountForCartError, UpdateCustomDiscountForCartErrors, UpdateCustomDiscountForCartItemData, UpdateCustomDiscountForCartItemError, UpdateCustomDiscountForCartItemErrors, UpdateCustomDiscountForCartItemResponse, UpdateCustomDiscountForCartItemResponses, UpdateCustomDiscountForCartResponse, UpdateCustomDiscountForCartResponses, UpdateInvoicePayment, UpdateInvoicePaymentAttributes, UpdatePasswordProfileInfoData, UpdatePasswordProfileInfoErrors, UpdatePasswordProfileInfoResponse, UpdatePasswordProfileInfoResponses, UpdateRuleData, UpdateRuleError, UpdateRuleErrors, UpdateRuleResponse, UpdateRuleResponses, UserAuthenticationInfo, UserAuthenticationInfoCreateRequestWrapper, UserAuthenticationInfoListResponse, UserAuthenticationInfoResponse, UserAuthenticationInfoUpdateRequestWrapper, UserAuthenticationOidcProfileInfo, UserAuthenticationOidcProfileInfoCreateRequestWrapper, UserAuthenticationOidcProfileInfoListResponse, UserAuthenticationOidcProfileInfoResponse, UserAuthenticationOidcProfileInfoUpdateRequestWrapper, Uuid, Variation, VariationOption, WritableParentId, _Error } from './client/types.gen.js';
|
|
2
|
+
export { addCustomDiscountToCartItem, addTaxItemToCart, anonymizeOrders, bulkAddCustomDiscountsToCart, bulkAddTaxItemsToCart, bulkDeleteCustomDiscountsFromCart, bulkDeleteTaxItemsFromCart, bulkUpdateItemsInCart, cancelATransaction, captureATransaction, checkoutApi, client, configureByContextProduct, confirmPayment, createACart, createAccountCartAssociation, createAnAccessToken, createCartPaymentIntent, createCatalog, createCustomerCartAssociation, createOneTimePasswordTokenRequest, createRule, deleteACart, deleteACartItem, deleteAPromotionViaPromotionCode, deleteATaxItem, deleteAccountCartAssociation, deleteAllCartItems, deleteCatalogById, deleteCustomDiscountFromCart, deleteCustomDiscountFromCartItem, deleteCustomerCartAssociation, deleteReleaseById, deleteReleases, deleteRuleById, deleteV2AccountAddress, getACurrency, getAFile, getATransaction, getAllCurrencies, getAllFiles, getAllHierarchies, getAllNodes, getAllProducts, getAnOrder, getByContextAllHierarchies, getByContextAllNodes, getByContextAllProducts, getByContextChildNodes, getByContextChildProducts, getByContextComponentProductIds, getByContextHierarchy, getByContextHierarchyChildNodes, getByContextHierarchyNodes, getByContextNode, getByContextProduct, getByContextProductsForHierarchy, getByContextProductsForNode, getByContextRelease, getCart, getCartItems, getCarts, getCatalogById, getCatalogs, getChildNodes, getChildProducts, getComponentProductIds, getCustomerOrders, getFeature, getHierarchy, getHierarchyChildNodes, getHierarchyNodes, getInvoice, getNode, getOffering, getOrderItems, getOrderTransactions, getPlan, getProduct, getProductsForHierarchy, getProductsForNode, getReleaseById, getReleases, getRuleById, getRules, getStock, getSubscription, getSubscriptionInvoice, getSubscriptionInvoicePayment, getSubscriptionProduct, getSubscriptionState, getV2AccountAddress, getV2AccountAddresses, getV2AccountMembers, getV2AccountMembersAccountMemberId, getV2Accounts, getV2AccountsAccountId, getV2AccountsAccountIdAccountMemberships, listInvoices, listLocations, listOfferingFeatures, listOfferingPlans, listOfferingProducts, listOfferings, listSubscriptionInvoicePayments, listSubscriptionInvoices, listSubscriptionPlans, listSubscriptionProducts, listSubscriptionStates, listSubscriptions, manageCarts, paymentSetup, postV2AccountAddress, postV2AccountMembersTokens, postV2Accounts, publishRelease, putV2AccountAddress, putV2AccountsAccountId, refundATransaction, updateACart, updateACartItem, updateATaxItem, updateAnOrder, updateCatalog, updateCustomDiscountForCart, updateCustomDiscountForCartItem, updatePasswordProfileInfo, updateRule } from './client/sdk.gen.js';
|
|
3
|
+
export { addCustomDiscountToCartItemMutation, addCustomDiscountToCartItemOptions, addCustomDiscountToCartItemQueryKey, addTaxItemToCartMutation, addTaxItemToCartOptions, addTaxItemToCartQueryKey, anonymizeOrdersMutation, anonymizeOrdersOptions, anonymizeOrdersQueryKey, bulkAddCustomDiscountsToCartMutation, bulkAddCustomDiscountsToCartOptions, bulkAddCustomDiscountsToCartQueryKey, bulkAddTaxItemsToCartMutation, bulkAddTaxItemsToCartOptions, bulkAddTaxItemsToCartQueryKey, bulkDeleteCustomDiscountsFromCartMutation, bulkDeleteTaxItemsFromCartMutation, bulkUpdateItemsInCartMutation, cancelATransactionMutation, cancelATransactionOptions, cancelATransactionQueryKey, captureATransactionMutation, captureATransactionOptions, captureATransactionQueryKey, checkoutApiMutation, checkoutApiOptions, checkoutApiQueryKey, configureByContextProductMutation, configureByContextProductOptions, configureByContextProductQueryKey, confirmPaymentMutation, confirmPaymentOptions, confirmPaymentQueryKey, createACartMutation, createACartOptions, createACartQueryKey, createAccountCartAssociationMutation, createAccountCartAssociationOptions, createAccountCartAssociationQueryKey, createAnAccessTokenMutation, createAnAccessTokenOptions, createAnAccessTokenQueryKey, createCartPaymentIntentMutation, createCartPaymentIntentOptions, createCartPaymentIntentQueryKey, createCatalogMutation, createCatalogOptions, createCatalogQueryKey, createCustomerCartAssociationMutation, createCustomerCartAssociationOptions, createCustomerCartAssociationQueryKey, createOneTimePasswordTokenRequestMutation, createOneTimePasswordTokenRequestOptions, createOneTimePasswordTokenRequestQueryKey, createRuleMutation, createRuleOptions, createRuleQueryKey, deleteACartItemMutation, deleteACartMutation, deleteAPromotionViaPromotionCodeMutation, deleteATaxItemMutation, deleteAccountCartAssociationMutation, deleteAllCartItemsMutation, deleteCatalogByIdMutation, deleteCustomDiscountFromCartItemMutation, deleteCustomDiscountFromCartMutation, deleteCustomerCartAssociationMutation, deleteReleaseByIdMutation, deleteReleasesMutation, deleteRuleByIdMutation, deleteV2AccountAddressMutation, getACurrencyOptions, getACurrencyQueryKey, getAFileOptions, getAFileQueryKey, getATransactionOptions, getATransactionQueryKey, getAllCurrenciesOptions, getAllCurrenciesQueryKey, getAllFilesOptions, getAllFilesQueryKey, getAllHierarchiesOptions, getAllHierarchiesQueryKey, getAllNodesOptions, getAllNodesQueryKey, getAllProductsOptions, getAllProductsQueryKey, getAnOrderOptions, getAnOrderQueryKey, getByContextAllHierarchiesOptions, getByContextAllHierarchiesQueryKey, getByContextAllNodesOptions, getByContextAllNodesQueryKey, getByContextAllProductsOptions, getByContextAllProductsQueryKey, getByContextChildNodesOptions, getByContextChildNodesQueryKey, getByContextChildProductsOptions, getByContextChildProductsQueryKey, getByContextComponentProductIdsOptions, getByContextComponentProductIdsQueryKey, getByContextHierarchyChildNodesOptions, getByContextHierarchyChildNodesQueryKey, getByContextHierarchyNodesOptions, getByContextHierarchyNodesQueryKey, getByContextHierarchyOptions, getByContextHierarchyQueryKey, getByContextNodeOptions, getByContextNodeQueryKey, getByContextProductOptions, getByContextProductQueryKey, getByContextProductsForHierarchyOptions, getByContextProductsForHierarchyQueryKey, getByContextProductsForNodeOptions, getByContextProductsForNodeQueryKey, getByContextReleaseOptions, getByContextReleaseQueryKey, getCartItemsOptions, getCartItemsQueryKey, getCartOptions, getCartQueryKey, getCartsOptions, getCartsQueryKey, getCatalogByIdOptions, getCatalogByIdQueryKey, getCatalogsOptions, getCatalogsQueryKey, getChildNodesOptions, getChildNodesQueryKey, getChildProductsOptions, getChildProductsQueryKey, getComponentProductIdsOptions, getComponentProductIdsQueryKey, getCustomerOrdersOptions, getCustomerOrdersQueryKey, getFeatureOptions, getFeatureQueryKey, getHierarchyChildNodesOptions, getHierarchyChildNodesQueryKey, getHierarchyNodesOptions, getHierarchyNodesQueryKey, getHierarchyOptions, getHierarchyQueryKey, getInvoiceOptions, getInvoiceQueryKey, getNodeOptions, getNodeQueryKey, getOfferingOptions, getOfferingQueryKey, getOrderItemsOptions, getOrderItemsQueryKey, getOrderTransactionsOptions, getOrderTransactionsQueryKey, getPlanOptions, getPlanQueryKey, getProductOptions, getProductQueryKey, getProductsForHierarchyOptions, getProductsForHierarchyQueryKey, getProductsForNodeOptions, getProductsForNodeQueryKey, getReleaseByIdOptions, getReleaseByIdQueryKey, getReleasesOptions, getReleasesQueryKey, getRuleByIdOptions, getRuleByIdQueryKey, getRulesOptions, getRulesQueryKey, getStockOptions, getStockQueryKey, getSubscriptionInvoiceOptions, getSubscriptionInvoicePaymentOptions, getSubscriptionInvoicePaymentQueryKey, getSubscriptionInvoiceQueryKey, getSubscriptionOptions, getSubscriptionProductOptions, getSubscriptionProductQueryKey, getSubscriptionQueryKey, getSubscriptionStateOptions, getSubscriptionStateQueryKey, getV2AccountAddressOptions, getV2AccountAddressQueryKey, getV2AccountAddressesOptions, getV2AccountAddressesQueryKey, getV2AccountMembersAccountMemberIdOptions, getV2AccountMembersAccountMemberIdQueryKey, getV2AccountMembersOptions, getV2AccountMembersQueryKey, getV2AccountsAccountIdAccountMembershipsOptions, getV2AccountsAccountIdAccountMembershipsQueryKey, getV2AccountsAccountIdOptions, getV2AccountsAccountIdQueryKey, getV2AccountsOptions, getV2AccountsQueryKey, listInvoicesOptions, listInvoicesQueryKey, listLocationsOptions, listLocationsQueryKey, listOfferingFeaturesOptions, listOfferingFeaturesQueryKey, listOfferingPlansOptions, listOfferingPlansQueryKey, listOfferingProductsOptions, listOfferingProductsQueryKey, listOfferingsOptions, listOfferingsQueryKey, listSubscriptionInvoicePaymentsOptions, listSubscriptionInvoicePaymentsQueryKey, listSubscriptionInvoicesOptions, listSubscriptionInvoicesQueryKey, listSubscriptionPlansOptions, listSubscriptionPlansQueryKey, listSubscriptionProductsOptions, listSubscriptionProductsQueryKey, listSubscriptionStatesOptions, listSubscriptionStatesQueryKey, listSubscriptionsOptions, listSubscriptionsQueryKey, manageCartsMutation, manageCartsOptions, manageCartsQueryKey, paymentSetupMutation, paymentSetupOptions, paymentSetupQueryKey, postV2AccountAddressMutation, postV2AccountAddressOptions, postV2AccountAddressQueryKey, postV2AccountMembersTokensMutation, postV2AccountMembersTokensOptions, postV2AccountMembersTokensQueryKey, postV2AccountsMutation, postV2AccountsOptions, postV2AccountsQueryKey, publishReleaseMutation, publishReleaseOptions, publishReleaseQueryKey, putV2AccountAddressMutation, putV2AccountsAccountIdMutation, refundATransactionMutation, refundATransactionOptions, refundATransactionQueryKey, updateACartItemMutation, updateACartMutation, updateATaxItemMutation, updateAnOrderMutation, updateCatalogMutation, updateCustomDiscountForCartItemMutation, updateCustomDiscountForCartMutation, updatePasswordProfileInfoMutation, updateRuleMutation } from './client/@tanstack/react-query.gen.js';
|
|
4
|
+
export { Client, createClient } from '@hey-api/client-fetch';
|
|
5
|
+
export { extractProductImage } from './utils/extract-product-image.js';
|
|
6
|
+
import '@tanstack/react-query';
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
2
|
+
export * from "./client/@tanstack/react-query.gen.mjs";
|
|
3
|
+
import { createClient } from "@hey-api/client-fetch";
|
|
4
|
+
import { client } from "./client/sdk.gen.mjs";
|
|
5
|
+
import { extractProductImage } from "./utils/index.mjs";
|
|
6
|
+
export {
|
|
7
|
+
client,
|
|
8
|
+
createClient,
|
|
9
|
+
extractProductImage
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from \"./client\"\nexport * from \"./client/@tanstack/react-query.gen\"\nimport { type Client, createClient } from \"@hey-api/client-fetch\"\nexport { createClient, type Client }\nexport { client } from \"./client/sdk.gen\"\nexport { extractProductImage } from \"./utils\"\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,SAAsB,oBAAoB;AAE1C,SAAS,cAAc;AACvB,SAAS,2BAA2B;","names":[]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var extract_media_exports = {};
|
|
20
|
+
__export(extract_media_exports, {
|
|
21
|
+
extractProductMedia: () => extractProductMedia
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(extract_media_exports);
|
|
24
|
+
function extractProductMedia(productData) {
|
|
25
|
+
const mainImageId = productData.data?.relationships?.main_image?.data?.id;
|
|
26
|
+
const mainImages = productData.included?.main_images ?? [];
|
|
27
|
+
const otherFiles = productData.included?.files ?? [];
|
|
28
|
+
const combinedFiles = [...mainImages, ...otherFiles];
|
|
29
|
+
let mainImage;
|
|
30
|
+
const allImages = [];
|
|
31
|
+
for (const file of combinedFiles) {
|
|
32
|
+
if (mainImageId && file.id === mainImageId) {
|
|
33
|
+
mainImage = file;
|
|
34
|
+
}
|
|
35
|
+
if (file.mime_type && file.mime_type.startsWith("image/")) {
|
|
36
|
+
allImages.push(file);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
const otherImages = mainImage ? allImages.filter((file) => file.id !== mainImage.id) : allImages;
|
|
40
|
+
const allFiles = combinedFiles;
|
|
41
|
+
const otherFilesFiltered = mainImage ? combinedFiles.filter((file) => file.id !== mainImage.id) : combinedFiles;
|
|
42
|
+
return {
|
|
43
|
+
mainImage,
|
|
44
|
+
allImages,
|
|
45
|
+
otherImages,
|
|
46
|
+
allFiles,
|
|
47
|
+
otherFiles: otherFilesFiltered
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
51
|
+
0 && (module.exports = {
|
|
52
|
+
extractProductMedia
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=extract-media.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utils/extract-media.ts"],"sourcesContent":["import { ElasticPathFile, ProductData } from \"../client\"\n\nexport interface ExtractedMedia {\n mainImage?: ElasticPathFile\n allImages: ElasticPathFile[]\n otherImages: ElasticPathFile[]\n allFiles: ElasticPathFile[]\n otherFiles: ElasticPathFile[]\n}\n\n/**\n * Extracts the main product image and organizes all files/images into separate arrays.\n *\n * @param productData - The product data containing included files.\n * @returns An object with the main image, all images, other images, all files, and other files.\n */\nexport function extractProductMedia(productData: ProductData): ExtractedMedia {\n // Retrieve the main image id from the product's relationships if it exists\n const mainImageId = productData.data?.relationships?.main_image?.data?.id\n\n // Combine the main_images and files arrays from the included object\n // If either is undefined, we default to an empty array.\n const mainImages = productData.included?.main_images ?? []\n const otherFiles = productData.included?.files ?? []\n const combinedFiles: ElasticPathFile[] = [...mainImages, ...otherFiles]\n\n let mainImage: ElasticPathFile | undefined\n const allImages: ElasticPathFile[] = []\n\n // Single pass over combined files\n for (const file of combinedFiles) {\n // Check if this file is the main image\n if (mainImageId && file.id === mainImageId) {\n mainImage = file\n }\n // Check if file is an image by its mime type (adjust the condition as needed)\n if (file.mime_type && file.mime_type.startsWith(\"image/\")) {\n allImages.push(file)\n }\n }\n\n // Exclude the main image from the arrays (if one was found)\n const otherImages = mainImage\n ? allImages.filter((file) => file.id !== mainImage.id)\n : allImages\n const allFiles = combinedFiles\n const otherFilesFiltered = mainImage\n ? combinedFiles.filter((file) => file.id !== mainImage.id)\n : combinedFiles\n\n return {\n mainImage,\n allImages,\n otherImages,\n allFiles,\n otherFiles: otherFilesFiltered,\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBO,SAAS,oBAAoB,aAA0C;AAE5E,QAAM,cAAc,YAAY,MAAM,eAAe,YAAY,MAAM;AAIvE,QAAM,aAAa,YAAY,UAAU,eAAe,CAAC;AACzD,QAAM,aAAa,YAAY,UAAU,SAAS,CAAC;AACnD,QAAM,gBAAmC,CAAC,GAAG,YAAY,GAAG,UAAU;AAEtE,MAAI;AACJ,QAAM,YAA+B,CAAC;AAGtC,aAAW,QAAQ,eAAe;AAEhC,QAAI,eAAe,KAAK,OAAO,aAAa;AAC1C,kBAAY;AAAA,IACd;AAEA,QAAI,KAAK,aAAa,KAAK,UAAU,WAAW,QAAQ,GAAG;AACzD,gBAAU,KAAK,IAAI;AAAA,IACrB;AAAA,EACF;AAGA,QAAM,cAAc,YAChB,UAAU,OAAO,CAAC,SAAS,KAAK,OAAO,UAAU,EAAE,IACnD;AACJ,QAAM,WAAW;AACjB,QAAM,qBAAqB,YACvB,cAAc,OAAO,CAAC,SAAS,KAAK,OAAO,UAAU,EAAE,IACvD;AAEJ,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY;AAAA,EACd;AACF;","names":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElasticPathFile, ProductData } from '../client/types.gen.cjs';
|
|
2
|
+
|
|
3
|
+
interface ExtractedMedia {
|
|
4
|
+
mainImage?: ElasticPathFile;
|
|
5
|
+
allImages: ElasticPathFile[];
|
|
6
|
+
otherImages: ElasticPathFile[];
|
|
7
|
+
allFiles: ElasticPathFile[];
|
|
8
|
+
otherFiles: ElasticPathFile[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Extracts the main product image and organizes all files/images into separate arrays.
|
|
12
|
+
*
|
|
13
|
+
* @param productData - The product data containing included files.
|
|
14
|
+
* @returns An object with the main image, all images, other images, all files, and other files.
|
|
15
|
+
*/
|
|
16
|
+
declare function extractProductMedia(productData: ProductData): ExtractedMedia;
|
|
17
|
+
|
|
18
|
+
export { type ExtractedMedia, extractProductMedia };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ElasticPathFile, ProductData } from
|
|
2
|
-
|
|
1
|
+
import { ElasticPathFile, ProductData } from '../client/types.gen.js';
|
|
2
|
+
|
|
3
|
+
interface ExtractedMedia {
|
|
3
4
|
mainImage?: ElasticPathFile;
|
|
4
5
|
allImages: ElasticPathFile[];
|
|
5
6
|
otherImages: ElasticPathFile[];
|
|
@@ -12,4 +13,6 @@ export interface ExtractedMedia {
|
|
|
12
13
|
* @param productData - The product data containing included files.
|
|
13
14
|
* @returns An object with the main image, all images, other images, all files, and other files.
|
|
14
15
|
*/
|
|
15
|
-
|
|
16
|
+
declare function extractProductMedia(productData: ProductData): ExtractedMedia;
|
|
17
|
+
|
|
18
|
+
export { type ExtractedMedia, extractProductMedia };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
function extractProductMedia(productData) {
|
|
2
|
+
const mainImageId = productData.data?.relationships?.main_image?.data?.id;
|
|
3
|
+
const mainImages = productData.included?.main_images ?? [];
|
|
4
|
+
const otherFiles = productData.included?.files ?? [];
|
|
5
|
+
const combinedFiles = [...mainImages, ...otherFiles];
|
|
6
|
+
let mainImage;
|
|
7
|
+
const allImages = [];
|
|
8
|
+
for (const file of combinedFiles) {
|
|
9
|
+
if (mainImageId && file.id === mainImageId) {
|
|
10
|
+
mainImage = file;
|
|
11
|
+
}
|
|
12
|
+
if (file.mime_type && file.mime_type.startsWith("image/")) {
|
|
13
|
+
allImages.push(file);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const otherImages = mainImage ? allImages.filter((file) => file.id !== mainImage.id) : allImages;
|
|
17
|
+
const allFiles = combinedFiles;
|
|
18
|
+
const otherFilesFiltered = mainImage ? combinedFiles.filter((file) => file.id !== mainImage.id) : combinedFiles;
|
|
19
|
+
return {
|
|
20
|
+
mainImage,
|
|
21
|
+
allImages,
|
|
22
|
+
otherImages,
|
|
23
|
+
allFiles,
|
|
24
|
+
otherFiles: otherFilesFiltered
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
extractProductMedia
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=extract-media.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utils/extract-media.ts"],"sourcesContent":["import { ElasticPathFile, ProductData } from \"../client\"\n\nexport interface ExtractedMedia {\n mainImage?: ElasticPathFile\n allImages: ElasticPathFile[]\n otherImages: ElasticPathFile[]\n allFiles: ElasticPathFile[]\n otherFiles: ElasticPathFile[]\n}\n\n/**\n * Extracts the main product image and organizes all files/images into separate arrays.\n *\n * @param productData - The product data containing included files.\n * @returns An object with the main image, all images, other images, all files, and other files.\n */\nexport function extractProductMedia(productData: ProductData): ExtractedMedia {\n // Retrieve the main image id from the product's relationships if it exists\n const mainImageId = productData.data?.relationships?.main_image?.data?.id\n\n // Combine the main_images and files arrays from the included object\n // If either is undefined, we default to an empty array.\n const mainImages = productData.included?.main_images ?? []\n const otherFiles = productData.included?.files ?? []\n const combinedFiles: ElasticPathFile[] = [...mainImages, ...otherFiles]\n\n let mainImage: ElasticPathFile | undefined\n const allImages: ElasticPathFile[] = []\n\n // Single pass over combined files\n for (const file of combinedFiles) {\n // Check if this file is the main image\n if (mainImageId && file.id === mainImageId) {\n mainImage = file\n }\n // Check if file is an image by its mime type (adjust the condition as needed)\n if (file.mime_type && file.mime_type.startsWith(\"image/\")) {\n allImages.push(file)\n }\n }\n\n // Exclude the main image from the arrays (if one was found)\n const otherImages = mainImage\n ? allImages.filter((file) => file.id !== mainImage.id)\n : allImages\n const allFiles = combinedFiles\n const otherFilesFiltered = mainImage\n ? combinedFiles.filter((file) => file.id !== mainImage.id)\n : combinedFiles\n\n return {\n mainImage,\n allImages,\n otherImages,\n allFiles,\n otherFiles: otherFilesFiltered,\n }\n}\n"],"mappings":"AAgBO,SAAS,oBAAoB,aAA0C;AAE5E,QAAM,cAAc,YAAY,MAAM,eAAe,YAAY,MAAM;AAIvE,QAAM,aAAa,YAAY,UAAU,eAAe,CAAC;AACzD,QAAM,aAAa,YAAY,UAAU,SAAS,CAAC;AACnD,QAAM,gBAAmC,CAAC,GAAG,YAAY,GAAG,UAAU;AAEtE,MAAI;AACJ,QAAM,YAA+B,CAAC;AAGtC,aAAW,QAAQ,eAAe;AAEhC,QAAI,eAAe,KAAK,OAAO,aAAa;AAC1C,kBAAY;AAAA,IACd;AAEA,QAAI,KAAK,aAAa,KAAK,UAAU,WAAW,QAAQ,GAAG;AACzD,gBAAU,KAAK,IAAI;AAAA,IACrB;AAAA,EACF;AAGA,QAAM,cAAc,YAChB,UAAU,OAAO,CAAC,SAAS,KAAK,OAAO,UAAU,EAAE,IACnD;AACJ,QAAM,WAAW;AACjB,QAAM,qBAAqB,YACvB,cAAc,OAAO,CAAC,SAAS,KAAK,OAAO,UAAU,EAAE,IACvD;AAEJ,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY;AAAA,EACd;AACF;","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var extract_product_image_exports = {};
|
|
20
|
+
__export(extract_product_image_exports, {
|
|
21
|
+
extractProductImage: () => extractProductImage
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(extract_product_image_exports);
|
|
24
|
+
const extractProductImage = (product, images) => {
|
|
25
|
+
return images?.find((file) => {
|
|
26
|
+
if (file.id === product.relationships?.main_image?.data?.id) {
|
|
27
|
+
return file;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
extractProductImage
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=extract-product-image.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utils/extract-product-image.ts"],"sourcesContent":["import { Included, Product } from \"../client\"\n\nexport const extractProductImage = (\n product: Product,\n images: Included[\"main_images\"],\n) => {\n return images?.find((file) => {\n if (file.id === product.relationships?.main_image?.data?.id) {\n return file\n }\n })\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,sBAAsB,CACjC,SACA,WACG;AACH,SAAO,QAAQ,KAAK,CAAC,SAAS;AAC5B,QAAI,KAAK,OAAO,QAAQ,eAAe,YAAY,MAAM,IAAI;AAC3D,aAAO;AAAA,IACT;AAAA,EACF,CAAC;AACH;","names":[]}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
import { Included,
|
|
2
|
-
|
|
1
|
+
import { Product, Included, ElasticPathFile } from '../client/types.gen.js';
|
|
2
|
+
|
|
3
|
+
declare const extractProductImage: (product: Product, images: Included["main_images"]) => ElasticPathFile | undefined;
|
|
4
|
+
|
|
5
|
+
export { extractProductImage };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const extractProductImage = (product, images) => {
|
|
2
|
+
return images?.find((file) => {
|
|
3
|
+
if (file.id === product.relationships?.main_image?.data?.id) {
|
|
4
|
+
return file;
|
|
5
|
+
}
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
extractProductImage
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=extract-product-image.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utils/extract-product-image.ts"],"sourcesContent":["import { Included, Product } from \"../client\"\n\nexport const extractProductImage = (\n product: Product,\n images: Included[\"main_images\"],\n) => {\n return images?.find((file) => {\n if (file.id === product.relationships?.main_image?.data?.id) {\n return file\n }\n })\n}\n"],"mappings":"AAEO,MAAM,sBAAsB,CACjC,SACA,WACG;AACH,SAAO,QAAQ,KAAK,CAAC,SAAS;AAC5B,QAAI,KAAK,OAAO,QAAQ,eAAe,YAAY,MAAM,IAAI;AAC3D,aAAO;AAAA,IACT;AAAA,EACF,CAAC;AACH;","names":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var utils_exports = {};
|
|
20
|
+
__export(utils_exports, {
|
|
21
|
+
extractProductImage: () => import_extract_product_image.extractProductImage,
|
|
22
|
+
extractProductMedia: () => import_extract_media.extractProductMedia
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(utils_exports);
|
|
25
|
+
var import_extract_product_image = require('./extract-product-image.cjs');
|
|
26
|
+
var import_extract_media = require('./extract-media.cjs');
|
|
27
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
+
0 && (module.exports = {
|
|
29
|
+
extractProductImage,
|
|
30
|
+
extractProductMedia
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["export { extractProductImage } from \"./extract-product-image\"\nexport { extractProductMedia } from \"./extract-media\"\nexport type { ExtractedMedia } from \"./extract-media\"\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mCAAoC;AACpC,2BAAoC;","names":[]}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { extractProductImage } from
|
|
2
|
-
export {
|
|
1
|
+
export { extractProductImage } from './extract-product-image.js';
|
|
2
|
+
export { ExtractedMedia, extractProductMedia } from './extract-media.js';
|
|
3
|
+
import '../client/types.gen.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["export { extractProductImage } from \"./extract-product-image\"\nexport { extractProductMedia } from \"./extract-media\"\nexport type { ExtractedMedia } from \"./extract-media\"\n"],"mappings":"AAAA,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epcc-sdk/sdks-shopper",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"description": "",
|
|
5
|
-
"
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
6
9
|
"exports": {
|
|
7
10
|
".": {
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"require": "./dist/index.js"
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
12
14
|
},
|
|
13
|
-
"
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
14
19
|
},
|
|
15
20
|
"./package.json": "./package.json"
|
|
16
21
|
},
|
|
@@ -22,11 +27,14 @@
|
|
|
22
27
|
"@hey-api/openapi-ts": "0.61.1",
|
|
23
28
|
"@redocly/cli": "^1.21.0",
|
|
24
29
|
"@redocly/openapi-core": "^1.21.0",
|
|
25
|
-
"@tanstack/react-query": "^5.
|
|
26
|
-
"lodash": "^4.17.21",
|
|
27
|
-
"typescript": "^5.5.3",
|
|
30
|
+
"@tanstack/react-query": "^5.69.0",
|
|
28
31
|
"@types/ejs": "^3.1.5",
|
|
29
|
-
"ejs": "^3.1.10"
|
|
32
|
+
"ejs": "^3.1.10",
|
|
33
|
+
"esbuild-fix-imports-plugin": "^1.0.19",
|
|
34
|
+
"esbuild-plugin-file-path-extensions": "^1.0.0",
|
|
35
|
+
"lodash": "^4.17.21",
|
|
36
|
+
"tsup": "^8.4.0",
|
|
37
|
+
"typescript": "^5.5.3"
|
|
30
38
|
},
|
|
31
39
|
"dependencies": {
|
|
32
40
|
"@hey-api/client-fetch": "0.6.0"
|
|
@@ -35,7 +43,7 @@
|
|
|
35
43
|
"access": "public"
|
|
36
44
|
},
|
|
37
45
|
"peerDependencies": {
|
|
38
|
-
"@tanstack/react-query": "^5.
|
|
46
|
+
"@tanstack/react-query": "^5.69.0"
|
|
39
47
|
},
|
|
40
48
|
"peerDependenciesMeta": {
|
|
41
49
|
"@tanstack/react-query": {
|
|
@@ -43,13 +51,13 @@
|
|
|
43
51
|
}
|
|
44
52
|
},
|
|
45
53
|
"scripts": {
|
|
46
|
-
"build": "pnpm oas:build && pnpm oas:openapi-ts && pnpm
|
|
47
|
-
"
|
|
54
|
+
"build": "pnpm oas:build && pnpm oas:openapi-ts && pnpm build:tsup",
|
|
55
|
+
"build:tsup": "tsup",
|
|
48
56
|
"oas:build": "pnpm oas:redocly:bundle && pnpm oas:openapi-format:convert && pnpm oas:redocly:join:shopper",
|
|
49
57
|
"oas:openapi-ts": "openapi-ts",
|
|
50
58
|
"oas:redocly": "redocly --config ./redocly.json",
|
|
51
59
|
"oas:redocly:lint": "redocly lint --config ../specs/config/redocly.yaml",
|
|
52
|
-
"oas:redocly:join:shopper": "redocly join --config ../specs/config/redocly.yaml --output ../specs/shopper.yaml ../specs/bundled/catalog_view_3.1.yaml ../specs/bundled/cart_checkout.yaml ../specs/bundled/subscriptions_3.1.yaml ../specs/bundled/inventories_3.1.yaml ../specs/bundled/authentication.yaml ../specs/bundled/account-addresses.yaml ../specs/bundled/account_management.yaml ../specs/bundled/currencies.yaml ../specs/bundled/files.yaml",
|
|
60
|
+
"oas:redocly:join:shopper": "redocly join --config ../specs/config/redocly.yaml --output ../specs/shopper.yaml ../specs/bundled/catalog_view_3.1.yaml ../specs/bundled/cart_checkout.yaml ../specs/bundled/subscriptions_3.1.yaml ../specs/bundled/inventories_3.1.yaml ../specs/bundled/authentication.yaml ../specs/bundled/account-addresses.yaml ../specs/bundled/account_management.yaml ../specs/bundled/authentication-realms.yaml ../specs/bundled/currencies.yaml ../specs/bundled/files.yaml",
|
|
53
61
|
"oas:redocly:bundle": "redocly bundle --config ../specs/config/redocly.yaml",
|
|
54
62
|
"oas:openapi-format:convert": "pnpm dlx openapi-format ../specs/bundled/catalog_view.yaml -o ../specs/bundled/catalog_view_3.1.yaml --convertTo \"3.1\" && pnpm dlx openapi-format ../specs/bundled/subscriptions.yaml -o ../specs/bundled/subscriptions_3.1.yaml --convertTo \"3.1\" && pnpm dlx openapi-format ../specs/bundled/inventories.yaml -o ../specs/bundled/inventories_3.1.yaml --convertTo \"3.1\""
|
|
55
63
|
}
|