@sayren/storefront-sdk 0.20.6 → 0.20.8

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.
@@ -23,6 +23,7 @@ declare const cartItemSchema: z.ZodObject<{
23
23
  fulfillment: z.ZodObject<{
24
24
  type: z.ZodString;
25
25
  requiresShipping: z.ZodBoolean;
26
+ method: z.ZodOptional<z.ZodString>;
26
27
  withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
27
28
  }, z.core.$strip>;
28
29
  purchasable: z.ZodBoolean;
@@ -40,7 +41,17 @@ declare const cartItemSchema: z.ZodObject<{
40
41
  customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
41
42
  label: z.ZodString;
42
43
  value: z.ZodString;
44
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ type: z.ZodOptional<z.ZodString>;
43
46
  }, z.core.$strip>>>>;
47
+ stay: z.ZodOptional<z.ZodObject<{
48
+ checkIn: z.ZodString;
49
+ checkOut: z.ZodString;
50
+ nights: z.ZodArray<z.ZodObject<{
51
+ date: z.ZodString;
52
+ price: z.ZodNumber;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>>;
44
55
  cartItemId: z.ZodString;
45
56
  productId: z.ZodString;
46
57
  productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -58,6 +69,7 @@ declare const cartSchema: z.ZodObject<{
58
69
  fulfillment: z.ZodObject<{
59
70
  type: z.ZodString;
60
71
  requiresShipping: z.ZodBoolean;
72
+ method: z.ZodOptional<z.ZodString>;
61
73
  withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
62
74
  }, z.core.$strip>;
63
75
  purchasable: z.ZodBoolean;
@@ -75,7 +87,17 @@ declare const cartSchema: z.ZodObject<{
75
87
  customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
76
88
  label: z.ZodString;
77
89
  value: z.ZodString;
90
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ type: z.ZodOptional<z.ZodString>;
78
92
  }, z.core.$strip>>>>;
93
+ stay: z.ZodOptional<z.ZodObject<{
94
+ checkIn: z.ZodString;
95
+ checkOut: z.ZodString;
96
+ nights: z.ZodArray<z.ZodObject<{
97
+ date: z.ZodString;
98
+ price: z.ZodNumber;
99
+ }, z.core.$strip>>;
100
+ }, z.core.$strip>>;
79
101
  cartItemId: z.ZodString;
80
102
  productId: z.ZodString;
81
103
  productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -101,6 +123,10 @@ declare const addCartItemRequestSchema: z.ZodObject<{
101
123
  inputId: z.ZodString;
102
124
  value: z.ZodString;
103
125
  }, z.core.$strip>>>;
126
+ stay: z.ZodOptional<z.ZodObject<{
127
+ checkIn: z.ZodString;
128
+ checkOut: z.ZodString;
129
+ }, z.core.$strip>>;
104
130
  productId: z.ZodString;
105
131
  optionId: z.ZodOptional<z.ZodString>;
106
132
  quantity: z.ZodNumber;
@@ -146,9 +172,11 @@ declare const productFulfillmentViewSchema: z.ZodUnion<readonly [z.ZodDiscrimina
146
172
  returnDeliveryFee: z.ZodNumber;
147
173
  exchangeDeliveryFee: z.ZodNumber;
148
174
  }, z.core.$strip>;
175
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
176
  }, z.core.$strip>, z.ZodObject<{
150
177
  type: z.ZodLiteral<"MANUAL">;
151
178
  requiresShipping: z.ZodLiteral<false>;
179
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
152
180
  }, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
153
181
  type: z.ZodString;
154
182
  requiresShipping: z.ZodBoolean;
@@ -162,9 +190,19 @@ type ProductFulfillmentView = z.infer<typeof productFulfillmentViewSchema>;
162
190
  declare const lineFulfillmentSchema: z.ZodObject<{
163
191
  type: z.ZodString;
164
192
  requiresShipping: z.ZodBoolean;
193
+ method: z.ZodOptional<z.ZodString>;
165
194
  withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
166
195
  }, z.core.$strip>;
167
196
  type LineFulfillment = z.infer<typeof lineFulfillmentSchema>;
197
+ /** 픽업 장소 — 방문 수령(`PICKUP`) 주문서에서 고른다 */
198
+ declare const pickupLocationViewSchema: z.ZodObject<{
199
+ locationId: z.ZodString;
200
+ name: z.ZodString;
201
+ address: z.ZodString;
202
+ phone: z.ZodNullable<z.ZodString>;
203
+ hours: z.ZodNullable<z.ZodString>;
204
+ }, z.core.$strip>;
205
+ type PickupLocationView = z.infer<typeof pickupLocationViewSchema>;
168
206
  /**
169
207
  * 내 주문 주문상품의 주문 시점 이행 스냅샷. 상품을 나중에 고쳐도 바뀌지 않는다. 제공 기록(제공 시각·판매자 안내)은
170
208
  * 주문상품의 `fulfillment`다.
@@ -172,9 +210,25 @@ type LineFulfillment = z.infer<typeof lineFulfillmentSchema>;
172
210
  declare const myOrderItemFulfillmentSnapshotSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
173
211
  type: z.ZodLiteral<"SHIPPING">;
174
212
  requiresShipping: z.ZodLiteral<true>;
213
+ method: z.ZodOptional<z.ZodString>;
214
+ pickupLocation: z.ZodOptional<z.ZodObject<{
215
+ locationId: z.ZodString;
216
+ name: z.ZodString;
217
+ address: z.ZodString;
218
+ phone: z.ZodNullable<z.ZodString>;
219
+ hours: z.ZodNullable<z.ZodString>;
220
+ }, z.core.$strip>>;
175
221
  }, z.core.$strip>, z.ZodObject<{
176
222
  type: z.ZodLiteral<"MANUAL">;
177
223
  requiresShipping: z.ZodLiteral<false>;
224
+ method: z.ZodOptional<z.ZodString>;
225
+ pickupLocation: z.ZodOptional<z.ZodObject<{
226
+ locationId: z.ZodString;
227
+ name: z.ZodString;
228
+ address: z.ZodString;
229
+ phone: z.ZodNullable<z.ZodString>;
230
+ hours: z.ZodNullable<z.ZodString>;
231
+ }, z.core.$strip>>;
178
232
  }, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
179
233
  type: z.ZodString;
180
234
  requiresShipping: z.ZodBoolean;
@@ -285,6 +339,7 @@ declare const productDetailSchema: z.ZodObject<{
285
339
  name: z.ZodString;
286
340
  additionalPrice: z.ZodNumber;
287
341
  soldOut: z.ZodBoolean;
342
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
288
343
  }, z.core.$strip>>;
289
344
  addonGroups: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
290
345
  groupId: z.ZodString;
@@ -296,12 +351,16 @@ declare const productDetailSchema: z.ZodObject<{
296
351
  additionalPrice: z.ZodNumber;
297
352
  }, z.core.$strip>>;
298
353
  }, z.core.$strip>>>>;
354
+ inventoryMode: z.ZodOptional<z.ZodString>;
299
355
  customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
300
356
  inputId: z.ZodString;
301
357
  label: z.ZodString;
302
358
  placeholder: z.ZodNullable<z.ZodString>;
303
359
  maxLength: z.ZodNumber;
304
360
  required: z.ZodBoolean;
361
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
362
+ type: z.ZodOptional<z.ZodString>;
363
+ options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
305
364
  }, z.core.$strip>>>>;
306
365
  fulfillment: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
307
366
  type: z.ZodLiteral<"SHIPPING">;
@@ -314,9 +373,11 @@ declare const productDetailSchema: z.ZodObject<{
314
373
  returnDeliveryFee: z.ZodNumber;
315
374
  exchangeDeliveryFee: z.ZodNumber;
316
375
  }, z.core.$strip>;
376
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
317
377
  }, z.core.$strip>, z.ZodObject<{
318
378
  type: z.ZodLiteral<"MANUAL">;
319
379
  requiresShipping: z.ZodLiteral<false>;
380
+ methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
381
  }, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
321
382
  type: z.ZodString;
322
383
  requiresShipping: z.ZodBoolean;
@@ -504,10 +565,21 @@ declare const createCheckoutRequestSchema: z.ZodObject<{
504
565
  inputId: z.ZodString;
505
566
  value: z.ZodString;
506
567
  }, z.core.$strip>>>;
568
+ stay: z.ZodOptional<z.ZodObject<{
569
+ checkIn: z.ZodString;
570
+ checkOut: z.ZodString;
571
+ }, z.core.$strip>>;
507
572
  productId: z.ZodString;
508
573
  optionId: z.ZodOptional<z.ZodString>;
509
574
  quantity: z.ZodNumber;
510
575
  }, z.core.$strip>>;
576
+ fulfillmentMethod: z.ZodOptional<z.ZodEnum<{
577
+ CARRIER: "CARRIER";
578
+ DIRECT: "DIRECT";
579
+ PICKUP: "PICKUP";
580
+ PROVIDED: "PROVIDED";
581
+ }>>;
582
+ pickupLocationId: z.ZodOptional<z.ZodString>;
511
583
  }, z.core.$strip>;
512
584
  type CreateCheckoutRequest = z.infer<typeof createCheckoutRequestSchema>;
513
585
  /** 지역 추가 배송비 구분 — 우편번호로 판정한다 */
@@ -550,6 +622,7 @@ declare const checkoutSessionSchema: z.ZodObject<{
550
622
  fulfillment: z.ZodObject<{
551
623
  type: z.ZodString;
552
624
  requiresShipping: z.ZodBoolean;
625
+ method: z.ZodOptional<z.ZodString>;
553
626
  withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
554
627
  }, z.core.$strip>;
555
628
  optionSelections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -561,7 +634,17 @@ declare const checkoutSessionSchema: z.ZodObject<{
561
634
  customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
562
635
  label: z.ZodString;
563
636
  value: z.ZodString;
637
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
+ type: z.ZodOptional<z.ZodString>;
564
639
  }, z.core.$strip>>>>;
640
+ stay: z.ZodOptional<z.ZodObject<{
641
+ checkIn: z.ZodString;
642
+ checkOut: z.ZodString;
643
+ nights: z.ZodArray<z.ZodObject<{
644
+ date: z.ZodString;
645
+ price: z.ZodNumber;
646
+ }, z.core.$strip>>;
647
+ }, z.core.$strip>>;
565
648
  lineId: z.ZodOptional<z.ZodString>;
566
649
  productId: z.ZodString;
567
650
  productName: z.ZodString;
@@ -1534,6 +1617,7 @@ declare const myCouponSchema: z.ZodObject<{
1534
1617
  validUntil: z.ZodNullable<z.ZodString>;
1535
1618
  usedOrderId: z.ZodNullable<z.ZodString>;
1536
1619
  issuedAt: z.ZodString;
1620
+ source: z.ZodOptional<z.ZodString>;
1537
1621
  }, z.core.$strip>;
1538
1622
  type MyCoupon = z.infer<typeof myCouponSchema>;
1539
1623
  declare const myCouponListQuerySchema: z.ZodObject<{
@@ -1543,6 +1627,55 @@ declare const myCouponListQuerySchema: z.ZodObject<{
1543
1627
  used: "used";
1544
1628
  }>>;
1545
1629
  }, z.core.$strip>;
1630
+ /**
1631
+ * 받을 수 있는 쿠폰 (이슈 #110) — `GET /coupons`. 셀러가 「다운로드」 방식으로 만든 쿠폰 중 지금 받을 수 있는 것
1632
+ * (사용 중, 기간 안, 총 발급 한도가 남음)이다. 받은 쿠폰은 내 쿠폰(`GET /me/coupons`)과 주문서의 적용 가능 쿠폰에 그대로 뜬다.
1633
+ */
1634
+ declare const storefrontCouponTargetSchema: z.ZodObject<{
1635
+ allProducts: z.ZodBoolean;
1636
+ includeProductIds: z.ZodArray<z.ZodString>;
1637
+ includeCategoryIds: z.ZodArray<z.ZodString>;
1638
+ excludeProductIds: z.ZodArray<z.ZodString>;
1639
+ excludeCategoryIds: z.ZodArray<z.ZodString>;
1640
+ }, z.core.$strip>;
1641
+ declare const storefrontCouponSchema: z.ZodObject<{
1642
+ couponId: z.ZodString;
1643
+ name: z.ZodString;
1644
+ description: z.ZodNullable<z.ZodString>;
1645
+ kind: z.ZodString;
1646
+ benefit: z.ZodObject<{
1647
+ type: z.ZodString;
1648
+ value: z.ZodNumber;
1649
+ maxDiscountAmount: z.ZodNullable<z.ZodNumber>;
1650
+ }, z.core.$strip>;
1651
+ minOrderAmount: z.ZodNumber;
1652
+ stackWithInstantDiscount: z.ZodBoolean;
1653
+ target: z.ZodObject<{
1654
+ allProducts: z.ZodBoolean;
1655
+ includeProductIds: z.ZodArray<z.ZodString>;
1656
+ includeCategoryIds: z.ZodArray<z.ZodString>;
1657
+ excludeProductIds: z.ZodArray<z.ZodString>;
1658
+ excludeCategoryIds: z.ZodArray<z.ZodString>;
1659
+ }, z.core.$strip>;
1660
+ startsAt: z.ZodNullable<z.ZodString>;
1661
+ endsAt: z.ZodNullable<z.ZodString>;
1662
+ validDaysAfterIssue: z.ZodNullable<z.ZodNumber>;
1663
+ perMemberIssueLimit: z.ZodNumber;
1664
+ loginRequired: z.ZodBoolean;
1665
+ downloaded: z.ZodNullable<z.ZodBoolean>;
1666
+ downloadable: z.ZodNullable<z.ZodBoolean>;
1667
+ }, z.core.$strip>;
1668
+ type StorefrontCoupon = z.infer<typeof storefrontCouponSchema>;
1669
+ declare const storefrontCouponListQuerySchema: z.ZodObject<{
1670
+ productId: z.ZodOptional<z.ZodString>;
1671
+ page: z.ZodOptional<z.ZodString>;
1672
+ size: z.ZodOptional<z.ZodString>;
1673
+ }, z.core.$strip>;
1674
+ interface StorefrontCouponListParams {
1675
+ productId?: string;
1676
+ page?: number;
1677
+ size?: number;
1678
+ }
1546
1679
  //#endregion
1547
1680
  //#region src/schemas/customer-inquiry.d.ts
1548
1681
  declare const customerInquiryCategorySchema: z.ZodEnum<{
@@ -2122,6 +2255,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2122
2255
  name: string;
2123
2256
  additionalPrice: number;
2124
2257
  soldOut: boolean;
2258
+ attributes?: Record<string, string> | undefined;
2125
2259
  }[];
2126
2260
  addonGroups: {
2127
2261
  groupId: string;
@@ -2139,6 +2273,9 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2139
2273
  placeholder: string | null;
2140
2274
  maxLength: number;
2141
2275
  required: boolean;
2276
+ key?: string | null | undefined;
2277
+ type?: string | undefined;
2278
+ options?: string[] | null | undefined;
2142
2279
  }[];
2143
2280
  fulfillment: UnknownFulfillmentView | {
2144
2281
  type: "SHIPPING";
@@ -2151,9 +2288,11 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2151
2288
  returnDeliveryFee: number;
2152
2289
  exchangeDeliveryFee: number;
2153
2290
  };
2291
+ methods?: string[] | undefined;
2154
2292
  } | {
2155
2293
  type: "MANUAL";
2156
2294
  requiresShipping: false;
2295
+ methods?: string[] | undefined;
2157
2296
  };
2158
2297
  returnPeriodDays: number;
2159
2298
  purchasePoint: number | null;
@@ -2161,6 +2300,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2161
2300
  categoryId: string;
2162
2301
  name: string;
2163
2302
  }[];
2303
+ inventoryMode?: string | undefined;
2164
2304
  }>;
2165
2305
  /** 상품 리뷰 목록 — `variantId`로 옵션(조합)별 리뷰만 받는다(상품 상세 `variants[].variantId`) */
2166
2306
  listProductReviews: (productId: string, params?: ProductReviewParams) => Promise<{
@@ -2210,6 +2350,19 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2210
2350
  category: "PRODUCT" | "DELIVERY" | "RETURN" | "EXCHANGE" | "ETC";
2211
2351
  }[];
2212
2352
  }>;
