@sayren/storefront-sdk 0.20.8 → 0.20.10

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 CHANGED
@@ -1,3 +1,3 @@
1
1
  import { C as loginRequestSchema, D as tokenPairSchema, E as socialProviderSchema, O as withdrawRequestSchema, S as linkIdentityRequestSchema, T as signupRequestSchema, _ as anonymousSessionSchema, a as AnonymousSession, b as idpAuthorizeResponseSchema, c as IdpTokenRequest, d as MemberIdentities, f as SignupRequest, g as WithdrawalBlockedDetails, h as WithdrawRequest, i as buildQuery, k as withdrawalBlockedDetailsSchema, l as LinkIdentityRequest, m as TokenPair, n as Query, o as IdpAgreements, p as SocialProvider, r as TokenSource, s as IdpAuthorizeRequest, t as ApiError, u as LoginRequest, v as idpAgreementsSchema, w as memberIdentitiesSchema, x as idpTokenRequestSchema, y as idpAuthorizeRequestSchema } from "./http-1ab7tP4-.mjs";
2
- import { $ as FlowInputField, $i as claimStatusSchema, $n as ConsentSource, $r as cashReceiptIdentityTypeOf, $t as reviewSummarySchema, A as StorefrontPointPolicy, Ai as ProductDetail, An as CheckoutPricingRequest, Ar as DeliveryQuoteResult, At as StorefrontSessionOptions, B as deliveryTrackingSchema, Bi as collectionProductSortSchema, Bn as checkoutPricingSchema, Br as PaymentMessage, Bt as ReviewSummary, C as lineSelectionResponseShape, Ci as shippingAddressInputSchema, Cn as CustomerInquiry, Cr as CashReceiptIdentityType, Ct as analyticsServerEventNameSchema, D as parseCustomInputValue, Di as CollectionProductParams, Dn as customerInquirySchema, Dr as CheckoutSession, Dt as STOREFRONT_SESSION_KEYS, E as orderInputUploadRequestSchema, Ei as CollectionProductPage, En as customerInquiryCategorySchema, Er as CheckoutDelivery, Et as createStorefrontClient, F as DeliveryTracking, Fi as StorefrontCollection, Fn as MyCoupon, Fr as KnownPaymentStatus, Ft as ProductReviewParams, G as trackingStageResponseSchema, Gi as productSortSchema, Gn as myCouponListQuerySchema, Gr as PgProvider, Gt as createReviewRequestSchema, H as myOrderSchema, Hi as productDetailSchema, Hn as couponApplicationSchema, Hr as PaymentOption, Ht as UpdateReviewResult, I as MyOrder, Ii as StorefrontCollectionDetail, In as StorefrontCoupon, Ir as PAYMENT_RESULT_VALUES, It as ProductReviewSort, J as parseOrderNo, Ji as storefrontCollectionSchema, Jn as storefrontCouponListQuerySchema, Jr as RetryPaymentRequest, Jt as productReviewQuerySchema, K as commerceNumberField, Ki as storefrontCollectionDetailSchema, Kn as myCouponSchema, Kr as RemoteArea, Kt as createReviewResultSchema, L as MyOrderItem, Li as categoryNodeSchema, Ln as StorefrontCouponListParams, Lr as PAYMENT_START_STATUS_VALUES, Lt as PublicReview, M as memberPointEntrySchema, Mi as ProductPage, Mn as CouponResult, Mr as GuestInfo, Mt as CreateReviewRequest, N as memberPointsSchema, Ni as ProductSearchParams, Nn as MAX_COUPONS_PER_CHECKOUT, Nr as KnownPaymentResult, Nt as CreateReviewResult, O as MemberPointEntry, Oi as CollectionProductSortParam, On as ApplicableCoupon, Or as CreateCheckoutRequest, Ot as SessionStorage, P as storefrontPointPolicySchema, Pi as ProductSort, Pn as MIN_PAYMENT_AMOUNT, Pr as KnownPaymentStartStatus, Pt as MyReview, Q as FlowFieldValue, Qi as PageParams, Qn as ConsentKind, Qr as cashReceiptAvailable, Qt as reviewPageSchema, R as OrderShippingAddress, Ri as collectionProductPageSchema, Rn as applicableCouponSchema, Rr as PAYMENT_STATUS_VALUES, Rt as ReviewImageUploadRequest, S as lineSelectionRequestShape, Sa as analyticsIdsFromCookie, Si as retryPaymentRequestSchema, Sn as CreateCustomerInquiryRequest, Sr as CASH_RECEIPT_METHODS, St as analyticsIdSchema, T as optionSelectionViewSchema, Ti as CategoryNode, Tn as createCustomerInquiryRequestSchema, Tr as CashReceiptType, Tt as StorefrontClientOptions, U as orderShippingAddressSchema, Ui as productFacetsSchema, Un as couponBenefitViewSchema, Ur as PaymentStart, Ut as UploadTicket, V as myOrderItemSchema, Vi as productCardSchema, Vn as couponApplicationListSchema, Vr as PaymentMethod, Vt as UpdateReviewRequest, W as purchaseDecisionResultSchema, Wi as productPageSchema, Wn as couponResultSchema, Wr as PaymentStatus, Wt as WritableReview, X as FlowActionRequest, Xi as OrderItemStatus, Xn as storefrontCouponTargetSchema, Xr as StartPaymentRequest, Xt as publicReviewSchema, Y as FlowAction, Yi as ClaimStatus, Yn as storefrontCouponSchema, Yr as ShippingAddressInput, Yt as productReviewSortSchema, Z as FlowActionResult, Zi as PageInfo, Zn as ConsentAction, Zr as availablePaymentOptionSchema, Zt as reviewImageUploadRequestSchema, _ as addonSelectionSchema, _a as UpdateCartItemRequest, _i as paymentStatusSchema, _n as PublicInquiry, _r as claimTypeSchema, _t as AnalyticsEventName, a as StayView, aa as PickupLocationView, ai as deliveryQuoteRequestSchema, an as MemberAddress, ar as consentSourceSchema, at as flowFieldValueSchema, b as customInputValueViewSchema, ba as cartSchema, bi as residentNumberLike, bn as productInquiryCategorySchema, br as myClaimSchema, bt as analyticsClientEventNameSchema, c as stayViewSchema, ca as UnknownFulfillmentView, ci as easyPayProviderSchema, cn as WishlistAddResult, cr as memberConsentsSchema, ct as guestFlowActionRequestSchema, d as CustomInputEntry, da as pickupLocationViewSchema, di as paymentMessageSchema, dn as memberSchema, dr as ClaimType, dt as ANALYTICS_SESSION_HEADER, ea as orderItemStatusSchema, ei as cashReceiptRequestSchema, en as updateReviewRequestSchema, er as ConsentState, et as FlowState, f as CustomInputValueView, fa as productCardFulfillmentSchema, fi as paymentMethodSchema, fn as updateProfileRequestSchema, fr as CreateClaimRequest, ft as ANALYTICS_VISITOR_COOKIE, g as addonGroupViewSchema, ga as CartItem, gi as paymentStartSchema, gn as ProductInquiryCategory, gr as claimReturnAddressSchema, gt as AnalyticsClientEventName, h as OrderInputUploadRequest, ha as Cart, hi as paymentOptionSchema, hn as CreateInquiryResult, hr as claimReasonSchema, ht as AnalyticsClientEvent, i as StayRequest, ia as MyOrderItemFulfillmentSnapshot, ii as createCheckoutRequestSchema, in as Member, ir as consentKindSchema, it as flowActionSchema, j as memberPointEntryPageSchema, ji as ProductFacets, jn as CouponApplication, jr as EasyPayProvider, jt as createStorefrontSession, k as MemberPoints, ki as ProductCard, kn as CheckoutPricing, kr as DeliveryQuoteRequest, kt as StorefrontSession, l as AddonGroupView, la as lineFulfillmentSchema, li as guestInfoSchema, ln as memberAddressRequestSchema, lr as ClaimReason, lt as ANALYTICS_MAX_BATCH_BYTES, m as OptionSelectionView, ma as AddCartItemRequest, mi as paymentOptionListSchema, mn as CreateInquiryRequest, mr as MyClaim, mt as AnalyticsBatch, n as storefrontStoreSchema, na as pageSchema, ni as checkoutDeliverySchema, nn as uploadTicketSchema, nr as MemberConsents, nt as flowActionRequestSchema, o as calendarDayViewSchema, oa as ProductCardFulfillment, oi as deliveryQuoteSchema, on as MemberAddressRequest, or as consentStateSchema, ot as flowInputFieldSchema, p as CustomInputView, pa as productFulfillmentViewSchema, pi as paymentOptionKey, pn as wishlistAddResultSchema, pr as CreateClaimResult, pt as ANALYTICS_VISITOR_HEADER, q as formatOrderNo, qi as storefrontCollectionListQuerySchema, qn as pricingAmountsSchema, qr as ResponsePaymentMethod, qt as myReviewSchema, r as CalendarDayView, ra as LineFulfillment, ri as checkoutSessionSchema, rn as writableReviewSchema, rr as consentActionSchema, rt as flowActionResultSchema, s as stayRequestSchema, sa as ProductFulfillmentView, si as easyPayProviderResponseSchema, sn as UpdateProfileRequest, sr as consentUpdateRequestSchema, st as flowStateSchema, t as StorefrontStore, ta as pageInfoSchema, ti as cashReceiptTypeSchema, tn as updateReviewResultSchema, tr as ConsentUpdateRequest, tt as GuestFlowActionRequest, u as AddonSelection, ua as myOrderItemFulfillmentSnapshotSchema, ui as paymentFailureCategorySchema, un as memberAddressSchema, ur as ClaimReturnAddress, ut as ANALYTICS_SESSION_COOKIE, v as customInputEntrySchema, va as addCartItemRequestSchema, vi as pgProviderSchema, vn as createInquiryRequestSchema, vr as createClaimRequestSchema, vt as AnalyticsServerEventName, w as normalizeCustomInputValue, wi as startPaymentRequestSchema, wn as CustomerInquiryCategory, wr as CashReceiptRequest, wt as StorefrontClient, x as customInputViewSchema, xa as updateCartItemRequestSchema, xi as responsePaymentMethodSchema, xn as publicInquirySchema, xr as AvailablePaymentOption, xt as analyticsClientEventSchema, y as customInputLength, ya as cartItemSchema, yi as remoteAreaSchema, yn as createInquiryResultSchema, yr as createClaimResultSchema, yt as analyticsBatchSchema, z as PurchaseDecisionResult, zi as collectionProductQuerySchema, zn as checkoutPricingRequestSchema, zr as PaymentFailureCategory, zt as ReviewPage } from "./index-Bv49jTFH.mjs";
3
- export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, AddCartItemRequest, AddonGroupView, AddonSelection, AnalyticsBatch, AnalyticsClientEvent, AnalyticsClientEventName, AnalyticsEventName, AnalyticsServerEventName, AnonymousSession, ApiError, ApplicableCoupon, AvailablePaymentOption, CASH_RECEIPT_METHODS, CalendarDayView, Cart, CartItem, CashReceiptIdentityType, CashReceiptRequest, CashReceiptType, CategoryNode, CheckoutDelivery, CheckoutPricing, CheckoutPricingRequest, CheckoutSession, ClaimReason, ClaimReturnAddress, ClaimStatus, ClaimType, CollectionProductPage, CollectionProductParams, CollectionProductSortParam, ConsentAction, ConsentKind, ConsentSource, ConsentState, ConsentUpdateRequest, CouponApplication, CouponResult, CreateCheckoutRequest, CreateClaimRequest, CreateClaimResult, CreateCustomerInquiryRequest, CreateInquiryRequest, CreateInquiryResult, CreateReviewRequest, CreateReviewResult, CustomInputEntry, CustomInputValueView, CustomInputView, CustomerInquiry, CustomerInquiryCategory, DeliveryQuoteRequest, DeliveryQuoteResult, DeliveryTracking, EasyPayProvider, FlowAction, FlowActionRequest, FlowActionResult, FlowFieldValue, FlowInputField, FlowState, GuestFlowActionRequest, GuestInfo, IdpAgreements, IdpAuthorizeRequest, IdpTokenRequest, KnownPaymentResult, KnownPaymentStartStatus, KnownPaymentStatus, LineFulfillment, LinkIdentityRequest, LoginRequest, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, Member, MemberAddress, MemberAddressRequest, MemberConsents, MemberIdentities, MemberPointEntry, MemberPoints, MyClaim, MyCoupon, MyOrder, MyOrderItem, MyOrderItemFulfillmentSnapshot, MyReview, OptionSelectionView, OrderInputUploadRequest, OrderItemStatus, OrderShippingAddress, PAYMENT_RESULT_VALUES, PAYMENT_START_STATUS_VALUES, PAYMENT_STATUS_VALUES, PageInfo, PageParams, PaymentFailureCategory, PaymentMessage, PaymentMethod, PaymentOption, PaymentStart, PaymentStatus, PgProvider, PickupLocationView, ProductCard, ProductCardFulfillment, ProductDetail, ProductFacets, ProductFulfillmentView, ProductInquiryCategory, ProductPage, ProductReviewParams, ProductReviewSort, ProductSearchParams, ProductSort, PublicInquiry, PublicReview, PurchaseDecisionResult, type Query, RemoteArea, ResponsePaymentMethod, RetryPaymentRequest, ReviewImageUploadRequest, ReviewPage, ReviewSummary, STOREFRONT_SESSION_KEYS, type SessionStorage, ShippingAddressInput, SignupRequest, SocialProvider, StartPaymentRequest, StayRequest, StayView, type StorefrontClient, type StorefrontClientOptions, StorefrontCollection, StorefrontCollectionDetail, StorefrontCoupon, StorefrontCouponListParams, StorefrontPointPolicy, type StorefrontSession, type StorefrontSessionOptions, StorefrontStore, TokenPair, type TokenSource, UnknownFulfillmentView, UpdateCartItemRequest, UpdateProfileRequest, UpdateReviewRequest, UpdateReviewResult, UploadTicket, WishlistAddResult, WithdrawRequest, WithdrawalBlockedDetails, WritableReview, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, calendarDayViewSchema, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, commerceNumberField, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, flowActionRequestSchema, flowActionResultSchema, flowActionSchema, flowFieldValueSchema, flowInputFieldSchema, flowStateSchema, formatOrderNo, guestFlowActionRequestSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberPointEntryPageSchema, memberPointEntrySchema, memberPointsSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderInputUploadRequestSchema, orderItemStatusSchema, orderShippingAddressSchema, pageInfoSchema, pageSchema, parseCustomInputValue, parseOrderNo, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pickupLocationViewSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, responsePaymentMethodSchema, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, stayRequestSchema, stayViewSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontCouponListQuerySchema, storefrontCouponSchema, storefrontCouponTargetSchema, storefrontPointPolicySchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
2
+ import { $ as ANALYTICS_VISITOR_HEADER, $i as storefrontCollectionSchema, $n as storefrontCouponListQuerySchema, $r as RetryPaymentRequest, $t as customInputEntrySchema, A as FlowAction, Ai as CategoryNode, An as createCustomerInquiryRequestSchema, Ar as CashReceiptType, At as WritableReview, B as flowActionRequestSchema, Bi as StorefrontCollection, Bn as MyCoupon, Br as KnownPaymentStatus, Bt as updateReviewRequestSchema, C as myOrderSchema, Ca as addCartItemRequestSchema, Ci as pgProviderSchema, Cn as createInquiryRequestSchema, Cr as createClaimRequestSchema, Ct as PublicReview, D as commerceNumberField, Da as analyticsIdsFromCookie, Di as retryPaymentRequestSchema, Dn as CreateCustomerInquiryRequest, Dr as CASH_RECEIPT_METHODS, Dt as UpdateReviewRequest, E as trackingStageResponseSchema, Ea as updateCartItemRequestSchema, Ei as responsePaymentMethodSchema, En as publicInquirySchema, Er as AvailablePaymentOption, Et as ReviewSummary, F as FlowState, Fi as ProductDetail, Fn as CheckoutPricingRequest, Fr as DeliveryQuoteResult, Ft as productReviewSortSchema, G as flowStateSchema, Gi as collectionProductSortSchema, Gn as checkoutPricingSchema, Gr as PaymentMessage, Gt as AddonSelection, H as flowActionSchema, Hi as categoryNodeSchema, Hn as StorefrontCouponListParams, Hr as PAYMENT_START_STATUS_VALUES, Ht as uploadTicketSchema, I as GuestFlowActionRequest, Ii as ProductFacets, In as CouponApplication, Ir as EasyPayProvider, It as publicReviewSchema, J as orderStepSchema, Ji as productFacetsSchema, Jn as couponBenefitViewSchema, Jr as PaymentStart, Jt as CustomInputView, K as guestFlowActionRequestSchema, Ki as productCardSchema, Kn as couponApplicationListSchema, Kr as PaymentMethod, Kt as CustomInputEntry, L as ORDER_STEP_TYPES, Li as ProductPage, Ln as CouponResult, Lr as GuestInfo, Lt as reviewImageUploadRequestSchema, M as FlowActionResult, Mi as CollectionProductParams, Mn as customerInquirySchema, Mr as CheckoutSession, Mt as createReviewResultSchema, N as FlowFieldValue, Ni as CollectionProductSortParam, Nn as ApplicableCoupon, Nr as CreateCheckoutRequest, Nt as myReviewSchema, O as formatOrderNo, Oi as shippingAddressInputSchema, On as CustomerInquiry, Or as CashReceiptIdentityType, Ot as UpdateReviewResult, P as FlowInputField, Pi as ProductCard, Pn as CheckoutPricing, Pr as DeliveryQuoteRequest, Pt as productReviewQuerySchema, Q as ANALYTICS_VISITOR_COOKIE, Qi as storefrontCollectionListQuerySchema, Qn as pricingAmountsSchema, Qr as ResponsePaymentMethod, Qt as addonSelectionSchema, R as OrderFlowActionResult, Ri as ProductSearchParams, Rn as MAX_COUPONS_PER_CHECKOUT, Rr as KnownPaymentResult, Rt as reviewPageSchema, S as myOrderItemSchema, Sa as UpdateCartItemRequest, Si as paymentStatusSchema, Sn as PublicInquiry, Sr as claimTypeSchema, St as ProductReviewSort, T as purchaseDecisionResultSchema, Ta as cartSchema, Ti as residentNumberLike, Tn as productInquiryCategorySchema, Tr as myClaimSchema, Tt as ReviewPage, U as flowFieldValueSchema, Ui as collectionProductPageSchema, Un as applicableCouponSchema, Ur as PAYMENT_STATUS_VALUES, Ut as writableReviewSchema, V as flowActionResultSchema, Vi as StorefrontCollectionDetail, Vn as StorefrontCoupon, Vr as PAYMENT_RESULT_VALUES, Vt as updateReviewResultSchema, W as flowInputFieldSchema, Wi as collectionProductQuerySchema, Wn as checkoutPricingRequestSchema, Wr as PaymentFailureCategory, Wt as AddonGroupView, X as ANALYTICS_SESSION_COOKIE, Xi as productSortSchema, Xn as myCouponListQuerySchema, Xr as PgProvider, Xt as OrderInputUploadRequest, Y as ANALYTICS_MAX_BATCH_BYTES, Yi as productPageSchema, Yn as couponResultSchema, Yr as PaymentStatus, Yt as OptionSelectionView, Z as ANALYTICS_SESSION_HEADER, Zi as storefrontCollectionDetailSchema, Zn as myCouponSchema, Zr as RemoteArea, Zt as addonGroupViewSchema, _ as MyOrder, _a as productCardFulfillmentSchema, _i as paymentMethodSchema, _n as updateProfileRequestSchema, _r as CreateClaimRequest, _t as createStorefrontSession, a as StayView, aa as orderItemStatusSchema, ai as cashReceiptRequestSchema, an as normalizeCustomInputValue, ar as ConsentState, at as analyticsBatchSchema, b as PurchaseDecisionResult, ba as Cart, bi as paymentOptionSchema, bn as CreateInquiryResult, br as claimReasonSchema, bt as MyReview, c as stayViewSchema, ca as LineFulfillment, ci as checkoutSessionSchema, cn as parseCustomInputValue, cr as consentActionSchema, ct as analyticsIdSchema, d as StorefrontPointPolicy, da as ProductCardFulfillment, di as deliveryQuoteSchema, dn as MemberAddressRequest, dr as consentStateSchema, dt as StorefrontClientOptions, ea as ClaimStatus, ei as ShippingAddressInput, en as customInputLength, er as storefrontCouponSchema, et as AnalyticsBatch, f as memberPointEntryPageSchema, fa as ProductFulfillmentView, fi as easyPayProviderResponseSchema, fn as UpdateProfileRequest, fr as consentUpdateRequestSchema, ft as createStorefrontClient, g as DeliveryTracking, ga as pickupLocationViewSchema, gi as paymentMessageSchema, gn as memberSchema, gr as ClaimType, gt as StorefrontSessionOptions, h as storefrontPointPolicySchema, ha as myOrderItemFulfillmentSnapshotSchema, hi as paymentFailureCategorySchema, hn as memberAddressSchema, hr as ClaimReturnAddress, ht as StorefrontSession, i as StayRequest, ia as claimStatusSchema, ii as cashReceiptIdentityTypeOf, in as lineSelectionResponseShape, ir as ConsentSource, it as AnalyticsServerEventName, j as FlowActionRequest, ji as CollectionProductPage, jn as customerInquiryCategorySchema, jr as CheckoutDelivery, jt as createReviewRequestSchema, k as parseOrderNo, ki as startPaymentRequestSchema, kn as CustomerInquiryCategory, kr as CashReceiptRequest, kt as UploadTicket, l as MemberPointEntry, la as MyOrderItemFulfillmentSnapshot, li as createCheckoutRequestSchema, ln as Member, lr as consentKindSchema, lt as analyticsServerEventNameSchema, m as memberPointsSchema, ma as lineFulfillmentSchema, mi as guestInfoSchema, mn as memberAddressRequestSchema, mr as ClaimReason, mt as SessionStorage, n as storefrontStoreSchema, na as PageInfo, ni as availablePaymentOptionSchema, nn as customInputViewSchema, nr as ConsentAction, nt as AnalyticsClientEventName, o as calendarDayViewSchema, oa as pageInfoSchema, oi as cashReceiptTypeSchema, on as optionSelectionViewSchema, or as ConsentUpdateRequest, ot as analyticsClientEventNameSchema, p as memberPointEntrySchema, pa as UnknownFulfillmentView, pi as easyPayProviderSchema, pn as WishlistAddResult, pr as memberConsentsSchema, pt as STOREFRONT_SESSION_KEYS, q as orderFlowActionResultSchema, qi as productDetailSchema, qn as couponApplicationSchema, qr as PaymentOption, qt as CustomInputValueView, r as CalendarDayView, ra as PageParams, ri as cashReceiptAvailable, rn as lineSelectionRequestShape, rr as ConsentKind, rt as AnalyticsEventName, s as stayRequestSchema, sa as pageSchema, si as checkoutDeliverySchema, sn as orderInputUploadRequestSchema, sr as MemberConsents, st as analyticsClientEventSchema, t as StorefrontStore, ta as OrderItemStatus, ti as StartPaymentRequest, tn as customInputValueViewSchema, tr as storefrontCouponTargetSchema, tt as AnalyticsClientEvent, u as MemberPoints, ua as PickupLocationView, ui as deliveryQuoteRequestSchema, un as MemberAddress, ur as consentSourceSchema, ut as StorefrontClient, v as MyOrderItem, va as productFulfillmentViewSchema, vi as paymentOptionKey, vn as wishlistAddResultSchema, vr as CreateClaimResult, vt as CreateReviewRequest, w as orderShippingAddressSchema, wa as cartItemSchema, wi as remoteAreaSchema, wn as createInquiryResultSchema, wr as createClaimResultSchema, wt as ReviewImageUploadRequest, x as deliveryTrackingSchema, xa as CartItem, xi as paymentStartSchema, xn as ProductInquiryCategory, xr as claimReturnAddressSchema, xt as ProductReviewParams, y as OrderShippingAddress, ya as AddCartItemRequest, yi as paymentOptionListSchema, yn as CreateInquiryRequest, yr as MyClaim, yt as CreateReviewResult, z as OrderStep, zi as ProductSort, zn as MIN_PAYMENT_AMOUNT, zr as KnownPaymentStartStatus, zt as reviewSummarySchema } from "./index-BVJvoppI.mjs";
3
+ export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, AddCartItemRequest, AddonGroupView, AddonSelection, AnalyticsBatch, AnalyticsClientEvent, AnalyticsClientEventName, AnalyticsEventName, AnalyticsServerEventName, AnonymousSession, ApiError, ApplicableCoupon, AvailablePaymentOption, CASH_RECEIPT_METHODS, CalendarDayView, Cart, CartItem, CashReceiptIdentityType, CashReceiptRequest, CashReceiptType, CategoryNode, CheckoutDelivery, CheckoutPricing, CheckoutPricingRequest, CheckoutSession, ClaimReason, ClaimReturnAddress, ClaimStatus, ClaimType, CollectionProductPage, CollectionProductParams, CollectionProductSortParam, ConsentAction, ConsentKind, ConsentSource, ConsentState, ConsentUpdateRequest, CouponApplication, CouponResult, CreateCheckoutRequest, CreateClaimRequest, CreateClaimResult, CreateCustomerInquiryRequest, CreateInquiryRequest, CreateInquiryResult, CreateReviewRequest, CreateReviewResult, CustomInputEntry, CustomInputValueView, CustomInputView, CustomerInquiry, CustomerInquiryCategory, DeliveryQuoteRequest, DeliveryQuoteResult, DeliveryTracking, EasyPayProvider, FlowAction, FlowActionRequest, FlowActionResult, FlowFieldValue, FlowInputField, FlowState, GuestFlowActionRequest, GuestInfo, IdpAgreements, IdpAuthorizeRequest, IdpTokenRequest, KnownPaymentResult, KnownPaymentStartStatus, KnownPaymentStatus, LineFulfillment, LinkIdentityRequest, LoginRequest, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, Member, MemberAddress, MemberAddressRequest, MemberConsents, MemberIdentities, MemberPointEntry, MemberPoints, MyClaim, MyCoupon, MyOrder, MyOrderItem, MyOrderItemFulfillmentSnapshot, MyReview, ORDER_STEP_TYPES, OptionSelectionView, OrderFlowActionResult, OrderInputUploadRequest, OrderItemStatus, OrderShippingAddress, OrderStep, PAYMENT_RESULT_VALUES, PAYMENT_START_STATUS_VALUES, PAYMENT_STATUS_VALUES, PageInfo, PageParams, PaymentFailureCategory, PaymentMessage, PaymentMethod, PaymentOption, PaymentStart, PaymentStatus, PgProvider, PickupLocationView, ProductCard, ProductCardFulfillment, ProductDetail, ProductFacets, ProductFulfillmentView, ProductInquiryCategory, ProductPage, ProductReviewParams, ProductReviewSort, ProductSearchParams, ProductSort, PublicInquiry, PublicReview, PurchaseDecisionResult, type Query, RemoteArea, ResponsePaymentMethod, RetryPaymentRequest, ReviewImageUploadRequest, ReviewPage, ReviewSummary, STOREFRONT_SESSION_KEYS, type SessionStorage, ShippingAddressInput, SignupRequest, SocialProvider, StartPaymentRequest, StayRequest, StayView, type StorefrontClient, type StorefrontClientOptions, StorefrontCollection, StorefrontCollectionDetail, StorefrontCoupon, StorefrontCouponListParams, StorefrontPointPolicy, type StorefrontSession, type StorefrontSessionOptions, StorefrontStore, TokenPair, type TokenSource, UnknownFulfillmentView, UpdateCartItemRequest, UpdateProfileRequest, UpdateReviewRequest, UpdateReviewResult, UploadTicket, WishlistAddResult, WithdrawRequest, WithdrawalBlockedDetails, WritableReview, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, calendarDayViewSchema, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, commerceNumberField, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, flowActionRequestSchema, flowActionResultSchema, flowActionSchema, flowFieldValueSchema, flowInputFieldSchema, flowStateSchema, formatOrderNo, guestFlowActionRequestSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberPointEntryPageSchema, memberPointEntrySchema, memberPointsSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderFlowActionResultSchema, orderInputUploadRequestSchema, orderItemStatusSchema, orderShippingAddressSchema, orderStepSchema, pageInfoSchema, pageSchema, parseCustomInputValue, parseOrderNo, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pickupLocationViewSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, responsePaymentMethodSchema, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, stayRequestSchema, stayViewSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontCouponListQuerySchema, storefrontCouponSchema, storefrontCouponTargetSchema, storefrontPointPolicySchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as ANALYTICS_VISITOR_HEADER, c as analyticsClientEventSchema, i as ANALYTICS_VISITOR_COOKIE, l as analyticsIdSchema, n as ANALYTICS_SESSION_COOKIE, o as analyticsBatchSchema, r as ANALYTICS_SESSION_HEADER, s as analyticsClientEventNameSchema, t as ANALYTICS_MAX_BATCH_BYTES, u as analyticsServerEventNameSchema } from "./analytics-CgD70OqH.mjs";
2
2
  import { t as analyticsIdsFromCookie } from "./analytics-ids-COElZiI3.mjs";
