@sayren/store-sdk 0.60.0 → 0.60.2
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 +166 -124
- package/dist/index.mjs +38 -5
- package/package.json +1 -1
- package/src/client.ts +16 -0
- package/src/schemas/storefront-hosting.ts +63 -3
package/dist/index.d.mts
CHANGED
|
@@ -166,9 +166,9 @@ export declare const auditLogPageSchema: z$1.ZodObject<{
|
|
|
166
166
|
}, z$1.core.$strip>;
|
|
167
167
|
export type AuditLogPage = z$1.infer<typeof auditLogPageSchema>;
|
|
168
168
|
export declare const agentPolicyDecisionSchema: z$1.ZodEnum<{
|
|
169
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
169
170
|
DENIED: "DENIED";
|
|
170
171
|
ALLOW: "ALLOW";
|
|
171
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
172
172
|
}>;
|
|
173
173
|
export type AgentPolicyDecision = z$1.infer<typeof agentPolicyDecisionSchema>;
|
|
174
174
|
export declare const writePreviewSchema: z$1.ZodObject<{
|
|
@@ -192,9 +192,9 @@ export type WritePreview = z$1.infer<typeof writePreviewSchema>;
|
|
|
192
192
|
export declare const writeDryRunResultSchema: z$1.ZodObject<{
|
|
193
193
|
dryRun: z$1.ZodLiteral<true>;
|
|
194
194
|
decision: z$1.ZodEnum<{
|
|
195
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
196
|
DENIED: "DENIED";
|
|
196
197
|
ALLOW: "ALLOW";
|
|
197
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
198
198
|
}>;
|
|
199
199
|
reason: z$1.ZodNullable<z$1.ZodString>;
|
|
200
200
|
preview: z$1.ZodObject<{
|
|
@@ -216,11 +216,11 @@ export declare const writeDryRunResultSchema: z$1.ZodObject<{
|
|
|
216
216
|
}, z$1.core.$strip>;
|
|
217
217
|
export type WriteDryRunResult = z$1.infer<typeof writeDryRunResultSchema>;
|
|
218
218
|
export declare const approvalStatusSchema: z$1.ZodEnum<{
|
|
219
|
+
UNKNOWN: "UNKNOWN";
|
|
219
220
|
PENDING: "PENDING";
|
|
220
221
|
FAILED: "FAILED";
|
|
221
222
|
SUCCEEDED: "SUCCEEDED";
|
|
222
223
|
EXECUTING: "EXECUTING";
|
|
223
|
-
UNKNOWN: "UNKNOWN";
|
|
224
224
|
REJECTED: "REJECTED";
|
|
225
225
|
EXPIRED: "EXPIRED";
|
|
226
226
|
}>;
|
|
@@ -228,11 +228,11 @@ export type ApprovalStatus = z$1.infer<typeof approvalStatusSchema>;
|
|
|
228
228
|
export declare const approvalRequestSchema: z$1.ZodObject<{
|
|
229
229
|
approvalId: z$1.ZodString;
|
|
230
230
|
status: z$1.ZodEnum<{
|
|
231
|
+
UNKNOWN: "UNKNOWN";
|
|
231
232
|
PENDING: "PENDING";
|
|
232
233
|
FAILED: "FAILED";
|
|
233
234
|
SUCCEEDED: "SUCCEEDED";
|
|
234
235
|
EXECUTING: "EXECUTING";
|
|
235
|
-
UNKNOWN: "UNKNOWN";
|
|
236
236
|
REJECTED: "REJECTED";
|
|
237
237
|
EXPIRED: "EXPIRED";
|
|
238
238
|
}>;
|
|
@@ -292,11 +292,11 @@ export declare const approvalRequestSchema: z$1.ZodObject<{
|
|
|
292
292
|
export type ApprovalRequest = z$1.infer<typeof approvalRequestSchema>;
|
|
293
293
|
export declare const approvalListQuerySchema: z$1.ZodObject<{
|
|
294
294
|
status: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>, z$1.ZodTransform<string[], string | string[]>>, z$1.ZodArray<z$1.ZodEnum<{
|
|
295
|
+
UNKNOWN: "UNKNOWN";
|
|
295
296
|
PENDING: "PENDING";
|
|
296
297
|
FAILED: "FAILED";
|
|
297
298
|
SUCCEEDED: "SUCCEEDED";
|
|
298
299
|
EXECUTING: "EXECUTING";
|
|
299
|
-
UNKNOWN: "UNKNOWN";
|
|
300
300
|
REJECTED: "REJECTED";
|
|
301
301
|
EXPIRED: "EXPIRED";
|
|
302
302
|
}>>>>;
|
|
@@ -311,11 +311,11 @@ export declare const approvalPageSchema: z$1.ZodObject<{
|
|
|
311
311
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
312
312
|
approvalId: z$1.ZodString;
|
|
313
313
|
status: z$1.ZodEnum<{
|
|
314
|
+
UNKNOWN: "UNKNOWN";
|
|
314
315
|
PENDING: "PENDING";
|
|
315
316
|
FAILED: "FAILED";
|
|
316
317
|
SUCCEEDED: "SUCCEEDED";
|
|
317
318
|
EXECUTING: "EXECUTING";
|
|
318
|
-
UNKNOWN: "UNKNOWN";
|
|
319
319
|
REJECTED: "REJECTED";
|
|
320
320
|
EXPIRED: "EXPIRED";
|
|
321
321
|
}>;
|
|
@@ -502,8 +502,8 @@ export type AiRun = z$1.infer<typeof aiRunSchema>;
|
|
|
502
502
|
export declare const aiActivitySchema: z$1.ZodEnum<{
|
|
503
503
|
check: "check";
|
|
504
504
|
code: "code";
|
|
505
|
-
version: "version";
|
|
506
505
|
status: "status";
|
|
506
|
+
version: "version";
|
|
507
507
|
shipping: "shipping";
|
|
508
508
|
product: "product";
|
|
509
509
|
category: "category";
|
|
@@ -757,8 +757,8 @@ export declare const aiMessagePartSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
757
757
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
758
758
|
check: "check";
|
|
759
759
|
code: "code";
|
|
760
|
-
version: "version";
|
|
761
760
|
status: "status";
|
|
761
|
+
version: "version";
|
|
762
762
|
shipping: "shipping";
|
|
763
763
|
product: "product";
|
|
764
764
|
category: "category";
|
|
@@ -913,8 +913,8 @@ export declare const aiMessageSchema: z$1.ZodObject<{
|
|
|
913
913
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
914
914
|
check: "check";
|
|
915
915
|
code: "code";
|
|
916
|
-
version: "version";
|
|
917
916
|
status: "status";
|
|
917
|
+
version: "version";
|
|
918
918
|
shipping: "shipping";
|
|
919
919
|
product: "product";
|
|
920
920
|
category: "category";
|
|
@@ -1102,8 +1102,8 @@ export declare const aiConversationSchema: z$1.ZodObject<{
|
|
|
1102
1102
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1103
1103
|
check: "check";
|
|
1104
1104
|
code: "code";
|
|
1105
|
-
version: "version";
|
|
1106
1105
|
status: "status";
|
|
1106
|
+
version: "version";
|
|
1107
1107
|
shipping: "shipping";
|
|
1108
1108
|
product: "product";
|
|
1109
1109
|
category: "category";
|
|
@@ -1606,8 +1606,8 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1606
1606
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1607
1607
|
check: "check";
|
|
1608
1608
|
code: "code";
|
|
1609
|
-
version: "version";
|
|
1610
1609
|
status: "status";
|
|
1610
|
+
version: "version";
|
|
1611
1611
|
shipping: "shipping";
|
|
1612
1612
|
product: "product";
|
|
1613
1613
|
category: "category";
|
|
@@ -1734,8 +1734,8 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1734
1734
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1735
1735
|
check: "check";
|
|
1736
1736
|
code: "code";
|
|
1737
|
-
version: "version";
|
|
1738
1737
|
status: "status";
|
|
1738
|
+
version: "version";
|
|
1739
1739
|
shipping: "shipping";
|
|
1740
1740
|
product: "product";
|
|
1741
1741
|
category: "category";
|
|
@@ -1962,8 +1962,8 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
1962
1962
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1963
1963
|
check: "check";
|
|
1964
1964
|
code: "code";
|
|
1965
|
-
version: "version";
|
|
1966
1965
|
status: "status";
|
|
1966
|
+
version: "version";
|
|
1967
1967
|
shipping: "shipping";
|
|
1968
1968
|
product: "product";
|
|
1969
1969
|
category: "category";
|
|
@@ -2090,8 +2090,8 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
2090
2090
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2091
2091
|
check: "check";
|
|
2092
2092
|
code: "code";
|
|
2093
|
-
version: "version";
|
|
2094
2093
|
status: "status";
|
|
2094
|
+
version: "version";
|
|
2095
2095
|
shipping: "shipping";
|
|
2096
2096
|
product: "product";
|
|
2097
2097
|
category: "category";
|
|
@@ -2326,11 +2326,11 @@ export declare const analyticsTotalsSchema: z$1.ZodObject<{
|
|
|
2326
2326
|
export type AnalyticsTotals = z$1.infer<typeof analyticsTotalsSchema>;
|
|
2327
2327
|
export declare const analyticsFunnelStepSchema: z$1.ZodObject<{
|
|
2328
2328
|
step: z$1.ZodEnum<{
|
|
2329
|
-
PURCHASE: "PURCHASE";
|
|
2330
2329
|
SESSION: "SESSION";
|
|
2331
2330
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
2332
2331
|
ADD_TO_CART: "ADD_TO_CART";
|
|
2333
2332
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
2333
|
+
PURCHASE: "PURCHASE";
|
|
2334
2334
|
}>;
|
|
2335
2335
|
sessions: z$1.ZodNumber;
|
|
2336
2336
|
rateFromPrevious: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -2355,11 +2355,11 @@ export declare const analyticsOverviewSchema: z$1.ZodObject<{
|
|
|
2355
2355
|
}, z$1.core.$strip>;
|
|
2356
2356
|
funnel: z$1.ZodArray<z$1.ZodObject<{
|
|
2357
2357
|
step: z$1.ZodEnum<{
|
|
2358
|
-
PURCHASE: "PURCHASE";
|
|
2359
2358
|
SESSION: "SESSION";
|
|
2360
2359
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
2361
2360
|
ADD_TO_CART: "ADD_TO_CART";
|
|
2362
2361
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
2362
|
+
PURCHASE: "PURCHASE";
|
|
2363
2363
|
}>;
|
|
2364
2364
|
sessions: z$1.ZodNumber;
|
|
2365
2365
|
rateFromPrevious: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -2464,20 +2464,20 @@ export declare const analyticsProductsSchema: z$1.ZodObject<{
|
|
|
2464
2464
|
}, z$1.core.$strip>;
|
|
2465
2465
|
export type AnalyticsProducts = z$1.infer<typeof analyticsProductsSchema>;
|
|
2466
2466
|
export declare const analyticsChannelSchema: z$1.ZodEnum<{
|
|
2467
|
-
PAID: "PAID";
|
|
2468
2467
|
DIRECT: "DIRECT";
|
|
2469
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2470
|
-
UNKNOWN: "UNKNOWN";
|
|
2471
2468
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2472
2469
|
SOCIAL: "SOCIAL";
|
|
2470
|
+
PAID: "PAID";
|
|
2473
2471
|
EMAIL: "EMAIL";
|
|
2472
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2474
2473
|
REFERRAL: "REFERRAL";
|
|
2474
|
+
UNKNOWN: "UNKNOWN";
|
|
2475
2475
|
}>;
|
|
2476
2476
|
export type AnalyticsChannel = z$1.infer<typeof analyticsChannelSchema>;
|
|
2477
2477
|
export declare const analyticsSourceGroupBySchema: z$1.ZodEnum<{
|
|
2478
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2478
2479
|
CHANNEL: "CHANNEL";
|
|
2479
2480
|
SOURCE: "SOURCE";
|
|
2480
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2481
2481
|
DEVICE: "DEVICE";
|
|
2482
2482
|
}>;
|
|
2483
2483
|
export type AnalyticsSourceGroupBy = z$1.infer<typeof analyticsSourceGroupBySchema>;
|
|
@@ -2489,23 +2489,23 @@ export declare const analyticsSourcesQuerySchema: z$1.ZodObject<{
|
|
|
2489
2489
|
false: "false";
|
|
2490
2490
|
}>>;
|
|
2491
2491
|
groupBy: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2492
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2492
2493
|
CHANNEL: "CHANNEL";
|
|
2493
2494
|
SOURCE: "SOURCE";
|
|
2494
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2495
2495
|
DEVICE: "DEVICE";
|
|
2496
2496
|
}>>;
|
|
2497
2497
|
}, z$1.core.$strip>;
|
|
2498
2498
|
export type AnalyticsSourcesParams = z$1.infer<typeof analyticsSourcesQuerySchema>;
|
|
2499
2499
|
export declare const analyticsSourceRowSchema: z$1.ZodObject<{
|
|
2500
2500
|
channel: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2501
|
-
PAID: "PAID";
|
|
2502
2501
|
DIRECT: "DIRECT";
|
|
2503
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2504
|
-
UNKNOWN: "UNKNOWN";
|
|
2505
2502
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2506
2503
|
SOCIAL: "SOCIAL";
|
|
2504
|
+
PAID: "PAID";
|
|
2507
2505
|
EMAIL: "EMAIL";
|
|
2506
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2508
2507
|
REFERRAL: "REFERRAL";
|
|
2508
|
+
UNKNOWN: "UNKNOWN";
|
|
2509
2509
|
}>>;
|
|
2510
2510
|
source: z$1.ZodNullable<z$1.ZodString>;
|
|
2511
2511
|
medium: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -2527,21 +2527,21 @@ export declare const analyticsSourceRowSchema: z$1.ZodObject<{
|
|
|
2527
2527
|
export type AnalyticsSourceRow = z$1.infer<typeof analyticsSourceRowSchema>;
|
|
2528
2528
|
export declare const analyticsSourcesSchema: z$1.ZodObject<{
|
|
2529
2529
|
groupBy: z$1.ZodEnum<{
|
|
2530
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2530
2531
|
CHANNEL: "CHANNEL";
|
|
2531
2532
|
SOURCE: "SOURCE";
|
|
2532
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2533
2533
|
DEVICE: "DEVICE";
|
|
2534
2534
|
}>;
|
|
2535
2535
|
rows: z$1.ZodArray<z$1.ZodObject<{
|
|
2536
2536
|
channel: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2537
|
-
PAID: "PAID";
|
|
2538
2537
|
DIRECT: "DIRECT";
|
|
2539
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2540
|
-
UNKNOWN: "UNKNOWN";
|
|
2541
2538
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2542
2539
|
SOCIAL: "SOCIAL";
|
|
2540
|
+
PAID: "PAID";
|
|
2543
2541
|
EMAIL: "EMAIL";
|
|
2542
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2544
2543
|
REFERRAL: "REFERRAL";
|
|
2544
|
+
UNKNOWN: "UNKNOWN";
|
|
2545
2545
|
}>>;
|
|
2546
2546
|
source: z$1.ZodNullable<z$1.ZodString>;
|
|
2547
2547
|
medium: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -2690,12 +2690,12 @@ export declare const analyticsSearchSchema: z$1.ZodObject<{
|
|
|
2690
2690
|
}, z$1.core.$strip>;
|
|
2691
2691
|
export type AnalyticsSearch = z$1.infer<typeof analyticsSearchSchema>;
|
|
2692
2692
|
export declare const analyticsCheckoutOutcomeSchema: z$1.ZodEnum<{
|
|
2693
|
-
OTHER: "OTHER";
|
|
2694
2693
|
COMPLETED: "COMPLETED";
|
|
2695
2694
|
NOT_OPENED: "NOT_OPENED";
|
|
2696
2695
|
USER_CANCELED: "USER_CANCELED";
|
|
2697
2696
|
DECLINED: "DECLINED";
|
|
2698
2697
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
2698
|
+
OTHER: "OTHER";
|
|
2699
2699
|
IN_PROGRESS: "IN_PROGRESS";
|
|
2700
2700
|
}>;
|
|
2701
2701
|
export type AnalyticsCheckoutOutcome = z$1.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
@@ -2703,12 +2703,12 @@ export declare const analyticsCheckoutSchema: z$1.ZodObject<{
|
|
|
2703
2703
|
sessions: z$1.ZodNumber;
|
|
2704
2704
|
outcomes: z$1.ZodArray<z$1.ZodObject<{
|
|
2705
2705
|
outcome: z$1.ZodEnum<{
|
|
2706
|
-
OTHER: "OTHER";
|
|
2707
2706
|
COMPLETED: "COMPLETED";
|
|
2708
2707
|
NOT_OPENED: "NOT_OPENED";
|
|
2709
2708
|
USER_CANCELED: "USER_CANCELED";
|
|
2710
2709
|
DECLINED: "DECLINED";
|
|
2711
2710
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
2711
|
+
OTHER: "OTHER";
|
|
2712
2712
|
IN_PROGRESS: "IN_PROGRESS";
|
|
2713
2713
|
}>;
|
|
2714
2714
|
sessions: z$1.ZodNumber;
|
|
@@ -2901,8 +2901,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
2901
2901
|
*/
|
|
2902
2902
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
2903
2903
|
export declare const fulfillmentMethodSchema: z$1.ZodEnum<{
|
|
2904
|
-
CARRIER: "CARRIER";
|
|
2905
2904
|
DIRECT: "DIRECT";
|
|
2905
|
+
CARRIER: "CARRIER";
|
|
2906
2906
|
PICKUP: "PICKUP";
|
|
2907
2907
|
PROVIDED: "PROVIDED";
|
|
2908
2908
|
}>;
|
|
@@ -2946,8 +2946,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
2946
2946
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
2947
2947
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
2948
2948
|
export declare const deliveryTypeSchema: z$1.ZodEnum<{
|
|
2949
|
-
FREE: "FREE";
|
|
2950
2949
|
PAID: "PAID";
|
|
2950
|
+
FREE: "FREE";
|
|
2951
2951
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2952
2952
|
}>;
|
|
2953
2953
|
export type DeliveryType = z$1.infer<typeof deliveryTypeSchema>;
|
|
@@ -2958,8 +2958,8 @@ export declare const productFulfillmentCreateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
2958
2958
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
2959
2959
|
shipping: z$1.ZodOptional<z$1.ZodObject<{
|
|
2960
2960
|
deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
2961
|
-
FREE: "FREE";
|
|
2962
2961
|
PAID: "PAID";
|
|
2962
|
+
FREE: "FREE";
|
|
2963
2963
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2964
2964
|
}>>;
|
|
2965
2965
|
deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -2990,16 +2990,16 @@ export declare const productFulfillmentCreateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
2990
2990
|
}, z$1.core.$strict>>>;
|
|
2991
2991
|
}, z$1.core.$strict>>;
|
|
2992
2992
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
2993
|
-
CARRIER: "CARRIER";
|
|
2994
2993
|
DIRECT: "DIRECT";
|
|
2994
|
+
CARRIER: "CARRIER";
|
|
2995
2995
|
PICKUP: "PICKUP";
|
|
2996
2996
|
PROVIDED: "PROVIDED";
|
|
2997
2997
|
}>>>;
|
|
2998
2998
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
2999
2999
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
3000
3000
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3001
|
-
CARRIER: "CARRIER";
|
|
3002
3001
|
DIRECT: "DIRECT";
|
|
3002
|
+
CARRIER: "CARRIER";
|
|
3003
3003
|
PICKUP: "PICKUP";
|
|
3004
3004
|
PROVIDED: "PROVIDED";
|
|
3005
3005
|
}>>>;
|
|
@@ -3015,8 +3015,8 @@ export declare const productFulfillmentUpdateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
3015
3015
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3016
3016
|
shipping: z$1.ZodObject<{
|
|
3017
3017
|
deliveryType: z$1.ZodEnum<{
|
|
3018
|
-
FREE: "FREE";
|
|
3019
3018
|
PAID: "PAID";
|
|
3019
|
+
FREE: "FREE";
|
|
3020
3020
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3021
3021
|
}>;
|
|
3022
3022
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3047,16 +3047,16 @@ export declare const productFulfillmentUpdateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
3047
3047
|
}, z$1.core.$strict>>>;
|
|
3048
3048
|
}, z$1.core.$strict>;
|
|
3049
3049
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3050
|
-
CARRIER: "CARRIER";
|
|
3051
3050
|
DIRECT: "DIRECT";
|
|
3051
|
+
CARRIER: "CARRIER";
|
|
3052
3052
|
PICKUP: "PICKUP";
|
|
3053
3053
|
PROVIDED: "PROVIDED";
|
|
3054
3054
|
}>>>;
|
|
3055
3055
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
3056
3056
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
3057
3057
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3058
|
-
CARRIER: "CARRIER";
|
|
3059
3058
|
DIRECT: "DIRECT";
|
|
3059
|
+
CARRIER: "CARRIER";
|
|
3060
3060
|
PICKUP: "PICKUP";
|
|
3061
3061
|
PROVIDED: "PROVIDED";
|
|
3062
3062
|
}>>>;
|
|
@@ -3070,8 +3070,8 @@ export declare const productFulfillmentSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
3070
3070
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3071
3071
|
shipping: z$1.ZodObject<{
|
|
3072
3072
|
deliveryType: z$1.ZodEnum<{
|
|
3073
|
-
FREE: "FREE";
|
|
3074
3073
|
PAID: "PAID";
|
|
3074
|
+
FREE: "FREE";
|
|
3075
3075
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3076
3076
|
}>;
|
|
3077
3077
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3116,8 +3116,8 @@ export declare const productFulfillmentResponseSchema: z$1.ZodUnion<readonly [z$
|
|
|
3116
3116
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3117
3117
|
shipping: z$1.ZodObject<{
|
|
3118
3118
|
deliveryType: z$1.ZodEnum<{
|
|
3119
|
-
FREE: "FREE";
|
|
3120
3119
|
PAID: "PAID";
|
|
3120
|
+
FREE: "FREE";
|
|
3121
3121
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3122
3122
|
}>;
|
|
3123
3123
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3410,8 +3410,8 @@ export declare const claimWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3410
3410
|
CANCEL: "CANCEL";
|
|
3411
3411
|
}>;
|
|
3412
3412
|
status: z$1.ZodEnum<{
|
|
3413
|
-
REJECTED: "REJECTED";
|
|
3414
3413
|
COMPLETED: "COMPLETED";
|
|
3414
|
+
REJECTED: "REJECTED";
|
|
3415
3415
|
REQUESTED: "REQUESTED";
|
|
3416
3416
|
HELD: "HELD";
|
|
3417
3417
|
COLLECTING: "COLLECTING";
|
|
@@ -3667,8 +3667,8 @@ export declare const claimWebhookEventSchema: z$1.ZodObject<{
|
|
|
3667
3667
|
CANCEL: "CANCEL";
|
|
3668
3668
|
}>;
|
|
3669
3669
|
status: z$1.ZodEnum<{
|
|
3670
|
-
REJECTED: "REJECTED";
|
|
3671
3670
|
COMPLETED: "COMPLETED";
|
|
3671
|
+
REJECTED: "REJECTED";
|
|
3672
3672
|
REQUESTED: "REQUESTED";
|
|
3673
3673
|
HELD: "HELD";
|
|
3674
3674
|
COLLECTING: "COLLECTING";
|
|
@@ -4067,8 +4067,8 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
4067
4067
|
CANCEL: "CANCEL";
|
|
4068
4068
|
}>;
|
|
4069
4069
|
status: z$1.ZodEnum<{
|
|
4070
|
-
REJECTED: "REJECTED";
|
|
4071
4070
|
COMPLETED: "COMPLETED";
|
|
4071
|
+
REJECTED: "REJECTED";
|
|
4072
4072
|
REQUESTED: "REQUESTED";
|
|
4073
4073
|
HELD: "HELD";
|
|
4074
4074
|
COLLECTING: "COLLECTING";
|
|
@@ -4475,8 +4475,8 @@ export declare const appManifestSchema: z$1.ZodObject<{
|
|
|
4475
4475
|
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
4476
4476
|
readme: z$1.ZodOptional<z$1.ZodString>;
|
|
4477
4477
|
runtime: z$1.ZodDefault<z$1.ZodEnum<{
|
|
4478
|
-
external: "external";
|
|
4479
4478
|
code: "code";
|
|
4479
|
+
external: "external";
|
|
4480
4480
|
}>>;
|
|
4481
4481
|
external: z$1.ZodOptional<z$1.ZodObject<{
|
|
4482
4482
|
url: z$1.ZodURL;
|
|
@@ -5889,8 +5889,8 @@ export declare const createSellerCheckoutRequestSchema: z$1.ZodObject<{
|
|
|
5889
5889
|
}, z$1.core.$strip>>;
|
|
5890
5890
|
expiresAt: z$1.ZodISODateTime;
|
|
5891
5891
|
fulfillmentMethod: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5892
|
-
CARRIER: "CARRIER";
|
|
5893
5892
|
DIRECT: "DIRECT";
|
|
5893
|
+
CARRIER: "CARRIER";
|
|
5894
5894
|
PICKUP: "PICKUP";
|
|
5895
5895
|
PROVIDED: "PROVIDED";
|
|
5896
5896
|
}>>;
|
|
@@ -6013,8 +6013,8 @@ export declare const createOrderRequestSchema: z$1.ZodObject<{
|
|
|
6013
6013
|
}, z$1.core.$strip>>;
|
|
6014
6014
|
expiresAt: z$1.ZodISODateTime;
|
|
6015
6015
|
fulfillmentMethod: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6016
|
-
CARRIER: "CARRIER";
|
|
6017
6016
|
DIRECT: "DIRECT";
|
|
6017
|
+
CARRIER: "CARRIER";
|
|
6018
6018
|
PICKUP: "PICKUP";
|
|
6019
6019
|
PROVIDED: "PROVIDED";
|
|
6020
6020
|
}>>;
|
|
@@ -6136,8 +6136,8 @@ export declare const claimTypeSchema: z$1.ZodEnum<{
|
|
|
6136
6136
|
}>;
|
|
6137
6137
|
export type ClaimType = z$1.infer<typeof claimTypeSchema>;
|
|
6138
6138
|
export declare const claimStatusSchema: z$1.ZodEnum<{
|
|
6139
|
-
REJECTED: "REJECTED";
|
|
6140
6139
|
COMPLETED: "COMPLETED";
|
|
6140
|
+
REJECTED: "REJECTED";
|
|
6141
6141
|
REQUESTED: "REQUESTED";
|
|
6142
6142
|
HELD: "HELD";
|
|
6143
6143
|
COLLECTING: "COLLECTING";
|
|
@@ -6181,8 +6181,8 @@ export declare const claimSchema: z$1.ZodObject<{
|
|
|
6181
6181
|
CANCEL: "CANCEL";
|
|
6182
6182
|
}>;
|
|
6183
6183
|
status: z$1.ZodEnum<{
|
|
6184
|
-
REJECTED: "REJECTED";
|
|
6185
6184
|
COMPLETED: "COMPLETED";
|
|
6185
|
+
REJECTED: "REJECTED";
|
|
6186
6186
|
REQUESTED: "REQUESTED";
|
|
6187
6187
|
HELD: "HELD";
|
|
6188
6188
|
COLLECTING: "COLLECTING";
|
|
@@ -6271,8 +6271,8 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6271
6271
|
CANCEL: "CANCEL";
|
|
6272
6272
|
}>;
|
|
6273
6273
|
status: z$1.ZodEnum<{
|
|
6274
|
-
REJECTED: "REJECTED";
|
|
6275
6274
|
COMPLETED: "COMPLETED";
|
|
6275
|
+
REJECTED: "REJECTED";
|
|
6276
6276
|
REQUESTED: "REQUESTED";
|
|
6277
6277
|
HELD: "HELD";
|
|
6278
6278
|
COLLECTING: "COLLECTING";
|
|
@@ -6329,8 +6329,8 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6329
6329
|
}, z$1.core.$strip>>;
|
|
6330
6330
|
histories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
6331
6331
|
status: z$1.ZodEnum<{
|
|
6332
|
-
REJECTED: "REJECTED";
|
|
6333
6332
|
COMPLETED: "COMPLETED";
|
|
6333
|
+
REJECTED: "REJECTED";
|
|
6334
6334
|
REQUESTED: "REQUESTED";
|
|
6335
6335
|
HELD: "HELD";
|
|
6336
6336
|
COLLECTING: "COLLECTING";
|
|
@@ -6982,8 +6982,8 @@ export declare const flowStateSchema: z$1.ZodObject<{
|
|
|
6982
6982
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6983
6983
|
}>>;
|
|
6984
6984
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6985
|
-
REJECTED: "REJECTED";
|
|
6986
6985
|
COMPLETED: "COMPLETED";
|
|
6986
|
+
REJECTED: "REJECTED";
|
|
6987
6987
|
REQUESTED: "REQUESTED";
|
|
6988
6988
|
HELD: "HELD";
|
|
6989
6989
|
COLLECTING: "COLLECTING";
|
|
@@ -7031,8 +7031,8 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
|
|
|
7031
7031
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7032
7032
|
}>>;
|
|
7033
7033
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7034
|
-
REJECTED: "REJECTED";
|
|
7035
7034
|
COMPLETED: "COMPLETED";
|
|
7035
|
+
REJECTED: "REJECTED";
|
|
7036
7036
|
REQUESTED: "REQUESTED";
|
|
7037
7037
|
HELD: "HELD";
|
|
7038
7038
|
COLLECTING: "COLLECTING";
|
|
@@ -7131,8 +7131,8 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
|
|
|
7131
7131
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7132
7132
|
}>>;
|
|
7133
7133
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7134
|
-
REJECTED: "REJECTED";
|
|
7135
7134
|
COMPLETED: "COMPLETED";
|
|
7135
|
+
REJECTED: "REJECTED";
|
|
7136
7136
|
REQUESTED: "REQUESTED";
|
|
7137
7137
|
HELD: "HELD";
|
|
7138
7138
|
COLLECTING: "COLLECTING";
|
|
@@ -7224,8 +7224,8 @@ export declare const flowActionResultSchema: z$1.ZodObject<{
|
|
|
7224
7224
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7225
7225
|
}>>;
|
|
7226
7226
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7227
|
-
REJECTED: "REJECTED";
|
|
7228
7227
|
COMPLETED: "COMPLETED";
|
|
7228
|
+
REJECTED: "REJECTED";
|
|
7229
7229
|
REQUESTED: "REQUESTED";
|
|
7230
7230
|
HELD: "HELD";
|
|
7231
7231
|
COLLECTING: "COLLECTING";
|
|
@@ -7537,8 +7537,8 @@ export declare const flowDraftOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
7537
7537
|
PAUSE: "PAUSE";
|
|
7538
7538
|
}>>;
|
|
7539
7539
|
fulfillmentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7540
|
-
CARRIER: "CARRIER";
|
|
7541
7540
|
DIRECT: "DIRECT";
|
|
7541
|
+
CARRIER: "CARRIER";
|
|
7542
7542
|
PICKUP: "PICKUP";
|
|
7543
7543
|
PROVIDED: "PROVIDED";
|
|
7544
7544
|
}>>>;
|
|
@@ -7599,8 +7599,8 @@ export declare const applyFlowOperationsRequestSchema: z$1.ZodObject<{
|
|
|
7599
7599
|
PAUSE: "PAUSE";
|
|
7600
7600
|
}>>;
|
|
7601
7601
|
fulfillmentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7602
|
-
CARRIER: "CARRIER";
|
|
7603
7602
|
DIRECT: "DIRECT";
|
|
7603
|
+
CARRIER: "CARRIER";
|
|
7604
7604
|
PICKUP: "PICKUP";
|
|
7605
7605
|
PROVIDED: "PROVIDED";
|
|
7606
7606
|
}>>>;
|
|
@@ -7679,8 +7679,8 @@ export declare const orderFlowActionResultSchema: z$1.ZodObject<{
|
|
|
7679
7679
|
results: z$1.ZodArray<z$1.ZodObject<{
|
|
7680
7680
|
orderItemId: z$1.ZodString;
|
|
7681
7681
|
status: z$1.ZodEnum<{
|
|
7682
|
-
FAILED: "FAILED";
|
|
7683
7682
|
COMPLETED: "COMPLETED";
|
|
7683
|
+
FAILED: "FAILED";
|
|
7684
7684
|
SKIPPED: "SKIPPED";
|
|
7685
7685
|
}>;
|
|
7686
7686
|
reason: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -9286,10 +9286,10 @@ export type CustomerOrder = z$1.infer<typeof customerOrderSchema>;
|
|
|
9286
9286
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
9287
9287
|
export declare const withdrawCustomerRequestSchema: z$1.ZodObject<{
|
|
9288
9288
|
reason: z$1.ZodEnum<{
|
|
9289
|
+
OTHER: "OTHER";
|
|
9289
9290
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
9290
9291
|
DORMANT: "DORMANT";
|
|
9291
9292
|
ABUSE: "ABUSE";
|
|
9292
|
-
OTHER: "OTHER";
|
|
9293
9293
|
}>;
|
|
9294
9294
|
memo: z$1.ZodOptional<z$1.ZodString>;
|
|
9295
9295
|
}, z$1.core.$strip>;
|
|
@@ -13186,11 +13186,11 @@ export type PointEntry = z$1.infer<typeof pointEntrySchema>;
|
|
|
13186
13186
|
export declare const pointLotSchema: z$1.ZodObject<{
|
|
13187
13187
|
lotId: z$1.ZodString;
|
|
13188
13188
|
source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13189
|
+
PURCHASE: "PURCHASE";
|
|
13189
13190
|
OPENING: "OPENING";
|
|
13190
13191
|
ADJUST: "ADJUST";
|
|
13191
13192
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13192
13193
|
REVIEW: "REVIEW";
|
|
13193
|
-
PURCHASE: "PURCHASE";
|
|
13194
13194
|
COUPON: "COUPON";
|
|
13195
13195
|
}>, z$1.ZodString]>;
|
|
13196
13196
|
amount: z$1.ZodNumber;
|
|
@@ -13206,11 +13206,11 @@ export declare const customerPointsSchema: z$1.ZodObject<{
|
|
|
13206
13206
|
lots: z$1.ZodArray<z$1.ZodObject<{
|
|
13207
13207
|
lotId: z$1.ZodString;
|
|
13208
13208
|
source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13209
|
+
PURCHASE: "PURCHASE";
|
|
13209
13210
|
OPENING: "OPENING";
|
|
13210
13211
|
ADJUST: "ADJUST";
|
|
13211
13212
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13212
13213
|
REVIEW: "REVIEW";
|
|
13213
|
-
PURCHASE: "PURCHASE";
|
|
13214
13214
|
COUPON: "COUPON";
|
|
13215
13215
|
}>, z$1.ZodString]>;
|
|
13216
13216
|
amount: z$1.ZodNumber;
|
|
@@ -13575,16 +13575,16 @@ export declare const discountSchema: z$1.ZodObject<{
|
|
|
13575
13575
|
export type Discount = z$1.infer<typeof discountSchema>;
|
|
13576
13576
|
export declare const productSchema: z$1.ZodObject<{
|
|
13577
13577
|
name: z$1.ZodString;
|
|
13578
|
-
|
|
13578
|
+
productId: z$1.ZodString;
|
|
13579
13579
|
status: z$1.ZodEnum<{
|
|
13580
13580
|
SALE: "SALE";
|
|
13581
13581
|
SUSPENDED: "SUSPENDED";
|
|
13582
13582
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13583
13583
|
CLOSED: "CLOSED";
|
|
13584
13584
|
}>;
|
|
13585
|
+
salePrice: z$1.ZodNumber;
|
|
13585
13586
|
stockQuantity: z$1.ZodNumber;
|
|
13586
13587
|
categoryId: z$1.ZodNullable<z$1.ZodString>;
|
|
13587
|
-
productId: z$1.ZodString;
|
|
13588
13588
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13589
13589
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13590
13590
|
thumbnailUrl: z$1.ZodOptional<z$1.ZodURL>;
|
|
@@ -13675,8 +13675,8 @@ export declare const productSchema: z$1.ZodObject<{
|
|
|
13675
13675
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
13676
13676
|
shipping: z$1.ZodObject<{
|
|
13677
13677
|
deliveryType: z$1.ZodEnum<{
|
|
13678
|
-
FREE: "FREE";
|
|
13679
13678
|
PAID: "PAID";
|
|
13679
|
+
FREE: "FREE";
|
|
13680
13680
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
13681
13681
|
}>;
|
|
13682
13682
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14034,8 +14034,8 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14034
14034
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14035
14035
|
shipping: z$1.ZodOptional<z$1.ZodObject<{
|
|
14036
14036
|
deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
14037
|
-
FREE: "FREE";
|
|
14038
14037
|
PAID: "PAID";
|
|
14038
|
+
FREE: "FREE";
|
|
14039
14039
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14040
14040
|
}>>;
|
|
14041
14041
|
deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -14066,16 +14066,16 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14066
14066
|
}, z$1.core.$strict>>>;
|
|
14067
14067
|
}, z$1.core.$strict>>;
|
|
14068
14068
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14069
|
-
CARRIER: "CARRIER";
|
|
14070
14069
|
DIRECT: "DIRECT";
|
|
14070
|
+
CARRIER: "CARRIER";
|
|
14071
14071
|
PICKUP: "PICKUP";
|
|
14072
14072
|
PROVIDED: "PROVIDED";
|
|
14073
14073
|
}>>>;
|
|
14074
14074
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14075
14075
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14076
14076
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14077
|
-
CARRIER: "CARRIER";
|
|
14078
14077
|
DIRECT: "DIRECT";
|
|
14078
|
+
CARRIER: "CARRIER";
|
|
14079
14079
|
PICKUP: "PICKUP";
|
|
14080
14080
|
PROVIDED: "PROVIDED";
|
|
14081
14081
|
}>>>;
|
|
@@ -14278,8 +14278,8 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14278
14278
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14279
14279
|
shipping: z$1.ZodObject<{
|
|
14280
14280
|
deliveryType: z$1.ZodEnum<{
|
|
14281
|
-
FREE: "FREE";
|
|
14282
14281
|
PAID: "PAID";
|
|
14282
|
+
FREE: "FREE";
|
|
14283
14283
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14284
14284
|
}>;
|
|
14285
14285
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14310,16 +14310,16 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14310
14310
|
}, z$1.core.$strict>>>;
|
|
14311
14311
|
}, z$1.core.$strict>;
|
|
14312
14312
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14313
|
-
CARRIER: "CARRIER";
|
|
14314
14313
|
DIRECT: "DIRECT";
|
|
14314
|
+
CARRIER: "CARRIER";
|
|
14315
14315
|
PICKUP: "PICKUP";
|
|
14316
14316
|
PROVIDED: "PROVIDED";
|
|
14317
14317
|
}>>>;
|
|
14318
14318
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14319
14319
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14320
14320
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14321
|
-
CARRIER: "CARRIER";
|
|
14322
14321
|
DIRECT: "DIRECT";
|
|
14322
|
+
CARRIER: "CARRIER";
|
|
14323
14323
|
PICKUP: "PICKUP";
|
|
14324
14324
|
PROVIDED: "PROVIDED";
|
|
14325
14325
|
}>>>;
|
|
@@ -14531,8 +14531,8 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14531
14531
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14532
14532
|
shipping: z$1.ZodObject<{
|
|
14533
14533
|
deliveryType: z$1.ZodEnum<{
|
|
14534
|
-
FREE: "FREE";
|
|
14535
14534
|
PAID: "PAID";
|
|
14535
|
+
FREE: "FREE";
|
|
14536
14536
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14537
14537
|
}>;
|
|
14538
14538
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14563,16 +14563,16 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14563
14563
|
}, z$1.core.$strict>>>;
|
|
14564
14564
|
}, z$1.core.$strict>;
|
|
14565
14565
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14566
|
-
CARRIER: "CARRIER";
|
|
14567
14566
|
DIRECT: "DIRECT";
|
|
14567
|
+
CARRIER: "CARRIER";
|
|
14568
14568
|
PICKUP: "PICKUP";
|
|
14569
14569
|
PROVIDED: "PROVIDED";
|
|
14570
14570
|
}>>>;
|
|
14571
14571
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14572
14572
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14573
14573
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14574
|
-
CARRIER: "CARRIER";
|
|
14575
14574
|
DIRECT: "DIRECT";
|
|
14575
|
+
CARRIER: "CARRIER";
|
|
14576
14576
|
PICKUP: "PICKUP";
|
|
14577
14577
|
PROVIDED: "PROVIDED";
|
|
14578
14578
|
}>>>;
|
|
@@ -14707,8 +14707,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14707
14707
|
type: z.ZodLiteral<"SHIPPING">;
|
|
14708
14708
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
14709
14709
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
14710
|
-
FREE: "FREE";
|
|
14711
14710
|
PAID: "PAID";
|
|
14711
|
+
FREE: "FREE";
|
|
14712
14712
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14713
14713
|
}>>;
|
|
14714
14714
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14739,16 +14739,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14739
14739
|
}, z.core.$strict>>>;
|
|
14740
14740
|
}, z.core.$strict>>;
|
|
14741
14741
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14742
|
-
CARRIER: "CARRIER";
|
|
14743
14742
|
DIRECT: "DIRECT";
|
|
14743
|
+
CARRIER: "CARRIER";
|
|
14744
14744
|
PICKUP: "PICKUP";
|
|
14745
14745
|
PROVIDED: "PROVIDED";
|
|
14746
14746
|
}>>>;
|
|
14747
14747
|
}, z.core.$strict>, z.ZodObject<{
|
|
14748
14748
|
type: z.ZodLiteral<"MANUAL">;
|
|
14749
14749
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14750
|
-
CARRIER: "CARRIER";
|
|
14751
14750
|
DIRECT: "DIRECT";
|
|
14751
|
+
CARRIER: "CARRIER";
|
|
14752
14752
|
PICKUP: "PICKUP";
|
|
14753
14753
|
PROVIDED: "PROVIDED";
|
|
14754
14754
|
}>>>;
|
|
@@ -14959,8 +14959,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14959
14959
|
type: z.ZodLiteral<"SHIPPING">;
|
|
14960
14960
|
shipping: z.ZodObject<{
|
|
14961
14961
|
deliveryType: z.ZodEnum<{
|
|
14962
|
-
FREE: "FREE";
|
|
14963
14962
|
PAID: "PAID";
|
|
14963
|
+
FREE: "FREE";
|
|
14964
14964
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14965
14965
|
}>;
|
|
14966
14966
|
deliveryFee: z.ZodNumber;
|
|
@@ -14991,16 +14991,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14991
14991
|
}, z.core.$strict>>>;
|
|
14992
14992
|
}, z.core.$strict>;
|
|
14993
14993
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14994
|
-
CARRIER: "CARRIER";
|
|
14995
14994
|
DIRECT: "DIRECT";
|
|
14995
|
+
CARRIER: "CARRIER";
|
|
14996
14996
|
PICKUP: "PICKUP";
|
|
14997
14997
|
PROVIDED: "PROVIDED";
|
|
14998
14998
|
}>>>;
|
|
14999
14999
|
}, z.core.$strict>, z.ZodObject<{
|
|
15000
15000
|
type: z.ZodLiteral<"MANUAL">;
|
|
15001
15001
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15002
|
-
CARRIER: "CARRIER";
|
|
15003
15002
|
DIRECT: "DIRECT";
|
|
15003
|
+
CARRIER: "CARRIER";
|
|
15004
15004
|
PICKUP: "PICKUP";
|
|
15005
15005
|
PROVIDED: "PROVIDED";
|
|
15006
15006
|
}>>>;
|
|
@@ -15214,8 +15214,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15214
15214
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15215
15215
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
15216
15216
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
15217
|
-
FREE: "FREE";
|
|
15218
15217
|
PAID: "PAID";
|
|
15218
|
+
FREE: "FREE";
|
|
15219
15219
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15220
15220
|
}>>;
|
|
15221
15221
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15246,16 +15246,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15246
15246
|
}, z.core.$strict>>>;
|
|
15247
15247
|
}, z.core.$strict>>;
|
|
15248
15248
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15249
|
-
CARRIER: "CARRIER";
|
|
15250
15249
|
DIRECT: "DIRECT";
|
|
15250
|
+
CARRIER: "CARRIER";
|
|
15251
15251
|
PICKUP: "PICKUP";
|
|
15252
15252
|
PROVIDED: "PROVIDED";
|
|
15253
15253
|
}>>>;
|
|
15254
15254
|
}, z.core.$strict>, z.ZodObject<{
|
|
15255
15255
|
type: z.ZodLiteral<"MANUAL">;
|
|
15256
15256
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15257
|
-
CARRIER: "CARRIER";
|
|
15258
15257
|
DIRECT: "DIRECT";
|
|
15258
|
+
CARRIER: "CARRIER";
|
|
15259
15259
|
PICKUP: "PICKUP";
|
|
15260
15260
|
PROVIDED: "PROVIDED";
|
|
15261
15261
|
}>>>;
|
|
@@ -15466,8 +15466,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15466
15466
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15467
15467
|
shipping: z.ZodObject<{
|
|
15468
15468
|
deliveryType: z.ZodEnum<{
|
|
15469
|
-
FREE: "FREE";
|
|
15470
15469
|
PAID: "PAID";
|
|
15470
|
+
FREE: "FREE";
|
|
15471
15471
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15472
15472
|
}>;
|
|
15473
15473
|
deliveryFee: z.ZodNumber;
|
|
@@ -15498,16 +15498,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15498
15498
|
}, z.core.$strict>>>;
|
|
15499
15499
|
}, z.core.$strict>;
|
|
15500
15500
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15501
|
-
CARRIER: "CARRIER";
|
|
15502
15501
|
DIRECT: "DIRECT";
|
|
15502
|
+
CARRIER: "CARRIER";
|
|
15503
15503
|
PICKUP: "PICKUP";
|
|
15504
15504
|
PROVIDED: "PROVIDED";
|
|
15505
15505
|
}>>>;
|
|
15506
15506
|
}, z.core.$strict>, z.ZodObject<{
|
|
15507
15507
|
type: z.ZodLiteral<"MANUAL">;
|
|
15508
15508
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15509
|
-
CARRIER: "CARRIER";
|
|
15510
15509
|
DIRECT: "DIRECT";
|
|
15510
|
+
CARRIER: "CARRIER";
|
|
15511
15511
|
PICKUP: "PICKUP";
|
|
15512
15512
|
PROVIDED: "PROVIDED";
|
|
15513
15513
|
}>>>;
|
|
@@ -16800,7 +16800,7 @@ export type SellerAddressRequest = z$1.infer<typeof sellerAddressRequestSchema>;
|
|
|
16800
16800
|
* - 409 `EDIT_SESSION_OPEN` — 편집 환경이 열려 있다. `endEditSession: true`로 끄고 진행할 수 있다
|
|
16801
16801
|
* - 409 `SOURCE_BLOBS_MISSING` — 올리지 않은 파일 내용이 있다(`error.details.hashes`). `POST source/blobs`로 올리고 다시 한다
|
|
16802
16802
|
* - 409 `DEPENDENCY_REJECTED` — 쓸 수 없는 npm 의존성이다(`error.details.rejected: [{ name, version, reason, detail }]`)
|
|
16803
|
-
* - 413 `SOURCE_TOO_MANY_NEW_FILES` —
|
|
16803
|
+
* - 413 `SOURCE_TOO_MANY_NEW_FILES` — 묶음 없이(`pack` 생략) 새 내용이 800개를 넘는다(`error.details.max`). 묶음으로 올린다
|
|
16804
16804
|
* - 400 `DEPENDENCY_FILES_MISMATCH` — `packageJson`·`lockfile` 내용이 목록의 해시와 다르거나 빠졌다
|
|
16805
16805
|
* - 400 `INVALID_SOURCE_REF` · `BLOB_HASH_MISMATCH` · `INVALID_FILE_PATH`(`.env*`·작업 트리 밖 경로)
|
|
16806
16806
|
* - 404 `STOREFRONT_SOURCE_NOT_FOUND` — 그 스냅샷이 없다
|
|
@@ -17153,9 +17153,9 @@ export type StorefrontDeploymentLog = z$1.infer<typeof storefrontDeploymentLogSc
|
|
|
17153
17153
|
export declare const storefrontDeploymentSchema: z$1.ZodObject<{
|
|
17154
17154
|
siteId: z$1.ZodString;
|
|
17155
17155
|
status: z$1.ZodEnum<{
|
|
17156
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
17156
17157
|
FAILED: "FAILED";
|
|
17157
17158
|
SUCCEEDED: "SUCCEEDED";
|
|
17158
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
17159
17159
|
}>;
|
|
17160
17160
|
url: z$1.ZodString;
|
|
17161
17161
|
startedAt: z$1.ZodString;
|
|
@@ -17440,6 +17440,8 @@ export declare const STOREFRONT_EDIT_ACTIVITY_TIMEOUT_MINUTES = 30;
|
|
|
17440
17440
|
export declare const STOREFRONT_FILE_MAX_BYTES: number;
|
|
17441
17441
|
/** 작업 트리 전체 최대 크기(바이트) — 파일 수는 2,000개까지 */
|
|
17442
17442
|
export declare const STOREFRONT_WORKSPACE_MAX_BYTES: number;
|
|
17443
|
+
/** 작업 트리 내용 묶음(tar.gz, #351) 크기 상한 — 트리 상한만큼의 내용 + tar 머리(항목당 1KiB까지). 편집 Sandbox `MAX_PACK_BYTES`와 같다 */
|
|
17444
|
+
export declare const STOREFRONT_SOURCE_PACK_MAX_BYTES: number;
|
|
17443
17445
|
/** 일괄 쓰기 한 번의 최대 파일 수 */
|
|
17444
17446
|
export declare const STOREFRONT_FILE_BATCH_MAX = 50;
|
|
17445
17447
|
/** 편집할 수 없는 경로 조각 — 설치물·산출물 폴더 */
|
|
@@ -17706,8 +17708,8 @@ export declare const runStorefrontCheckRequestSchema: z$1.ZodObject<{
|
|
|
17706
17708
|
}, z$1.core.$strip>;
|
|
17707
17709
|
export type RunStorefrontCheckRequest = z$1.infer<typeof runStorefrontCheckRequestSchema>;
|
|
17708
17710
|
export declare const storefrontCheckStatusSchema: z$1.ZodEnum<{
|
|
17709
|
-
FAILED: "FAILED";
|
|
17710
17711
|
UNKNOWN: "UNKNOWN";
|
|
17712
|
+
FAILED: "FAILED";
|
|
17711
17713
|
QUEUED: "QUEUED";
|
|
17712
17714
|
RUNNING: "RUNNING";
|
|
17713
17715
|
PASSED: "PASSED";
|
|
@@ -17720,8 +17722,8 @@ export declare const storefrontCheckSchema: z$1.ZodObject<{
|
|
|
17720
17722
|
checkId: z$1.ZodString;
|
|
17721
17723
|
check: z$1.ZodString;
|
|
17722
17724
|
status: z$1.ZodEnum<{
|
|
17723
|
-
FAILED: "FAILED";
|
|
17724
17725
|
UNKNOWN: "UNKNOWN";
|
|
17726
|
+
FAILED: "FAILED";
|
|
17725
17727
|
QUEUED: "QUEUED";
|
|
17726
17728
|
RUNNING: "RUNNING";
|
|
17727
17729
|
PASSED: "PASSED";
|
|
@@ -18160,6 +18162,30 @@ export declare const storefrontSourceBlobsResultSchema: z$1.ZodObject<{
|
|
|
18160
18162
|
existing: z$1.ZodNumber;
|
|
18161
18163
|
}, z$1.core.$strip>;
|
|
18162
18164
|
export type StorefrontSourceBlobsResult = z$1.infer<typeof storefrontSourceBlobsResultSchema>;
|
|
18165
|
+
/**
|
|
18166
|
+
* `POST /v1/storefront/site/source/uploads` — 파일 내용을 저장소에 직접 올릴 서명 주소(#181). 내용은 api를 거치지 않는다.
|
|
18167
|
+
* 주소마다 `PUT`으로 그 해시의 바이트를 보내고 응답의 `headers`를 그대로 싣는다(저장소가 크기·해시를 검증한다).
|
|
18168
|
+
*/
|
|
18169
|
+
export declare const createStorefrontSourceUploadsRequestSchema: z$1.ZodObject<{
|
|
18170
|
+
blobs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
18171
|
+
hash: z$1.ZodString;
|
|
18172
|
+
size: z$1.ZodNumber;
|
|
18173
|
+
}, z$1.core.$strip>>>;
|
|
18174
|
+
pack: z$1.ZodOptional<z$1.ZodObject<{
|
|
18175
|
+
hash: z$1.ZodString;
|
|
18176
|
+
size: z$1.ZodNumber;
|
|
18177
|
+
}, z$1.core.$strip>>;
|
|
18178
|
+
}, z$1.core.$strip>;
|
|
18179
|
+
export type CreateStorefrontSourceUploadsRequest = z$1.infer<typeof createStorefrontSourceUploadsRequestSchema>;
|
|
18180
|
+
export declare const storefrontSourceUploadsSchema: z$1.ZodObject<{
|
|
18181
|
+
uploads: z$1.ZodArray<z$1.ZodObject<{
|
|
18182
|
+
hash: z$1.ZodString;
|
|
18183
|
+
url: z$1.ZodString;
|
|
18184
|
+
headers: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
|
|
18185
|
+
}, z$1.core.$strip>>;
|
|
18186
|
+
expiresAt: z$1.ZodString;
|
|
18187
|
+
}, z$1.core.$strip>;
|
|
18188
|
+
export type StorefrontSourceUploads = z$1.infer<typeof storefrontSourceUploadsSchema>;
|
|
18163
18189
|
/**
|
|
18164
18190
|
* `PUT /v1/storefront/site/source` — 작업 트리 전체를 이 목록으로 바꾼다(없는 경로는 지운다). 전부 아니면 전무다.
|
|
18165
18191
|
* `package.json`·`pnpm-lock.yaml`도 바꿀 수 있고 의존성은 허용 목록 안이어야 한다. `.env*`·작업 트리 밖 경로는 받지 않는다.
|
|
@@ -18174,6 +18200,10 @@ export declare const replaceStorefrontSourceRequestSchema: z$1.ZodObject<{
|
|
|
18174
18200
|
endEditSession: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
18175
18201
|
packageJson: z$1.ZodOptional<z$1.ZodString>;
|
|
18176
18202
|
lockfile: z$1.ZodOptional<z$1.ZodString>;
|
|
18203
|
+
pack: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
18204
|
+
hash: z$1.ZodString;
|
|
18205
|
+
size: z$1.ZodNumber;
|
|
18206
|
+
}, z$1.core.$strip>>>;
|
|
18177
18207
|
}, z$1.core.$strip>;
|
|
18178
18208
|
export type ReplaceStorefrontSourceRequest = z$1.infer<typeof replaceStorefrontSourceRequestSchema>;
|
|
18179
18209
|
export declare const storefrontSourceReplacedSchema: z$1.ZodObject<{
|
|
@@ -18558,11 +18588,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18558
18588
|
}>;
|
|
18559
18589
|
get: (productId: string) => Promise<{
|
|
18560
18590
|
name: string;
|
|
18561
|
-
|
|
18591
|
+
productId: string;
|
|
18562
18592
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18593
|
+
salePrice: number;
|
|
18563
18594
|
stockQuantity: number;
|
|
18564
18595
|
categoryId: string | null;
|
|
18565
|
-
productId: string;
|
|
18566
18596
|
productNo: number | null;
|
|
18567
18597
|
discountedPrice: number | null;
|
|
18568
18598
|
hasOptions: boolean;
|
|
@@ -18631,7 +18661,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18631
18661
|
fulfillment: UnknownFulfillment | {
|
|
18632
18662
|
type: "SHIPPING";
|
|
18633
18663
|
shipping: {
|
|
18634
|
-
deliveryType: "
|
|
18664
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18635
18665
|
deliveryFee: number;
|
|
18636
18666
|
conditionalFreeAmount: number | null;
|
|
18637
18667
|
shippingAddressId: string | null;
|
|
@@ -18707,11 +18737,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18707
18737
|
}>;
|
|
18708
18738
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
18709
18739
|
name: string;
|
|
18710
|
-
|
|
18740
|
+
productId: string;
|
|
18711
18741
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18742
|
+
salePrice: number;
|
|
18712
18743
|
stockQuantity: number;
|
|
18713
18744
|
categoryId: string | null;
|
|
18714
|
-
productId: string;
|
|
18715
18745
|
productNo: number | null;
|
|
18716
18746
|
discountedPrice: number | null;
|
|
18717
18747
|
hasOptions: boolean;
|
|
@@ -18780,7 +18810,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18780
18810
|
fulfillment: UnknownFulfillment | {
|
|
18781
18811
|
type: "SHIPPING";
|
|
18782
18812
|
shipping: {
|
|
18783
|
-
deliveryType: "
|
|
18813
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18784
18814
|
deliveryFee: number;
|
|
18785
18815
|
conditionalFreeAmount: number | null;
|
|
18786
18816
|
shippingAddressId: string | null;
|
|
@@ -18856,11 +18886,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18856
18886
|
}>;
|
|
18857
18887
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
18858
18888
|
name: string;
|
|
18859
|
-
|
|
18889
|
+
productId: string;
|
|
18860
18890
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18891
|
+
salePrice: number;
|
|
18861
18892
|
stockQuantity: number;
|
|
18862
18893
|
categoryId: string | null;
|
|
18863
|
-
productId: string;
|
|
18864
18894
|
productNo: number | null;
|
|
18865
18895
|
discountedPrice: number | null;
|
|
18866
18896
|
hasOptions: boolean;
|
|
@@ -18929,7 +18959,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18929
18959
|
fulfillment: UnknownFulfillment | {
|
|
18930
18960
|
type: "SHIPPING";
|
|
18931
18961
|
shipping: {
|
|
18932
|
-
deliveryType: "
|
|
18962
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18933
18963
|
deliveryFee: number;
|
|
18934
18964
|
conditionalFreeAmount: number | null;
|
|
18935
18965
|
shippingAddressId: string | null;
|
|
@@ -19187,11 +19217,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19187
19217
|
/** 상품 상세 묶음 조회(id·상품번호 합 100개) — 상점 플랫폼 전용. 이 상점에 없는 값은 빠진다 */
|
|
19188
19218
|
lookup: (body: ProductLookupRequest) => Promise<{
|
|
19189
19219
|
name: string;
|
|
19190
|
-
|
|
19220
|
+
productId: string;
|
|
19191
19221
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
19222
|
+
salePrice: number;
|
|
19192
19223
|
stockQuantity: number;
|
|
19193
19224
|
categoryId: string | null;
|
|
19194
|
-
productId: string;
|
|
19195
19225
|
productNo: number | null;
|
|
19196
19226
|
discountedPrice: number | null;
|
|
19197
19227
|
hasOptions: boolean;
|
|
@@ -19260,7 +19290,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19260
19290
|
fulfillment: UnknownFulfillment | {
|
|
19261
19291
|
type: "SHIPPING";
|
|
19262
19292
|
shipping: {
|
|
19263
|
-
deliveryType: "
|
|
19293
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
19264
19294
|
deliveryFee: number;
|
|
19265
19295
|
conditionalFreeAmount: number | null;
|
|
19266
19296
|
shippingAddressId: string | null;
|
|
@@ -20612,7 +20642,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20612
20642
|
key: string;
|
|
20613
20643
|
results: {
|
|
20614
20644
|
orderItemId: string;
|
|
20615
|
-
status: "
|
|
20645
|
+
status: "COMPLETED" | "FAILED" | "SKIPPED";
|
|
20616
20646
|
reason?: string | undefined;
|
|
20617
20647
|
message?: string | undefined;
|
|
20618
20648
|
}[];
|
|
@@ -21127,7 +21157,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21127
21157
|
enteredAt: string;
|
|
21128
21158
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21129
21159
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21130
|
-
claimStatus?: "
|
|
21160
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21131
21161
|
message?: string | undefined;
|
|
21132
21162
|
deadlineAt?: string | undefined;
|
|
21133
21163
|
attachments?: string[] | undefined;
|
|
@@ -21192,7 +21222,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21192
21222
|
enteredAt: string;
|
|
21193
21223
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21194
21224
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21195
|
-
claimStatus?: "
|
|
21225
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21196
21226
|
message?: string | undefined;
|
|
21197
21227
|
deadlineAt?: string | undefined;
|
|
21198
21228
|
attachments?: string[] | undefined;
|
|
@@ -21222,7 +21252,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21222
21252
|
enteredAt: string;
|
|
21223
21253
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21224
21254
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21225
|
-
claimStatus?: "
|
|
21255
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21226
21256
|
message?: string | undefined;
|
|
21227
21257
|
deadlineAt?: string | undefined;
|
|
21228
21258
|
attachments?: string[] | undefined;
|
|
@@ -21285,7 +21315,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21285
21315
|
enteredAt: string;
|
|
21286
21316
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21287
21317
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21288
|
-
claimStatus?: "
|
|
21318
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21289
21319
|
message?: string | undefined;
|
|
21290
21320
|
deadlineAt?: string | undefined;
|
|
21291
21321
|
attachments?: string[] | undefined;
|
|
@@ -21347,7 +21377,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21347
21377
|
enteredAt: string;
|
|
21348
21378
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21349
21379
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21350
|
-
claimStatus?: "
|
|
21380
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21351
21381
|
message?: string | undefined;
|
|
21352
21382
|
deadlineAt?: string | undefined;
|
|
21353
21383
|
attachments?: string[] | undefined;
|
|
@@ -21981,7 +22011,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21981
22011
|
claimId: string;
|
|
21982
22012
|
claimNo: string | null;
|
|
21983
22013
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
21984
|
-
status: "
|
|
22014
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
21985
22015
|
orderId: string;
|
|
21986
22016
|
orderItemId: string;
|
|
21987
22017
|
productName: string;
|
|
@@ -22021,7 +22051,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22021
22051
|
claimId: string;
|
|
22022
22052
|
claimNo: string | null;
|
|
22023
22053
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
22024
|
-
status: "
|
|
22054
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
22025
22055
|
orderId: string;
|
|
22026
22056
|
orderItemId: string;
|
|
22027
22057
|
productName: string;
|
|
@@ -22056,7 +22086,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22056
22086
|
address2: string | null;
|
|
22057
22087
|
} | null;
|
|
22058
22088
|
histories?: {
|
|
22059
|
-
status: "
|
|
22089
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
22060
22090
|
actor: "SELLER" | "BUYER" | "SYSTEM";
|
|
22061
22091
|
occurredAt: string;
|
|
22062
22092
|
}[] | undefined;
|
|
@@ -22099,7 +22129,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22099
22129
|
claimId: string;
|
|
22100
22130
|
claimNo: string | null;
|
|
22101
22131
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
22102
|
-
status: "
|
|
22132
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
22103
22133
|
orderId: string;
|
|
22104
22134
|
orderItemId: string;
|
|
22105
22135
|
productName: string;
|
|
@@ -23649,7 +23679,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23649
23679
|
conversionRate: number | null;
|
|
23650
23680
|
};
|
|
23651
23681
|
funnel: {
|
|
23652
|
-
step: "
|
|
23682
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
23653
23683
|
sessions: number;
|
|
23654
23684
|
rateFromPrevious: number | null;
|
|
23655
23685
|
}[];
|
|
@@ -23708,9 +23738,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23708
23738
|
}>;
|
|
23709
23739
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
23710
23740
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
23711
|
-
groupBy: "
|
|
23741
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
23712
23742
|
rows: {
|
|
23713
|
-
channel: "
|
|
23743
|
+
channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
|
|
23714
23744
|
source: string | null;
|
|
23715
23745
|
medium: string | null;
|
|
23716
23746
|
campaign: string | null;
|
|
@@ -23815,7 +23845,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23815
23845
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
23816
23846
|
sessions: number;
|
|
23817
23847
|
outcomes: {
|
|
23818
|
-
outcome: "
|
|
23848
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
23819
23849
|
sessions: number;
|
|
23820
23850
|
}[];
|
|
23821
23851
|
from: string;
|
|
@@ -26353,7 +26383,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26353
26383
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
26354
26384
|
items: {
|
|
26355
26385
|
approvalId: string;
|
|
26356
|
-
status: "
|
|
26386
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
26357
26387
|
operationId: string;
|
|
26358
26388
|
method: string;
|
|
26359
26389
|
path: string;
|
|
@@ -26405,7 +26435,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26405
26435
|
}>;
|
|
26406
26436
|
get: (approvalId: string) => Promise<{
|
|
26407
26437
|
approvalId: string;
|
|
26408
|
-
status: "
|
|
26438
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
26409
26439
|
operationId: string;
|
|
26410
26440
|
method: string;
|
|
26411
26441
|
path: string;
|
|
@@ -26459,7 +26489,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26459
26489
|
*/
|
|
26460
26490
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26461
26491
|
approvalId: string;
|
|
26462
|
-
status: "
|
|
26492
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
26463
26493
|
operationId: string;
|
|
26464
26494
|
method: string;
|
|
26465
26495
|
path: string;
|
|
@@ -26509,7 +26539,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26509
26539
|
}>;
|
|
26510
26540
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26511
26541
|
approvalId: string;
|
|
26512
|
-
status: "
|
|
26542
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
26513
26543
|
operationId: string;
|
|
26514
26544
|
method: string;
|
|
26515
26545
|
path: string;
|
|
@@ -26989,7 +27019,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26989
27019
|
label: string;
|
|
26990
27020
|
status: "error" | "unknown" | "ok";
|
|
26991
27021
|
summary: string | null;
|
|
26992
|
-
activity?: "check" | "code" | "
|
|
27022
|
+
activity?: "check" | "code" | "status" | "version" | "shipping" | "product" | "category" | "brief" | "files" | "preview" | "template" | "site" | "info" | "upload" | "design" | "verify" | undefined;
|
|
26993
27023
|
target?: string | undefined;
|
|
26994
27024
|
changes?: {
|
|
26995
27025
|
path: string;
|
|
@@ -27278,7 +27308,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27278
27308
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
27279
27309
|
getDeployment: () => Promise<{
|
|
27280
27310
|
siteId: string;
|
|
27281
|
-
status: "
|
|
27311
|
+
status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
|
|
27282
27312
|
url: string;
|
|
27283
27313
|
startedAt: string;
|
|
27284
27314
|
finishedAt: string | null;
|
|
@@ -27300,7 +27330,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27300
27330
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
27301
27331
|
retryDeployment: () => Promise<{
|
|
27302
27332
|
siteId: string;
|
|
27303
|
-
status: "
|
|
27333
|
+
status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
|
|
27304
27334
|
url: string;
|
|
27305
27335
|
startedAt: string;
|
|
27306
27336
|
finishedAt: string | null;
|
|
@@ -27948,7 +27978,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27948
27978
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
27949
27979
|
checkId: string;
|
|
27950
27980
|
check: string;
|
|
27951
|
-
status: "
|
|
27981
|
+
status: "UNKNOWN" | "FAILED" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
27952
27982
|
exitCode: number | null;
|
|
27953
27983
|
durationMs: number | null;
|
|
27954
27984
|
outputTail: string | null;
|
|
@@ -27962,7 +27992,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27962
27992
|
getCheck: (checkId: string) => Promise<{
|
|
27963
27993
|
checkId: string;
|
|
27964
27994
|
check: string;
|
|
27965
|
-
status: "
|
|
27995
|
+
status: "UNKNOWN" | "FAILED" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
27966
27996
|
exitCode: number | null;
|
|
27967
27997
|
durationMs: number | null;
|
|
27968
27998
|
outputTail: string | null;
|
|
@@ -28301,6 +28331,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28301
28331
|
stored: number;
|
|
28302
28332
|
existing: number;
|
|
28303
28333
|
}>;
|
|
28334
|
+
/**
|
|
28335
|
+
* `POST /v1/storefront/site/source/uploads` — 파일 내용을 저장소에 직접 올릴 서명 PUT 주소(#181). 503 `SOURCE_UPLOAD_UNAVAILABLE`이면
|
|
28336
|
+
* `uploadSourceBlobs`로 올린다
|
|
28337
|
+
*/
|
|
28338
|
+
createSourceUploads: (body: CreateStorefrontSourceUploadsRequest) => Promise<{
|
|
28339
|
+
uploads: {
|
|
28340
|
+
hash: string;
|
|
28341
|
+
url: string;
|
|
28342
|
+
headers: Record<string, string>;
|
|
28343
|
+
}[];
|
|
28344
|
+
expiresAt: string;
|
|
28345
|
+
}>;
|
|
28304
28346
|
/**
|
|
28305
28347
|
* `PUT /v1/storefront/site/source` — 작업 트리 전체를 바꾼다. 409 `SOURCE_CHANGED`(내려받은 뒤 바뀜)·`EDIT_SESSION_OPEN`·
|
|
28306
28348
|
* `SOURCE_BLOBS_MISSING`(`details.hashes`를 올리고 다시)
|
|
@@ -30266,8 +30308,8 @@ export declare const storeScopeResourceSchema: z$1.ZodEnum<{
|
|
|
30266
30308
|
order: "order";
|
|
30267
30309
|
flow: "flow";
|
|
30268
30310
|
analytics: "analytics";
|
|
30269
|
-
customer: "customer";
|
|
30270
30311
|
storefront: "storefront";
|
|
30312
|
+
customer: "customer";
|
|
30271
30313
|
claim: "claim";
|
|
30272
30314
|
inquiry: "inquiry";
|
|
30273
30315
|
review: "review";
|