@sayren/storefront-sdk 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/index.mjs +1 -1
- package/dist/{checkout-Dsv9C9Zp.mjs → checkout-DTfoCsMF.mjs} +32 -94
- package/dist/{client-ZPNEEeRT.mjs → client-BrDY5HO3.mjs} +6 -70
- package/dist/{index-D5uvtiOl.d.mts → index-BeQwCRc8.d.mts} +204 -601
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/payments/index.d.mts +1 -3
- package/dist/payments/index.mjs +1 -2
- package/package.json +1 -1
- package/src/client.ts +1 -57
- package/src/payments/index.ts +0 -5
- package/src/schemas/checkout.ts +7 -21
- package/src/schemas/fulfillment.ts +14 -76
- package/src/schemas/order.ts +5 -86
|
@@ -29,7 +29,7 @@ declare const cartItemSchema: z.ZodObject<{
|
|
|
29
29
|
fulfillment: z.ZodObject<{
|
|
30
30
|
type: z.ZodString;
|
|
31
31
|
requiresShipping: z.ZodBoolean;
|
|
32
|
-
withdrawalRestricted: z.ZodBoolean
|
|
32
|
+
withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
purchasable: z.ZodBoolean;
|
|
35
35
|
unpurchasableReason: z.ZodNullable<z.ZodEnum<{
|
|
@@ -53,7 +53,7 @@ declare const cartSchema: z.ZodObject<{
|
|
|
53
53
|
fulfillment: z.ZodObject<{
|
|
54
54
|
type: z.ZodString;
|
|
55
55
|
requiresShipping: z.ZodBoolean;
|
|
56
|
-
withdrawalRestricted: z.ZodBoolean
|
|
56
|
+
withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
|
|
57
57
|
}, z.core.$strip>;
|
|
58
58
|
purchasable: z.ZodBoolean;
|
|
59
59
|
unpurchasableReason: z.ZodNullable<z.ZodEnum<{
|
|
@@ -90,15 +90,6 @@ interface UnknownFulfillmentView {
|
|
|
90
90
|
rawType: string;
|
|
91
91
|
requiresShipping: boolean;
|
|
92
92
|
}
|
|
93
|
-
/** 방문 수령 장소 표시값 — 주소 id는 싣지 않는다 */
|
|
94
|
-
declare const pickupLocationSchema: z.ZodObject<{
|
|
95
|
-
name: z.ZodString;
|
|
96
|
-
zipCode: z.ZodString;
|
|
97
|
-
address1: z.ZodString;
|
|
98
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
99
|
-
phone: z.ZodString;
|
|
100
|
-
}, z.core.$strip>;
|
|
101
|
-
type PickupLocation = z.infer<typeof pickupLocationSchema>;
|
|
102
93
|
/** 상품 카드(목록·찜)의 이행 — 유형과 배송 필요 여부만. 배송비·환불 정책은 상세에서 본다 */
|
|
103
94
|
declare const productCardFulfillmentSchema: z.ZodObject<{
|
|
104
95
|
type: z.ZodString;
|
|
@@ -118,34 +109,8 @@ declare const productFulfillmentViewSchema: z.ZodUnion<readonly [z.ZodDiscrimina
|
|
|
118
109
|
exchangeDeliveryFee: z.ZodNumber;
|
|
119
110
|
}, z.core.$strip>;
|
|
120
111
|
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
-
type: z.ZodLiteral<"
|
|
122
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
123
|
-
download: z.ZodObject<{
|
|
124
|
-
limit: z.ZodNumber;
|
|
125
|
-
days: z.ZodNumber;
|
|
126
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
127
|
-
}, z.core.$strip>;
|
|
128
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
-
type: z.ZodLiteral<"CODE">;
|
|
130
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
131
|
-
code: z.ZodObject<{
|
|
132
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
133
|
-
}, z.core.$strip>;
|
|
134
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
-
type: z.ZodLiteral<"SERVICE">;
|
|
112
|
+
type: z.ZodLiteral<"MANUAL">;
|
|
136
113
|
requiresShipping: z.ZodLiteral<false>;
|
|
137
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
138
|
-
type: z.ZodLiteral<"PICKUP">;
|
|
139
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
140
|
-
pickup: z.ZodObject<{
|
|
141
|
-
location: z.ZodNullable<z.ZodObject<{
|
|
142
|
-
name: z.ZodString;
|
|
143
|
-
zipCode: z.ZodString;
|
|
144
|
-
address1: z.ZodString;
|
|
145
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
146
|
-
phone: z.ZodString;
|
|
147
|
-
}, z.core.$strip>>;
|
|
148
|
-
}, z.core.$strip>;
|
|
149
114
|
}, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
|
|
150
115
|
type: z.ZodString;
|
|
151
116
|
requiresShipping: z.ZodBoolean;
|
|
@@ -159,43 +124,19 @@ type ProductFulfillmentView = z.infer<typeof productFulfillmentViewSchema>;
|
|
|
159
124
|
declare const lineFulfillmentSchema: z.ZodObject<{
|
|
160
125
|
type: z.ZodString;
|
|
161
126
|
requiresShipping: z.ZodBoolean;
|
|
162
|
-
withdrawalRestricted: z.ZodBoolean
|
|
127
|
+
withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
|
|
163
128
|
}, z.core.$strip>;
|
|
164
129
|
type LineFulfillment = z.infer<typeof lineFulfillmentSchema>;
|
|
165
130
|
/**
|
|
166
|
-
* 내 주문 주문상품의 주문 시점 이행 스냅샷. 상품을 나중에 고쳐도 바뀌지 않는다.
|
|
131
|
+
* 내 주문 주문상품의 주문 시점 이행 스냅샷. 상품을 나중에 고쳐도 바뀌지 않는다. 제공 기록(제공 시각·판매자 안내)은
|
|
167
132
|
* 주문상품의 `fulfillment`다.
|
|
168
133
|
*/
|
|
169
134
|
declare const myOrderItemFulfillmentSnapshotSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
170
135
|
type: z.ZodLiteral<"SHIPPING">;
|
|
171
136
|
requiresShipping: z.ZodLiteral<true>;
|
|
172
137
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
-
type: z.ZodLiteral<"
|
|
174
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
175
|
-
download: z.ZodObject<{
|
|
176
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
177
|
-
}, z.core.$strip>;
|
|
178
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
179
|
-
type: z.ZodLiteral<"CODE">;
|
|
138
|
+
type: z.ZodLiteral<"MANUAL">;
|
|
180
139
|
requiresShipping: z.ZodLiteral<false>;
|
|
181
|
-
code: z.ZodObject<{
|
|
182
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
183
|
-
}, z.core.$strip>;
|
|
184
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
185
|
-
type: z.ZodLiteral<"SERVICE">;
|
|
186
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
187
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
-
type: z.ZodLiteral<"PICKUP">;
|
|
189
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
190
|
-
pickup: z.ZodObject<{
|
|
191
|
-
location: z.ZodNullable<z.ZodObject<{
|
|
192
|
-
name: z.ZodString;
|
|
193
|
-
zipCode: z.ZodString;
|
|
194
|
-
address1: z.ZodString;
|
|
195
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
196
|
-
phone: z.ZodString;
|
|
197
|
-
}, z.core.$strip>>;
|
|
198
|
-
}, z.core.$strip>;
|
|
199
140
|
}, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
|
|
200
141
|
type: z.ZodString;
|
|
201
142
|
requiresShipping: z.ZodBoolean;
|
|
@@ -205,8 +146,6 @@ declare const myOrderItemFulfillmentSnapshotSchema: z.ZodUnion<readonly [z.ZodDi
|
|
|
205
146
|
requiresShipping: boolean;
|
|
206
147
|
}>>]>;
|
|
207
148
|
type MyOrderItemFulfillmentSnapshot = z.infer<typeof myOrderItemFulfillmentSnapshotSchema>;
|
|
208
|
-
/** 청약철회 제한 대상인가 — 파일 다운로드·코드 발급만 켤 수 있다 */
|
|
209
|
-
declare function withdrawalRestrictedOfView(fulfillment: ProductFulfillmentView | MyOrderItemFulfillmentSnapshot): boolean;
|
|
210
149
|
//#endregion
|
|
211
150
|
//#region src/schemas/common.d.ts
|
|
212
151
|
declare const pageInfoSchema: z.ZodObject<{
|
|
@@ -228,7 +167,6 @@ interface PageParams {
|
|
|
228
167
|
size?: number;
|
|
229
168
|
}
|
|
230
169
|
declare const orderItemStatusSchema: z.ZodEnum<{
|
|
231
|
-
CANCELED: "CANCELED";
|
|
232
170
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
233
171
|
PAID: "PAID";
|
|
234
172
|
CONFIRMED: "CONFIRMED";
|
|
@@ -236,10 +174,10 @@ declare const orderItemStatusSchema: z.ZodEnum<{
|
|
|
236
174
|
DELIVERING: "DELIVERING";
|
|
237
175
|
DELIVERED: "DELIVERED";
|
|
238
176
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
177
|
+
CANCELED: "CANCELED";
|
|
239
178
|
}>;
|
|
240
179
|
type OrderItemStatus = z.infer<typeof orderItemStatusSchema>;
|
|
241
180
|
declare const claimStatusSchema: z.ZodEnum<{
|
|
242
|
-
COMPLETED: "COMPLETED";
|
|
243
181
|
REQUESTED: "REQUESTED";
|
|
244
182
|
HELD: "HELD";
|
|
245
183
|
COLLECTING: "COLLECTING";
|
|
@@ -247,6 +185,7 @@ declare const claimStatusSchema: z.ZodEnum<{
|
|
|
247
185
|
REDELIVERING: "REDELIVERING";
|
|
248
186
|
APPROVED: "APPROVED";
|
|
249
187
|
REJECTED: "REJECTED";
|
|
188
|
+
COMPLETED: "COMPLETED";
|
|
250
189
|
WITHDRAWN: "WITHDRAWN";
|
|
251
190
|
}>;
|
|
252
191
|
type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
@@ -316,34 +255,8 @@ declare const productDetailSchema: z.ZodObject<{
|
|
|
316
255
|
exchangeDeliveryFee: z.ZodNumber;
|
|
317
256
|
}, z.core.$strip>;
|
|
318
257
|
}, z.core.$strip>, z.ZodObject<{
|
|
319
|
-
type: z.ZodLiteral<"
|
|
320
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
321
|
-
download: z.ZodObject<{
|
|
322
|
-
limit: z.ZodNumber;
|
|
323
|
-
days: z.ZodNumber;
|
|
324
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
325
|
-
}, z.core.$strip>;
|
|
326
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
-
type: z.ZodLiteral<"CODE">;
|
|
328
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
329
|
-
code: z.ZodObject<{
|
|
330
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
331
|
-
}, z.core.$strip>;
|
|
332
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
333
|
-
type: z.ZodLiteral<"SERVICE">;
|
|
334
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
335
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
336
|
-
type: z.ZodLiteral<"PICKUP">;
|
|
258
|
+
type: z.ZodLiteral<"MANUAL">;
|
|
337
259
|
requiresShipping: z.ZodLiteral<false>;
|
|
338
|
-
pickup: z.ZodObject<{
|
|
339
|
-
location: z.ZodNullable<z.ZodObject<{
|
|
340
|
-
name: z.ZodString;
|
|
341
|
-
zipCode: z.ZodString;
|
|
342
|
-
address1: z.ZodString;
|
|
343
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
344
|
-
phone: z.ZodString;
|
|
345
|
-
}, z.core.$strip>>;
|
|
346
|
-
}, z.core.$strip>;
|
|
347
260
|
}, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
|
|
348
261
|
type: z.ZodString;
|
|
349
262
|
requiresShipping: z.ZodBoolean;
|
|
@@ -478,7 +391,7 @@ declare const checkoutSessionSchema: z.ZodObject<{
|
|
|
478
391
|
fulfillment: z.ZodObject<{
|
|
479
392
|
type: z.ZodString;
|
|
480
393
|
requiresShipping: z.ZodBoolean;
|
|
481
|
-
withdrawalRestricted: z.ZodBoolean
|
|
394
|
+
withdrawalRestricted: z.ZodOptional<z.ZodBoolean>;
|
|
482
395
|
}, z.core.$strip>;
|
|
483
396
|
}, z.core.$strip>>;
|
|
484
397
|
amounts: z.ZodObject<{
|
|
@@ -502,10 +415,10 @@ declare const checkoutSessionSchema: z.ZodObject<{
|
|
|
502
415
|
zipCode: z.ZodNullable<z.ZodString>;
|
|
503
416
|
}, z.core.$strip>;
|
|
504
417
|
requiresShipping: z.ZodBoolean;
|
|
505
|
-
withdrawal: z.ZodObject<{
|
|
418
|
+
withdrawal: z.ZodOptional<z.ZodObject<{
|
|
506
419
|
required: z.ZodBoolean;
|
|
507
420
|
notice: z.ZodNullable<z.ZodString>;
|
|
508
|
-
}, z.core.$strip
|
|
421
|
+
}, z.core.$strip>>;
|
|
509
422
|
expiresAt: z.ZodString;
|
|
510
423
|
paymentOptions: z.ZodLazy<z.ZodPreprocess<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
511
424
|
pg: z.ZodEnum<{
|
|
@@ -876,7 +789,6 @@ declare const startPaymentRequestSchema: z.ZodObject<{
|
|
|
876
789
|
email: z.ZodEmail;
|
|
877
790
|
orderPassword: z.ZodString;
|
|
878
791
|
}, z.core.$strip>>;
|
|
879
|
-
withdrawalAgreement: z.ZodOptional<z.ZodBoolean>;
|
|
880
792
|
cashReceipt: z.ZodOptional<z.ZodObject<{
|
|
881
793
|
type: z.ZodEnum<{
|
|
882
794
|
INCOME_DEDUCTION: "INCOME_DEDUCTION";
|
|
@@ -1123,7 +1035,6 @@ declare const myClaimSchema: z.ZodObject<{
|
|
|
1123
1035
|
EXCHANGE: "EXCHANGE";
|
|
1124
1036
|
}>;
|
|
1125
1037
|
status: z.ZodEnum<{
|
|
1126
|
-
COMPLETED: "COMPLETED";
|
|
1127
1038
|
REQUESTED: "REQUESTED";
|
|
1128
1039
|
HELD: "HELD";
|
|
1129
1040
|
COLLECTING: "COLLECTING";
|
|
@@ -1131,6 +1042,7 @@ declare const myClaimSchema: z.ZodObject<{
|
|
|
1131
1042
|
REDELIVERING: "REDELIVERING";
|
|
1132
1043
|
APPROVED: "APPROVED";
|
|
1133
1044
|
REJECTED: "REJECTED";
|
|
1045
|
+
COMPLETED: "COMPLETED";
|
|
1134
1046
|
WITHDRAWN: "WITHDRAWN";
|
|
1135
1047
|
}>;
|
|
1136
1048
|
orderItemId: z.ZodString;
|
|
@@ -1394,9 +1306,9 @@ declare const myCouponSchema: z.ZodObject<{
|
|
|
1394
1306
|
type MyCoupon = z.infer<typeof myCouponSchema>;
|
|
1395
1307
|
declare const myCouponListQuerySchema: z.ZodObject<{
|
|
1396
1308
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1397
|
-
expired: "expired";
|
|
1398
1309
|
available: "available";
|
|
1399
1310
|
used: "used";
|
|
1311
|
+
expired: "expired";
|
|
1400
1312
|
}>>;
|
|
1401
1313
|
}, z.core.$strip>;
|
|
1402
1314
|
//#endregion
|
|
@@ -1516,290 +1428,6 @@ declare const wishlistAddResultSchema: z.ZodObject<{
|
|
|
1516
1428
|
}, z.core.$strip>;
|
|
1517
1429
|
type WishlistAddResult = z.infer<typeof wishlistAddResultSchema>;
|
|
1518
1430
|
//#endregion
|
|
1519
|
-
//#region src/schemas/order.d.ts
|
|
1520
|
-
declare const myOrderItemSchema: z.ZodObject<{
|
|
1521
|
-
orderItemId: z.ZodString;
|
|
1522
|
-
productId: z.ZodString;
|
|
1523
|
-
productName: z.ZodString;
|
|
1524
|
-
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
1525
|
-
optionName: z.ZodNullable<z.ZodString>;
|
|
1526
|
-
quantity: z.ZodNumber;
|
|
1527
|
-
canceledQuantity: z.ZodNumber;
|
|
1528
|
-
activeQuantity: z.ZodNumber;
|
|
1529
|
-
totalPrice: z.ZodNumber;
|
|
1530
|
-
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1531
|
-
status: z.ZodEnum<{
|
|
1532
|
-
CANCELED: "CANCELED";
|
|
1533
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1534
|
-
PAID: "PAID";
|
|
1535
|
-
CONFIRMED: "CONFIRMED";
|
|
1536
|
-
DISPATCHED: "DISPATCHED";
|
|
1537
|
-
DELIVERING: "DELIVERING";
|
|
1538
|
-
DELIVERED: "DELIVERED";
|
|
1539
|
-
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1540
|
-
}>;
|
|
1541
|
-
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1542
|
-
type: z.ZodLiteral<"SHIPPING">;
|
|
1543
|
-
requiresShipping: z.ZodLiteral<true>;
|
|
1544
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1545
|
-
type: z.ZodLiteral<"DOWNLOAD">;
|
|
1546
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1547
|
-
download: z.ZodObject<{
|
|
1548
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
1549
|
-
}, z.core.$strip>;
|
|
1550
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1551
|
-
type: z.ZodLiteral<"CODE">;
|
|
1552
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1553
|
-
code: z.ZodObject<{
|
|
1554
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
1555
|
-
}, z.core.$strip>;
|
|
1556
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1557
|
-
type: z.ZodLiteral<"SERVICE">;
|
|
1558
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1559
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1560
|
-
type: z.ZodLiteral<"PICKUP">;
|
|
1561
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1562
|
-
pickup: z.ZodObject<{
|
|
1563
|
-
location: z.ZodNullable<z.ZodObject<{
|
|
1564
|
-
name: z.ZodString;
|
|
1565
|
-
zipCode: z.ZodString;
|
|
1566
|
-
address1: z.ZodString;
|
|
1567
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
1568
|
-
phone: z.ZodString;
|
|
1569
|
-
}, z.core.$strip>>;
|
|
1570
|
-
}, z.core.$strip>;
|
|
1571
|
-
}, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
|
|
1572
|
-
type: z.ZodString;
|
|
1573
|
-
requiresShipping: z.ZodBoolean;
|
|
1574
|
-
}, z.core.$loose>, z.ZodTransform<UnknownFulfillmentView, {
|
|
1575
|
-
[x: string]: unknown;
|
|
1576
|
-
type: string;
|
|
1577
|
-
requiresShipping: boolean;
|
|
1578
|
-
}>>]>;
|
|
1579
|
-
fulfillment: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1580
|
-
status: z.ZodString;
|
|
1581
|
-
fulfilledAt: z.ZodString;
|
|
1582
|
-
note: z.ZodNullable<z.ZodString>;
|
|
1583
|
-
codes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1584
|
-
codeId: z.ZodString;
|
|
1585
|
-
hint: z.ZodString;
|
|
1586
|
-
revealedAt: z.ZodNullable<z.ZodString>;
|
|
1587
|
-
}, z.core.$strip>>>>;
|
|
1588
|
-
download: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1589
|
-
count: z.ZodNumber;
|
|
1590
|
-
limit: z.ZodNumber;
|
|
1591
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1592
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1593
|
-
assetId: z.ZodString;
|
|
1594
|
-
fileName: z.ZodString;
|
|
1595
|
-
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
1596
|
-
}, z.core.$strip>>;
|
|
1597
|
-
}, z.core.$strip>>>>;
|
|
1598
|
-
}, z.core.$strip>>>>;
|
|
1599
|
-
claimStatus: z.ZodNullable<z.ZodString>;
|
|
1600
|
-
reviewWritten: z.ZodBoolean;
|
|
1601
|
-
autoDecisionDate: z.ZodNullable<z.ZodString>;
|
|
1602
|
-
}, z.core.$strip>;
|
|
1603
|
-
type MyOrderItem = z.infer<typeof myOrderItemSchema>;
|
|
1604
|
-
/**
|
|
1605
|
-
* 주문 응답의 배송지 — 결제 요청 시 저장된 스냅샷. 요청 스키마(`shippingAddressInputSchema`)와 분리한 응답 스키마라
|
|
1606
|
-
* 형식 검증(regex·길이)을 하지 않는다. 입력하지 않은 선택 필드는 null로 오거나 빠질 수 있다.
|
|
1607
|
-
*/
|
|
1608
|
-
declare const orderShippingAddressSchema: z.ZodObject<{
|
|
1609
|
-
receiverName: z.ZodString;
|
|
1610
|
-
phone: z.ZodString;
|
|
1611
|
-
zipCode: z.ZodString;
|
|
1612
|
-
address1: z.ZodString;
|
|
1613
|
-
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1614
|
-
deliveryMemo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1615
|
-
entranceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1616
|
-
}, z.core.$strip>;
|
|
1617
|
-
type OrderShippingAddress = z.infer<typeof orderShippingAddressSchema>;
|
|
1618
|
-
declare const myOrderSchema: z.ZodObject<{
|
|
1619
|
-
orderId: z.ZodString;
|
|
1620
|
-
orderedAt: z.ZodString;
|
|
1621
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1622
|
-
orderItemId: z.ZodString;
|
|
1623
|
-
productId: z.ZodString;
|
|
1624
|
-
productName: z.ZodString;
|
|
1625
|
-
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
1626
|
-
optionName: z.ZodNullable<z.ZodString>;
|
|
1627
|
-
quantity: z.ZodNumber;
|
|
1628
|
-
canceledQuantity: z.ZodNumber;
|
|
1629
|
-
activeQuantity: z.ZodNumber;
|
|
1630
|
-
totalPrice: z.ZodNumber;
|
|
1631
|
-
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1632
|
-
status: z.ZodEnum<{
|
|
1633
|
-
CANCELED: "CANCELED";
|
|
1634
|
-
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1635
|
-
PAID: "PAID";
|
|
1636
|
-
CONFIRMED: "CONFIRMED";
|
|
1637
|
-
DISPATCHED: "DISPATCHED";
|
|
1638
|
-
DELIVERING: "DELIVERING";
|
|
1639
|
-
DELIVERED: "DELIVERED";
|
|
1640
|
-
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1641
|
-
}>;
|
|
1642
|
-
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1643
|
-
type: z.ZodLiteral<"SHIPPING">;
|
|
1644
|
-
requiresShipping: z.ZodLiteral<true>;
|
|
1645
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1646
|
-
type: z.ZodLiteral<"DOWNLOAD">;
|
|
1647
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1648
|
-
download: z.ZodObject<{
|
|
1649
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
1650
|
-
}, z.core.$strip>;
|
|
1651
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1652
|
-
type: z.ZodLiteral<"CODE">;
|
|
1653
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1654
|
-
code: z.ZodObject<{
|
|
1655
|
-
withdrawalRestricted: z.ZodBoolean;
|
|
1656
|
-
}, z.core.$strip>;
|
|
1657
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1658
|
-
type: z.ZodLiteral<"SERVICE">;
|
|
1659
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1660
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1661
|
-
type: z.ZodLiteral<"PICKUP">;
|
|
1662
|
-
requiresShipping: z.ZodLiteral<false>;
|
|
1663
|
-
pickup: z.ZodObject<{
|
|
1664
|
-
location: z.ZodNullable<z.ZodObject<{
|
|
1665
|
-
name: z.ZodString;
|
|
1666
|
-
zipCode: z.ZodString;
|
|
1667
|
-
address1: z.ZodString;
|
|
1668
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
1669
|
-
phone: z.ZodString;
|
|
1670
|
-
}, z.core.$strip>>;
|
|
1671
|
-
}, z.core.$strip>;
|
|
1672
|
-
}, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
|
|
1673
|
-
type: z.ZodString;
|
|
1674
|
-
requiresShipping: z.ZodBoolean;
|
|
1675
|
-
}, z.core.$loose>, z.ZodTransform<UnknownFulfillmentView, {
|
|
1676
|
-
[x: string]: unknown;
|
|
1677
|
-
type: string;
|
|
1678
|
-
requiresShipping: boolean;
|
|
1679
|
-
}>>]>;
|
|
1680
|
-
fulfillment: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1681
|
-
status: z.ZodString;
|
|
1682
|
-
fulfilledAt: z.ZodString;
|
|
1683
|
-
note: z.ZodNullable<z.ZodString>;
|
|
1684
|
-
codes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1685
|
-
codeId: z.ZodString;
|
|
1686
|
-
hint: z.ZodString;
|
|
1687
|
-
revealedAt: z.ZodNullable<z.ZodString>;
|
|
1688
|
-
}, z.core.$strip>>>>;
|
|
1689
|
-
download: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1690
|
-
count: z.ZodNumber;
|
|
1691
|
-
limit: z.ZodNumber;
|
|
1692
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1693
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1694
|
-
assetId: z.ZodString;
|
|
1695
|
-
fileName: z.ZodString;
|
|
1696
|
-
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
1697
|
-
}, z.core.$strip>>;
|
|
1698
|
-
}, z.core.$strip>>>>;
|
|
1699
|
-
}, z.core.$strip>>>>;
|
|
1700
|
-
claimStatus: z.ZodNullable<z.ZodString>;
|
|
1701
|
-
reviewWritten: z.ZodBoolean;
|
|
1702
|
-
autoDecisionDate: z.ZodNullable<z.ZodString>;
|
|
1703
|
-
}, z.core.$strip>>;
|
|
1704
|
-
requiresShipping: z.ZodBoolean;
|
|
1705
|
-
shippingAddress: z.ZodObject<{
|
|
1706
|
-
receiverName: z.ZodString;
|
|
1707
|
-
phone: z.ZodString;
|
|
1708
|
-
zipCode: z.ZodString;
|
|
1709
|
-
address1: z.ZodString;
|
|
1710
|
-
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1711
|
-
deliveryMemo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1712
|
-
entranceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1713
|
-
}, z.core.$strip>;
|
|
1714
|
-
payment: z.ZodObject<{
|
|
1715
|
-
method: z.ZodEnum<{
|
|
1716
|
-
CARD: "CARD";
|
|
1717
|
-
EASY_PAY: "EASY_PAY";
|
|
1718
|
-
BANK_TRANSFER: "BANK_TRANSFER";
|
|
1719
|
-
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
1720
|
-
MOBILE: "MOBILE";
|
|
1721
|
-
}>;
|
|
1722
|
-
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1723
|
-
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1724
|
-
deliveryDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1725
|
-
discounts: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1726
|
-
couponId: z.ZodString;
|
|
1727
|
-
name: z.ZodString;
|
|
1728
|
-
kind: z.ZodString;
|
|
1729
|
-
discountAmount: z.ZodNumber;
|
|
1730
|
-
}, z.core.$strip>>>>;
|
|
1731
|
-
totalAmount: z.ZodNumber;
|
|
1732
|
-
paidAt: z.ZodNullable<z.ZodString>;
|
|
1733
|
-
receiptUrl: z.ZodNullable<z.ZodURL>;
|
|
1734
|
-
}, z.core.$strip>;
|
|
1735
|
-
withdrawalAgreedAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1736
|
-
testPayment: z.ZodBoolean;
|
|
1737
|
-
}, z.core.$strip>;
|
|
1738
|
-
type MyOrder = z.infer<typeof myOrderSchema>;
|
|
1739
|
-
/**
|
|
1740
|
-
* 택배 추적 단계. 응답에서는 문자열로 받는다(값이 추가될 수 있다) — 현재 값은 `ACCEPTED`(접수)·`IN_TRANSIT`(이동 중)·
|
|
1741
|
-
* `OUT_FOR_DELIVERY`(배송 출발)·`DELIVERED`(배송완료)다.
|
|
1742
|
-
*/
|
|
1743
|
-
declare const trackingStageResponseSchema: z.ZodString;
|
|
1744
|
-
declare const deliveryTrackingSchema: z.ZodObject<{
|
|
1745
|
-
carrierName: z.ZodString;
|
|
1746
|
-
trackingNumber: z.ZodString;
|
|
1747
|
-
trackingUrl: z.ZodURL;
|
|
1748
|
-
status: z.ZodEnum<{
|
|
1749
|
-
DISPATCHED: "DISPATCHED";
|
|
1750
|
-
DELIVERING: "DELIVERING";
|
|
1751
|
-
DELIVERED: "DELIVERED";
|
|
1752
|
-
}>;
|
|
1753
|
-
trackingEvents: z.ZodArray<z.ZodObject<{
|
|
1754
|
-
status: z.ZodString;
|
|
1755
|
-
location: z.ZodString;
|
|
1756
|
-
occurredAt: z.ZodString;
|
|
1757
|
-
stage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1758
|
-
}, z.core.$strip>>;
|
|
1759
|
-
trackingStage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1760
|
-
trackingCheckedAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1761
|
-
}, z.core.$strip>;
|
|
1762
|
-
type DeliveryTracking = z.infer<typeof deliveryTrackingSchema>;
|
|
1763
|
-
/** `POST /me/order-items/{orderItemId}/purchase-decision` 응답 */
|
|
1764
|
-
declare const purchaseDecisionResultSchema: z.ZodObject<{
|
|
1765
|
-
orderItemId: z.ZodString;
|
|
1766
|
-
status: z.ZodLiteral<"PURCHASE_DECIDED">;
|
|
1767
|
-
decidedAt: z.ZodString;
|
|
1768
|
-
}, z.core.$strip>;
|
|
1769
|
-
type PurchaseDecisionResult = z.infer<typeof purchaseDecisionResultSchema>;
|
|
1770
|
-
/**
|
|
1771
|
-
* 코드 열람 응답 (이슈 #48) — `POST /storefront/v1/me/order-items/{orderItemId}/fulfillment/reveal`(회원)·
|
|
1772
|
-
* `POST /storefront/v1/guest/orders/{orderId}/order-items/{orderItemId}/fulfillment/reveal`(비회원).
|
|
1773
|
-
* 평문 코드는 이 응답에만 있다. 화면에 보인 뒤 저장하지 않는다(응답은 `Cache-Control: no-store`).
|
|
1774
|
-
* 첫 열람 시각은 청약철회 판단의 근거(제공 개시)로 남는다.
|
|
1775
|
-
*/
|
|
1776
|
-
declare const fulfillmentRevealSchema: z.ZodObject<{
|
|
1777
|
-
orderItemId: z.ZodString;
|
|
1778
|
-
codes: z.ZodArray<z.ZodObject<{
|
|
1779
|
-
codeId: z.ZodString;
|
|
1780
|
-
code: z.ZodString;
|
|
1781
|
-
revealedAt: z.ZodString;
|
|
1782
|
-
}, z.core.$strip>>;
|
|
1783
|
-
}, z.core.$strip>;
|
|
1784
|
-
type FulfillmentReveal = z.infer<typeof fulfillmentRevealSchema>;
|
|
1785
|
-
/**
|
|
1786
|
-
* 다운로드 요청 (이슈 #48) — `POST /storefront/v1/me/order-items/{orderItemId}/downloads`(회원)·
|
|
1787
|
-
* `POST /storefront/v1/guest/orders/{orderId}/order-items/{orderItemId}/downloads`(비회원, 연락처·비밀번호를 함께 보낸다).
|
|
1788
|
-
* 파일이 하나면 `assetId`를 생략할 수 있다.
|
|
1789
|
-
*/
|
|
1790
|
-
declare const downloadRequestSchema: z.ZodObject<{
|
|
1791
|
-
assetId: z.ZodOptional<z.ZodString>;
|
|
1792
|
-
}, z.core.$strip>;
|
|
1793
|
-
type DownloadRequest = z.infer<typeof downloadRequestSchema>;
|
|
1794
|
-
/** 다운로드 응답 — 수명 300초의 서명 주소. 받을 때마다 횟수가 하나 준다 */
|
|
1795
|
-
declare const downloadLinkSchema: z.ZodObject<{
|
|
1796
|
-
url: z.ZodURL;
|
|
1797
|
-
expiresAt: z.ZodString;
|
|
1798
|
-
fileName: z.ZodString;
|
|
1799
|
-
remaining: z.ZodNumber;
|
|
1800
|
-
}, z.core.$strip>;
|
|
1801
|
-
type DownloadLink = z.infer<typeof downloadLinkSchema>;
|
|
1802
|
-
//#endregion
|
|
1803
1431
|
//#region src/schemas/review.d.ts
|
|
1804
1432
|
declare const publicReviewSchema: z.ZodObject<{
|
|
1805
1433
|
reviewId: z.ZodString;
|
|
@@ -2143,34 +1771,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2143
1771
|
exchangeDeliveryFee: number;
|
|
2144
1772
|
};
|
|
2145
1773
|
} | {
|
|
2146
|
-
type: "
|
|
2147
|
-
requiresShipping: false;
|
|
2148
|
-
download: {
|
|
2149
|
-
limit: number;
|
|
2150
|
-
days: number;
|
|
2151
|
-
withdrawalRestricted: boolean;
|
|
2152
|
-
};
|
|
2153
|
-
} | {
|
|
2154
|
-
type: "CODE";
|
|
2155
|
-
requiresShipping: false;
|
|
2156
|
-
code: {
|
|
2157
|
-
withdrawalRestricted: boolean;
|
|
2158
|
-
};
|
|
2159
|
-
} | {
|
|
2160
|
-
type: "SERVICE";
|
|
1774
|
+
type: "MANUAL";
|
|
2161
1775
|
requiresShipping: false;
|
|
2162
|
-
} | {
|
|
2163
|
-
type: "PICKUP";
|
|
2164
|
-
requiresShipping: false;
|
|
2165
|
-
pickup: {
|
|
2166
|
-
location: {
|
|
2167
|
-
name: string;
|
|
2168
|
-
zipCode: string;
|
|
2169
|
-
address1: string;
|
|
2170
|
-
address2: string | null;
|
|
2171
|
-
phone: string;
|
|
2172
|
-
} | null;
|
|
2173
|
-
};
|
|
2174
1776
|
};
|
|
2175
1777
|
returnPeriodDays: number;
|
|
2176
1778
|
categoryPath: {
|
|
@@ -2241,7 +1843,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2241
1843
|
fulfillment: {
|
|
2242
1844
|
type: string;
|
|
2243
1845
|
requiresShipping: boolean;
|
|
2244
|
-
withdrawalRestricted
|
|
1846
|
+
withdrawalRestricted?: boolean | undefined;
|
|
2245
1847
|
};
|
|
2246
1848
|
purchasable: boolean;
|
|
2247
1849
|
unpurchasableReason: "SOLD_OUT" | "SUSPENDED" | "CLOSED" | null;
|
|
@@ -2267,7 +1869,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2267
1869
|
fulfillment: {
|
|
2268
1870
|
type: string;
|
|
2269
1871
|
requiresShipping: boolean;
|
|
2270
|
-
withdrawalRestricted
|
|
1872
|
+
withdrawalRestricted?: boolean | undefined;
|
|
2271
1873
|
};
|
|
2272
1874
|
purchasable: boolean;
|
|
2273
1875
|
unpurchasableReason: "SOLD_OUT" | "SUSPENDED" | "CLOSED" | null;
|
|
@@ -2293,7 +1895,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2293
1895
|
fulfillment: {
|
|
2294
1896
|
type: string;
|
|
2295
1897
|
requiresShipping: boolean;
|
|
2296
|
-
withdrawalRestricted
|
|
1898
|
+
withdrawalRestricted?: boolean | undefined;
|
|
2297
1899
|
};
|
|
2298
1900
|
purchasable: boolean;
|
|
2299
1901
|
unpurchasableReason: "SOLD_OUT" | "SUSPENDED" | "CLOSED" | null;
|
|
@@ -2321,7 +1923,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2321
1923
|
fulfillment: {
|
|
2322
1924
|
type: string;
|
|
2323
1925
|
requiresShipping: boolean;
|
|
2324
|
-
withdrawalRestricted
|
|
1926
|
+
withdrawalRestricted?: boolean | undefined;
|
|
2325
1927
|
};
|
|
2326
1928
|
}[];
|
|
2327
1929
|
amounts: {
|
|
@@ -2341,10 +1943,6 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2341
1943
|
zipCode: string | null;
|
|
2342
1944
|
};
|
|
2343
1945
|
requiresShipping: boolean;
|
|
2344
|
-
withdrawal: {
|
|
2345
|
-
required: boolean;
|
|
2346
|
-
notice: string | null;
|
|
2347
|
-
};
|
|
2348
1946
|
expiresAt: string;
|
|
2349
1947
|
paymentOptions: (({
|
|
2350
1948
|
pg: "tosspayments" | "portone";
|
|
@@ -2367,6 +1965,10 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2367
1965
|
pgName: string;
|
|
2368
1966
|
})[];
|
|
2369
1967
|
testPayment: boolean;
|
|
1968
|
+
withdrawal?: {
|
|
1969
|
+
required: boolean;
|
|
1970
|
+
notice: string | null;
|
|
1971
|
+
} | undefined;
|
|
2370
1972
|
}>;
|
|
2371
1973
|
/**
|
|
2372
1974
|
* `POST /checkout/{checkoutId}/delivery-quote` — 배송비 미리보기. 배송지 우편번호로 배송비를 다시 계산한다.
|
|
@@ -2592,57 +2194,18 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2592
2194
|
activeQuantity: number;
|
|
2593
2195
|
totalPrice: number;
|
|
2594
2196
|
couponDiscountAmount: number;
|
|
2595
|
-
status: "
|
|
2197
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
2596
2198
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
2597
2199
|
type: "SHIPPING";
|
|
2598
2200
|
requiresShipping: true;
|
|
2599
2201
|
} | {
|
|
2600
|
-
type: "
|
|
2601
|
-
requiresShipping: false;
|
|
2602
|
-
download: {
|
|
2603
|
-
withdrawalRestricted: boolean;
|
|
2604
|
-
};
|
|
2605
|
-
} | {
|
|
2606
|
-
type: "CODE";
|
|
2607
|
-
requiresShipping: false;
|
|
2608
|
-
code: {
|
|
2609
|
-
withdrawalRestricted: boolean;
|
|
2610
|
-
};
|
|
2611
|
-
} | {
|
|
2612
|
-
type: "SERVICE";
|
|
2202
|
+
type: "MANUAL";
|
|
2613
2203
|
requiresShipping: false;
|
|
2614
|
-
} | {
|
|
2615
|
-
type: "PICKUP";
|
|
2616
|
-
requiresShipping: false;
|
|
2617
|
-
pickup: {
|
|
2618
|
-
location: {
|
|
2619
|
-
name: string;
|
|
2620
|
-
zipCode: string;
|
|
2621
|
-
address1: string;
|
|
2622
|
-
address2: string | null;
|
|
2623
|
-
phone: string;
|
|
2624
|
-
} | null;
|
|
2625
|
-
};
|
|
2626
2204
|
};
|
|
2627
2205
|
fulfillment: {
|
|
2628
2206
|
status: string;
|
|
2629
2207
|
fulfilledAt: string;
|
|
2630
2208
|
note: string | null;
|
|
2631
|
-
codes: {
|
|
2632
|
-
codeId: string;
|
|
2633
|
-
hint: string;
|
|
2634
|
-
revealedAt: string | null;
|
|
2635
|
-
}[];
|
|
2636
|
-
download: {
|
|
2637
|
-
count: number;
|
|
2638
|
-
limit: number;
|
|
2639
|
-
expiresAt: string | null;
|
|
2640
|
-
files: {
|
|
2641
|
-
assetId: string;
|
|
2642
|
-
fileName: string;
|
|
2643
|
-
sizeBytes: number | null;
|
|
2644
|
-
}[];
|
|
2645
|
-
} | null;
|
|
2646
2209
|
} | null;
|
|
2647
2210
|
claimStatus: string | null;
|
|
2648
2211
|
reviewWritten: boolean;
|
|
@@ -2673,7 +2236,6 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2673
2236
|
paidAt: string | null;
|
|
2674
2237
|
receiptUrl: string | null;
|
|
2675
2238
|
};
|
|
2676
|
-
withdrawalAgreedAt: string | null;
|
|
2677
2239
|
testPayment: boolean;
|
|
2678
2240
|
}[];
|
|
2679
2241
|
}>;
|
|
@@ -2691,57 +2253,18 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2691
2253
|
activeQuantity: number;
|
|
2692
2254
|
totalPrice: number;
|
|
2693
2255
|
couponDiscountAmount: number;
|
|
2694
|
-
status: "
|
|
2256
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
2695
2257
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
2696
2258
|
type: "SHIPPING";
|
|
2697
2259
|
requiresShipping: true;
|
|
2698
2260
|
} | {
|
|
2699
|
-
type: "
|
|
2700
|
-
requiresShipping: false;
|
|
2701
|
-
download: {
|
|
2702
|
-
withdrawalRestricted: boolean;
|
|
2703
|
-
};
|
|
2704
|
-
} | {
|
|
2705
|
-
type: "CODE";
|
|
2706
|
-
requiresShipping: false;
|
|
2707
|
-
code: {
|
|
2708
|
-
withdrawalRestricted: boolean;
|
|
2709
|
-
};
|
|
2710
|
-
} | {
|
|
2711
|
-
type: "SERVICE";
|
|
2261
|
+
type: "MANUAL";
|
|
2712
2262
|
requiresShipping: false;
|
|
2713
|
-
} | {
|
|
2714
|
-
type: "PICKUP";
|
|
2715
|
-
requiresShipping: false;
|
|
2716
|
-
pickup: {
|
|
2717
|
-
location: {
|
|
2718
|
-
name: string;
|
|
2719
|
-
zipCode: string;
|
|
2720
|
-
address1: string;
|
|
2721
|
-
address2: string | null;
|
|
2722
|
-
phone: string;
|
|
2723
|
-
} | null;
|
|
2724
|
-
};
|
|
2725
2263
|
};
|
|
2726
2264
|
fulfillment: {
|
|
2727
2265
|
status: string;
|
|
2728
2266
|
fulfilledAt: string;
|
|
2729
2267
|
note: string | null;
|
|
2730
|
-
codes: {
|
|
2731
|
-
codeId: string;
|
|
2732
|
-
hint: string;
|
|
2733
|
-
revealedAt: string | null;
|
|
2734
|
-
}[];
|
|
2735
|
-
download: {
|
|
2736
|
-
count: number;
|
|
2737
|
-
limit: number;
|
|
2738
|
-
expiresAt: string | null;
|
|
2739
|
-
files: {
|
|
2740
|
-
assetId: string;
|
|
2741
|
-
fileName: string;
|
|
2742
|
-
sizeBytes: number | null;
|
|
2743
|
-
}[];
|
|
2744
|
-
} | null;
|
|
2745
2268
|
} | null;
|
|
2746
2269
|
claimStatus: string | null;
|
|
2747
2270
|
reviewWritten: boolean;
|
|
@@ -2772,7 +2295,6 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2772
2295
|
paidAt: string | null;
|
|
2773
2296
|
receiptUrl: string | null;
|
|
2774
2297
|
};
|
|
2775
|
-
withdrawalAgreedAt: string | null;
|
|
2776
2298
|
testPayment: boolean;
|
|
2777
2299
|
}>;
|
|
2778
2300
|
/**
|
|
@@ -2801,57 +2323,18 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2801
2323
|
activeQuantity: number;
|
|
2802
2324
|
totalPrice: number;
|
|
2803
2325
|
couponDiscountAmount: number;
|
|
2804
|
-
status: "
|
|
2326
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
2805
2327
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
2806
2328
|
type: "SHIPPING";
|
|
2807
2329
|
requiresShipping: true;
|
|
2808
2330
|
} | {
|
|
2809
|
-
type: "
|
|
2810
|
-
requiresShipping: false;
|
|
2811
|
-
download: {
|
|
2812
|
-
withdrawalRestricted: boolean;
|
|
2813
|
-
};
|
|
2814
|
-
} | {
|
|
2815
|
-
type: "CODE";
|
|
2331
|
+
type: "MANUAL";
|
|
2816
2332
|
requiresShipping: false;
|
|
2817
|
-
code: {
|
|
2818
|
-
withdrawalRestricted: boolean;
|
|
2819
|
-
};
|
|
2820
|
-
} | {
|
|
2821
|
-
type: "SERVICE";
|
|
2822
|
-
requiresShipping: false;
|
|
2823
|
-
} | {
|
|
2824
|
-
type: "PICKUP";
|
|
2825
|
-
requiresShipping: false;
|
|
2826
|
-
pickup: {
|
|
2827
|
-
location: {
|
|
2828
|
-
name: string;
|
|
2829
|
-
zipCode: string;
|
|
2830
|
-
address1: string;
|
|
2831
|
-
address2: string | null;
|
|
2832
|
-
phone: string;
|
|
2833
|
-
} | null;
|
|
2834
|
-
};
|
|
2835
2333
|
};
|
|
2836
2334
|
fulfillment: {
|
|
2837
2335
|
status: string;
|
|
2838
2336
|
fulfilledAt: string;
|
|
2839
2337
|
note: string | null;
|
|
2840
|
-
codes: {
|
|
2841
|
-
codeId: string;
|
|
2842
|
-
hint: string;
|
|
2843
|
-
revealedAt: string | null;
|
|
2844
|
-
}[];
|
|
2845
|
-
download: {
|
|
2846
|
-
count: number;
|
|
2847
|
-
limit: number;
|
|
2848
|
-
expiresAt: string | null;
|
|
2849
|
-
files: {
|
|
2850
|
-
assetId: string;
|
|
2851
|
-
fileName: string;
|
|
2852
|
-
sizeBytes: number | null;
|
|
2853
|
-
}[];
|
|
2854
|
-
} | null;
|
|
2855
2338
|
} | null;
|
|
2856
2339
|
claimStatus: string | null;
|
|
2857
2340
|
reviewWritten: boolean;
|
|
@@ -2882,7 +2365,6 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2882
2365
|
paidAt: string | null;
|
|
2883
2366
|
receiptUrl: string | null;
|
|
2884
2367
|
};
|
|
2885
|
-
withdrawalAgreedAt: string | null;
|
|
2886
2368
|
testPayment: boolean;
|
|
2887
2369
|
}>;
|
|
2888
2370
|
getDelivery: (orderItemId: string) => Promise<{
|
|
@@ -2899,58 +2381,6 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2899
2381
|
trackingStage: string | null;
|
|
2900
2382
|
trackingCheckedAt: string | null;
|
|
2901
2383
|
}>;
|
|
2902
|
-
/**
|
|
2903
|
-
* 코드 열람 (이슈 #48) — 코드 발급 상품의 평문 코드. 처음 열람한 시각이 제공 개시 증거로 남는다.
|
|
2904
|
-
*
|
|
2905
|
-
* 에러: 404 `ORDER_ITEM_NOT_FOUND`(없거나 남의 주문상품) · 404 `FULFILLMENT_NOT_FOUND`(제공 전·회수됨·코드 상품 아님) ·
|
|
2906
|
-
* 429 `TOO_MANY_REQUESTS`
|
|
2907
|
-
*/
|
|
2908
|
-
revealCode: (orderItemId: string) => Promise<{
|
|
2909
|
-
orderItemId: string;
|
|
2910
|
-
codes: {
|
|
2911
|
-
codeId: string;
|
|
2912
|
-
code: string;
|
|
2913
|
-
revealedAt: string;
|
|
2914
|
-
}[];
|
|
2915
|
-
}>;
|
|
2916
|
-
/**
|
|
2917
|
-
* 파일 다운로드 (이슈 #48) — 수명 300초의 서명 주소를 받는다. 받을 때마다 남은 횟수가 준다.
|
|
2918
|
-
*
|
|
2919
|
-
* 에러: 404 `FULFILLMENT_NOT_FOUND`(제공 전·회수됨·파일 상품 아님) · 409 `DOWNLOAD_LIMIT_REACHED`(횟수 소진) ·
|
|
2920
|
-
* 409 `DOWNLOAD_EXPIRED`(기한 지남) · 400 `ASSET_REQUIRED`(파일이 여러 개인데 `assetId` 없음)
|
|
2921
|
-
*/
|
|
2922
|
-
createDownload: (orderItemId: string, body?: DownloadRequest) => Promise<{
|
|
2923
|
-
url: string;
|
|
2924
|
-
expiresAt: string;
|
|
2925
|
-
fileName: string;
|
|
2926
|
-
remaining: number;
|
|
2927
|
-
}>;
|
|
2928
|
-
/** 비회원 다운로드 — 비회원 주문 조회와 같은 연락처·주문 조회 비밀번호로 확인한다 */
|
|
2929
|
-
createGuestDownload: (orderId: string, orderItemId: string, body: {
|
|
2930
|
-
phone: string;
|
|
2931
|
-
orderPassword: string;
|
|
2932
|
-
assetId?: string;
|
|
2933
|
-
}) => Promise<{
|
|
2934
|
-
url: string;
|
|
2935
|
-
expiresAt: string;
|
|
2936
|
-
fileName: string;
|
|
2937
|
-
remaining: number;
|
|
2938
|
-
}>;
|
|
2939
|
-
/**
|
|
2940
|
-
* 비회원 코드 열람 — 비회원 주문 조회와 같은 연락처·주문 조회 비밀번호로 확인하고 같은 시도 한도를 쓴다.
|
|
2941
|
-
* 틀리면 구분 없이 404 `ORDER_NOT_FOUND`다.
|
|
2942
|
-
*/
|
|
2943
|
-
revealGuestCode: (orderId: string, orderItemId: string, body: {
|
|
2944
|
-
phone: string;
|
|
2945
|
-
orderPassword: string;
|
|
2946
|
-
}) => Promise<{
|
|
2947
|
-
orderItemId: string;
|
|
2948
|
-
codes: {
|
|
2949
|
-
codeId: string;
|
|
2950
|
-
code: string;
|
|
2951
|
-
revealedAt: string;
|
|
2952
|
-
}[];
|
|
2953
|
-
}>;
|
|
2954
2384
|
decidePurchase: (orderItemId: string) => Promise<void>;
|
|
2955
2385
|
};
|
|
2956
2386
|
myClaims: {
|
|
@@ -2974,7 +2404,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2974
2404
|
contents: {
|
|
2975
2405
|
claimId: string;
|
|
2976
2406
|
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
2977
|
-
status: "
|
|
2407
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
2978
2408
|
orderItemId: string;
|
|
2979
2409
|
productName: string;
|
|
2980
2410
|
quantity: number;
|
|
@@ -3339,6 +2769,179 @@ type AnalyticsBatch = z.infer<typeof analyticsBatchSchema>;
|
|
|
3339
2769
|
/** 배치 본문 상한(바이트) — 서버가 넘는 요청을 거부한다 */
|
|
3340
2770
|
declare const ANALYTICS_MAX_BATCH_BYTES: number;
|
|
3341
2771
|
//#endregion
|
|
2772
|
+
//#region src/schemas/order.d.ts
|
|
2773
|
+
declare const myOrderItemSchema: z.ZodObject<{
|
|
2774
|
+
orderItemId: z.ZodString;
|
|
2775
|
+
productId: z.ZodString;
|
|
2776
|
+
productName: z.ZodString;
|
|
2777
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
2778
|
+
optionName: z.ZodNullable<z.ZodString>;
|
|
2779
|
+
quantity: z.ZodNumber;
|
|
2780
|
+
canceledQuantity: z.ZodNumber;
|
|
2781
|
+
activeQuantity: z.ZodNumber;
|
|
2782
|
+
totalPrice: z.ZodNumber;
|
|
2783
|
+
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2784
|
+
status: z.ZodEnum<{
|
|
2785
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2786
|
+
PAID: "PAID";
|
|
2787
|
+
CONFIRMED: "CONFIRMED";
|
|
2788
|
+
DISPATCHED: "DISPATCHED";
|
|
2789
|
+
DELIVERING: "DELIVERING";
|
|
2790
|
+
DELIVERED: "DELIVERED";
|
|
2791
|
+
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2792
|
+
CANCELED: "CANCELED";
|
|
2793
|
+
}>;
|
|
2794
|
+
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2795
|
+
type: z.ZodLiteral<"SHIPPING">;
|
|
2796
|
+
requiresShipping: z.ZodLiteral<true>;
|
|
2797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2798
|
+
type: z.ZodLiteral<"MANUAL">;
|
|
2799
|
+
requiresShipping: z.ZodLiteral<false>;
|
|
2800
|
+
}, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
|
|
2801
|
+
type: z.ZodString;
|
|
2802
|
+
requiresShipping: z.ZodBoolean;
|
|
2803
|
+
}, z.core.$loose>, z.ZodTransform<UnknownFulfillmentView, {
|
|
2804
|
+
[x: string]: unknown;
|
|
2805
|
+
type: string;
|
|
2806
|
+
requiresShipping: boolean;
|
|
2807
|
+
}>>]>;
|
|
2808
|
+
fulfillment: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2809
|
+
status: z.ZodString;
|
|
2810
|
+
fulfilledAt: z.ZodString;
|
|
2811
|
+
note: z.ZodNullable<z.ZodString>;
|
|
2812
|
+
}, z.core.$strip>>>>;
|
|
2813
|
+
claimStatus: z.ZodNullable<z.ZodString>;
|
|
2814
|
+
reviewWritten: z.ZodBoolean;
|
|
2815
|
+
autoDecisionDate: z.ZodNullable<z.ZodString>;
|
|
2816
|
+
}, z.core.$strip>;
|
|
2817
|
+
type MyOrderItem = z.infer<typeof myOrderItemSchema>;
|
|
2818
|
+
/**
|
|
2819
|
+
* 주문 응답의 배송지 — 결제 요청 시 저장된 스냅샷. 요청 스키마(`shippingAddressInputSchema`)와 분리한 응답 스키마라
|
|
2820
|
+
* 형식 검증(regex·길이)을 하지 않는다. 입력하지 않은 선택 필드는 null로 오거나 빠질 수 있다.
|
|
2821
|
+
*/
|
|
2822
|
+
declare const orderShippingAddressSchema: z.ZodObject<{
|
|
2823
|
+
receiverName: z.ZodString;
|
|
2824
|
+
phone: z.ZodString;
|
|
2825
|
+
zipCode: z.ZodString;
|
|
2826
|
+
address1: z.ZodString;
|
|
2827
|
+
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2828
|
+
deliveryMemo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2829
|
+
entranceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2830
|
+
}, z.core.$strip>;
|
|
2831
|
+
type OrderShippingAddress = z.infer<typeof orderShippingAddressSchema>;
|
|
2832
|
+
declare const myOrderSchema: z.ZodObject<{
|
|
2833
|
+
orderId: z.ZodString;
|
|
2834
|
+
orderedAt: z.ZodString;
|
|
2835
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2836
|
+
orderItemId: z.ZodString;
|
|
2837
|
+
productId: z.ZodString;
|
|
2838
|
+
productName: z.ZodString;
|
|
2839
|
+
thumbnailUrl: z.ZodNullable<z.ZodURL>;
|
|
2840
|
+
optionName: z.ZodNullable<z.ZodString>;
|
|
2841
|
+
quantity: z.ZodNumber;
|
|
2842
|
+
canceledQuantity: z.ZodNumber;
|
|
2843
|
+
activeQuantity: z.ZodNumber;
|
|
2844
|
+
totalPrice: z.ZodNumber;
|
|
2845
|
+
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2846
|
+
status: z.ZodEnum<{
|
|
2847
|
+
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2848
|
+
PAID: "PAID";
|
|
2849
|
+
CONFIRMED: "CONFIRMED";
|
|
2850
|
+
DISPATCHED: "DISPATCHED";
|
|
2851
|
+
DELIVERING: "DELIVERING";
|
|
2852
|
+
DELIVERED: "DELIVERED";
|
|
2853
|
+
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2854
|
+
CANCELED: "CANCELED";
|
|
2855
|
+
}>;
|
|
2856
|
+
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2857
|
+
type: z.ZodLiteral<"SHIPPING">;
|
|
2858
|
+
requiresShipping: z.ZodLiteral<true>;
|
|
2859
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2860
|
+
type: z.ZodLiteral<"MANUAL">;
|
|
2861
|
+
requiresShipping: z.ZodLiteral<false>;
|
|
2862
|
+
}, z.core.$strip>], "type">, z.ZodPipe<z.ZodObject<{
|
|
2863
|
+
type: z.ZodString;
|
|
2864
|
+
requiresShipping: z.ZodBoolean;
|
|
2865
|
+
}, z.core.$loose>, z.ZodTransform<UnknownFulfillmentView, {
|
|
2866
|
+
[x: string]: unknown;
|
|
2867
|
+
type: string;
|
|
2868
|
+
requiresShipping: boolean;
|
|
2869
|
+
}>>]>;
|
|
2870
|
+
fulfillment: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2871
|
+
status: z.ZodString;
|
|
2872
|
+
fulfilledAt: z.ZodString;
|
|
2873
|
+
note: z.ZodNullable<z.ZodString>;
|
|
2874
|
+
}, z.core.$strip>>>>;
|
|
2875
|
+
claimStatus: z.ZodNullable<z.ZodString>;
|
|
2876
|
+
reviewWritten: z.ZodBoolean;
|
|
2877
|
+
autoDecisionDate: z.ZodNullable<z.ZodString>;
|
|
2878
|
+
}, z.core.$strip>>;
|
|
2879
|
+
requiresShipping: z.ZodBoolean;
|
|
2880
|
+
shippingAddress: z.ZodObject<{
|
|
2881
|
+
receiverName: z.ZodString;
|
|
2882
|
+
phone: z.ZodString;
|
|
2883
|
+
zipCode: z.ZodString;
|
|
2884
|
+
address1: z.ZodString;
|
|
2885
|
+
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2886
|
+
deliveryMemo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
|
+
entranceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2888
|
+
}, z.core.$strip>;
|
|
2889
|
+
payment: z.ZodObject<{
|
|
2890
|
+
method: z.ZodEnum<{
|
|
2891
|
+
CARD: "CARD";
|
|
2892
|
+
EASY_PAY: "EASY_PAY";
|
|
2893
|
+
BANK_TRANSFER: "BANK_TRANSFER";
|
|
2894
|
+
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
2895
|
+
MOBILE: "MOBILE";
|
|
2896
|
+
}>;
|
|
2897
|
+
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2898
|
+
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2899
|
+
deliveryDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2900
|
+
discounts: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2901
|
+
couponId: z.ZodString;
|
|
2902
|
+
name: z.ZodString;
|
|
2903
|
+
kind: z.ZodString;
|
|
2904
|
+
discountAmount: z.ZodNumber;
|
|
2905
|
+
}, z.core.$strip>>>>;
|
|
2906
|
+
totalAmount: z.ZodNumber;
|
|
2907
|
+
paidAt: z.ZodNullable<z.ZodString>;
|
|
2908
|
+
receiptUrl: z.ZodNullable<z.ZodURL>;
|
|
2909
|
+
}, z.core.$strip>;
|
|
2910
|
+
testPayment: z.ZodBoolean;
|
|
2911
|
+
}, z.core.$strip>;
|
|
2912
|
+
type MyOrder = z.infer<typeof myOrderSchema>;
|
|
2913
|
+
/**
|
|
2914
|
+
* 택배 추적 단계. 응답에서는 문자열로 받는다(값이 추가될 수 있다) — 현재 값은 `ACCEPTED`(접수)·`IN_TRANSIT`(이동 중)·
|
|
2915
|
+
* `OUT_FOR_DELIVERY`(배송 출발)·`DELIVERED`(배송완료)다.
|
|
2916
|
+
*/
|
|
2917
|
+
declare const trackingStageResponseSchema: z.ZodString;
|
|
2918
|
+
declare const deliveryTrackingSchema: z.ZodObject<{
|
|
2919
|
+
carrierName: z.ZodString;
|
|
2920
|
+
trackingNumber: z.ZodString;
|
|
2921
|
+
trackingUrl: z.ZodURL;
|
|
2922
|
+
status: z.ZodEnum<{
|
|
2923
|
+
DISPATCHED: "DISPATCHED";
|
|
2924
|
+
DELIVERING: "DELIVERING";
|
|
2925
|
+
DELIVERED: "DELIVERED";
|
|
2926
|
+
}>;
|
|
2927
|
+
trackingEvents: z.ZodArray<z.ZodObject<{
|
|
2928
|
+
status: z.ZodString;
|
|
2929
|
+
location: z.ZodString;
|
|
2930
|
+
occurredAt: z.ZodString;
|
|
2931
|
+
stage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2932
|
+
}, z.core.$strip>>;
|
|
2933
|
+
trackingStage: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2934
|
+
trackingCheckedAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2935
|
+
}, z.core.$strip>;
|
|
2936
|
+
type DeliveryTracking = z.infer<typeof deliveryTrackingSchema>;
|
|
2937
|
+
/** `POST /me/order-items/{orderItemId}/purchase-decision` 응답 */
|
|
2938
|
+
declare const purchaseDecisionResultSchema: z.ZodObject<{
|
|
2939
|
+
orderItemId: z.ZodString;
|
|
2940
|
+
status: z.ZodLiteral<"PURCHASE_DECIDED">;
|
|
2941
|
+
decidedAt: z.ZodString;
|
|
2942
|
+
}, z.core.$strip>;
|
|
2943
|
+
type PurchaseDecisionResult = z.infer<typeof purchaseDecisionResultSchema>;
|
|
2944
|
+
//#endregion
|
|
3342
2945
|
//#region src/schemas/store.d.ts
|
|
3343
2946
|
/**
|
|
3344
2947
|
* 스토어 공개 설정 — `GET /store`. 스토어프론트가 화면을 그릴 때 읽는 값만 담는다.
|
|
@@ -3359,4 +2962,4 @@ declare const storefrontStoreSchema: z.ZodObject<{
|
|
|
3359
2962
|
}, z.core.$strip>;
|
|
3360
2963
|
type StorefrontStore = z.infer<typeof storefrontStoreSchema>;
|
|
3361
2964
|
//#endregion
|
|
3362
|
-
export {
|
|
2965
|
+
export { Member as $, paymentOptionListSchema as $n, ClaimType as $t, StorefrontClientOptions as A, PaymentStatus as An, LineFulfillment as Ar, checkoutPricingRequestSchema as At, ReviewPage as B, cashReceiptTypeSchema as Bn, Cart as Br, ConsentKind as Bt, AnalyticsServerEventName as C, PAYMENT_RESULT_VALUES as Cn, OrderItemStatus as Cr, CheckoutPricingRequest as Ct, analyticsIdSchema as D, PaymentMethod as Dn, orderItemStatusSchema as Dr, MIN_PAYMENT_AMOUNT as Dt, analyticsClientEventSchema as E, PaymentMessage as En, claimStatusSchema as Er, MAX_COUPONS_PER_CHECKOUT as Et, StorefrontSessionOptions as F, StartPaymentRequest as Fn, lineFulfillmentSchema as Fr, couponResultSchema as Ft, createReviewRequestSchema as G, deliveryQuoteSchema as Gn, cartSchema as Gr, consentActionSchema as Gt, UpdateReviewRequest as H, checkoutSessionSchema as Hn, UpdateCartItemRequest as Hr, ConsentState as Ht, createStorefrontSession as I, availablePaymentOptionSchema as In, myOrderItemFulfillmentSnapshotSchema as Ir, myCouponListQuerySchema as It, reviewPageSchema as J, guestInfoSchema as Jn, consentStateSchema as Jt, createReviewResultSchema as K, easyPayProviderResponseSchema as Kn, updateCartItemRequestSchema as Kr, consentKindSchema as Kt, CreateReviewRequest as L, cashReceiptAvailable as Ln, productCardFulfillmentSchema as Lr, myCouponSchema as Lt, STOREFRONT_SESSION_KEYS as M, RemoteArea as Mn, ProductCardFulfillment as Mr, couponApplicationListSchema as Mt, SessionStorage as N, RetryPaymentRequest as Nn, ProductFulfillmentView as Nr, couponApplicationSchema as Nt, analyticsServerEventNameSchema as O, PaymentOption as On, pageInfoSchema as Or, MyCoupon as Ot, StorefrontSession as P, ShippingAddressInput as Pn, UnknownFulfillmentView as Pr, couponBenefitViewSchema as Pt, writableReviewSchema as Q, paymentOptionKey as Qn, ClaimReturnAddress as Qt, CreateReviewResult as R, cashReceiptIdentityTypeOf as Rn, productFulfillmentViewSchema as Rr, pricingAmountsSchema as Rt, AnalyticsEventName as S, KnownPaymentStatus as Sn, ClaimStatus as Sr, CheckoutPricing as St, analyticsClientEventNameSchema as T, PaymentFailureCategory as Tn, PageParams as Tr, CouponResult as Tt, UpdateReviewResult as U, createCheckoutRequestSchema as Un, addCartItemRequestSchema as Ur, ConsentUpdateRequest as Ut, ReviewSummary as V, checkoutDeliverySchema as Vn, CartItem as Vr, ConsentSource as Vt, WritableReview as W, deliveryQuoteRequestSchema as Wn, cartItemSchema as Wr, MemberConsents as Wt, updateReviewRequestSchema as X, paymentMessageSchema as Xn, memberConsentsSchema as Xt, reviewSummarySchema as Y, paymentFailureCategorySchema as Yn, consentUpdateRequestSchema as Yt, updateReviewResultSchema as Z, paymentMethodSchema as Zn, ClaimReason as Zt, ANALYTICS_VISITOR_COOKIE as _, DeliveryQuoteRequest as _n, productCardSchema as _r, CustomerInquiryCategory as _t, MyOrderItem as a, claimTypeSchema as an, residentNumberLike as ar, memberAddressSchema as at, AnalyticsClientEvent as b, GuestInfo as bn, productPageSchema as br, customerInquirySchema as bt, deliveryTrackingSchema as c, myClaimSchema as cn, startPaymentRequestSchema as cr, wishlistAddResultSchema as ct, orderShippingAddressSchema as d, CashReceiptIdentityType as dn, ProductDetail as dr, PublicInquiry as dt, CreateClaimRequest as en, paymentOptionSchema as er, MemberAddress as et, purchaseDecisionResultSchema as f, CashReceiptRequest as fn, ProductFacets as fr, createInquiryRequestSchema as ft, ANALYTICS_SESSION_HEADER as g, CreateCheckoutRequest as gn, categoryNodeSchema as gr, CustomerInquiry as gt, ANALYTICS_SESSION_COOKIE as h, CheckoutSession as hn, ProductSort as hr, CreateCustomerInquiryRequest as ht, MyOrder as i, claimReturnAddressSchema as in, remoteAreaSchema as ir, memberAddressRequestSchema as it, createStorefrontClient as j, PgProvider as jn, MyOrderItemFulfillmentSnapshot as jr, checkoutPricingSchema as jt, StorefrontClient as k, PaymentStart as kn, pageSchema as kr, applicableCouponSchema as kt, myOrderItemSchema as l, AvailablePaymentOption as ln, CategoryNode as lr, CreateInquiryRequest as lt, ANALYTICS_MAX_BATCH_BYTES as m, CheckoutDelivery as mn, ProductSearchParams as mr, publicInquirySchema as mt, storefrontStoreSchema as n, MyClaim as nn, paymentStatusSchema as nr, UpdateProfileRequest as nt, OrderShippingAddress as o, createClaimRequestSchema as on, retryPaymentRequestSchema as or, memberSchema as ot, trackingStageResponseSchema as p, CashReceiptType as pn, ProductPage as pr, createInquiryResultSchema as pt, publicReviewSchema as q, easyPayProviderSchema as qn, analyticsIdsFromCookie as qr, consentSourceSchema as qt, DeliveryTracking as r, claimReasonSchema as rn, pgProviderSchema as rr, WishlistAddResult as rt, PurchaseDecisionResult as s, createClaimResultSchema as sn, shippingAddressInputSchema as sr, updateProfileRequestSchema as st, StorefrontStore as t, CreateClaimResult as tn, paymentStartSchema as tr, MemberAddressRequest as tt, myOrderSchema as u, CASH_RECEIPT_METHODS as un, ProductCard as ur, CreateInquiryResult as ut, ANALYTICS_VISITOR_HEADER as v, DeliveryQuoteResult as vn, productDetailSchema as vr, createCustomerInquiryRequestSchema as vt, analyticsBatchSchema as w, PAYMENT_STATUS_VALUES as wn, PageInfo as wr, CouponApplication as wt, AnalyticsClientEventName as x, KnownPaymentResult as xn, productSortSchema as xr, ApplicableCoupon as xt, AnalyticsBatch as y, EasyPayProvider as yn, productFacetsSchema as yr, customerInquiryCategorySchema as yt, PublicReview as z, cashReceiptRequestSchema as zn, AddCartItemRequest as zr, ConsentAction as zt };
|