3
- import { $ as claimTypeSchema, A as wishlistAddResultSchema, At as idpTokenRequestSchema, B as consentSourceSchema, Bt as buildQuery, C as orderShippingAddressSchema, Ct as cartItemSchema, D as memberAddressSchema, Dt as idpAgreementsSchema, E as memberAddressRequestSchema, Et as anonymousSessionSchema, F as createCustomerInquiryRequestSchema, Ft as socialProviderSchema, G as flowActionResultSchema, H as consentUpdateRequestSchema, Ht as unwrapData, I as customerInquiryCategorySchema, It as tokenPairSchema, J as flowInputFieldSchema, K as flowActionSchema, L as customerInquirySchema, Lt as withdrawRequestSchema, M as createInquiryResultSchema, Mt as loginRequestSchema, N as productInquiryCategorySchema, Nt as memberIdentitiesSchema, O as memberSchema, Ot as idpAuthorizeRequestSchema, P as publicInquirySchema, Pt as signupRequestSchema, Q as claimReturnAddressSchema, R as consentActionSchema, Rt as withdrawalBlockedDetailsSchema, S as myOrderSchema, St as addCartItemRequestSchema, T as trackingStageResponseSchema, Tt as updateCartItemRequestSchema, U as memberConsentsSchema, V as consentStateSchema, Vt as toApiError, W as flowActionRequestSchema, X as guestFlowActionRequestSchema, Y as flowStateSchema, Z as claimReasonSchema, _ as memberPointEntrySchema, _t as storefrontCollectionSchema, a as myReviewSchema, at as parseOrderNo, b as deliveryTrackingSchema, bt as pageInfoSchema, c as publicReviewSchema, ct as collectionProductQuerySchema, d as reviewSummarySchema, dt as productDetailSchema, et as createClaimRequestSchema, f as updateReviewRequestSchema, ft as productFacetsSchema, g as memberPointEntryPageSchema, gt as storefrontCollectionListQuerySchema, h as writableReviewSchema, ht as storefrontCollectionDetailSchema, i as createReviewResultSchema, it as formatOrderNo, j as createInquiryRequestSchema, jt as linkIdentityRequestSchema, k as updateProfileRequestSchema, kt as idpAuthorizeResponseSchema, l as reviewImageUploadRequestSchema, lt as collectionProductSortSchema, m as uploadTicketSchema, mt as productSortSchema, n as storefrontStoreSchema, nt as myClaimSchema, o as productReviewQuerySchema, ot as categoryNodeSchema, p as updateReviewResultSchema, pt as productPageSchema, q as flowFieldValueSchema, r as createReviewRequestSchema, rt as commerceNumberField, s as productReviewSortSchema, st as collectionProductPageSchema, t as createStorefrontClient, tt as createClaimResultSchema, u as reviewPageSchema, ut as productCardSchema, v as memberPointsSchema, vt as claimStatusSchema, w as purchaseDecisionResultSchema, wt as cartSchema, x as myOrderItemSchema, xt as pageSchema, y as storefrontPointPolicySchema, yt as orderItemStatusSchema, z as consentKindSchema, zt as ApiError } from "./client-S_gOAeBM.mjs";
3
+ import { $ as orderStepSchema, A as wishlistAddResultSchema, At as idpAgreementsSchema, B as consentSourceSchema, Bt as withdrawRequestSchema, C as orderShippingAddressSchema, Ct as pageInfoSchema, D as memberAddressSchema, Dt as cartSchema, E as memberAddressRequestSchema, Et as cartItemSchema, F as createCustomerInquiryRequestSchema, Ft as loginRequestSchema, G as flowActionRequestSchema, Gt as unwrapData, H as consentUpdateRequestSchema, Ht as ApiError, I as customerInquiryCategorySchema, It as memberIdentitiesSchema, J as flowFieldValueSchema, K as flowActionResultSchema, L as customerInquirySchema, Lt as signupRequestSchema, M as createInquiryResultSchema, Mt as idpAuthorizeResponseSchema, N as productInquiryCategorySchema, Nt as idpTokenRequestSchema, O as memberSchema, Ot as updateCartItemRequestSchema, P as publicInquirySchema, Pt as linkIdentityRequestSchema, Q as orderFlowActionResultSchema, R as consentActionSchema, Rt as socialProviderSchema, S as myOrderSchema, St as orderItemStatusSchema, T as trackingStageResponseSchema, Tt as addCartItemRequestSchema, U as memberConsentsSchema, Ut as buildQuery, V as consentStateSchema, Vt as withdrawalBlockedDetailsSchema, W as ORDER_STEP_TYPES, Wt as toApiError, X as flowStateSchema, Y as flowInputFieldSchema, Z as guestFlowActionRequestSchema, _ as memberPointEntrySchema, _t as productSortSchema, a as myReviewSchema, at as myClaimSchema, b as deliveryTrackingSchema, bt as storefrontCollectionSchema, c as publicReviewSchema, ct as parseOrderNo, d as reviewSummarySchema, dt as collectionProductQuerySchema, et as claimReasonSchema, f as updateReviewRequestSchema, ft as collectionProductSortSchema, g as memberPointEntryPageSchema, gt as productPageSchema, h as writableReviewSchema, ht as productFacetsSchema, i as createReviewResultSchema, it as createClaimResultSchema, j as createInquiryRequestSchema, jt as idpAuthorizeRequestSchema, k as updateProfileRequestSchema, kt as anonymousSessionSchema, l as reviewImageUploadRequestSchema, lt as categoryNodeSchema, m as uploadTicketSchema, mt as productDetailSchema, n as storefrontStoreSchema, nt as claimTypeSchema, o as productReviewQuerySchema, ot as commerceNumberField, p as updateReviewResultSchema, pt as productCardSchema, q as flowActionSchema, r as createReviewRequestSchema, rt as createClaimRequestSchema, s as productReviewSortSchema, st as formatOrderNo, t as createStorefrontClient, tt as claimReturnAddressSchema, u as reviewPageSchema, ut as collectionProductPageSchema, v as memberPointsSchema, vt as storefrontCollectionDetailSchema, w as purchaseDecisionResultSchema, wt as pageSchema, x as myOrderItemSchema, xt as claimStatusSchema, y as storefrontPointPolicySchema, yt as storefrontCollectionListQuerySchema, z as consentKindSchema, zt as tokenPairSchema } from "./client-DJjcGd_M.mjs";
4
4
  import { $ as customInputViewSchema, A as retryPaymentRequestSchema, B as couponBenefitViewSchema, C as paymentOptionSchema, D as remoteAreaSchema, E as pgProviderSchema, F as applicableCouponSchema, G as storefrontCouponListQuerySchema, H as myCouponListQuerySchema, I as checkoutPricingRequestSchema, J as addonGroupViewSchema, K as storefrontCouponSchema, L as checkoutPricingSchema, M as startPaymentRequestSchema, N as MAX_COUPONS_PER_CHECKOUT, O as residentNumberLike, P as MIN_PAYMENT_AMOUNT, Q as customInputValueViewSchema, R as couponApplicationListSchema, S as paymentOptionListSchema, T as paymentStatusSchema, U as myCouponSchema, V as couponResultSchema, W as pricingAmountsSchema, X as customInputEntrySchema, Y as addonSelectionSchema, Z as customInputLength, _ as guestInfoSchema, a as availablePaymentOptionSchema, at as parseCustomInputValue, b as paymentMethodSchema, c as cashReceiptRequestSchema, ct as stayViewSchema, d as checkoutSessionSchema, dt as pickupLocationViewSchema, et as lineSelectionRequestShape, f as createCheckoutRequestSchema, ft as productCardFulfillmentSchema, g as easyPayProviderSchema, h as easyPayProviderResponseSchema, i as PAYMENT_STATUS_VALUES, it as orderInputUploadRequestSchema, j as shippingAddressInputSchema, k as responsePaymentMethodSchema, l as cashReceiptTypeSchema, lt as lineFulfillmentSchema, m as deliveryQuoteSchema, n as PAYMENT_RESULT_VALUES, nt as normalizeCustomInputValue, o as cashReceiptAvailable, ot as calendarDayViewSchema, p as deliveryQuoteRequestSchema, pt as productFulfillmentViewSchema, q as storefrontCouponTargetSchema, r as PAYMENT_START_STATUS_VALUES, rt as optionSelectionViewSchema, s as cashReceiptIdentityTypeOf, st as stayRequestSchema, t as CASH_RECEIPT_METHODS, tt as lineSelectionResponseShape, u as checkoutDeliverySchema, ut as myOrderItemFulfillmentSnapshotSchema, v as paymentFailureCategorySchema, w as paymentStartSchema, x as paymentOptionKey, y as paymentMessageSchema, z as couponApplicationSchema } from "./checkout-BjJ4Efbn.mjs";