2353
+ /**
2354
+ * `GET /products/{productId}/calendar` — 날짜별 재고 상품(상세 `inventoryMode: "DATED"`, 이슈 #118)의 날마다 예약 가능 여부·가격.
2355
+ * 기간은 포함이고 최대 120일이다. `variantId`를 생략하면 기본 조합이다
2356
+ */
2357
+ getProductCalendar: (productId: string, params: {
2358
+ from: string;
2359
+ to: string;
2360
+ variantId?: string;
2361
+ }) => Promise<{
2362
+ date: string;
2363
+ available: boolean;
2364
+ price: number;
2365
+ }[]>;
2213
2366
  createInquiry: (productId: string, body: CreateInquiryRequest) => Promise<void>;
2214
2367
  /** 노출 중인 컬렉션(노출 켜짐 + 기간 안) — 셀러가 정한 순서 */
2215
2368
  listCollections: (params?: PageParams) => Promise<{
@@ -2227,6 +2380,43 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2227
2380
  endsAt: string | null;
2228
2381
  }[];
2229
2382
  }>;
2383
+ /**
2384
+ * `GET /coupons` — 지금 받을 수 있는 쿠폰(이슈 #110). `productId`를 주면 그 상품에 쓸 수 있는 쿠폰만 싣는다.
2385
+ * 회원 토큰이 있으면 항목마다 `downloaded`·`downloadable`을 싣는다. 받기는 `me.downloadCoupon`이다
2386
+ */
2387
+ listCoupons: (params?: StorefrontCouponListParams) => Promise<{
2388
+ page: number;
2389
+ size: number;
2390
+ totalElements: number;
2391
+ totalPages: number;
2392
+ contents: {
2393
+ couponId: string;
2394
+ name: string;
2395
+ description: string | null;
2396
+ kind: string;
2397
+ benefit: {
2398
+ type: string;
2399
+ value: number;
2400
+ maxDiscountAmount: number | null;
2401
+ };
2402
+ minOrderAmount: number;
2403
+ stackWithInstantDiscount: boolean;
2404
+ target: {
2405
+ allProducts: boolean;
2406
+ includeProductIds: string[];
2407
+ includeCategoryIds: string[];
2408
+ excludeProductIds: string[];
2409
+ excludeCategoryIds: string[];
2410
+ };
2411
+ startsAt: string | null;
2412
+ endsAt: string | null;
2413
+ validDaysAfterIssue: number | null;
2414
+ perMemberIssueLimit: number;
2415
+ loginRequired: boolean;
2416
+ downloaded: boolean | null;
2417
+ downloadable: boolean | null;
2418
+ }[];
2419
+ }>;
2230
2420
  /** 숨김·기간 밖·없음은 모두 404 `COLLECTION_NOT_FOUND` */
2231
2421
  getCollection: (slug: string) => Promise<{
2232
2422
  collectionId: string;
@@ -2267,6 +2457,16 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2267
2457
  }[];
2268
2458
  }>;
2269
2459
  };
