@sayren/storefront-sdk 0.20.11 → 0.20.12

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 { Ht as ApiError, t as createStorefrontClient } from "../client-TokSE7D9.mjs";
1
+ import { Ut as ApiError, t as createStorefrontClient } from "../client-CJ2oWniR.mjs";
2
2
  //#region src/auth/index.ts
3
3
  /** 소셜 로그인 실패 — 구매자가 취소했거나(`access_denied`) state가 맞지 않는다 */
4
4
  var IdpCallbackError = class extends Error {
@@ -486,6 +486,15 @@ const createClaimResultSchema = z.object({
486
486
  pointRefundAmount: z.number().int().optional().default(0).describe("돌려받을 적립금 예상액 (원, #93) — 결제에 쓴 적립금 중 이번 취소·반품 수량의 몫이다. 예상 환불액(현금)과 별개다. 차감은 현금에서 먼저 빼고 모자란 몫만 여기서 뺀다. 적립금을 쓰지 않은 주문은 0이다. 서버는 항상 싣는다")
487
487
  });
488
488
  /**
489
+ * 신청 전 미리보기(#115 G49) — 접수와 같은 판정·계산을 저장 없이 돌린다. 접수할 수 없으면 접수와 같은 오류(409 등)다.
490
+ * 금액은 지금 시점의 예상값이다(차감은 접수 시각의 흐름 식으로 다시 계산한다)
491
+ */
492
+ const claimPreviewSchema = createClaimResultSchema.omit({
493
+ claimId: true,
494
+ claimNo: true,
495
+ status: true
496
+ }).extend({ deductAmount: z.number().int().describe("흐름이 정한 취소 수수료(체크인·관람일까지 남은 기간 등). 예상 환불액에서 이미 뺐다. 수수료가 없으면 0") });
497
+ /**
489
498
  * 반품지 (이슈 #30) — 반품·교환 수거가 안내하는 주소다. 상점 주소록의 기본 반품지이거나,
490
499
  * 상품이 반품지를 따로 지정했으면 그 주소다.
491
500
  *
@@ -1314,6 +1323,8 @@ get: () => http.request("GET", "/store", storefrontStoreSchema) },
1314
1323
  },
1315
1324
  myClaims: {
1316
1325
  create: (orderItemId, body) => http.request("POST", path`/me/order-items/${orderItemId}/claims`, createClaimResultSchema, { body: createClaimRequestSchema.parse(body) }),
1326
+ /** `POST /me/order-items/{id}/claims/preview` — 신청 전 예상 환불·차감. 접수하지 않는다(#115) */
1327
+ preview: (orderItemId, body) => http.request("POST", path`/me/order-items/${orderItemId}/claims/preview`, claimPreviewSchema, { body: createClaimRequestSchema.parse(body) }),
1317
1328
  list: (params) => http.request("GET", "/me/claims", pageSchema(myClaimSchema), { query: params }),
1318
1329
  withdraw: (claimId) => http.requestVoid("POST", path`/me/claims/${claimId}/withdraw`)
1319
1330
  },
@@ -1370,4 +1381,4 @@ get: () => http.request("GET", "/store", storefrontStoreSchema) },
1370
1381
  };
1371
1382
  }
1372
1383
  //#endregion