5
5
  //#region src/session.ts
6
6
  /** 세션 키 상수 — SDK가 소유한다. store-sdk와 겹치지 않는 별도 네임스페이스. */
@@ -125,4 +125,4 @@ function createStorefrontSession(options) {
125
125
  };
126
126
  }
127
127
  //#endregion
128
- export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, ApiError, CASH_RECEIPT_METHODS, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, PAYMENT_RESULT_VALUES, PAYMENT_START_STATUS_VALUES, PAYMENT_STATUS_VALUES, STOREFRONT_SESSION_KEYS, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, calendarDayViewSchema, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, commerceNumberField, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, flowActionRequestSchema, flowActionResultSchema, flowActionSchema, flowFieldValueSchema, flowInputFieldSchema, flowStateSchema, formatOrderNo, guestFlowActionRequestSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberPointEntryPageSchema, memberPointEntrySchema, memberPointsSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderInputUploadRequestSchema, orderItemStatusSchema, orderShippingAddressSchema, pageInfoSchema, pageSchema, parseCustomInputValue, parseOrderNo, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pickupLocationViewSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, responsePaymentMethodSchema, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, stayRequestSchema, stayViewSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontCouponListQuerySchema, storefrontCouponSchema, storefrontCouponTargetSchema, storefrontPointPolicySchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
128
+ export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, ApiError, CASH_RECEIPT_METHODS, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, ORDER_STEP_TYPES, PAYMENT_RESULT_VALUES, PAYMENT_START_STATUS_VALUES, PAYMENT_STATUS_VALUES, STOREFRONT_SESSION_KEYS, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, calendarDayViewSchema, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, commerceNumberField, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, flowActionRequestSchema, flowActionResultSchema, flowActionSchema, flowFieldValueSchema, flowInputFieldSchema, flowStateSchema, formatOrderNo, guestFlowActionRequestSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberPointEntryPageSchema, memberPointEntrySchema, memberPointsSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderFlowActionResultSchema, orderInputUploadRequestSchema, orderItemStatusSchema, orderShippingAddressSchema, orderStepSchema, pageInfoSchema, pageSchema, parseCustomInputValue, parseOrderNo, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pickupLocationViewSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, responsePaymentMethodSchema, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, stayRequestSchema, stayViewSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontCouponListQuerySchema, storefrontCouponSchema, storefrontCouponTargetSchema, storefrontPointPolicySchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
@@ -1,4 +1,4 @@
1
- import { Et as createStorefrontClient, Hr as PaymentOption, Mr as GuestInfo, Ur as PaymentStart, Wr as PaymentStatus, Xr as StartPaymentRequest, Yr as ShippingAddressInput, wr as CashReceiptRequest } from "../index-Bv49jTFH.mjs";
1
+ import { Jr as PaymentStart, Lr as GuestInfo, Yr as PaymentStatus, ei as ShippingAddressInput, ft as createStorefrontClient, kr as CashReceiptRequest, qr as PaymentOption, ti as StartPaymentRequest } from "../index-BVJvoppI.mjs";
2
2
  //#region src/payments/index.d.ts
