@sayren/storefront-sdk 0.20.14 → 0.20.15
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/{client-Se5Bcaow.mjs → client-ZwNr8sU-.mjs} +7 -3
- package/dist/{index-CPAkDqew.d.mts → index-DkZFHWq7.d.mts} +31 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/payments/index.d.mts +1 -1
- package/package.json +1 -1
- package/src/schemas/claim.ts +8 -0
- package/src/schemas/commerce-flow.ts +17 -1
- package/src/schemas/order.ts +8 -0
package/dist/auth/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ut as ApiError, t as createStorefrontClient } from "../client-
|
|
1
|
+
import { Ut as ApiError, t as createStorefrontClient } from "../client-ZwNr8sU-.mjs";
|
|
2
2
|
//#region src/auth/index.ts
|
|
3
3
|
/** 소셜 로그인 실패 — 구매자가 취소했거나(`access_denied`) state가 맞지 않는다 */
|
|
4
4
|
var IdpCallbackError = class extends Error {
|
|
@@ -477,6 +477,7 @@ const createClaimResultSchema = z.object({
|
|
|
477
477
|
claimId: z.string(),
|
|
478
478
|
claimNo: commerceNumberField("클레임번호(이슈 #107) — `C` + YYMMDD(KST) + 숫자 8자리. 취소·반품·교환 접수 단위 번호이고 생성 후 바뀌지 않습니다"),
|
|
479
479
|
status: z.literal("REQUESTED"),
|
|
480
|
+
approved: z.boolean().optional().default(false).describe("접수와 함께 승인됐는가(#115) — 주문 흐름이 이 단계의 취소를 「주문 취소」(즉시)로 켰으면 판매자 승인 없이 바로 취소·환불된다. false면 판매자 확인을 기다린다. 서버는 항상 싣는다"),
|
|
480
481
|
expectedRefundAmount: z.number().int().nullable().describe("예상 환불액 — 수량 비율 상품 실결제 금액(쿠폰 할인을 뺀 금액) − 반품 배송비 − 조건부 무료배송 미달 차감 − 쿠폰 조건 미달 차감(`couponChargeAmount`) + 되돌릴 쿠폰 차감. **배송비 환불은 여기 포함되지 않고 `deliveryFeeRefundAmount`로 따로 온다**(승인 시점의 배송 묶음 상태로 확정되기 때문이다). 교환은 환불이 없어 null이다"),
|
|
481
482
|
claimDeliveryFee: z.number().int().describe("구매자가 부담하는 반품·교환 배송비. 원 단위"),
|
|
482
483
|
quantity: z.number().int().describe("접수된 수량. 요청에서 생략하면 남은 수량 전체다"),
|
|
@@ -599,7 +600,8 @@ const flowStateSchema = z.object({
|
|
|
599
600
|
z.number(),
|
|
600
601
|
z.boolean(),
|
|
601
602
|
z.array(z.string())
|
|
602
|
-
])
|
|
603
|
+
]),
|
|
604
|
+
display: z.string().optional().describe("화면에 보일 값 — 이름 붙인 선택지(`{ value, label }`)면 이름. 없으면 `value`를 그대로 보인다")
|
|
603
605
|
}))
|
|
604
606
|
}).optional().describe("이 상태로 오게 한 행동의 입력값(수정 내용 등, #115). 없으면 생략"),
|
|
605
607
|
progress: z.boolean().optional(),
|
|
@@ -656,7 +658,8 @@ const flowActionResultSchema = z.object({
|
|
|
656
658
|
affectedOrderItemIds: z.array(z.string()),
|
|
657
659
|
claim: z.object({
|
|
658
660
|
claimId: z.string(),
|
|
659
|
-
claimNo: z.string().nullable()
|
|
661
|
+
claimNo: z.string().nullable(),
|
|
662
|
+
approved: z.boolean().optional().default(false).describe("즉시 취소(권한 방식 INSTANT)라 판매자 승인 없이 취소·환불했다. 서버는 항상 싣는다")
|
|
660
663
|
}).optional().describe("취소·반품·교환 행동(하위 플로우 `core.claim.*`)이 접수한 클레임(#115). 클레임 API(`POST /me/order-items/{id}/claims`)와 같은 접수다. 다른 행동은 생략")
|
|
661
664
|
});
|
|
662
665
|
/**
|
|
@@ -916,7 +919,8 @@ const myOrderSchema = z.object({
|
|
|
916
919
|
paidAt: z.string().nullable(),
|
|
917
920
|
receiptUrl: z.url().nullable(),
|
|
918
921
|
refundedAmount: z.number().int().optional().default(0).describe("환불된 결제 금액 합계 (원, #115) — 결제 대행사 환불이 끝난 몫이다. 적립금 반환은 포함하지 않는다. 서버는 항상 싣는다"),
|
|
919
|
-
refundPendingAmount: z.number().int().optional().default(0).describe("환불 예정 금액 (원, #115) — 판매자가 취소·반품을 승인했지만 결제 환불이 아직 끝나지 않은 몫이다. 판매자가 처리하면 `refundedAmount`로 옮겨진다. 서버는 항상 싣는다")
|
|
922
|
+
refundPendingAmount: z.number().int().optional().default(0).describe("환불 예정 금액 (원, #115) — 판매자가 취소·반품을 승인했지만 결제 환불이 아직 끝나지 않은 몫이다. 판매자가 처리하면 `refundedAmount`로 옮겨진다. 서버는 항상 싣는다"),
|
|
923
|
+
pointRefundedAmount: z.number().int().optional().default(0).describe("취소·반품으로 돌려준 적립금 합계 (원, #93) — 현금 환불(`refundedAmount`)과 별개다. 적립금을 쓰지 않았거나 돌려준 것이 없으면 0. 서버는 항상 싣는다")
|
|
920
924
|
}),
|
|
921
925
|
testPayment: z.boolean().describe("테스트 결제(샌드박스 결제) 주문인가. true면 실제로 돈이 나가지 않았습니다 — 주문 화면에 테스트 결제 배지를 표시합니다")
|
|
922
926
|
});
|
|
@@ -1298,6 +1298,7 @@ declare const createClaimResultSchema: z.ZodObject<{
|
|
|
1298
1298
|
claimId: z.ZodString;
|
|
1299
1299
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1300
1300
|
status: z.ZodLiteral<"REQUESTED">;
|
|
1301
|
+
approved: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1301
1302
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
1302
1303
|
claimDeliveryFee: z.ZodNumber;
|
|
1303
1304
|
quantity: z.ZodNumber;
|
|
@@ -1313,6 +1314,7 @@ type CreateClaimResult = z.infer<typeof createClaimResultSchema>;
|
|
|
1313
1314
|
*/
|
|
1314
1315
|
declare const claimPreviewSchema: z.ZodObject<{
|
|
1315
1316
|
quantity: z.ZodNumber;
|
|
1317
|
+
approved: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1316
1318
|
expectedRefundAmount: z.ZodNullable<z.ZodNumber>;
|
|
1317
1319
|
claimDeliveryFee: z.ZodNumber;
|
|
1318
1320
|
deliveryFeeRefundAmount: z.ZodNumber;
|
|
@@ -3155,6 +3157,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3155
3157
|
label: string;
|
|
3156
3158
|
type: string;
|
|
3157
3159
|
value: string | number | boolean | string[];
|
|
3160
|
+
display?: string | undefined;
|
|
3158
3161
|
}[];
|
|
3159
3162
|
} | undefined;
|
|
3160
3163
|
progress?: boolean | undefined;
|
|
@@ -3206,6 +3209,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3206
3209
|
label: string;
|
|
3207
3210
|
type: string;
|
|
3208
3211
|
value: string | number | boolean | string[];
|
|
3212
|
+
display?: string | undefined;
|
|
3209
3213
|
}[];
|
|
3210
3214
|
} | undefined;
|
|
3211
3215
|
progress?: boolean | undefined;
|
|
@@ -3258,6 +3262,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3258
3262
|
label: string;
|
|
3259
3263
|
type: string;
|
|
3260
3264
|
value: string | number | boolean | string[];
|
|
3265
|
+
display?: string | undefined;
|
|
3261
3266
|
}[];
|
|
3262
3267
|
} | undefined;
|
|
3263
3268
|
data?: {
|
|
@@ -3305,6 +3310,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3305
3310
|
receiptUrl: string | null;
|
|
3306
3311
|
refundedAmount: number;
|
|
3307
3312
|
refundPendingAmount: number;
|
|
3313
|
+
pointRefundedAmount: number;
|
|
3308
3314
|
};
|
|
3309
3315
|
testPayment: boolean;
|
|
3310
3316
|
progressStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
@@ -3388,6 +3394,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3388
3394
|
label: string;
|
|
3389
3395
|
type: string;
|
|
3390
3396
|
value: string | number | boolean | string[];
|
|
3397
|
+
display?: string | undefined;
|
|
3391
3398
|
}[];
|
|
3392
3399
|
} | undefined;
|
|
3393
3400
|
progress?: boolean | undefined;
|
|
@@ -3439,6 +3446,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3439
3446
|
label: string;
|
|
3440
3447
|
type: string;
|
|
3441
3448
|
value: string | number | boolean | string[];
|
|
3449
|
+
display?: string | undefined;
|
|
3442
3450
|
}[];
|
|
3443
3451
|
} | undefined;
|
|
3444
3452
|
progress?: boolean | undefined;
|
|
@@ -3491,6 +3499,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3491
3499
|
label: string;
|
|
3492
3500
|
type: string;
|
|
3493
3501
|
value: string | number | boolean | string[];
|
|
3502
|
+
display?: string | undefined;
|
|
3494
3503
|
}[];
|
|
3495
3504
|
} | undefined;
|
|
3496
3505
|
data?: {
|
|
@@ -3538,6 +3547,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3538
3547
|
receiptUrl: string | null;
|
|
3539
3548
|
refundedAmount: number;
|
|
3540
3549
|
refundPendingAmount: number;
|
|
3550
|
+
pointRefundedAmount: number;
|
|
3541
3551
|
};
|
|
3542
3552
|
testPayment: boolean;
|
|
3543
3553
|
progressStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
@@ -3632,6 +3642,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3632
3642
|
label: string;
|
|
3633
3643
|
type: string;
|
|
3634
3644
|
value: string | number | boolean | string[];
|
|
3645
|
+
display?: string | undefined;
|
|
3635
3646
|
}[];
|
|
3636
3647
|
} | undefined;
|
|
3637
3648
|
progress?: boolean | undefined;
|
|
@@ -3683,6 +3694,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3683
3694
|
label: string;
|
|
3684
3695
|
type: string;
|
|
3685
3696
|
value: string | number | boolean | string[];
|
|
3697
|
+
display?: string | undefined;
|
|
3686
3698
|
}[];
|
|
3687
3699
|
} | undefined;
|
|
3688
3700
|
progress?: boolean | undefined;
|
|
@@ -3735,6 +3747,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3735
3747
|
label: string;
|
|
3736
3748
|
type: string;
|
|
3737
3749
|
value: string | number | boolean | string[];
|
|
3750
|
+
display?: string | undefined;
|
|
3738
3751
|
}[];
|
|
3739
3752
|
} | undefined;
|
|
3740
3753
|
data?: {
|
|
@@ -3782,6 +3795,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3782
3795
|
receiptUrl: string | null;
|
|
3783
3796
|
refundedAmount: number;
|
|
3784
3797
|
refundPendingAmount: number;
|
|
3798
|
+
pointRefundedAmount: number;
|
|
3785
3799
|
};
|
|
3786
3800
|
testPayment: boolean;
|
|
3787
3801
|
progressStatus?: "CANCELED" | "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
@@ -3824,6 +3838,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3824
3838
|
label: string;
|
|
3825
3839
|
type: string;
|
|
3826
3840
|
value: string | number | boolean | string[];
|
|
3841
|
+
display?: string | undefined;
|
|
3827
3842
|
}[];
|
|
3828
3843
|
} | undefined;
|
|
3829
3844
|
progress?: boolean | undefined;
|
|
@@ -3862,6 +3877,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3862
3877
|
claim?: {
|
|
3863
3878
|
claimId: string;
|
|
3864
3879
|
claimNo: string | null;
|
|
3880
|
+
approved: boolean;
|
|
3865
3881
|
} | undefined;
|
|
3866
3882
|
}>;
|
|
3867
3883
|
/** 비회원 행동 — 비회원 주문 조회와 같은 연락처·비밀번호 확인과 시도 한도를 지난다 */
|
|
@@ -3888,6 +3904,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3888
3904
|
label: string;
|
|
3889
3905
|
type: string;
|
|
3890
3906
|
value: string | number | boolean | string[];
|
|
3907
|
+
display?: string | undefined;
|
|
3891
3908
|
}[];
|
|
3892
3909
|
} | undefined;
|
|
3893
3910
|
progress?: boolean | undefined;
|
|
@@ -3926,6 +3943,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3926
3943
|
claim?: {
|
|
3927
3944
|
claimId: string;
|
|
3928
3945
|
claimNo: string | null;
|
|
3946
|
+
approved: boolean;
|
|
3929
3947
|
} | undefined;
|
|
3930
3948
|
}>;
|
|
3931
3949
|
/**
|
|
@@ -3963,6 +3981,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3963
3981
|
claimId: string;
|
|
3964
3982
|
claimNo: string | null;
|
|
3965
3983
|
status: "REQUESTED";
|
|
3984
|
+
approved: boolean;
|
|
3966
3985
|
expectedRefundAmount: number | null;
|
|
3967
3986
|
claimDeliveryFee: number;
|
|
3968
3987
|
quantity: number;
|
|
@@ -3974,6 +3993,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3974
3993
|
/** `POST /me/order-items/{id}/claims/preview` — 신청 전 예상 환불·차감. 접수하지 않는다(#115) */
|
|
3975
3994
|
preview: (orderItemId: string, body: CreateClaimRequest) => Promise<{
|
|
3976
3995
|
quantity: number;
|
|
3996
|
+
approved: boolean;
|
|
3977
3997
|
expectedRefundAmount: number | null;
|
|
3978
3998
|
claimDeliveryFee: number;
|
|
3979
3999
|
deliveryFeeRefundAmount: number;
|
|
@@ -4530,6 +4550,7 @@ declare const flowStateSchema: z.ZodObject<{
|
|
|
4530
4550
|
label: z.ZodString;
|
|
4531
4551
|
type: z.ZodString;
|
|
4532
4552
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4553
|
+
display: z.ZodOptional<z.ZodString>;
|
|
4533
4554
|
}, z.core.$strip>>;
|
|
4534
4555
|
}, z.core.$strip>>;
|
|
4535
4556
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4555,6 +4576,7 @@ declare const orderStepSchema: z.ZodObject<{
|
|
|
4555
4576
|
label: z.ZodString;
|
|
4556
4577
|
type: z.ZodString;
|
|
4557
4578
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4579
|
+
display: z.ZodOptional<z.ZodString>;
|
|
4558
4580
|
}, z.core.$strip>>;
|
|
4559
4581
|
}, z.core.$strip>>;
|
|
4560
4582
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -4648,6 +4670,7 @@ declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4648
4670
|
label: z.ZodString;
|
|
4649
4671
|
type: z.ZodString;
|
|
4650
4672
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4673
|
+
display: z.ZodOptional<z.ZodString>;
|
|
4651
4674
|
}, z.core.$strip>>;
|
|
4652
4675
|
}, z.core.$strip>>;
|
|
4653
4676
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4691,6 +4714,7 @@ declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4691
4714
|
claim: z.ZodOptional<z.ZodObject<{
|
|
4692
4715
|
claimId: z.ZodString;
|
|
4693
4716
|
claimNo: z.ZodNullable<z.ZodString>;
|
|
4717
|
+
approved: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4694
4718
|
}, z.core.$strip>>;
|
|
4695
4719
|
}, z.core.$strip>;
|
|
4696
4720
|
type FlowActionResult = z.infer<typeof flowActionResultSchema>;
|
|
@@ -4811,6 +4835,7 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4811
4835
|
label: z.ZodString;
|
|
4812
4836
|
type: z.ZodString;
|
|
4813
4837
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4838
|
+
display: z.ZodOptional<z.ZodString>;
|
|
4814
4839
|
}, z.core.$strip>>;
|
|
4815
4840
|
}, z.core.$strip>>;
|
|
4816
4841
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4875,6 +4900,7 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4875
4900
|
label: z.ZodString;
|
|
4876
4901
|
type: z.ZodString;
|
|
4877
4902
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4903
|
+
display: z.ZodOptional<z.ZodString>;
|
|
4878
4904
|
}, z.core.$strip>>;
|
|
4879
4905
|
}, z.core.$strip>>;
|
|
4880
4906
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4894,6 +4920,7 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4894
4920
|
label: z.ZodString;
|
|
4895
4921
|
type: z.ZodString;
|
|
4896
4922
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
4923
|
+
display: z.ZodOptional<z.ZodString>;
|
|
4897
4924
|
}, z.core.$strip>>;
|
|
4898
4925
|
}, z.core.$strip>>;
|
|
4899
4926
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -5084,6 +5111,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5084
5111
|
label: z.ZodString;
|
|
5085
5112
|
type: z.ZodString;
|
|
5086
5113
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
5114
|
+
display: z.ZodOptional<z.ZodString>;
|
|
5087
5115
|
}, z.core.$strip>>;
|
|
5088
5116
|
}, z.core.$strip>>;
|
|
5089
5117
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5148,6 +5176,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5148
5176
|
label: z.ZodString;
|
|
5149
5177
|
type: z.ZodString;
|
|
5150
5178
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
5179
|
+
display: z.ZodOptional<z.ZodString>;
|
|
5151
5180
|
}, z.core.$strip>>;
|
|
5152
5181
|
}, z.core.$strip>>;
|
|
5153
5182
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5167,6 +5196,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5167
5196
|
label: z.ZodString;
|
|
5168
5197
|
type: z.ZodString;
|
|
5169
5198
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
5199
|
+
display: z.ZodOptional<z.ZodString>;
|
|
5170
5200
|
}, z.core.$strip>>;
|
|
5171
5201
|
}, z.core.$strip>>;
|
|
5172
5202
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -5281,6 +5311,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5281
5311
|
receiptUrl: z.ZodNullable<z.ZodURL>;
|
|
5282
5312
|
refundedAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5283
5313
|
refundPendingAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5314
|
+
pointRefundedAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5284
5315
|
}, z.core.$strip>;
|
|
5285
5316
|
testPayment: z.ZodBoolean;
|
|
5286
5317
|
}, z.core.$strip>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { C as loginRequestSchema, D as tokenPairSchema, E as socialProviderSchema, O as withdrawRequestSchema, S as linkIdentityRequestSchema, T as signupRequestSchema, _ as anonymousSessionSchema, a as AnonymousSession, b as idpAuthorizeResponseSchema, c as IdpTokenRequest, d as MemberIdentities, f as SignupRequest, g as WithdrawalBlockedDetails, h as WithdrawRequest, i as buildQuery, k as withdrawalBlockedDetailsSchema, l as LinkIdentityRequest, m as TokenPair, n as Query, o as IdpAgreements, p as SocialProvider, r as TokenSource, s as IdpAuthorizeRequest, t as ApiError, u as LoginRequest, v as idpAgreementsSchema, w as memberIdentitiesSchema, x as idpTokenRequestSchema, y as idpAuthorizeRequestSchema } from "./http-1ab7tP4-.mjs";
|
|
2
|
-
import { $ as ANALYTICS_VISITOR_HEADER, $i as storefrontCollectionDetailSchema, $n as storefrontCouponListQuerySchema, $r as RemoteArea, $t as customInputEntrySchema, A as FlowAction, Ai as shippingAddressInputSchema, An as createCustomerInquiryRequestSchema, Ar as CashReceiptIdentityType, At as WritableReview, B as flowActionRequestSchema, Bi as ProductSearchParams, Bn as MyCoupon, Br as KnownPaymentResult, Bt as updateReviewRequestSchema, C as myOrderSchema, Ca as CartItem, Ci as paymentStartSchema, Cn as createInquiryRequestSchema, Cr as claimReturnAddressSchema, Ct as PublicReview, D as commerceNumberField, Da as cartSchema, Di as residentNumberLike, Dn as CreateCustomerInquiryRequest, Dr as myClaimSchema, Dt as UpdateReviewRequest, E as trackingStageResponseSchema, Ea as cartItemSchema, Ei as remoteAreaSchema, En as publicInquirySchema, Er as createClaimResultSchema, Et as ReviewSummary, F as FlowState, Fi as CollectionProductSortParam, Fn as CheckoutPricingRequest, Fr as CreateCheckoutRequest, Ft as productReviewSortSchema, G as flowStateSchema, Gi as collectionProductPageSchema, Gn as checkoutPricingSchema, Gr as PAYMENT_STATUS_VALUES, Gt as AddonSelection, H as flowActionSchema, Hi as StorefrontCollection, Hn as StorefrontCouponListParams, Hr as KnownPaymentStatus, Ht as uploadTicketSchema, I as GuestFlowActionRequest, Ii as ProductCard, In as CouponApplication, Ir as DeliveryQuoteRequest, It as publicReviewSchema, J as orderStepSchema, Ji as productCardSchema, Jn as couponBenefitViewSchema, Jr as PaymentMethod, Jt as CustomInputView, K as guestFlowActionRequestSchema, Ki as collectionProductQuerySchema, Kn as couponApplicationListSchema, Kr as PaymentFailureCategory, Kt as CustomInputEntry, L as ORDER_STEP_TYPES, Li as ProductDetail, Ln as CouponResult, Lr as DeliveryQuoteResult, Lt as reviewImageUploadRequestSchema, M as FlowActionResult, Mi as CategoryNode, Mn as customerInquirySchema, Mr as CashReceiptType, Mt as createReviewResultSchema, N as FlowFieldValue, Ni as CollectionProductPage, Nn as ApplicableCoupon, Nr as CheckoutDelivery, Nt as myReviewSchema, O as formatOrderNo, Oa as updateCartItemRequestSchema, Oi as responsePaymentMethodSchema, On as CustomerInquiry, Or as AvailablePaymentOption, Ot as UpdateReviewResult, P as FlowInputField, Pi as CollectionProductParams, Pn as CheckoutPricing, Pr as CheckoutSession, Pt as productReviewQuerySchema, Q as ANALYTICS_VISITOR_COOKIE, Qi as productSortSchema, Qn as pricingAmountsSchema, Qr as PgProvider, Qt as addonSelectionSchema, R as OrderFlowActionResult, Ri as ProductFacets, Rn as MAX_COUPONS_PER_CHECKOUT, Rr as EasyPayProvider, Rt as reviewPageSchema, S as myOrderItemSchema, Sa as Cart, Si as paymentOptionSchema, Sn as PublicInquiry, Sr as claimReasonSchema, St as ProductReviewSort, T as purchaseDecisionResultSchema, Ta as addCartItemRequestSchema, Ti as pgProviderSchema, Tn as productInquiryCategorySchema, Tr as createClaimRequestSchema, Tt as ReviewPage, U as flowFieldValueSchema, Ui as StorefrontCollectionDetail, Un as applicableCouponSchema, Ur as PAYMENT_RESULT_VALUES, Ut as writableReviewSchema, V as flowActionResultSchema, Vi as ProductSort, Vn as StorefrontCoupon, Vr as KnownPaymentStartStatus, Vt as updateReviewResultSchema, W as flowInputFieldSchema, Wi as categoryNodeSchema, Wn as checkoutPricingRequestSchema, Wr as PAYMENT_START_STATUS_VALUES, Wt as AddonGroupView, X as ANALYTICS_SESSION_COOKIE, Xi as productFacetsSchema, Xn as myCouponListQuerySchema, Xr as PaymentStart, Xt as OrderInputUploadRequest, Y as ANALYTICS_MAX_BATCH_BYTES, Yi as productDetailSchema, Yn as couponResultSchema, Yr as PaymentOption, Yt as OptionSelectionView, Z as ANALYTICS_SESSION_HEADER, Zi as productPageSchema, Zn as myCouponSchema, Zr as PaymentStatus, Zt as addonGroupViewSchema, _ as MyOrder, _a as myOrderItemFulfillmentSnapshotSchema, _i as paymentFailureCategorySchema, _n as updateProfileRequestSchema, _r as ClaimType, _t as createStorefrontSession, a as StayView, aa as PageParams, ai as cashReceiptAvailable, an as normalizeCustomInputValue, ar as ConsentState, at as analyticsBatchSchema, b as PurchaseDecisionResult, ba as productFulfillmentViewSchema, bi as paymentOptionKey, bn as CreateInquiryResult, br as MyClaim, bt as MyReview, c as stayViewSchema, ca as pageInfoSchema, ci as cashReceiptTypeSchema, cn as parseCustomInputValue, cr as consentActionSchema, ct as analyticsIdSchema, d as StorefrontPointPolicy, da as MyOrderItemFulfillmentSnapshot, di as createCheckoutRequestSchema, dn as MemberAddressRequest, dr as consentStateSchema, dt as StorefrontClientOptions, ea as storefrontCollectionListQuerySchema, ei as ResponsePaymentMethod, en as customInputLength, er as storefrontCouponSchema, et as AnalyticsBatch, f as memberPointEntryPageSchema, fa as PickupLocationView, fi as deliveryQuoteRequestSchema, fn as UpdateProfileRequest, fr as consentUpdateRequestSchema, ft as createStorefrontClient, g as DeliveryTracking, ga as lineFulfillmentSchema, gi as guestInfoSchema, gn as memberSchema, gr as ClaimReturnAddress, gt as StorefrontSessionOptions, h as storefrontPointPolicySchema, ha as UnknownFulfillmentView, hi as easyPayProviderSchema, hn as memberAddressSchema, hr as ClaimReason, ht as StorefrontSession, i as StayRequest, ia as PageInfo, ii as availablePaymentOptionSchema, in as lineSelectionResponseShape, ir as ConsentSource, it as AnalyticsServerEventName, j as FlowActionRequest, ji as startPaymentRequestSchema, jn as customerInquiryCategorySchema, jr as CashReceiptRequest, jt as createReviewRequestSchema, k as parseOrderNo, ka as analyticsIdsFromCookie, ki as retryPaymentRequestSchema, kn as CustomerInquiryCategory, kr as CASH_RECEIPT_METHODS, kt as UploadTicket, l as MemberPointEntry, la as pageSchema, li as checkoutDeliverySchema, ln as Member, lr as consentKindSchema, lt as analyticsServerEventNameSchema, m as memberPointsSchema, ma as ProductFulfillmentView, mi as easyPayProviderResponseSchema, mn as memberAddressRequestSchema, mr as ClaimPreview, mt as SessionStorage, n as storefrontStoreSchema, na as ClaimStatus, ni as ShippingAddressInput, nn as customInputViewSchema, nr as ConsentAction, nt as AnalyticsClientEventName, o as calendarDayViewSchema, oa as claimStatusSchema, oi as cashReceiptIdentityTypeOf, on as optionSelectionViewSchema, or as ConsentUpdateRequest, ot as analyticsClientEventNameSchema, p as memberPointEntrySchema, pa as ProductCardFulfillment, pi as deliveryQuoteSchema, pn as WishlistAddResult, pr as memberConsentsSchema, pt as STOREFRONT_SESSION_KEYS, q as orderFlowActionResultSchema, qi as collectionProductSortSchema, qn as couponApplicationSchema, qr as PaymentMessage, qt as CustomInputValueView, r as CalendarDayView, ra as OrderItemStatus, ri as StartPaymentRequest, rn as lineSelectionRequestShape, rr as ConsentKind, rt as AnalyticsEventName, s as stayRequestSchema, sa as orderItemStatusSchema, si as cashReceiptRequestSchema, sn as orderInputUploadRequestSchema, sr as MemberConsents, st as analyticsClientEventSchema, t as StorefrontStore, ta as storefrontCollectionSchema, ti as RetryPaymentRequest, tn as customInputValueViewSchema, tr as storefrontCouponTargetSchema, tt as AnalyticsClientEvent, u as MemberPoints, ua as LineFulfillment, ui as checkoutSessionSchema, un as MemberAddress, ur as consentSourceSchema, ut as StorefrontClient, v as MyOrderItem, va as pickupLocationViewSchema, vi as paymentMessageSchema, vn as wishlistAddResultSchema, vr as CreateClaimRequest, vt as CreateReviewRequest, w as orderShippingAddressSchema, wa as UpdateCartItemRequest, wi as paymentStatusSchema, wn as createInquiryResultSchema, wr as claimTypeSchema, wt as ReviewImageUploadRequest, x as deliveryTrackingSchema, xa as AddCartItemRequest, xi as paymentOptionListSchema, xn as ProductInquiryCategory, xr as claimPreviewSchema, xt as ProductReviewParams, y as OrderShippingAddress, ya as productCardFulfillmentSchema, yi as paymentMethodSchema, yn as CreateInquiryRequest, yr as CreateClaimResult, yt as CreateReviewResult, z as OrderStep, zi as ProductPage, zn as MIN_PAYMENT_AMOUNT, zr as GuestInfo, zt as reviewSummarySchema } from "./index-
|
|
2
|
+
import { $ as ANALYTICS_VISITOR_HEADER, $i as storefrontCollectionDetailSchema, $n as storefrontCouponListQuerySchema, $r as RemoteArea, $t as customInputEntrySchema, A as FlowAction, Ai as shippingAddressInputSchema, An as createCustomerInquiryRequestSchema, Ar as CashReceiptIdentityType, At as WritableReview, B as flowActionRequestSchema, Bi as ProductSearchParams, Bn as MyCoupon, Br as KnownPaymentResult, Bt as updateReviewRequestSchema, C as myOrderSchema, Ca as CartItem, Ci as paymentStartSchema, Cn as createInquiryRequestSchema, Cr as claimReturnAddressSchema, Ct as PublicReview, D as commerceNumberField, Da as cartSchema, Di as residentNumberLike, Dn as CreateCustomerInquiryRequest, Dr as myClaimSchema, Dt as UpdateReviewRequest, E as trackingStageResponseSchema, Ea as cartItemSchema, Ei as remoteAreaSchema, En as publicInquirySchema, Er as createClaimResultSchema, Et as ReviewSummary, F as FlowState, Fi as CollectionProductSortParam, Fn as CheckoutPricingRequest, Fr as CreateCheckoutRequest, Ft as productReviewSortSchema, G as flowStateSchema, Gi as collectionProductPageSchema, Gn as checkoutPricingSchema, Gr as PAYMENT_STATUS_VALUES, Gt as AddonSelection, H as flowActionSchema, Hi as StorefrontCollection, Hn as StorefrontCouponListParams, Hr as KnownPaymentStatus, Ht as uploadTicketSchema, I as GuestFlowActionRequest, Ii as ProductCard, In as CouponApplication, Ir as DeliveryQuoteRequest, It as publicReviewSchema, J as orderStepSchema, Ji as productCardSchema, Jn as couponBenefitViewSchema, Jr as PaymentMethod, Jt as CustomInputView, K as guestFlowActionRequestSchema, Ki as collectionProductQuerySchema, Kn as couponApplicationListSchema, Kr as PaymentFailureCategory, Kt as CustomInputEntry, L as ORDER_STEP_TYPES, Li as ProductDetail, Ln as CouponResult, Lr as DeliveryQuoteResult, Lt as reviewImageUploadRequestSchema, M as FlowActionResult, Mi as CategoryNode, Mn as customerInquirySchema, Mr as CashReceiptType, Mt as createReviewResultSchema, N as FlowFieldValue, Ni as CollectionProductPage, Nn as ApplicableCoupon, Nr as CheckoutDelivery, Nt as myReviewSchema, O as formatOrderNo, Oa as updateCartItemRequestSchema, Oi as responsePaymentMethodSchema, On as CustomerInquiry, Or as AvailablePaymentOption, Ot as UpdateReviewResult, P as FlowInputField, Pi as CollectionProductParams, Pn as CheckoutPricing, Pr as CheckoutSession, Pt as productReviewQuerySchema, Q as ANALYTICS_VISITOR_COOKIE, Qi as productSortSchema, Qn as pricingAmountsSchema, Qr as PgProvider, Qt as addonSelectionSchema, R as OrderFlowActionResult, Ri as ProductFacets, Rn as MAX_COUPONS_PER_CHECKOUT, Rr as EasyPayProvider, Rt as reviewPageSchema, S as myOrderItemSchema, Sa as Cart, Si as paymentOptionSchema, Sn as PublicInquiry, Sr as claimReasonSchema, St as ProductReviewSort, T as purchaseDecisionResultSchema, Ta as addCartItemRequestSchema, Ti as pgProviderSchema, Tn as productInquiryCategorySchema, Tr as createClaimRequestSchema, Tt as ReviewPage, U as flowFieldValueSchema, Ui as StorefrontCollectionDetail, Un as applicableCouponSchema, Ur as PAYMENT_RESULT_VALUES, Ut as writableReviewSchema, V as flowActionResultSchema, Vi as ProductSort, Vn as StorefrontCoupon, Vr as KnownPaymentStartStatus, Vt as updateReviewResultSchema, W as flowInputFieldSchema, Wi as categoryNodeSchema, Wn as checkoutPricingRequestSchema, Wr as PAYMENT_START_STATUS_VALUES, Wt as AddonGroupView, X as ANALYTICS_SESSION_COOKIE, Xi as productFacetsSchema, Xn as myCouponListQuerySchema, Xr as PaymentStart, Xt as OrderInputUploadRequest, Y as ANALYTICS_MAX_BATCH_BYTES, Yi as productDetailSchema, Yn as couponResultSchema, Yr as PaymentOption, Yt as OptionSelectionView, Z as ANALYTICS_SESSION_HEADER, Zi as productPageSchema, Zn as myCouponSchema, Zr as PaymentStatus, Zt as addonGroupViewSchema, _ as MyOrder, _a as myOrderItemFulfillmentSnapshotSchema, _i as paymentFailureCategorySchema, _n as updateProfileRequestSchema, _r as ClaimType, _t as createStorefrontSession, a as StayView, aa as PageParams, ai as cashReceiptAvailable, an as normalizeCustomInputValue, ar as ConsentState, at as analyticsBatchSchema, b as PurchaseDecisionResult, ba as productFulfillmentViewSchema, bi as paymentOptionKey, bn as CreateInquiryResult, br as MyClaim, bt as MyReview, c as stayViewSchema, ca as pageInfoSchema, ci as cashReceiptTypeSchema, cn as parseCustomInputValue, cr as consentActionSchema, ct as analyticsIdSchema, d as StorefrontPointPolicy, da as MyOrderItemFulfillmentSnapshot, di as createCheckoutRequestSchema, dn as MemberAddressRequest, dr as consentStateSchema, dt as StorefrontClientOptions, ea as storefrontCollectionListQuerySchema, ei as ResponsePaymentMethod, en as customInputLength, er as storefrontCouponSchema, et as AnalyticsBatch, f as memberPointEntryPageSchema, fa as PickupLocationView, fi as deliveryQuoteRequestSchema, fn as UpdateProfileRequest, fr as consentUpdateRequestSchema, ft as createStorefrontClient, g as DeliveryTracking, ga as lineFulfillmentSchema, gi as guestInfoSchema, gn as memberSchema, gr as ClaimReturnAddress, gt as StorefrontSessionOptions, h as storefrontPointPolicySchema, ha as UnknownFulfillmentView, hi as easyPayProviderSchema, hn as memberAddressSchema, hr as ClaimReason, ht as StorefrontSession, i as StayRequest, ia as PageInfo, ii as availablePaymentOptionSchema, in as lineSelectionResponseShape, ir as ConsentSource, it as AnalyticsServerEventName, j as FlowActionRequest, ji as startPaymentRequestSchema, jn as customerInquiryCategorySchema, jr as CashReceiptRequest, jt as createReviewRequestSchema, k as parseOrderNo, ka as analyticsIdsFromCookie, ki as retryPaymentRequestSchema, kn as CustomerInquiryCategory, kr as CASH_RECEIPT_METHODS, kt as UploadTicket, l as MemberPointEntry, la as pageSchema, li as checkoutDeliverySchema, ln as Member, lr as consentKindSchema, lt as analyticsServerEventNameSchema, m as memberPointsSchema, ma as ProductFulfillmentView, mi as easyPayProviderResponseSchema, mn as memberAddressRequestSchema, mr as ClaimPreview, mt as SessionStorage, n as storefrontStoreSchema, na as ClaimStatus, ni as ShippingAddressInput, nn as customInputViewSchema, nr as ConsentAction, nt as AnalyticsClientEventName, o as calendarDayViewSchema, oa as claimStatusSchema, oi as cashReceiptIdentityTypeOf, on as optionSelectionViewSchema, or as ConsentUpdateRequest, ot as analyticsClientEventNameSchema, p as memberPointEntrySchema, pa as ProductCardFulfillment, pi as deliveryQuoteSchema, pn as WishlistAddResult, pr as memberConsentsSchema, pt as STOREFRONT_SESSION_KEYS, q as orderFlowActionResultSchema, qi as collectionProductSortSchema, qn as couponApplicationSchema, qr as PaymentMessage, qt as CustomInputValueView, r as CalendarDayView, ra as OrderItemStatus, ri as StartPaymentRequest, rn as lineSelectionRequestShape, rr as ConsentKind, rt as AnalyticsEventName, s as stayRequestSchema, sa as orderItemStatusSchema, si as cashReceiptRequestSchema, sn as orderInputUploadRequestSchema, sr as MemberConsents, st as analyticsClientEventSchema, t as StorefrontStore, ta as storefrontCollectionSchema, ti as RetryPaymentRequest, tn as customInputValueViewSchema, tr as storefrontCouponTargetSchema, tt as AnalyticsClientEvent, u as MemberPoints, ua as LineFulfillment, ui as checkoutSessionSchema, un as MemberAddress, ur as consentSourceSchema, ut as StorefrontClient, v as MyOrderItem, va as pickupLocationViewSchema, vi as paymentMessageSchema, vn as wishlistAddResultSchema, vr as CreateClaimRequest, vt as CreateReviewRequest, w as orderShippingAddressSchema, wa as UpdateCartItemRequest, wi as paymentStatusSchema, wn as createInquiryResultSchema, wr as claimTypeSchema, wt as ReviewImageUploadRequest, x as deliveryTrackingSchema, xa as AddCartItemRequest, xi as paymentOptionListSchema, xn as ProductInquiryCategory, xr as claimPreviewSchema, xt as ProductReviewParams, y as OrderShippingAddress, ya as productCardFulfillmentSchema, yi as paymentMethodSchema, yn as CreateInquiryRequest, yr as CreateClaimResult, yt as CreateReviewResult, z as OrderStep, zi as ProductPage, zn as MIN_PAYMENT_AMOUNT, zr as GuestInfo, zt as reviewSummarySchema } from "./index-DkZFHWq7.mjs";
|
|
3
3
|
export { ANALYTICS_MAX_BATCH_BYTES, ANALYTICS_SESSION_COOKIE, ANALYTICS_SESSION_HEADER, ANALYTICS_VISITOR_COOKIE, ANALYTICS_VISITOR_HEADER, AddCartItemRequest, AddonGroupView, AddonSelection, AnalyticsBatch, AnalyticsClientEvent, AnalyticsClientEventName, AnalyticsEventName, AnalyticsServerEventName, AnonymousSession, ApiError, ApplicableCoupon, AvailablePaymentOption, CASH_RECEIPT_METHODS, CalendarDayView, Cart, CartItem, CashReceiptIdentityType, CashReceiptRequest, CashReceiptType, CategoryNode, CheckoutDelivery, CheckoutPricing, CheckoutPricingRequest, CheckoutSession, ClaimPreview, ClaimReason, ClaimReturnAddress, ClaimStatus, ClaimType, CollectionProductPage, CollectionProductParams, CollectionProductSortParam, ConsentAction, ConsentKind, ConsentSource, ConsentState, ConsentUpdateRequest, CouponApplication, CouponResult, CreateCheckoutRequest, CreateClaimRequest, CreateClaimResult, CreateCustomerInquiryRequest, CreateInquiryRequest, CreateInquiryResult, CreateReviewRequest, CreateReviewResult, CustomInputEntry, CustomInputValueView, CustomInputView, CustomerInquiry, CustomerInquiryCategory, DeliveryQuoteRequest, DeliveryQuoteResult, DeliveryTracking, EasyPayProvider, FlowAction, FlowActionRequest, FlowActionResult, FlowFieldValue, FlowInputField, FlowState, GuestFlowActionRequest, GuestInfo, IdpAgreements, IdpAuthorizeRequest, IdpTokenRequest, KnownPaymentResult, KnownPaymentStartStatus, KnownPaymentStatus, LineFulfillment, LinkIdentityRequest, LoginRequest, MAX_COUPONS_PER_CHECKOUT, MIN_PAYMENT_AMOUNT, Member, MemberAddress, MemberAddressRequest, MemberConsents, MemberIdentities, MemberPointEntry, MemberPoints, MyClaim, MyCoupon, MyOrder, MyOrderItem, MyOrderItemFulfillmentSnapshot, MyReview, ORDER_STEP_TYPES, OptionSelectionView, OrderFlowActionResult, OrderInputUploadRequest, OrderItemStatus, OrderShippingAddress, OrderStep, PAYMENT_RESULT_VALUES, PAYMENT_START_STATUS_VALUES, PAYMENT_STATUS_VALUES, PageInfo, PageParams, PaymentFailureCategory, PaymentMessage, PaymentMethod, PaymentOption, PaymentStart, PaymentStatus, PgProvider, PickupLocationView, ProductCard, ProductCardFulfillment, ProductDetail, ProductFacets, ProductFulfillmentView, ProductInquiryCategory, ProductPage, ProductReviewParams, ProductReviewSort, ProductSearchParams, ProductSort, PublicInquiry, PublicReview, PurchaseDecisionResult, type Query, RemoteArea, ResponsePaymentMethod, RetryPaymentRequest, ReviewImageUploadRequest, ReviewPage, ReviewSummary, STOREFRONT_SESSION_KEYS, type SessionStorage, ShippingAddressInput, SignupRequest, SocialProvider, StartPaymentRequest, StayRequest, StayView, type StorefrontClient, type StorefrontClientOptions, StorefrontCollection, StorefrontCollectionDetail, StorefrontCoupon, StorefrontCouponListParams, StorefrontPointPolicy, type StorefrontSession, type StorefrontSessionOptions, StorefrontStore, TokenPair, type TokenSource, UnknownFulfillmentView, UpdateCartItemRequest, UpdateProfileRequest, UpdateReviewRequest, UpdateReviewResult, UploadTicket, WishlistAddResult, WithdrawRequest, WithdrawalBlockedDetails, WritableReview, addCartItemRequestSchema, addonGroupViewSchema, addonSelectionSchema, analyticsBatchSchema, analyticsClientEventNameSchema, analyticsClientEventSchema, analyticsIdSchema, analyticsIdsFromCookie, analyticsServerEventNameSchema, anonymousSessionSchema, applicableCouponSchema, availablePaymentOptionSchema, buildQuery, calendarDayViewSchema, cartItemSchema, cartSchema, cashReceiptAvailable, cashReceiptIdentityTypeOf, cashReceiptRequestSchema, cashReceiptTypeSchema, categoryNodeSchema, checkoutDeliverySchema, checkoutPricingRequestSchema, checkoutPricingSchema, checkoutSessionSchema, claimPreviewSchema, claimReasonSchema, claimReturnAddressSchema, claimStatusSchema, claimTypeSchema, collectionProductPageSchema, collectionProductQuerySchema, collectionProductSortSchema, commerceNumberField, consentActionSchema, consentKindSchema, consentSourceSchema, consentStateSchema, consentUpdateRequestSchema, couponApplicationListSchema, couponApplicationSchema, couponBenefitViewSchema, couponResultSchema, createCheckoutRequestSchema, createClaimRequestSchema, createClaimResultSchema, createCustomerInquiryRequestSchema, createInquiryRequestSchema, createInquiryResultSchema, createReviewRequestSchema, createReviewResultSchema, createStorefrontClient, createStorefrontSession, customInputEntrySchema, customInputLength, customInputValueViewSchema, customInputViewSchema, customerInquiryCategorySchema, customerInquirySchema, deliveryQuoteRequestSchema, deliveryQuoteSchema, deliveryTrackingSchema, easyPayProviderResponseSchema, easyPayProviderSchema, flowActionRequestSchema, flowActionResultSchema, flowActionSchema, flowFieldValueSchema, flowInputFieldSchema, flowStateSchema, formatOrderNo, guestFlowActionRequestSchema, guestInfoSchema, idpAgreementsSchema, idpAuthorizeRequestSchema, idpAuthorizeResponseSchema, idpTokenRequestSchema, lineFulfillmentSchema, lineSelectionRequestShape, lineSelectionResponseShape, linkIdentityRequestSchema, loginRequestSchema, memberAddressRequestSchema, memberAddressSchema, memberConsentsSchema, memberIdentitiesSchema, memberPointEntryPageSchema, memberPointEntrySchema, memberPointsSchema, memberSchema, myClaimSchema, myCouponListQuerySchema, myCouponSchema, myOrderItemFulfillmentSnapshotSchema, myOrderItemSchema, myOrderSchema, myReviewSchema, normalizeCustomInputValue, optionSelectionViewSchema, orderFlowActionResultSchema, orderInputUploadRequestSchema, orderItemStatusSchema, orderShippingAddressSchema, orderStepSchema, pageInfoSchema, pageSchema, parseCustomInputValue, parseOrderNo, paymentFailureCategorySchema, paymentMessageSchema, paymentMethodSchema, paymentOptionKey, paymentOptionListSchema, paymentOptionSchema, paymentStartSchema, paymentStatusSchema, pgProviderSchema, pickupLocationViewSchema, pricingAmountsSchema, productCardFulfillmentSchema, productCardSchema, productDetailSchema, productFacetsSchema, productFulfillmentViewSchema, productInquiryCategorySchema, productPageSchema, productReviewQuerySchema, productReviewSortSchema, productSortSchema, publicInquirySchema, publicReviewSchema, purchaseDecisionResultSchema, remoteAreaSchema, residentNumberLike, responsePaymentMethodSchema, retryPaymentRequestSchema, reviewImageUploadRequestSchema, reviewPageSchema, reviewSummarySchema, shippingAddressInputSchema, signupRequestSchema, socialProviderSchema, startPaymentRequestSchema, stayRequestSchema, stayViewSchema, storefrontCollectionDetailSchema, storefrontCollectionListQuerySchema, storefrontCollectionSchema, storefrontCouponListQuerySchema, storefrontCouponSchema, storefrontCouponTargetSchema, storefrontPointPolicySchema, storefrontStoreSchema, tokenPairSchema, trackingStageResponseSchema, updateCartItemRequestSchema, updateProfileRequestSchema, updateReviewRequestSchema, updateReviewResultSchema, uploadTicketSchema, wishlistAddResultSchema, withdrawRequestSchema, withdrawalBlockedDetailsSchema, writableReviewSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as ANALYTICS_VISITOR_HEADER, c as analyticsClientEventSchema, i as ANALYTICS_VISITOR_COOKIE, l as analyticsIdSchema, n as ANALYTICS_SESSION_COOKIE, o as analyticsBatchSchema, r as ANALYTICS_SESSION_HEADER, s as analyticsClientEventNameSchema, t as ANALYTICS_MAX_BATCH_BYTES, u as analyticsServerEventNameSchema } from "./analytics-CgD70OqH.mjs";
|
|
2
2
|
import { t as analyticsIdsFromCookie } from "./analytics-ids-COElZiI3.mjs";
|
|
3
|
-
import { $ as orderStepSchema, A as wishlistAddResultSchema, At as anonymousSessionSchema, B as consentSourceSchema, Bt as tokenPairSchema, C as orderShippingAddressSchema, Ct as orderItemStatusSchema, D as memberAddressSchema, Dt as cartItemSchema, E as memberAddressRequestSchema, Et as addCartItemRequestSchema, F as createCustomerInquiryRequestSchema, Ft as linkIdentityRequestSchema, G as flowActionRequestSchema, Gt as toApiError, H as consentUpdateRequestSchema, Ht as withdrawalBlockedDetailsSchema, I as customerInquiryCategorySchema, It as loginRequestSchema, J as flowFieldValueSchema, K as flowActionResultSchema, Kt as unwrapData, L as customerInquirySchema, Lt as memberIdentitiesSchema, M as createInquiryResultSchema, Mt as idpAuthorizeRequestSchema, N as productInquiryCategorySchema, Nt as idpAuthorizeResponseSchema, O as memberSchema, Ot as cartSchema, P as publicInquirySchema, Pt as idpTokenRequestSchema, Q as orderFlowActionResultSchema, R as consentActionSchema, Rt as signupRequestSchema, S as myOrderSchema, St as claimStatusSchema, T as trackingStageResponseSchema, Tt as pageSchema, U as memberConsentsSchema, Ut as ApiError, V as consentStateSchema, Vt as withdrawRequestSchema, W as ORDER_STEP_TYPES, Wt as buildQuery, X as flowStateSchema, Y as flowInputFieldSchema, Z as guestFlowActionRequestSchema, _ as memberPointEntrySchema, _t as productPageSchema, a as myReviewSchema, at as createClaimResultSchema, b as deliveryTrackingSchema, bt as storefrontCollectionListQuerySchema, c as publicReviewSchema, ct as formatOrderNo, d as reviewSummarySchema, dt as collectionProductPageSchema, et as claimPreviewSchema, f as updateReviewRequestSchema, ft as collectionProductQuerySchema, g as memberPointEntryPageSchema, gt as productFacetsSchema, h as writableReviewSchema, ht as productDetailSchema, i as createReviewResultSchema, it as createClaimRequestSchema, j as createInquiryRequestSchema, jt as idpAgreementsSchema, k as updateProfileRequestSchema, kt as updateCartItemRequestSchema, l as reviewImageUploadRequestSchema, lt as parseOrderNo, m as uploadTicketSchema, mt as productCardSchema, n as storefrontStoreSchema, nt as claimReturnAddressSchema, o as productReviewQuerySchema, ot as myClaimSchema, p as updateReviewResultSchema, pt as collectionProductSortSchema, q as flowActionSchema, r as createReviewRequestSchema, rt as claimTypeSchema, s as productReviewSortSchema, st as commerceNumberField, t as createStorefrontClient, tt as claimReasonSchema, u as reviewPageSchema, ut as categoryNodeSchema, v as memberPointsSchema, vt as productSortSchema, w as purchaseDecisionResultSchema, wt as pageInfoSchema, x as myOrderItemSchema, xt as storefrontCollectionSchema, y as storefrontPointPolicySchema, yt as storefrontCollectionDetailSchema, z as consentKindSchema, zt as socialProviderSchema } from "./client-
|
|
3
|
+
import { $ as orderStepSchema, A as wishlistAddResultSchema, At as anonymousSessionSchema, B as consentSourceSchema, Bt as tokenPairSchema, C as orderShippingAddressSchema, Ct as orderItemStatusSchema, D as memberAddressSchema, Dt as cartItemSchema, E as memberAddressRequestSchema, Et as addCartItemRequestSchema, F as createCustomerInquiryRequestSchema, Ft as linkIdentityRequestSchema, G as flowActionRequestSchema, Gt as toApiError, H as consentUpdateRequestSchema, Ht as withdrawalBlockedDetailsSchema, I as customerInquiryCategorySchema, It as loginRequestSchema, J as flowFieldValueSchema, K as flowActionResultSchema, Kt as unwrapData, L as customerInquirySchema, Lt as memberIdentitiesSchema, M as createInquiryResultSchema, Mt as idpAuthorizeRequestSchema, N as productInquiryCategorySchema, Nt as idpAuthorizeResponseSchema, O as memberSchema, Ot as cartSchema, P as publicInquirySchema, Pt as idpTokenRequestSchema, Q as orderFlowActionResultSchema, R as consentActionSchema, Rt as signupRequestSchema, S as myOrderSchema, St as claimStatusSchema, T as trackingStageResponseSchema, Tt as pageSchema, U as memberConsentsSchema, Ut as ApiError, V as consentStateSchema, Vt as withdrawRequestSchema, W as ORDER_STEP_TYPES, Wt as buildQuery, X as flowStateSchema, Y as flowInputFieldSchema, Z as guestFlowActionRequestSchema, _ as memberPointEntrySchema, _t as productPageSchema, a as myReviewSchema, at as createClaimResultSchema, b as deliveryTrackingSchema, bt as storefrontCollectionListQuerySchema, c as publicReviewSchema, ct as formatOrderNo, d as reviewSummarySchema, dt as collectionProductPageSchema, et as claimPreviewSchema, f as updateReviewRequestSchema, ft as collectionProductQuerySchema, g as memberPointEntryPageSchema, gt as productFacetsSchema, h as writableReviewSchema, ht as productDetailSchema, i as createReviewResultSchema, it as createClaimRequestSchema, j as createInquiryRequestSchema, jt as idpAgreementsSchema, k as updateProfileRequestSchema, kt as updateCartItemRequestSchema, l as reviewImageUploadRequestSchema, lt as parseOrderNo, m as uploadTicketSchema, mt as productCardSchema, n as storefrontStoreSchema, nt as claimReturnAddressSchema, o as productReviewQuerySchema, ot as myClaimSchema, p as updateReviewResultSchema, pt as collectionProductSortSchema, q as flowActionSchema, r as createReviewRequestSchema, rt as claimTypeSchema, s as productReviewSortSchema, st as commerceNumberField, t as createStorefrontClient, tt as claimReasonSchema, u as reviewPageSchema, ut as categoryNodeSchema, v as memberPointsSchema, vt as productSortSchema, w as purchaseDecisionResultSchema, wt as pageInfoSchema, x as myOrderItemSchema, xt as storefrontCollectionSchema, y as storefrontPointPolicySchema, yt as storefrontCollectionDetailSchema, z as consentKindSchema, zt as socialProviderSchema } from "./client-ZwNr8sU-.mjs";
|
|
4
4
|
import { $ as customInputViewSchema, A as retryPaymentRequestSchema, B as couponBenefitViewSchema, C as paymentOptionSchema, D as remoteAreaSchema, E as pgProviderSchema, F as applicableCouponSchema, G as storefrontCouponListQuerySchema, H as myCouponListQuerySchema, I as checkoutPricingRequestSchema, J as addonGroupViewSchema, K as storefrontCouponSchema, L as checkoutPricingSchema, M as startPaymentRequestSchema, N as MAX_COUPONS_PER_CHECKOUT, O as residentNumberLike, P as MIN_PAYMENT_AMOUNT, Q as customInputValueViewSchema, R as couponApplicationListSchema, S as paymentOptionListSchema, T as paymentStatusSchema, U as myCouponSchema, V as couponResultSchema, W as pricingAmountsSchema, X as customInputEntrySchema, Y as addonSelectionSchema, Z as customInputLength, _ as guestInfoSchema, a as availablePaymentOptionSchema, at as parseCustomInputValue, b as paymentMethodSchema, c as cashReceiptRequestSchema, ct as stayViewSchema, d as checkoutSessionSchema, dt as pickupLocationViewSchema, et as lineSelectionRequestShape, f as createCheckoutRequestSchema, ft as productCardFulfillmentSchema, g as easyPayProviderSchema, h as easyPayProviderResponseSchema, i as PAYMENT_STATUS_VALUES, it as orderInputUploadRequestSchema, j as shippingAddressInputSchema, k as responsePaymentMethodSchema, l as cashReceiptTypeSchema, lt as lineFulfillmentSchema, m as deliveryQuoteSchema, n as PAYMENT_RESULT_VALUES, nt as normalizeCustomInputValue, o as cashReceiptAvailable, ot as calendarDayViewSchema, p as deliveryQuoteRequestSchema, pt as productFulfillmentViewSchema, q as storefrontCouponTargetSchema, r as PAYMENT_START_STATUS_VALUES, rt as optionSelectionViewSchema, s as cashReceiptIdentityTypeOf, st as stayRequestSchema, t as CASH_RECEIPT_METHODS, tt as lineSelectionResponseShape, u as checkoutDeliverySchema, ut as myOrderItemFulfillmentSnapshotSchema, v as paymentFailureCategorySchema, w as paymentStartSchema, x as paymentOptionKey, y as paymentMessageSchema, z as couponApplicationSchema } from "./checkout-BjJ4Efbn.mjs";
|
|
5
5
|
//#region src/session.ts
|
|
6
6
|
/** 세션 키 상수 — SDK가 소유한다. store-sdk와 겹치지 않는 별도 네임스페이스. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xr as PaymentStart, Yr as PaymentOption, Zr as PaymentStatus, ft as createStorefrontClient, jr as CashReceiptRequest, ni as ShippingAddressInput, ri as StartPaymentRequest, zr as GuestInfo } from "../index-
|
|
1
|
+
import { Xr as PaymentStart, Yr as PaymentOption, Zr as PaymentStatus, ft as createStorefrontClient, jr as CashReceiptRequest, ni as ShippingAddressInput, ri as StartPaymentRequest, zr as GuestInfo } from "../index-DkZFHWq7.mjs";
|
|
2
2
|
//#region src/payments/index.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* 스토어프론트 결제 — 브라우저 전용(`@sayren/storefront-sdk/payments`).
|
package/package.json
CHANGED
package/src/schemas/claim.ts
CHANGED
|
@@ -41,6 +41,14 @@ export const createClaimResultSchema = z.object({
|
|
|
41
41
|
"클레임번호(이슈 #107) — `C` + YYMMDD(KST) + 숫자 8자리. 취소·반품·교환 접수 단위 번호이고 생성 후 바뀌지 않습니다",
|
|
42
42
|
),
|
|
43
43
|
status: z.literal("REQUESTED"),
|
|
44
|
+
approved: z
|
|
45
|
+
.boolean()
|
|
46
|
+
.optional()
|
|
47
|
+
.default(false)
|
|
48
|
+
.describe(
|
|
49
|
+
"접수와 함께 승인됐는가(#115) — 주문 흐름이 이 단계의 취소를 「주문 취소」(즉시)로 켰으면 판매자 승인 없이 바로 취소·환불된다. " +
|
|
50
|
+
"false면 판매자 확인을 기다린다. 서버는 항상 싣는다",
|
|
51
|
+
),
|
|
44
52
|
expectedRefundAmount: z
|
|
45
53
|
.number()
|
|
46
54
|
.int()
|
|
@@ -89,6 +89,12 @@ export const flowStateSchema = z.object({
|
|
|
89
89
|
label: z.string(),
|
|
90
90
|
type: z.string(),
|
|
91
91
|
value: z.union([z.string(), z.number(), z.boolean(), z.array(z.string())]),
|
|
92
|
+
display: z
|
|
93
|
+
.string()
|
|
94
|
+
.optional()
|
|
95
|
+
.describe(
|
|
96
|
+
"화면에 보일 값 — 이름 붙인 선택지(`{ value, label }`)면 이름. 없으면 `value`를 그대로 보인다",
|
|
97
|
+
),
|
|
92
98
|
}),
|
|
93
99
|
),
|
|
94
100
|
})
|
|
@@ -188,7 +194,17 @@ export const flowActionResultSchema = z.object({
|
|
|
188
194
|
actions: z.array(flowActionSchema),
|
|
189
195
|
affectedOrderItemIds: z.array(z.string()),
|
|
190
196
|
claim: z
|
|
191
|
-
.object({
|
|
197
|
+
.object({
|
|
198
|
+
claimId: z.string(),
|
|
199
|
+
claimNo: z.string().nullable(),
|
|
200
|
+
approved: z
|
|
201
|
+
.boolean()
|
|
202
|
+
.optional()
|
|
203
|
+
.default(false)
|
|
204
|
+
.describe(
|
|
205
|
+
"즉시 취소(권한 방식 INSTANT)라 판매자 승인 없이 취소·환불했다. 서버는 항상 싣는다",
|
|
206
|
+
),
|
|
207
|
+
})
|
|
192
208
|
.optional()
|
|
193
209
|
.describe(
|
|
194
210
|
"취소·반품·교환 행동(하위 플로우 `core.claim.*`)이 접수한 클레임(#115). 클레임 API(`POST /me/order-items/{id}/claims`)와 같은 접수다. 다른 행동은 생략",
|
package/src/schemas/order.ts
CHANGED
|
@@ -199,6 +199,14 @@ export const myOrderSchema = z.object({
|
|
|
199
199
|
.describe(
|
|
200
200
|
"환불 예정 금액 (원, #115) — 판매자가 취소·반품을 승인했지만 결제 환불이 아직 끝나지 않은 몫이다. 판매자가 처리하면 `refundedAmount`로 옮겨진다. 서버는 항상 싣는다",
|
|
201
201
|
),
|
|
202
|
+
pointRefundedAmount: z
|
|
203
|
+
.number()
|
|
204
|
+
.int()
|
|
205
|
+
.optional()
|
|
206
|
+
.default(0)
|
|
207
|
+
.describe(
|
|
208
|
+
"취소·반품으로 돌려준 적립금 합계 (원, #93) — 현금 환불(`refundedAmount`)과 별개다. 적립금을 쓰지 않았거나 돌려준 것이 없으면 0. 서버는 항상 싣는다",
|
|
209
|
+
),
|
|
202
210
|
}),
|
|
203
211
|
testPayment: z
|
|
204
212
|
.boolean()
|