@sayren/storefront-sdk 0.19.0 → 0.20.1
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-CCsO8PY2.mjs → checkout-DSAf758s.mjs} +41 -8
- package/dist/{client-Dgpp9T8r.mjs → client-jOhA2sZX.mjs} +51 -4
- package/dist/{index-CfOZjg2U.d.mts → index-q0XQ08--.d.mts} +185 -16
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/payments/index.d.mts +6 -1
- package/dist/payments/index.mjs +24 -3
- package/package.json +1 -1
- package/src/client.ts +14 -0
- package/src/index.ts +1 -0
- package/src/payments/index.ts +26 -2
- package/src/schemas/checkout.ts +85 -3
- package/src/schemas/claim.ts +18 -0
- package/src/schemas/coupon.ts +39 -0
- package/src/schemas/order.ts +20 -3
- package/src/schemas/points.ts +63 -0
|
@@ -565,7 +565,16 @@ declare const checkoutSessionSchema: z.ZodObject<{
|
|
|
565
565
|
totalAmount: z.ZodNumber;
|
|
566
566
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
567
567
|
deliveryDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
568
|
+
pointAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
568
569
|
}, z.core.$strip>;
|
|
570
|
+
points: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
571
|
+
enabled: z.ZodBoolean;
|
|
572
|
+
balance: z.ZodNumber;
|
|
573
|
+
maxUsable: z.ZodNumber;
|
|
574
|
+
unit: z.ZodNumber;
|
|
575
|
+
minAmount: z.ZodNumber;
|
|
576
|
+
minBalance: z.ZodNumber;
|
|
577
|
+
}, z.core.$strip>>>>;
|
|
569
578
|
delivery: z.ZodObject<{
|
|
570
579
|
baseFee: z.ZodNumber;
|
|
571
580
|
remoteSurcharge: z.ZodNumber;
|
|
@@ -645,6 +654,7 @@ declare const deliveryQuoteSchema: z.ZodObject<{
|
|
|
645
654
|
totalAmount: z.ZodNumber;
|
|
646
655
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
647
656
|
deliveryDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
657
|
+
pointAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
648
658
|
}, z.core.$strip>;
|
|
649
659
|
delivery: z.ZodObject<{
|
|
650
660
|
baseFee: z.ZodNumber;
|
|
@@ -669,6 +679,20 @@ declare const paymentMethodSchema: z.ZodEnum<{
|
|
|
669
679
|
MOBILE: "MOBILE";
|
|
670
680
|
}>;
|
|
671
681
|
type PaymentMethod = z.infer<typeof paymentMethodSchema>;
|
|
682
|
+
/**
|
|
683
|
+
* 응답에 실리는 결제수단 — 아는 값(`PaymentMethod`)이거나 이 SDK가 모르는 새 값(문자열)이다. 서버가 결제수단을 더해도
|
|
684
|
+
* 응답 파싱이 깨지지 않게 넓게 받는다(`responsePlanCodeSchema`·`easyPayProviderResponseSchema`와 같은 방식, #93 P0).
|
|
685
|
+
* 적립금 전액 결제 주문은 `POINT`가 온다. 화면은 아는 값으로 분기하고 모르는 값은 그대로 표시하거나 「기타」로 다룬다.
|
|
686
|
+
* 요청(결제 옵션)은 값을 골라 보내는 자리라 `paymentMethodSchema`(enum) 그대로다.
|
|
687
|
+
*/
|
|
688
|
+
declare const responsePaymentMethodSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
689
|
+
CARD: "CARD";
|
|
690
|
+
EASY_PAY: "EASY_PAY";
|
|
691
|
+
BANK_TRANSFER: "BANK_TRANSFER";
|
|
692
|
+
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
693
|
+
MOBILE: "MOBILE";
|
|
694
|
+
}>, z.ZodString]>;
|
|
695
|
+
type ResponsePaymentMethod = PaymentMethod | (string & {});
|
|
672
696
|
/** 결제를 처리하는 PG. 셀러가 직접 계약하고 상점 플랫폼 설정 › 결제에서 연결한다 */
|
|
673
697
|
declare const pgProviderSchema: z.ZodEnum<{
|
|
674
698
|
tosspayments: "tosspayments";
|
|
@@ -967,6 +991,7 @@ declare const startPaymentRequestSchema: z.ZodObject<{
|
|
|
967
991
|
optionId: z.ZodOptional<z.ZodString>;
|
|
968
992
|
lineId: z.ZodOptional<z.ZodString>;
|
|
969
993
|
}, z.core.$strip>>>;
|
|
994
|
+
pointAmount: z.ZodOptional<z.ZodNumber>;
|
|
970
995
|
}, z.core.$strip>;
|
|
971
996
|
type StartPaymentRequest = z.infer<typeof startPaymentRequestSchema>;
|
|
972
997
|
/**
|
|
@@ -1022,10 +1047,18 @@ declare const retryPaymentRequestSchema: z.ZodObject<{
|
|
|
1022
1047
|
}, z.core.$strip>>;
|
|
1023
1048
|
}, z.core.$strip>;
|
|
1024
1049
|
type RetryPaymentRequest = z.infer<typeof retryPaymentRequestSchema>;
|
|
1050
|
+
/**
|
|
1051
|
+
* 결제 시작 상태 — `pending`이면 `payUrl`로 결제창을 연다. `completed`면 결제창 없이 결제가 끝나 주문이 만들어졌고
|
|
1052
|
+
* `orderId`가 있다(적립금으로 결제 금액 전체를 낸 주문, #93). 값이 추가될 수 있어 응답은 문자열로 받는다.
|
|
1053
|
+
*/
|
|
1054
|
+
declare const PAYMENT_START_STATUS_VALUES: readonly ["pending", "completed"];
|
|
1055
|
+
type KnownPaymentStartStatus = (typeof PAYMENT_START_STATUS_VALUES)[number];
|
|
1025
1056
|
declare const paymentStartSchema: z.ZodObject<{
|
|
1026
1057
|
paymentId: z.ZodString;
|
|
1027
|
-
|
|
1028
|
-
|
|
1058
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1059
|
+
orderId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1060
|
+
attemptId: z.ZodNullable<z.ZodString>;
|
|
1061
|
+
option: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1029
1062
|
pg: z.ZodEnum<{
|
|
1030
1063
|
tosspayments: "tosspayments";
|
|
1031
1064
|
portone: "portone";
|
|
@@ -1061,8 +1094,8 @@ declare const paymentStartSchema: z.ZodObject<{
|
|
|
1061
1094
|
portone: "portone";
|
|
1062
1095
|
}>;
|
|
1063
1096
|
method: z.ZodLiteral<"MOBILE">;
|
|
1064
|
-
}, z.core.$strip>], "method"
|
|
1065
|
-
payUrl: z.ZodString
|
|
1097
|
+
}, z.core.$strip>], "method">>;
|
|
1098
|
+
payUrl: z.ZodNullable<z.ZodString>;
|
|
1066
1099
|
expiresAt: z.ZodString;
|
|
1067
1100
|
testPayment: z.ZodBoolean;
|
|
1068
1101
|
amounts: z.ZodObject<{
|
|
@@ -1071,6 +1104,7 @@ declare const paymentStartSchema: z.ZodObject<{
|
|
|
1071
1104
|
totalAmount: z.ZodNumber;
|
|
1072
1105
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1073
1106
|
deliveryDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1107
|
+
pointAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1074
1108
|
}, z.core.$strip>;
|
|
1075
1109
|
delivery: z.ZodObject<{
|
|
1076
1110
|
baseFee: z.ZodNumber;
|
|
@@ -1176,6 +1210,7 @@ declare const createClaimResultSchema: z.ZodObject<{
|
|
|
1176
1210
|
deliveryFeeRefundAmount: z.ZodNumber;
|
|
1177
1211
|
couponChargeAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1178
1212
|
couponChargeRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1213
|
+
pointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1179
1214
|
}, z.core.$strip>;
|
|
1180
1215
|
type CreateClaimResult = z.infer<typeof createClaimResultSchema>;
|
|
1181
1216
|
/**
|
|
@@ -1218,6 +1253,7 @@ declare const myClaimSchema: z.ZodObject<{
|
|
|
1218
1253
|
reason: z.ZodString;
|
|
1219
1254
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
1220
1255
|
expectedDeliveryFeeRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
1256
|
+
expectedPointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1221
1257
|
rejectReason: z.ZodNullable<z.ZodString>;
|
|
1222
1258
|
returnAddress: z.ZodNullable<z.ZodObject<{
|
|
1223
1259
|
name: z.ZodString;
|
|
@@ -1390,6 +1426,7 @@ declare const pricingAmountsSchema: z.ZodObject<{
|
|
|
1390
1426
|
deliveryFee: z.ZodNumber;
|
|
1391
1427
|
couponDiscountAmount: z.ZodNumber;
|
|
1392
1428
|
deliveryDiscountAmount: z.ZodNumber;
|
|
1429
|
+
pointAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1393
1430
|
totalAmount: z.ZodNumber;
|
|
1394
1431
|
}, z.core.$strip>;
|
|
1395
1432
|
/** `POST /checkout/{checkoutId}/pricing` 요청 */
|
|
@@ -1401,6 +1438,7 @@ declare const checkoutPricingRequestSchema: z.ZodObject<{
|
|
|
1401
1438
|
optionId: z.ZodOptional<z.ZodString>;
|
|
1402
1439
|
lineId: z.ZodOptional<z.ZodString>;
|
|
1403
1440
|
}, z.core.$strip>>;
|
|
1441
|
+
pointAmount: z.ZodOptional<z.ZodNumber>;
|
|
1404
1442
|
}, z.core.$strip>;
|
|
1405
1443
|
type CheckoutPricingRequest = z.infer<typeof checkoutPricingRequestSchema>;
|
|
1406
1444
|
/** 결제 금액의 하한 — 쿠폰 적용 뒤 결제 금액이 이보다 작으면 결제를 시작할 수 없다 */
|
|
@@ -1411,6 +1449,7 @@ declare const checkoutPricingSchema: z.ZodObject<{
|
|
|
1411
1449
|
deliveryFee: z.ZodNumber;
|
|
1412
1450
|
couponDiscountAmount: z.ZodNumber;
|
|
1413
1451
|
deliveryDiscountAmount: z.ZodNumber;
|
|
1452
|
+
pointAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1414
1453
|
totalAmount: z.ZodNumber;
|
|
1415
1454
|
}, z.core.$strip>;
|
|
1416
1455
|
coupons: z.ZodArray<z.ZodObject<{
|
|
@@ -1434,7 +1473,14 @@ declare const checkoutPricingSchema: z.ZodObject<{
|
|
|
1434
1473
|
optionId: z.ZodNullable<z.ZodString>;
|
|
1435
1474
|
lineId: z.ZodOptional<z.ZodString>;
|
|
1436
1475
|
couponDiscountAmount: z.ZodNumber;
|
|
1476
|
+
pointAllocation: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1437
1477
|
}, z.core.$strip>>;
|
|
1478
|
+
points: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1479
|
+
balance: z.ZodNumber;
|
|
1480
|
+
maxUsable: z.ZodNumber;
|
|
1481
|
+
adjustReason: z.ZodNullable<z.ZodString>;
|
|
1482
|
+
rejectReason: z.ZodNullable<z.ZodString>;
|
|
1483
|
+
}, z.core.$strip>>>>;
|
|
1438
1484
|
payable: z.ZodBoolean;
|
|
1439
1485
|
}, z.core.$strip>;
|
|
1440
1486
|
type CheckoutPricing = z.infer<typeof checkoutPricingSchema>;
|
|
@@ -1980,6 +2026,23 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
1980
2026
|
};
|
|
1981
2027
|
catalog: {
|
|
1982
2028
|
listCategories: () => Promise<CategoryNode[]>;
|
|
2029
|
+
/** `GET /point-policy` — 상점 적립 정책(리뷰·구매 적립, 유효 기간, 리뷰 작성·수정 기한, #93). 리뷰 혜택 안내에 쓴다 */
|
|
2030
|
+
getPointPolicy: () => Promise<{
|
|
2031
|
+
reviewReward: {
|
|
2032
|
+
enabled: boolean;
|
|
2033
|
+
textPoint: number;
|
|
2034
|
+
photoPoint: number;
|
|
2035
|
+
};
|
|
2036
|
+
purchaseEarn: {
|
|
2037
|
+
enabled: boolean;
|
|
2038
|
+
rateBp: number;
|
|
2039
|
+
};
|
|
2040
|
+
expiryDays: number | null;
|
|
2041
|
+
review: {
|
|
2042
|
+
writableDays: number;
|
|
2043
|
+
editableDays: number;
|
|
2044
|
+
};
|
|
2045
|
+
}>;
|
|
1983
2046
|
searchProducts: (params?: ProductSearchParams) => Promise<{
|
|
1984
2047
|
page: number;
|
|
1985
2048
|
size: number;
|
|
@@ -2329,7 +2392,16 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2329
2392
|
totalAmount: number;
|
|
2330
2393
|
couponDiscountAmount: number;
|
|
2331
2394
|
deliveryDiscountAmount: number;
|
|
2395
|
+
pointAmount: number;
|
|
2332
2396
|
};
|
|
2397
|
+
points: {
|
|
2398
|
+
enabled: boolean;
|
|
2399
|
+
balance: number;
|
|
2400
|
+
maxUsable: number;
|
|
2401
|
+
unit: number;
|
|
2402
|
+
minAmount: number;
|
|
2403
|
+
minBalance: number;
|
|
2404
|
+
} | null;
|
|
2333
2405
|
delivery: {
|
|
2334
2406
|
baseFee: number;
|
|
2335
2407
|
remoteSurcharge: number;
|
|
@@ -2383,6 +2455,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2383
2455
|
totalAmount: number;
|
|
2384
2456
|
couponDiscountAmount: number;
|
|
2385
2457
|
deliveryDiscountAmount: number;
|
|
2458
|
+
pointAmount: number;
|
|
2386
2459
|
};
|
|
2387
2460
|
delivery: {
|
|
2388
2461
|
baseFee: number;
|
|
@@ -2408,7 +2481,9 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2408
2481
|
*/
|
|
2409
2482
|
startPayment: (checkoutId: string, body: StartPaymentRequest) => Promise<{
|
|
2410
2483
|
paymentId: string;
|
|
2411
|
-
|
|
2484
|
+
status: string;
|
|
2485
|
+
orderId: string | null;
|
|
2486
|
+
attemptId: string | null;
|
|
2412
2487
|
option: {
|
|
2413
2488
|
pg: "tosspayments" | "portone";
|
|
2414
2489
|
method: "CARD";
|
|
@@ -2425,8 +2500,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2425
2500
|
} | {
|
|
2426
2501
|
pg: "tosspayments" | "portone";
|
|
2427
2502
|
method: "MOBILE";
|
|
2428
|
-
};
|
|
2429
|
-
payUrl: string;
|
|
2503
|
+
} | null;
|
|
2504
|
+
payUrl: string | null;
|
|
2430
2505
|
expiresAt: string;
|
|
2431
2506
|
testPayment: boolean;
|
|
2432
2507
|
amounts: {
|
|
@@ -2435,6 +2510,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2435
2510
|
totalAmount: number;
|
|
2436
2511
|
couponDiscountAmount: number;
|
|
2437
2512
|
deliveryDiscountAmount: number;
|
|
2513
|
+
pointAmount: number;
|
|
2438
2514
|
};
|
|
2439
2515
|
delivery: {
|
|
2440
2516
|
baseFee: number;
|
|
@@ -2458,6 +2534,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2458
2534
|
deliveryFee: number;
|
|
2459
2535
|
couponDiscountAmount: number;
|
|
2460
2536
|
deliveryDiscountAmount: number;
|
|
2537
|
+
pointAmount: number;
|
|
2461
2538
|
totalAmount: number;
|
|
2462
2539
|
};
|
|
2463
2540
|
coupons: {
|
|
@@ -2480,8 +2557,15 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2480
2557
|
items: {
|
|
2481
2558
|
optionId: string | null;
|
|
2482
2559
|
couponDiscountAmount: number;
|
|
2560
|
+
pointAllocation: number;
|
|
2483
2561
|
lineId?: string | undefined;
|
|
2484
2562
|
}[];
|
|
2563
|
+
points: {
|
|
2564
|
+
balance: number;
|
|
2565
|
+
maxUsable: number;
|
|
2566
|
+
adjustReason: string | null;
|
|
2567
|
+
rejectReason: string | null;
|
|
2568
|
+
} | null;
|
|
2485
2569
|
payable: boolean;
|
|
2486
2570
|
}>;
|
|
2487
2571
|
/** `GET /checkout/{checkoutId}/coupons` — 이 주문서에 쓸 수 있는 내 쿠폰과 예상 할인(회원 전용) */
|
|
@@ -2532,7 +2616,9 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2532
2616
|
*/
|
|
2533
2617
|
retry: (paymentId: string, body: RetryPaymentRequest) => Promise<{
|
|
2534
2618
|
paymentId: string;
|
|
2535
|
-
|
|
2619
|
+
status: string;
|
|
2620
|
+
orderId: string | null;
|
|
2621
|
+
attemptId: string | null;
|
|
2536
2622
|
option: {
|
|
2537
2623
|
pg: "tosspayments" | "portone";
|
|
2538
2624
|
method: "CARD";
|
|
@@ -2549,8 +2635,8 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2549
2635
|
} | {
|
|
2550
2636
|
pg: "tosspayments" | "portone";
|
|
2551
2637
|
method: "MOBILE";
|
|
2552
|
-
};
|
|
2553
|
-
payUrl: string;
|
|
2638
|
+
} | null;
|
|
2639
|
+
payUrl: string | null;
|
|
2554
2640
|
expiresAt: string;
|
|
2555
2641
|
testPayment: boolean;
|
|
2556
2642
|
amounts: {
|
|
@@ -2559,6 +2645,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2559
2645
|
totalAmount: number;
|
|
2560
2646
|
couponDiscountAmount: number;
|
|
2561
2647
|
deliveryDiscountAmount: number;
|
|
2648
|
+
pointAmount: number;
|
|
2562
2649
|
};
|
|
2563
2650
|
delivery: {
|
|
2564
2651
|
baseFee: number;
|
|
@@ -2589,6 +2676,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2589
2676
|
activeQuantity: number;
|
|
2590
2677
|
totalPrice: number;
|
|
2591
2678
|
couponDiscountAmount: number;
|
|
2679
|
+
pointAllocation: number;
|
|
2592
2680
|
status: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
2593
2681
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
2594
2682
|
type: "SHIPPING";
|
|
@@ -2632,10 +2720,11 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2632
2720
|
entranceCode?: string | null | undefined;
|
|
2633
2721
|
};
|
|
2634
2722
|
payment: {
|
|
2635
|
-
method:
|
|
2723
|
+
method: string;
|
|
2636
2724
|
easyPayProvider: string | null;
|
|
2637
2725
|
couponDiscountAmount: number;
|
|
2638
2726
|
deliveryDiscountAmount: number;
|
|
2727
|
+
pointAmount: number;
|
|
2639
2728
|
discounts: {
|
|
2640
2729
|
couponId: string;
|
|
2641
2730
|
name: string;
|
|
@@ -2658,6 +2747,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2658
2747
|
activeQuantity: number;
|
|
2659
2748
|
totalPrice: number;
|
|
2660
2749
|
couponDiscountAmount: number;
|
|
2750
|
+
pointAllocation: number;
|
|
2661
2751
|
status: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
2662
2752
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
2663
2753
|
type: "SHIPPING";
|
|
@@ -2701,10 +2791,11 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2701
2791
|
entranceCode?: string | null | undefined;
|
|
2702
2792
|
};
|
|
2703
2793
|
payment: {
|
|
2704
|
-
method:
|
|
2794
|
+
method: string;
|
|
2705
2795
|
easyPayProvider: string | null;
|
|
2706
2796
|
couponDiscountAmount: number;
|
|
2707
2797
|
deliveryDiscountAmount: number;
|
|
2798
|
+
pointAmount: number;
|
|
2708
2799
|
discounts: {
|
|
2709
2800
|
couponId: string;
|
|
2710
2801
|
name: string;
|
|
@@ -2738,6 +2829,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2738
2829
|
activeQuantity: number;
|
|
2739
2830
|
totalPrice: number;
|
|
2740
2831
|
couponDiscountAmount: number;
|
|
2832
|
+
pointAllocation: number;
|
|
2741
2833
|
status: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
2742
2834
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
2743
2835
|
type: "SHIPPING";
|
|
@@ -2781,10 +2873,11 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2781
2873
|
entranceCode?: string | null | undefined;
|
|
2782
2874
|
};
|
|
2783
2875
|
payment: {
|
|
2784
|
-
method:
|
|
2876
|
+
method: string;
|
|
2785
2877
|
easyPayProvider: string | null;
|
|
2786
2878
|
couponDiscountAmount: number;
|
|
2787
2879
|
deliveryDiscountAmount: number;
|
|
2880
|
+
pointAmount: number;
|
|
2788
2881
|
discounts: {
|
|
2789
2882
|
couponId: string;
|
|
2790
2883
|
name: string;
|
|
@@ -2823,6 +2916,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2823
2916
|
deliveryFeeRefundAmount: number;
|
|
2824
2917
|
couponChargeAmount: number;
|
|
2825
2918
|
couponChargeRefundAmount: number;
|
|
2919
|
+
pointRefundAmount: number;
|
|
2826
2920
|
}>;
|
|
2827
2921
|
list: (params?: PageParams & {
|
|
2828
2922
|
status?: ClaimStatus;
|
|
@@ -2841,6 +2935,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2841
2935
|
reason: string;
|
|
2842
2936
|
expectedRefundAmount: number | null;
|
|
2843
2937
|
expectedDeliveryFeeRefundAmount: number | null;
|
|
2938
|
+
expectedPointRefundAmount: number;
|
|
2844
2939
|
rejectReason: string | null;
|
|
2845
2940
|
returnAddress: {
|
|
2846
2941
|
name: string;
|
|
@@ -2867,6 +2962,25 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
2867
2962
|
joinedAt: string;
|
|
2868
2963
|
reconsentRequired: boolean;
|
|
2869
2964
|
}>;
|
|
2965
|
+
/** `GET /me/points` — 내 적립금 잔액과 30일 안 소멸 예정액(#93) */
|
|
2966
|
+
getPoints: () => Promise<{
|
|
2967
|
+
balance: number;
|
|
2968
|
+
expiringSoon: number;
|
|
2969
|
+
}>;
|
|
2970
|
+
/** `GET /me/points/history` — 내 적립금 내역(최신순) */
|
|
2971
|
+
listPointHistory: (params?: PageParams) => Promise<{
|
|
2972
|
+
page: number;
|
|
2973
|
+
size: number;
|
|
2974
|
+
totalElements: number;
|
|
2975
|
+
totalPages: number;
|
|
2976
|
+
contents: {
|
|
2977
|
+
entryId: string;
|
|
2978
|
+
type: string;
|
|
2979
|
+
amount: number;
|
|
2980
|
+
balanceAfter: number;
|
|
2981
|
+
createdAt: string;
|
|
2982
|
+
}[];
|
|
2983
|
+
}>;
|
|
2870
2984
|
updateMe: (body: UpdateProfileRequest) => Promise<void>;
|
|
2871
2985
|
/** 약관·개인정보·마케팅 동의의 현재 상태와 재동의 필요 여부 */
|
|
2872
2986
|
consents: () => Promise<{
|
|
@@ -3244,6 +3358,7 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
3244
3358
|
activeQuantity: z.ZodNumber;
|
|
3245
3359
|
totalPrice: z.ZodNumber;
|
|
3246
3360
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3361
|
+
pointAllocation: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3247
3362
|
status: z.ZodEnum<{
|
|
3248
3363
|
CANCELED: "CANCELED";
|
|
3249
3364
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
@@ -3316,6 +3431,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
3316
3431
|
activeQuantity: z.ZodNumber;
|
|
3317
3432
|
totalPrice: z.ZodNumber;
|
|
3318
3433
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3434
|
+
pointAllocation: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3319
3435
|
status: z.ZodEnum<{
|
|
3320
3436
|
CANCELED: "CANCELED";
|
|
3321
3437
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
@@ -3375,16 +3491,17 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
3375
3491
|
entranceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3376
3492
|
}, z.core.$strip>;
|
|
3377
3493
|
payment: z.ZodObject<{
|
|
3378
|
-
method: z.ZodEnum<{
|
|
3494
|
+
method: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3379
3495
|
CARD: "CARD";
|
|
3380
3496
|
EASY_PAY: "EASY_PAY";
|
|
3381
3497
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
3382
3498
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
3383
3499
|
MOBILE: "MOBILE";
|
|
3384
|
-
}>;
|
|
3500
|
+
}>, z.ZodString]>;
|
|
3385
3501
|
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3386
3502
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3387
3503
|
deliveryDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3504
|
+
pointAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3388
3505
|
discounts: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3389
3506
|
couponId: z.ZodString;
|
|
3390
3507
|
name: z.ZodString;
|
|
@@ -3430,6 +3547,58 @@ declare const purchaseDecisionResultSchema: z.ZodObject<{
|
|
|
3430
3547
|
}, z.core.$strip>;
|
|
3431
3548
|
type PurchaseDecisionResult = z.infer<typeof purchaseDecisionResultSchema>;
|
|
3432
3549
|
//#endregion
|
|
3550
|
+
//#region src/schemas/points.d.ts
|
|
3551
|
+
/**
|
|
3552
|
+
* 적립금 (이슈 #93) — 상점 적립 정책 안내와 구매자 잔액·내역. 금액은 원 단위 정수다.
|
|
3553
|
+
* 적립금 사용(주문서·결제)은 다음 단계에서 가산한다.
|
|
3554
|
+
*/
|
|
3555
|
+
/** `GET /point-policy` — 상점 적립 정책(인증 없음, 상점 단위). 리뷰 작성·주문 화면의 혜택 안내에 쓴다 */
|
|
3556
|
+
declare const storefrontPointPolicySchema: z.ZodObject<{
|
|
3557
|
+
reviewReward: z.ZodObject<{
|
|
3558
|
+
enabled: z.ZodBoolean;
|
|
3559
|
+
textPoint: z.ZodNumber;
|
|
3560
|
+
photoPoint: z.ZodNumber;
|
|
3561
|
+
}, z.core.$strip>;
|
|
3562
|
+
purchaseEarn: z.ZodObject<{
|
|
3563
|
+
enabled: z.ZodBoolean;
|
|
3564
|
+
rateBp: z.ZodNumber;
|
|
3565
|
+
}, z.core.$strip>;
|
|
3566
|
+
expiryDays: z.ZodNullable<z.ZodNumber>;
|
|
3567
|
+
review: z.ZodObject<{
|
|
3568
|
+
writableDays: z.ZodNumber;
|
|
3569
|
+
editableDays: z.ZodNumber;
|
|
3570
|
+
}, z.core.$strip>;
|
|
3571
|
+
}, z.core.$strip>;
|
|
3572
|
+
type StorefrontPointPolicy = z.infer<typeof storefrontPointPolicySchema>;
|
|
3573
|
+
/** `GET /me/points` — 내 적립금 */
|
|
3574
|
+
declare const memberPointsSchema: z.ZodObject<{
|
|
3575
|
+
balance: z.ZodNumber;
|
|
3576
|
+
expiringSoon: z.ZodNumber;
|
|
3577
|
+
}, z.core.$strip>;
|
|
3578
|
+
type MemberPoints = z.infer<typeof memberPointsSchema>;
|
|
3579
|
+
/** 내 적립금 내역 한 줄 — 셀러 메모는 싣지 않는다 */
|
|
3580
|
+
declare const memberPointEntrySchema: z.ZodObject<{
|
|
3581
|
+
entryId: z.ZodString;
|
|
3582
|
+
type: z.ZodString;
|
|
3583
|
+
amount: z.ZodNumber;
|
|
3584
|
+
balanceAfter: z.ZodNumber;
|
|
3585
|
+
createdAt: z.ZodString;
|
|
3586
|
+
}, z.core.$strip>;
|
|
3587
|
+
type MemberPointEntry = z.infer<typeof memberPointEntrySchema>;
|
|
3588
|
+
declare const memberPointEntryPageSchema: z.ZodObject<{
|
|
3589
|
+
page: z.ZodNumber;
|
|
3590
|
+
size: z.ZodNumber;
|
|
3591
|
+
totalElements: z.ZodNumber;
|
|
3592
|
+
totalPages: z.ZodNumber;
|
|
3593
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
3594
|
+
entryId: z.ZodString;
|
|
3595
|
+
type: z.ZodString;
|
|
3596
|
+
amount: z.ZodNumber;
|
|
3597
|
+
balanceAfter: z.ZodNumber;
|
|
3598
|
+
createdAt: z.ZodString;
|
|
3599
|
+
}, z.core.$strip>>;
|
|
3600
|
+
}, z.core.$strip>;
|
|
3601
|
+
//#endregion
|
|
3433
3602
|
//#region src/schemas/product-options.d.ts
|
|
3434
3603
|
/**
|
|
3435
3604
|
* 추가 선택·직접 입력 (이슈 #59) — 상품 상세의 옵션 표시, 장바구니 담기·바로 구매 요청, 줄 스냅샷의 공통 모양.
|
|
@@ -3554,4 +3723,4 @@ declare const storefrontStoreSchema: z.ZodObject<{
|
|
|
3554
3723
|
}, z.core.$strip>;
|
|
3555
3724
|
type StorefrontStore = z.infer<typeof storefrontStoreSchema>;
|
|
3556
3725
|
//#endregion
|
|
3557
|
-
export {
|
|
3726
|
+
export { StorefrontClientOptions as $, DeliveryQuoteResult as $n, ProductDetail as $r, createCustomerInquiryRequestSchema as $t, PurchaseDecisionResult as A, UnknownFulfillmentView as Ai, consentUpdateRequestSchema as An, easyPayProviderResponseSchema as Ar, uploadTicketSchema as At, ANALYTICS_VISITOR_COOKIE as B, cartItemSchema as Bi, claimTypeSchema as Bn, paymentStatusSchema as Br, updateProfileRequestSchema as Bt, memberPointEntrySchema as C, orderItemStatusSchema as Ci, ConsentState as Cn, cashReceiptRequestSchema as Cr, productReviewSortSchema as Ct, MyOrder as D, MyOrderItemFulfillmentSnapshot as Di, consentKindSchema as Dn, createCheckoutRequestSchema as Dr, reviewSummarySchema as Dt, DeliveryTracking as E, LineFulfillment as Ei, consentActionSchema as En, checkoutSessionSchema as Er, reviewPageSchema as Et, purchaseDecisionResultSchema as F, AddCartItemRequest as Fi, CreateClaimRequest as Fn, paymentMethodSchema as Fr, UpdateProfileRequest as Ft, AnalyticsEventName as G, CASH_RECEIPT_METHODS as Gn, retryPaymentRequestSchema as Gr, PublicInquiry as Gt, AnalyticsBatch as H, updateCartItemRequestSchema as Hi, createClaimResultSchema as Hn, remoteAreaSchema as Hr, CreateInquiryRequest as Ht, trackingStageResponseSchema as I, Cart as Ii, CreateClaimResult as In, paymentOptionKey as Ir, WishlistAddResult as It, analyticsClientEventNameSchema as J, CashReceiptType as Jn, CategoryNode as Jr, productInquiryCategorySchema as Jt, AnalyticsServerEventName as K, CashReceiptIdentityType as Kn, shippingAddressInputSchema as Kr, createInquiryRequestSchema as Kt, ANALYTICS_MAX_BATCH_BYTES as L, CartItem as Li, MyClaim as Ln, paymentOptionListSchema as Lr, memberAddressRequestSchema as Lt, myOrderItemSchema as M, myOrderItemFulfillmentSnapshotSchema as Mi, ClaimReason as Mn, guestInfoSchema as Mr, Member as Mt, myOrderSchema as N, productCardFulfillmentSchema as Ni, ClaimReturnAddress as Nn, paymentFailureCategorySchema as Nr, MemberAddress as Nt, MyOrderItem as O, ProductCardFulfillment as Oi, consentSourceSchema as On, deliveryQuoteRequestSchema as Or, updateReviewRequestSchema as Ot, orderShippingAddressSchema as P, productFulfillmentViewSchema as Pi, ClaimType as Pn, paymentMessageSchema as Pr, MemberAddressRequest as Pt, StorefrontClient as Q, DeliveryQuoteRequest as Qn, ProductCard as Qr, CustomerInquiryCategory as Qt, ANALYTICS_SESSION_COOKIE as R, UpdateCartItemRequest as Ri, claimReasonSchema as Rn, paymentOptionSchema as Rr, memberAddressSchema as Rt, memberPointEntryPageSchema as S, claimStatusSchema as Si, ConsentSource as Sn, cashReceiptIdentityTypeOf as Sr, productReviewQuerySchema as St, storefrontPointPolicySchema as T, pageSchema as Ti, MemberConsents as Tn, checkoutDeliverySchema as Tr, reviewImageUploadRequestSchema as Tt, AnalyticsClientEvent as U, analyticsIdsFromCookie as Ui, myClaimSchema as Un, residentNumberLike as Ur, CreateInquiryResult as Ut, ANALYTICS_VISITOR_HEADER as V, cartSchema as Vi, createClaimRequestSchema as Vn, pgProviderSchema as Vr, wishlistAddResultSchema as Vt, AnalyticsClientEventName as W, AvailablePaymentOption as Wn, responsePaymentMethodSchema as Wr, ProductInquiryCategory as Wt, analyticsIdSchema as X, CheckoutSession as Xn, CollectionProductParams as Xr, CreateCustomerInquiryRequest as Xt, analyticsClientEventSchema as Y, CheckoutDelivery as Yn, CollectionProductPage as Yr, publicInquirySchema as Yt, analyticsServerEventNameSchema as Z, CreateCheckoutRequest as Zn, CollectionProductSortParam as Zr, CustomerInquiry as Zt, normalizeCustomInputValue as _, storefrontCollectionSchema as _i, myCouponListQuerySchema as _n, RetryPaymentRequest as _r, UploadTicket as _t, CustomInputEntry as a, StorefrontCollectionDetail as ai, CouponApplication as an, PAYMENT_RESULT_VALUES as ar, createStorefrontSession as at, MemberPoints as b, PageInfo as bi, ConsentAction as bn, availablePaymentOptionSchema as br, createReviewResultSchema as bt, OptionSelectionView as c, collectionProductQuerySchema as ci, MIN_PAYMENT_AMOUNT as cn, PaymentFailureCategory as cr, MyReview as ct, customInputEntrySchema as d, productDetailSchema as di, checkoutPricingRequestSchema as dn, PaymentOption as dr, PublicReview as dt, ProductFacets as ei, customerInquiryCategorySchema as en, EasyPayProvider as er, createStorefrontClient as et, customInputLength as f, productFacetsSchema as fi, checkoutPricingSchema as fn, PaymentStart as fr, ReviewImageUploadRequest as ft, lineSelectionResponseShape as g, storefrontCollectionListQuerySchema as gi, couponResultSchema as gn, ResponsePaymentMethod as gr, UpdateReviewResult as gt, lineSelectionRequestShape as h, storefrontCollectionDetailSchema as hi, couponBenefitViewSchema as hn, RemoteArea as hr, UpdateReviewRequest as ht, AddonSelection as i, StorefrontCollection as ii, CheckoutPricingRequest as in, KnownPaymentStatus as ir, StorefrontSessionOptions as it, deliveryTrackingSchema as j, lineFulfillmentSchema as ji, memberConsentsSchema as jn, easyPayProviderSchema as jr, writableReviewSchema as jt, OrderShippingAddress as k, ProductFulfillmentView as ki, consentStateSchema as kn, deliveryQuoteSchema as kr, updateReviewResultSchema as kt, addonGroupViewSchema as l, collectionProductSortSchema as li, MyCoupon as ln, PaymentMessage as lr, ProductReviewParams as lt, customInputViewSchema as m, productSortSchema as mi, couponApplicationSchema as mn, PgProvider as mr, ReviewSummary as mt, storefrontStoreSchema as n, ProductSearchParams as ni, ApplicableCoupon as nn, KnownPaymentResult as nr, SessionStorage as nt, CustomInputValueView as o, categoryNodeSchema as oi, CouponResult as on, PAYMENT_START_STATUS_VALUES as or, CreateReviewRequest as ot, customInputValueViewSchema as p, productPageSchema as pi, couponApplicationListSchema as pn, PaymentStatus as pr, ReviewPage as pt, analyticsBatchSchema as q, CashReceiptRequest as qn, startPaymentRequestSchema as qr, createInquiryResultSchema as qt, AddonGroupView as r, ProductSort as ri, CheckoutPricing as rn, KnownPaymentStartStatus as rr, StorefrontSession as rt, CustomInputView as s, collectionProductPageSchema as si, MAX_COUPONS_PER_CHECKOUT as sn, PAYMENT_STATUS_VALUES as sr, CreateReviewResult as st, StorefrontStore as t, ProductPage as ti, customerInquirySchema as tn, GuestInfo as tr, STOREFRONT_SESSION_KEYS as tt, addonSelectionSchema as u, productCardSchema as ui, applicableCouponSchema as un, PaymentMethod as ur, ProductReviewSort as ut, optionSelectionViewSchema as v, ClaimStatus as vi, myCouponSchema as vn, ShippingAddressInput as vr, WritableReview as vt, memberPointsSchema as w, pageInfoSchema as wi, ConsentUpdateRequest as wn, cashReceiptTypeSchema as wr, publicReviewSchema as wt, StorefrontPointPolicy as x, PageParams as xi, ConsentKind as xn, cashReceiptAvailable as xr, myReviewSchema as xt, MemberPointEntry as y, OrderItemStatus as yi, pricingAmountsSchema as yn, StartPaymentRequest as yr, createReviewRequestSchema as yt, ANALYTICS_SESSION_HEADER as z, addCartItemRequestSchema as zi, claimReturnAddressSchema as zn, paymentStartSchema as zr, memberSchema as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { C as loginRequestSchema, D as tokenPairSchema, E as socialProviderSchema, O as withdrawRequestSchema, S as linkIdentityRequestSchema, T as signupRequestSchema, _ as anonymousSessionSchema, a as AnonymousSession, b as idpAuthorizeResponseSchema, c as IdpTokenRequest, d as MemberIdentities, f as SignupRequest, g as WithdrawalBlockedDetails, h as WithdrawRequest, i as buildQuery, k as withdrawalBlockedDetailsSchema, l as LinkIdentityRequest, m as TokenPair, n as Query, o as IdpAgreements, p as SocialProvider, r as TokenSource, s as IdpAuthorizeRequest, t as ApiError, u as LoginRequest, v as idpAgreementsSchema, w as memberIdentitiesSchema, x as idpTokenRequestSchema, y as idpAuthorizeRequestSchema } from "./http-1ab7tP4-.mjs";
|
|
2
|
-
import { $ as
|
|
3
|
-
export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, AddCartItemRequest, AddonGroupView, AddonSelection, AnalyticsBatch, AnalyticsClientEvent, AnalyticsClientEventName, AnalyticsEventName, AnalyticsServerEventName, AnonymousSession, ApiError, ApplicableCoupon, AvailablePaymentOption, CASH_RECEIPT_METHODS, Cart, CartItem, CashReceiptIdentityType, CashReceiptRequest, CashReceiptType, CategoryNode, CheckoutDelivery, CheckoutPricing, CheckoutPricingRequest, CheckoutSession, ClaimReason, ClaimReturnAddress, ClaimStatus, ClaimType, CollectionProductPage, CollectionProductParams, CollectionProductSortParam, ConsentAction, ConsentKind, ConsentSource, ConsentState, ConsentUpdateRequest, CouponApplication, CouponResult, CreateCheckoutRequest, CreateClaimRequest, CreateClaimResult, CreateCustomerInquiryRequest, CreateInquiryRequest, CreateInquiryResult, CreateReviewRequest, CreateReviewResult, CustomInputEntry, CustomInputValueView, CustomInputView, CustomerInquiry, CustomerInquiryCategory, DeliveryQuoteRequest, DeliveryQuoteResult, DeliveryTracking, EasyPayProvider, GuestInfo, IdpAgreements, IdpAuthorizeRequest, IdpTokenRequest, KnownPaymentResult, KnownPaymentStatus, LineFulfillment, LinkIdentityRequest, LoginRequest, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, Member, MemberAddress, MemberAddressRequest, MemberConsents, MemberIdentities, MyClaim, MyCoupon, MyOrder, MyOrderItem, MyOrderItemFulfillmentSnapshot, MyReview, OptionSelectionView, OrderItemStatus, OrderShippingAddress, PAYMENT_RESULT_VALUES, PAYMENT_STATUS_VALUES, PageInfo, PageParams, PaymentFailureCategory, PaymentMessage, PaymentMethod, PaymentOption, PaymentStart, PaymentStatus, PgProvider, ProductCard, ProductCardFulfillment, ProductDetail, ProductFacets, ProductFulfillmentView, ProductInquiryCategory, ProductPage, ProductReviewParams, ProductReviewSort, ProductSearchParams, ProductSort, PublicInquiry, PublicReview, PurchaseDecisionResult, type Query, RemoteArea, RetryPaymentRequest, ReviewImageUploadRequest, ReviewPage, ReviewSummary, STOREFRONT_SESSION_KEYS, type SessionStorage, ShippingAddressInput, SignupRequest, SocialProvider, StartPaymentRequest, type StorefrontClient, type StorefrontClientOptions, StorefrontCollection, StorefrontCollectionDetail, type StorefrontSession, type StorefrontSessionOptions, StorefrontStore, TokenPair, type TokenSource, UnknownFulfillmentView, UpdateCartItemRequest, UpdateProfileRequest, UpdateReviewRequest, UpdateReviewResult, UploadTicket, WishlistAddResult, WithdrawRequest, WithdrawalBlockedDetails, WritableReview, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderItemStatusSchema, orderShippingAddressSchema, pageInfoSchema, pageSchema, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
|
|
2
|
+
import { $ as StorefrontClientOptions, $n as DeliveryQuoteResult, $r as ProductDetail, $t as createCustomerInquiryRequestSchema, A as PurchaseDecisionResult, Ai as UnknownFulfillmentView, An as consentUpdateRequestSchema, Ar as easyPayProviderResponseSchema, At as uploadTicketSchema, B as ANALYTICS_VISITOR_COOKIE, Bi as cartItemSchema, Bn as claimTypeSchema, Br as paymentStatusSchema, Bt as updateProfileRequestSchema, C as memberPointEntrySchema, Ci as orderItemStatusSchema, Cn as ConsentState, Cr as cashReceiptRequestSchema, Ct as productReviewSortSchema, D as MyOrder, Di as MyOrderItemFulfillmentSnapshot, Dn as consentKindSchema, Dr as createCheckoutRequestSchema, Dt as reviewSummarySchema, E as DeliveryTracking, Ei as LineFulfillment, En as consentActionSchema, Er as checkoutSessionSchema, Et as reviewPageSchema, F as purchaseDecisionResultSchema, Fi as AddCartItemRequest, Fn as CreateClaimRequest, Fr as paymentMethodSchema, Ft as UpdateProfileRequest, G as AnalyticsEventName, Gn as CASH_RECEIPT_METHODS, Gr as retryPaymentRequestSchema, Gt as PublicInquiry, H as AnalyticsBatch, Hi as updateCartItemRequestSchema, Hn as createClaimResultSchema, Hr as remoteAreaSchema, Ht as CreateInquiryRequest, I as trackingStageResponseSchema, Ii as Cart, In as CreateClaimResult, Ir as paymentOptionKey, It as WishlistAddResult, J as analyticsClientEventNameSchema, Jn as CashReceiptType, Jr as CategoryNode, Jt as productInquiryCategorySchema, K as AnalyticsServerEventName, Kn as CashReceiptIdentityType, Kr as shippingAddressInputSchema, Kt as createInquiryRequestSchema, L as ANALYTICS_MAX_BATCH_BYTES, Li as CartItem, Ln as MyClaim, Lr as paymentOptionListSchema, Lt as memberAddressRequestSchema, M as myOrderItemSchema, Mi as myOrderItemFulfillmentSnapshotSchema, Mn as ClaimReason, Mr as guestInfoSchema, Mt as Member, N as myOrderSchema, Ni as productCardFulfillmentSchema, Nn as ClaimReturnAddress, Nr as paymentFailureCategorySchema, Nt as MemberAddress, O as MyOrderItem, Oi as ProductCardFulfillment, On as consentSourceSchema, Or as deliveryQuoteRequestSchema, Ot as updateReviewRequestSchema, P as orderShippingAddressSchema, Pi as productFulfillmentViewSchema, Pn as ClaimType, Pr as paymentMessageSchema, Pt as MemberAddressRequest, Q as StorefrontClient, Qn as DeliveryQuoteRequest, Qr as ProductCard, Qt as CustomerInquiryCategory, R as ANALYTICS_SESSION_COOKIE, Ri as UpdateCartItemRequest, Rn as claimReasonSchema, Rr as paymentOptionSchema, Rt as memberAddressSchema, S as memberPointEntryPageSchema, Si as claimStatusSchema, Sn as ConsentSource, Sr as cashReceiptIdentityTypeOf, St as productReviewQuerySchema, T as storefrontPointPolicySchema, Ti as pageSchema, Tn as MemberConsents, Tr as checkoutDeliverySchema, Tt as reviewImageUploadRequestSchema, U as AnalyticsClientEvent, Ui as analyticsIdsFromCookie, Un as myClaimSchema, Ur as residentNumberLike, Ut as CreateInquiryResult, V as ANALYTICS_VISITOR_HEADER, Vi as cartSchema, Vn as createClaimRequestSchema, Vr as pgProviderSchema, Vt as wishlistAddResultSchema, W as AnalyticsClientEventName, Wn as AvailablePaymentOption, Wr as responsePaymentMethodSchema, Wt as ProductInquiryCategory, X as analyticsIdSchema, Xn as CheckoutSession, Xr as CollectionProductParams, Xt as CreateCustomerInquiryRequest, Y as analyticsClientEventSchema, Yn as CheckoutDelivery, Yr as CollectionProductPage, Yt as publicInquirySchema, Z as analyticsServerEventNameSchema, Zn as CreateCheckoutRequest, Zr as CollectionProductSortParam, Zt as CustomerInquiry, _ as normalizeCustomInputValue, _i as storefrontCollectionSchema, _n as myCouponListQuerySchema, _r as RetryPaymentRequest, _t as UploadTicket, a as CustomInputEntry, ai as StorefrontCollectionDetail, an as CouponApplication, ar as PAYMENT_RESULT_VALUES, at as createStorefrontSession, b as MemberPoints, bi as PageInfo, bn as ConsentAction, br as availablePaymentOptionSchema, bt as createReviewResultSchema, c as OptionSelectionView, ci as collectionProductQuerySchema, cn as MIN_PAYMENT_AMOUNT, cr as PaymentFailureCategory, ct as MyReview, d as customInputEntrySchema, di as productDetailSchema, dn as checkoutPricingRequestSchema, dr as PaymentOption, dt as PublicReview, ei as ProductFacets, en as customerInquiryCategorySchema, er as EasyPayProvider, et as createStorefrontClient, f as customInputLength, fi as productFacetsSchema, fn as checkoutPricingSchema, fr as PaymentStart, ft as ReviewImageUploadRequest, g as lineSelectionResponseShape, gi as storefrontCollectionListQuerySchema, gn as couponResultSchema, gr as ResponsePaymentMethod, gt as UpdateReviewResult, h as lineSelectionRequestShape, hi as storefrontCollectionDetailSchema, hn as couponBenefitViewSchema, hr as RemoteArea, ht as UpdateReviewRequest, i as AddonSelection, ii as StorefrontCollection, in as CheckoutPricingRequest, ir as KnownPaymentStatus, it as StorefrontSessionOptions, j as deliveryTrackingSchema, ji as lineFulfillmentSchema, jn as memberConsentsSchema, jr as easyPayProviderSchema, jt as writableReviewSchema, k as OrderShippingAddress, ki as ProductFulfillmentView, kn as consentStateSchema, kr as deliveryQuoteSchema, kt as updateReviewResultSchema, l as addonGroupViewSchema, li as collectionProductSortSchema, ln as MyCoupon, lr as PaymentMessage, lt as ProductReviewParams, m as customInputViewSchema, mi as productSortSchema, mn as couponApplicationSchema, mr as PgProvider, mt as ReviewSummary, n as storefrontStoreSchema, ni as ProductSearchParams, nn as ApplicableCoupon, nr as KnownPaymentResult, nt as SessionStorage, o as CustomInputValueView, oi as categoryNodeSchema, on as CouponResult, or as PAYMENT_START_STATUS_VALUES, ot as CreateReviewRequest, p as customInputValueViewSchema, pi as productPageSchema, pn as couponApplicationListSchema, pr as PaymentStatus, pt as ReviewPage, q as analyticsBatchSchema, qn as CashReceiptRequest, qr as startPaymentRequestSchema, qt as createInquiryResultSchema, r as AddonGroupView, ri as ProductSort, rn as CheckoutPricing, rr as KnownPaymentStartStatus, rt as StorefrontSession, s as CustomInputView, si as collectionProductPageSchema, sn as MAX_COUPONS_PER_CHECKOUT, sr as PAYMENT_STATUS_VALUES, st as CreateReviewResult, t as StorefrontStore, ti as ProductPage, tn as customerInquirySchema, tr as GuestInfo, tt as STOREFRONT_SESSION_KEYS, u as addonSelectionSchema, ui as productCardSchema, un as applicableCouponSchema, ur as PaymentMethod, ut as ProductReviewSort, v as optionSelectionViewSchema, vi as ClaimStatus, vn as myCouponSchema, vr as ShippingAddressInput, vt as WritableReview, w as memberPointsSchema, wi as pageInfoSchema, wn as ConsentUpdateRequest, wr as cashReceiptTypeSchema, wt as publicReviewSchema, x as StorefrontPointPolicy, xi as PageParams, xn as ConsentKind, xr as cashReceiptAvailable, xt as myReviewSchema, y as MemberPointEntry, yi as OrderItemStatus, yn as pricingAmountsSchema, yr as StartPaymentRequest, yt as createReviewRequestSchema, z as ANALYTICS_SESSION_HEADER, zi as addCartItemRequestSchema, zn as claimReturnAddressSchema, zr as paymentStartSchema, zt as memberSchema } from "./index-q0XQ08--.mjs";
|
|
3
|
+
export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, AddCartItemRequest, AddonGroupView, AddonSelection, AnalyticsBatch, AnalyticsClientEvent, AnalyticsClientEventName, AnalyticsEventName, AnalyticsServerEventName, AnonymousSession, ApiError, ApplicableCoupon, AvailablePaymentOption, CASH_RECEIPT_METHODS, Cart, CartItem, CashReceiptIdentityType, CashReceiptRequest, CashReceiptType, CategoryNode, CheckoutDelivery, CheckoutPricing, CheckoutPricingRequest, CheckoutSession, ClaimReason, ClaimReturnAddress, ClaimStatus, ClaimType, CollectionProductPage, CollectionProductParams, CollectionProductSortParam, ConsentAction, ConsentKind, ConsentSource, ConsentState, ConsentUpdateRequest, CouponApplication, CouponResult, CreateCheckoutRequest, CreateClaimRequest, CreateClaimResult, CreateCustomerInquiryRequest, CreateInquiryRequest, CreateInquiryResult, CreateReviewRequest, CreateReviewResult, CustomInputEntry, CustomInputValueView, CustomInputView, CustomerInquiry, CustomerInquiryCategory, DeliveryQuoteRequest, DeliveryQuoteResult, DeliveryTracking, EasyPayProvider, GuestInfo, IdpAgreements, IdpAuthorizeRequest, IdpTokenRequest, KnownPaymentResult, KnownPaymentStartStatus, KnownPaymentStatus, LineFulfillment, LinkIdentityRequest, LoginRequest, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, Member, MemberAddress, MemberAddressRequest, MemberConsents, MemberIdentities, MemberPointEntry, MemberPoints, MyClaim, MyCoupon, MyOrder, MyOrderItem, MyOrderItemFulfillmentSnapshot, MyReview, OptionSelectionView, OrderItemStatus, OrderShippingAddress, PAYMENT_RESULT_VALUES, PAYMENT_START_STATUS_VALUES, PAYMENT_STATUS_VALUES, PageInfo, PageParams, PaymentFailureCategory, PaymentMessage, PaymentMethod, PaymentOption, PaymentStart, PaymentStatus, PgProvider, ProductCard, ProductCardFulfillment, ProductDetail, ProductFacets, ProductFulfillmentView, ProductInquiryCategory, ProductPage, ProductReviewParams, ProductReviewSort, ProductSearchParams, ProductSort, PublicInquiry, PublicReview, PurchaseDecisionResult, type Query, RemoteArea, ResponsePaymentMethod, RetryPaymentRequest, ReviewImageUploadRequest, ReviewPage, ReviewSummary, STOREFRONT_SESSION_KEYS, type SessionStorage, ShippingAddressInput, SignupRequest, SocialProvider, StartPaymentRequest, type StorefrontClient, type StorefrontClientOptions, StorefrontCollection, StorefrontCollectionDetail, StorefrontPointPolicy, type StorefrontSession, type StorefrontSessionOptions, StorefrontStore, TokenPair, type TokenSource, UnknownFulfillmentView, UpdateCartItemRequest, UpdateProfileRequest, UpdateReviewRequest, UpdateReviewResult, UploadTicket, WishlistAddResult, WithdrawRequest, WithdrawalBlockedDetails, WritableReview, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberPointEntryPageSchema, memberPointEntrySchema, memberPointsSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderItemStatusSchema, orderShippingAddressSchema, pageInfoSchema, pageSchema, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, responsePaymentMethodSchema, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontPointPolicySchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as ANALYTICS_VISITOR_HEADER, c as analyticsClientEventSchema, i as ANALYTICS_VISITOR_COOKIE, l as analyticsIdSchema, n as ANALYTICS_SESSION_COOKIE, o as analyticsBatchSchema, r as ANALYTICS_SESSION_HEADER, s as analyticsClientEventNameSchema, t as ANALYTICS_MAX_BATCH_BYTES, u as analyticsServerEventNameSchema } from "./analytics-CgD70OqH.mjs";
|
|
2
2
|
import { t as analyticsIdsFromCookie } from "./analytics-ids-COElZiI3.mjs";
|
|
3
|
-
import { $ as
|
|
4
|
-
import { $ as
|
|
3
|
+
import { $ as collectionProductSortSchema, A as wishlistAddResultSchema, At as buildQuery, B as consentSourceSchema, C as orderShippingAddressSchema, Ct as memberIdentitiesSchema, D as memberAddressSchema, Dt as withdrawRequestSchema, E as memberAddressRequestSchema, Et as tokenPairSchema, F as createCustomerInquiryRequestSchema, G as claimReturnAddressSchema, H as consentUpdateRequestSchema, I as customerInquiryCategorySchema, J as createClaimResultSchema, K as claimTypeSchema, L as customerInquirySchema, M as createInquiryResultSchema, Mt as unwrapData, N as productInquiryCategorySchema, O as memberSchema, Ot as withdrawalBlockedDetailsSchema, P as publicInquirySchema, Q as collectionProductQuerySchema, R as consentActionSchema, S as myOrderSchema, St as loginRequestSchema, T as trackingStageResponseSchema, Tt as socialProviderSchema, U as memberConsentsSchema, V as consentStateSchema, W as claimReasonSchema, X as categoryNodeSchema, Y as myClaimSchema, Z as collectionProductPageSchema, _ as memberPointEntrySchema, _t as idpAgreementsSchema, a as myReviewSchema, at as storefrontCollectionDetailSchema, b as deliveryTrackingSchema, bt as idpTokenRequestSchema, c as publicReviewSchema, ct as claimStatusSchema, d as reviewSummarySchema, dt as pageSchema, et as productCardSchema, f as updateReviewRequestSchema, ft as addCartItemRequestSchema, g as memberPointEntryPageSchema, gt as anonymousSessionSchema, h as writableReviewSchema, ht as updateCartItemRequestSchema, i as createReviewResultSchema, it as productSortSchema, j as createInquiryRequestSchema, jt as toApiError, k as updateProfileRequestSchema, kt as ApiError, l as reviewImageUploadRequestSchema, lt as orderItemStatusSchema, m as uploadTicketSchema, mt as cartSchema, n as storefrontStoreSchema, nt as productFacetsSchema, o as productReviewQuerySchema, ot as storefrontCollectionListQuerySchema, p as updateReviewResultSchema, pt as cartItemSchema, q as createClaimRequestSchema, r as createReviewRequestSchema, rt as productPageSchema, s as productReviewSortSchema, st as storefrontCollectionSchema, t as createStorefrontClient, tt as productDetailSchema, u as reviewPageSchema, ut as pageInfoSchema, v as memberPointsSchema, vt as idpAuthorizeRequestSchema, w as purchaseDecisionResultSchema, wt as signupRequestSchema, x as myOrderItemSchema, xt as linkIdentityRequestSchema, y as storefrontPointPolicySchema, yt as idpAuthorizeResponseSchema, z as consentKindSchema } from "./client-jOhA2sZX.mjs";
|
|
4
|
+
import { $ as normalizeCustomInputValue, A as retryPaymentRequestSchema, B as couponBenefitViewSchema, C as paymentOptionSchema, D as remoteAreaSchema, E as pgProviderSchema, F as applicableCouponSchema, G as addonGroupViewSchema, H as myCouponListQuerySchema, I as checkoutPricingRequestSchema, J as customInputLength, K as addonSelectionSchema, L as checkoutPricingSchema, M as startPaymentRequestSchema, N as MAX_COUPONS_PER_CHECKOUT, O as residentNumberLike, P as MIN_PAYMENT_AMOUNT, Q as lineSelectionResponseShape, R as couponApplicationListSchema, S as paymentOptionListSchema, T as paymentStatusSchema, U as myCouponSchema, V as couponResultSchema, W as pricingAmountsSchema, X as customInputViewSchema, Y as customInputValueViewSchema, Z as lineSelectionRequestShape, _ as guestInfoSchema, a as availablePaymentOptionSchema, b as paymentMethodSchema, c as cashReceiptRequestSchema, d as checkoutSessionSchema, et as optionSelectionViewSchema, f as createCheckoutRequestSchema, g as easyPayProviderSchema, h as easyPayProviderResponseSchema, i as PAYMENT_STATUS_VALUES, it as productFulfillmentViewSchema, j as shippingAddressInputSchema, k as responsePaymentMethodSchema, l as cashReceiptTypeSchema, m as deliveryQuoteSchema, n as PAYMENT_RESULT_VALUES, nt as myOrderItemFulfillmentSnapshotSchema, o as cashReceiptAvailable, p as deliveryQuoteRequestSchema, q as customInputEntrySchema, r as PAYMENT_START_STATUS_VALUES, rt as productCardFulfillmentSchema, s as cashReceiptIdentityTypeOf, t as CASH_RECEIPT_METHODS, tt as lineFulfillmentSchema, u as checkoutDeliverySchema, v as paymentFailureCategorySchema, w as paymentStartSchema, x as paymentOptionKey, y as paymentMessageSchema, z as couponApplicationSchema } from "./checkout-DSAf758s.mjs";
|
|
5
5
|
//#region src/session.ts
|
|
6
6
|
/** 세션 키 상수 — SDK가 소유한다. store-sdk와 겹치지 않는 별도 네임스페이스. */
|
|
7
7
|
const STOREFRONT_SESSION_KEYS = {
|
|
@@ -125,4 +125,4 @@ function createStorefrontSession(options) {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
128
|
-
export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, ApiError, CASH_RECEIPT_METHODS, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, PAYMENT_RESULT_VALUES, PAYMENT_STATUS_VALUES, STOREFRONT_SESSION_KEYS, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderItemStatusSchema, orderShippingAddressSchema, pageInfoSchema, pageSchema, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
|
|
128
|
+
export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, ApiError, CASH_RECEIPT_METHODS, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, PAYMENT_RESULT_VALUES, PAYMENT_START_STATUS_VALUES, PAYMENT_STATUS_VALUES, STOREFRONT_SESSION_KEYS, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberPointEntryPageSchema, memberPointEntrySchema, memberPointsSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderItemStatusSchema, orderShippingAddressSchema, pageInfoSchema, pageSchema, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, responsePaymentMethodSchema, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontPointPolicySchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
|