3
3
  /**
4
4
  * 스토어프론트 결제 — 브라우저 전용(`@sayren/storefront-sdk/payments`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sayren/storefront-sdk",
3
- "version": "0.20.8",
3
+ "version": "0.20.10",
4
4
  "main": "./dist/index.mjs",
5
5
  "types": "./dist/index.d.mts",
6
6
  "exports": {
package/src/client.ts CHANGED
@@ -61,6 +61,7 @@ import {
61
61
  flowActionRequestSchema,
62
62
  flowActionResultSchema,
63
63
  guestFlowActionRequestSchema,
64
+ orderFlowActionResultSchema,
64
65
  } from "./schemas/commerce-flow";
65
66
  import {
66
67
  type ClaimStatus,
@@ -104,6 +105,10 @@ import {
104
105
  memberPointsSchema,
105
106
  storefrontPointPolicySchema,
106
107
  } from "./schemas/points";
108
+ import {
109
+ type OrderInputUploadRequest,
110
+ orderInputUploadRequestSchema,
111
+ } from "./schemas/product-options";
107
112
  import {
108
113
  type CreateReviewRequest,
109
114
  createReviewRequestSchema,
@@ -336,6 +341,15 @@ export function createStorefrontClient(options: StorefrontClientOptions) {
336
341
  }),
337
342
  removeItem: (cartItemId: string) =>
338
343
  http.requestVoid("DELETE", path`/cart/items/${cartItemId}`),
344
+ /**
345
+ * 직접 입력 이미지(`type: "image"`) 업로드 자리 — 응답 `uploadUrl`에 파일을 PUT한 뒤 `url`을 담기·바로 구매의
346
+ * `customInputs` 값에 넣는다(여러 장이면 줄바꿈으로 잇는다). 비회원도 부를 수 있다.
347
+ * 형식·크기가 맞지 않으면 400 `UNSUPPORTED_FILE_TYPE`·413 `FILE_TOO_LARGE`, 연타하면 429 `TOO_MANY_REQUESTS`다
348
+ */
349
+ createInputImageUpload: (body: OrderInputUploadRequest) =>
350
+ http.request("POST", "/uploads/order-inputs", uploadTicketSchema, {
351
+ body: orderInputUploadRequestSchema.parse(body),
352
+ }),
339
353
  },