1373
- export { orderStepSchema as $, wishlistAddResultSchema as A, idpAgreementsSchema as At, consentSourceSchema as B, withdrawRequestSchema as Bt, orderShippingAddressSchema as C, pageInfoSchema as Ct, memberAddressSchema as D, cartSchema as Dt, memberAddressRequestSchema as E, cartItemSchema as Et, createCustomerInquiryRequestSchema as F, loginRequestSchema as Ft, flowActionRequestSchema as G, unwrapData as Gt, consentUpdateRequestSchema as H, ApiError as Ht, customerInquiryCategorySchema as I, memberIdentitiesSchema as It, flowFieldValueSchema as J, flowActionResultSchema as K, customerInquirySchema as L, signupRequestSchema as Lt, createInquiryResultSchema as M, idpAuthorizeResponseSchema as Mt, productInquiryCategorySchema as N, idpTokenRequestSchema as Nt, memberSchema as O, updateCartItemRequestSchema as Ot, publicInquirySchema as P, linkIdentityRequestSchema as Pt, orderFlowActionResultSchema as Q, consentActionSchema as R, socialProviderSchema as Rt, myOrderSchema as S, orderItemStatusSchema as St, trackingStageResponseSchema as T, addCartItemRequestSchema as Tt, memberConsentsSchema as U, buildQuery as Ut, consentStateSchema as V, withdrawalBlockedDetailsSchema as Vt, ORDER_STEP_TYPES as W, toApiError as Wt, flowStateSchema as X, flowInputFieldSchema as Y, guestFlowActionRequestSchema as Z, memberPointEntrySchema as _, productSortSchema as _t, myReviewSchema as a, myClaimSchema as at, deliveryTrackingSchema as b, storefrontCollectionSchema as bt, publicReviewSchema as c, parseOrderNo as ct, reviewSummarySchema as d, collectionProductQuerySchema as dt, claimReasonSchema as et, updateReviewRequestSchema as f, collectionProductSortSchema as ft, memberPointEntryPageSchema as g, productPageSchema as gt, writableReviewSchema as h, productFacetsSchema as ht, createReviewResultSchema as i, createClaimResultSchema as it, createInquiryRequestSchema as j, idpAuthorizeRequestSchema as jt, updateProfileRequestSchema as k, anonymousSessionSchema as kt, reviewImageUploadRequestSchema as l, categoryNodeSchema as lt, uploadTicketSchema as m, productDetailSchema as mt, storefrontStoreSchema as n, claimTypeSchema as nt, productReviewQuerySchema as o, commerceNumberField as ot, updateReviewResultSchema as p, productCardSchema as pt, flowActionSchema as q, createReviewRequestSchema as r, createClaimRequestSchema as rt, productReviewSortSchema as s, formatOrderNo as st, createStorefrontClient as t, claimReturnAddressSchema as tt, reviewPageSchema as u, collectionProductPageSchema as ut, memberPointsSchema as v, storefrontCollectionDetailSchema as vt, purchaseDecisionResultSchema as w, pageSchema as wt, myOrderItemSchema as x, claimStatusSchema as xt, storefrontPointPolicySchema as y, storefrontCollectionListQuerySchema as yt, consentKindSchema as z, tokenPairSchema as zt };
1384
+ export { orderStepSchema as $, wishlistAddResultSchema as A, anonymousSessionSchema as At, consentSourceSchema as B, tokenPairSchema as Bt, orderShippingAddressSchema as C, orderItemStatusSchema as Ct, memberAddressSchema as D, cartItemSchema as Dt, memberAddressRequestSchema as E, addCartItemRequestSchema as Et, createCustomerInquiryRequestSchema as F, linkIdentityRequestSchema as Ft, flowActionRequestSchema as G, toApiError as Gt, consentUpdateRequestSchema as H, withdrawalBlockedDetailsSchema as Ht, customerInquiryCategorySchema as I, loginRequestSchema as It, flowFieldValueSchema as J, flowActionResultSchema as K, unwrapData as Kt, customerInquirySchema as L, memberIdentitiesSchema as Lt, createInquiryResultSchema as M, idpAuthorizeRequestSchema as Mt, productInquiryCategorySchema as N, idpAuthorizeResponseSchema as Nt, memberSchema as O, cartSchema as Ot, publicInquirySchema as P, idpTokenRequestSchema as Pt, orderFlowActionResultSchema as Q, consentActionSchema as R, signupRequestSchema as Rt, myOrderSchema as S, claimStatusSchema as St, trackingStageResponseSchema as T, pageSchema as Tt, memberConsentsSchema as U, ApiError as Ut, consentStateSchema as V, withdrawRequestSchema as Vt, ORDER_STEP_TYPES as W, buildQuery as Wt, flowStateSchema as X, flowInputFieldSchema as Y, guestFlowActionRequestSchema as Z, memberPointEntrySchema as _, productPageSchema as _t, myReviewSchema as a, createClaimResultSchema as at, deliveryTrackingSchema as b, storefrontCollectionListQuerySchema as bt, publicReviewSchema as c, formatOrderNo as ct, reviewSummarySchema as d, collectionProductPageSchema as dt, claimPreviewSchema as et, updateReviewRequestSchema as f, collectionProductQuerySchema as ft, memberPointEntryPageSchema as g, productFacetsSchema as gt, writableReviewSchema as h, productDetailSchema as ht, createReviewResultSchema as i, createClaimRequestSchema as it, createInquiryRequestSchema as j, idpAgreementsSchema as jt, updateProfileRequestSchema as k, updateCartItemRequestSchema as kt, reviewImageUploadRequestSchema as l, parseOrderNo as lt, uploadTicketSchema as m, productCardSchema as mt, storefrontStoreSchema as n, claimReturnAddressSchema as nt, productReviewQuerySchema as o, myClaimSchema as ot, updateReviewResultSchema as p, collectionProductSortSchema as pt, flowActionSchema as q, createReviewRequestSchema as r, claimTypeSchema as rt, productReviewSortSchema as s, commerceNumberField as st, createStorefrontClient as t, claimReasonSchema as tt, reviewPageSchema as u, categoryNodeSchema as ut, memberPointsSchema as v, productSortSchema as vt, purchaseDecisionResultSchema as w, pageInfoSchema as wt, myOrderItemSchema as x, storefrontCollectionSchema as xt, storefrontPointPolicySchema as y, storefrontCollectionDetailSchema as yt, consentKindSchema as z, socialProviderSchema as zt };
@@ -1307,6 +1307,21 @@ declare const createClaimResultSchema: z.ZodObject<{
1307
1307
  pointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1308
1308
  }, z.core.$strip>;
