@sayren/store-sdk 0.51.0 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +703 -333
- package/dist/index.mjs +257 -68
- package/package.json +1 -1
- package/src/schemas/coupon-selection.ts +8 -3
- package/src/schemas/coupon.ts +37 -1
- package/src/schemas/plans.ts +6 -5
- package/src/schemas/points.ts +4 -2
- package/src/schemas/promotion.ts +286 -49
- package/src/schemas/subscription.ts +4 -26
package/dist/index.d.mts
CHANGED
|
@@ -219,10 +219,10 @@ export declare const approvalStatusSchema: z$1.ZodEnum<{
|
|
|
219
219
|
FAILED: "FAILED";
|
|
220
220
|
EXPIRED: "EXPIRED";
|
|
221
221
|
UNKNOWN: "UNKNOWN";
|
|
222
|
+
REJECTED: "REJECTED";
|
|
222
223
|
PENDING: "PENDING";
|
|
223
224
|
SUCCEEDED: "SUCCEEDED";
|
|
224
225
|
EXECUTING: "EXECUTING";
|
|
225
|
-
REJECTED: "REJECTED";
|
|
226
226
|
}>;
|
|
227
227
|
export type ApprovalStatus = z$1.infer<typeof approvalStatusSchema>;
|
|
228
228
|
export declare const approvalRequestSchema: z$1.ZodObject<{
|
|
@@ -231,10 +231,10 @@ export declare const approvalRequestSchema: z$1.ZodObject<{
|
|
|
231
231
|
FAILED: "FAILED";
|
|
232
232
|
EXPIRED: "EXPIRED";
|
|
233
233
|
UNKNOWN: "UNKNOWN";
|
|
234
|
+
REJECTED: "REJECTED";
|
|
234
235
|
PENDING: "PENDING";
|
|
235
236
|
SUCCEEDED: "SUCCEEDED";
|
|
236
237
|
EXECUTING: "EXECUTING";
|
|
237
|
-
REJECTED: "REJECTED";
|
|
238
238
|
}>;
|
|
239
239
|
operationId: z$1.ZodString;
|
|
240
240
|
operationName: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -295,10 +295,10 @@ export declare const approvalListQuerySchema: z$1.ZodObject<{
|
|
|
295
295
|
FAILED: "FAILED";
|
|
296
296
|
EXPIRED: "EXPIRED";
|
|
297
297
|
UNKNOWN: "UNKNOWN";
|
|
298
|
+
REJECTED: "REJECTED";
|
|
298
299
|
PENDING: "PENDING";
|
|
299
300
|
SUCCEEDED: "SUCCEEDED";
|
|
300
301
|
EXECUTING: "EXECUTING";
|
|
301
|
-
REJECTED: "REJECTED";
|
|
302
302
|
}>>>>;
|
|
303
303
|
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
304
304
|
limit: z$1.ZodOptional<z$1.ZodCoercedNumber<unknown>>;
|
|
@@ -314,10 +314,10 @@ export declare const approvalPageSchema: z$1.ZodObject<{
|
|
|
314
314
|
FAILED: "FAILED";
|
|
315
315
|
EXPIRED: "EXPIRED";
|
|
316
316
|
UNKNOWN: "UNKNOWN";
|
|
317
|
+
REJECTED: "REJECTED";
|
|
317
318
|
PENDING: "PENDING";
|
|
318
319
|
SUCCEEDED: "SUCCEEDED";
|
|
319
320
|
EXECUTING: "EXECUTING";
|
|
320
|
-
REJECTED: "REJECTED";
|
|
321
321
|
}>;
|
|
322
322
|
operationId: z$1.ZodString;
|
|
323
323
|
operationName: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -2664,8 +2664,8 @@ export declare const analyticsSearchSchema: z$1.ZodObject<{
|
|
|
2664
2664
|
}, z$1.core.$strip>;
|
|
2665
2665
|
export type AnalyticsSearch = z$1.infer<typeof analyticsSearchSchema>;
|
|
2666
2666
|
export declare const analyticsCheckoutOutcomeSchema: z$1.ZodEnum<{
|
|
2667
|
-
OTHER: "OTHER";
|
|
2668
2667
|
COMPLETED: "COMPLETED";
|
|
2668
|
+
OTHER: "OTHER";
|
|
2669
2669
|
NOT_OPENED: "NOT_OPENED";
|
|
2670
2670
|
USER_CANCELED: "USER_CANCELED";
|
|
2671
2671
|
DECLINED: "DECLINED";
|
|
@@ -2677,8 +2677,8 @@ export declare const analyticsCheckoutSchema: z$1.ZodObject<{
|
|
|
2677
2677
|
sessions: z$1.ZodNumber;
|
|
2678
2678
|
outcomes: z$1.ZodArray<z$1.ZodObject<{
|
|
2679
2679
|
outcome: z$1.ZodEnum<{
|
|
2680
|
-
OTHER: "OTHER";
|
|
2681
2680
|
COMPLETED: "COMPLETED";
|
|
2681
|
+
OTHER: "OTHER";
|
|
2682
2682
|
NOT_OPENED: "NOT_OPENED";
|
|
2683
2683
|
USER_CANCELED: "USER_CANCELED";
|
|
2684
2684
|
DECLINED: "DECLINED";
|
|
@@ -2840,8 +2840,8 @@ export type ApiLogSummary = z$1.infer<typeof apiLogSummarySchema>;
|
|
|
2840
2840
|
* 이름은 이행 방식이다 — `SHIPPING`이 택배 발송이듯 `MANUAL`은 셀러가 직접 제공한다는 뜻이다.
|
|
2841
2841
|
*/
|
|
2842
2842
|
export declare const fulfillmentTypeSchema: z$1.ZodEnum<{
|
|
2843
|
-
SHIPPING: "SHIPPING";
|
|
2844
2843
|
MANUAL: "MANUAL";
|
|
2844
|
+
SHIPPING: "SHIPPING";
|
|
2845
2845
|
}>;
|
|
2846
2846
|
export type FulfillmentType = z$1.infer<typeof fulfillmentTypeSchema>;
|
|
2847
2847
|
/**
|
|
@@ -2920,8 +2920,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
2920
2920
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
2921
2921
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
2922
2922
|
export declare const deliveryTypeSchema: z$1.ZodEnum<{
|
|
2923
|
-
FREE: "FREE";
|
|
2924
2923
|
PAID: "PAID";
|
|
2924
|
+
FREE: "FREE";
|
|
2925
2925
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2926
2926
|
}>;
|
|
2927
2927
|
export type DeliveryType = z$1.infer<typeof deliveryTypeSchema>;
|
|
@@ -2932,8 +2932,8 @@ export declare const productFulfillmentCreateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
2932
2932
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
2933
2933
|
shipping: z$1.ZodOptional<z$1.ZodObject<{
|
|
2934
2934
|
deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
2935
|
-
FREE: "FREE";
|
|
2936
2935
|
PAID: "PAID";
|
|
2936
|
+
FREE: "FREE";
|
|
2937
2937
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2938
2938
|
}>>;
|
|
2939
2939
|
deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -2989,8 +2989,8 @@ export declare const productFulfillmentUpdateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
2989
2989
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
2990
2990
|
shipping: z$1.ZodObject<{
|
|
2991
2991
|
deliveryType: z$1.ZodEnum<{
|
|
2992
|
-
FREE: "FREE";
|
|
2993
2992
|
PAID: "PAID";
|
|
2993
|
+
FREE: "FREE";
|
|
2994
2994
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2995
2995
|
}>;
|
|
2996
2996
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3044,8 +3044,8 @@ export declare const productFulfillmentSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
3044
3044
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3045
3045
|
shipping: z$1.ZodObject<{
|
|
3046
3046
|
deliveryType: z$1.ZodEnum<{
|
|
3047
|
-
FREE: "FREE";
|
|
3048
3047
|
PAID: "PAID";
|
|
3048
|
+
FREE: "FREE";
|
|
3049
3049
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3050
3050
|
}>;
|
|
3051
3051
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3090,8 +3090,8 @@ export declare const productFulfillmentResponseSchema: z$1.ZodUnion<readonly [z$
|
|
|
3090
3090
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3091
3091
|
shipping: z$1.ZodObject<{
|
|
3092
3092
|
deliveryType: z$1.ZodEnum<{
|
|
3093
|
-
FREE: "FREE";
|
|
3094
3093
|
PAID: "PAID";
|
|
3094
|
+
FREE: "FREE";
|
|
3095
3095
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3096
3096
|
}>;
|
|
3097
3097
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3216,14 +3216,14 @@ export declare const orderWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3216
3216
|
orderId: z$1.ZodString;
|
|
3217
3217
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3218
3218
|
status: z$1.ZodEnum<{
|
|
3219
|
-
PAID: "PAID";
|
|
3220
|
-
CANCELED: "CANCELED";
|
|
3221
3219
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3220
|
+
PAID: "PAID";
|
|
3222
3221
|
CONFIRMED: "CONFIRMED";
|
|
3223
3222
|
DISPATCHED: "DISPATCHED";
|
|
3224
3223
|
DELIVERING: "DELIVERING";
|
|
3225
3224
|
DELIVERED: "DELIVERED";
|
|
3226
3225
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3226
|
+
CANCELED: "CANCELED";
|
|
3227
3227
|
}>;
|
|
3228
3228
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3229
3229
|
testPayment: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
@@ -3286,14 +3286,14 @@ export declare const orderFulfilledWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3286
3286
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3287
3287
|
orderItemId: z$1.ZodString;
|
|
3288
3288
|
status: z$1.ZodEnum<{
|
|
3289
|
-
PAID: "PAID";
|
|
3290
|
-
CANCELED: "CANCELED";
|
|
3291
3289
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3290
|
+
PAID: "PAID";
|
|
3292
3291
|
CONFIRMED: "CONFIRMED";
|
|
3293
3292
|
DISPATCHED: "DISPATCHED";
|
|
3294
3293
|
DELIVERING: "DELIVERING";
|
|
3295
3294
|
DELIVERED: "DELIVERED";
|
|
3296
3295
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3296
|
+
CANCELED: "CANCELED";
|
|
3297
3297
|
}>;
|
|
3298
3298
|
fulfillmentSnapshot: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3299
3299
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
@@ -3340,24 +3340,24 @@ export declare const orderCanceledWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3340
3340
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3341
3341
|
orderItemId: z$1.ZodString;
|
|
3342
3342
|
status: z$1.ZodEnum<{
|
|
3343
|
-
PAID: "PAID";
|
|
3344
|
-
CANCELED: "CANCELED";
|
|
3345
3343
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3344
|
+
PAID: "PAID";
|
|
3346
3345
|
CONFIRMED: "CONFIRMED";
|
|
3347
3346
|
DISPATCHED: "DISPATCHED";
|
|
3348
3347
|
DELIVERING: "DELIVERING";
|
|
3349
3348
|
DELIVERED: "DELIVERED";
|
|
3350
3349
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3350
|
+
CANCELED: "CANCELED";
|
|
3351
3351
|
}>;
|
|
3352
3352
|
itemStatus: z$1.ZodEnum<{
|
|
3353
|
-
PAID: "PAID";
|
|
3354
|
-
CANCELED: "CANCELED";
|
|
3355
3353
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3354
|
+
PAID: "PAID";
|
|
3356
3355
|
CONFIRMED: "CONFIRMED";
|
|
3357
3356
|
DISPATCHED: "DISPATCHED";
|
|
3358
3357
|
DELIVERING: "DELIVERING";
|
|
3359
3358
|
DELIVERED: "DELIVERED";
|
|
3360
3359
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3360
|
+
CANCELED: "CANCELED";
|
|
3361
3361
|
}>;
|
|
3362
3362
|
reason: z$1.ZodString;
|
|
3363
3363
|
quantity: z$1.ZodNumber;
|
|
@@ -3383,14 +3383,14 @@ export declare const claimWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3383
3383
|
CANCEL: "CANCEL";
|
|
3384
3384
|
}>;
|
|
3385
3385
|
status: z$1.ZodEnum<{
|
|
3386
|
-
REJECTED: "REJECTED";
|
|
3387
|
-
COMPLETED: "COMPLETED";
|
|
3388
3386
|
REQUESTED: "REQUESTED";
|
|
3389
3387
|
HELD: "HELD";
|
|
3390
3388
|
COLLECTING: "COLLECTING";
|
|
3391
3389
|
COLLECTED: "COLLECTED";
|
|
3392
3390
|
REDELIVERING: "REDELIVERING";
|
|
3393
3391
|
APPROVED: "APPROVED";
|
|
3392
|
+
REJECTED: "REJECTED";
|
|
3393
|
+
COMPLETED: "COMPLETED";
|
|
3394
3394
|
WITHDRAWN: "WITHDRAWN";
|
|
3395
3395
|
}>;
|
|
3396
3396
|
quantity: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -3458,14 +3458,14 @@ export declare const orderWebhookEventSchema: z$1.ZodObject<{
|
|
|
3458
3458
|
orderId: z$1.ZodString;
|
|
3459
3459
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3460
3460
|
status: z$1.ZodEnum<{
|
|
3461
|
-
PAID: "PAID";
|
|
3462
|
-
CANCELED: "CANCELED";
|
|
3463
3461
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3462
|
+
PAID: "PAID";
|
|
3464
3463
|
CONFIRMED: "CONFIRMED";
|
|
3465
3464
|
DISPATCHED: "DISPATCHED";
|
|
3466
3465
|
DELIVERING: "DELIVERING";
|
|
3467
3466
|
DELIVERED: "DELIVERED";
|
|
3468
3467
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3468
|
+
CANCELED: "CANCELED";
|
|
3469
3469
|
}>;
|
|
3470
3470
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3471
3471
|
testPayment: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
@@ -3530,14 +3530,14 @@ export declare const orderFulfilledWebhookEventSchema: z$1.ZodObject<{
|
|
|
3530
3530
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3531
3531
|
orderItemId: z$1.ZodString;
|
|
3532
3532
|
status: z$1.ZodEnum<{
|
|
3533
|
-
PAID: "PAID";
|
|
3534
|
-
CANCELED: "CANCELED";
|
|
3535
3533
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3534
|
+
PAID: "PAID";
|
|
3536
3535
|
CONFIRMED: "CONFIRMED";
|
|
3537
3536
|
DISPATCHED: "DISPATCHED";
|
|
3538
3537
|
DELIVERING: "DELIVERING";
|
|
3539
3538
|
DELIVERED: "DELIVERED";
|
|
3540
3539
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3540
|
+
CANCELED: "CANCELED";
|
|
3541
3541
|
}>;
|
|
3542
3542
|
fulfillmentSnapshot: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3543
3543
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
@@ -3585,24 +3585,24 @@ export declare const orderCanceledWebhookEventSchema: z$1.ZodObject<{
|
|
|
3585
3585
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3586
3586
|
orderItemId: z$1.ZodString;
|
|
3587
3587
|
status: z$1.ZodEnum<{
|
|
3588
|
-
PAID: "PAID";
|
|
3589
|
-
CANCELED: "CANCELED";
|
|
3590
3588
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3589
|
+
PAID: "PAID";
|
|
3591
3590
|
CONFIRMED: "CONFIRMED";
|
|
3592
3591
|
DISPATCHED: "DISPATCHED";
|
|
3593
3592
|
DELIVERING: "DELIVERING";
|
|
3594
3593
|
DELIVERED: "DELIVERED";
|
|
3595
3594
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3595
|
+
CANCELED: "CANCELED";
|
|
3596
3596
|
}>;
|
|
3597
3597
|
itemStatus: z$1.ZodEnum<{
|
|
3598
|
-
PAID: "PAID";
|
|
3599
|
-
CANCELED: "CANCELED";
|
|
3600
3598
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3599
|
+
PAID: "PAID";
|
|
3601
3600
|
CONFIRMED: "CONFIRMED";
|
|
3602
3601
|
DISPATCHED: "DISPATCHED";
|
|
3603
3602
|
DELIVERING: "DELIVERING";
|
|
3604
3603
|
DELIVERED: "DELIVERED";
|
|
3605
3604
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3605
|
+
CANCELED: "CANCELED";
|
|
3606
3606
|
}>;
|
|
3607
3607
|
reason: z$1.ZodString;
|
|
3608
3608
|
quantity: z$1.ZodNumber;
|
|
@@ -3639,14 +3639,14 @@ export declare const claimWebhookEventSchema: z$1.ZodObject<{
|
|
|
3639
3639
|
CANCEL: "CANCEL";
|
|
3640
3640
|
}>;
|
|
3641
3641
|
status: z$1.ZodEnum<{
|
|
3642
|
-
REJECTED: "REJECTED";
|
|
3643
|
-
COMPLETED: "COMPLETED";
|
|
3644
3642
|
REQUESTED: "REQUESTED";
|
|
3645
3643
|
HELD: "HELD";
|
|
3646
3644
|
COLLECTING: "COLLECTING";
|
|
3647
3645
|
COLLECTED: "COLLECTED";
|
|
3648
3646
|
REDELIVERING: "REDELIVERING";
|
|
3649
3647
|
APPROVED: "APPROVED";
|
|
3648
|
+
REJECTED: "REJECTED";
|
|
3649
|
+
COMPLETED: "COMPLETED";
|
|
3650
3650
|
WITHDRAWN: "WITHDRAWN";
|
|
3651
3651
|
}>;
|
|
3652
3652
|
quantity: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -3860,14 +3860,14 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
3860
3860
|
orderId: z$1.ZodString;
|
|
3861
3861
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3862
3862
|
status: z$1.ZodEnum<{
|
|
3863
|
-
PAID: "PAID";
|
|
3864
|
-
CANCELED: "CANCELED";
|
|
3865
3863
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3864
|
+
PAID: "PAID";
|
|
3866
3865
|
CONFIRMED: "CONFIRMED";
|
|
3867
3866
|
DISPATCHED: "DISPATCHED";
|
|
3868
3867
|
DELIVERING: "DELIVERING";
|
|
3869
3868
|
DELIVERED: "DELIVERED";
|
|
3870
3869
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3870
|
+
CANCELED: "CANCELED";
|
|
3871
3871
|
}>;
|
|
3872
3872
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3873
3873
|
testPayment: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
@@ -3931,14 +3931,14 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
3931
3931
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3932
3932
|
orderItemId: z$1.ZodString;
|
|
3933
3933
|
status: z$1.ZodEnum<{
|
|
3934
|
-
PAID: "PAID";
|
|
3935
|
-
CANCELED: "CANCELED";
|
|
3936
3934
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3935
|
+
PAID: "PAID";
|
|
3937
3936
|
CONFIRMED: "CONFIRMED";
|
|
3938
3937
|
DISPATCHED: "DISPATCHED";
|
|
3939
3938
|
DELIVERING: "DELIVERING";
|
|
3940
3939
|
DELIVERED: "DELIVERED";
|
|
3941
3940
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3941
|
+
CANCELED: "CANCELED";
|
|
3942
3942
|
}>;
|
|
3943
3943
|
fulfillmentSnapshot: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3944
3944
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
@@ -3985,24 +3985,24 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
3985
3985
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3986
3986
|
orderItemId: z$1.ZodString;
|
|
3987
3987
|
status: z$1.ZodEnum<{
|
|
3988
|
-
PAID: "PAID";
|
|
3989
|
-
CANCELED: "CANCELED";
|
|
3990
3988
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3989
|
+
PAID: "PAID";
|
|
3991
3990
|
CONFIRMED: "CONFIRMED";
|
|
3992
3991
|
DISPATCHED: "DISPATCHED";
|
|
3993
3992
|
DELIVERING: "DELIVERING";
|
|
3994
3993
|
DELIVERED: "DELIVERED";
|
|
3995
3994
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3995
|
+
CANCELED: "CANCELED";
|
|
3996
3996
|
}>;
|
|
3997
3997
|
itemStatus: z$1.ZodEnum<{
|
|
3998
|
-
PAID: "PAID";
|
|
3999
|
-
CANCELED: "CANCELED";
|
|
4000
3998
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3999
|
+
PAID: "PAID";
|
|
4001
4000
|
CONFIRMED: "CONFIRMED";
|
|
4002
4001
|
DISPATCHED: "DISPATCHED";
|
|
4003
4002
|
DELIVERING: "DELIVERING";
|
|
4004
4003
|
DELIVERED: "DELIVERED";
|
|
4005
4004
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4005
|
+
CANCELED: "CANCELED";
|
|
4006
4006
|
}>;
|
|
4007
4007
|
reason: z$1.ZodString;
|
|
4008
4008
|
quantity: z$1.ZodNumber;
|
|
@@ -4038,14 +4038,14 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
4038
4038
|
CANCEL: "CANCEL";
|
|
4039
4039
|
}>;
|
|
4040
4040
|
status: z$1.ZodEnum<{
|
|
4041
|
-
REJECTED: "REJECTED";
|
|
4042
|
-
COMPLETED: "COMPLETED";
|
|
4043
4041
|
REQUESTED: "REQUESTED";
|
|
4044
4042
|
HELD: "HELD";
|
|
4045
4043
|
COLLECTING: "COLLECTING";
|
|
4046
4044
|
COLLECTED: "COLLECTED";
|
|
4047
4045
|
REDELIVERING: "REDELIVERING";
|
|
4048
4046
|
APPROVED: "APPROVED";
|
|
4047
|
+
REJECTED: "REJECTED";
|
|
4048
|
+
COMPLETED: "COMPLETED";
|
|
4049
4049
|
WITHDRAWN: "WITHDRAWN";
|
|
4050
4050
|
}>;
|
|
4051
4051
|
quantity: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -4661,14 +4661,14 @@ export declare const appRuntimeSchema: z$1.ZodEnum<{
|
|
|
4661
4661
|
export type AppRuntime = z$1.infer<typeof appRuntimeSchema>;
|
|
4662
4662
|
/** 앱 상태 — `SUSPENDED`는 운영자 정지(모든 설치 토큰·실행 거부, 설치 행은 그대로) */
|
|
4663
4663
|
export declare const appStatusSchema: z$1.ZodEnum<{
|
|
4664
|
-
SUSPENDED: "SUSPENDED";
|
|
4665
4664
|
ACTIVE: "ACTIVE";
|
|
4665
|
+
SUSPENDED: "SUSPENDED";
|
|
4666
4666
|
DELETED: "DELETED";
|
|
4667
4667
|
}>;
|
|
4668
4668
|
export type AppStatus = z$1.infer<typeof appStatusSchema>;
|
|
4669
4669
|
export declare const appInstallationStatusSchema: z$1.ZodEnum<{
|
|
4670
|
-
SUSPENDED: "SUSPENDED";
|
|
4671
4670
|
ACTIVE: "ACTIVE";
|
|
4671
|
+
SUSPENDED: "SUSPENDED";
|
|
4672
4672
|
UNINSTALLED: "UNINSTALLED";
|
|
4673
4673
|
}>;
|
|
4674
4674
|
export type AppInstallationStatus = z$1.infer<typeof appInstallationStatusSchema>;
|
|
@@ -4698,8 +4698,8 @@ export declare const appInstallationAppSchema: z$1.ZodObject<{
|
|
|
4698
4698
|
EXTERNAL: "EXTERNAL";
|
|
4699
4699
|
}>;
|
|
4700
4700
|
status: z$1.ZodEnum<{
|
|
4701
|
-
SUSPENDED: "SUSPENDED";
|
|
4702
4701
|
ACTIVE: "ACTIVE";
|
|
4702
|
+
SUSPENDED: "SUSPENDED";
|
|
4703
4703
|
DELETED: "DELETED";
|
|
4704
4704
|
}>;
|
|
4705
4705
|
}, z$1.core.$strip>;
|
|
@@ -4789,14 +4789,14 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4789
4789
|
EXTERNAL: "EXTERNAL";
|
|
4790
4790
|
}>;
|
|
4791
4791
|
status: z$1.ZodEnum<{
|
|
4792
|
-
SUSPENDED: "SUSPENDED";
|
|
4793
4792
|
ACTIVE: "ACTIVE";
|
|
4793
|
+
SUSPENDED: "SUSPENDED";
|
|
4794
4794
|
DELETED: "DELETED";
|
|
4795
4795
|
}>;
|
|
4796
4796
|
}, z$1.core.$strip>;
|
|
4797
4797
|
status: z$1.ZodEnum<{
|
|
4798
|
-
SUSPENDED: "SUSPENDED";
|
|
4799
4798
|
ACTIVE: "ACTIVE";
|
|
4799
|
+
SUSPENDED: "SUSPENDED";
|
|
4800
4800
|
UNINSTALLED: "UNINSTALLED";
|
|
4801
4801
|
}>;
|
|
4802
4802
|
versionNumber: z$1.ZodNumber;
|
|
@@ -5311,17 +5311,17 @@ export declare const appVersionSchema: z$1.ZodObject<{
|
|
|
5311
5311
|
export type AppVersion = z$1.infer<typeof appVersionSchema>;
|
|
5312
5312
|
/** 앱 공개 심사(#22, 매뉴얼 「앱 공개 범위」) — 개발자가 신청하고 운영자가 승인·반려한다 */
|
|
5313
5313
|
export declare const appListingReviewStatusSchema: z$1.ZodEnum<{
|
|
5314
|
-
PENDING: "PENDING";
|
|
5315
|
-
REJECTED: "REJECTED";
|
|
5316
5314
|
APPROVED: "APPROVED";
|
|
5315
|
+
REJECTED: "REJECTED";
|
|
5316
|
+
PENDING: "PENDING";
|
|
5317
5317
|
}>;
|
|
5318
5318
|
export type AppListingReviewStatus = z$1.infer<typeof appListingReviewStatusSchema>;
|
|
5319
5319
|
export declare const appListingReviewSchema: z$1.ZodObject<{
|
|
5320
5320
|
reviewId: z$1.ZodString;
|
|
5321
5321
|
status: z$1.ZodEnum<{
|
|
5322
|
-
PENDING: "PENDING";
|
|
5323
|
-
REJECTED: "REJECTED";
|
|
5324
5322
|
APPROVED: "APPROVED";
|
|
5323
|
+
REJECTED: "REJECTED";
|
|
5324
|
+
PENDING: "PENDING";
|
|
5325
5325
|
}>;
|
|
5326
5326
|
versionNumber: z$1.ZodNumber;
|
|
5327
5327
|
reason: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5347,8 +5347,8 @@ export declare const developerAppSchema: z$1.ZodObject<{
|
|
|
5347
5347
|
EXTERNAL: "EXTERNAL";
|
|
5348
5348
|
}>;
|
|
5349
5349
|
status: z$1.ZodEnum<{
|
|
5350
|
-
SUSPENDED: "SUSPENDED";
|
|
5351
5350
|
ACTIVE: "ACTIVE";
|
|
5351
|
+
SUSPENDED: "SUSPENDED";
|
|
5352
5352
|
DELETED: "DELETED";
|
|
5353
5353
|
}>;
|
|
5354
5354
|
suspendedReason: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5357,9 +5357,9 @@ export declare const developerAppSchema: z$1.ZodObject<{
|
|
|
5357
5357
|
listingReview: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
|
|
5358
5358
|
reviewId: z$1.ZodString;
|
|
5359
5359
|
status: z$1.ZodEnum<{
|
|
5360
|
-
PENDING: "PENDING";
|
|
5361
|
-
REJECTED: "REJECTED";
|
|
5362
5360
|
APPROVED: "APPROVED";
|
|
5361
|
+
REJECTED: "REJECTED";
|
|
5362
|
+
PENDING: "PENDING";
|
|
5363
5363
|
}>;
|
|
5364
5364
|
versionNumber: z$1.ZodNumber;
|
|
5365
5365
|
reason: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5473,9 +5473,9 @@ export declare const devStoreSchema: z$1.ZodObject<{
|
|
|
5473
5473
|
name: z$1.ZodString;
|
|
5474
5474
|
storeCode: z$1.ZodString;
|
|
5475
5475
|
status: z$1.ZodEnum<{
|
|
5476
|
+
ACTIVE: "ACTIVE";
|
|
5476
5477
|
SUSPENDED: "SUSPENDED";
|
|
5477
5478
|
CLOSED: "CLOSED";
|
|
5478
|
-
ACTIVE: "ACTIVE";
|
|
5479
5479
|
}>;
|
|
5480
5480
|
createdAt: z$1.ZodString;
|
|
5481
5481
|
}, z$1.core.$strip>;
|
|
@@ -5497,8 +5497,8 @@ export declare const developerInstallationSchema: z$1.ZodObject<{
|
|
|
5497
5497
|
storeId: z$1.ZodString;
|
|
5498
5498
|
storeName: z$1.ZodString;
|
|
5499
5499
|
status: z$1.ZodEnum<{
|
|
5500
|
-
SUSPENDED: "SUSPENDED";
|
|
5501
5500
|
ACTIVE: "ACTIVE";
|
|
5501
|
+
SUSPENDED: "SUSPENDED";
|
|
5502
5502
|
UNINSTALLED: "UNINSTALLED";
|
|
5503
5503
|
}>;
|
|
5504
5504
|
versionNumber: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -6072,14 +6072,14 @@ export declare const bulkResultSchema: z$1.ZodObject<{
|
|
|
6072
6072
|
}, z$1.core.$strip>;
|
|
6073
6073
|
export type BulkResult = z$1.infer<typeof bulkResultSchema>;
|
|
6074
6074
|
export declare const orderItemStatusSchema: z$1.ZodEnum<{
|
|
6075
|
-
PAID: "PAID";
|
|
6076
|
-
CANCELED: "CANCELED";
|
|
6077
6075
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6076
|
+
PAID: "PAID";
|
|
6078
6077
|
CONFIRMED: "CONFIRMED";
|
|
6079
6078
|
DISPATCHED: "DISPATCHED";
|
|
6080
6079
|
DELIVERING: "DELIVERING";
|
|
6081
6080
|
DELIVERED: "DELIVERED";
|
|
6082
6081
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6082
|
+
CANCELED: "CANCELED";
|
|
6083
6083
|
}>;
|
|
6084
6084
|
export type OrderItemStatus = z$1.infer<typeof orderItemStatusSchema>;
|
|
6085
6085
|
export declare const changeTypeSchema: z$1.ZodEnum<{
|
|
@@ -6107,14 +6107,14 @@ export declare const claimTypeSchema: z$1.ZodEnum<{
|
|
|
6107
6107
|
}>;
|
|
6108
6108
|
export type ClaimType = z$1.infer<typeof claimTypeSchema>;
|
|
6109
6109
|
export declare const claimStatusSchema: z$1.ZodEnum<{
|
|
6110
|
-
REJECTED: "REJECTED";
|
|
6111
|
-
COMPLETED: "COMPLETED";
|
|
6112
6110
|
REQUESTED: "REQUESTED";
|
|
6113
6111
|
HELD: "HELD";
|
|
6114
6112
|
COLLECTING: "COLLECTING";
|
|
6115
6113
|
COLLECTED: "COLLECTED";
|
|
6116
6114
|
REDELIVERING: "REDELIVERING";
|
|
6117
6115
|
APPROVED: "APPROVED";
|
|
6116
|
+
REJECTED: "REJECTED";
|
|
6117
|
+
COMPLETED: "COMPLETED";
|
|
6118
6118
|
WITHDRAWN: "WITHDRAWN";
|
|
6119
6119
|
}>;
|
|
6120
6120
|
export type ClaimStatus = z$1.infer<typeof claimStatusSchema>;
|
|
@@ -6152,14 +6152,14 @@ export declare const claimSchema: z$1.ZodObject<{
|
|
|
6152
6152
|
CANCEL: "CANCEL";
|
|
6153
6153
|
}>;
|
|
6154
6154
|
status: z$1.ZodEnum<{
|
|
6155
|
-
REJECTED: "REJECTED";
|
|
6156
|
-
COMPLETED: "COMPLETED";
|
|
6157
6155
|
REQUESTED: "REQUESTED";
|
|
6158
6156
|
HELD: "HELD";
|
|
6159
6157
|
COLLECTING: "COLLECTING";
|
|
6160
6158
|
COLLECTED: "COLLECTED";
|
|
6161
6159
|
REDELIVERING: "REDELIVERING";
|
|
6162
6160
|
APPROVED: "APPROVED";
|
|
6161
|
+
REJECTED: "REJECTED";
|
|
6162
|
+
COMPLETED: "COMPLETED";
|
|
6163
6163
|
WITHDRAWN: "WITHDRAWN";
|
|
6164
6164
|
}>;
|
|
6165
6165
|
orderId: z$1.ZodString;
|
|
@@ -6242,14 +6242,14 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6242
6242
|
CANCEL: "CANCEL";
|
|
6243
6243
|
}>;
|
|
6244
6244
|
status: z$1.ZodEnum<{
|
|
6245
|
-
REJECTED: "REJECTED";
|
|
6246
|
-
COMPLETED: "COMPLETED";
|
|
6247
6245
|
REQUESTED: "REQUESTED";
|
|
6248
6246
|
HELD: "HELD";
|
|
6249
6247
|
COLLECTING: "COLLECTING";
|
|
6250
6248
|
COLLECTED: "COLLECTED";
|
|
6251
6249
|
REDELIVERING: "REDELIVERING";
|
|
6252
6250
|
APPROVED: "APPROVED";
|
|
6251
|
+
REJECTED: "REJECTED";
|
|
6252
|
+
COMPLETED: "COMPLETED";
|
|
6253
6253
|
WITHDRAWN: "WITHDRAWN";
|
|
6254
6254
|
}>;
|
|
6255
6255
|
orderId: z$1.ZodString;
|
|
@@ -6300,14 +6300,14 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6300
6300
|
}, z$1.core.$strip>>;
|
|
6301
6301
|
histories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
6302
6302
|
status: z$1.ZodEnum<{
|
|
6303
|
-
REJECTED: "REJECTED";
|
|
6304
|
-
COMPLETED: "COMPLETED";
|
|
6305
6303
|
REQUESTED: "REQUESTED";
|
|
6306
6304
|
HELD: "HELD";
|
|
6307
6305
|
COLLECTING: "COLLECTING";
|
|
6308
6306
|
COLLECTED: "COLLECTED";
|
|
6309
6307
|
REDELIVERING: "REDELIVERING";
|
|
6310
6308
|
APPROVED: "APPROVED";
|
|
6309
|
+
REJECTED: "REJECTED";
|
|
6310
|
+
COMPLETED: "COMPLETED";
|
|
6311
6311
|
WITHDRAWN: "WITHDRAWN";
|
|
6312
6312
|
}>;
|
|
6313
6313
|
actor: z$1.ZodEnum<{
|
|
@@ -6382,11 +6382,11 @@ export type CollectionType = (typeof COLLECTION_TYPES)[number];
|
|
|
6382
6382
|
export declare const COLLECTION_PRODUCT_SORTS: readonly ["MANUAL", "LATEST", "BEST_SELLING", "PRICE_ASC", "PRICE_DESC", "REVIEW_COUNT", "RATING_DESC", "RECOMMEND"];
|
|
6383
6383
|
export type CollectionProductSort = (typeof COLLECTION_PRODUCT_SORTS)[number];
|
|
6384
6384
|
export declare const collectionProductSortRequestSchema: z$1.ZodEnum<{
|
|
6385
|
-
PRICE_ASC: "PRICE_ASC";
|
|
6386
|
-
PRICE_DESC: "PRICE_DESC";
|
|
6387
6385
|
MANUAL: "MANUAL";
|
|
6388
6386
|
LATEST: "LATEST";
|
|
6389
6387
|
BEST_SELLING: "BEST_SELLING";
|
|
6388
|
+
PRICE_ASC: "PRICE_ASC";
|
|
6389
|
+
PRICE_DESC: "PRICE_DESC";
|
|
6390
6390
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6391
6391
|
RATING_DESC: "RATING_DESC";
|
|
6392
6392
|
RECOMMEND: "RECOMMEND";
|
|
@@ -6619,11 +6619,11 @@ export declare const collectionCreateRequestSchema: z$1.ZodObject<{
|
|
|
6619
6619
|
description: z$1.ZodDefault<z$1.ZodString>;
|
|
6620
6620
|
imageUrl: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
|
|
6621
6621
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6622
|
-
PRICE_ASC: "PRICE_ASC";
|
|
6623
|
-
PRICE_DESC: "PRICE_DESC";
|
|
6624
6622
|
MANUAL: "MANUAL";
|
|
6625
6623
|
LATEST: "LATEST";
|
|
6626
6624
|
BEST_SELLING: "BEST_SELLING";
|
|
6625
|
+
PRICE_ASC: "PRICE_ASC";
|
|
6626
|
+
PRICE_DESC: "PRICE_DESC";
|
|
6627
6627
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6628
6628
|
RATING_DESC: "RATING_DESC";
|
|
6629
6629
|
RECOMMEND: "RECOMMEND";
|
|
@@ -6667,11 +6667,11 @@ export declare const collectionPatchRequestSchema: z$1.ZodObject<{
|
|
|
6667
6667
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6668
6668
|
imageUrl: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
|
|
6669
6669
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6670
|
-
PRICE_ASC: "PRICE_ASC";
|
|
6671
|
-
PRICE_DESC: "PRICE_DESC";
|
|
6672
6670
|
MANUAL: "MANUAL";
|
|
6673
6671
|
LATEST: "LATEST";
|
|
6674
6672
|
BEST_SELLING: "BEST_SELLING";
|
|
6673
|
+
PRICE_ASC: "PRICE_ASC";
|
|
6674
|
+
PRICE_DESC: "PRICE_DESC";
|
|
6675
6675
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6676
6676
|
RATING_DESC: "RATING_DESC";
|
|
6677
6677
|
RECOMMEND: "RECOMMEND";
|
|
@@ -6824,11 +6824,11 @@ export declare const collectionPreviewRequestSchema: z$1.ZodObject<{
|
|
|
6824
6824
|
top: z$1.ZodNumber;
|
|
6825
6825
|
}, z$1.core.$strip>], "field">>;
|
|
6826
6826
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6827
|
-
PRICE_ASC: "PRICE_ASC";
|
|
6828
|
-
PRICE_DESC: "PRICE_DESC";
|
|
6829
6827
|
MANUAL: "MANUAL";
|
|
6830
6828
|
LATEST: "LATEST";
|
|
6831
6829
|
BEST_SELLING: "BEST_SELLING";
|
|
6830
|
+
PRICE_ASC: "PRICE_ASC";
|
|
6831
|
+
PRICE_DESC: "PRICE_DESC";
|
|
6832
6832
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
6833
6833
|
RATING_DESC: "RATING_DESC";
|
|
6834
6834
|
RECOMMEND: "RECOMMEND";
|
|
@@ -6900,8 +6900,8 @@ export declare const flowActionSchema: z$1.ZodObject<{
|
|
|
6900
6900
|
key: z$1.ZodString;
|
|
6901
6901
|
label: z$1.ZodString;
|
|
6902
6902
|
mode: z$1.ZodEnum<{
|
|
6903
|
-
REQUEST: "REQUEST";
|
|
6904
6903
|
INSTANT: "INSTANT";
|
|
6904
|
+
REQUEST: "REQUEST";
|
|
6905
6905
|
VIEW: "VIEW";
|
|
6906
6906
|
}>;
|
|
6907
6907
|
enabled: z$1.ZodBoolean;
|
|
@@ -6942,24 +6942,24 @@ export declare const flowStateSchema: z$1.ZodObject<{
|
|
|
6942
6942
|
key: z$1.ZodString;
|
|
6943
6943
|
label: z$1.ZodString;
|
|
6944
6944
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6945
|
-
PAID: "PAID";
|
|
6946
|
-
CANCELED: "CANCELED";
|
|
6947
6945
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6946
|
+
PAID: "PAID";
|
|
6948
6947
|
CONFIRMED: "CONFIRMED";
|
|
6949
6948
|
DISPATCHED: "DISPATCHED";
|
|
6950
6949
|
DELIVERING: "DELIVERING";
|
|
6951
6950
|
DELIVERED: "DELIVERED";
|
|
6952
6951
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6952
|
+
CANCELED: "CANCELED";
|
|
6953
6953
|
}>>;
|
|
6954
6954
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6955
|
-
REJECTED: "REJECTED";
|
|
6956
|
-
COMPLETED: "COMPLETED";
|
|
6957
6955
|
REQUESTED: "REQUESTED";
|
|
6958
6956
|
HELD: "HELD";
|
|
6959
6957
|
COLLECTING: "COLLECTING";
|
|
6960
6958
|
COLLECTED: "COLLECTED";
|
|
6961
6959
|
REDELIVERING: "REDELIVERING";
|
|
6962
6960
|
APPROVED: "APPROVED";
|
|
6961
|
+
REJECTED: "REJECTED";
|
|
6962
|
+
COMPLETED: "COMPLETED";
|
|
6963
6963
|
WITHDRAWN: "WITHDRAWN";
|
|
6964
6964
|
}>>;
|
|
6965
6965
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -6991,24 +6991,24 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
|
|
|
6991
6991
|
key: z$1.ZodString;
|
|
6992
6992
|
label: z$1.ZodString;
|
|
6993
6993
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6994
|
-
PAID: "PAID";
|
|
6995
|
-
CANCELED: "CANCELED";
|
|
6996
6994
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6995
|
+
PAID: "PAID";
|
|
6997
6996
|
CONFIRMED: "CONFIRMED";
|
|
6998
6997
|
DISPATCHED: "DISPATCHED";
|
|
6999
6998
|
DELIVERING: "DELIVERING";
|
|
7000
6999
|
DELIVERED: "DELIVERED";
|
|
7001
7000
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7001
|
+
CANCELED: "CANCELED";
|
|
7002
7002
|
}>>;
|
|
7003
7003
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7004
|
-
REJECTED: "REJECTED";
|
|
7005
|
-
COMPLETED: "COMPLETED";
|
|
7006
7004
|
REQUESTED: "REQUESTED";
|
|
7007
7005
|
HELD: "HELD";
|
|
7008
7006
|
COLLECTING: "COLLECTING";
|
|
7009
7007
|
COLLECTED: "COLLECTED";
|
|
7010
7008
|
REDELIVERING: "REDELIVERING";
|
|
7011
7009
|
APPROVED: "APPROVED";
|
|
7010
|
+
REJECTED: "REJECTED";
|
|
7011
|
+
COMPLETED: "COMPLETED";
|
|
7012
7012
|
WITHDRAWN: "WITHDRAWN";
|
|
7013
7013
|
}>>;
|
|
7014
7014
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7033,8 +7033,8 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
|
|
|
7033
7033
|
key: z$1.ZodString;
|
|
7034
7034
|
label: z$1.ZodString;
|
|
7035
7035
|
mode: z$1.ZodEnum<{
|
|
7036
|
-
REQUEST: "REQUEST";
|
|
7037
7036
|
INSTANT: "INSTANT";
|
|
7037
|
+
REQUEST: "REQUEST";
|
|
7038
7038
|
VIEW: "VIEW";
|
|
7039
7039
|
}>;
|
|
7040
7040
|
enabled: z$1.ZodBoolean;
|
|
@@ -7077,38 +7077,38 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
|
|
|
7077
7077
|
key: z$1.ZodString;
|
|
7078
7078
|
label: z$1.ZodString;
|
|
7079
7079
|
coreStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7080
|
-
PAID: "PAID";
|
|
7081
|
-
CANCELED: "CANCELED";
|
|
7082
7080
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7081
|
+
PAID: "PAID";
|
|
7083
7082
|
CONFIRMED: "CONFIRMED";
|
|
7084
7083
|
DISPATCHED: "DISPATCHED";
|
|
7085
7084
|
DELIVERING: "DELIVERING";
|
|
7086
7085
|
DELIVERED: "DELIVERED";
|
|
7087
7086
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7087
|
+
CANCELED: "CANCELED";
|
|
7088
7088
|
}>>;
|
|
7089
7089
|
}, z$1.core.$strip>>>;
|
|
7090
7090
|
branches: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
7091
7091
|
key: z$1.ZodString;
|
|
7092
7092
|
label: z$1.ZodString;
|
|
7093
7093
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7094
|
-
PAID: "PAID";
|
|
7095
|
-
CANCELED: "CANCELED";
|
|
7096
7094
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7095
|
+
PAID: "PAID";
|
|
7097
7096
|
CONFIRMED: "CONFIRMED";
|
|
7098
7097
|
DISPATCHED: "DISPATCHED";
|
|
7099
7098
|
DELIVERING: "DELIVERING";
|
|
7100
7099
|
DELIVERED: "DELIVERED";
|
|
7101
7100
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7101
|
+
CANCELED: "CANCELED";
|
|
7102
7102
|
}>>;
|
|
7103
7103
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7104
|
-
REJECTED: "REJECTED";
|
|
7105
|
-
COMPLETED: "COMPLETED";
|
|
7106
7104
|
REQUESTED: "REQUESTED";
|
|
7107
7105
|
HELD: "HELD";
|
|
7108
7106
|
COLLECTING: "COLLECTING";
|
|
7109
7107
|
COLLECTED: "COLLECTED";
|
|
7110
7108
|
REDELIVERING: "REDELIVERING";
|
|
7111
7109
|
APPROVED: "APPROVED";
|
|
7110
|
+
REJECTED: "REJECTED";
|
|
7111
|
+
COMPLETED: "COMPLETED";
|
|
7112
7112
|
WITHDRAWN: "WITHDRAWN";
|
|
7113
7113
|
}>>;
|
|
7114
7114
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7183,24 +7183,24 @@ export declare const flowActionResultSchema: z$1.ZodObject<{
|
|
|
7183
7183
|
key: z$1.ZodString;
|
|
7184
7184
|
label: z$1.ZodString;
|
|
7185
7185
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7186
|
-
PAID: "PAID";
|
|
7187
|
-
CANCELED: "CANCELED";
|
|
7188
7186
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7187
|
+
PAID: "PAID";
|
|
7189
7188
|
CONFIRMED: "CONFIRMED";
|
|
7190
7189
|
DISPATCHED: "DISPATCHED";
|
|
7191
7190
|
DELIVERING: "DELIVERING";
|
|
7192
7191
|
DELIVERED: "DELIVERED";
|
|
7193
7192
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7193
|
+
CANCELED: "CANCELED";
|
|
7194
7194
|
}>>;
|
|
7195
7195
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7196
|
-
REJECTED: "REJECTED";
|
|
7197
|
-
COMPLETED: "COMPLETED";
|
|
7198
7196
|
REQUESTED: "REQUESTED";
|
|
7199
7197
|
HELD: "HELD";
|
|
7200
7198
|
COLLECTING: "COLLECTING";
|
|
7201
7199
|
COLLECTED: "COLLECTED";
|
|
7202
7200
|
REDELIVERING: "REDELIVERING";
|
|
7203
7201
|
APPROVED: "APPROVED";
|
|
7202
|
+
REJECTED: "REJECTED";
|
|
7203
|
+
COMPLETED: "COMPLETED";
|
|
7204
7204
|
WITHDRAWN: "WITHDRAWN";
|
|
7205
7205
|
}>>;
|
|
7206
7206
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7225,8 +7225,8 @@ export declare const flowActionResultSchema: z$1.ZodObject<{
|
|
|
7225
7225
|
key: z$1.ZodString;
|
|
7226
7226
|
label: z$1.ZodString;
|
|
7227
7227
|
mode: z$1.ZodEnum<{
|
|
7228
|
-
REQUEST: "REQUEST";
|
|
7229
7228
|
INSTANT: "INSTANT";
|
|
7229
|
+
REQUEST: "REQUEST";
|
|
7230
7230
|
VIEW: "VIEW";
|
|
7231
7231
|
}>;
|
|
7232
7232
|
enabled: z$1.ZodBoolean;
|
|
@@ -7306,8 +7306,8 @@ export declare const commerceFlowSummarySchema: z$1.ZodObject<{
|
|
|
7306
7306
|
presetVersion: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7307
7307
|
activeVersion: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7308
7308
|
defaultFor: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
|
|
7309
|
-
SHIPPING: "SHIPPING";
|
|
7310
7309
|
MANUAL: "MANUAL";
|
|
7310
|
+
SHIPPING: "SHIPPING";
|
|
7311
7311
|
}>>>>;
|
|
7312
7312
|
archivedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
7313
7313
|
createdAt: z$1.ZodString;
|
|
@@ -7340,8 +7340,8 @@ export declare const commerceFlowSchema: z$1.ZodObject<{
|
|
|
7340
7340
|
presetVersion: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7341
7341
|
activeVersion: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7342
7342
|
defaultFor: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
|
|
7343
|
-
SHIPPING: "SHIPPING";
|
|
7344
7343
|
MANUAL: "MANUAL";
|
|
7344
|
+
SHIPPING: "SHIPPING";
|
|
7345
7345
|
}>>>>;
|
|
7346
7346
|
archivedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
7347
7347
|
createdAt: z$1.ZodString;
|
|
@@ -7514,8 +7514,8 @@ export declare const flowDraftOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
7514
7514
|
}, z$1.core.$strict>>;
|
|
7515
7515
|
unset: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7516
7516
|
progression: "progression";
|
|
7517
|
-
groupClaim: "groupClaim";
|
|
7518
7517
|
fulfillmentMethods: "fulfillmentMethods";
|
|
7518
|
+
groupClaim: "groupClaim";
|
|
7519
7519
|
}>>>;
|
|
7520
7520
|
}, z$1.core.$strict>], "op">;
|
|
7521
7521
|
export type FlowDraftOperation = z$1.infer<typeof flowDraftOperationSchema>;
|
|
@@ -7576,8 +7576,8 @@ export declare const applyFlowOperationsRequestSchema: z$1.ZodObject<{
|
|
|
7576
7576
|
}, z$1.core.$strict>>;
|
|
7577
7577
|
unset: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7578
7578
|
progression: "progression";
|
|
7579
|
-
groupClaim: "groupClaim";
|
|
7580
7579
|
fulfillmentMethods: "fulfillmentMethods";
|
|
7580
|
+
groupClaim: "groupClaim";
|
|
7581
7581
|
}>>>;
|
|
7582
7582
|
}, z$1.core.$strict>], "op">>;
|
|
7583
7583
|
}, z$1.core.$strip>;
|
|
@@ -7827,8 +7827,8 @@ export declare const flowNodeTypesSchema: z$1.ZodObject<{
|
|
|
7827
7827
|
}>;
|
|
7828
7828
|
label: z$1.ZodString;
|
|
7829
7829
|
mode: z$1.ZodEnum<{
|
|
7830
|
-
REQUEST: "REQUEST";
|
|
7831
7830
|
INSTANT: "INSTANT";
|
|
7831
|
+
REQUEST: "REQUEST";
|
|
7832
7832
|
VIEW: "VIEW";
|
|
7833
7833
|
}>;
|
|
7834
7834
|
subflow: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -8313,8 +8313,8 @@ export type CouponStatus = z$1.infer<typeof couponStatusSchema>;
|
|
|
8313
8313
|
* 응답(`couponSchema.issueMethod`)은 값이 늘 수 있어 문자열로 받는다. 이 enum은 요청 검증용이다.
|
|
8314
8314
|
*/
|
|
8315
8315
|
export declare const couponIssueMethodSchema: z$1.ZodEnum<{
|
|
8316
|
-
MANUAL: "MANUAL";
|
|
8317
8316
|
CODE: "CODE";
|
|
8317
|
+
MANUAL: "MANUAL";
|
|
8318
8318
|
DOWNLOAD: "DOWNLOAD";
|
|
8319
8319
|
SIGNUP: "SIGNUP";
|
|
8320
8320
|
FLOW: "FLOW";
|
|
@@ -8354,6 +8354,10 @@ export declare function couponRequestRuleIssues(body: {
|
|
|
8354
8354
|
stacking?: {
|
|
8355
8355
|
perOrderLimit: number;
|
|
8356
8356
|
};
|
|
8357
|
+
reward?: {
|
|
8358
|
+
type: "TIERED" | "BUY_X_GET_Y" | "POINT";
|
|
8359
|
+
} | null;
|
|
8360
|
+
benefit?: unknown;
|
|
8357
8361
|
perMemberUseLimit?: number | null;
|
|
8358
8362
|
dailyIssueLimit?: number | null;
|
|
8359
8363
|
issueStartsAt?: string | null;
|
|
@@ -8406,6 +8410,37 @@ export declare const createCouponRequestSchema: z$1.ZodObject<{
|
|
|
8406
8410
|
withPoints: z$1.ZodBoolean;
|
|
8407
8411
|
perOrderLimit: z$1.ZodNumber;
|
|
8408
8412
|
}, z$1.core.$strict>>;
|
|
8413
|
+
reward: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8414
|
+
type: z$1.ZodLiteral<"TIERED">;
|
|
8415
|
+
tiers: z$1.ZodArray<z$1.ZodObject<{
|
|
8416
|
+
minAmount: z$1.ZodNumber;
|
|
8417
|
+
benefit: z$1.ZodObject<{
|
|
8418
|
+
type: z$1.ZodEnum<{
|
|
8419
|
+
RATE: "RATE";
|
|
8420
|
+
AMOUNT: "AMOUNT";
|
|
8421
|
+
}>;
|
|
8422
|
+
value: z$1.ZodNumber;
|
|
8423
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8424
|
+
}, z$1.core.$strip>;
|
|
8425
|
+
}, z$1.core.$strip>>;
|
|
8426
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
8427
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8428
|
+
type: z$1.ZodLiteral<"BUY_X_GET_Y">;
|
|
8429
|
+
buy: z$1.ZodNumber;
|
|
8430
|
+
get: z$1.ZodNumber;
|
|
8431
|
+
rate: z$1.ZodNumber;
|
|
8432
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
8433
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8434
|
+
type: z$1.ZodLiteral<"POINT">;
|
|
8435
|
+
benefit: z$1.ZodObject<{
|
|
8436
|
+
type: z$1.ZodEnum<{
|
|
8437
|
+
RATE: "RATE";
|
|
8438
|
+
AMOUNT: "AMOUNT";
|
|
8439
|
+
}>;
|
|
8440
|
+
value: z$1.ZodNumber;
|
|
8441
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8442
|
+
}, z$1.core.$strip>;
|
|
8443
|
+
}, z$1.core.$strip>], "type">>>;
|
|
8409
8444
|
name: z$1.ZodString;
|
|
8410
8445
|
description: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
8411
8446
|
kind: z$1.ZodEnum<{
|
|
@@ -8413,14 +8448,14 @@ export declare const createCouponRequestSchema: z$1.ZodObject<{
|
|
|
8413
8448
|
PRODUCT: "PRODUCT";
|
|
8414
8449
|
DELIVERY: "DELIVERY";
|
|
8415
8450
|
}>;
|
|
8416
|
-
benefit: z$1.ZodObject<{
|
|
8451
|
+
benefit: z$1.ZodOptional<z$1.ZodObject<{
|
|
8417
8452
|
type: z$1.ZodEnum<{
|
|
8418
8453
|
RATE: "RATE";
|
|
8419
8454
|
AMOUNT: "AMOUNT";
|
|
8420
8455
|
}>;
|
|
8421
8456
|
value: z$1.ZodNumber;
|
|
8422
8457
|
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8423
|
-
}, z$1.core.$strip
|
|
8458
|
+
}, z$1.core.$strip>>;
|
|
8424
8459
|
conditions: z$1.ZodOptional<z$1.ZodObject<{
|
|
8425
8460
|
minOrderAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8426
8461
|
firstOrderOnly: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -8434,8 +8469,8 @@ export declare const createCouponRequestSchema: z$1.ZodObject<{
|
|
|
8434
8469
|
excludeCategoryIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
8435
8470
|
}, z$1.core.$strict>>;
|
|
8436
8471
|
issueMethod: z$1.ZodEnum<{
|
|
8437
|
-
MANUAL: "MANUAL";
|
|
8438
8472
|
CODE: "CODE";
|
|
8473
|
+
MANUAL: "MANUAL";
|
|
8439
8474
|
DOWNLOAD: "DOWNLOAD";
|
|
8440
8475
|
SIGNUP: "SIGNUP";
|
|
8441
8476
|
FLOW: "FLOW";
|
|
@@ -8505,6 +8540,37 @@ export declare const updateCouponRequestSchema: z$1.ZodObject<{
|
|
|
8505
8540
|
withPoints: z$1.ZodBoolean;
|
|
8506
8541
|
perOrderLimit: z$1.ZodNumber;
|
|
8507
8542
|
}, z$1.core.$strict>>;
|
|
8543
|
+
reward: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8544
|
+
type: z$1.ZodLiteral<"TIERED">;
|
|
8545
|
+
tiers: z$1.ZodArray<z$1.ZodObject<{
|
|
8546
|
+
minAmount: z$1.ZodNumber;
|
|
8547
|
+
benefit: z$1.ZodObject<{
|
|
8548
|
+
type: z$1.ZodEnum<{
|
|
8549
|
+
RATE: "RATE";
|
|
8550
|
+
AMOUNT: "AMOUNT";
|
|
8551
|
+
}>;
|
|
8552
|
+
value: z$1.ZodNumber;
|
|
8553
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8554
|
+
}, z$1.core.$strip>;
|
|
8555
|
+
}, z$1.core.$strip>>;
|
|
8556
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
8557
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8558
|
+
type: z$1.ZodLiteral<"BUY_X_GET_Y">;
|
|
8559
|
+
buy: z$1.ZodNumber;
|
|
8560
|
+
get: z$1.ZodNumber;
|
|
8561
|
+
rate: z$1.ZodNumber;
|
|
8562
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
8563
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8564
|
+
type: z$1.ZodLiteral<"POINT">;
|
|
8565
|
+
benefit: z$1.ZodObject<{
|
|
8566
|
+
type: z$1.ZodEnum<{
|
|
8567
|
+
RATE: "RATE";
|
|
8568
|
+
AMOUNT: "AMOUNT";
|
|
8569
|
+
}>;
|
|
8570
|
+
value: z$1.ZodNumber;
|
|
8571
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8572
|
+
}, z$1.core.$strip>;
|
|
8573
|
+
}, z$1.core.$strip>], "type">>>;
|
|
8508
8574
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
8509
8575
|
description: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
8510
8576
|
benefit: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -8609,6 +8675,37 @@ export declare const couponSchema: z$1.ZodObject<{
|
|
|
8609
8675
|
withPoints: z$1.ZodBoolean;
|
|
8610
8676
|
perOrderLimit: z$1.ZodNumber;
|
|
8611
8677
|
}, z$1.core.$strict>>>;
|
|
8678
|
+
reward: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8679
|
+
type: z$1.ZodLiteral<"TIERED">;
|
|
8680
|
+
tiers: z$1.ZodArray<z$1.ZodObject<{
|
|
8681
|
+
minAmount: z$1.ZodNumber;
|
|
8682
|
+
benefit: z$1.ZodObject<{
|
|
8683
|
+
type: z$1.ZodEnum<{
|
|
8684
|
+
RATE: "RATE";
|
|
8685
|
+
AMOUNT: "AMOUNT";
|
|
8686
|
+
}>;
|
|
8687
|
+
value: z$1.ZodNumber;
|
|
8688
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8689
|
+
}, z$1.core.$strip>;
|
|
8690
|
+
}, z$1.core.$strip>>;
|
|
8691
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
8692
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8693
|
+
type: z$1.ZodLiteral<"BUY_X_GET_Y">;
|
|
8694
|
+
buy: z$1.ZodNumber;
|
|
8695
|
+
get: z$1.ZodNumber;
|
|
8696
|
+
rate: z$1.ZodNumber;
|
|
8697
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
8698
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8699
|
+
type: z$1.ZodLiteral<"POINT">;
|
|
8700
|
+
benefit: z$1.ZodObject<{
|
|
8701
|
+
type: z$1.ZodEnum<{
|
|
8702
|
+
RATE: "RATE";
|
|
8703
|
+
AMOUNT: "AMOUNT";
|
|
8704
|
+
}>;
|
|
8705
|
+
value: z$1.ZodNumber;
|
|
8706
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8707
|
+
}, z$1.core.$strip>;
|
|
8708
|
+
}, z$1.core.$strip>], "type">>>>;
|
|
8612
8709
|
rulesOnly: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
8613
8710
|
issueStartsAt: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
8614
8711
|
issueEndsAt: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
@@ -8639,8 +8736,8 @@ export declare const couponListQuerySchema: z$1.ZodObject<{
|
|
|
8639
8736
|
DELIVERY: "DELIVERY";
|
|
8640
8737
|
}>>;
|
|
8641
8738
|
issueMethod: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8642
|
-
MANUAL: "MANUAL";
|
|
8643
8739
|
CODE: "CODE";
|
|
8740
|
+
MANUAL: "MANUAL";
|
|
8644
8741
|
DOWNLOAD: "DOWNLOAD";
|
|
8645
8742
|
SIGNUP: "SIGNUP";
|
|
8646
8743
|
FLOW: "FLOW";
|
|
@@ -9087,14 +9184,14 @@ export declare const customerOrderSchema: z$1.ZodObject<{
|
|
|
9087
9184
|
optionName: z$1.ZodNullable<z$1.ZodString>;
|
|
9088
9185
|
quantity: z$1.ZodNumber;
|
|
9089
9186
|
status: z$1.ZodEnum<{
|
|
9090
|
-
PAID: "PAID";
|
|
9091
|
-
CANCELED: "CANCELED";
|
|
9092
9187
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
9188
|
+
PAID: "PAID";
|
|
9093
9189
|
CONFIRMED: "CONFIRMED";
|
|
9094
9190
|
DISPATCHED: "DISPATCHED";
|
|
9095
9191
|
DELIVERING: "DELIVERING";
|
|
9096
9192
|
DELIVERED: "DELIVERED";
|
|
9097
9193
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
9194
|
+
CANCELED: "CANCELED";
|
|
9098
9195
|
}>;
|
|
9099
9196
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9100
9197
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -9489,9 +9586,9 @@ export declare const inquirySchema: z$1.ZodObject<{
|
|
|
9489
9586
|
productName: z$1.ZodString;
|
|
9490
9587
|
orderItemId: z$1.ZodNullable<z$1.ZodString>;
|
|
9491
9588
|
category: z$1.ZodEnum<{
|
|
9492
|
-
ETC: "ETC";
|
|
9493
9589
|
PRODUCT: "PRODUCT";
|
|
9494
9590
|
DELIVERY: "DELIVERY";
|
|
9591
|
+
ETC: "ETC";
|
|
9495
9592
|
RETURN: "RETURN";
|
|
9496
9593
|
EXCHANGE: "EXCHANGE";
|
|
9497
9594
|
}>;
|
|
@@ -9508,8 +9605,8 @@ export declare const inquirySchema: z$1.ZodObject<{
|
|
|
9508
9605
|
}, z$1.core.$strip>;
|
|
9509
9606
|
export type Inquiry = z$1.infer<typeof inquirySchema>;
|
|
9510
9607
|
export declare const customerInquiryCategorySchema: z$1.ZodEnum<{
|
|
9511
|
-
ETC: "ETC";
|
|
9512
9608
|
DELIVERY: "DELIVERY";
|
|
9609
|
+
ETC: "ETC";
|
|
9513
9610
|
RETURN: "RETURN";
|
|
9514
9611
|
EXCHANGE: "EXCHANGE";
|
|
9515
9612
|
PAYMENT: "PAYMENT";
|
|
@@ -9520,8 +9617,8 @@ export declare const sellerCustomerInquirySchema: z$1.ZodObject<{
|
|
|
9520
9617
|
inquiryId: z$1.ZodString;
|
|
9521
9618
|
memberMaskedName: z$1.ZodString;
|
|
9522
9619
|
category: z$1.ZodEnum<{
|
|
9523
|
-
ETC: "ETC";
|
|
9524
9620
|
DELIVERY: "DELIVERY";
|
|
9621
|
+
ETC: "ETC";
|
|
9525
9622
|
RETURN: "RETURN";
|
|
9526
9623
|
EXCHANGE: "EXCHANGE";
|
|
9527
9624
|
PAYMENT: "PAYMENT";
|
|
@@ -9558,8 +9655,8 @@ export declare const customerInquiryListQuerySchema: z$1.ZodObject<{
|
|
|
9558
9655
|
false: "false";
|
|
9559
9656
|
}>>;
|
|
9560
9657
|
category: z$1.ZodOptional<z$1.ZodEnum<{
|
|
9561
|
-
ETC: "ETC";
|
|
9562
9658
|
DELIVERY: "DELIVERY";
|
|
9659
|
+
ETC: "ETC";
|
|
9563
9660
|
RETURN: "RETURN";
|
|
9564
9661
|
EXCHANGE: "EXCHANGE";
|
|
9565
9662
|
PAYMENT: "PAYMENT";
|
|
@@ -9568,8 +9665,8 @@ export declare const customerInquiryListQuerySchema: z$1.ZodObject<{
|
|
|
9568
9665
|
}, z$1.core.$strip>;
|
|
9569
9666
|
export declare const settlementStatusSchema: z$1.ZodEnum<{
|
|
9570
9667
|
PAID: "PAID";
|
|
9571
|
-
SCHEDULED: "SCHEDULED";
|
|
9572
9668
|
HELD: "HELD";
|
|
9669
|
+
SCHEDULED: "SCHEDULED";
|
|
9573
9670
|
}>;
|
|
9574
9671
|
export type SettlementStatus = z$1.infer<typeof settlementStatusSchema>;
|
|
9575
9672
|
export declare const settlementSummarySchema: z$1.ZodObject<{
|
|
@@ -9578,8 +9675,8 @@ export declare const settlementSummarySchema: z$1.ZodObject<{
|
|
|
9578
9675
|
payoutDate: z$1.ZodNullable<z$1.ZodString>;
|
|
9579
9676
|
status: z$1.ZodEnum<{
|
|
9580
9677
|
PAID: "PAID";
|
|
9581
|
-
SCHEDULED: "SCHEDULED";
|
|
9582
9678
|
HELD: "HELD";
|
|
9679
|
+
SCHEDULED: "SCHEDULED";
|
|
9583
9680
|
}>;
|
|
9584
9681
|
totalPaymentAmount: z$1.ZodNumber;
|
|
9585
9682
|
totalCommission: z$1.ZodNumber;
|
|
@@ -9613,8 +9710,8 @@ export declare const settlementWithDetailsSchema: z$1.ZodObject<{
|
|
|
9613
9710
|
payoutDate: z$1.ZodNullable<z$1.ZodString>;
|
|
9614
9711
|
status: z$1.ZodEnum<{
|
|
9615
9712
|
PAID: "PAID";
|
|
9616
|
-
SCHEDULED: "SCHEDULED";
|
|
9617
9713
|
HELD: "HELD";
|
|
9714
|
+
SCHEDULED: "SCHEDULED";
|
|
9618
9715
|
}>;
|
|
9619
9716
|
totalPaymentAmount: z$1.ZodNumber;
|
|
9620
9717
|
totalCommission: z$1.ZodNumber;
|
|
@@ -9648,8 +9745,8 @@ export declare const settlementListQuerySchema: z$1.ZodObject<{
|
|
|
9648
9745
|
to: z$1.ZodOptional<z$1.ZodString>;
|
|
9649
9746
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
9650
9747
|
PAID: "PAID";
|
|
9651
|
-
SCHEDULED: "SCHEDULED";
|
|
9652
9748
|
HELD: "HELD";
|
|
9749
|
+
SCHEDULED: "SCHEDULED";
|
|
9653
9750
|
}>>;
|
|
9654
9751
|
}, z$1.core.$strip>;
|
|
9655
9752
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -9686,8 +9783,8 @@ export declare const eventTypeSchema: z$1.ZodEnum<{
|
|
|
9686
9783
|
}>;
|
|
9687
9784
|
export type EventType = z$1.infer<typeof eventTypeSchema>;
|
|
9688
9785
|
export declare const webhookStatusSchema: z$1.ZodEnum<{
|
|
9689
|
-
SUSPENDED: "SUSPENDED";
|
|
9690
9786
|
ACTIVE: "ACTIVE";
|
|
9787
|
+
SUSPENDED: "SUSPENDED";
|
|
9691
9788
|
}>;
|
|
9692
9789
|
export type WebhookStatus = z$1.infer<typeof webhookStatusSchema>;
|
|
9693
9790
|
export declare const webhookSchema: z$1.ZodObject<{
|
|
@@ -9716,8 +9813,8 @@ export declare const webhookSchema: z$1.ZodObject<{
|
|
|
9716
9813
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
9717
9814
|
}>>;
|
|
9718
9815
|
status: z$1.ZodEnum<{
|
|
9719
|
-
SUSPENDED: "SUSPENDED";
|
|
9720
9816
|
ACTIVE: "ACTIVE";
|
|
9817
|
+
SUSPENDED: "SUSPENDED";
|
|
9721
9818
|
}>;
|
|
9722
9819
|
secretPrefix: z$1.ZodString;
|
|
9723
9820
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -9751,8 +9848,8 @@ export declare const webhookCreatedSchema: z$1.ZodObject<{
|
|
|
9751
9848
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
9752
9849
|
}>>;
|
|
9753
9850
|
status: z$1.ZodEnum<{
|
|
9754
|
-
SUSPENDED: "SUSPENDED";
|
|
9755
9851
|
ACTIVE: "ACTIVE";
|
|
9852
|
+
SUSPENDED: "SUSPENDED";
|
|
9756
9853
|
}>;
|
|
9757
9854
|
secretPrefix: z$1.ZodString;
|
|
9758
9855
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10141,24 +10238,24 @@ export declare const orderSummarySchema: z$1.ZodObject<{
|
|
|
10141
10238
|
itemCount: z$1.ZodNumber;
|
|
10142
10239
|
totalAmount: z$1.ZodNumber;
|
|
10143
10240
|
representativeStatus: z$1.ZodEnum<{
|
|
10144
|
-
PAID: "PAID";
|
|
10145
|
-
CANCELED: "CANCELED";
|
|
10146
10241
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10242
|
+
PAID: "PAID";
|
|
10147
10243
|
CONFIRMED: "CONFIRMED";
|
|
10148
10244
|
DISPATCHED: "DISPATCHED";
|
|
10149
10245
|
DELIVERING: "DELIVERING";
|
|
10150
10246
|
DELIVERED: "DELIVERED";
|
|
10151
10247
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10248
|
+
CANCELED: "CANCELED";
|
|
10152
10249
|
}>;
|
|
10153
10250
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10154
|
-
PAID: "PAID";
|
|
10155
|
-
CANCELED: "CANCELED";
|
|
10156
10251
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10252
|
+
PAID: "PAID";
|
|
10157
10253
|
CONFIRMED: "CONFIRMED";
|
|
10158
10254
|
DISPATCHED: "DISPATCHED";
|
|
10159
10255
|
DELIVERING: "DELIVERING";
|
|
10160
10256
|
DELIVERED: "DELIVERED";
|
|
10161
10257
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10258
|
+
CANCELED: "CANCELED";
|
|
10162
10259
|
}>>;
|
|
10163
10260
|
orderedAt: z$1.ZodString;
|
|
10164
10261
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10191,14 +10288,14 @@ export declare const orderItemSchema: z$1.ZodObject<{
|
|
|
10191
10288
|
orderId: z$1.ZodString;
|
|
10192
10289
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10193
10290
|
status: z$1.ZodEnum<{
|
|
10194
|
-
PAID: "PAID";
|
|
10195
|
-
CANCELED: "CANCELED";
|
|
10196
10291
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10292
|
+
PAID: "PAID";
|
|
10197
10293
|
CONFIRMED: "CONFIRMED";
|
|
10198
10294
|
DISPATCHED: "DISPATCHED";
|
|
10199
10295
|
DELIVERING: "DELIVERING";
|
|
10200
10296
|
DELIVERED: "DELIVERED";
|
|
10201
10297
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10298
|
+
CANCELED: "CANCELED";
|
|
10202
10299
|
}>;
|
|
10203
10300
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10204
10301
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10322,14 +10419,14 @@ export type OrderPayment = z$1.infer<typeof orderPaymentSchema>;
|
|
|
10322
10419
|
export declare const orderSchema: z$1.ZodObject<{
|
|
10323
10420
|
orderId: z$1.ZodString;
|
|
10324
10421
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10325
|
-
PAID: "PAID";
|
|
10326
|
-
CANCELED: "CANCELED";
|
|
10327
10422
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10423
|
+
PAID: "PAID";
|
|
10328
10424
|
CONFIRMED: "CONFIRMED";
|
|
10329
10425
|
DISPATCHED: "DISPATCHED";
|
|
10330
10426
|
DELIVERING: "DELIVERING";
|
|
10331
10427
|
DELIVERED: "DELIVERED";
|
|
10332
10428
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10429
|
+
CANCELED: "CANCELED";
|
|
10333
10430
|
}>>;
|
|
10334
10431
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10335
10432
|
orderedAt: z$1.ZodString;
|
|
@@ -10354,10 +10451,10 @@ export declare const orderSchema: z$1.ZodObject<{
|
|
|
10354
10451
|
payment: z$1.ZodObject<{
|
|
10355
10452
|
method: z$1.ZodEnum<{
|
|
10356
10453
|
MOBILE: "MOBILE";
|
|
10454
|
+
POINT: "POINT";
|
|
10357
10455
|
CARD: "CARD";
|
|
10358
10456
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10359
10457
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10360
|
-
POINT: "POINT";
|
|
10361
10458
|
MIXED: "MIXED";
|
|
10362
10459
|
}>;
|
|
10363
10460
|
approvedMethod: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
@@ -10445,14 +10542,14 @@ export declare const orderSchema: z$1.ZodObject<{
|
|
|
10445
10542
|
orderId: z$1.ZodString;
|
|
10446
10543
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10447
10544
|
status: z$1.ZodEnum<{
|
|
10448
|
-
PAID: "PAID";
|
|
10449
|
-
CANCELED: "CANCELED";
|
|
10450
10545
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10546
|
+
PAID: "PAID";
|
|
10451
10547
|
CONFIRMED: "CONFIRMED";
|
|
10452
10548
|
DISPATCHED: "DISPATCHED";
|
|
10453
10549
|
DELIVERING: "DELIVERING";
|
|
10454
10550
|
DELIVERED: "DELIVERED";
|
|
10455
10551
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10552
|
+
CANCELED: "CANCELED";
|
|
10456
10553
|
}>;
|
|
10457
10554
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10458
10555
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10567,24 +10664,24 @@ export declare const orderSummaryPageSchema: z$1.ZodObject<{
|
|
|
10567
10664
|
itemCount: z$1.ZodNumber;
|
|
10568
10665
|
totalAmount: z$1.ZodNumber;
|
|
10569
10666
|
representativeStatus: z$1.ZodEnum<{
|
|
10570
|
-
PAID: "PAID";
|
|
10571
|
-
CANCELED: "CANCELED";
|
|
10572
10667
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10668
|
+
PAID: "PAID";
|
|
10573
10669
|
CONFIRMED: "CONFIRMED";
|
|
10574
10670
|
DISPATCHED: "DISPATCHED";
|
|
10575
10671
|
DELIVERING: "DELIVERING";
|
|
10576
10672
|
DELIVERED: "DELIVERED";
|
|
10577
10673
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10674
|
+
CANCELED: "CANCELED";
|
|
10578
10675
|
}>;
|
|
10579
10676
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10580
|
-
PAID: "PAID";
|
|
10581
|
-
CANCELED: "CANCELED";
|
|
10582
10677
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10678
|
+
PAID: "PAID";
|
|
10583
10679
|
CONFIRMED: "CONFIRMED";
|
|
10584
10680
|
DISPATCHED: "DISPATCHED";
|
|
10585
10681
|
DELIVERING: "DELIVERING";
|
|
10586
10682
|
DELIVERED: "DELIVERED";
|
|
10587
10683
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10684
|
+
CANCELED: "CANCELED";
|
|
10588
10685
|
}>>;
|
|
10589
10686
|
orderedAt: z$1.ZodString;
|
|
10590
10687
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10604,14 +10701,14 @@ export declare const orderItemPageSchema: z$1.ZodObject<{
|
|
|
10604
10701
|
orderId: z$1.ZodString;
|
|
10605
10702
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10606
10703
|
status: z$1.ZodEnum<{
|
|
10607
|
-
PAID: "PAID";
|
|
10608
|
-
CANCELED: "CANCELED";
|
|
10609
10704
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10705
|
+
PAID: "PAID";
|
|
10610
10706
|
CONFIRMED: "CONFIRMED";
|
|
10611
10707
|
DISPATCHED: "DISPATCHED";
|
|
10612
10708
|
DELIVERING: "DELIVERING";
|
|
10613
10709
|
DELIVERED: "DELIVERED";
|
|
10614
10710
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10711
|
+
CANCELED: "CANCELED";
|
|
10615
10712
|
}>;
|
|
10616
10713
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10617
10714
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10723,15 +10820,15 @@ export declare const orderListQuerySchema: z$1.ZodObject<{
|
|
|
10723
10820
|
page: z$1.ZodOptional<z$1.ZodString>;
|
|
10724
10821
|
orderedFrom: z$1.ZodOptional<z$1.ZodString>;
|
|
10725
10822
|
orderedTo: z$1.ZodOptional<z$1.ZodString>;
|
|
10726
|
-
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10727
|
-
PAID: "PAID";
|
|
10728
|
-
CANCELED: "CANCELED";
|
|
10823
|
+
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10729
10824
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10825
|
+
PAID: "PAID";
|
|
10730
10826
|
CONFIRMED: "CONFIRMED";
|
|
10731
10827
|
DISPATCHED: "DISPATCHED";
|
|
10732
10828
|
DELIVERING: "DELIVERING";
|
|
10733
10829
|
DELIVERED: "DELIVERED";
|
|
10734
10830
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10831
|
+
CANCELED: "CANCELED";
|
|
10735
10832
|
}>>;
|
|
10736
10833
|
keyword: z$1.ZodOptional<z$1.ZodString>;
|
|
10737
10834
|
orderNo: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10840,14 +10937,14 @@ export declare const shippingOrderItemSchema: z$1.ZodObject<{
|
|
|
10840
10937
|
orderId: z$1.ZodString;
|
|
10841
10938
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10842
10939
|
status: z$1.ZodEnum<{
|
|
10843
|
-
PAID: "PAID";
|
|
10844
|
-
CANCELED: "CANCELED";
|
|
10845
10940
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10941
|
+
PAID: "PAID";
|
|
10846
10942
|
CONFIRMED: "CONFIRMED";
|
|
10847
10943
|
DISPATCHED: "DISPATCHED";
|
|
10848
10944
|
DELIVERING: "DELIVERING";
|
|
10849
10945
|
DELIVERED: "DELIVERED";
|
|
10850
10946
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10947
|
+
CANCELED: "CANCELED";
|
|
10851
10948
|
}>;
|
|
10852
10949
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10853
10950
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10994,14 +11091,14 @@ export declare const shippingOrderItemPageSchema: z$1.ZodObject<{
|
|
|
10994
11091
|
orderId: z$1.ZodString;
|
|
10995
11092
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10996
11093
|
status: z$1.ZodEnum<{
|
|
10997
|
-
PAID: "PAID";
|
|
10998
|
-
CANCELED: "CANCELED";
|
|
10999
11094
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11095
|
+
PAID: "PAID";
|
|
11000
11096
|
CONFIRMED: "CONFIRMED";
|
|
11001
11097
|
DISPATCHED: "DISPATCHED";
|
|
11002
11098
|
DELIVERING: "DELIVERING";
|
|
11003
11099
|
DELIVERED: "DELIVERED";
|
|
11004
11100
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11101
|
+
CANCELED: "CANCELED";
|
|
11005
11102
|
}>;
|
|
11006
11103
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
11007
11104
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -12433,8 +12530,8 @@ export type SalesReport = z$1.infer<typeof salesReportSchema>;
|
|
|
12433
12530
|
*/
|
|
12434
12531
|
export declare const paymentRecordStatusSchema: z$1.ZodEnum<{
|
|
12435
12532
|
FAILED: "FAILED";
|
|
12436
|
-
PENDING: "PENDING";
|
|
12437
12533
|
APPROVED: "APPROVED";
|
|
12534
|
+
PENDING: "PENDING";
|
|
12438
12535
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12439
12536
|
REFUNDED: "REFUNDED";
|
|
12440
12537
|
}>;
|
|
@@ -12478,8 +12575,8 @@ export declare const paymentRecordSchema: z$1.ZodObject<{
|
|
|
12478
12575
|
customerName: z$1.ZodString;
|
|
12479
12576
|
status: z$1.ZodEnum<{
|
|
12480
12577
|
FAILED: "FAILED";
|
|
12481
|
-
PENDING: "PENDING";
|
|
12482
12578
|
APPROVED: "APPROVED";
|
|
12579
|
+
PENDING: "PENDING";
|
|
12483
12580
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12484
12581
|
REFUNDED: "REFUNDED";
|
|
12485
12582
|
}>;
|
|
@@ -12523,8 +12620,8 @@ export declare const paymentRecordPageSchema: z$1.ZodObject<{
|
|
|
12523
12620
|
customerName: z$1.ZodString;
|
|
12524
12621
|
status: z$1.ZodEnum<{
|
|
12525
12622
|
FAILED: "FAILED";
|
|
12526
|
-
PENDING: "PENDING";
|
|
12527
12623
|
APPROVED: "APPROVED";
|
|
12624
|
+
PENDING: "PENDING";
|
|
12528
12625
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12529
12626
|
REFUNDED: "REFUNDED";
|
|
12530
12627
|
}>;
|
|
@@ -12610,8 +12707,8 @@ export declare const paymentRecordDetailSchema: z$1.ZodObject<{
|
|
|
12610
12707
|
customerName: z$1.ZodString;
|
|
12611
12708
|
status: z$1.ZodEnum<{
|
|
12612
12709
|
FAILED: "FAILED";
|
|
12613
|
-
PENDING: "PENDING";
|
|
12614
12710
|
APPROVED: "APPROVED";
|
|
12711
|
+
PENDING: "PENDING";
|
|
12615
12712
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12616
12713
|
REFUNDED: "REFUNDED";
|
|
12617
12714
|
}>;
|
|
@@ -12864,10 +12961,10 @@ export declare function reviewRewardPointOf(policy: PointPolicy, hasPhoto: boole
|
|
|
12864
12961
|
*/
|
|
12865
12962
|
export declare function pointExpiresAtOf(earnedAt: Date, days: number | null): Date | null;
|
|
12866
12963
|
/** 적립 묶음 출처 — 같은 출처 id에는 묶음이 하나뿐이다(DB 부분 유니크) */
|
|
12867
|
-
export declare const POINT_LOT_SOURCES: readonly ["REVIEW", "PURCHASE", "ADJUST", "REFUND_RESTORE", "OPENING"];
|
|
12964
|
+
export declare const POINT_LOT_SOURCES: readonly ["REVIEW", "PURCHASE", "ADJUST", "REFUND_RESTORE", "OPENING", "COUPON"];
|
|
12868
12965
|
export type PointLotSource = (typeof POINT_LOT_SOURCES)[number];
|
|
12869
12966
|
/** 원장 항목 유형 */
|
|
12870
|
-
export declare const POINT_ENTRY_TYPES: readonly ["EARN_REVIEW", "REVOKE_REVIEW", "EARN_PURCHASE", "USE_RESERVE", "USE_RELEASE", "REFUND_RESTORE", "EXPIRE", "ADJUST", "OPENING"];
|
|
12967
|
+
export declare const POINT_ENTRY_TYPES: readonly ["EARN_REVIEW", "REVOKE_REVIEW", "EARN_PURCHASE", "USE_RESERVE", "USE_RELEASE", "REFUND_RESTORE", "EXPIRE", "ADJUST", "OPENING", "EARN_COUPON"];
|
|
12871
12968
|
export type PointEntryType = (typeof POINT_ENTRY_TYPES)[number];
|
|
12872
12969
|
/** 상점 플랫폼 알림 — `REVIEW_REWARD_PAUSED` 리뷰 자동 적립이 멈춤 · `POINTS_AVAILABLE` 적립금 설정을 쓸 수 있음 */
|
|
12873
12970
|
export declare const pointPolicyNoticeSchema: z$1.ZodNullable<z$1.ZodEnum<{
|
|
@@ -12940,6 +13037,7 @@ export declare const responsePointEntryTypeSchema: z$1.ZodUnion<readonly [z$1.Zo
|
|
|
12940
13037
|
USE_RELEASE: "USE_RELEASE";
|
|
12941
13038
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
12942
13039
|
EXPIRE: "EXPIRE";
|
|
13040
|
+
EARN_COUPON: "EARN_COUPON";
|
|
12943
13041
|
}>, z$1.ZodString]>;
|
|
12944
13042
|
/** 원장 항목 — 셀러 조회용(사유·행위자 포함) */
|
|
12945
13043
|
export declare const pointEntrySchema: z$1.ZodObject<{
|
|
@@ -12955,6 +13053,7 @@ export declare const pointEntrySchema: z$1.ZodObject<{
|
|
|
12955
13053
|
USE_RELEASE: "USE_RELEASE";
|
|
12956
13054
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
12957
13055
|
EXPIRE: "EXPIRE";
|
|
13056
|
+
EARN_COUPON: "EARN_COUPON";
|
|
12958
13057
|
}>, z$1.ZodString]>;
|
|
12959
13058
|
amount: z$1.ZodNumber;
|
|
12960
13059
|
balanceAfter: z$1.ZodNumber;
|
|
@@ -12974,6 +13073,7 @@ export declare const pointLotSchema: z$1.ZodObject<{
|
|
|
12974
13073
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
12975
13074
|
REVIEW: "REVIEW";
|
|
12976
13075
|
PURCHASE: "PURCHASE";
|
|
13076
|
+
COUPON: "COUPON";
|
|
12977
13077
|
}>, z$1.ZodString]>;
|
|
12978
13078
|
amount: z$1.ZodNumber;
|
|
12979
13079
|
remaining: z$1.ZodNumber;
|
|
@@ -12993,6 +13093,7 @@ export declare const customerPointsSchema: z$1.ZodObject<{
|
|
|
12993
13093
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
12994
13094
|
REVIEW: "REVIEW";
|
|
12995
13095
|
PURCHASE: "PURCHASE";
|
|
13096
|
+
COUPON: "COUPON";
|
|
12996
13097
|
}>, z$1.ZodString]>;
|
|
12997
13098
|
amount: z$1.ZodNumber;
|
|
12998
13099
|
remaining: z$1.ZodNumber;
|
|
@@ -13038,6 +13139,7 @@ export declare const pointAdjustmentResultSchema: z$1.ZodObject<{
|
|
|
13038
13139
|
USE_RELEASE: "USE_RELEASE";
|
|
13039
13140
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13040
13141
|
EXPIRE: "EXPIRE";
|
|
13142
|
+
EARN_COUPON: "EARN_COUPON";
|
|
13041
13143
|
}>, z$1.ZodString]>;
|
|
13042
13144
|
amount: z$1.ZodNumber;
|
|
13043
13145
|
balanceAfter: z$1.ZodNumber;
|
|
@@ -13173,10 +13275,10 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
13173
13275
|
* 추가금순은 추가 선택 값이면 값의 추가금, 조합 값이면 그 값이 든 조합 추가금의 최솟값으로 비교하고 같으면 등록순이다.
|
|
13174
13276
|
*/
|
|
13175
13277
|
export declare const optionSortSchema: z$1.ZodEnum<{
|
|
13176
|
-
REGISTERED: "REGISTERED";
|
|
13177
|
-
NAME: "NAME";
|
|
13178
13278
|
PRICE_ASC: "PRICE_ASC";
|
|
13179
13279
|
PRICE_DESC: "PRICE_DESC";
|
|
13280
|
+
REGISTERED: "REGISTERED";
|
|
13281
|
+
NAME: "NAME";
|
|
13180
13282
|
}>;
|
|
13181
13283
|
export type OptionSort = z$1.infer<typeof optionSortSchema>;
|
|
13182
13284
|
/** 추가 선택 값 — 예: 옵션명 "선물 포장"의 값 "포장함"(+2,000원) */
|
|
@@ -13314,8 +13416,8 @@ export declare const customInputRequestSchema: z$1.ZodObject<{
|
|
|
13314
13416
|
number: "number";
|
|
13315
13417
|
text: "text";
|
|
13316
13418
|
date: "date";
|
|
13317
|
-
select: "select";
|
|
13318
13419
|
datetime: "datetime";
|
|
13420
|
+
select: "select";
|
|
13319
13421
|
image: "image";
|
|
13320
13422
|
}>>;
|
|
13321
13423
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
@@ -13361,11 +13463,11 @@ export declare const productSchema: z$1.ZodObject<{
|
|
|
13361
13463
|
CLOSED: "CLOSED";
|
|
13362
13464
|
}>;
|
|
13363
13465
|
updatedAt: z$1.ZodString;
|
|
13466
|
+
productId: z$1.ZodString;
|
|
13467
|
+
thumbnailUrl: z$1.ZodOptional<z$1.ZodURL>;
|
|
13364
13468
|
salePrice: z$1.ZodNumber;
|
|
13365
13469
|
stockQuantity: z$1.ZodNumber;
|
|
13366
13470
|
categoryId: z$1.ZodNullable<z$1.ZodString>;
|
|
13367
|
-
productId: z$1.ZodString;
|
|
13368
|
-
thumbnailUrl: z$1.ZodOptional<z$1.ZodURL>;
|
|
13369
13471
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13370
13472
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13371
13473
|
hasOptions: z$1.ZodBoolean;
|
|
@@ -13445,17 +13547,17 @@ export declare const productSchema: z$1.ZodObject<{
|
|
|
13445
13547
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
13446
13548
|
}, z$1.core.$strip>>>>;
|
|
13447
13549
|
optionSort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
|
|
13448
|
-
REGISTERED: "REGISTERED";
|
|
13449
|
-
NAME: "NAME";
|
|
13450
13550
|
PRICE_ASC: "PRICE_ASC";
|
|
13451
13551
|
PRICE_DESC: "PRICE_DESC";
|
|
13552
|
+
REGISTERED: "REGISTERED";
|
|
13553
|
+
NAME: "NAME";
|
|
13452
13554
|
}>>>;
|
|
13453
13555
|
fulfillment: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
13454
13556
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
13455
13557
|
shipping: z$1.ZodObject<{
|
|
13456
13558
|
deliveryType: z$1.ZodEnum<{
|
|
13457
|
-
FREE: "FREE";
|
|
13458
13559
|
PAID: "PAID";
|
|
13560
|
+
FREE: "FREE";
|
|
13459
13561
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
13460
13562
|
}>;
|
|
13461
13563
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -13705,17 +13807,17 @@ export declare const optionModelRequestSchema: z$1.ZodObject<{
|
|
|
13705
13807
|
number: "number";
|
|
13706
13808
|
text: "text";
|
|
13707
13809
|
date: "date";
|
|
13708
|
-
select: "select";
|
|
13709
13810
|
datetime: "datetime";
|
|
13811
|
+
select: "select";
|
|
13710
13812
|
image: "image";
|
|
13711
13813
|
}>>;
|
|
13712
13814
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
13713
13815
|
}, z$1.core.$strict>>>;
|
|
13714
13816
|
optionSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13715
|
-
REGISTERED: "REGISTERED";
|
|
13716
|
-
NAME: "NAME";
|
|
13717
13817
|
PRICE_ASC: "PRICE_ASC";
|
|
13718
13818
|
PRICE_DESC: "PRICE_DESC";
|
|
13819
|
+
REGISTERED: "REGISTERED";
|
|
13820
|
+
NAME: "NAME";
|
|
13719
13821
|
}>>;
|
|
13720
13822
|
}, z$1.core.$strict>;
|
|
13721
13823
|
export type OptionModelRequest = z$1.infer<typeof optionModelRequestSchema>;
|
|
@@ -13781,10 +13883,10 @@ export declare const optionModelSchema: z$1.ZodObject<{
|
|
|
13781
13883
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
13782
13884
|
}, z$1.core.$strip>>>>;
|
|
13783
13885
|
optionSort: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
|
|
13784
|
-
REGISTERED: "REGISTERED";
|
|
13785
|
-
NAME: "NAME";
|
|
13786
13886
|
PRICE_ASC: "PRICE_ASC";
|
|
13787
13887
|
PRICE_DESC: "PRICE_DESC";
|
|
13888
|
+
REGISTERED: "REGISTERED";
|
|
13889
|
+
NAME: "NAME";
|
|
13788
13890
|
}>>>;
|
|
13789
13891
|
}, z$1.core.$strip>;
|
|
13790
13892
|
export type OptionModel = z$1.infer<typeof optionModelSchema>;
|
|
@@ -13813,8 +13915,8 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
13813
13915
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
13814
13916
|
shipping: z$1.ZodOptional<z$1.ZodObject<{
|
|
13815
13917
|
deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
13816
|
-
FREE: "FREE";
|
|
13817
13918
|
PAID: "PAID";
|
|
13919
|
+
FREE: "FREE";
|
|
13818
13920
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
13819
13921
|
}>>;
|
|
13820
13922
|
deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -13951,17 +14053,17 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
13951
14053
|
number: "number";
|
|
13952
14054
|
text: "text";
|
|
13953
14055
|
date: "date";
|
|
13954
|
-
select: "select";
|
|
13955
14056
|
datetime: "datetime";
|
|
14057
|
+
select: "select";
|
|
13956
14058
|
image: "image";
|
|
13957
14059
|
}>>;
|
|
13958
14060
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
13959
14061
|
}, z$1.core.$strict>>>;
|
|
13960
14062
|
optionSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13961
|
-
REGISTERED: "REGISTERED";
|
|
13962
|
-
NAME: "NAME";
|
|
13963
14063
|
PRICE_ASC: "PRICE_ASC";
|
|
13964
14064
|
PRICE_DESC: "PRICE_DESC";
|
|
14065
|
+
REGISTERED: "REGISTERED";
|
|
14066
|
+
NAME: "NAME";
|
|
13965
14067
|
}>>;
|
|
13966
14068
|
name: z$1.ZodString;
|
|
13967
14069
|
categoryId: z$1.ZodString;
|
|
@@ -14057,8 +14159,8 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14057
14159
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14058
14160
|
shipping: z$1.ZodObject<{
|
|
14059
14161
|
deliveryType: z$1.ZodEnum<{
|
|
14060
|
-
FREE: "FREE";
|
|
14061
14162
|
PAID: "PAID";
|
|
14163
|
+
FREE: "FREE";
|
|
14062
14164
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14063
14165
|
}>;
|
|
14064
14166
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14195,17 +14297,17 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14195
14297
|
number: "number";
|
|
14196
14298
|
text: "text";
|
|
14197
14299
|
date: "date";
|
|
14198
|
-
select: "select";
|
|
14199
14300
|
datetime: "datetime";
|
|
14301
|
+
select: "select";
|
|
14200
14302
|
image: "image";
|
|
14201
14303
|
}>>;
|
|
14202
14304
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
14203
14305
|
}, z$1.core.$strict>>>;
|
|
14204
14306
|
optionSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14205
|
-
REGISTERED: "REGISTERED";
|
|
14206
|
-
NAME: "NAME";
|
|
14207
14307
|
PRICE_ASC: "PRICE_ASC";
|
|
14208
14308
|
PRICE_DESC: "PRICE_DESC";
|
|
14309
|
+
REGISTERED: "REGISTERED";
|
|
14310
|
+
NAME: "NAME";
|
|
14209
14311
|
}>>;
|
|
14210
14312
|
name: z$1.ZodString;
|
|
14211
14313
|
categoryId: z$1.ZodString;
|
|
@@ -14310,8 +14412,8 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14310
14412
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14311
14413
|
shipping: z$1.ZodObject<{
|
|
14312
14414
|
deliveryType: z$1.ZodEnum<{
|
|
14313
|
-
FREE: "FREE";
|
|
14314
14415
|
PAID: "PAID";
|
|
14416
|
+
FREE: "FREE";
|
|
14315
14417
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14316
14418
|
}>;
|
|
14317
14419
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14474,8 +14576,8 @@ export declare const productImportStatusSchema: z.ZodEnum<{
|
|
|
14474
14576
|
QUEUED: "QUEUED";
|
|
14475
14577
|
RUNNING: "RUNNING";
|
|
14476
14578
|
FAILED: "FAILED";
|
|
14477
|
-
SUCCEEDED: "SUCCEEDED";
|
|
14478
14579
|
DRAFT: "DRAFT";
|
|
14580
|
+
SUCCEEDED: "SUCCEEDED";
|
|
14479
14581
|
}>;
|
|
14480
14582
|
export type ProductImportStatus = z.infer<typeof productImportStatusSchema>;
|
|
14481
14583
|
export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -14486,8 +14588,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14486
14588
|
type: z.ZodLiteral<"SHIPPING">;
|
|
14487
14589
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
14488
14590
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
14489
|
-
FREE: "FREE";
|
|
14490
14591
|
PAID: "PAID";
|
|
14592
|
+
FREE: "FREE";
|
|
14491
14593
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14492
14594
|
}>>;
|
|
14493
14595
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14624,17 +14726,17 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14624
14726
|
number: "number";
|
|
14625
14727
|
text: "text";
|
|
14626
14728
|
date: "date";
|
|
14627
|
-
select: "select";
|
|
14628
14729
|
datetime: "datetime";
|
|
14730
|
+
select: "select";
|
|
14629
14731
|
image: "image";
|
|
14630
14732
|
}>>;
|
|
14631
14733
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14632
14734
|
}, z.core.$strict>>>;
|
|
14633
14735
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
14634
|
-
REGISTERED: "REGISTERED";
|
|
14635
|
-
NAME: "NAME";
|
|
14636
14736
|
PRICE_ASC: "PRICE_ASC";
|
|
14637
14737
|
PRICE_DESC: "PRICE_DESC";
|
|
14738
|
+
REGISTERED: "REGISTERED";
|
|
14739
|
+
NAME: "NAME";
|
|
14638
14740
|
}>>;
|
|
14639
14741
|
name: z.ZodString;
|
|
14640
14742
|
categoryId: z.ZodString;
|
|
@@ -14738,8 +14840,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14738
14840
|
type: z.ZodLiteral<"SHIPPING">;
|
|
14739
14841
|
shipping: z.ZodObject<{
|
|
14740
14842
|
deliveryType: z.ZodEnum<{
|
|
14741
|
-
FREE: "FREE";
|
|
14742
14843
|
PAID: "PAID";
|
|
14844
|
+
FREE: "FREE";
|
|
14743
14845
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14744
14846
|
}>;
|
|
14745
14847
|
deliveryFee: z.ZodNumber;
|
|
@@ -14876,17 +14978,17 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14876
14978
|
number: "number";
|
|
14877
14979
|
text: "text";
|
|
14878
14980
|
date: "date";
|
|
14879
|
-
select: "select";
|
|
14880
14981
|
datetime: "datetime";
|
|
14982
|
+
select: "select";
|
|
14881
14983
|
image: "image";
|
|
14882
14984
|
}>>;
|
|
14883
14985
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14884
14986
|
}, z.core.$strict>>>;
|
|
14885
14987
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
14886
|
-
REGISTERED: "REGISTERED";
|
|
14887
|
-
NAME: "NAME";
|
|
14888
14988
|
PRICE_ASC: "PRICE_ASC";
|
|
14889
14989
|
PRICE_DESC: "PRICE_DESC";
|
|
14990
|
+
REGISTERED: "REGISTERED";
|
|
14991
|
+
NAME: "NAME";
|
|
14890
14992
|
}>>;
|
|
14891
14993
|
name: z.ZodString;
|
|
14892
14994
|
categoryId: z.ZodString;
|
|
@@ -14993,8 +15095,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
14993
15095
|
type: z.ZodLiteral<"SHIPPING">;
|
|
14994
15096
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
14995
15097
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
14996
|
-
FREE: "FREE";
|
|
14997
15098
|
PAID: "PAID";
|
|
15099
|
+
FREE: "FREE";
|
|
14998
15100
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14999
15101
|
}>>;
|
|
15000
15102
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15131,17 +15233,17 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15131
15233
|
number: "number";
|
|
15132
15234
|
text: "text";
|
|
15133
15235
|
date: "date";
|
|
15134
|
-
select: "select";
|
|
15135
15236
|
datetime: "datetime";
|
|
15237
|
+
select: "select";
|
|
15136
15238
|
image: "image";
|
|
15137
15239
|
}>>;
|
|
15138
15240
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15139
15241
|
}, z.core.$strict>>>;
|
|
15140
15242
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
15141
|
-
REGISTERED: "REGISTERED";
|
|
15142
|
-
NAME: "NAME";
|
|
15143
15243
|
PRICE_ASC: "PRICE_ASC";
|
|
15144
15244
|
PRICE_DESC: "PRICE_DESC";
|
|
15245
|
+
REGISTERED: "REGISTERED";
|
|
15246
|
+
NAME: "NAME";
|
|
15145
15247
|
}>>;
|
|
15146
15248
|
name: z.ZodString;
|
|
15147
15249
|
categoryId: z.ZodString;
|
|
@@ -15245,8 +15347,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15245
15347
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15246
15348
|
shipping: z.ZodObject<{
|
|
15247
15349
|
deliveryType: z.ZodEnum<{
|
|
15248
|
-
FREE: "FREE";
|
|
15249
15350
|
PAID: "PAID";
|
|
15351
|
+
FREE: "FREE";
|
|
15250
15352
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15251
15353
|
}>;
|
|
15252
15354
|
deliveryFee: z.ZodNumber;
|
|
@@ -15383,17 +15485,17 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15383
15485
|
number: "number";
|
|
15384
15486
|
text: "text";
|
|
15385
15487
|
date: "date";
|
|
15386
|
-
select: "select";
|
|
15387
15488
|
datetime: "datetime";
|
|
15489
|
+
select: "select";
|
|
15388
15490
|
image: "image";
|
|
15389
15491
|
}>>;
|
|
15390
15492
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15391
15493
|
}, z.core.$strict>>>;
|
|
15392
15494
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
15393
|
-
REGISTERED: "REGISTERED";
|
|
15394
|
-
NAME: "NAME";
|
|
15395
15495
|
PRICE_ASC: "PRICE_ASC";
|
|
15396
15496
|
PRICE_DESC: "PRICE_DESC";
|
|
15497
|
+
REGISTERED: "REGISTERED";
|
|
15498
|
+
NAME: "NAME";
|
|
15397
15499
|
}>>;
|
|
15398
15500
|
name: z.ZodString;
|
|
15399
15501
|
categoryId: z.ZodString;
|
|
@@ -15828,10 +15930,10 @@ export declare const savedOptionSetSchema: z$1.ZodObject<{
|
|
|
15828
15930
|
optionSetId: z$1.ZodString;
|
|
15829
15931
|
name: z$1.ZodString;
|
|
15830
15932
|
optionSort: z$1.ZodEnum<{
|
|
15831
|
-
REGISTERED: "REGISTERED";
|
|
15832
|
-
NAME: "NAME";
|
|
15833
15933
|
PRICE_ASC: "PRICE_ASC";
|
|
15834
15934
|
PRICE_DESC: "PRICE_DESC";
|
|
15935
|
+
REGISTERED: "REGISTERED";
|
|
15936
|
+
NAME: "NAME";
|
|
15835
15937
|
}>;
|
|
15836
15938
|
groups: z$1.ZodArray<z$1.ZodObject<{
|
|
15837
15939
|
name: z$1.ZodString;
|
|
@@ -15883,8 +15985,8 @@ export declare const savedCustomInputRequestSchema: z$1.ZodObject<{
|
|
|
15883
15985
|
number: "number";
|
|
15884
15986
|
text: "text";
|
|
15885
15987
|
date: "date";
|
|
15886
|
-
select: "select";
|
|
15887
15988
|
datetime: "datetime";
|
|
15989
|
+
select: "select";
|
|
15888
15990
|
image: "image";
|
|
15889
15991
|
}>>;
|
|
15890
15992
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
@@ -15896,10 +15998,10 @@ export declare const savedCustomInputRequestSchema: z$1.ZodObject<{
|
|
|
15896
15998
|
export declare const savedOptionSetRequestSchema: z$1.ZodObject<{
|
|
15897
15999
|
name: z$1.ZodString;
|
|
15898
16000
|
optionSort: z$1.ZodDefault<z$1.ZodEnum<{
|
|
15899
|
-
REGISTERED: "REGISTERED";
|
|
15900
|
-
NAME: "NAME";
|
|
15901
16001
|
PRICE_ASC: "PRICE_ASC";
|
|
15902
16002
|
PRICE_DESC: "PRICE_DESC";
|
|
16003
|
+
REGISTERED: "REGISTERED";
|
|
16004
|
+
NAME: "NAME";
|
|
15903
16005
|
}>>;
|
|
15904
16006
|
groups: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
15905
16007
|
name: z$1.ZodString;
|
|
@@ -15923,8 +16025,8 @@ export declare const savedOptionSetRequestSchema: z$1.ZodObject<{
|
|
|
15923
16025
|
number: "number";
|
|
15924
16026
|
text: "text";
|
|
15925
16027
|
date: "date";
|
|
15926
|
-
select: "select";
|
|
15927
16028
|
datetime: "datetime";
|
|
16029
|
+
select: "select";
|
|
15928
16030
|
image: "image";
|
|
15929
16031
|
}>>;
|
|
15930
16032
|
options: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
@@ -15952,10 +16054,10 @@ export declare const savedOptionSetFromProductResultSchema: z$1.ZodObject<{
|
|
|
15952
16054
|
optionSetId: z$1.ZodString;
|
|
15953
16055
|
name: z$1.ZodString;
|
|
15954
16056
|
optionSort: z$1.ZodEnum<{
|
|
15955
|
-
REGISTERED: "REGISTERED";
|
|
15956
|
-
NAME: "NAME";
|
|
15957
16057
|
PRICE_ASC: "PRICE_ASC";
|
|
15958
16058
|
PRICE_DESC: "PRICE_DESC";
|
|
16059
|
+
REGISTERED: "REGISTERED";
|
|
16060
|
+
NAME: "NAME";
|
|
15959
16061
|
}>;
|
|
15960
16062
|
groups: z$1.ZodArray<z$1.ZodObject<{
|
|
15961
16063
|
name: z$1.ZodString;
|
|
@@ -16357,9 +16459,9 @@ export declare const storeSchema: z$1.ZodObject<{
|
|
|
16357
16459
|
storeCode: z$1.ZodString;
|
|
16358
16460
|
storefrontUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16359
16461
|
status: z$1.ZodEnum<{
|
|
16462
|
+
ACTIVE: "ACTIVE";
|
|
16360
16463
|
SUSPENDED: "SUSPENDED";
|
|
16361
16464
|
CLOSED: "CLOSED";
|
|
16362
|
-
ACTIVE: "ACTIVE";
|
|
16363
16465
|
}>;
|
|
16364
16466
|
logoUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16365
16467
|
businessNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16399,9 +16501,9 @@ export declare const invitationSchema: z$1.ZodObject<{
|
|
|
16399
16501
|
}>;
|
|
16400
16502
|
status: z$1.ZodEnum<{
|
|
16401
16503
|
EXPIRED: "EXPIRED";
|
|
16504
|
+
CANCELED: "CANCELED";
|
|
16402
16505
|
PENDING: "PENDING";
|
|
16403
16506
|
ACCEPTED: "ACCEPTED";
|
|
16404
|
-
CANCELED: "CANCELED";
|
|
16405
16507
|
}>;
|
|
16406
16508
|
invitedBy: z$1.ZodString;
|
|
16407
16509
|
expiresAt: z$1.ZodString;
|
|
@@ -16439,9 +16541,9 @@ export type UpdateMemberRoleRequest = z$1.infer<typeof updateMemberRoleRequestSc
|
|
|
16439
16541
|
export declare const invitationListQuerySchema: z$1.ZodObject<{
|
|
16440
16542
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16441
16543
|
EXPIRED: "EXPIRED";
|
|
16544
|
+
CANCELED: "CANCELED";
|
|
16442
16545
|
PENDING: "PENDING";
|
|
16443
16546
|
ACCEPTED: "ACCEPTED";
|
|
16444
|
-
CANCELED: "CANCELED";
|
|
16445
16547
|
}>>;
|
|
16446
16548
|
}, z$1.core.$strip>;
|
|
16447
16549
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -16682,9 +16784,9 @@ export declare const storefrontVersionSchema: z$1.ZodObject<{
|
|
|
16682
16784
|
}, z$1.core.$strip>;
|
|
16683
16785
|
export type StorefrontVersion = z$1.infer<typeof storefrontVersionSchema>;
|
|
16684
16786
|
export declare const storefrontSiteStatusSchema: z$1.ZodEnum<{
|
|
16787
|
+
ACTIVE: "ACTIVE";
|
|
16685
16788
|
SUSPENDED: "SUSPENDED";
|
|
16686
16789
|
CLOSED: "CLOSED";
|
|
16687
|
-
ACTIVE: "ACTIVE";
|
|
16688
16790
|
}>;
|
|
16689
16791
|
export type StorefrontSiteStatus = z$1.infer<typeof storefrontSiteStatusSchema>;
|
|
16690
16792
|
export declare const storefrontVisibilitySchema: z$1.ZodEnum<{
|
|
@@ -16773,9 +16875,9 @@ export declare const storefrontSiteSchema: z$1.ZodObject<{
|
|
|
16773
16875
|
MANAGED: "MANAGED";
|
|
16774
16876
|
}>;
|
|
16775
16877
|
status: z$1.ZodEnum<{
|
|
16878
|
+
ACTIVE: "ACTIVE";
|
|
16776
16879
|
SUSPENDED: "SUSPENDED";
|
|
16777
16880
|
CLOSED: "CLOSED";
|
|
16778
|
-
ACTIVE: "ACTIVE";
|
|
16779
16881
|
}>;
|
|
16780
16882
|
visibility: z$1.ZodEnum<{
|
|
16781
16883
|
COMING_SOON: "COMING_SOON";
|
|
@@ -16865,9 +16967,9 @@ export declare const storefrontHostingSchema: z$1.ZodObject<{
|
|
|
16865
16967
|
MANAGED: "MANAGED";
|
|
16866
16968
|
}>;
|
|
16867
16969
|
status: z$1.ZodEnum<{
|
|
16970
|
+
ACTIVE: "ACTIVE";
|
|
16868
16971
|
SUSPENDED: "SUSPENDED";
|
|
16869
16972
|
CLOSED: "CLOSED";
|
|
16870
|
-
ACTIVE: "ACTIVE";
|
|
16871
16973
|
}>;
|
|
16872
16974
|
visibility: z$1.ZodEnum<{
|
|
16873
16975
|
COMING_SOON: "COMING_SOON";
|
|
@@ -18134,9 +18236,9 @@ export declare const myStoreSchema: z$1.ZodObject<{
|
|
|
18134
18236
|
OWNER: "OWNER";
|
|
18135
18237
|
}>;
|
|
18136
18238
|
status: z$1.ZodEnum<{
|
|
18239
|
+
ACTIVE: "ACTIVE";
|
|
18137
18240
|
SUSPENDED: "SUSPENDED";
|
|
18138
18241
|
CLOSED: "CLOSED";
|
|
18139
|
-
ACTIVE: "ACTIVE";
|
|
18140
18242
|
}>;
|
|
18141
18243
|
}, z$1.core.$strip>;
|
|
18142
18244
|
export type MyStore = z$1.infer<typeof myStoreSchema>;
|
|
@@ -18292,7 +18394,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18292
18394
|
storeName: string;
|
|
18293
18395
|
storeCode: string;
|
|
18294
18396
|
role: "ADMIN" | "STAFF" | "OWNER";
|
|
18295
|
-
status: "
|
|
18397
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
18296
18398
|
}[]>;
|
|
18297
18399
|
me: () => Promise<{
|
|
18298
18400
|
userId: string;
|
|
@@ -18354,10 +18456,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18354
18456
|
name: string;
|
|
18355
18457
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18356
18458
|
updatedAt: string;
|
|
18459
|
+
productId: string;
|
|
18357
18460
|
salePrice: number;
|
|
18358
18461
|
stockQuantity: number;
|
|
18359
18462
|
categoryId: string | null;
|
|
18360
|
-
productId: string;
|
|
18361
18463
|
productNo: number | null;
|
|
18362
18464
|
discountedPrice: number | null;
|
|
18363
18465
|
hasOptions: boolean;
|
|
@@ -18421,11 +18523,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18421
18523
|
type?: string | undefined;
|
|
18422
18524
|
options?: string[] | null | undefined;
|
|
18423
18525
|
}[];
|
|
18424
|
-
optionSort: "
|
|
18526
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
18425
18527
|
fulfillment: UnknownFulfillment | {
|
|
18426
18528
|
type: "SHIPPING";
|
|
18427
18529
|
shipping: {
|
|
18428
|
-
deliveryType: "
|
|
18530
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18429
18531
|
deliveryFee: number;
|
|
18430
18532
|
conditionalFreeAmount: number | null;
|
|
18431
18533
|
shippingAddressId: string | null;
|
|
@@ -18503,10 +18605,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18503
18605
|
name: string;
|
|
18504
18606
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18505
18607
|
updatedAt: string;
|
|
18608
|
+
productId: string;
|
|
18506
18609
|
salePrice: number;
|
|
18507
18610
|
stockQuantity: number;
|
|
18508
18611
|
categoryId: string | null;
|
|
18509
|
-
productId: string;
|
|
18510
18612
|
productNo: number | null;
|
|
18511
18613
|
discountedPrice: number | null;
|
|
18512
18614
|
hasOptions: boolean;
|
|
@@ -18570,11 +18672,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18570
18672
|
type?: string | undefined;
|
|
18571
18673
|
options?: string[] | null | undefined;
|
|
18572
18674
|
}[];
|
|
18573
|
-
optionSort: "
|
|
18675
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
18574
18676
|
fulfillment: UnknownFulfillment | {
|
|
18575
18677
|
type: "SHIPPING";
|
|
18576
18678
|
shipping: {
|
|
18577
|
-
deliveryType: "
|
|
18679
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18578
18680
|
deliveryFee: number;
|
|
18579
18681
|
conditionalFreeAmount: number | null;
|
|
18580
18682
|
shippingAddressId: string | null;
|
|
@@ -18652,10 +18754,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18652
18754
|
name: string;
|
|
18653
18755
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18654
18756
|
updatedAt: string;
|
|
18757
|
+
productId: string;
|
|
18655
18758
|
salePrice: number;
|
|
18656
18759
|
stockQuantity: number;
|
|
18657
18760
|
categoryId: string | null;
|
|
18658
|
-
productId: string;
|
|
18659
18761
|
productNo: number | null;
|
|
18660
18762
|
discountedPrice: number | null;
|
|
18661
18763
|
hasOptions: boolean;
|
|
@@ -18719,11 +18821,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18719
18821
|
type?: string | undefined;
|
|
18720
18822
|
options?: string[] | null | undefined;
|
|
18721
18823
|
}[];
|
|
18722
|
-
optionSort: "
|
|
18824
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
18723
18825
|
fulfillment: UnknownFulfillment | {
|
|
18724
18826
|
type: "SHIPPING";
|
|
18725
18827
|
shipping: {
|
|
18726
|
-
deliveryType: "
|
|
18828
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18727
18829
|
deliveryFee: number;
|
|
18728
18830
|
conditionalFreeAmount: number | null;
|
|
18729
18831
|
shippingAddressId: string | null;
|
|
@@ -18983,10 +19085,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18983
19085
|
name: string;
|
|
18984
19086
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18985
19087
|
updatedAt: string;
|
|
19088
|
+
productId: string;
|
|
18986
19089
|
salePrice: number;
|
|
18987
19090
|
stockQuantity: number;
|
|
18988
19091
|
categoryId: string | null;
|
|
18989
|
-
productId: string;
|
|
18990
19092
|
productNo: number | null;
|
|
18991
19093
|
discountedPrice: number | null;
|
|
18992
19094
|
hasOptions: boolean;
|
|
@@ -19050,11 +19152,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19050
19152
|
type?: string | undefined;
|
|
19051
19153
|
options?: string[] | null | undefined;
|
|
19052
19154
|
}[];
|
|
19053
|
-
optionSort: "
|
|
19155
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19054
19156
|
fulfillment: UnknownFulfillment | {
|
|
19055
19157
|
type: "SHIPPING";
|
|
19056
19158
|
shipping: {
|
|
19057
|
-
deliveryType: "
|
|
19159
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
19058
19160
|
deliveryFee: number;
|
|
19059
19161
|
conditionalFreeAmount: number | null;
|
|
19060
19162
|
shippingAddressId: string | null;
|
|
@@ -19190,7 +19292,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19190
19292
|
type?: string | undefined;
|
|
19191
19293
|
options?: string[] | null | undefined;
|
|
19192
19294
|
}[];
|
|
19193
|
-
optionSort: "
|
|
19295
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19194
19296
|
}>;
|
|
19195
19297
|
/**
|
|
19196
19298
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -19256,7 +19358,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19256
19358
|
type?: string | undefined;
|
|
19257
19359
|
options?: string[] | null | undefined;
|
|
19258
19360
|
}[];
|
|
19259
|
-
optionSort: "
|
|
19361
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19260
19362
|
}>;
|
|
19261
19363
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
19262
19364
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -19305,7 +19407,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19305
19407
|
contents: {
|
|
19306
19408
|
optionSetId: string;
|
|
19307
19409
|
name: string;
|
|
19308
|
-
optionSort: "
|
|
19410
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19309
19411
|
groups: {
|
|
19310
19412
|
name: string;
|
|
19311
19413
|
kind: string;
|
|
@@ -19332,7 +19434,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19332
19434
|
get: (optionSetId: string) => Promise<{
|
|
19333
19435
|
optionSetId: string;
|
|
19334
19436
|
name: string;
|
|
19335
|
-
optionSort: "
|
|
19437
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19336
19438
|
groups: {
|
|
19337
19439
|
name: string;
|
|
19338
19440
|
kind: string;
|
|
@@ -19359,7 +19461,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19359
19461
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
19360
19462
|
optionSetId: string;
|
|
19361
19463
|
name: string;
|
|
19362
|
-
optionSort: "
|
|
19464
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19363
19465
|
groups: {
|
|
19364
19466
|
name: string;
|
|
19365
19467
|
kind: string;
|
|
@@ -19386,7 +19488,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19386
19488
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
19387
19489
|
optionSetId: string;
|
|
19388
19490
|
name: string;
|
|
19389
|
-
optionSort: "
|
|
19491
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19390
19492
|
groups: {
|
|
19391
19493
|
name: string;
|
|
19392
19494
|
kind: string;
|
|
@@ -19415,7 +19517,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19415
19517
|
optionSet: {
|
|
19416
19518
|
optionSetId: string;
|
|
19417
19519
|
name: string;
|
|
19418
|
-
optionSort: "
|
|
19520
|
+
optionSort: "PRICE_ASC" | "PRICE_DESC" | "REGISTERED" | "NAME";
|
|
19419
19521
|
groups: {
|
|
19420
19522
|
name: string;
|
|
19421
19523
|
kind: string;
|
|
@@ -20100,10 +20202,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20100
20202
|
ordererName: string;
|
|
20101
20203
|
itemCount: number;
|
|
20102
20204
|
totalAmount: number;
|
|
20103
|
-
representativeStatus: "
|
|
20205
|
+
representativeStatus: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20104
20206
|
orderedAt: string;
|
|
20105
20207
|
testPayment: boolean;
|
|
20106
|
-
progressStatus?: "
|
|
20208
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
20107
20209
|
currency?: string | undefined;
|
|
20108
20210
|
}[];
|
|
20109
20211
|
}>;
|
|
@@ -20130,7 +20232,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20130
20232
|
entranceCode?: string | null | undefined;
|
|
20131
20233
|
};
|
|
20132
20234
|
payment: {
|
|
20133
|
-
method: "MOBILE" | "
|
|
20235
|
+
method: "MOBILE" | "POINT" | "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MIXED";
|
|
20134
20236
|
approvedMethod: string | null;
|
|
20135
20237
|
easyPayProvider: string | null;
|
|
20136
20238
|
productAmount: number;
|
|
@@ -20213,7 +20315,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20213
20315
|
orderItemNo: string | null;
|
|
20214
20316
|
orderId: string;
|
|
20215
20317
|
paymentId: string | null;
|
|
20216
|
-
status: "
|
|
20318
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20217
20319
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20218
20320
|
productId: string;
|
|
20219
20321
|
productName: string;
|
|
@@ -20289,7 +20391,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20289
20391
|
}[];
|
|
20290
20392
|
} | undefined;
|
|
20291
20393
|
}[];
|
|
20292
|
-
progressStatus?: "
|
|
20394
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
20293
20395
|
currency?: string | undefined;
|
|
20294
20396
|
locale?: string | null | undefined;
|
|
20295
20397
|
}>;
|
|
@@ -20381,7 +20483,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20381
20483
|
orderItemNo: string | null;
|
|
20382
20484
|
orderId: string;
|
|
20383
20485
|
paymentId: string | null;
|
|
20384
|
-
status: "
|
|
20486
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20385
20487
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20386
20488
|
productId: string;
|
|
20387
20489
|
productName: string;
|
|
@@ -20469,7 +20571,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20469
20571
|
orderItemNo: string | null;
|
|
20470
20572
|
orderId: string;
|
|
20471
20573
|
paymentId: string | null;
|
|
20472
|
-
status: "
|
|
20574
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20473
20575
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20474
20576
|
productId: string;
|
|
20475
20577
|
productName: string;
|
|
@@ -20647,7 +20749,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20647
20749
|
orderItemNo: string | null;
|
|
20648
20750
|
orderId: string;
|
|
20649
20751
|
paymentId: string | null;
|
|
20650
|
-
status: "
|
|
20752
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20651
20753
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20652
20754
|
productId: string;
|
|
20653
20755
|
productName: string;
|
|
@@ -20743,7 +20845,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20743
20845
|
orderItemNo: string | null;
|
|
20744
20846
|
orderId: string;
|
|
20745
20847
|
paymentId: string | null;
|
|
20746
|
-
status: "
|
|
20848
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20747
20849
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20748
20850
|
productId: string;
|
|
20749
20851
|
productName: string;
|
|
@@ -20865,8 +20967,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20865
20967
|
label: string;
|
|
20866
20968
|
enteredAt: string;
|
|
20867
20969
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
20868
|
-
coreStatus?: "
|
|
20869
|
-
claimStatus?: "
|
|
20970
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
20971
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
20870
20972
|
message?: string | undefined;
|
|
20871
20973
|
deadlineAt?: string | undefined;
|
|
20872
20974
|
attachments?: string[] | undefined;
|
|
@@ -20886,7 +20988,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20886
20988
|
actions: {
|
|
20887
20989
|
key: string;
|
|
20888
20990
|
label: string;
|
|
20889
|
-
mode: "
|
|
20991
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
20890
20992
|
enabled: boolean;
|
|
20891
20993
|
disabled?: {
|
|
20892
20994
|
reason: string;
|
|
@@ -20923,15 +21025,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20923
21025
|
moveTargets?: {
|
|
20924
21026
|
key: string;
|
|
20925
21027
|
label: string;
|
|
20926
|
-
coreStatus: "
|
|
21028
|
+
coreStatus: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | null;
|
|
20927
21029
|
}[] | undefined;
|
|
20928
21030
|
branches?: {
|
|
20929
21031
|
key: string;
|
|
20930
21032
|
label: string;
|
|
20931
21033
|
enteredAt: string;
|
|
20932
21034
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
20933
|
-
coreStatus?: "
|
|
20934
|
-
claimStatus?: "
|
|
21035
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21036
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
20935
21037
|
message?: string | undefined;
|
|
20936
21038
|
deadlineAt?: string | undefined;
|
|
20937
21039
|
attachments?: string[] | undefined;
|
|
@@ -20960,8 +21062,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20960
21062
|
label: string;
|
|
20961
21063
|
enteredAt: string;
|
|
20962
21064
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
20963
|
-
coreStatus?: "
|
|
20964
|
-
claimStatus?: "
|
|
21065
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21066
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
20965
21067
|
message?: string | undefined;
|
|
20966
21068
|
deadlineAt?: string | undefined;
|
|
20967
21069
|
attachments?: string[] | undefined;
|
|
@@ -20981,7 +21083,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20981
21083
|
actions: {
|
|
20982
21084
|
key: string;
|
|
20983
21085
|
label: string;
|
|
20984
|
-
mode: "
|
|
21086
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
20985
21087
|
enabled: boolean;
|
|
20986
21088
|
disabled?: {
|
|
20987
21089
|
reason: string;
|
|
@@ -21023,8 +21125,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21023
21125
|
label: string;
|
|
21024
21126
|
enteredAt: string;
|
|
21025
21127
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21026
|
-
coreStatus?: "
|
|
21027
|
-
claimStatus?: "
|
|
21128
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21129
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
21028
21130
|
message?: string | undefined;
|
|
21029
21131
|
deadlineAt?: string | undefined;
|
|
21030
21132
|
attachments?: string[] | undefined;
|
|
@@ -21044,7 +21146,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21044
21146
|
actions: {
|
|
21045
21147
|
key: string;
|
|
21046
21148
|
label: string;
|
|
21047
|
-
mode: "
|
|
21149
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
21048
21150
|
enabled: boolean;
|
|
21049
21151
|
disabled?: {
|
|
21050
21152
|
reason: string;
|
|
@@ -21085,8 +21187,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21085
21187
|
label: string;
|
|
21086
21188
|
enteredAt: string;
|
|
21087
21189
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21088
|
-
coreStatus?: "
|
|
21089
|
-
claimStatus?: "
|
|
21190
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21191
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
21090
21192
|
message?: string | undefined;
|
|
21091
21193
|
deadlineAt?: string | undefined;
|
|
21092
21194
|
attachments?: string[] | undefined;
|
|
@@ -21106,7 +21208,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21106
21208
|
actions: {
|
|
21107
21209
|
key: string;
|
|
21108
21210
|
label: string;
|
|
21109
|
-
mode: "
|
|
21211
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
21110
21212
|
enabled: boolean;
|
|
21111
21213
|
disabled?: {
|
|
21112
21214
|
reason: string;
|
|
@@ -21222,7 +21324,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21222
21324
|
presetKey: string | null;
|
|
21223
21325
|
presetVersion: number | null;
|
|
21224
21326
|
activeVersion: number | null;
|
|
21225
|
-
defaultFor: "
|
|
21327
|
+
defaultFor: "MANUAL" | "SHIPPING" | null;
|
|
21226
21328
|
archivedAt: string | null;
|
|
21227
21329
|
createdAt: string;
|
|
21228
21330
|
updatedAt: string;
|
|
@@ -21236,7 +21338,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21236
21338
|
presetKey: string | null;
|
|
21237
21339
|
presetVersion: number | null;
|
|
21238
21340
|
activeVersion: number | null;
|
|
21239
|
-
defaultFor: "
|
|
21341
|
+
defaultFor: "MANUAL" | "SHIPPING" | null;
|
|
21240
21342
|
archivedAt: string | null;
|
|
21241
21343
|
createdAt: string;
|
|
21242
21344
|
updatedAt: string;
|
|
@@ -21275,7 +21377,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21275
21377
|
presetKey: string | null;
|
|
21276
21378
|
presetVersion: number | null;
|
|
21277
21379
|
activeVersion: number | null;
|
|
21278
|
-
defaultFor: "
|
|
21380
|
+
defaultFor: "MANUAL" | "SHIPPING" | null;
|
|
21279
21381
|
archivedAt: string | null;
|
|
21280
21382
|
createdAt: string;
|
|
21281
21383
|
updatedAt: string;
|
|
@@ -21314,7 +21416,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21314
21416
|
presetKey: string | null;
|
|
21315
21417
|
presetVersion: number | null;
|
|
21316
21418
|
activeVersion: number | null;
|
|
21317
|
-
defaultFor: "
|
|
21419
|
+
defaultFor: "MANUAL" | "SHIPPING" | null;
|
|
21318
21420
|
archivedAt: string | null;
|
|
21319
21421
|
createdAt: string;
|
|
21320
21422
|
updatedAt: string;
|
|
@@ -21376,7 +21478,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21376
21478
|
presetKey: string | null;
|
|
21377
21479
|
presetVersion: number | null;
|
|
21378
21480
|
activeVersion: number | null;
|
|
21379
|
-
defaultFor: "
|
|
21481
|
+
defaultFor: "MANUAL" | "SHIPPING" | null;
|
|
21380
21482
|
archivedAt: string | null;
|
|
21381
21483
|
createdAt: string;
|
|
21382
21484
|
updatedAt: string;
|
|
@@ -21529,7 +21631,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21529
21631
|
key: string;
|
|
21530
21632
|
side: "buyer" | "seller";
|
|
21531
21633
|
label: string;
|
|
21532
|
-
mode: "
|
|
21634
|
+
mode: "INSTANT" | "REQUEST" | "VIEW";
|
|
21533
21635
|
window: boolean;
|
|
21534
21636
|
fee: boolean;
|
|
21535
21637
|
listed: boolean;
|
|
@@ -21720,7 +21822,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21720
21822
|
claimId: string;
|
|
21721
21823
|
claimNo: string | null;
|
|
21722
21824
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
21723
|
-
status: "
|
|
21825
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
21724
21826
|
orderId: string;
|
|
21725
21827
|
orderItemId: string;
|
|
21726
21828
|
productName: string;
|
|
@@ -21760,7 +21862,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21760
21862
|
claimId: string;
|
|
21761
21863
|
claimNo: string | null;
|
|
21762
21864
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
21763
|
-
status: "
|
|
21865
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
21764
21866
|
orderId: string;
|
|
21765
21867
|
orderItemId: string;
|
|
21766
21868
|
productName: string;
|
|
@@ -21795,7 +21897,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21795
21897
|
address2: string | null;
|
|
21796
21898
|
} | null;
|
|
21797
21899
|
histories?: {
|
|
21798
|
-
status: "
|
|
21900
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
21799
21901
|
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
21800
21902
|
occurredAt: string;
|
|
21801
21903
|
}[] | undefined;
|
|
@@ -21837,7 +21939,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21837
21939
|
claimId: string;
|
|
21838
21940
|
claimNo: string | null;
|
|
21839
21941
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
21840
|
-
status: "
|
|
21942
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
21841
21943
|
orderId: string;
|
|
21842
21944
|
orderItemId: string;
|
|
21843
21945
|
productName: string;
|
|
@@ -21888,7 +21990,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21888
21990
|
productId: string;
|
|
21889
21991
|
productName: string;
|
|
21890
21992
|
orderItemId: string | null;
|
|
21891
|
-
category: "
|
|
21993
|
+
category: "PRODUCT" | "DELIVERY" | "ETC" | "RETURN" | "EXCHANGE";
|
|
21892
21994
|
content: string;
|
|
21893
21995
|
secret: boolean;
|
|
21894
21996
|
writerMaskedName: string;
|
|
@@ -21906,7 +22008,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21906
22008
|
productId: string;
|
|
21907
22009
|
productName: string;
|
|
21908
22010
|
orderItemId: string | null;
|
|
21909
|
-
category: "
|
|
22011
|
+
category: "PRODUCT" | "DELIVERY" | "ETC" | "RETURN" | "EXCHANGE";
|
|
21910
22012
|
content: string;
|
|
21911
22013
|
secret: boolean;
|
|
21912
22014
|
writerMaskedName: string;
|
|
@@ -22219,7 +22321,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22219
22321
|
productName: string;
|
|
22220
22322
|
optionName: string | null;
|
|
22221
22323
|
quantity: number;
|
|
22222
|
-
status: "
|
|
22324
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
22223
22325
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
22224
22326
|
}[];
|
|
22225
22327
|
}[];
|
|
@@ -22321,6 +22423,31 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22321
22423
|
withPoints: boolean;
|
|
22322
22424
|
perOrderLimit: number;
|
|
22323
22425
|
};
|
|
22426
|
+
reward: {
|
|
22427
|
+
type: "TIERED";
|
|
22428
|
+
tiers: {
|
|
22429
|
+
minAmount: number;
|
|
22430
|
+
benefit: {
|
|
22431
|
+
type: "RATE" | "AMOUNT";
|
|
22432
|
+
value: number;
|
|
22433
|
+
maxDiscountAmount: number | null;
|
|
22434
|
+
};
|
|
22435
|
+
}[];
|
|
22436
|
+
shortfallCharge: boolean;
|
|
22437
|
+
} | {
|
|
22438
|
+
type: "BUY_X_GET_Y";
|
|
22439
|
+
buy: number;
|
|
22440
|
+
get: number;
|
|
22441
|
+
rate: number;
|
|
22442
|
+
shortfallCharge: boolean;
|
|
22443
|
+
} | {
|
|
22444
|
+
type: "POINT";
|
|
22445
|
+
benefit: {
|
|
22446
|
+
type: "RATE" | "AMOUNT";
|
|
22447
|
+
value: number;
|
|
22448
|
+
maxDiscountAmount: number | null;
|
|
22449
|
+
};
|
|
22450
|
+
} | null;
|
|
22324
22451
|
rulesOnly: boolean;
|
|
22325
22452
|
issueStartsAt: string | null;
|
|
22326
22453
|
issueEndsAt: string | null;
|
|
@@ -22395,6 +22522,31 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22395
22522
|
withPoints: boolean;
|
|
22396
22523
|
perOrderLimit: number;
|
|
22397
22524
|
};
|
|
22525
|
+
reward: {
|
|
22526
|
+
type: "TIERED";
|
|
22527
|
+
tiers: {
|
|
22528
|
+
minAmount: number;
|
|
22529
|
+
benefit: {
|
|
22530
|
+
type: "RATE" | "AMOUNT";
|
|
22531
|
+
value: number;
|
|
22532
|
+
maxDiscountAmount: number | null;
|
|
22533
|
+
};
|
|
22534
|
+
}[];
|
|
22535
|
+
shortfallCharge: boolean;
|
|
22536
|
+
} | {
|
|
22537
|
+
type: "BUY_X_GET_Y";
|
|
22538
|
+
buy: number;
|
|
22539
|
+
get: number;
|
|
22540
|
+
rate: number;
|
|
22541
|
+
shortfallCharge: boolean;
|
|
22542
|
+
} | {
|
|
22543
|
+
type: "POINT";
|
|
22544
|
+
benefit: {
|
|
22545
|
+
type: "RATE" | "AMOUNT";
|
|
22546
|
+
value: number;
|
|
22547
|
+
maxDiscountAmount: number | null;
|
|
22548
|
+
};
|
|
22549
|
+
} | null;
|
|
22398
22550
|
rulesOnly: boolean;
|
|
22399
22551
|
issueStartsAt: string | null;
|
|
22400
22552
|
issueEndsAt: string | null;
|
|
@@ -22468,6 +22620,31 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22468
22620
|
withPoints: boolean;
|
|
22469
22621
|
perOrderLimit: number;
|
|
22470
22622
|
};
|
|
22623
|
+
reward: {
|
|
22624
|
+
type: "TIERED";
|
|
22625
|
+
tiers: {
|
|
22626
|
+
minAmount: number;
|
|
22627
|
+
benefit: {
|
|
22628
|
+
type: "RATE" | "AMOUNT";
|
|
22629
|
+
value: number;
|
|
22630
|
+
maxDiscountAmount: number | null;
|
|
22631
|
+
};
|
|
22632
|
+
}[];
|
|
22633
|
+
shortfallCharge: boolean;
|
|
22634
|
+
} | {
|
|
22635
|
+
type: "BUY_X_GET_Y";
|
|
22636
|
+
buy: number;
|
|
22637
|
+
get: number;
|
|
22638
|
+
rate: number;
|
|
22639
|
+
shortfallCharge: boolean;
|
|
22640
|
+
} | {
|
|
22641
|
+
type: "POINT";
|
|
22642
|
+
benefit: {
|
|
22643
|
+
type: "RATE" | "AMOUNT";
|
|
22644
|
+
value: number;
|
|
22645
|
+
maxDiscountAmount: number | null;
|
|
22646
|
+
};
|
|
22647
|
+
} | null;
|
|
22471
22648
|
rulesOnly: boolean;
|
|
22472
22649
|
issueStartsAt: string | null;
|
|
22473
22650
|
issueEndsAt: string | null;
|
|
@@ -22541,6 +22718,31 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22541
22718
|
withPoints: boolean;
|
|
22542
22719
|
perOrderLimit: number;
|
|
22543
22720
|
};
|
|
22721
|
+
reward: {
|
|
22722
|
+
type: "TIERED";
|
|
22723
|
+
tiers: {
|
|
22724
|
+
minAmount: number;
|
|
22725
|
+
benefit: {
|
|
22726
|
+
type: "RATE" | "AMOUNT";
|
|
22727
|
+
value: number;
|
|
22728
|
+
maxDiscountAmount: number | null;
|
|
22729
|
+
};
|
|
22730
|
+
}[];
|
|
22731
|
+
shortfallCharge: boolean;
|
|
22732
|
+
} | {
|
|
22733
|
+
type: "BUY_X_GET_Y";
|
|
22734
|
+
buy: number;
|
|
22735
|
+
get: number;
|
|
22736
|
+
rate: number;
|
|
22737
|
+
shortfallCharge: boolean;
|
|
22738
|
+
} | {
|
|
22739
|
+
type: "POINT";
|
|
22740
|
+
benefit: {
|
|
22741
|
+
type: "RATE" | "AMOUNT";
|
|
22742
|
+
value: number;
|
|
22743
|
+
maxDiscountAmount: number | null;
|
|
22744
|
+
};
|
|
22745
|
+
} | null;
|
|
22544
22746
|
rulesOnly: boolean;
|
|
22545
22747
|
issueStartsAt: string | null;
|
|
22546
22748
|
issueEndsAt: string | null;
|
|
@@ -22614,6 +22816,31 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22614
22816
|
withPoints: boolean;
|
|
22615
22817
|
perOrderLimit: number;
|
|
22616
22818
|
};
|
|
22819
|
+
reward: {
|
|
22820
|
+
type: "TIERED";
|
|
22821
|
+
tiers: {
|
|
22822
|
+
minAmount: number;
|
|
22823
|
+
benefit: {
|
|
22824
|
+
type: "RATE" | "AMOUNT";
|
|
22825
|
+
value: number;
|
|
22826
|
+
maxDiscountAmount: number | null;
|
|
22827
|
+
};
|
|
22828
|
+
}[];
|
|
22829
|
+
shortfallCharge: boolean;
|
|
22830
|
+
} | {
|
|
22831
|
+
type: "BUY_X_GET_Y";
|
|
22832
|
+
buy: number;
|
|
22833
|
+
get: number;
|
|
22834
|
+
rate: number;
|
|
22835
|
+
shortfallCharge: boolean;
|
|
22836
|
+
} | {
|
|
22837
|
+
type: "POINT";
|
|
22838
|
+
benefit: {
|
|
22839
|
+
type: "RATE" | "AMOUNT";
|
|
22840
|
+
value: number;
|
|
22841
|
+
maxDiscountAmount: number | null;
|
|
22842
|
+
};
|
|
22843
|
+
} | null;
|
|
22617
22844
|
rulesOnly: boolean;
|
|
22618
22845
|
issueStartsAt: string | null;
|
|
22619
22846
|
issueEndsAt: string | null;
|
|
@@ -22687,6 +22914,31 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22687
22914
|
withPoints: boolean;
|
|
22688
22915
|
perOrderLimit: number;
|
|
22689
22916
|
};
|
|
22917
|
+
reward: {
|
|
22918
|
+
type: "TIERED";
|
|
22919
|
+
tiers: {
|
|
22920
|
+
minAmount: number;
|
|
22921
|
+
benefit: {
|
|
22922
|
+
type: "RATE" | "AMOUNT";
|
|
22923
|
+
value: number;
|
|
22924
|
+
maxDiscountAmount: number | null;
|
|
22925
|
+
};
|
|
22926
|
+
}[];
|
|
22927
|
+
shortfallCharge: boolean;
|
|
22928
|
+
} | {
|
|
22929
|
+
type: "BUY_X_GET_Y";
|
|
22930
|
+
buy: number;
|
|
22931
|
+
get: number;
|
|
22932
|
+
rate: number;
|
|
22933
|
+
shortfallCharge: boolean;
|
|
22934
|
+
} | {
|
|
22935
|
+
type: "POINT";
|
|
22936
|
+
benefit: {
|
|
22937
|
+
type: "RATE" | "AMOUNT";
|
|
22938
|
+
value: number;
|
|
22939
|
+
maxDiscountAmount: number | null;
|
|
22940
|
+
};
|
|
22941
|
+
} | null;
|
|
22690
22942
|
rulesOnly: boolean;
|
|
22691
22943
|
issueStartsAt: string | null;
|
|
22692
22944
|
issueEndsAt: string | null;
|
|
@@ -22760,6 +23012,31 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22760
23012
|
withPoints: boolean;
|
|
22761
23013
|
perOrderLimit: number;
|
|
22762
23014
|
};
|
|
23015
|
+
reward: {
|
|
23016
|
+
type: "TIERED";
|
|
23017
|
+
tiers: {
|
|
23018
|
+
minAmount: number;
|
|
23019
|
+
benefit: {
|
|
23020
|
+
type: "RATE" | "AMOUNT";
|
|
23021
|
+
value: number;
|
|
23022
|
+
maxDiscountAmount: number | null;
|
|
23023
|
+
};
|
|
23024
|
+
}[];
|
|
23025
|
+
shortfallCharge: boolean;
|
|
23026
|
+
} | {
|
|
23027
|
+
type: "BUY_X_GET_Y";
|
|
23028
|
+
buy: number;
|
|
23029
|
+
get: number;
|
|
23030
|
+
rate: number;
|
|
23031
|
+
shortfallCharge: boolean;
|
|
23032
|
+
} | {
|
|
23033
|
+
type: "POINT";
|
|
23034
|
+
benefit: {
|
|
23035
|
+
type: "RATE" | "AMOUNT";
|
|
23036
|
+
value: number;
|
|
23037
|
+
maxDiscountAmount: number | null;
|
|
23038
|
+
};
|
|
23039
|
+
} | null;
|
|
22763
23040
|
rulesOnly: boolean;
|
|
22764
23041
|
issueStartsAt: string | null;
|
|
22765
23042
|
issueEndsAt: string | null;
|
|
@@ -22922,7 +23199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22922
23199
|
contents: {
|
|
22923
23200
|
inquiryId: string;
|
|
22924
23201
|
memberMaskedName: string;
|
|
22925
|
-
category: "
|
|
23202
|
+
category: "DELIVERY" | "ETC" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
22926
23203
|
title: string;
|
|
22927
23204
|
content: string;
|
|
22928
23205
|
orderItemId: string | null;
|
|
@@ -22938,7 +23215,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22938
23215
|
get: (inquiryId: string) => Promise<{
|
|
22939
23216
|
inquiryId: string;
|
|
22940
23217
|
memberMaskedName: string;
|
|
22941
|
-
category: "
|
|
23218
|
+
category: "DELIVERY" | "ETC" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
22942
23219
|
title: string;
|
|
22943
23220
|
content: string;
|
|
22944
23221
|
orderItemId: string | null;
|
|
@@ -22968,7 +23245,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22968
23245
|
settlementId: string;
|
|
22969
23246
|
settlementDate: string;
|
|
22970
23247
|
payoutDate: string | null;
|
|
22971
|
-
status: "PAID" | "
|
|
23248
|
+
status: "PAID" | "HELD" | "SCHEDULED";
|
|
22972
23249
|
totalPaymentAmount: number;
|
|
22973
23250
|
totalCommission: number;
|
|
22974
23251
|
totalDeliveryFee: number;
|
|
@@ -22982,7 +23259,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22982
23259
|
settlementId: string;
|
|
22983
23260
|
settlementDate: string;
|
|
22984
23261
|
payoutDate: string | null;
|
|
22985
|
-
status: "PAID" | "
|
|
23262
|
+
status: "PAID" | "HELD" | "SCHEDULED";
|
|
22986
23263
|
totalPaymentAmount: number;
|
|
22987
23264
|
totalCommission: number;
|
|
22988
23265
|
totalDeliveryFee: number;
|
|
@@ -23256,7 +23533,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23256
23533
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
23257
23534
|
sessions: number;
|
|
23258
23535
|
outcomes: {
|
|
23259
|
-
outcome: "
|
|
23536
|
+
outcome: "COMPLETED" | "OTHER" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
|
|
23260
23537
|
sessions: number;
|
|
23261
23538
|
}[];
|
|
23262
23539
|
from: string;
|
|
@@ -23286,7 +23563,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23286
23563
|
orderId: string | null;
|
|
23287
23564
|
orderName: string;
|
|
23288
23565
|
customerName: string;
|
|
23289
|
-
status: "FAILED" | "
|
|
23566
|
+
status: "FAILED" | "APPROVED" | "PENDING" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
23290
23567
|
amount: number;
|
|
23291
23568
|
refundedAmount: number;
|
|
23292
23569
|
heldRefundAmount: number;
|
|
@@ -23312,7 +23589,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23312
23589
|
orderId: string | null;
|
|
23313
23590
|
orderName: string;
|
|
23314
23591
|
customerName: string;
|
|
23315
|
-
status: "FAILED" | "
|
|
23592
|
+
status: "FAILED" | "APPROVED" | "PENDING" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
23316
23593
|
amount: number;
|
|
23317
23594
|
refundedAmount: number;
|
|
23318
23595
|
heldRefundAmount: number;
|
|
@@ -25079,9 +25356,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25079
25356
|
supportEmail: string | null;
|
|
25080
25357
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25081
25358
|
runtime: "CODE" | "EXTERNAL";
|
|
25082
|
-
status: "
|
|
25359
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25083
25360
|
};
|
|
25084
|
-
status: "
|
|
25361
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25085
25362
|
versionNumber: number;
|
|
25086
25363
|
pendingVersionNumber: number | null;
|
|
25087
25364
|
grantedScopes: string[];
|
|
@@ -25166,9 +25443,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25166
25443
|
supportEmail: string | null;
|
|
25167
25444
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25168
25445
|
runtime: "CODE" | "EXTERNAL";
|
|
25169
|
-
status: "
|
|
25446
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25170
25447
|
};
|
|
25171
|
-
status: "
|
|
25448
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25172
25449
|
versionNumber: number;
|
|
25173
25450
|
pendingVersionNumber: number | null;
|
|
25174
25451
|
grantedScopes: string[];
|
|
@@ -25253,9 +25530,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25253
25530
|
supportEmail: string | null;
|
|
25254
25531
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25255
25532
|
runtime: "CODE" | "EXTERNAL";
|
|
25256
|
-
status: "
|
|
25533
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25257
25534
|
};
|
|
25258
|
-
status: "
|
|
25535
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25259
25536
|
versionNumber: number;
|
|
25260
25537
|
pendingVersionNumber: number | null;
|
|
25261
25538
|
grantedScopes: string[];
|
|
@@ -25341,9 +25618,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25341
25618
|
supportEmail: string | null;
|
|
25342
25619
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25343
25620
|
runtime: "CODE" | "EXTERNAL";
|
|
25344
|
-
status: "
|
|
25621
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25345
25622
|
};
|
|
25346
|
-
status: "
|
|
25623
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25347
25624
|
versionNumber: number;
|
|
25348
25625
|
pendingVersionNumber: number | null;
|
|
25349
25626
|
grantedScopes: string[];
|
|
@@ -25444,9 +25721,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25444
25721
|
supportEmail: string | null;
|
|
25445
25722
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25446
25723
|
runtime: "CODE" | "EXTERNAL";
|
|
25447
|
-
status: "
|
|
25724
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25448
25725
|
};
|
|
25449
|
-
status: "
|
|
25726
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25450
25727
|
versionNumber: number;
|
|
25451
25728
|
pendingVersionNumber: number | null;
|
|
25452
25729
|
grantedScopes: string[];
|
|
@@ -25562,7 +25839,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25562
25839
|
webhookId: string;
|
|
25563
25840
|
url: string;
|
|
25564
25841
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25565
|
-
status: "
|
|
25842
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
25566
25843
|
secretPrefix: string;
|
|
25567
25844
|
suspendedAt: string | null;
|
|
25568
25845
|
createdAt: string;
|
|
@@ -25572,7 +25849,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25572
25849
|
webhookId: string;
|
|
25573
25850
|
url: string;
|
|
25574
25851
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25575
|
-
status: "
|
|
25852
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
25576
25853
|
secretPrefix: string;
|
|
25577
25854
|
suspendedAt: string | null;
|
|
25578
25855
|
createdAt: string;
|
|
@@ -25582,7 +25859,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25582
25859
|
webhookId: string;
|
|
25583
25860
|
url: string;
|
|
25584
25861
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25585
|
-
status: "
|
|
25862
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
25586
25863
|
secretPrefix: string;
|
|
25587
25864
|
suspendedAt: string | null;
|
|
25588
25865
|
createdAt: string;
|
|
@@ -25592,7 +25869,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25592
25869
|
webhookId: string;
|
|
25593
25870
|
url: string;
|
|
25594
25871
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25595
|
-
status: "
|
|
25872
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
25596
25873
|
secretPrefix: string;
|
|
25597
25874
|
suspendedAt: string | null;
|
|
25598
25875
|
createdAt: string;
|
|
@@ -25607,7 +25884,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25607
25884
|
webhookId: string;
|
|
25608
25885
|
url: string;
|
|
25609
25886
|
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED")[];
|
|
25610
|
-
status: "
|
|
25887
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
25611
25888
|
secretPrefix: string;
|
|
25612
25889
|
suspendedAt: string | null;
|
|
25613
25890
|
createdAt: string;
|
|
@@ -25794,7 +26071,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25794
26071
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
25795
26072
|
items: {
|
|
25796
26073
|
approvalId: string;
|
|
25797
|
-
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "
|
|
26074
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
25798
26075
|
operationId: string;
|
|
25799
26076
|
method: string;
|
|
25800
26077
|
path: string;
|
|
@@ -25846,7 +26123,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25846
26123
|
}>;
|
|
25847
26124
|
get: (approvalId: string) => Promise<{
|
|
25848
26125
|
approvalId: string;
|
|
25849
|
-
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "
|
|
26126
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
25850
26127
|
operationId: string;
|
|
25851
26128
|
method: string;
|
|
25852
26129
|
path: string;
|
|
@@ -25900,7 +26177,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25900
26177
|
*/
|
|
25901
26178
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
25902
26179
|
approvalId: string;
|
|
25903
|
-
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "
|
|
26180
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
25904
26181
|
operationId: string;
|
|
25905
26182
|
method: string;
|
|
25906
26183
|
path: string;
|
|
@@ -25950,7 +26227,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25950
26227
|
}>;
|
|
25951
26228
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
25952
26229
|
approvalId: string;
|
|
25953
|
-
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "
|
|
26230
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "REJECTED" | "PENDING" | "SUCCEEDED" | "EXECUTING";
|
|
25954
26231
|
operationId: string;
|
|
25955
26232
|
method: string;
|
|
25956
26233
|
path: string;
|
|
@@ -26638,7 +26915,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26638
26915
|
}[];
|
|
26639
26916
|
templateId: string;
|
|
26640
26917
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
26641
|
-
status: "
|
|
26918
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
26642
26919
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
26643
26920
|
publishedVersion: {
|
|
26644
26921
|
versionId: string;
|
|
@@ -26708,7 +26985,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26708
26985
|
}[];
|
|
26709
26986
|
templateId: string;
|
|
26710
26987
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
26711
|
-
status: "
|
|
26988
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
26712
26989
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
26713
26990
|
publishedVersion: {
|
|
26714
26991
|
versionId: string;
|
|
@@ -26816,7 +27093,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26816
27093
|
}[];
|
|
26817
27094
|
templateId: string;
|
|
26818
27095
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
26819
|
-
status: "
|
|
27096
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
26820
27097
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
26821
27098
|
publishedVersion: {
|
|
26822
27099
|
versionId: string;
|
|
@@ -26898,7 +27175,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26898
27175
|
}[];
|
|
26899
27176
|
templateId: string;
|
|
26900
27177
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
26901
|
-
status: "
|
|
27178
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
26902
27179
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
26903
27180
|
publishedVersion: {
|
|
26904
27181
|
versionId: string;
|
|
@@ -26958,7 +27235,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26958
27235
|
}[];
|
|
26959
27236
|
templateId: string;
|
|
26960
27237
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
26961
|
-
status: "
|
|
27238
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
26962
27239
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
26963
27240
|
publishedVersion: {
|
|
26964
27241
|
versionId: string;
|
|
@@ -27018,7 +27295,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27018
27295
|
}[];
|
|
27019
27296
|
templateId: string;
|
|
27020
27297
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27021
|
-
status: "
|
|
27298
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27022
27299
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
27023
27300
|
publishedVersion: {
|
|
27024
27301
|
versionId: string;
|
|
@@ -27078,7 +27355,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27078
27355
|
}[];
|
|
27079
27356
|
templateId: string;
|
|
27080
27357
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27081
|
-
status: "
|
|
27358
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27082
27359
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
27083
27360
|
publishedVersion: {
|
|
27084
27361
|
versionId: string;
|
|
@@ -27286,7 +27563,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27286
27563
|
}[];
|
|
27287
27564
|
templateId: string;
|
|
27288
27565
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27289
|
-
status: "
|
|
27566
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27290
27567
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
27291
27568
|
publishedVersion: {
|
|
27292
27569
|
versionId: string;
|
|
@@ -27892,7 +28169,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27892
28169
|
}[];
|
|
27893
28170
|
templateId: string;
|
|
27894
28171
|
sourceMode: "CUSTOM" | "MANAGED";
|
|
27895
|
-
status: "
|
|
28172
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27896
28173
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
27897
28174
|
publishedVersion: {
|
|
27898
28175
|
versionId: string;
|
|
@@ -28049,7 +28326,6 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28049
28326
|
adminApiRequestsMonthly: number | null;
|
|
28050
28327
|
publicApps?: number | null | undefined;
|
|
28051
28328
|
privateApps?: number | null | undefined;
|
|
28052
|
-
aiCreditsMonthly?: number | null | undefined;
|
|
28053
28329
|
};
|
|
28054
28330
|
features: {
|
|
28055
28331
|
adminApi: boolean;
|
|
@@ -28057,6 +28333,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28057
28333
|
storeClone: boolean;
|
|
28058
28334
|
removeBadge: boolean;
|
|
28059
28335
|
members?: boolean | undefined;
|
|
28336
|
+
aiAssistant?: boolean | undefined;
|
|
28060
28337
|
};
|
|
28061
28338
|
usage: {
|
|
28062
28339
|
liveOrders: number;
|
|
@@ -28084,16 +28361,6 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28084
28361
|
resetsAt: string;
|
|
28085
28362
|
};
|
|
28086
28363
|
salesFeePercent: 0;
|
|
28087
|
-
aiCredits?: {
|
|
28088
|
-
monthly: number | null;
|
|
28089
|
-
granted: number;
|
|
28090
|
-
used: number;
|
|
28091
|
-
remaining: number | null;
|
|
28092
|
-
resetsAt: string;
|
|
28093
|
-
monthlyUsed?: number | undefined;
|
|
28094
|
-
purchased?: number | undefined;
|
|
28095
|
-
complimentary?: number | undefined;
|
|
28096
|
-
} | undefined;
|
|
28097
28364
|
}>;
|
|
28098
28365
|
};
|
|
28099
28366
|
plans: {
|
|
@@ -28127,7 +28394,6 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28127
28394
|
"limits.webhooks": number | null;
|
|
28128
28395
|
"limits.public_apps": number | null;
|
|
28129
28396
|
"limits.private_apps": number | null;
|
|
28130
|
-
"limits.ai_credits_monthly": number | null;
|
|
28131
28397
|
"limits.storefront_preview_hours_monthly": number | null;
|
|
28132
28398
|
"limits.storefront_build_minutes_monthly": number | null;
|
|
28133
28399
|
"limits.storefront_requests_monthly": number | null;
|
|
@@ -28141,6 +28407,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28141
28407
|
"retention.api_logs_days": number | null;
|
|
28142
28408
|
"retention.audit_days": number | null;
|
|
28143
28409
|
"support.tier": string;
|
|
28410
|
+
"features.ai_assistant"?: boolean | undefined;
|
|
28144
28411
|
};
|
|
28145
28412
|
}[];
|
|
28146
28413
|
}>;
|
|
@@ -28195,7 +28462,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28195
28462
|
name: string;
|
|
28196
28463
|
storeCode: string;
|
|
28197
28464
|
storefrontUrl: string | null;
|
|
28198
|
-
status: "
|
|
28465
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28199
28466
|
logoUrl: string | null;
|
|
28200
28467
|
businessNumber: string | null;
|
|
28201
28468
|
customerCenterPhone: string | null;
|
|
@@ -28253,7 +28520,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28253
28520
|
name: string;
|
|
28254
28521
|
storeCode: string;
|
|
28255
28522
|
storefrontUrl: string | null;
|
|
28256
|
-
status: "
|
|
28523
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28257
28524
|
logoUrl: string | null;
|
|
28258
28525
|
businessNumber: string | null;
|
|
28259
28526
|
customerCenterPhone: string | null;
|
|
@@ -28335,7 +28602,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28335
28602
|
invitationId: string;
|
|
28336
28603
|
email: string;
|
|
28337
28604
|
role: "ADMIN" | "STAFF";
|
|
28338
|
-
status: "EXPIRED" | "
|
|
28605
|
+
status: "EXPIRED" | "CANCELED" | "PENDING" | "ACCEPTED";
|
|
28339
28606
|
invitedBy: string;
|
|
28340
28607
|
expiresAt: string;
|
|
28341
28608
|
createdAt: string;
|
|
@@ -28353,7 +28620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28353
28620
|
invitationId: string;
|
|
28354
28621
|
email: string;
|
|
28355
28622
|
role: "ADMIN" | "STAFF";
|
|
28356
|
-
status: "EXPIRED" | "
|
|
28623
|
+
status: "EXPIRED" | "CANCELED" | "PENDING" | "ACCEPTED";
|
|
28357
28624
|
invitedBy: string;
|
|
28358
28625
|
expiresAt: string;
|
|
28359
28626
|
createdAt: string;
|
|
@@ -28368,7 +28635,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28368
28635
|
invitationId: string;
|
|
28369
28636
|
email: string;
|
|
28370
28637
|
role: "ADMIN" | "STAFF";
|
|
28371
|
-
status: "EXPIRED" | "
|
|
28638
|
+
status: "EXPIRED" | "CANCELED" | "PENDING" | "ACCEPTED";
|
|
28372
28639
|
invitedBy: string;
|
|
28373
28640
|
expiresAt: string;
|
|
28374
28641
|
createdAt: string;
|
|
@@ -28685,6 +28952,74 @@ export declare const couponBenefitSchema: z$1.ZodObject<{
|
|
|
28685
28952
|
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
28686
28953
|
}, z$1.core.$strip>;
|
|
28687
28954
|
export type CouponBenefit = z$1.infer<typeof couponBenefitSchema>;
|
|
28955
|
+
/** 구간 할인의 구간 수 상한 */
|
|
28956
|
+
export declare const COUPON_REWARD_TIER_MAX = 5;
|
|
28957
|
+
/**
|
|
28958
|
+
* 확장 혜택(이슈 #222 혜택 확장) — 있으면 계산의 원천이고 `benefit`은 가장 가까운 값이다.
|
|
28959
|
+
* - `TIERED`: 기준 금액(주문 쿠폰은 상품 쿠폰 차감 뒤 대상 합계, 상품 쿠폰은 그 줄 금액)이 넘은 가장 높은 구간의 할인. 첫 구간 미만이면 `MIN_ORDER_AMOUNT`
|
|
28960
|
+
* - `BUY_X_GET_Y`: 상품 쿠폰만. 걸린 줄 수량을 `buy + get`개 묶음으로 세어 묶음마다 `get`개를 `rate`% 할인
|
|
28961
|
+
* - `POINT`: 주문 쿠폰만. 할인 대신 대상 줄 실결제(쿠폰·적립금 뒤)에 `benefit`을 적용한 적립금을 구매확정 때 준다
|
|
28962
|
+
*/
|
|
28963
|
+
export declare const couponRewardSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
28964
|
+
type: z$1.ZodLiteral<"TIERED">;
|
|
28965
|
+
tiers: z$1.ZodArray<z$1.ZodObject<{
|
|
28966
|
+
minAmount: z$1.ZodNumber;
|
|
28967
|
+
benefit: z$1.ZodObject<{
|
|
28968
|
+
type: z$1.ZodEnum<{
|
|
28969
|
+
RATE: "RATE";
|
|
28970
|
+
AMOUNT: "AMOUNT";
|
|
28971
|
+
}>;
|
|
28972
|
+
value: z$1.ZodNumber;
|
|
28973
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
28974
|
+
}, z$1.core.$strip>;
|
|
28975
|
+
}, z$1.core.$strip>>;
|
|
28976
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
28977
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
28978
|
+
type: z$1.ZodLiteral<"BUY_X_GET_Y">;
|
|
28979
|
+
buy: z$1.ZodNumber;
|
|
28980
|
+
get: z$1.ZodNumber;
|
|
28981
|
+
rate: z$1.ZodNumber;
|
|
28982
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
28983
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
28984
|
+
type: z$1.ZodLiteral<"POINT">;
|
|
28985
|
+
benefit: z$1.ZodObject<{
|
|
28986
|
+
type: z$1.ZodEnum<{
|
|
28987
|
+
RATE: "RATE";
|
|
28988
|
+
AMOUNT: "AMOUNT";
|
|
28989
|
+
}>;
|
|
28990
|
+
value: z$1.ZodNumber;
|
|
28991
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
28992
|
+
}, z$1.core.$strip>;
|
|
28993
|
+
}, z$1.core.$strip>], "type">;
|
|
28994
|
+
export type CouponReward = z$1.infer<typeof couponRewardSchema>;
|
|
28995
|
+
/** 확장 혜택을 쓸 수 있는 쿠폰 종류 */
|
|
28996
|
+
export declare const COUPON_REWARD_KINDS: Record<CouponReward["type"], readonly CouponKind[]>;
|
|
28997
|
+
/** 응답·옛 칸의 `benefit` — 확장 혜택에서 가장 가까운 값(구간은 첫 구간, N+1은 묶음 평균 할인율, 적립금은 할인 0원에 가까운 1원) */
|
|
28998
|
+
export declare function couponBenefitOfReward(reward: CouponReward): CouponBenefit;
|
|
28999
|
+
/** 구간 할인의 적용 구간 — 기준 금액이 넘은 가장 높은 구간. 없으면 null */
|
|
29000
|
+
export declare function couponTierOf(reward: Extract<CouponReward, {
|
|
29001
|
+
type: "TIERED";
|
|
29002
|
+
}>, base: number): {
|
|
29003
|
+
index: number;
|
|
29004
|
+
benefit: CouponBenefit;
|
|
29005
|
+
} | null;
|
|
29006
|
+
/**
|
|
29007
|
+
* 쿠폰 한 장의 할인액 — 확장 혜택까지 보는 원천이다(`quotePricing`·최대 조합이 같이 쓴다).
|
|
29008
|
+
* `line`은 상품 쿠폰이 걸린 줄의 금액·수량이고 N+1만 수량을 읽는다. 적립금 지급은 할인이 0이다.
|
|
29009
|
+
*/
|
|
29010
|
+
export declare function couponRuleDiscountOf(rule: Pick<CouponRule, "benefit" | "reward">, base: number, line: {
|
|
29011
|
+
quantity: number;
|
|
29012
|
+
} | null, rules?: MoneyRules): number;
|
|
29013
|
+
/**
|
|
29014
|
+
* 적립금 지급 쿠폰의 적립금 — 대상 줄 실결제(쿠폰·적립금 뒤)에 혜택을 적용하고 줄에 실결제 비율로 나눈다.
|
|
29015
|
+
* 결제 시작(`quotePricing`)과 구매확정 지급이 같은 함수다(구매확정은 주문상품의 실결제를 넣는다).
|
|
29016
|
+
*/
|
|
29017
|
+
export declare function couponPointRewardOf(reward: Extract<CouponReward, {
|
|
29018
|
+
type: "POINT";
|
|
29019
|
+
}>, paidByLine: readonly number[], rules?: MoneyRules): {
|
|
29020
|
+
total: number;
|
|
29021
|
+
shares: number[];
|
|
29022
|
+
};
|
|
28688
29023
|
/** 쿠폰 사용 조건 */
|
|
28689
29024
|
export declare const couponConditionsSchema: z$1.ZodObject<{
|
|
28690
29025
|
minOrderAmount: z$1.ZodNumber;
|
|
@@ -28762,6 +29097,37 @@ export declare const couponRuleSchema: z$1.ZodObject<{
|
|
|
28762
29097
|
withPoints: z$1.ZodBoolean;
|
|
28763
29098
|
perOrderLimit: z$1.ZodNumber;
|
|
28764
29099
|
}, z$1.core.$strict>>;
|
|
29100
|
+
reward: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
29101
|
+
type: z$1.ZodLiteral<"TIERED">;
|
|
29102
|
+
tiers: z$1.ZodArray<z$1.ZodObject<{
|
|
29103
|
+
minAmount: z$1.ZodNumber;
|
|
29104
|
+
benefit: z$1.ZodObject<{
|
|
29105
|
+
type: z$1.ZodEnum<{
|
|
29106
|
+
RATE: "RATE";
|
|
29107
|
+
AMOUNT: "AMOUNT";
|
|
29108
|
+
}>;
|
|
29109
|
+
value: z$1.ZodNumber;
|
|
29110
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
29111
|
+
}, z$1.core.$strip>;
|
|
29112
|
+
}, z$1.core.$strip>>;
|
|
29113
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
29114
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
29115
|
+
type: z$1.ZodLiteral<"BUY_X_GET_Y">;
|
|
29116
|
+
buy: z$1.ZodNumber;
|
|
29117
|
+
get: z$1.ZodNumber;
|
|
29118
|
+
rate: z$1.ZodNumber;
|
|
29119
|
+
shortfallCharge: z$1.ZodBoolean;
|
|
29120
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
29121
|
+
type: z$1.ZodLiteral<"POINT">;
|
|
29122
|
+
benefit: z$1.ZodObject<{
|
|
29123
|
+
type: z$1.ZodEnum<{
|
|
29124
|
+
RATE: "RATE";
|
|
29125
|
+
AMOUNT: "AMOUNT";
|
|
29126
|
+
}>;
|
|
29127
|
+
value: z$1.ZodNumber;
|
|
29128
|
+
maxDiscountAmount: z$1.ZodNullable<z$1.ZodNumber>;
|
|
29129
|
+
}, z$1.core.$strip>;
|
|
29130
|
+
}, z$1.core.$strip>], "type">>;
|
|
28765
29131
|
}, z$1.core.$strip>;
|
|
28766
29132
|
export type CouponRule = z$1.infer<typeof couponRuleSchema>;
|
|
28767
29133
|
/** 규칙의 트리 — 트리 칸이 없으면 옛 칸에서 만든다(계산은 늘 이 한 경로) */
|
|
@@ -28932,6 +29298,10 @@ export interface PricingCouponResult {
|
|
|
28932
29298
|
eligibleLineIds: string[];
|
|
28933
29299
|
/** 판정에 쓴 사실 값 중 이 쿠폰의 사용 조건이 읽은 것 — 주문 스냅샷에 굳힌다. 읽은 값이 없으면 빈 객체 */
|
|
28934
29300
|
facts: CouponFacts;
|
|
29301
|
+
/** 적립금 지급 쿠폰이 구매확정 때 줄 적립금(지금 수량 기준). 그 밖은 0 */
|
|
29302
|
+
rewardPoint: number;
|
|
29303
|
+
/** 구간 할인이 적용한 구간 순번. 그 밖은 null — 환불 정산이 구간이 내려갔는지 본다 */
|
|
29304
|
+
tierIndex: number | null;
|
|
28935
29305
|
}
|
|
28936
29306
|
export interface PricingBundleResult {
|
|
28937
29307
|
bundleKey: string;
|
|
@@ -28944,6 +29314,8 @@ export interface PricingResult {
|
|
|
28944
29314
|
coupons: PricingCouponResult[];
|
|
28945
29315
|
/** 배송비 쿠폰의 묶음별 배분 */
|
|
28946
29316
|
bundles: PricingBundleResult[];
|
|
29317
|
+
/** 적립금 지급 쿠폰의 적립 예정 합계 — 결제 금액에 영향이 없다 */
|
|
29318
|
+
rewardPointAmount: number;
|
|
28947
29319
|
/** 상품 금액 합 (즉시할인 반영, 쿠폰 전) */
|
|
28948
29320
|
productAmount: number;
|
|
28949
29321
|
/** 상품·주문 쿠폰 할인 합계 */
|
|
@@ -29068,7 +29440,7 @@ export interface CouponSettlementEntry {
|
|
|
29068
29440
|
allocatedRemaining: number;
|
|
29069
29441
|
/** 남은 주문상품으로 다시 계산한 할인 — 쿠폰 조건을 잃었으면 0 */
|
|
29070
29442
|
recomputed: number;
|
|
29071
|
-
/** 누적 미달분 목표 = 조건을 잃었으면 `allocatedRemaining`, 아니면 0 */
|
|
29443
|
+
/** 누적 미달분 목표 = 조건을 잃었으면 `allocatedRemaining`, 차액 정산 쿠폰은 `allocatedRemaining − recomputed`(음수면 더 돌려준다), 아니면 0 */
|
|
29072
29444
|
target: number;
|
|
29073
29445
|
charge: number;
|
|
29074
29446
|
refund: number;
|
|
@@ -29083,6 +29455,12 @@ export interface CouponSettlementResult {
|
|
|
29083
29455
|
entries: CouponSettlementEntry[];
|
|
29084
29456
|
}
|
|
29085
29457
|
export declare const NO_COUPON_SETTLEMENT: CouponSettlementResult;
|
|
29458
|
+
/**
|
|
29459
|
+
* 주문이 받은 쿠폰을 수량 `quantityOf(줄)`로 다시 계산한다 — 환불 정산(`settleCouponShortfall`)과 적립금 지급 쿠폰의 구매확정 적립이 같이 쓴다.
|
|
29460
|
+
* 기간·회원 전용은 결제 시작에서 이미 통과했다. 사용 조건 트리는 주문 시점 사실 값 + 남은 금액으로 다시 보고,
|
|
29461
|
+
* 스냅샷에 없는 구매자·시각 값(옛 주문)은 통과한 것으로 둔다 — 주문서 집계(`cart.*`)만 남은 금액으로 다시 판정한다
|
|
29462
|
+
*/
|
|
29463
|
+
export declare function recomputeOrderCoupons(coupons: readonly AppliedCouponSnapshot[], lines: readonly CouponSettlementLine[], quantityOf?: (line: CouponSettlementLine) => number): PricingResult;
|
|
29086
29464
|
/**
|
|
29087
29465
|
* 쿠폰 조건 미달 차감 — **순수 함수다.** 부분 취소·반품으로 남은 주문상품이 쿠폰 조건을 잃으면,
|
|
29088
29466
|
* 남은 주문상품이 받던 할인만큼을 이번 환불에서 뺀다.
|
|
@@ -29093,6 +29471,9 @@ export declare const NO_COUPON_SETTLEMENT: CouponSettlementResult;
|
|
|
29093
29471
|
* - 쿠폰이 **여전히 적용되면 목표 0**, 조건을 잃었으면 목표 = `allocatedRemaining`이다. 적용되는 쿠폰의
|
|
29094
29472
|
* 정률 10원 내림 차이까지 차감하면 조건을 지킨 구매자가 몇 원씩 잃는다 — 조건을 잃은 경우만 본다.
|
|
29095
29473
|
* 재계산 할인이 더 커지는 경우(정률 최대 할인액)도 차감하지 않고 더 돌려주지도 않는다.
|
|
29474
|
+
* - 확장 혜택(구간 할인·N+1)에서 셀러가 차액 정산(`reward.shortfallCharge`)을 켰으면 적용이 유지돼도 목표가
|
|
29475
|
+
* `allocatedRemaining − recomputed`다. 구간 할인은 구간이 내려갔을 때만 보고 0 아래로 내리지 않는다. N+1만 음수 목표를 허용한다
|
|
29476
|
+
* (남은 수량의 할인 개수가 배분보다 많으면 그만큼 더 돌려주고 누적 차감이 음수로 남는다). 뒤의 환불이 그 몫을 되찾을 때는 판매자 귀책·정책 꺼짐이어도 면제하지 않는다.
|
|
29096
29477
|
* - `delta` = 목표 − (이미 차감 + 이미 면제). 양수면 청구하고(판매자 귀책·정책 꺼짐이면 면제로 기록),
|
|
29097
29478
|
* 음수면 앞서 뺀 차감부터 돌려준다. 마지막 활성 수량까지 취소되면 목표가 0이라 누적 차감이 모두 되돌아가고,
|
|
29098
29479
|
* 전량 취소의 환불 합계가 결제액과 같아진다.
|
|
@@ -29363,20 +29744,20 @@ export declare const localeCodeSchema: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransfo
|
|
|
29363
29744
|
//#endregion
|
|
29364
29745
|
//#region src/schemas/plans.d.ts
|
|
29365
29746
|
/**
|
|
29366
|
-
* 요금제 기능 키 값 — 요금제 비교표·상점 플랫폼 요금제 화면이 쓴다. 키는 서버 판정의 기능 키와 같다(추가만 한다
|
|
29367
|
-
* 기능을 모두 포함한다
|
|
29747
|
+
* 요금제 기능 키 값 — 요금제 비교표·상점 플랫폼 요금제 화면이 쓴다. 키는 서버 판정의 기능 키와 같다(추가만 한다 — 예외는 0.53에서 지운
|
|
29748
|
+
* `limits.ai_credits_monthly`). 상위 요금제는 하위 요금제 기능을 모두 포함한다
|
|
29368
29749
|
*/
|
|
29369
29750
|
export declare const planEntitlementsSchema: z$1.ZodObject<{
|
|
29370
29751
|
"features.members": z$1.ZodBoolean;
|
|
29371
29752
|
"features.admin_api": z$1.ZodBoolean;
|
|
29372
29753
|
"features.analytics": z$1.ZodBoolean;
|
|
29754
|
+
"features.ai_assistant": z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29373
29755
|
"limits.ai_reads_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29374
29756
|
"limits.ai_actions_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29375
29757
|
"limits.custom_domains": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29376
29758
|
"limits.webhooks": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29377
29759
|
"limits.public_apps": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29378
29760
|
"limits.private_apps": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29379
|
-
"limits.ai_credits_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29380
29761
|
"limits.storefront_preview_hours_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29381
29762
|
"limits.storefront_build_minutes_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29382
29763
|
"limits.storefront_requests_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -29425,13 +29806,13 @@ export declare const publicPlanSchema: z$1.ZodObject<{
|
|
|
29425
29806
|
"features.members": z$1.ZodBoolean;
|
|
29426
29807
|
"features.admin_api": z$1.ZodBoolean;
|
|
29427
29808
|
"features.analytics": z$1.ZodBoolean;
|
|
29809
|
+
"features.ai_assistant": z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29428
29810
|
"limits.ai_reads_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29429
29811
|
"limits.ai_actions_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29430
29812
|
"limits.custom_domains": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29431
29813
|
"limits.webhooks": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29432
29814
|
"limits.public_apps": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29433
29815
|
"limits.private_apps": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29434
|
-
"limits.ai_credits_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29435
29816
|
"limits.storefront_preview_hours_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29436
29817
|
"limits.storefront_build_minutes_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29437
29818
|
"limits.storefront_requests_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -29483,13 +29864,13 @@ export declare const publicPlansSchema: z$1.ZodObject<{
|
|
|
29483
29864
|
"features.members": z$1.ZodBoolean;
|
|
29484
29865
|
"features.admin_api": z$1.ZodBoolean;
|
|
29485
29866
|
"features.analytics": z$1.ZodBoolean;
|
|
29867
|
+
"features.ai_assistant": z$1.ZodOptional<z$1.ZodBoolean>;
|
|
29486
29868
|
"limits.ai_reads_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29487
29869
|
"limits.ai_actions_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29488
29870
|
"limits.custom_domains": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29489
29871
|
"limits.webhooks": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29490
29872
|
"limits.public_apps": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29491
29873
|
"limits.private_apps": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29492
|
-
"limits.ai_credits_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29493
29874
|
"limits.storefront_preview_hours_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29494
29875
|
"limits.storefront_build_minutes_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
29495
29876
|
"limits.storefront_requests_monthly": z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -30024,10 +30405,10 @@ export declare const storeIndustrySchema: z$1.ZodEnum<{
|
|
|
30024
30405
|
export type StoreIndustry = z$1.infer<typeof storeIndustrySchema>;
|
|
30025
30406
|
/** 상품 자료 — 인터뷰의 「상품 자료」 답. 상품 등록 단계의 방법을 고른다 */
|
|
30026
30407
|
export declare const brandBriefProductSourceSchema: z$1.ZodEnum<{
|
|
30027
|
-
NONE: "NONE";
|
|
30028
30408
|
SPREADSHEET: "SPREADSHEET";
|
|
30029
30409
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30030
30410
|
PHOTOS: "PHOTOS";
|
|
30411
|
+
NONE: "NONE";
|
|
30031
30412
|
}>;
|
|
30032
30413
|
export type BrandBriefProductSource = z$1.infer<typeof brandBriefProductSourceSchema>;
|
|
30033
30414
|
export declare const BRAND_BRIEF_MAX_REFERENCES = 5;
|
|
@@ -30052,10 +30433,10 @@ export declare const brandBriefSchema: z$1.ZodObject<{
|
|
|
30052
30433
|
summary: z$1.ZodString;
|
|
30053
30434
|
}, z$1.core.$strip>>;
|
|
30054
30435
|
productSource: z$1.ZodNullable<z$1.ZodEnum<{
|
|
30055
|
-
NONE: "NONE";
|
|
30056
30436
|
SPREADSHEET: "SPREADSHEET";
|
|
30057
30437
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30058
30438
|
PHOTOS: "PHOTOS";
|
|
30439
|
+
NONE: "NONE";
|
|
30059
30440
|
}>>;
|
|
30060
30441
|
notes: z$1.ZodNullable<z$1.ZodString>;
|
|
30061
30442
|
}, z$1.core.$strip>;
|
|
@@ -30075,10 +30456,10 @@ export declare const putBrandBriefRequestSchema: z$1.ZodObject<{
|
|
|
30075
30456
|
summary: z$1.ZodString;
|
|
30076
30457
|
}, z$1.core.$strip>>>;
|
|
30077
30458
|
productSource: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodEnum<{
|
|
30078
|
-
NONE: "NONE";
|
|
30079
30459
|
SPREADSHEET: "SPREADSHEET";
|
|
30080
30460
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30081
30461
|
PHOTOS: "PHOTOS";
|
|
30462
|
+
NONE: "NONE";
|
|
30082
30463
|
}>>>;
|
|
30083
30464
|
notes: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
30084
30465
|
}, z$1.core.$strip>;
|
|
@@ -30099,10 +30480,10 @@ export declare const brandBriefViewSchema: z$1.ZodObject<{
|
|
|
30099
30480
|
summary: z$1.ZodString;
|
|
30100
30481
|
}, z$1.core.$strip>>;
|
|
30101
30482
|
productSource: z$1.ZodNullable<z$1.ZodEnum<{
|
|
30102
|
-
NONE: "NONE";
|
|
30103
30483
|
SPREADSHEET: "SPREADSHEET";
|
|
30104
30484
|
EXISTING_STORE: "EXISTING_STORE";
|
|
30105
30485
|
PHOTOS: "PHOTOS";
|
|
30486
|
+
NONE: "NONE";
|
|
30106
30487
|
}>>;
|
|
30107
30488
|
notes: z$1.ZodNullable<z$1.ZodString>;
|
|
30108
30489
|
}, z$1.core.$strip>>;
|
|
@@ -30262,7 +30643,6 @@ export declare const subscriptionLimitsSchema: z$1.ZodObject<{
|
|
|
30262
30643
|
adminApiRequestsMonthly: z$1.ZodNullable<z$1.ZodNumber>;
|
|
30263
30644
|
publicApps: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
30264
30645
|
privateApps: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
30265
|
-
aiCreditsMonthly: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
30266
30646
|
}, z$1.core.$strip>;
|
|
30267
30647
|
export type SubscriptionLimits = z$1.infer<typeof subscriptionLimitsSchema>;
|
|
30268
30648
|
export declare const subscriptionUsageSchema: z$1.ZodObject<{
|
|
@@ -30325,12 +30705,12 @@ export declare const storeSubscriptionSchema: z$1.ZodObject<{
|
|
|
30325
30705
|
adminApiRequestsMonthly: z$1.ZodNullable<z$1.ZodNumber>;
|
|
30326
30706
|
publicApps: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
30327
30707
|
privateApps: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
30328
|
-
aiCreditsMonthly: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
30329
30708
|
}, z$1.core.$strip>;
|
|
30330
30709
|
features: z$1.ZodObject<{
|
|
30331
30710
|
adminApi: z$1.ZodBoolean;
|
|
30332
30711
|
analytics: z$1.ZodBoolean;
|
|
30333
30712
|
members: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
30713
|
+
aiAssistant: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
30334
30714
|
storeClone: z$1.ZodBoolean;
|
|
30335
30715
|
removeBadge: z$1.ZodBoolean;
|
|
30336
30716
|
}, z$1.core.$strip>;
|
|
@@ -30359,16 +30739,6 @@ export declare const storeSubscriptionSchema: z$1.ZodObject<{
|
|
|
30359
30739
|
used: z$1.ZodNumber;
|
|
30360
30740
|
resetsAt: z$1.ZodString;
|
|
30361
30741
|
}, z$1.core.$strip>;
|
|
30362
|
-
aiCredits: z$1.ZodOptional<z$1.ZodObject<{
|
|
30363
|
-
monthly: z$1.ZodNullable<z$1.ZodNumber>;
|
|
30364
|
-
granted: z$1.ZodNumber;
|
|
30365
|
-
used: z$1.ZodNumber;
|
|
30366
|
-
monthlyUsed: z$1.ZodOptional<z$1.ZodNumber>;
|
|
30367
|
-
purchased: z$1.ZodOptional<z$1.ZodNumber>;
|
|
30368
|
-
complimentary: z$1.ZodOptional<z$1.ZodNumber>;
|
|
30369
|
-
remaining: z$1.ZodNullable<z$1.ZodNumber>;
|
|
30370
|
-
resetsAt: z$1.ZodString;
|
|
30371
|
-
}, z$1.core.$strip>>;
|
|
30372
30742
|
salesFeePercent: z$1.ZodLiteral<0>;
|
|
30373
30743
|
}, z$1.core.$strip>;
|
|
30374
30744
|
export type StoreSubscription = z$1.infer<typeof storeSubscriptionSchema>;
|