340
354
 
341
355
  checkout: {
@@ -452,6 +466,31 @@ export function createStorefrontClient(options: StorefrontClientOptions) {
452
466
  flowActionResultSchema,
453
467
  { body: guestFlowActionRequestSchema.parse(body) },
454
468
  ),
469
+ /**
470
+ * `POST /me/orders/{id}/actions/{key}` — 주문 전체 행동(#115, 예: 주문 전체 취소). 그 행동이 켜진 주문상품마다 실행하고 결과를
471
+ * 주문상품별로 준다(부분 실행). 켜진 주문상품이 하나도 없으면 409 `ACTION_NOT_AVAILABLE`
472
+ */
473
+ actOnOrder: (orderId: string, key: string, input: Record<string, unknown> = {}) =>
474
+ http.request(
475
+ "POST",
476
+ path`/me/orders/${orderId}/actions/${key}`,
477
+ orderFlowActionResultSchema,
478
+ {
479
+ body: flowActionRequestSchema.parse({ input }),
480
+ },
481
+ ),
482
+ /** 비회원 주문 전체 행동 — 비회원 주문 조회와 같은 확인·시도 한도 */
483
+ guestActOnOrder: (
484
+ orderId: string,
485
+ key: string,
486
+ body: { phone: string; orderPassword: string; input?: Record<string, unknown> },
487
+ ) =>
488
+ http.request(
489
+ "POST",
490
+ path`/guest/orders/${orderId}/actions/${key}`,
491
+ orderFlowActionResultSchema,
492
+ { body: guestFlowActionRequestSchema.parse(body) },
493
+ ),
455
494
  },