2460
+ /** `GET /pickup-locations` — 방문 수령 장소(이슈 #115). 주문서의 `pickupLocationId`로 고른다 */
2461
+ pickupLocations: {
2462
+ list: () => Promise<{
2463
+ locationId: string;
2464
+ name: string;
2465
+ address: string;
2466
+ phone: string | null;
2467
+ hours: string | null;
2468
+ }[]>;
2469
+ };
2270
2470
  cart: {
2271
2471
  get: () => Promise<{
2272
2472
  items: {
@@ -2276,6 +2476,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2276
2476
  fulfillment: {
2277
2477
  type: string;
2278
2478
  requiresShipping: boolean;
2479
+ method?: string | undefined;
2279
2480
  withdrawalRestricted?: boolean | undefined;
2280
2481
  };
2281
2482
  purchasable: boolean;
@@ -2289,6 +2490,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2289
2490
  customInputs: {
2290
2491
  label: string;
2291
2492
  value: string;
2493
+ key?: string | null | undefined;
2494
+ type?: string | undefined;
2292
2495
  }[];
2293
2496
  cartItemId: string;
2294
2497
  productId: string;
@@ -2297,6 +2500,14 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2297
2500
  thumbnailUrl: string | null;
2298
2501
  optionId: string | null;
2299
2502
  optionName: string | null;
2503
+ stay?: {
2504
+ checkIn: string;
2505
+ checkOut: string;
2506
+ nights: {
2507
+ date: string;
2508
+ price: number;
2509
+ }[];
2510
+ } | undefined;
2300
2511
  }[];
2301
2512
  summary: {
2302
2513
  productAmount: number;
@@ -2313,6 +2524,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2313
2524
  fulfillment: {
2314
2525
  type: string;
2315
2526
  requiresShipping: boolean;
2527
+ method?: string | undefined;
2316
2528
  withdrawalRestricted?: boolean | undefined;
2317
2529
  };
2318
2530
  purchasable: boolean;
@@ -2326,6 +2538,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2326
2538
  customInputs: {
2327
2539
  label: string;
2328
2540
  value: string;
2541
+ key?: string | null | undefined;
2542
+ type?: string | undefined;
2329
2543
  }[];
2330
2544
  cartItemId: string;
2331
2545
  productId: string;
@@ -2334,6 +2548,14 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2334
2548
  thumbnailUrl: string | null;
2335
2549
  optionId: string | null;
2336
2550
  optionName: string | null;
2551
+ stay?: {
2552
+ checkIn: string;
2553
+ checkOut: string;
2554
+ nights: {
2555
+ date: string;
2556
+ price: number;
2557
+ }[];
2558
+ } | undefined;
2337
2559
  }[];
2338
2560
  summary: {
2339
2561
  productAmount: number;
@@ -2350,6 +2572,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2350
2572
  fulfillment: {
2351
2573
  type: string;
2352
2574
  requiresShipping: boolean;
2575
+ method?: string | undefined;
2353
2576
  withdrawalRestricted?: boolean | undefined;
2354
2577
  };
2355
2578
  purchasable: boolean;
@@ -2363,6 +2586,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2363
2586
  customInputs: {
2364
2587
  label: string;
2365
2588
  value: string;
2589
+ key?: string | null | undefined;
2590
+ type?: string | undefined;
2366
2591
  }[];
2367
2592
  cartItemId: string;
2368
2593
  productId: string;
@@ -2371,6 +2596,14 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2371
2596
  thumbnailUrl: string | null;
2372
2597
  optionId: string | null;
2373
2598
  optionName: string | null;
2599
+ stay?: {
2600
+ checkIn: string;
2601
+ checkOut: string;
2602
+ nights: {
2603
+ date: string;
2604
+ price: number;
2605
+ }[];
2606
+ } | undefined;
2374
2607
  }[];
2375
2608
  summary: {
2376
2609
  productAmount: number;
@@ -2391,6 +2624,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2391
2624
  fulfillment: {
2392
2625
  type: string;
2393
2626
  requiresShipping: boolean;
2627
+ method?: string | undefined;
2394
2628
  withdrawalRestricted?: boolean | undefined;
2395
2629
  };
2396
2630
  optionSelections: {
@@ -2402,11 +2636,21 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2402
2636
  customInputs: {
2403
2637
  label: string;
2404
2638
  value: string;
2639
+ key?: string | null | undefined;
2640
+ type?: string | undefined;
2405
2641
  }[];
2406
2642
  productId: string;
2407
2643
  productName: string;
2408
2644
  optionId: string | null;
2409
2645
  optionName: string | null;
2646
+ stay?: {
2647
+ checkIn: string;
2648
+ checkOut: string;
2649
+ nights: {
2650
+ date: string;
2651
+ price: number;
2652
+ }[];
2653
+ } | undefined;
2410
2654
  lineId?: string | undefined;
2411
2655
  thumbnailUrl?: string | null | undefined;
2412
2656
  }[];
@@ -2707,9 +2951,25 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2707
2951
  fulfillmentSnapshot: UnknownFulfillmentView | {
2708
2952
  type: "SHIPPING";
2709
2953
  requiresShipping: true;
2954
+ method?: string | undefined;
2955
+ pickupLocation?: {
2956
+ locationId: string;
2957
+ name: string;
2958
+ address: string;
2959
+ phone: string | null;
2960
+ hours: string | null;
2961
+ } | undefined;
2710
2962
  } | {
2711
2963
  type: "MANUAL";
2712
2964
  requiresShipping: false;
2965
+ method?: string | undefined;
2966
+ pickupLocation?: {
2967
+ locationId: string;
2968
+ name: string;
2969
+ address: string;
2970
+ phone: string | null;
2971
+ hours: string | null;
2972
+ } | undefined;
2713
2973
  };
2714
2974
  fulfillment: {
2715
2975
  status: string;
@@ -2728,6 +2988,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2728
2988
  customInputs: {
2729
2989
  label: string;
2730
2990
  value: string;
2991
+ key?: string | null | undefined;
2992
+ type?: string | undefined;
2731
2993
  }[];
2732
2994
  orderItemId: string;
2733
2995
  orderItemNo: string | null;
@@ -2735,6 +2997,47 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2735
2997
  productName: string;
2736
2998
  thumbnailUrl: string | null;
2737
2999
  optionName: string | null;
3000
+ flowState?: {
3001
+ key: string;
3002
+ label: string;
3003
+ enteredAt: string;
3004
+ fields: Record<string, string | number | boolean | string[] | null>;
3005
+ coreStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
3006
+ message?: string | undefined;
3007
+ deadlineAt?: string | undefined;
3008
+ attachments?: string[] | undefined;
3009
+ progress?: boolean | undefined;
3010
+ } | undefined;
3011
+ actions?: {
3012
+ key: string;
3013
+ label: string;
3014
+ mode: "INSTANT" | "REQUEST" | "VIEW";
3015
+ enabled: boolean;
3016
+ disabled?: {
3017
+ reason: string;
3018
+ message?: string | undefined;
3019
+ } | undefined;
3020
+ availableUntil?: string | undefined;
3021
+ subflow?: string | undefined;
3022
+ input?: {
3023
+ key: string;
3024
+ type: string;
3025
+ required: boolean;
3026
+ label: string;
3027
+ maxLength?: number | undefined;
3028
+ maxFiles?: number | undefined;
3029
+ options?: (string | number)[] | undefined;
3030
+ }[] | undefined;
3031
+ partialQuantity?: boolean | "UNIT" | undefined;
3032
+ }[] | undefined;
3033
+ stay?: {
3034
+ checkIn: string;
3035
+ checkOut: string;
3036
+ nights: {
3037
+ date: string;
3038
+ price: number;
3039
+ }[];
3040
+ } | undefined;
2738
3041
  }[];
2739
3042
  requiresShipping: boolean;
2740
3043
  shippingAddress: {
@@ -2780,9 +3083,25 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2780
3083
  fulfillmentSnapshot: UnknownFulfillmentView | {
2781
3084
  type: "SHIPPING";
2782
3085
  requiresShipping: true;
3086
+ method?: string | undefined;
3087
+ pickupLocation?: {
3088
+ locationId: string;
3089
+ name: string;
3090
+ address: string;
3091
+ phone: string | null;
3092
+ hours: string | null;
3093
+ } | undefined;
2783
3094
  } | {
2784
3095
  type: "MANUAL";
2785
3096
  requiresShipping: false;
3097
+ method?: string | undefined;
3098
+ pickupLocation?: {
3099
+ locationId: string;
3100
+ name: string;
3101
+ address: string;
3102
+ phone: string | null;
3103
+ hours: string | null;
3104
+ } | undefined;
2786
3105
  };
2787
3106
  fulfillment: {
2788
3107
  status: string;
@@ -2801,6 +3120,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2801
3120
  customInputs: {
2802
3121
  label: string;
2803
3122
  value: string;
3123
+ key?: string | null | undefined;
3124
+ type?: string | undefined;
2804
3125
  }[];
2805
3126
  orderItemId: string;
2806
3127
  orderItemNo: string | null;
@@ -2808,6 +3129,47 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2808
3129
  productName: string;
2809
3130
  thumbnailUrl: string | null;
2810
3131
  optionName: string | null;
3132
+ flowState?: {
3133
+ key: string;
3134
+ label: string;
3135
+ enteredAt: string;
3136
+ fields: Record<string, string | number | boolean | string[] | null>;
3137
+ coreStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
3138
+ message?: string | undefined;
3139
+ deadlineAt?: string | undefined;
3140
+ attachments?: string[] | undefined;
3141
+ progress?: boolean | undefined;
3142
+ } | undefined;
3143
+ actions?: {
3144
+ key: string;
3145
+ label: string;
3146
+ mode: "INSTANT" | "REQUEST" | "VIEW";
3147
+ enabled: boolean;
3148
+ disabled?: {
3149
+ reason: string;
3150
+ message?: string | undefined;
3151
+ } | undefined;
3152
+ availableUntil?: string | undefined;
3153
+ subflow?: string | undefined;
3154
+ input?: {
3155
+ key: string;
3156
+ type: string;
3157
+ required: boolean;
3158
+ label: string;
3159
+ maxLength?: number | undefined;
3160
+ maxFiles?: number | undefined;
3161
+ options?: (string | number)[] | undefined;
3162
+ }[] | undefined;
3163
+ partialQuantity?: boolean | "UNIT" | undefined;
3164
+ }[] | undefined;
3165
+ stay?: {
3166
+ checkIn: string;
3167
+ checkOut: string;
3168
+ nights: {
3169
+ date: string;
3170
+ price: number;
3171
+ }[];
3172
+ } | undefined;
2811
3173
  }[];
2812
3174
  requiresShipping: boolean;
2813
3175
  shippingAddress: {
@@ -2864,9 +3226,25 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2864
3226
  fulfillmentSnapshot: UnknownFulfillmentView | {
2865
3227
  type: "SHIPPING";
2866
3228
  requiresShipping: true;
3229
+ method?: string | undefined;
3230
+ pickupLocation?: {
3231
+ locationId: string;
3232
+ name: string;
3233
+ address: string;
3234
+ phone: string | null;
3235
+ hours: string | null;
3236
+ } | undefined;
2867
3237
  } | {
2868
3238
  type: "MANUAL";
2869
3239
  requiresShipping: false;
3240
+ method?: string | undefined;
3241
+ pickupLocation?: {
3242
+ locationId: string;
3243
+ name: string;
3244
+ address: string;
3245
+ phone: string | null;
3246
+ hours: string | null;
3247
+ } | undefined;
2870
3248
  };
2871
3249
  fulfillment: {
2872
3250
  status: string;
@@ -2885,6 +3263,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2885
3263
  customInputs: {
2886
3264
  label: string;
2887
3265
  value: string;
3266
+ key?: string | null | undefined;
3267
+ type?: string | undefined;
2888
3268
  }[];
2889
3269
  orderItemId: string;
2890
3270
  orderItemNo: string | null;
@@ -2892,6 +3272,47 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2892
3272
  productName: string;
2893
3273
  thumbnailUrl: string | null;
2894
3274
  optionName: string | null;
3275
+ flowState?: {
3276
+ key: string;
3277
+ label: string;
3278
+ enteredAt: string;
3279
+ fields: Record<string, string | number | boolean | string[] | null>;
3280
+ coreStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
3281
+ message?: string | undefined;
3282
+ deadlineAt?: string | undefined;
3283
+ attachments?: string[] | undefined;
3284
+ progress?: boolean | undefined;
3285
+ } | undefined;
3286
+ actions?: {
3287
+ key: string;
3288
+ label: string;
3289
+ mode: "INSTANT" | "REQUEST" | "VIEW";
3290
+ enabled: boolean;
3291
+ disabled?: {
3292
+ reason: string;
3293
+ message?: string | undefined;
3294
+ } | undefined;
3295
+ availableUntil?: string | undefined;
3296
+ subflow?: string | undefined;
3297
+ input?: {
3298
+ key: string;
3299
+ type: string;
3300
+ required: boolean;
3301
+ label: string;
3302
+ maxLength?: number | undefined;
3303
+ maxFiles?: number | undefined;
3304
+ options?: (string | number)[] | undefined;
3305
+ }[] | undefined;
3306
+ partialQuantity?: boolean | "UNIT" | undefined;
3307
+ }[] | undefined;
3308
+ stay?: {
3309
+ checkIn: string;
3310
+ checkOut: string;
3311
+ nights: {
3312
+ date: string;
3313
+ price: number;
3314
+ }[];
3315
+ } | undefined;
2895
3316
  }[];
2896
3317
  requiresShipping: boolean;
2897
3318
  shippingAddress: {
@@ -2936,6 +3357,97 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
2936
3357
  trackingCheckedAt: string | null;
2937
3358
  }>;
2938
3359
  decidePurchase: (orderItemId: string) => Promise<void>;
3360
+ /**
3361
+ * `POST /me/order-items/{id}/actions/{key}` — 주문상품 `actions`에 켜진 행동을 실행한다(#115, 시안 승인 등).
3362
+ * 응답의 `flowState`·`actions`로 화면을 바로 바꾼다. 에러: 409 `ACTION_NOT_AVAILABLE`(`details.reason`)
3363
+ */
3364
+ act: (orderItemId: string, key: string, input?: Record<string, unknown>) => Promise<{
3365
+ status: "COMPLETED";
3366
+ flowState: {
3367
+ key: string;
3368
+ label: string;
3369
+ enteredAt: string;
3370
+ fields: Record<string, string | number | boolean | string[] | null>;
3371
+ coreStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
3372
+ message?: string | undefined;
3373
+ deadlineAt?: string | undefined;
3374
+ attachments?: string[] | undefined;
3375
+ progress?: boolean | undefined;
3376
+ };
3377
+ actions: {
3378
+ key: string;
3379
+ label: string;
3380
+ mode: "INSTANT" | "REQUEST" | "VIEW";
3381
+ enabled: boolean;
3382
+ disabled?: {
3383
+ reason: string;
3384
+ message?: string | undefined;
3385
+ } | undefined;
3386
+ availableUntil?: string | undefined;
3387
+ subflow?: string | undefined;
3388
+ input?: {
3389
+ key: string;
3390
+ type: string;
3391
+ required: boolean;
3392
+ label: string;
3393
+ maxLength?: number | undefined;
3394
+ maxFiles?: number | undefined;
3395
+ options?: (string | number)[] | undefined;
3396
+ }[] | undefined;
3397
+ partialQuantity?: boolean | "UNIT" | undefined;
3398
+ }[];
3399
+ affectedOrderItemIds: string[];
3400
+ claim?: {
3401
+ claimId: string;
3402
+ claimNo: string | null;
3403
+ } | undefined;
3404
+ }>;
3405
+ /** 비회원 행동 — 비회원 주문 조회와 같은 연락처·비밀번호 확인과 시도 한도를 지난다 */
3406
+ guestAct: (orderId: string, orderItemId: string, key: string, body: {
3407
+ phone: string;
3408
+ orderPassword: string;
3409
+ input?: Record<string, unknown>;
3410
+ }) => Promise<{
3411
+ status: "COMPLETED";
3412
+ flowState: {
3413
+ key: string;
3414
+ label: string;
3415
+ enteredAt: string;
3416
+ fields: Record<string, string | number | boolean | string[] | null>;
3417
+ coreStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
3418
+ message?: string | undefined;
3419
+ deadlineAt?: string | undefined;
3420
+ attachments?: string[] | undefined;
3421
+ progress?: boolean | undefined;
3422
+ };
3423
+ actions: {
3424
+ key: string;
3425
+ label: string;
3426
+ mode: "INSTANT" | "REQUEST" | "VIEW";
3427
+ enabled: boolean;
3428
+ disabled?: {
3429
+ reason: string;
3430
+ message?: string | undefined;
3431
+ } | undefined;
3432
+ availableUntil?: string | undefined;
3433
+ subflow?: string | undefined;
3434
+ input?: {
3435
+ key: string;
3436
+ type: string;
3437
+ required: boolean;
3438
+ label: string;
3439
+ maxLength?: number | undefined;
3440
+ maxFiles?: number | undefined;
3441
+ options?: (string | number)[] | undefined;
3442
+ }[] | undefined;
3443
+ partialQuantity?: boolean | "UNIT" | undefined;
3444
+ }[];
3445
+ affectedOrderItemIds: string[];
3446
+ claim?: {
3447
+ claimId: string;
3448
+ claimNo: string | null;
3449
+ } | undefined;
3450
+ }>;
2939
3451
  };
2940
3452
  myClaims: {
2941
3453
  create: (orderItemId: string, body: CreateClaimRequest) => Promise<{
@@ -3213,7 +3725,34 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
3213
3725
  validUntil: string | null;
3214
3726
  usedOrderId: string | null;
3215
3727
  issuedAt: string;
3728
+ source?: string | undefined;
3216
3729
  }[]>;
3730
+ /**
3731
+ * `POST /coupons/{couponId}/download` — 쿠폰 받기(이슈 #110, 회원 전용). 받은 쿠폰 한 장(내 쿠폰 항목)을 돌려준다.
3732
+ *
3733
+ * 에러(`ApiError.code`): 401 `UNAUTHORIZED`, 404 `COUPON_NOT_FOUND`(없음·중지·종료·다운로드 쿠폰 아님),
3734
+ * 409 `COUPON_ALREADY_DOWNLOADED`(1인 장수를 다 받음)·`COUPON_SOLD_OUT`(총 발급 한도 소진)·`COUPON_NOT_STARTED`·
3735
+ * `COUPON_EXPIRED`·`COUPONS_UNAVAILABLE`, 429 `TOO_MANY_REQUESTS`
3736
+ */
3737
+ downloadCoupon: (couponId: string) => Promise<{
3738
+ issueId: string;
3739
+ couponId: string;
3740
+ name: string;
3741
+ description: string | null;
3742
+ kind: string;
3743
+ benefit: {
3744
+ type: string;
3745
+ value: number;
3746
+ maxDiscountAmount: number | null;
3747
+ };
3748
+ minOrderAmount: number;
3749
+ status: string;
3750
+ validFrom: string;
3751
+ validUntil: string | null;
3752
+ usedOrderId: string | null;
3753
+ issuedAt: string;
3754
+ source?: string | undefined;
3755
+ }>;
3217
3756
  customerInquiries: {
3218
3757
  create: (body: CreateCustomerInquiryRequest) => Promise<{
3219
3758
  inquiryId: string;
@@ -3385,6 +3924,139 @@ type AnalyticsBatch = z.infer<typeof analyticsBatchSchema>;
3385
3924
  /** 배치 본문 상한(바이트) — 서버가 넘는 요청을 거부한다 */
3386
3925
  declare const ANALYTICS_MAX_BATCH_BYTES: number;
3387
3926
  //#endregion
3927
+ //#region src/schemas/commerce-flow.d.ts
3928
+ /**
3929
+ * 커머스 플로우(이슈 #115) — 구매자가 보는 주문상품의 지금 상태와 할 수 있는 행동. 화면은 이 값만 그리고 상태 이름(`key`)으로
3930
+ * 분기하지 않는다. 행동 키·필드 키·꺼진 이유는 열린 문자열이다(모르는 값도 파싱한다). 공개 상태(`coreStatus`)만 닫힌 값이다.
3931
+ */
3932
+ declare const flowInputFieldSchema: z.ZodObject<{
3933
+ key: z.ZodString;
3934
+ type: z.ZodString;
3935
+ required: z.ZodBoolean;
3936
+ label: z.ZodString;
3937
+ maxLength: z.ZodOptional<z.ZodNumber>;
3938
+ maxFiles: z.ZodOptional<z.ZodNumber>;
3939
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
3940
+ }, z.core.$strip>;
3941
+ type FlowInputField = z.infer<typeof flowInputFieldSchema>;
3942
+ declare const flowActionSchema: z.ZodObject<{
3943
+ key: z.ZodString;
3944
+ label: z.ZodString;
3945
+ mode: z.ZodEnum<{
3946
+ INSTANT: "INSTANT";
3947
+ REQUEST: "REQUEST";
3948
+ VIEW: "VIEW";
3949
+ }>;
3950
+ enabled: z.ZodBoolean;
3951
+ disabled: z.ZodOptional<z.ZodObject<{
3952
+ reason: z.ZodString;
3953
+ message: z.ZodOptional<z.ZodString>;
3954
+ }, z.core.$strip>>;
3955
+ availableUntil: z.ZodOptional<z.ZodString>;
3956
+ subflow: z.ZodOptional<z.ZodString>;
3957
+ input: z.ZodOptional<z.ZodArray<z.ZodObject<{
3958
+ key: z.ZodString;
3959
+ type: z.ZodString;
3960
+ required: z.ZodBoolean;
3961
+ label: z.ZodString;
3962
+ maxLength: z.ZodOptional<z.ZodNumber>;
3963
+ maxFiles: z.ZodOptional<z.ZodNumber>;
3964
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
3965
+ }, z.core.$strip>>>;
3966
+ partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
3967
+ }, z.core.$strip>;
3968
+ type FlowAction = z.infer<typeof flowActionSchema>;
3969
+ /** 커스텀 필드 값 — 문자열(날짜·일시는 ISO 8601)·숫자·참거짓·null, 수량 단위 필드는 문자열 배열 */
3970
+ declare const flowFieldValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>;
3971
+ type FlowFieldValue = z.infer<typeof flowFieldValueSchema>;
3972
+ declare const flowStateSchema: z.ZodObject<{
3973
+ key: z.ZodString;
3974
+ label: z.ZodString;
3975
+ coreStatus: z.ZodOptional<z.ZodEnum<{
3976
+ CANCELED: "CANCELED";
3977
+ PAYMENT_WAITING: "PAYMENT_WAITING";
3978
+ PAID: "PAID";
3979
+ CONFIRMED: "CONFIRMED";
3980
+ DISPATCHED: "DISPATCHED";
3981
+ DELIVERING: "DELIVERING";
3982
+ DELIVERED: "DELIVERED";
3983
+ PURCHASE_DECIDED: "PURCHASE_DECIDED";
3984
+ }>>;
3985
+ message: z.ZodOptional<z.ZodString>;
3986
+ enteredAt: z.ZodString;
3987
+ deadlineAt: z.ZodOptional<z.ZodString>;
3988
+ attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
3989
+ progress: z.ZodOptional<z.ZodBoolean>;
3990
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
3991
+ }, z.core.$strip>;
3992
+ type FlowState = z.infer<typeof flowStateSchema>;
3993
+ declare const flowActionRequestSchema: z.ZodObject<{
3994
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3995
+ }, z.core.$strip>;
3996
+ type FlowActionRequest = z.infer<typeof flowActionRequestSchema>;
3997
+ /** 비회원 행동 — 비회원 주문 조회와 같은 확인(연락처·주문 조회 비밀번호)을 함께 보낸다 */
3998
+ declare const guestFlowActionRequestSchema: z.ZodObject<{
3999
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4000
+ phone: z.ZodString;
4001
+ orderPassword: z.ZodString;
4002
+ }, z.core.$strip>;
4003
+ type GuestFlowActionRequest = z.infer<typeof guestFlowActionRequestSchema>;
4004
+ declare const flowActionResultSchema: z.ZodObject<{
4005
+ status: z.ZodLiteral<"COMPLETED">;
4006
+ flowState: z.ZodObject<{
4007
+ key: z.ZodString;
4008
+ label: z.ZodString;
4009
+ coreStatus: z.ZodOptional<z.ZodEnum<{
4010
+ CANCELED: "CANCELED";
4011
+ PAYMENT_WAITING: "PAYMENT_WAITING";
4012
+ PAID: "PAID";
4013
+ CONFIRMED: "CONFIRMED";
4014
+ DISPATCHED: "DISPATCHED";
4015
+ DELIVERING: "DELIVERING";
4016
+ DELIVERED: "DELIVERED";
4017
+ PURCHASE_DECIDED: "PURCHASE_DECIDED";
4018
+ }>>;
4019
+ message: z.ZodOptional<z.ZodString>;
4020
+ enteredAt: z.ZodString;
4021
+ deadlineAt: z.ZodOptional<z.ZodString>;
4022
+ attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
4023
+ progress: z.ZodOptional<z.ZodBoolean>;
4024
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
4025
+ }, z.core.$strip>;
4026
+ actions: z.ZodArray<z.ZodObject<{
4027
+ key: z.ZodString;
4028
+ label: z.ZodString;
4029
+ mode: z.ZodEnum<{
4030
+ INSTANT: "INSTANT";
4031
+ REQUEST: "REQUEST";
4032
+ VIEW: "VIEW";
4033
+ }>;
4034
+ enabled: z.ZodBoolean;
4035
+ disabled: z.ZodOptional<z.ZodObject<{
4036
+ reason: z.ZodString;
4037
+ message: z.ZodOptional<z.ZodString>;
4038
+ }, z.core.$strip>>;
4039
+ availableUntil: z.ZodOptional<z.ZodString>;
4040
+ subflow: z.ZodOptional<z.ZodString>;
4041
+ input: z.ZodOptional<z.ZodArray<z.ZodObject<{
4042
+ key: z.ZodString;
4043
+ type: z.ZodString;
4044
+ required: z.ZodBoolean;
4045
+ label: z.ZodString;
4046
+ maxLength: z.ZodOptional<z.ZodNumber>;
4047
+ maxFiles: z.ZodOptional<z.ZodNumber>;
4048
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
4049
+ }, z.core.$strip>>>;
4050
+ partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
4051
+ }, z.core.$strip>>;
4052
+ affectedOrderItemIds: z.ZodArray<z.ZodString>;
4053
+ claim: z.ZodOptional<z.ZodObject<{
4054
+ claimId: z.ZodString;
4055
+ claimNo: z.ZodNullable<z.ZodString>;
4056
+ }, z.core.$strip>>;
4057
+ }, z.core.$strip>;
4058
+ type FlowActionResult = z.infer<typeof flowActionResultSchema>;
4059
+ //#endregion
3388
4060
  //#region src/schemas/commerce-number.d.ts
3389
4061
  /**
3390
4062
  * 국내 쇼핑몰 번호 체계(이슈 #107) — 공개 ID(`ord_…` 등)와 따로 싣는 숫자 번호의 표기·필드.
@@ -3422,9 +4094,25 @@ declare const myOrderItemSchema: z.ZodObject<{
3422
4094
  fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
3423
4095
  type: z.ZodLiteral<"SHIPPING">;
3424
4096
  requiresShipping: z.ZodLiteral<true>;
4097
+ method: z.ZodOptional<z.ZodString>;
4098
+ pickupLocation: z.ZodOptional<z.ZodObject<{
4099
+ locationId: z.ZodString;
4100
+ name: z.ZodString;
4101
+ address: z.ZodString;
4102
+ phone: z.ZodNullable<z.ZodString>;
4103
+ hours: z.ZodNullable<z.ZodString>;
4104
+ }, z.core.$strip>>;
3425
4105
  }, z.core.$strip>, z.ZodObject<{
3426
4106
  type: z.ZodLiteral<"MANUAL">;
3427
4107
  requiresShipping: z.ZodLiteral<false>;
4108
+ method: z.ZodOptional<z.ZodString>;
4109
+ pickupLocation: z.ZodOptional<z.ZodObject<{
4110
+ locationId: z.ZodString;
4111
+ name: z.ZodString;
4112
+ address: z.ZodString;
4113
+ phone: z.ZodNullable<z.ZodString>;
4114
+ hours: z.ZodNullable<z.ZodString>;
4115
+ }, z.core.$strip>>;
3428
4116
  }, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
3429
4117
  type: z.ZodString;
3430
4118
  requiresShipping: z.ZodBoolean;
@@ -3441,6 +4129,52 @@ declare const myOrderItemSchema: z.ZodObject<{
3441
4129
  claimStatus: z.ZodNullable<z.ZodString>;
3442
4130
  reviewWritten: z.ZodBoolean;
3443
4131
  autoDecisionDate: z.ZodNullable<z.ZodString>;
4132
+ flowState: z.ZodOptional<z.ZodObject<{
4133
+ key: z.ZodString;
4134
+ label: z.ZodString;
4135
+ coreStatus: z.ZodOptional<z.ZodEnum<{
4136
+ CANCELED: "CANCELED";
4137
+ PAYMENT_WAITING: "PAYMENT_WAITING";
4138
+ PAID: "PAID";
4139
+ CONFIRMED: "CONFIRMED";
4140
+ DISPATCHED: "DISPATCHED";
4141
+ DELIVERING: "DELIVERING";
4142
+ DELIVERED: "DELIVERED";
4143
+ PURCHASE_DECIDED: "PURCHASE_DECIDED";
4144
+ }>>;
4145
+ message: z.ZodOptional<z.ZodString>;
4146
+ enteredAt: z.ZodString;
4147
+ deadlineAt: z.ZodOptional<z.ZodString>;
4148
+ attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
4149
+ progress: z.ZodOptional<z.ZodBoolean>;
4150
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
4151
+ }, z.core.$strip>>;
4152
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4153
+ key: z.ZodString;
4154
+ label: z.ZodString;
4155
+ mode: z.ZodEnum<{
4156
+ INSTANT: "INSTANT";
4157
+ REQUEST: "REQUEST";
4158
+ VIEW: "VIEW";
4159
+ }>;
4160
+ enabled: z.ZodBoolean;
4161
+ disabled: z.ZodOptional<z.ZodObject<{
4162
+ reason: z.ZodString;
4163
+ message: z.ZodOptional<z.ZodString>;
4164
+ }, z.core.$strip>>;
4165
+ availableUntil: z.ZodOptional<z.ZodString>;
4166
+ subflow: z.ZodOptional<z.ZodString>;
4167
+ input: z.ZodOptional<z.ZodArray<z.ZodObject<{
4168
+ key: z.ZodString;
4169
+ type: z.ZodString;
4170
+ required: z.ZodBoolean;
4171
+ label: z.ZodString;
4172
+ maxLength: z.ZodOptional<z.ZodNumber>;
4173
+ maxFiles: z.ZodOptional<z.ZodNumber>;
4174
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
4175
+ }, z.core.$strip>>>;
4176
+ partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
4177
+ }, z.core.$strip>>>;
3444
4178
  optionSelections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3445
4179
  kind: z.ZodString;
3446
4180
  groupName: z.ZodString;
@@ -3450,7 +4184,17 @@ declare const myOrderItemSchema: z.ZodObject<{
3450
4184
  customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3451
4185
  label: z.ZodString;
3452
4186
  value: z.ZodString;
4187
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4188
+ type: z.ZodOptional<z.ZodString>;
3453
4189
  }, z.core.$strip>>>>;
4190
+ stay: z.ZodOptional<z.ZodObject<{
4191
+ checkIn: z.ZodString;
4192
+ checkOut: z.ZodString;
4193
+ nights: z.ZodArray<z.ZodObject<{
4194
+ date: z.ZodString;
4195
+ price: z.ZodNumber;
4196
+ }, z.core.$strip>>;
4197
+ }, z.core.$strip>>;
3454
4198
  orderItemId: z.ZodString;
3455
4199
  orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3456
4200
  productId: z.ZodString;
@@ -3497,9 +4241,25 @@ declare const myOrderSchema: z.ZodObject<{
3497
4241
  fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
3498
4242
  type: z.ZodLiteral<"SHIPPING">;
3499
4243
  requiresShipping: z.ZodLiteral<true>;
4244
+ method: z.ZodOptional<z.ZodString>;
4245
+ pickupLocation: z.ZodOptional<z.ZodObject<{
4246
+ locationId: z.ZodString;
4247
+ name: z.ZodString;
4248
+ address: z.ZodString;
4249
+ phone: z.ZodNullable<z.ZodString>;
4250
+ hours: z.ZodNullable<z.ZodString>;
4251
+ }, z.core.$strip>>;
3500
4252
  }, z.core.$strip>, z.ZodObject<{
3501
4253
  type: z.ZodLiteral<"MANUAL">;
3502
4254
  requiresShipping: z.ZodLiteral<false>;
4255
+ method: z.ZodOptional<z.ZodString>;
4256
+ pickupLocation: z.ZodOptional<z.ZodObject<{
4257
+ locationId: z.ZodString;
4258
+ name: z.ZodString;
4259
+ address: z.ZodString;
4260
+ phone: z.ZodNullable<z.ZodString>;
4261
+ hours: z.ZodNullable<z.ZodString>;
4262
+ }, z.core.$strip>>;
3503
4263
  }, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
3504
4264
  type: z.ZodString;
3505
4265
  requiresShipping: z.ZodBoolean;
@@ -3516,6 +4276,52 @@ declare const myOrderSchema: z.ZodObject<{
3516
4276
  claimStatus: z.ZodNullable<z.ZodString>;
3517
4277
  reviewWritten: z.ZodBoolean;
3518
4278
  autoDecisionDate: z.ZodNullable<z.ZodString>;
4279
+ flowState: z.ZodOptional<z.ZodObject<{
4280
+ key: z.ZodString;
4281
+ label: z.ZodString;
4282
+ coreStatus: z.ZodOptional<z.ZodEnum<{
4283
+ CANCELED: "CANCELED";
4284
+ PAYMENT_WAITING: "PAYMENT_WAITING";
4285
+ PAID: "PAID";
4286
+ CONFIRMED: "CONFIRMED";
4287
+ DISPATCHED: "DISPATCHED";
4288
+ DELIVERING: "DELIVERING";
4289
+ DELIVERED: "DELIVERED";
4290
+ PURCHASE_DECIDED: "PURCHASE_DECIDED";
4291
+ }>>;
4292
+ message: z.ZodOptional<z.ZodString>;
4293
+ enteredAt: z.ZodString;
4294
+ deadlineAt: z.ZodOptional<z.ZodString>;
4295
+ attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
4296
+ progress: z.ZodOptional<z.ZodBoolean>;
4297
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
4298
+ }, z.core.$strip>>;
4299
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4300
+ key: z.ZodString;
4301
+ label: z.ZodString;
4302
+ mode: z.ZodEnum<{
4303
+ INSTANT: "INSTANT";
4304
+ REQUEST: "REQUEST";
4305
+ VIEW: "VIEW";
4306
+ }>;
4307
+ enabled: z.ZodBoolean;
4308
+ disabled: z.ZodOptional<z.ZodObject<{
4309
+ reason: z.ZodString;
4310
+ message: z.ZodOptional<z.ZodString>;
4311
+ }, z.core.$strip>>;
4312
+ availableUntil: z.ZodOptional<z.ZodString>;
4313
+ subflow: z.ZodOptional<z.ZodString>;
4314
+ input: z.ZodOptional<z.ZodArray<z.ZodObject<{
4315
+ key: z.ZodString;
4316
+ type: z.ZodString;
4317
+ required: z.ZodBoolean;
4318
+ label: z.ZodString;
4319
+ maxLength: z.ZodOptional<z.ZodNumber>;
4320
+ maxFiles: z.ZodOptional<z.ZodNumber>;
4321
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
4322
+ }, z.core.$strip>>>;
4323
+ partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
4324
+ }, z.core.$strip>>>;
3519
4325
  optionSelections: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3520
4326
  kind: z.ZodString;
3521
4327
  groupName: z.ZodString;
@@ -3525,7 +4331,17 @@ declare const myOrderSchema: z.ZodObject<{
3525
4331
  customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3526
4332
  label: z.ZodString;
3527
4333
  value: z.ZodString;
4334
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4335
+ type: z.ZodOptional<z.ZodString>;
3528
4336
  }, z.core.$strip>>>>;
4337
+ stay: z.ZodOptional<z.ZodObject<{
4338
+ checkIn: z.ZodString;
4339
+ checkOut: z.ZodString;
4340
+ nights: z.ZodArray<z.ZodObject<{
4341
+ date: z.ZodString;
4342
+ price: z.ZodNumber;
4343
+ }, z.core.$strip>>;
4344
+ }, z.core.$strip>>;
3529
4345
  orderItemId: z.ZodString;
3530
4346
  orderItemNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3531
4347
  productId: z.ZodString;
@@ -3676,8 +4492,16 @@ declare const customInputViewSchema: z.ZodObject<{
3676
4492
  placeholder: z.ZodNullable<z.ZodString>;
3677
4493
  maxLength: z.ZodNumber;
3678
4494
  required: z.ZodBoolean;
4495
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4496
+ type: z.ZodOptional<z.ZodString>;
4497
+ options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
3679
4498
  }, z.core.$strip>;
3680
4499
  type CustomInputView = z.infer<typeof customInputViewSchema>;
4500
+ /**
4501
+ * 직접 입력값을 타입대로 검사하고 저장할 모양으로 바꾼다(정규화 뒤 값). 서버 판정(400 `CUSTOM_INPUT_INVALID`)과 스토어프론트
4502
+ * 입력 검사가 이 함수 하나를 쓴다. 모르는 타입은 `text`로 본다. 맞지 않으면 null
4503
+ */
4504
+ declare function parseCustomInputValue(type: string | null | undefined, options: readonly string[] | null | undefined, raw: string): string | null;
3681
4505
  /**
3682
4506
  * 직접 입력값 정규화 — NFC로 모으고, 제어 문자(C0·C1·줄바꿈·줄·문단 구분자)는 공백으로, 제로폭·양방향 제어 문자는 지운 뒤
3683
4507
  * 앞뒤 공백을 지운다. 서버가 저장하는 값이 이것이다. 빈 문자열이면 입력하지 않은 것으로 본다.
@@ -3711,6 +4535,10 @@ declare const lineSelectionRequestShape: {
3711
4535
  inputId: z.ZodString;
3712
4536
  value: z.ZodString;
3713
4537
  }, z.core.$strip>>>;
4538
+ stay: z.ZodOptional<z.ZodObject<{
4539
+ checkIn: z.ZodString;
4540
+ checkOut: z.ZodString;
4541
+ }, z.core.$strip>>;
3714
4542
  };
3715
4543
  /** 줄의 옵션 선택 스냅샷 한 칸 — 조합 옵션은 옵션명마다 한 칸이고 추가금이 0이다(조합 추가금은 단가에 들어 있다) */
3716
4544
  declare const optionSelectionViewSchema: z.ZodObject<{
@@ -3723,6 +4551,8 @@ type OptionSelectionView = z.infer<typeof optionSelectionViewSchema>;
3723
4551
  declare const customInputValueViewSchema: z.ZodObject<{
3724
4552
  label: z.ZodString;
3725
4553
  value: z.ZodString;
4554
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4555
+ type: z.ZodOptional<z.ZodString>;
3726
4556
  }, z.core.$strip>;
3727
4557
  type CustomInputValueView = z.infer<typeof customInputValueViewSchema>;
3728
4558
  /** 응답 줄의 표시 필드 — 장바구니·주문서·주문상품이 같은 이름을 쓴다 */
@@ -3736,8 +4566,51 @@ declare const lineSelectionResponseShape: {
3736
4566
  customInputs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3737
4567
  label: z.ZodString;
3738
4568
  value: z.ZodString;
4569
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4570
+ type: z.ZodOptional<z.ZodString>;
3739
4571
  }, z.core.$strip>>>>;
4572
+ stay: z.ZodOptional<z.ZodObject<{
4573
+ checkIn: z.ZodString;
4574
+ checkOut: z.ZodString;
4575
+ nights: z.ZodArray<z.ZodObject<{
4576
+ date: z.ZodString;
4577
+ price: z.ZodNumber;
4578
+ }, z.core.$strip>>;
4579
+ }, z.core.$strip>>;
3740
4580
  };
4581
+ /** 주문 입력 이미지 업로드 자리 요청(#115 E4) — 파일명은 확장자만 쓰인다 */
4582
+ declare const orderInputUploadRequestSchema: z.ZodObject<{
4583
+ filename: z.ZodString;
4584
+ size: z.ZodOptional<z.ZodNumber>;
4585
+ }, z.core.$strip>;
4586
+ type OrderInputUploadRequest = z.infer<typeof orderInputUploadRequestSchema>;
4587
+ //#endregion
4588
+ //#region src/schemas/stay.d.ts
4589
+ /**
4590
+ * 숙박 기간·날짜별 달력(이슈 #118) — 날짜별 재고 상품(상품 상세 `inventoryMode: "DATED"`)은 담기·바로 구매에 기간을 함께 보내고,
4591
+ * 가격은 박마다 달력의 가격을 더한 값이다. 날짜는 한국 날짜 `YYYY-MM-DD`다.
4592
+ */
4593
+ declare const stayRequestSchema: z.ZodObject<{
4594
+ checkIn: z.ZodString;
4595
+ checkOut: z.ZodString;
4596
+ }, z.core.$strip>;
4597
+ type StayRequest = z.infer<typeof stayRequestSchema>;
4598
+ declare const stayViewSchema: z.ZodObject<{
4599
+ checkIn: z.ZodString;
4600
+ checkOut: z.ZodString;
4601
+ nights: z.ZodArray<z.ZodObject<{
4602
+ date: z.ZodString;
4603
+ price: z.ZodNumber;
4604
+ }, z.core.$strip>>;
4605
+ }, z.core.$strip>;
4606
+ type StayView = z.infer<typeof stayViewSchema>;
4607
+ /** 구매자 달력 한 칸 — 재고 수는 보이지 않고 예약 가능 여부만 */
4608
+ declare const calendarDayViewSchema: z.ZodObject<{
4609
+ date: z.ZodString;
4610
+ available: z.ZodBoolean;
4611
+ price: z.ZodNumber;
4612
+ }, z.core.$strip>;
4613
+ type CalendarDayView = z.infer<typeof calendarDayViewSchema>;
3741
4614
  //#endregion
3742
4615
  //#region src/schemas/store.d.ts
3743
4616
  /**
@@ -3776,4 +4649,4 @@ declare const storefrontStoreSchema: z.ZodObject<{
3776
4649
  }, z.core.$strip>;
3777
4650
  type StorefrontStore = z.infer<typeof storefrontStoreSchema>;
3778
4651
  //#endregion
3779
- export { analyticsIdSchema as $, CheckoutSession as $n, CollectionProductParams as $r, CreateCustomerInquiryRequest as $t, PurchaseDecisionResult as A, MyOrderItemFulfillmentSnapshot as Ai, consentKindSchema as An, createCheckoutRequestSchema as Ar, reviewSummarySchema as At, ANALYTICS_MAX_BATCH_BYTES as B, CartItem as Bi, MyClaim as Bn, paymentOptionListSchema as Br, memberAddressRequestSchema as Bt, memberPointEntrySchema as C, PageInfo as Ci, ConsentAction as Cn, availablePaymentOptionSchema as Cr, createReviewResultSchema as Ct, MyOrder as D, pageInfoSchema as Di, ConsentUpdateRequest as Dn, cashReceiptTypeSchema as Dr, publicReviewSchema as Dt, DeliveryTracking as E, orderItemStatusSchema as Ei, ConsentState as En, cashReceiptRequestSchema as Er, productReviewSortSchema as Et, purchaseDecisionResultSchema as F, myOrderItemFulfillmentSnapshotSchema as Fi, ClaimReason as Fn, guestInfoSchema as Fr, Member as Ft, AnalyticsBatch as G, updateCartItemRequestSchema as Gi, createClaimResultSchema as Gn, remoteAreaSchema as Gr, CreateInquiryRequest as Gt, ANALYTICS_SESSION_HEADER as H, addCartItemRequestSchema as Hi, claimReturnAddressSchema as Hn, paymentStartSchema as Hr, memberSchema as Ht, trackingStageResponseSchema as I, productCardFulfillmentSchema as Ii, ClaimReturnAddress as In, paymentFailureCategorySchema as Ir, MemberAddress as It, AnalyticsEventName as J, CASH_RECEIPT_METHODS as Jn, retryPaymentRequestSchema as Jr, PublicInquiry as Jt, AnalyticsClientEvent as K, analyticsIdsFromCookie as Ki, myClaimSchema as Kn, residentNumberLike as Kr, CreateInquiryResult as Kt, commerceNumberField as L, productFulfillmentViewSchema as Li, ClaimType as Ln, paymentMessageSchema as Lr, MemberAddressRequest as Lt, myOrderItemSchema as M, ProductFulfillmentView as Mi, consentStateSchema as Mn, deliveryQuoteSchema as Mr, updateReviewResultSchema as Mt, myOrderSchema as N, UnknownFulfillmentView as Ni, consentUpdateRequestSchema as Nn, easyPayProviderResponseSchema as Nr, uploadTicketSchema as Nt, MyOrderItem as O, pageSchema as Oi, MemberConsents as On, checkoutDeliverySchema as Or, reviewImageUploadRequestSchema as Ot, orderShippingAddressSchema as P, lineFulfillmentSchema as Pi, memberConsentsSchema as Pn, easyPayProviderSchema as Pr, writableReviewSchema as Pt, analyticsClientEventSchema as Q, CheckoutDelivery as Qn, CollectionProductPage as Qr, publicInquirySchema as Qt, formatOrderNo as R, AddCartItemRequest as Ri, CreateClaimRequest as Rn, paymentMethodSchema as Rr, UpdateProfileRequest as Rt, memberPointEntryPageSchema as S, OrderItemStatus as Si, pricingAmountsSchema as Sn, StartPaymentRequest as Sr, createReviewRequestSchema as St, storefrontPointPolicySchema as T, claimStatusSchema as Ti, ConsentSource as Tn, cashReceiptIdentityTypeOf as Tr, productReviewQuerySchema as Tt, ANALYTICS_VISITOR_COOKIE as U, cartItemSchema as Ui, claimTypeSchema as Un, paymentStatusSchema as Ur, updateProfileRequestSchema as Ut, ANALYTICS_SESSION_COOKIE as V, UpdateCartItemRequest as Vi, claimReasonSchema as Vn, paymentOptionSchema as Vr, memberAddressSchema as Vt, ANALYTICS_VISITOR_HEADER as W, cartSchema as Wi, createClaimRequestSchema as Wn, pgProviderSchema as Wr, wishlistAddResultSchema as Wt, analyticsBatchSchema as X, CashReceiptRequest as Xn, startPaymentRequestSchema as Xr, createInquiryResultSchema as Xt, AnalyticsServerEventName as Y, CashReceiptIdentityType as Yn, shippingAddressInputSchema as Yr, createInquiryRequestSchema as Yt, analyticsClientEventNameSchema as Z, CashReceiptType as Zn, CategoryNode as Zr, productInquiryCategorySchema as Zt, normalizeCustomInputValue as _, productSortSchema as _i, couponApplicationSchema as _n, PgProvider as _r, ReviewSummary as _t, CustomInputEntry as a, ProductSearchParams as ai, ApplicableCoupon as an, KnownPaymentResult as ar, SessionStorage as at, MemberPoints as b, storefrontCollectionSchema as bi, myCouponListQuerySchema as bn, RetryPaymentRequest as br, UploadTicket as bt, OptionSelectionView as c, StorefrontCollectionDetail as ci, CouponApplication as cn, PAYMENT_RESULT_VALUES as cr, createStorefrontSession as ct, customInputEntrySchema as d, collectionProductQuerySchema as di, MIN_PAYMENT_AMOUNT as dn, PaymentFailureCategory as dr, MyReview as dt, CollectionProductSortParam as ei, CustomerInquiry as en, CreateCheckoutRequest as er, analyticsServerEventNameSchema as et, customInputLength as f, collectionProductSortSchema as fi, MyCoupon as fn, PaymentMessage as fr, ProductReviewParams as ft, lineSelectionResponseShape as g, productPageSchema as gi, couponApplicationListSchema as gn, PaymentStatus as gr, ReviewPage as gt, lineSelectionRequestShape as h, productFacetsSchema as hi, checkoutPricingSchema as hn, PaymentStart as hr, ReviewImageUploadRequest as ht, AddonSelection as i, ProductPage as ii, customerInquirySchema as in, GuestInfo as ir, STOREFRONT_SESSION_KEYS as it, deliveryTrackingSchema as j, ProductCardFulfillment as ji, consentSourceSchema as jn, deliveryQuoteRequestSchema as jr, updateReviewRequestSchema as jt, OrderShippingAddress as k, LineFulfillment as ki, consentActionSchema as kn, checkoutSessionSchema as kr, reviewPageSchema as kt, addonGroupViewSchema as l, categoryNodeSchema as li, CouponResult as ln, PAYMENT_START_STATUS_VALUES as lr, CreateReviewRequest as lt, customInputViewSchema as m, productDetailSchema as mi, checkoutPricingRequestSchema as mn, PaymentOption as mr, PublicReview as mt, storefrontStoreSchema as n, ProductDetail as ni, createCustomerInquiryRequestSchema as nn, DeliveryQuoteResult as nr, StorefrontClientOptions as nt, CustomInputValueView as o, ProductSort as oi, CheckoutPricing as on, KnownPaymentStartStatus as or, StorefrontSession as ot, customInputValueViewSchema as p, productCardSchema as pi, applicableCouponSchema as pn, PaymentMethod as pr, ProductReviewSort as pt, AnalyticsClientEventName as q, AvailablePaymentOption as qn, responsePaymentMethodSchema as qr, ProductInquiryCategory as qt, AddonGroupView as r, ProductFacets as ri, customerInquiryCategorySchema as rn, EasyPayProvider as rr, createStorefrontClient as rt, CustomInputView as s, StorefrontCollection as si, CheckoutPricingRequest as sn, KnownPaymentStatus as sr, StorefrontSessionOptions as st, StorefrontStore as t, ProductCard as ti, CustomerInquiryCategory as tn, DeliveryQuoteRequest as tr, StorefrontClient as tt, addonSelectionSchema as u, collectionProductPageSchema as ui, MAX_COUPONS_PER_CHECKOUT as un, PAYMENT_STATUS_VALUES as ur, CreateReviewResult as ut, optionSelectionViewSchema as v, storefrontCollectionDetailSchema as vi, couponBenefitViewSchema as vn, RemoteArea as vr, UpdateReviewRequest as vt, memberPointsSchema as w, PageParams as wi, ConsentKind as wn, cashReceiptAvailable as wr, myReviewSchema as wt, StorefrontPointPolicy as x, ClaimStatus as xi, myCouponSchema as xn, ShippingAddressInput as xr, WritableReview as xt, MemberPointEntry as y, storefrontCollectionListQuerySchema as yi, couponResultSchema as yn, ResponsePaymentMethod as yr, UpdateReviewResult as yt, parseOrderNo as z, Cart as zi, CreateClaimResult as zn, paymentOptionKey as zr, WishlistAddResult as zt };
4652
+ export { FlowInputField as $, claimStatusSchema as $i, ConsentSource as $n, cashReceiptIdentityTypeOf as $r, reviewSummarySchema as $t, StorefrontPointPolicy as A, ProductDetail as Ai, CheckoutPricingRequest as An, DeliveryQuoteResult as Ar, StorefrontSessionOptions as At, deliveryTrackingSchema as B, collectionProductSortSchema as Bi, checkoutPricingSchema as Bn, PaymentMessage as Br, ReviewSummary as Bt, lineSelectionResponseShape as C, shippingAddressInputSchema as Ci, CustomerInquiry as Cn, CashReceiptIdentityType as Cr, analyticsServerEventNameSchema as Ct, parseCustomInputValue as D, CollectionProductParams as Di, customerInquirySchema as Dn, CheckoutSession as Dr, STOREFRONT_SESSION_KEYS as Dt, orderInputUploadRequestSchema as E, CollectionProductPage as Ei, customerInquiryCategorySchema as En, CheckoutDelivery as Er, createStorefrontClient as Et, DeliveryTracking as F, StorefrontCollection as Fi, MyCoupon as Fn, KnownPaymentStatus as Fr, ProductReviewParams as Ft, trackingStageResponseSchema as G, productSortSchema as Gi, myCouponListQuerySchema as Gn, PgProvider as Gr, createReviewRequestSchema as Gt, myOrderSchema as H, productDetailSchema as Hi, couponApplicationSchema as Hn, PaymentOption as Hr, UpdateReviewResult as Ht, MyOrder as I, StorefrontCollectionDetail as Ii, StorefrontCoupon as In, PAYMENT_RESULT_VALUES as Ir, ProductReviewSort as It, parseOrderNo as J, storefrontCollectionSchema as Ji, storefrontCouponListQuerySchema as Jn, RetryPaymentRequest as Jr, productReviewQuerySchema as Jt, commerceNumberField as K, storefrontCollectionDetailSchema as Ki, myCouponSchema as Kn, RemoteArea as Kr, createReviewResultSchema as Kt, MyOrderItem as L, categoryNodeSchema as Li, StorefrontCouponListParams as Ln, PAYMENT_START_STATUS_VALUES as Lr, PublicReview as Lt, memberPointEntrySchema as M, ProductPage as Mi, CouponResult as Mn, GuestInfo as Mr, CreateReviewRequest as Mt, memberPointsSchema as N, ProductSearchParams as Ni, MAX_COUPONS_PER_CHECKOUT as Nn, KnownPaymentResult as Nr, CreateReviewResult as Nt, MemberPointEntry as O, CollectionProductSortParam as Oi, ApplicableCoupon as On, CreateCheckoutRequest as Or, SessionStorage as Ot, storefrontPointPolicySchema as P, ProductSort as Pi, MIN_PAYMENT_AMOUNT as Pn, KnownPaymentStartStatus as Pr, MyReview as Pt, FlowFieldValue as Q, PageParams as Qi, ConsentKind as Qn, cashReceiptAvailable as Qr, reviewPageSchema as Qt, OrderShippingAddress as R, collectionProductPageSchema as Ri, applicableCouponSchema as Rn, PAYMENT_STATUS_VALUES as Rr, ReviewImageUploadRequest as Rt, lineSelectionRequestShape as S, analyticsIdsFromCookie as Sa, retryPaymentRequestSchema as Si, CreateCustomerInquiryRequest as Sn, CASH_RECEIPT_METHODS as Sr, analyticsIdSchema as St, optionSelectionViewSchema as T, CategoryNode as Ti, createCustomerInquiryRequestSchema as Tn, CashReceiptType as Tr, StorefrontClientOptions as Tt, orderShippingAddressSchema as U, productFacetsSchema as Ui, couponBenefitViewSchema as Un, PaymentStart as Ur, UploadTicket as Ut, myOrderItemSchema as V, productCardSchema as Vi, couponApplicationListSchema as Vn, PaymentMethod as Vr, UpdateReviewRequest as Vt, purchaseDecisionResultSchema as W, productPageSchema as Wi, couponResultSchema as Wn, PaymentStatus as Wr, WritableReview as Wt, FlowActionRequest as X, OrderItemStatus as Xi, storefrontCouponTargetSchema as Xn, StartPaymentRequest as Xr, publicReviewSchema as Xt, FlowAction as Y, ClaimStatus as Yi, storefrontCouponSchema as Yn, ShippingAddressInput as Yr, productReviewSortSchema as Yt, FlowActionResult as Z, PageInfo as Zi, ConsentAction as Zn, availablePaymentOptionSchema as Zr, reviewImageUploadRequestSchema as Zt, addonSelectionSchema as _, UpdateCartItemRequest as _a, paymentStatusSchema as _i, PublicInquiry as _n, claimTypeSchema as _r, AnalyticsEventName as _t, StayView as a, PickupLocationView as aa, deliveryQuoteRequestSchema as ai, MemberAddress as an, consentSourceSchema as ar, flowFieldValueSchema as at, customInputValueViewSchema as b, cartSchema as ba, residentNumberLike as bi, productInquiryCategorySchema as bn, myClaimSchema as br, analyticsClientEventNameSchema as bt, stayViewSchema as c, UnknownFulfillmentView as ca, easyPayProviderSchema as ci, WishlistAddResult as cn, memberConsentsSchema as cr, guestFlowActionRequestSchema as ct, CustomInputEntry as d, pickupLocationViewSchema as da, paymentMessageSchema as di, memberSchema as dn, ClaimType as dr, ANALYTICS_SESSION_HEADER as dt, orderItemStatusSchema as ea, cashReceiptRequestSchema as ei, updateReviewRequestSchema as en, ConsentState as er, FlowState as et, CustomInputValueView as f, productCardFulfillmentSchema as fa, paymentMethodSchema as fi, updateProfileRequestSchema as fn, CreateClaimRequest as fr, ANALYTICS_VISITOR_COOKIE as ft, addonGroupViewSchema as g, CartItem as ga, paymentStartSchema as gi, ProductInquiryCategory as gn, claimReturnAddressSchema as gr, AnalyticsClientEventName as gt, OrderInputUploadRequest as h, Cart as ha, paymentOptionSchema as hi, CreateInquiryResult as hn, claimReasonSchema as hr, AnalyticsClientEvent as ht, StayRequest as i, MyOrderItemFulfillmentSnapshot as ia, createCheckoutRequestSchema as ii, Member as in, consentKindSchema as ir, flowActionSchema as it, memberPointEntryPageSchema as j, ProductFacets as ji, CouponApplication as jn, EasyPayProvider as jr, createStorefrontSession as jt, MemberPoints as k, ProductCard as ki, CheckoutPricing as kn, DeliveryQuoteRequest as kr, StorefrontSession as kt, AddonGroupView as l, lineFulfillmentSchema as la, guestInfoSchema as li, memberAddressRequestSchema as ln, ClaimReason as lr, ANALYTICS_MAX_BATCH_BYTES as lt, OptionSelectionView as m, AddCartItemRequest as ma, paymentOptionListSchema as mi, CreateInquiryRequest as mn, MyClaim as mr, AnalyticsBatch as mt, storefrontStoreSchema as n, pageSchema as na, checkoutDeliverySchema as ni, uploadTicketSchema as nn, MemberConsents as nr, flowActionRequestSchema as nt, calendarDayViewSchema as o, ProductCardFulfillment as oa, deliveryQuoteSchema as oi, MemberAddressRequest as on, consentStateSchema as or, flowInputFieldSchema as ot, CustomInputView as p, productFulfillmentViewSchema as pa, paymentOptionKey as pi, wishlistAddResultSchema as pn, CreateClaimResult as pr, ANALYTICS_VISITOR_HEADER as pt, formatOrderNo as q, storefrontCollectionListQuerySchema as qi, pricingAmountsSchema as qn, ResponsePaymentMethod as qr, myReviewSchema as qt, CalendarDayView as r, LineFulfillment as ra, checkoutSessionSchema as ri, writableReviewSchema as rn, consentActionSchema as rr, flowActionResultSchema as rt, stayRequestSchema as s, ProductFulfillmentView as sa, easyPayProviderResponseSchema as si, UpdateProfileRequest as sn, consentUpdateRequestSchema as sr, flowStateSchema as st, StorefrontStore as t, pageInfoSchema as ta, cashReceiptTypeSchema as ti, updateReviewResultSchema as tn, ConsentUpdateRequest as tr, GuestFlowActionRequest as tt, AddonSelection as u, myOrderItemFulfillmentSnapshotSchema as ua, paymentFailureCategorySchema as ui, memberAddressSchema as un, ClaimReturnAddress as ur, ANALYTICS_SESSION_COOKIE as ut, customInputEntrySchema as v, addCartItemRequestSchema as va, pgProviderSchema as vi, createInquiryRequestSchema as vn, createClaimRequestSchema as vr, AnalyticsServerEventName as vt, normalizeCustomInputValue as w, startPaymentRequestSchema as wi, CustomerInquiryCategory as wn, CashReceiptRequest as wr, StorefrontClient as wt, customInputViewSchema as x, updateCartItemRequestSchema as xa, responsePaymentMethodSchema as xi, publicInquirySchema as xn, AvailablePaymentOption as xr, analyticsClientEventSchema as xt, customInputLength as y, cartItemSchema as ya, remoteAreaSchema as yi, createInquiryResultSchema as yn, createClaimResultSchema as yr, analyticsBatchSchema as yt, PurchaseDecisionResult as z, collectionProductQuerySchema as zi, checkoutPricingRequestSchema as zn, PaymentFailureCategory as zr, ReviewPage as zt };