1309
1309
  type CreateClaimResult = z.infer<typeof createClaimResultSchema>;
1310
+ /**
1311
+ * 신청 전 미리보기(#115 G49) — 접수와 같은 판정·계산을 저장 없이 돌린다. 접수할 수 없으면 접수와 같은 오류(409 등)다.
1312
+ * 금액은 지금 시점의 예상값이다(차감은 접수 시각의 흐름 식으로 다시 계산한다)
1313
+ */
1314
+ declare const claimPreviewSchema: z.ZodObject<{
1315
+ quantity: z.ZodNumber;
1316
+ expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
1317
+ claimDeliveryFee: z.ZodNumber;
1318
+ deliveryFeeRefundAmount: z.ZodNumber;
1319
+ couponChargeAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1320
+ couponChargeRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1321
+ pointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1322
+ deductAmount: z.ZodNumber;
1323
+ }, z.core.$strip>;
1324
+ type ClaimPreview = z.infer<typeof claimPreviewSchema>;
1310
1325
  /**
1311
1326
  * 반품지 (이슈 #30) — 반품·교환 수거가 안내하는 주소다. 상점 주소록의 기본 반품지이거나,
1312
1327
  * 상품이 반품지를 따로 지정했으면 그 주소다.
@@ -3938,6 +3953,17 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
3938
3953
  couponChargeRefundAmount: number;
3939
3954
  pointRefundAmount: number;
3940
3955
  }>;
3956
+ /** `POST /me/order-items/{id}/claims/preview` — 신청 전 예상 환불·차감. 접수하지 않는다(#115) */
3957
+ preview: (orderItemId: string, body: CreateClaimRequest) => Promise<{
3958
+ quantity: number;
3959
+ expectedRefundAmount: number | null;
3960
+ claimDeliveryFee: number;
3961
+ deliveryFeeRefundAmount: number;
3962
+ couponChargeAmount: number;
3963
+ couponChargeRefundAmount: number;
3964
+ pointRefundAmount: number;
3965
+ deductAmount: number;
3966
+ }>;
3941
3967
  list: (params?: PageParams & {
3942
3968
  status?: ClaimStatus;
3943
3969
  }) => Promise<{
@@ -5360,4 +5386,4 @@ declare const storefrontStoreSchema: z.ZodObject<{
5360
5386
  }, z.core.$strip>;
5361
5387
  type StorefrontStore = z.infer<typeof storefrontStoreSchema>;
5362
5388
  //#endregion
5363
- export { ANALYTICS_VISITOR_HEADER as $, storefrontCollectionSchema as $i, storefrontCouponListQuerySchema as $n, RetryPaymentRequest as $r, customInputEntrySchema as $t, FlowAction as A, CategoryNode as Ai, createCustomerInquiryRequestSchema as An, CashReceiptType as Ar, WritableReview as At, flowActionRequestSchema as B, StorefrontCollection as Bi, MyCoupon as Bn, KnownPaymentStatus as Br, updateReviewRequestSchema as Bt, myOrderSchema as C, addCartItemRequestSchema as Ca, pgProviderSchema as Ci, createInquiryRequestSchema as Cn, createClaimRequestSchema as Cr, PublicReview as Ct, commerceNumberField as D, analyticsIdsFromCookie as Da, retryPaymentRequestSchema as Di, CreateCustomerInquiryRequest as Dn, CASH_RECEIPT_METHODS as Dr, UpdateReviewRequest as Dt, trackingStageResponseSchema as E, updateCartItemRequestSchema as Ea, responsePaymentMethodSchema as Ei, publicInquirySchema as En, AvailablePaymentOption as Er, ReviewSummary as Et, FlowState as F, ProductDetail as Fi, CheckoutPricingRequest as Fn, DeliveryQuoteResult as Fr, productReviewSortSchema as Ft, flowStateSchema as G, collectionProductSortSchema as Gi, checkoutPricingSchema as Gn, PaymentMessage as Gr, AddonSelection as Gt, flowActionSchema as H, categoryNodeSchema as Hi, StorefrontCouponListParams as Hn, PAYMENT_START_STATUS_VALUES as Hr, uploadTicketSchema as Ht, GuestFlowActionRequest as I, ProductFacets as Ii, CouponApplication as In, EasyPayProvider as Ir, publicReviewSchema as It, orderStepSchema as J, productFacetsSchema as Ji, couponBenefitViewSchema as Jn, PaymentStart as Jr, CustomInputView as Jt, guestFlowActionRequestSchema as K, productCardSchema as Ki, couponApplicationListSchema as Kn, PaymentMethod as Kr, CustomInputEntry as Kt, ORDER_STEP_TYPES as L, ProductPage as Li, CouponResult as Ln, GuestInfo as Lr, reviewImageUploadRequestSchema as Lt, FlowActionResult as M, CollectionProductParams as Mi, customerInquirySchema as Mn, CheckoutSession as Mr, createReviewResultSchema as Mt, FlowFieldValue as N, CollectionProductSortParam as Ni, ApplicableCoupon as Nn, CreateCheckoutRequest as Nr, myReviewSchema as Nt, formatOrderNo as O, shippingAddressInputSchema as Oi, CustomerInquiry as On, CashReceiptIdentityType as Or, UpdateReviewResult as Ot, FlowInputField as P, ProductCard as Pi, CheckoutPricing as Pn, DeliveryQuoteRequest as Pr, productReviewQuerySchema as Pt, ANALYTICS_VISITOR_COOKIE as Q, storefrontCollectionListQuerySchema as Qi, pricingAmountsSchema as Qn, ResponsePaymentMethod as Qr, addonSelectionSchema as Qt, OrderFlowActionResult as R, ProductSearchParams as Ri, MAX_COUPONS_PER_CHECKOUT as Rn, KnownPaymentResult as Rr, reviewPageSchema as Rt, myOrderItemSchema as S, UpdateCartItemRequest as Sa, paymentStatusSchema as Si, PublicInquiry as Sn, claimTypeSchema as Sr, ProductReviewSort as St, purchaseDecisionResultSchema as T, cartSchema as Ta, residentNumberLike as Ti, productInquiryCategorySchema as Tn, myClaimSchema as Tr, ReviewPage as Tt, flowFieldValueSchema as U, collectionProductPageSchema as Ui, applicableCouponSchema as Un, PAYMENT_STATUS_VALUES as Ur, writableReviewSchema as Ut, flowActionResultSchema as V, StorefrontCollectionDetail as Vi, StorefrontCoupon as Vn, PAYMENT_RESULT_VALUES as Vr, updateReviewResultSchema as Vt, flowInputFieldSchema as W, collectionProductQuerySchema as Wi, checkoutPricingRequestSchema as Wn, PaymentFailureCategory as Wr, AddonGroupView as Wt, ANALYTICS_SESSION_COOKIE as X, productSortSchema as Xi, myCouponListQuerySchema as Xn, PgProvider as Xr, OrderInputUploadRequest as Xt, ANALYTICS_MAX_BATCH_BYTES as Y, productPageSchema as Yi, couponResultSchema as Yn, PaymentStatus as Yr, OptionSelectionView as Yt, ANALYTICS_SESSION_HEADER as Z, storefrontCollectionDetailSchema as Zi, myCouponSchema as Zn, RemoteArea as Zr, addonGroupViewSchema as Zt, MyOrder as _, productCardFulfillmentSchema as _a, paymentMethodSchema as _i, updateProfileRequestSchema as _n, CreateClaimRequest as _r, createStorefrontSession as _t, StayView as a, orderItemStatusSchema as aa, cashReceiptRequestSchema as ai, normalizeCustomInputValue as an, ConsentState as ar, analyticsBatchSchema as at, PurchaseDecisionResult as b, Cart as ba, paymentOptionSchema as bi, CreateInquiryResult as bn, claimReasonSchema as br, MyReview as bt, stayViewSchema as c, LineFulfillment as ca, checkoutSessionSchema as ci, parseCustomInputValue as cn, consentActionSchema as cr, analyticsIdSchema as ct, StorefrontPointPolicy as d, ProductCardFulfillment as da, deliveryQuoteSchema as di, MemberAddressRequest as dn, consentStateSchema as dr, StorefrontClientOptions as dt, ClaimStatus as ea, ShippingAddressInput as ei, customInputLength as en, storefrontCouponSchema as er, AnalyticsBatch as et, memberPointEntryPageSchema as f, ProductFulfillmentView as fa, easyPayProviderResponseSchema as fi, UpdateProfileRequest as fn, consentUpdateRequestSchema as fr, createStorefrontClient as ft, DeliveryTracking as g, pickupLocationViewSchema as ga, paymentMessageSchema as gi, memberSchema as gn, ClaimType as gr, StorefrontSessionOptions as gt, storefrontPointPolicySchema as h, myOrderItemFulfillmentSnapshotSchema as ha, paymentFailureCategorySchema as hi, memberAddressSchema as hn, ClaimReturnAddress as hr, StorefrontSession as ht, StayRequest as i, claimStatusSchema as ia, cashReceiptIdentityTypeOf as ii, lineSelectionResponseShape as in, ConsentSource as ir, AnalyticsServerEventName as it, FlowActionRequest as j, CollectionProductPage as ji, customerInquiryCategorySchema as jn, CheckoutDelivery as jr, createReviewRequestSchema as jt, parseOrderNo as k, startPaymentRequestSchema as ki, CustomerInquiryCategory as kn, CashReceiptRequest as kr, UploadTicket as kt, MemberPointEntry as l, MyOrderItemFulfillmentSnapshot as la, createCheckoutRequestSchema as li, Member as ln, consentKindSchema as lr, analyticsServerEventNameSchema as lt, memberPointsSchema as m, lineFulfillmentSchema as ma, guestInfoSchema as mi, memberAddressRequestSchema as mn, ClaimReason as mr, SessionStorage as mt, storefrontStoreSchema as n, PageInfo as na, availablePaymentOptionSchema as ni, customInputViewSchema as nn, ConsentAction as nr, AnalyticsClientEventName as nt, calendarDayViewSchema as o, pageInfoSchema as oa, cashReceiptTypeSchema as oi, optionSelectionViewSchema as on, ConsentUpdateRequest as or, analyticsClientEventNameSchema as ot, memberPointEntrySchema as p, UnknownFulfillmentView as pa, easyPayProviderSchema as pi, WishlistAddResult as pn, memberConsentsSchema as pr, STOREFRONT_SESSION_KEYS as pt, orderFlowActionResultSchema as q, productDetailSchema as qi, couponApplicationSchema as qn, PaymentOption as qr, CustomInputValueView as qt, CalendarDayView as r, PageParams as ra, cashReceiptAvailable as ri, lineSelectionRequestShape as rn, ConsentKind as rr, AnalyticsEventName as rt, stayRequestSchema as s, pageSchema as sa, checkoutDeliverySchema as si, orderInputUploadRequestSchema as sn, MemberConsents as sr, analyticsClientEventSchema as st, StorefrontStore as t, OrderItemStatus as ta, StartPaymentRequest as ti, customInputValueViewSchema as tn, storefrontCouponTargetSchema as tr, AnalyticsClientEvent as tt, MemberPoints as u, PickupLocationView as ua, deliveryQuoteRequestSchema as ui, MemberAddress as un, consentSourceSchema as ur, StorefrontClient as ut, MyOrderItem as v, productFulfillmentViewSchema as va, paymentOptionKey as vi, wishlistAddResultSchema as vn, CreateClaimResult as vr, CreateReviewRequest as vt, orderShippingAddressSchema as w, cartItemSchema as wa, remoteAreaSchema as wi, createInquiryResultSchema as wn, createClaimResultSchema as wr, ReviewImageUploadRequest as wt, deliveryTrackingSchema as x, CartItem as xa, paymentStartSchema as xi, ProductInquiryCategory as xn, claimReturnAddressSchema as xr, ProductReviewParams as xt, OrderShippingAddress as y, AddCartItemRequest as ya, paymentOptionListSchema as yi, CreateInquiryRequest as yn, MyClaim as yr, CreateReviewResult as yt, OrderStep as z, ProductSort as zi, MIN_PAYMENT_AMOUNT as zn, KnownPaymentStartStatus as zr, reviewSummarySchema as zt };
5389
+ 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 };
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 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-ilVVBQUs.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 };
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-DYKDbtx6.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 };
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 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-TokSE7D9.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-CJ2oWniR.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, 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 };
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 };
@@ -1,4 +1,4 @@
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-ilVVBQUs.mjs";
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-DYKDbtx6.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.11",
3
+ "version": "0.20.12",
4
4
  "main": "./dist/index.mjs",
