@sayren/storefront-sdk 0.20.15 → 0.20.17

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.
@@ -1,4 +1,4 @@
1
- import { Ut as ApiError, t as createStorefrontClient } from "../client-ZwNr8sU-.mjs";
1
+ import { Ut as ApiError, t as createStorefrontClient } from "../client-CQpUWTzR.mjs";
2
2
  //#region src/auth/index.ts
3
3
  /** 소셜 로그인 실패 — 구매자가 취소했거나(`access_denied`) state가 맞지 않는다 */
4
4
  var IdpCallbackError = class extends Error {
@@ -525,10 +525,15 @@ const paymentOptionListSchema = z.preprocess((value) => Array.isArray(value) ? v
525
525
  function paymentOptionKey(option) {
526
526
  return option.method === "EASY_PAY" ? `${option.pg}:EASY_PAY:${option.provider}` : `${option.pg}:${option.method}`;
527
527
  }
528
+ /**
529
+ * 배송·주문 연락처 — 휴대폰(010 등), 050 안심번호(0503~0508), 070, 지역번호 일반 전화. 숫자만 받는다(하이픈 없이).
530
+ * 회원 가입의 휴대폰(`auth.ts`)은 본인 확인용이라 휴대폰만 받는다
531
+ */
532
+ const CONTACT_PHONE_PATTERN = /^(?:01[0-9]{8,9}|050[0-9]{8,9}|070[0-9]{8}|02[0-9]{7,8}|0[3-6][1-5][0-9]{7,8})$/;
528
533
  const shippingAddressInputSchema = z.object({
529
534
  addressId: z.string().optional(),
530
535
  receiverName: z.string().min(1, "수령인명을 입력해주십시오").max(50),
531
- phone: z.string().regex(/^01[0-9]{8,9}$/, "연락처 형식이 아닙니다 (예: 01012345678)"),
536
+ phone: z.string().regex(CONTACT_PHONE_PATTERN, "연락처 형식이 아닙니다 (예: 01012345678, 050712345678)"),
532
537
  zipCode: z.string().regex(/^[0-9]{5}$/, "우편번호는 5자리 숫자입니다"),
533
538
  address1: z.string().min(1, "기본 주소를 입력해주십시오"),
534
539
  address2: z.string().optional(),
@@ -537,7 +542,7 @@ const shippingAddressInputSchema = z.object({
537
542
  });
538
543
  const guestInfoSchema = z.object({
539
544
  name: z.string().min(1),
540
- phone: z.string().regex(/^01[0-9]{8,9}$/),
545
+ phone: z.string().regex(CONTACT_PHONE_PATTERN),
541
546
  email: z.email(),
542
547
  orderPassword: z.string().min(6, "주문 조회 비밀번호는 6자 이상이어야 합니다").max(128, "주문 조회 비밀번호는 128자까지입니다")
543
548
  });
@@ -710,4 +715,4 @@ const paymentMessageSchema = z.object({
710
715
  orderId: z.string().optional()
711
716
  });
712
717
  //#endregion
713
- export { customInputViewSchema as $, retryPaymentRequestSchema as A, couponBenefitViewSchema as B, paymentOptionSchema as C, remoteAreaSchema as D, pgProviderSchema as E, applicableCouponSchema as F, storefrontCouponListQuerySchema as G, myCouponListQuerySchema as H, checkoutPricingRequestSchema as I, addonGroupViewSchema as J, storefrontCouponSchema as K, checkoutPricingSchema as L, startPaymentRequestSchema as M, MAX_COUPONS_PER_CHECKOUT as N, residentNumberLike as O, MIN_PAYMENT_AMOUNT as P, customInputValueViewSchema as Q, couponApplicationListSchema as R, paymentOptionListSchema as S, paymentStatusSchema as T, myCouponSchema as U, couponResultSchema as V, pricingAmountsSchema as W, customInputEntrySchema as X, addonSelectionSchema as Y, customInputLength as Z, guestInfoSchema as _, availablePaymentOptionSchema as a, parseCustomInputValue as at, paymentMethodSchema as b, cashReceiptRequestSchema as c, stayViewSchema as ct, checkoutSessionSchema as d, pickupLocationViewSchema as dt, lineSelectionRequestShape as et, createCheckoutRequestSchema as f, productCardFulfillmentSchema as ft, easyPayProviderSchema as g, easyPayProviderResponseSchema as h, PAYMENT_STATUS_VALUES as i, orderInputUploadRequestSchema as it, shippingAddressInputSchema as j, responsePaymentMethodSchema as k, cashReceiptTypeSchema as l, lineFulfillmentSchema as lt, deliveryQuoteSchema as m, PAYMENT_RESULT_VALUES as n, normalizeCustomInputValue as nt, cashReceiptAvailable as o, calendarDayViewSchema as ot, deliveryQuoteRequestSchema as p, productFulfillmentViewSchema as pt, storefrontCouponTargetSchema as q, PAYMENT_START_STATUS_VALUES as r, optionSelectionViewSchema as rt, cashReceiptIdentityTypeOf as s, stayRequestSchema as st, CASH_RECEIPT_METHODS as t, lineSelectionResponseShape as tt, checkoutDeliverySchema as u, myOrderItemFulfillmentSnapshotSchema as ut, paymentFailureCategorySchema as v, paymentStartSchema as w, paymentOptionKey as x, paymentMessageSchema as y, couponApplicationSchema as z };
718
+ export { customInputValueViewSchema as $, responsePaymentMethodSchema as A, couponApplicationSchema as B, paymentOptionListSchema as C, pgProviderSchema as D, paymentStatusSchema as E, MIN_PAYMENT_AMOUNT as F, pricingAmountsSchema as G, couponResultSchema as H, applicableCouponSchema as I, storefrontCouponTargetSchema as J, storefrontCouponListQuerySchema as K, checkoutPricingRequestSchema as L, shippingAddressInputSchema as M, startPaymentRequestSchema as N, remoteAreaSchema as O, MAX_COUPONS_PER_CHECKOUT as P, customInputLength as Q, checkoutPricingSchema as R, paymentOptionKey as S, paymentStartSchema as T, myCouponListQuerySchema as U, couponBenefitViewSchema as V, myCouponSchema as W, addonSelectionSchema as X, addonGroupViewSchema as Y, customInputEntrySchema as Z, easyPayProviderSchema as _, PAYMENT_STATUS_VALUES as a, orderInputUploadRequestSchema as at, paymentMessageSchema as b, cashReceiptIdentityTypeOf as c, stayRequestSchema as ct, checkoutDeliverySchema as d, myOrderItemFulfillmentSnapshotSchema as dt, customInputViewSchema as et, checkoutSessionSchema as f, pickupLocationViewSchema as ft, easyPayProviderResponseSchema as g, deliveryQuoteSchema as h, PAYMENT_START_STATUS_VALUES as i, optionSelectionViewSchema as it, retryPaymentRequestSchema as j, residentNumberLike as k, cashReceiptRequestSchema as l, stayViewSchema as lt, deliveryQuoteRequestSchema as m, productFulfillmentViewSchema as mt, CONTACT_PHONE_PATTERN as n, lineSelectionResponseShape as nt, availablePaymentOptionSchema as o, parseCustomInputValue as ot, createCheckoutRequestSchema as p, productCardFulfillmentSchema as pt, storefrontCouponSchema as q, PAYMENT_RESULT_VALUES as r, normalizeCustomInputValue as rt, cashReceiptAvailable as s, calendarDayViewSchema as st, CASH_RECEIPT_METHODS as t, lineSelectionRequestShape as tt, cashReceiptTypeSchema as u, lineFulfillmentSchema as ut, guestInfoSchema as v, paymentOptionSchema as w, paymentMethodSchema as x, paymentFailureCategorySchema as y, couponApplicationListSchema as z };
@@ -1,5 +1,5 @@
1
1
  import { a as ANALYTICS_VISITOR_HEADER, r as ANALYTICS_SESSION_HEADER } from "./analytics-CgD70OqH.mjs";
2
- import { $ as customInputViewSchema, A as retryPaymentRequestSchema, F as applicableCouponSchema, I as checkoutPricingRequestSchema, J as addonGroupViewSchema, K as storefrontCouponSchema, L as checkoutPricingSchema, M as startPaymentRequestSchema, T as paymentStatusSchema, U as myCouponSchema, d as checkoutSessionSchema, dt as pickupLocationViewSchema, et as lineSelectionRequestShape, f as createCheckoutRequestSchema, ft as productCardFulfillmentSchema, h as easyPayProviderResponseSchema, it as orderInputUploadRequestSchema, k as responsePaymentMethodSchema, lt as lineFulfillmentSchema, m as deliveryQuoteSchema, ot as calendarDayViewSchema, p as deliveryQuoteRequestSchema, pt as productFulfillmentViewSchema, tt as lineSelectionResponseShape, ut as myOrderItemFulfillmentSnapshotSchema, w as paymentStartSchema } from "./checkout-BjJ4Efbn.mjs";
2
+ import { A as responsePaymentMethodSchema, E as paymentStatusSchema, I as applicableCouponSchema, L as checkoutPricingRequestSchema, N as startPaymentRequestSchema, R as checkoutPricingSchema, T as paymentStartSchema, W as myCouponSchema, Y as addonGroupViewSchema, at as orderInputUploadRequestSchema, dt as myOrderItemFulfillmentSnapshotSchema, et as customInputViewSchema, f as checkoutSessionSchema, ft as pickupLocationViewSchema, g as easyPayProviderResponseSchema, h as deliveryQuoteSchema, j as retryPaymentRequestSchema, m as deliveryQuoteRequestSchema, mt as productFulfillmentViewSchema, nt as lineSelectionResponseShape, p as createCheckoutRequestSchema, pt as productCardFulfillmentSchema, q as storefrontCouponSchema, st as calendarDayViewSchema, tt as lineSelectionRequestShape, ut as lineFulfillmentSchema } from "./checkout-CmFcG8TT.mjs";
3
3
  import { z } from "zod";
4
4
  //#region src/http.ts
5
5
  /** 표준 엔벨로프의 $.error 상세 */
@@ -876,6 +876,7 @@ const myOrderItemSchema = z.object({
876
876
  }).nullable().optional().default(null).describe("배송 없는 상품의 제공 기록(이슈 #48). 제공 전이거나 배송 상품이면 null이다. 배송 없는 상품의 `DELIVERED`는 제공 완료로 표시한다. 서버는 항상 싣는다"),
877
877
  claimStatus: z.string().nullable(),
878
878
  reviewWritten: z.boolean(),
879
+ reviewWritable: z.boolean().optional().describe("지금 리뷰를 쓸 수 있는가 — 구매확정·미작성·작성 기한 안이고, 테스트 결제 주문이면 상점이 테스트 주문 리뷰를 허용했을 때만 true. 비회원 주문은 false. 서버는 항상 싣는다"),
879
880
  autoDecisionDate: z.string().nullable(),
880
881
  flowState: flowStateSchema.optional().describe("주문 플로우의 지금 상태(이슈 #115). 플로우가 없는 주문상품은 없다"),
881
882
  actions: z.array(flowActionSchema).optional().describe("지금 할 수 있는 행동. 화면은 이 목록으로 버튼을 그린다(상태 이름으로 분기하지 않는다)"),
@@ -938,6 +938,11 @@ declare const paymentOptionListSchema: z.ZodPreprocess<z.ZodArray<z.ZodIntersect
938
938
  }, z.core.$strip>>>, unknown>;
939
939
  /** 결제 옵션을 화면 키로 — 라디오 value·React key. 예: `tosspayments:CARD`, `portone:EASY_PAY:NAVERPAY` */
940
940
  declare function paymentOptionKey(option: PaymentOption): string;
941
+ /**
942
+ * 배송·주문 연락처 — 휴대폰(010 등), 050 안심번호(0503~0508), 070, 지역번호 일반 전화. 숫자만 받는다(하이픈 없이).
943
+ * 회원 가입의 휴대폰(`auth.ts`)은 본인 확인용이라 휴대폰만 받는다
944
+ */
945
+ declare const CONTACT_PHONE_PATTERN: RegExp;
941
946
  declare const shippingAddressInputSchema: z.ZodObject<{
942
947
  addressId: z.ZodOptional<z.ZodString>;
943
948
  receiverName: z.ZodString;
@@ -3140,6 +3145,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
3140
3145
  productName: string;
3141
3146
  thumbnailUrl: string | null;
3142
3147
  optionName: string | null;
3148
+ reviewWritable?: boolean | undefined;
3143
3149
  flowState?: {
3144
3150
  key: string;
3145
3151
  label: string;
@@ -3377,6 +3383,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
3377
3383
  productName: string;
3378
3384
  thumbnailUrl: string | null;
3379
3385
  optionName: string | null;
3386
+ reviewWritable?: boolean | undefined;
3380
3387
  flowState?: {
3381
3388
  key: string;
3382
3389
  label: string;
@@ -3625,6 +3632,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
3625
3632
  productName: string;
3626
3633
  thumbnailUrl: string | null;
3627
3634
  optionName: string | null;
3635
+ reviewWritable?: boolean | undefined;
3628
3636
  flowState?: {
3629
3637
  key: string;
3630
3638
  label: string;
@@ -4809,6 +4817,7 @@ declare const myOrderItemSchema: z.ZodObject<{
4809
4817
  }, z.core.$strip>>>>;
4810
4818
  claimStatus: z.ZodNullable<z.ZodString>;
4811
4819
  reviewWritten: z.ZodBoolean;
4820
+ reviewWritable: z.ZodOptional<z.ZodBoolean>;
4812
4821
  autoDecisionDate: z.ZodNullable<z.ZodString>;
4813
4822
  flowState: z.ZodOptional<z.ZodObject<{
4814
4823
  key: z.ZodString;
@@ -5085,6 +5094,7 @@ declare const myOrderSchema: z.ZodObject<{
5085
5094
  }, z.core.$strip>>>>;
5086
5095
  claimStatus: z.ZodNullable<z.ZodString>;
5087
5096
  reviewWritten: z.ZodBoolean;
5097
+ reviewWritable: z.ZodOptional<z.ZodBoolean>;
5088
5098
  autoDecisionDate: z.ZodNullable<z.ZodString>;
5089
5099
  flowState: z.ZodOptional<z.ZodObject<{
5090
5100
  key: z.ZodString;
@@ -5464,4 +5474,4 @@ declare const storefrontStoreSchema: z.ZodObject<{
5464
5474
  }, z.core.$strip>;
5465
5475
  type StorefrontStore = z.infer<typeof storefrontStoreSchema>;
5466
5476
  //#endregion
5467
- export { ANALYTICS_VISITOR_HEADER as $, storefrontCollectionDetailSchema as $i, storefrontCouponListQuerySchema as $n, RemoteArea as $r, customInputEntrySchema as $t, FlowAction as A, shippingAddressInputSchema as Ai, createCustomerInquiryRequestSchema as An, CashReceiptIdentityType as Ar, WritableReview as At, flowActionRequestSchema as B, ProductSearchParams as Bi, MyCoupon as Bn, KnownPaymentResult as Br, updateReviewRequestSchema as Bt, myOrderSchema as C, CartItem as Ca, paymentStartSchema as Ci, createInquiryRequestSchema as Cn, claimReturnAddressSchema as Cr, PublicReview as Ct, commerceNumberField as D, cartSchema as Da, residentNumberLike as Di, CreateCustomerInquiryRequest as Dn, myClaimSchema as Dr, UpdateReviewRequest as Dt, trackingStageResponseSchema as E, cartItemSchema as Ea, remoteAreaSchema as Ei, publicInquirySchema as En, createClaimResultSchema as Er, ReviewSummary as Et, FlowState as F, CollectionProductSortParam as Fi, CheckoutPricingRequest as Fn, CreateCheckoutRequest as Fr, productReviewSortSchema as Ft, flowStateSchema as G, collectionProductPageSchema as Gi, checkoutPricingSchema as Gn, PAYMENT_STATUS_VALUES as Gr, AddonSelection as Gt, flowActionSchema as H, StorefrontCollection as Hi, StorefrontCouponListParams as Hn, KnownPaymentStatus as Hr, uploadTicketSchema as Ht, GuestFlowActionRequest as I, ProductCard as Ii, CouponApplication as In, DeliveryQuoteRequest as Ir, publicReviewSchema as It, orderStepSchema as J, productCardSchema as Ji, couponBenefitViewSchema as Jn, PaymentMethod as Jr, CustomInputView as Jt, guestFlowActionRequestSchema as K, collectionProductQuerySchema as Ki, couponApplicationListSchema as Kn, PaymentFailureCategory as Kr, CustomInputEntry as Kt, ORDER_STEP_TYPES as L, ProductDetail as Li, CouponResult as Ln, DeliveryQuoteResult as Lr, reviewImageUploadRequestSchema as Lt, FlowActionResult as M, CategoryNode as Mi, customerInquirySchema as Mn, CashReceiptType as Mr, createReviewResultSchema as Mt, FlowFieldValue as N, CollectionProductPage as Ni, ApplicableCoupon as Nn, CheckoutDelivery as Nr, myReviewSchema as Nt, formatOrderNo as O, updateCartItemRequestSchema as Oa, responsePaymentMethodSchema as Oi, CustomerInquiry as On, AvailablePaymentOption as Or, UpdateReviewResult as Ot, FlowInputField as P, CollectionProductParams as Pi, CheckoutPricing as Pn, CheckoutSession as Pr, productReviewQuerySchema as Pt, ANALYTICS_VISITOR_COOKIE as Q, productSortSchema as Qi, pricingAmountsSchema as Qn, PgProvider as Qr, addonSelectionSchema as Qt, OrderFlowActionResult as R, ProductFacets as Ri, MAX_COUPONS_PER_CHECKOUT as Rn, EasyPayProvider as Rr, reviewPageSchema as Rt, myOrderItemSchema as S, Cart as Sa, paymentOptionSchema as Si, PublicInquiry as Sn, claimReasonSchema as Sr, ProductReviewSort as St, purchaseDecisionResultSchema as T, addCartItemRequestSchema as Ta, pgProviderSchema as Ti, productInquiryCategorySchema as Tn, createClaimRequestSchema as Tr, ReviewPage as Tt, flowFieldValueSchema as U, StorefrontCollectionDetail as Ui, applicableCouponSchema as Un, PAYMENT_RESULT_VALUES as Ur, writableReviewSchema as Ut, flowActionResultSchema as V, ProductSort as Vi, StorefrontCoupon as Vn, KnownPaymentStartStatus as Vr, updateReviewResultSchema as Vt, flowInputFieldSchema as W, categoryNodeSchema as Wi, checkoutPricingRequestSchema as Wn, PAYMENT_START_STATUS_VALUES as Wr, AddonGroupView as Wt, ANALYTICS_SESSION_COOKIE as X, productFacetsSchema as Xi, myCouponListQuerySchema as Xn, PaymentStart as Xr, OrderInputUploadRequest as Xt, ANALYTICS_MAX_BATCH_BYTES as Y, productDetailSchema as Yi, couponResultSchema as Yn, PaymentOption as Yr, OptionSelectionView as Yt, ANALYTICS_SESSION_HEADER as Z, productPageSchema as Zi, myCouponSchema as Zn, PaymentStatus as Zr, addonGroupViewSchema as Zt, MyOrder as _, myOrderItemFulfillmentSnapshotSchema as _a, paymentFailureCategorySchema as _i, updateProfileRequestSchema as _n, ClaimType as _r, createStorefrontSession as _t, StayView as a, PageParams as aa, cashReceiptAvailable as ai, normalizeCustomInputValue as an, ConsentState as ar, analyticsBatchSchema as at, PurchaseDecisionResult as b, productFulfillmentViewSchema as ba, paymentOptionKey as bi, CreateInquiryResult as bn, MyClaim as br, MyReview as bt, stayViewSchema as c, pageInfoSchema as ca, cashReceiptTypeSchema as ci, parseCustomInputValue as cn, consentActionSchema as cr, analyticsIdSchema as ct, StorefrontPointPolicy as d, MyOrderItemFulfillmentSnapshot as da, createCheckoutRequestSchema as di, MemberAddressRequest as dn, consentStateSchema as dr, StorefrontClientOptions as dt, storefrontCollectionListQuerySchema as ea, ResponsePaymentMethod as ei, customInputLength as en, storefrontCouponSchema as er, AnalyticsBatch as et, memberPointEntryPageSchema as f, PickupLocationView as fa, deliveryQuoteRequestSchema as fi, UpdateProfileRequest as fn, consentUpdateRequestSchema as fr, createStorefrontClient as ft, DeliveryTracking as g, lineFulfillmentSchema as ga, guestInfoSchema as gi, memberSchema as gn, ClaimReturnAddress as gr, StorefrontSessionOptions as gt, storefrontPointPolicySchema as h, UnknownFulfillmentView as ha, easyPayProviderSchema as hi, memberAddressSchema as hn, ClaimReason as hr, StorefrontSession as ht, StayRequest as i, PageInfo as ia, availablePaymentOptionSchema as ii, lineSelectionResponseShape as in, ConsentSource as ir, AnalyticsServerEventName as it, FlowActionRequest as j, startPaymentRequestSchema as ji, customerInquiryCategorySchema as jn, CashReceiptRequest as jr, createReviewRequestSchema as jt, parseOrderNo as k, analyticsIdsFromCookie as ka, retryPaymentRequestSchema as ki, CustomerInquiryCategory as kn, CASH_RECEIPT_METHODS as kr, UploadTicket as kt, MemberPointEntry as l, pageSchema as la, checkoutDeliverySchema as li, Member as ln, consentKindSchema as lr, analyticsServerEventNameSchema as lt, memberPointsSchema as m, ProductFulfillmentView as ma, easyPayProviderResponseSchema as mi, memberAddressRequestSchema as mn, ClaimPreview as mr, SessionStorage as mt, storefrontStoreSchema as n, ClaimStatus as na, ShippingAddressInput as ni, customInputViewSchema as nn, ConsentAction as nr, AnalyticsClientEventName as nt, calendarDayViewSchema as o, claimStatusSchema as oa, cashReceiptIdentityTypeOf as oi, optionSelectionViewSchema as on, ConsentUpdateRequest as or, analyticsClientEventNameSchema as ot, memberPointEntrySchema as p, ProductCardFulfillment as pa, deliveryQuoteSchema as pi, WishlistAddResult as pn, memberConsentsSchema as pr, STOREFRONT_SESSION_KEYS as pt, orderFlowActionResultSchema as q, collectionProductSortSchema as qi, couponApplicationSchema as qn, PaymentMessage as qr, CustomInputValueView as qt, CalendarDayView as r, OrderItemStatus as ra, StartPaymentRequest as ri, lineSelectionRequestShape as rn, ConsentKind as rr, AnalyticsEventName as rt, stayRequestSchema as s, orderItemStatusSchema as sa, cashReceiptRequestSchema as si, orderInputUploadRequestSchema as sn, MemberConsents as sr, analyticsClientEventSchema as st, StorefrontStore as t, storefrontCollectionSchema as ta, RetryPaymentRequest as ti, customInputValueViewSchema as tn, storefrontCouponTargetSchema as tr, AnalyticsClientEvent as tt, MemberPoints as u, LineFulfillment as ua, checkoutSessionSchema as ui, MemberAddress as un, consentSourceSchema as ur, StorefrontClient as ut, MyOrderItem as v, pickupLocationViewSchema as va, paymentMessageSchema as vi, wishlistAddResultSchema as vn, CreateClaimRequest as vr, CreateReviewRequest as vt, orderShippingAddressSchema as w, UpdateCartItemRequest as wa, paymentStatusSchema as wi, createInquiryResultSchema as wn, claimTypeSchema as wr, ReviewImageUploadRequest as wt, deliveryTrackingSchema as x, AddCartItemRequest as xa, paymentOptionListSchema as xi, ProductInquiryCategory as xn, claimPreviewSchema as xr, ProductReviewParams as xt, OrderShippingAddress as y, productCardFulfillmentSchema as ya, paymentMethodSchema as yi, CreateInquiryRequest as yn, CreateClaimResult as yr, CreateReviewResult as yt, OrderStep as z, ProductPage as zi, MIN_PAYMENT_AMOUNT as zn, GuestInfo as zr, reviewSummarySchema as zt };
5477
+ export { ANALYTICS_VISITOR_HEADER as $, productSortSchema as $i, storefrontCouponListQuerySchema as $n, PgProvider as $r, customInputEntrySchema as $t, FlowAction as A, analyticsIdsFromCookie as Aa, retryPaymentRequestSchema as Ai, createCustomerInquiryRequestSchema as An, CONTACT_PHONE_PATTERN as Ar, WritableReview as At, flowActionRequestSchema as B, ProductPage as Bi, MyCoupon as Bn, GuestInfo as Br, updateReviewRequestSchema as Bt, myOrderSchema as C, Cart as Ca, paymentOptionSchema as Ci, createInquiryRequestSchema as Cn, claimReturnAddressSchema as Cr, PublicReview as Ct, commerceNumberField as D, cartItemSchema as Da, remoteAreaSchema as Di, CreateCustomerInquiryRequest as Dn, myClaimSchema as Dr, UpdateReviewRequest as Dt, trackingStageResponseSchema as E, addCartItemRequestSchema as Ea, pgProviderSchema as Ei, publicInquirySchema as En, createClaimResultSchema as Er, ReviewSummary as Et, FlowState as F, CollectionProductParams as Fi, CheckoutPricingRequest as Fn, CheckoutSession as Fr, productReviewSortSchema as Ft, flowStateSchema as G, categoryNodeSchema as Gi, checkoutPricingSchema as Gn, PAYMENT_START_STATUS_VALUES as Gr, AddonSelection as Gt, flowActionSchema as H, ProductSort as Hi, StorefrontCouponListParams as Hn, KnownPaymentStartStatus as Hr, uploadTicketSchema as Ht, GuestFlowActionRequest as I, CollectionProductSortParam as Ii, CouponApplication as In, CreateCheckoutRequest as Ir, publicReviewSchema as It, orderStepSchema as J, collectionProductSortSchema as Ji, couponBenefitViewSchema as Jn, PaymentMessage as Jr, CustomInputView as Jt, guestFlowActionRequestSchema as K, collectionProductPageSchema as Ki, couponApplicationListSchema as Kn, PAYMENT_STATUS_VALUES as Kr, CustomInputEntry as Kt, ORDER_STEP_TYPES as L, ProductCard as Li, CouponResult as Ln, DeliveryQuoteRequest as Lr, reviewImageUploadRequestSchema as Lt, FlowActionResult as M, startPaymentRequestSchema as Mi, customerInquirySchema as Mn, CashReceiptRequest as Mr, createReviewResultSchema as Mt, FlowFieldValue as N, CategoryNode as Ni, ApplicableCoupon as Nn, CashReceiptType as Nr, myReviewSchema as Nt, formatOrderNo as O, cartSchema as Oa, residentNumberLike as Oi, CustomerInquiry as On, AvailablePaymentOption as Or, UpdateReviewResult as Ot, FlowInputField as P, CollectionProductPage as Pi, CheckoutPricing as Pn, CheckoutDelivery as Pr, productReviewQuerySchema as Pt, ANALYTICS_VISITOR_COOKIE as Q, productPageSchema as Qi, pricingAmountsSchema as Qn, PaymentStatus as Qr, addonSelectionSchema as Qt, OrderFlowActionResult as R, ProductDetail as Ri, MAX_COUPONS_PER_CHECKOUT as Rn, DeliveryQuoteResult as Rr, reviewPageSchema as Rt, myOrderItemSchema as S, AddCartItemRequest as Sa, paymentOptionListSchema as Si, PublicInquiry as Sn, claimReasonSchema as Sr, ProductReviewSort as St, purchaseDecisionResultSchema as T, UpdateCartItemRequest as Ta, paymentStatusSchema as Ti, productInquiryCategorySchema as Tn, createClaimRequestSchema as Tr, ReviewPage as Tt, flowFieldValueSchema as U, StorefrontCollection as Ui, applicableCouponSchema as Un, KnownPaymentStatus as Ur, writableReviewSchema as Ut, flowActionResultSchema as V, ProductSearchParams as Vi, StorefrontCoupon as Vn, KnownPaymentResult as Vr, updateReviewResultSchema as Vt, flowInputFieldSchema as W, StorefrontCollectionDetail as Wi, checkoutPricingRequestSchema as Wn, PAYMENT_RESULT_VALUES as Wr, AddonGroupView as Wt, ANALYTICS_SESSION_COOKIE as X, productDetailSchema as Xi, myCouponListQuerySchema as Xn, PaymentOption as Xr, OrderInputUploadRequest as Xt, ANALYTICS_MAX_BATCH_BYTES as Y, productCardSchema as Yi, couponResultSchema as Yn, PaymentMethod as Yr, OptionSelectionView as Yt, ANALYTICS_SESSION_HEADER as Z, productFacetsSchema as Zi, myCouponSchema as Zn, PaymentStart as Zr, addonGroupViewSchema as Zt, MyOrder as _, lineFulfillmentSchema as _a, guestInfoSchema as _i, updateProfileRequestSchema as _n, ClaimType as _r, createStorefrontSession as _t, StayView as a, PageInfo as aa, availablePaymentOptionSchema as ai, normalizeCustomInputValue as an, ConsentState as ar, analyticsBatchSchema as at, PurchaseDecisionResult as b, productCardFulfillmentSchema as ba, paymentMethodSchema as bi, CreateInquiryResult as bn, MyClaim as br, MyReview as bt, stayViewSchema as c, orderItemStatusSchema as ca, cashReceiptRequestSchema as ci, parseCustomInputValue as cn, consentActionSchema as cr, analyticsIdSchema as ct, StorefrontPointPolicy as d, LineFulfillment as da, checkoutSessionSchema as di, MemberAddressRequest as dn, consentStateSchema as dr, StorefrontClientOptions as dt, storefrontCollectionDetailSchema as ea, RemoteArea as ei, customInputLength as en, storefrontCouponSchema as er, AnalyticsBatch as et, memberPointEntryPageSchema as f, MyOrderItemFulfillmentSnapshot as fa, createCheckoutRequestSchema as fi, UpdateProfileRequest as fn, consentUpdateRequestSchema as fr, createStorefrontClient as ft, DeliveryTracking as g, UnknownFulfillmentView as ga, easyPayProviderSchema as gi, memberSchema as gn, ClaimReturnAddress as gr, StorefrontSessionOptions as gt, storefrontPointPolicySchema as h, ProductFulfillmentView as ha, easyPayProviderResponseSchema as hi, memberAddressSchema as hn, ClaimReason as hr, StorefrontSession as ht, StayRequest as i, OrderItemStatus as ia, StartPaymentRequest as ii, lineSelectionResponseShape as in, ConsentSource as ir, AnalyticsServerEventName as it, FlowActionRequest as j, shippingAddressInputSchema as ji, customerInquiryCategorySchema as jn, CashReceiptIdentityType as jr, createReviewRequestSchema as jt, parseOrderNo as k, updateCartItemRequestSchema as ka, responsePaymentMethodSchema as ki, CustomerInquiryCategory as kn, CASH_RECEIPT_METHODS as kr, UploadTicket as kt, MemberPointEntry as l, pageInfoSchema as la, cashReceiptTypeSchema as li, Member as ln, consentKindSchema as lr, analyticsServerEventNameSchema as lt, memberPointsSchema as m, ProductCardFulfillment as ma, deliveryQuoteSchema as mi, memberAddressRequestSchema as mn, ClaimPreview as mr, SessionStorage as mt, storefrontStoreSchema as n, storefrontCollectionSchema as na, RetryPaymentRequest as ni, customInputViewSchema as nn, ConsentAction as nr, AnalyticsClientEventName as nt, calendarDayViewSchema as o, PageParams as oa, cashReceiptAvailable as oi, optionSelectionViewSchema as on, ConsentUpdateRequest as or, analyticsClientEventNameSchema as ot, memberPointEntrySchema as p, PickupLocationView as pa, deliveryQuoteRequestSchema as pi, WishlistAddResult as pn, memberConsentsSchema as pr, STOREFRONT_SESSION_KEYS as pt, orderFlowActionResultSchema as q, collectionProductQuerySchema as qi, couponApplicationSchema as qn, PaymentFailureCategory as qr, CustomInputValueView as qt, CalendarDayView as r, ClaimStatus as ra, ShippingAddressInput as ri, lineSelectionRequestShape as rn, ConsentKind as rr, AnalyticsEventName as rt, stayRequestSchema as s, claimStatusSchema as sa, cashReceiptIdentityTypeOf as si, orderInputUploadRequestSchema as sn, MemberConsents as sr, analyticsClientEventSchema as st, StorefrontStore as t, storefrontCollectionListQuerySchema as ta, ResponsePaymentMethod as ti, customInputValueViewSchema as tn, storefrontCouponTargetSchema as tr, AnalyticsClientEvent as tt, MemberPoints as u, pageSchema as ua, checkoutDeliverySchema as ui, MemberAddress as un, consentSourceSchema as ur, StorefrontClient as ut, MyOrderItem as v, myOrderItemFulfillmentSnapshotSchema as va, paymentFailureCategorySchema as vi, wishlistAddResultSchema as vn, CreateClaimRequest as vr, CreateReviewRequest as vt, orderShippingAddressSchema as w, CartItem as wa, paymentStartSchema as wi, createInquiryResultSchema as wn, claimTypeSchema as wr, ReviewImageUploadRequest as wt, deliveryTrackingSchema as x, productFulfillmentViewSchema as xa, paymentOptionKey as xi, ProductInquiryCategory as xn, claimPreviewSchema as xr, ProductReviewParams as xt, OrderShippingAddress as y, pickupLocationViewSchema as ya, paymentMessageSchema as yi, CreateInquiryRequest as yn, CreateClaimResult as yr, CreateReviewResult as yt, OrderStep as z, ProductFacets as zi, MIN_PAYMENT_AMOUNT as zn, EasyPayProvider as zr, reviewSummarySchema as zt };
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 ANALYTICS_VISITOR_HEADER, $i as storefrontCollectionDetailSchema, $n as storefrontCouponListQuerySchema, $r as RemoteArea, $t as customInputEntrySchema, A as FlowAction, Ai as shippingAddressInputSchema, An as createCustomerInquiryRequestSchema, Ar as CashReceiptIdentityType, At as WritableReview, B as flowActionRequestSchema, Bi as ProductSearchParams, Bn as MyCoupon, Br as KnownPaymentResult, Bt as updateReviewRequestSchema, C as myOrderSchema, Ca as CartItem, Ci as paymentStartSchema, Cn as createInquiryRequestSchema, Cr as claimReturnAddressSchema, Ct as PublicReview, D as commerceNumberField, Da as cartSchema, Di as residentNumberLike, Dn as CreateCustomerInquiryRequest, Dr as myClaimSchema, Dt as UpdateReviewRequest, E as trackingStageResponseSchema, Ea as cartItemSchema, Ei as remoteAreaSchema, En as publicInquirySchema, Er as createClaimResultSchema, Et as ReviewSummary, F as FlowState, Fi as CollectionProductSortParam, Fn as CheckoutPricingRequest, Fr as CreateCheckoutRequest, Ft as productReviewSortSchema, G as flowStateSchema, Gi as collectionProductPageSchema, Gn as checkoutPricingSchema, Gr as PAYMENT_STATUS_VALUES, Gt as AddonSelection, H as flowActionSchema, Hi as StorefrontCollection, Hn as StorefrontCouponListParams, Hr as KnownPaymentStatus, Ht as uploadTicketSchema, I as GuestFlowActionRequest, Ii as ProductCard, In as CouponApplication, Ir as DeliveryQuoteRequest, It as publicReviewSchema, J as orderStepSchema, Ji as productCardSchema, Jn as couponBenefitViewSchema, Jr as PaymentMethod, Jt as CustomInputView, K as guestFlowActionRequestSchema, Ki as collectionProductQuerySchema, Kn as couponApplicationListSchema, Kr as PaymentFailureCategory, Kt as CustomInputEntry, L as ORDER_STEP_TYPES, Li as ProductDetail, Ln as CouponResult, Lr as DeliveryQuoteResult, Lt as reviewImageUploadRequestSchema, M as FlowActionResult, Mi as CategoryNode, Mn as customerInquirySchema, Mr as CashReceiptType, Mt as createReviewResultSchema, N as FlowFieldValue, Ni as CollectionProductPage, Nn as ApplicableCoupon, Nr as CheckoutDelivery, Nt as myReviewSchema, O as formatOrderNo, Oa as updateCartItemRequestSchema, Oi as responsePaymentMethodSchema, On as CustomerInquiry, Or as AvailablePaymentOption, Ot as UpdateReviewResult, P as FlowInputField, Pi as CollectionProductParams, Pn as CheckoutPricing, Pr as CheckoutSession, Pt as productReviewQuerySchema, Q as ANALYTICS_VISITOR_COOKIE, Qi as productSortSchema, Qn as pricingAmountsSchema, Qr as PgProvider, Qt as addonSelectionSchema, R as OrderFlowActionResult, Ri as ProductFacets, Rn as MAX_COUPONS_PER_CHECKOUT, Rr as EasyPayProvider, Rt as reviewPageSchema, S as myOrderItemSchema, Sa as Cart, Si as paymentOptionSchema, Sn as PublicInquiry, Sr as claimReasonSchema, St as ProductReviewSort, T as purchaseDecisionResultSchema, Ta as addCartItemRequestSchema, Ti as pgProviderSchema, Tn as productInquiryCategorySchema, Tr as createClaimRequestSchema, Tt as ReviewPage, U as flowFieldValueSchema, Ui as StorefrontCollectionDetail, Un as applicableCouponSchema, Ur as PAYMENT_RESULT_VALUES, Ut as writableReviewSchema, V as flowActionResultSchema, Vi as ProductSort, Vn as StorefrontCoupon, Vr as KnownPaymentStartStatus, Vt as updateReviewResultSchema, W as flowInputFieldSchema, Wi as categoryNodeSchema, Wn as checkoutPricingRequestSchema, Wr as PAYMENT_START_STATUS_VALUES, Wt as AddonGroupView, X as ANALYTICS_SESSION_COOKIE, Xi as productFacetsSchema, Xn as myCouponListQuerySchema, Xr as PaymentStart, Xt as OrderInputUploadRequest, Y as ANALYTICS_MAX_BATCH_BYTES, Yi as productDetailSchema, Yn as couponResultSchema, Yr as PaymentOption, Yt as OptionSelectionView, Z as ANALYTICS_SESSION_HEADER, Zi as productPageSchema, Zn as myCouponSchema, Zr as PaymentStatus, Zt as addonGroupViewSchema, _ as MyOrder, _a as myOrderItemFulfillmentSnapshotSchema, _i as paymentFailureCategorySchema, _n as updateProfileRequestSchema, _r as ClaimType, _t as createStorefrontSession, a as StayView, aa as PageParams, ai as cashReceiptAvailable, an as normalizeCustomInputValue, ar as ConsentState, at as analyticsBatchSchema, b as PurchaseDecisionResult, ba as productFulfillmentViewSchema, bi as paymentOptionKey, bn as CreateInquiryResult, br as MyClaim, bt as MyReview, c as stayViewSchema, ca as pageInfoSchema, ci as cashReceiptTypeSchema, cn as parseCustomInputValue, cr as consentActionSchema, ct as analyticsIdSchema, d as StorefrontPointPolicy, da as MyOrderItemFulfillmentSnapshot, di as createCheckoutRequestSchema, dn as MemberAddressRequest, dr as consentStateSchema, dt as StorefrontClientOptions, ea as storefrontCollectionListQuerySchema, ei as ResponsePaymentMethod, en as customInputLength, er as storefrontCouponSchema, et as AnalyticsBatch, f as memberPointEntryPageSchema, fa as PickupLocationView, fi as deliveryQuoteRequestSchema, fn as UpdateProfileRequest, fr as consentUpdateRequestSchema, ft as createStorefrontClient, g as DeliveryTracking, ga as lineFulfillmentSchema, gi as guestInfoSchema, gn as memberSchema, gr as ClaimReturnAddress, gt as StorefrontSessionOptions, h as storefrontPointPolicySchema, ha as UnknownFulfillmentView, hi as easyPayProviderSchema, hn as memberAddressSchema, hr as ClaimReason, ht as StorefrontSession, i as StayRequest, ia as PageInfo, ii as availablePaymentOptionSchema, in as lineSelectionResponseShape, ir as ConsentSource, it as AnalyticsServerEventName, j as FlowActionRequest, ji as startPaymentRequestSchema, jn as customerInquiryCategorySchema, jr as CashReceiptRequest, jt as createReviewRequestSchema, k as parseOrderNo, ka as analyticsIdsFromCookie, ki as retryPaymentRequestSchema, kn as CustomerInquiryCategory, kr as CASH_RECEIPT_METHODS, kt as UploadTicket, l as MemberPointEntry, la as pageSchema, li as checkoutDeliverySchema, ln as Member, lr as consentKindSchema, lt as analyticsServerEventNameSchema, m as memberPointsSchema, ma as ProductFulfillmentView, mi as easyPayProviderResponseSchema, mn as memberAddressRequestSchema, mr as ClaimPreview, mt as SessionStorage, n as storefrontStoreSchema, na as ClaimStatus, ni as ShippingAddressInput, nn as customInputViewSchema, nr as ConsentAction, nt as AnalyticsClientEventName, o as calendarDayViewSchema, oa as claimStatusSchema, oi as cashReceiptIdentityTypeOf, on as optionSelectionViewSchema, or as ConsentUpdateRequest, ot as analyticsClientEventNameSchema, p as memberPointEntrySchema, pa as ProductCardFulfillment, pi as deliveryQuoteSchema, pn as WishlistAddResult, pr as memberConsentsSchema, pt as STOREFRONT_SESSION_KEYS, q as orderFlowActionResultSchema, qi as collectionProductSortSchema, qn as couponApplicationSchema, qr as PaymentMessage, qt as CustomInputValueView, r as CalendarDayView, ra as OrderItemStatus, ri as StartPaymentRequest, rn as lineSelectionRequestShape, rr as ConsentKind, rt as AnalyticsEventName, s as stayRequestSchema, sa as orderItemStatusSchema, si as cashReceiptRequestSchema, sn as orderInputUploadRequestSchema, sr as MemberConsents, st as analyticsClientEventSchema, t as StorefrontStore, ta as storefrontCollectionSchema, ti as RetryPaymentRequest, tn as customInputValueViewSchema, tr as storefrontCouponTargetSchema, tt as AnalyticsClientEvent, u as MemberPoints, ua as LineFulfillment, ui as checkoutSessionSchema, un as MemberAddress, ur as consentSourceSchema, ut as StorefrontClient, v as MyOrderItem, va as pickupLocationViewSchema, vi as paymentMessageSchema, vn as wishlistAddResultSchema, vr as CreateClaimRequest, vt as CreateReviewRequest, w as orderShippingAddressSchema, wa as UpdateCartItemRequest, wi as paymentStatusSchema, wn as createInquiryResultSchema, wr as claimTypeSchema, wt as ReviewImageUploadRequest, x as deliveryTrackingSchema, xa as AddCartItemRequest, xi as paymentOptionListSchema, xn as ProductInquiryCategory, xr as claimPreviewSchema, xt as ProductReviewParams, y as OrderShippingAddress, ya as productCardFulfillmentSchema, yi as paymentMethodSchema, yn as CreateInquiryRequest, yr as CreateClaimResult, yt as CreateReviewResult, z as OrderStep, zi as ProductPage, zn as MIN_PAYMENT_AMOUNT, zr as GuestInfo, zt as reviewSummarySchema } from "./index-DkZFHWq7.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, ClaimPreview, 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, claimPreviewSchema, 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 };
2
+ import { $ as ANALYTICS_VISITOR_HEADER, $i as productSortSchema, $n as storefrontCouponListQuerySchema, $r as PgProvider, $t as customInputEntrySchema, A as FlowAction, Aa as analyticsIdsFromCookie, Ai as retryPaymentRequestSchema, An as createCustomerInquiryRequestSchema, Ar as CONTACT_PHONE_PATTERN, At as WritableReview, B as flowActionRequestSchema, Bi as ProductPage, Bn as MyCoupon, Br as GuestInfo, Bt as updateReviewRequestSchema, C as myOrderSchema, Ca as Cart, Ci as paymentOptionSchema, Cn as createInquiryRequestSchema, Cr as claimReturnAddressSchema, Ct as PublicReview, D as commerceNumberField, Da as cartItemSchema, Di as remoteAreaSchema, Dn as CreateCustomerInquiryRequest, Dr as myClaimSchema, Dt as UpdateReviewRequest, E as trackingStageResponseSchema, Ea as addCartItemRequestSchema, Ei as pgProviderSchema, En as publicInquirySchema, Er as createClaimResultSchema, Et as ReviewSummary, F as FlowState, Fi as CollectionProductParams, Fn as CheckoutPricingRequest, Fr as CheckoutSession, Ft as productReviewSortSchema, G as flowStateSchema, Gi as categoryNodeSchema, Gn as checkoutPricingSchema, Gr as PAYMENT_START_STATUS_VALUES, Gt as AddonSelection, H as flowActionSchema, Hi as ProductSort, Hn as StorefrontCouponListParams, Hr as KnownPaymentStartStatus, Ht as uploadTicketSchema, I as GuestFlowActionRequest, Ii as CollectionProductSortParam, In as CouponApplication, Ir as CreateCheckoutRequest, It as publicReviewSchema, J as orderStepSchema, Ji as collectionProductSortSchema, Jn as couponBenefitViewSchema, Jr as PaymentMessage, Jt as CustomInputView, K as guestFlowActionRequestSchema, Ki as collectionProductPageSchema, Kn as couponApplicationListSchema, Kr as PAYMENT_STATUS_VALUES, Kt as CustomInputEntry, L as ORDER_STEP_TYPES, Li as ProductCard, Ln as CouponResult, Lr as DeliveryQuoteRequest, Lt as reviewImageUploadRequestSchema, M as FlowActionResult, Mi as startPaymentRequestSchema, Mn as customerInquirySchema, Mr as CashReceiptRequest, Mt as createReviewResultSchema, N as FlowFieldValue, Ni as CategoryNode, Nn as ApplicableCoupon, Nr as CashReceiptType, Nt as myReviewSchema, O as formatOrderNo, Oa as cartSchema, Oi as residentNumberLike, On as CustomerInquiry, Or as AvailablePaymentOption, Ot as UpdateReviewResult, P as FlowInputField, Pi as CollectionProductPage, Pn as CheckoutPricing, Pr as CheckoutDelivery, Pt as productReviewQuerySchema, Q as ANALYTICS_VISITOR_COOKIE, Qi as productPageSchema, Qn as pricingAmountsSchema, Qr as PaymentStatus, Qt as addonSelectionSchema, R as OrderFlowActionResult, Ri as ProductDetail, Rn as MAX_COUPONS_PER_CHECKOUT, Rr as DeliveryQuoteResult, Rt as reviewPageSchema, S as myOrderItemSchema, Sa as AddCartItemRequest, Si as paymentOptionListSchema, Sn as PublicInquiry, Sr as claimReasonSchema, St as ProductReviewSort, T as purchaseDecisionResultSchema, Ta as UpdateCartItemRequest, Ti as paymentStatusSchema, Tn as productInquiryCategorySchema, Tr as createClaimRequestSchema, Tt as ReviewPage, U as flowFieldValueSchema, Ui as StorefrontCollection, Un as applicableCouponSchema, Ur as KnownPaymentStatus, Ut as writableReviewSchema, V as flowActionResultSchema, Vi as ProductSearchParams, Vn as StorefrontCoupon, Vr as KnownPaymentResult, Vt as updateReviewResultSchema, W as flowInputFieldSchema, Wi as StorefrontCollectionDetail, Wn as checkoutPricingRequestSchema, Wr as PAYMENT_RESULT_VALUES, Wt as AddonGroupView, X as ANALYTICS_SESSION_COOKIE, Xi as productDetailSchema, Xn as myCouponListQuerySchema, Xr as PaymentOption, Xt as OrderInputUploadRequest, Y as ANALYTICS_MAX_BATCH_BYTES, Yi as productCardSchema, Yn as couponResultSchema, Yr as PaymentMethod, Yt as OptionSelectionView, Z as ANALYTICS_SESSION_HEADER, Zi as productFacetsSchema, Zn as myCouponSchema, Zr as PaymentStart, Zt as addonGroupViewSchema, _ as MyOrder, _a as lineFulfillmentSchema, _i as guestInfoSchema, _n as updateProfileRequestSchema, _r as ClaimType, _t as createStorefrontSession, a as StayView, aa as PageInfo, ai as availablePaymentOptionSchema, an as normalizeCustomInputValue, ar as ConsentState, at as analyticsBatchSchema, b as PurchaseDecisionResult, ba as productCardFulfillmentSchema, bi as paymentMethodSchema, bn as CreateInquiryResult, br as MyClaim, bt as MyReview, c as stayViewSchema, ca as orderItemStatusSchema, ci as cashReceiptRequestSchema, cn as parseCustomInputValue, cr as consentActionSchema, ct as analyticsIdSchema, d as StorefrontPointPolicy, da as LineFulfillment, di as checkoutSessionSchema, dn as MemberAddressRequest, dr as consentStateSchema, dt as StorefrontClientOptions, ea as storefrontCollectionDetailSchema, ei as RemoteArea, en as customInputLength, er as storefrontCouponSchema, et as AnalyticsBatch, f as memberPointEntryPageSchema, fa as MyOrderItemFulfillmentSnapshot, fi as createCheckoutRequestSchema, fn as UpdateProfileRequest, fr as consentUpdateRequestSchema, ft as createStorefrontClient, g as DeliveryTracking, ga as UnknownFulfillmentView, gi as easyPayProviderSchema, gn as memberSchema, gr as ClaimReturnAddress, gt as StorefrontSessionOptions, h as storefrontPointPolicySchema, ha as ProductFulfillmentView, hi as easyPayProviderResponseSchema, hn as memberAddressSchema, hr as ClaimReason, ht as StorefrontSession, i as StayRequest, ia as OrderItemStatus, ii as StartPaymentRequest, in as lineSelectionResponseShape, ir as ConsentSource, it as AnalyticsServerEventName, j as FlowActionRequest, ji as shippingAddressInputSchema, jn as customerInquiryCategorySchema, jr as CashReceiptIdentityType, jt as createReviewRequestSchema, k as parseOrderNo, ka as updateCartItemRequestSchema, ki as responsePaymentMethodSchema, kn as CustomerInquiryCategory, kr as CASH_RECEIPT_METHODS, kt as UploadTicket, l as MemberPointEntry, la as pageInfoSchema, li as cashReceiptTypeSchema, ln as Member, lr as consentKindSchema, lt as analyticsServerEventNameSchema, m as memberPointsSchema, ma as ProductCardFulfillment, mi as deliveryQuoteSchema, mn as memberAddressRequestSchema, mr as ClaimPreview, mt as SessionStorage, n as storefrontStoreSchema, na as storefrontCollectionSchema, ni as RetryPaymentRequest, nn as customInputViewSchema, nr as ConsentAction, nt as AnalyticsClientEventName, o as calendarDayViewSchema, oa as PageParams, oi as cashReceiptAvailable, on as optionSelectionViewSchema, or as ConsentUpdateRequest, ot as analyticsClientEventNameSchema, p as memberPointEntrySchema, pa as PickupLocationView, pi as deliveryQuoteRequestSchema, pn as WishlistAddResult, pr as memberConsentsSchema, pt as STOREFRONT_SESSION_KEYS, q as orderFlowActionResultSchema, qi as collectionProductQuerySchema, qn as couponApplicationSchema, qr as PaymentFailureCategory, qt as CustomInputValueView, r as CalendarDayView, ra as ClaimStatus, ri as ShippingAddressInput, rn as lineSelectionRequestShape, rr as ConsentKind, rt as AnalyticsEventName, s as stayRequestSchema, sa as claimStatusSchema, si as cashReceiptIdentityTypeOf, sn as orderInputUploadRequestSchema, sr as MemberConsents, st as analyticsClientEventSchema, t as StorefrontStore, ta as storefrontCollectionListQuerySchema, ti as ResponsePaymentMethod, tn as customInputValueViewSchema, tr as storefrontCouponTargetSchema, tt as AnalyticsClientEvent, u as MemberPoints, ua as pageSchema, ui as checkoutDeliverySchema, un as MemberAddress, ur as consentSourceSchema, ut as StorefrontClient, v as MyOrderItem, va as myOrderItemFulfillmentSnapshotSchema, vi as paymentFailureCategorySchema, vn as wishlistAddResultSchema, vr as CreateClaimRequest, vt as CreateReviewRequest, w as orderShippingAddressSchema, wa as CartItem, wi as paymentStartSchema, wn as createInquiryResultSchema, wr as claimTypeSchema, wt as ReviewImageUploadRequest, x as deliveryTrackingSchema, xa as productFulfillmentViewSchema, xi as paymentOptionKey, xn as ProductInquiryCategory, xr as claimPreviewSchema, xt as ProductReviewParams, y as OrderShippingAddress, ya as pickupLocationViewSchema, yi as paymentMessageSchema, yn as CreateInquiryRequest, yr as CreateClaimResult, yt as CreateReviewResult, z as OrderStep, zi as ProductFacets, zn as MIN_PAYMENT_AMOUNT, zr as EasyPayProvider, zt as reviewSummarySchema } from "./index-3acexKKz.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, CONTACT_PHONE_PATTERN, CalendarDayView, Cart, CartItem, CashReceiptIdentityType, CashReceiptRequest, CashReceiptType, CategoryNode, CheckoutDelivery, CheckoutPricing, CheckoutPricingRequest, CheckoutSession, ClaimPreview, 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, claimPreviewSchema, 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,7 +1,7 @@
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 orderStepSchema, A as wishlistAddResultSchema, At as anonymousSessionSchema, B as consentSourceSchema, Bt as tokenPairSchema, C as orderShippingAddressSchema, Ct as orderItemStatusSchema, D as memberAddressSchema, Dt as cartItemSchema, E as memberAddressRequestSchema, Et as addCartItemRequestSchema, F as createCustomerInquiryRequestSchema, Ft as linkIdentityRequestSchema, G as flowActionRequestSchema, Gt as toApiError, H as consentUpdateRequestSchema, Ht as withdrawalBlockedDetailsSchema, I as customerInquiryCategorySchema, It as loginRequestSchema, J as flowFieldValueSchema, K as flowActionResultSchema, Kt as unwrapData, L as customerInquirySchema, Lt as memberIdentitiesSchema, M as createInquiryResultSchema, Mt as idpAuthorizeRequestSchema, N as productInquiryCategorySchema, Nt as idpAuthorizeResponseSchema, O as memberSchema, Ot as cartSchema, P as publicInquirySchema, Pt as idpTokenRequestSchema, Q as orderFlowActionResultSchema, R as consentActionSchema, Rt as signupRequestSchema, S as myOrderSchema, St as claimStatusSchema, T as trackingStageResponseSchema, Tt as pageSchema, U as memberConsentsSchema, Ut as ApiError, V as consentStateSchema, Vt as withdrawRequestSchema, W as ORDER_STEP_TYPES, Wt as buildQuery, X as flowStateSchema, Y as flowInputFieldSchema, Z as guestFlowActionRequestSchema, _ as memberPointEntrySchema, _t as productPageSchema, a as myReviewSchema, at as createClaimResultSchema, b as deliveryTrackingSchema, bt as storefrontCollectionListQuerySchema, c as publicReviewSchema, ct as formatOrderNo, d as reviewSummarySchema, dt as collectionProductPageSchema, et as claimPreviewSchema, f as updateReviewRequestSchema, ft as collectionProductQuerySchema, g as memberPointEntryPageSchema, gt as productFacetsSchema, h as writableReviewSchema, ht as productDetailSchema, i as createReviewResultSchema, it as createClaimRequestSchema, j as createInquiryRequestSchema, jt as idpAgreementsSchema, k as updateProfileRequestSchema, kt as updateCartItemRequestSchema, l as reviewImageUploadRequestSchema, lt as parseOrderNo, m as uploadTicketSchema, mt as productCardSchema, n as storefrontStoreSchema, nt as claimReturnAddressSchema, o as productReviewQuerySchema, ot as myClaimSchema, p as updateReviewResultSchema, pt as collectionProductSortSchema, q as flowActionSchema, r as createReviewRequestSchema, rt as claimTypeSchema, s as productReviewSortSchema, st as commerceNumberField, t as createStorefrontClient, tt as claimReasonSchema, u as reviewPageSchema, ut as categoryNodeSchema, v as memberPointsSchema, vt as productSortSchema, w as purchaseDecisionResultSchema, wt as pageInfoSchema, x as myOrderItemSchema, xt as storefrontCollectionSchema, y as storefrontPointPolicySchema, yt as storefrontCollectionDetailSchema, z as consentKindSchema, zt as socialProviderSchema } from "./client-ZwNr8sU-.mjs";
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";
3
+ import { $ as orderStepSchema, A as wishlistAddResultSchema, At as anonymousSessionSchema, B as consentSourceSchema, Bt as tokenPairSchema, C as orderShippingAddressSchema, Ct as orderItemStatusSchema, D as memberAddressSchema, Dt as cartItemSchema, E as memberAddressRequestSchema, Et as addCartItemRequestSchema, F as createCustomerInquiryRequestSchema, Ft as linkIdentityRequestSchema, G as flowActionRequestSchema, Gt as toApiError, H as consentUpdateRequestSchema, Ht as withdrawalBlockedDetailsSchema, I as customerInquiryCategorySchema, It as loginRequestSchema, J as flowFieldValueSchema, K as flowActionResultSchema, Kt as unwrapData, L as customerInquirySchema, Lt as memberIdentitiesSchema, M as createInquiryResultSchema, Mt as idpAuthorizeRequestSchema, N as productInquiryCategorySchema, Nt as idpAuthorizeResponseSchema, O as memberSchema, Ot as cartSchema, P as publicInquirySchema, Pt as idpTokenRequestSchema, Q as orderFlowActionResultSchema, R as consentActionSchema, Rt as signupRequestSchema, S as myOrderSchema, St as claimStatusSchema, T as trackingStageResponseSchema, Tt as pageSchema, U as memberConsentsSchema, Ut as ApiError, V as consentStateSchema, Vt as withdrawRequestSchema, W as ORDER_STEP_TYPES, Wt as buildQuery, X as flowStateSchema, Y as flowInputFieldSchema, Z as guestFlowActionRequestSchema, _ as memberPointEntrySchema, _t as productPageSchema, a as myReviewSchema, at as createClaimResultSchema, b as deliveryTrackingSchema, bt as storefrontCollectionListQuerySchema, c as publicReviewSchema, ct as formatOrderNo, d as reviewSummarySchema, dt as collectionProductPageSchema, et as claimPreviewSchema, f as updateReviewRequestSchema, ft as collectionProductQuerySchema, g as memberPointEntryPageSchema, gt as productFacetsSchema, h as writableReviewSchema, ht as productDetailSchema, i as createReviewResultSchema, it as createClaimRequestSchema, j as createInquiryRequestSchema, jt as idpAgreementsSchema, k as updateProfileRequestSchema, kt as updateCartItemRequestSchema, l as reviewImageUploadRequestSchema, lt as parseOrderNo, m as uploadTicketSchema, mt as productCardSchema, n as storefrontStoreSchema, nt as claimReturnAddressSchema, o as productReviewQuerySchema, ot as myClaimSchema, p as updateReviewResultSchema, pt as collectionProductSortSchema, q as flowActionSchema, r as createReviewRequestSchema, rt as claimTypeSchema, s as productReviewSortSchema, st as commerceNumberField, t as createStorefrontClient, tt as claimReasonSchema, u as reviewPageSchema, ut as categoryNodeSchema, v as memberPointsSchema, vt as productSortSchema, w as purchaseDecisionResultSchema, wt as pageInfoSchema, x as myOrderItemSchema, xt as storefrontCollectionSchema, y as storefrontPointPolicySchema, yt as storefrontCollectionDetailSchema, z as consentKindSchema, zt as socialProviderSchema } from "./client-CQpUWTzR.mjs";
4
+ import { $ as customInputValueViewSchema, A as responsePaymentMethodSchema, B as couponApplicationSchema, C as paymentOptionListSchema, D as pgProviderSchema, E as paymentStatusSchema, F as MIN_PAYMENT_AMOUNT, G as pricingAmountsSchema, H as couponResultSchema, I as applicableCouponSchema, J as storefrontCouponTargetSchema, K as storefrontCouponListQuerySchema, L as checkoutPricingRequestSchema, M as shippingAddressInputSchema, N as startPaymentRequestSchema, O as remoteAreaSchema, P as MAX_COUPONS_PER_CHECKOUT, Q as customInputLength, R as checkoutPricingSchema, S as paymentOptionKey, T as paymentStartSchema, U as myCouponListQuerySchema, V as couponBenefitViewSchema, W as myCouponSchema, X as addonSelectionSchema, Y as addonGroupViewSchema, Z as customInputEntrySchema, _ as easyPayProviderSchema, a as PAYMENT_STATUS_VALUES, at as orderInputUploadRequestSchema, b as paymentMessageSchema, c as cashReceiptIdentityTypeOf, ct as stayRequestSchema, d as checkoutDeliverySchema, dt as myOrderItemFulfillmentSnapshotSchema, et as customInputViewSchema, f as checkoutSessionSchema, ft as pickupLocationViewSchema, g as easyPayProviderResponseSchema, h as deliveryQuoteSchema, i as PAYMENT_START_STATUS_VALUES, it as optionSelectionViewSchema, j as retryPaymentRequestSchema, k as residentNumberLike, l as cashReceiptRequestSchema, lt as stayViewSchema, m as deliveryQuoteRequestSchema, mt as productFulfillmentViewSchema, n as CONTACT_PHONE_PATTERN, nt as lineSelectionResponseShape, o as availablePaymentOptionSchema, ot as parseCustomInputValue, p as createCheckoutRequestSchema, pt as productCardFulfillmentSchema, q as storefrontCouponSchema, r as PAYMENT_RESULT_VALUES, rt as normalizeCustomInputValue, s as cashReceiptAvailable, st as calendarDayViewSchema, t as CASH_RECEIPT_METHODS, tt as lineSelectionRequestShape, u as cashReceiptTypeSchema, ut as lineFulfillmentSchema, v as guestInfoSchema, w as paymentOptionSchema, x as paymentMethodSchema, y as paymentFailureCategorySchema, z as couponApplicationListSchema } from "./checkout-CmFcG8TT.mjs";
5
5
  //#region src/session.ts
6
6
  /** 세션 키 상수 — SDK가 소유한다. store-sdk와 겹치지 않는 별도 네임스페이스. */
7
7
  const STOREFRONT_SESSION_KEYS = {
@@ -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, 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, claimPreviewSchema, 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 };
128
+ export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, ApiError, CASH_RECEIPT_METHODS, CONTACT_PHONE_PATTERN, 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, claimPreviewSchema, 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 { Xr as PaymentStart, Yr as PaymentOption, Zr as PaymentStatus, ft as createStorefrontClient, jr as CashReceiptRequest, ni as ShippingAddressInput, ri as StartPaymentRequest, zr as GuestInfo } from "../index-DkZFHWq7.mjs";
1
+ import { Br as GuestInfo, Mr as CashReceiptRequest, Qr as PaymentStatus, Xr as PaymentOption, Zr as PaymentStart, ft as createStorefrontClient, ii as StartPaymentRequest, ri as ShippingAddressInput } from "../index-3acexKKz.mjs";
2
2
  //#region src/payments/index.d.ts
3
3
  /**
4
4
  * 스토어프론트 결제 — 브라우저 전용(`@sayren/storefront-sdk/payments`).
@@ -1,4 +1,4 @@
1
- import { y as paymentMessageSchema } from "../checkout-BjJ4Efbn.mjs";
1
+ import { b as paymentMessageSchema } from "../checkout-CmFcG8TT.mjs";
2
2
  //#region src/payments/index.ts
3
3
  /** 복귀 주소에 결제 서비스가 붙이는 쿼리 */
4
4
  const RETURN_PAYMENT_ID = "sayrenPaymentId";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sayren/storefront-sdk",
3
- "version": "0.20.15",
3
+ "version": "0.20.17",
4
4
  "main": "./dist/index.mjs",
5
5
  "types": "./dist/index.d.mts",
6
6
  "exports": {
@@ -288,10 +288,19 @@ export function paymentOptionKey(option: PaymentOption): string {
288
288
  : `${option.pg}:${option.method}`;
289
289
  }
290
290
 
291
+ /**
292
+ * 배송·주문 연락처 — 휴대폰(010 등), 050 안심번호(0503~0508), 070, 지역번호 일반 전화. 숫자만 받는다(하이픈 없이).
293
+ * 회원 가입의 휴대폰(`auth.ts`)은 본인 확인용이라 휴대폰만 받는다
294
+ */
295
+ export const CONTACT_PHONE_PATTERN =
296
+ /^(?:01[0-9]{8,9}|050[0-9]{8,9}|070[0-9]{8}|02[0-9]{7,8}|0[3-6][1-5][0-9]{7,8})$/;
297
+
291
298
  export const shippingAddressInputSchema = z.object({
292
299
  addressId: z.string().optional(),
293
300
  receiverName: z.string().min(1, "수령인명을 입력해주십시오").max(50),
294
- phone: z.string().regex(/^01[0-9]{8,9}$/, "연락처 형식이 아닙니다 (예: 01012345678)"),
301
+ phone: z
302
+ .string()
303
+ .regex(CONTACT_PHONE_PATTERN, "연락처 형식이 아닙니다 (예: 01012345678, 050712345678)"),
295
304
  zipCode: z.string().regex(/^[0-9]{5}$/, "우편번호는 5자리 숫자입니다"),
296
305
  address1: z.string().min(1, "기본 주소를 입력해주십시오"),
297
306
  address2: z.string().optional(),
@@ -303,7 +312,7 @@ export type ShippingAddressInput = z.infer<typeof shippingAddressInputSchema>;
303
312
 
304
313
  export const guestInfoSchema = z.object({
305
314
  name: z.string().min(1),
306
- phone: z.string().regex(/^01[0-9]{8,9}$/),
315
+ phone: z.string().regex(CONTACT_PHONE_PATTERN),
307
316
  email: z.email(),
308
317
  orderPassword: z
309
318
  .string()
@@ -68,6 +68,12 @@ export const myOrderItemSchema = z.object({
68
68
  ),
69
69
  claimStatus: z.string().nullable(),
70
70
  reviewWritten: z.boolean(),
71
+ reviewWritable: z
72
+ .boolean()
73
+ .optional()
74
+ .describe(
75
+ "지금 리뷰를 쓸 수 있는가 — 구매확정·미작성·작성 기한 안이고, 테스트 결제 주문이면 상점이 테스트 주문 리뷰를 허용했을 때만 true. 비회원 주문은 false. 서버는 항상 싣는다",
76
+ ),
71
77
  autoDecisionDate: z.string().nullable(),
72
78
  flowState: flowStateSchema
73
79
  .optional()