@sayren/storefront-sdk 0.20.12 → 0.20.13
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-CJ2oWniR.mjs → client-OJc5DOIJ.mjs} +9 -0
- package/dist/{index-DYKDbtx6.d.mts → index-D4WBJ-rs.d.mts} +70 -31
- 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/commerce-flow.ts +19 -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-OJc5DOIJ.mjs";
|
|
2
2
|
//#region src/auth/index.ts
|
|
3
3
|
/** 소셜 로그인 실패 — 구매자가 취소했거나(`access_denied`) state가 맞지 않는다 */
|
|
4
4
|
var IdpCallbackError = class extends Error {
|
|
@@ -627,6 +627,15 @@ const orderStepSchema = z.object({
|
|
|
627
627
|
earlierAttachments: z.array(z.string()).optional().describe("앞 단계에서 올린 자료(수정 요청 뒤의 이전 시안 등)"),
|
|
628
628
|
inputs: flowStateSchema.shape.inputs,
|
|
629
629
|
actions: z.array(flowActionSchema).describe("이 단계에서 구매자가 할 행동(입력 칸 포함). `BUYER_ACTION`이면 하나 이상이다. 취소·반품 요청·구매확정은 `actions`(주문상품)에 있다"),
|
|
630
|
+
claimable: z.array(z.object({
|
|
631
|
+
action: z.enum([
|
|
632
|
+
"CANCEL",
|
|
633
|
+
"CANCEL_REQUEST",
|
|
634
|
+
"RETURN_REQUEST",
|
|
635
|
+
"EXCHANGE_REQUEST"
|
|
636
|
+
]).describe("CANCEL 바로 취소 · CANCEL_REQUEST 취소 요청(판매자 확인) · RETURN_REQUEST 반품 요청 · EXCHANGE_REQUEST 교환 요청"),
|
|
637
|
+
until: z.string().optional().describe("이 시각까지만 신청할 수 있다(ISO 8601). 없으면 이 단계 동안")
|
|
638
|
+
})).optional().default([]).describe("지금 신청할 수 있는 취소·반품·교환(#115) — 흐름 노드의 권한 표가 정한다. 화면은 이 목록으로 「지금 취소할 수 있습니다」 같은 안내를 그린다. 진행 중 클레임이 있으면 빈 목록"),
|
|
630
639
|
data: z.object({ delivery: z.object({
|
|
631
640
|
carrierName: z.string().nullable(),
|
|
632
641
|
trackingNumber: z.string().nullable(),
|
|
@@ -259,7 +259,6 @@ interface PageParams {
|
|
|
259
259
|
size?: number;
|
|
260
260
|
}
|
|
261
261
|
declare const orderItemStatusSchema: z.ZodEnum<{
|
|
262
|
-
CANCELED: "CANCELED";
|
|
263
262
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
264
263
|
PAID: "PAID";
|
|
265
264
|
CONFIRMED: "CONFIRMED";
|
|
@@ -267,10 +266,10 @@ declare const orderItemStatusSchema: z.ZodEnum<{
|
|
|
267
266
|
DELIVERING: "DELIVERING";
|
|
268
267
|
DELIVERED: "DELIVERED";
|
|
269
268
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
269
|
+
CANCELED: "CANCELED";
|
|
270
270
|
}>;
|
|
271
271
|
type OrderItemStatus = z.infer<typeof orderItemStatusSchema>;
|
|
272
272
|
declare const claimStatusSchema: z.ZodEnum<{
|
|
273
|
-
COMPLETED: "COMPLETED";
|
|
274
273
|
REQUESTED: "REQUESTED";
|
|
275
274
|
HELD: "HELD";
|
|
276
275
|
COLLECTING: "COLLECTING";
|
|
@@ -278,6 +277,7 @@ declare const claimStatusSchema: z.ZodEnum<{
|
|
|
278
277
|
REDELIVERING: "REDELIVERING";
|
|
279
278
|
APPROVED: "APPROVED";
|
|
280
279
|
REJECTED: "REJECTED";
|
|
280
|
+
COMPLETED: "COMPLETED";
|
|
281
281
|
WITHDRAWN: "WITHDRAWN";
|
|
282
282
|
}>;
|
|
283
283
|
type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
@@ -1347,7 +1347,6 @@ declare const myClaimSchema: z.ZodObject<{
|
|
|
1347
1347
|
CANCEL: "CANCEL";
|
|
1348
1348
|
}>;
|
|
1349
1349
|
status: z.ZodEnum<{
|
|
1350
|
-
COMPLETED: "COMPLETED";
|
|
1351
1350
|
REQUESTED: "REQUESTED";
|
|
1352
1351
|
HELD: "HELD";
|
|
1353
1352
|
COLLECTING: "COLLECTING";
|
|
@@ -1355,6 +1354,7 @@ declare const myClaimSchema: z.ZodObject<{
|
|
|
1355
1354
|
REDELIVERING: "REDELIVERING";
|
|
1356
1355
|
APPROVED: "APPROVED";
|
|
1357
1356
|
REJECTED: "REJECTED";
|
|
1357
|
+
COMPLETED: "COMPLETED";
|
|
1358
1358
|
WITHDRAWN: "WITHDRAWN";
|
|
1359
1359
|
}>;
|
|
1360
1360
|
orderItemId: z.ZodString;
|
|
@@ -1637,9 +1637,9 @@ declare const myCouponSchema: z.ZodObject<{
|
|
|
1637
1637
|
type MyCoupon = z.infer<typeof myCouponSchema>;
|
|
1638
1638
|
declare const myCouponListQuerySchema: z.ZodObject<{
|
|
1639
1639
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1640
|
-
expired: "expired";
|
|
1641
1640
|
available: "available";
|
|
1642
1641
|
used: "used";
|
|
1642
|
+
expired: "expired";
|
|
1643
1643
|
}>>;
|
|
1644
1644
|
}, z.core.$strip>;
|
|
1645
1645
|
/**
|
|
@@ -3088,7 +3088,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3088
3088
|
totalPrice: number;
|
|
3089
3089
|
couponDiscountAmount: number;
|
|
3090
3090
|
pointAllocation: number;
|
|
3091
|
-
status: "
|
|
3091
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
3092
3092
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
3093
3093
|
type: "SHIPPING";
|
|
3094
3094
|
requiresShipping: true;
|
|
@@ -3143,7 +3143,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3143
3143
|
label: string;
|
|
3144
3144
|
enteredAt: string;
|
|
3145
3145
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3146
|
-
coreStatus?: "
|
|
3146
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3147
3147
|
message?: string | undefined;
|
|
3148
3148
|
deadlineAt?: string | undefined;
|
|
3149
3149
|
attachments?: string[] | undefined;
|
|
@@ -3194,7 +3194,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3194
3194
|
label: string;
|
|
3195
3195
|
enteredAt: string;
|
|
3196
3196
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3197
|
-
coreStatus?: "
|
|
3197
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3198
3198
|
message?: string | undefined;
|
|
3199
3199
|
deadlineAt?: string | undefined;
|
|
3200
3200
|
attachments?: string[] | undefined;
|
|
@@ -3243,6 +3243,10 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3243
3243
|
}[] | undefined;
|
|
3244
3244
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3245
3245
|
}[];
|
|
3246
|
+
claimable: {
|
|
3247
|
+
action: "CANCEL" | "CANCEL_REQUEST" | "RETURN_REQUEST" | "EXCHANGE_REQUEST";
|
|
3248
|
+
until?: string | undefined;
|
|
3249
|
+
}[];
|
|
3246
3250
|
message?: string | undefined;
|
|
3247
3251
|
deadlineAt?: string | undefined;
|
|
3248
3252
|
attachments?: string[] | undefined;
|
|
@@ -3301,7 +3305,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3301
3305
|
receiptUrl: string | null;
|
|
3302
3306
|
};
|
|
3303
3307
|
testPayment: boolean;
|
|
3304
|
-
progressStatus?: "
|
|
3308
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3305
3309
|
}[];
|
|
3306
3310
|
}>;
|
|
3307
3311
|
get: (orderId: string) => Promise<{
|
|
@@ -3315,7 +3319,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3315
3319
|
totalPrice: number;
|
|
3316
3320
|
couponDiscountAmount: number;
|
|
3317
3321
|
pointAllocation: number;
|
|
3318
|
-
status: "
|
|
3322
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
3319
3323
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
3320
3324
|
type: "SHIPPING";
|
|
3321
3325
|
requiresShipping: true;
|
|
@@ -3370,7 +3374,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3370
3374
|
label: string;
|
|
3371
3375
|
enteredAt: string;
|
|
3372
3376
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3373
|
-
coreStatus?: "
|
|
3377
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3374
3378
|
message?: string | undefined;
|
|
3375
3379
|
deadlineAt?: string | undefined;
|
|
3376
3380
|
attachments?: string[] | undefined;
|
|
@@ -3421,7 +3425,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3421
3425
|
label: string;
|
|
3422
3426
|
enteredAt: string;
|
|
3423
3427
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3424
|
-
coreStatus?: "
|
|
3428
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3425
3429
|
message?: string | undefined;
|
|
3426
3430
|
deadlineAt?: string | undefined;
|
|
3427
3431
|
attachments?: string[] | undefined;
|
|
@@ -3470,6 +3474,10 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3470
3474
|
}[] | undefined;
|
|
3471
3475
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3472
3476
|
}[];
|
|
3477
|
+
claimable: {
|
|
3478
|
+
action: "CANCEL" | "CANCEL_REQUEST" | "RETURN_REQUEST" | "EXCHANGE_REQUEST";
|
|
3479
|
+
until?: string | undefined;
|
|
3480
|
+
}[];
|
|
3473
3481
|
message?: string | undefined;
|
|
3474
3482
|
deadlineAt?: string | undefined;
|
|
3475
3483
|
attachments?: string[] | undefined;
|
|
@@ -3528,7 +3536,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3528
3536
|
receiptUrl: string | null;
|
|
3529
3537
|
};
|
|
3530
3538
|
testPayment: boolean;
|
|
3531
|
-
progressStatus?: "
|
|
3539
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3532
3540
|
}>;
|
|
3533
3541
|
/**
|
|
3534
3542
|
* 비회원 주문 조회 — 주문 id(`ord_…`) 또는 숫자 주문번호(`orderNo`, 하이픈 허용, 이슈 #107) + 주문할 때 적은 연락처·주문 조회 비밀번호.
|
|
@@ -3553,7 +3561,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3553
3561
|
totalPrice: number;
|
|
3554
3562
|
couponDiscountAmount: number;
|
|
3555
3563
|
pointAllocation: number;
|
|
3556
|
-
status: "
|
|
3564
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
3557
3565
|
fulfillmentSnapshot: UnknownFulfillmentView | {
|
|
3558
3566
|
type: "SHIPPING";
|
|
3559
3567
|
requiresShipping: true;
|
|
@@ -3608,7 +3616,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3608
3616
|
label: string;
|
|
3609
3617
|
enteredAt: string;
|
|
3610
3618
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3611
|
-
coreStatus?: "
|
|
3619
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3612
3620
|
message?: string | undefined;
|
|
3613
3621
|
deadlineAt?: string | undefined;
|
|
3614
3622
|
attachments?: string[] | undefined;
|
|
@@ -3659,7 +3667,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3659
3667
|
label: string;
|
|
3660
3668
|
enteredAt: string;
|
|
3661
3669
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3662
|
-
coreStatus?: "
|
|
3670
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3663
3671
|
message?: string | undefined;
|
|
3664
3672
|
deadlineAt?: string | undefined;
|
|
3665
3673
|
attachments?: string[] | undefined;
|
|
@@ -3708,6 +3716,10 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3708
3716
|
}[] | undefined;
|
|
3709
3717
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
3710
3718
|
}[];
|
|
3719
|
+
claimable: {
|
|
3720
|
+
action: "CANCEL" | "CANCEL_REQUEST" | "RETURN_REQUEST" | "EXCHANGE_REQUEST";
|
|
3721
|
+
until?: string | undefined;
|
|
3722
|
+
}[];
|
|
3711
3723
|
message?: string | undefined;
|
|
3712
3724
|
deadlineAt?: string | undefined;
|
|
3713
3725
|
attachments?: string[] | undefined;
|
|
@@ -3766,7 +3778,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3766
3778
|
receiptUrl: string | null;
|
|
3767
3779
|
};
|
|
3768
3780
|
testPayment: boolean;
|
|
3769
|
-
progressStatus?: "
|
|
3781
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3770
3782
|
}>;
|
|
3771
3783
|
getDelivery: (orderItemId: string) => Promise<{
|
|
3772
3784
|
carrierName: string;
|
|
@@ -3794,7 +3806,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3794
3806
|
label: string;
|
|
3795
3807
|
enteredAt: string;
|
|
3796
3808
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3797
|
-
coreStatus?: "
|
|
3809
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3798
3810
|
message?: string | undefined;
|
|
3799
3811
|
deadlineAt?: string | undefined;
|
|
3800
3812
|
attachments?: string[] | undefined;
|
|
@@ -3858,7 +3870,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3858
3870
|
label: string;
|
|
3859
3871
|
enteredAt: string;
|
|
3860
3872
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
3861
|
-
coreStatus?: "
|
|
3873
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
3862
3874
|
message?: string | undefined;
|
|
3863
3875
|
deadlineAt?: string | undefined;
|
|
3864
3876
|
attachments?: string[] | undefined;
|
|
@@ -3919,7 +3931,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3919
3931
|
key: string;
|
|
3920
3932
|
results: {
|
|
3921
3933
|
orderItemId: string;
|
|
3922
|
-
status: "COMPLETED" | "
|
|
3934
|
+
status: "COMPLETED" | "SKIPPED" | "FAILED";
|
|
3923
3935
|
reason?: string | undefined;
|
|
3924
3936
|
message?: string | undefined;
|
|
3925
3937
|
}[];
|
|
@@ -3934,7 +3946,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3934
3946
|
key: string;
|
|
3935
3947
|
results: {
|
|
3936
3948
|
orderItemId: string;
|
|
3937
|
-
status: "COMPLETED" | "
|
|
3949
|
+
status: "COMPLETED" | "SKIPPED" | "FAILED";
|
|
3938
3950
|
reason?: string | undefined;
|
|
3939
3951
|
message?: string | undefined;
|
|
3940
3952
|
}[];
|
|
@@ -3975,7 +3987,7 @@ declare function createStorefrontClient(options: StorefrontClientOptions): {
|
|
|
3975
3987
|
claimId: string;
|
|
3976
3988
|
claimNo: string | null;
|
|
3977
3989
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
3978
|
-
status: "
|
|
3990
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
3979
3991
|
orderItemId: string;
|
|
3980
3992
|
productName: string;
|
|
3981
3993
|
quantity: number;
|
|
@@ -4491,7 +4503,6 @@ declare const flowStateSchema: z.ZodObject<{
|
|
|
4491
4503
|
key: z.ZodString;
|
|
4492
4504
|
label: z.ZodString;
|
|
4493
4505
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
4494
|
-
CANCELED: "CANCELED";
|
|
4495
4506
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4496
4507
|
PAID: "PAID";
|
|
4497
4508
|
CONFIRMED: "CONFIRMED";
|
|
@@ -4499,6 +4510,7 @@ declare const flowStateSchema: z.ZodObject<{
|
|
|
4499
4510
|
DELIVERING: "DELIVERING";
|
|
4500
4511
|
DELIVERED: "DELIVERED";
|
|
4501
4512
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4513
|
+
CANCELED: "CANCELED";
|
|
4502
4514
|
}>>;
|
|
4503
4515
|
message: z.ZodOptional<z.ZodString>;
|
|
4504
4516
|
enteredAt: z.ZodString;
|
|
@@ -4573,6 +4585,15 @@ declare const orderStepSchema: z.ZodObject<{
|
|
|
4573
4585
|
}, z.core.$strip>>>;
|
|
4574
4586
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4575
4587
|
}, z.core.$strip>>;
|
|
4588
|
+
claimable: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4589
|
+
action: z.ZodEnum<{
|
|
4590
|
+
CANCEL: "CANCEL";
|
|
4591
|
+
CANCEL_REQUEST: "CANCEL_REQUEST";
|
|
4592
|
+
RETURN_REQUEST: "RETURN_REQUEST";
|
|
4593
|
+
EXCHANGE_REQUEST: "EXCHANGE_REQUEST";
|
|
4594
|
+
}>;
|
|
4595
|
+
until: z.ZodOptional<z.ZodString>;
|
|
4596
|
+
}, z.core.$strip>>>>;
|
|
4576
4597
|
data: z.ZodOptional<z.ZodObject<{
|
|
4577
4598
|
delivery: z.ZodOptional<z.ZodObject<{
|
|
4578
4599
|
carrierName: z.ZodNullable<z.ZodString>;
|
|
@@ -4600,7 +4621,6 @@ declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4600
4621
|
key: z.ZodString;
|
|
4601
4622
|
label: z.ZodString;
|
|
4602
4623
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
4603
|
-
CANCELED: "CANCELED";
|
|
4604
4624
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4605
4625
|
PAID: "PAID";
|
|
4606
4626
|
CONFIRMED: "CONFIRMED";
|
|
@@ -4608,6 +4628,7 @@ declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4608
4628
|
DELIVERING: "DELIVERING";
|
|
4609
4629
|
DELIVERED: "DELIVERED";
|
|
4610
4630
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4631
|
+
CANCELED: "CANCELED";
|
|
4611
4632
|
}>>;
|
|
4612
4633
|
message: z.ZodOptional<z.ZodString>;
|
|
4613
4634
|
enteredAt: z.ZodString;
|
|
@@ -4678,8 +4699,8 @@ declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
4678
4699
|
orderItemId: z.ZodString;
|
|
4679
4700
|
status: z.ZodEnum<{
|
|
4680
4701
|
COMPLETED: "COMPLETED";
|
|
4681
|
-
FAILED: "FAILED";
|
|
4682
4702
|
SKIPPED: "SKIPPED";
|
|
4703
|
+
FAILED: "FAILED";
|
|
4683
4704
|
}>;
|
|
4684
4705
|
reason: z.ZodOptional<z.ZodString>;
|
|
4685
4706
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -4712,7 +4733,6 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4712
4733
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4713
4734
|
pointAllocation: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4714
4735
|
status: z.ZodEnum<{
|
|
4715
|
-
CANCELED: "CANCELED";
|
|
4716
4736
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4717
4737
|
PAID: "PAID";
|
|
4718
4738
|
CONFIRMED: "CONFIRMED";
|
|
@@ -4720,6 +4740,7 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4720
4740
|
DELIVERING: "DELIVERING";
|
|
4721
4741
|
DELIVERED: "DELIVERED";
|
|
4722
4742
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4743
|
+
CANCELED: "CANCELED";
|
|
4723
4744
|
}>;
|
|
4724
4745
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4725
4746
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -4763,7 +4784,6 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4763
4784
|
key: z.ZodString;
|
|
4764
4785
|
label: z.ZodString;
|
|
4765
4786
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
4766
|
-
CANCELED: "CANCELED";
|
|
4767
4787
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4768
4788
|
PAID: "PAID";
|
|
4769
4789
|
CONFIRMED: "CONFIRMED";
|
|
@@ -4771,6 +4791,7 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4771
4791
|
DELIVERING: "DELIVERING";
|
|
4772
4792
|
DELIVERED: "DELIVERED";
|
|
4773
4793
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4794
|
+
CANCELED: "CANCELED";
|
|
4774
4795
|
}>>;
|
|
4775
4796
|
message: z.ZodOptional<z.ZodString>;
|
|
4776
4797
|
enteredAt: z.ZodString;
|
|
@@ -4827,7 +4848,6 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4827
4848
|
key: z.ZodString;
|
|
4828
4849
|
label: z.ZodString;
|
|
4829
4850
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
4830
|
-
CANCELED: "CANCELED";
|
|
4831
4851
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4832
4852
|
PAID: "PAID";
|
|
4833
4853
|
CONFIRMED: "CONFIRMED";
|
|
@@ -4835,6 +4855,7 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4835
4855
|
DELIVERING: "DELIVERING";
|
|
4836
4856
|
DELIVERED: "DELIVERED";
|
|
4837
4857
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4858
|
+
CANCELED: "CANCELED";
|
|
4838
4859
|
}>>;
|
|
4839
4860
|
message: z.ZodOptional<z.ZodString>;
|
|
4840
4861
|
enteredAt: z.ZodString;
|
|
@@ -4903,6 +4924,15 @@ declare const myOrderItemSchema: z.ZodObject<{
|
|
|
4903
4924
|
}, z.core.$strip>>>;
|
|
4904
4925
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
4905
4926
|
}, z.core.$strip>>;
|
|
4927
|
+
claimable: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4928
|
+
action: z.ZodEnum<{
|
|
4929
|
+
CANCEL: "CANCEL";
|
|
4930
|
+
CANCEL_REQUEST: "CANCEL_REQUEST";
|
|
4931
|
+
RETURN_REQUEST: "RETURN_REQUEST";
|
|
4932
|
+
EXCHANGE_REQUEST: "EXCHANGE_REQUEST";
|
|
4933
|
+
}>;
|
|
4934
|
+
until: z.ZodOptional<z.ZodString>;
|
|
4935
|
+
}, z.core.$strip>>>>;
|
|
4906
4936
|
data: z.ZodOptional<z.ZodObject<{
|
|
4907
4937
|
delivery: z.ZodOptional<z.ZodObject<{
|
|
4908
4938
|
carrierName: z.ZodNullable<z.ZodString>;
|
|
@@ -4957,7 +4987,6 @@ type OrderShippingAddress = z.infer<typeof orderShippingAddressSchema>;
|
|
|
4957
4987
|
declare const myOrderSchema: z.ZodObject<{
|
|
4958
4988
|
orderId: z.ZodString;
|
|
4959
4989
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4960
|
-
CANCELED: "CANCELED";
|
|
4961
4990
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4962
4991
|
PAID: "PAID";
|
|
4963
4992
|
CONFIRMED: "CONFIRMED";
|
|
@@ -4965,6 +4994,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
4965
4994
|
DELIVERING: "DELIVERING";
|
|
4966
4995
|
DELIVERED: "DELIVERED";
|
|
4967
4996
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4997
|
+
CANCELED: "CANCELED";
|
|
4968
4998
|
}>>;
|
|
4969
4999
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4970
5000
|
orderedAt: z.ZodString;
|
|
@@ -4976,7 +5006,6 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
4976
5006
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4977
5007
|
pointAllocation: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4978
5008
|
status: z.ZodEnum<{
|
|
4979
|
-
CANCELED: "CANCELED";
|
|
4980
5009
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4981
5010
|
PAID: "PAID";
|
|
4982
5011
|
CONFIRMED: "CONFIRMED";
|
|
@@ -4984,6 +5013,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
4984
5013
|
DELIVERING: "DELIVERING";
|
|
4985
5014
|
DELIVERED: "DELIVERED";
|
|
4986
5015
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
5016
|
+
CANCELED: "CANCELED";
|
|
4987
5017
|
}>;
|
|
4988
5018
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4989
5019
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -5027,7 +5057,6 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5027
5057
|
key: z.ZodString;
|
|
5028
5058
|
label: z.ZodString;
|
|
5029
5059
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
5030
|
-
CANCELED: "CANCELED";
|
|
5031
5060
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5032
5061
|
PAID: "PAID";
|
|
5033
5062
|
CONFIRMED: "CONFIRMED";
|
|
@@ -5035,6 +5064,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5035
5064
|
DELIVERING: "DELIVERING";
|
|
5036
5065
|
DELIVERED: "DELIVERED";
|
|
5037
5066
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
5067
|
+
CANCELED: "CANCELED";
|
|
5038
5068
|
}>>;
|
|
5039
5069
|
message: z.ZodOptional<z.ZodString>;
|
|
5040
5070
|
enteredAt: z.ZodString;
|
|
@@ -5091,7 +5121,6 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5091
5121
|
key: z.ZodString;
|
|
5092
5122
|
label: z.ZodString;
|
|
5093
5123
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
5094
|
-
CANCELED: "CANCELED";
|
|
5095
5124
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
5096
5125
|
PAID: "PAID";
|
|
5097
5126
|
CONFIRMED: "CONFIRMED";
|
|
@@ -5099,6 +5128,7 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5099
5128
|
DELIVERING: "DELIVERING";
|
|
5100
5129
|
DELIVERED: "DELIVERED";
|
|
5101
5130
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
5131
|
+
CANCELED: "CANCELED";
|
|
5102
5132
|
}>>;
|
|
5103
5133
|
message: z.ZodOptional<z.ZodString>;
|
|
5104
5134
|
enteredAt: z.ZodString;
|
|
@@ -5167,6 +5197,15 @@ declare const myOrderSchema: z.ZodObject<{
|
|
|
5167
5197
|
}, z.core.$strip>>>;
|
|
5168
5198
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
5169
5199
|
}, z.core.$strip>>;
|
|
5200
|
+
claimable: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5201
|
+
action: z.ZodEnum<{
|
|
5202
|
+
CANCEL: "CANCEL";
|
|
5203
|
+
CANCEL_REQUEST: "CANCEL_REQUEST";
|
|
5204
|
+
RETURN_REQUEST: "RETURN_REQUEST";
|
|
5205
|
+
EXCHANGE_REQUEST: "EXCHANGE_REQUEST";
|
|
5206
|
+
}>;
|
|
5207
|
+
until: z.ZodOptional<z.ZodString>;
|
|
5208
|
+
}, z.core.$strip>>>>;
|
|
5170
5209
|
data: z.ZodOptional<z.ZodObject<{
|
|
5171
5210
|
delivery: z.ZodOptional<z.ZodObject<{
|
|
5172
5211
|
carrierName: z.ZodNullable<z.ZodString>;
|
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-D4WBJ-rs.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-OJc5DOIJ.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-D4WBJ-rs.mjs";
|
|
2
2
|
//#region src/payments/index.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* 스토어프론트 결제 — 브라우저 전용(`@sayren/storefront-sdk/payments`).
|
package/package.json
CHANGED
|
@@ -134,6 +134,25 @@ export const orderStepSchema = z.object({
|
|
|
134
134
|
.describe(
|
|
135
135
|
"이 단계에서 구매자가 할 행동(입력 칸 포함). `BUYER_ACTION`이면 하나 이상이다. 취소·반품 요청·구매확정은 `actions`(주문상품)에 있다",
|
|
136
136
|
),
|
|
137
|
+
claimable: z
|
|
138
|
+
.array(
|
|
139
|
+
z.object({
|
|
140
|
+
action: z
|
|
141
|
+
.enum(["CANCEL", "CANCEL_REQUEST", "RETURN_REQUEST", "EXCHANGE_REQUEST"])
|
|
142
|
+
.describe(
|
|
143
|
+
"CANCEL 바로 취소 · CANCEL_REQUEST 취소 요청(판매자 확인) · RETURN_REQUEST 반품 요청 · EXCHANGE_REQUEST 교환 요청",
|
|
144
|
+
),
|
|
145
|
+
until: z
|
|
146
|
+
.string()
|
|
147
|
+
.optional()
|
|
148
|
+
.describe("이 시각까지만 신청할 수 있다(ISO 8601). 없으면 이 단계 동안"),
|
|
149
|
+
}),
|
|
150
|
+
)
|
|
151
|
+
.optional()
|
|
152
|
+
.default([])
|
|
153
|
+
.describe(
|
|
154
|
+
"지금 신청할 수 있는 취소·반품·교환(#115) — 흐름 노드의 권한 표가 정한다. 화면은 이 목록으로 「지금 취소할 수 있습니다」 같은 안내를 그린다. 진행 중 클레임이 있으면 빈 목록",
|
|
155
|
+
),
|
|
137
156
|
data: z
|
|
138
157
|
.object({
|
|
139
158
|
delivery: z
|