@sayren/store-sdk 0.60.2 → 0.61.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 +150 -153
- package/dist/index.mjs +26 -29
- package/package.json +1 -1
- package/src/client.ts +13 -13
- package/src/schemas/storefront-hosting.ts +28 -51
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";
|
|
170
169
|
DENIED: "DENIED";
|
|
171
170
|
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";
|
|
196
195
|
DENIED: "DENIED";
|
|
197
196
|
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";
|
|
220
219
|
PENDING: "PENDING";
|
|
221
220
|
FAILED: "FAILED";
|
|
222
221
|
SUCCEEDED: "SUCCEEDED";
|
|
223
222
|
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";
|
|
232
231
|
PENDING: "PENDING";
|
|
233
232
|
FAILED: "FAILED";
|
|
234
233
|
SUCCEEDED: "SUCCEEDED";
|
|
235
234
|
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";
|
|
296
295
|
PENDING: "PENDING";
|
|
297
296
|
FAILED: "FAILED";
|
|
298
297
|
SUCCEEDED: "SUCCEEDED";
|
|
299
298
|
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";
|
|
315
314
|
PENDING: "PENDING";
|
|
316
315
|
FAILED: "FAILED";
|
|
317
316
|
SUCCEEDED: "SUCCEEDED";
|
|
318
317
|
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
|
-
status: "status";
|
|
506
505
|
version: "version";
|
|
506
|
+
status: "status";
|
|
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
|
-
status: "status";
|
|
761
760
|
version: "version";
|
|
761
|
+
status: "status";
|
|
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
|
-
status: "status";
|
|
917
916
|
version: "version";
|
|
917
|
+
status: "status";
|
|
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
|
-
status: "status";
|
|
1106
1105
|
version: "version";
|
|
1106
|
+
status: "status";
|
|
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
|
-
status: "status";
|
|
1610
1609
|
version: "version";
|
|
1610
|
+
status: "status";
|
|
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
|
-
status: "status";
|
|
1738
1737
|
version: "version";
|
|
1738
|
+
status: "status";
|
|
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
|
-
status: "status";
|
|
1966
1965
|
version: "version";
|
|
1966
|
+
status: "status";
|
|
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
|
-
status: "status";
|
|
2094
2093
|
version: "version";
|
|
2094
|
+
status: "status";
|
|
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";
|
|
2329
2330
|
SESSION: "SESSION";
|
|
2330
2331
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
2331
2332
|
ADD_TO_CART: "ADD_TO_CART";
|
|
2332
2333
|
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";
|
|
2358
2359
|
SESSION: "SESSION";
|
|
2359
2360
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
2360
2361
|
ADD_TO_CART: "ADD_TO_CART";
|
|
2361
2362
|
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";
|
|
2467
2468
|
DIRECT: "DIRECT";
|
|
2469
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2470
|
+
UNKNOWN: "UNKNOWN";
|
|
2468
2471
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2469
2472
|
SOCIAL: "SOCIAL";
|
|
2470
|
-
PAID: "PAID";
|
|
2471
2473
|
EMAIL: "EMAIL";
|
|
2472
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2473
2474
|
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";
|
|
2479
2478
|
CHANNEL: "CHANNEL";
|
|
2480
2479
|
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";
|
|
2493
2492
|
CHANNEL: "CHANNEL";
|
|
2494
2493
|
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";
|
|
2501
2502
|
DIRECT: "DIRECT";
|
|
2503
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2504
|
+
UNKNOWN: "UNKNOWN";
|
|
2502
2505
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2503
2506
|
SOCIAL: "SOCIAL";
|
|
2504
|
-
PAID: "PAID";
|
|
2505
2507
|
EMAIL: "EMAIL";
|
|
2506
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2507
2508
|
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";
|
|
2531
2530
|
CHANNEL: "CHANNEL";
|
|
2532
2531
|
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";
|
|
2537
2538
|
DIRECT: "DIRECT";
|
|
2539
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2540
|
+
UNKNOWN: "UNKNOWN";
|
|
2538
2541
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2539
2542
|
SOCIAL: "SOCIAL";
|
|
2540
|
-
PAID: "PAID";
|
|
2541
2543
|
EMAIL: "EMAIL";
|
|
2542
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2543
2544
|
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";
|
|
2693
2694
|
COMPLETED: "COMPLETED";
|
|
2694
2695
|
NOT_OPENED: "NOT_OPENED";
|
|
2695
2696
|
USER_CANCELED: "USER_CANCELED";
|
|
2696
2697
|
DECLINED: "DECLINED";
|
|
2697
2698
|
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";
|
|
2706
2707
|
COMPLETED: "COMPLETED";
|
|
2707
2708
|
NOT_OPENED: "NOT_OPENED";
|
|
2708
2709
|
USER_CANCELED: "USER_CANCELED";
|
|
2709
2710
|
DECLINED: "DECLINED";
|
|
2710
2711
|
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
|
-
DIRECT: "DIRECT";
|
|
2905
2904
|
CARRIER: "CARRIER";
|
|
2905
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
2950
2949
|
FREE: "FREE";
|
|
2950
|
+
PAID: "PAID";
|
|
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
|
-
PAID: "PAID";
|
|
2962
2961
|
FREE: "FREE";
|
|
2962
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
2994
2993
|
CARRIER: "CARRIER";
|
|
2994
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
3002
3001
|
CARRIER: "CARRIER";
|
|
3002
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
3019
3018
|
FREE: "FREE";
|
|
3019
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
3051
3050
|
CARRIER: "CARRIER";
|
|
3051
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
3059
3058
|
CARRIER: "CARRIER";
|
|
3059
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
3074
3073
|
FREE: "FREE";
|
|
3074
|
+
PAID: "PAID";
|
|
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
|
-
PAID: "PAID";
|
|
3120
3119
|
FREE: "FREE";
|
|
3120
|
+
PAID: "PAID";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
3414
3413
|
REJECTED: "REJECTED";
|
|
3414
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
3671
3670
|
REJECTED: "REJECTED";
|
|
3671
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
4071
4070
|
REJECTED: "REJECTED";
|
|
4071
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
code: "code";
|
|
4479
4478
|
external: "external";
|
|
4479
|
+
code: "code";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
5893
5892
|
CARRIER: "CARRIER";
|
|
5893
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
6017
6016
|
CARRIER: "CARRIER";
|
|
6017
|
+
DIRECT: "DIRECT";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
6140
6139
|
REJECTED: "REJECTED";
|
|
6140
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
6185
6184
|
REJECTED: "REJECTED";
|
|
6185
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
6275
6274
|
REJECTED: "REJECTED";
|
|
6275
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
6333
6332
|
REJECTED: "REJECTED";
|
|
6333
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
6986
6985
|
REJECTED: "REJECTED";
|
|
6986
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
7035
7034
|
REJECTED: "REJECTED";
|
|
7035
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
7135
7134
|
REJECTED: "REJECTED";
|
|
7135
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
7228
7227
|
REJECTED: "REJECTED";
|
|
7228
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
7541
7540
|
CARRIER: "CARRIER";
|
|
7541
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
7603
7602
|
CARRIER: "CARRIER";
|
|
7603
|
+
DIRECT: "DIRECT";
|
|
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
|
-
COMPLETED: "COMPLETED";
|
|
7683
7682
|
FAILED: "FAILED";
|
|
7683
|
+
COMPLETED: "COMPLETED";
|
|
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";
|
|
9290
9289
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
9291
9290
|
DORMANT: "DORMANT";
|
|
9292
9291
|
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";
|
|
13190
13189
|
OPENING: "OPENING";
|
|
13191
13190
|
ADJUST: "ADJUST";
|
|
13192
13191
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13193
13192
|
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";
|
|
13210
13209
|
OPENING: "OPENING";
|
|
13211
13210
|
ADJUST: "ADJUST";
|
|
13212
13211
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13213
13212
|
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
|
+
salePrice: z$1.ZodNumber;
|
|
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;
|
|
13586
13585
|
stockQuantity: z$1.ZodNumber;
|
|
13587
13586
|
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
|
-
PAID: "PAID";
|
|
13679
13678
|
FREE: "FREE";
|
|
13679
|
+
PAID: "PAID";
|
|
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
|
-
PAID: "PAID";
|
|
14038
14037
|
FREE: "FREE";
|
|
14038
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14070
14069
|
CARRIER: "CARRIER";
|
|
14070
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14078
14077
|
CARRIER: "CARRIER";
|
|
14078
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
14282
14281
|
FREE: "FREE";
|
|
14282
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14314
14313
|
CARRIER: "CARRIER";
|
|
14314
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14322
14321
|
CARRIER: "CARRIER";
|
|
14322
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
14535
14534
|
FREE: "FREE";
|
|
14535
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14567
14566
|
CARRIER: "CARRIER";
|
|
14567
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14575
14574
|
CARRIER: "CARRIER";
|
|
14575
|
+
DIRECT: "DIRECT";
|
|
14576
14576
|
PICKUP: "PICKUP";
|
|
14577
14577
|
PROVIDED: "PROVIDED";
|
|
14578
14578
|
}>>>;
|
|
@@ -14634,9 +14634,9 @@ export type ProductPatchRequest = z$1.infer<typeof productPatchRequestSchema>;
|
|
|
14634
14634
|
export declare const productSortSchema: z$1.ZodEnum<{
|
|
14635
14635
|
"createdAt.desc": "createdAt.desc";
|
|
14636
14636
|
"createdAt.asc": "createdAt.asc";
|
|
14637
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14637
14638
|
"salePrice.asc": "salePrice.asc";
|
|
14638
14639
|
"salePrice.desc": "salePrice.desc";
|
|
14639
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14640
14640
|
}>;
|
|
14641
14641
|
export type ProductSort = z$1.infer<typeof productSortSchema>;
|
|
14642
14642
|
export interface ProductListParams extends PageParams {
|
|
@@ -14665,9 +14665,9 @@ export declare const productListQuerySchema: z$1.ZodObject<{
|
|
|
14665
14665
|
sort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14666
14666
|
"createdAt.desc": "createdAt.desc";
|
|
14667
14667
|
"createdAt.asc": "createdAt.asc";
|
|
14668
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14668
14669
|
"salePrice.asc": "salePrice.asc";
|
|
14669
14670
|
"salePrice.desc": "salePrice.desc";
|
|
14670
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14671
14671
|
}>>;
|
|
14672
14672
|
}, z$1.core.$strip>;
|
|
14673
14673
|
export declare const discountRequestSchema: z$1.ZodObject<{
|
|
@@ -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
|
-
PAID: "PAID";
|
|
14711
14710
|
FREE: "FREE";
|
|
14711
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14743
14742
|
CARRIER: "CARRIER";
|
|
14743
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14751
14750
|
CARRIER: "CARRIER";
|
|
14751
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
14963
14962
|
FREE: "FREE";
|
|
14963
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
14995
14994
|
CARRIER: "CARRIER";
|
|
14995
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
15003
15002
|
CARRIER: "CARRIER";
|
|
15003
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
15218
15217
|
FREE: "FREE";
|
|
15218
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
15250
15249
|
CARRIER: "CARRIER";
|
|
15250
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
15258
15257
|
CARRIER: "CARRIER";
|
|
15258
|
+
DIRECT: "DIRECT";
|
|
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
|
-
PAID: "PAID";
|
|
15470
15469
|
FREE: "FREE";
|
|
15470
|
+
PAID: "PAID";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
15502
15501
|
CARRIER: "CARRIER";
|
|
15502
|
+
DIRECT: "DIRECT";
|
|
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
|
-
DIRECT: "DIRECT";
|
|
15510
15509
|
CARRIER: "CARRIER";
|
|
15510
|
+
DIRECT: "DIRECT";
|
|
15511
15511
|
PICKUP: "PICKUP";
|
|
15512
15512
|
PROVIDED: "PROVIDED";
|
|
15513
15513
|
}>>>;
|
|
@@ -16798,9 +16798,8 @@ export type SellerAddressRequest = z$1.infer<typeof sellerAddressRequestSchema>;
|
|
|
16798
16798
|
* - 409 `SOURCE_CHANGED` — 작업 트리가 내려받은 뒤(`expectedBaseRef`) 바뀌었고 같은 파일을 서로 다르게 고쳤다(상점 플랫폼·AI 편집). 겹치지 않으면 서버가
|
|
16799
16799
|
* 3-way 병합한다(응답 `merged`). `error.details.currentRef`·`conflicts`(충돌 파일)
|
|
16800
16800
|
* - 409 `EDIT_SESSION_OPEN` — 편집 환경이 열려 있다. `endEditSession: true`로 끄고 진행할 수 있다
|
|
16801
|
-
* - 409 `SOURCE_BLOBS_MISSING` — 올리지 않은 파일 내용이 있다(`error.details.hashes`). `POST source/
|
|
16801
|
+
* - 409 `SOURCE_BLOBS_MISSING` — 올리지 않은 파일 내용이 있다(`error.details.hashes`). 묶음으로 올리고(`POST source/uploads`·`source/pack`) `pack`을 실어 다시 한다
|
|
16802
16802
|
* - 409 `DEPENDENCY_REJECTED` — 쓸 수 없는 npm 의존성이다(`error.details.rejected: [{ name, version, reason, detail }]`)
|
|
16803
|
-
* - 413 `SOURCE_TOO_MANY_NEW_FILES` — 묶음 없이(`pack` 생략) 새 내용이 800개를 넘는다(`error.details.max`). 묶음으로 올린다
|
|
16804
16803
|
* - 400 `DEPENDENCY_FILES_MISMATCH` — `packageJson`·`lockfile` 내용이 목록의 해시와 다르거나 빠졌다
|
|
16805
16804
|
* - 400 `INVALID_SOURCE_REF` · `BLOB_HASH_MISMATCH` · `INVALID_FILE_PATH`(`.env*`·작업 트리 밖 경로)
|
|
16806
16805
|
* - 404 `STOREFRONT_SOURCE_NOT_FOUND` — 그 스냅샷이 없다
|
|
@@ -17153,9 +17152,9 @@ export type StorefrontDeploymentLog = z$1.infer<typeof storefrontDeploymentLogSc
|
|
|
17153
17152
|
export declare const storefrontDeploymentSchema: z$1.ZodObject<{
|
|
17154
17153
|
siteId: z$1.ZodString;
|
|
17155
17154
|
status: z$1.ZodEnum<{
|
|
17156
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
17157
17155
|
FAILED: "FAILED";
|
|
17158
17156
|
SUCCEEDED: "SUCCEEDED";
|
|
17157
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
17159
17158
|
}>;
|
|
17160
17159
|
url: z$1.ZodString;
|
|
17161
17160
|
startedAt: z$1.ZodString;
|
|
@@ -17708,8 +17707,8 @@ export declare const runStorefrontCheckRequestSchema: z$1.ZodObject<{
|
|
|
17708
17707
|
}, z$1.core.$strip>;
|
|
17709
17708
|
export type RunStorefrontCheckRequest = z$1.infer<typeof runStorefrontCheckRequestSchema>;
|
|
17710
17709
|
export declare const storefrontCheckStatusSchema: z$1.ZodEnum<{
|
|
17711
|
-
UNKNOWN: "UNKNOWN";
|
|
17712
17710
|
FAILED: "FAILED";
|
|
17711
|
+
UNKNOWN: "UNKNOWN";
|
|
17713
17712
|
QUEUED: "QUEUED";
|
|
17714
17713
|
RUNNING: "RUNNING";
|
|
17715
17714
|
PASSED: "PASSED";
|
|
@@ -17722,8 +17721,8 @@ export declare const storefrontCheckSchema: z$1.ZodObject<{
|
|
|
17722
17721
|
checkId: z$1.ZodString;
|
|
17723
17722
|
check: z$1.ZodString;
|
|
17724
17723
|
status: z$1.ZodEnum<{
|
|
17725
|
-
UNKNOWN: "UNKNOWN";
|
|
17726
17724
|
FAILED: "FAILED";
|
|
17725
|
+
UNKNOWN: "UNKNOWN";
|
|
17727
17726
|
QUEUED: "QUEUED";
|
|
17728
17727
|
RUNNING: "RUNNING";
|
|
17729
17728
|
PASSED: "PASSED";
|
|
@@ -18109,8 +18108,6 @@ export declare const createStorefrontEditPreviewLinkRequestSchema: z$1.ZodObject
|
|
|
18109
18108
|
export type CreateStorefrontEditPreviewLinkRequest = z$1.infer<typeof createStorefrontEditPreviewLinkRequestSchema>;
|
|
18110
18109
|
/** 압축 파일 조각 하나의 최대 크기(바이트) */
|
|
18111
18110
|
export declare const STOREFRONT_SOURCE_PART_BYTES: number;
|
|
18112
|
-
/** 내용 올리기 한 번의 최대 파일 수 */
|
|
18113
|
-
export declare const STOREFRONT_SOURCE_BLOB_BATCH_MAX = 200;
|
|
18114
18111
|
/** 작업 트리 파일 수 상한 */
|
|
18115
18112
|
export declare const STOREFRONT_WORKSPACE_MAX_FILES = 2000;
|
|
18116
18113
|
/** 작업 트리 스냅샷 키 — `sources/{siteId}/{sha256}.tgz` */
|
|
@@ -18149,32 +18146,29 @@ export declare const storefrontSourceArchivePartSchema: z$1.ZodObject<{
|
|
|
18149
18146
|
content: z$1.ZodString;
|
|
18150
18147
|
}, z$1.core.$strip>;
|
|
18151
18148
|
export type StorefrontSourceArchivePart = z$1.infer<typeof storefrontSourceArchivePartSchema>;
|
|
18152
|
-
/**
|
|
18153
|
-
|
|
18154
|
-
|
|
18155
|
-
|
|
18156
|
-
|
|
18157
|
-
|
|
18149
|
+
/**
|
|
18150
|
+
* `POST /v1/storefront/site/source/pack` — 묶음(tar.gz, 항목 이름 = 내용 sha256)을 api를 거쳐 올린다. 저장소 직접 올리기(`POST source/uploads`)를
|
|
18151
|
+
* 쓸 수 없는 환경(503 `SOURCE_UPLOAD_UNAVAILABLE`)에서만 쓴다. 다시 올려도 안전하다. 작업 트리는 바뀌지 않는다
|
|
18152
|
+
*/
|
|
18153
|
+
export declare const uploadStorefrontSourcePackRequestSchema: z$1.ZodObject<{
|
|
18154
|
+
hash: z$1.ZodString;
|
|
18155
|
+
content: z$1.ZodString;
|
|
18158
18156
|
}, z$1.core.$strip>;
|
|
18159
|
-
export type
|
|
18160
|
-
export declare const
|
|
18161
|
-
|
|
18162
|
-
|
|
18157
|
+
export type UploadStorefrontSourcePackRequest = z$1.infer<typeof uploadStorefrontSourcePackRequestSchema>;
|
|
18158
|
+
export declare const storefrontSourcePackSchema: z$1.ZodObject<{
|
|
18159
|
+
hash: z$1.ZodString;
|
|
18160
|
+
size: z$1.ZodNumber;
|
|
18163
18161
|
}, z$1.core.$strip>;
|
|
18164
|
-
export type
|
|
18162
|
+
export type StorefrontSourcePack = z$1.infer<typeof storefrontSourcePackSchema>;
|
|
18165
18163
|
/**
|
|
18166
|
-
* `POST /v1/storefront/site/source/uploads` —
|
|
18167
|
-
*
|
|
18164
|
+
* `POST /v1/storefront/site/source/uploads` — 묶음을 저장소에 직접 올릴 서명 주소(#181·#351). 내용은 api를 거치지 않는다.
|
|
18165
|
+
* 주소로 `PUT`해 묶음 바이트를 보내고 응답의 `headers`를 그대로 싣는다(저장소가 크기·해시를 검증한다).
|
|
18168
18166
|
*/
|
|
18169
18167
|
export declare const createStorefrontSourceUploadsRequestSchema: z$1.ZodObject<{
|
|
18170
|
-
|
|
18171
|
-
hash: z$1.ZodString;
|
|
18172
|
-
size: z$1.ZodNumber;
|
|
18173
|
-
}, z$1.core.$strip>>>;
|
|
18174
|
-
pack: z$1.ZodOptional<z$1.ZodObject<{
|
|
18168
|
+
pack: z$1.ZodObject<{
|
|
18175
18169
|
hash: z$1.ZodString;
|
|
18176
18170
|
size: z$1.ZodNumber;
|
|
18177
|
-
}, z$1.core.$strip
|
|
18171
|
+
}, z$1.core.$strip>;
|
|
18178
18172
|
}, z$1.core.$strip>;
|
|
18179
18173
|
export type CreateStorefrontSourceUploadsRequest = z$1.infer<typeof createStorefrontSourceUploadsRequestSchema>;
|
|
18180
18174
|
export declare const storefrontSourceUploadsSchema: z$1.ZodObject<{
|
|
@@ -18588,11 +18582,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18588
18582
|
}>;
|
|
18589
18583
|
get: (productId: string) => Promise<{
|
|
18590
18584
|
name: string;
|
|
18591
|
-
productId: string;
|
|
18592
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18593
18585
|
salePrice: number;
|
|
18586
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18594
18587
|
stockQuantity: number;
|
|
18595
18588
|
categoryId: string | null;
|
|
18589
|
+
productId: string;
|
|
18596
18590
|
productNo: number | null;
|
|
18597
18591
|
discountedPrice: number | null;
|
|
18598
18592
|
hasOptions: boolean;
|
|
@@ -18661,7 +18655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18661
18655
|
fulfillment: UnknownFulfillment | {
|
|
18662
18656
|
type: "SHIPPING";
|
|
18663
18657
|
shipping: {
|
|
18664
|
-
deliveryType: "
|
|
18658
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
18665
18659
|
deliveryFee: number;
|
|
18666
18660
|
conditionalFreeAmount: number | null;
|
|
18667
18661
|
shippingAddressId: string | null;
|
|
@@ -18737,11 +18731,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18737
18731
|
}>;
|
|
18738
18732
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
18739
18733
|
name: string;
|
|
18740
|
-
productId: string;
|
|
18741
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18742
18734
|
salePrice: number;
|
|
18735
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18743
18736
|
stockQuantity: number;
|
|
18744
18737
|
categoryId: string | null;
|
|
18738
|
+
productId: string;
|
|
18745
18739
|
productNo: number | null;
|
|
18746
18740
|
discountedPrice: number | null;
|
|
18747
18741
|
hasOptions: boolean;
|
|
@@ -18810,7 +18804,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18810
18804
|
fulfillment: UnknownFulfillment | {
|
|
18811
18805
|
type: "SHIPPING";
|
|
18812
18806
|
shipping: {
|
|
18813
|
-
deliveryType: "
|
|
18807
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
18814
18808
|
deliveryFee: number;
|
|
18815
18809
|
conditionalFreeAmount: number | null;
|
|
18816
18810
|
shippingAddressId: string | null;
|
|
@@ -18886,11 +18880,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18886
18880
|
}>;
|
|
18887
18881
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
18888
18882
|
name: string;
|
|
18889
|
-
productId: string;
|
|
18890
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18891
18883
|
salePrice: number;
|
|
18884
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18892
18885
|
stockQuantity: number;
|
|
18893
18886
|
categoryId: string | null;
|
|
18887
|
+
productId: string;
|
|
18894
18888
|
productNo: number | null;
|
|
18895
18889
|
discountedPrice: number | null;
|
|
18896
18890
|
hasOptions: boolean;
|
|
@@ -18959,7 +18953,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18959
18953
|
fulfillment: UnknownFulfillment | {
|
|
18960
18954
|
type: "SHIPPING";
|
|
18961
18955
|
shipping: {
|
|
18962
|
-
deliveryType: "
|
|
18956
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
18963
18957
|
deliveryFee: number;
|
|
18964
18958
|
conditionalFreeAmount: number | null;
|
|
18965
18959
|
shippingAddressId: string | null;
|
|
@@ -19217,11 +19211,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19217
19211
|
/** 상품 상세 묶음 조회(id·상품번호 합 100개) — 상점 플랫폼 전용. 이 상점에 없는 값은 빠진다 */
|
|
19218
19212
|
lookup: (body: ProductLookupRequest) => Promise<{
|
|
19219
19213
|
name: string;
|
|
19220
|
-
productId: string;
|
|
19221
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
19222
19214
|
salePrice: number;
|
|
19215
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
19223
19216
|
stockQuantity: number;
|
|
19224
19217
|
categoryId: string | null;
|
|
19218
|
+
productId: string;
|
|
19225
19219
|
productNo: number | null;
|
|
19226
19220
|
discountedPrice: number | null;
|
|
19227
19221
|
hasOptions: boolean;
|
|
@@ -19290,7 +19284,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19290
19284
|
fulfillment: UnknownFulfillment | {
|
|
19291
19285
|
type: "SHIPPING";
|
|
19292
19286
|
shipping: {
|
|
19293
|
-
deliveryType: "
|
|
19287
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
19294
19288
|
deliveryFee: number;
|
|
19295
19289
|
conditionalFreeAmount: number | null;
|
|
19296
19290
|
shippingAddressId: string | null;
|
|
@@ -20642,7 +20636,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20642
20636
|
key: string;
|
|
20643
20637
|
results: {
|
|
20644
20638
|
orderItemId: string;
|
|
20645
|
-
status: "
|
|
20639
|
+
status: "FAILED" | "COMPLETED" | "SKIPPED";
|
|
20646
20640
|
reason?: string | undefined;
|
|
20647
20641
|
message?: string | undefined;
|
|
20648
20642
|
}[];
|
|
@@ -21157,7 +21151,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21157
21151
|
enteredAt: string;
|
|
21158
21152
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21159
21153
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21160
|
-
claimStatus?: "
|
|
21154
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21161
21155
|
message?: string | undefined;
|
|
21162
21156
|
deadlineAt?: string | undefined;
|
|
21163
21157
|
attachments?: string[] | undefined;
|
|
@@ -21222,7 +21216,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21222
21216
|
enteredAt: string;
|
|
21223
21217
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21224
21218
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21225
|
-
claimStatus?: "
|
|
21219
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21226
21220
|
message?: string | undefined;
|
|
21227
21221
|
deadlineAt?: string | undefined;
|
|
21228
21222
|
attachments?: string[] | undefined;
|
|
@@ -21252,7 +21246,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21252
21246
|
enteredAt: string;
|
|
21253
21247
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21254
21248
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21255
|
-
claimStatus?: "
|
|
21249
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21256
21250
|
message?: string | undefined;
|
|
21257
21251
|
deadlineAt?: string | undefined;
|
|
21258
21252
|
attachments?: string[] | undefined;
|
|
@@ -21315,7 +21309,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21315
21309
|
enteredAt: string;
|
|
21316
21310
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21317
21311
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21318
|
-
claimStatus?: "
|
|
21312
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21319
21313
|
message?: string | undefined;
|
|
21320
21314
|
deadlineAt?: string | undefined;
|
|
21321
21315
|
attachments?: string[] | undefined;
|
|
@@ -21377,7 +21371,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21377
21371
|
enteredAt: string;
|
|
21378
21372
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21379
21373
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
21380
|
-
claimStatus?: "
|
|
21374
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
21381
21375
|
message?: string | undefined;
|
|
21382
21376
|
deadlineAt?: string | undefined;
|
|
21383
21377
|
attachments?: string[] | undefined;
|
|
@@ -22011,7 +22005,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22011
22005
|
claimId: string;
|
|
22012
22006
|
claimNo: string | null;
|
|
22013
22007
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
22014
|
-
status: "
|
|
22008
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
22015
22009
|
orderId: string;
|
|
22016
22010
|
orderItemId: string;
|
|
22017
22011
|
productName: string;
|
|
@@ -22051,7 +22045,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22051
22045
|
claimId: string;
|
|
22052
22046
|
claimNo: string | null;
|
|
22053
22047
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
22054
|
-
status: "
|
|
22048
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
22055
22049
|
orderId: string;
|
|
22056
22050
|
orderItemId: string;
|
|
22057
22051
|
productName: string;
|
|
@@ -22086,7 +22080,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22086
22080
|
address2: string | null;
|
|
22087
22081
|
} | null;
|
|
22088
22082
|
histories?: {
|
|
22089
|
-
status: "
|
|
22083
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
22090
22084
|
actor: "SELLER" | "BUYER" | "SYSTEM";
|
|
22091
22085
|
occurredAt: string;
|
|
22092
22086
|
}[] | undefined;
|
|
@@ -22129,7 +22123,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22129
22123
|
claimId: string;
|
|
22130
22124
|
claimNo: string | null;
|
|
22131
22125
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
22132
|
-
status: "
|
|
22126
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
22133
22127
|
orderId: string;
|
|
22134
22128
|
orderItemId: string;
|
|
22135
22129
|
productName: string;
|
|
@@ -23679,7 +23673,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23679
23673
|
conversionRate: number | null;
|
|
23680
23674
|
};
|
|
23681
23675
|
funnel: {
|
|
23682
|
-
step: "
|
|
23676
|
+
step: "PURCHASE" | "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT";
|
|
23683
23677
|
sessions: number;
|
|
23684
23678
|
rateFromPrevious: number | null;
|
|
23685
23679
|
}[];
|
|
@@ -23738,9 +23732,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23738
23732
|
}>;
|
|
23739
23733
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
23740
23734
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
23741
|
-
groupBy: "
|
|
23735
|
+
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
23742
23736
|
rows: {
|
|
23743
|
-
channel: "
|
|
23737
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
23744
23738
|
source: string | null;
|
|
23745
23739
|
medium: string | null;
|
|
23746
23740
|
campaign: string | null;
|
|
@@ -23845,7 +23839,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23845
23839
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
23846
23840
|
sessions: number;
|
|
23847
23841
|
outcomes: {
|
|
23848
|
-
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "
|
|
23842
|
+
outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
|
|
23849
23843
|
sessions: number;
|
|
23850
23844
|
}[];
|
|
23851
23845
|
from: string;
|
|
@@ -26383,7 +26377,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26383
26377
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
26384
26378
|
items: {
|
|
26385
26379
|
approvalId: string;
|
|
26386
|
-
status: "
|
|
26380
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
26387
26381
|
operationId: string;
|
|
26388
26382
|
method: string;
|
|
26389
26383
|
path: string;
|
|
@@ -26435,7 +26429,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26435
26429
|
}>;
|
|
26436
26430
|
get: (approvalId: string) => Promise<{
|
|
26437
26431
|
approvalId: string;
|
|
26438
|
-
status: "
|
|
26432
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
26439
26433
|
operationId: string;
|
|
26440
26434
|
method: string;
|
|
26441
26435
|
path: string;
|
|
@@ -26489,7 +26483,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26489
26483
|
*/
|
|
26490
26484
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26491
26485
|
approvalId: string;
|
|
26492
|
-
status: "
|
|
26486
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
26493
26487
|
operationId: string;
|
|
26494
26488
|
method: string;
|
|
26495
26489
|
path: string;
|
|
@@ -26539,7 +26533,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26539
26533
|
}>;
|
|
26540
26534
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26541
26535
|
approvalId: string;
|
|
26542
|
-
status: "
|
|
26536
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
26543
26537
|
operationId: string;
|
|
26544
26538
|
method: string;
|
|
26545
26539
|
path: string;
|
|
@@ -27019,7 +27013,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27019
27013
|
label: string;
|
|
27020
27014
|
status: "error" | "unknown" | "ok";
|
|
27021
27015
|
summary: string | null;
|
|
27022
|
-
activity?: "check" | "code" | "
|
|
27016
|
+
activity?: "check" | "code" | "version" | "status" | "shipping" | "product" | "category" | "brief" | "files" | "preview" | "template" | "site" | "info" | "upload" | "design" | "verify" | undefined;
|
|
27023
27017
|
target?: string | undefined;
|
|
27024
27018
|
changes?: {
|
|
27025
27019
|
path: string;
|
|
@@ -27308,7 +27302,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27308
27302
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
27309
27303
|
getDeployment: () => Promise<{
|
|
27310
27304
|
siteId: string;
|
|
27311
|
-
status: "
|
|
27305
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
27312
27306
|
url: string;
|
|
27313
27307
|
startedAt: string;
|
|
27314
27308
|
finishedAt: string | null;
|
|
@@ -27330,7 +27324,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27330
27324
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
27331
27325
|
retryDeployment: () => Promise<{
|
|
27332
27326
|
siteId: string;
|
|
27333
|
-
status: "
|
|
27327
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
27334
27328
|
url: string;
|
|
27335
27329
|
startedAt: string;
|
|
27336
27330
|
finishedAt: string | null;
|
|
@@ -27978,7 +27972,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27978
27972
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
27979
27973
|
checkId: string;
|
|
27980
27974
|
check: string;
|
|
27981
|
-
status: "
|
|
27975
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
27982
27976
|
exitCode: number | null;
|
|
27983
27977
|
durationMs: number | null;
|
|
27984
27978
|
outputTail: string | null;
|
|
@@ -27992,7 +27986,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27992
27986
|
getCheck: (checkId: string) => Promise<{
|
|
27993
27987
|
checkId: string;
|
|
27994
27988
|
check: string;
|
|
27995
|
-
status: "
|
|
27989
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
27996
27990
|
exitCode: number | null;
|
|
27997
27991
|
durationMs: number | null;
|
|
27998
27992
|
outputTail: string | null;
|
|
@@ -28326,14 +28320,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28326
28320
|
totalBytes: number;
|
|
28327
28321
|
content: string;
|
|
28328
28322
|
}>;
|
|
28329
|
-
/**
|
|
28330
|
-
|
|
28331
|
-
|
|
28332
|
-
|
|
28323
|
+
/**
|
|
28324
|
+
* `POST /v1/storefront/site/source/pack` — 묶음을 api를 거쳐 올린다. `createSourceUploads`가 503 `SOURCE_UPLOAD_UNAVAILABLE`일 때만 쓴다.
|
|
28325
|
+
* 작업 트리는 바뀌지 않는다
|
|
28326
|
+
*/
|
|
28327
|
+
uploadSourcePack: (body: UploadStorefrontSourcePackRequest) => Promise<{
|
|
28328
|
+
hash: string;
|
|
28329
|
+
size: number;
|
|
28333
28330
|
}>;
|
|
28334
28331
|
/**
|
|
28335
|
-
* `POST /v1/storefront/site/source/uploads` —
|
|
28336
|
-
* `
|
|
28332
|
+
* `POST /v1/storefront/site/source/uploads` — 묶음을 저장소에 직접 올릴 서명 PUT 주소(#181·#351). 503 `SOURCE_UPLOAD_UNAVAILABLE`이면
|
|
28333
|
+
* `uploadSourcePack`으로 올린다
|
|
28337
28334
|
*/
|
|
28338
28335
|
createSourceUploads: (body: CreateStorefrontSourceUploadsRequest) => Promise<{
|
|
28339
28336
|
uploads: {
|