@commercengine/storefront-sdk 0.14.3 → 0.14.4
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/dist/index.d.mts +39 -25
- package/dist/index.iife.js +98 -125
- package/dist/index.iife.js.map +1 -1
- package/dist/index.mjs +1 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -3922,6 +3922,14 @@ interface components {
|
|
|
3922
3922
|
*/
|
|
3923
3923
|
bank_account_number?: string;
|
|
3924
3924
|
bank_name?: string;
|
|
3925
|
+
}; /** BankTransferCheckout */
|
|
3926
|
+
BankTransferCheckout: {
|
|
3927
|
+
/**
|
|
3928
|
+
* @description The slug of the payment provider in Commerce Engine.
|
|
3929
|
+
* @constant
|
|
3930
|
+
*/
|
|
3931
|
+
payment_provider_slug: "icici_ecollection"; /** @constant */
|
|
3932
|
+
payment_method_type: "bank-transfer";
|
|
3925
3933
|
};
|
|
3926
3934
|
/**
|
|
3927
3935
|
* BooleanAttribute
|
|
@@ -5175,6 +5183,14 @@ interface components {
|
|
|
5175
5183
|
exp_date: string | null;
|
|
5176
5184
|
manufacturer: string | null;
|
|
5177
5185
|
stock_quantity: number;
|
|
5186
|
+
}; /** LotusPayCheckout */
|
|
5187
|
+
LotusPayCheckout: {
|
|
5188
|
+
/**
|
|
5189
|
+
* @description The slug of the payment provider in Commerce Engine.
|
|
5190
|
+
* @constant
|
|
5191
|
+
*/
|
|
5192
|
+
payment_provider_slug: "juspay"; /** @constant */
|
|
5193
|
+
payment_method_type: "NACH";
|
|
5178
5194
|
};
|
|
5179
5195
|
/**
|
|
5180
5196
|
* LoyaltyPointActivity
|
|
@@ -5231,6 +5247,11 @@ interface components {
|
|
|
5231
5247
|
type: "multi-select"; /** @description For multi-select attributes */
|
|
5232
5248
|
value: string[];
|
|
5233
5249
|
};
|
|
5250
|
+
/**
|
|
5251
|
+
* NachPayment
|
|
5252
|
+
* @description NACH mandate payment via LotusPay.
|
|
5253
|
+
*/
|
|
5254
|
+
NachPayment: components["schemas"]["PaymentInfo"];
|
|
5234
5255
|
/**
|
|
5235
5256
|
* NetbankingPayment
|
|
5236
5257
|
* @description Payments using payment gateway netbanking option.
|
|
@@ -5358,7 +5379,7 @@ interface components {
|
|
|
5358
5379
|
* @description payment mode for refund.
|
|
5359
5380
|
* @enum {string}
|
|
5360
5381
|
*/
|
|
5361
|
-
payment_mode?: "original-payment-mode" | "bank-transfer";
|
|
5382
|
+
payment_mode?: "original-payment-mode" | "bank-transfer" | "nach-mandate";
|
|
5362
5383
|
};
|
|
5363
5384
|
feedback?: string | null;
|
|
5364
5385
|
}; /** OrderDetail */
|
|
@@ -5467,7 +5488,7 @@ interface components {
|
|
|
5467
5488
|
* OrderPayment
|
|
5468
5489
|
* @description Order Payment
|
|
5469
5490
|
*/
|
|
5470
|
-
OrderPayment: components["schemas"]["CardPayment"] | components["schemas"]["NetbankingPayment"] | components["schemas"]["UpiPayment"] | components["schemas"]["WalletPayment"] | components["schemas"]["BankTransfer"];
|
|
5491
|
+
OrderPayment: components["schemas"]["CardPayment"] | components["schemas"]["NetbankingPayment"] | components["schemas"]["UpiPayment"] | components["schemas"]["WalletPayment"] | components["schemas"]["BankTransfer"] | components["schemas"]["NachPayment"];
|
|
5471
5492
|
/**
|
|
5472
5493
|
* OrderRefund
|
|
5473
5494
|
* @description Order refund model
|
|
@@ -5477,7 +5498,7 @@ interface components {
|
|
|
5477
5498
|
refund_amount?: number; /** Format: date-time */
|
|
5478
5499
|
refund_date?: string; /** @enum {string} */
|
|
5479
5500
|
status?: "pending" | "approved" | "success" | "failed"; /** @enum {string} */
|
|
5480
|
-
payment_mode?: "
|
|
5501
|
+
payment_mode?: "original-payment-mode" | "loyalty-point" | "bank-transfer" | "nach-mandate";
|
|
5481
5502
|
payment_method?: string;
|
|
5482
5503
|
payment_reference_number?: string;
|
|
5483
5504
|
bank_account_number?: string;
|
|
@@ -5617,7 +5638,7 @@ interface components {
|
|
|
5617
5638
|
payment_method?: string | null;
|
|
5618
5639
|
icon_url?: string | null;
|
|
5619
5640
|
}; /** PaymentMethodPayload */
|
|
5620
|
-
PaymentMethodPayload: components["schemas"]["JusPayHyperCheckout"] | components["schemas"]["JusPayExpressCheckout"]; /** PaymentProvider */
|
|
5641
|
+
PaymentMethodPayload: components["schemas"]["JusPayHyperCheckout"] | components["schemas"]["JusPayExpressCheckout"] | components["schemas"]["BankTransferCheckout"] | components["schemas"]["LotusPayCheckout"]; /** PaymentProvider */
|
|
5621
5642
|
PaymentProvider: components["schemas"]["ServiceProviderBasicDetail"] & {
|
|
5622
5643
|
payment_provider_slug: string;
|
|
5623
5644
|
}; /** PayuPaymentInfo */
|
|
@@ -5939,22 +5960,9 @@ interface components {
|
|
|
5939
5960
|
* Format: date-time
|
|
5940
5961
|
* @description The ISO 8601 date-time for when review was first submitted or last modified by the original submitter.
|
|
5941
5962
|
*/
|
|
5942
|
-
review_date?: $Read<string>;
|
|
5943
|
-
images?:
|
|
5944
|
-
|
|
5945
|
-
thumbnail_url?: string;
|
|
5946
|
-
standard_url?: string;
|
|
5947
|
-
}[];
|
|
5948
|
-
videos?: {
|
|
5949
|
-
cover_image_url?: string;
|
|
5950
|
-
video_preview_url?: string;
|
|
5951
|
-
playback?: {
|
|
5952
|
-
hls?: string;
|
|
5953
|
-
dash?: string;
|
|
5954
|
-
}; /** @description seconds */
|
|
5955
|
-
duration?: string; /** @description bytes */
|
|
5956
|
-
size?: string;
|
|
5957
|
-
}[];
|
|
5963
|
+
review_date?: $Read<string>; /** @description Product review images ordered by display priority. */
|
|
5964
|
+
images?: components["schemas"]["ProductImage"][];
|
|
5965
|
+
videos?: components["schemas"]["ProductVideo"][];
|
|
5958
5966
|
/**
|
|
5959
5967
|
* Format: date-time
|
|
5960
5968
|
* @description The ISO 8601 date-time for when review is created.
|
|
@@ -8705,7 +8713,8 @@ interface operations {
|
|
|
8705
8713
|
sort_by?: components["parameters"]["sortingParam"]; /** @description filter products by categories ids */
|
|
8706
8714
|
category_id?: string[]; /** @description filter products by categories slugs */
|
|
8707
8715
|
category_slug?: string[]; /** @description Determines whether to include or exclude inventory details in response json */
|
|
8708
|
-
inventory?: boolean;
|
|
8716
|
+
inventory?: boolean; /** @description Filter sku by product type. multiple product types can be passed separated by comma. eg: product_type=physical,digital */
|
|
8717
|
+
product_type?: string;
|
|
8709
8718
|
};
|
|
8710
8719
|
header?: {
|
|
8711
8720
|
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -9057,8 +9066,10 @@ interface operations {
|
|
|
9057
9066
|
/** @description page number of pagination list */page?: components["parameters"]["pageParam"]; /** @description Number of results per page. */
|
|
9058
9067
|
limit?: components["parameters"]["pageLimitParam"]; /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
9059
9068
|
sort_by?: components["parameters"]["sortingParam"]; /** @description filter sku by categories */
|
|
9060
|
-
category_id?: string[]; /** @description
|
|
9061
|
-
|
|
9069
|
+
category_id?: string[]; /** @description filter products by categories slugs */
|
|
9070
|
+
category_slug?: string[]; /** @description Determines whether to include or exclude inventory details in response json */
|
|
9071
|
+
inventory?: boolean; /** @description Filter sku by product type. multiple product types can be passed separated by comma. eg: product_type=physical,digital */
|
|
9072
|
+
product_type?: string; /** @description array of sku */
|
|
9062
9073
|
sku?: string[];
|
|
9063
9074
|
};
|
|
9064
9075
|
header?: {
|
|
@@ -9859,7 +9870,7 @@ interface operations {
|
|
|
9859
9870
|
content: {
|
|
9860
9871
|
"application/json": {
|
|
9861
9872
|
cancellation_reason: string; /** @enum {string} */
|
|
9862
|
-
refund_mode: "
|
|
9873
|
+
refund_mode: "original-payment-mode" | "bank-transfer"; /** @description verified bank account id if refund_mode = bank-transfer */
|
|
9863
9874
|
bank_account_id?: string; /** @description feedback text */
|
|
9864
9875
|
feedback?: string;
|
|
9865
9876
|
};
|
|
@@ -12708,6 +12719,7 @@ type AssociatedOption = Readable<components['schemas']['AssociatedOption']>;
|
|
|
12708
12719
|
type AutoScaleBasedOnAmount = Readable<components['schemas']['AutoScaleBasedOnAmount']>;
|
|
12709
12720
|
type AutoScaleBasedOnQuantity = Readable<components['schemas']['AutoScaleBasedOnQuantity']>;
|
|
12710
12721
|
type BankTransfer = Readable<components['schemas']['BankTransfer']>;
|
|
12722
|
+
type BankTransferCheckoutInput = Writable<components['schemas']['BankTransferCheckout']>;
|
|
12711
12723
|
type BooleanAttribute = Readable<components['schemas']['BooleanAttribute']>;
|
|
12712
12724
|
type Brand = Readable<components['schemas']['Brand']>;
|
|
12713
12725
|
type Business = Readable<components['schemas']['Business']>;
|
|
@@ -12803,12 +12815,14 @@ type JuspayUpiPaymentMethod = Readable<components['schemas']['JuspayUpiPaymentMe
|
|
|
12803
12815
|
type JuspayWalletPaymentMethod = Readable<components['schemas']['JuspayWalletPaymentMethod']>;
|
|
12804
12816
|
type KycDocumentConfig = Readable<components['schemas']['KycDocumentConfig']>;
|
|
12805
12817
|
type LotBatchDetail = Readable<components['schemas']['LotBatchDetail']>;
|
|
12818
|
+
type LotusPayCheckoutInput = Writable<components['schemas']['LotusPayCheckout']>;
|
|
12806
12819
|
type LoyaltyPointActivity = Readable<components['schemas']['LoyaltyPointActivity']>;
|
|
12807
12820
|
type ManualPaymentMethod = Readable<components['schemas']['ManualPaymentMethod']>;
|
|
12808
12821
|
type MarketplaceItem = Readable<components['schemas']['MarketplaceItem']>;
|
|
12809
12822
|
type MarketplaceProduct = Readable<components['schemas']['MarketplaceProduct']>;
|
|
12810
12823
|
type MarketplaceProductDetail = Readable<components['schemas']['MarketplaceProductDetail']>;
|
|
12811
12824
|
type MultiSelectAttribute = Readable<components['schemas']['MultiSelectAttribute']>;
|
|
12825
|
+
type NachPayment = Readable<components['schemas']['NachPayment']>;
|
|
12812
12826
|
type NetbankingPayment = Readable<components['schemas']['NetbankingPayment']>;
|
|
12813
12827
|
type NotificationChannelPreferences = Readable<components['schemas']['NotificationChannelPreferences']>;
|
|
12814
12828
|
type NotificationChannelPreferencesInput = Writable<components['schemas']['NotificationChannelPreferences']>;
|
|
@@ -16575,5 +16589,5 @@ interface StorefrontFactory {
|
|
|
16575
16589
|
*/
|
|
16576
16590
|
declare function createStorefront(options: CreateStorefrontOptions): StorefrontFactory;
|
|
16577
16591
|
//#endregion
|
|
16578
|
-
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEventInput, AnalyticsProvider, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AuthenticateDirectOtpBody, AuthenticateDirectOtpResponse, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BusinessInput, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CancelPaymentRequestPathParams, CancelPaymentRequestResponse, CardPayment, CardbinInfo, Cart, CartBasedFulfillmentCheckInput, CartBasedFulfillmentOptionInput, CartClient, CartItem, CartShipment, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckFulfillmentBody, CheckFulfillmentContent, CheckFulfillmentResponse, CheckStoreResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, CollectInStoreFulfillmentInput, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscriptionInput, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateMarketplaceProductReviewFormData, CreateMarketplaceProductReviewPathParams, CreateMarketplaceProductReviewResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnInput, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReviewInput, CreateStandardSubscriptionInput, CreateStorefrontOptions, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionInput, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerAddressInput, CustomerClient, CustomerGroup, CustomerGroupInput, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeleteUserPathParams, DeleteUserResponse, DeliveryFulfillment, DeliveryFulfillmentInput, DeliveryOption, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, DocumentInput, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordHeaderParams, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentItemInput, FulfillmentPreference, FulfillmentPreferenceInput, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpHeaderParams, GenerateOtpResponse, GenerateOtpWithEmailInput, GenerateOtpWithPhoneInput, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCardInfoContent, GetCardInfoQuery, GetCardInfoResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetMarketplaceProductDetailContent, GetMarketplaceProductDetailHeaderParams, GetMarketplaceProductDetailPathParams, GetMarketplaceProductDetailQuery, GetMarketplaceProductDetailResponse, GetMarketplaceVariantDetailContent, GetMarketplaceVariantDetailHeaderParams, GetMarketplaceVariantDetailPathParams, GetMarketplaceVariantDetailQuery, GetMarketplaceVariantDetailResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetSellerDetailContent, GetSellerDetailPathParams, GetSellerDetailResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistQuery, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, ItemsBasedFulfillmentCheckInput, JusPayExpressCheckoutCommonFieldInput, JusPayExpressCheckoutInput, JusPayExpressCheckoutResponse, JusPayHyperCheckoutInput, JusPayHyperCheckoutResponse, JusPayNewCardInput, JusPaySavedCardTokenInput, JuspayCardDetail, JuspayCardPaymentMethod, JuspayCreateCustomerPayloadInput, JuspayCreateOrderPayloadInput, JuspayCustomer, JuspayNetBankingInput, JuspayNetbankingPaymentMethod, JuspayOrder, JuspayPaymentMethod, JuspayPaymentMethodDetail, JuspayUpiCollectInput, JuspayUpiIntentInput, JuspayUpiPaymentMethod, JuspayWalletPaymentMethod, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListCustomerCardsContent, ListCustomerCardsPathParams, ListCustomerCardsResponse, ListCustomerReviewsContent, ListCustomerReviewsPathParams, ListCustomerReviewsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListMarketplaceCategoriesContent, ListMarketplaceCategoriesQuery, ListMarketplaceCategoriesResponse, ListMarketplaceCrosssellProductsContent, ListMarketplaceCrosssellProductsHeaderParams, ListMarketplaceCrosssellProductsQuery, ListMarketplaceCrosssellProductsResponse, ListMarketplaceProductReviewsContent, ListMarketplaceProductReviewsPathParams, ListMarketplaceProductReviewsQuery, ListMarketplaceProductReviewsResponse, ListMarketplaceProductVariantsContent, ListMarketplaceProductVariantsHeaderParams, ListMarketplaceProductVariantsPathParams, ListMarketplaceProductVariantsQuery, ListMarketplaceProductVariantsResponse, ListMarketplaceProductsContent, ListMarketplaceProductsHeaderParams, ListMarketplaceProductsQuery, ListMarketplaceProductsResponse, ListMarketplaceSimilarProductsContent, ListMarketplaceSimilarProductsHeaderParams, ListMarketplaceSimilarProductsQuery, ListMarketplaceSimilarProductsResponse, ListMarketplaceSkusContent, ListMarketplaceSkusHeaderParams, ListMarketplaceSkusQuery, ListMarketplaceSkusResponse, ListMarketplaceUpsellProductsContent, ListMarketplaceUpsellProductsHeaderParams, ListMarketplaceUpsellProductsQuery, ListMarketplaceUpsellProductsResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsQuery, ListPaymentMethodsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsQuery, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedPaymentMethodsContent, ListSavedPaymentMethodsPathParams, ListSavedPaymentMethodsQuery, ListSavedPaymentMethodsResponse, ListSellerReviewsContent, ListSellerReviewsPathParams, ListSellerReviewsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailHeaderParams, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneHeaderParams, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappHeaderParams, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LotBatchDetail, LoyaltyPointActivity, ManualPaymentMethod, MarketplaceItem, MarketplaceProduct, MarketplaceProductDetail, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationChannelPreferencesInput, NotificationPreferences, NotificationPreferencesInput, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderReturnItemInput, OrderShipment, OtpContent, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PartialCollectAndDeliveryInput, PauseSubscriptionInput, PayWithCardInput, PayWithCashInput, PayWithUpiInput, PaymentInfo, PaymentMethodPayloadInput, PaymentProvider, PaymentsClient, PayuPaymentInfo, PayuPaymentMethod, PercentageDiscountRule, Pincode, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmailInput, PosUpdateCustomerWithIdInput, PosUpdateCustomerWithPhoneInput, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, PublicCatalogClient, PublicHelpersClient, PublicStoreConfigClient, PublicStorefrontAPIClient, PublicStorefrontSDK, type PublicStorefrontSDKOptions, type Readable, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailHeaderParams, RegisterWithEmailPasswordInput, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordHeaderParams, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhoneHeaderParams, RegisterWithPhonePasswordInput, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappHeaderParams, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResendDirectOtpBody, ResendDirectOtpContent, ResendDirectOtpResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscriptionInput, SavedPaymentMethod, SearchMarketplaceProductsBody, SearchMarketplaceProductsContent, SearchMarketplaceProductsHeaderParams, SearchMarketplaceProductsResponse, SearchProductInput, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, SellerDetail, SellerInfo, SellerReview, SellerReviewStats, SendOtpWithEmailInput, SendOtpWithPhoneInput, Seo, ServiceProviderBasicDetail, SessionStorefrontAPIClient, SessionStorefrontConfig, SessionStorefrontSDK, type SessionStorefrontSDKOptions, ShipmentItem, ShipmentStatus, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontFactory, type StorefrontSession, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviourInput, SubscriptionDetail, SubscriptionInvoiceItem, SubscriptionInvoiceItemInput, type SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UnserviceableItem, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItemInput, UpdateCartPathParams, UpdateCartResponse, UpdateDigitalProductSubscriptionInput, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentInput, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferenceContent, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdatePhysicalProductSubscriptionInput, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, UserInput, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type Writable, type components, createDebugMiddleware, createStorefront, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
16592
|
+
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEventInput, AnalyticsProvider, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AuthenticateDirectOtpBody, AuthenticateDirectOtpResponse, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BankTransferCheckoutInput, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BusinessInput, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CancelPaymentRequestPathParams, CancelPaymentRequestResponse, CardPayment, CardbinInfo, Cart, CartBasedFulfillmentCheckInput, CartBasedFulfillmentOptionInput, CartClient, CartItem, CartShipment, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckFulfillmentBody, CheckFulfillmentContent, CheckFulfillmentResponse, CheckStoreResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, CollectInStoreFulfillmentInput, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscriptionInput, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateMarketplaceProductReviewFormData, CreateMarketplaceProductReviewPathParams, CreateMarketplaceProductReviewResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnInput, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReviewInput, CreateStandardSubscriptionInput, CreateStorefrontOptions, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionInput, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerAddressInput, CustomerClient, CustomerGroup, CustomerGroupInput, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeleteUserPathParams, DeleteUserResponse, DeliveryFulfillment, DeliveryFulfillmentInput, DeliveryOption, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, DocumentInput, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordHeaderParams, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentItemInput, FulfillmentPreference, FulfillmentPreferenceInput, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpHeaderParams, GenerateOtpResponse, GenerateOtpWithEmailInput, GenerateOtpWithPhoneInput, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCardInfoContent, GetCardInfoQuery, GetCardInfoResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetMarketplaceProductDetailContent, GetMarketplaceProductDetailHeaderParams, GetMarketplaceProductDetailPathParams, GetMarketplaceProductDetailQuery, GetMarketplaceProductDetailResponse, GetMarketplaceVariantDetailContent, GetMarketplaceVariantDetailHeaderParams, GetMarketplaceVariantDetailPathParams, GetMarketplaceVariantDetailQuery, GetMarketplaceVariantDetailResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetSellerDetailContent, GetSellerDetailPathParams, GetSellerDetailResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistQuery, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, ItemsBasedFulfillmentCheckInput, JusPayExpressCheckoutCommonFieldInput, JusPayExpressCheckoutInput, JusPayExpressCheckoutResponse, JusPayHyperCheckoutInput, JusPayHyperCheckoutResponse, JusPayNewCardInput, JusPaySavedCardTokenInput, JuspayCardDetail, JuspayCardPaymentMethod, JuspayCreateCustomerPayloadInput, JuspayCreateOrderPayloadInput, JuspayCustomer, JuspayNetBankingInput, JuspayNetbankingPaymentMethod, JuspayOrder, JuspayPaymentMethod, JuspayPaymentMethodDetail, JuspayUpiCollectInput, JuspayUpiIntentInput, JuspayUpiPaymentMethod, JuspayWalletPaymentMethod, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListCustomerCardsContent, ListCustomerCardsPathParams, ListCustomerCardsResponse, ListCustomerReviewsContent, ListCustomerReviewsPathParams, ListCustomerReviewsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListMarketplaceCategoriesContent, ListMarketplaceCategoriesQuery, ListMarketplaceCategoriesResponse, ListMarketplaceCrosssellProductsContent, ListMarketplaceCrosssellProductsHeaderParams, ListMarketplaceCrosssellProductsQuery, ListMarketplaceCrosssellProductsResponse, ListMarketplaceProductReviewsContent, ListMarketplaceProductReviewsPathParams, ListMarketplaceProductReviewsQuery, ListMarketplaceProductReviewsResponse, ListMarketplaceProductVariantsContent, ListMarketplaceProductVariantsHeaderParams, ListMarketplaceProductVariantsPathParams, ListMarketplaceProductVariantsQuery, ListMarketplaceProductVariantsResponse, ListMarketplaceProductsContent, ListMarketplaceProductsHeaderParams, ListMarketplaceProductsQuery, ListMarketplaceProductsResponse, ListMarketplaceSimilarProductsContent, ListMarketplaceSimilarProductsHeaderParams, ListMarketplaceSimilarProductsQuery, ListMarketplaceSimilarProductsResponse, ListMarketplaceSkusContent, ListMarketplaceSkusHeaderParams, ListMarketplaceSkusQuery, ListMarketplaceSkusResponse, ListMarketplaceUpsellProductsContent, ListMarketplaceUpsellProductsHeaderParams, ListMarketplaceUpsellProductsQuery, ListMarketplaceUpsellProductsResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsQuery, ListPaymentMethodsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsQuery, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedPaymentMethodsContent, ListSavedPaymentMethodsPathParams, ListSavedPaymentMethodsQuery, ListSavedPaymentMethodsResponse, ListSellerReviewsContent, ListSellerReviewsPathParams, ListSellerReviewsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailHeaderParams, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneHeaderParams, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappHeaderParams, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LotBatchDetail, LotusPayCheckoutInput, LoyaltyPointActivity, ManualPaymentMethod, MarketplaceItem, MarketplaceProduct, MarketplaceProductDetail, MemoryTokenStorage, MultiSelectAttribute, NachPayment, NetbankingPayment, NotificationChannelPreferences, NotificationChannelPreferencesInput, NotificationPreferences, NotificationPreferencesInput, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderReturnItemInput, OrderShipment, OtpContent, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PartialCollectAndDeliveryInput, PauseSubscriptionInput, PayWithCardInput, PayWithCashInput, PayWithUpiInput, PaymentInfo, PaymentMethodPayloadInput, PaymentProvider, PaymentsClient, PayuPaymentInfo, PayuPaymentMethod, PercentageDiscountRule, Pincode, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmailInput, PosUpdateCustomerWithIdInput, PosUpdateCustomerWithPhoneInput, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, PublicCatalogClient, PublicHelpersClient, PublicStoreConfigClient, PublicStorefrontAPIClient, PublicStorefrontSDK, type PublicStorefrontSDKOptions, type Readable, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailHeaderParams, RegisterWithEmailPasswordInput, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordHeaderParams, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhoneHeaderParams, RegisterWithPhonePasswordInput, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappHeaderParams, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResendDirectOtpBody, ResendDirectOtpContent, ResendDirectOtpResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscriptionInput, SavedPaymentMethod, SearchMarketplaceProductsBody, SearchMarketplaceProductsContent, SearchMarketplaceProductsHeaderParams, SearchMarketplaceProductsResponse, SearchProductInput, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, SellerDetail, SellerInfo, SellerReview, SellerReviewStats, SendOtpWithEmailInput, SendOtpWithPhoneInput, Seo, ServiceProviderBasicDetail, SessionStorefrontAPIClient, SessionStorefrontConfig, SessionStorefrontSDK, type SessionStorefrontSDKOptions, ShipmentItem, ShipmentStatus, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontFactory, type StorefrontSession, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviourInput, SubscriptionDetail, SubscriptionInvoiceItem, SubscriptionInvoiceItemInput, type SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UnserviceableItem, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItemInput, UpdateCartPathParams, UpdateCartResponse, UpdateDigitalProductSubscriptionInput, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentInput, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferenceContent, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdatePhysicalProductSubscriptionInput, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, UserInput, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type Writable, type components, createDebugMiddleware, createStorefront, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
16579
16593
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.iife.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
var CE_SDK = (function(exports) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
//#region ../../node_modules/.pnpm/openapi-fetch@0.17.0/node_modules/openapi-fetch/dist/index.mjs
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
//#region ../../node_modules/.pnpm/openapi-fetch@0.17.0/node_modules/openapi-fetch/dist/index.mjs
|
|
6
4
|
const PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
7
5
|
const supportsRequestInitExt = () => {
|
|
8
6
|
return typeof process === "object" && Number.parseInt(process?.versions?.node?.substring(0, 2)) >= 18 && process.versions.undici;
|
|
@@ -378,10 +376,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
378
376
|
if (url.endsWith("/")) return url.substring(0, url.length - 1);
|
|
379
377
|
return url;
|
|
380
378
|
}
|
|
381
|
-
|
|
382
|
-
//#
|
|
383
|
-
|
|
384
|
-
/**
|
|
379
|
+
//#endregion
|
|
380
|
+
//#region ../sdk-core/dist/index.mjs
|
|
381
|
+
/**
|
|
385
382
|
* Response utilities for debugging and working with Response objects
|
|
386
383
|
*/
|
|
387
384
|
var ResponseUtils = class {
|
|
@@ -807,10 +804,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
807
804
|
return url.split("?")[0] || url;
|
|
808
805
|
}
|
|
809
806
|
}
|
|
810
|
-
|
|
811
|
-
//#
|
|
812
|
-
|
|
813
|
-
/**
|
|
807
|
+
//#endregion
|
|
808
|
+
//#region src/lib/shared/url-utils.ts
|
|
809
|
+
/**
|
|
814
810
|
* URL utility functions for the Storefront SDK
|
|
815
811
|
*/
|
|
816
812
|
/**
|
|
@@ -838,10 +834,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
838
834
|
default: return `https://prod.api.commercengine.io/api/v1/${config.storeId}/storefront`;
|
|
839
835
|
}
|
|
840
836
|
}
|
|
841
|
-
|
|
842
|
-
//#
|
|
843
|
-
|
|
844
|
-
/**
|
|
837
|
+
//#endregion
|
|
838
|
+
//#region src/lib/shared/client.ts
|
|
839
|
+
/**
|
|
845
840
|
* Shared base class for Storefront API clients.
|
|
846
841
|
*
|
|
847
842
|
* This centralizes Storefront-specific URL construction, default header
|
|
@@ -878,9 +873,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
878
873
|
this.client.use(middleware);
|
|
879
874
|
}
|
|
880
875
|
};
|
|
881
|
-
|
|
882
|
-
//#
|
|
883
|
-
//#region src/lib/session/client.ts
|
|
876
|
+
//#endregion
|
|
877
|
+
//#region src/lib/session/client.ts
|
|
884
878
|
function attachSessionAuth(client, sessionManager) {
|
|
885
879
|
client.useMiddleware(sessionManager.createAuthMiddleware());
|
|
886
880
|
}
|
|
@@ -1009,10 +1003,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1009
1003
|
};
|
|
1010
1004
|
}
|
|
1011
1005
|
};
|
|
1012
|
-
|
|
1013
|
-
//#
|
|
1014
|
-
|
|
1015
|
-
/**
|
|
1006
|
+
//#endregion
|
|
1007
|
+
//#region src/lib/shared/catalog.ts
|
|
1008
|
+
/**
|
|
1016
1009
|
* Client for interacting with catalog endpoints
|
|
1017
1010
|
*/
|
|
1018
1011
|
var BaseCatalogClient = class extends StorefrontAPIClientBase {
|
|
@@ -1585,10 +1578,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1585
1578
|
} }));
|
|
1586
1579
|
}
|
|
1587
1580
|
};
|
|
1588
|
-
|
|
1589
|
-
//#
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1581
|
+
//#endregion
|
|
1582
|
+
//#region src/lib/public/client.ts
|
|
1583
|
+
/**
|
|
1592
1584
|
* Storefront API client that always authenticates with `X-Api-Key`.
|
|
1593
1585
|
*
|
|
1594
1586
|
* This class is kept as the advanced public transport client. Concrete public
|
|
@@ -1607,10 +1599,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1607
1599
|
return request;
|
|
1608
1600
|
} });
|
|
1609
1601
|
}
|
|
1610
|
-
|
|
1611
|
-
//#
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1602
|
+
//#endregion
|
|
1603
|
+
//#region src/lib/public/catalog.ts
|
|
1604
|
+
/**
|
|
1614
1605
|
* Client for interacting with catalog endpoints
|
|
1615
1606
|
*/
|
|
1616
1607
|
var PublicCatalogClient = class extends BaseCatalogClient {
|
|
@@ -1619,10 +1610,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1619
1610
|
attachPublicAuth(this);
|
|
1620
1611
|
}
|
|
1621
1612
|
};
|
|
1622
|
-
|
|
1623
|
-
//#
|
|
1624
|
-
|
|
1625
|
-
/**
|
|
1613
|
+
//#endregion
|
|
1614
|
+
//#region src/lib/catalog.ts
|
|
1615
|
+
/**
|
|
1626
1616
|
* Client for interacting with catalog endpoints
|
|
1627
1617
|
*/
|
|
1628
1618
|
var CatalogClient = class extends BaseCatalogClient {
|
|
@@ -1674,10 +1664,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
1674
1664
|
}));
|
|
1675
1665
|
}
|
|
1676
1666
|
};
|
|
1677
|
-
|
|
1678
|
-
//#
|
|
1679
|
-
|
|
1680
|
-
/**
|
|
1667
|
+
//#endregion
|
|
1668
|
+
//#region src/lib/cart.ts
|
|
1669
|
+
/**
|
|
1681
1670
|
* Client for interacting with cart endpoints
|
|
1682
1671
|
*/
|
|
1683
1672
|
var CartClient = class extends SessionStorefrontAPIClient {
|
|
@@ -2331,10 +2320,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2331
2320
|
}));
|
|
2332
2321
|
}
|
|
2333
2322
|
};
|
|
2334
|
-
|
|
2335
|
-
//#
|
|
2336
|
-
|
|
2337
|
-
/**
|
|
2323
|
+
//#endregion
|
|
2324
|
+
//#region src/lib/auth.ts
|
|
2325
|
+
/**
|
|
2338
2326
|
* Client for interacting with authentication endpoints
|
|
2339
2327
|
*/
|
|
2340
2328
|
var AuthClient = class extends SessionStorefrontAPIClient {
|
|
@@ -3017,10 +3005,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3017
3005
|
return this.executeRequest(() => this.client.POST("/auth/verified-email-phone", { body }));
|
|
3018
3006
|
}
|
|
3019
3007
|
};
|
|
3020
|
-
|
|
3021
|
-
//#
|
|
3022
|
-
|
|
3023
|
-
/**
|
|
3008
|
+
//#endregion
|
|
3009
|
+
//#region src/lib/order.ts
|
|
3010
|
+
/**
|
|
3024
3011
|
* Client for interacting with order endpoints
|
|
3025
3012
|
*/
|
|
3026
3013
|
var OrderClient = class extends SessionStorefrontAPIClient {
|
|
@@ -3381,10 +3368,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3381
3368
|
}));
|
|
3382
3369
|
}
|
|
3383
3370
|
};
|
|
3384
|
-
|
|
3385
|
-
//#
|
|
3386
|
-
|
|
3387
|
-
/**
|
|
3371
|
+
//#endregion
|
|
3372
|
+
//#region src/lib/payments.ts
|
|
3373
|
+
/**
|
|
3388
3374
|
* Client for interacting with payment endpoints
|
|
3389
3375
|
*/
|
|
3390
3376
|
var PaymentsClient = class extends SessionStorefrontAPIClient {
|
|
@@ -3528,10 +3514,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3528
3514
|
return this.executeRequest(() => this.client.POST("/payments/resend-direct-otp", { body }));
|
|
3529
3515
|
}
|
|
3530
3516
|
};
|
|
3531
|
-
|
|
3532
|
-
//#
|
|
3533
|
-
|
|
3534
|
-
/**
|
|
3517
|
+
//#endregion
|
|
3518
|
+
//#region src/lib/shared/helper.ts
|
|
3519
|
+
/**
|
|
3535
3520
|
* Client for interacting with helper endpoints
|
|
3536
3521
|
*/
|
|
3537
3522
|
var BaseHelpersClient = class extends StorefrontAPIClientBase {
|
|
@@ -3642,10 +3627,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3642
3627
|
} }));
|
|
3643
3628
|
}
|
|
3644
3629
|
};
|
|
3645
|
-
|
|
3646
|
-
//#
|
|
3647
|
-
|
|
3648
|
-
/**
|
|
3630
|
+
//#endregion
|
|
3631
|
+
//#region src/lib/public/helper.ts
|
|
3632
|
+
/**
|
|
3649
3633
|
* Client for interacting with helper endpoints
|
|
3650
3634
|
*/
|
|
3651
3635
|
var PublicHelpersClient = class extends BaseHelpersClient {
|
|
@@ -3654,10 +3638,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3654
3638
|
attachPublicAuth(this);
|
|
3655
3639
|
}
|
|
3656
3640
|
};
|
|
3657
|
-
|
|
3658
|
-
//#
|
|
3659
|
-
|
|
3660
|
-
/**
|
|
3641
|
+
//#endregion
|
|
3642
|
+
//#region src/lib/helper.ts
|
|
3643
|
+
/**
|
|
3661
3644
|
* Client for interacting with helper endpoints
|
|
3662
3645
|
*/
|
|
3663
3646
|
var HelpersClient = class extends BaseHelpersClient {
|
|
@@ -3666,10 +3649,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3666
3649
|
attachSessionAuth(this, config.sessionManager);
|
|
3667
3650
|
}
|
|
3668
3651
|
};
|
|
3669
|
-
|
|
3670
|
-
//#
|
|
3671
|
-
|
|
3672
|
-
/**
|
|
3652
|
+
//#endregion
|
|
3653
|
+
//#region src/lib/customer.ts
|
|
3654
|
+
/**
|
|
3673
3655
|
* Client for interacting with customer endpoints
|
|
3674
3656
|
*/
|
|
3675
3657
|
var CustomerClient = class extends SessionStorefrontAPIClient {
|
|
@@ -3737,10 +3719,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3737
3719
|
return this.executeRequest(() => this.client.GET("/customers/{customer_id}/cards", { params: { path: resolvedPathParams } }));
|
|
3738
3720
|
}
|
|
3739
3721
|
};
|
|
3740
|
-
|
|
3741
|
-
//#
|
|
3742
|
-
|
|
3743
|
-
/**
|
|
3722
|
+
//#endregion
|
|
3723
|
+
//#region src/lib/shared/store-config.ts
|
|
3724
|
+
/**
|
|
3744
3725
|
* Client for interacting with store config endpoints
|
|
3745
3726
|
*/
|
|
3746
3727
|
var BaseStoreConfigClient = class extends StorefrontAPIClientBase {
|
|
@@ -3791,10 +3772,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3791
3772
|
return this.executeRequest(() => this.client.GET("/store/config"));
|
|
3792
3773
|
}
|
|
3793
3774
|
};
|
|
3794
|
-
|
|
3795
|
-
//#
|
|
3796
|
-
|
|
3797
|
-
/**
|
|
3775
|
+
//#endregion
|
|
3776
|
+
//#region src/lib/public/store-config.ts
|
|
3777
|
+
/**
|
|
3798
3778
|
* Client for interacting with store config endpoints
|
|
3799
3779
|
*/
|
|
3800
3780
|
var PublicStoreConfigClient = class extends BaseStoreConfigClient {
|
|
@@ -3803,10 +3783,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3803
3783
|
attachPublicAuth(this);
|
|
3804
3784
|
}
|
|
3805
3785
|
};
|
|
3806
|
-
|
|
3807
|
-
//#
|
|
3808
|
-
|
|
3809
|
-
/**
|
|
3786
|
+
//#endregion
|
|
3787
|
+
//#region src/lib/store-config.ts
|
|
3788
|
+
/**
|
|
3810
3789
|
* Client for interacting with store config endpoints
|
|
3811
3790
|
*/
|
|
3812
3791
|
var StoreConfigClient = class extends BaseStoreConfigClient {
|
|
@@ -3815,10 +3794,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3815
3794
|
attachSessionAuth(this, config.sessionManager);
|
|
3816
3795
|
}
|
|
3817
3796
|
};
|
|
3818
|
-
|
|
3819
|
-
//#
|
|
3820
|
-
|
|
3821
|
-
/**
|
|
3797
|
+
//#endregion
|
|
3798
|
+
//#region src/lib/storage/token-storage.ts
|
|
3799
|
+
/**
|
|
3822
3800
|
* Simple in-memory token storage implementation
|
|
3823
3801
|
*/
|
|
3824
3802
|
var MemoryTokenStorage = class {
|
|
@@ -3935,10 +3913,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
3935
3913
|
document.cookie = cookieString;
|
|
3936
3914
|
}
|
|
3937
3915
|
};
|
|
3938
|
-
|
|
3939
|
-
//#
|
|
3940
|
-
|
|
3941
|
-
/**
|
|
3916
|
+
//#endregion
|
|
3917
|
+
//#region src/lib/session/jwt-utils.ts
|
|
3918
|
+
/**
|
|
3942
3919
|
* Decode a JWT token payload without signature verification.
|
|
3943
3920
|
* This is a lightweight replacement for jose's decodeJwt.
|
|
3944
3921
|
*
|
|
@@ -4037,9 +4014,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4037
4014
|
function isUserAnonymous(token) {
|
|
4038
4015
|
return extractUserInfoFromToken(token)?.isAnonymous ?? true;
|
|
4039
4016
|
}
|
|
4040
|
-
|
|
4041
|
-
//#
|
|
4042
|
-
//#region src/types/auth-operation-metadata.ts
|
|
4017
|
+
//#endregion
|
|
4018
|
+
//#region src/types/auth-operation-metadata.ts
|
|
4043
4019
|
const API_KEY_ONLY_OPERATIONS = [
|
|
4044
4020
|
{
|
|
4045
4021
|
method: "POST",
|
|
@@ -4078,9 +4054,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4078
4054
|
path: "/store/sellers/{id}/reviews"
|
|
4079
4055
|
}
|
|
4080
4056
|
];
|
|
4081
|
-
|
|
4082
|
-
//#
|
|
4083
|
-
//#region src/lib/session/auth-utils.ts
|
|
4057
|
+
//#endregion
|
|
4058
|
+
//#region src/lib/session/auth-utils.ts
|
|
4084
4059
|
const TOKEN_RETURNING_OPERATIONS = [
|
|
4085
4060
|
{
|
|
4086
4061
|
method: "POST",
|
|
@@ -4156,10 +4131,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4156
4131
|
function isTokenReturningOperation(method, pathname) {
|
|
4157
4132
|
return matchesOperationList(method, pathname, TOKEN_RETURNING_OPERATIONS);
|
|
4158
4133
|
}
|
|
4159
|
-
|
|
4160
|
-
//#
|
|
4161
|
-
|
|
4162
|
-
/**
|
|
4134
|
+
//#endregion
|
|
4135
|
+
//#region src/lib/session/manager.ts
|
|
4136
|
+
/**
|
|
4163
4137
|
* Internal per-SDK session controller.
|
|
4164
4138
|
*
|
|
4165
4139
|
* A single instance is shared by all API clients created from the same
|
|
@@ -4533,10 +4507,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4533
4507
|
if (refreshToken) await this.tokenStorage.setRefreshToken(refreshToken);
|
|
4534
4508
|
}
|
|
4535
4509
|
};
|
|
4536
|
-
|
|
4537
|
-
//#
|
|
4538
|
-
|
|
4539
|
-
/**
|
|
4510
|
+
//#endregion
|
|
4511
|
+
//#region src/index.ts
|
|
4512
|
+
/**
|
|
4540
4513
|
* Public SDK class for the Storefront API.
|
|
4541
4514
|
*
|
|
4542
4515
|
* This surface is intentionally limited to API-key-backed, public read
|
|
@@ -4915,29 +4888,29 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4915
4888
|
session
|
|
4916
4889
|
};
|
|
4917
4890
|
}
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
exports.
|
|
4921
|
-
exports.
|
|
4922
|
-
exports.
|
|
4923
|
-
exports.
|
|
4924
|
-
exports.
|
|
4925
|
-
exports.
|
|
4926
|
-
exports.
|
|
4927
|
-
exports.
|
|
4928
|
-
exports.
|
|
4929
|
-
exports.
|
|
4930
|
-
exports.
|
|
4931
|
-
exports.
|
|
4932
|
-
exports.
|
|
4933
|
-
exports.
|
|
4934
|
-
exports.
|
|
4935
|
-
exports.
|
|
4936
|
-
exports.
|
|
4937
|
-
exports.
|
|
4938
|
-
exports.
|
|
4939
|
-
exports.
|
|
4940
|
-
exports
|
|
4941
|
-
return exports;
|
|
4891
|
+
//#endregion
|
|
4892
|
+
exports.AuthClient = AuthClient;
|
|
4893
|
+
exports.BrowserTokenStorage = BrowserTokenStorage;
|
|
4894
|
+
exports.CartClient = CartClient;
|
|
4895
|
+
exports.CatalogClient = CatalogClient;
|
|
4896
|
+
exports.CookieTokenStorage = CookieTokenStorage;
|
|
4897
|
+
exports.CustomerClient = CustomerClient;
|
|
4898
|
+
exports.Environment = Environment;
|
|
4899
|
+
exports.HelpersClient = HelpersClient;
|
|
4900
|
+
exports.MemoryTokenStorage = MemoryTokenStorage;
|
|
4901
|
+
exports.OrderClient = OrderClient;
|
|
4902
|
+
exports.PaymentsClient = PaymentsClient;
|
|
4903
|
+
exports.PublicCatalogClient = PublicCatalogClient;
|
|
4904
|
+
exports.PublicHelpersClient = PublicHelpersClient;
|
|
4905
|
+
exports.PublicStoreConfigClient = PublicStoreConfigClient;
|
|
4906
|
+
exports.PublicStorefrontAPIClient = PublicStorefrontAPIClient;
|
|
4907
|
+
exports.PublicStorefrontSDK = PublicStorefrontSDK;
|
|
4908
|
+
exports.ResponseUtils = ResponseUtils;
|
|
4909
|
+
exports.SessionStorefrontAPIClient = SessionStorefrontAPIClient;
|
|
4910
|
+
exports.SessionStorefrontSDK = SessionStorefrontSDK;
|
|
4911
|
+
exports.StoreConfigClient = StoreConfigClient;
|
|
4912
|
+
exports.createStorefront = createStorefront;
|
|
4913
|
+
return exports;
|
|
4942
4914
|
})({});
|
|
4915
|
+
|
|
4943
4916
|
//# sourceMappingURL=index.iife.js.map
|