456
495
 
457
496
  myClaims: {
@@ -8,9 +8,14 @@ import { orderItemStatusSchema } from "./common";
8
8
 
9
9
  export const flowInputFieldSchema = z.object({
10
10
  key: z.string(),
11
- type: z.string().describe("text · number · select · date · datetime · image (늘어날 수 있다)"),
11
+ type: z
12
+ .string()
13
+ .describe(
14
+ "text · textarea · number · select · radio · checkbox · boolean · date · datetime · image (늘어날 수 있다). 값: checkbox는 고른 선택지 배열, boolean은 참거짓(필수면 true), date는 `YYYY-MM-DD`, datetime은 오프셋 있는 ISO 8601, image는 https 주소 배열",
15
+ ),
12
16
  required: z.boolean(),
13
17
  label: z.string(),
18
+ placeholder: z.string().optional().describe("입력 안내"),
14
19
  maxLength: z.number().int().optional(),
15
20
  maxFiles: z.number().int().optional(),
16
21
  options: z.array(z.union([z.string(), z.number()])).optional(),
@@ -56,11 +61,73 @@ export const flowStateSchema = z.object({
56
61
  .array(z.string())
57
62
  .optional()
58
63
  .describe("가장 최근 행동이 붙인 첨부 주소(시안 등, #115). 없으면 생략"),
64
+ inputs: z
65
+ .object({
66
+ by: z.string().describe("적은 사람 — seller · buyer"),
67
+ values: z.array(
68
+ z.object({
69
+ key: z.string(),
70
+ label: z.string(),
71
+ type: z.string(),
72
+ value: z.union([z.string(), z.number(), z.boolean(), z.array(z.string())]),
73
+ }),
74
+ ),
75
+ })
76
+ .optional()
77
+ .describe("이 상태로 오게 한 행동의 입력값(수정 내용 등, #115). 없으면 생략"),
59
78
  progress: z.boolean().optional(),
60
79
  fields: z.record(z.string(), flowFieldValueSchema).describe("구매자 공개 범위의 커스텀 필드"),
61
80
  });
62
81
  export type FlowState = z.infer<typeof flowStateSchema>;
63
82
 
83
+ /**
84
+ * 주문상품의 지금 단계(#115) — 구매자 화면이 흐름 구조를 몰라도 그릴 수 있게 서버가 정리한 값이다. `type`으로 화면 모양을 고르고,
85
+ * `actions`(입력 칸 포함)로 버튼·폼을 그린다. 판정은 서버다.
86
+ */
87
+ export const ORDER_STEP_TYPES = [
88
+ "BUYER_ACTION",
89
+ "SELLER_PROCESSING",
90
+ "IN_DELIVERY",
91
+ "DELIVERED",
92
+ "COMPLETED",
93
+ "CANCELED",
94
+ "CLAIM_IN_PROGRESS",
95
+ ] as const;
96
+
97
+ export const orderStepSchema = z.object({
98
+ type: z
99
+ .string()
100
+ .describe(
101
+ "BUYER_ACTION 구매자 확인·입력 필요 · SELLER_PROCESSING 판매자 처리 중 · IN_DELIVERY 배송 중 · DELIVERED 배송·제공 완료 · " +
102
+ "COMPLETED 구매확정 · CANCELED 취소 · CLAIM_IN_PROGRESS 취소·반품·교환 처리 중. 값이 늘어날 수 있다(모르는 값은 SELLER_PROCESSING처럼 보인다)",
103
+ ),
104
+ label: z.string().describe("지금 상태 이름(구매자용)"),
105
+ message: z.string().optional().describe("판매자가 둔 안내문"),
106
+ deadlineAt: z.string().optional().describe("가장 가까운 기한(ISO 8601)"),
107
+ attachments: z.array(z.string()).optional().describe("판매자가 올린 자료(시안 등)"),
108
+ inputs: flowStateSchema.shape.inputs,
109
+ actions: z
110
+ .array(flowActionSchema)
111
+ .describe(
112
+ "이 단계에서 구매자가 할 행동(입력 칸 포함). `BUYER_ACTION`이면 하나 이상이다. 취소·반품 요청·구매확정은 `actions`(주문상품)에 있다",
113
+ ),
114
+ data: z
115
+ .object({
116
+ delivery: z
117
+ .object({
118
+ carrierName: z.string().nullable(),
119
+ trackingNumber: z.string().nullable(),
120
+ trackingUrl: z.string().nullable(),
121
+ dispatchedAt: z.string(),
122
+ })
123
+ .optional()
124
+ .describe("`IN_DELIVERY` — 발송 정보"),
125
+ })
126
+ .optional()
127
+ .describe("단계별 부가 정보. 없으면 생략"),
128
+ });
129
+ export type OrderStep = z.infer<typeof orderStepSchema>;
130
+
64
131
  export const flowActionRequestSchema = z.object({
65
132
  input: z.record(z.string(), z.unknown()).optional(),
66
133
  });
@@ -86,3 +153,30 @@ export const flowActionResultSchema = z.object({
86
153
  ),
87
154
  });
88
155
  export type FlowActionResult = z.infer<typeof flowActionResultSchema>;
156
+
157
+ /**
158
+ * 주문 전체 행동 결과(#115) — 같은 행동을 주문의 주문상품마다 실행한다. 한 주문상품의 실패가 다른 주문상품을 되돌리지 않는다(부분 실행).
159
+ * 묶음 진행이면 한 번 실행이 묶음의 주문상품을 함께 움직인다(COMPLETED로 함께 나온다). 그 행동이 없는 주문상품은 SKIPPED다
160
+ */
161
+ export const orderFlowActionResultSchema = z.object({
162
+ orderId: z.string(),
163
+ key: z.string(),
164
+ results: z.array(
165
+ z.object({
166
+ orderItemId: z.string(),
167
+ status: z
168
+ .enum(["COMPLETED", "SKIPPED", "FAILED"])
169
+ .describe(
170
+ "COMPLETED 실행 · SKIPPED 이 주문상품에는 그 행동이 없다 · FAILED 실행하다 거절됐다",
171
+ ),
172
+ reason: z
173
+ .string()
174
+ .optional()
175
+ .describe(
176
+ "SKIPPED·FAILED의 이유 — 꺼진 이유(EXPIRED·CONDITION·NOT_IN_STATE) 또는 오류 코드",
177
+ ),
178
+ message: z.string().optional(),
179
+ }),
180
+ ),
181
+ });
182
+ export type OrderFlowActionResult = z.infer<typeof orderFlowActionResultSchema>;
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { easyPayProviderResponseSchema, responsePaymentMethodSchema } from "./checkout";
3
- import { flowActionSchema, flowStateSchema } from "./commerce-flow";
3
+ import { flowActionSchema, flowStateSchema, orderStepSchema } from "./commerce-flow";
4
4
  import { commerceNumberField } from "./commerce-number";
5
5
  import { orderItemStatusSchema } from "./common";
6
6
  import { myOrderItemFulfillmentSnapshotSchema } from "./fulfillment";
@@ -78,6 +78,17 @@ export const myOrderItemSchema = z.object({
78
78
  .describe(
79
79
  "지금 할 수 있는 행동. 화면은 이 목록으로 버튼을 그린다(상태 이름으로 분기하지 않는다)",
80
80
  ),
81
+ flowBranches: z
82
+ .array(flowStateSchema)
83
+ .optional()
84
+ .describe(
85
+ "진행 위치가 둘 이상(병렬 진행·하위 흐름)이면 각 위치의 상태. `flowState`는 그 가운데 가장 앞 단계다",
86
+ ),
87
+ step: orderStepSchema
88
+ .optional()
89
+ .describe(
90
+ "지금 단계 요약(#115) — `type`으로 화면을 고르고 `actions`의 입력 칸으로 폼을 그린다. 플로우가 없는 주문상품은 없다",
91
+ ),
81
92
  });
82
93
 
83
94
  export type MyOrderItem = z.infer<typeof myOrderItemSchema>;
@@ -103,6 +114,11 @@ export type OrderShippingAddress = z.infer<typeof orderShippingAddressSchema>;
103
114
 
104
115
  export const myOrderSchema = z.object({
105
116
  orderId: z.string(),
117
+ progressStatus: orderItemStatusSchema
118
+ .optional()
119
+ .describe(
120
+ "진행 중 주문상품 가운데 가장 앞 단계(취소 제외, 모두 취소면 CANCELED, #115). 섞인 주문에서 아직 기다리는 단계다. 서버는 항상 싣는다",
121
+ ),
106
122
  orderNo: commerceNumberField(
107
123
  "주문번호(이슈 #107) — 숫자 14자리, 생성 후 바뀌지 않습니다. 구매자 화면에는 `formatOrderNo`(4자리 하이픈)로 표시하십시오. 비회원 주문 조회 경로에도 쓸 수 있습니다",
108
124
  ),