@sayren/store-sdk 0.63.0 → 0.65.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 +713 -474
- package/dist/index.mjs +171 -21
- package/package.json +1 -1
- package/src/client.ts +36 -5
- package/src/schemas/ai.ts +23 -0
- package/src/schemas/app-manifest.ts +3 -1
- package/src/schemas/claim.ts +44 -1
- package/src/schemas/customer.ts +81 -2
- package/src/schemas/misc.ts +2 -0
- package/src/schemas/order.ts +52 -2
- package/src/schemas/payment.ts +19 -1
- package/src/schemas/scope-descriptions.ts +4 -0
- package/src/schemas/scope.ts +4 -0
- package/src/schemas/webhook-event.ts +38 -2
package/dist/index.d.mts
CHANGED
|
@@ -216,24 +216,24 @@ 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
|
+
REJECTED: "REJECTED";
|
|
219
220
|
PENDING: "PENDING";
|
|
220
221
|
FAILED: "FAILED";
|
|
221
222
|
SUCCEEDED: "SUCCEEDED";
|
|
222
|
-
EXECUTING: "EXECUTING";
|
|
223
223
|
UNKNOWN: "UNKNOWN";
|
|
224
|
-
|
|
224
|
+
EXECUTING: "EXECUTING";
|
|
225
225
|
EXPIRED: "EXPIRED";
|
|
226
226
|
}>;
|
|
227
227
|
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
|
+
REJECTED: "REJECTED";
|
|
231
232
|
PENDING: "PENDING";
|
|
232
233
|
FAILED: "FAILED";
|
|
233
234
|
SUCCEEDED: "SUCCEEDED";
|
|
234
|
-
EXECUTING: "EXECUTING";
|
|
235
235
|
UNKNOWN: "UNKNOWN";
|
|
236
|
-
|
|
236
|
+
EXECUTING: "EXECUTING";
|
|
237
237
|
EXPIRED: "EXPIRED";
|
|
238
238
|
}>;
|
|
239
239
|
operationId: z$1.ZodString;
|
|
@@ -292,12 +292,12 @@ 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
|
+
REJECTED: "REJECTED";
|
|
295
296
|
PENDING: "PENDING";
|
|
296
297
|
FAILED: "FAILED";
|
|
297
298
|
SUCCEEDED: "SUCCEEDED";
|
|
298
|
-
EXECUTING: "EXECUTING";
|
|
299
299
|
UNKNOWN: "UNKNOWN";
|
|
300
|
-
|
|
300
|
+
EXECUTING: "EXECUTING";
|
|
301
301
|
EXPIRED: "EXPIRED";
|
|
302
302
|
}>>>>;
|
|
303
303
|
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -311,12 +311,12 @@ 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
|
+
REJECTED: "REJECTED";
|
|
314
315
|
PENDING: "PENDING";
|
|
315
316
|
FAILED: "FAILED";
|
|
316
317
|
SUCCEEDED: "SUCCEEDED";
|
|
317
|
-
EXECUTING: "EXECUTING";
|
|
318
318
|
UNKNOWN: "UNKNOWN";
|
|
319
|
-
|
|
319
|
+
EXECUTING: "EXECUTING";
|
|
320
320
|
EXPIRED: "EXPIRED";
|
|
321
321
|
}>;
|
|
322
322
|
operationId: z$1.ZodString;
|
|
@@ -466,10 +466,10 @@ export type AiPreviewSelection = z$1.infer<typeof aiPreviewSelectionSchema>;
|
|
|
466
466
|
/** 실행 상태 — 끝난 상태는 `DONE`·`FAILED`·`CANCELLED`다 */
|
|
467
467
|
export declare const aiRunStatusSchema: z$1.ZodEnum<{
|
|
468
468
|
FAILED: "FAILED";
|
|
469
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
470
|
-
DONE: "DONE";
|
|
471
469
|
QUEUED: "QUEUED";
|
|
472
470
|
RUNNING: "RUNNING";
|
|
471
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
472
|
+
DONE: "DONE";
|
|
473
473
|
CANCELLED: "CANCELLED";
|
|
474
474
|
}>;
|
|
475
475
|
export type AiRunStatus = z$1.infer<typeof aiRunStatusSchema>;
|
|
@@ -485,10 +485,10 @@ export declare const aiRunSchema: z$1.ZodObject<{
|
|
|
485
485
|
id: z$1.ZodString;
|
|
486
486
|
status: z$1.ZodEnum<{
|
|
487
487
|
FAILED: "FAILED";
|
|
488
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
489
|
-
DONE: "DONE";
|
|
490
488
|
QUEUED: "QUEUED";
|
|
491
489
|
RUNNING: "RUNNING";
|
|
490
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
491
|
+
DONE: "DONE";
|
|
492
492
|
CANCELLED: "CANCELLED";
|
|
493
493
|
}>;
|
|
494
494
|
errorCode: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -501,10 +501,10 @@ export type AiRun = z$1.infer<typeof aiRunSchema>;
|
|
|
501
501
|
*/
|
|
502
502
|
export declare const aiActivitySchema: z$1.ZodEnum<{
|
|
503
503
|
check: "check";
|
|
504
|
-
code: "code";
|
|
505
504
|
status: "status";
|
|
506
|
-
version: "version";
|
|
507
505
|
shipping: "shipping";
|
|
506
|
+
code: "code";
|
|
507
|
+
version: "version";
|
|
508
508
|
product: "product";
|
|
509
509
|
category: "category";
|
|
510
510
|
brief: "brief";
|
|
@@ -551,11 +551,11 @@ export type AiToolChange = z$1.infer<typeof aiToolChangeSchema>;
|
|
|
551
551
|
*/
|
|
552
552
|
export declare const AI_AGENT_PHASES: readonly ["STORE", "STRUCTURE", "DESIGN", "ENVIRONMENT", "BUILD", "DONE"];
|
|
553
553
|
export declare const aiAgentPhaseSchema: z$1.ZodEnum<{
|
|
554
|
+
BUILD: "BUILD";
|
|
554
555
|
STORE: "STORE";
|
|
555
556
|
STRUCTURE: "STRUCTURE";
|
|
556
557
|
DESIGN: "DESIGN";
|
|
557
558
|
ENVIRONMENT: "ENVIRONMENT";
|
|
558
|
-
BUILD: "BUILD";
|
|
559
559
|
DONE: "DONE";
|
|
560
560
|
}>;
|
|
561
561
|
export type AiAgentPhase = z$1.infer<typeof aiAgentPhaseSchema>;
|
|
@@ -591,11 +591,11 @@ export declare const aiTodoSchema: z$1.ZodObject<{
|
|
|
591
591
|
blocked: "blocked";
|
|
592
592
|
}>;
|
|
593
593
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
594
|
+
BUILD: "BUILD";
|
|
594
595
|
STORE: "STORE";
|
|
595
596
|
STRUCTURE: "STRUCTURE";
|
|
596
597
|
DESIGN: "DESIGN";
|
|
597
598
|
ENVIRONMENT: "ENVIRONMENT";
|
|
598
|
-
BUILD: "BUILD";
|
|
599
599
|
DONE: "DONE";
|
|
600
600
|
}>>;
|
|
601
601
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -756,10 +756,10 @@ export declare const aiMessagePartSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
756
756
|
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
757
757
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
758
758
|
check: "check";
|
|
759
|
-
code: "code";
|
|
760
759
|
status: "status";
|
|
761
|
-
version: "version";
|
|
762
760
|
shipping: "shipping";
|
|
761
|
+
code: "code";
|
|
762
|
+
version: "version";
|
|
763
763
|
product: "product";
|
|
764
764
|
category: "category";
|
|
765
765
|
brief: "brief";
|
|
@@ -859,11 +859,11 @@ export declare const aiMessagePartSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
859
859
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
860
860
|
type: z$1.ZodLiteral<"phase">;
|
|
861
861
|
phase: z$1.ZodEnum<{
|
|
862
|
+
BUILD: "BUILD";
|
|
862
863
|
STORE: "STORE";
|
|
863
864
|
STRUCTURE: "STRUCTURE";
|
|
864
865
|
DESIGN: "DESIGN";
|
|
865
866
|
ENVIRONMENT: "ENVIRONMENT";
|
|
866
|
-
BUILD: "BUILD";
|
|
867
867
|
DONE: "DONE";
|
|
868
868
|
}>;
|
|
869
869
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -878,11 +878,11 @@ export declare const aiMessagePartSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
878
878
|
blocked: "blocked";
|
|
879
879
|
}>;
|
|
880
880
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
881
|
+
BUILD: "BUILD";
|
|
881
882
|
STORE: "STORE";
|
|
882
883
|
STRUCTURE: "STRUCTURE";
|
|
883
884
|
DESIGN: "DESIGN";
|
|
884
885
|
ENVIRONMENT: "ENVIRONMENT";
|
|
885
|
-
BUILD: "BUILD";
|
|
886
886
|
DONE: "DONE";
|
|
887
887
|
}>>;
|
|
888
888
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -912,10 +912,10 @@ export declare const aiMessageSchema: z$1.ZodObject<{
|
|
|
912
912
|
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
913
913
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
914
914
|
check: "check";
|
|
915
|
-
code: "code";
|
|
916
915
|
status: "status";
|
|
917
|
-
version: "version";
|
|
918
916
|
shipping: "shipping";
|
|
917
|
+
code: "code";
|
|
918
|
+
version: "version";
|
|
919
919
|
product: "product";
|
|
920
920
|
category: "category";
|
|
921
921
|
brief: "brief";
|
|
@@ -1015,11 +1015,11 @@ export declare const aiMessageSchema: z$1.ZodObject<{
|
|
|
1015
1015
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1016
1016
|
type: z$1.ZodLiteral<"phase">;
|
|
1017
1017
|
phase: z$1.ZodEnum<{
|
|
1018
|
+
BUILD: "BUILD";
|
|
1018
1019
|
STORE: "STORE";
|
|
1019
1020
|
STRUCTURE: "STRUCTURE";
|
|
1020
1021
|
DESIGN: "DESIGN";
|
|
1021
1022
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1022
|
-
BUILD: "BUILD";
|
|
1023
1023
|
DONE: "DONE";
|
|
1024
1024
|
}>;
|
|
1025
1025
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -1034,11 +1034,11 @@ export declare const aiMessageSchema: z$1.ZodObject<{
|
|
|
1034
1034
|
blocked: "blocked";
|
|
1035
1035
|
}>;
|
|
1036
1036
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1037
|
+
BUILD: "BUILD";
|
|
1037
1038
|
STORE: "STORE";
|
|
1038
1039
|
STRUCTURE: "STRUCTURE";
|
|
1039
1040
|
DESIGN: "DESIGN";
|
|
1040
1041
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1041
|
-
BUILD: "BUILD";
|
|
1042
1042
|
DONE: "DONE";
|
|
1043
1043
|
}>>;
|
|
1044
1044
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1101,10 +1101,10 @@ export declare const aiConversationSchema: z$1.ZodObject<{
|
|
|
1101
1101
|
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
1102
1102
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1103
1103
|
check: "check";
|
|
1104
|
-
code: "code";
|
|
1105
1104
|
status: "status";
|
|
1106
|
-
version: "version";
|
|
1107
1105
|
shipping: "shipping";
|
|
1106
|
+
code: "code";
|
|
1107
|
+
version: "version";
|
|
1108
1108
|
product: "product";
|
|
1109
1109
|
category: "category";
|
|
1110
1110
|
brief: "brief";
|
|
@@ -1204,11 +1204,11 @@ export declare const aiConversationSchema: z$1.ZodObject<{
|
|
|
1204
1204
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1205
1205
|
type: z$1.ZodLiteral<"phase">;
|
|
1206
1206
|
phase: z$1.ZodEnum<{
|
|
1207
|
+
BUILD: "BUILD";
|
|
1207
1208
|
STORE: "STORE";
|
|
1208
1209
|
STRUCTURE: "STRUCTURE";
|
|
1209
1210
|
DESIGN: "DESIGN";
|
|
1210
1211
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1211
|
-
BUILD: "BUILD";
|
|
1212
1212
|
DONE: "DONE";
|
|
1213
1213
|
}>;
|
|
1214
1214
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -1223,11 +1223,11 @@ export declare const aiConversationSchema: z$1.ZodObject<{
|
|
|
1223
1223
|
blocked: "blocked";
|
|
1224
1224
|
}>;
|
|
1225
1225
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1226
|
+
BUILD: "BUILD";
|
|
1226
1227
|
STORE: "STORE";
|
|
1227
1228
|
STRUCTURE: "STRUCTURE";
|
|
1228
1229
|
DESIGN: "DESIGN";
|
|
1229
1230
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1230
|
-
BUILD: "BUILD";
|
|
1231
1231
|
DONE: "DONE";
|
|
1232
1232
|
}>>;
|
|
1233
1233
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1240,10 +1240,10 @@ export declare const aiConversationSchema: z$1.ZodObject<{
|
|
|
1240
1240
|
id: z$1.ZodString;
|
|
1241
1241
|
status: z$1.ZodEnum<{
|
|
1242
1242
|
FAILED: "FAILED";
|
|
1243
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1244
|
-
DONE: "DONE";
|
|
1245
1243
|
QUEUED: "QUEUED";
|
|
1246
1244
|
RUNNING: "RUNNING";
|
|
1245
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1246
|
+
DONE: "DONE";
|
|
1247
1247
|
CANCELLED: "CANCELLED";
|
|
1248
1248
|
}>;
|
|
1249
1249
|
errorCode: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -1259,10 +1259,10 @@ export declare const aiConversationSchema: z$1.ZodObject<{
|
|
|
1259
1259
|
id: z$1.ZodString;
|
|
1260
1260
|
status: z$1.ZodEnum<{
|
|
1261
1261
|
FAILED: "FAILED";
|
|
1262
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1263
|
-
DONE: "DONE";
|
|
1264
1262
|
QUEUED: "QUEUED";
|
|
1265
1263
|
RUNNING: "RUNNING";
|
|
1264
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1265
|
+
DONE: "DONE";
|
|
1266
1266
|
CANCELLED: "CANCELLED";
|
|
1267
1267
|
}>;
|
|
1268
1268
|
errorCode: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -1292,6 +1292,11 @@ export declare const storeSetupBriefSchema: z$1.ZodObject<{
|
|
|
1292
1292
|
slug: z$1.ZodOptional<z$1.ZodString>;
|
|
1293
1293
|
}, z$1.core.$strip>;
|
|
1294
1294
|
export type StoreSetupBrief = z$1.infer<typeof storeSetupBriefSchema>;
|
|
1295
|
+
/**
|
|
1296
|
+
* 보내는 사람의 시간대(IANA 이름, 예 `Asia/Seoul`) — 브라우저 `Intl.DateTimeFormat().resolvedOptions().timeZone`. AI는 시각을 이 시간대로 쓴다.
|
|
1297
|
+
* 생략하면 `Asia/Seoul`이다
|
|
1298
|
+
*/
|
|
1299
|
+
export declare const aiTimeZoneSchema: z$1.ZodString;
|
|
1295
1300
|
export declare const createAiConversationRequestSchema: z$1.ZodObject<{
|
|
1296
1301
|
draftId: z$1.ZodOptional<z$1.ZodString>;
|
|
1297
1302
|
brief: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -1314,6 +1319,7 @@ export declare const createAiConversationRequestSchema: z$1.ZodObject<{
|
|
|
1314
1319
|
STORE: "STORE";
|
|
1315
1320
|
DESIGNER: "DESIGNER";
|
|
1316
1321
|
}>>;
|
|
1322
|
+
timeZone: z$1.ZodOptional<z$1.ZodString>;
|
|
1317
1323
|
}, z$1.core.$strip>;
|
|
1318
1324
|
export type CreateAiConversationRequest = z$1.infer<typeof createAiConversationRequestSchema>;
|
|
1319
1325
|
export declare const createAiConversationResponseSchema: z$1.ZodObject<{
|
|
@@ -1357,6 +1363,7 @@ export declare const sendAiMessageRequestSchema: z$1.ZodObject<{
|
|
|
1357
1363
|
file: z$1.ZodString;
|
|
1358
1364
|
title: z$1.ZodString;
|
|
1359
1365
|
}, z$1.core.$strip>>;
|
|
1366
|
+
timeZone: z$1.ZodOptional<z$1.ZodString>;
|
|
1360
1367
|
}, z$1.core.$strip>;
|
|
1361
1368
|
export type SendAiMessageRequest = z$1.input<typeof sendAiMessageRequestSchema>;
|
|
1362
1369
|
export declare const sendAiMessageResponseSchema: z$1.ZodObject<{
|
|
@@ -1543,11 +1550,11 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1543
1550
|
type: z$1.ZodLiteral<"phase">;
|
|
1544
1551
|
messageId: z$1.ZodString;
|
|
1545
1552
|
phase: z$1.ZodEnum<{
|
|
1553
|
+
BUILD: "BUILD";
|
|
1546
1554
|
STORE: "STORE";
|
|
1547
1555
|
STRUCTURE: "STRUCTURE";
|
|
1548
1556
|
DESIGN: "DESIGN";
|
|
1549
1557
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1550
|
-
BUILD: "BUILD";
|
|
1551
1558
|
DONE: "DONE";
|
|
1552
1559
|
}>;
|
|
1553
1560
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -1563,11 +1570,11 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1563
1570
|
blocked: "blocked";
|
|
1564
1571
|
}>;
|
|
1565
1572
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1573
|
+
BUILD: "BUILD";
|
|
1566
1574
|
STORE: "STORE";
|
|
1567
1575
|
STRUCTURE: "STRUCTURE";
|
|
1568
1576
|
DESIGN: "DESIGN";
|
|
1569
1577
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1570
|
-
BUILD: "BUILD";
|
|
1571
1578
|
DONE: "DONE";
|
|
1572
1579
|
}>>;
|
|
1573
1580
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1605,10 +1612,10 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1605
1612
|
}, z$1.core.$strip>>;
|
|
1606
1613
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1607
1614
|
check: "check";
|
|
1608
|
-
code: "code";
|
|
1609
1615
|
status: "status";
|
|
1610
|
-
version: "version";
|
|
1611
1616
|
shipping: "shipping";
|
|
1617
|
+
code: "code";
|
|
1618
|
+
version: "version";
|
|
1612
1619
|
product: "product";
|
|
1613
1620
|
category: "category";
|
|
1614
1621
|
brief: "brief";
|
|
@@ -1733,10 +1740,10 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1733
1740
|
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
1734
1741
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1735
1742
|
check: "check";
|
|
1736
|
-
code: "code";
|
|
1737
1743
|
status: "status";
|
|
1738
|
-
version: "version";
|
|
1739
1744
|
shipping: "shipping";
|
|
1745
|
+
code: "code";
|
|
1746
|
+
version: "version";
|
|
1740
1747
|
product: "product";
|
|
1741
1748
|
category: "category";
|
|
1742
1749
|
brief: "brief";
|
|
@@ -1836,11 +1843,11 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1836
1843
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1837
1844
|
type: z$1.ZodLiteral<"phase">;
|
|
1838
1845
|
phase: z$1.ZodEnum<{
|
|
1846
|
+
BUILD: "BUILD";
|
|
1839
1847
|
STORE: "STORE";
|
|
1840
1848
|
STRUCTURE: "STRUCTURE";
|
|
1841
1849
|
DESIGN: "DESIGN";
|
|
1842
1850
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1843
|
-
BUILD: "BUILD";
|
|
1844
1851
|
DONE: "DONE";
|
|
1845
1852
|
}>;
|
|
1846
1853
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -1855,11 +1862,11 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1855
1862
|
blocked: "blocked";
|
|
1856
1863
|
}>;
|
|
1857
1864
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1865
|
+
BUILD: "BUILD";
|
|
1858
1866
|
STORE: "STORE";
|
|
1859
1867
|
STRUCTURE: "STRUCTURE";
|
|
1860
1868
|
DESIGN: "DESIGN";
|
|
1861
1869
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1862
|
-
BUILD: "BUILD";
|
|
1863
1870
|
DONE: "DONE";
|
|
1864
1871
|
}>>;
|
|
1865
1872
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1876,10 +1883,10 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1876
1883
|
type: z$1.ZodLiteral<"done">;
|
|
1877
1884
|
status: z$1.ZodEnum<{
|
|
1878
1885
|
FAILED: "FAILED";
|
|
1879
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1880
|
-
DONE: "DONE";
|
|
1881
1886
|
QUEUED: "QUEUED";
|
|
1882
1887
|
RUNNING: "RUNNING";
|
|
1888
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1889
|
+
DONE: "DONE";
|
|
1883
1890
|
CANCELLED: "CANCELLED";
|
|
1884
1891
|
}>;
|
|
1885
1892
|
}, z$1.core.$strip>], "type">;
|
|
@@ -1899,11 +1906,11 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
1899
1906
|
type: z$1.ZodLiteral<"phase">;
|
|
1900
1907
|
messageId: z$1.ZodString;
|
|
1901
1908
|
phase: z$1.ZodEnum<{
|
|
1909
|
+
BUILD: "BUILD";
|
|
1902
1910
|
STORE: "STORE";
|
|
1903
1911
|
STRUCTURE: "STRUCTURE";
|
|
1904
1912
|
DESIGN: "DESIGN";
|
|
1905
1913
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1906
|
-
BUILD: "BUILD";
|
|
1907
1914
|
DONE: "DONE";
|
|
1908
1915
|
}>;
|
|
1909
1916
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -1919,11 +1926,11 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
1919
1926
|
blocked: "blocked";
|
|
1920
1927
|
}>;
|
|
1921
1928
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1929
|
+
BUILD: "BUILD";
|
|
1922
1930
|
STORE: "STORE";
|
|
1923
1931
|
STRUCTURE: "STRUCTURE";
|
|
1924
1932
|
DESIGN: "DESIGN";
|
|
1925
1933
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1926
|
-
BUILD: "BUILD";
|
|
1927
1934
|
DONE: "DONE";
|
|
1928
1935
|
}>>;
|
|
1929
1936
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1961,10 +1968,10 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
1961
1968
|
}, z$1.core.$strip>>;
|
|
1962
1969
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1963
1970
|
check: "check";
|
|
1964
|
-
code: "code";
|
|
1965
1971
|
status: "status";
|
|
1966
|
-
version: "version";
|
|
1967
1972
|
shipping: "shipping";
|
|
1973
|
+
code: "code";
|
|
1974
|
+
version: "version";
|
|
1968
1975
|
product: "product";
|
|
1969
1976
|
category: "category";
|
|
1970
1977
|
brief: "brief";
|
|
@@ -2089,10 +2096,10 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
2089
2096
|
summary: z$1.ZodNullable<z$1.ZodString>;
|
|
2090
2097
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2091
2098
|
check: "check";
|
|
2092
|
-
code: "code";
|
|
2093
2099
|
status: "status";
|
|
2094
|
-
version: "version";
|
|
2095
2100
|
shipping: "shipping";
|
|
2101
|
+
code: "code";
|
|
2102
|
+
version: "version";
|
|
2096
2103
|
product: "product";
|
|
2097
2104
|
category: "category";
|
|
2098
2105
|
brief: "brief";
|
|
@@ -2192,11 +2199,11 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
2192
2199
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2193
2200
|
type: z$1.ZodLiteral<"phase">;
|
|
2194
2201
|
phase: z$1.ZodEnum<{
|
|
2202
|
+
BUILD: "BUILD";
|
|
2195
2203
|
STORE: "STORE";
|
|
2196
2204
|
STRUCTURE: "STRUCTURE";
|
|
2197
2205
|
DESIGN: "DESIGN";
|
|
2198
2206
|
ENVIRONMENT: "ENVIRONMENT";
|
|
2199
|
-
BUILD: "BUILD";
|
|
2200
2207
|
DONE: "DONE";
|
|
2201
2208
|
}>;
|
|
2202
2209
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -2211,11 +2218,11 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
2211
2218
|
blocked: "blocked";
|
|
2212
2219
|
}>;
|
|
2213
2220
|
phase: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2221
|
+
BUILD: "BUILD";
|
|
2214
2222
|
STORE: "STORE";
|
|
2215
2223
|
STRUCTURE: "STRUCTURE";
|
|
2216
2224
|
DESIGN: "DESIGN";
|
|
2217
2225
|
ENVIRONMENT: "ENVIRONMENT";
|
|
2218
|
-
BUILD: "BUILD";
|
|
2219
2226
|
DONE: "DONE";
|
|
2220
2227
|
}>>;
|
|
2221
2228
|
note: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2232,10 +2239,10 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
2232
2239
|
type: z$1.ZodLiteral<"done">;
|
|
2233
2240
|
status: z$1.ZodEnum<{
|
|
2234
2241
|
FAILED: "FAILED";
|
|
2235
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
2236
|
-
DONE: "DONE";
|
|
2237
2242
|
QUEUED: "QUEUED";
|
|
2238
2243
|
RUNNING: "RUNNING";
|
|
2244
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
2245
|
+
DONE: "DONE";
|
|
2239
2246
|
CANCELLED: "CANCELLED";
|
|
2240
2247
|
}>;
|
|
2241
2248
|
}, z$1.core.$strip>], "type">;
|
|
@@ -2326,11 +2333,11 @@ export declare const analyticsTotalsSchema: z$1.ZodObject<{
|
|
|
2326
2333
|
export type AnalyticsTotals = z$1.infer<typeof analyticsTotalsSchema>;
|
|
2327
2334
|
export declare const analyticsFunnelStepSchema: z$1.ZodObject<{
|
|
2328
2335
|
step: z$1.ZodEnum<{
|
|
2329
|
-
PURCHASE: "PURCHASE";
|
|
2330
2336
|
SESSION: "SESSION";
|
|
2331
2337
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
2332
2338
|
ADD_TO_CART: "ADD_TO_CART";
|
|
2333
2339
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
2340
|
+
PURCHASE: "PURCHASE";
|
|
2334
2341
|
}>;
|
|
2335
2342
|
sessions: z$1.ZodNumber;
|
|
2336
2343
|
rateFromPrevious: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -2355,11 +2362,11 @@ export declare const analyticsOverviewSchema: z$1.ZodObject<{
|
|
|
2355
2362
|
}, z$1.core.$strip>;
|
|
2356
2363
|
funnel: z$1.ZodArray<z$1.ZodObject<{
|
|
2357
2364
|
step: z$1.ZodEnum<{
|
|
2358
|
-
PURCHASE: "PURCHASE";
|
|
2359
2365
|
SESSION: "SESSION";
|
|
2360
2366
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
2361
2367
|
ADD_TO_CART: "ADD_TO_CART";
|
|
2362
2368
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
2369
|
+
PURCHASE: "PURCHASE";
|
|
2363
2370
|
}>;
|
|
2364
2371
|
sessions: z$1.ZodNumber;
|
|
2365
2372
|
rateFromPrevious: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -2466,18 +2473,18 @@ export type AnalyticsProducts = z$1.infer<typeof analyticsProductsSchema>;
|
|
|
2466
2473
|
export declare const analyticsChannelSchema: z$1.ZodEnum<{
|
|
2467
2474
|
PAID: "PAID";
|
|
2468
2475
|
DIRECT: "DIRECT";
|
|
2469
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2470
|
-
UNKNOWN: "UNKNOWN";
|
|
2471
2476
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2472
2477
|
SOCIAL: "SOCIAL";
|
|
2473
2478
|
EMAIL: "EMAIL";
|
|
2479
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2474
2480
|
REFERRAL: "REFERRAL";
|
|
2481
|
+
UNKNOWN: "UNKNOWN";
|
|
2475
2482
|
}>;
|
|
2476
2483
|
export type AnalyticsChannel = z$1.infer<typeof analyticsChannelSchema>;
|
|
2477
2484
|
export declare const analyticsSourceGroupBySchema: z$1.ZodEnum<{
|
|
2485
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2478
2486
|
CHANNEL: "CHANNEL";
|
|
2479
2487
|
SOURCE: "SOURCE";
|
|
2480
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2481
2488
|
DEVICE: "DEVICE";
|
|
2482
2489
|
}>;
|
|
2483
2490
|
export type AnalyticsSourceGroupBy = z$1.infer<typeof analyticsSourceGroupBySchema>;
|
|
@@ -2489,9 +2496,9 @@ export declare const analyticsSourcesQuerySchema: z$1.ZodObject<{
|
|
|
2489
2496
|
false: "false";
|
|
2490
2497
|
}>>;
|
|
2491
2498
|
groupBy: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2499
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2492
2500
|
CHANNEL: "CHANNEL";
|
|
2493
2501
|
SOURCE: "SOURCE";
|
|
2494
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2495
2502
|
DEVICE: "DEVICE";
|
|
2496
2503
|
}>>;
|
|
2497
2504
|
}, z$1.core.$strip>;
|
|
@@ -2500,12 +2507,12 @@ export declare const analyticsSourceRowSchema: z$1.ZodObject<{
|
|
|
2500
2507
|
channel: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2501
2508
|
PAID: "PAID";
|
|
2502
2509
|
DIRECT: "DIRECT";
|
|
2503
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2504
|
-
UNKNOWN: "UNKNOWN";
|
|
2505
2510
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2506
2511
|
SOCIAL: "SOCIAL";
|
|
2507
2512
|
EMAIL: "EMAIL";
|
|
2513
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2508
2514
|
REFERRAL: "REFERRAL";
|
|
2515
|
+
UNKNOWN: "UNKNOWN";
|
|
2509
2516
|
}>>;
|
|
2510
2517
|
source: z$1.ZodNullable<z$1.ZodString>;
|
|
2511
2518
|
medium: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -2527,21 +2534,21 @@ export declare const analyticsSourceRowSchema: z$1.ZodObject<{
|
|
|
2527
2534
|
export type AnalyticsSourceRow = z$1.infer<typeof analyticsSourceRowSchema>;
|
|
2528
2535
|
export declare const analyticsSourcesSchema: z$1.ZodObject<{
|
|
2529
2536
|
groupBy: z$1.ZodEnum<{
|
|
2537
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2530
2538
|
CHANNEL: "CHANNEL";
|
|
2531
2539
|
SOURCE: "SOURCE";
|
|
2532
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2533
2540
|
DEVICE: "DEVICE";
|
|
2534
2541
|
}>;
|
|
2535
2542
|
rows: z$1.ZodArray<z$1.ZodObject<{
|
|
2536
2543
|
channel: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2537
2544
|
PAID: "PAID";
|
|
2538
2545
|
DIRECT: "DIRECT";
|
|
2539
|
-
CAMPAIGN: "CAMPAIGN";
|
|
2540
|
-
UNKNOWN: "UNKNOWN";
|
|
2541
2546
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2542
2547
|
SOCIAL: "SOCIAL";
|
|
2543
2548
|
EMAIL: "EMAIL";
|
|
2549
|
+
CAMPAIGN: "CAMPAIGN";
|
|
2544
2550
|
REFERRAL: "REFERRAL";
|
|
2551
|
+
UNKNOWN: "UNKNOWN";
|
|
2545
2552
|
}>>;
|
|
2546
2553
|
source: z$1.ZodNullable<z$1.ZodString>;
|
|
2547
2554
|
medium: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -2690,12 +2697,12 @@ export declare const analyticsSearchSchema: z$1.ZodObject<{
|
|
|
2690
2697
|
}, z$1.core.$strip>;
|
|
2691
2698
|
export type AnalyticsSearch = z$1.infer<typeof analyticsSearchSchema>;
|
|
2692
2699
|
export declare const analyticsCheckoutOutcomeSchema: z$1.ZodEnum<{
|
|
2693
|
-
OTHER: "OTHER";
|
|
2694
2700
|
COMPLETED: "COMPLETED";
|
|
2695
2701
|
NOT_OPENED: "NOT_OPENED";
|
|
2696
2702
|
USER_CANCELED: "USER_CANCELED";
|
|
2697
2703
|
DECLINED: "DECLINED";
|
|
2698
2704
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
2705
|
+
OTHER: "OTHER";
|
|
2699
2706
|
IN_PROGRESS: "IN_PROGRESS";
|
|
2700
2707
|
}>;
|
|
2701
2708
|
export type AnalyticsCheckoutOutcome = z$1.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
@@ -2703,12 +2710,12 @@ export declare const analyticsCheckoutSchema: z$1.ZodObject<{
|
|
|
2703
2710
|
sessions: z$1.ZodNumber;
|
|
2704
2711
|
outcomes: z$1.ZodArray<z$1.ZodObject<{
|
|
2705
2712
|
outcome: z$1.ZodEnum<{
|
|
2706
|
-
OTHER: "OTHER";
|
|
2707
2713
|
COMPLETED: "COMPLETED";
|
|
2708
2714
|
NOT_OPENED: "NOT_OPENED";
|
|
2709
2715
|
USER_CANCELED: "USER_CANCELED";
|
|
2710
2716
|
DECLINED: "DECLINED";
|
|
2711
2717
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
2718
|
+
OTHER: "OTHER";
|
|
2712
2719
|
IN_PROGRESS: "IN_PROGRESS";
|
|
2713
2720
|
}>;
|
|
2714
2721
|
sessions: z$1.ZodNumber;
|
|
@@ -2901,8 +2908,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
2901
2908
|
*/
|
|
2902
2909
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
2903
2910
|
export declare const fulfillmentMethodSchema: z$1.ZodEnum<{
|
|
2904
|
-
CARRIER: "CARRIER";
|
|
2905
2911
|
DIRECT: "DIRECT";
|
|
2912
|
+
CARRIER: "CARRIER";
|
|
2906
2913
|
PICKUP: "PICKUP";
|
|
2907
2914
|
PROVIDED: "PROVIDED";
|
|
2908
2915
|
}>;
|
|
@@ -2946,8 +2953,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
2946
2953
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
2947
2954
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
2948
2955
|
export declare const deliveryTypeSchema: z$1.ZodEnum<{
|
|
2949
|
-
FREE: "FREE";
|
|
2950
2956
|
PAID: "PAID";
|
|
2957
|
+
FREE: "FREE";
|
|
2951
2958
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2952
2959
|
}>;
|
|
2953
2960
|
export type DeliveryType = z$1.infer<typeof deliveryTypeSchema>;
|
|
@@ -2958,8 +2965,8 @@ export declare const productFulfillmentCreateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
2958
2965
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
2959
2966
|
shipping: z$1.ZodOptional<z$1.ZodObject<{
|
|
2960
2967
|
deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
2961
|
-
FREE: "FREE";
|
|
2962
2968
|
PAID: "PAID";
|
|
2969
|
+
FREE: "FREE";
|
|
2963
2970
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
2964
2971
|
}>>;
|
|
2965
2972
|
deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -2990,16 +2997,16 @@ export declare const productFulfillmentCreateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
2990
2997
|
}, z$1.core.$strict>>>;
|
|
2991
2998
|
}, z$1.core.$strict>>;
|
|
2992
2999
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
2993
|
-
CARRIER: "CARRIER";
|
|
2994
3000
|
DIRECT: "DIRECT";
|
|
3001
|
+
CARRIER: "CARRIER";
|
|
2995
3002
|
PICKUP: "PICKUP";
|
|
2996
3003
|
PROVIDED: "PROVIDED";
|
|
2997
3004
|
}>>>;
|
|
2998
3005
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
2999
3006
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
3000
3007
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3001
|
-
CARRIER: "CARRIER";
|
|
3002
3008
|
DIRECT: "DIRECT";
|
|
3009
|
+
CARRIER: "CARRIER";
|
|
3003
3010
|
PICKUP: "PICKUP";
|
|
3004
3011
|
PROVIDED: "PROVIDED";
|
|
3005
3012
|
}>>>;
|
|
@@ -3015,8 +3022,8 @@ export declare const productFulfillmentUpdateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
3015
3022
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3016
3023
|
shipping: z$1.ZodObject<{
|
|
3017
3024
|
deliveryType: z$1.ZodEnum<{
|
|
3018
|
-
FREE: "FREE";
|
|
3019
3025
|
PAID: "PAID";
|
|
3026
|
+
FREE: "FREE";
|
|
3020
3027
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3021
3028
|
}>;
|
|
3022
3029
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3047,16 +3054,16 @@ export declare const productFulfillmentUpdateSchema: z$1.ZodDiscriminatedUnion<[
|
|
|
3047
3054
|
}, z$1.core.$strict>>>;
|
|
3048
3055
|
}, z$1.core.$strict>;
|
|
3049
3056
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3050
|
-
CARRIER: "CARRIER";
|
|
3051
3057
|
DIRECT: "DIRECT";
|
|
3058
|
+
CARRIER: "CARRIER";
|
|
3052
3059
|
PICKUP: "PICKUP";
|
|
3053
3060
|
PROVIDED: "PROVIDED";
|
|
3054
3061
|
}>>>;
|
|
3055
3062
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
3056
3063
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
3057
3064
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3058
|
-
CARRIER: "CARRIER";
|
|
3059
3065
|
DIRECT: "DIRECT";
|
|
3066
|
+
CARRIER: "CARRIER";
|
|
3060
3067
|
PICKUP: "PICKUP";
|
|
3061
3068
|
PROVIDED: "PROVIDED";
|
|
3062
3069
|
}>>>;
|
|
@@ -3070,8 +3077,8 @@ export declare const productFulfillmentSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
3070
3077
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3071
3078
|
shipping: z$1.ZodObject<{
|
|
3072
3079
|
deliveryType: z$1.ZodEnum<{
|
|
3073
|
-
FREE: "FREE";
|
|
3074
3080
|
PAID: "PAID";
|
|
3081
|
+
FREE: "FREE";
|
|
3075
3082
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3076
3083
|
}>;
|
|
3077
3084
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3116,8 +3123,8 @@ export declare const productFulfillmentResponseSchema: z$1.ZodUnion<readonly [z$
|
|
|
3116
3123
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
3117
3124
|
shipping: z$1.ZodObject<{
|
|
3118
3125
|
deliveryType: z$1.ZodEnum<{
|
|
3119
|
-
FREE: "FREE";
|
|
3120
3126
|
PAID: "PAID";
|
|
3127
|
+
FREE: "FREE";
|
|
3121
3128
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3122
3129
|
}>;
|
|
3123
3130
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -3242,14 +3249,14 @@ export declare const orderWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3242
3249
|
orderId: z$1.ZodString;
|
|
3243
3250
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3244
3251
|
status: z$1.ZodEnum<{
|
|
3245
|
-
PAID: "PAID";
|
|
3246
|
-
CANCELED: "CANCELED";
|
|
3247
3252
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3253
|
+
PAID: "PAID";
|
|
3248
3254
|
CONFIRMED: "CONFIRMED";
|
|
3249
3255
|
DISPATCHED: "DISPATCHED";
|
|
3250
3256
|
DELIVERING: "DELIVERING";
|
|
3251
3257
|
DELIVERED: "DELIVERED";
|
|
3252
3258
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3259
|
+
CANCELED: "CANCELED";
|
|
3253
3260
|
}>;
|
|
3254
3261
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3255
3262
|
testPayment: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
@@ -3312,14 +3319,14 @@ export declare const orderFulfilledWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3312
3319
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3313
3320
|
orderItemId: z$1.ZodString;
|
|
3314
3321
|
status: z$1.ZodEnum<{
|
|
3315
|
-
PAID: "PAID";
|
|
3316
|
-
CANCELED: "CANCELED";
|
|
3317
3322
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3323
|
+
PAID: "PAID";
|
|
3318
3324
|
CONFIRMED: "CONFIRMED";
|
|
3319
3325
|
DISPATCHED: "DISPATCHED";
|
|
3320
3326
|
DELIVERING: "DELIVERING";
|
|
3321
3327
|
DELIVERED: "DELIVERED";
|
|
3322
3328
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3329
|
+
CANCELED: "CANCELED";
|
|
3323
3330
|
}>;
|
|
3324
3331
|
fulfillmentSnapshot: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3325
3332
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
@@ -3366,29 +3373,30 @@ export declare const orderCanceledWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3366
3373
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3367
3374
|
orderItemId: z$1.ZodString;
|
|
3368
3375
|
status: z$1.ZodEnum<{
|
|
3369
|
-
PAID: "PAID";
|
|
3370
|
-
CANCELED: "CANCELED";
|
|
3371
3376
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3377
|
+
PAID: "PAID";
|
|
3372
3378
|
CONFIRMED: "CONFIRMED";
|
|
3373
3379
|
DISPATCHED: "DISPATCHED";
|
|
3374
3380
|
DELIVERING: "DELIVERING";
|
|
3375
3381
|
DELIVERED: "DELIVERED";
|
|
3376
3382
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3383
|
+
CANCELED: "CANCELED";
|
|
3377
3384
|
}>;
|
|
3378
3385
|
itemStatus: z$1.ZodEnum<{
|
|
3379
|
-
PAID: "PAID";
|
|
3380
|
-
CANCELED: "CANCELED";
|
|
3381
3386
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3387
|
+
PAID: "PAID";
|
|
3382
3388
|
CONFIRMED: "CONFIRMED";
|
|
3383
3389
|
DISPATCHED: "DISPATCHED";
|
|
3384
3390
|
DELIVERING: "DELIVERING";
|
|
3385
3391
|
DELIVERED: "DELIVERED";
|
|
3386
3392
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3393
|
+
CANCELED: "CANCELED";
|
|
3387
3394
|
}>;
|
|
3388
3395
|
reason: z$1.ZodString;
|
|
3389
3396
|
quantity: z$1.ZodNumber;
|
|
3390
3397
|
canceledQuantity: z$1.ZodNumber;
|
|
3391
3398
|
refundAmount: z$1.ZodNumber;
|
|
3399
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3392
3400
|
deliveryFeeRefundAmount: z$1.ZodNumber;
|
|
3393
3401
|
deliveryFeeChargeAmount: z$1.ZodNumber;
|
|
3394
3402
|
couponChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -3405,23 +3413,24 @@ export declare const claimWebhookEventDataSchema: z$1.ZodObject<{
|
|
|
3405
3413
|
orderId: z$1.ZodString;
|
|
3406
3414
|
orderItemId: z$1.ZodString;
|
|
3407
3415
|
claimType: z$1.ZodEnum<{
|
|
3416
|
+
CANCEL: "CANCEL";
|
|
3408
3417
|
RETURN: "RETURN";
|
|
3409
3418
|
EXCHANGE: "EXCHANGE";
|
|
3410
|
-
CANCEL: "CANCEL";
|
|
3411
3419
|
}>;
|
|
3412
3420
|
status: z$1.ZodEnum<{
|
|
3413
|
-
REJECTED: "REJECTED";
|
|
3414
|
-
COMPLETED: "COMPLETED";
|
|
3415
3421
|
REQUESTED: "REQUESTED";
|
|
3416
3422
|
HELD: "HELD";
|
|
3417
3423
|
COLLECTING: "COLLECTING";
|
|
3418
3424
|
COLLECTED: "COLLECTED";
|
|
3419
3425
|
REDELIVERING: "REDELIVERING";
|
|
3420
3426
|
APPROVED: "APPROVED";
|
|
3427
|
+
REJECTED: "REJECTED";
|
|
3428
|
+
COMPLETED: "COMPLETED";
|
|
3421
3429
|
WITHDRAWN: "WITHDRAWN";
|
|
3422
3430
|
}>;
|
|
3423
3431
|
quantity: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3424
3432
|
refundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
3433
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3425
3434
|
deliveryFeeRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3426
3435
|
deliveryFeeChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3427
3436
|
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -3485,14 +3494,14 @@ export declare const orderWebhookEventSchema: z$1.ZodObject<{
|
|
|
3485
3494
|
orderId: z$1.ZodString;
|
|
3486
3495
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3487
3496
|
status: z$1.ZodEnum<{
|
|
3488
|
-
PAID: "PAID";
|
|
3489
|
-
CANCELED: "CANCELED";
|
|
3490
3497
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3498
|
+
PAID: "PAID";
|
|
3491
3499
|
CONFIRMED: "CONFIRMED";
|
|
3492
3500
|
DISPATCHED: "DISPATCHED";
|
|
3493
3501
|
DELIVERING: "DELIVERING";
|
|
3494
3502
|
DELIVERED: "DELIVERED";
|
|
3495
3503
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3504
|
+
CANCELED: "CANCELED";
|
|
3496
3505
|
}>;
|
|
3497
3506
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3498
3507
|
testPayment: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
@@ -3557,14 +3566,14 @@ export declare const orderFulfilledWebhookEventSchema: z$1.ZodObject<{
|
|
|
3557
3566
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3558
3567
|
orderItemId: z$1.ZodString;
|
|
3559
3568
|
status: z$1.ZodEnum<{
|
|
3560
|
-
PAID: "PAID";
|
|
3561
|
-
CANCELED: "CANCELED";
|
|
3562
3569
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3570
|
+
PAID: "PAID";
|
|
3563
3571
|
CONFIRMED: "CONFIRMED";
|
|
3564
3572
|
DISPATCHED: "DISPATCHED";
|
|
3565
3573
|
DELIVERING: "DELIVERING";
|
|
3566
3574
|
DELIVERED: "DELIVERED";
|
|
3567
3575
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3576
|
+
CANCELED: "CANCELED";
|
|
3568
3577
|
}>;
|
|
3569
3578
|
fulfillmentSnapshot: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3570
3579
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
@@ -3612,29 +3621,30 @@ export declare const orderCanceledWebhookEventSchema: z$1.ZodObject<{
|
|
|
3612
3621
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3613
3622
|
orderItemId: z$1.ZodString;
|
|
3614
3623
|
status: z$1.ZodEnum<{
|
|
3615
|
-
PAID: "PAID";
|
|
3616
|
-
CANCELED: "CANCELED";
|
|
3617
3624
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3625
|
+
PAID: "PAID";
|
|
3618
3626
|
CONFIRMED: "CONFIRMED";
|
|
3619
3627
|
DISPATCHED: "DISPATCHED";
|
|
3620
3628
|
DELIVERING: "DELIVERING";
|
|
3621
3629
|
DELIVERED: "DELIVERED";
|
|
3622
3630
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3631
|
+
CANCELED: "CANCELED";
|
|
3623
3632
|
}>;
|
|
3624
3633
|
itemStatus: z$1.ZodEnum<{
|
|
3625
|
-
PAID: "PAID";
|
|
3626
|
-
CANCELED: "CANCELED";
|
|
3627
3634
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3635
|
+
PAID: "PAID";
|
|
3628
3636
|
CONFIRMED: "CONFIRMED";
|
|
3629
3637
|
DISPATCHED: "DISPATCHED";
|
|
3630
3638
|
DELIVERING: "DELIVERING";
|
|
3631
3639
|
DELIVERED: "DELIVERED";
|
|
3632
3640
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3641
|
+
CANCELED: "CANCELED";
|
|
3633
3642
|
}>;
|
|
3634
3643
|
reason: z$1.ZodString;
|
|
3635
3644
|
quantity: z$1.ZodNumber;
|
|
3636
3645
|
canceledQuantity: z$1.ZodNumber;
|
|
3637
3646
|
refundAmount: z$1.ZodNumber;
|
|
3647
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3638
3648
|
deliveryFeeRefundAmount: z$1.ZodNumber;
|
|
3639
3649
|
deliveryFeeChargeAmount: z$1.ZodNumber;
|
|
3640
3650
|
couponChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -3662,23 +3672,24 @@ export declare const claimWebhookEventSchema: z$1.ZodObject<{
|
|
|
3662
3672
|
orderId: z$1.ZodString;
|
|
3663
3673
|
orderItemId: z$1.ZodString;
|
|
3664
3674
|
claimType: z$1.ZodEnum<{
|
|
3675
|
+
CANCEL: "CANCEL";
|
|
3665
3676
|
RETURN: "RETURN";
|
|
3666
3677
|
EXCHANGE: "EXCHANGE";
|
|
3667
|
-
CANCEL: "CANCEL";
|
|
3668
3678
|
}>;
|
|
3669
3679
|
status: z$1.ZodEnum<{
|
|
3670
|
-
REJECTED: "REJECTED";
|
|
3671
|
-
COMPLETED: "COMPLETED";
|
|
3672
3680
|
REQUESTED: "REQUESTED";
|
|
3673
3681
|
HELD: "HELD";
|
|
3674
3682
|
COLLECTING: "COLLECTING";
|
|
3675
3683
|
COLLECTED: "COLLECTED";
|
|
3676
3684
|
REDELIVERING: "REDELIVERING";
|
|
3677
3685
|
APPROVED: "APPROVED";
|
|
3686
|
+
REJECTED: "REJECTED";
|
|
3687
|
+
COMPLETED: "COMPLETED";
|
|
3678
3688
|
WITHDRAWN: "WITHDRAWN";
|
|
3679
3689
|
}>;
|
|
3680
3690
|
quantity: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3681
3691
|
refundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
3692
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3682
3693
|
deliveryFeeRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3683
3694
|
deliveryFeeChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3684
3695
|
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -3874,6 +3885,37 @@ export declare const orderPaymentRequestedWebhookEventSchema: z$1.ZodObject<{
|
|
|
3874
3885
|
storeId: z$1.ZodString;
|
|
3875
3886
|
sequence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3876
3887
|
}, z$1.core.$strip>;
|
|
3888
|
+
/**
|
|
3889
|
+
* 금액만 환불(#365) — 판매자가 주문상품을 취소하지 않고 결제에서 금액만 돌려주기로 했다. 결제사 환불 결과는 결제 상세
|
|
3890
|
+
* (`GET /v1/payments/{paymentId}`의 `refunds[]`, `refundId`)로 확인한다. 개인정보는 싣지 않는다
|
|
3891
|
+
*/
|
|
3892
|
+
export declare const orderRefundedWebhookEventDataSchema: z$1.ZodObject<{
|
|
3893
|
+
orderId: z$1.ZodString;
|
|
3894
|
+
orderNo: z$1.ZodNullable<z$1.ZodString>;
|
|
3895
|
+
paymentId: z$1.ZodString;
|
|
3896
|
+
refundId: z$1.ZodString;
|
|
3897
|
+
amount: z$1.ZodNumber;
|
|
3898
|
+
reason: z$1.ZodString;
|
|
3899
|
+
currency: z$1.ZodString;
|
|
3900
|
+
testPayment: z$1.ZodBoolean;
|
|
3901
|
+
}, z$1.core.$strip>;
|
|
3902
|
+
export declare const orderRefundedWebhookEventSchema: z$1.ZodObject<{
|
|
3903
|
+
type: z$1.ZodLiteral<"ORDER.REFUNDED">;
|
|
3904
|
+
data: z$1.ZodObject<{
|
|
3905
|
+
orderId: z$1.ZodString;
|
|
3906
|
+
orderNo: z$1.ZodNullable<z$1.ZodString>;
|
|
3907
|
+
paymentId: z$1.ZodString;
|
|
3908
|
+
refundId: z$1.ZodString;
|
|
3909
|
+
amount: z$1.ZodNumber;
|
|
3910
|
+
reason: z$1.ZodString;
|
|
3911
|
+
currency: z$1.ZodString;
|
|
3912
|
+
testPayment: z$1.ZodBoolean;
|
|
3913
|
+
}, z$1.core.$strip>;
|
|
3914
|
+
id: z$1.ZodString;
|
|
3915
|
+
createdAt: z$1.ZodString;
|
|
3916
|
+
storeId: z$1.ZodString;
|
|
3917
|
+
sequence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3918
|
+
}, z$1.core.$strip>;
|
|
3877
3919
|
/** 웹훅 요청 본문. `type`으로 판별하며 `data` 형태가 타입별로 다르다 */
|
|
3878
3920
|
export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3879
3921
|
type: z$1.ZodEnum<{
|
|
@@ -3888,14 +3930,14 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
3888
3930
|
orderId: z$1.ZodString;
|
|
3889
3931
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3890
3932
|
status: z$1.ZodEnum<{
|
|
3891
|
-
PAID: "PAID";
|
|
3892
|
-
CANCELED: "CANCELED";
|
|
3893
3933
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3934
|
+
PAID: "PAID";
|
|
3894
3935
|
CONFIRMED: "CONFIRMED";
|
|
3895
3936
|
DISPATCHED: "DISPATCHED";
|
|
3896
3937
|
DELIVERING: "DELIVERING";
|
|
3897
3938
|
DELIVERED: "DELIVERED";
|
|
3898
3939
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3940
|
+
CANCELED: "CANCELED";
|
|
3899
3941
|
}>;
|
|
3900
3942
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
3901
3943
|
testPayment: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
@@ -3959,14 +4001,14 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
3959
4001
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3960
4002
|
orderItemId: z$1.ZodString;
|
|
3961
4003
|
status: z$1.ZodEnum<{
|
|
3962
|
-
PAID: "PAID";
|
|
3963
|
-
CANCELED: "CANCELED";
|
|
3964
4004
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4005
|
+
PAID: "PAID";
|
|
3965
4006
|
CONFIRMED: "CONFIRMED";
|
|
3966
4007
|
DISPATCHED: "DISPATCHED";
|
|
3967
4008
|
DELIVERING: "DELIVERING";
|
|
3968
4009
|
DELIVERED: "DELIVERED";
|
|
3969
4010
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4011
|
+
CANCELED: "CANCELED";
|
|
3970
4012
|
}>;
|
|
3971
4013
|
fulfillmentSnapshot: z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3972
4014
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
@@ -4013,29 +4055,30 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
4013
4055
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
4014
4056
|
orderItemId: z$1.ZodString;
|
|
4015
4057
|
status: z$1.ZodEnum<{
|
|
4016
|
-
PAID: "PAID";
|
|
4017
|
-
CANCELED: "CANCELED";
|
|
4018
4058
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4059
|
+
PAID: "PAID";
|
|
4019
4060
|
CONFIRMED: "CONFIRMED";
|
|
4020
4061
|
DISPATCHED: "DISPATCHED";
|
|
4021
4062
|
DELIVERING: "DELIVERING";
|
|
4022
4063
|
DELIVERED: "DELIVERED";
|
|
4023
4064
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4065
|
+
CANCELED: "CANCELED";
|
|
4024
4066
|
}>;
|
|
4025
4067
|
itemStatus: z$1.ZodEnum<{
|
|
4026
|
-
PAID: "PAID";
|
|
4027
|
-
CANCELED: "CANCELED";
|
|
4028
4068
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4069
|
+
PAID: "PAID";
|
|
4029
4070
|
CONFIRMED: "CONFIRMED";
|
|
4030
4071
|
DISPATCHED: "DISPATCHED";
|
|
4031
4072
|
DELIVERING: "DELIVERING";
|
|
4032
4073
|
DELIVERED: "DELIVERED";
|
|
4033
4074
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4075
|
+
CANCELED: "CANCELED";
|
|
4034
4076
|
}>;
|
|
4035
4077
|
reason: z$1.ZodString;
|
|
4036
4078
|
quantity: z$1.ZodNumber;
|
|
4037
4079
|
canceledQuantity: z$1.ZodNumber;
|
|
4038
4080
|
refundAmount: z$1.ZodNumber;
|
|
4081
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4039
4082
|
deliveryFeeRefundAmount: z$1.ZodNumber;
|
|
4040
4083
|
deliveryFeeChargeAmount: z$1.ZodNumber;
|
|
4041
4084
|
couponChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -4062,23 +4105,24 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
4062
4105
|
orderId: z$1.ZodString;
|
|
4063
4106
|
orderItemId: z$1.ZodString;
|
|
4064
4107
|
claimType: z$1.ZodEnum<{
|
|
4108
|
+
CANCEL: "CANCEL";
|
|
4065
4109
|
RETURN: "RETURN";
|
|
4066
4110
|
EXCHANGE: "EXCHANGE";
|
|
4067
|
-
CANCEL: "CANCEL";
|
|
4068
4111
|
}>;
|
|
4069
4112
|
status: z$1.ZodEnum<{
|
|
4070
|
-
REJECTED: "REJECTED";
|
|
4071
|
-
COMPLETED: "COMPLETED";
|
|
4072
4113
|
REQUESTED: "REQUESTED";
|
|
4073
4114
|
HELD: "HELD";
|
|
4074
4115
|
COLLECTING: "COLLECTING";
|
|
4075
4116
|
COLLECTED: "COLLECTED";
|
|
4076
4117
|
REDELIVERING: "REDELIVERING";
|
|
4077
4118
|
APPROVED: "APPROVED";
|
|
4119
|
+
REJECTED: "REJECTED";
|
|
4120
|
+
COMPLETED: "COMPLETED";
|
|
4078
4121
|
WITHDRAWN: "WITHDRAWN";
|
|
4079
4122
|
}>;
|
|
4080
4123
|
quantity: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4081
4124
|
refundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
4125
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4082
4126
|
deliveryFeeRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4083
4127
|
deliveryFeeChargeAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4084
4128
|
deductAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
@@ -4210,6 +4254,22 @@ export declare const webhookEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
4210
4254
|
createdAt: z$1.ZodString;
|
|
4211
4255
|
storeId: z$1.ZodString;
|
|
4212
4256
|
sequence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4257
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4258
|
+
type: z$1.ZodLiteral<"ORDER.REFUNDED">;
|
|
4259
|
+
data: z$1.ZodObject<{
|
|
4260
|
+
orderId: z$1.ZodString;
|
|
4261
|
+
orderNo: z$1.ZodNullable<z$1.ZodString>;
|
|
4262
|
+
paymentId: z$1.ZodString;
|
|
4263
|
+
refundId: z$1.ZodString;
|
|
4264
|
+
amount: z$1.ZodNumber;
|
|
4265
|
+
reason: z$1.ZodString;
|
|
4266
|
+
currency: z$1.ZodString;
|
|
4267
|
+
testPayment: z$1.ZodBoolean;
|
|
4268
|
+
}, z$1.core.$strip>;
|
|
4269
|
+
id: z$1.ZodString;
|
|
4270
|
+
createdAt: z$1.ZodString;
|
|
4271
|
+
storeId: z$1.ZodString;
|
|
4272
|
+
sequence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4213
4273
|
}, z$1.core.$strip>], "type">;
|
|
4214
4274
|
export type WebhookEvent = z$1.infer<typeof webhookEventSchema>;
|
|
4215
4275
|
export type WebhookEventType = WebhookEvent["type"];
|
|
@@ -4264,7 +4324,7 @@ export declare const APP_RESERVED_HANDLES: ReadonlySet<string>;
|
|
|
4264
4324
|
export declare const appHandleSchema: z$1.ZodString;
|
|
4265
4325
|
/**
|
|
4266
4326
|
* 설치 앱에 열지 않는 스코프 — 구성원(초대로 권한 상승), 상점 설정 전반(`storefrontOrigins`로 소셜 로그인 code 가로채기), 스토어 웹훅
|
|
4267
|
-
* (앱 구독으로 대체, 제거 뒤에도 남는 문제), 스토어프론트 편집·발행, 감사
|
|
4327
|
+
* (앱 구독으로 대체, 제거 뒤에도 남는 문제), 스토어프론트 편집·발행, 감사 로그, 구매자 개인정보 원문(#217). 커스텀 연동은 계정 액세스 토큰(#71)이 맡는다
|
|
4268
4328
|
*/
|
|
4269
4329
|
export declare const NON_INSTALLABLE_SCOPES: ReadonlySet<string>;
|
|
4270
4330
|
/** 앱이 요청할 수 있는 스코프 — 카탈로그 전체에서 위를 뺀 것 */
|
|
@@ -4328,8 +4388,8 @@ export declare const appEventTypeSchema: z$1.ZodEnum<{
|
|
|
4328
4388
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4329
4389
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4330
4390
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4331
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4332
4391
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4392
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4333
4393
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4334
4394
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4335
4395
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4342,6 +4402,7 @@ export declare const appEventTypeSchema: z$1.ZodEnum<{
|
|
|
4342
4402
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4343
4403
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4344
4404
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4405
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
4345
4406
|
"APP.INSTALLED": "APP.INSTALLED";
|
|
4346
4407
|
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4347
4408
|
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
@@ -4475,8 +4536,8 @@ export declare const appManifestSchema: z$1.ZodObject<{
|
|
|
4475
4536
|
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
4476
4537
|
readme: z$1.ZodOptional<z$1.ZodString>;
|
|
4477
4538
|
runtime: z$1.ZodDefault<z$1.ZodEnum<{
|
|
4478
|
-
code: "code";
|
|
4479
4539
|
external: "external";
|
|
4540
|
+
code: "code";
|
|
4480
4541
|
}>>;
|
|
4481
4542
|
external: z$1.ZodOptional<z$1.ZodObject<{
|
|
4482
4543
|
url: z$1.ZodURL;
|
|
@@ -4506,8 +4567,8 @@ export declare const appManifestSchema: z$1.ZodObject<{
|
|
|
4506
4567
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4507
4568
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4508
4569
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4509
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4510
4570
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4571
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4511
4572
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4512
4573
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4513
4574
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4520,6 +4581,7 @@ export declare const appManifestSchema: z$1.ZodObject<{
|
|
|
4520
4581
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4521
4582
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4522
4583
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4584
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
4523
4585
|
"APP.INSTALLED": "APP.INSTALLED";
|
|
4524
4586
|
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4525
4587
|
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
@@ -4690,23 +4752,23 @@ export declare const appRuntimeSchema: z$1.ZodEnum<{
|
|
|
4690
4752
|
export type AppRuntime = z$1.infer<typeof appRuntimeSchema>;
|
|
4691
4753
|
/** 앱 상태 — `SUSPENDED`는 운영자 정지(모든 설치 토큰·실행 거부, 설치 행은 그대로) */
|
|
4692
4754
|
export declare const appStatusSchema: z$1.ZodEnum<{
|
|
4693
|
-
SUSPENDED: "SUSPENDED";
|
|
4694
4755
|
ACTIVE: "ACTIVE";
|
|
4756
|
+
SUSPENDED: "SUSPENDED";
|
|
4695
4757
|
DELETED: "DELETED";
|
|
4696
4758
|
}>;
|
|
4697
4759
|
export type AppStatus = z$1.infer<typeof appStatusSchema>;
|
|
4698
4760
|
export declare const appInstallationStatusSchema: z$1.ZodEnum<{
|
|
4699
|
-
SUSPENDED: "SUSPENDED";
|
|
4700
4761
|
ACTIVE: "ACTIVE";
|
|
4762
|
+
SUSPENDED: "SUSPENDED";
|
|
4701
4763
|
UNINSTALLED: "UNINSTALLED";
|
|
4702
4764
|
}>;
|
|
4703
4765
|
export type AppInstallationStatus = z$1.infer<typeof appInstallationStatusSchema>;
|
|
4704
4766
|
/** 설치 앱의 앱 정보 — 상점이 보는 범위만(개발자 비밀 값·소스·빌드는 없다) */
|
|
4705
4767
|
/** 상점이 보는 앱 공개 범위 — 개발 중(개발자 조직) · 이 상점 전용 · 공개 */
|
|
4706
4768
|
export declare const appVisibilitySchema: z$1.ZodEnum<{
|
|
4707
|
-
PUBLIC: "PUBLIC";
|
|
4708
4769
|
DEVELOPMENT: "DEVELOPMENT";
|
|
4709
4770
|
PRIVATE: "PRIVATE";
|
|
4771
|
+
PUBLIC: "PUBLIC";
|
|
4710
4772
|
}>;
|
|
4711
4773
|
export type AppVisibility = z$1.infer<typeof appVisibilitySchema>;
|
|
4712
4774
|
export declare const appInstallationAppSchema: z$1.ZodObject<{
|
|
@@ -4727,8 +4789,8 @@ export declare const appInstallationAppSchema: z$1.ZodObject<{
|
|
|
4727
4789
|
EXTERNAL: "EXTERNAL";
|
|
4728
4790
|
}>;
|
|
4729
4791
|
status: z$1.ZodEnum<{
|
|
4730
|
-
SUSPENDED: "SUSPENDED";
|
|
4731
4792
|
ACTIVE: "ACTIVE";
|
|
4793
|
+
SUSPENDED: "SUSPENDED";
|
|
4732
4794
|
DELETED: "DELETED";
|
|
4733
4795
|
}>;
|
|
4734
4796
|
}, z$1.core.$strip>;
|
|
@@ -4818,14 +4880,14 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4818
4880
|
EXTERNAL: "EXTERNAL";
|
|
4819
4881
|
}>;
|
|
4820
4882
|
status: z$1.ZodEnum<{
|
|
4821
|
-
SUSPENDED: "SUSPENDED";
|
|
4822
4883
|
ACTIVE: "ACTIVE";
|
|
4884
|
+
SUSPENDED: "SUSPENDED";
|
|
4823
4885
|
DELETED: "DELETED";
|
|
4824
4886
|
}>;
|
|
4825
4887
|
}, z$1.core.$strip>;
|
|
4826
4888
|
status: z$1.ZodEnum<{
|
|
4827
|
-
SUSPENDED: "SUSPENDED";
|
|
4828
4889
|
ACTIVE: "ACTIVE";
|
|
4890
|
+
SUSPENDED: "SUSPENDED";
|
|
4829
4891
|
UNINSTALLED: "UNINSTALLED";
|
|
4830
4892
|
}>;
|
|
4831
4893
|
versionNumber: z$1.ZodNumber;
|
|
@@ -4841,8 +4903,8 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4841
4903
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4842
4904
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4843
4905
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4844
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4845
4906
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4907
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4846
4908
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4847
4909
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4848
4910
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4855,6 +4917,7 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4855
4917
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4856
4918
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4857
4919
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4920
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
4858
4921
|
"APP.INSTALLED": "APP.INSTALLED";
|
|
4859
4922
|
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4860
4923
|
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
@@ -4890,8 +4953,8 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4890
4953
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4891
4954
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4892
4955
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4893
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4894
4956
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4957
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4895
4958
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4896
4959
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4897
4960
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4904,6 +4967,7 @@ export declare const appInstallationSchema: z$1.ZodObject<{
|
|
|
4904
4967
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
4905
4968
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
4906
4969
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
4970
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
4907
4971
|
"APP.INSTALLED": "APP.INSTALLED";
|
|
4908
4972
|
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
4909
4973
|
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
@@ -5070,9 +5134,9 @@ export declare const storeAppSchema: z$1.ZodObject<{
|
|
|
5070
5134
|
versionNumber: z$1.ZodNumber;
|
|
5071
5135
|
installationId: z$1.ZodNullable<z$1.ZodString>;
|
|
5072
5136
|
visibility: z$1.ZodDefault<z$1.ZodEnum<{
|
|
5073
|
-
PUBLIC: "PUBLIC";
|
|
5074
5137
|
DEVELOPMENT: "DEVELOPMENT";
|
|
5075
5138
|
PRIVATE: "PRIVATE";
|
|
5139
|
+
PUBLIC: "PUBLIC";
|
|
5076
5140
|
}>>;
|
|
5077
5141
|
}, z$1.core.$strip>;
|
|
5078
5142
|
export type StoreApp = z$1.infer<typeof storeAppSchema>;
|
|
@@ -5087,9 +5151,9 @@ export declare const storeAppDetailSchema: z$1.ZodObject<{
|
|
|
5087
5151
|
versionNumber: z$1.ZodNumber;
|
|
5088
5152
|
installationId: z$1.ZodNullable<z$1.ZodString>;
|
|
5089
5153
|
visibility: z$1.ZodDefault<z$1.ZodEnum<{
|
|
5090
|
-
PUBLIC: "PUBLIC";
|
|
5091
5154
|
DEVELOPMENT: "DEVELOPMENT";
|
|
5092
5155
|
PRIVATE: "PRIVATE";
|
|
5156
|
+
PUBLIC: "PUBLIC";
|
|
5093
5157
|
}>>;
|
|
5094
5158
|
readme: z$1.ZodNullable<z$1.ZodString>;
|
|
5095
5159
|
supportEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5101,8 +5165,8 @@ export declare const storeAppDetailSchema: z$1.ZodObject<{
|
|
|
5101
5165
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
5102
5166
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
5103
5167
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
5104
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5105
5168
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
5169
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
5106
5170
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
5107
5171
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
5108
5172
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -5115,6 +5179,7 @@ export declare const storeAppDetailSchema: z$1.ZodObject<{
|
|
|
5115
5179
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
5116
5180
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
5117
5181
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
5182
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
5118
5183
|
"APP.INSTALLED": "APP.INSTALLED";
|
|
5119
5184
|
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
5120
5185
|
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
@@ -5242,29 +5307,29 @@ export declare const developerOrgSchema: z$1.ZodObject<{
|
|
|
5242
5307
|
export type DeveloperOrg = z$1.infer<typeof developerOrgSchema>;
|
|
5243
5308
|
export declare const appVersionStatusSchema: z$1.ZodEnum<{
|
|
5244
5309
|
FAILED: "FAILED";
|
|
5245
|
-
REVOKED: "REVOKED";
|
|
5246
5310
|
BUILDING: "BUILDING";
|
|
5247
5311
|
READY: "READY";
|
|
5312
|
+
REVOKED: "REVOKED";
|
|
5248
5313
|
}>;
|
|
5249
5314
|
export type AppVersionStatus = z$1.infer<typeof appVersionStatusSchema>;
|
|
5250
5315
|
/** 빌드 단계(매뉴얼 「앱 버전과 배포 › 빌드」). 로컬 번들(A1)은 `DEPENDENCIES`·`VERIFY`·`BUNDLE`·`UPLOAD`를 서버가 돈다 */
|
|
5251
5316
|
export declare const appBuildStageSchema: z$1.ZodEnum<{
|
|
5252
|
-
BUILD: "BUILD";
|
|
5253
|
-
UPLOAD: "UPLOAD";
|
|
5254
5317
|
DEPENDENCIES: "DEPENDENCIES";
|
|
5255
5318
|
VERIFY: "VERIFY";
|
|
5256
5319
|
INSTALL: "INSTALL";
|
|
5257
5320
|
TYPECHECK: "TYPECHECK";
|
|
5321
|
+
BUILD: "BUILD";
|
|
5258
5322
|
BUNDLE: "BUNDLE";
|
|
5323
|
+
UPLOAD: "UPLOAD";
|
|
5259
5324
|
}>;
|
|
5260
5325
|
export type AppBuildStage = z$1.infer<typeof appBuildStageSchema>;
|
|
5261
5326
|
export declare const appBuildSchema: z$1.ZodObject<{
|
|
5262
5327
|
buildId: z$1.ZodString;
|
|
5263
5328
|
status: z$1.ZodEnum<{
|
|
5264
5329
|
FAILED: "FAILED";
|
|
5265
|
-
SUCCEEDED: "SUCCEEDED";
|
|
5266
5330
|
QUEUED: "QUEUED";
|
|
5267
5331
|
RUNNING: "RUNNING";
|
|
5332
|
+
SUCCEEDED: "SUCCEEDED";
|
|
5268
5333
|
TIMED_OUT: "TIMED_OUT";
|
|
5269
5334
|
}>;
|
|
5270
5335
|
stages: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -5288,9 +5353,9 @@ export declare const appVersionSchema: z$1.ZodObject<{
|
|
|
5288
5353
|
number: z$1.ZodNumber;
|
|
5289
5354
|
status: z$1.ZodEnum<{
|
|
5290
5355
|
FAILED: "FAILED";
|
|
5291
|
-
REVOKED: "REVOKED";
|
|
5292
5356
|
BUILDING: "BUILDING";
|
|
5293
5357
|
READY: "READY";
|
|
5358
|
+
REVOKED: "REVOKED";
|
|
5294
5359
|
}>;
|
|
5295
5360
|
current: z$1.ZodBoolean;
|
|
5296
5361
|
message: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5308,9 +5373,9 @@ export declare const appVersionSchema: z$1.ZodObject<{
|
|
|
5308
5373
|
buildId: z$1.ZodString;
|
|
5309
5374
|
status: z$1.ZodEnum<{
|
|
5310
5375
|
FAILED: "FAILED";
|
|
5311
|
-
SUCCEEDED: "SUCCEEDED";
|
|
5312
5376
|
QUEUED: "QUEUED";
|
|
5313
5377
|
RUNNING: "RUNNING";
|
|
5378
|
+
SUCCEEDED: "SUCCEEDED";
|
|
5314
5379
|
TIMED_OUT: "TIMED_OUT";
|
|
5315
5380
|
}>;
|
|
5316
5381
|
stages: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -5340,17 +5405,17 @@ export declare const appVersionSchema: z$1.ZodObject<{
|
|
|
5340
5405
|
export type AppVersion = z$1.infer<typeof appVersionSchema>;
|
|
5341
5406
|
/** 앱 공개 심사(#22, 매뉴얼 「앱 공개 범위」) — 개발자가 신청하고 운영자가 승인·반려한다 */
|
|
5342
5407
|
export declare const appListingReviewStatusSchema: z$1.ZodEnum<{
|
|
5343
|
-
PENDING: "PENDING";
|
|
5344
|
-
REJECTED: "REJECTED";
|
|
5345
5408
|
APPROVED: "APPROVED";
|
|
5409
|
+
REJECTED: "REJECTED";
|
|
5410
|
+
PENDING: "PENDING";
|
|
5346
5411
|
}>;
|
|
5347
5412
|
export type AppListingReviewStatus = z$1.infer<typeof appListingReviewStatusSchema>;
|
|
5348
5413
|
export declare const appListingReviewSchema: z$1.ZodObject<{
|
|
5349
5414
|
reviewId: z$1.ZodString;
|
|
5350
5415
|
status: z$1.ZodEnum<{
|
|
5351
|
-
PENDING: "PENDING";
|
|
5352
|
-
REJECTED: "REJECTED";
|
|
5353
5416
|
APPROVED: "APPROVED";
|
|
5417
|
+
REJECTED: "REJECTED";
|
|
5418
|
+
PENDING: "PENDING";
|
|
5354
5419
|
}>;
|
|
5355
5420
|
versionNumber: z$1.ZodNumber;
|
|
5356
5421
|
reason: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5376,8 +5441,8 @@ export declare const developerAppSchema: z$1.ZodObject<{
|
|
|
5376
5441
|
EXTERNAL: "EXTERNAL";
|
|
5377
5442
|
}>;
|
|
5378
5443
|
status: z$1.ZodEnum<{
|
|
5379
|
-
SUSPENDED: "SUSPENDED";
|
|
5380
5444
|
ACTIVE: "ACTIVE";
|
|
5445
|
+
SUSPENDED: "SUSPENDED";
|
|
5381
5446
|
DELETED: "DELETED";
|
|
5382
5447
|
}>;
|
|
5383
5448
|
suspendedReason: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5386,9 +5451,9 @@ export declare const developerAppSchema: z$1.ZodObject<{
|
|
|
5386
5451
|
listingReview: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
|
|
5387
5452
|
reviewId: z$1.ZodString;
|
|
5388
5453
|
status: z$1.ZodEnum<{
|
|
5389
|
-
PENDING: "PENDING";
|
|
5390
|
-
REJECTED: "REJECTED";
|
|
5391
5454
|
APPROVED: "APPROVED";
|
|
5455
|
+
REJECTED: "REJECTED";
|
|
5456
|
+
PENDING: "PENDING";
|
|
5392
5457
|
}>;
|
|
5393
5458
|
versionNumber: z$1.ZodNumber;
|
|
5394
5459
|
reason: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5439,9 +5504,9 @@ export declare const appReleaseResultSchema: z$1.ZodObject<{
|
|
|
5439
5504
|
number: z$1.ZodNumber;
|
|
5440
5505
|
status: z$1.ZodEnum<{
|
|
5441
5506
|
FAILED: "FAILED";
|
|
5442
|
-
REVOKED: "REVOKED";
|
|
5443
5507
|
BUILDING: "BUILDING";
|
|
5444
5508
|
READY: "READY";
|
|
5509
|
+
REVOKED: "REVOKED";
|
|
5445
5510
|
}>;
|
|
5446
5511
|
current: z$1.ZodBoolean;
|
|
5447
5512
|
message: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5459,9 +5524,9 @@ export declare const appReleaseResultSchema: z$1.ZodObject<{
|
|
|
5459
5524
|
buildId: z$1.ZodString;
|
|
5460
5525
|
status: z$1.ZodEnum<{
|
|
5461
5526
|
FAILED: "FAILED";
|
|
5462
|
-
SUCCEEDED: "SUCCEEDED";
|
|
5463
5527
|
QUEUED: "QUEUED";
|
|
5464
5528
|
RUNNING: "RUNNING";
|
|
5529
|
+
SUCCEEDED: "SUCCEEDED";
|
|
5465
5530
|
TIMED_OUT: "TIMED_OUT";
|
|
5466
5531
|
}>;
|
|
5467
5532
|
stages: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -5502,9 +5567,9 @@ export declare const devStoreSchema: z$1.ZodObject<{
|
|
|
5502
5567
|
name: z$1.ZodString;
|
|
5503
5568
|
storeCode: z$1.ZodString;
|
|
5504
5569
|
status: z$1.ZodEnum<{
|
|
5570
|
+
ACTIVE: "ACTIVE";
|
|
5505
5571
|
SUSPENDED: "SUSPENDED";
|
|
5506
5572
|
CLOSED: "CLOSED";
|
|
5507
|
-
ACTIVE: "ACTIVE";
|
|
5508
5573
|
}>;
|
|
5509
5574
|
createdAt: z$1.ZodString;
|
|
5510
5575
|
}, z$1.core.$strip>;
|
|
@@ -5514,8 +5579,8 @@ export declare const developerStoreSchema: z$1.ZodObject<{
|
|
|
5514
5579
|
storeId: z$1.ZodString;
|
|
5515
5580
|
name: z$1.ZodString;
|
|
5516
5581
|
role: z$1.ZodEnum<{
|
|
5517
|
-
ADMIN: "ADMIN";
|
|
5518
5582
|
OWNER: "OWNER";
|
|
5583
|
+
ADMIN: "ADMIN";
|
|
5519
5584
|
}>;
|
|
5520
5585
|
development: z$1.ZodBoolean;
|
|
5521
5586
|
}, z$1.core.$strip>;
|
|
@@ -5526,8 +5591,8 @@ export declare const developerInstallationSchema: z$1.ZodObject<{
|
|
|
5526
5591
|
storeId: z$1.ZodString;
|
|
5527
5592
|
storeName: z$1.ZodString;
|
|
5528
5593
|
status: z$1.ZodEnum<{
|
|
5529
|
-
SUSPENDED: "SUSPENDED";
|
|
5530
5594
|
ACTIVE: "ACTIVE";
|
|
5595
|
+
SUSPENDED: "SUSPENDED";
|
|
5531
5596
|
UNINSTALLED: "UNINSTALLED";
|
|
5532
5597
|
}>;
|
|
5533
5598
|
versionNumber: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -5552,16 +5617,16 @@ export declare const appInvocationSchema: z$1.ZodObject<{
|
|
|
5552
5617
|
versionNumber: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5553
5618
|
kind: z$1.ZodEnum<{
|
|
5554
5619
|
event: "event";
|
|
5555
|
-
flow: "flow";
|
|
5556
|
-
tool: "tool";
|
|
5557
5620
|
http: "http";
|
|
5558
5621
|
schedule: "schedule";
|
|
5622
|
+
flow: "flow";
|
|
5623
|
+
tool: "tool";
|
|
5559
5624
|
}>;
|
|
5560
5625
|
eventType: z$1.ZodNullable<z$1.ZodString>;
|
|
5561
5626
|
outcome: z$1.ZodEnum<{
|
|
5562
5627
|
REJECTED: "REJECTED";
|
|
5563
|
-
ERROR: "ERROR";
|
|
5564
5628
|
OK: "OK";
|
|
5629
|
+
ERROR: "ERROR";
|
|
5565
5630
|
LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
5566
5631
|
}>;
|
|
5567
5632
|
errorMessage: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5889,8 +5954,8 @@ export declare const createSellerCheckoutRequestSchema: z$1.ZodObject<{
|
|
|
5889
5954
|
}, z$1.core.$strip>>;
|
|
5890
5955
|
expiresAt: z$1.ZodISODateTime;
|
|
5891
5956
|
fulfillmentMethod: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5892
|
-
CARRIER: "CARRIER";
|
|
5893
5957
|
DIRECT: "DIRECT";
|
|
5958
|
+
CARRIER: "CARRIER";
|
|
5894
5959
|
PICKUP: "PICKUP";
|
|
5895
5960
|
PROVIDED: "PROVIDED";
|
|
5896
5961
|
}>>;
|
|
@@ -6013,8 +6078,8 @@ export declare const createOrderRequestSchema: z$1.ZodObject<{
|
|
|
6013
6078
|
}, z$1.core.$strip>>;
|
|
6014
6079
|
expiresAt: z$1.ZodISODateTime;
|
|
6015
6080
|
fulfillmentMethod: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6016
|
-
CARRIER: "CARRIER";
|
|
6017
6081
|
DIRECT: "DIRECT";
|
|
6082
|
+
CARRIER: "CARRIER";
|
|
6018
6083
|
PICKUP: "PICKUP";
|
|
6019
6084
|
PROVIDED: "PROVIDED";
|
|
6020
6085
|
}>>;
|
|
@@ -6101,14 +6166,14 @@ export declare const bulkResultSchema: z$1.ZodObject<{
|
|
|
6101
6166
|
}, z$1.core.$strip>;
|
|
6102
6167
|
export type BulkResult = z$1.infer<typeof bulkResultSchema>;
|
|
6103
6168
|
export declare const orderItemStatusSchema: z$1.ZodEnum<{
|
|
6104
|
-
PAID: "PAID";
|
|
6105
|
-
CANCELED: "CANCELED";
|
|
6106
6169
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
6170
|
+
PAID: "PAID";
|
|
6107
6171
|
CONFIRMED: "CONFIRMED";
|
|
6108
6172
|
DISPATCHED: "DISPATCHED";
|
|
6109
6173
|
DELIVERING: "DELIVERING";
|
|
6110
6174
|
DELIVERED: "DELIVERED";
|
|
6111
6175
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
6176
|
+
CANCELED: "CANCELED";
|
|
6112
6177
|
}>;
|
|
6113
6178
|
export type OrderItemStatus = z$1.infer<typeof orderItemStatusSchema>;
|
|
6114
6179
|
export declare const changeTypeSchema: z$1.ZodEnum<{
|
|
@@ -6130,20 +6195,20 @@ export type ChangeType = z$1.infer<typeof changeTypeSchema>;
|
|
|
6130
6195
|
//#endregion
|
|
6131
6196
|
//#region src/schemas/claim.d.ts
|
|
6132
6197
|
export declare const claimTypeSchema: z$1.ZodEnum<{
|
|
6198
|
+
CANCEL: "CANCEL";
|
|
6133
6199
|
RETURN: "RETURN";
|
|
6134
6200
|
EXCHANGE: "EXCHANGE";
|
|
6135
|
-
CANCEL: "CANCEL";
|
|
6136
6201
|
}>;
|
|
6137
6202
|
export type ClaimType = z$1.infer<typeof claimTypeSchema>;
|
|
6138
6203
|
export declare const claimStatusSchema: z$1.ZodEnum<{
|
|
6139
|
-
REJECTED: "REJECTED";
|
|
6140
|
-
COMPLETED: "COMPLETED";
|
|
6141
6204
|
REQUESTED: "REQUESTED";
|
|
6142
6205
|
HELD: "HELD";
|
|
6143
6206
|
COLLECTING: "COLLECTING";
|
|
6144
6207
|
COLLECTED: "COLLECTED";
|
|
6145
6208
|
REDELIVERING: "REDELIVERING";
|
|
6146
6209
|
APPROVED: "APPROVED";
|
|
6210
|
+
REJECTED: "REJECTED";
|
|
6211
|
+
COMPLETED: "COMPLETED";
|
|
6147
6212
|
WITHDRAWN: "WITHDRAWN";
|
|
6148
6213
|
}>;
|
|
6149
6214
|
export type ClaimStatus = z$1.infer<typeof claimStatusSchema>;
|
|
@@ -6176,19 +6241,19 @@ export declare const claimSchema: z$1.ZodObject<{
|
|
|
6176
6241
|
claimId: z$1.ZodString;
|
|
6177
6242
|
claimNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
6178
6243
|
type: z$1.ZodEnum<{
|
|
6244
|
+
CANCEL: "CANCEL";
|
|
6179
6245
|
RETURN: "RETURN";
|
|
6180
6246
|
EXCHANGE: "EXCHANGE";
|
|
6181
|
-
CANCEL: "CANCEL";
|
|
6182
6247
|
}>;
|
|
6183
6248
|
status: z$1.ZodEnum<{
|
|
6184
|
-
REJECTED: "REJECTED";
|
|
6185
|
-
COMPLETED: "COMPLETED";
|
|
6186
6249
|
REQUESTED: "REQUESTED";
|
|
6187
6250
|
HELD: "HELD";
|
|
6188
6251
|
COLLECTING: "COLLECTING";
|
|
6189
6252
|
COLLECTED: "COLLECTED";
|
|
6190
6253
|
REDELIVERING: "REDELIVERING";
|
|
6191
6254
|
APPROVED: "APPROVED";
|
|
6255
|
+
REJECTED: "REJECTED";
|
|
6256
|
+
COMPLETED: "COMPLETED";
|
|
6192
6257
|
WITHDRAWN: "WITHDRAWN";
|
|
6193
6258
|
}>;
|
|
6194
6259
|
orderId: z$1.ZodString;
|
|
@@ -6252,9 +6317,9 @@ export declare const claimListQuerySchema: z$1.ZodObject<{
|
|
|
6252
6317
|
page: z$1.ZodOptional<z$1.ZodString>;
|
|
6253
6318
|
size: z$1.ZodOptional<z$1.ZodString>;
|
|
6254
6319
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6320
|
+
CANCEL: "CANCEL";
|
|
6255
6321
|
RETURN: "RETURN";
|
|
6256
6322
|
EXCHANGE: "EXCHANGE";
|
|
6257
|
-
CANCEL: "CANCEL";
|
|
6258
6323
|
}>>;
|
|
6259
6324
|
status: z$1.ZodOptional<z$1.ZodString>;
|
|
6260
6325
|
orderItemId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -6266,19 +6331,19 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6266
6331
|
claimId: z$1.ZodString;
|
|
6267
6332
|
claimNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
6268
6333
|
type: z$1.ZodEnum<{
|
|
6334
|
+
CANCEL: "CANCEL";
|
|
6269
6335
|
RETURN: "RETURN";
|
|
6270
6336
|
EXCHANGE: "EXCHANGE";
|
|
6271
|
-
CANCEL: "CANCEL";
|
|
6272
6337
|
}>;
|
|
6273
6338
|
status: z$1.ZodEnum<{
|
|
6274
|
-
REJECTED: "REJECTED";
|
|
6275
|
-
COMPLETED: "COMPLETED";
|
|
6276
6339
|
REQUESTED: "REQUESTED";
|
|
6277
6340
|
HELD: "HELD";
|
|
6278
6341
|
COLLECTING: "COLLECTING";
|
|
6279
6342
|
COLLECTED: "COLLECTED";
|
|
6280
6343
|
REDELIVERING: "REDELIVERING";
|
|
6281
6344
|
APPROVED: "APPROVED";
|
|
6345
|
+
REJECTED: "REJECTED";
|
|
6346
|
+
COMPLETED: "COMPLETED";
|
|
6282
6347
|
WITHDRAWN: "WITHDRAWN";
|
|
6283
6348
|
}>;
|
|
6284
6349
|
orderId: z$1.ZodString;
|
|
@@ -6329,14 +6394,14 @@ export declare const claimDetailSchema: z$1.ZodObject<{
|
|
|
6329
6394
|
}, z$1.core.$strip>>;
|
|
6330
6395
|
histories: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
6331
6396
|
status: z$1.ZodEnum<{
|
|
6332
|
-
REJECTED: "REJECTED";
|
|
6333
|
-
COMPLETED: "COMPLETED";
|
|
6334
6397
|
REQUESTED: "REQUESTED";
|
|
6335
6398
|
HELD: "HELD";
|
|
6336
6399
|
COLLECTING: "COLLECTING";
|
|
6337
6400
|
COLLECTED: "COLLECTED";
|
|
6338
6401
|
REDELIVERING: "REDELIVERING";
|
|
6339
6402
|
APPROVED: "APPROVED";
|
|
6403
|
+
REJECTED: "REJECTED";
|
|
6404
|
+
COMPLETED: "COMPLETED";
|
|
6340
6405
|
WITHDRAWN: "WITHDRAWN";
|
|
6341
6406
|
}>;
|
|
6342
6407
|
actor: z$1.ZodEnum<{
|
|
@@ -6366,9 +6431,17 @@ export declare const rejectClaimRequestSchema: z$1.ZodObject<{
|
|
|
6366
6431
|
evidenceImages: z$1.ZodOptional<z$1.ZodArray<z$1.ZodURL>>;
|
|
6367
6432
|
}, z$1.core.$strip>;
|
|
6368
6433
|
export type RejectClaimRequest = z$1.infer<typeof rejectClaimRequestSchema>;
|
|
6434
|
+
/** `POST /v1/claims/{claimId}/approve` 요청 — 본문은 생략할 수 있다 */
|
|
6435
|
+
export declare const approveClaimRequestSchema: z$1.ZodObject<{
|
|
6436
|
+
deductAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6437
|
+
refundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6438
|
+
holdRefund: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
6439
|
+
}, z$1.core.$strip>;
|
|
6440
|
+
export type ApproveClaimRequest = z$1.infer<typeof approveClaimRequestSchema>;
|
|
6369
6441
|
export declare const approveClaimResultSchema: z$1.ZodObject<{
|
|
6370
6442
|
claimId: z$1.ZodString;
|
|
6371
6443
|
refundAmount: z$1.ZodNumber;
|
|
6444
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6372
6445
|
deductAmount: z$1.ZodNumber;
|
|
6373
6446
|
quantity: z$1.ZodNumber;
|
|
6374
6447
|
deliveryFeeRefundAmount: z$1.ZodNumber;
|
|
@@ -6412,9 +6485,9 @@ export type CollectionType = (typeof COLLECTION_TYPES)[number];
|
|
|
6412
6485
|
export declare const COLLECTION_PRODUCT_SORTS: readonly ["MANUAL", "LATEST", "BEST_SELLING", "PRICE_ASC", "PRICE_DESC", "REVIEW_COUNT", "RATING_DESC", "RECOMMEND"];
|
|
6413
6486
|
export type CollectionProductSort = (typeof COLLECTION_PRODUCT_SORTS)[number];
|
|
6414
6487
|
export declare const collectionProductSortRequestSchema: z$1.ZodEnum<{
|
|
6488
|
+
MANUAL: "MANUAL";
|
|
6415
6489
|
PRICE_ASC: "PRICE_ASC";
|
|
6416
6490
|
PRICE_DESC: "PRICE_DESC";
|
|
6417
|
-
MANUAL: "MANUAL";
|
|
6418
6491
|
LATEST: "LATEST";
|
|
6419
6492
|
BEST_SELLING: "BEST_SELLING";
|
|
6420
6493
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -6649,9 +6722,9 @@ export declare const collectionCreateRequestSchema: z$1.ZodObject<{
|
|
|
6649
6722
|
description: z$1.ZodDefault<z$1.ZodString>;
|
|
6650
6723
|
imageUrl: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
|
|
6651
6724
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6725
|
+
MANUAL: "MANUAL";
|
|
6652
6726
|
PRICE_ASC: "PRICE_ASC";
|
|
6653
6727
|
PRICE_DESC: "PRICE_DESC";
|
|
6654
|
-
MANUAL: "MANUAL";
|
|
6655
6728
|
LATEST: "LATEST";
|
|
6656
6729
|
BEST_SELLING: "BEST_SELLING";
|
|
6657
6730
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -6697,9 +6770,9 @@ export declare const collectionPatchRequestSchema: z$1.ZodObject<{
|
|
|
6697
6770
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6698
6771
|
imageUrl: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
|
|
6699
6772
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6773
|
+
MANUAL: "MANUAL";
|
|
6700
6774
|
PRICE_ASC: "PRICE_ASC";
|
|
6701
6775
|
PRICE_DESC: "PRICE_DESC";
|
|
6702
|
-
MANUAL: "MANUAL";
|
|
6703
6776
|
LATEST: "LATEST";
|
|
6704
6777
|
BEST_SELLING: "BEST_SELLING";
|
|
6705
6778
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -6854,9 +6927,9 @@ export declare const collectionPreviewRequestSchema: z$1.ZodObject<{
|
|
|
6854
6927
|
top: z$1.ZodNumber;
|
|
6855
6928
|
}, z$1.core.$strip>], "field">>;
|
|
6856
6929
|
productSort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6930
|
+
MANUAL: "MANUAL";
|
|
6857
6931
|
PRICE_ASC: "PRICE_ASC";
|
|
6858
6932
|
PRICE_DESC: "PRICE_DESC";
|
|
6859
|
-
MANUAL: "MANUAL";
|
|
6860
6933
|
LATEST: "LATEST";
|
|
6861
6934
|
BEST_SELLING: "BEST_SELLING";
|
|
6862
6935
|
REVIEW_COUNT: "REVIEW_COUNT";
|
|
@@ -6972,24 +7045,24 @@ export declare const flowStateSchema: z$1.ZodObject<{
|
|
|
6972
7045
|
key: z$1.ZodString;
|
|
6973
7046
|
label: z$1.ZodString;
|
|
6974
7047
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6975
|
-
PAID: "PAID";
|
|
6976
|
-
CANCELED: "CANCELED";
|
|
6977
7048
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7049
|
+
PAID: "PAID";
|
|
6978
7050
|
CONFIRMED: "CONFIRMED";
|
|
6979
7051
|
DISPATCHED: "DISPATCHED";
|
|
6980
7052
|
DELIVERING: "DELIVERING";
|
|
6981
7053
|
DELIVERED: "DELIVERED";
|
|
6982
7054
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7055
|
+
CANCELED: "CANCELED";
|
|
6983
7056
|
}>>;
|
|
6984
7057
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6985
|
-
REJECTED: "REJECTED";
|
|
6986
|
-
COMPLETED: "COMPLETED";
|
|
6987
7058
|
REQUESTED: "REQUESTED";
|
|
6988
7059
|
HELD: "HELD";
|
|
6989
7060
|
COLLECTING: "COLLECTING";
|
|
6990
7061
|
COLLECTED: "COLLECTED";
|
|
6991
7062
|
REDELIVERING: "REDELIVERING";
|
|
6992
7063
|
APPROVED: "APPROVED";
|
|
7064
|
+
REJECTED: "REJECTED";
|
|
7065
|
+
COMPLETED: "COMPLETED";
|
|
6993
7066
|
WITHDRAWN: "WITHDRAWN";
|
|
6994
7067
|
}>>;
|
|
6995
7068
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7021,24 +7094,24 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
|
|
|
7021
7094
|
key: z$1.ZodString;
|
|
7022
7095
|
label: z$1.ZodString;
|
|
7023
7096
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7024
|
-
PAID: "PAID";
|
|
7025
|
-
CANCELED: "CANCELED";
|
|
7026
7097
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7098
|
+
PAID: "PAID";
|
|
7027
7099
|
CONFIRMED: "CONFIRMED";
|
|
7028
7100
|
DISPATCHED: "DISPATCHED";
|
|
7029
7101
|
DELIVERING: "DELIVERING";
|
|
7030
7102
|
DELIVERED: "DELIVERED";
|
|
7031
7103
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7104
|
+
CANCELED: "CANCELED";
|
|
7032
7105
|
}>>;
|
|
7033
7106
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7034
|
-
REJECTED: "REJECTED";
|
|
7035
|
-
COMPLETED: "COMPLETED";
|
|
7036
7107
|
REQUESTED: "REQUESTED";
|
|
7037
7108
|
HELD: "HELD";
|
|
7038
7109
|
COLLECTING: "COLLECTING";
|
|
7039
7110
|
COLLECTED: "COLLECTED";
|
|
7040
7111
|
REDELIVERING: "REDELIVERING";
|
|
7041
7112
|
APPROVED: "APPROVED";
|
|
7113
|
+
REJECTED: "REJECTED";
|
|
7114
|
+
COMPLETED: "COMPLETED";
|
|
7042
7115
|
WITHDRAWN: "WITHDRAWN";
|
|
7043
7116
|
}>>;
|
|
7044
7117
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7107,38 +7180,38 @@ export declare const orderItemFlowSchema: z$1.ZodObject<{
|
|
|
7107
7180
|
key: z$1.ZodString;
|
|
7108
7181
|
label: z$1.ZodString;
|
|
7109
7182
|
coreStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7110
|
-
PAID: "PAID";
|
|
7111
|
-
CANCELED: "CANCELED";
|
|
7112
7183
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7184
|
+
PAID: "PAID";
|
|
7113
7185
|
CONFIRMED: "CONFIRMED";
|
|
7114
7186
|
DISPATCHED: "DISPATCHED";
|
|
7115
7187
|
DELIVERING: "DELIVERING";
|
|
7116
7188
|
DELIVERED: "DELIVERED";
|
|
7117
7189
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7190
|
+
CANCELED: "CANCELED";
|
|
7118
7191
|
}>>;
|
|
7119
7192
|
}, z$1.core.$strip>>>;
|
|
7120
7193
|
branches: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
7121
7194
|
key: z$1.ZodString;
|
|
7122
7195
|
label: z$1.ZodString;
|
|
7123
7196
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7124
|
-
PAID: "PAID";
|
|
7125
|
-
CANCELED: "CANCELED";
|
|
7126
7197
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7198
|
+
PAID: "PAID";
|
|
7127
7199
|
CONFIRMED: "CONFIRMED";
|
|
7128
7200
|
DISPATCHED: "DISPATCHED";
|
|
7129
7201
|
DELIVERING: "DELIVERING";
|
|
7130
7202
|
DELIVERED: "DELIVERED";
|
|
7131
7203
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7204
|
+
CANCELED: "CANCELED";
|
|
7132
7205
|
}>>;
|
|
7133
7206
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7134
|
-
REJECTED: "REJECTED";
|
|
7135
|
-
COMPLETED: "COMPLETED";
|
|
7136
7207
|
REQUESTED: "REQUESTED";
|
|
7137
7208
|
HELD: "HELD";
|
|
7138
7209
|
COLLECTING: "COLLECTING";
|
|
7139
7210
|
COLLECTED: "COLLECTED";
|
|
7140
7211
|
REDELIVERING: "REDELIVERING";
|
|
7141
7212
|
APPROVED: "APPROVED";
|
|
7213
|
+
REJECTED: "REJECTED";
|
|
7214
|
+
COMPLETED: "COMPLETED";
|
|
7142
7215
|
WITHDRAWN: "WITHDRAWN";
|
|
7143
7216
|
}>>;
|
|
7144
7217
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7214,24 +7287,24 @@ export declare const flowActionResultSchema: z$1.ZodObject<{
|
|
|
7214
7287
|
key: z$1.ZodString;
|
|
7215
7288
|
label: z$1.ZodString;
|
|
7216
7289
|
coreStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7217
|
-
PAID: "PAID";
|
|
7218
|
-
CANCELED: "CANCELED";
|
|
7219
7290
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
7291
|
+
PAID: "PAID";
|
|
7220
7292
|
CONFIRMED: "CONFIRMED";
|
|
7221
7293
|
DISPATCHED: "DISPATCHED";
|
|
7222
7294
|
DELIVERING: "DELIVERING";
|
|
7223
7295
|
DELIVERED: "DELIVERED";
|
|
7224
7296
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
7297
|
+
CANCELED: "CANCELED";
|
|
7225
7298
|
}>>;
|
|
7226
7299
|
claimStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7227
|
-
REJECTED: "REJECTED";
|
|
7228
|
-
COMPLETED: "COMPLETED";
|
|
7229
7300
|
REQUESTED: "REQUESTED";
|
|
7230
7301
|
HELD: "HELD";
|
|
7231
7302
|
COLLECTING: "COLLECTING";
|
|
7232
7303
|
COLLECTED: "COLLECTED";
|
|
7233
7304
|
REDELIVERING: "REDELIVERING";
|
|
7234
7305
|
APPROVED: "APPROVED";
|
|
7306
|
+
REJECTED: "REJECTED";
|
|
7307
|
+
COMPLETED: "COMPLETED";
|
|
7235
7308
|
WITHDRAWN: "WITHDRAWN";
|
|
7236
7309
|
}>>;
|
|
7237
7310
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7537,8 +7610,8 @@ export declare const flowDraftOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
7537
7610
|
PAUSE: "PAUSE";
|
|
7538
7611
|
}>>;
|
|
7539
7612
|
fulfillmentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7540
|
-
CARRIER: "CARRIER";
|
|
7541
7613
|
DIRECT: "DIRECT";
|
|
7614
|
+
CARRIER: "CARRIER";
|
|
7542
7615
|
PICKUP: "PICKUP";
|
|
7543
7616
|
PROVIDED: "PROVIDED";
|
|
7544
7617
|
}>>>;
|
|
@@ -7599,8 +7672,8 @@ export declare const applyFlowOperationsRequestSchema: z$1.ZodObject<{
|
|
|
7599
7672
|
PAUSE: "PAUSE";
|
|
7600
7673
|
}>>;
|
|
7601
7674
|
fulfillmentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
7602
|
-
CARRIER: "CARRIER";
|
|
7603
7675
|
DIRECT: "DIRECT";
|
|
7676
|
+
CARRIER: "CARRIER";
|
|
7604
7677
|
PICKUP: "PICKUP";
|
|
7605
7678
|
PROVIDED: "PROVIDED";
|
|
7606
7679
|
}>>>;
|
|
@@ -7679,8 +7752,8 @@ export declare const orderFlowActionResultSchema: z$1.ZodObject<{
|
|
|
7679
7752
|
results: z$1.ZodArray<z$1.ZodObject<{
|
|
7680
7753
|
orderItemId: z$1.ZodString;
|
|
7681
7754
|
status: z$1.ZodEnum<{
|
|
7682
|
-
FAILED: "FAILED";
|
|
7683
7755
|
COMPLETED: "COMPLETED";
|
|
7756
|
+
FAILED: "FAILED";
|
|
7684
7757
|
SKIPPED: "SKIPPED";
|
|
7685
7758
|
}>;
|
|
7686
7759
|
reason: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -8382,8 +8455,8 @@ export type CouponStatus = z$1.infer<typeof couponStatusSchema>;
|
|
|
8382
8455
|
* 응답(`couponSchema.issueMethod`)은 값이 늘 수 있어 문자열로 받는다. 이 enum은 요청 검증용이다.
|
|
8383
8456
|
*/
|
|
8384
8457
|
export declare const couponIssueMethodSchema: z$1.ZodEnum<{
|
|
8385
|
-
MANUAL: "MANUAL";
|
|
8386
8458
|
CODE: "CODE";
|
|
8459
|
+
MANUAL: "MANUAL";
|
|
8387
8460
|
DOWNLOAD: "DOWNLOAD";
|
|
8388
8461
|
SIGNUP: "SIGNUP";
|
|
8389
8462
|
FLOW: "FLOW";
|
|
@@ -8543,8 +8616,8 @@ export declare const createCouponRequestSchema: z$1.ZodObject<{
|
|
|
8543
8616
|
excludeCategoryIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
8544
8617
|
}, z$1.core.$strict>>;
|
|
8545
8618
|
issueMethod: z$1.ZodEnum<{
|
|
8546
|
-
MANUAL: "MANUAL";
|
|
8547
8619
|
CODE: "CODE";
|
|
8620
|
+
MANUAL: "MANUAL";
|
|
8548
8621
|
DOWNLOAD: "DOWNLOAD";
|
|
8549
8622
|
SIGNUP: "SIGNUP";
|
|
8550
8623
|
FLOW: "FLOW";
|
|
@@ -8818,8 +8891,8 @@ export declare const couponListQuerySchema: z$1.ZodObject<{
|
|
|
8818
8891
|
DELIVERY: "DELIVERY";
|
|
8819
8892
|
}>>;
|
|
8820
8893
|
issueMethod: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8821
|
-
MANUAL: "MANUAL";
|
|
8822
8894
|
CODE: "CODE";
|
|
8895
|
+
MANUAL: "MANUAL";
|
|
8823
8896
|
DOWNLOAD: "DOWNLOAD";
|
|
8824
8897
|
SIGNUP: "SIGNUP";
|
|
8825
8898
|
FLOW: "FLOW";
|
|
@@ -8847,10 +8920,10 @@ export declare const couponIssueListQuerySchema: z$1.ZodObject<{
|
|
|
8847
8920
|
page: z$1.ZodOptional<z$1.ZodString>;
|
|
8848
8921
|
size: z$1.ZodOptional<z$1.ZodString>;
|
|
8849
8922
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8923
|
+
REVOKED: "REVOKED";
|
|
8850
8924
|
AVAILABLE: "AVAILABLE";
|
|
8851
8925
|
RESERVED: "RESERVED";
|
|
8852
8926
|
USED: "USED";
|
|
8853
|
-
REVOKED: "REVOKED";
|
|
8854
8927
|
}>>;
|
|
8855
8928
|
}, z$1.core.$strip>;
|
|
8856
8929
|
/** `GET /v1/coupons/{couponId}/voucher-codes` — 쿠폰 번호 전체(순번 순). 상점 플랫폼이 CSV로 내려받는다 */
|
|
@@ -9010,6 +9083,82 @@ export declare const customerSummarySchema: z$1.ZodObject<{
|
|
|
9010
9083
|
lastOrderedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
9011
9084
|
}, z$1.core.$strip>;
|
|
9012
9085
|
export type CustomerSummary = z$1.infer<typeof customerSummarySchema>;
|
|
9086
|
+
/** 내보내기에서 고를 수 있는 필드 */
|
|
9087
|
+
export declare const customerExportFieldSchema: z$1.ZodEnum<{
|
|
9088
|
+
name: "name";
|
|
9089
|
+
email: "email";
|
|
9090
|
+
gender: "gender";
|
|
9091
|
+
birthdate: "birthdate";
|
|
9092
|
+
phone: "phone";
|
|
9093
|
+
joinedAt: "joinedAt";
|
|
9094
|
+
orderCount: "orderCount";
|
|
9095
|
+
totalPaid: "totalPaid";
|
|
9096
|
+
lastOrderedAt: "lastOrderedAt";
|
|
9097
|
+
point: "point";
|
|
9098
|
+
marketingAgreed: "marketingAgreed";
|
|
9099
|
+
marketingUpdatedAt: "marketingUpdatedAt";
|
|
9100
|
+
defaultAddress: "defaultAddress";
|
|
9101
|
+
}>;
|
|
9102
|
+
export type CustomerExportField = z$1.infer<typeof customerExportFieldSchema>;
|
|
9103
|
+
export declare const CUSTOMER_EXPORT_MAX_SIZE = 500;
|
|
9104
|
+
/** `GET /v1/customers/export` 쿼리 — 목록과 같은 조건 + 내보낼 필드 */
|
|
9105
|
+
export declare const customerExportQuerySchema: z$1.ZodObject<{
|
|
9106
|
+
q: z$1.ZodOptional<z$1.ZodString>;
|
|
9107
|
+
joinedFrom: z$1.ZodOptional<z$1.ZodString>;
|
|
9108
|
+
joinedTo: z$1.ZodOptional<z$1.ZodString>;
|
|
9109
|
+
marketing: z$1.ZodOptional<z$1.ZodEnum<{
|
|
9110
|
+
agreed: "agreed";
|
|
9111
|
+
declined: "declined";
|
|
9112
|
+
}>>;
|
|
9113
|
+
sort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
9114
|
+
joined_desc: "joined_desc";
|
|
9115
|
+
joined_asc: "joined_asc";
|
|
9116
|
+
total_paid_desc: "total_paid_desc";
|
|
9117
|
+
order_count_desc: "order_count_desc";
|
|
9118
|
+
last_ordered_desc: "last_ordered_desc";
|
|
9119
|
+
}>>;
|
|
9120
|
+
page: z$1.ZodOptional<z$1.ZodString>;
|
|
9121
|
+
size: z$1.ZodOptional<z$1.ZodString>;
|
|
9122
|
+
fields: z$1.ZodString;
|
|
9123
|
+
}, z$1.core.$strip>;
|
|
9124
|
+
/** 내보내기 기본 배송지 — 휴대폰은 `phone`과 같은 규칙으로 가린다 */
|
|
9125
|
+
export declare const customerExportAddressSchema: z$1.ZodObject<{
|
|
9126
|
+
receiverName: z$1.ZodString;
|
|
9127
|
+
phone: z$1.ZodNullable<z$1.ZodString>;
|
|
9128
|
+
zipCode: z$1.ZodString;
|
|
9129
|
+
address1: z$1.ZodString;
|
|
9130
|
+
address2: z$1.ZodNullable<z$1.ZodString>;
|
|
9131
|
+
countryCode: z$1.ZodString;
|
|
9132
|
+
city: z$1.ZodNullable<z$1.ZodString>;
|
|
9133
|
+
region: z$1.ZodNullable<z$1.ZodString>;
|
|
9134
|
+
}, z$1.core.$strip>;
|
|
9135
|
+
/** 내보내기 한 줄 — 고른 필드만 싣는다 */
|
|
9136
|
+
export declare const customerExportRowSchema: z$1.ZodObject<{
|
|
9137
|
+
customerId: z$1.ZodString;
|
|
9138
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
9139
|
+
email: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
9140
|
+
phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
9141
|
+
joinedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
9142
|
+
orderCount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9143
|
+
totalPaid: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9144
|
+
lastOrderedAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
9145
|
+
point: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9146
|
+
marketingAgreed: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9147
|
+
marketingUpdatedAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
9148
|
+
birthdate: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
9149
|
+
gender: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
9150
|
+
defaultAddress: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
9151
|
+
receiverName: z$1.ZodString;
|
|
9152
|
+
phone: z$1.ZodNullable<z$1.ZodString>;
|
|
9153
|
+
zipCode: z$1.ZodString;
|
|
9154
|
+
address1: z$1.ZodString;
|
|
9155
|
+
address2: z$1.ZodNullable<z$1.ZodString>;
|
|
9156
|
+
countryCode: z$1.ZodString;
|
|
9157
|
+
city: z$1.ZodNullable<z$1.ZodString>;
|
|
9158
|
+
region: z$1.ZodNullable<z$1.ZodString>;
|
|
9159
|
+
}, z$1.core.$strip>>>;
|
|
9160
|
+
}, z$1.core.$strip>;
|
|
9161
|
+
export type CustomerExportRow = z$1.infer<typeof customerExportRowSchema>;
|
|
9013
9162
|
export declare const customerAddressSchema: z$1.ZodObject<{
|
|
9014
9163
|
addressId: z$1.ZodString;
|
|
9015
9164
|
alias: z$1.ZodString;
|
|
@@ -9142,7 +9291,10 @@ export declare const customerConsentListQuerySchema: z$1.ZodObject<{
|
|
|
9142
9291
|
MARKETING: "MARKETING";
|
|
9143
9292
|
}>>;
|
|
9144
9293
|
}, z$1.core.$strip>;
|
|
9145
|
-
/**
|
|
9294
|
+
/**
|
|
9295
|
+
* 구매자 상세 — 휴대폰(구매자·배송지)은 스코프 `privacy:r`이 있으면 전체 번호, 없으면 가린 번호(`010-****-1234`)다(#217).
|
|
9296
|
+
* 가린 경우 `userinfo.phone_number`는 싣지 않는다
|
|
9297
|
+
*/
|
|
9146
9298
|
export declare const customerDetailSchema: z$1.ZodObject<{
|
|
9147
9299
|
customerId: z$1.ZodString;
|
|
9148
9300
|
name: z$1.ZodString;
|
|
@@ -9266,14 +9418,14 @@ export declare const customerOrderSchema: z$1.ZodObject<{
|
|
|
9266
9418
|
optionName: z$1.ZodNullable<z$1.ZodString>;
|
|
9267
9419
|
quantity: z$1.ZodNumber;
|
|
9268
9420
|
status: z$1.ZodEnum<{
|
|
9269
|
-
PAID: "PAID";
|
|
9270
|
-
CANCELED: "CANCELED";
|
|
9271
9421
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
9422
|
+
PAID: "PAID";
|
|
9272
9423
|
CONFIRMED: "CONFIRMED";
|
|
9273
9424
|
DISPATCHED: "DISPATCHED";
|
|
9274
9425
|
DELIVERING: "DELIVERING";
|
|
9275
9426
|
DELIVERED: "DELIVERED";
|
|
9276
9427
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
9428
|
+
CANCELED: "CANCELED";
|
|
9277
9429
|
}>;
|
|
9278
9430
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9279
9431
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -9286,10 +9438,10 @@ export type CustomerOrder = z$1.infer<typeof customerOrderSchema>;
|
|
|
9286
9438
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
9287
9439
|
export declare const withdrawCustomerRequestSchema: z$1.ZodObject<{
|
|
9288
9440
|
reason: z$1.ZodEnum<{
|
|
9441
|
+
OTHER: "OTHER";
|
|
9289
9442
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
9290
9443
|
DORMANT: "DORMANT";
|
|
9291
9444
|
ABUSE: "ABUSE";
|
|
9292
|
-
OTHER: "OTHER";
|
|
9293
9445
|
}>;
|
|
9294
9446
|
memo: z$1.ZodOptional<z$1.ZodString>;
|
|
9295
9447
|
}, z$1.core.$strip>;
|
|
@@ -9773,11 +9925,11 @@ export declare const inquirySchema: z$1.ZodObject<{
|
|
|
9773
9925
|
productName: z$1.ZodString;
|
|
9774
9926
|
orderItemId: z$1.ZodNullable<z$1.ZodString>;
|
|
9775
9927
|
category: z$1.ZodEnum<{
|
|
9928
|
+
RETURN: "RETURN";
|
|
9929
|
+
EXCHANGE: "EXCHANGE";
|
|
9776
9930
|
ETC: "ETC";
|
|
9777
9931
|
PRODUCT: "PRODUCT";
|
|
9778
9932
|
DELIVERY: "DELIVERY";
|
|
9779
|
-
RETURN: "RETURN";
|
|
9780
|
-
EXCHANGE: "EXCHANGE";
|
|
9781
9933
|
}>;
|
|
9782
9934
|
content: z$1.ZodString;
|
|
9783
9935
|
secret: z$1.ZodBoolean;
|
|
@@ -9792,10 +9944,10 @@ export declare const inquirySchema: z$1.ZodObject<{
|
|
|
9792
9944
|
}, z$1.core.$strip>;
|
|
9793
9945
|
export type Inquiry = z$1.infer<typeof inquirySchema>;
|
|
9794
9946
|
export declare const customerInquiryCategorySchema: z$1.ZodEnum<{
|
|
9795
|
-
ETC: "ETC";
|
|
9796
|
-
DELIVERY: "DELIVERY";
|
|
9797
9947
|
RETURN: "RETURN";
|
|
9798
9948
|
EXCHANGE: "EXCHANGE";
|
|
9949
|
+
ETC: "ETC";
|
|
9950
|
+
DELIVERY: "DELIVERY";
|
|
9799
9951
|
PAYMENT: "PAYMENT";
|
|
9800
9952
|
}>;
|
|
9801
9953
|
export type CustomerInquiryCategory = z$1.infer<typeof customerInquiryCategorySchema>;
|
|
@@ -9804,10 +9956,10 @@ export declare const sellerCustomerInquirySchema: z$1.ZodObject<{
|
|
|
9804
9956
|
inquiryId: z$1.ZodString;
|
|
9805
9957
|
memberMaskedName: z$1.ZodString;
|
|
9806
9958
|
category: z$1.ZodEnum<{
|
|
9807
|
-
ETC: "ETC";
|
|
9808
|
-
DELIVERY: "DELIVERY";
|
|
9809
9959
|
RETURN: "RETURN";
|
|
9810
9960
|
EXCHANGE: "EXCHANGE";
|
|
9961
|
+
ETC: "ETC";
|
|
9962
|
+
DELIVERY: "DELIVERY";
|
|
9811
9963
|
PAYMENT: "PAYMENT";
|
|
9812
9964
|
}>;
|
|
9813
9965
|
title: z$1.ZodString;
|
|
@@ -9842,18 +9994,18 @@ export declare const customerInquiryListQuerySchema: z$1.ZodObject<{
|
|
|
9842
9994
|
false: "false";
|
|
9843
9995
|
}>>;
|
|
9844
9996
|
category: z$1.ZodOptional<z$1.ZodEnum<{
|
|
9845
|
-
ETC: "ETC";
|
|
9846
|
-
DELIVERY: "DELIVERY";
|
|
9847
9997
|
RETURN: "RETURN";
|
|
9848
9998
|
EXCHANGE: "EXCHANGE";
|
|
9999
|
+
ETC: "ETC";
|
|
10000
|
+
DELIVERY: "DELIVERY";
|
|
9849
10001
|
PAYMENT: "PAYMENT";
|
|
9850
10002
|
}>>;
|
|
9851
10003
|
from: z$1.ZodOptional<z$1.ZodString>;
|
|
9852
10004
|
}, z$1.core.$strip>;
|
|
9853
10005
|
export declare const settlementStatusSchema: z$1.ZodEnum<{
|
|
9854
10006
|
PAID: "PAID";
|
|
9855
|
-
SCHEDULED: "SCHEDULED";
|
|
9856
10007
|
HELD: "HELD";
|
|
10008
|
+
SCHEDULED: "SCHEDULED";
|
|
9857
10009
|
}>;
|
|
9858
10010
|
export type SettlementStatus = z$1.infer<typeof settlementStatusSchema>;
|
|
9859
10011
|
export declare const settlementSummarySchema: z$1.ZodObject<{
|
|
@@ -9862,8 +10014,8 @@ export declare const settlementSummarySchema: z$1.ZodObject<{
|
|
|
9862
10014
|
payoutDate: z$1.ZodNullable<z$1.ZodString>;
|
|
9863
10015
|
status: z$1.ZodEnum<{
|
|
9864
10016
|
PAID: "PAID";
|
|
9865
|
-
SCHEDULED: "SCHEDULED";
|
|
9866
10017
|
HELD: "HELD";
|
|
10018
|
+
SCHEDULED: "SCHEDULED";
|
|
9867
10019
|
}>;
|
|
9868
10020
|
totalPaymentAmount: z$1.ZodNumber;
|
|
9869
10021
|
totalCommission: z$1.ZodNumber;
|
|
@@ -9897,8 +10049,8 @@ export declare const settlementWithDetailsSchema: z$1.ZodObject<{
|
|
|
9897
10049
|
payoutDate: z$1.ZodNullable<z$1.ZodString>;
|
|
9898
10050
|
status: z$1.ZodEnum<{
|
|
9899
10051
|
PAID: "PAID";
|
|
9900
|
-
SCHEDULED: "SCHEDULED";
|
|
9901
10052
|
HELD: "HELD";
|
|
10053
|
+
SCHEDULED: "SCHEDULED";
|
|
9902
10054
|
}>;
|
|
9903
10055
|
totalPaymentAmount: z$1.ZodNumber;
|
|
9904
10056
|
totalCommission: z$1.ZodNumber;
|
|
@@ -9932,8 +10084,8 @@ export declare const settlementListQuerySchema: z$1.ZodObject<{
|
|
|
9932
10084
|
to: z$1.ZodOptional<z$1.ZodString>;
|
|
9933
10085
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
9934
10086
|
PAID: "PAID";
|
|
9935
|
-
SCHEDULED: "SCHEDULED";
|
|
9936
10087
|
HELD: "HELD";
|
|
10088
|
+
SCHEDULED: "SCHEDULED";
|
|
9937
10089
|
}>>;
|
|
9938
10090
|
}, z$1.core.$strip>;
|
|
9939
10091
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -9953,8 +10105,8 @@ export declare const eventTypeSchema: z$1.ZodEnum<{
|
|
|
9953
10105
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
9954
10106
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
9955
10107
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
9956
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
9957
10108
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10109
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
9958
10110
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
9959
10111
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
9960
10112
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -9967,11 +10119,12 @@ export declare const eventTypeSchema: z$1.ZodEnum<{
|
|
|
9967
10119
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
9968
10120
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
9969
10121
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10122
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
9970
10123
|
}>;
|
|
9971
10124
|
export type EventType = z$1.infer<typeof eventTypeSchema>;
|
|
9972
10125
|
export declare const webhookStatusSchema: z$1.ZodEnum<{
|
|
9973
|
-
SUSPENDED: "SUSPENDED";
|
|
9974
10126
|
ACTIVE: "ACTIVE";
|
|
10127
|
+
SUSPENDED: "SUSPENDED";
|
|
9975
10128
|
}>;
|
|
9976
10129
|
export type WebhookStatus = z$1.infer<typeof webhookStatusSchema>;
|
|
9977
10130
|
export declare const webhookSchema: z$1.ZodObject<{
|
|
@@ -9984,8 +10137,8 @@ export declare const webhookSchema: z$1.ZodObject<{
|
|
|
9984
10137
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
9985
10138
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
9986
10139
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
9987
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
9988
10140
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10141
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
9989
10142
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
9990
10143
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
9991
10144
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -9998,10 +10151,11 @@ export declare const webhookSchema: z$1.ZodObject<{
|
|
|
9998
10151
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
9999
10152
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10000
10153
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10154
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10001
10155
|
}>>;
|
|
10002
10156
|
status: z$1.ZodEnum<{
|
|
10003
|
-
SUSPENDED: "SUSPENDED";
|
|
10004
10157
|
ACTIVE: "ACTIVE";
|
|
10158
|
+
SUSPENDED: "SUSPENDED";
|
|
10005
10159
|
}>;
|
|
10006
10160
|
secretPrefix: z$1.ZodString;
|
|
10007
10161
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10019,8 +10173,8 @@ export declare const webhookCreatedSchema: z$1.ZodObject<{
|
|
|
10019
10173
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10020
10174
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10021
10175
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10022
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10023
10176
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10177
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10024
10178
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10025
10179
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10026
10180
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10033,10 +10187,11 @@ export declare const webhookCreatedSchema: z$1.ZodObject<{
|
|
|
10033
10187
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10034
10188
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10035
10189
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10190
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10036
10191
|
}>>;
|
|
10037
10192
|
status: z$1.ZodEnum<{
|
|
10038
|
-
SUSPENDED: "SUSPENDED";
|
|
10039
10193
|
ACTIVE: "ACTIVE";
|
|
10194
|
+
SUSPENDED: "SUSPENDED";
|
|
10040
10195
|
}>;
|
|
10041
10196
|
secretPrefix: z$1.ZodString;
|
|
10042
10197
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10110,8 +10265,8 @@ export declare const webhookDeliverySchema: z$1.ZodObject<{
|
|
|
10110
10265
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10111
10266
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10112
10267
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10113
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10114
10268
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10269
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10115
10270
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10116
10271
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10117
10272
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10124,6 +10279,7 @@ export declare const webhookDeliverySchema: z$1.ZodObject<{
|
|
|
10124
10279
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10125
10280
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10126
10281
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10282
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10127
10283
|
}>;
|
|
10128
10284
|
url: z$1.ZodString;
|
|
10129
10285
|
status: z$1.ZodEnum<{
|
|
@@ -10174,8 +10330,8 @@ export declare const webhookDeliveryDetailSchema: z$1.ZodObject<{
|
|
|
10174
10330
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10175
10331
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10176
10332
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10177
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10178
10333
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10334
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10179
10335
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10180
10336
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10181
10337
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10188,6 +10344,7 @@ export declare const webhookDeliveryDetailSchema: z$1.ZodObject<{
|
|
|
10188
10344
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10189
10345
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10190
10346
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10347
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10191
10348
|
}>;
|
|
10192
10349
|
url: z$1.ZodString;
|
|
10193
10350
|
status: z$1.ZodEnum<{
|
|
@@ -10247,8 +10404,8 @@ export declare const webhookDeliveryListQuerySchema: z$1.ZodObject<{
|
|
|
10247
10404
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10248
10405
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10249
10406
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10250
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10251
10407
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10408
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10252
10409
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10253
10410
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10254
10411
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10261,6 +10418,7 @@ export declare const webhookDeliveryListQuerySchema: z$1.ZodObject<{
|
|
|
10261
10418
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10262
10419
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10263
10420
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10421
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10264
10422
|
}>>;
|
|
10265
10423
|
resourceId: z$1.ZodOptional<z$1.ZodString>;
|
|
10266
10424
|
limit: z$1.ZodOptional<z$1.ZodCoercedNumber<unknown>>;
|
|
@@ -10279,8 +10437,8 @@ export declare const webhookTestRequestSchema: z$1.ZodObject<{
|
|
|
10279
10437
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10280
10438
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10281
10439
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10282
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10283
10440
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10441
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10284
10442
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10285
10443
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10286
10444
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10293,6 +10451,7 @@ export declare const webhookTestRequestSchema: z$1.ZodObject<{
|
|
|
10293
10451
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10294
10452
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10295
10453
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10454
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10296
10455
|
}>;
|
|
10297
10456
|
}, z$1.core.$strip>;
|
|
10298
10457
|
export type WebhookTestRequest = z$1.infer<typeof webhookTestRequestSchema>;
|
|
@@ -10331,8 +10490,8 @@ export declare const webhookRequestSchema: z$1.ZodObject<{
|
|
|
10331
10490
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10332
10491
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10333
10492
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10334
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10335
10493
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10494
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10336
10495
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10337
10496
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10338
10497
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10345,6 +10504,7 @@ export declare const webhookRequestSchema: z$1.ZodObject<{
|
|
|
10345
10504
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10346
10505
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10347
10506
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10507
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10348
10508
|
}>>;
|
|
10349
10509
|
}, z$1.core.$strip>;
|
|
10350
10510
|
export type WebhookRequest = z$1.infer<typeof webhookRequestSchema>;
|
|
@@ -10425,24 +10585,24 @@ export declare const orderSummarySchema: z$1.ZodObject<{
|
|
|
10425
10585
|
itemCount: z$1.ZodNumber;
|
|
10426
10586
|
totalAmount: z$1.ZodNumber;
|
|
10427
10587
|
representativeStatus: z$1.ZodEnum<{
|
|
10428
|
-
PAID: "PAID";
|
|
10429
|
-
CANCELED: "CANCELED";
|
|
10430
10588
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10589
|
+
PAID: "PAID";
|
|
10431
10590
|
CONFIRMED: "CONFIRMED";
|
|
10432
10591
|
DISPATCHED: "DISPATCHED";
|
|
10433
10592
|
DELIVERING: "DELIVERING";
|
|
10434
10593
|
DELIVERED: "DELIVERED";
|
|
10435
10594
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10595
|
+
CANCELED: "CANCELED";
|
|
10436
10596
|
}>;
|
|
10437
10597
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10438
|
-
PAID: "PAID";
|
|
10439
|
-
CANCELED: "CANCELED";
|
|
10440
10598
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10599
|
+
PAID: "PAID";
|
|
10441
10600
|
CONFIRMED: "CONFIRMED";
|
|
10442
10601
|
DISPATCHED: "DISPATCHED";
|
|
10443
10602
|
DELIVERING: "DELIVERING";
|
|
10444
10603
|
DELIVERED: "DELIVERED";
|
|
10445
10604
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10605
|
+
CANCELED: "CANCELED";
|
|
10446
10606
|
}>>;
|
|
10447
10607
|
orderedAt: z$1.ZodString;
|
|
10448
10608
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10475,14 +10635,14 @@ export declare const orderItemSchema: z$1.ZodObject<{
|
|
|
10475
10635
|
orderId: z$1.ZodString;
|
|
10476
10636
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10477
10637
|
status: z$1.ZodEnum<{
|
|
10478
|
-
PAID: "PAID";
|
|
10479
|
-
CANCELED: "CANCELED";
|
|
10480
10638
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10639
|
+
PAID: "PAID";
|
|
10481
10640
|
CONFIRMED: "CONFIRMED";
|
|
10482
10641
|
DISPATCHED: "DISPATCHED";
|
|
10483
10642
|
DELIVERING: "DELIVERING";
|
|
10484
10643
|
DELIVERED: "DELIVERED";
|
|
10485
10644
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10645
|
+
CANCELED: "CANCELED";
|
|
10486
10646
|
}>;
|
|
10487
10647
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10488
10648
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10606,14 +10766,14 @@ export type OrderPayment = z$1.infer<typeof orderPaymentSchema>;
|
|
|
10606
10766
|
export declare const orderSchema: z$1.ZodObject<{
|
|
10607
10767
|
orderId: z$1.ZodString;
|
|
10608
10768
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10609
|
-
PAID: "PAID";
|
|
10610
|
-
CANCELED: "CANCELED";
|
|
10611
10769
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10770
|
+
PAID: "PAID";
|
|
10612
10771
|
CONFIRMED: "CONFIRMED";
|
|
10613
10772
|
DISPATCHED: "DISPATCHED";
|
|
10614
10773
|
DELIVERING: "DELIVERING";
|
|
10615
10774
|
DELIVERED: "DELIVERED";
|
|
10616
10775
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10776
|
+
CANCELED: "CANCELED";
|
|
10617
10777
|
}>>;
|
|
10618
10778
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10619
10779
|
orderedAt: z$1.ZodString;
|
|
@@ -10729,14 +10889,14 @@ export declare const orderSchema: z$1.ZodObject<{
|
|
|
10729
10889
|
orderId: z$1.ZodString;
|
|
10730
10890
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10731
10891
|
status: z$1.ZodEnum<{
|
|
10732
|
-
PAID: "PAID";
|
|
10733
|
-
CANCELED: "CANCELED";
|
|
10734
10892
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10893
|
+
PAID: "PAID";
|
|
10735
10894
|
CONFIRMED: "CONFIRMED";
|
|
10736
10895
|
DISPATCHED: "DISPATCHED";
|
|
10737
10896
|
DELIVERING: "DELIVERING";
|
|
10738
10897
|
DELIVERED: "DELIVERED";
|
|
10739
10898
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10899
|
+
CANCELED: "CANCELED";
|
|
10740
10900
|
}>;
|
|
10741
10901
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10742
10902
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10851,24 +11011,24 @@ export declare const orderSummaryPageSchema: z$1.ZodObject<{
|
|
|
10851
11011
|
itemCount: z$1.ZodNumber;
|
|
10852
11012
|
totalAmount: z$1.ZodNumber;
|
|
10853
11013
|
representativeStatus: z$1.ZodEnum<{
|
|
10854
|
-
PAID: "PAID";
|
|
10855
|
-
CANCELED: "CANCELED";
|
|
10856
11014
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11015
|
+
PAID: "PAID";
|
|
10857
11016
|
CONFIRMED: "CONFIRMED";
|
|
10858
11017
|
DISPATCHED: "DISPATCHED";
|
|
10859
11018
|
DELIVERING: "DELIVERING";
|
|
10860
11019
|
DELIVERED: "DELIVERED";
|
|
10861
11020
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11021
|
+
CANCELED: "CANCELED";
|
|
10862
11022
|
}>;
|
|
10863
11023
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10864
|
-
PAID: "PAID";
|
|
10865
|
-
CANCELED: "CANCELED";
|
|
10866
11024
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11025
|
+
PAID: "PAID";
|
|
10867
11026
|
CONFIRMED: "CONFIRMED";
|
|
10868
11027
|
DISPATCHED: "DISPATCHED";
|
|
10869
11028
|
DELIVERING: "DELIVERING";
|
|
10870
11029
|
DELIVERED: "DELIVERED";
|
|
10871
11030
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11031
|
+
CANCELED: "CANCELED";
|
|
10872
11032
|
}>>;
|
|
10873
11033
|
orderedAt: z$1.ZodString;
|
|
10874
11034
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10888,14 +11048,14 @@ export declare const orderItemPageSchema: z$1.ZodObject<{
|
|
|
10888
11048
|
orderId: z$1.ZodString;
|
|
10889
11049
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10890
11050
|
status: z$1.ZodEnum<{
|
|
10891
|
-
PAID: "PAID";
|
|
10892
|
-
CANCELED: "CANCELED";
|
|
10893
11051
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11052
|
+
PAID: "PAID";
|
|
10894
11053
|
CONFIRMED: "CONFIRMED";
|
|
10895
11054
|
DISPATCHED: "DISPATCHED";
|
|
10896
11055
|
DELIVERING: "DELIVERING";
|
|
10897
11056
|
DELIVERED: "DELIVERED";
|
|
10898
11057
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11058
|
+
CANCELED: "CANCELED";
|
|
10899
11059
|
}>;
|
|
10900
11060
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10901
11061
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -11008,14 +11168,14 @@ export declare const orderListQuerySchema: z$1.ZodObject<{
|
|
|
11008
11168
|
orderedFrom: z$1.ZodOptional<z$1.ZodString>;
|
|
11009
11169
|
orderedTo: z$1.ZodOptional<z$1.ZodString>;
|
|
11010
11170
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
11011
|
-
PAID: "PAID";
|
|
11012
|
-
CANCELED: "CANCELED";
|
|
11013
11171
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11172
|
+
PAID: "PAID";
|
|
11014
11173
|
CONFIRMED: "CONFIRMED";
|
|
11015
11174
|
DISPATCHED: "DISPATCHED";
|
|
11016
11175
|
DELIVERING: "DELIVERING";
|
|
11017
11176
|
DELIVERED: "DELIVERED";
|
|
11018
11177
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11178
|
+
CANCELED: "CANCELED";
|
|
11019
11179
|
}>>;
|
|
11020
11180
|
keyword: z$1.ZodOptional<z$1.ZodString>;
|
|
11021
11181
|
orderNo: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -11124,14 +11284,14 @@ export declare const shippingOrderItemSchema: z$1.ZodObject<{
|
|
|
11124
11284
|
orderId: z$1.ZodString;
|
|
11125
11285
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
11126
11286
|
status: z$1.ZodEnum<{
|
|
11127
|
-
PAID: "PAID";
|
|
11128
|
-
CANCELED: "CANCELED";
|
|
11129
11287
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11288
|
+
PAID: "PAID";
|
|
11130
11289
|
CONFIRMED: "CONFIRMED";
|
|
11131
11290
|
DISPATCHED: "DISPATCHED";
|
|
11132
11291
|
DELIVERING: "DELIVERING";
|
|
11133
11292
|
DELIVERED: "DELIVERED";
|
|
11134
11293
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11294
|
+
CANCELED: "CANCELED";
|
|
11135
11295
|
}>;
|
|
11136
11296
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
11137
11297
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -11284,14 +11444,14 @@ export declare const shippingOrderItemPageSchema: z$1.ZodObject<{
|
|
|
11284
11444
|
orderId: z$1.ZodString;
|
|
11285
11445
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
11286
11446
|
status: z$1.ZodEnum<{
|
|
11287
|
-
PAID: "PAID";
|
|
11288
|
-
CANCELED: "CANCELED";
|
|
11289
11447
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11448
|
+
PAID: "PAID";
|
|
11290
11449
|
CONFIRMED: "CONFIRMED";
|
|
11291
11450
|
DISPATCHED: "DISPATCHED";
|
|
11292
11451
|
DELIVERING: "DELIVERING";
|
|
11293
11452
|
DELIVERED: "DELIVERED";
|
|
11294
11453
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11454
|
+
CANCELED: "CANCELED";
|
|
11295
11455
|
}>;
|
|
11296
11456
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
11297
11457
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -11543,10 +11703,21 @@ export declare const cancelBySellerRequestSchema: z$1.ZodObject<{
|
|
|
11543
11703
|
BUYER: "BUYER";
|
|
11544
11704
|
}>>;
|
|
11545
11705
|
deductAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11706
|
+
refundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11546
11707
|
restock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11547
11708
|
reclaimPurchasePoints: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11548
11709
|
}, z$1.core.$strip>;
|
|
11549
11710
|
export type CancelBySellerRequest = z$1.infer<typeof cancelBySellerRequestSchema>;
|
|
11711
|
+
/**
|
|
11712
|
+
* 금액만 환불 요청(#365) — `POST /v1/orders/{orderId}/refunds`. 주문상품 상태·수량·재고·적립금·쿠폰·배송비 정산을 바꾸지 않고
|
|
11713
|
+
* 결제에서 금액만 돌려준다. 헤더 `Idempotency-Key`가 필수다
|
|
11714
|
+
*/
|
|
11715
|
+
export declare const sellerRefundRequestSchema: z$1.ZodObject<{
|
|
11716
|
+
amount: z$1.ZodNumber;
|
|
11717
|
+
reason: z$1.ZodString;
|
|
11718
|
+
paymentId: z$1.ZodOptional<z$1.ZodString>;
|
|
11719
|
+
}, z$1.core.$strip>;
|
|
11720
|
+
export type SellerRefundRequest = z$1.infer<typeof sellerRefundRequestSchema>;
|
|
11550
11721
|
/**
|
|
11551
11722
|
* 제공 처리 요청 (이슈 #48) — `POST /v1/order-items/{orderItemId}/fulfill`. 배송 없는 주문상품(`MANUAL`)을
|
|
11552
11723
|
* 제공 완료(`DELIVERED`)로 바꾼다.
|
|
@@ -11565,6 +11736,7 @@ export type FulfillBulkRequest = z$1.infer<typeof fulfillBulkRequestSchema>;
|
|
|
11565
11736
|
export declare const cancelBySellerResultSchema: z$1.ZodObject<{
|
|
11566
11737
|
orderItemId: z$1.ZodString;
|
|
11567
11738
|
refundAmount: z$1.ZodNumber;
|
|
11739
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11568
11740
|
quantity: z$1.ZodNumber;
|
|
11569
11741
|
canceledQuantity: z$1.ZodNumber;
|
|
11570
11742
|
deliveryFeeRefundAmount: z$1.ZodNumber;
|
|
@@ -12740,9 +12912,9 @@ export type SalesReport = z$1.infer<typeof salesReportSchema>;
|
|
|
12740
12912
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
12741
12913
|
*/
|
|
12742
12914
|
export declare const paymentRecordStatusSchema: z$1.ZodEnum<{
|
|
12915
|
+
APPROVED: "APPROVED";
|
|
12743
12916
|
PENDING: "PENDING";
|
|
12744
12917
|
FAILED: "FAILED";
|
|
12745
|
-
APPROVED: "APPROVED";
|
|
12746
12918
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12747
12919
|
REFUNDED: "REFUNDED";
|
|
12748
12920
|
}>;
|
|
@@ -12785,9 +12957,9 @@ export declare const paymentRecordSchema: z$1.ZodObject<{
|
|
|
12785
12957
|
orderName: z$1.ZodString;
|
|
12786
12958
|
customerName: z$1.ZodString;
|
|
12787
12959
|
status: z$1.ZodEnum<{
|
|
12960
|
+
APPROVED: "APPROVED";
|
|
12788
12961
|
PENDING: "PENDING";
|
|
12789
12962
|
FAILED: "FAILED";
|
|
12790
|
-
APPROVED: "APPROVED";
|
|
12791
12963
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12792
12964
|
REFUNDED: "REFUNDED";
|
|
12793
12965
|
}>;
|
|
@@ -12830,9 +13002,9 @@ export declare const paymentRecordPageSchema: z$1.ZodObject<{
|
|
|
12830
13002
|
orderName: z$1.ZodString;
|
|
12831
13003
|
customerName: z$1.ZodString;
|
|
12832
13004
|
status: z$1.ZodEnum<{
|
|
13005
|
+
APPROVED: "APPROVED";
|
|
12833
13006
|
PENDING: "PENDING";
|
|
12834
13007
|
FAILED: "FAILED";
|
|
12835
|
-
APPROVED: "APPROVED";
|
|
12836
13008
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12837
13009
|
REFUNDED: "REFUNDED";
|
|
12838
13010
|
}>;
|
|
@@ -12903,6 +13075,7 @@ export declare const paymentRefundRecordSchema: z$1.ZodObject<{
|
|
|
12903
13075
|
refundId: z$1.ZodString;
|
|
12904
13076
|
amount: z$1.ZodNumber;
|
|
12905
13077
|
pointRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
13078
|
+
calculatedAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
12906
13079
|
reason: z$1.ZodString;
|
|
12907
13080
|
kind: z$1.ZodString;
|
|
12908
13081
|
status: z$1.ZodString;
|
|
@@ -12917,9 +13090,9 @@ export declare const paymentRecordDetailSchema: z$1.ZodObject<{
|
|
|
12917
13090
|
orderName: z$1.ZodString;
|
|
12918
13091
|
customerName: z$1.ZodString;
|
|
12919
13092
|
status: z$1.ZodEnum<{
|
|
13093
|
+
APPROVED: "APPROVED";
|
|
12920
13094
|
PENDING: "PENDING";
|
|
12921
13095
|
FAILED: "FAILED";
|
|
12922
|
-
APPROVED: "APPROVED";
|
|
12923
13096
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12924
13097
|
REFUNDED: "REFUNDED";
|
|
12925
13098
|
}>;
|
|
@@ -12950,6 +13123,7 @@ export declare const paymentRecordDetailSchema: z$1.ZodObject<{
|
|
|
12950
13123
|
createdAt: z$1.ZodString;
|
|
12951
13124
|
cashReceiptStatus: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
12952
13125
|
refundableAmount: z$1.ZodNumber;
|
|
13126
|
+
availableRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12953
13127
|
merchantId: z$1.ZodNullable<z$1.ZodString>;
|
|
12954
13128
|
attempts: z$1.ZodArray<z$1.ZodObject<{
|
|
12955
13129
|
attemptId: z$1.ZodString;
|
|
@@ -12988,6 +13162,7 @@ export declare const paymentRecordDetailSchema: z$1.ZodObject<{
|
|
|
12988
13162
|
refundId: z$1.ZodString;
|
|
12989
13163
|
amount: z$1.ZodNumber;
|
|
12990
13164
|
pointRefundAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
13165
|
+
calculatedAmount: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
12991
13166
|
reason: z$1.ZodString;
|
|
12992
13167
|
kind: z$1.ZodString;
|
|
12993
13168
|
status: z$1.ZodString;
|
|
@@ -13281,11 +13456,11 @@ export type PointEntry = z$1.infer<typeof pointEntrySchema>;
|
|
|
13281
13456
|
export declare const pointLotSchema: z$1.ZodObject<{
|
|
13282
13457
|
lotId: z$1.ZodString;
|
|
13283
13458
|
source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13459
|
+
PURCHASE: "PURCHASE";
|
|
13284
13460
|
OPENING: "OPENING";
|
|
13285
13461
|
ADJUST: "ADJUST";
|
|
13286
13462
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13287
13463
|
REVIEW: "REVIEW";
|
|
13288
|
-
PURCHASE: "PURCHASE";
|
|
13289
13464
|
COUPON: "COUPON";
|
|
13290
13465
|
}>, z$1.ZodString]>;
|
|
13291
13466
|
amount: z$1.ZodNumber;
|
|
@@ -13301,11 +13476,11 @@ export declare const customerPointsSchema: z$1.ZodObject<{
|
|
|
13301
13476
|
lots: z$1.ZodArray<z$1.ZodObject<{
|
|
13302
13477
|
lotId: z$1.ZodString;
|
|
13303
13478
|
source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13479
|
+
PURCHASE: "PURCHASE";
|
|
13304
13480
|
OPENING: "OPENING";
|
|
13305
13481
|
ADJUST: "ADJUST";
|
|
13306
13482
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13307
13483
|
REVIEW: "REVIEW";
|
|
13308
|
-
PURCHASE: "PURCHASE";
|
|
13309
13484
|
COUPON: "COUPON";
|
|
13310
13485
|
}>, z$1.ZodString]>;
|
|
13311
13486
|
amount: z$1.ZodNumber;
|
|
@@ -13393,10 +13568,10 @@ export declare function splitRefund(input: {
|
|
|
13393
13568
|
//#endregion
|
|
13394
13569
|
//#region src/schemas/product.d.ts
|
|
13395
13570
|
export declare const productStatusSchema: z$1.ZodEnum<{
|
|
13396
|
-
SALE: "SALE";
|
|
13397
13571
|
SUSPENDED: "SUSPENDED";
|
|
13398
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13399
13572
|
CLOSED: "CLOSED";
|
|
13573
|
+
SALE: "SALE";
|
|
13574
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13400
13575
|
}>;
|
|
13401
13576
|
export type ProductStatus = z$1.infer<typeof productStatusSchema>;
|
|
13402
13577
|
export declare const productSummarySchema: z$1.ZodObject<{
|
|
@@ -13404,10 +13579,10 @@ export declare const productSummarySchema: z$1.ZodObject<{
|
|
|
13404
13579
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13405
13580
|
name: z$1.ZodString;
|
|
13406
13581
|
status: z$1.ZodEnum<{
|
|
13407
|
-
SALE: "SALE";
|
|
13408
13582
|
SUSPENDED: "SUSPENDED";
|
|
13409
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13410
13583
|
CLOSED: "CLOSED";
|
|
13584
|
+
SALE: "SALE";
|
|
13585
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13411
13586
|
}>;
|
|
13412
13587
|
salePrice: z$1.ZodNumber;
|
|
13413
13588
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -13628,9 +13803,9 @@ export declare const customInputRequestSchema: z$1.ZodObject<{
|
|
|
13628
13803
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
13629
13804
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13630
13805
|
number: "number";
|
|
13806
|
+
select: "select";
|
|
13631
13807
|
date: "date";
|
|
13632
13808
|
text: "text";
|
|
13633
|
-
select: "select";
|
|
13634
13809
|
datetime: "datetime";
|
|
13635
13810
|
image: "image";
|
|
13636
13811
|
}>>;
|
|
@@ -13671,20 +13846,20 @@ export type Discount = z$1.infer<typeof discountSchema>;
|
|
|
13671
13846
|
export declare const productSchema: z$1.ZodObject<{
|
|
13672
13847
|
name: z$1.ZodString;
|
|
13673
13848
|
status: z$1.ZodEnum<{
|
|
13674
|
-
SALE: "SALE";
|
|
13675
13849
|
SUSPENDED: "SUSPENDED";
|
|
13676
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13677
13850
|
CLOSED: "CLOSED";
|
|
13851
|
+
SALE: "SALE";
|
|
13852
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13678
13853
|
}>;
|
|
13854
|
+
updatedAt: z$1.ZodString;
|
|
13855
|
+
productId: z$1.ZodString;
|
|
13679
13856
|
salePrice: z$1.ZodNumber;
|
|
13680
13857
|
stockQuantity: z$1.ZodNumber;
|
|
13681
13858
|
categoryId: z$1.ZodNullable<z$1.ZodString>;
|
|
13682
|
-
productId: z$1.ZodString;
|
|
13683
13859
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13684
13860
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13685
13861
|
thumbnailUrl: z$1.ZodOptional<z$1.ZodURL>;
|
|
13686
13862
|
hasOptions: z$1.ZodBoolean;
|
|
13687
|
-
updatedAt: z$1.ZodString;
|
|
13688
13863
|
sample: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
13689
13864
|
prices: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13690
13865
|
currency: z$1.ZodString;
|
|
@@ -13770,8 +13945,8 @@ export declare const productSchema: z$1.ZodObject<{
|
|
|
13770
13945
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
13771
13946
|
shipping: z$1.ZodObject<{
|
|
13772
13947
|
deliveryType: z$1.ZodEnum<{
|
|
13773
|
-
FREE: "FREE";
|
|
13774
13948
|
PAID: "PAID";
|
|
13949
|
+
FREE: "FREE";
|
|
13775
13950
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
13776
13951
|
}>;
|
|
13777
13952
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14019,9 +14194,9 @@ export declare const optionModelRequestSchema: z$1.ZodObject<{
|
|
|
14019
14194
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14020
14195
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14021
14196
|
number: "number";
|
|
14197
|
+
select: "select";
|
|
14022
14198
|
date: "date";
|
|
14023
14199
|
text: "text";
|
|
14024
|
-
select: "select";
|
|
14025
14200
|
datetime: "datetime";
|
|
14026
14201
|
image: "image";
|
|
14027
14202
|
}>>;
|
|
@@ -14129,8 +14304,8 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14129
14304
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14130
14305
|
shipping: z$1.ZodOptional<z$1.ZodObject<{
|
|
14131
14306
|
deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
14132
|
-
FREE: "FREE";
|
|
14133
14307
|
PAID: "PAID";
|
|
14308
|
+
FREE: "FREE";
|
|
14134
14309
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14135
14310
|
}>>;
|
|
14136
14311
|
deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -14161,16 +14336,16 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14161
14336
|
}, z$1.core.$strict>>>;
|
|
14162
14337
|
}, z$1.core.$strict>>;
|
|
14163
14338
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14164
|
-
CARRIER: "CARRIER";
|
|
14165
14339
|
DIRECT: "DIRECT";
|
|
14340
|
+
CARRIER: "CARRIER";
|
|
14166
14341
|
PICKUP: "PICKUP";
|
|
14167
14342
|
PROVIDED: "PROVIDED";
|
|
14168
14343
|
}>>>;
|
|
14169
14344
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14170
14345
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14171
14346
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14172
|
-
CARRIER: "CARRIER";
|
|
14173
14347
|
DIRECT: "DIRECT";
|
|
14348
|
+
CARRIER: "CARRIER";
|
|
14174
14349
|
PICKUP: "PICKUP";
|
|
14175
14350
|
PROVIDED: "PROVIDED";
|
|
14176
14351
|
}>>>;
|
|
@@ -14265,9 +14440,9 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14265
14440
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14266
14441
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14267
14442
|
number: "number";
|
|
14443
|
+
select: "select";
|
|
14268
14444
|
date: "date";
|
|
14269
14445
|
text: "text";
|
|
14270
|
-
select: "select";
|
|
14271
14446
|
datetime: "datetime";
|
|
14272
14447
|
image: "image";
|
|
14273
14448
|
}>>;
|
|
@@ -14373,8 +14548,8 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14373
14548
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14374
14549
|
shipping: z$1.ZodObject<{
|
|
14375
14550
|
deliveryType: z$1.ZodEnum<{
|
|
14376
|
-
FREE: "FREE";
|
|
14377
14551
|
PAID: "PAID";
|
|
14552
|
+
FREE: "FREE";
|
|
14378
14553
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14379
14554
|
}>;
|
|
14380
14555
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14405,16 +14580,16 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14405
14580
|
}, z$1.core.$strict>>>;
|
|
14406
14581
|
}, z$1.core.$strict>;
|
|
14407
14582
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14408
|
-
CARRIER: "CARRIER";
|
|
14409
14583
|
DIRECT: "DIRECT";
|
|
14584
|
+
CARRIER: "CARRIER";
|
|
14410
14585
|
PICKUP: "PICKUP";
|
|
14411
14586
|
PROVIDED: "PROVIDED";
|
|
14412
14587
|
}>>>;
|
|
14413
14588
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14414
14589
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14415
14590
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14416
|
-
CARRIER: "CARRIER";
|
|
14417
14591
|
DIRECT: "DIRECT";
|
|
14592
|
+
CARRIER: "CARRIER";
|
|
14418
14593
|
PICKUP: "PICKUP";
|
|
14419
14594
|
PROVIDED: "PROVIDED";
|
|
14420
14595
|
}>>>;
|
|
@@ -14509,9 +14684,9 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14509
14684
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14510
14685
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14511
14686
|
number: "number";
|
|
14687
|
+
select: "select";
|
|
14512
14688
|
date: "date";
|
|
14513
14689
|
text: "text";
|
|
14514
|
-
select: "select";
|
|
14515
14690
|
datetime: "datetime";
|
|
14516
14691
|
image: "image";
|
|
14517
14692
|
}>>;
|
|
@@ -14615,10 +14790,10 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14615
14790
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
14616
14791
|
salePrice: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14617
14792
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14618
|
-
SALE: "SALE";
|
|
14619
14793
|
SUSPENDED: "SUSPENDED";
|
|
14620
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14621
14794
|
CLOSED: "CLOSED";
|
|
14795
|
+
SALE: "SALE";
|
|
14796
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14622
14797
|
}>>;
|
|
14623
14798
|
flowId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14624
14799
|
images: z$1.ZodOptional<z$1.ZodArray<z$1.ZodURL>>;
|
|
@@ -14626,8 +14801,8 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14626
14801
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14627
14802
|
shipping: z$1.ZodObject<{
|
|
14628
14803
|
deliveryType: z$1.ZodEnum<{
|
|
14629
|
-
FREE: "FREE";
|
|
14630
14804
|
PAID: "PAID";
|
|
14805
|
+
FREE: "FREE";
|
|
14631
14806
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14632
14807
|
}>;
|
|
14633
14808
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14658,16 +14833,16 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14658
14833
|
}, z$1.core.$strict>>>;
|
|
14659
14834
|
}, z$1.core.$strict>;
|
|
14660
14835
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14661
|
-
CARRIER: "CARRIER";
|
|
14662
14836
|
DIRECT: "DIRECT";
|
|
14837
|
+
CARRIER: "CARRIER";
|
|
14663
14838
|
PICKUP: "PICKUP";
|
|
14664
14839
|
PROVIDED: "PROVIDED";
|
|
14665
14840
|
}>>>;
|
|
14666
14841
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14667
14842
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14668
14843
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14669
|
-
CARRIER: "CARRIER";
|
|
14670
14844
|
DIRECT: "DIRECT";
|
|
14845
|
+
CARRIER: "CARRIER";
|
|
14671
14846
|
PICKUP: "PICKUP";
|
|
14672
14847
|
PROVIDED: "PROVIDED";
|
|
14673
14848
|
}>>>;
|
|
@@ -14748,10 +14923,10 @@ export declare const productListQuerySchema: z$1.ZodObject<{
|
|
|
14748
14923
|
page: z$1.ZodOptional<z$1.ZodString>;
|
|
14749
14924
|
size: z$1.ZodOptional<z$1.ZodString>;
|
|
14750
14925
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14751
|
-
SALE: "SALE";
|
|
14752
14926
|
SUSPENDED: "SUSPENDED";
|
|
14753
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14754
14927
|
CLOSED: "CLOSED";
|
|
14928
|
+
SALE: "SALE";
|
|
14929
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14755
14930
|
}>>;
|
|
14756
14931
|
categoryId: z$1.ZodOptional<z$1.ZodString>;
|
|
14757
14932
|
keyword: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -14788,10 +14963,10 @@ export declare const MAX_PRODUCT_IMPORT_ITEMS = 1000;
|
|
|
14788
14963
|
export declare const MAX_PRODUCT_IMPORT_ITEMS_PER_REQUEST = 100;
|
|
14789
14964
|
export declare const productImportStatusSchema: z.ZodEnum<{
|
|
14790
14965
|
FAILED: "FAILED";
|
|
14791
|
-
SUCCEEDED: "SUCCEEDED";
|
|
14792
|
-
DRAFT: "DRAFT";
|
|
14793
14966
|
QUEUED: "QUEUED";
|
|
14794
14967
|
RUNNING: "RUNNING";
|
|
14968
|
+
SUCCEEDED: "SUCCEEDED";
|
|
14969
|
+
DRAFT: "DRAFT";
|
|
14795
14970
|
}>;
|
|
14796
14971
|
export type ProductImportStatus = z.infer<typeof productImportStatusSchema>;
|
|
14797
14972
|
export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -14802,8 +14977,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14802
14977
|
type: z.ZodLiteral<"SHIPPING">;
|
|
14803
14978
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
14804
14979
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
14805
|
-
FREE: "FREE";
|
|
14806
14980
|
PAID: "PAID";
|
|
14981
|
+
FREE: "FREE";
|
|
14807
14982
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14808
14983
|
}>>;
|
|
14809
14984
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14834,16 +15009,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14834
15009
|
}, z.core.$strict>>>;
|
|
14835
15010
|
}, z.core.$strict>>;
|
|
14836
15011
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14837
|
-
CARRIER: "CARRIER";
|
|
14838
15012
|
DIRECT: "DIRECT";
|
|
15013
|
+
CARRIER: "CARRIER";
|
|
14839
15014
|
PICKUP: "PICKUP";
|
|
14840
15015
|
PROVIDED: "PROVIDED";
|
|
14841
15016
|
}>>>;
|
|
14842
15017
|
}, z.core.$strict>, z.ZodObject<{
|
|
14843
15018
|
type: z.ZodLiteral<"MANUAL">;
|
|
14844
15019
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14845
|
-
CARRIER: "CARRIER";
|
|
14846
15020
|
DIRECT: "DIRECT";
|
|
15021
|
+
CARRIER: "CARRIER";
|
|
14847
15022
|
PICKUP: "PICKUP";
|
|
14848
15023
|
PROVIDED: "PROVIDED";
|
|
14849
15024
|
}>>>;
|
|
@@ -14938,9 +15113,9 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14938
15113
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14939
15114
|
type: z.ZodOptional<z.ZodEnum<{
|
|
14940
15115
|
number: "number";
|
|
15116
|
+
select: "select";
|
|
14941
15117
|
date: "date";
|
|
14942
15118
|
text: "text";
|
|
14943
|
-
select: "select";
|
|
14944
15119
|
datetime: "datetime";
|
|
14945
15120
|
image: "image";
|
|
14946
15121
|
}>>;
|
|
@@ -15039,10 +15214,10 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15039
15214
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15040
15215
|
}, z.core.$strict>;
|
|
15041
15216
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15042
|
-
SALE: "SALE";
|
|
15043
15217
|
SUSPENDED: "SUSPENDED";
|
|
15044
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15045
15218
|
CLOSED: "CLOSED";
|
|
15219
|
+
SALE: "SALE";
|
|
15220
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15046
15221
|
}>>;
|
|
15047
15222
|
}, z.core.$strip>, z.ZodObject<{
|
|
15048
15223
|
key: z.ZodString;
|
|
@@ -15054,8 +15229,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15054
15229
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15055
15230
|
shipping: z.ZodObject<{
|
|
15056
15231
|
deliveryType: z.ZodEnum<{
|
|
15057
|
-
FREE: "FREE";
|
|
15058
15232
|
PAID: "PAID";
|
|
15233
|
+
FREE: "FREE";
|
|
15059
15234
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15060
15235
|
}>;
|
|
15061
15236
|
deliveryFee: z.ZodNumber;
|
|
@@ -15086,16 +15261,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15086
15261
|
}, z.core.$strict>>>;
|
|
15087
15262
|
}, z.core.$strict>;
|
|
15088
15263
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15089
|
-
CARRIER: "CARRIER";
|
|
15090
15264
|
DIRECT: "DIRECT";
|
|
15265
|
+
CARRIER: "CARRIER";
|
|
15091
15266
|
PICKUP: "PICKUP";
|
|
15092
15267
|
PROVIDED: "PROVIDED";
|
|
15093
15268
|
}>>>;
|
|
15094
15269
|
}, z.core.$strict>, z.ZodObject<{
|
|
15095
15270
|
type: z.ZodLiteral<"MANUAL">;
|
|
15096
15271
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15097
|
-
CARRIER: "CARRIER";
|
|
15098
15272
|
DIRECT: "DIRECT";
|
|
15273
|
+
CARRIER: "CARRIER";
|
|
15099
15274
|
PICKUP: "PICKUP";
|
|
15100
15275
|
PROVIDED: "PROVIDED";
|
|
15101
15276
|
}>>>;
|
|
@@ -15190,9 +15365,9 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15190
15365
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15191
15366
|
type: z.ZodOptional<z.ZodEnum<{
|
|
15192
15367
|
number: "number";
|
|
15368
|
+
select: "select";
|
|
15193
15369
|
date: "date";
|
|
15194
15370
|
text: "text";
|
|
15195
|
-
select: "select";
|
|
15196
15371
|
datetime: "datetime";
|
|
15197
15372
|
image: "image";
|
|
15198
15373
|
}>>;
|
|
@@ -15291,10 +15466,10 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15291
15466
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15292
15467
|
}, z.core.$strict>;
|
|
15293
15468
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15294
|
-
SALE: "SALE";
|
|
15295
15469
|
SUSPENDED: "SUSPENDED";
|
|
15296
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15297
15470
|
CLOSED: "CLOSED";
|
|
15471
|
+
SALE: "SALE";
|
|
15472
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15298
15473
|
}>>;
|
|
15299
15474
|
expectedStock: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
15300
15475
|
}, z.core.$strip>], "action">;
|
|
@@ -15309,8 +15484,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15309
15484
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15310
15485
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
15311
15486
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
15312
|
-
FREE: "FREE";
|
|
15313
15487
|
PAID: "PAID";
|
|
15488
|
+
FREE: "FREE";
|
|
15314
15489
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15315
15490
|
}>>;
|
|
15316
15491
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15341,16 +15516,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15341
15516
|
}, z.core.$strict>>>;
|
|
15342
15517
|
}, z.core.$strict>>;
|
|
15343
15518
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15344
|
-
CARRIER: "CARRIER";
|
|
15345
15519
|
DIRECT: "DIRECT";
|
|
15520
|
+
CARRIER: "CARRIER";
|
|
15346
15521
|
PICKUP: "PICKUP";
|
|
15347
15522
|
PROVIDED: "PROVIDED";
|
|
15348
15523
|
}>>>;
|
|
15349
15524
|
}, z.core.$strict>, z.ZodObject<{
|
|
15350
15525
|
type: z.ZodLiteral<"MANUAL">;
|
|
15351
15526
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15352
|
-
CARRIER: "CARRIER";
|
|
15353
15527
|
DIRECT: "DIRECT";
|
|
15528
|
+
CARRIER: "CARRIER";
|
|
15354
15529
|
PICKUP: "PICKUP";
|
|
15355
15530
|
PROVIDED: "PROVIDED";
|
|
15356
15531
|
}>>>;
|
|
@@ -15445,9 +15620,9 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15445
15620
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15446
15621
|
type: z.ZodOptional<z.ZodEnum<{
|
|
15447
15622
|
number: "number";
|
|
15623
|
+
select: "select";
|
|
15448
15624
|
date: "date";
|
|
15449
15625
|
text: "text";
|
|
15450
|
-
select: "select";
|
|
15451
15626
|
datetime: "datetime";
|
|
15452
15627
|
image: "image";
|
|
15453
15628
|
}>>;
|
|
@@ -15546,10 +15721,10 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15546
15721
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15547
15722
|
}, z.core.$strict>;
|
|
15548
15723
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15549
|
-
SALE: "SALE";
|
|
15550
15724
|
SUSPENDED: "SUSPENDED";
|
|
15551
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15552
15725
|
CLOSED: "CLOSED";
|
|
15726
|
+
SALE: "SALE";
|
|
15727
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15553
15728
|
}>>;
|
|
15554
15729
|
}, z.core.$strip>, z.ZodObject<{
|
|
15555
15730
|
key: z.ZodString;
|
|
@@ -15561,8 +15736,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15561
15736
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15562
15737
|
shipping: z.ZodObject<{
|
|
15563
15738
|
deliveryType: z.ZodEnum<{
|
|
15564
|
-
FREE: "FREE";
|
|
15565
15739
|
PAID: "PAID";
|
|
15740
|
+
FREE: "FREE";
|
|
15566
15741
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15567
15742
|
}>;
|
|
15568
15743
|
deliveryFee: z.ZodNumber;
|
|
@@ -15593,16 +15768,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15593
15768
|
}, z.core.$strict>>>;
|
|
15594
15769
|
}, z.core.$strict>;
|
|
15595
15770
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15596
|
-
CARRIER: "CARRIER";
|
|
15597
15771
|
DIRECT: "DIRECT";
|
|
15772
|
+
CARRIER: "CARRIER";
|
|
15598
15773
|
PICKUP: "PICKUP";
|
|
15599
15774
|
PROVIDED: "PROVIDED";
|
|
15600
15775
|
}>>>;
|
|
15601
15776
|
}, z.core.$strict>, z.ZodObject<{
|
|
15602
15777
|
type: z.ZodLiteral<"MANUAL">;
|
|
15603
15778
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15604
|
-
CARRIER: "CARRIER";
|
|
15605
15779
|
DIRECT: "DIRECT";
|
|
15780
|
+
CARRIER: "CARRIER";
|
|
15606
15781
|
PICKUP: "PICKUP";
|
|
15607
15782
|
PROVIDED: "PROVIDED";
|
|
15608
15783
|
}>>>;
|
|
@@ -15697,9 +15872,9 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15697
15872
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15698
15873
|
type: z.ZodOptional<z.ZodEnum<{
|
|
15699
15874
|
number: "number";
|
|
15875
|
+
select: "select";
|
|
15700
15876
|
date: "date";
|
|
15701
15877
|
text: "text";
|
|
15702
|
-
select: "select";
|
|
15703
15878
|
datetime: "datetime";
|
|
15704
15879
|
image: "image";
|
|
15705
15880
|
}>>;
|
|
@@ -15798,10 +15973,10 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15798
15973
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15799
15974
|
}, z.core.$strict>;
|
|
15800
15975
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15801
|
-
SALE: "SALE";
|
|
15802
15976
|
SUSPENDED: "SUSPENDED";
|
|
15803
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15804
15977
|
CLOSED: "CLOSED";
|
|
15978
|
+
SALE: "SALE";
|
|
15979
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15805
15980
|
}>>;
|
|
15806
15981
|
expectedStock: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
15807
15982
|
}, z.core.$strip>], "action">>;
|
|
@@ -16225,9 +16400,9 @@ export declare const savedCustomInputRequestSchema: z$1.ZodObject<{
|
|
|
16225
16400
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
16226
16401
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16227
16402
|
number: "number";
|
|
16403
|
+
select: "select";
|
|
16228
16404
|
date: "date";
|
|
16229
16405
|
text: "text";
|
|
16230
|
-
select: "select";
|
|
16231
16406
|
datetime: "datetime";
|
|
16232
16407
|
image: "image";
|
|
16233
16408
|
}>>;
|
|
@@ -16265,9 +16440,9 @@ export declare const savedOptionSetRequestSchema: z$1.ZodObject<{
|
|
|
16265
16440
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
16266
16441
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16267
16442
|
number: "number";
|
|
16443
|
+
select: "select";
|
|
16268
16444
|
date: "date";
|
|
16269
16445
|
text: "text";
|
|
16270
|
-
select: "select";
|
|
16271
16446
|
datetime: "datetime";
|
|
16272
16447
|
image: "image";
|
|
16273
16448
|
}>>;
|
|
@@ -16701,9 +16876,9 @@ export declare const storeSchema: z$1.ZodObject<{
|
|
|
16701
16876
|
storeCode: z$1.ZodString;
|
|
16702
16877
|
storefrontUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16703
16878
|
status: z$1.ZodEnum<{
|
|
16879
|
+
ACTIVE: "ACTIVE";
|
|
16704
16880
|
SUSPENDED: "SUSPENDED";
|
|
16705
16881
|
CLOSED: "CLOSED";
|
|
16706
|
-
ACTIVE: "ACTIVE";
|
|
16707
16882
|
}>;
|
|
16708
16883
|
logoUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16709
16884
|
businessNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16715,9 +16890,9 @@ export declare const storeMemberSchema: z$1.ZodObject<{
|
|
|
16715
16890
|
name: z$1.ZodString;
|
|
16716
16891
|
email: z$1.ZodEmail;
|
|
16717
16892
|
role: z$1.ZodEnum<{
|
|
16893
|
+
OWNER: "OWNER";
|
|
16718
16894
|
ADMIN: "ADMIN";
|
|
16719
16895
|
STAFF: "STAFF";
|
|
16720
|
-
OWNER: "OWNER";
|
|
16721
16896
|
}>;
|
|
16722
16897
|
joinedAt: z$1.ZodString;
|
|
16723
16898
|
lastActiveAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16742,10 +16917,10 @@ export declare const invitationSchema: z$1.ZodObject<{
|
|
|
16742
16917
|
STAFF: "STAFF";
|
|
16743
16918
|
}>;
|
|
16744
16919
|
status: z$1.ZodEnum<{
|
|
16920
|
+
CANCELED: "CANCELED";
|
|
16745
16921
|
PENDING: "PENDING";
|
|
16746
16922
|
EXPIRED: "EXPIRED";
|
|
16747
16923
|
ACCEPTED: "ACCEPTED";
|
|
16748
|
-
CANCELED: "CANCELED";
|
|
16749
16924
|
}>;
|
|
16750
16925
|
invitedBy: z$1.ZodString;
|
|
16751
16926
|
expiresAt: z$1.ZodString;
|
|
@@ -16782,10 +16957,10 @@ export type UpdateMemberRoleRequest = z$1.infer<typeof updateMemberRoleRequestSc
|
|
|
16782
16957
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
16783
16958
|
export declare const invitationListQuerySchema: z$1.ZodObject<{
|
|
16784
16959
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16960
|
+
CANCELED: "CANCELED";
|
|
16785
16961
|
PENDING: "PENDING";
|
|
16786
16962
|
EXPIRED: "EXPIRED";
|
|
16787
16963
|
ACCEPTED: "ACCEPTED";
|
|
16788
|
-
CANCELED: "CANCELED";
|
|
16789
16964
|
}>>;
|
|
16790
16965
|
}, z$1.core.$strip>;
|
|
16791
16966
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -16974,14 +17149,14 @@ export declare const storefrontVersionSchema: z$1.ZodObject<{
|
|
|
16974
17149
|
}, z$1.core.$strip>;
|
|
16975
17150
|
export type StorefrontVersion = z$1.infer<typeof storefrontVersionSchema>;
|
|
16976
17151
|
export declare const storefrontSiteStatusSchema: z$1.ZodEnum<{
|
|
17152
|
+
ACTIVE: "ACTIVE";
|
|
16977
17153
|
SUSPENDED: "SUSPENDED";
|
|
16978
17154
|
CLOSED: "CLOSED";
|
|
16979
|
-
ACTIVE: "ACTIVE";
|
|
16980
17155
|
}>;
|
|
16981
17156
|
export type StorefrontSiteStatus = z$1.infer<typeof storefrontSiteStatusSchema>;
|
|
16982
17157
|
export declare const storefrontVisibilitySchema: z$1.ZodEnum<{
|
|
16983
|
-
COMING_SOON: "COMING_SOON";
|
|
16984
17158
|
PUBLIC: "PUBLIC";
|
|
17159
|
+
COMING_SOON: "COMING_SOON";
|
|
16985
17160
|
}>;
|
|
16986
17161
|
export type StorefrontVisibility = z$1.infer<typeof storefrontVisibilitySchema>;
|
|
16987
17162
|
export declare const storefrontDomainSchema: z$1.ZodObject<{
|
|
@@ -17057,13 +17232,13 @@ export declare const storefrontSiteSchema: z$1.ZodObject<{
|
|
|
17057
17232
|
holdUntil: z$1.ZodNullable<z$1.ZodString>;
|
|
17058
17233
|
}, z$1.core.$strip>>;
|
|
17059
17234
|
status: z$1.ZodEnum<{
|
|
17235
|
+
ACTIVE: "ACTIVE";
|
|
17060
17236
|
SUSPENDED: "SUSPENDED";
|
|
17061
17237
|
CLOSED: "CLOSED";
|
|
17062
|
-
ACTIVE: "ACTIVE";
|
|
17063
17238
|
}>;
|
|
17064
17239
|
visibility: z$1.ZodEnum<{
|
|
17065
|
-
COMING_SOON: "COMING_SOON";
|
|
17066
17240
|
PUBLIC: "PUBLIC";
|
|
17241
|
+
COMING_SOON: "COMING_SOON";
|
|
17067
17242
|
}>;
|
|
17068
17243
|
publishedVersion: z$1.ZodNullable<z$1.ZodObject<{
|
|
17069
17244
|
versionId: z$1.ZodString;
|
|
@@ -17143,13 +17318,13 @@ export declare const storefrontHostingSchema: z$1.ZodObject<{
|
|
|
17143
17318
|
holdUntil: z$1.ZodNullable<z$1.ZodString>;
|
|
17144
17319
|
}, z$1.core.$strip>>;
|
|
17145
17320
|
status: z$1.ZodEnum<{
|
|
17321
|
+
ACTIVE: "ACTIVE";
|
|
17146
17322
|
SUSPENDED: "SUSPENDED";
|
|
17147
17323
|
CLOSED: "CLOSED";
|
|
17148
|
-
ACTIVE: "ACTIVE";
|
|
17149
17324
|
}>;
|
|
17150
17325
|
visibility: z$1.ZodEnum<{
|
|
17151
|
-
COMING_SOON: "COMING_SOON";
|
|
17152
17326
|
PUBLIC: "PUBLIC";
|
|
17327
|
+
COMING_SOON: "COMING_SOON";
|
|
17153
17328
|
}>;
|
|
17154
17329
|
publishedVersion: z$1.ZodNullable<z$1.ZodObject<{
|
|
17155
17330
|
versionId: z$1.ZodString;
|
|
@@ -17222,15 +17397,15 @@ export type StorefrontSlugAvailability = z$1.infer<typeof storefrontSlugAvailabi
|
|
|
17222
17397
|
*/
|
|
17223
17398
|
export declare const storefrontDeploymentStepSchema: z$1.ZodObject<{
|
|
17224
17399
|
key: z$1.ZodEnum<{
|
|
17225
|
-
SITE: "SITE";
|
|
17226
17400
|
UPLOAD: "UPLOAD";
|
|
17401
|
+
SITE: "SITE";
|
|
17227
17402
|
PUBLISH: "PUBLISH";
|
|
17228
17403
|
}>;
|
|
17229
17404
|
status: z$1.ZodEnum<{
|
|
17230
17405
|
PENDING: "PENDING";
|
|
17231
17406
|
FAILED: "FAILED";
|
|
17232
|
-
DONE: "DONE";
|
|
17233
17407
|
RUNNING: "RUNNING";
|
|
17408
|
+
DONE: "DONE";
|
|
17234
17409
|
}>;
|
|
17235
17410
|
finishedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
17236
17411
|
}, z$1.core.$strip>;
|
|
@@ -17238,9 +17413,9 @@ export type StorefrontDeploymentStep = z$1.infer<typeof storefrontDeploymentStep
|
|
|
17238
17413
|
export declare const storefrontDeploymentLogSchema: z$1.ZodObject<{
|
|
17239
17414
|
at: z$1.ZodNullable<z$1.ZodString>;
|
|
17240
17415
|
level: z$1.ZodEnum<{
|
|
17416
|
+
ERROR: "ERROR";
|
|
17241
17417
|
INFO: "INFO";
|
|
17242
17418
|
WARN: "WARN";
|
|
17243
|
-
ERROR: "ERROR";
|
|
17244
17419
|
}>;
|
|
17245
17420
|
code: z$1.ZodString;
|
|
17246
17421
|
message: z$1.ZodString;
|
|
@@ -17258,24 +17433,24 @@ export declare const storefrontDeploymentSchema: z$1.ZodObject<{
|
|
|
17258
17433
|
finishedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
17259
17434
|
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
17260
17435
|
key: z$1.ZodEnum<{
|
|
17261
|
-
SITE: "SITE";
|
|
17262
17436
|
UPLOAD: "UPLOAD";
|
|
17437
|
+
SITE: "SITE";
|
|
17263
17438
|
PUBLISH: "PUBLISH";
|
|
17264
17439
|
}>;
|
|
17265
17440
|
status: z$1.ZodEnum<{
|
|
17266
17441
|
PENDING: "PENDING";
|
|
17267
17442
|
FAILED: "FAILED";
|
|
17268
|
-
DONE: "DONE";
|
|
17269
17443
|
RUNNING: "RUNNING";
|
|
17444
|
+
DONE: "DONE";
|
|
17270
17445
|
}>;
|
|
17271
17446
|
finishedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
17272
17447
|
}, z$1.core.$strip>>;
|
|
17273
17448
|
log: z$1.ZodArray<z$1.ZodObject<{
|
|
17274
17449
|
at: z$1.ZodNullable<z$1.ZodString>;
|
|
17275
17450
|
level: z$1.ZodEnum<{
|
|
17451
|
+
ERROR: "ERROR";
|
|
17276
17452
|
INFO: "INFO";
|
|
17277
17453
|
WARN: "WARN";
|
|
17278
|
-
ERROR: "ERROR";
|
|
17279
17454
|
}>;
|
|
17280
17455
|
code: z$1.ZodString;
|
|
17281
17456
|
message: z$1.ZodString;
|
|
@@ -17319,12 +17494,12 @@ export declare const changeStorefrontSlugRequestSchema: z$1.ZodObject<{
|
|
|
17319
17494
|
export type ChangeStorefrontSlugRequest = z$1.infer<typeof changeStorefrontSlugRequestSchema>;
|
|
17320
17495
|
export declare const setStorefrontVisibilityRequestSchema: z$1.ZodObject<{
|
|
17321
17496
|
visibility: z$1.ZodEnum<{
|
|
17322
|
-
COMING_SOON: "COMING_SOON";
|
|
17323
17497
|
PUBLIC: "PUBLIC";
|
|
17498
|
+
COMING_SOON: "COMING_SOON";
|
|
17324
17499
|
}>;
|
|
17325
17500
|
expectedVisibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
17326
|
-
COMING_SOON: "COMING_SOON";
|
|
17327
17501
|
PUBLIC: "PUBLIC";
|
|
17502
|
+
COMING_SOON: "COMING_SOON";
|
|
17328
17503
|
}>>;
|
|
17329
17504
|
}, z$1.core.$strip>;
|
|
17330
17505
|
export type SetStorefrontVisibilityRequest = z$1.infer<typeof setStorefrontVisibilityRequestSchema>;
|
|
@@ -17805,11 +17980,11 @@ export declare const runStorefrontCheckRequestSchema: z$1.ZodObject<{
|
|
|
17805
17980
|
export type RunStorefrontCheckRequest = z$1.infer<typeof runStorefrontCheckRequestSchema>;
|
|
17806
17981
|
export declare const storefrontCheckStatusSchema: z$1.ZodEnum<{
|
|
17807
17982
|
FAILED: "FAILED";
|
|
17808
|
-
UNKNOWN: "UNKNOWN";
|
|
17809
17983
|
QUEUED: "QUEUED";
|
|
17810
17984
|
RUNNING: "RUNNING";
|
|
17811
|
-
PASSED: "PASSED";
|
|
17812
17985
|
TIMED_OUT: "TIMED_OUT";
|
|
17986
|
+
UNKNOWN: "UNKNOWN";
|
|
17987
|
+
PASSED: "PASSED";
|
|
17813
17988
|
}>;
|
|
17814
17989
|
export type StorefrontCheckStatus = z$1.infer<typeof storefrontCheckStatusSchema>;
|
|
17815
17990
|
/** 끝난 검사 상태 */
|
|
@@ -17819,11 +17994,11 @@ export declare const storefrontCheckSchema: z$1.ZodObject<{
|
|
|
17819
17994
|
check: z$1.ZodString;
|
|
17820
17995
|
status: z$1.ZodEnum<{
|
|
17821
17996
|
FAILED: "FAILED";
|
|
17822
|
-
UNKNOWN: "UNKNOWN";
|
|
17823
17997
|
QUEUED: "QUEUED";
|
|
17824
17998
|
RUNNING: "RUNNING";
|
|
17825
|
-
PASSED: "PASSED";
|
|
17826
17999
|
TIMED_OUT: "TIMED_OUT";
|
|
18000
|
+
UNKNOWN: "UNKNOWN";
|
|
18001
|
+
PASSED: "PASSED";
|
|
17827
18002
|
}>;
|
|
17828
18003
|
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
17829
18004
|
durationMs: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -17904,9 +18079,9 @@ export declare const storefrontVerifyReportSchema: z$1.ZodObject<{
|
|
|
17904
18079
|
export type StorefrontVerifyReport = z$1.infer<typeof storefrontVerifyReportSchema>;
|
|
17905
18080
|
export declare const storefrontBuildStatusSchema: z$1.ZodEnum<{
|
|
17906
18081
|
FAILED: "FAILED";
|
|
17907
|
-
SUCCEEDED: "SUCCEEDED";
|
|
17908
18082
|
QUEUED: "QUEUED";
|
|
17909
18083
|
RUNNING: "RUNNING";
|
|
18084
|
+
SUCCEEDED: "SUCCEEDED";
|
|
17910
18085
|
TIMED_OUT: "TIMED_OUT";
|
|
17911
18086
|
}>;
|
|
17912
18087
|
export type StorefrontBuildStatus = z$1.infer<typeof storefrontBuildStatusSchema>;
|
|
@@ -17973,9 +18148,9 @@ export declare const storefrontBuildSchema: z$1.ZodObject<{
|
|
|
17973
18148
|
versionNumber: z$1.ZodNumber;
|
|
17974
18149
|
status: z$1.ZodEnum<{
|
|
17975
18150
|
FAILED: "FAILED";
|
|
17976
|
-
SUCCEEDED: "SUCCEEDED";
|
|
17977
18151
|
QUEUED: "QUEUED";
|
|
17978
18152
|
RUNNING: "RUNNING";
|
|
18153
|
+
SUCCEEDED: "SUCCEEDED";
|
|
17979
18154
|
TIMED_OUT: "TIMED_OUT";
|
|
17980
18155
|
}>;
|
|
17981
18156
|
failureStage: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -18106,9 +18281,9 @@ export declare const storefrontVersionCreatedSchema: z$1.ZodObject<{
|
|
|
18106
18281
|
versionNumber: z$1.ZodNumber;
|
|
18107
18282
|
status: z$1.ZodEnum<{
|
|
18108
18283
|
FAILED: "FAILED";
|
|
18109
|
-
SUCCEEDED: "SUCCEEDED";
|
|
18110
18284
|
QUEUED: "QUEUED";
|
|
18111
18285
|
RUNNING: "RUNNING";
|
|
18286
|
+
SUCCEEDED: "SUCCEEDED";
|
|
18112
18287
|
TIMED_OUT: "TIMED_OUT";
|
|
18113
18288
|
}>;
|
|
18114
18289
|
failureStage: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -18456,9 +18631,9 @@ export type UploadTicket = z$1.infer<typeof uploadTicketSchema>;
|
|
|
18456
18631
|
//#endregion
|
|
18457
18632
|
//#region src/schemas/auth.d.ts
|
|
18458
18633
|
export declare const storeRoleSchema: z$1.ZodEnum<{
|
|
18634
|
+
OWNER: "OWNER";
|
|
18459
18635
|
ADMIN: "ADMIN";
|
|
18460
18636
|
STAFF: "STAFF";
|
|
18461
|
-
OWNER: "OWNER";
|
|
18462
18637
|
}>;
|
|
18463
18638
|
export type StoreRole = z$1.infer<typeof storeRoleSchema>;
|
|
18464
18639
|
export declare const myStoreSchema: z$1.ZodObject<{
|
|
@@ -18466,14 +18641,14 @@ export declare const myStoreSchema: z$1.ZodObject<{
|
|
|
18466
18641
|
storeName: z$1.ZodString;
|
|
18467
18642
|
storeCode: z$1.ZodString;
|
|
18468
18643
|
role: z$1.ZodEnum<{
|
|
18644
|
+
OWNER: "OWNER";
|
|
18469
18645
|
ADMIN: "ADMIN";
|
|
18470
18646
|
STAFF: "STAFF";
|
|
18471
|
-
OWNER: "OWNER";
|
|
18472
18647
|
}>;
|
|
18473
18648
|
status: z$1.ZodEnum<{
|
|
18649
|
+
ACTIVE: "ACTIVE";
|
|
18474
18650
|
SUSPENDED: "SUSPENDED";
|
|
18475
18651
|
CLOSED: "CLOSED";
|
|
18476
|
-
ACTIVE: "ACTIVE";
|
|
18477
18652
|
}>;
|
|
18478
18653
|
}, z$1.core.$strip>;
|
|
18479
18654
|
export type MyStore = z$1.infer<typeof myStoreSchema>;
|
|
@@ -18628,8 +18803,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18628
18803
|
storeId: string;
|
|
18629
18804
|
storeName: string;
|
|
18630
18805
|
storeCode: string;
|
|
18631
|
-
role: "
|
|
18632
|
-
status: "
|
|
18806
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
18807
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
18633
18808
|
}[]>;
|
|
18634
18809
|
me: () => Promise<{
|
|
18635
18810
|
userId: string;
|
|
@@ -18669,7 +18844,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18669
18844
|
productId: string;
|
|
18670
18845
|
productNo: number | null;
|
|
18671
18846
|
name: string;
|
|
18672
|
-
status: "
|
|
18847
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
18673
18848
|
salePrice: number;
|
|
18674
18849
|
discountedPrice: number | null;
|
|
18675
18850
|
stockQuantity: number;
|
|
@@ -18689,15 +18864,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18689
18864
|
}>;
|
|
18690
18865
|
get: (productId: string) => Promise<{
|
|
18691
18866
|
name: string;
|
|
18692
|
-
status: "
|
|
18867
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
18868
|
+
updatedAt: string;
|
|
18869
|
+
productId: string;
|
|
18693
18870
|
salePrice: number;
|
|
18694
18871
|
stockQuantity: number;
|
|
18695
18872
|
categoryId: string | null;
|
|
18696
|
-
productId: string;
|
|
18697
18873
|
productNo: number | null;
|
|
18698
18874
|
discountedPrice: number | null;
|
|
18699
18875
|
hasOptions: boolean;
|
|
18700
|
-
updatedAt: string;
|
|
18701
18876
|
sample: boolean;
|
|
18702
18877
|
optionGroups: {
|
|
18703
18878
|
groupId: string;
|
|
@@ -18762,7 +18937,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18762
18937
|
fulfillment: UnknownFulfillment | {
|
|
18763
18938
|
type: "SHIPPING";
|
|
18764
18939
|
shipping: {
|
|
18765
|
-
deliveryType: "
|
|
18940
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18766
18941
|
deliveryFee: number;
|
|
18767
18942
|
conditionalFreeAmount: number | null;
|
|
18768
18943
|
shippingAddressId: string | null;
|
|
@@ -18838,15 +19013,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18838
19013
|
}>;
|
|
18839
19014
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
18840
19015
|
name: string;
|
|
18841
|
-
status: "
|
|
19016
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
19017
|
+
updatedAt: string;
|
|
19018
|
+
productId: string;
|
|
18842
19019
|
salePrice: number;
|
|
18843
19020
|
stockQuantity: number;
|
|
18844
19021
|
categoryId: string | null;
|
|
18845
|
-
productId: string;
|
|
18846
19022
|
productNo: number | null;
|
|
18847
19023
|
discountedPrice: number | null;
|
|
18848
19024
|
hasOptions: boolean;
|
|
18849
|
-
updatedAt: string;
|
|
18850
19025
|
sample: boolean;
|
|
18851
19026
|
optionGroups: {
|
|
18852
19027
|
groupId: string;
|
|
@@ -18911,7 +19086,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18911
19086
|
fulfillment: UnknownFulfillment | {
|
|
18912
19087
|
type: "SHIPPING";
|
|
18913
19088
|
shipping: {
|
|
18914
|
-
deliveryType: "
|
|
19089
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18915
19090
|
deliveryFee: number;
|
|
18916
19091
|
conditionalFreeAmount: number | null;
|
|
18917
19092
|
shippingAddressId: string | null;
|
|
@@ -18987,15 +19162,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18987
19162
|
}>;
|
|
18988
19163
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
18989
19164
|
name: string;
|
|
18990
|
-
status: "
|
|
19165
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
19166
|
+
updatedAt: string;
|
|
19167
|
+
productId: string;
|
|
18991
19168
|
salePrice: number;
|
|
18992
19169
|
stockQuantity: number;
|
|
18993
19170
|
categoryId: string | null;
|
|
18994
|
-
productId: string;
|
|
18995
19171
|
productNo: number | null;
|
|
18996
19172
|
discountedPrice: number | null;
|
|
18997
19173
|
hasOptions: boolean;
|
|
18998
|
-
updatedAt: string;
|
|
18999
19174
|
sample: boolean;
|
|
19000
19175
|
optionGroups: {
|
|
19001
19176
|
groupId: string;
|
|
@@ -19060,7 +19235,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19060
19235
|
fulfillment: UnknownFulfillment | {
|
|
19061
19236
|
type: "SHIPPING";
|
|
19062
19237
|
shipping: {
|
|
19063
|
-
deliveryType: "
|
|
19238
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
19064
19239
|
deliveryFee: number;
|
|
19065
19240
|
conditionalFreeAmount: number | null;
|
|
19066
19241
|
shippingAddressId: string | null;
|
|
@@ -19318,15 +19493,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19318
19493
|
/** 상품 상세 묶음 조회(id·상품번호 합 100개) — 상점 플랫폼 전용. 이 상점에 없는 값은 빠진다 */
|
|
19319
19494
|
lookup: (body: ProductLookupRequest) => Promise<{
|
|
19320
19495
|
name: string;
|
|
19321
|
-
status: "
|
|
19496
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
19497
|
+
updatedAt: string;
|
|
19498
|
+
productId: string;
|
|
19322
19499
|
salePrice: number;
|
|
19323
19500
|
stockQuantity: number;
|
|
19324
19501
|
categoryId: string | null;
|
|
19325
|
-
productId: string;
|
|
19326
19502
|
productNo: number | null;
|
|
19327
19503
|
discountedPrice: number | null;
|
|
19328
19504
|
hasOptions: boolean;
|
|
19329
|
-
updatedAt: string;
|
|
19330
19505
|
sample: boolean;
|
|
19331
19506
|
optionGroups: {
|
|
19332
19507
|
groupId: string;
|
|
@@ -19391,7 +19566,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19391
19566
|
fulfillment: UnknownFulfillment | {
|
|
19392
19567
|
type: "SHIPPING";
|
|
19393
19568
|
shipping: {
|
|
19394
|
-
deliveryType: "
|
|
19569
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
19395
19570
|
deliveryFee: number;
|
|
19396
19571
|
conditionalFreeAmount: number | null;
|
|
19397
19572
|
shippingAddressId: string | null;
|
|
@@ -20480,10 +20655,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20480
20655
|
ordererName: string;
|
|
20481
20656
|
itemCount: number;
|
|
20482
20657
|
totalAmount: number;
|
|
20483
|
-
representativeStatus: "
|
|
20658
|
+
representativeStatus: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20484
20659
|
orderedAt: string;
|
|
20485
20660
|
testPayment: boolean;
|
|
20486
|
-
progressStatus?: "
|
|
20661
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
20487
20662
|
currency?: string | undefined;
|
|
20488
20663
|
}[];
|
|
20489
20664
|
}>;
|
|
@@ -20593,7 +20768,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20593
20768
|
orderItemNo: string | null;
|
|
20594
20769
|
orderId: string;
|
|
20595
20770
|
paymentId: string | null;
|
|
20596
|
-
status: "
|
|
20771
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20597
20772
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20598
20773
|
productId: string;
|
|
20599
20774
|
productName: string;
|
|
@@ -20669,7 +20844,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20669
20844
|
}[];
|
|
20670
20845
|
} | undefined;
|
|
20671
20846
|
}[];
|
|
20672
|
-
progressStatus?: "
|
|
20847
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
20673
20848
|
currency?: string | undefined;
|
|
20674
20849
|
locale?: string | null | undefined;
|
|
20675
20850
|
}>;
|
|
@@ -20734,6 +20909,22 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20734
20909
|
requestedAt: string;
|
|
20735
20910
|
updatedAt: string;
|
|
20736
20911
|
}>;
|
|
20912
|
+
/**
|
|
20913
|
+
* `POST /v1/orders/{orderId}/refunds` — 금액만 환불(#365). 주문상품을 취소하지 않고 결제에서 금액만 돌려준다. `idempotencyKey`가 필수다.
|
|
20914
|
+
* 결제 잔액을 넘으면 409 `REFUND_EXCEEDS_BALANCE`, 환불할 결제가 없으면 409 `NO_REFUNDABLE_PAYMENT`. 결제사 환불이 실패해도 200이고 `status`가 `FAILED`다
|
|
20915
|
+
*/
|
|
20916
|
+
refund: (orderId: string, body: SellerRefundRequest, idempotencyKey: string) => Promise<{
|
|
20917
|
+
refundId: string;
|
|
20918
|
+
amount: number;
|
|
20919
|
+
pointRefundAmount: number;
|
|
20920
|
+
calculatedAmount: number | null;
|
|
20921
|
+
reason: string;
|
|
20922
|
+
kind: string;
|
|
20923
|
+
status: string;
|
|
20924
|
+
failMessage: string | null;
|
|
20925
|
+
requestedAt: string;
|
|
20926
|
+
completedAt: string | null;
|
|
20927
|
+
}>;
|
|
20737
20928
|
/**
|
|
20738
20929
|
* `POST /orders/{id}/actions/{key}` — 주문 전체 행동(#115). 그 행동이 켜진 주문상품마다 실행하고 결과를 주문상품별로 준다(부분 실행).
|
|
20739
20930
|
* 켜진 주문상품이 하나도 없으면 409 `ACTION_NOT_AVAILABLE`
|
|
@@ -20743,7 +20934,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20743
20934
|
key: string;
|
|
20744
20935
|
results: {
|
|
20745
20936
|
orderItemId: string;
|
|
20746
|
-
status: "
|
|
20937
|
+
status: "COMPLETED" | "FAILED" | "SKIPPED";
|
|
20747
20938
|
reason?: string | undefined;
|
|
20748
20939
|
message?: string | undefined;
|
|
20749
20940
|
}[];
|
|
@@ -20761,7 +20952,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20761
20952
|
orderItemNo: string | null;
|
|
20762
20953
|
orderId: string;
|
|
20763
20954
|
paymentId: string | null;
|
|
20764
|
-
status: "
|
|
20955
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20765
20956
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20766
20957
|
productId: string;
|
|
20767
20958
|
productName: string;
|
|
@@ -20849,7 +21040,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20849
21040
|
orderItemNo: string | null;
|
|
20850
21041
|
orderId: string;
|
|
20851
21042
|
paymentId: string | null;
|
|
20852
|
-
status: "
|
|
21043
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20853
21044
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20854
21045
|
productId: string;
|
|
20855
21046
|
productName: string;
|
|
@@ -20998,6 +21189,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20998
21189
|
refundStatus: string | null;
|
|
20999
21190
|
deductAmount: number;
|
|
21000
21191
|
purchasePointReclaimedAmount: number;
|
|
21192
|
+
calculatedRefundAmount?: number | undefined;
|
|
21001
21193
|
}>;
|
|
21002
21194
|
updateMemo: (orderItemId: string, memo: string) => Promise<void>;
|
|
21003
21195
|
requestPurchaseDecision: (orderItemId: string) => Promise<void>;
|
|
@@ -21039,7 +21231,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21039
21231
|
orderItemNo: string | null;
|
|
21040
21232
|
orderId: string;
|
|
21041
21233
|
paymentId: string | null;
|
|
21042
|
-
status: "
|
|
21234
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
21043
21235
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
21044
21236
|
productId: string;
|
|
21045
21237
|
productName: string;
|
|
@@ -21135,7 +21327,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21135
21327
|
orderItemNo: string | null;
|
|
21136
21328
|
orderId: string;
|
|
21137
21329
|
paymentId: string | null;
|
|
21138
|
-
status: "
|
|
21330
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
21139
21331
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
21140
21332
|
productId: string;
|
|
21141
21333
|
productName: string;
|
|
@@ -21257,8 +21449,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21257
21449
|
label: string;
|
|
21258
21450
|
enteredAt: string;
|
|
21259
21451
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21260
|
-
coreStatus?: "
|
|
21261
|
-
claimStatus?: "
|
|
21452
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21453
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
21262
21454
|
message?: string | undefined;
|
|
21263
21455
|
deadlineAt?: string | undefined;
|
|
21264
21456
|
attachments?: string[] | undefined;
|
|
@@ -21315,15 +21507,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21315
21507
|
moveTargets?: {
|
|
21316
21508
|
key: string;
|
|
21317
21509
|
label: string;
|
|
21318
|
-
coreStatus: "
|
|
21510
|
+
coreStatus: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | null;
|
|
21319
21511
|
}[] | undefined;
|
|
21320
21512
|
branches?: {
|
|
21321
21513
|
key: string;
|
|
21322
21514
|
label: string;
|
|
21323
21515
|
enteredAt: string;
|
|
21324
21516
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21325
|
-
coreStatus?: "
|
|
21326
|
-
claimStatus?: "
|
|
21517
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21518
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
21327
21519
|
message?: string | undefined;
|
|
21328
21520
|
deadlineAt?: string | undefined;
|
|
21329
21521
|
attachments?: string[] | undefined;
|
|
@@ -21352,8 +21544,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21352
21544
|
label: string;
|
|
21353
21545
|
enteredAt: string;
|
|
21354
21546
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21355
|
-
coreStatus?: "
|
|
21356
|
-
claimStatus?: "
|
|
21547
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21548
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
21357
21549
|
message?: string | undefined;
|
|
21358
21550
|
deadlineAt?: string | undefined;
|
|
21359
21551
|
attachments?: string[] | undefined;
|
|
@@ -21415,8 +21607,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21415
21607
|
label: string;
|
|
21416
21608
|
enteredAt: string;
|
|
21417
21609
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21418
|
-
coreStatus?: "
|
|
21419
|
-
claimStatus?: "
|
|
21610
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21611
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
21420
21612
|
message?: string | undefined;
|
|
21421
21613
|
deadlineAt?: string | undefined;
|
|
21422
21614
|
attachments?: string[] | undefined;
|
|
@@ -21477,8 +21669,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21477
21669
|
label: string;
|
|
21478
21670
|
enteredAt: string;
|
|
21479
21671
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21480
|
-
coreStatus?: "
|
|
21481
|
-
claimStatus?: "
|
|
21672
|
+
coreStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
21673
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
21482
21674
|
message?: string | undefined;
|
|
21483
21675
|
deadlineAt?: string | undefined;
|
|
21484
21676
|
attachments?: string[] | undefined;
|
|
@@ -22111,8 +22303,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22111
22303
|
contents: {
|
|
22112
22304
|
claimId: string;
|
|
22113
22305
|
claimNo: string | null;
|
|
22114
|
-
type: "
|
|
22115
|
-
status: "
|
|
22306
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
22307
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22116
22308
|
orderId: string;
|
|
22117
22309
|
orderItemId: string;
|
|
22118
22310
|
productName: string;
|
|
@@ -22151,8 +22343,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22151
22343
|
get: (claimId: string) => Promise<{
|
|
22152
22344
|
claimId: string;
|
|
22153
22345
|
claimNo: string | null;
|
|
22154
|
-
type: "
|
|
22155
|
-
status: "
|
|
22346
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
22347
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22156
22348
|
orderId: string;
|
|
22157
22349
|
orderItemId: string;
|
|
22158
22350
|
productName: string;
|
|
@@ -22187,14 +22379,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22187
22379
|
address2: string | null;
|
|
22188
22380
|
} | null;
|
|
22189
22381
|
histories?: {
|
|
22190
|
-
status: "
|
|
22382
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22191
22383
|
actor: "SELLER" | "BUYER" | "SYSTEM";
|
|
22192
22384
|
occurredAt: string;
|
|
22193
22385
|
}[] | undefined;
|
|
22194
22386
|
}>;
|
|
22195
|
-
/**
|
|
22387
|
+
/**
|
|
22388
|
+
* `holdRefund`(#115)면 승인만 하고 결제 환불은 대기로 남긴다 — `payments.processRefund`로 따로 환불한다.
|
|
22389
|
+
* `refundAmount`(#365)는 최종 현금 환불액이고 `deductAmount`와 함께 줄 수 없다
|
|
22390
|
+
*/
|
|
22196
22391
|
approve: (claimId: string, deductAmount?: number, idempotencyKey?: string, options?: {
|
|
22197
22392
|
holdRefund?: boolean;
|
|
22393
|
+
refundAmount?: number;
|
|
22198
22394
|
}) => Promise<{
|
|
22199
22395
|
claimId: string;
|
|
22200
22396
|
refundAmount: number;
|
|
@@ -22208,6 +22404,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22208
22404
|
refundedAt: string;
|
|
22209
22405
|
refundHeld: boolean;
|
|
22210
22406
|
refundStatus: string | null;
|
|
22407
|
+
calculatedRefundAmount?: number | undefined;
|
|
22211
22408
|
}>;
|
|
22212
22409
|
reject: (claimId: string, body: RejectClaimRequest) => Promise<void>;
|
|
22213
22410
|
registerCollect: (claimId: string, body: {
|
|
@@ -22229,8 +22426,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22229
22426
|
completeExchange: (claimId: string) => Promise<{
|
|
22230
22427
|
claimId: string;
|
|
22231
22428
|
claimNo: string | null;
|
|
22232
|
-
type: "
|
|
22233
|
-
status: "
|
|
22429
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
22430
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22234
22431
|
orderId: string;
|
|
22235
22432
|
orderItemId: string;
|
|
22236
22433
|
productName: string;
|
|
@@ -22281,7 +22478,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22281
22478
|
productId: string;
|
|
22282
22479
|
productName: string;
|
|
22283
22480
|
orderItemId: string | null;
|
|
22284
|
-
category: "
|
|
22481
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
22285
22482
|
content: string;
|
|
22286
22483
|
secret: boolean;
|
|
22287
22484
|
writerMaskedName: string;
|
|
@@ -22299,7 +22496,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22299
22496
|
productId: string;
|
|
22300
22497
|
productName: string;
|
|
22301
22498
|
orderItemId: string | null;
|
|
22302
|
-
category: "
|
|
22499
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
22303
22500
|
content: string;
|
|
22304
22501
|
secret: boolean;
|
|
22305
22502
|
writerMaskedName: string;
|
|
@@ -22504,6 +22701,43 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22504
22701
|
lastOrderedAt: string | null;
|
|
22505
22702
|
}[];
|
|
22506
22703
|
}>;
|
|
22704
|
+
/**
|
|
22705
|
+
* `GET /v1/customers/export` (이슈 #217) — 목록과 같은 조건으로 고른 필드만 페이지마다 준다(기본 100, 최대 500).
|
|
22706
|
+
* 휴대폰은 스코프 `privacy:r`이 있으면 전체 번호, 없으면 가린 번호다. `customer:r`
|
|
22707
|
+
*/
|
|
22708
|
+
export: (params: PageParams & Omit<z$1.input<typeof customerListQuerySchema>, "page" | "size"> & {
|
|
22709
|
+
fields: readonly CustomerExportField[];
|
|
22710
|
+
}) => Promise<{
|
|
22711
|
+
page: number;
|
|
22712
|
+
size: number;
|
|
22713
|
+
totalElements: number;
|
|
22714
|
+
totalPages: number;
|
|
22715
|
+
contents: {
|
|
22716
|
+
customerId: string;
|
|
22717
|
+
name?: string | undefined;
|
|
22718
|
+
email?: string | null | undefined;
|
|
22719
|
+
phone?: string | null | undefined;
|
|
22720
|
+
joinedAt?: string | undefined;
|
|
22721
|
+
orderCount?: number | undefined;
|
|
22722
|
+
totalPaid?: number | undefined;
|
|
22723
|
+
lastOrderedAt?: string | null | undefined;
|
|
22724
|
+
point?: number | undefined;
|
|
22725
|
+
marketingAgreed?: boolean | undefined;
|
|
22726
|
+
marketingUpdatedAt?: string | null | undefined;
|
|
22727
|
+
birthdate?: string | null | undefined;
|
|
22728
|
+
gender?: string | null | undefined;
|
|
22729
|
+
defaultAddress?: {
|
|
22730
|
+
receiverName: string;
|
|
22731
|
+
phone: string | null;
|
|
22732
|
+
zipCode: string;
|
|
22733
|
+
address1: string;
|
|
22734
|
+
address2: string | null;
|
|
22735
|
+
countryCode: string;
|
|
22736
|
+
city: string | null;
|
|
22737
|
+
region: string | null;
|
|
22738
|
+
} | null | undefined;
|
|
22739
|
+
}[];
|
|
22740
|
+
}>;
|
|
22507
22741
|
get: (customerId: string) => Promise<{
|
|
22508
22742
|
customerId: string;
|
|
22509
22743
|
name: string;
|
|
@@ -22706,7 +22940,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22706
22940
|
productName: string;
|
|
22707
22941
|
optionName: string | null;
|
|
22708
22942
|
quantity: number;
|
|
22709
|
-
status: "
|
|
22943
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
22710
22944
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
22711
22945
|
}[];
|
|
22712
22946
|
}[];
|
|
@@ -23612,7 +23846,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23612
23846
|
contents: {
|
|
23613
23847
|
inquiryId: string;
|
|
23614
23848
|
memberMaskedName: string;
|
|
23615
|
-
category: "
|
|
23849
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
23616
23850
|
title: string;
|
|
23617
23851
|
content: string;
|
|
23618
23852
|
orderItemId: string | null;
|
|
@@ -23628,7 +23862,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23628
23862
|
get: (inquiryId: string) => Promise<{
|
|
23629
23863
|
inquiryId: string;
|
|
23630
23864
|
memberMaskedName: string;
|
|
23631
|
-
category: "
|
|
23865
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
23632
23866
|
title: string;
|
|
23633
23867
|
content: string;
|
|
23634
23868
|
orderItemId: string | null;
|
|
@@ -23658,7 +23892,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23658
23892
|
settlementId: string;
|
|
23659
23893
|
settlementDate: string;
|
|
23660
23894
|
payoutDate: string | null;
|
|
23661
|
-
status: "PAID" | "
|
|
23895
|
+
status: "PAID" | "HELD" | "SCHEDULED";
|
|
23662
23896
|
totalPaymentAmount: number;
|
|
23663
23897
|
totalCommission: number;
|
|
23664
23898
|
totalDeliveryFee: number;
|
|
@@ -23672,7 +23906,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23672
23906
|
settlementId: string;
|
|
23673
23907
|
settlementDate: string;
|
|
23674
23908
|
payoutDate: string | null;
|
|
23675
|
-
status: "PAID" | "
|
|
23909
|
+
status: "PAID" | "HELD" | "SCHEDULED";
|
|
23676
23910
|
totalPaymentAmount: number;
|
|
23677
23911
|
totalCommission: number;
|
|
23678
23912
|
totalDeliveryFee: number;
|
|
@@ -23780,7 +24014,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23780
24014
|
conversionRate: number | null;
|
|
23781
24015
|
};
|
|
23782
24016
|
funnel: {
|
|
23783
|
-
step: "
|
|
24017
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
23784
24018
|
sessions: number;
|
|
23785
24019
|
rateFromPrevious: number | null;
|
|
23786
24020
|
}[];
|
|
@@ -23839,9 +24073,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23839
24073
|
}>;
|
|
23840
24074
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
23841
24075
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
23842
|
-
groupBy: "
|
|
24076
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
23843
24077
|
rows: {
|
|
23844
|
-
channel: "PAID" | "DIRECT" | "
|
|
24078
|
+
channel: "PAID" | "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
|
|
23845
24079
|
source: string | null;
|
|
23846
24080
|
medium: string | null;
|
|
23847
24081
|
campaign: string | null;
|
|
@@ -23946,7 +24180,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23946
24180
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
23947
24181
|
sessions: number;
|
|
23948
24182
|
outcomes: {
|
|
23949
|
-
outcome: "
|
|
24183
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
23950
24184
|
sessions: number;
|
|
23951
24185
|
}[];
|
|
23952
24186
|
from: string;
|
|
@@ -23976,7 +24210,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23976
24210
|
orderId: string | null;
|
|
23977
24211
|
orderName: string;
|
|
23978
24212
|
customerName: string;
|
|
23979
|
-
status: "
|
|
24213
|
+
status: "APPROVED" | "PENDING" | "FAILED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
23980
24214
|
amount: number;
|
|
23981
24215
|
refundedAmount: number;
|
|
23982
24216
|
heldRefundAmount: number;
|
|
@@ -24002,7 +24236,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24002
24236
|
orderId: string | null;
|
|
24003
24237
|
orderName: string;
|
|
24004
24238
|
customerName: string;
|
|
24005
|
-
status: "
|
|
24239
|
+
status: "APPROVED" | "PENDING" | "FAILED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
24006
24240
|
amount: number;
|
|
24007
24241
|
refundedAmount: number;
|
|
24008
24242
|
heldRefundAmount: number;
|
|
@@ -24044,6 +24278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24044
24278
|
refundId: string;
|
|
24045
24279
|
amount: number;
|
|
24046
24280
|
pointRefundAmount: number;
|
|
24281
|
+
calculatedAmount: number | null;
|
|
24047
24282
|
reason: string;
|
|
24048
24283
|
kind: string;
|
|
24049
24284
|
status: string;
|
|
@@ -24070,12 +24305,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24070
24305
|
requestedAt: string;
|
|
24071
24306
|
updatedAt: string;
|
|
24072
24307
|
} | null;
|
|
24308
|
+
availableRefundAmount?: number | undefined;
|
|
24073
24309
|
}>;
|
|
24074
|
-
/** `POST /v1/payments/refunds/{refundId}/process` — 대기(`HELD`)·실패(`FAILED`) 환불을 PG로 환불한다(#115, #301). 409 `REFUND_NOT_HELD` */
|
|
24310
|
+
/** `POST /v1/payments/refunds/{refundId}/process` — 대기(`HELD`)·실패(`FAILED`) 환불을 PG로 환불한다(#115, #301). 409 `REFUND_NOT_HELD`·`REFUND_EXCEEDS_BALANCE`(실패 행을 다시 보낼 잔액이 없다, #365) */
|
|
24075
24311
|
processRefund: (refundId: string) => Promise<{
|
|
24076
24312
|
refundId: string;
|
|
24077
24313
|
amount: number;
|
|
24078
24314
|
pointRefundAmount: number;
|
|
24315
|
+
calculatedAmount: number | null;
|
|
24079
24316
|
reason: string;
|
|
24080
24317
|
kind: string;
|
|
24081
24318
|
status: string;
|
|
@@ -25707,7 +25944,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25707
25944
|
developerName: string;
|
|
25708
25945
|
versionNumber: number;
|
|
25709
25946
|
installationId: string | null;
|
|
25710
|
-
visibility: "
|
|
25947
|
+
visibility: "DEVELOPMENT" | "PRIVATE" | "PUBLIC";
|
|
25711
25948
|
}[]>;
|
|
25712
25949
|
get: (appId: string) => Promise<{
|
|
25713
25950
|
appId: string;
|
|
@@ -25718,11 +25955,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25718
25955
|
developerName: string;
|
|
25719
25956
|
versionNumber: number;
|
|
25720
25957
|
installationId: string | null;
|
|
25721
|
-
visibility: "
|
|
25958
|
+
visibility: "DEVELOPMENT" | "PRIVATE" | "PUBLIC";
|
|
25722
25959
|
readme: string | null;
|
|
25723
25960
|
supportEmail: string | null;
|
|
25724
25961
|
scopes: string[];
|
|
25725
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
25962
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
25726
25963
|
networkHosts: string[];
|
|
25727
25964
|
publicHttp: string[];
|
|
25728
25965
|
schedules: {
|
|
@@ -25769,14 +26006,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25769
26006
|
supportEmail: string | null;
|
|
25770
26007
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25771
26008
|
runtime: "CODE" | "EXTERNAL";
|
|
25772
|
-
status: "
|
|
26009
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25773
26010
|
};
|
|
25774
|
-
status: "
|
|
26011
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25775
26012
|
versionNumber: number;
|
|
25776
26013
|
pendingVersionNumber: number | null;
|
|
25777
26014
|
grantedScopes: string[];
|
|
25778
26015
|
grantedNetworkHosts: string[];
|
|
25779
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26016
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
25780
26017
|
adminPage: boolean;
|
|
25781
26018
|
publicHttp: string[];
|
|
25782
26019
|
schedules: {
|
|
@@ -25830,7 +26067,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25830
26067
|
number: number;
|
|
25831
26068
|
scopes: string[];
|
|
25832
26069
|
networkHosts: string[];
|
|
25833
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26070
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
25834
26071
|
publicHttp: string[];
|
|
25835
26072
|
schedules: {
|
|
25836
26073
|
name: string;
|
|
@@ -25856,14 +26093,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25856
26093
|
supportEmail: string | null;
|
|
25857
26094
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25858
26095
|
runtime: "CODE" | "EXTERNAL";
|
|
25859
|
-
status: "
|
|
26096
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25860
26097
|
};
|
|
25861
|
-
status: "
|
|
26098
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25862
26099
|
versionNumber: number;
|
|
25863
26100
|
pendingVersionNumber: number | null;
|
|
25864
26101
|
grantedScopes: string[];
|
|
25865
26102
|
grantedNetworkHosts: string[];
|
|
25866
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26103
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
25867
26104
|
adminPage: boolean;
|
|
25868
26105
|
publicHttp: string[];
|
|
25869
26106
|
schedules: {
|
|
@@ -25917,7 +26154,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25917
26154
|
number: number;
|
|
25918
26155
|
scopes: string[];
|
|
25919
26156
|
networkHosts: string[];
|
|
25920
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26157
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
25921
26158
|
publicHttp: string[];
|
|
25922
26159
|
schedules: {
|
|
25923
26160
|
name: string;
|
|
@@ -25943,14 +26180,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25943
26180
|
supportEmail: string | null;
|
|
25944
26181
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25945
26182
|
runtime: "CODE" | "EXTERNAL";
|
|
25946
|
-
status: "
|
|
26183
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25947
26184
|
};
|
|
25948
|
-
status: "
|
|
26185
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25949
26186
|
versionNumber: number;
|
|
25950
26187
|
pendingVersionNumber: number | null;
|
|
25951
26188
|
grantedScopes: string[];
|
|
25952
26189
|
grantedNetworkHosts: string[];
|
|
25953
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26190
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
25954
26191
|
adminPage: boolean;
|
|
25955
26192
|
publicHttp: string[];
|
|
25956
26193
|
schedules: {
|
|
@@ -26004,7 +26241,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26004
26241
|
number: number;
|
|
26005
26242
|
scopes: string[];
|
|
26006
26243
|
networkHosts: string[];
|
|
26007
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26244
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
26008
26245
|
publicHttp: string[];
|
|
26009
26246
|
schedules: {
|
|
26010
26247
|
name: string;
|
|
@@ -26031,14 +26268,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26031
26268
|
supportEmail: string | null;
|
|
26032
26269
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
26033
26270
|
runtime: "CODE" | "EXTERNAL";
|
|
26034
|
-
status: "
|
|
26271
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
26035
26272
|
};
|
|
26036
|
-
status: "
|
|
26273
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
26037
26274
|
versionNumber: number;
|
|
26038
26275
|
pendingVersionNumber: number | null;
|
|
26039
26276
|
grantedScopes: string[];
|
|
26040
26277
|
grantedNetworkHosts: string[];
|
|
26041
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26278
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
26042
26279
|
adminPage: boolean;
|
|
26043
26280
|
publicHttp: string[];
|
|
26044
26281
|
schedules: {
|
|
@@ -26092,7 +26329,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26092
26329
|
number: number;
|
|
26093
26330
|
scopes: string[];
|
|
26094
26331
|
networkHosts: string[];
|
|
26095
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26332
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
26096
26333
|
publicHttp: string[];
|
|
26097
26334
|
schedules: {
|
|
26098
26335
|
name: string;
|
|
@@ -26134,14 +26371,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26134
26371
|
supportEmail: string | null;
|
|
26135
26372
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
26136
26373
|
runtime: "CODE" | "EXTERNAL";
|
|
26137
|
-
status: "
|
|
26374
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
26138
26375
|
};
|
|
26139
|
-
status: "
|
|
26376
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
26140
26377
|
versionNumber: number;
|
|
26141
26378
|
pendingVersionNumber: number | null;
|
|
26142
26379
|
grantedScopes: string[];
|
|
26143
26380
|
grantedNetworkHosts: string[];
|
|
26144
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26381
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
26145
26382
|
adminPage: boolean;
|
|
26146
26383
|
publicHttp: string[];
|
|
26147
26384
|
schedules: {
|
|
@@ -26195,7 +26432,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26195
26432
|
number: number;
|
|
26196
26433
|
scopes: string[];
|
|
26197
26434
|
networkHosts: string[];
|
|
26198
|
-
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26435
|
+
events: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
26199
26436
|
publicHttp: string[];
|
|
26200
26437
|
schedules: {
|
|
26201
26438
|
name: string;
|
|
@@ -26251,8 +26488,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26251
26488
|
list: () => Promise<{
|
|
26252
26489
|
webhookId: string;
|
|
26253
26490
|
url: string;
|
|
26254
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26255
|
-
status: "
|
|
26491
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED")[];
|
|
26492
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
26256
26493
|
secretPrefix: string;
|
|
26257
26494
|
suspendedAt: string | null;
|
|
26258
26495
|
createdAt: string;
|
|
@@ -26261,8 +26498,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26261
26498
|
create: (body: WebhookRequest) => Promise<{
|
|
26262
26499
|
webhookId: string;
|
|
26263
26500
|
url: string;
|
|
26264
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26265
|
-
status: "
|
|
26501
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED")[];
|
|
26502
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
26266
26503
|
secretPrefix: string;
|
|
26267
26504
|
suspendedAt: string | null;
|
|
26268
26505
|
createdAt: string;
|
|
@@ -26271,8 +26508,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26271
26508
|
get: (webhookId: string) => Promise<{
|
|
26272
26509
|
webhookId: string;
|
|
26273
26510
|
url: string;
|
|
26274
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26275
|
-
status: "
|
|
26511
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED")[];
|
|
26512
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
26276
26513
|
secretPrefix: string;
|
|
26277
26514
|
suspendedAt: string | null;
|
|
26278
26515
|
createdAt: string;
|
|
@@ -26281,8 +26518,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26281
26518
|
update: (webhookId: string, body: WebhookRequest) => Promise<{
|
|
26282
26519
|
webhookId: string;
|
|
26283
26520
|
url: string;
|
|
26284
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26285
|
-
status: "
|
|
26521
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED")[];
|
|
26522
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
26286
26523
|
secretPrefix: string;
|
|
26287
26524
|
suspendedAt: string | null;
|
|
26288
26525
|
createdAt: string;
|
|
@@ -26296,8 +26533,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26296
26533
|
resume: (webhookId: string) => Promise<{
|
|
26297
26534
|
webhookId: string;
|
|
26298
26535
|
url: string;
|
|
26299
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26300
|
-
status: "
|
|
26536
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED")[];
|
|
26537
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
26301
26538
|
secretPrefix: string;
|
|
26302
26539
|
suspendedAt: string | null;
|
|
26303
26540
|
createdAt: string;
|
|
@@ -26306,7 +26543,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26306
26543
|
listDeliveries: (webhookId: string, params?: WebhookDeliveryListParams) => Promise<{
|
|
26307
26544
|
deliveryId: string;
|
|
26308
26545
|
eventId: string;
|
|
26309
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26546
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED";
|
|
26310
26547
|
url: string;
|
|
26311
26548
|
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
26312
26549
|
responseStatusCode: number | null;
|
|
@@ -26333,7 +26570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26333
26570
|
getDelivery: (webhookId: string, deliveryId: string) => Promise<{
|
|
26334
26571
|
deliveryId: string;
|
|
26335
26572
|
eventId: string;
|
|
26336
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26573
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED";
|
|
26337
26574
|
url: string;
|
|
26338
26575
|
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
26339
26576
|
responseStatusCode: number | null;
|
|
@@ -26368,7 +26605,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26368
26605
|
redeliver: (webhookId: string, deliveryId: string) => Promise<{
|
|
26369
26606
|
deliveryId: string;
|
|
26370
26607
|
eventId: string;
|
|
26371
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26608
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED" | "ORDER.PAYMENT_ADDED" | "ORDER.PAYMENT_REQUESTED" | "ORDER.REFUNDED";
|
|
26372
26609
|
url: string;
|
|
26373
26610
|
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
26374
26611
|
responseStatusCode: number | null;
|
|
@@ -26484,7 +26721,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26484
26721
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
26485
26722
|
items: {
|
|
26486
26723
|
approvalId: string;
|
|
26487
|
-
status: "
|
|
26724
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26488
26725
|
operationId: string;
|
|
26489
26726
|
method: string;
|
|
26490
26727
|
path: string;
|
|
@@ -26536,7 +26773,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26536
26773
|
}>;
|
|
26537
26774
|
get: (approvalId: string) => Promise<{
|
|
26538
26775
|
approvalId: string;
|
|
26539
|
-
status: "
|
|
26776
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26540
26777
|
operationId: string;
|
|
26541
26778
|
method: string;
|
|
26542
26779
|
path: string;
|
|
@@ -26590,7 +26827,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26590
26827
|
*/
|
|
26591
26828
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26592
26829
|
approvalId: string;
|
|
26593
|
-
status: "
|
|
26830
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26594
26831
|
operationId: string;
|
|
26595
26832
|
method: string;
|
|
26596
26833
|
path: string;
|
|
@@ -26640,7 +26877,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26640
26877
|
}>;
|
|
26641
26878
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26642
26879
|
approvalId: string;
|
|
26643
|
-
status: "
|
|
26880
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26644
26881
|
operationId: string;
|
|
26645
26882
|
method: string;
|
|
26646
26883
|
path: string;
|
|
@@ -27162,7 +27399,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27162
27399
|
label: string;
|
|
27163
27400
|
status: "error" | "unknown" | "ok";
|
|
27164
27401
|
summary: string | null;
|
|
27165
|
-
activity?: "check" | "
|
|
27402
|
+
activity?: "check" | "status" | "shipping" | "code" | "version" | "product" | "category" | "brief" | "files" | "preview" | "template" | "site" | "info" | "upload" | "design" | "verify" | undefined;
|
|
27166
27403
|
target?: string | undefined;
|
|
27167
27404
|
changes?: {
|
|
27168
27405
|
path: string;
|
|
@@ -27236,14 +27473,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27236
27473
|
text: string;
|
|
27237
27474
|
} | {
|
|
27238
27475
|
type: "phase";
|
|
27239
|
-
phase: "
|
|
27476
|
+
phase: "BUILD" | "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "DONE";
|
|
27240
27477
|
} | {
|
|
27241
27478
|
type: "todos";
|
|
27242
27479
|
todos: {
|
|
27243
27480
|
content: string;
|
|
27244
27481
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
27245
27482
|
id?: string | undefined;
|
|
27246
|
-
phase?: "
|
|
27483
|
+
phase?: "BUILD" | "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "DONE" | undefined;
|
|
27247
27484
|
note?: string | undefined;
|
|
27248
27485
|
}[];
|
|
27249
27486
|
})[];
|
|
@@ -27252,7 +27489,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27252
27489
|
}[];
|
|
27253
27490
|
activeRun: {
|
|
27254
27491
|
id: string;
|
|
27255
|
-
status: "FAILED" | "
|
|
27492
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "CANCELLED";
|
|
27256
27493
|
errorCode: string | null;
|
|
27257
27494
|
createdAt: string;
|
|
27258
27495
|
finishedAt: string | null;
|
|
@@ -27264,7 +27501,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27264
27501
|
} | null;
|
|
27265
27502
|
lastRun: {
|
|
27266
27503
|
id: string;
|
|
27267
|
-
status: "FAILED" | "
|
|
27504
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "CANCELLED";
|
|
27268
27505
|
errorCode: string | null;
|
|
27269
27506
|
createdAt: string;
|
|
27270
27507
|
finishedAt: string | null;
|
|
@@ -27281,7 +27518,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27281
27518
|
/** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
|
|
27282
27519
|
cancelRun: (runId: string) => Promise<{
|
|
27283
27520
|
id: string;
|
|
27284
|
-
status: "FAILED" | "
|
|
27521
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "CANCELLED";
|
|
27285
27522
|
errorCode: string | null;
|
|
27286
27523
|
createdAt: string;
|
|
27287
27524
|
finishedAt: string | null;
|
|
@@ -27339,8 +27576,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27339
27576
|
isPrimary: boolean;
|
|
27340
27577
|
holdUntil: string | null;
|
|
27341
27578
|
}[];
|
|
27342
|
-
status: "
|
|
27343
|
-
visibility: "
|
|
27579
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27580
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27344
27581
|
publishedVersion: {
|
|
27345
27582
|
versionId: string;
|
|
27346
27583
|
number: number;
|
|
@@ -27406,8 +27643,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27406
27643
|
isPrimary: boolean;
|
|
27407
27644
|
holdUntil: string | null;
|
|
27408
27645
|
}[];
|
|
27409
|
-
status: "
|
|
27410
|
-
visibility: "
|
|
27646
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27647
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27411
27648
|
publishedVersion: {
|
|
27412
27649
|
versionId: string;
|
|
27413
27650
|
number: number;
|
|
@@ -27458,13 +27695,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27458
27695
|
startedAt: string;
|
|
27459
27696
|
finishedAt: string | null;
|
|
27460
27697
|
steps: {
|
|
27461
|
-
key: "
|
|
27462
|
-
status: "PENDING" | "FAILED" | "
|
|
27698
|
+
key: "UPLOAD" | "SITE" | "PUBLISH";
|
|
27699
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
27463
27700
|
finishedAt: string | null;
|
|
27464
27701
|
}[];
|
|
27465
27702
|
log: {
|
|
27466
27703
|
at: string | null;
|
|
27467
|
-
level: "
|
|
27704
|
+
level: "ERROR" | "INFO" | "WARN";
|
|
27468
27705
|
code: string;
|
|
27469
27706
|
message: string;
|
|
27470
27707
|
}[];
|
|
@@ -27480,13 +27717,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27480
27717
|
startedAt: string;
|
|
27481
27718
|
finishedAt: string | null;
|
|
27482
27719
|
steps: {
|
|
27483
|
-
key: "
|
|
27484
|
-
status: "PENDING" | "FAILED" | "
|
|
27720
|
+
key: "UPLOAD" | "SITE" | "PUBLISH";
|
|
27721
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
27485
27722
|
finishedAt: string | null;
|
|
27486
27723
|
}[];
|
|
27487
27724
|
log: {
|
|
27488
27725
|
at: string | null;
|
|
27489
|
-
level: "
|
|
27726
|
+
level: "ERROR" | "INFO" | "WARN";
|
|
27490
27727
|
code: string;
|
|
27491
27728
|
message: string;
|
|
27492
27729
|
}[];
|
|
@@ -27527,8 +27764,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27527
27764
|
isPrimary: boolean;
|
|
27528
27765
|
holdUntil: string | null;
|
|
27529
27766
|
}[];
|
|
27530
|
-
status: "
|
|
27531
|
-
visibility: "
|
|
27767
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27768
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27532
27769
|
publishedVersion: {
|
|
27533
27770
|
versionId: string;
|
|
27534
27771
|
number: number;
|
|
@@ -27584,8 +27821,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27584
27821
|
isPrimary: boolean;
|
|
27585
27822
|
holdUntil: string | null;
|
|
27586
27823
|
}[];
|
|
27587
|
-
status: "
|
|
27588
|
-
visibility: "
|
|
27824
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27825
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27589
27826
|
publishedVersion: {
|
|
27590
27827
|
versionId: string;
|
|
27591
27828
|
number: number;
|
|
@@ -27641,8 +27878,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27641
27878
|
isPrimary: boolean;
|
|
27642
27879
|
holdUntil: string | null;
|
|
27643
27880
|
}[];
|
|
27644
|
-
status: "
|
|
27645
|
-
visibility: "
|
|
27881
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27882
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27646
27883
|
publishedVersion: {
|
|
27647
27884
|
versionId: string;
|
|
27648
27885
|
number: number;
|
|
@@ -27698,8 +27935,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27698
27935
|
isPrimary: boolean;
|
|
27699
27936
|
holdUntil: string | null;
|
|
27700
27937
|
}[];
|
|
27701
|
-
status: "
|
|
27702
|
-
visibility: "
|
|
27938
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27939
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27703
27940
|
publishedVersion: {
|
|
27704
27941
|
versionId: string;
|
|
27705
27942
|
number: number;
|
|
@@ -27763,7 +28000,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27763
28000
|
site: {
|
|
27764
28001
|
siteId: string;
|
|
27765
28002
|
url: string;
|
|
27766
|
-
visibility: "
|
|
28003
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27767
28004
|
status: string;
|
|
27768
28005
|
synced: boolean;
|
|
27769
28006
|
publishedVersion: {
|
|
@@ -27920,8 +28157,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27920
28157
|
isPrimary: boolean;
|
|
27921
28158
|
holdUntil: string | null;
|
|
27922
28159
|
}[];
|
|
27923
|
-
status: "
|
|
27924
|
-
visibility: "
|
|
28160
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28161
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27925
28162
|
publishedVersion: {
|
|
27926
28163
|
versionId: string;
|
|
27927
28164
|
number: number;
|
|
@@ -28128,7 +28365,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28128
28365
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
28129
28366
|
checkId: string;
|
|
28130
28367
|
check: string;
|
|
28131
|
-
status: "FAILED" | "
|
|
28368
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "TIMED_OUT" | "UNKNOWN" | "PASSED";
|
|
28132
28369
|
exitCode: number | null;
|
|
28133
28370
|
durationMs: number | null;
|
|
28134
28371
|
outputTail: string | null;
|
|
@@ -28142,7 +28379,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28142
28379
|
getCheck: (checkId: string) => Promise<{
|
|
28143
28380
|
checkId: string;
|
|
28144
28381
|
check: string;
|
|
28145
|
-
status: "FAILED" | "
|
|
28382
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "TIMED_OUT" | "UNKNOWN" | "PASSED";
|
|
28146
28383
|
exitCode: number | null;
|
|
28147
28384
|
durationMs: number | null;
|
|
28148
28385
|
outputTail: string | null;
|
|
@@ -28213,7 +28450,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28213
28450
|
buildId: string;
|
|
28214
28451
|
versionId: string;
|
|
28215
28452
|
versionNumber: number;
|
|
28216
|
-
status: "FAILED" | "
|
|
28453
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "TIMED_OUT";
|
|
28217
28454
|
failureStage: string | null;
|
|
28218
28455
|
errorCode: string | null;
|
|
28219
28456
|
logTail: string | null;
|
|
@@ -28294,7 +28531,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28294
28531
|
buildId: string;
|
|
28295
28532
|
versionId: string;
|
|
28296
28533
|
versionNumber: number;
|
|
28297
|
-
status: "FAILED" | "
|
|
28534
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "TIMED_OUT";
|
|
28298
28535
|
failureStage: string | null;
|
|
28299
28536
|
errorCode: string | null;
|
|
28300
28537
|
logTail: string | null;
|
|
@@ -28372,7 +28609,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28372
28609
|
buildId: string;
|
|
28373
28610
|
versionId: string;
|
|
28374
28611
|
versionNumber: number;
|
|
28375
|
-
status: "FAILED" | "
|
|
28612
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "TIMED_OUT";
|
|
28376
28613
|
failureStage: string | null;
|
|
28377
28614
|
errorCode: string | null;
|
|
28378
28615
|
logTail: string | null;
|
|
@@ -28536,8 +28773,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28536
28773
|
isPrimary: boolean;
|
|
28537
28774
|
holdUntil: string | null;
|
|
28538
28775
|
}[];
|
|
28539
|
-
status: "
|
|
28540
|
-
visibility: "
|
|
28776
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28777
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
28541
28778
|
publishedVersion: {
|
|
28542
28779
|
versionId: string;
|
|
28543
28780
|
number: number;
|
|
@@ -28593,8 +28830,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28593
28830
|
isPrimary: boolean;
|
|
28594
28831
|
holdUntil: string | null;
|
|
28595
28832
|
}[];
|
|
28596
|
-
status: "
|
|
28597
|
-
visibility: "
|
|
28833
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28834
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
28598
28835
|
publishedVersion: {
|
|
28599
28836
|
versionId: string;
|
|
28600
28837
|
number: number;
|
|
@@ -28882,7 +29119,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28882
29119
|
name: string;
|
|
28883
29120
|
storeCode: string;
|
|
28884
29121
|
storefrontUrl: string | null;
|
|
28885
|
-
status: "
|
|
29122
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28886
29123
|
logoUrl: string | null;
|
|
28887
29124
|
businessNumber: string | null;
|
|
28888
29125
|
customerCenterPhone: string | null;
|
|
@@ -28940,7 +29177,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28940
29177
|
name: string;
|
|
28941
29178
|
storeCode: string;
|
|
28942
29179
|
storefrontUrl: string | null;
|
|
28943
|
-
status: "
|
|
29180
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28944
29181
|
logoUrl: string | null;
|
|
28945
29182
|
businessNumber: string | null;
|
|
28946
29183
|
customerCenterPhone: string | null;
|
|
@@ -29005,7 +29242,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29005
29242
|
userId: string;
|
|
29006
29243
|
name: string;
|
|
29007
29244
|
email: string;
|
|
29008
|
-
role: "
|
|
29245
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
29009
29246
|
joinedAt: string;
|
|
29010
29247
|
lastActiveAt: string | null;
|
|
29011
29248
|
}[]>;
|
|
@@ -29022,7 +29259,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29022
29259
|
invitationId: string;
|
|
29023
29260
|
email: string;
|
|
29024
29261
|
role: "ADMIN" | "STAFF";
|
|
29025
|
-
status: "
|
|
29262
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
29026
29263
|
invitedBy: string;
|
|
29027
29264
|
expiresAt: string;
|
|
29028
29265
|
createdAt: string;
|
|
@@ -29040,7 +29277,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29040
29277
|
invitationId: string;
|
|
29041
29278
|
email: string;
|
|
29042
29279
|
role: "ADMIN" | "STAFF";
|
|
29043
|
-
status: "
|
|
29280
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
29044
29281
|
invitedBy: string;
|
|
29045
29282
|
expiresAt: string;
|
|
29046
29283
|
createdAt: string;
|
|
@@ -29055,7 +29292,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29055
29292
|
invitationId: string;
|
|
29056
29293
|
email: string;
|
|
29057
29294
|
role: "ADMIN" | "STAFF";
|
|
29058
|
-
status: "
|
|
29295
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
29059
29296
|
invitedBy: string;
|
|
29060
29297
|
expiresAt: string;
|
|
29061
29298
|
createdAt: string;
|
|
@@ -30511,16 +30748,17 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
30511
30748
|
readonly storefront: readonly ["r", "rw"];
|
|
30512
30749
|
readonly flow: readonly ["r", "rw"];
|
|
30513
30750
|
readonly inventory: readonly ["r", "rw"];
|
|
30751
|
+
readonly privacy: readonly ["r"];
|
|
30514
30752
|
};
|
|
30515
30753
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
30516
30754
|
export declare const storeScopeResourceSchema: z$1.ZodEnum<{
|
|
30755
|
+
flow: "flow";
|
|
30517
30756
|
product: "product";
|
|
30518
30757
|
category: "category";
|
|
30519
30758
|
order: "order";
|
|
30520
|
-
|
|
30759
|
+
privacy: "privacy";
|
|
30521
30760
|
analytics: "analytics";
|
|
30522
30761
|
storefront: "storefront";
|
|
30523
|
-
customer: "customer";
|
|
30524
30762
|
claim: "claim";
|
|
30525
30763
|
inquiry: "inquiry";
|
|
30526
30764
|
review: "review";
|
|
@@ -30528,6 +30766,7 @@ export declare const storeScopeResourceSchema: z$1.ZodEnum<{
|
|
|
30528
30766
|
webhook: "webhook";
|
|
30529
30767
|
store: "store";
|
|
30530
30768
|
member: "member";
|
|
30769
|
+
customer: "customer";
|
|
30531
30770
|
audit: "audit";
|
|
30532
30771
|
promotion: "promotion";
|
|
30533
30772
|
inventory: "inventory";
|
|
@@ -30539,8 +30778,8 @@ export declare function isStoreScope(scope: string): boolean;
|
|
|
30539
30778
|
* 계정 토큰으로 상점을 호출할 때의 스코프는 그 상점에서의 역할로 이 표에서 결정된다.
|
|
30540
30779
|
*/
|
|
30541
30780
|
export declare const STORE_ROLE_SCOPES: {
|
|
30542
|
-
readonly OWNER: readonly ["product:rw", "category:rw", "order:rw", "claim:rw", "inquiry:rw", "review:rw", "settlement:r", "analytics:r", "webhook:rw", "store:rw", "member:rw", "customer:rw", "audit:r", "promotion:rw", "storefront:rw", "flow:rw", "inventory:rw"];
|
|
30543
|
-
readonly ADMIN: readonly ["product:rw", "category:rw", "order:rw", "claim:rw", "inquiry:rw", "review:rw", "analytics:r", "webhook:rw", "store:rw", "member:rw", "customer:rw", "audit:r", "promotion:rw", "storefront:rw", "flow:rw", "inventory:rw"];
|
|
30781
|
+
readonly OWNER: readonly ["product:rw", "category:rw", "order:rw", "claim:rw", "inquiry:rw", "review:rw", "settlement:r", "analytics:r", "webhook:rw", "store:rw", "member:rw", "customer:rw", "audit:r", "promotion:rw", "storefront:rw", "flow:rw", "inventory:rw", "privacy:r"];
|
|
30782
|
+
readonly ADMIN: readonly ["product:rw", "category:rw", "order:rw", "claim:rw", "inquiry:rw", "review:rw", "analytics:r", "webhook:rw", "store:rw", "member:rw", "customer:rw", "audit:r", "promotion:rw", "storefront:rw", "flow:rw", "inventory:rw", "privacy:r"];
|
|
30544
30783
|
readonly STAFF: readonly ["product:rw", "category:rw", "order:rw", "claim:rw", "inquiry:rw", "review:rw", "customer:r", "promotion:r", "flow:r", "inventory:rw"];
|
|
30545
30784
|
};
|
|
30546
30785
|
//#endregion
|
|
@@ -30965,8 +31204,8 @@ export declare const starterStatusSchema: z$1.ZodObject<{
|
|
|
30965
31204
|
siteId: z$1.ZodString;
|
|
30966
31205
|
url: z$1.ZodString;
|
|
30967
31206
|
visibility: z$1.ZodEnum<{
|
|
30968
|
-
COMING_SOON: "COMING_SOON";
|
|
30969
31207
|
PUBLIC: "PUBLIC";
|
|
31208
|
+
COMING_SOON: "COMING_SOON";
|
|
30970
31209
|
}>;
|
|
30971
31210
|
status: z$1.ZodString;
|
|
30972
31211
|
synced: z$1.ZodBoolean;
|