@sayren/store-sdk 0.64.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 +595 -474
- package/dist/index.mjs +92 -14
- package/package.json +1 -1
- package/src/client.ts +21 -5
- package/src/schemas/ai.ts +23 -0
- package/src/schemas/app-manifest.ts +1 -0
- package/src/schemas/claim.ts +44 -1
- package/src/schemas/misc.ts +2 -0
- package/src/schemas/order.ts +52 -2
- package/src/schemas/payment.ts +19 -1
- package/src/schemas/webhook-event.ts +38 -2
package/dist/index.d.mts
CHANGED
|
@@ -166,9 +166,9 @@ export declare const auditLogPageSchema: z$1.ZodObject<{
|
|
|
166
166
|
}, z$1.core.$strip>;
|
|
167
167
|
export type AuditLogPage = z$1.infer<typeof auditLogPageSchema>;
|
|
168
168
|
export declare const agentPolicyDecisionSchema: z$1.ZodEnum<{
|
|
169
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
169
170
|
DENIED: "DENIED";
|
|
170
171
|
ALLOW: "ALLOW";
|
|
171
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
172
172
|
}>;
|
|
173
173
|
export type AgentPolicyDecision = z$1.infer<typeof agentPolicyDecisionSchema>;
|
|
174
174
|
export declare const writePreviewSchema: z$1.ZodObject<{
|
|
@@ -192,9 +192,9 @@ export type WritePreview = z$1.infer<typeof writePreviewSchema>;
|
|
|
192
192
|
export declare const writeDryRunResultSchema: z$1.ZodObject<{
|
|
193
193
|
dryRun: z$1.ZodLiteral<true>;
|
|
194
194
|
decision: z$1.ZodEnum<{
|
|
195
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
196
|
DENIED: "DENIED";
|
|
196
197
|
ALLOW: "ALLOW";
|
|
197
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
198
198
|
}>;
|
|
199
199
|
reason: z$1.ZodNullable<z$1.ZodString>;
|
|
200
200
|
preview: z$1.ZodObject<{
|
|
@@ -216,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
|
-
version: "version";
|
|
506
504
|
status: "status";
|
|
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
|
-
version: "version";
|
|
761
759
|
status: "status";
|
|
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
|
-
version: "version";
|
|
917
915
|
status: "status";
|
|
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
|
-
version: "version";
|
|
1106
1104
|
status: "status";
|
|
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
|
-
version: "version";
|
|
1610
1615
|
status: "status";
|
|
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
|
-
version: "version";
|
|
1738
1743
|
status: "status";
|
|
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
|
-
version: "version";
|
|
1966
1971
|
status: "status";
|
|
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
|
-
version: "version";
|
|
2094
2099
|
status: "status";
|
|
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"];
|
|
@@ -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";
|
|
@@ -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로 내려받는다 */
|
|
@@ -9345,14 +9418,14 @@ export declare const customerOrderSchema: z$1.ZodObject<{
|
|
|
9345
9418
|
optionName: z$1.ZodNullable<z$1.ZodString>;
|
|
9346
9419
|
quantity: z$1.ZodNumber;
|
|
9347
9420
|
status: z$1.ZodEnum<{
|
|
9348
|
-
PAID: "PAID";
|
|
9349
|
-
CANCELED: "CANCELED";
|
|
9350
9421
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
9422
|
+
PAID: "PAID";
|
|
9351
9423
|
CONFIRMED: "CONFIRMED";
|
|
9352
9424
|
DISPATCHED: "DISPATCHED";
|
|
9353
9425
|
DELIVERING: "DELIVERING";
|
|
9354
9426
|
DELIVERED: "DELIVERED";
|
|
9355
9427
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
9428
|
+
CANCELED: "CANCELED";
|
|
9356
9429
|
}>;
|
|
9357
9430
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9358
9431
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -9365,10 +9438,10 @@ export type CustomerOrder = z$1.infer<typeof customerOrderSchema>;
|
|
|
9365
9438
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
9366
9439
|
export declare const withdrawCustomerRequestSchema: z$1.ZodObject<{
|
|
9367
9440
|
reason: z$1.ZodEnum<{
|
|
9441
|
+
OTHER: "OTHER";
|
|
9368
9442
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
9369
9443
|
DORMANT: "DORMANT";
|
|
9370
9444
|
ABUSE: "ABUSE";
|
|
9371
|
-
OTHER: "OTHER";
|
|
9372
9445
|
}>;
|
|
9373
9446
|
memo: z$1.ZodOptional<z$1.ZodString>;
|
|
9374
9447
|
}, z$1.core.$strip>;
|
|
@@ -9852,11 +9925,11 @@ export declare const inquirySchema: z$1.ZodObject<{
|
|
|
9852
9925
|
productName: z$1.ZodString;
|
|
9853
9926
|
orderItemId: z$1.ZodNullable<z$1.ZodString>;
|
|
9854
9927
|
category: z$1.ZodEnum<{
|
|
9928
|
+
RETURN: "RETURN";
|
|
9929
|
+
EXCHANGE: "EXCHANGE";
|
|
9855
9930
|
ETC: "ETC";
|
|
9856
9931
|
PRODUCT: "PRODUCT";
|
|
9857
9932
|
DELIVERY: "DELIVERY";
|
|
9858
|
-
RETURN: "RETURN";
|
|
9859
|
-
EXCHANGE: "EXCHANGE";
|
|
9860
9933
|
}>;
|
|
9861
9934
|
content: z$1.ZodString;
|
|
9862
9935
|
secret: z$1.ZodBoolean;
|
|
@@ -9871,10 +9944,10 @@ export declare const inquirySchema: z$1.ZodObject<{
|
|
|
9871
9944
|
}, z$1.core.$strip>;
|
|
9872
9945
|
export type Inquiry = z$1.infer<typeof inquirySchema>;
|
|
9873
9946
|
export declare const customerInquiryCategorySchema: z$1.ZodEnum<{
|
|
9874
|
-
ETC: "ETC";
|
|
9875
|
-
DELIVERY: "DELIVERY";
|
|
9876
9947
|
RETURN: "RETURN";
|
|
9877
9948
|
EXCHANGE: "EXCHANGE";
|
|
9949
|
+
ETC: "ETC";
|
|
9950
|
+
DELIVERY: "DELIVERY";
|
|
9878
9951
|
PAYMENT: "PAYMENT";
|
|
9879
9952
|
}>;
|
|
9880
9953
|
export type CustomerInquiryCategory = z$1.infer<typeof customerInquiryCategorySchema>;
|
|
@@ -9883,10 +9956,10 @@ export declare const sellerCustomerInquirySchema: z$1.ZodObject<{
|
|
|
9883
9956
|
inquiryId: z$1.ZodString;
|
|
9884
9957
|
memberMaskedName: z$1.ZodString;
|
|
9885
9958
|
category: z$1.ZodEnum<{
|
|
9886
|
-
ETC: "ETC";
|
|
9887
|
-
DELIVERY: "DELIVERY";
|
|
9888
9959
|
RETURN: "RETURN";
|
|
9889
9960
|
EXCHANGE: "EXCHANGE";
|
|
9961
|
+
ETC: "ETC";
|
|
9962
|
+
DELIVERY: "DELIVERY";
|
|
9890
9963
|
PAYMENT: "PAYMENT";
|
|
9891
9964
|
}>;
|
|
9892
9965
|
title: z$1.ZodString;
|
|
@@ -9921,18 +9994,18 @@ export declare const customerInquiryListQuerySchema: z$1.ZodObject<{
|
|
|
9921
9994
|
false: "false";
|
|
9922
9995
|
}>>;
|
|
9923
9996
|
category: z$1.ZodOptional<z$1.ZodEnum<{
|
|
9924
|
-
ETC: "ETC";
|
|
9925
|
-
DELIVERY: "DELIVERY";
|
|
9926
9997
|
RETURN: "RETURN";
|
|
9927
9998
|
EXCHANGE: "EXCHANGE";
|
|
9999
|
+
ETC: "ETC";
|
|
10000
|
+
DELIVERY: "DELIVERY";
|
|
9928
10001
|
PAYMENT: "PAYMENT";
|
|
9929
10002
|
}>>;
|
|
9930
10003
|
from: z$1.ZodOptional<z$1.ZodString>;
|
|
9931
10004
|
}, z$1.core.$strip>;
|
|
9932
10005
|
export declare const settlementStatusSchema: z$1.ZodEnum<{
|
|
9933
10006
|
PAID: "PAID";
|
|
9934
|
-
SCHEDULED: "SCHEDULED";
|
|
9935
10007
|
HELD: "HELD";
|
|
10008
|
+
SCHEDULED: "SCHEDULED";
|
|
9936
10009
|
}>;
|
|
9937
10010
|
export type SettlementStatus = z$1.infer<typeof settlementStatusSchema>;
|
|
9938
10011
|
export declare const settlementSummarySchema: z$1.ZodObject<{
|
|
@@ -9941,8 +10014,8 @@ export declare const settlementSummarySchema: z$1.ZodObject<{
|
|
|
9941
10014
|
payoutDate: z$1.ZodNullable<z$1.ZodString>;
|
|
9942
10015
|
status: z$1.ZodEnum<{
|
|
9943
10016
|
PAID: "PAID";
|
|
9944
|
-
SCHEDULED: "SCHEDULED";
|
|
9945
10017
|
HELD: "HELD";
|
|
10018
|
+
SCHEDULED: "SCHEDULED";
|
|
9946
10019
|
}>;
|
|
9947
10020
|
totalPaymentAmount: z$1.ZodNumber;
|
|
9948
10021
|
totalCommission: z$1.ZodNumber;
|
|
@@ -9976,8 +10049,8 @@ export declare const settlementWithDetailsSchema: z$1.ZodObject<{
|
|
|
9976
10049
|
payoutDate: z$1.ZodNullable<z$1.ZodString>;
|
|
9977
10050
|
status: z$1.ZodEnum<{
|
|
9978
10051
|
PAID: "PAID";
|
|
9979
|
-
SCHEDULED: "SCHEDULED";
|
|
9980
10052
|
HELD: "HELD";
|
|
10053
|
+
SCHEDULED: "SCHEDULED";
|
|
9981
10054
|
}>;
|
|
9982
10055
|
totalPaymentAmount: z$1.ZodNumber;
|
|
9983
10056
|
totalCommission: z$1.ZodNumber;
|
|
@@ -10011,8 +10084,8 @@ export declare const settlementListQuerySchema: z$1.ZodObject<{
|
|
|
10011
10084
|
to: z$1.ZodOptional<z$1.ZodString>;
|
|
10012
10085
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10013
10086
|
PAID: "PAID";
|
|
10014
|
-
SCHEDULED: "SCHEDULED";
|
|
10015
10087
|
HELD: "HELD";
|
|
10088
|
+
SCHEDULED: "SCHEDULED";
|
|
10016
10089
|
}>>;
|
|
10017
10090
|
}, z$1.core.$strip>;
|
|
10018
10091
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -10032,8 +10105,8 @@ export declare const eventTypeSchema: z$1.ZodEnum<{
|
|
|
10032
10105
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10033
10106
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10034
10107
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10035
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10036
10108
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10109
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10037
10110
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10038
10111
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10039
10112
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10046,11 +10119,12 @@ export declare const eventTypeSchema: z$1.ZodEnum<{
|
|
|
10046
10119
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10047
10120
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10048
10121
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10122
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10049
10123
|
}>;
|
|
10050
10124
|
export type EventType = z$1.infer<typeof eventTypeSchema>;
|
|
10051
10125
|
export declare const webhookStatusSchema: z$1.ZodEnum<{
|
|
10052
|
-
SUSPENDED: "SUSPENDED";
|
|
10053
10126
|
ACTIVE: "ACTIVE";
|
|
10127
|
+
SUSPENDED: "SUSPENDED";
|
|
10054
10128
|
}>;
|
|
10055
10129
|
export type WebhookStatus = z$1.infer<typeof webhookStatusSchema>;
|
|
10056
10130
|
export declare const webhookSchema: z$1.ZodObject<{
|
|
@@ -10063,8 +10137,8 @@ export declare const webhookSchema: z$1.ZodObject<{
|
|
|
10063
10137
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10064
10138
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10065
10139
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10066
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10067
10140
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10141
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10068
10142
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10069
10143
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10070
10144
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10077,10 +10151,11 @@ export declare const webhookSchema: z$1.ZodObject<{
|
|
|
10077
10151
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10078
10152
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10079
10153
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10154
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10080
10155
|
}>>;
|
|
10081
10156
|
status: z$1.ZodEnum<{
|
|
10082
|
-
SUSPENDED: "SUSPENDED";
|
|
10083
10157
|
ACTIVE: "ACTIVE";
|
|
10158
|
+
SUSPENDED: "SUSPENDED";
|
|
10084
10159
|
}>;
|
|
10085
10160
|
secretPrefix: z$1.ZodString;
|
|
10086
10161
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10098,8 +10173,8 @@ export declare const webhookCreatedSchema: z$1.ZodObject<{
|
|
|
10098
10173
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10099
10174
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10100
10175
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10101
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10102
10176
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10177
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10103
10178
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10104
10179
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10105
10180
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10112,10 +10187,11 @@ export declare const webhookCreatedSchema: z$1.ZodObject<{
|
|
|
10112
10187
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10113
10188
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10114
10189
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10190
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10115
10191
|
}>>;
|
|
10116
10192
|
status: z$1.ZodEnum<{
|
|
10117
|
-
SUSPENDED: "SUSPENDED";
|
|
10118
10193
|
ACTIVE: "ACTIVE";
|
|
10194
|
+
SUSPENDED: "SUSPENDED";
|
|
10119
10195
|
}>;
|
|
10120
10196
|
secretPrefix: z$1.ZodString;
|
|
10121
10197
|
suspendedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10189,8 +10265,8 @@ export declare const webhookDeliverySchema: z$1.ZodObject<{
|
|
|
10189
10265
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10190
10266
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10191
10267
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10192
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10193
10268
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10269
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10194
10270
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10195
10271
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10196
10272
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10203,6 +10279,7 @@ export declare const webhookDeliverySchema: z$1.ZodObject<{
|
|
|
10203
10279
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10204
10280
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10205
10281
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10282
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10206
10283
|
}>;
|
|
10207
10284
|
url: z$1.ZodString;
|
|
10208
10285
|
status: z$1.ZodEnum<{
|
|
@@ -10253,8 +10330,8 @@ export declare const webhookDeliveryDetailSchema: z$1.ZodObject<{
|
|
|
10253
10330
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10254
10331
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10255
10332
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10256
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10257
10333
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10334
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10258
10335
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10259
10336
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10260
10337
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10267,6 +10344,7 @@ export declare const webhookDeliveryDetailSchema: z$1.ZodObject<{
|
|
|
10267
10344
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10268
10345
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10269
10346
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10347
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10270
10348
|
}>;
|
|
10271
10349
|
url: z$1.ZodString;
|
|
10272
10350
|
status: z$1.ZodEnum<{
|
|
@@ -10326,8 +10404,8 @@ export declare const webhookDeliveryListQuerySchema: z$1.ZodObject<{
|
|
|
10326
10404
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10327
10405
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10328
10406
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10329
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10330
10407
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10408
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10331
10409
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10332
10410
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10333
10411
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10340,6 +10418,7 @@ export declare const webhookDeliveryListQuerySchema: z$1.ZodObject<{
|
|
|
10340
10418
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10341
10419
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10342
10420
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10421
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10343
10422
|
}>>;
|
|
10344
10423
|
resourceId: z$1.ZodOptional<z$1.ZodString>;
|
|
10345
10424
|
limit: z$1.ZodOptional<z$1.ZodCoercedNumber<unknown>>;
|
|
@@ -10358,8 +10437,8 @@ export declare const webhookTestRequestSchema: z$1.ZodObject<{
|
|
|
10358
10437
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10359
10438
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10360
10439
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10361
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10362
10440
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10441
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10363
10442
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10364
10443
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10365
10444
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10372,6 +10451,7 @@ export declare const webhookTestRequestSchema: z$1.ZodObject<{
|
|
|
10372
10451
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10373
10452
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10374
10453
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10454
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10375
10455
|
}>;
|
|
10376
10456
|
}, z$1.core.$strip>;
|
|
10377
10457
|
export type WebhookTestRequest = z$1.infer<typeof webhookTestRequestSchema>;
|
|
@@ -10410,8 +10490,8 @@ export declare const webhookRequestSchema: z$1.ZodObject<{
|
|
|
10410
10490
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
10411
10491
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
10412
10492
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
10413
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10414
10493
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
10494
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
10415
10495
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
10416
10496
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
10417
10497
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -10424,6 +10504,7 @@ export declare const webhookRequestSchema: z$1.ZodObject<{
|
|
|
10424
10504
|
"INVENTORY.CHANGED": "INVENTORY.CHANGED";
|
|
10425
10505
|
"ORDER.PAYMENT_ADDED": "ORDER.PAYMENT_ADDED";
|
|
10426
10506
|
"ORDER.PAYMENT_REQUESTED": "ORDER.PAYMENT_REQUESTED";
|
|
10507
|
+
"ORDER.REFUNDED": "ORDER.REFUNDED";
|
|
10427
10508
|
}>>;
|
|
10428
10509
|
}, z$1.core.$strip>;
|
|
10429
10510
|
export type WebhookRequest = z$1.infer<typeof webhookRequestSchema>;
|
|
@@ -10504,24 +10585,24 @@ export declare const orderSummarySchema: z$1.ZodObject<{
|
|
|
10504
10585
|
itemCount: z$1.ZodNumber;
|
|
10505
10586
|
totalAmount: z$1.ZodNumber;
|
|
10506
10587
|
representativeStatus: z$1.ZodEnum<{
|
|
10507
|
-
PAID: "PAID";
|
|
10508
|
-
CANCELED: "CANCELED";
|
|
10509
10588
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10589
|
+
PAID: "PAID";
|
|
10510
10590
|
CONFIRMED: "CONFIRMED";
|
|
10511
10591
|
DISPATCHED: "DISPATCHED";
|
|
10512
10592
|
DELIVERING: "DELIVERING";
|
|
10513
10593
|
DELIVERED: "DELIVERED";
|
|
10514
10594
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10595
|
+
CANCELED: "CANCELED";
|
|
10515
10596
|
}>;
|
|
10516
10597
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10517
|
-
PAID: "PAID";
|
|
10518
|
-
CANCELED: "CANCELED";
|
|
10519
10598
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10599
|
+
PAID: "PAID";
|
|
10520
10600
|
CONFIRMED: "CONFIRMED";
|
|
10521
10601
|
DISPATCHED: "DISPATCHED";
|
|
10522
10602
|
DELIVERING: "DELIVERING";
|
|
10523
10603
|
DELIVERED: "DELIVERED";
|
|
10524
10604
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10605
|
+
CANCELED: "CANCELED";
|
|
10525
10606
|
}>>;
|
|
10526
10607
|
orderedAt: z$1.ZodString;
|
|
10527
10608
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10553,15 +10634,15 @@ export declare const orderItemSchema: z$1.ZodObject<{
|
|
|
10553
10634
|
orderItemNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10554
10635
|
orderId: z$1.ZodString;
|
|
10555
10636
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10556
|
-
status: z$1.ZodEnum<{
|
|
10557
|
-
PAID: "PAID";
|
|
10558
|
-
CANCELED: "CANCELED";
|
|
10637
|
+
status: z$1.ZodEnum<{
|
|
10559
10638
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10639
|
+
PAID: "PAID";
|
|
10560
10640
|
CONFIRMED: "CONFIRMED";
|
|
10561
10641
|
DISPATCHED: "DISPATCHED";
|
|
10562
10642
|
DELIVERING: "DELIVERING";
|
|
10563
10643
|
DELIVERED: "DELIVERED";
|
|
10564
10644
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10645
|
+
CANCELED: "CANCELED";
|
|
10565
10646
|
}>;
|
|
10566
10647
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10567
10648
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10685,14 +10766,14 @@ export type OrderPayment = z$1.infer<typeof orderPaymentSchema>;
|
|
|
10685
10766
|
export declare const orderSchema: z$1.ZodObject<{
|
|
10686
10767
|
orderId: z$1.ZodString;
|
|
10687
10768
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10688
|
-
PAID: "PAID";
|
|
10689
|
-
CANCELED: "CANCELED";
|
|
10690
10769
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10770
|
+
PAID: "PAID";
|
|
10691
10771
|
CONFIRMED: "CONFIRMED";
|
|
10692
10772
|
DISPATCHED: "DISPATCHED";
|
|
10693
10773
|
DELIVERING: "DELIVERING";
|
|
10694
10774
|
DELIVERED: "DELIVERED";
|
|
10695
10775
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10776
|
+
CANCELED: "CANCELED";
|
|
10696
10777
|
}>>;
|
|
10697
10778
|
orderNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10698
10779
|
orderedAt: z$1.ZodString;
|
|
@@ -10808,14 +10889,14 @@ export declare const orderSchema: z$1.ZodObject<{
|
|
|
10808
10889
|
orderId: z$1.ZodString;
|
|
10809
10890
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10810
10891
|
status: z$1.ZodEnum<{
|
|
10811
|
-
PAID: "PAID";
|
|
10812
|
-
CANCELED: "CANCELED";
|
|
10813
10892
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
10893
|
+
PAID: "PAID";
|
|
10814
10894
|
CONFIRMED: "CONFIRMED";
|
|
10815
10895
|
DISPATCHED: "DISPATCHED";
|
|
10816
10896
|
DELIVERING: "DELIVERING";
|
|
10817
10897
|
DELIVERED: "DELIVERED";
|
|
10818
10898
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
10899
|
+
CANCELED: "CANCELED";
|
|
10819
10900
|
}>;
|
|
10820
10901
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10821
10902
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -10930,24 +11011,24 @@ export declare const orderSummaryPageSchema: z$1.ZodObject<{
|
|
|
10930
11011
|
itemCount: z$1.ZodNumber;
|
|
10931
11012
|
totalAmount: z$1.ZodNumber;
|
|
10932
11013
|
representativeStatus: z$1.ZodEnum<{
|
|
10933
|
-
PAID: "PAID";
|
|
10934
|
-
CANCELED: "CANCELED";
|
|
10935
11014
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11015
|
+
PAID: "PAID";
|
|
10936
11016
|
CONFIRMED: "CONFIRMED";
|
|
10937
11017
|
DISPATCHED: "DISPATCHED";
|
|
10938
11018
|
DELIVERING: "DELIVERING";
|
|
10939
11019
|
DELIVERED: "DELIVERED";
|
|
10940
11020
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11021
|
+
CANCELED: "CANCELED";
|
|
10941
11022
|
}>;
|
|
10942
11023
|
progressStatus: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10943
|
-
PAID: "PAID";
|
|
10944
|
-
CANCELED: "CANCELED";
|
|
10945
11024
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11025
|
+
PAID: "PAID";
|
|
10946
11026
|
CONFIRMED: "CONFIRMED";
|
|
10947
11027
|
DISPATCHED: "DISPATCHED";
|
|
10948
11028
|
DELIVERING: "DELIVERING";
|
|
10949
11029
|
DELIVERED: "DELIVERED";
|
|
10950
11030
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11031
|
+
CANCELED: "CANCELED";
|
|
10951
11032
|
}>>;
|
|
10952
11033
|
orderedAt: z$1.ZodString;
|
|
10953
11034
|
currency: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10967,14 +11048,14 @@ export declare const orderItemPageSchema: z$1.ZodObject<{
|
|
|
10967
11048
|
orderId: z$1.ZodString;
|
|
10968
11049
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
10969
11050
|
status: z$1.ZodEnum<{
|
|
10970
|
-
PAID: "PAID";
|
|
10971
|
-
CANCELED: "CANCELED";
|
|
10972
11051
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11052
|
+
PAID: "PAID";
|
|
10973
11053
|
CONFIRMED: "CONFIRMED";
|
|
10974
11054
|
DISPATCHED: "DISPATCHED";
|
|
10975
11055
|
DELIVERING: "DELIVERING";
|
|
10976
11056
|
DELIVERED: "DELIVERED";
|
|
10977
11057
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11058
|
+
CANCELED: "CANCELED";
|
|
10978
11059
|
}>;
|
|
10979
11060
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10980
11061
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -11087,14 +11168,14 @@ export declare const orderListQuerySchema: z$1.ZodObject<{
|
|
|
11087
11168
|
orderedFrom: z$1.ZodOptional<z$1.ZodString>;
|
|
11088
11169
|
orderedTo: z$1.ZodOptional<z$1.ZodString>;
|
|
11089
11170
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
11090
|
-
PAID: "PAID";
|
|
11091
|
-
CANCELED: "CANCELED";
|
|
11092
11171
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11172
|
+
PAID: "PAID";
|
|
11093
11173
|
CONFIRMED: "CONFIRMED";
|
|
11094
11174
|
DISPATCHED: "DISPATCHED";
|
|
11095
11175
|
DELIVERING: "DELIVERING";
|
|
11096
11176
|
DELIVERED: "DELIVERED";
|
|
11097
11177
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11178
|
+
CANCELED: "CANCELED";
|
|
11098
11179
|
}>>;
|
|
11099
11180
|
keyword: z$1.ZodOptional<z$1.ZodString>;
|
|
11100
11181
|
orderNo: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -11203,14 +11284,14 @@ export declare const shippingOrderItemSchema: z$1.ZodObject<{
|
|
|
11203
11284
|
orderId: z$1.ZodString;
|
|
11204
11285
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
11205
11286
|
status: z$1.ZodEnum<{
|
|
11206
|
-
PAID: "PAID";
|
|
11207
|
-
CANCELED: "CANCELED";
|
|
11208
11287
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11288
|
+
PAID: "PAID";
|
|
11209
11289
|
CONFIRMED: "CONFIRMED";
|
|
11210
11290
|
DISPATCHED: "DISPATCHED";
|
|
11211
11291
|
DELIVERING: "DELIVERING";
|
|
11212
11292
|
DELIVERED: "DELIVERED";
|
|
11213
11293
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11294
|
+
CANCELED: "CANCELED";
|
|
11214
11295
|
}>;
|
|
11215
11296
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
11216
11297
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -11363,14 +11444,14 @@ export declare const shippingOrderItemPageSchema: z$1.ZodObject<{
|
|
|
11363
11444
|
orderId: z$1.ZodString;
|
|
11364
11445
|
paymentId: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
11365
11446
|
status: z$1.ZodEnum<{
|
|
11366
|
-
PAID: "PAID";
|
|
11367
|
-
CANCELED: "CANCELED";
|
|
11368
11447
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
11448
|
+
PAID: "PAID";
|
|
11369
11449
|
CONFIRMED: "CONFIRMED";
|
|
11370
11450
|
DISPATCHED: "DISPATCHED";
|
|
11371
11451
|
DELIVERING: "DELIVERING";
|
|
11372
11452
|
DELIVERED: "DELIVERED";
|
|
11373
11453
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
11454
|
+
CANCELED: "CANCELED";
|
|
11374
11455
|
}>;
|
|
11375
11456
|
claimStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
11376
11457
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -11622,10 +11703,21 @@ export declare const cancelBySellerRequestSchema: z$1.ZodObject<{
|
|
|
11622
11703
|
BUYER: "BUYER";
|
|
11623
11704
|
}>>;
|
|
11624
11705
|
deductAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11706
|
+
refundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11625
11707
|
restock: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11626
11708
|
reclaimPurchasePoints: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
11627
11709
|
}, z$1.core.$strip>;
|
|
11628
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>;
|
|
11629
11721
|
/**
|
|
11630
11722
|
* 제공 처리 요청 (이슈 #48) — `POST /v1/order-items/{orderItemId}/fulfill`. 배송 없는 주문상품(`MANUAL`)을
|
|
11631
11723
|
* 제공 완료(`DELIVERED`)로 바꾼다.
|
|
@@ -11644,6 +11736,7 @@ export type FulfillBulkRequest = z$1.infer<typeof fulfillBulkRequestSchema>;
|
|
|
11644
11736
|
export declare const cancelBySellerResultSchema: z$1.ZodObject<{
|
|
11645
11737
|
orderItemId: z$1.ZodString;
|
|
11646
11738
|
refundAmount: z$1.ZodNumber;
|
|
11739
|
+
calculatedRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
11647
11740
|
quantity: z$1.ZodNumber;
|
|
11648
11741
|
canceledQuantity: z$1.ZodNumber;
|
|
11649
11742
|
deliveryFeeRefundAmount: z$1.ZodNumber;
|
|
@@ -12819,9 +12912,9 @@ export type SalesReport = z$1.infer<typeof salesReportSchema>;
|
|
|
12819
12912
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
12820
12913
|
*/
|
|
12821
12914
|
export declare const paymentRecordStatusSchema: z$1.ZodEnum<{
|
|
12915
|
+
APPROVED: "APPROVED";
|
|
12822
12916
|
PENDING: "PENDING";
|
|
12823
12917
|
FAILED: "FAILED";
|
|
12824
|
-
APPROVED: "APPROVED";
|
|
12825
12918
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12826
12919
|
REFUNDED: "REFUNDED";
|
|
12827
12920
|
}>;
|
|
@@ -12864,9 +12957,9 @@ export declare const paymentRecordSchema: z$1.ZodObject<{
|
|
|
12864
12957
|
orderName: z$1.ZodString;
|
|
12865
12958
|
customerName: z$1.ZodString;
|
|
12866
12959
|
status: z$1.ZodEnum<{
|
|
12960
|
+
APPROVED: "APPROVED";
|
|
12867
12961
|
PENDING: "PENDING";
|
|
12868
12962
|
FAILED: "FAILED";
|
|
12869
|
-
APPROVED: "APPROVED";
|
|
12870
12963
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12871
12964
|
REFUNDED: "REFUNDED";
|
|
12872
12965
|
}>;
|
|
@@ -12909,9 +13002,9 @@ export declare const paymentRecordPageSchema: z$1.ZodObject<{
|
|
|
12909
13002
|
orderName: z$1.ZodString;
|
|
12910
13003
|
customerName: z$1.ZodString;
|
|
12911
13004
|
status: z$1.ZodEnum<{
|
|
13005
|
+
APPROVED: "APPROVED";
|
|
12912
13006
|
PENDING: "PENDING";
|
|
12913
13007
|
FAILED: "FAILED";
|
|
12914
|
-
APPROVED: "APPROVED";
|
|
12915
13008
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
12916
13009
|
REFUNDED: "REFUNDED";
|
|
12917
13010
|
}>;
|
|
@@ -12982,6 +13075,7 @@ export declare const paymentRefundRecordSchema: z$1.ZodObject<{
|
|
|
12982
13075
|
refundId: z$1.ZodString;
|
|
12983
13076
|
amount: z$1.ZodNumber;
|
|
12984
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>>>;
|
|
12985
13079
|
reason: z$1.ZodString;
|
|
12986
13080
|
kind: z$1.ZodString;
|
|
12987
13081
|
status: z$1.ZodString;
|
|
@@ -12996,9 +13090,9 @@ export declare const paymentRecordDetailSchema: z$1.ZodObject<{
|
|
|
12996
13090
|
orderName: z$1.ZodString;
|
|
12997
13091
|
customerName: z$1.ZodString;
|
|
12998
13092
|
status: z$1.ZodEnum<{
|
|
13093
|
+
APPROVED: "APPROVED";
|
|
12999
13094
|
PENDING: "PENDING";
|
|
13000
13095
|
FAILED: "FAILED";
|
|
13001
|
-
APPROVED: "APPROVED";
|
|
13002
13096
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
13003
13097
|
REFUNDED: "REFUNDED";
|
|
13004
13098
|
}>;
|
|
@@ -13029,6 +13123,7 @@ export declare const paymentRecordDetailSchema: z$1.ZodObject<{
|
|
|
13029
13123
|
createdAt: z$1.ZodString;
|
|
13030
13124
|
cashReceiptStatus: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
13031
13125
|
refundableAmount: z$1.ZodNumber;
|
|
13126
|
+
availableRefundAmount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13032
13127
|
merchantId: z$1.ZodNullable<z$1.ZodString>;
|
|
13033
13128
|
attempts: z$1.ZodArray<z$1.ZodObject<{
|
|
13034
13129
|
attemptId: z$1.ZodString;
|
|
@@ -13067,6 +13162,7 @@ export declare const paymentRecordDetailSchema: z$1.ZodObject<{
|
|
|
13067
13162
|
refundId: z$1.ZodString;
|
|
13068
13163
|
amount: z$1.ZodNumber;
|
|
13069
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>>>;
|
|
13070
13166
|
reason: z$1.ZodString;
|
|
13071
13167
|
kind: z$1.ZodString;
|
|
13072
13168
|
status: z$1.ZodString;
|
|
@@ -13360,11 +13456,11 @@ export type PointEntry = z$1.infer<typeof pointEntrySchema>;
|
|
|
13360
13456
|
export declare const pointLotSchema: z$1.ZodObject<{
|
|
13361
13457
|
lotId: z$1.ZodString;
|
|
13362
13458
|
source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13459
|
+
PURCHASE: "PURCHASE";
|
|
13363
13460
|
OPENING: "OPENING";
|
|
13364
13461
|
ADJUST: "ADJUST";
|
|
13365
13462
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13366
13463
|
REVIEW: "REVIEW";
|
|
13367
|
-
PURCHASE: "PURCHASE";
|
|
13368
13464
|
COUPON: "COUPON";
|
|
13369
13465
|
}>, z$1.ZodString]>;
|
|
13370
13466
|
amount: z$1.ZodNumber;
|
|
@@ -13380,11 +13476,11 @@ export declare const customerPointsSchema: z$1.ZodObject<{
|
|
|
13380
13476
|
lots: z$1.ZodArray<z$1.ZodObject<{
|
|
13381
13477
|
lotId: z$1.ZodString;
|
|
13382
13478
|
source: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
13479
|
+
PURCHASE: "PURCHASE";
|
|
13383
13480
|
OPENING: "OPENING";
|
|
13384
13481
|
ADJUST: "ADJUST";
|
|
13385
13482
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
13386
13483
|
REVIEW: "REVIEW";
|
|
13387
|
-
PURCHASE: "PURCHASE";
|
|
13388
13484
|
COUPON: "COUPON";
|
|
13389
13485
|
}>, z$1.ZodString]>;
|
|
13390
13486
|
amount: z$1.ZodNumber;
|
|
@@ -13472,10 +13568,10 @@ export declare function splitRefund(input: {
|
|
|
13472
13568
|
//#endregion
|
|
13473
13569
|
//#region src/schemas/product.d.ts
|
|
13474
13570
|
export declare const productStatusSchema: z$1.ZodEnum<{
|
|
13475
|
-
SALE: "SALE";
|
|
13476
13571
|
SUSPENDED: "SUSPENDED";
|
|
13477
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13478
13572
|
CLOSED: "CLOSED";
|
|
13573
|
+
SALE: "SALE";
|
|
13574
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13479
13575
|
}>;
|
|
13480
13576
|
export type ProductStatus = z$1.infer<typeof productStatusSchema>;
|
|
13481
13577
|
export declare const productSummarySchema: z$1.ZodObject<{
|
|
@@ -13483,10 +13579,10 @@ export declare const productSummarySchema: z$1.ZodObject<{
|
|
|
13483
13579
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13484
13580
|
name: z$1.ZodString;
|
|
13485
13581
|
status: z$1.ZodEnum<{
|
|
13486
|
-
SALE: "SALE";
|
|
13487
13582
|
SUSPENDED: "SUSPENDED";
|
|
13488
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13489
13583
|
CLOSED: "CLOSED";
|
|
13584
|
+
SALE: "SALE";
|
|
13585
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13490
13586
|
}>;
|
|
13491
13587
|
salePrice: z$1.ZodNumber;
|
|
13492
13588
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -13707,9 +13803,9 @@ export declare const customInputRequestSchema: z$1.ZodObject<{
|
|
|
13707
13803
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
13708
13804
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13709
13805
|
number: "number";
|
|
13806
|
+
select: "select";
|
|
13710
13807
|
date: "date";
|
|
13711
13808
|
text: "text";
|
|
13712
|
-
select: "select";
|
|
13713
13809
|
datetime: "datetime";
|
|
13714
13810
|
image: "image";
|
|
13715
13811
|
}>>;
|
|
@@ -13749,21 +13845,21 @@ export declare const discountSchema: z$1.ZodObject<{
|
|
|
13749
13845
|
export type Discount = z$1.infer<typeof discountSchema>;
|
|
13750
13846
|
export declare const productSchema: z$1.ZodObject<{
|
|
13751
13847
|
name: z$1.ZodString;
|
|
13752
|
-
salePrice: z$1.ZodNumber;
|
|
13753
13848
|
status: z$1.ZodEnum<{
|
|
13754
|
-
SALE: "SALE";
|
|
13755
13849
|
SUSPENDED: "SUSPENDED";
|
|
13756
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13757
13850
|
CLOSED: "CLOSED";
|
|
13851
|
+
SALE: "SALE";
|
|
13852
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13758
13853
|
}>;
|
|
13854
|
+
updatedAt: z$1.ZodString;
|
|
13855
|
+
productId: z$1.ZodString;
|
|
13856
|
+
salePrice: z$1.ZodNumber;
|
|
13759
13857
|
stockQuantity: z$1.ZodNumber;
|
|
13760
13858
|
categoryId: z$1.ZodNullable<z$1.ZodString>;
|
|
13761
|
-
productId: z$1.ZodString;
|
|
13762
13859
|
productNo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>>;
|
|
13763
13860
|
discountedPrice: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13764
13861
|
thumbnailUrl: z$1.ZodOptional<z$1.ZodURL>;
|
|
13765
13862
|
hasOptions: z$1.ZodBoolean;
|
|
13766
|
-
updatedAt: z$1.ZodString;
|
|
13767
13863
|
sample: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
|
|
13768
13864
|
prices: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13769
13865
|
currency: z$1.ZodString;
|
|
@@ -13849,8 +13945,8 @@ export declare const productSchema: z$1.ZodObject<{
|
|
|
13849
13945
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
13850
13946
|
shipping: z$1.ZodObject<{
|
|
13851
13947
|
deliveryType: z$1.ZodEnum<{
|
|
13852
|
-
FREE: "FREE";
|
|
13853
13948
|
PAID: "PAID";
|
|
13949
|
+
FREE: "FREE";
|
|
13854
13950
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
13855
13951
|
}>;
|
|
13856
13952
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14098,9 +14194,9 @@ export declare const optionModelRequestSchema: z$1.ZodObject<{
|
|
|
14098
14194
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14099
14195
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14100
14196
|
number: "number";
|
|
14197
|
+
select: "select";
|
|
14101
14198
|
date: "date";
|
|
14102
14199
|
text: "text";
|
|
14103
|
-
select: "select";
|
|
14104
14200
|
datetime: "datetime";
|
|
14105
14201
|
image: "image";
|
|
14106
14202
|
}>>;
|
|
@@ -14208,8 +14304,8 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14208
14304
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14209
14305
|
shipping: z$1.ZodOptional<z$1.ZodObject<{
|
|
14210
14306
|
deliveryType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
14211
|
-
FREE: "FREE";
|
|
14212
14307
|
PAID: "PAID";
|
|
14308
|
+
FREE: "FREE";
|
|
14213
14309
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14214
14310
|
}>>;
|
|
14215
14311
|
deliveryFee: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -14240,16 +14336,16 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14240
14336
|
}, z$1.core.$strict>>>;
|
|
14241
14337
|
}, z$1.core.$strict>>;
|
|
14242
14338
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14243
|
-
CARRIER: "CARRIER";
|
|
14244
14339
|
DIRECT: "DIRECT";
|
|
14340
|
+
CARRIER: "CARRIER";
|
|
14245
14341
|
PICKUP: "PICKUP";
|
|
14246
14342
|
PROVIDED: "PROVIDED";
|
|
14247
14343
|
}>>>;
|
|
14248
14344
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14249
14345
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14250
14346
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14251
|
-
CARRIER: "CARRIER";
|
|
14252
14347
|
DIRECT: "DIRECT";
|
|
14348
|
+
CARRIER: "CARRIER";
|
|
14253
14349
|
PICKUP: "PICKUP";
|
|
14254
14350
|
PROVIDED: "PROVIDED";
|
|
14255
14351
|
}>>>;
|
|
@@ -14344,9 +14440,9 @@ export declare const productCreateRequestSchema: z$1.ZodObject<{
|
|
|
14344
14440
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14345
14441
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14346
14442
|
number: "number";
|
|
14443
|
+
select: "select";
|
|
14347
14444
|
date: "date";
|
|
14348
14445
|
text: "text";
|
|
14349
|
-
select: "select";
|
|
14350
14446
|
datetime: "datetime";
|
|
14351
14447
|
image: "image";
|
|
14352
14448
|
}>>;
|
|
@@ -14452,8 +14548,8 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14452
14548
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14453
14549
|
shipping: z$1.ZodObject<{
|
|
14454
14550
|
deliveryType: z$1.ZodEnum<{
|
|
14455
|
-
FREE: "FREE";
|
|
14456
14551
|
PAID: "PAID";
|
|
14552
|
+
FREE: "FREE";
|
|
14457
14553
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14458
14554
|
}>;
|
|
14459
14555
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14484,16 +14580,16 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14484
14580
|
}, z$1.core.$strict>>>;
|
|
14485
14581
|
}, z$1.core.$strict>;
|
|
14486
14582
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14487
|
-
CARRIER: "CARRIER";
|
|
14488
14583
|
DIRECT: "DIRECT";
|
|
14584
|
+
CARRIER: "CARRIER";
|
|
14489
14585
|
PICKUP: "PICKUP";
|
|
14490
14586
|
PROVIDED: "PROVIDED";
|
|
14491
14587
|
}>>>;
|
|
14492
14588
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14493
14589
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14494
14590
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14495
|
-
CARRIER: "CARRIER";
|
|
14496
14591
|
DIRECT: "DIRECT";
|
|
14592
|
+
CARRIER: "CARRIER";
|
|
14497
14593
|
PICKUP: "PICKUP";
|
|
14498
14594
|
PROVIDED: "PROVIDED";
|
|
14499
14595
|
}>>>;
|
|
@@ -14588,9 +14684,9 @@ export declare const productReplaceRequestSchema: z$1.ZodObject<{
|
|
|
14588
14684
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14589
14685
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14590
14686
|
number: "number";
|
|
14687
|
+
select: "select";
|
|
14591
14688
|
date: "date";
|
|
14592
14689
|
text: "text";
|
|
14593
|
-
select: "select";
|
|
14594
14690
|
datetime: "datetime";
|
|
14595
14691
|
image: "image";
|
|
14596
14692
|
}>>;
|
|
@@ -14694,10 +14790,10 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14694
14790
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
14695
14791
|
salePrice: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14696
14792
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14697
|
-
SALE: "SALE";
|
|
14698
14793
|
SUSPENDED: "SUSPENDED";
|
|
14699
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14700
14794
|
CLOSED: "CLOSED";
|
|
14795
|
+
SALE: "SALE";
|
|
14796
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14701
14797
|
}>>;
|
|
14702
14798
|
flowId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14703
14799
|
images: z$1.ZodOptional<z$1.ZodArray<z$1.ZodURL>>;
|
|
@@ -14705,8 +14801,8 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14705
14801
|
type: z$1.ZodLiteral<"SHIPPING">;
|
|
14706
14802
|
shipping: z$1.ZodObject<{
|
|
14707
14803
|
deliveryType: z$1.ZodEnum<{
|
|
14708
|
-
FREE: "FREE";
|
|
14709
14804
|
PAID: "PAID";
|
|
14805
|
+
FREE: "FREE";
|
|
14710
14806
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14711
14807
|
}>;
|
|
14712
14808
|
deliveryFee: z$1.ZodNumber;
|
|
@@ -14737,16 +14833,16 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14737
14833
|
}, z$1.core.$strict>>>;
|
|
14738
14834
|
}, z$1.core.$strict>;
|
|
14739
14835
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14740
|
-
CARRIER: "CARRIER";
|
|
14741
14836
|
DIRECT: "DIRECT";
|
|
14837
|
+
CARRIER: "CARRIER";
|
|
14742
14838
|
PICKUP: "PICKUP";
|
|
14743
14839
|
PROVIDED: "PROVIDED";
|
|
14744
14840
|
}>>>;
|
|
14745
14841
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
14746
14842
|
type: z$1.ZodLiteral<"MANUAL">;
|
|
14747
14843
|
methods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
14748
|
-
CARRIER: "CARRIER";
|
|
14749
14844
|
DIRECT: "DIRECT";
|
|
14845
|
+
CARRIER: "CARRIER";
|
|
14750
14846
|
PICKUP: "PICKUP";
|
|
14751
14847
|
PROVIDED: "PROVIDED";
|
|
14752
14848
|
}>>>;
|
|
@@ -14806,11 +14902,11 @@ export declare const productPatchRequestSchema: z$1.ZodObject<{
|
|
|
14806
14902
|
}, z$1.core.$strict>;
|
|
14807
14903
|
export type ProductPatchRequest = z$1.infer<typeof productPatchRequestSchema>;
|
|
14808
14904
|
export declare const productSortSchema: z$1.ZodEnum<{
|
|
14809
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14810
14905
|
"createdAt.desc": "createdAt.desc";
|
|
14811
14906
|
"createdAt.asc": "createdAt.asc";
|
|
14812
14907
|
"salePrice.asc": "salePrice.asc";
|
|
14813
14908
|
"salePrice.desc": "salePrice.desc";
|
|
14909
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14814
14910
|
}>;
|
|
14815
14911
|
export type ProductSort = z$1.infer<typeof productSortSchema>;
|
|
14816
14912
|
export interface ProductListParams extends PageParams {
|
|
@@ -14827,21 +14923,21 @@ export declare const productListQuerySchema: z$1.ZodObject<{
|
|
|
14827
14923
|
page: z$1.ZodOptional<z$1.ZodString>;
|
|
14828
14924
|
size: z$1.ZodOptional<z$1.ZodString>;
|
|
14829
14925
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14830
|
-
SALE: "SALE";
|
|
14831
14926
|
SUSPENDED: "SUSPENDED";
|
|
14832
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14833
14927
|
CLOSED: "CLOSED";
|
|
14928
|
+
SALE: "SALE";
|
|
14929
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
14834
14930
|
}>>;
|
|
14835
14931
|
categoryId: z$1.ZodOptional<z$1.ZodString>;
|
|
14836
14932
|
keyword: z$1.ZodOptional<z$1.ZodString>;
|
|
14837
14933
|
sellerCode: z$1.ZodOptional<z$1.ZodString>;
|
|
14838
14934
|
productNo: z$1.ZodOptional<z$1.ZodString>;
|
|
14839
14935
|
sort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14840
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14841
14936
|
"createdAt.desc": "createdAt.desc";
|
|
14842
14937
|
"createdAt.asc": "createdAt.asc";
|
|
14843
14938
|
"salePrice.asc": "salePrice.asc";
|
|
14844
14939
|
"salePrice.desc": "salePrice.desc";
|
|
14940
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14845
14941
|
}>>;
|
|
14846
14942
|
}, z$1.core.$strip>;
|
|
14847
14943
|
export declare const discountRequestSchema: z$1.ZodObject<{
|
|
@@ -14867,10 +14963,10 @@ export declare const MAX_PRODUCT_IMPORT_ITEMS = 1000;
|
|
|
14867
14963
|
export declare const MAX_PRODUCT_IMPORT_ITEMS_PER_REQUEST = 100;
|
|
14868
14964
|
export declare const productImportStatusSchema: z.ZodEnum<{
|
|
14869
14965
|
FAILED: "FAILED";
|
|
14870
|
-
SUCCEEDED: "SUCCEEDED";
|
|
14871
|
-
DRAFT: "DRAFT";
|
|
14872
14966
|
QUEUED: "QUEUED";
|
|
14873
14967
|
RUNNING: "RUNNING";
|
|
14968
|
+
SUCCEEDED: "SUCCEEDED";
|
|
14969
|
+
DRAFT: "DRAFT";
|
|
14874
14970
|
}>;
|
|
14875
14971
|
export type ProductImportStatus = z.infer<typeof productImportStatusSchema>;
|
|
14876
14972
|
export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -14881,8 +14977,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14881
14977
|
type: z.ZodLiteral<"SHIPPING">;
|
|
14882
14978
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
14883
14979
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
14884
|
-
FREE: "FREE";
|
|
14885
14980
|
PAID: "PAID";
|
|
14981
|
+
FREE: "FREE";
|
|
14886
14982
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
14887
14983
|
}>>;
|
|
14888
14984
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14913,16 +15009,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
14913
15009
|
}, z.core.$strict>>>;
|
|
14914
15010
|
}, z.core.$strict>>;
|
|
14915
15011
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14916
|
-
CARRIER: "CARRIER";
|
|
14917
15012
|
DIRECT: "DIRECT";
|
|
15013
|
+
CARRIER: "CARRIER";
|
|
14918
15014
|
PICKUP: "PICKUP";
|
|
14919
15015
|
PROVIDED: "PROVIDED";
|
|
14920
15016
|
}>>>;
|
|
14921
15017
|
}, z.core.$strict>, z.ZodObject<{
|
|
14922
15018
|
type: z.ZodLiteral<"MANUAL">;
|
|
14923
15019
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14924
|
-
CARRIER: "CARRIER";
|
|
14925
15020
|
DIRECT: "DIRECT";
|
|
15021
|
+
CARRIER: "CARRIER";
|
|
14926
15022
|
PICKUP: "PICKUP";
|
|
14927
15023
|
PROVIDED: "PROVIDED";
|
|
14928
15024
|
}>>>;
|
|
@@ -15017,9 +15113,9 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15017
15113
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15018
15114
|
type: z.ZodOptional<z.ZodEnum<{
|
|
15019
15115
|
number: "number";
|
|
15116
|
+
select: "select";
|
|
15020
15117
|
date: "date";
|
|
15021
15118
|
text: "text";
|
|
15022
|
-
select: "select";
|
|
15023
15119
|
datetime: "datetime";
|
|
15024
15120
|
image: "image";
|
|
15025
15121
|
}>>;
|
|
@@ -15118,10 +15214,10 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15118
15214
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15119
15215
|
}, z.core.$strict>;
|
|
15120
15216
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15121
|
-
SALE: "SALE";
|
|
15122
15217
|
SUSPENDED: "SUSPENDED";
|
|
15123
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15124
15218
|
CLOSED: "CLOSED";
|
|
15219
|
+
SALE: "SALE";
|
|
15220
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15125
15221
|
}>>;
|
|
15126
15222
|
}, z.core.$strip>, z.ZodObject<{
|
|
15127
15223
|
key: z.ZodString;
|
|
@@ -15133,8 +15229,8 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15133
15229
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15134
15230
|
shipping: z.ZodObject<{
|
|
15135
15231
|
deliveryType: z.ZodEnum<{
|
|
15136
|
-
FREE: "FREE";
|
|
15137
15232
|
PAID: "PAID";
|
|
15233
|
+
FREE: "FREE";
|
|
15138
15234
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15139
15235
|
}>;
|
|
15140
15236
|
deliveryFee: z.ZodNumber;
|
|
@@ -15165,16 +15261,16 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15165
15261
|
}, z.core.$strict>>>;
|
|
15166
15262
|
}, z.core.$strict>;
|
|
15167
15263
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15168
|
-
CARRIER: "CARRIER";
|
|
15169
15264
|
DIRECT: "DIRECT";
|
|
15265
|
+
CARRIER: "CARRIER";
|
|
15170
15266
|
PICKUP: "PICKUP";
|
|
15171
15267
|
PROVIDED: "PROVIDED";
|
|
15172
15268
|
}>>>;
|
|
15173
15269
|
}, z.core.$strict>, z.ZodObject<{
|
|
15174
15270
|
type: z.ZodLiteral<"MANUAL">;
|
|
15175
15271
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15176
|
-
CARRIER: "CARRIER";
|
|
15177
15272
|
DIRECT: "DIRECT";
|
|
15273
|
+
CARRIER: "CARRIER";
|
|
15178
15274
|
PICKUP: "PICKUP";
|
|
15179
15275
|
PROVIDED: "PROVIDED";
|
|
15180
15276
|
}>>>;
|
|
@@ -15269,9 +15365,9 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15269
15365
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15270
15366
|
type: z.ZodOptional<z.ZodEnum<{
|
|
15271
15367
|
number: "number";
|
|
15368
|
+
select: "select";
|
|
15272
15369
|
date: "date";
|
|
15273
15370
|
text: "text";
|
|
15274
|
-
select: "select";
|
|
15275
15371
|
datetime: "datetime";
|
|
15276
15372
|
image: "image";
|
|
15277
15373
|
}>>;
|
|
@@ -15370,10 +15466,10 @@ export declare const productImportItemSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
15370
15466
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15371
15467
|
}, z.core.$strict>;
|
|
15372
15468
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15373
|
-
SALE: "SALE";
|
|
15374
15469
|
SUSPENDED: "SUSPENDED";
|
|
15375
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15376
15470
|
CLOSED: "CLOSED";
|
|
15471
|
+
SALE: "SALE";
|
|
15472
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15377
15473
|
}>>;
|
|
15378
15474
|
expectedStock: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
15379
15475
|
}, z.core.$strip>], "action">;
|
|
@@ -15388,8 +15484,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15388
15484
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15389
15485
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
15390
15486
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
15391
|
-
FREE: "FREE";
|
|
15392
15487
|
PAID: "PAID";
|
|
15488
|
+
FREE: "FREE";
|
|
15393
15489
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15394
15490
|
}>>;
|
|
15395
15491
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15420,16 +15516,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15420
15516
|
}, z.core.$strict>>>;
|
|
15421
15517
|
}, z.core.$strict>>;
|
|
15422
15518
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15423
|
-
CARRIER: "CARRIER";
|
|
15424
15519
|
DIRECT: "DIRECT";
|
|
15520
|
+
CARRIER: "CARRIER";
|
|
15425
15521
|
PICKUP: "PICKUP";
|
|
15426
15522
|
PROVIDED: "PROVIDED";
|
|
15427
15523
|
}>>>;
|
|
15428
15524
|
}, z.core.$strict>, z.ZodObject<{
|
|
15429
15525
|
type: z.ZodLiteral<"MANUAL">;
|
|
15430
15526
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15431
|
-
CARRIER: "CARRIER";
|
|
15432
15527
|
DIRECT: "DIRECT";
|
|
15528
|
+
CARRIER: "CARRIER";
|
|
15433
15529
|
PICKUP: "PICKUP";
|
|
15434
15530
|
PROVIDED: "PROVIDED";
|
|
15435
15531
|
}>>>;
|
|
@@ -15524,9 +15620,9 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15524
15620
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15525
15621
|
type: z.ZodOptional<z.ZodEnum<{
|
|
15526
15622
|
number: "number";
|
|
15623
|
+
select: "select";
|
|
15527
15624
|
date: "date";
|
|
15528
15625
|
text: "text";
|
|
15529
|
-
select: "select";
|
|
15530
15626
|
datetime: "datetime";
|
|
15531
15627
|
image: "image";
|
|
15532
15628
|
}>>;
|
|
@@ -15625,10 +15721,10 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15625
15721
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15626
15722
|
}, z.core.$strict>;
|
|
15627
15723
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15628
|
-
SALE: "SALE";
|
|
15629
15724
|
SUSPENDED: "SUSPENDED";
|
|
15630
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15631
15725
|
CLOSED: "CLOSED";
|
|
15726
|
+
SALE: "SALE";
|
|
15727
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15632
15728
|
}>>;
|
|
15633
15729
|
}, z.core.$strip>, z.ZodObject<{
|
|
15634
15730
|
key: z.ZodString;
|
|
@@ -15640,8 +15736,8 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15640
15736
|
type: z.ZodLiteral<"SHIPPING">;
|
|
15641
15737
|
shipping: z.ZodObject<{
|
|
15642
15738
|
deliveryType: z.ZodEnum<{
|
|
15643
|
-
FREE: "FREE";
|
|
15644
15739
|
PAID: "PAID";
|
|
15740
|
+
FREE: "FREE";
|
|
15645
15741
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
15646
15742
|
}>;
|
|
15647
15743
|
deliveryFee: z.ZodNumber;
|
|
@@ -15672,16 +15768,16 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15672
15768
|
}, z.core.$strict>>>;
|
|
15673
15769
|
}, z.core.$strict>;
|
|
15674
15770
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15675
|
-
CARRIER: "CARRIER";
|
|
15676
15771
|
DIRECT: "DIRECT";
|
|
15772
|
+
CARRIER: "CARRIER";
|
|
15677
15773
|
PICKUP: "PICKUP";
|
|
15678
15774
|
PROVIDED: "PROVIDED";
|
|
15679
15775
|
}>>>;
|
|
15680
15776
|
}, z.core.$strict>, z.ZodObject<{
|
|
15681
15777
|
type: z.ZodLiteral<"MANUAL">;
|
|
15682
15778
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
15683
|
-
CARRIER: "CARRIER";
|
|
15684
15779
|
DIRECT: "DIRECT";
|
|
15780
|
+
CARRIER: "CARRIER";
|
|
15685
15781
|
PICKUP: "PICKUP";
|
|
15686
15782
|
PROVIDED: "PROVIDED";
|
|
15687
15783
|
}>>>;
|
|
@@ -15776,9 +15872,9 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15776
15872
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15777
15873
|
type: z.ZodOptional<z.ZodEnum<{
|
|
15778
15874
|
number: "number";
|
|
15875
|
+
select: "select";
|
|
15779
15876
|
date: "date";
|
|
15780
15877
|
text: "text";
|
|
15781
|
-
select: "select";
|
|
15782
15878
|
datetime: "datetime";
|
|
15783
15879
|
image: "image";
|
|
15784
15880
|
}>>;
|
|
@@ -15877,10 +15973,10 @@ export declare const productImportItemsRequestSchema: z.ZodObject<{
|
|
|
15877
15973
|
infoSectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15878
15974
|
}, z.core.$strict>;
|
|
15879
15975
|
status: z.ZodOptional<z.ZodEnum<{
|
|
15880
|
-
SALE: "SALE";
|
|
15881
15976
|
SUSPENDED: "SUSPENDED";
|
|
15882
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15883
15977
|
CLOSED: "CLOSED";
|
|
15978
|
+
SALE: "SALE";
|
|
15979
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
15884
15980
|
}>>;
|
|
15885
15981
|
expectedStock: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
15886
15982
|
}, z.core.$strip>], "action">>;
|
|
@@ -16304,9 +16400,9 @@ export declare const savedCustomInputRequestSchema: z$1.ZodObject<{
|
|
|
16304
16400
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
16305
16401
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16306
16402
|
number: "number";
|
|
16403
|
+
select: "select";
|
|
16307
16404
|
date: "date";
|
|
16308
16405
|
text: "text";
|
|
16309
|
-
select: "select";
|
|
16310
16406
|
datetime: "datetime";
|
|
16311
16407
|
image: "image";
|
|
16312
16408
|
}>>;
|
|
@@ -16344,9 +16440,9 @@ export declare const savedOptionSetRequestSchema: z$1.ZodObject<{
|
|
|
16344
16440
|
key: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
16345
16441
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16346
16442
|
number: "number";
|
|
16443
|
+
select: "select";
|
|
16347
16444
|
date: "date";
|
|
16348
16445
|
text: "text";
|
|
16349
|
-
select: "select";
|
|
16350
16446
|
datetime: "datetime";
|
|
16351
16447
|
image: "image";
|
|
16352
16448
|
}>>;
|
|
@@ -16780,9 +16876,9 @@ export declare const storeSchema: z$1.ZodObject<{
|
|
|
16780
16876
|
storeCode: z$1.ZodString;
|
|
16781
16877
|
storefrontUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16782
16878
|
status: z$1.ZodEnum<{
|
|
16879
|
+
ACTIVE: "ACTIVE";
|
|
16783
16880
|
SUSPENDED: "SUSPENDED";
|
|
16784
16881
|
CLOSED: "CLOSED";
|
|
16785
|
-
ACTIVE: "ACTIVE";
|
|
16786
16882
|
}>;
|
|
16787
16883
|
logoUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
16788
16884
|
businessNumber: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16794,9 +16890,9 @@ export declare const storeMemberSchema: z$1.ZodObject<{
|
|
|
16794
16890
|
name: z$1.ZodString;
|
|
16795
16891
|
email: z$1.ZodEmail;
|
|
16796
16892
|
role: z$1.ZodEnum<{
|
|
16893
|
+
OWNER: "OWNER";
|
|
16797
16894
|
ADMIN: "ADMIN";
|
|
16798
16895
|
STAFF: "STAFF";
|
|
16799
|
-
OWNER: "OWNER";
|
|
16800
16896
|
}>;
|
|
16801
16897
|
joinedAt: z$1.ZodString;
|
|
16802
16898
|
lastActiveAt: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -16821,10 +16917,10 @@ export declare const invitationSchema: z$1.ZodObject<{
|
|
|
16821
16917
|
STAFF: "STAFF";
|
|
16822
16918
|
}>;
|
|
16823
16919
|
status: z$1.ZodEnum<{
|
|
16920
|
+
CANCELED: "CANCELED";
|
|
16824
16921
|
PENDING: "PENDING";
|
|
16825
16922
|
EXPIRED: "EXPIRED";
|
|
16826
16923
|
ACCEPTED: "ACCEPTED";
|
|
16827
|
-
CANCELED: "CANCELED";
|
|
16828
16924
|
}>;
|
|
16829
16925
|
invitedBy: z$1.ZodString;
|
|
16830
16926
|
expiresAt: z$1.ZodString;
|
|
@@ -16861,10 +16957,10 @@ export type UpdateMemberRoleRequest = z$1.infer<typeof updateMemberRoleRequestSc
|
|
|
16861
16957
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
16862
16958
|
export declare const invitationListQuerySchema: z$1.ZodObject<{
|
|
16863
16959
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16960
|
+
CANCELED: "CANCELED";
|
|
16864
16961
|
PENDING: "PENDING";
|
|
16865
16962
|
EXPIRED: "EXPIRED";
|
|
16866
16963
|
ACCEPTED: "ACCEPTED";
|
|
16867
|
-
CANCELED: "CANCELED";
|
|
16868
16964
|
}>>;
|
|
16869
16965
|
}, z$1.core.$strip>;
|
|
16870
16966
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -17053,14 +17149,14 @@ export declare const storefrontVersionSchema: z$1.ZodObject<{
|
|
|
17053
17149
|
}, z$1.core.$strip>;
|
|
17054
17150
|
export type StorefrontVersion = z$1.infer<typeof storefrontVersionSchema>;
|
|
17055
17151
|
export declare const storefrontSiteStatusSchema: z$1.ZodEnum<{
|
|
17152
|
+
ACTIVE: "ACTIVE";
|
|
17056
17153
|
SUSPENDED: "SUSPENDED";
|
|
17057
17154
|
CLOSED: "CLOSED";
|
|
17058
|
-
ACTIVE: "ACTIVE";
|
|
17059
17155
|
}>;
|
|
17060
17156
|
export type StorefrontSiteStatus = z$1.infer<typeof storefrontSiteStatusSchema>;
|
|
17061
17157
|
export declare const storefrontVisibilitySchema: z$1.ZodEnum<{
|
|
17062
|
-
COMING_SOON: "COMING_SOON";
|
|
17063
17158
|
PUBLIC: "PUBLIC";
|
|
17159
|
+
COMING_SOON: "COMING_SOON";
|
|
17064
17160
|
}>;
|
|
17065
17161
|
export type StorefrontVisibility = z$1.infer<typeof storefrontVisibilitySchema>;
|
|
17066
17162
|
export declare const storefrontDomainSchema: z$1.ZodObject<{
|
|
@@ -17136,13 +17232,13 @@ export declare const storefrontSiteSchema: z$1.ZodObject<{
|
|
|
17136
17232
|
holdUntil: z$1.ZodNullable<z$1.ZodString>;
|
|
17137
17233
|
}, z$1.core.$strip>>;
|
|
17138
17234
|
status: z$1.ZodEnum<{
|
|
17235
|
+
ACTIVE: "ACTIVE";
|
|
17139
17236
|
SUSPENDED: "SUSPENDED";
|
|
17140
17237
|
CLOSED: "CLOSED";
|
|
17141
|
-
ACTIVE: "ACTIVE";
|
|
17142
17238
|
}>;
|
|
17143
17239
|
visibility: z$1.ZodEnum<{
|
|
17144
|
-
COMING_SOON: "COMING_SOON";
|
|
17145
17240
|
PUBLIC: "PUBLIC";
|
|
17241
|
+
COMING_SOON: "COMING_SOON";
|
|
17146
17242
|
}>;
|
|
17147
17243
|
publishedVersion: z$1.ZodNullable<z$1.ZodObject<{
|
|
17148
17244
|
versionId: z$1.ZodString;
|
|
@@ -17222,13 +17318,13 @@ export declare const storefrontHostingSchema: z$1.ZodObject<{
|
|
|
17222
17318
|
holdUntil: z$1.ZodNullable<z$1.ZodString>;
|
|
17223
17319
|
}, z$1.core.$strip>>;
|
|
17224
17320
|
status: z$1.ZodEnum<{
|
|
17321
|
+
ACTIVE: "ACTIVE";
|
|
17225
17322
|
SUSPENDED: "SUSPENDED";
|
|
17226
17323
|
CLOSED: "CLOSED";
|
|
17227
|
-
ACTIVE: "ACTIVE";
|
|
17228
17324
|
}>;
|
|
17229
17325
|
visibility: z$1.ZodEnum<{
|
|
17230
|
-
COMING_SOON: "COMING_SOON";
|
|
17231
17326
|
PUBLIC: "PUBLIC";
|
|
17327
|
+
COMING_SOON: "COMING_SOON";
|
|
17232
17328
|
}>;
|
|
17233
17329
|
publishedVersion: z$1.ZodNullable<z$1.ZodObject<{
|
|
17234
17330
|
versionId: z$1.ZodString;
|
|
@@ -17301,15 +17397,15 @@ export type StorefrontSlugAvailability = z$1.infer<typeof storefrontSlugAvailabi
|
|
|
17301
17397
|
*/
|
|
17302
17398
|
export declare const storefrontDeploymentStepSchema: z$1.ZodObject<{
|
|
17303
17399
|
key: z$1.ZodEnum<{
|
|
17304
|
-
SITE: "SITE";
|
|
17305
17400
|
UPLOAD: "UPLOAD";
|
|
17401
|
+
SITE: "SITE";
|
|
17306
17402
|
PUBLISH: "PUBLISH";
|
|
17307
17403
|
}>;
|
|
17308
17404
|
status: z$1.ZodEnum<{
|
|
17309
17405
|
PENDING: "PENDING";
|
|
17310
17406
|
FAILED: "FAILED";
|
|
17311
|
-
DONE: "DONE";
|
|
17312
17407
|
RUNNING: "RUNNING";
|
|
17408
|
+
DONE: "DONE";
|
|
17313
17409
|
}>;
|
|
17314
17410
|
finishedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
17315
17411
|
}, z$1.core.$strip>;
|
|
@@ -17317,9 +17413,9 @@ export type StorefrontDeploymentStep = z$1.infer<typeof storefrontDeploymentStep
|
|
|
17317
17413
|
export declare const storefrontDeploymentLogSchema: z$1.ZodObject<{
|
|
17318
17414
|
at: z$1.ZodNullable<z$1.ZodString>;
|
|
17319
17415
|
level: z$1.ZodEnum<{
|
|
17416
|
+
ERROR: "ERROR";
|
|
17320
17417
|
INFO: "INFO";
|
|
17321
17418
|
WARN: "WARN";
|
|
17322
|
-
ERROR: "ERROR";
|
|
17323
17419
|
}>;
|
|
17324
17420
|
code: z$1.ZodString;
|
|
17325
17421
|
message: z$1.ZodString;
|
|
@@ -17337,24 +17433,24 @@ export declare const storefrontDeploymentSchema: z$1.ZodObject<{
|
|
|
17337
17433
|
finishedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
17338
17434
|
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
17339
17435
|
key: z$1.ZodEnum<{
|
|
17340
|
-
SITE: "SITE";
|
|
17341
17436
|
UPLOAD: "UPLOAD";
|
|
17437
|
+
SITE: "SITE";
|
|
17342
17438
|
PUBLISH: "PUBLISH";
|
|
17343
17439
|
}>;
|
|
17344
17440
|
status: z$1.ZodEnum<{
|
|
17345
17441
|
PENDING: "PENDING";
|
|
17346
17442
|
FAILED: "FAILED";
|
|
17347
|
-
DONE: "DONE";
|
|
17348
17443
|
RUNNING: "RUNNING";
|
|
17444
|
+
DONE: "DONE";
|
|
17349
17445
|
}>;
|
|
17350
17446
|
finishedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
17351
17447
|
}, z$1.core.$strip>>;
|
|
17352
17448
|
log: z$1.ZodArray<z$1.ZodObject<{
|
|
17353
17449
|
at: z$1.ZodNullable<z$1.ZodString>;
|
|
17354
17450
|
level: z$1.ZodEnum<{
|
|
17451
|
+
ERROR: "ERROR";
|
|
17355
17452
|
INFO: "INFO";
|
|
17356
17453
|
WARN: "WARN";
|
|
17357
|
-
ERROR: "ERROR";
|
|
17358
17454
|
}>;
|
|
17359
17455
|
code: z$1.ZodString;
|
|
17360
17456
|
message: z$1.ZodString;
|
|
@@ -17398,12 +17494,12 @@ export declare const changeStorefrontSlugRequestSchema: z$1.ZodObject<{
|
|
|
17398
17494
|
export type ChangeStorefrontSlugRequest = z$1.infer<typeof changeStorefrontSlugRequestSchema>;
|
|
17399
17495
|
export declare const setStorefrontVisibilityRequestSchema: z$1.ZodObject<{
|
|
17400
17496
|
visibility: z$1.ZodEnum<{
|
|
17401
|
-
COMING_SOON: "COMING_SOON";
|
|
17402
17497
|
PUBLIC: "PUBLIC";
|
|
17498
|
+
COMING_SOON: "COMING_SOON";
|
|
17403
17499
|
}>;
|
|
17404
17500
|
expectedVisibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
17405
|
-
COMING_SOON: "COMING_SOON";
|
|
17406
17501
|
PUBLIC: "PUBLIC";
|
|
17502
|
+
COMING_SOON: "COMING_SOON";
|
|
17407
17503
|
}>>;
|
|
17408
17504
|
}, z$1.core.$strip>;
|
|
17409
17505
|
export type SetStorefrontVisibilityRequest = z$1.infer<typeof setStorefrontVisibilityRequestSchema>;
|
|
@@ -17884,11 +17980,11 @@ export declare const runStorefrontCheckRequestSchema: z$1.ZodObject<{
|
|
|
17884
17980
|
export type RunStorefrontCheckRequest = z$1.infer<typeof runStorefrontCheckRequestSchema>;
|
|
17885
17981
|
export declare const storefrontCheckStatusSchema: z$1.ZodEnum<{
|
|
17886
17982
|
FAILED: "FAILED";
|
|
17887
|
-
UNKNOWN: "UNKNOWN";
|
|
17888
17983
|
QUEUED: "QUEUED";
|
|
17889
17984
|
RUNNING: "RUNNING";
|
|
17890
|
-
PASSED: "PASSED";
|
|
17891
17985
|
TIMED_OUT: "TIMED_OUT";
|
|
17986
|
+
UNKNOWN: "UNKNOWN";
|
|
17987
|
+
PASSED: "PASSED";
|
|
17892
17988
|
}>;
|
|
17893
17989
|
export type StorefrontCheckStatus = z$1.infer<typeof storefrontCheckStatusSchema>;
|
|
17894
17990
|
/** 끝난 검사 상태 */
|
|
@@ -17898,11 +17994,11 @@ export declare const storefrontCheckSchema: z$1.ZodObject<{
|
|
|
17898
17994
|
check: z$1.ZodString;
|
|
17899
17995
|
status: z$1.ZodEnum<{
|
|
17900
17996
|
FAILED: "FAILED";
|
|
17901
|
-
UNKNOWN: "UNKNOWN";
|
|
17902
17997
|
QUEUED: "QUEUED";
|
|
17903
17998
|
RUNNING: "RUNNING";
|
|
17904
|
-
PASSED: "PASSED";
|
|
17905
17999
|
TIMED_OUT: "TIMED_OUT";
|
|
18000
|
+
UNKNOWN: "UNKNOWN";
|
|
18001
|
+
PASSED: "PASSED";
|
|
17906
18002
|
}>;
|
|
17907
18003
|
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
17908
18004
|
durationMs: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -17983,9 +18079,9 @@ export declare const storefrontVerifyReportSchema: z$1.ZodObject<{
|
|
|
17983
18079
|
export type StorefrontVerifyReport = z$1.infer<typeof storefrontVerifyReportSchema>;
|
|
17984
18080
|
export declare const storefrontBuildStatusSchema: z$1.ZodEnum<{
|
|
17985
18081
|
FAILED: "FAILED";
|
|
17986
|
-
SUCCEEDED: "SUCCEEDED";
|
|
17987
18082
|
QUEUED: "QUEUED";
|
|
17988
18083
|
RUNNING: "RUNNING";
|
|
18084
|
+
SUCCEEDED: "SUCCEEDED";
|
|
17989
18085
|
TIMED_OUT: "TIMED_OUT";
|
|
17990
18086
|
}>;
|
|
17991
18087
|
export type StorefrontBuildStatus = z$1.infer<typeof storefrontBuildStatusSchema>;
|
|
@@ -18052,9 +18148,9 @@ export declare const storefrontBuildSchema: z$1.ZodObject<{
|
|
|
18052
18148
|
versionNumber: z$1.ZodNumber;
|
|
18053
18149
|
status: z$1.ZodEnum<{
|
|
18054
18150
|
FAILED: "FAILED";
|
|
18055
|
-
SUCCEEDED: "SUCCEEDED";
|
|
18056
18151
|
QUEUED: "QUEUED";
|
|
18057
18152
|
RUNNING: "RUNNING";
|
|
18153
|
+
SUCCEEDED: "SUCCEEDED";
|
|
18058
18154
|
TIMED_OUT: "TIMED_OUT";
|
|
18059
18155
|
}>;
|
|
18060
18156
|
failureStage: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -18185,9 +18281,9 @@ export declare const storefrontVersionCreatedSchema: z$1.ZodObject<{
|
|
|
18185
18281
|
versionNumber: z$1.ZodNumber;
|
|
18186
18282
|
status: z$1.ZodEnum<{
|
|
18187
18283
|
FAILED: "FAILED";
|
|
18188
|
-
SUCCEEDED: "SUCCEEDED";
|
|
18189
18284
|
QUEUED: "QUEUED";
|
|
18190
18285
|
RUNNING: "RUNNING";
|
|
18286
|
+
SUCCEEDED: "SUCCEEDED";
|
|
18191
18287
|
TIMED_OUT: "TIMED_OUT";
|
|
18192
18288
|
}>;
|
|
18193
18289
|
failureStage: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -18535,9 +18631,9 @@ export type UploadTicket = z$1.infer<typeof uploadTicketSchema>;
|
|
|
18535
18631
|
//#endregion
|
|
18536
18632
|
//#region src/schemas/auth.d.ts
|
|
18537
18633
|
export declare const storeRoleSchema: z$1.ZodEnum<{
|
|
18634
|
+
OWNER: "OWNER";
|
|
18538
18635
|
ADMIN: "ADMIN";
|
|
18539
18636
|
STAFF: "STAFF";
|
|
18540
|
-
OWNER: "OWNER";
|
|
18541
18637
|
}>;
|
|
18542
18638
|
export type StoreRole = z$1.infer<typeof storeRoleSchema>;
|
|
18543
18639
|
export declare const myStoreSchema: z$1.ZodObject<{
|
|
@@ -18545,14 +18641,14 @@ export declare const myStoreSchema: z$1.ZodObject<{
|
|
|
18545
18641
|
storeName: z$1.ZodString;
|
|
18546
18642
|
storeCode: z$1.ZodString;
|
|
18547
18643
|
role: z$1.ZodEnum<{
|
|
18644
|
+
OWNER: "OWNER";
|
|
18548
18645
|
ADMIN: "ADMIN";
|
|
18549
18646
|
STAFF: "STAFF";
|
|
18550
|
-
OWNER: "OWNER";
|
|
18551
18647
|
}>;
|
|
18552
18648
|
status: z$1.ZodEnum<{
|
|
18649
|
+
ACTIVE: "ACTIVE";
|
|
18553
18650
|
SUSPENDED: "SUSPENDED";
|
|
18554
18651
|
CLOSED: "CLOSED";
|
|
18555
|
-
ACTIVE: "ACTIVE";
|
|
18556
18652
|
}>;
|
|
18557
18653
|
}, z$1.core.$strip>;
|
|
18558
18654
|
export type MyStore = z$1.infer<typeof myStoreSchema>;
|
|
@@ -18707,8 +18803,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18707
18803
|
storeId: string;
|
|
18708
18804
|
storeName: string;
|
|
18709
18805
|
storeCode: string;
|
|
18710
|
-
role: "
|
|
18711
|
-
status: "
|
|
18806
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
18807
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
18712
18808
|
}[]>;
|
|
18713
18809
|
me: () => Promise<{
|
|
18714
18810
|
userId: string;
|
|
@@ -18748,7 +18844,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18748
18844
|
productId: string;
|
|
18749
18845
|
productNo: number | null;
|
|
18750
18846
|
name: string;
|
|
18751
|
-
status: "
|
|
18847
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
18752
18848
|
salePrice: number;
|
|
18753
18849
|
discountedPrice: number | null;
|
|
18754
18850
|
stockQuantity: number;
|
|
@@ -18768,15 +18864,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18768
18864
|
}>;
|
|
18769
18865
|
get: (productId: string) => Promise<{
|
|
18770
18866
|
name: string;
|
|
18867
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
18868
|
+
updatedAt: string;
|
|
18869
|
+
productId: string;
|
|
18771
18870
|
salePrice: number;
|
|
18772
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18773
18871
|
stockQuantity: number;
|
|
18774
18872
|
categoryId: string | null;
|
|
18775
|
-
productId: string;
|
|
18776
18873
|
productNo: number | null;
|
|
18777
18874
|
discountedPrice: number | null;
|
|
18778
18875
|
hasOptions: boolean;
|
|
18779
|
-
updatedAt: string;
|
|
18780
18876
|
sample: boolean;
|
|
18781
18877
|
optionGroups: {
|
|
18782
18878
|
groupId: string;
|
|
@@ -18841,7 +18937,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18841
18937
|
fulfillment: UnknownFulfillment | {
|
|
18842
18938
|
type: "SHIPPING";
|
|
18843
18939
|
shipping: {
|
|
18844
|
-
deliveryType: "
|
|
18940
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18845
18941
|
deliveryFee: number;
|
|
18846
18942
|
conditionalFreeAmount: number | null;
|
|
18847
18943
|
shippingAddressId: string | null;
|
|
@@ -18917,15 +19013,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18917
19013
|
}>;
|
|
18918
19014
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
18919
19015
|
name: string;
|
|
19016
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
19017
|
+
updatedAt: string;
|
|
19018
|
+
productId: string;
|
|
18920
19019
|
salePrice: number;
|
|
18921
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18922
19020
|
stockQuantity: number;
|
|
18923
19021
|
categoryId: string | null;
|
|
18924
|
-
productId: string;
|
|
18925
19022
|
productNo: number | null;
|
|
18926
19023
|
discountedPrice: number | null;
|
|
18927
19024
|
hasOptions: boolean;
|
|
18928
|
-
updatedAt: string;
|
|
18929
19025
|
sample: boolean;
|
|
18930
19026
|
optionGroups: {
|
|
18931
19027
|
groupId: string;
|
|
@@ -18990,7 +19086,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18990
19086
|
fulfillment: UnknownFulfillment | {
|
|
18991
19087
|
type: "SHIPPING";
|
|
18992
19088
|
shipping: {
|
|
18993
|
-
deliveryType: "
|
|
19089
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
18994
19090
|
deliveryFee: number;
|
|
18995
19091
|
conditionalFreeAmount: number | null;
|
|
18996
19092
|
shippingAddressId: string | null;
|
|
@@ -19066,15 +19162,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19066
19162
|
}>;
|
|
19067
19163
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
19068
19164
|
name: string;
|
|
19165
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
19166
|
+
updatedAt: string;
|
|
19167
|
+
productId: string;
|
|
19069
19168
|
salePrice: number;
|
|
19070
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
19071
19169
|
stockQuantity: number;
|
|
19072
19170
|
categoryId: string | null;
|
|
19073
|
-
productId: string;
|
|
19074
19171
|
productNo: number | null;
|
|
19075
19172
|
discountedPrice: number | null;
|
|
19076
19173
|
hasOptions: boolean;
|
|
19077
|
-
updatedAt: string;
|
|
19078
19174
|
sample: boolean;
|
|
19079
19175
|
optionGroups: {
|
|
19080
19176
|
groupId: string;
|
|
@@ -19139,7 +19235,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19139
19235
|
fulfillment: UnknownFulfillment | {
|
|
19140
19236
|
type: "SHIPPING";
|
|
19141
19237
|
shipping: {
|
|
19142
|
-
deliveryType: "
|
|
19238
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
19143
19239
|
deliveryFee: number;
|
|
19144
19240
|
conditionalFreeAmount: number | null;
|
|
19145
19241
|
shippingAddressId: string | null;
|
|
@@ -19397,15 +19493,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19397
19493
|
/** 상품 상세 묶음 조회(id·상품번호 합 100개) — 상점 플랫폼 전용. 이 상점에 없는 값은 빠진다 */
|
|
19398
19494
|
lookup: (body: ProductLookupRequest) => Promise<{
|
|
19399
19495
|
name: string;
|
|
19496
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
19497
|
+
updatedAt: string;
|
|
19498
|
+
productId: string;
|
|
19400
19499
|
salePrice: number;
|
|
19401
|
-
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
19402
19500
|
stockQuantity: number;
|
|
19403
19501
|
categoryId: string | null;
|
|
19404
|
-
productId: string;
|
|
19405
19502
|
productNo: number | null;
|
|
19406
19503
|
discountedPrice: number | null;
|
|
19407
19504
|
hasOptions: boolean;
|
|
19408
|
-
updatedAt: string;
|
|
19409
19505
|
sample: boolean;
|
|
19410
19506
|
optionGroups: {
|
|
19411
19507
|
groupId: string;
|
|
@@ -19470,7 +19566,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19470
19566
|
fulfillment: UnknownFulfillment | {
|
|
19471
19567
|
type: "SHIPPING";
|
|
19472
19568
|
shipping: {
|
|
19473
|
-
deliveryType: "
|
|
19569
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
19474
19570
|
deliveryFee: number;
|
|
19475
19571
|
conditionalFreeAmount: number | null;
|
|
19476
19572
|
shippingAddressId: string | null;
|
|
@@ -20559,10 +20655,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20559
20655
|
ordererName: string;
|
|
20560
20656
|
itemCount: number;
|
|
20561
20657
|
totalAmount: number;
|
|
20562
|
-
representativeStatus: "
|
|
20658
|
+
representativeStatus: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20563
20659
|
orderedAt: string;
|
|
20564
20660
|
testPayment: boolean;
|
|
20565
|
-
progressStatus?: "
|
|
20661
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
20566
20662
|
currency?: string | undefined;
|
|
20567
20663
|
}[];
|
|
20568
20664
|
}>;
|
|
@@ -20672,7 +20768,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20672
20768
|
orderItemNo: string | null;
|
|
20673
20769
|
orderId: string;
|
|
20674
20770
|
paymentId: string | null;
|
|
20675
|
-
status: "
|
|
20771
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20676
20772
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20677
20773
|
productId: string;
|
|
20678
20774
|
productName: string;
|
|
@@ -20748,7 +20844,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20748
20844
|
}[];
|
|
20749
20845
|
} | undefined;
|
|
20750
20846
|
}[];
|
|
20751
|
-
progressStatus?: "
|
|
20847
|
+
progressStatus?: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
20752
20848
|
currency?: string | undefined;
|
|
20753
20849
|
locale?: string | null | undefined;
|
|
20754
20850
|
}>;
|
|
@@ -20813,6 +20909,22 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20813
20909
|
requestedAt: string;
|
|
20814
20910
|
updatedAt: string;
|
|
20815
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
|
+
}>;
|
|
20816
20928
|
/**
|
|
20817
20929
|
* `POST /orders/{id}/actions/{key}` — 주문 전체 행동(#115). 그 행동이 켜진 주문상품마다 실행하고 결과를 주문상품별로 준다(부분 실행).
|
|
20818
20930
|
* 켜진 주문상품이 하나도 없으면 409 `ACTION_NOT_AVAILABLE`
|
|
@@ -20822,7 +20934,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20822
20934
|
key: string;
|
|
20823
20935
|
results: {
|
|
20824
20936
|
orderItemId: string;
|
|
20825
|
-
status: "
|
|
20937
|
+
status: "COMPLETED" | "FAILED" | "SKIPPED";
|
|
20826
20938
|
reason?: string | undefined;
|
|
20827
20939
|
message?: string | undefined;
|
|
20828
20940
|
}[];
|
|
@@ -20840,7 +20952,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20840
20952
|
orderItemNo: string | null;
|
|
20841
20953
|
orderId: string;
|
|
20842
20954
|
paymentId: string | null;
|
|
20843
|
-
status: "
|
|
20955
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20844
20956
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20845
20957
|
productId: string;
|
|
20846
20958
|
productName: string;
|
|
@@ -20928,7 +21040,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20928
21040
|
orderItemNo: string | null;
|
|
20929
21041
|
orderId: string;
|
|
20930
21042
|
paymentId: string | null;
|
|
20931
|
-
status: "
|
|
21043
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
20932
21044
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
20933
21045
|
productId: string;
|
|
20934
21046
|
productName: string;
|
|
@@ -21077,6 +21189,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21077
21189
|
refundStatus: string | null;
|
|
21078
21190
|
deductAmount: number;
|
|
21079
21191
|
purchasePointReclaimedAmount: number;
|
|
21192
|
+
calculatedRefundAmount?: number | undefined;
|
|
21080
21193
|
}>;
|
|
21081
21194
|
updateMemo: (orderItemId: string, memo: string) => Promise<void>;
|
|
21082
21195
|
requestPurchaseDecision: (orderItemId: string) => Promise<void>;
|
|
@@ -21118,7 +21231,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21118
21231
|
orderItemNo: string | null;
|
|
21119
21232
|
orderId: string;
|
|
21120
21233
|
paymentId: string | null;
|
|
21121
|
-
status: "
|
|
21234
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
21122
21235
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
21123
21236
|
productId: string;
|
|
21124
21237
|
productName: string;
|
|
@@ -21214,7 +21327,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21214
21327
|
orderItemNo: string | null;
|
|
21215
21328
|
orderId: string;
|
|
21216
21329
|
paymentId: string | null;
|
|
21217
|
-
status: "
|
|
21330
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
21218
21331
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
21219
21332
|
productId: string;
|
|
21220
21333
|
productName: string;
|
|
@@ -21336,8 +21449,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21336
21449
|
label: string;
|
|
21337
21450
|
enteredAt: string;
|
|
21338
21451
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21339
|
-
coreStatus?: "
|
|
21340
|
-
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;
|
|
21341
21454
|
message?: string | undefined;
|
|
21342
21455
|
deadlineAt?: string | undefined;
|
|
21343
21456
|
attachments?: string[] | undefined;
|
|
@@ -21394,15 +21507,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21394
21507
|
moveTargets?: {
|
|
21395
21508
|
key: string;
|
|
21396
21509
|
label: string;
|
|
21397
|
-
coreStatus: "
|
|
21510
|
+
coreStatus: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | null;
|
|
21398
21511
|
}[] | undefined;
|
|
21399
21512
|
branches?: {
|
|
21400
21513
|
key: string;
|
|
21401
21514
|
label: string;
|
|
21402
21515
|
enteredAt: string;
|
|
21403
21516
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21404
|
-
coreStatus?: "
|
|
21405
|
-
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;
|
|
21406
21519
|
message?: string | undefined;
|
|
21407
21520
|
deadlineAt?: string | undefined;
|
|
21408
21521
|
attachments?: string[] | undefined;
|
|
@@ -21431,8 +21544,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21431
21544
|
label: string;
|
|
21432
21545
|
enteredAt: string;
|
|
21433
21546
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21434
|
-
coreStatus?: "
|
|
21435
|
-
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;
|
|
21436
21549
|
message?: string | undefined;
|
|
21437
21550
|
deadlineAt?: string | undefined;
|
|
21438
21551
|
attachments?: string[] | undefined;
|
|
@@ -21494,8 +21607,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21494
21607
|
label: string;
|
|
21495
21608
|
enteredAt: string;
|
|
21496
21609
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21497
|
-
coreStatus?: "
|
|
21498
|
-
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;
|
|
21499
21612
|
message?: string | undefined;
|
|
21500
21613
|
deadlineAt?: string | undefined;
|
|
21501
21614
|
attachments?: string[] | undefined;
|
|
@@ -21556,8 +21669,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21556
21669
|
label: string;
|
|
21557
21670
|
enteredAt: string;
|
|
21558
21671
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
21559
|
-
coreStatus?: "
|
|
21560
|
-
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;
|
|
21561
21674
|
message?: string | undefined;
|
|
21562
21675
|
deadlineAt?: string | undefined;
|
|
21563
21676
|
attachments?: string[] | undefined;
|
|
@@ -22190,8 +22303,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22190
22303
|
contents: {
|
|
22191
22304
|
claimId: string;
|
|
22192
22305
|
claimNo: string | null;
|
|
22193
|
-
type: "
|
|
22194
|
-
status: "
|
|
22306
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
22307
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22195
22308
|
orderId: string;
|
|
22196
22309
|
orderItemId: string;
|
|
22197
22310
|
productName: string;
|
|
@@ -22230,8 +22343,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22230
22343
|
get: (claimId: string) => Promise<{
|
|
22231
22344
|
claimId: string;
|
|
22232
22345
|
claimNo: string | null;
|
|
22233
|
-
type: "
|
|
22234
|
-
status: "
|
|
22346
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
22347
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22235
22348
|
orderId: string;
|
|
22236
22349
|
orderItemId: string;
|
|
22237
22350
|
productName: string;
|
|
@@ -22266,14 +22379,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22266
22379
|
address2: string | null;
|
|
22267
22380
|
} | null;
|
|
22268
22381
|
histories?: {
|
|
22269
|
-
status: "
|
|
22382
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22270
22383
|
actor: "SELLER" | "BUYER" | "SYSTEM";
|
|
22271
22384
|
occurredAt: string;
|
|
22272
22385
|
}[] | undefined;
|
|
22273
22386
|
}>;
|
|
22274
|
-
/**
|
|
22387
|
+
/**
|
|
22388
|
+
* `holdRefund`(#115)면 승인만 하고 결제 환불은 대기로 남긴다 — `payments.processRefund`로 따로 환불한다.
|
|
22389
|
+
* `refundAmount`(#365)는 최종 현금 환불액이고 `deductAmount`와 함께 줄 수 없다
|
|
22390
|
+
*/
|
|
22275
22391
|
approve: (claimId: string, deductAmount?: number, idempotencyKey?: string, options?: {
|
|
22276
22392
|
holdRefund?: boolean;
|
|
22393
|
+
refundAmount?: number;
|
|
22277
22394
|
}) => Promise<{
|
|
22278
22395
|
claimId: string;
|
|
22279
22396
|
refundAmount: number;
|
|
@@ -22287,6 +22404,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22287
22404
|
refundedAt: string;
|
|
22288
22405
|
refundHeld: boolean;
|
|
22289
22406
|
refundStatus: string | null;
|
|
22407
|
+
calculatedRefundAmount?: number | undefined;
|
|
22290
22408
|
}>;
|
|
22291
22409
|
reject: (claimId: string, body: RejectClaimRequest) => Promise<void>;
|
|
22292
22410
|
registerCollect: (claimId: string, body: {
|
|
@@ -22308,8 +22426,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22308
22426
|
completeExchange: (claimId: string) => Promise<{
|
|
22309
22427
|
claimId: string;
|
|
22310
22428
|
claimNo: string | null;
|
|
22311
|
-
type: "
|
|
22312
|
-
status: "
|
|
22429
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
22430
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
22313
22431
|
orderId: string;
|
|
22314
22432
|
orderItemId: string;
|
|
22315
22433
|
productName: string;
|
|
@@ -22360,7 +22478,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22360
22478
|
productId: string;
|
|
22361
22479
|
productName: string;
|
|
22362
22480
|
orderItemId: string | null;
|
|
22363
|
-
category: "
|
|
22481
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
22364
22482
|
content: string;
|
|
22365
22483
|
secret: boolean;
|
|
22366
22484
|
writerMaskedName: string;
|
|
@@ -22378,7 +22496,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22378
22496
|
productId: string;
|
|
22379
22497
|
productName: string;
|
|
22380
22498
|
orderItemId: string | null;
|
|
22381
|
-
category: "
|
|
22499
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
22382
22500
|
content: string;
|
|
22383
22501
|
secret: boolean;
|
|
22384
22502
|
writerMaskedName: string;
|
|
@@ -22822,7 +22940,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22822
22940
|
productName: string;
|
|
22823
22941
|
optionName: string | null;
|
|
22824
22942
|
quantity: number;
|
|
22825
|
-
status: "
|
|
22943
|
+
status: "PAYMENT_WAITING" | "PAID" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
22826
22944
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
22827
22945
|
}[];
|
|
22828
22946
|
}[];
|
|
@@ -23728,7 +23846,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23728
23846
|
contents: {
|
|
23729
23847
|
inquiryId: string;
|
|
23730
23848
|
memberMaskedName: string;
|
|
23731
|
-
category: "
|
|
23849
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
23732
23850
|
title: string;
|
|
23733
23851
|
content: string;
|
|
23734
23852
|
orderItemId: string | null;
|
|
@@ -23744,7 +23862,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23744
23862
|
get: (inquiryId: string) => Promise<{
|
|
23745
23863
|
inquiryId: string;
|
|
23746
23864
|
memberMaskedName: string;
|
|
23747
|
-
category: "
|
|
23865
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
23748
23866
|
title: string;
|
|
23749
23867
|
content: string;
|
|
23750
23868
|
orderItemId: string | null;
|
|
@@ -23774,7 +23892,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23774
23892
|
settlementId: string;
|
|
23775
23893
|
settlementDate: string;
|
|
23776
23894
|
payoutDate: string | null;
|
|
23777
|
-
status: "PAID" | "
|
|
23895
|
+
status: "PAID" | "HELD" | "SCHEDULED";
|
|
23778
23896
|
totalPaymentAmount: number;
|
|
23779
23897
|
totalCommission: number;
|
|
23780
23898
|
totalDeliveryFee: number;
|
|
@@ -23788,7 +23906,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23788
23906
|
settlementId: string;
|
|
23789
23907
|
settlementDate: string;
|
|
23790
23908
|
payoutDate: string | null;
|
|
23791
|
-
status: "PAID" | "
|
|
23909
|
+
status: "PAID" | "HELD" | "SCHEDULED";
|
|
23792
23910
|
totalPaymentAmount: number;
|
|
23793
23911
|
totalCommission: number;
|
|
23794
23912
|
totalDeliveryFee: number;
|
|
@@ -23896,7 +24014,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23896
24014
|
conversionRate: number | null;
|
|
23897
24015
|
};
|
|
23898
24016
|
funnel: {
|
|
23899
|
-
step: "
|
|
24017
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
23900
24018
|
sessions: number;
|
|
23901
24019
|
rateFromPrevious: number | null;
|
|
23902
24020
|
}[];
|
|
@@ -23955,9 +24073,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23955
24073
|
}>;
|
|
23956
24074
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
23957
24075
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
23958
|
-
groupBy: "
|
|
24076
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
23959
24077
|
rows: {
|
|
23960
|
-
channel: "PAID" | "DIRECT" | "
|
|
24078
|
+
channel: "PAID" | "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
|
|
23961
24079
|
source: string | null;
|
|
23962
24080
|
medium: string | null;
|
|
23963
24081
|
campaign: string | null;
|
|
@@ -24062,7 +24180,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24062
24180
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
24063
24181
|
sessions: number;
|
|
24064
24182
|
outcomes: {
|
|
24065
|
-
outcome: "
|
|
24183
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
24066
24184
|
sessions: number;
|
|
24067
24185
|
}[];
|
|
24068
24186
|
from: string;
|
|
@@ -24092,7 +24210,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24092
24210
|
orderId: string | null;
|
|
24093
24211
|
orderName: string;
|
|
24094
24212
|
customerName: string;
|
|
24095
|
-
status: "
|
|
24213
|
+
status: "APPROVED" | "PENDING" | "FAILED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
24096
24214
|
amount: number;
|
|
24097
24215
|
refundedAmount: number;
|
|
24098
24216
|
heldRefundAmount: number;
|
|
@@ -24118,7 +24236,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24118
24236
|
orderId: string | null;
|
|
24119
24237
|
orderName: string;
|
|
24120
24238
|
customerName: string;
|
|
24121
|
-
status: "
|
|
24239
|
+
status: "APPROVED" | "PENDING" | "FAILED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
24122
24240
|
amount: number;
|
|
24123
24241
|
refundedAmount: number;
|
|
24124
24242
|
heldRefundAmount: number;
|
|
@@ -24160,6 +24278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24160
24278
|
refundId: string;
|
|
24161
24279
|
amount: number;
|
|
24162
24280
|
pointRefundAmount: number;
|
|
24281
|
+
calculatedAmount: number | null;
|
|
24163
24282
|
reason: string;
|
|
24164
24283
|
kind: string;
|
|
24165
24284
|
status: string;
|
|
@@ -24186,12 +24305,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24186
24305
|
requestedAt: string;
|
|
24187
24306
|
updatedAt: string;
|
|
24188
24307
|
} | null;
|
|
24308
|
+
availableRefundAmount?: number | undefined;
|
|
24189
24309
|
}>;
|
|
24190
|
-
/** `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) */
|
|
24191
24311
|
processRefund: (refundId: string) => Promise<{
|
|
24192
24312
|
refundId: string;
|
|
24193
24313
|
amount: number;
|
|
24194
24314
|
pointRefundAmount: number;
|
|
24315
|
+
calculatedAmount: number | null;
|
|
24195
24316
|
reason: string;
|
|
24196
24317
|
kind: string;
|
|
24197
24318
|
status: string;
|
|
@@ -25823,7 +25944,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25823
25944
|
developerName: string;
|
|
25824
25945
|
versionNumber: number;
|
|
25825
25946
|
installationId: string | null;
|
|
25826
|
-
visibility: "
|
|
25947
|
+
visibility: "DEVELOPMENT" | "PRIVATE" | "PUBLIC";
|
|
25827
25948
|
}[]>;
|
|
25828
25949
|
get: (appId: string) => Promise<{
|
|
25829
25950
|
appId: string;
|
|
@@ -25834,11 +25955,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25834
25955
|
developerName: string;
|
|
25835
25956
|
versionNumber: number;
|
|
25836
25957
|
installationId: string | null;
|
|
25837
|
-
visibility: "
|
|
25958
|
+
visibility: "DEVELOPMENT" | "PRIVATE" | "PUBLIC";
|
|
25838
25959
|
readme: string | null;
|
|
25839
25960
|
supportEmail: string | null;
|
|
25840
25961
|
scopes: string[];
|
|
25841
|
-
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")[];
|
|
25842
25963
|
networkHosts: string[];
|
|
25843
25964
|
publicHttp: string[];
|
|
25844
25965
|
schedules: {
|
|
@@ -25885,14 +26006,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25885
26006
|
supportEmail: string | null;
|
|
25886
26007
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25887
26008
|
runtime: "CODE" | "EXTERNAL";
|
|
25888
|
-
status: "
|
|
26009
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25889
26010
|
};
|
|
25890
|
-
status: "
|
|
26011
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25891
26012
|
versionNumber: number;
|
|
25892
26013
|
pendingVersionNumber: number | null;
|
|
25893
26014
|
grantedScopes: string[];
|
|
25894
26015
|
grantedNetworkHosts: string[];
|
|
25895
|
-
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")[];
|
|
25896
26017
|
adminPage: boolean;
|
|
25897
26018
|
publicHttp: string[];
|
|
25898
26019
|
schedules: {
|
|
@@ -25946,7 +26067,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25946
26067
|
number: number;
|
|
25947
26068
|
scopes: string[];
|
|
25948
26069
|
networkHosts: string[];
|
|
25949
|
-
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")[];
|
|
25950
26071
|
publicHttp: string[];
|
|
25951
26072
|
schedules: {
|
|
25952
26073
|
name: string;
|
|
@@ -25972,14 +26093,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25972
26093
|
supportEmail: string | null;
|
|
25973
26094
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
25974
26095
|
runtime: "CODE" | "EXTERNAL";
|
|
25975
|
-
status: "
|
|
26096
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
25976
26097
|
};
|
|
25977
|
-
status: "
|
|
26098
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
25978
26099
|
versionNumber: number;
|
|
25979
26100
|
pendingVersionNumber: number | null;
|
|
25980
26101
|
grantedScopes: string[];
|
|
25981
26102
|
grantedNetworkHosts: string[];
|
|
25982
|
-
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")[];
|
|
25983
26104
|
adminPage: boolean;
|
|
25984
26105
|
publicHttp: string[];
|
|
25985
26106
|
schedules: {
|
|
@@ -26033,7 +26154,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26033
26154
|
number: number;
|
|
26034
26155
|
scopes: string[];
|
|
26035
26156
|
networkHosts: string[];
|
|
26036
|
-
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")[];
|
|
26037
26158
|
publicHttp: string[];
|
|
26038
26159
|
schedules: {
|
|
26039
26160
|
name: string;
|
|
@@ -26059,14 +26180,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26059
26180
|
supportEmail: string | null;
|
|
26060
26181
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
26061
26182
|
runtime: "CODE" | "EXTERNAL";
|
|
26062
|
-
status: "
|
|
26183
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
26063
26184
|
};
|
|
26064
|
-
status: "
|
|
26185
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
26065
26186
|
versionNumber: number;
|
|
26066
26187
|
pendingVersionNumber: number | null;
|
|
26067
26188
|
grantedScopes: string[];
|
|
26068
26189
|
grantedNetworkHosts: string[];
|
|
26069
|
-
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")[];
|
|
26070
26191
|
adminPage: boolean;
|
|
26071
26192
|
publicHttp: string[];
|
|
26072
26193
|
schedules: {
|
|
@@ -26120,7 +26241,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26120
26241
|
number: number;
|
|
26121
26242
|
scopes: string[];
|
|
26122
26243
|
networkHosts: string[];
|
|
26123
|
-
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")[];
|
|
26124
26245
|
publicHttp: string[];
|
|
26125
26246
|
schedules: {
|
|
26126
26247
|
name: string;
|
|
@@ -26147,14 +26268,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26147
26268
|
supportEmail: string | null;
|
|
26148
26269
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
26149
26270
|
runtime: "CODE" | "EXTERNAL";
|
|
26150
|
-
status: "
|
|
26271
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
26151
26272
|
};
|
|
26152
|
-
status: "
|
|
26273
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
26153
26274
|
versionNumber: number;
|
|
26154
26275
|
pendingVersionNumber: number | null;
|
|
26155
26276
|
grantedScopes: string[];
|
|
26156
26277
|
grantedNetworkHosts: string[];
|
|
26157
|
-
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")[];
|
|
26158
26279
|
adminPage: boolean;
|
|
26159
26280
|
publicHttp: string[];
|
|
26160
26281
|
schedules: {
|
|
@@ -26208,7 +26329,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26208
26329
|
number: number;
|
|
26209
26330
|
scopes: string[];
|
|
26210
26331
|
networkHosts: string[];
|
|
26211
|
-
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")[];
|
|
26212
26333
|
publicHttp: string[];
|
|
26213
26334
|
schedules: {
|
|
26214
26335
|
name: string;
|
|
@@ -26250,14 +26371,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26250
26371
|
supportEmail: string | null;
|
|
26251
26372
|
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
26252
26373
|
runtime: "CODE" | "EXTERNAL";
|
|
26253
|
-
status: "
|
|
26374
|
+
status: "ACTIVE" | "SUSPENDED" | "DELETED";
|
|
26254
26375
|
};
|
|
26255
|
-
status: "
|
|
26376
|
+
status: "ACTIVE" | "SUSPENDED" | "UNINSTALLED";
|
|
26256
26377
|
versionNumber: number;
|
|
26257
26378
|
pendingVersionNumber: number | null;
|
|
26258
26379
|
grantedScopes: string[];
|
|
26259
26380
|
grantedNetworkHosts: string[];
|
|
26260
|
-
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")[];
|
|
26261
26382
|
adminPage: boolean;
|
|
26262
26383
|
publicHttp: string[];
|
|
26263
26384
|
schedules: {
|
|
@@ -26311,7 +26432,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26311
26432
|
number: number;
|
|
26312
26433
|
scopes: string[];
|
|
26313
26434
|
networkHosts: string[];
|
|
26314
|
-
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")[];
|
|
26315
26436
|
publicHttp: string[];
|
|
26316
26437
|
schedules: {
|
|
26317
26438
|
name: string;
|
|
@@ -26367,8 +26488,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26367
26488
|
list: () => Promise<{
|
|
26368
26489
|
webhookId: string;
|
|
26369
26490
|
url: string;
|
|
26370
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26371
|
-
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";
|
|
26372
26493
|
secretPrefix: string;
|
|
26373
26494
|
suspendedAt: string | null;
|
|
26374
26495
|
createdAt: string;
|
|
@@ -26377,8 +26498,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26377
26498
|
create: (body: WebhookRequest) => Promise<{
|
|
26378
26499
|
webhookId: string;
|
|
26379
26500
|
url: string;
|
|
26380
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26381
|
-
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";
|
|
26382
26503
|
secretPrefix: string;
|
|
26383
26504
|
suspendedAt: string | null;
|
|
26384
26505
|
createdAt: string;
|
|
@@ -26387,8 +26508,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26387
26508
|
get: (webhookId: string) => Promise<{
|
|
26388
26509
|
webhookId: string;
|
|
26389
26510
|
url: string;
|
|
26390
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26391
|
-
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";
|
|
26392
26513
|
secretPrefix: string;
|
|
26393
26514
|
suspendedAt: string | null;
|
|
26394
26515
|
createdAt: string;
|
|
@@ -26397,8 +26518,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26397
26518
|
update: (webhookId: string, body: WebhookRequest) => Promise<{
|
|
26398
26519
|
webhookId: string;
|
|
26399
26520
|
url: string;
|
|
26400
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26401
|
-
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";
|
|
26402
26523
|
secretPrefix: string;
|
|
26403
26524
|
suspendedAt: string | null;
|
|
26404
26525
|
createdAt: string;
|
|
@@ -26412,8 +26533,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26412
26533
|
resume: (webhookId: string) => Promise<{
|
|
26413
26534
|
webhookId: string;
|
|
26414
26535
|
url: string;
|
|
26415
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
26416
|
-
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";
|
|
26417
26538
|
secretPrefix: string;
|
|
26418
26539
|
suspendedAt: string | null;
|
|
26419
26540
|
createdAt: string;
|
|
@@ -26422,7 +26543,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26422
26543
|
listDeliveries: (webhookId: string, params?: WebhookDeliveryListParams) => Promise<{
|
|
26423
26544
|
deliveryId: string;
|
|
26424
26545
|
eventId: string;
|
|
26425
|
-
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";
|
|
26426
26547
|
url: string;
|
|
26427
26548
|
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
26428
26549
|
responseStatusCode: number | null;
|
|
@@ -26449,7 +26570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26449
26570
|
getDelivery: (webhookId: string, deliveryId: string) => Promise<{
|
|
26450
26571
|
deliveryId: string;
|
|
26451
26572
|
eventId: string;
|
|
26452
|
-
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";
|
|
26453
26574
|
url: string;
|
|
26454
26575
|
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
26455
26576
|
responseStatusCode: number | null;
|
|
@@ -26484,7 +26605,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26484
26605
|
redeliver: (webhookId: string, deliveryId: string) => Promise<{
|
|
26485
26606
|
deliveryId: string;
|
|
26486
26607
|
eventId: string;
|
|
26487
|
-
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";
|
|
26488
26609
|
url: string;
|
|
26489
26610
|
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
26490
26611
|
responseStatusCode: number | null;
|
|
@@ -26600,7 +26721,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26600
26721
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
26601
26722
|
items: {
|
|
26602
26723
|
approvalId: string;
|
|
26603
|
-
status: "
|
|
26724
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26604
26725
|
operationId: string;
|
|
26605
26726
|
method: string;
|
|
26606
26727
|
path: string;
|
|
@@ -26652,7 +26773,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26652
26773
|
}>;
|
|
26653
26774
|
get: (approvalId: string) => Promise<{
|
|
26654
26775
|
approvalId: string;
|
|
26655
|
-
status: "
|
|
26776
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26656
26777
|
operationId: string;
|
|
26657
26778
|
method: string;
|
|
26658
26779
|
path: string;
|
|
@@ -26706,7 +26827,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26706
26827
|
*/
|
|
26707
26828
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26708
26829
|
approvalId: string;
|
|
26709
|
-
status: "
|
|
26830
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26710
26831
|
operationId: string;
|
|
26711
26832
|
method: string;
|
|
26712
26833
|
path: string;
|
|
@@ -26756,7 +26877,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
26756
26877
|
}>;
|
|
26757
26878
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
26758
26879
|
approvalId: string;
|
|
26759
|
-
status: "
|
|
26880
|
+
status: "REJECTED" | "PENDING" | "FAILED" | "SUCCEEDED" | "UNKNOWN" | "EXECUTING" | "EXPIRED";
|
|
26760
26881
|
operationId: string;
|
|
26761
26882
|
method: string;
|
|
26762
26883
|
path: string;
|
|
@@ -27278,7 +27399,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27278
27399
|
label: string;
|
|
27279
27400
|
status: "error" | "unknown" | "ok";
|
|
27280
27401
|
summary: string | null;
|
|
27281
|
-
activity?: "check" | "
|
|
27402
|
+
activity?: "check" | "status" | "shipping" | "code" | "version" | "product" | "category" | "brief" | "files" | "preview" | "template" | "site" | "info" | "upload" | "design" | "verify" | undefined;
|
|
27282
27403
|
target?: string | undefined;
|
|
27283
27404
|
changes?: {
|
|
27284
27405
|
path: string;
|
|
@@ -27352,14 +27473,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27352
27473
|
text: string;
|
|
27353
27474
|
} | {
|
|
27354
27475
|
type: "phase";
|
|
27355
|
-
phase: "
|
|
27476
|
+
phase: "BUILD" | "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "DONE";
|
|
27356
27477
|
} | {
|
|
27357
27478
|
type: "todos";
|
|
27358
27479
|
todos: {
|
|
27359
27480
|
content: string;
|
|
27360
27481
|
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
27361
27482
|
id?: string | undefined;
|
|
27362
|
-
phase?: "
|
|
27483
|
+
phase?: "BUILD" | "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "DONE" | undefined;
|
|
27363
27484
|
note?: string | undefined;
|
|
27364
27485
|
}[];
|
|
27365
27486
|
})[];
|
|
@@ -27368,7 +27489,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27368
27489
|
}[];
|
|
27369
27490
|
activeRun: {
|
|
27370
27491
|
id: string;
|
|
27371
|
-
status: "FAILED" | "
|
|
27492
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "CANCELLED";
|
|
27372
27493
|
errorCode: string | null;
|
|
27373
27494
|
createdAt: string;
|
|
27374
27495
|
finishedAt: string | null;
|
|
@@ -27380,7 +27501,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27380
27501
|
} | null;
|
|
27381
27502
|
lastRun: {
|
|
27382
27503
|
id: string;
|
|
27383
|
-
status: "FAILED" | "
|
|
27504
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "CANCELLED";
|
|
27384
27505
|
errorCode: string | null;
|
|
27385
27506
|
createdAt: string;
|
|
27386
27507
|
finishedAt: string | null;
|
|
@@ -27397,7 +27518,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27397
27518
|
/** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
|
|
27398
27519
|
cancelRun: (runId: string) => Promise<{
|
|
27399
27520
|
id: string;
|
|
27400
|
-
status: "FAILED" | "
|
|
27521
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "CANCELLED";
|
|
27401
27522
|
errorCode: string | null;
|
|
27402
27523
|
createdAt: string;
|
|
27403
27524
|
finishedAt: string | null;
|
|
@@ -27455,8 +27576,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27455
27576
|
isPrimary: boolean;
|
|
27456
27577
|
holdUntil: string | null;
|
|
27457
27578
|
}[];
|
|
27458
|
-
status: "
|
|
27459
|
-
visibility: "
|
|
27579
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27580
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27460
27581
|
publishedVersion: {
|
|
27461
27582
|
versionId: string;
|
|
27462
27583
|
number: number;
|
|
@@ -27522,8 +27643,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27522
27643
|
isPrimary: boolean;
|
|
27523
27644
|
holdUntil: string | null;
|
|
27524
27645
|
}[];
|
|
27525
|
-
status: "
|
|
27526
|
-
visibility: "
|
|
27646
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27647
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27527
27648
|
publishedVersion: {
|
|
27528
27649
|
versionId: string;
|
|
27529
27650
|
number: number;
|
|
@@ -27574,13 +27695,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27574
27695
|
startedAt: string;
|
|
27575
27696
|
finishedAt: string | null;
|
|
27576
27697
|
steps: {
|
|
27577
|
-
key: "
|
|
27578
|
-
status: "PENDING" | "FAILED" | "
|
|
27698
|
+
key: "UPLOAD" | "SITE" | "PUBLISH";
|
|
27699
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
27579
27700
|
finishedAt: string | null;
|
|
27580
27701
|
}[];
|
|
27581
27702
|
log: {
|
|
27582
27703
|
at: string | null;
|
|
27583
|
-
level: "
|
|
27704
|
+
level: "ERROR" | "INFO" | "WARN";
|
|
27584
27705
|
code: string;
|
|
27585
27706
|
message: string;
|
|
27586
27707
|
}[];
|
|
@@ -27596,13 +27717,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27596
27717
|
startedAt: string;
|
|
27597
27718
|
finishedAt: string | null;
|
|
27598
27719
|
steps: {
|
|
27599
|
-
key: "
|
|
27600
|
-
status: "PENDING" | "FAILED" | "
|
|
27720
|
+
key: "UPLOAD" | "SITE" | "PUBLISH";
|
|
27721
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
27601
27722
|
finishedAt: string | null;
|
|
27602
27723
|
}[];
|
|
27603
27724
|
log: {
|
|
27604
27725
|
at: string | null;
|
|
27605
|
-
level: "
|
|
27726
|
+
level: "ERROR" | "INFO" | "WARN";
|
|
27606
27727
|
code: string;
|
|
27607
27728
|
message: string;
|
|
27608
27729
|
}[];
|
|
@@ -27643,8 +27764,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27643
27764
|
isPrimary: boolean;
|
|
27644
27765
|
holdUntil: string | null;
|
|
27645
27766
|
}[];
|
|
27646
|
-
status: "
|
|
27647
|
-
visibility: "
|
|
27767
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27768
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27648
27769
|
publishedVersion: {
|
|
27649
27770
|
versionId: string;
|
|
27650
27771
|
number: number;
|
|
@@ -27700,8 +27821,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27700
27821
|
isPrimary: boolean;
|
|
27701
27822
|
holdUntil: string | null;
|
|
27702
27823
|
}[];
|
|
27703
|
-
status: "
|
|
27704
|
-
visibility: "
|
|
27824
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27825
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27705
27826
|
publishedVersion: {
|
|
27706
27827
|
versionId: string;
|
|
27707
27828
|
number: number;
|
|
@@ -27757,8 +27878,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27757
27878
|
isPrimary: boolean;
|
|
27758
27879
|
holdUntil: string | null;
|
|
27759
27880
|
}[];
|
|
27760
|
-
status: "
|
|
27761
|
-
visibility: "
|
|
27881
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27882
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27762
27883
|
publishedVersion: {
|
|
27763
27884
|
versionId: string;
|
|
27764
27885
|
number: number;
|
|
@@ -27814,8 +27935,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27814
27935
|
isPrimary: boolean;
|
|
27815
27936
|
holdUntil: string | null;
|
|
27816
27937
|
}[];
|
|
27817
|
-
status: "
|
|
27818
|
-
visibility: "
|
|
27938
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
27939
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27819
27940
|
publishedVersion: {
|
|
27820
27941
|
versionId: string;
|
|
27821
27942
|
number: number;
|
|
@@ -27879,7 +28000,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27879
28000
|
site: {
|
|
27880
28001
|
siteId: string;
|
|
27881
28002
|
url: string;
|
|
27882
|
-
visibility: "
|
|
28003
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
27883
28004
|
status: string;
|
|
27884
28005
|
synced: boolean;
|
|
27885
28006
|
publishedVersion: {
|
|
@@ -28036,8 +28157,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28036
28157
|
isPrimary: boolean;
|
|
28037
28158
|
holdUntil: string | null;
|
|
28038
28159
|
}[];
|
|
28039
|
-
status: "
|
|
28040
|
-
visibility: "
|
|
28160
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28161
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
28041
28162
|
publishedVersion: {
|
|
28042
28163
|
versionId: string;
|
|
28043
28164
|
number: number;
|
|
@@ -28244,7 +28365,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28244
28365
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
28245
28366
|
checkId: string;
|
|
28246
28367
|
check: string;
|
|
28247
|
-
status: "FAILED" | "
|
|
28368
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "TIMED_OUT" | "UNKNOWN" | "PASSED";
|
|
28248
28369
|
exitCode: number | null;
|
|
28249
28370
|
durationMs: number | null;
|
|
28250
28371
|
outputTail: string | null;
|
|
@@ -28258,7 +28379,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28258
28379
|
getCheck: (checkId: string) => Promise<{
|
|
28259
28380
|
checkId: string;
|
|
28260
28381
|
check: string;
|
|
28261
|
-
status: "FAILED" | "
|
|
28382
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "TIMED_OUT" | "UNKNOWN" | "PASSED";
|
|
28262
28383
|
exitCode: number | null;
|
|
28263
28384
|
durationMs: number | null;
|
|
28264
28385
|
outputTail: string | null;
|
|
@@ -28329,7 +28450,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28329
28450
|
buildId: string;
|
|
28330
28451
|
versionId: string;
|
|
28331
28452
|
versionNumber: number;
|
|
28332
|
-
status: "FAILED" | "
|
|
28453
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "TIMED_OUT";
|
|
28333
28454
|
failureStage: string | null;
|
|
28334
28455
|
errorCode: string | null;
|
|
28335
28456
|
logTail: string | null;
|
|
@@ -28410,7 +28531,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28410
28531
|
buildId: string;
|
|
28411
28532
|
versionId: string;
|
|
28412
28533
|
versionNumber: number;
|
|
28413
|
-
status: "FAILED" | "
|
|
28534
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "TIMED_OUT";
|
|
28414
28535
|
failureStage: string | null;
|
|
28415
28536
|
errorCode: string | null;
|
|
28416
28537
|
logTail: string | null;
|
|
@@ -28488,7 +28609,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28488
28609
|
buildId: string;
|
|
28489
28610
|
versionId: string;
|
|
28490
28611
|
versionNumber: number;
|
|
28491
|
-
status: "FAILED" | "
|
|
28612
|
+
status: "FAILED" | "QUEUED" | "RUNNING" | "SUCCEEDED" | "TIMED_OUT";
|
|
28492
28613
|
failureStage: string | null;
|
|
28493
28614
|
errorCode: string | null;
|
|
28494
28615
|
logTail: string | null;
|
|
@@ -28652,8 +28773,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28652
28773
|
isPrimary: boolean;
|
|
28653
28774
|
holdUntil: string | null;
|
|
28654
28775
|
}[];
|
|
28655
|
-
status: "
|
|
28656
|
-
visibility: "
|
|
28776
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28777
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
28657
28778
|
publishedVersion: {
|
|
28658
28779
|
versionId: string;
|
|
28659
28780
|
number: number;
|
|
@@ -28709,8 +28830,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28709
28830
|
isPrimary: boolean;
|
|
28710
28831
|
holdUntil: string | null;
|
|
28711
28832
|
}[];
|
|
28712
|
-
status: "
|
|
28713
|
-
visibility: "
|
|
28833
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
28834
|
+
visibility: "PUBLIC" | "COMING_SOON";
|
|
28714
28835
|
publishedVersion: {
|
|
28715
28836
|
versionId: string;
|
|
28716
28837
|
number: number;
|
|
@@ -28998,7 +29119,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28998
29119
|
name: string;
|
|
28999
29120
|
storeCode: string;
|
|
29000
29121
|
storefrontUrl: string | null;
|
|
29001
|
-
status: "
|
|
29122
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
29002
29123
|
logoUrl: string | null;
|
|
29003
29124
|
businessNumber: string | null;
|
|
29004
29125
|
customerCenterPhone: string | null;
|
|
@@ -29056,7 +29177,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29056
29177
|
name: string;
|
|
29057
29178
|
storeCode: string;
|
|
29058
29179
|
storefrontUrl: string | null;
|
|
29059
|
-
status: "
|
|
29180
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
29060
29181
|
logoUrl: string | null;
|
|
29061
29182
|
businessNumber: string | null;
|
|
29062
29183
|
customerCenterPhone: string | null;
|
|
@@ -29121,7 +29242,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29121
29242
|
userId: string;
|
|
29122
29243
|
name: string;
|
|
29123
29244
|
email: string;
|
|
29124
|
-
role: "
|
|
29245
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
29125
29246
|
joinedAt: string;
|
|
29126
29247
|
lastActiveAt: string | null;
|
|
29127
29248
|
}[]>;
|
|
@@ -29138,7 +29259,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29138
29259
|
invitationId: string;
|
|
29139
29260
|
email: string;
|
|
29140
29261
|
role: "ADMIN" | "STAFF";
|
|
29141
|
-
status: "
|
|
29262
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
29142
29263
|
invitedBy: string;
|
|
29143
29264
|
expiresAt: string;
|
|
29144
29265
|
createdAt: string;
|
|
@@ -29156,7 +29277,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29156
29277
|
invitationId: string;
|
|
29157
29278
|
email: string;
|
|
29158
29279
|
role: "ADMIN" | "STAFF";
|
|
29159
|
-
status: "
|
|
29280
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
29160
29281
|
invitedBy: string;
|
|
29161
29282
|
expiresAt: string;
|
|
29162
29283
|
createdAt: string;
|
|
@@ -29171,7 +29292,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
29171
29292
|
invitationId: string;
|
|
29172
29293
|
email: string;
|
|
29173
29294
|
role: "ADMIN" | "STAFF";
|
|
29174
|
-
status: "
|
|
29295
|
+
status: "CANCELED" | "PENDING" | "EXPIRED" | "ACCEPTED";
|
|
29175
29296
|
invitedBy: string;
|
|
29176
29297
|
expiresAt: string;
|
|
29177
29298
|
createdAt: string;
|
|
@@ -30631,10 +30752,10 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
30631
30752
|
};
|
|
30632
30753
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
30633
30754
|
export declare const storeScopeResourceSchema: z$1.ZodEnum<{
|
|
30755
|
+
flow: "flow";
|
|
30634
30756
|
product: "product";
|
|
30635
30757
|
category: "category";
|
|
30636
30758
|
order: "order";
|
|
30637
|
-
flow: "flow";
|
|
30638
30759
|
privacy: "privacy";
|
|
30639
30760
|
analytics: "analytics";
|
|
30640
30761
|
storefront: "storefront";
|
|
@@ -31083,8 +31204,8 @@ export declare const starterStatusSchema: z$1.ZodObject<{
|
|
|
31083
31204
|
siteId: z$1.ZodString;
|
|
31084
31205
|
url: z$1.ZodString;
|
|
31085
31206
|
visibility: z$1.ZodEnum<{
|
|
31086
|
-
COMING_SOON: "COMING_SOON";
|
|
31087
31207
|
PUBLIC: "PUBLIC";
|
|
31208
|
+
COMING_SOON: "COMING_SOON";
|
|
31088
31209
|
}>;
|
|
31089
31210
|
status: z$1.ZodString;
|
|
31090
31211
|
synced: z$1.ZodBoolean;
|