5
5
  "types": "./dist/index.d.mts",
6
6
  "exports": {
package/src/client.ts CHANGED
@@ -53,6 +53,7 @@ import {
53
53
  } from "./schemas/checkout";
54
54
  import {
55
55
  type CreateClaimRequest,
56
+ claimPreviewSchema,
56
57
  createClaimRequestSchema,
57
58
  createClaimResultSchema,
58
59
  myClaimSchema,
@@ -498,6 +499,14 @@ export function createStorefrontClient(options: StorefrontClientOptions) {
498
499
  http.request("POST", path`/me/order-items/${orderItemId}/claims`, createClaimResultSchema, {
499
500
  body: createClaimRequestSchema.parse(body),
500
501
  }),
502
+ /** `POST /me/order-items/{id}/claims/preview` — 신청 전 예상 환불·차감. 접수하지 않는다(#115) */
503
+ preview: (orderItemId: string, body: CreateClaimRequest) =>
504
+ http.request(
505
+ "POST",
506
+ path`/me/order-items/${orderItemId}/claims/preview`,
507
+ claimPreviewSchema,
508
+ { body: createClaimRequestSchema.parse(body) },
509
+ ),
501
510
  list: (params?: PageParams & { status?: ClaimStatus }) =>
502
511
  http.request("GET", "/me/claims", pageSchema(myClaimSchema), { query: params as Query }),
503
512
  withdraw: (claimId: string) => http.requestVoid("POST", path`/me/claims/${claimId}/withdraw`),
@@ -88,6 +88,23 @@ export const createClaimResultSchema = z.object({
88
88
 
89
89
  export type CreateClaimResult = z.infer<typeof createClaimResultSchema>;
90
90
 
91
+ /**
92
+ * 신청 전 미리보기(#115 G49) — 접수와 같은 판정·계산을 저장 없이 돌린다. 접수할 수 없으면 접수와 같은 오류(409 등)다.
93
+ * 금액은 지금 시점의 예상값이다(차감은 접수 시각의 흐름 식으로 다시 계산한다)
94
+ */
95
+ export const claimPreviewSchema = createClaimResultSchema
96
+ .omit({ claimId: true, claimNo: true, status: true })
97
+ .extend({
98
+ deductAmount: z
99
+ .number()
100
+ .int()
101
+ .describe(
102
+ "흐름이 정한 취소 수수료(체크인·관람일까지 남은 기간 등). 예상 환불액에서 이미 뺐다. 수수료가 없으면 0",
103
+ ),
104
+ });
105
+
106
+ export type ClaimPreview = z.infer<typeof claimPreviewSchema>;
107
+
91
108
  /**
92
109
  * 반품지 (이슈 #30) — 반품·교환 수거가 안내하는 주소다. 상점 주소록의 기본 반품지이거나,
93
110
  * 상품이 반품지를 따로 지정했으면 그 주소다.