@sayren/store-sdk 0.30.3 → 0.30.5
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 +506 -437
- package/dist/index.mjs +43 -16
- package/package.json +1 -1
- package/src/client.ts +19 -2
- package/src/schemas/audit.ts +12 -0
- package/src/schemas/claim.ts +5 -0
- package/src/schemas/commerce-flow.ts +41 -9
- package/src/schemas/order.ts +15 -1
- package/src/schemas/payment.ts +16 -1
- package/src/schemas/points.ts +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,20 +8,20 @@ import { z } from "zod";
|
|
|
8
8
|
* 도메인 동작은 그 안에서 변경 전후를 담은 기록(`source: DOMAIN`)을 따로 남기고 `requestId`로 요청 기록과 이어진다.
|
|
9
9
|
*/
|
|
10
10
|
export declare const auditActorTypeSchema: z.ZodEnum<{
|
|
11
|
-
SYSTEM: "SYSTEM";
|
|
12
11
|
USER: "USER";
|
|
13
12
|
AGENT: "AGENT";
|
|
14
13
|
APP: "APP";
|
|
15
14
|
TOKEN: "TOKEN";
|
|
15
|
+
SYSTEM: "SYSTEM";
|
|
16
16
|
}>;
|
|
17
17
|
export type AuditActorType = z.infer<typeof auditActorTypeSchema>;
|
|
18
18
|
export declare const auditActorSchema: z.ZodObject<{
|
|
19
19
|
type: z.ZodEnum<{
|
|
20
|
-
SYSTEM: "SYSTEM";
|
|
21
20
|
USER: "USER";
|
|
22
21
|
AGENT: "AGENT";
|
|
23
22
|
APP: "APP";
|
|
24
23
|
TOKEN: "TOKEN";
|
|
24
|
+
SYSTEM: "SYSTEM";
|
|
25
25
|
}>;
|
|
26
26
|
id: z.ZodString;
|
|
27
27
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -33,8 +33,8 @@ export declare const auditLogSourceSchema: z.ZodEnum<{
|
|
|
33
33
|
}>;
|
|
34
34
|
export type AuditLogSource = z.infer<typeof auditLogSourceSchema>;
|
|
35
35
|
export declare const auditLogOutcomeSchema: z.ZodEnum<{
|
|
36
|
-
SUCCEEDED: "SUCCEEDED";
|
|
37
36
|
FAILED: "FAILED";
|
|
37
|
+
SUCCEEDED: "SUCCEEDED";
|
|
38
38
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
39
39
|
DENIED: "DENIED";
|
|
40
40
|
DRY_RUN: "DRY_RUN";
|
|
@@ -50,11 +50,11 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
50
50
|
action: z.ZodString;
|
|
51
51
|
actor: z.ZodObject<{
|
|
52
52
|
type: z.ZodEnum<{
|
|
53
|
-
SYSTEM: "SYSTEM";
|
|
54
53
|
USER: "USER";
|
|
55
54
|
AGENT: "AGENT";
|
|
56
55
|
APP: "APP";
|
|
57
56
|
TOKEN: "TOKEN";
|
|
57
|
+
SYSTEM: "SYSTEM";
|
|
58
58
|
}>;
|
|
59
59
|
id: z.ZodString;
|
|
60
60
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -69,8 +69,8 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
69
69
|
path: z.ZodNullable<z.ZodString>;
|
|
70
70
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
72
|
-
SUCCEEDED: "SUCCEEDED";
|
|
73
72
|
FAILED: "FAILED";
|
|
73
|
+
SUCCEEDED: "SUCCEEDED";
|
|
74
74
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
75
75
|
DENIED: "DENIED";
|
|
76
76
|
DRY_RUN: "DRY_RUN";
|
|
@@ -87,11 +87,11 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
87
87
|
from: z.ZodOptional<z.ZodString>;
|
|
88
88
|
to: z.ZodOptional<z.ZodString>;
|
|
89
89
|
actorType: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
|
|
90
|
-
SYSTEM: "SYSTEM";
|
|
91
90
|
USER: "USER";
|
|
92
91
|
AGENT: "AGENT";
|
|
93
92
|
APP: "APP";
|
|
94
93
|
TOKEN: "TOKEN";
|
|
94
|
+
SYSTEM: "SYSTEM";
|
|
95
95
|
}>>>>;
|
|
96
96
|
actorId: z.ZodOptional<z.ZodString>;
|
|
97
97
|
action: z.ZodOptional<z.ZodString>;
|
|
@@ -102,8 +102,8 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
102
102
|
DOMAIN: "DOMAIN";
|
|
103
103
|
}>>;
|
|
104
104
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
SUCCEEDED: "SUCCEEDED";
|
|
106
105
|
FAILED: "FAILED";
|
|
106
|
+
SUCCEEDED: "SUCCEEDED";
|
|
107
107
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
108
108
|
DENIED: "DENIED";
|
|
109
109
|
DRY_RUN: "DRY_RUN";
|
|
@@ -130,11 +130,11 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
130
130
|
action: z.ZodString;
|
|
131
131
|
actor: z.ZodObject<{
|
|
132
132
|
type: z.ZodEnum<{
|
|
133
|
-
SYSTEM: "SYSTEM";
|
|
134
133
|
USER: "USER";
|
|
135
134
|
AGENT: "AGENT";
|
|
136
135
|
APP: "APP";
|
|
137
136
|
TOKEN: "TOKEN";
|
|
137
|
+
SYSTEM: "SYSTEM";
|
|
138
138
|
}>;
|
|
139
139
|
id: z.ZodString;
|
|
140
140
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -149,8 +149,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
149
149
|
path: z.ZodNullable<z.ZodString>;
|
|
150
150
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
151
151
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
SUCCEEDED: "SUCCEEDED";
|
|
153
152
|
FAILED: "FAILED";
|
|
153
|
+
SUCCEEDED: "SUCCEEDED";
|
|
154
154
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
155
155
|
DENIED: "DENIED";
|
|
156
156
|
DRY_RUN: "DRY_RUN";
|
|
@@ -165,9 +165,9 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>;
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
168
169
|
DENIED: "DENIED";
|
|
169
170
|
ALLOW: "ALLOW";
|
|
170
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
173
173
|
export declare const writePreviewSchema: z.ZodObject<{
|
|
@@ -178,6 +178,7 @@ export declare const writePreviewSchema: z.ZodObject<{
|
|
|
178
178
|
type: z.ZodString;
|
|
179
179
|
id: z.ZodNullable<z.ZodString>;
|
|
180
180
|
}, z.core.$strip>;
|
|
181
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
182
|
changes: z.ZodArray<z.ZodObject<{
|
|
182
183
|
field: z.ZodString;
|
|
183
184
|
before: z.ZodUnknown;
|
|
@@ -190,9 +191,9 @@ export type WritePreview = z.infer<typeof writePreviewSchema>;
|
|
|
190
191
|
export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
191
192
|
dryRun: z.ZodLiteral<true>;
|
|
192
193
|
decision: z.ZodEnum<{
|
|
194
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
193
195
|
DENIED: "DENIED";
|
|
194
196
|
ALLOW: "ALLOW";
|
|
195
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
197
|
}>;
|
|
197
198
|
reason: z.ZodNullable<z.ZodString>;
|
|
198
199
|
preview: z.ZodObject<{
|
|
@@ -203,6 +204,7 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
203
204
|
type: z.ZodString;
|
|
204
205
|
id: z.ZodNullable<z.ZodString>;
|
|
205
206
|
}, z.core.$strip>;
|
|
207
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
208
|
changes: z.ZodArray<z.ZodObject<{
|
|
207
209
|
field: z.ZodString;
|
|
208
210
|
before: z.ZodUnknown;
|
|
@@ -213,27 +215,28 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
213
215
|
}, z.core.$strip>;
|
|
214
216
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
215
217
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
216
|
-
|
|
217
|
-
SUCCEEDED: "SUCCEEDED";
|
|
218
|
-
FAILED: "FAILED";
|
|
218
|
+
UNKNOWN: "UNKNOWN";
|
|
219
219
|
PENDING: "PENDING";
|
|
220
|
+
FAILED: "FAILED";
|
|
221
|
+
SUCCEEDED: "SUCCEEDED";
|
|
220
222
|
EXECUTING: "EXECUTING";
|
|
221
|
-
|
|
223
|
+
REJECTED: "REJECTED";
|
|
222
224
|
EXPIRED: "EXPIRED";
|
|
223
225
|
}>;
|
|
224
226
|
export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
225
227
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
226
228
|
approvalId: z.ZodString;
|
|
227
229
|
status: z.ZodEnum<{
|
|
228
|
-
|
|
229
|
-
SUCCEEDED: "SUCCEEDED";
|
|
230
|
-
FAILED: "FAILED";
|
|
230
|
+
UNKNOWN: "UNKNOWN";
|
|
231
231
|
PENDING: "PENDING";
|
|
232
|
+
FAILED: "FAILED";
|
|
233
|
+
SUCCEEDED: "SUCCEEDED";
|
|
232
234
|
EXECUTING: "EXECUTING";
|
|
233
|
-
|
|
235
|
+
REJECTED: "REJECTED";
|
|
234
236
|
EXPIRED: "EXPIRED";
|
|
235
237
|
}>;
|
|
236
238
|
operationId: z.ZodString;
|
|
239
|
+
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
240
|
method: z.ZodString;
|
|
238
241
|
path: z.ZodString;
|
|
239
242
|
body: z.ZodUnknown;
|
|
@@ -241,11 +244,11 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
241
244
|
reason: z.ZodString;
|
|
242
245
|
actor: z.ZodObject<{
|
|
243
246
|
type: z.ZodEnum<{
|
|
244
|
-
SYSTEM: "SYSTEM";
|
|
245
247
|
USER: "USER";
|
|
246
248
|
AGENT: "AGENT";
|
|
247
249
|
APP: "APP";
|
|
248
250
|
TOKEN: "TOKEN";
|
|
251
|
+
SYSTEM: "SYSTEM";
|
|
249
252
|
}>;
|
|
250
253
|
id: z.ZodString;
|
|
251
254
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -258,6 +261,7 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
258
261
|
type: z.ZodString;
|
|
259
262
|
id: z.ZodNullable<z.ZodString>;
|
|
260
263
|
}, z.core.$strip>;
|
|
264
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
265
|
changes: z.ZodArray<z.ZodObject<{
|
|
262
266
|
field: z.ZodString;
|
|
263
267
|
before: z.ZodUnknown;
|
|
@@ -287,12 +291,12 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
287
291
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
288
292
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
289
293
|
status: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
|
|
290
|
-
|
|
291
|
-
SUCCEEDED: "SUCCEEDED";
|
|
292
|
-
FAILED: "FAILED";
|
|
294
|
+
UNKNOWN: "UNKNOWN";
|
|
293
295
|
PENDING: "PENDING";
|
|
296
|
+
FAILED: "FAILED";
|
|
297
|
+
SUCCEEDED: "SUCCEEDED";
|
|
294
298
|
EXECUTING: "EXECUTING";
|
|
295
|
-
|
|
299
|
+
REJECTED: "REJECTED";
|
|
296
300
|
EXPIRED: "EXPIRED";
|
|
297
301
|
}>>>>;
|
|
298
302
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -306,15 +310,16 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
306
310
|
items: z.ZodArray<z.ZodObject<{
|
|
307
311
|
approvalId: z.ZodString;
|
|
308
312
|
status: z.ZodEnum<{
|
|
309
|
-
|
|
310
|
-
SUCCEEDED: "SUCCEEDED";
|
|
311
|
-
FAILED: "FAILED";
|
|
313
|
+
UNKNOWN: "UNKNOWN";
|
|
312
314
|
PENDING: "PENDING";
|
|
315
|
+
FAILED: "FAILED";
|
|
316
|
+
SUCCEEDED: "SUCCEEDED";
|
|
313
317
|
EXECUTING: "EXECUTING";
|
|
314
|
-
|
|
318
|
+
REJECTED: "REJECTED";
|
|
315
319
|
EXPIRED: "EXPIRED";
|
|
316
320
|
}>;
|
|
317
321
|
operationId: z.ZodString;
|
|
322
|
+
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
323
|
method: z.ZodString;
|
|
319
324
|
path: z.ZodString;
|
|
320
325
|
body: z.ZodUnknown;
|
|
@@ -322,11 +327,11 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
322
327
|
reason: z.ZodString;
|
|
323
328
|
actor: z.ZodObject<{
|
|
324
329
|
type: z.ZodEnum<{
|
|
325
|
-
SYSTEM: "SYSTEM";
|
|
326
330
|
USER: "USER";
|
|
327
331
|
AGENT: "AGENT";
|
|
328
332
|
APP: "APP";
|
|
329
333
|
TOKEN: "TOKEN";
|
|
334
|
+
SYSTEM: "SYSTEM";
|
|
330
335
|
}>;
|
|
331
336
|
id: z.ZodString;
|
|
332
337
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -339,6 +344,7 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
339
344
|
type: z.ZodString;
|
|
340
345
|
id: z.ZodNullable<z.ZodString>;
|
|
341
346
|
}, z.core.$strip>;
|
|
347
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
342
348
|
changes: z.ZodArray<z.ZodObject<{
|
|
343
349
|
field: z.ZodString;
|
|
344
350
|
before: z.ZodUnknown;
|
|
@@ -581,14 +587,14 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
581
587
|
}, z.core.$strip>;
|
|
582
588
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
583
589
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
584
|
-
UNKNOWN: "UNKNOWN";
|
|
585
|
-
PAID: "PAID";
|
|
586
590
|
DIRECT: "DIRECT";
|
|
587
|
-
EMAIL: "EMAIL";
|
|
588
591
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
589
592
|
SOCIAL: "SOCIAL";
|
|
593
|
+
PAID: "PAID";
|
|
594
|
+
EMAIL: "EMAIL";
|
|
590
595
|
CAMPAIGN: "CAMPAIGN";
|
|
591
596
|
REFERRAL: "REFERRAL";
|
|
597
|
+
UNKNOWN: "UNKNOWN";
|
|
592
598
|
}>;
|
|
593
599
|
export type AnalyticsChannel = z.infer<typeof analyticsChannelSchema>;
|
|
594
600
|
export declare const analyticsSourceGroupBySchema: z.ZodEnum<{
|
|
@@ -615,22 +621,22 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
615
621
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
616
622
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
617
623
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
618
|
-
UNKNOWN: "UNKNOWN";
|
|
619
|
-
PAID: "PAID";
|
|
620
624
|
DIRECT: "DIRECT";
|
|
621
|
-
EMAIL: "EMAIL";
|
|
622
625
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
623
626
|
SOCIAL: "SOCIAL";
|
|
627
|
+
PAID: "PAID";
|
|
628
|
+
EMAIL: "EMAIL";
|
|
624
629
|
CAMPAIGN: "CAMPAIGN";
|
|
625
630
|
REFERRAL: "REFERRAL";
|
|
631
|
+
UNKNOWN: "UNKNOWN";
|
|
626
632
|
}>>;
|
|
627
633
|
source: z.ZodNullable<z.ZodString>;
|
|
628
634
|
medium: z.ZodNullable<z.ZodString>;
|
|
629
635
|
campaign: z.ZodNullable<z.ZodString>;
|
|
630
636
|
device: z.ZodNullable<z.ZodEnum<{
|
|
631
637
|
unknown: "unknown";
|
|
632
|
-
mobile: "mobile";
|
|
633
638
|
desktop: "desktop";
|
|
639
|
+
mobile: "mobile";
|
|
634
640
|
tablet: "tablet";
|
|
635
641
|
}>>;
|
|
636
642
|
sessions: z.ZodNumber;
|
|
@@ -651,22 +657,22 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
651
657
|
}>;
|
|
652
658
|
rows: z.ZodArray<z.ZodObject<{
|
|
653
659
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
654
|
-
UNKNOWN: "UNKNOWN";
|
|
655
|
-
PAID: "PAID";
|
|
656
660
|
DIRECT: "DIRECT";
|
|
657
|
-
EMAIL: "EMAIL";
|
|
658
661
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
659
662
|
SOCIAL: "SOCIAL";
|
|
663
|
+
PAID: "PAID";
|
|
664
|
+
EMAIL: "EMAIL";
|
|
660
665
|
CAMPAIGN: "CAMPAIGN";
|
|
661
666
|
REFERRAL: "REFERRAL";
|
|
667
|
+
UNKNOWN: "UNKNOWN";
|
|
662
668
|
}>>;
|
|
663
669
|
source: z.ZodNullable<z.ZodString>;
|
|
664
670
|
medium: z.ZodNullable<z.ZodString>;
|
|
665
671
|
campaign: z.ZodNullable<z.ZodString>;
|
|
666
672
|
device: z.ZodNullable<z.ZodEnum<{
|
|
667
673
|
unknown: "unknown";
|
|
668
|
-
mobile: "mobile";
|
|
669
674
|
desktop: "desktop";
|
|
675
|
+
mobile: "mobile";
|
|
670
676
|
tablet: "tablet";
|
|
671
677
|
}>>;
|
|
672
678
|
sessions: z.ZodNumber;
|
|
@@ -701,8 +707,8 @@ export type AnalyticsRealtime = z.infer<typeof analyticsRealtimeSchema>;
|
|
|
701
707
|
export declare const analyticsDeviceRowSchema: z.ZodObject<{
|
|
702
708
|
device: z.ZodEnum<{
|
|
703
709
|
unknown: "unknown";
|
|
704
|
-
mobile: "mobile";
|
|
705
710
|
desktop: "desktop";
|
|
711
|
+
mobile: "mobile";
|
|
706
712
|
tablet: "tablet";
|
|
707
713
|
}>;
|
|
708
714
|
sessions: z.ZodNumber;
|
|
@@ -717,8 +723,8 @@ export declare const analyticsDevicesSchema: z.ZodObject<{
|
|
|
717
723
|
rows: z.ZodArray<z.ZodObject<{
|
|
718
724
|
device: z.ZodEnum<{
|
|
719
725
|
unknown: "unknown";
|
|
720
|
-
mobile: "mobile";
|
|
721
726
|
desktop: "desktop";
|
|
727
|
+
mobile: "mobile";
|
|
722
728
|
tablet: "tablet";
|
|
723
729
|
}>;
|
|
724
730
|
sessions: z.ZodNumber;
|
|
@@ -808,12 +814,12 @@ export declare const analyticsSearchSchema: z.ZodObject<{
|
|
|
808
814
|
export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
|
|
809
815
|
export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
|
|
810
816
|
COMPLETED: "COMPLETED";
|
|
811
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
812
817
|
NOT_OPENED: "NOT_OPENED";
|
|
813
818
|
USER_CANCELED: "USER_CANCELED";
|
|
814
819
|
DECLINED: "DECLINED";
|
|
815
820
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
816
821
|
OTHER: "OTHER";
|
|
822
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
817
823
|
}>;
|
|
818
824
|
export type AnalyticsCheckoutOutcome = z.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
819
825
|
export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
@@ -821,12 +827,12 @@ export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
|
821
827
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
822
828
|
outcome: z.ZodEnum<{
|
|
823
829
|
COMPLETED: "COMPLETED";
|
|
824
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
825
830
|
NOT_OPENED: "NOT_OPENED";
|
|
826
831
|
USER_CANCELED: "USER_CANCELED";
|
|
827
832
|
DECLINED: "DECLINED";
|
|
828
833
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
829
834
|
OTHER: "OTHER";
|
|
835
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
830
836
|
}>;
|
|
831
837
|
sessions: z.ZodNumber;
|
|
832
838
|
}, z.core.$strip>>;
|
|
@@ -966,11 +972,11 @@ export type ApiLogSummary = z.infer<typeof apiLogSummarySchema>;
|
|
|
966
972
|
//#endregion
|
|
967
973
|
//#region src/schemas/category.d.ts
|
|
968
974
|
export declare const categoryProductSortSchema: z.ZodEnum<{
|
|
975
|
+
NAME: "NAME";
|
|
969
976
|
RECENT: "RECENT";
|
|
970
977
|
POPULAR: "POPULAR";
|
|
971
978
|
PRICE_LOW: "PRICE_LOW";
|
|
972
979
|
PRICE_HIGH: "PRICE_HIGH";
|
|
973
|
-
NAME: "NAME";
|
|
974
980
|
}>;
|
|
975
981
|
export type CategoryProductSort = z.infer<typeof categoryProductSortSchema>;
|
|
976
982
|
export declare const categorySchema: z.ZodObject<{
|
|
@@ -986,11 +992,11 @@ export declare const categorySchema: z.ZodObject<{
|
|
|
986
992
|
showPc: z.ZodBoolean;
|
|
987
993
|
showMobile: z.ZodBoolean;
|
|
988
994
|
productSort: z.ZodEnum<{
|
|
995
|
+
NAME: "NAME";
|
|
989
996
|
RECENT: "RECENT";
|
|
990
997
|
POPULAR: "POPULAR";
|
|
991
998
|
PRICE_LOW: "PRICE_LOW";
|
|
992
999
|
PRICE_HIGH: "PRICE_HIGH";
|
|
993
|
-
NAME: "NAME";
|
|
994
1000
|
}>;
|
|
995
1001
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
996
1002
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1017,11 +1023,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1017
1023
|
showPc: z.ZodBoolean;
|
|
1018
1024
|
showMobile: z.ZodBoolean;
|
|
1019
1025
|
productSort: z.ZodEnum<{
|
|
1026
|
+
NAME: "NAME";
|
|
1020
1027
|
RECENT: "RECENT";
|
|
1021
1028
|
POPULAR: "POPULAR";
|
|
1022
1029
|
PRICE_LOW: "PRICE_LOW";
|
|
1023
1030
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1024
|
-
NAME: "NAME";
|
|
1025
1031
|
}>;
|
|
1026
1032
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1027
1033
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1043,11 +1049,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1043
1049
|
showPc: z.ZodBoolean;
|
|
1044
1050
|
showMobile: z.ZodBoolean;
|
|
1045
1051
|
productSort: z.ZodEnum<{
|
|
1052
|
+
NAME: "NAME";
|
|
1046
1053
|
RECENT: "RECENT";
|
|
1047
1054
|
POPULAR: "POPULAR";
|
|
1048
1055
|
PRICE_LOW: "PRICE_LOW";
|
|
1049
1056
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1050
|
-
NAME: "NAME";
|
|
1051
1057
|
}>;
|
|
1052
1058
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1053
1059
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1072,11 +1078,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1072
1078
|
showPc: z.ZodBoolean;
|
|
1073
1079
|
showMobile: z.ZodBoolean;
|
|
1074
1080
|
productSort: z.ZodEnum<{
|
|
1081
|
+
NAME: "NAME";
|
|
1075
1082
|
RECENT: "RECENT";
|
|
1076
1083
|
POPULAR: "POPULAR";
|
|
1077
1084
|
PRICE_LOW: "PRICE_LOW";
|
|
1078
1085
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1079
|
-
NAME: "NAME";
|
|
1080
1086
|
}>;
|
|
1081
1087
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1082
1088
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1098,11 +1104,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1098
1104
|
showPc: z.ZodBoolean;
|
|
1099
1105
|
showMobile: z.ZodBoolean;
|
|
1100
1106
|
productSort: z.ZodEnum<{
|
|
1107
|
+
NAME: "NAME";
|
|
1101
1108
|
RECENT: "RECENT";
|
|
1102
1109
|
POPULAR: "POPULAR";
|
|
1103
1110
|
PRICE_LOW: "PRICE_LOW";
|
|
1104
1111
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1105
|
-
NAME: "NAME";
|
|
1106
1112
|
}>;
|
|
1107
1113
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1108
1114
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1135,11 +1141,11 @@ export declare const categoryCreateRequestSchema: z.ZodObject<{
|
|
|
1135
1141
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1136
1142
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1137
1143
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1144
|
+
NAME: "NAME";
|
|
1138
1145
|
RECENT: "RECENT";
|
|
1139
1146
|
POPULAR: "POPULAR";
|
|
1140
1147
|
PRICE_LOW: "PRICE_LOW";
|
|
1141
1148
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1142
|
-
NAME: "NAME";
|
|
1143
1149
|
}>>;
|
|
1144
1150
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1145
1151
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1154,11 +1160,11 @@ export declare const categoryPatchRequestSchema: z.ZodObject<{
|
|
|
1154
1160
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1155
1161
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1156
1162
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1163
|
+
NAME: "NAME";
|
|
1157
1164
|
RECENT: "RECENT";
|
|
1158
1165
|
POPULAR: "POPULAR";
|
|
1159
1166
|
PRICE_LOW: "PRICE_LOW";
|
|
1160
1167
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1161
|
-
NAME: "NAME";
|
|
1162
1168
|
}>>;
|
|
1163
1169
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1164
1170
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1239,13 +1245,13 @@ export declare const bulkResultSchema: z.ZodObject<{
|
|
|
1239
1245
|
export type BulkResult = z.infer<typeof bulkResultSchema>;
|
|
1240
1246
|
export declare const orderItemStatusSchema: z.ZodEnum<{
|
|
1241
1247
|
PAID: "PAID";
|
|
1248
|
+
CANCELED: "CANCELED";
|
|
1242
1249
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1243
1250
|
CONFIRMED: "CONFIRMED";
|
|
1244
1251
|
DISPATCHED: "DISPATCHED";
|
|
1245
1252
|
DELIVERING: "DELIVERING";
|
|
1246
1253
|
DELIVERED: "DELIVERED";
|
|
1247
1254
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1248
|
-
CANCELED: "CANCELED";
|
|
1249
1255
|
}>;
|
|
1250
1256
|
export type OrderItemStatus = z.infer<typeof orderItemStatusSchema>;
|
|
1251
1257
|
export declare const changeTypeSchema: z.ZodEnum<{
|
|
@@ -1264,20 +1270,20 @@ export type ChangeType = z.infer<typeof changeTypeSchema>;
|
|
|
1264
1270
|
//#endregion
|
|
1265
1271
|
//#region src/schemas/claim.d.ts
|
|
1266
1272
|
export declare const claimTypeSchema: z.ZodEnum<{
|
|
1267
|
-
CANCEL: "CANCEL";
|
|
1268
1273
|
RETURN: "RETURN";
|
|
1269
1274
|
EXCHANGE: "EXCHANGE";
|
|
1275
|
+
CANCEL: "CANCEL";
|
|
1270
1276
|
}>;
|
|
1271
1277
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
1272
1278
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
1279
|
+
COMPLETED: "COMPLETED";
|
|
1280
|
+
REJECTED: "REJECTED";
|
|
1273
1281
|
REQUESTED: "REQUESTED";
|
|
1274
1282
|
HELD: "HELD";
|
|
1275
1283
|
COLLECTING: "COLLECTING";
|
|
1276
1284
|
COLLECTED: "COLLECTED";
|
|
1277
1285
|
REDELIVERING: "REDELIVERING";
|
|
1278
1286
|
APPROVED: "APPROVED";
|
|
1279
|
-
REJECTED: "REJECTED";
|
|
1280
|
-
COMPLETED: "COMPLETED";
|
|
1281
1287
|
WITHDRAWN: "WITHDRAWN";
|
|
1282
1288
|
}>;
|
|
1283
1289
|
export type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
@@ -1310,19 +1316,19 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1310
1316
|
claimId: z.ZodString;
|
|
1311
1317
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1312
1318
|
type: z.ZodEnum<{
|
|
1313
|
-
CANCEL: "CANCEL";
|
|
1314
1319
|
RETURN: "RETURN";
|
|
1315
1320
|
EXCHANGE: "EXCHANGE";
|
|
1321
|
+
CANCEL: "CANCEL";
|
|
1316
1322
|
}>;
|
|
1317
1323
|
status: z.ZodEnum<{
|
|
1324
|
+
COMPLETED: "COMPLETED";
|
|
1325
|
+
REJECTED: "REJECTED";
|
|
1318
1326
|
REQUESTED: "REQUESTED";
|
|
1319
1327
|
HELD: "HELD";
|
|
1320
1328
|
COLLECTING: "COLLECTING";
|
|
1321
1329
|
COLLECTED: "COLLECTED";
|
|
1322
1330
|
REDELIVERING: "REDELIVERING";
|
|
1323
1331
|
APPROVED: "APPROVED";
|
|
1324
|
-
REJECTED: "REJECTED";
|
|
1325
|
-
COMPLETED: "COMPLETED";
|
|
1326
1332
|
WITHDRAWN: "WITHDRAWN";
|
|
1327
1333
|
}>;
|
|
1328
1334
|
orderId: z.ZodString;
|
|
@@ -1386,9 +1392,9 @@ export declare const claimListQuerySchema: z.ZodObject<{
|
|
|
1386
1392
|
page: z.ZodOptional<z.ZodString>;
|
|
1387
1393
|
size: z.ZodOptional<z.ZodString>;
|
|
1388
1394
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1389
|
-
CANCEL: "CANCEL";
|
|
1390
1395
|
RETURN: "RETURN";
|
|
1391
1396
|
EXCHANGE: "EXCHANGE";
|
|
1397
|
+
CANCEL: "CANCEL";
|
|
1392
1398
|
}>>;
|
|
1393
1399
|
status: z.ZodOptional<z.ZodString>;
|
|
1394
1400
|
orderItemId: z.ZodOptional<z.ZodString>;
|
|
@@ -1400,19 +1406,19 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1400
1406
|
claimId: z.ZodString;
|
|
1401
1407
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1402
1408
|
type: z.ZodEnum<{
|
|
1403
|
-
CANCEL: "CANCEL";
|
|
1404
1409
|
RETURN: "RETURN";
|
|
1405
1410
|
EXCHANGE: "EXCHANGE";
|
|
1411
|
+
CANCEL: "CANCEL";
|
|
1406
1412
|
}>;
|
|
1407
1413
|
status: z.ZodEnum<{
|
|
1414
|
+
COMPLETED: "COMPLETED";
|
|
1415
|
+
REJECTED: "REJECTED";
|
|
1408
1416
|
REQUESTED: "REQUESTED";
|
|
1409
1417
|
HELD: "HELD";
|
|
1410
1418
|
COLLECTING: "COLLECTING";
|
|
1411
1419
|
COLLECTED: "COLLECTED";
|
|
1412
1420
|
REDELIVERING: "REDELIVERING";
|
|
1413
1421
|
APPROVED: "APPROVED";
|
|
1414
|
-
REJECTED: "REJECTED";
|
|
1415
|
-
COMPLETED: "COMPLETED";
|
|
1416
1422
|
WITHDRAWN: "WITHDRAWN";
|
|
1417
1423
|
}>;
|
|
1418
1424
|
orderId: z.ZodString;
|
|
@@ -1463,20 +1469,20 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1463
1469
|
}, z.core.$strip>>;
|
|
1464
1470
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1465
1471
|
status: z.ZodEnum<{
|
|
1472
|
+
COMPLETED: "COMPLETED";
|
|
1473
|
+
REJECTED: "REJECTED";
|
|
1466
1474
|
REQUESTED: "REQUESTED";
|
|
1467
1475
|
HELD: "HELD";
|
|
1468
1476
|
COLLECTING: "COLLECTING";
|
|
1469
1477
|
COLLECTED: "COLLECTED";
|
|
1470
1478
|
REDELIVERING: "REDELIVERING";
|
|
1471
1479
|
APPROVED: "APPROVED";
|
|
1472
|
-
REJECTED: "REJECTED";
|
|
1473
|
-
COMPLETED: "COMPLETED";
|
|
1474
1480
|
WITHDRAWN: "WITHDRAWN";
|
|
1475
1481
|
}>;
|
|
1476
1482
|
actor: z.ZodEnum<{
|
|
1483
|
+
SYSTEM: "SYSTEM";
|
|
1477
1484
|
BUYER: "BUYER";
|
|
1478
1485
|
SELLER: "SELLER";
|
|
1479
|
-
SYSTEM: "SYSTEM";
|
|
1480
1486
|
}>;
|
|
1481
1487
|
occurredAt: z.ZodString;
|
|
1482
1488
|
}, z.core.$strip>>>;
|
|
@@ -1490,11 +1496,11 @@ export declare const claimHoldResultSchema: z.ZodObject<{
|
|
|
1490
1496
|
export type ClaimHoldResult = z.infer<typeof claimHoldResultSchema>;
|
|
1491
1497
|
export declare const rejectClaimRequestSchema: z.ZodObject<{
|
|
1492
1498
|
reason: z.ZodEnum<{
|
|
1499
|
+
ETC: "ETC";
|
|
1493
1500
|
USED_PRODUCT: "USED_PRODUCT";
|
|
1494
1501
|
MISSING_COMPONENT: "MISSING_COMPONENT";
|
|
1495
1502
|
PERIOD_EXPIRED: "PERIOD_EXPIRED";
|
|
1496
1503
|
BUYER_FAULT_DAMAGE: "BUYER_FAULT_DAMAGE";
|
|
1497
|
-
ETC: "ETC";
|
|
1498
1504
|
}>;
|
|
1499
1505
|
detail: z.ZodString;
|
|
1500
1506
|
evidenceImages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -1511,6 +1517,7 @@ export declare const approveClaimResultSchema: z.ZodObject<{
|
|
|
1511
1517
|
couponChargeRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1512
1518
|
pointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1513
1519
|
refundedAt: z.ZodString;
|
|
1520
|
+
refundHeld: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1514
1521
|
}, z.core.$strip>;
|
|
1515
1522
|
export type ApproveClaimResult = z.infer<typeof approveClaimResultSchema>;
|
|
1516
1523
|
//#endregion
|
|
@@ -1556,8 +1563,8 @@ export declare const collectionProductSortRequestSchema: z.ZodEnum<{
|
|
|
1556
1563
|
/** 노출 상태 — 노출 여부와 기간에서 나온 값이다. 숨김이 기간보다 앞선다 */
|
|
1557
1564
|
export declare const collectionStateSchema: z.ZodEnum<{
|
|
1558
1565
|
ACTIVE: "ACTIVE";
|
|
1559
|
-
SCHEDULED: "SCHEDULED";
|
|
1560
1566
|
ENDED: "ENDED";
|
|
1567
|
+
SCHEDULED: "SCHEDULED";
|
|
1561
1568
|
HIDDEN: "HIDDEN";
|
|
1562
1569
|
}>;
|
|
1563
1570
|
export type CollectionState = z.infer<typeof collectionStateSchema>;
|
|
@@ -1737,8 +1744,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
|
1737
1744
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
1738
1745
|
state: z.ZodEnum<{
|
|
1739
1746
|
ACTIVE: "ACTIVE";
|
|
1740
|
-
SCHEDULED: "SCHEDULED";
|
|
1741
1747
|
ENDED: "ENDED";
|
|
1748
|
+
SCHEDULED: "SCHEDULED";
|
|
1742
1749
|
HIDDEN: "HIDDEN";
|
|
1743
1750
|
}>;
|
|
1744
1751
|
salesComputedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1918,8 +1925,8 @@ export declare const collectionPageSchema: z.ZodObject<{
|
|
|
1918
1925
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
1919
1926
|
state: z.ZodEnum<{
|
|
1920
1927
|
ACTIVE: "ACTIVE";
|
|
1921
|
-
SCHEDULED: "SCHEDULED";
|
|
1922
1928
|
ENDED: "ENDED";
|
|
1929
|
+
SCHEDULED: "SCHEDULED";
|
|
1923
1930
|
HIDDEN: "HIDDEN";
|
|
1924
1931
|
}>;
|
|
1925
1932
|
salesComputedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1954,8 +1961,8 @@ export declare const collectionListQuerySchema: z.ZodObject<{
|
|
|
1954
1961
|
}>>;
|
|
1955
1962
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1956
1963
|
ACTIVE: "ACTIVE";
|
|
1957
|
-
SCHEDULED: "SCHEDULED";
|
|
1958
1964
|
ENDED: "ENDED";
|
|
1965
|
+
SCHEDULED: "SCHEDULED";
|
|
1959
1966
|
HIDDEN: "HIDDEN";
|
|
1960
1967
|
}>>;
|
|
1961
1968
|
productId: z.ZodOptional<z.ZodString>;
|
|
@@ -2080,23 +2087,23 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
2080
2087
|
label: z.ZodString;
|
|
2081
2088
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2082
2089
|
PAID: "PAID";
|
|
2090
|
+
CANCELED: "CANCELED";
|
|
2083
2091
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2084
2092
|
CONFIRMED: "CONFIRMED";
|
|
2085
2093
|
DISPATCHED: "DISPATCHED";
|
|
2086
2094
|
DELIVERING: "DELIVERING";
|
|
2087
2095
|
DELIVERED: "DELIVERED";
|
|
2088
2096
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2089
|
-
CANCELED: "CANCELED";
|
|
2090
2097
|
}>>;
|
|
2091
2098
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2099
|
+
COMPLETED: "COMPLETED";
|
|
2100
|
+
REJECTED: "REJECTED";
|
|
2092
2101
|
REQUESTED: "REQUESTED";
|
|
2093
2102
|
HELD: "HELD";
|
|
2094
2103
|
COLLECTING: "COLLECTING";
|
|
2095
2104
|
COLLECTED: "COLLECTED";
|
|
2096
2105
|
REDELIVERING: "REDELIVERING";
|
|
2097
2106
|
APPROVED: "APPROVED";
|
|
2098
|
-
REJECTED: "REJECTED";
|
|
2099
|
-
COMPLETED: "COMPLETED";
|
|
2100
2107
|
WITHDRAWN: "WITHDRAWN";
|
|
2101
2108
|
}>>;
|
|
2102
2109
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2128,23 +2135,23 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2128
2135
|
label: z.ZodString;
|
|
2129
2136
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2130
2137
|
PAID: "PAID";
|
|
2138
|
+
CANCELED: "CANCELED";
|
|
2131
2139
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2132
2140
|
CONFIRMED: "CONFIRMED";
|
|
2133
2141
|
DISPATCHED: "DISPATCHED";
|
|
2134
2142
|
DELIVERING: "DELIVERING";
|
|
2135
2143
|
DELIVERED: "DELIVERED";
|
|
2136
2144
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2137
|
-
CANCELED: "CANCELED";
|
|
2138
2145
|
}>>;
|
|
2139
2146
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2147
|
+
COMPLETED: "COMPLETED";
|
|
2148
|
+
REJECTED: "REJECTED";
|
|
2140
2149
|
REQUESTED: "REQUESTED";
|
|
2141
2150
|
HELD: "HELD";
|
|
2142
2151
|
COLLECTING: "COLLECTING";
|
|
2143
2152
|
COLLECTED: "COLLECTED";
|
|
2144
2153
|
REDELIVERING: "REDELIVERING";
|
|
2145
2154
|
APPROVED: "APPROVED";
|
|
2146
|
-
REJECTED: "REJECTED";
|
|
2147
|
-
COMPLETED: "COMPLETED";
|
|
2148
2155
|
WITHDRAWN: "WITHDRAWN";
|
|
2149
2156
|
}>>;
|
|
2150
2157
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2209,13 +2216,13 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2209
2216
|
label: z.ZodString;
|
|
2210
2217
|
coreStatus: z.ZodNullable<z.ZodEnum<{
|
|
2211
2218
|
PAID: "PAID";
|
|
2219
|
+
CANCELED: "CANCELED";
|
|
2212
2220
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2213
2221
|
CONFIRMED: "CONFIRMED";
|
|
2214
2222
|
DISPATCHED: "DISPATCHED";
|
|
2215
2223
|
DELIVERING: "DELIVERING";
|
|
2216
2224
|
DELIVERED: "DELIVERED";
|
|
2217
2225
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2218
|
-
CANCELED: "CANCELED";
|
|
2219
2226
|
}>>;
|
|
2220
2227
|
}, z.core.$strip>>>;
|
|
2221
2228
|
branches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2223,23 +2230,23 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2223
2230
|
label: z.ZodString;
|
|
2224
2231
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2225
2232
|
PAID: "PAID";
|
|
2233
|
+
CANCELED: "CANCELED";
|
|
2226
2234
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2227
2235
|
CONFIRMED: "CONFIRMED";
|
|
2228
2236
|
DISPATCHED: "DISPATCHED";
|
|
2229
2237
|
DELIVERING: "DELIVERING";
|
|
2230
2238
|
DELIVERED: "DELIVERED";
|
|
2231
2239
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2232
|
-
CANCELED: "CANCELED";
|
|
2233
2240
|
}>>;
|
|
2234
2241
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2242
|
+
COMPLETED: "COMPLETED";
|
|
2243
|
+
REJECTED: "REJECTED";
|
|
2235
2244
|
REQUESTED: "REQUESTED";
|
|
2236
2245
|
HELD: "HELD";
|
|
2237
2246
|
COLLECTING: "COLLECTING";
|
|
2238
2247
|
COLLECTED: "COLLECTED";
|
|
2239
2248
|
REDELIVERING: "REDELIVERING";
|
|
2240
2249
|
APPROVED: "APPROVED";
|
|
2241
|
-
REJECTED: "REJECTED";
|
|
2242
|
-
COMPLETED: "COMPLETED";
|
|
2243
2250
|
WITHDRAWN: "WITHDRAWN";
|
|
2244
2251
|
}>>;
|
|
2245
2252
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2314,23 +2321,23 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2314
2321
|
label: z.ZodString;
|
|
2315
2322
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2316
2323
|
PAID: "PAID";
|
|
2324
|
+
CANCELED: "CANCELED";
|
|
2317
2325
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2318
2326
|
CONFIRMED: "CONFIRMED";
|
|
2319
2327
|
DISPATCHED: "DISPATCHED";
|
|
2320
2328
|
DELIVERING: "DELIVERING";
|
|
2321
2329
|
DELIVERED: "DELIVERED";
|
|
2322
2330
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2323
|
-
CANCELED: "CANCELED";
|
|
2324
2331
|
}>>;
|
|
2325
2332
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2333
|
+
COMPLETED: "COMPLETED";
|
|
2334
|
+
REJECTED: "REJECTED";
|
|
2326
2335
|
REQUESTED: "REQUESTED";
|
|
2327
2336
|
HELD: "HELD";
|
|
2328
2337
|
COLLECTING: "COLLECTING";
|
|
2329
2338
|
COLLECTED: "COLLECTED";
|
|
2330
2339
|
REDELIVERING: "REDELIVERING";
|
|
2331
2340
|
APPROVED: "APPROVED";
|
|
2332
|
-
REJECTED: "REJECTED";
|
|
2333
|
-
COMPLETED: "COMPLETED";
|
|
2334
2341
|
WITHDRAWN: "WITHDRAWN";
|
|
2335
2342
|
}>>;
|
|
2336
2343
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2685,6 +2692,23 @@ export declare const flowNodeTypesSchema: z.ZodObject<{
|
|
|
2685
2692
|
effect: z.ZodString;
|
|
2686
2693
|
configSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2687
2694
|
}, z.core.$strip>>;
|
|
2695
|
+
platformActions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2696
|
+
key: z.ZodString;
|
|
2697
|
+
side: z.ZodEnum<{
|
|
2698
|
+
buyer: "buyer";
|
|
2699
|
+
seller: "seller";
|
|
2700
|
+
}>;
|
|
2701
|
+
label: z.ZodString;
|
|
2702
|
+
mode: z.ZodEnum<{
|
|
2703
|
+
REQUEST: "REQUEST";
|
|
2704
|
+
INSTANT: "INSTANT";
|
|
2705
|
+
VIEW: "VIEW";
|
|
2706
|
+
}>;
|
|
2707
|
+
subflow: z.ZodOptional<z.ZodString>;
|
|
2708
|
+
window: z.ZodBoolean;
|
|
2709
|
+
fee: z.ZodBoolean;
|
|
2710
|
+
listed: z.ZodBoolean;
|
|
2711
|
+
}, z.core.$strip>>>>;
|
|
2688
2712
|
}, z.core.$strip>;
|
|
2689
2713
|
export type FlowNodeTypes = z.infer<typeof flowNodeTypesSchema>;
|
|
2690
2714
|
//#endregion
|
|
@@ -3076,8 +3100,8 @@ export type ConsentAction = z.infer<typeof consentActionSchema>;
|
|
|
3076
3100
|
* `RECONSENT` 약관 개정 재동의 · `MEMBER_UPDATE` 구매자가 직접 변경 · `SELLER` 셀러가 처리
|
|
3077
3101
|
*/
|
|
3078
3102
|
export declare const consentSourceSchema: z.ZodEnum<{
|
|
3079
|
-
SELLER: "SELLER";
|
|
3080
3103
|
SIGNUP: "SIGNUP";
|
|
3104
|
+
SELLER: "SELLER";
|
|
3081
3105
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3082
3106
|
DELEGATED: "DELEGATED";
|
|
3083
3107
|
RECONSENT: "RECONSENT";
|
|
@@ -3099,8 +3123,8 @@ export declare const customerConsentSchema: z.ZodObject<{
|
|
|
3099
3123
|
AGREED: "AGREED";
|
|
3100
3124
|
}>;
|
|
3101
3125
|
source: z.ZodEnum<{
|
|
3102
|
-
SELLER: "SELLER";
|
|
3103
3126
|
SIGNUP: "SIGNUP";
|
|
3127
|
+
SELLER: "SELLER";
|
|
3104
3128
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3105
3129
|
DELEGATED: "DELEGATED";
|
|
3106
3130
|
RECONSENT: "RECONSENT";
|
|
@@ -3270,13 +3294,13 @@ export declare const customerOrderSchema: z.ZodObject<{
|
|
|
3270
3294
|
quantity: z.ZodNumber;
|
|
3271
3295
|
status: z.ZodEnum<{
|
|
3272
3296
|
PAID: "PAID";
|
|
3297
|
+
CANCELED: "CANCELED";
|
|
3273
3298
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3274
3299
|
CONFIRMED: "CONFIRMED";
|
|
3275
3300
|
DISPATCHED: "DISPATCHED";
|
|
3276
3301
|
DELIVERING: "DELIVERING";
|
|
3277
3302
|
DELIVERED: "DELIVERED";
|
|
3278
3303
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3279
|
-
CANCELED: "CANCELED";
|
|
3280
3304
|
}>;
|
|
3281
3305
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
3282
3306
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -3359,8 +3383,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
3359
3383
|
*/
|
|
3360
3384
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
3361
3385
|
export declare const fulfillmentMethodSchema: z.ZodEnum<{
|
|
3362
|
-
CARRIER: "CARRIER";
|
|
3363
3386
|
DIRECT: "DIRECT";
|
|
3387
|
+
CARRIER: "CARRIER";
|
|
3364
3388
|
PICKUP: "PICKUP";
|
|
3365
3389
|
PROVIDED: "PROVIDED";
|
|
3366
3390
|
}>;
|
|
@@ -3404,8 +3428,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
3404
3428
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
3405
3429
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
3406
3430
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
3407
|
-
FREE: "FREE";
|
|
3408
3431
|
PAID: "PAID";
|
|
3432
|
+
FREE: "FREE";
|
|
3409
3433
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3410
3434
|
}>;
|
|
3411
3435
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -3416,8 +3440,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3416
3440
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3417
3441
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
3418
3442
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
3419
|
-
FREE: "FREE";
|
|
3420
3443
|
PAID: "PAID";
|
|
3444
|
+
FREE: "FREE";
|
|
3421
3445
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3422
3446
|
}>>;
|
|
3423
3447
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3426,16 +3450,16 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3426
3450
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3427
3451
|
}, z.core.$strict>>;
|
|
3428
3452
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3429
|
-
CARRIER: "CARRIER";
|
|
3430
3453
|
DIRECT: "DIRECT";
|
|
3454
|
+
CARRIER: "CARRIER";
|
|
3431
3455
|
PICKUP: "PICKUP";
|
|
3432
3456
|
PROVIDED: "PROVIDED";
|
|
3433
3457
|
}>>>;
|
|
3434
3458
|
}, z.core.$strict>, z.ZodObject<{
|
|
3435
3459
|
type: z.ZodLiteral<"MANUAL">;
|
|
3436
3460
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3437
|
-
CARRIER: "CARRIER";
|
|
3438
3461
|
DIRECT: "DIRECT";
|
|
3462
|
+
CARRIER: "CARRIER";
|
|
3439
3463
|
PICKUP: "PICKUP";
|
|
3440
3464
|
PROVIDED: "PROVIDED";
|
|
3441
3465
|
}>>>;
|
|
@@ -3451,8 +3475,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3451
3475
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3452
3476
|
shipping: z.ZodObject<{
|
|
3453
3477
|
deliveryType: z.ZodEnum<{
|
|
3454
|
-
FREE: "FREE";
|
|
3455
3478
|
PAID: "PAID";
|
|
3479
|
+
FREE: "FREE";
|
|
3456
3480
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3457
3481
|
}>;
|
|
3458
3482
|
deliveryFee: z.ZodNumber;
|
|
@@ -3461,16 +3485,16 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3461
3485
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
3462
3486
|
}, z.core.$strict>;
|
|
3463
3487
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3464
|
-
CARRIER: "CARRIER";
|
|
3465
3488
|
DIRECT: "DIRECT";
|
|
3489
|
+
CARRIER: "CARRIER";
|
|
3466
3490
|
PICKUP: "PICKUP";
|
|
3467
3491
|
PROVIDED: "PROVIDED";
|
|
3468
3492
|
}>>>;
|
|
3469
3493
|
}, z.core.$strict>, z.ZodObject<{
|
|
3470
3494
|
type: z.ZodLiteral<"MANUAL">;
|
|
3471
3495
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3472
|
-
CARRIER: "CARRIER";
|
|
3473
3496
|
DIRECT: "DIRECT";
|
|
3497
|
+
CARRIER: "CARRIER";
|
|
3474
3498
|
PICKUP: "PICKUP";
|
|
3475
3499
|
PROVIDED: "PROVIDED";
|
|
3476
3500
|
}>>>;
|
|
@@ -3484,8 +3508,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3484
3508
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3485
3509
|
shipping: z.ZodObject<{
|
|
3486
3510
|
deliveryType: z.ZodEnum<{
|
|
3487
|
-
FREE: "FREE";
|
|
3488
3511
|
PAID: "PAID";
|
|
3512
|
+
FREE: "FREE";
|
|
3489
3513
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3490
3514
|
}>;
|
|
3491
3515
|
deliveryFee: z.ZodNumber;
|
|
@@ -3525,8 +3549,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
3525
3549
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3526
3550
|
shipping: z.ZodObject<{
|
|
3527
3551
|
deliveryType: z.ZodEnum<{
|
|
3528
|
-
FREE: "FREE";
|
|
3529
3552
|
PAID: "PAID";
|
|
3553
|
+
FREE: "FREE";
|
|
3530
3554
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3531
3555
|
}>;
|
|
3532
3556
|
deliveryFee: z.ZodNumber;
|
|
@@ -3721,11 +3745,11 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3721
3745
|
productName: z.ZodString;
|
|
3722
3746
|
orderItemId: z.ZodNullable<z.ZodString>;
|
|
3723
3747
|
category: z.ZodEnum<{
|
|
3724
|
-
RETURN: "RETURN";
|
|
3725
|
-
EXCHANGE: "EXCHANGE";
|
|
3726
3748
|
ETC: "ETC";
|
|
3727
3749
|
PRODUCT: "PRODUCT";
|
|
3728
3750
|
DELIVERY: "DELIVERY";
|
|
3751
|
+
RETURN: "RETURN";
|
|
3752
|
+
EXCHANGE: "EXCHANGE";
|
|
3729
3753
|
}>;
|
|
3730
3754
|
content: z.ZodString;
|
|
3731
3755
|
secret: z.ZodBoolean;
|
|
@@ -3740,10 +3764,10 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3740
3764
|
}, z.core.$strip>;
|
|
3741
3765
|
export type Inquiry = z.infer<typeof inquirySchema>;
|
|
3742
3766
|
export declare const customerInquiryCategorySchema: z.ZodEnum<{
|
|
3743
|
-
RETURN: "RETURN";
|
|
3744
|
-
EXCHANGE: "EXCHANGE";
|
|
3745
3767
|
ETC: "ETC";
|
|
3746
3768
|
DELIVERY: "DELIVERY";
|
|
3769
|
+
RETURN: "RETURN";
|
|
3770
|
+
EXCHANGE: "EXCHANGE";
|
|
3747
3771
|
PAYMENT: "PAYMENT";
|
|
3748
3772
|
}>;
|
|
3749
3773
|
export type CustomerInquiryCategory = z.infer<typeof customerInquiryCategorySchema>;
|
|
@@ -3752,10 +3776,10 @@ export declare const sellerCustomerInquirySchema: z.ZodObject<{
|
|
|
3752
3776
|
inquiryId: z.ZodString;
|
|
3753
3777
|
memberMaskedName: z.ZodString;
|
|
3754
3778
|
category: z.ZodEnum<{
|
|
3755
|
-
RETURN: "RETURN";
|
|
3756
|
-
EXCHANGE: "EXCHANGE";
|
|
3757
3779
|
ETC: "ETC";
|
|
3758
3780
|
DELIVERY: "DELIVERY";
|
|
3781
|
+
RETURN: "RETURN";
|
|
3782
|
+
EXCHANGE: "EXCHANGE";
|
|
3759
3783
|
PAYMENT: "PAYMENT";
|
|
3760
3784
|
}>;
|
|
3761
3785
|
title: z.ZodString;
|
|
@@ -3790,18 +3814,18 @@ export declare const customerInquiryListQuerySchema: z.ZodObject<{
|
|
|
3790
3814
|
false: "false";
|
|
3791
3815
|
}>>;
|
|
3792
3816
|
category: z.ZodOptional<z.ZodEnum<{
|
|
3793
|
-
RETURN: "RETURN";
|
|
3794
|
-
EXCHANGE: "EXCHANGE";
|
|
3795
3817
|
ETC: "ETC";
|
|
3796
3818
|
DELIVERY: "DELIVERY";
|
|
3819
|
+
RETURN: "RETURN";
|
|
3820
|
+
EXCHANGE: "EXCHANGE";
|
|
3797
3821
|
PAYMENT: "PAYMENT";
|
|
3798
3822
|
}>>;
|
|
3799
3823
|
from: z.ZodOptional<z.ZodString>;
|
|
3800
3824
|
}, z.core.$strip>;
|
|
3801
3825
|
export declare const settlementStatusSchema: z.ZodEnum<{
|
|
3802
|
-
HELD: "HELD";
|
|
3803
3826
|
PAID: "PAID";
|
|
3804
3827
|
SCHEDULED: "SCHEDULED";
|
|
3828
|
+
HELD: "HELD";
|
|
3805
3829
|
}>;
|
|
3806
3830
|
export type SettlementStatus = z.infer<typeof settlementStatusSchema>;
|
|
3807
3831
|
export declare const settlementSummarySchema: z.ZodObject<{
|
|
@@ -3809,9 +3833,9 @@ export declare const settlementSummarySchema: z.ZodObject<{
|
|
|
3809
3833
|
settlementDate: z.ZodString;
|
|
3810
3834
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3811
3835
|
status: z.ZodEnum<{
|
|
3812
|
-
HELD: "HELD";
|
|
3813
3836
|
PAID: "PAID";
|
|
3814
3837
|
SCHEDULED: "SCHEDULED";
|
|
3838
|
+
HELD: "HELD";
|
|
3815
3839
|
}>;
|
|
3816
3840
|
totalPaymentAmount: z.ZodNumber;
|
|
3817
3841
|
totalCommission: z.ZodNumber;
|
|
@@ -3844,9 +3868,9 @@ export declare const settlementWithDetailsSchema: z.ZodObject<{
|
|
|
3844
3868
|
settlementDate: z.ZodString;
|
|
3845
3869
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3846
3870
|
status: z.ZodEnum<{
|
|
3847
|
-
HELD: "HELD";
|
|
3848
3871
|
PAID: "PAID";
|
|
3849
3872
|
SCHEDULED: "SCHEDULED";
|
|
3873
|
+
HELD: "HELD";
|
|
3850
3874
|
}>;
|
|
3851
3875
|
totalPaymentAmount: z.ZodNumber;
|
|
3852
3876
|
totalCommission: z.ZodNumber;
|
|
@@ -3879,9 +3903,9 @@ export declare const settlementListQuerySchema: z.ZodObject<{
|
|
|
3879
3903
|
from: z.ZodString;
|
|
3880
3904
|
to: z.ZodOptional<z.ZodString>;
|
|
3881
3905
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3882
|
-
HELD: "HELD";
|
|
3883
3906
|
PAID: "PAID";
|
|
3884
3907
|
SCHEDULED: "SCHEDULED";
|
|
3908
|
+
HELD: "HELD";
|
|
3885
3909
|
}>>;
|
|
3886
3910
|
}, z.core.$strip>;
|
|
3887
3911
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -3901,8 +3925,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3901
3925
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3902
3926
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3903
3927
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3904
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3905
3928
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3929
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3906
3930
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3907
3931
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3908
3932
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3915,8 +3939,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3915
3939
|
}>;
|
|
3916
3940
|
export type EventType = z.infer<typeof eventTypeSchema>;
|
|
3917
3941
|
export declare const webhookStatusSchema: z.ZodEnum<{
|
|
3918
|
-
ACTIVE: "ACTIVE";
|
|
3919
3942
|
SUSPENDED: "SUSPENDED";
|
|
3943
|
+
ACTIVE: "ACTIVE";
|
|
3920
3944
|
}>;
|
|
3921
3945
|
export type WebhookStatus = z.infer<typeof webhookStatusSchema>;
|
|
3922
3946
|
export declare const webhookSchema: z.ZodObject<{
|
|
@@ -3929,8 +3953,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3929
3953
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3930
3954
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3931
3955
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3932
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3933
3956
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3957
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3934
3958
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3935
3959
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3936
3960
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3942,8 +3966,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3942
3966
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3943
3967
|
}>>;
|
|
3944
3968
|
status: z.ZodEnum<{
|
|
3945
|
-
ACTIVE: "ACTIVE";
|
|
3946
3969
|
SUSPENDED: "SUSPENDED";
|
|
3970
|
+
ACTIVE: "ACTIVE";
|
|
3947
3971
|
}>;
|
|
3948
3972
|
secretPrefix: z.ZodString;
|
|
3949
3973
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3961,8 +3985,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3961
3985
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3962
3986
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3963
3987
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3964
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3965
3988
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3989
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3966
3990
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3967
3991
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3968
3992
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3974,8 +3998,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3974
3998
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3975
3999
|
}>>;
|
|
3976
4000
|
status: z.ZodEnum<{
|
|
3977
|
-
ACTIVE: "ACTIVE";
|
|
3978
4001
|
SUSPENDED: "SUSPENDED";
|
|
4002
|
+
ACTIVE: "ACTIVE";
|
|
3979
4003
|
}>;
|
|
3980
4004
|
secretPrefix: z.ZodString;
|
|
3981
4005
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3990,10 +4014,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
3990
4014
|
}, z.core.$strip>;
|
|
3991
4015
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
3992
4016
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
3993
|
-
FAILED: "FAILED";
|
|
3994
4017
|
PENDING: "PENDING";
|
|
3995
4018
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3996
4019
|
SUCCESS: "SUCCESS";
|
|
4020
|
+
FAILED: "FAILED";
|
|
3997
4021
|
}>;
|
|
3998
4022
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
3999
4023
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -4043,8 +4067,8 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
4043
4067
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4044
4068
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4045
4069
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4046
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4047
4070
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4071
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4048
4072
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4049
4073
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4050
4074
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4057,10 +4081,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
4057
4081
|
}>;
|
|
4058
4082
|
url: z.ZodString;
|
|
4059
4083
|
status: z.ZodEnum<{
|
|
4060
|
-
FAILED: "FAILED";
|
|
4061
4084
|
PENDING: "PENDING";
|
|
4062
4085
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4063
4086
|
SUCCESS: "SUCCESS";
|
|
4087
|
+
FAILED: "FAILED";
|
|
4064
4088
|
}>;
|
|
4065
4089
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4066
4090
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4098,8 +4122,8 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4098
4122
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4099
4123
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4100
4124
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4101
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4102
4125
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4126
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4103
4127
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4104
4128
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4105
4129
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4112,10 +4136,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4112
4136
|
}>;
|
|
4113
4137
|
url: z.ZodString;
|
|
4114
4138
|
status: z.ZodEnum<{
|
|
4115
|
-
FAILED: "FAILED";
|
|
4116
4139
|
PENDING: "PENDING";
|
|
4117
4140
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4118
4141
|
SUCCESS: "SUCCESS";
|
|
4142
|
+
FAILED: "FAILED";
|
|
4119
4143
|
}>;
|
|
4120
4144
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4121
4145
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4150,10 +4174,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
4150
4174
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
4151
4175
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
4152
4176
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4153
|
-
FAILED: "FAILED";
|
|
4154
4177
|
PENDING: "PENDING";
|
|
4155
4178
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4156
4179
|
SUCCESS: "SUCCESS";
|
|
4180
|
+
FAILED: "FAILED";
|
|
4157
4181
|
}>>;
|
|
4158
4182
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
4159
4183
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -4162,8 +4186,8 @@ export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
|
4162
4186
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4163
4187
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4164
4188
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4165
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4166
4189
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4190
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4167
4191
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4168
4192
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4169
4193
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4191,8 +4215,8 @@ export declare const webhookTestRequestSchema: z.ZodObject<{
|
|
|
4191
4215
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4192
4216
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4193
4217
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4194
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4195
4218
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4219
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4196
4220
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4197
4221
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4198
4222
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4234,8 +4258,8 @@ export declare const webhookRequestSchema: z.ZodObject<{
|
|
|
4234
4258
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4235
4259
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4236
4260
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4237
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4238
4261
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4262
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4239
4263
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4240
4264
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4241
4265
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4326,23 +4350,23 @@ export declare const orderSummarySchema: z.ZodObject<{
|
|
|
4326
4350
|
totalAmount: z.ZodNumber;
|
|
4327
4351
|
representativeStatus: z.ZodEnum<{
|
|
4328
4352
|
PAID: "PAID";
|
|
4353
|
+
CANCELED: "CANCELED";
|
|
4329
4354
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4330
4355
|
CONFIRMED: "CONFIRMED";
|
|
4331
4356
|
DISPATCHED: "DISPATCHED";
|
|
4332
4357
|
DELIVERING: "DELIVERING";
|
|
4333
4358
|
DELIVERED: "DELIVERED";
|
|
4334
4359
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4335
|
-
CANCELED: "CANCELED";
|
|
4336
4360
|
}>;
|
|
4337
4361
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4338
4362
|
PAID: "PAID";
|
|
4363
|
+
CANCELED: "CANCELED";
|
|
4339
4364
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4340
4365
|
CONFIRMED: "CONFIRMED";
|
|
4341
4366
|
DISPATCHED: "DISPATCHED";
|
|
4342
4367
|
DELIVERING: "DELIVERING";
|
|
4343
4368
|
DELIVERED: "DELIVERED";
|
|
4344
4369
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4345
|
-
CANCELED: "CANCELED";
|
|
4346
4370
|
}>>;
|
|
4347
4371
|
orderedAt: z.ZodString;
|
|
4348
4372
|
testPayment: z.ZodBoolean;
|
|
@@ -4372,13 +4396,13 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
4372
4396
|
orderId: z.ZodString;
|
|
4373
4397
|
status: z.ZodEnum<{
|
|
4374
4398
|
PAID: "PAID";
|
|
4399
|
+
CANCELED: "CANCELED";
|
|
4375
4400
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4376
4401
|
CONFIRMED: "CONFIRMED";
|
|
4377
4402
|
DISPATCHED: "DISPATCHED";
|
|
4378
4403
|
DELIVERING: "DELIVERING";
|
|
4379
4404
|
DELIVERED: "DELIVERED";
|
|
4380
4405
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4381
|
-
CANCELED: "CANCELED";
|
|
4382
4406
|
}>;
|
|
4383
4407
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4384
4408
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4490,13 +4514,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4490
4514
|
orderId: z.ZodString;
|
|
4491
4515
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4492
4516
|
PAID: "PAID";
|
|
4517
|
+
CANCELED: "CANCELED";
|
|
4493
4518
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4494
4519
|
CONFIRMED: "CONFIRMED";
|
|
4495
4520
|
DISPATCHED: "DISPATCHED";
|
|
4496
4521
|
DELIVERING: "DELIVERING";
|
|
4497
4522
|
DELIVERED: "DELIVERED";
|
|
4498
4523
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4499
|
-
CANCELED: "CANCELED";
|
|
4500
4524
|
}>>;
|
|
4501
4525
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4502
4526
|
orderedAt: z.ZodString;
|
|
@@ -4571,13 +4595,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4571
4595
|
orderId: z.ZodString;
|
|
4572
4596
|
status: z.ZodEnum<{
|
|
4573
4597
|
PAID: "PAID";
|
|
4598
|
+
CANCELED: "CANCELED";
|
|
4574
4599
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4575
4600
|
CONFIRMED: "CONFIRMED";
|
|
4576
4601
|
DISPATCHED: "DISPATCHED";
|
|
4577
4602
|
DELIVERING: "DELIVERING";
|
|
4578
4603
|
DELIVERED: "DELIVERED";
|
|
4579
4604
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4580
|
-
CANCELED: "CANCELED";
|
|
4581
4605
|
}>;
|
|
4582
4606
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4583
4607
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4691,23 +4715,23 @@ export declare const orderSummaryPageSchema: z.ZodObject<{
|
|
|
4691
4715
|
totalAmount: z.ZodNumber;
|
|
4692
4716
|
representativeStatus: z.ZodEnum<{
|
|
4693
4717
|
PAID: "PAID";
|
|
4718
|
+
CANCELED: "CANCELED";
|
|
4694
4719
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4695
4720
|
CONFIRMED: "CONFIRMED";
|
|
4696
4721
|
DISPATCHED: "DISPATCHED";
|
|
4697
4722
|
DELIVERING: "DELIVERING";
|
|
4698
4723
|
DELIVERED: "DELIVERED";
|
|
4699
4724
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4700
|
-
CANCELED: "CANCELED";
|
|
4701
4725
|
}>;
|
|
4702
4726
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4703
4727
|
PAID: "PAID";
|
|
4728
|
+
CANCELED: "CANCELED";
|
|
4704
4729
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4705
4730
|
CONFIRMED: "CONFIRMED";
|
|
4706
4731
|
DISPATCHED: "DISPATCHED";
|
|
4707
4732
|
DELIVERING: "DELIVERING";
|
|
4708
4733
|
DELIVERED: "DELIVERED";
|
|
4709
4734
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4710
|
-
CANCELED: "CANCELED";
|
|
4711
4735
|
}>>;
|
|
4712
4736
|
orderedAt: z.ZodString;
|
|
4713
4737
|
testPayment: z.ZodBoolean;
|
|
@@ -4726,13 +4750,13 @@ export declare const orderItemPageSchema: z.ZodObject<{
|
|
|
4726
4750
|
orderId: z.ZodString;
|
|
4727
4751
|
status: z.ZodEnum<{
|
|
4728
4752
|
PAID: "PAID";
|
|
4753
|
+
CANCELED: "CANCELED";
|
|
4729
4754
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4730
4755
|
CONFIRMED: "CONFIRMED";
|
|
4731
4756
|
DISPATCHED: "DISPATCHED";
|
|
4732
4757
|
DELIVERING: "DELIVERING";
|
|
4733
4758
|
DELIVERED: "DELIVERED";
|
|
4734
4759
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4735
|
-
CANCELED: "CANCELED";
|
|
4736
4760
|
}>;
|
|
4737
4761
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4738
4762
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4844,13 +4868,13 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
4844
4868
|
orderedTo: z.ZodOptional<z.ZodString>;
|
|
4845
4869
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4846
4870
|
PAID: "PAID";
|
|
4871
|
+
CANCELED: "CANCELED";
|
|
4847
4872
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4848
4873
|
CONFIRMED: "CONFIRMED";
|
|
4849
4874
|
DISPATCHED: "DISPATCHED";
|
|
4850
4875
|
DELIVERING: "DELIVERING";
|
|
4851
4876
|
DELIVERED: "DELIVERED";
|
|
4852
4877
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4853
|
-
CANCELED: "CANCELED";
|
|
4854
4878
|
}>>;
|
|
4855
4879
|
keyword: z.ZodOptional<z.ZodString>;
|
|
4856
4880
|
orderNo: z.ZodOptional<z.ZodString>;
|
|
@@ -5000,10 +5024,10 @@ export declare const carrierSchema: z.ZodObject<{
|
|
|
5000
5024
|
export type Carrier = z.infer<typeof carrierSchema>;
|
|
5001
5025
|
export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
5002
5026
|
reason: z.ZodEnum<{
|
|
5003
|
-
ETC: "ETC";
|
|
5004
5027
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5005
5028
|
CUSTOMER_REQUEST: "CUSTOMER_REQUEST";
|
|
5006
5029
|
CUSTOMS: "CUSTOMS";
|
|
5030
|
+
ETC: "ETC";
|
|
5007
5031
|
}>;
|
|
5008
5032
|
detail: z.ZodOptional<z.ZodString>;
|
|
5009
5033
|
expectedDispatchDate: z.ZodString;
|
|
@@ -5011,13 +5035,14 @@ export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
|
5011
5035
|
export type HoldOrderItemRequest = z.infer<typeof holdOrderItemRequestSchema>;
|
|
5012
5036
|
export declare const cancelBySellerRequestSchema: z.ZodObject<{
|
|
5013
5037
|
reason: z.ZodEnum<{
|
|
5014
|
-
ETC: "ETC";
|
|
5015
5038
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5039
|
+
ETC: "ETC";
|
|
5016
5040
|
PRICE_ERROR: "PRICE_ERROR";
|
|
5017
5041
|
DELIVERY_IMPOSSIBLE: "DELIVERY_IMPOSSIBLE";
|
|
5018
5042
|
}>;
|
|
5019
5043
|
detail: z.ZodOptional<z.ZodString>;
|
|
5020
5044
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
5045
|
+
holdRefund: z.ZodOptional<z.ZodBoolean>;
|
|
5021
5046
|
}, z.core.$strip>;
|
|
5022
5047
|
export type CancelBySellerRequest = z.infer<typeof cancelBySellerRequestSchema>;
|
|
5023
5048
|
/**
|
|
@@ -5046,6 +5071,7 @@ export declare const cancelBySellerResultSchema: z.ZodObject<{
|
|
|
5046
5071
|
couponChargeRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5047
5072
|
pointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5048
5073
|
refundedAt: z.ZodString;
|
|
5074
|
+
refundHeld: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5049
5075
|
}, z.core.$strip>;
|
|
5050
5076
|
export type CancelBySellerResult = z.infer<typeof cancelBySellerResultSchema>;
|
|
5051
5077
|
/** `PUT /v1/order-items/{orderItemId}/memo` 응답 — 빈 문자열로 저장하면 메모가 지워져 `null`이다 */
|
|
@@ -5117,8 +5143,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
5117
5143
|
}>;
|
|
5118
5144
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
5119
5145
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
5120
|
-
FAILED: "FAILED";
|
|
5121
5146
|
SUCCESS: "SUCCESS";
|
|
5147
|
+
FAILED: "FAILED";
|
|
5122
5148
|
}>;
|
|
5123
5149
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
5124
5150
|
/**
|
|
@@ -5267,8 +5293,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
5267
5293
|
}, z.core.$strip>>;
|
|
5268
5294
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5269
5295
|
result: z.ZodEnum<{
|
|
5270
|
-
FAILED: "FAILED";
|
|
5271
5296
|
SUCCESS: "SUCCESS";
|
|
5297
|
+
FAILED: "FAILED";
|
|
5272
5298
|
}>;
|
|
5273
5299
|
message: z.ZodNullable<z.ZodString>;
|
|
5274
5300
|
checkedAt: z.ZodString;
|
|
@@ -5369,8 +5395,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5369
5395
|
}, z.core.$strip>>;
|
|
5370
5396
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5371
5397
|
result: z.ZodEnum<{
|
|
5372
|
-
FAILED: "FAILED";
|
|
5373
5398
|
SUCCESS: "SUCCESS";
|
|
5399
|
+
FAILED: "FAILED";
|
|
5374
5400
|
}>;
|
|
5375
5401
|
message: z.ZodNullable<z.ZodString>;
|
|
5376
5402
|
checkedAt: z.ZodString;
|
|
@@ -5406,8 +5432,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5406
5432
|
}, z.core.$strip>>;
|
|
5407
5433
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5408
5434
|
result: z.ZodEnum<{
|
|
5409
|
-
FAILED: "FAILED";
|
|
5410
5435
|
SUCCESS: "SUCCESS";
|
|
5436
|
+
FAILED: "FAILED";
|
|
5411
5437
|
}>;
|
|
5412
5438
|
message: z.ZodNullable<z.ZodString>;
|
|
5413
5439
|
checkedAt: z.ZodString;
|
|
@@ -5442,8 +5468,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5442
5468
|
}, z.core.$strip>>;
|
|
5443
5469
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5444
5470
|
result: z.ZodEnum<{
|
|
5445
|
-
FAILED: "FAILED";
|
|
5446
5471
|
SUCCESS: "SUCCESS";
|
|
5472
|
+
FAILED: "FAILED";
|
|
5447
5473
|
}>;
|
|
5448
5474
|
message: z.ZodNullable<z.ZodString>;
|
|
5449
5475
|
checkedAt: z.ZodString;
|
|
@@ -5533,8 +5559,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5533
5559
|
}, z.core.$strip>>;
|
|
5534
5560
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5535
5561
|
result: z.ZodEnum<{
|
|
5536
|
-
FAILED: "FAILED";
|
|
5537
5562
|
SUCCESS: "SUCCESS";
|
|
5563
|
+
FAILED: "FAILED";
|
|
5538
5564
|
}>;
|
|
5539
5565
|
message: z.ZodNullable<z.ZodString>;
|
|
5540
5566
|
checkedAt: z.ZodString;
|
|
@@ -5570,8 +5596,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5570
5596
|
}, z.core.$strip>>;
|
|
5571
5597
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5572
5598
|
result: z.ZodEnum<{
|
|
5573
|
-
FAILED: "FAILED";
|
|
5574
5599
|
SUCCESS: "SUCCESS";
|
|
5600
|
+
FAILED: "FAILED";
|
|
5575
5601
|
}>;
|
|
5576
5602
|
message: z.ZodNullable<z.ZodString>;
|
|
5577
5603
|
checkedAt: z.ZodString;
|
|
@@ -5606,8 +5632,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5606
5632
|
}, z.core.$strip>>;
|
|
5607
5633
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5608
5634
|
result: z.ZodEnum<{
|
|
5609
|
-
FAILED: "FAILED";
|
|
5610
5635
|
SUCCESS: "SUCCESS";
|
|
5636
|
+
FAILED: "FAILED";
|
|
5611
5637
|
}>;
|
|
5612
5638
|
message: z.ZodNullable<z.ZodString>;
|
|
5613
5639
|
checkedAt: z.ZodString;
|
|
@@ -5663,8 +5689,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
5663
5689
|
LIVE: "LIVE";
|
|
5664
5690
|
}>;
|
|
5665
5691
|
result: z.ZodEnum<{
|
|
5666
|
-
FAILED: "FAILED";
|
|
5667
5692
|
SUCCESS: "SUCCESS";
|
|
5693
|
+
FAILED: "FAILED";
|
|
5668
5694
|
}>;
|
|
5669
5695
|
message: z.ZodNullable<z.ZodString>;
|
|
5670
5696
|
checkedAt: z.ZodString;
|
|
@@ -5794,9 +5820,9 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
5794
5820
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
5795
5821
|
*/
|
|
5796
5822
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
5797
|
-
APPROVED: "APPROVED";
|
|
5798
|
-
FAILED: "FAILED";
|
|
5799
5823
|
PENDING: "PENDING";
|
|
5824
|
+
FAILED: "FAILED";
|
|
5825
|
+
APPROVED: "APPROVED";
|
|
5800
5826
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5801
5827
|
REFUNDED: "REFUNDED";
|
|
5802
5828
|
}>;
|
|
@@ -5842,14 +5868,15 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
5842
5868
|
orderName: z.ZodString;
|
|
5843
5869
|
customerName: z.ZodString;
|
|
5844
5870
|
status: z.ZodEnum<{
|
|
5845
|
-
APPROVED: "APPROVED";
|
|
5846
|
-
FAILED: "FAILED";
|
|
5847
5871
|
PENDING: "PENDING";
|
|
5872
|
+
FAILED: "FAILED";
|
|
5873
|
+
APPROVED: "APPROVED";
|
|
5848
5874
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5849
5875
|
REFUNDED: "REFUNDED";
|
|
5850
5876
|
}>;
|
|
5851
5877
|
amount: z.ZodNumber;
|
|
5852
5878
|
refundedAmount: z.ZodNumber;
|
|
5879
|
+
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5853
5880
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
5854
5881
|
tosspayments: "tosspayments";
|
|
5855
5882
|
portone: "portone";
|
|
@@ -5889,14 +5916,15 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
5889
5916
|
orderName: z.ZodString;
|
|
5890
5917
|
customerName: z.ZodString;
|
|
5891
5918
|
status: z.ZodEnum<{
|
|
5892
|
-
APPROVED: "APPROVED";
|
|
5893
|
-
FAILED: "FAILED";
|
|
5894
5919
|
PENDING: "PENDING";
|
|
5920
|
+
FAILED: "FAILED";
|
|
5921
|
+
APPROVED: "APPROVED";
|
|
5895
5922
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5896
5923
|
REFUNDED: "REFUNDED";
|
|
5897
5924
|
}>;
|
|
5898
5925
|
amount: z.ZodNumber;
|
|
5899
5926
|
refundedAmount: z.ZodNumber;
|
|
5927
|
+
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5900
5928
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
5901
5929
|
tosspayments: "tosspayments";
|
|
5902
5930
|
portone: "portone";
|
|
@@ -5981,14 +6009,15 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
5981
6009
|
orderName: z.ZodString;
|
|
5982
6010
|
customerName: z.ZodString;
|
|
5983
6011
|
status: z.ZodEnum<{
|
|
5984
|
-
APPROVED: "APPROVED";
|
|
5985
|
-
FAILED: "FAILED";
|
|
5986
6012
|
PENDING: "PENDING";
|
|
6013
|
+
FAILED: "FAILED";
|
|
6014
|
+
APPROVED: "APPROVED";
|
|
5987
6015
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5988
6016
|
REFUNDED: "REFUNDED";
|
|
5989
6017
|
}>;
|
|
5990
6018
|
amount: z.ZodNumber;
|
|
5991
6019
|
refundedAmount: z.ZodNumber;
|
|
6020
|
+
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5992
6021
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
5993
6022
|
tosspayments: "tosspayments";
|
|
5994
6023
|
portone: "portone";
|
|
@@ -6097,6 +6126,7 @@ export declare const paymentListQuerySchema: z.ZodObject<{
|
|
|
6097
6126
|
method: z.ZodOptional<z.ZodString>;
|
|
6098
6127
|
keyword: z.ZodOptional<z.ZodString>;
|
|
6099
6128
|
includeTest: z.ZodOptional<z.ZodString>;
|
|
6129
|
+
refundHeld: z.ZodOptional<z.ZodString>;
|
|
6100
6130
|
page: z.ZodOptional<z.ZodString>;
|
|
6101
6131
|
size: z.ZodOptional<z.ZodString>;
|
|
6102
6132
|
}, z.core.$strip>;
|
|
@@ -6108,6 +6138,8 @@ export interface PaymentListParams extends PageParams {
|
|
|
6108
6138
|
method?: PgPaymentMethod;
|
|
6109
6139
|
keyword?: string;
|
|
6110
6140
|
includeTest?: boolean;
|
|
6141
|
+
/** 환불 대기가 있는 결제만(#115) */
|
|
6142
|
+
refundHeld?: boolean;
|
|
6111
6143
|
}
|
|
6112
6144
|
//#endregion
|
|
6113
6145
|
//#region src/schemas/points.d.ts
|
|
@@ -6269,30 +6301,30 @@ export declare const updatePointPolicyRequestSchema: z.ZodObject<{
|
|
|
6269
6301
|
export type UpdatePointPolicyRequest = z.infer<typeof updatePointPolicyRequestSchema>;
|
|
6270
6302
|
/** 응답의 원장 유형 — 값이 추가될 수 있어 문자열로 받는다 */
|
|
6271
6303
|
export declare const responsePointEntryTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6272
|
-
ADJUST: "ADJUST";
|
|
6273
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6274
|
-
OPENING: "OPENING";
|
|
6275
6304
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6276
6305
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6277
6306
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6278
6307
|
USE_RESERVE: "USE_RESERVE";
|
|
6279
6308
|
USE_RELEASE: "USE_RELEASE";
|
|
6309
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6280
6310
|
EXPIRE: "EXPIRE";
|
|
6311
|
+
ADJUST: "ADJUST";
|
|
6312
|
+
OPENING: "OPENING";
|
|
6281
6313
|
}>, z.ZodString]>;
|
|
6282
6314
|
/** 원장 항목 — 셀러 조회용(사유·행위자 포함) */
|
|
6283
6315
|
export declare const pointEntrySchema: z.ZodObject<{
|
|
6284
6316
|
entryId: z.ZodString;
|
|
6285
6317
|
memberId: z.ZodString;
|
|
6286
6318
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6287
|
-
ADJUST: "ADJUST";
|
|
6288
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6289
|
-
OPENING: "OPENING";
|
|
6290
6319
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6291
6320
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6292
6321
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6293
6322
|
USE_RESERVE: "USE_RESERVE";
|
|
6294
6323
|
USE_RELEASE: "USE_RELEASE";
|
|
6324
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6295
6325
|
EXPIRE: "EXPIRE";
|
|
6326
|
+
ADJUST: "ADJUST";
|
|
6327
|
+
OPENING: "OPENING";
|
|
6296
6328
|
}>, z.ZodString]>;
|
|
6297
6329
|
amount: z.ZodNumber;
|
|
6298
6330
|
balanceAfter: z.ZodNumber;
|
|
@@ -6308,10 +6340,10 @@ export declare const pointLotSchema: z.ZodObject<{
|
|
|
6308
6340
|
lotId: z.ZodString;
|
|
6309
6341
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6310
6342
|
PURCHASE: "PURCHASE";
|
|
6311
|
-
REVIEW: "REVIEW";
|
|
6312
|
-
ADJUST: "ADJUST";
|
|
6313
6343
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6344
|
+
ADJUST: "ADJUST";
|
|
6314
6345
|
OPENING: "OPENING";
|
|
6346
|
+
REVIEW: "REVIEW";
|
|
6315
6347
|
}>, z.ZodString]>;
|
|
6316
6348
|
amount: z.ZodNumber;
|
|
6317
6349
|
remaining: z.ZodNumber;
|
|
@@ -6327,10 +6359,10 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
6327
6359
|
lotId: z.ZodString;
|
|
6328
6360
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6329
6361
|
PURCHASE: "PURCHASE";
|
|
6330
|
-
REVIEW: "REVIEW";
|
|
6331
|
-
ADJUST: "ADJUST";
|
|
6332
6362
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6363
|
+
ADJUST: "ADJUST";
|
|
6333
6364
|
OPENING: "OPENING";
|
|
6365
|
+
REVIEW: "REVIEW";
|
|
6334
6366
|
}>, z.ZodString]>;
|
|
6335
6367
|
amount: z.ZodNumber;
|
|
6336
6368
|
remaining: z.ZodNumber;
|
|
@@ -6367,15 +6399,15 @@ export declare const pointAdjustmentResultSchema: z.ZodObject<{
|
|
|
6367
6399
|
entryId: z.ZodString;
|
|
6368
6400
|
memberId: z.ZodString;
|
|
6369
6401
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6370
|
-
ADJUST: "ADJUST";
|
|
6371
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6372
|
-
OPENING: "OPENING";
|
|
6373
6402
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6374
6403
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6375
6404
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6376
6405
|
USE_RESERVE: "USE_RESERVE";
|
|
6377
6406
|
USE_RELEASE: "USE_RELEASE";
|
|
6407
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6378
6408
|
EXPIRE: "EXPIRE";
|
|
6409
|
+
ADJUST: "ADJUST";
|
|
6410
|
+
OPENING: "OPENING";
|
|
6379
6411
|
}>, z.ZodString]>;
|
|
6380
6412
|
amount: z.ZodNumber;
|
|
6381
6413
|
balanceAfter: z.ZodNumber;
|
|
@@ -6415,10 +6447,10 @@ export declare function splitRefund(input: {
|
|
|
6415
6447
|
//#endregion
|
|
6416
6448
|
//#region src/schemas/product.d.ts
|
|
6417
6449
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
6418
|
-
SUSPENDED: "SUSPENDED";
|
|
6419
|
-
CLOSED: "CLOSED";
|
|
6420
6450
|
SALE: "SALE";
|
|
6451
|
+
SUSPENDED: "SUSPENDED";
|
|
6421
6452
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6453
|
+
CLOSED: "CLOSED";
|
|
6422
6454
|
}>;
|
|
6423
6455
|
export type ProductStatus = z.infer<typeof productStatusSchema>;
|
|
6424
6456
|
export declare const productSummarySchema: z.ZodObject<{
|
|
@@ -6426,10 +6458,10 @@ export declare const productSummarySchema: z.ZodObject<{
|
|
|
6426
6458
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6427
6459
|
name: z.ZodString;
|
|
6428
6460
|
status: z.ZodEnum<{
|
|
6429
|
-
SUSPENDED: "SUSPENDED";
|
|
6430
|
-
CLOSED: "CLOSED";
|
|
6431
6461
|
SALE: "SALE";
|
|
6462
|
+
SUSPENDED: "SUSPENDED";
|
|
6432
6463
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6464
|
+
CLOSED: "CLOSED";
|
|
6433
6465
|
}>;
|
|
6434
6466
|
salePrice: z.ZodNumber;
|
|
6435
6467
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6503,8 +6535,8 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
6503
6535
|
* 추가금순은 추가 선택 값이면 값의 추가금, 조합 값이면 그 값이 든 조합 추가금의 최솟값으로 비교하고 같으면 등록순이다.
|
|
6504
6536
|
*/
|
|
6505
6537
|
export declare const optionSortSchema: z.ZodEnum<{
|
|
6506
|
-
NAME: "NAME";
|
|
6507
6538
|
REGISTERED: "REGISTERED";
|
|
6539
|
+
NAME: "NAME";
|
|
6508
6540
|
PRICE_ASC: "PRICE_ASC";
|
|
6509
6541
|
PRICE_DESC: "PRICE_DESC";
|
|
6510
6542
|
}>;
|
|
@@ -6593,9 +6625,9 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
6593
6625
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6594
6626
|
number: "number";
|
|
6595
6627
|
date: "date";
|
|
6596
|
-
datetime: "datetime";
|
|
6597
6628
|
text: "text";
|
|
6598
6629
|
select: "select";
|
|
6630
|
+
datetime: "datetime";
|
|
6599
6631
|
image: "image";
|
|
6600
6632
|
}>>;
|
|
6601
6633
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -6637,10 +6669,10 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6637
6669
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6638
6670
|
name: z.ZodString;
|
|
6639
6671
|
status: z.ZodEnum<{
|
|
6640
|
-
SUSPENDED: "SUSPENDED";
|
|
6641
|
-
CLOSED: "CLOSED";
|
|
6642
6672
|
SALE: "SALE";
|
|
6673
|
+
SUSPENDED: "SUSPENDED";
|
|
6643
6674
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6675
|
+
CLOSED: "CLOSED";
|
|
6644
6676
|
}>;
|
|
6645
6677
|
salePrice: z.ZodNumber;
|
|
6646
6678
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6711,8 +6743,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6711
6743
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6712
6744
|
}, z.core.$strip>>>>;
|
|
6713
6745
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6714
|
-
NAME: "NAME";
|
|
6715
6746
|
REGISTERED: "REGISTERED";
|
|
6747
|
+
NAME: "NAME";
|
|
6716
6748
|
PRICE_ASC: "PRICE_ASC";
|
|
6717
6749
|
PRICE_DESC: "PRICE_DESC";
|
|
6718
6750
|
}>>>;
|
|
@@ -6720,8 +6752,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6720
6752
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6721
6753
|
shipping: z.ZodObject<{
|
|
6722
6754
|
deliveryType: z.ZodEnum<{
|
|
6723
|
-
FREE: "FREE";
|
|
6724
6755
|
PAID: "PAID";
|
|
6756
|
+
FREE: "FREE";
|
|
6725
6757
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6726
6758
|
}>;
|
|
6727
6759
|
deliveryFee: z.ZodNumber;
|
|
@@ -6863,16 +6895,16 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
6863
6895
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6864
6896
|
number: "number";
|
|
6865
6897
|
date: "date";
|
|
6866
|
-
datetime: "datetime";
|
|
6867
6898
|
text: "text";
|
|
6868
6899
|
select: "select";
|
|
6900
|
+
datetime: "datetime";
|
|
6869
6901
|
image: "image";
|
|
6870
6902
|
}>>;
|
|
6871
6903
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6872
6904
|
}, z.core.$strip>>>;
|
|
6873
6905
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
6874
|
-
NAME: "NAME";
|
|
6875
6906
|
REGISTERED: "REGISTERED";
|
|
6907
|
+
NAME: "NAME";
|
|
6876
6908
|
PRICE_ASC: "PRICE_ASC";
|
|
6877
6909
|
PRICE_DESC: "PRICE_DESC";
|
|
6878
6910
|
}>>;
|
|
@@ -6932,8 +6964,8 @@ export declare const optionModelSchema: z.ZodObject<{
|
|
|
6932
6964
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6933
6965
|
}, z.core.$strip>>>>;
|
|
6934
6966
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6935
|
-
NAME: "NAME";
|
|
6936
6967
|
REGISTERED: "REGISTERED";
|
|
6968
|
+
NAME: "NAME";
|
|
6937
6969
|
PRICE_ASC: "PRICE_ASC";
|
|
6938
6970
|
PRICE_DESC: "PRICE_DESC";
|
|
6939
6971
|
}>>>;
|
|
@@ -6964,8 +6996,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6964
6996
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6965
6997
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
6966
6998
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
6967
|
-
FREE: "FREE";
|
|
6968
6999
|
PAID: "PAID";
|
|
7000
|
+
FREE: "FREE";
|
|
6969
7001
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6970
7002
|
}>>;
|
|
6971
7003
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6974,16 +7006,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6974
7006
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6975
7007
|
}, z.core.$strict>>;
|
|
6976
7008
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6977
|
-
CARRIER: "CARRIER";
|
|
6978
7009
|
DIRECT: "DIRECT";
|
|
7010
|
+
CARRIER: "CARRIER";
|
|
6979
7011
|
PICKUP: "PICKUP";
|
|
6980
7012
|
PROVIDED: "PROVIDED";
|
|
6981
7013
|
}>>>;
|
|
6982
7014
|
}, z.core.$strict>, z.ZodObject<{
|
|
6983
7015
|
type: z.ZodLiteral<"MANUAL">;
|
|
6984
7016
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6985
|
-
CARRIER: "CARRIER";
|
|
6986
7017
|
DIRECT: "DIRECT";
|
|
7018
|
+
CARRIER: "CARRIER";
|
|
6987
7019
|
PICKUP: "PICKUP";
|
|
6988
7020
|
PROVIDED: "PROVIDED";
|
|
6989
7021
|
}>>>;
|
|
@@ -7037,16 +7069,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
7037
7069
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7038
7070
|
number: "number";
|
|
7039
7071
|
date: "date";
|
|
7040
|
-
datetime: "datetime";
|
|
7041
7072
|
text: "text";
|
|
7042
7073
|
select: "select";
|
|
7074
|
+
datetime: "datetime";
|
|
7043
7075
|
image: "image";
|
|
7044
7076
|
}>>;
|
|
7045
7077
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7046
7078
|
}, z.core.$strip>>>;
|
|
7047
7079
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7048
|
-
NAME: "NAME";
|
|
7049
7080
|
REGISTERED: "REGISTERED";
|
|
7081
|
+
NAME: "NAME";
|
|
7050
7082
|
PRICE_ASC: "PRICE_ASC";
|
|
7051
7083
|
PRICE_DESC: "PRICE_DESC";
|
|
7052
7084
|
}>>;
|
|
@@ -7078,8 +7110,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7078
7110
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7079
7111
|
shipping: z.ZodObject<{
|
|
7080
7112
|
deliveryType: z.ZodEnum<{
|
|
7081
|
-
FREE: "FREE";
|
|
7082
7113
|
PAID: "PAID";
|
|
7114
|
+
FREE: "FREE";
|
|
7083
7115
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7084
7116
|
}>;
|
|
7085
7117
|
deliveryFee: z.ZodNumber;
|
|
@@ -7088,16 +7120,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7088
7120
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7089
7121
|
}, z.core.$strict>;
|
|
7090
7122
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7091
|
-
CARRIER: "CARRIER";
|
|
7092
7123
|
DIRECT: "DIRECT";
|
|
7124
|
+
CARRIER: "CARRIER";
|
|
7093
7125
|
PICKUP: "PICKUP";
|
|
7094
7126
|
PROVIDED: "PROVIDED";
|
|
7095
7127
|
}>>>;
|
|
7096
7128
|
}, z.core.$strict>, z.ZodObject<{
|
|
7097
7129
|
type: z.ZodLiteral<"MANUAL">;
|
|
7098
7130
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7099
|
-
CARRIER: "CARRIER";
|
|
7100
7131
|
DIRECT: "DIRECT";
|
|
7132
|
+
CARRIER: "CARRIER";
|
|
7101
7133
|
PICKUP: "PICKUP";
|
|
7102
7134
|
PROVIDED: "PROVIDED";
|
|
7103
7135
|
}>>>;
|
|
@@ -7151,16 +7183,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7151
7183
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7152
7184
|
number: "number";
|
|
7153
7185
|
date: "date";
|
|
7154
|
-
datetime: "datetime";
|
|
7155
7186
|
text: "text";
|
|
7156
7187
|
select: "select";
|
|
7188
|
+
datetime: "datetime";
|
|
7157
7189
|
image: "image";
|
|
7158
7190
|
}>>;
|
|
7159
7191
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7160
7192
|
}, z.core.$strip>>>;
|
|
7161
7193
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7162
|
-
NAME: "NAME";
|
|
7163
7194
|
REGISTERED: "REGISTERED";
|
|
7195
|
+
NAME: "NAME";
|
|
7164
7196
|
PRICE_ASC: "PRICE_ASC";
|
|
7165
7197
|
PRICE_DESC: "PRICE_DESC";
|
|
7166
7198
|
}>>;
|
|
@@ -7190,10 +7222,10 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7190
7222
|
name: z.ZodOptional<z.ZodString>;
|
|
7191
7223
|
salePrice: z.ZodOptional<z.ZodNumber>;
|
|
7192
7224
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7193
|
-
SUSPENDED: "SUSPENDED";
|
|
7194
|
-
CLOSED: "CLOSED";
|
|
7195
7225
|
SALE: "SALE";
|
|
7226
|
+
SUSPENDED: "SUSPENDED";
|
|
7196
7227
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7228
|
+
CLOSED: "CLOSED";
|
|
7197
7229
|
}>>;
|
|
7198
7230
|
flowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7199
7231
|
images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -7201,8 +7233,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7201
7233
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7202
7234
|
shipping: z.ZodObject<{
|
|
7203
7235
|
deliveryType: z.ZodEnum<{
|
|
7204
|
-
FREE: "FREE";
|
|
7205
7236
|
PAID: "PAID";
|
|
7237
|
+
FREE: "FREE";
|
|
7206
7238
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7207
7239
|
}>;
|
|
7208
7240
|
deliveryFee: z.ZodNumber;
|
|
@@ -7211,16 +7243,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7211
7243
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7212
7244
|
}, z.core.$strict>;
|
|
7213
7245
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7214
|
-
CARRIER: "CARRIER";
|
|
7215
7246
|
DIRECT: "DIRECT";
|
|
7247
|
+
CARRIER: "CARRIER";
|
|
7216
7248
|
PICKUP: "PICKUP";
|
|
7217
7249
|
PROVIDED: "PROVIDED";
|
|
7218
7250
|
}>>>;
|
|
7219
7251
|
}, z.core.$strict>, z.ZodObject<{
|
|
7220
7252
|
type: z.ZodLiteral<"MANUAL">;
|
|
7221
7253
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7222
|
-
CARRIER: "CARRIER";
|
|
7223
7254
|
DIRECT: "DIRECT";
|
|
7255
|
+
CARRIER: "CARRIER";
|
|
7224
7256
|
PICKUP: "PICKUP";
|
|
7225
7257
|
PROVIDED: "PROVIDED";
|
|
7226
7258
|
}>>>;
|
|
@@ -7257,10 +7289,10 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
7257
7289
|
page: z.ZodOptional<z.ZodString>;
|
|
7258
7290
|
size: z.ZodOptional<z.ZodString>;
|
|
7259
7291
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7260
|
-
SUSPENDED: "SUSPENDED";
|
|
7261
|
-
CLOSED: "CLOSED";
|
|
7262
7292
|
SALE: "SALE";
|
|
7293
|
+
SUSPENDED: "SUSPENDED";
|
|
7263
7294
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7295
|
+
CLOSED: "CLOSED";
|
|
7264
7296
|
}>>;
|
|
7265
7297
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
7266
7298
|
keyword: z.ZodOptional<z.ZodString>;
|
|
@@ -7330,8 +7362,8 @@ export declare const savedOptionSetSchema: z.ZodObject<{
|
|
|
7330
7362
|
optionSetId: z.ZodString;
|
|
7331
7363
|
name: z.ZodString;
|
|
7332
7364
|
optionSort: z.ZodEnum<{
|
|
7333
|
-
NAME: "NAME";
|
|
7334
7365
|
REGISTERED: "REGISTERED";
|
|
7366
|
+
NAME: "NAME";
|
|
7335
7367
|
PRICE_ASC: "PRICE_ASC";
|
|
7336
7368
|
PRICE_DESC: "PRICE_DESC";
|
|
7337
7369
|
}>;
|
|
@@ -7384,9 +7416,9 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7384
7416
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7385
7417
|
number: "number";
|
|
7386
7418
|
date: "date";
|
|
7387
|
-
datetime: "datetime";
|
|
7388
7419
|
text: "text";
|
|
7389
7420
|
select: "select";
|
|
7421
|
+
datetime: "datetime";
|
|
7390
7422
|
image: "image";
|
|
7391
7423
|
}>>;
|
|
7392
7424
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7398,8 +7430,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7398
7430
|
export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
7399
7431
|
name: z.ZodString;
|
|
7400
7432
|
optionSort: z.ZodDefault<z.ZodEnum<{
|
|
7401
|
-
NAME: "NAME";
|
|
7402
7433
|
REGISTERED: "REGISTERED";
|
|
7434
|
+
NAME: "NAME";
|
|
7403
7435
|
PRICE_ASC: "PRICE_ASC";
|
|
7404
7436
|
PRICE_DESC: "PRICE_DESC";
|
|
7405
7437
|
}>>;
|
|
@@ -7424,9 +7456,9 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
7424
7456
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7425
7457
|
number: "number";
|
|
7426
7458
|
date: "date";
|
|
7427
|
-
datetime: "datetime";
|
|
7428
7459
|
text: "text";
|
|
7429
7460
|
select: "select";
|
|
7461
|
+
datetime: "datetime";
|
|
7430
7462
|
image: "image";
|
|
7431
7463
|
}>>;
|
|
7432
7464
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7454,8 +7486,8 @@ export declare const savedOptionSetFromProductResultSchema: z.ZodObject<{
|
|
|
7454
7486
|
optionSetId: z.ZodString;
|
|
7455
7487
|
name: z.ZodString;
|
|
7456
7488
|
optionSort: z.ZodEnum<{
|
|
7457
|
-
NAME: "NAME";
|
|
7458
7489
|
REGISTERED: "REGISTERED";
|
|
7490
|
+
NAME: "NAME";
|
|
7459
7491
|
PRICE_ASC: "PRICE_ASC";
|
|
7460
7492
|
PRICE_DESC: "PRICE_DESC";
|
|
7461
7493
|
}>;
|
|
@@ -7728,9 +7760,9 @@ export declare const storeSchema: z.ZodObject<{
|
|
|
7728
7760
|
storeCode: z.ZodString;
|
|
7729
7761
|
storefrontUrl: z.ZodURL;
|
|
7730
7762
|
status: z.ZodEnum<{
|
|
7731
|
-
ACTIVE: "ACTIVE";
|
|
7732
7763
|
SUSPENDED: "SUSPENDED";
|
|
7733
7764
|
CLOSED: "CLOSED";
|
|
7765
|
+
ACTIVE: "ACTIVE";
|
|
7734
7766
|
}>;
|
|
7735
7767
|
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
7736
7768
|
businessNumber: z.ZodNullable<z.ZodString>;
|
|
@@ -7742,9 +7774,9 @@ export declare const storeMemberSchema: z.ZodObject<{
|
|
|
7742
7774
|
name: z.ZodString;
|
|
7743
7775
|
email: z.ZodEmail;
|
|
7744
7776
|
role: z.ZodEnum<{
|
|
7745
|
-
OWNER: "OWNER";
|
|
7746
7777
|
ADMIN: "ADMIN";
|
|
7747
7778
|
STAFF: "STAFF";
|
|
7779
|
+
OWNER: "OWNER";
|
|
7748
7780
|
}>;
|
|
7749
7781
|
joinedAt: z.ZodString;
|
|
7750
7782
|
lastActiveAt: z.ZodNullable<z.ZodString>;
|
|
@@ -7771,8 +7803,8 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
7771
7803
|
status: z.ZodEnum<{
|
|
7772
7804
|
PENDING: "PENDING";
|
|
7773
7805
|
EXPIRED: "EXPIRED";
|
|
7774
|
-
CANCELED: "CANCELED";
|
|
7775
7806
|
ACCEPTED: "ACCEPTED";
|
|
7807
|
+
CANCELED: "CANCELED";
|
|
7776
7808
|
}>;
|
|
7777
7809
|
invitedBy: z.ZodString;
|
|
7778
7810
|
expiresAt: z.ZodString;
|
|
@@ -7811,8 +7843,8 @@ export declare const invitationListQuerySchema: z.ZodObject<{
|
|
|
7811
7843
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7812
7844
|
PENDING: "PENDING";
|
|
7813
7845
|
EXPIRED: "EXPIRED";
|
|
7814
|
-
CANCELED: "CANCELED";
|
|
7815
7846
|
ACCEPTED: "ACCEPTED";
|
|
7847
|
+
CANCELED: "CANCELED";
|
|
7816
7848
|
}>>;
|
|
7817
7849
|
}, z.core.$strip>;
|
|
7818
7850
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -7828,22 +7860,22 @@ export type StoreMemberRoleUpdated = z.infer<typeof storeMemberRoleUpdatedSchema
|
|
|
7828
7860
|
* 주소 유형 — 출고지·반품지.
|
|
7829
7861
|
*/
|
|
7830
7862
|
export declare const addressTypeSchema: z.ZodEnum<{
|
|
7831
|
-
RETURN: "RETURN";
|
|
7832
7863
|
SHIPPING: "SHIPPING";
|
|
7864
|
+
RETURN: "RETURN";
|
|
7833
7865
|
}>;
|
|
7834
7866
|
export type AddressType = z.infer<typeof addressTypeSchema>;
|
|
7835
7867
|
/** `GET /v1/seller-addresses` 쿼리 — OpenAPI 문서용 형태. 기본 주소 우선, 그다음 등록순이다 */
|
|
7836
7868
|
export declare const sellerAddressListQuerySchema: z.ZodObject<{
|
|
7837
7869
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7838
|
-
RETURN: "RETURN";
|
|
7839
7870
|
SHIPPING: "SHIPPING";
|
|
7871
|
+
RETURN: "RETURN";
|
|
7840
7872
|
}>>;
|
|
7841
7873
|
}, z.core.$strip>;
|
|
7842
7874
|
export declare const sellerAddressSchema: z.ZodObject<{
|
|
7843
7875
|
addressId: z.ZodString;
|
|
7844
7876
|
type: z.ZodEnum<{
|
|
7845
|
-
RETURN: "RETURN";
|
|
7846
7877
|
SHIPPING: "SHIPPING";
|
|
7878
|
+
RETURN: "RETURN";
|
|
7847
7879
|
}>;
|
|
7848
7880
|
name: z.ZodString;
|
|
7849
7881
|
isDefault: z.ZodBoolean;
|
|
@@ -7857,8 +7889,8 @@ export declare const sellerAddressSchema: z.ZodObject<{
|
|
|
7857
7889
|
export type SellerAddress = z.infer<typeof sellerAddressSchema>;
|
|
7858
7890
|
export declare const sellerAddressRequestSchema: z.ZodObject<{
|
|
7859
7891
|
type: z.ZodEnum<{
|
|
7860
|
-
RETURN: "RETURN";
|
|
7861
7892
|
SHIPPING: "SHIPPING";
|
|
7893
|
+
RETURN: "RETURN";
|
|
7862
7894
|
}>;
|
|
7863
7895
|
name: z.ZodString;
|
|
7864
7896
|
contactName: z.ZodString;
|
|
@@ -8008,9 +8040,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
8008
8040
|
}, z.core.$strip>;
|
|
8009
8041
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
8010
8042
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
8011
|
-
ACTIVE: "ACTIVE";
|
|
8012
8043
|
SUSPENDED: "SUSPENDED";
|
|
8013
8044
|
CLOSED: "CLOSED";
|
|
8045
|
+
ACTIVE: "ACTIVE";
|
|
8014
8046
|
}>;
|
|
8015
8047
|
export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
|
|
8016
8048
|
export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
@@ -8019,8 +8051,8 @@ export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
|
8019
8051
|
}>;
|
|
8020
8052
|
export type StorefrontVisibility = z.infer<typeof storefrontVisibilitySchema>;
|
|
8021
8053
|
export declare const storefrontSourceModeSchema: z.ZodEnum<{
|
|
8022
|
-
MANAGED: "MANAGED";
|
|
8023
8054
|
CUSTOM: "CUSTOM";
|
|
8055
|
+
MANAGED: "MANAGED";
|
|
8024
8056
|
}>;
|
|
8025
8057
|
export declare const storefrontDomainSchema: z.ZodObject<{
|
|
8026
8058
|
hostname: z.ZodString;
|
|
@@ -8029,8 +8061,8 @@ export declare const storefrontDomainSchema: z.ZodObject<{
|
|
|
8029
8061
|
CUSTOM: "CUSTOM";
|
|
8030
8062
|
}>;
|
|
8031
8063
|
status: z.ZodEnum<{
|
|
8032
|
-
HELD: "HELD";
|
|
8033
8064
|
ACTIVE: "ACTIVE";
|
|
8065
|
+
HELD: "HELD";
|
|
8034
8066
|
}>;
|
|
8035
8067
|
isPrimary: z.ZodBoolean;
|
|
8036
8068
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
@@ -8042,8 +8074,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
8042
8074
|
*/
|
|
8043
8075
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
8044
8076
|
status: z.ZodEnum<{
|
|
8045
|
-
FAILED: "FAILED";
|
|
8046
8077
|
PENDING: "PENDING";
|
|
8078
|
+
FAILED: "FAILED";
|
|
8047
8079
|
SYNCED: "SYNCED";
|
|
8048
8080
|
}>;
|
|
8049
8081
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8079,21 +8111,21 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8079
8111
|
CUSTOM: "CUSTOM";
|
|
8080
8112
|
}>;
|
|
8081
8113
|
status: z.ZodEnum<{
|
|
8082
|
-
HELD: "HELD";
|
|
8083
8114
|
ACTIVE: "ACTIVE";
|
|
8115
|
+
HELD: "HELD";
|
|
8084
8116
|
}>;
|
|
8085
8117
|
isPrimary: z.ZodBoolean;
|
|
8086
8118
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8087
8119
|
}, z.core.$strip>>;
|
|
8088
8120
|
templateId: z.ZodString;
|
|
8089
8121
|
sourceMode: z.ZodEnum<{
|
|
8090
|
-
MANAGED: "MANAGED";
|
|
8091
8122
|
CUSTOM: "CUSTOM";
|
|
8123
|
+
MANAGED: "MANAGED";
|
|
8092
8124
|
}>;
|
|
8093
8125
|
status: z.ZodEnum<{
|
|
8094
|
-
ACTIVE: "ACTIVE";
|
|
8095
8126
|
SUSPENDED: "SUSPENDED";
|
|
8096
8127
|
CLOSED: "CLOSED";
|
|
8128
|
+
ACTIVE: "ACTIVE";
|
|
8097
8129
|
}>;
|
|
8098
8130
|
visibility: z.ZodEnum<{
|
|
8099
8131
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8123,8 +8155,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8123
8155
|
}, z.core.$strip>>;
|
|
8124
8156
|
provisioning: z.ZodObject<{
|
|
8125
8157
|
status: z.ZodEnum<{
|
|
8126
|
-
FAILED: "FAILED";
|
|
8127
8158
|
PENDING: "PENDING";
|
|
8159
|
+
FAILED: "FAILED";
|
|
8128
8160
|
SYNCED: "SYNCED";
|
|
8129
8161
|
}>;
|
|
8130
8162
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8159,21 +8191,21 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8159
8191
|
CUSTOM: "CUSTOM";
|
|
8160
8192
|
}>;
|
|
8161
8193
|
status: z.ZodEnum<{
|
|
8162
|
-
HELD: "HELD";
|
|
8163
8194
|
ACTIVE: "ACTIVE";
|
|
8195
|
+
HELD: "HELD";
|
|
8164
8196
|
}>;
|
|
8165
8197
|
isPrimary: z.ZodBoolean;
|
|
8166
8198
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8167
8199
|
}, z.core.$strip>>;
|
|
8168
8200
|
templateId: z.ZodString;
|
|
8169
8201
|
sourceMode: z.ZodEnum<{
|
|
8170
|
-
MANAGED: "MANAGED";
|
|
8171
8202
|
CUSTOM: "CUSTOM";
|
|
8203
|
+
MANAGED: "MANAGED";
|
|
8172
8204
|
}>;
|
|
8173
8205
|
status: z.ZodEnum<{
|
|
8174
|
-
ACTIVE: "ACTIVE";
|
|
8175
8206
|
SUSPENDED: "SUSPENDED";
|
|
8176
8207
|
CLOSED: "CLOSED";
|
|
8208
|
+
ACTIVE: "ACTIVE";
|
|
8177
8209
|
}>;
|
|
8178
8210
|
visibility: z.ZodEnum<{
|
|
8179
8211
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8203,8 +8235,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8203
8235
|
}, z.core.$strip>>;
|
|
8204
8236
|
provisioning: z.ZodObject<{
|
|
8205
8237
|
status: z.ZodEnum<{
|
|
8206
|
-
FAILED: "FAILED";
|
|
8207
8238
|
PENDING: "PENDING";
|
|
8239
|
+
FAILED: "FAILED";
|
|
8208
8240
|
SYNCED: "SYNCED";
|
|
8209
8241
|
}>;
|
|
8210
8242
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8227,8 +8259,8 @@ export declare const storefrontSlugAvailabilitySchema: z.ZodObject<{
|
|
|
8227
8259
|
slug: z.ZodString;
|
|
8228
8260
|
available: z.ZodBoolean;
|
|
8229
8261
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
8230
|
-
INVALID: "INVALID";
|
|
8231
8262
|
RESERVED: "RESERVED";
|
|
8263
|
+
INVALID: "INVALID";
|
|
8232
8264
|
TAKEN: "TAKEN";
|
|
8233
8265
|
CURRENT: "CURRENT";
|
|
8234
8266
|
}>>;
|
|
@@ -8246,8 +8278,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
8246
8278
|
PUBLISH: "PUBLISH";
|
|
8247
8279
|
}>;
|
|
8248
8280
|
status: z.ZodEnum<{
|
|
8249
|
-
FAILED: "FAILED";
|
|
8250
8281
|
PENDING: "PENDING";
|
|
8282
|
+
FAILED: "FAILED";
|
|
8251
8283
|
RUNNING: "RUNNING";
|
|
8252
8284
|
DONE: "DONE";
|
|
8253
8285
|
}>;
|
|
@@ -8268,9 +8300,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
8268
8300
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
8269
8301
|
siteId: z.ZodString;
|
|
8270
8302
|
status: z.ZodEnum<{
|
|
8271
|
-
SUCCEEDED: "SUCCEEDED";
|
|
8272
|
-
FAILED: "FAILED";
|
|
8273
8303
|
IN_PROGRESS: "IN_PROGRESS";
|
|
8304
|
+
FAILED: "FAILED";
|
|
8305
|
+
SUCCEEDED: "SUCCEEDED";
|
|
8274
8306
|
}>;
|
|
8275
8307
|
url: z.ZodString;
|
|
8276
8308
|
startedAt: z.ZodString;
|
|
@@ -8282,8 +8314,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
8282
8314
|
PUBLISH: "PUBLISH";
|
|
8283
8315
|
}>;
|
|
8284
8316
|
status: z.ZodEnum<{
|
|
8285
|
-
FAILED: "FAILED";
|
|
8286
8317
|
PENDING: "PENDING";
|
|
8318
|
+
FAILED: "FAILED";
|
|
8287
8319
|
RUNNING: "RUNNING";
|
|
8288
8320
|
DONE: "DONE";
|
|
8289
8321
|
}>;
|
|
@@ -8450,8 +8482,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8450
8482
|
}, z.core.$strip>>;
|
|
8451
8483
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8452
8484
|
ACTIVE: "ACTIVE";
|
|
8453
|
-
FAILED: "FAILED";
|
|
8454
8485
|
PENDING: "PENDING";
|
|
8486
|
+
FAILED: "FAILED";
|
|
8455
8487
|
}>>;
|
|
8456
8488
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8457
8489
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8493,8 +8525,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8493
8525
|
}, z.core.$strip>>;
|
|
8494
8526
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8495
8527
|
ACTIVE: "ACTIVE";
|
|
8496
|
-
FAILED: "FAILED";
|
|
8497
8528
|
PENDING: "PENDING";
|
|
8529
|
+
FAILED: "FAILED";
|
|
8498
8530
|
}>>;
|
|
8499
8531
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8500
8532
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8728,8 +8760,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
8728
8760
|
}, z.core.$strip>;
|
|
8729
8761
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
8730
8762
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
8731
|
-
FAILED: "FAILED";
|
|
8732
8763
|
UNKNOWN: "UNKNOWN";
|
|
8764
|
+
FAILED: "FAILED";
|
|
8733
8765
|
RUNNING: "RUNNING";
|
|
8734
8766
|
QUEUED: "QUEUED";
|
|
8735
8767
|
PASSED: "PASSED";
|
|
@@ -8742,8 +8774,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
8742
8774
|
checkId: z.ZodString;
|
|
8743
8775
|
check: z.ZodString;
|
|
8744
8776
|
status: z.ZodEnum<{
|
|
8745
|
-
FAILED: "FAILED";
|
|
8746
8777
|
UNKNOWN: "UNKNOWN";
|
|
8778
|
+
FAILED: "FAILED";
|
|
8747
8779
|
RUNNING: "RUNNING";
|
|
8748
8780
|
QUEUED: "QUEUED";
|
|
8749
8781
|
PASSED: "PASSED";
|
|
@@ -8827,8 +8859,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
8827
8859
|
}, z.core.$strip>;
|
|
8828
8860
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
8829
8861
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
8830
|
-
SUCCEEDED: "SUCCEEDED";
|
|
8831
8862
|
FAILED: "FAILED";
|
|
8863
|
+
SUCCEEDED: "SUCCEEDED";
|
|
8832
8864
|
RUNNING: "RUNNING";
|
|
8833
8865
|
QUEUED: "QUEUED";
|
|
8834
8866
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8895,8 +8927,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
8895
8927
|
versionId: z.ZodString;
|
|
8896
8928
|
versionNumber: z.ZodNumber;
|
|
8897
8929
|
status: z.ZodEnum<{
|
|
8898
|
-
SUCCEEDED: "SUCCEEDED";
|
|
8899
8930
|
FAILED: "FAILED";
|
|
8931
|
+
SUCCEEDED: "SUCCEEDED";
|
|
8900
8932
|
RUNNING: "RUNNING";
|
|
8901
8933
|
QUEUED: "QUEUED";
|
|
8902
8934
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -9024,8 +9056,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
9024
9056
|
versionId: z.ZodString;
|
|
9025
9057
|
versionNumber: z.ZodNumber;
|
|
9026
9058
|
status: z.ZodEnum<{
|
|
9027
|
-
SUCCEEDED: "SUCCEEDED";
|
|
9028
9059
|
FAILED: "FAILED";
|
|
9060
|
+
SUCCEEDED: "SUCCEEDED";
|
|
9029
9061
|
RUNNING: "RUNNING";
|
|
9030
9062
|
QUEUED: "QUEUED";
|
|
9031
9063
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -9225,8 +9257,8 @@ export type StorefrontSourceReplaced = z.infer<typeof storefrontSourceReplacedSc
|
|
|
9225
9257
|
* - `flow-attachment`: 주문 흐름 행동의 첨부(시안 등, 이슈 #115). 구매자에게 보이므로 정지 이미지와 PDF만 받는다.
|
|
9226
9258
|
*/
|
|
9227
9259
|
export declare const uploadPurposeSchema: z.ZodEnum<{
|
|
9228
|
-
description: "description";
|
|
9229
9260
|
"product-image": "product-image";
|
|
9261
|
+
description: "description";
|
|
9230
9262
|
"flow-attachment": "flow-attachment";
|
|
9231
9263
|
}>;
|
|
9232
9264
|
export type UploadPurpose = z.infer<typeof uploadPurposeSchema>;
|
|
@@ -9265,8 +9297,8 @@ export declare function uploadRejection(purpose: UploadPurpose, filename: string
|
|
|
9265
9297
|
export declare const uploadRequestSchema: z.ZodObject<{
|
|
9266
9298
|
filename: z.ZodString;
|
|
9267
9299
|
purpose: z.ZodDefault<z.ZodEnum<{
|
|
9268
|
-
description: "description";
|
|
9269
9300
|
"product-image": "product-image";
|
|
9301
|
+
description: "description";
|
|
9270
9302
|
"flow-attachment": "flow-attachment";
|
|
9271
9303
|
}>>;
|
|
9272
9304
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9280,9 +9312,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
|
|
|
9280
9312
|
//#endregion
|
|
9281
9313
|
//#region src/schemas/auth.d.ts
|
|
9282
9314
|
export declare const storeRoleSchema: z.ZodEnum<{
|
|
9283
|
-
OWNER: "OWNER";
|
|
9284
9315
|
ADMIN: "ADMIN";
|
|
9285
9316
|
STAFF: "STAFF";
|
|
9317
|
+
OWNER: "OWNER";
|
|
9286
9318
|
}>;
|
|
9287
9319
|
export type StoreRole = z.infer<typeof storeRoleSchema>;
|
|
9288
9320
|
export declare const myStoreSchema: z.ZodObject<{
|
|
@@ -9290,14 +9322,14 @@ export declare const myStoreSchema: z.ZodObject<{
|
|
|
9290
9322
|
storeName: z.ZodString;
|
|
9291
9323
|
storeCode: z.ZodString;
|
|
9292
9324
|
role: z.ZodEnum<{
|
|
9293
|
-
OWNER: "OWNER";
|
|
9294
9325
|
ADMIN: "ADMIN";
|
|
9295
9326
|
STAFF: "STAFF";
|
|
9327
|
+
OWNER: "OWNER";
|
|
9296
9328
|
}>;
|
|
9297
9329
|
status: z.ZodEnum<{
|
|
9298
|
-
ACTIVE: "ACTIVE";
|
|
9299
9330
|
SUSPENDED: "SUSPENDED";
|
|
9300
9331
|
CLOSED: "CLOSED";
|
|
9332
|
+
ACTIVE: "ACTIVE";
|
|
9301
9333
|
}>;
|
|
9302
9334
|
}, z.core.$strip>;
|
|
9303
9335
|
export type MyStore = z.infer<typeof myStoreSchema>;
|
|
@@ -9452,8 +9484,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9452
9484
|
storeId: string;
|
|
9453
9485
|
storeName: string;
|
|
9454
9486
|
storeCode: string;
|
|
9455
|
-
role: "
|
|
9456
|
-
status: "
|
|
9487
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
9488
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
9457
9489
|
}[]>;
|
|
9458
9490
|
me: () => Promise<{
|
|
9459
9491
|
userId: string;
|
|
@@ -9493,7 +9525,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9493
9525
|
productId: string;
|
|
9494
9526
|
productNo: number | null;
|
|
9495
9527
|
name: string;
|
|
9496
|
-
status: "
|
|
9528
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9497
9529
|
salePrice: number;
|
|
9498
9530
|
discountedPrice: number | null;
|
|
9499
9531
|
stockQuantity: number;
|
|
@@ -9511,7 +9543,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9511
9543
|
productId: string;
|
|
9512
9544
|
productNo: number | null;
|
|
9513
9545
|
name: string;
|
|
9514
|
-
status: "
|
|
9546
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9515
9547
|
salePrice: number;
|
|
9516
9548
|
discountedPrice: number | null;
|
|
9517
9549
|
stockQuantity: number;
|
|
@@ -9570,11 +9602,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9570
9602
|
type?: string | undefined;
|
|
9571
9603
|
options?: string[] | null | undefined;
|
|
9572
9604
|
}[];
|
|
9573
|
-
optionSort: "
|
|
9605
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9574
9606
|
fulfillment: UnknownFulfillment | {
|
|
9575
9607
|
type: "SHIPPING";
|
|
9576
9608
|
shipping: {
|
|
9577
|
-
deliveryType: "
|
|
9609
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9578
9610
|
deliveryFee: number;
|
|
9579
9611
|
conditionalFreeAmount: number | null;
|
|
9580
9612
|
shippingAddressId: string | null;
|
|
@@ -9619,7 +9651,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9619
9651
|
productId: string;
|
|
9620
9652
|
productNo: number | null;
|
|
9621
9653
|
name: string;
|
|
9622
|
-
status: "
|
|
9654
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9623
9655
|
salePrice: number;
|
|
9624
9656
|
discountedPrice: number | null;
|
|
9625
9657
|
stockQuantity: number;
|
|
@@ -9678,11 +9710,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9678
9710
|
type?: string | undefined;
|
|
9679
9711
|
options?: string[] | null | undefined;
|
|
9680
9712
|
}[];
|
|
9681
|
-
optionSort: "
|
|
9713
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9682
9714
|
fulfillment: UnknownFulfillment | {
|
|
9683
9715
|
type: "SHIPPING";
|
|
9684
9716
|
shipping: {
|
|
9685
|
-
deliveryType: "
|
|
9717
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9686
9718
|
deliveryFee: number;
|
|
9687
9719
|
conditionalFreeAmount: number | null;
|
|
9688
9720
|
shippingAddressId: string | null;
|
|
@@ -9727,7 +9759,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9727
9759
|
productId: string;
|
|
9728
9760
|
productNo: number | null;
|
|
9729
9761
|
name: string;
|
|
9730
|
-
status: "
|
|
9762
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9731
9763
|
salePrice: number;
|
|
9732
9764
|
discountedPrice: number | null;
|
|
9733
9765
|
stockQuantity: number;
|
|
@@ -9786,11 +9818,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9786
9818
|
type?: string | undefined;
|
|
9787
9819
|
options?: string[] | null | undefined;
|
|
9788
9820
|
}[];
|
|
9789
|
-
optionSort: "
|
|
9821
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9790
9822
|
fulfillment: UnknownFulfillment | {
|
|
9791
9823
|
type: "SHIPPING";
|
|
9792
9824
|
shipping: {
|
|
9793
|
-
deliveryType: "
|
|
9825
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9794
9826
|
deliveryFee: number;
|
|
9795
9827
|
conditionalFreeAmount: number | null;
|
|
9796
9828
|
shippingAddressId: string | null;
|
|
@@ -9896,7 +9928,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9896
9928
|
type?: string | undefined;
|
|
9897
9929
|
options?: string[] | null | undefined;
|
|
9898
9930
|
}[];
|
|
9899
|
-
optionSort: "
|
|
9931
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9900
9932
|
}>;
|
|
9901
9933
|
/**
|
|
9902
9934
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -9954,7 +9986,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9954
9986
|
type?: string | undefined;
|
|
9955
9987
|
options?: string[] | null | undefined;
|
|
9956
9988
|
}[];
|
|
9957
|
-
optionSort: "
|
|
9989
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9958
9990
|
}>;
|
|
9959
9991
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
9960
9992
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -10003,7 +10035,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10003
10035
|
contents: {
|
|
10004
10036
|
optionSetId: string;
|
|
10005
10037
|
name: string;
|
|
10006
|
-
optionSort: "
|
|
10038
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10007
10039
|
groups: {
|
|
10008
10040
|
name: string;
|
|
10009
10041
|
kind: string;
|
|
@@ -10030,7 +10062,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10030
10062
|
get: (optionSetId: string) => Promise<{
|
|
10031
10063
|
optionSetId: string;
|
|
10032
10064
|
name: string;
|
|
10033
|
-
optionSort: "
|
|
10065
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10034
10066
|
groups: {
|
|
10035
10067
|
name: string;
|
|
10036
10068
|
kind: string;
|
|
@@ -10057,7 +10089,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10057
10089
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
10058
10090
|
optionSetId: string;
|
|
10059
10091
|
name: string;
|
|
10060
|
-
optionSort: "
|
|
10092
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10061
10093
|
groups: {
|
|
10062
10094
|
name: string;
|
|
10063
10095
|
kind: string;
|
|
@@ -10084,7 +10116,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10084
10116
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
10085
10117
|
optionSetId: string;
|
|
10086
10118
|
name: string;
|
|
10087
|
-
optionSort: "
|
|
10119
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10088
10120
|
groups: {
|
|
10089
10121
|
name: string;
|
|
10090
10122
|
kind: string;
|
|
@@ -10113,7 +10145,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10113
10145
|
optionSet: {
|
|
10114
10146
|
optionSetId: string;
|
|
10115
10147
|
name: string;
|
|
10116
|
-
optionSort: "
|
|
10148
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10117
10149
|
groups: {
|
|
10118
10150
|
name: string;
|
|
10119
10151
|
kind: string;
|
|
@@ -10184,7 +10216,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10184
10216
|
sortOrder: number;
|
|
10185
10217
|
metaTitle: string | null;
|
|
10186
10218
|
metaDescription: string | null;
|
|
10187
|
-
state: "ACTIVE" | "
|
|
10219
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10188
10220
|
salesComputedAt: string | null;
|
|
10189
10221
|
productCount: number;
|
|
10190
10222
|
revision: number;
|
|
@@ -10234,7 +10266,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10234
10266
|
sortOrder: number;
|
|
10235
10267
|
metaTitle: string | null;
|
|
10236
10268
|
metaDescription: string | null;
|
|
10237
|
-
state: "ACTIVE" | "
|
|
10269
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10238
10270
|
salesComputedAt: string | null;
|
|
10239
10271
|
productCount: number;
|
|
10240
10272
|
revision: number;
|
|
@@ -10277,7 +10309,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10277
10309
|
sortOrder: number;
|
|
10278
10310
|
metaTitle: string | null;
|
|
10279
10311
|
metaDescription: string | null;
|
|
10280
|
-
state: "ACTIVE" | "
|
|
10312
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10281
10313
|
salesComputedAt: string | null;
|
|
10282
10314
|
productCount: number;
|
|
10283
10315
|
revision: number;
|
|
@@ -10319,7 +10351,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10319
10351
|
sortOrder: number;
|
|
10320
10352
|
metaTitle: string | null;
|
|
10321
10353
|
metaDescription: string | null;
|
|
10322
|
-
state: "ACTIVE" | "
|
|
10354
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10323
10355
|
salesComputedAt: string | null;
|
|
10324
10356
|
productCount: number;
|
|
10325
10357
|
revision: number;
|
|
@@ -10382,7 +10414,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10382
10414
|
sortOrder: number;
|
|
10383
10415
|
metaTitle: string | null;
|
|
10384
10416
|
metaDescription: string | null;
|
|
10385
|
-
state: "ACTIVE" | "
|
|
10417
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10386
10418
|
salesComputedAt: string | null;
|
|
10387
10419
|
productCount: number;
|
|
10388
10420
|
revision: number;
|
|
@@ -10425,7 +10457,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10425
10457
|
sortOrder: number;
|
|
10426
10458
|
metaTitle: string | null;
|
|
10427
10459
|
metaDescription: string | null;
|
|
10428
|
-
state: "ACTIVE" | "
|
|
10460
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10429
10461
|
salesComputedAt: string | null;
|
|
10430
10462
|
productCount: number;
|
|
10431
10463
|
revision: number;
|
|
@@ -10464,7 +10496,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10464
10496
|
visible: boolean;
|
|
10465
10497
|
showPc: boolean;
|
|
10466
10498
|
showMobile: boolean;
|
|
10467
|
-
productSort: "
|
|
10499
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10468
10500
|
metaTitle: string | null;
|
|
10469
10501
|
metaDescription: string | null;
|
|
10470
10502
|
metaKeywords: string | null;
|
|
@@ -10485,7 +10517,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10485
10517
|
visible: boolean;
|
|
10486
10518
|
showPc: boolean;
|
|
10487
10519
|
showMobile: boolean;
|
|
10488
|
-
productSort: "
|
|
10520
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10489
10521
|
metaTitle: string | null;
|
|
10490
10522
|
metaDescription: string | null;
|
|
10491
10523
|
metaKeywords: string | null;
|
|
@@ -10504,7 +10536,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10504
10536
|
visible: boolean;
|
|
10505
10537
|
showPc: boolean;
|
|
10506
10538
|
showMobile: boolean;
|
|
10507
|
-
productSort: "
|
|
10539
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10508
10540
|
metaTitle: string | null;
|
|
10509
10541
|
metaDescription: string | null;
|
|
10510
10542
|
metaKeywords: string | null;
|
|
@@ -10526,7 +10558,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10526
10558
|
visible: boolean;
|
|
10527
10559
|
showPc: boolean;
|
|
10528
10560
|
showMobile: boolean;
|
|
10529
|
-
productSort: "
|
|
10561
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10530
10562
|
metaTitle: string | null;
|
|
10531
10563
|
metaDescription: string | null;
|
|
10532
10564
|
metaKeywords: string | null;
|
|
@@ -10545,7 +10577,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10545
10577
|
visible: boolean;
|
|
10546
10578
|
showPc: boolean;
|
|
10547
10579
|
showMobile: boolean;
|
|
10548
|
-
productSort: "
|
|
10580
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10549
10581
|
metaTitle: string | null;
|
|
10550
10582
|
metaDescription: string | null;
|
|
10551
10583
|
metaKeywords: string | null;
|
|
@@ -10576,7 +10608,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10576
10608
|
visible: boolean;
|
|
10577
10609
|
showPc: boolean;
|
|
10578
10610
|
showMobile: boolean;
|
|
10579
|
-
productSort: "
|
|
10611
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10580
10612
|
metaTitle: string | null;
|
|
10581
10613
|
metaDescription: string | null;
|
|
10582
10614
|
metaKeywords: string | null;
|
|
@@ -10596,7 +10628,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10596
10628
|
visible: boolean;
|
|
10597
10629
|
showPc: boolean;
|
|
10598
10630
|
showMobile: boolean;
|
|
10599
|
-
productSort: "
|
|
10631
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10600
10632
|
metaTitle: string | null;
|
|
10601
10633
|
metaDescription: string | null;
|
|
10602
10634
|
metaKeywords: string | null;
|
|
@@ -10624,10 +10656,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10624
10656
|
ordererName: string;
|
|
10625
10657
|
itemCount: number;
|
|
10626
10658
|
totalAmount: number;
|
|
10627
|
-
representativeStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10659
|
+
representativeStatus: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10628
10660
|
orderedAt: string;
|
|
10629
10661
|
testPayment: boolean;
|
|
10630
|
-
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
10662
|
+
progressStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
10631
10663
|
}[];
|
|
10632
10664
|
}>;
|
|
10633
10665
|
get: (orderId: string) => Promise<{
|
|
@@ -10693,7 +10725,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10693
10725
|
orderItemId: string;
|
|
10694
10726
|
orderItemNo: string | null;
|
|
10695
10727
|
orderId: string;
|
|
10696
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10728
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10697
10729
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10698
10730
|
productId: string;
|
|
10699
10731
|
productName: string;
|
|
@@ -10770,7 +10802,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10770
10802
|
}[];
|
|
10771
10803
|
} | undefined;
|
|
10772
10804
|
}[];
|
|
10773
|
-
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
10805
|
+
progressStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
10774
10806
|
}>;
|
|
10775
10807
|
/**
|
|
10776
10808
|
* `POST /v1/orders/{orderId}/cash-receipt/reissue` — 실패했거나 재시도 대기 중인 현금영수증을 지금 다시 발급·취소한다.
|
|
@@ -10821,7 +10853,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10821
10853
|
orderItemId: string;
|
|
10822
10854
|
orderItemNo: string | null;
|
|
10823
10855
|
orderId: string;
|
|
10824
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10856
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10825
10857
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10826
10858
|
productId: string;
|
|
10827
10859
|
productName: string;
|
|
@@ -10923,6 +10955,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10923
10955
|
couponChargeRefundAmount: number;
|
|
10924
10956
|
pointRefundAmount: number;
|
|
10925
10957
|
refundedAt: string;
|
|
10958
|
+
refundHeld: boolean;
|
|
10926
10959
|
}>;
|
|
10927
10960
|
updateMemo: (orderItemId: string, memo: string) => Promise<void>;
|
|
10928
10961
|
requestPurchaseDecision: (orderItemId: string) => Promise<void>;
|
|
@@ -10963,7 +10996,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10963
10996
|
orderItemId: string;
|
|
10964
10997
|
orderItemNo: string | null;
|
|
10965
10998
|
orderId: string;
|
|
10966
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10999
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10967
11000
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10968
11001
|
productId: string;
|
|
10969
11002
|
productName: string;
|
|
@@ -11059,7 +11092,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11059
11092
|
orderItemId: string;
|
|
11060
11093
|
orderItemNo: string | null;
|
|
11061
11094
|
orderId: string;
|
|
11062
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
11095
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
11063
11096
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
11064
11097
|
productId: string;
|
|
11065
11098
|
productName: string;
|
|
@@ -11182,8 +11215,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11182
11215
|
label: string;
|
|
11183
11216
|
enteredAt: string;
|
|
11184
11217
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11185
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11186
|
-
claimStatus?: "
|
|
11218
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11219
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11187
11220
|
message?: string | undefined;
|
|
11188
11221
|
deadlineAt?: string | undefined;
|
|
11189
11222
|
attachments?: string[] | undefined;
|
|
@@ -11238,15 +11271,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11238
11271
|
moveTargets?: {
|
|
11239
11272
|
key: string;
|
|
11240
11273
|
label: string;
|
|
11241
|
-
coreStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11274
|
+
coreStatus: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | null;
|
|
11242
11275
|
}[] | undefined;
|
|
11243
11276
|
branches?: {
|
|
11244
11277
|
key: string;
|
|
11245
11278
|
label: string;
|
|
11246
11279
|
enteredAt: string;
|
|
11247
11280
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11248
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11249
|
-
claimStatus?: "
|
|
11281
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11282
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11250
11283
|
message?: string | undefined;
|
|
11251
11284
|
deadlineAt?: string | undefined;
|
|
11252
11285
|
attachments?: string[] | undefined;
|
|
@@ -11274,8 +11307,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11274
11307
|
label: string;
|
|
11275
11308
|
enteredAt: string;
|
|
11276
11309
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11277
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11278
|
-
claimStatus?: "
|
|
11310
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11311
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11279
11312
|
message?: string | undefined;
|
|
11280
11313
|
deadlineAt?: string | undefined;
|
|
11281
11314
|
attachments?: string[] | undefined;
|
|
@@ -11334,8 +11367,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11334
11367
|
label: string;
|
|
11335
11368
|
enteredAt: string;
|
|
11336
11369
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11337
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11338
|
-
claimStatus?: "
|
|
11370
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11371
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11339
11372
|
message?: string | undefined;
|
|
11340
11373
|
deadlineAt?: string | undefined;
|
|
11341
11374
|
attachments?: string[] | undefined;
|
|
@@ -11394,8 +11427,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11394
11427
|
label: string;
|
|
11395
11428
|
enteredAt: string;
|
|
11396
11429
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11397
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11398
|
-
claimStatus?: "
|
|
11430
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11431
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11399
11432
|
message?: string | undefined;
|
|
11400
11433
|
deadlineAt?: string | undefined;
|
|
11401
11434
|
attachments?: string[] | undefined;
|
|
@@ -11798,6 +11831,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11798
11831
|
effect: string;
|
|
11799
11832
|
configSchema: Record<string, unknown>;
|
|
11800
11833
|
}[];
|
|
11834
|
+
platformActions: {
|
|
11835
|
+
key: string;
|
|
11836
|
+
side: "buyer" | "seller";
|
|
11837
|
+
label: string;
|
|
11838
|
+
mode: "REQUEST" | "INSTANT" | "VIEW";
|
|
11839
|
+
window: boolean;
|
|
11840
|
+
fee: boolean;
|
|
11841
|
+
listed: boolean;
|
|
11842
|
+
subflow?: string | undefined;
|
|
11843
|
+
}[];
|
|
11801
11844
|
}>;
|
|
11802
11845
|
};
|
|
11803
11846
|
carriers: {
|
|
@@ -11816,8 +11859,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11816
11859
|
contents: {
|
|
11817
11860
|
claimId: string;
|
|
11818
11861
|
claimNo: string | null;
|
|
11819
|
-
type: "
|
|
11820
|
-
status: "
|
|
11862
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11863
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11821
11864
|
orderId: string;
|
|
11822
11865
|
orderItemId: string;
|
|
11823
11866
|
productName: string;
|
|
@@ -11856,8 +11899,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11856
11899
|
get: (claimId: string) => Promise<{
|
|
11857
11900
|
claimId: string;
|
|
11858
11901
|
claimNo: string | null;
|
|
11859
|
-
type: "
|
|
11860
|
-
status: "
|
|
11902
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11903
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11861
11904
|
orderId: string;
|
|
11862
11905
|
orderItemId: string;
|
|
11863
11906
|
productName: string;
|
|
@@ -11892,12 +11935,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11892
11935
|
address2: string | null;
|
|
11893
11936
|
} | null;
|
|
11894
11937
|
histories?: {
|
|
11895
|
-
status: "
|
|
11896
|
-
actor: "
|
|
11938
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11939
|
+
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
11897
11940
|
occurredAt: string;
|
|
11898
11941
|
}[] | undefined;
|
|
11899
11942
|
}>;
|
|
11900
|
-
|
|
11943
|
+
/** `holdRefund`(#115)면 승인만 하고 결제 환불은 대기로 남긴다 — `payments.processRefund`로 따로 환불한다 */
|
|
11944
|
+
approve: (claimId: string, deductAmount?: number, idempotencyKey?: string, options?: {
|
|
11945
|
+
holdRefund?: boolean;
|
|
11946
|
+
}) => Promise<{
|
|
11901
11947
|
claimId: string;
|
|
11902
11948
|
refundAmount: number;
|
|
11903
11949
|
deductAmount: number;
|
|
@@ -11908,6 +11954,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11908
11954
|
couponChargeRefundAmount: number;
|
|
11909
11955
|
pointRefundAmount: number;
|
|
11910
11956
|
refundedAt: string;
|
|
11957
|
+
refundHeld: boolean;
|
|
11911
11958
|
}>;
|
|
11912
11959
|
reject: (claimId: string, body: RejectClaimRequest) => Promise<void>;
|
|
11913
11960
|
registerCollect: (claimId: string, body: {
|
|
@@ -11925,8 +11972,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11925
11972
|
completeExchange: (claimId: string) => Promise<{
|
|
11926
11973
|
claimId: string;
|
|
11927
11974
|
claimNo: string | null;
|
|
11928
|
-
type: "
|
|
11929
|
-
status: "
|
|
11975
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11976
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11930
11977
|
orderId: string;
|
|
11931
11978
|
orderItemId: string;
|
|
11932
11979
|
productName: string;
|
|
@@ -11977,7 +12024,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11977
12024
|
productId: string;
|
|
11978
12025
|
productName: string;
|
|
11979
12026
|
orderItemId: string | null;
|
|
11980
|
-
category: "
|
|
12027
|
+
category: "ETC" | "PRODUCT" | "DELIVERY" | "RETURN" | "EXCHANGE";
|
|
11981
12028
|
content: string;
|
|
11982
12029
|
secret: boolean;
|
|
11983
12030
|
writerMaskedName: string;
|
|
@@ -11995,7 +12042,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11995
12042
|
productId: string;
|
|
11996
12043
|
productName: string;
|
|
11997
12044
|
orderItemId: string | null;
|
|
11998
|
-
category: "
|
|
12045
|
+
category: "ETC" | "PRODUCT" | "DELIVERY" | "RETURN" | "EXCHANGE";
|
|
11999
12046
|
content: string;
|
|
12000
12047
|
secret: boolean;
|
|
12001
12048
|
writerMaskedName: string;
|
|
@@ -12276,7 +12323,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12276
12323
|
productName: string;
|
|
12277
12324
|
optionName: string | null;
|
|
12278
12325
|
quantity: number;
|
|
12279
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
12326
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
12280
12327
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12281
12328
|
}[];
|
|
12282
12329
|
}[];
|
|
@@ -12295,7 +12342,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12295
12342
|
version: string | null;
|
|
12296
12343
|
documentUrl: string | null;
|
|
12297
12344
|
action: "WITHDRAWN" | "AGREED";
|
|
12298
|
-
source: "
|
|
12345
|
+
source: "SIGNUP" | "SELLER" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
|
|
12299
12346
|
occurredAt: string;
|
|
12300
12347
|
}[];
|
|
12301
12348
|
}>;
|
|
@@ -12704,7 +12751,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12704
12751
|
contents: {
|
|
12705
12752
|
inquiryId: string;
|
|
12706
12753
|
memberMaskedName: string;
|
|
12707
|
-
category: "
|
|
12754
|
+
category: "ETC" | "DELIVERY" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
12708
12755
|
title: string;
|
|
12709
12756
|
content: string;
|
|
12710
12757
|
orderItemId: string | null;
|
|
@@ -12720,7 +12767,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12720
12767
|
get: (inquiryId: string) => Promise<{
|
|
12721
12768
|
inquiryId: string;
|
|
12722
12769
|
memberMaskedName: string;
|
|
12723
|
-
category: "
|
|
12770
|
+
category: "ETC" | "DELIVERY" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
12724
12771
|
title: string;
|
|
12725
12772
|
content: string;
|
|
12726
12773
|
orderItemId: string | null;
|
|
@@ -12750,7 +12797,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12750
12797
|
settlementId: string;
|
|
12751
12798
|
settlementDate: string;
|
|
12752
12799
|
payoutDate: string | null;
|
|
12753
|
-
status: "
|
|
12800
|
+
status: "PAID" | "SCHEDULED" | "HELD";
|
|
12754
12801
|
totalPaymentAmount: number;
|
|
12755
12802
|
totalCommission: number;
|
|
12756
12803
|
totalDeliveryFee: number;
|
|
@@ -12764,7 +12811,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12764
12811
|
settlementId: string;
|
|
12765
12812
|
settlementDate: string;
|
|
12766
12813
|
payoutDate: string | null;
|
|
12767
|
-
status: "
|
|
12814
|
+
status: "PAID" | "SCHEDULED" | "HELD";
|
|
12768
12815
|
totalPaymentAmount: number;
|
|
12769
12816
|
totalCommission: number;
|
|
12770
12817
|
totalDeliveryFee: number;
|
|
@@ -12906,11 +12953,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12906
12953
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
12907
12954
|
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
12908
12955
|
rows: {
|
|
12909
|
-
channel: "
|
|
12956
|
+
channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
|
|
12910
12957
|
source: string | null;
|
|
12911
12958
|
medium: string | null;
|
|
12912
12959
|
campaign: string | null;
|
|
12913
|
-
device: "unknown" | "
|
|
12960
|
+
device: "unknown" | "desktop" | "mobile" | "tablet" | null;
|
|
12914
12961
|
sessions: number;
|
|
12915
12962
|
visitors: number;
|
|
12916
12963
|
engagedSessions: number;
|
|
@@ -12942,7 +12989,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12942
12989
|
/** `GET /v1/analytics/devices` — 기기별 세션 퍼널 */
|
|
12943
12990
|
devices: (params: AnalyticsRangeParams) => Promise<{
|
|
12944
12991
|
rows: {
|
|
12945
|
-
device: "unknown" | "
|
|
12992
|
+
device: "unknown" | "desktop" | "mobile" | "tablet";
|
|
12946
12993
|
sessions: number;
|
|
12947
12994
|
productViewSessions: number;
|
|
12948
12995
|
addToCartSessions: number;
|
|
@@ -13011,7 +13058,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13011
13058
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
13012
13059
|
sessions: number;
|
|
13013
13060
|
outcomes: {
|
|
13014
|
-
outcome: "COMPLETED" | "
|
|
13061
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
13015
13062
|
sessions: number;
|
|
13016
13063
|
}[];
|
|
13017
13064
|
from: string;
|
|
@@ -13041,9 +13088,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13041
13088
|
orderId: string | null;
|
|
13042
13089
|
orderName: string;
|
|
13043
13090
|
customerName: string;
|
|
13044
|
-
status: "
|
|
13091
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13045
13092
|
amount: number;
|
|
13046
13093
|
refundedAmount: number;
|
|
13094
|
+
heldRefundAmount: number;
|
|
13047
13095
|
provider: "tosspayments" | "portone" | null;
|
|
13048
13096
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
13049
13097
|
easyPayProvider: string | null;
|
|
@@ -13066,9 +13114,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13066
13114
|
orderId: string | null;
|
|
13067
13115
|
orderName: string;
|
|
13068
13116
|
customerName: string;
|
|
13069
|
-
status: "
|
|
13117
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13070
13118
|
amount: number;
|
|
13071
13119
|
refundedAmount: number;
|
|
13120
|
+
heldRefundAmount: number;
|
|
13072
13121
|
provider: "tosspayments" | "portone" | null;
|
|
13073
13122
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
13074
13123
|
easyPayProvider: string | null;
|
|
@@ -13134,6 +13183,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13134
13183
|
updatedAt: string;
|
|
13135
13184
|
} | null;
|
|
13136
13185
|
}>;
|
|
13186
|
+
/** `POST /v1/payments/refunds/{refundId}/process` — 대기 환불(`HELD`)을 PG로 환불한다(#115). 409 `REFUND_NOT_HELD` */
|
|
13187
|
+
processRefund: (refundId: string) => Promise<{
|
|
13188
|
+
refundId: string;
|
|
13189
|
+
amount: number;
|
|
13190
|
+
pointRefundAmount: number;
|
|
13191
|
+
reason: string;
|
|
13192
|
+
kind: string;
|
|
13193
|
+
status: string;
|
|
13194
|
+
failMessage: string | null;
|
|
13195
|
+
requestedAt: string;
|
|
13196
|
+
completedAt: string | null;
|
|
13197
|
+
}>;
|
|
13137
13198
|
};
|
|
13138
13199
|
/**
|
|
13139
13200
|
* 결제(PG) 설정 — **상점 플랫폼 OWNER 전용**. ADMIN·STAFF·PAT·M2M·3rd-party 앱 토큰은 스코프가 있어도
|
|
@@ -13168,7 +13229,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13168
13229
|
masked: string | null;
|
|
13169
13230
|
}[];
|
|
13170
13231
|
lastVerification: {
|
|
13171
|
-
result: "
|
|
13232
|
+
result: "SUCCESS" | "FAILED";
|
|
13172
13233
|
message: string | null;
|
|
13173
13234
|
checkedAt: string;
|
|
13174
13235
|
} | null;
|
|
@@ -13193,7 +13254,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13193
13254
|
masked: string | null;
|
|
13194
13255
|
}[];
|
|
13195
13256
|
lastVerification: {
|
|
13196
|
-
result: "
|
|
13257
|
+
result: "SUCCESS" | "FAILED";
|
|
13197
13258
|
message: string | null;
|
|
13198
13259
|
checkedAt: string;
|
|
13199
13260
|
} | null;
|
|
@@ -13217,7 +13278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13217
13278
|
masked: string | null;
|
|
13218
13279
|
}[];
|
|
13219
13280
|
lastVerification: {
|
|
13220
|
-
result: "
|
|
13281
|
+
result: "SUCCESS" | "FAILED";
|
|
13221
13282
|
message: string | null;
|
|
13222
13283
|
checkedAt: string;
|
|
13223
13284
|
} | null;
|
|
@@ -13278,7 +13339,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13278
13339
|
masked: string | null;
|
|
13279
13340
|
}[];
|
|
13280
13341
|
lastVerification: {
|
|
13281
|
-
result: "
|
|
13342
|
+
result: "SUCCESS" | "FAILED";
|
|
13282
13343
|
message: string | null;
|
|
13283
13344
|
checkedAt: string;
|
|
13284
13345
|
} | null;
|
|
@@ -13303,7 +13364,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13303
13364
|
masked: string | null;
|
|
13304
13365
|
}[];
|
|
13305
13366
|
lastVerification: {
|
|
13306
|
-
result: "
|
|
13367
|
+
result: "SUCCESS" | "FAILED";
|
|
13307
13368
|
message: string | null;
|
|
13308
13369
|
checkedAt: string;
|
|
13309
13370
|
} | null;
|
|
@@ -13327,7 +13388,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13327
13388
|
masked: string | null;
|
|
13328
13389
|
}[];
|
|
13329
13390
|
lastVerification: {
|
|
13330
|
-
result: "
|
|
13391
|
+
result: "SUCCESS" | "FAILED";
|
|
13331
13392
|
message: string | null;
|
|
13332
13393
|
checkedAt: string;
|
|
13333
13394
|
} | null;
|
|
@@ -13393,7 +13454,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13393
13454
|
masked: string | null;
|
|
13394
13455
|
}[];
|
|
13395
13456
|
lastVerification: {
|
|
13396
|
-
result: "
|
|
13457
|
+
result: "SUCCESS" | "FAILED";
|
|
13397
13458
|
message: string | null;
|
|
13398
13459
|
checkedAt: string;
|
|
13399
13460
|
} | null;
|
|
@@ -13418,7 +13479,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13418
13479
|
masked: string | null;
|
|
13419
13480
|
}[];
|
|
13420
13481
|
lastVerification: {
|
|
13421
|
-
result: "
|
|
13482
|
+
result: "SUCCESS" | "FAILED";
|
|
13422
13483
|
message: string | null;
|
|
13423
13484
|
checkedAt: string;
|
|
13424
13485
|
} | null;
|
|
@@ -13442,7 +13503,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13442
13503
|
masked: string | null;
|
|
13443
13504
|
}[];
|
|
13444
13505
|
lastVerification: {
|
|
13445
|
-
result: "
|
|
13506
|
+
result: "SUCCESS" | "FAILED";
|
|
13446
13507
|
message: string | null;
|
|
13447
13508
|
checkedAt: string;
|
|
13448
13509
|
} | null;
|
|
@@ -13489,7 +13550,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13489
13550
|
masked: string | null;
|
|
13490
13551
|
}[];
|
|
13491
13552
|
lastVerification: {
|
|
13492
|
-
result: "
|
|
13553
|
+
result: "SUCCESS" | "FAILED";
|
|
13493
13554
|
message: string | null;
|
|
13494
13555
|
checkedAt: string;
|
|
13495
13556
|
} | null;
|
|
@@ -13514,7 +13575,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13514
13575
|
masked: string | null;
|
|
13515
13576
|
}[];
|
|
13516
13577
|
lastVerification: {
|
|
13517
|
-
result: "
|
|
13578
|
+
result: "SUCCESS" | "FAILED";
|
|
13518
13579
|
message: string | null;
|
|
13519
13580
|
checkedAt: string;
|
|
13520
13581
|
} | null;
|
|
@@ -13538,7 +13599,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13538
13599
|
masked: string | null;
|
|
13539
13600
|
}[];
|
|
13540
13601
|
lastVerification: {
|
|
13541
|
-
result: "
|
|
13602
|
+
result: "SUCCESS" | "FAILED";
|
|
13542
13603
|
message: string | null;
|
|
13543
13604
|
checkedAt: string;
|
|
13544
13605
|
} | null;
|
|
@@ -13595,7 +13656,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13595
13656
|
masked: string | null;
|
|
13596
13657
|
}[];
|
|
13597
13658
|
lastVerification: {
|
|
13598
|
-
result: "
|
|
13659
|
+
result: "SUCCESS" | "FAILED";
|
|
13599
13660
|
message: string | null;
|
|
13600
13661
|
checkedAt: string;
|
|
13601
13662
|
} | null;
|
|
@@ -13620,7 +13681,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13620
13681
|
masked: string | null;
|
|
13621
13682
|
}[];
|
|
13622
13683
|
lastVerification: {
|
|
13623
|
-
result: "
|
|
13684
|
+
result: "SUCCESS" | "FAILED";
|
|
13624
13685
|
message: string | null;
|
|
13625
13686
|
checkedAt: string;
|
|
13626
13687
|
} | null;
|
|
@@ -13644,7 +13705,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13644
13705
|
masked: string | null;
|
|
13645
13706
|
}[];
|
|
13646
13707
|
lastVerification: {
|
|
13647
|
-
result: "
|
|
13708
|
+
result: "SUCCESS" | "FAILED";
|
|
13648
13709
|
message: string | null;
|
|
13649
13710
|
checkedAt: string;
|
|
13650
13711
|
} | null;
|
|
@@ -13691,7 +13752,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13691
13752
|
masked: string | null;
|
|
13692
13753
|
}[];
|
|
13693
13754
|
lastVerification: {
|
|
13694
|
-
result: "
|
|
13755
|
+
result: "SUCCESS" | "FAILED";
|
|
13695
13756
|
message: string | null;
|
|
13696
13757
|
checkedAt: string;
|
|
13697
13758
|
} | null;
|
|
@@ -13716,7 +13777,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13716
13777
|
masked: string | null;
|
|
13717
13778
|
}[];
|
|
13718
13779
|
lastVerification: {
|
|
13719
|
-
result: "
|
|
13780
|
+
result: "SUCCESS" | "FAILED";
|
|
13720
13781
|
message: string | null;
|
|
13721
13782
|
checkedAt: string;
|
|
13722
13783
|
} | null;
|
|
@@ -13740,7 +13801,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13740
13801
|
masked: string | null;
|
|
13741
13802
|
}[];
|
|
13742
13803
|
lastVerification: {
|
|
13743
|
-
result: "
|
|
13804
|
+
result: "SUCCESS" | "FAILED";
|
|
13744
13805
|
message: string | null;
|
|
13745
13806
|
checkedAt: string;
|
|
13746
13807
|
} | null;
|
|
@@ -13796,7 +13857,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13796
13857
|
masked: string | null;
|
|
13797
13858
|
}[];
|
|
13798
13859
|
lastVerification: {
|
|
13799
|
-
result: "
|
|
13860
|
+
result: "SUCCESS" | "FAILED";
|
|
13800
13861
|
message: string | null;
|
|
13801
13862
|
checkedAt: string;
|
|
13802
13863
|
} | null;
|
|
@@ -13821,7 +13882,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13821
13882
|
masked: string | null;
|
|
13822
13883
|
}[];
|
|
13823
13884
|
lastVerification: {
|
|
13824
|
-
result: "
|
|
13885
|
+
result: "SUCCESS" | "FAILED";
|
|
13825
13886
|
message: string | null;
|
|
13826
13887
|
checkedAt: string;
|
|
13827
13888
|
} | null;
|
|
@@ -13845,7 +13906,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13845
13906
|
masked: string | null;
|
|
13846
13907
|
}[];
|
|
13847
13908
|
lastVerification: {
|
|
13848
|
-
result: "
|
|
13909
|
+
result: "SUCCESS" | "FAILED";
|
|
13849
13910
|
message: string | null;
|
|
13850
13911
|
checkedAt: string;
|
|
13851
13912
|
} | null;
|
|
@@ -13873,7 +13934,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13873
13934
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
13874
13935
|
provider: "tosspayments" | "portone";
|
|
13875
13936
|
environment: "TEST" | "LIVE";
|
|
13876
|
-
result: "
|
|
13937
|
+
result: "SUCCESS" | "FAILED";
|
|
13877
13938
|
message: string | null;
|
|
13878
13939
|
checkedAt: string;
|
|
13879
13940
|
}>;
|
|
@@ -13882,8 +13943,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13882
13943
|
list: () => Promise<{
|
|
13883
13944
|
webhookId: string;
|
|
13884
13945
|
url: string;
|
|
13885
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13886
|
-
status: "
|
|
13946
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13947
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13887
13948
|
secretPrefix: string;
|
|
13888
13949
|
suspendedAt: string | null;
|
|
13889
13950
|
createdAt: string;
|
|
@@ -13892,8 +13953,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13892
13953
|
create: (body: WebhookRequest) => Promise<{
|
|
13893
13954
|
webhookId: string;
|
|
13894
13955
|
url: string;
|
|
13895
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13896
|
-
status: "
|
|
13956
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13957
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13897
13958
|
secretPrefix: string;
|
|
13898
13959
|
suspendedAt: string | null;
|
|
13899
13960
|
createdAt: string;
|
|
@@ -13902,8 +13963,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13902
13963
|
get: (webhookId: string) => Promise<{
|
|
13903
13964
|
webhookId: string;
|
|
13904
13965
|
url: string;
|
|
13905
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13906
|
-
status: "
|
|
13966
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13967
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13907
13968
|
secretPrefix: string;
|
|
13908
13969
|
suspendedAt: string | null;
|
|
13909
13970
|
createdAt: string;
|
|
@@ -13912,8 +13973,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13912
13973
|
update: (webhookId: string, body: WebhookRequest) => Promise<{
|
|
13913
13974
|
webhookId: string;
|
|
13914
13975
|
url: string;
|
|
13915
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13916
|
-
status: "
|
|
13976
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13977
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13917
13978
|
secretPrefix: string;
|
|
13918
13979
|
suspendedAt: string | null;
|
|
13919
13980
|
createdAt: string;
|
|
@@ -13927,8 +13988,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13927
13988
|
resume: (webhookId: string) => Promise<{
|
|
13928
13989
|
webhookId: string;
|
|
13929
13990
|
url: string;
|
|
13930
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13931
|
-
status: "
|
|
13991
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13992
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13932
13993
|
secretPrefix: string;
|
|
13933
13994
|
suspendedAt: string | null;
|
|
13934
13995
|
createdAt: string;
|
|
@@ -13937,9 +13998,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13937
13998
|
listDeliveries: (webhookId: string, params?: WebhookDeliveryListParams) => Promise<{
|
|
13938
13999
|
deliveryId: string;
|
|
13939
14000
|
eventId: string;
|
|
13940
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
14001
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
13941
14002
|
url: string;
|
|
13942
|
-
status: "
|
|
14003
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
13943
14004
|
responseStatusCode: number | null;
|
|
13944
14005
|
responseTimeMs: number | null;
|
|
13945
14006
|
responseBodyExcerpt: string | null;
|
|
@@ -13964,9 +14025,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13964
14025
|
getDelivery: (webhookId: string, deliveryId: string) => Promise<{
|
|
13965
14026
|
deliveryId: string;
|
|
13966
14027
|
eventId: string;
|
|
13967
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
14028
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
13968
14029
|
url: string;
|
|
13969
|
-
status: "
|
|
14030
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
13970
14031
|
responseStatusCode: number | null;
|
|
13971
14032
|
responseTimeMs: number | null;
|
|
13972
14033
|
responseBodyExcerpt: string | null;
|
|
@@ -13999,9 +14060,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13999
14060
|
redeliver: (webhookId: string, deliveryId: string) => Promise<{
|
|
14000
14061
|
deliveryId: string;
|
|
14001
14062
|
eventId: string;
|
|
14002
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
14063
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
14003
14064
|
url: string;
|
|
14004
|
-
status: "
|
|
14065
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
14005
14066
|
responseStatusCode: number | null;
|
|
14006
14067
|
responseTimeMs: number | null;
|
|
14007
14068
|
responseBodyExcerpt: string | null;
|
|
@@ -14084,7 +14145,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14084
14145
|
source: "REQUEST" | "DOMAIN";
|
|
14085
14146
|
action: string;
|
|
14086
14147
|
actor: {
|
|
14087
|
-
type: "
|
|
14148
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14088
14149
|
id: string;
|
|
14089
14150
|
name: string | null;
|
|
14090
14151
|
};
|
|
@@ -14097,7 +14158,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14097
14158
|
method: string | null;
|
|
14098
14159
|
path: string | null;
|
|
14099
14160
|
statusCode: number | null;
|
|
14100
|
-
outcome: "
|
|
14161
|
+
outcome: "FAILED" | "SUCCEEDED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
14101
14162
|
errorCode: string | null;
|
|
14102
14163
|
traceId: string | null;
|
|
14103
14164
|
idempotencyKey: string | null;
|
|
@@ -14115,7 +14176,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14115
14176
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
14116
14177
|
items: {
|
|
14117
14178
|
approvalId: string;
|
|
14118
|
-
status: "
|
|
14179
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
14119
14180
|
operationId: string;
|
|
14120
14181
|
method: string;
|
|
14121
14182
|
path: string;
|
|
@@ -14123,7 +14184,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14123
14184
|
idempotencyKey: string | null;
|
|
14124
14185
|
reason: string;
|
|
14125
14186
|
actor: {
|
|
14126
|
-
type: "
|
|
14187
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14127
14188
|
id: string;
|
|
14128
14189
|
name: string | null;
|
|
14129
14190
|
};
|
|
@@ -14141,6 +14202,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14141
14202
|
after: unknown;
|
|
14142
14203
|
}[];
|
|
14143
14204
|
facts: Record<string, string | number | boolean | null>;
|
|
14205
|
+
targetName?: string | null | undefined;
|
|
14144
14206
|
} | null;
|
|
14145
14207
|
createdAt: string;
|
|
14146
14208
|
expiresAt: string;
|
|
@@ -14160,12 +14222,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14160
14222
|
} | null;
|
|
14161
14223
|
} | null;
|
|
14162
14224
|
approvalUrl: string | null;
|
|
14225
|
+
operationName?: string | null | undefined;
|
|
14163
14226
|
}[];
|
|
14164
14227
|
nextCursor: string | null;
|
|
14165
14228
|
}>;
|
|
14166
14229
|
get: (approvalId: string) => Promise<{
|
|
14167
14230
|
approvalId: string;
|
|
14168
|
-
status: "
|
|
14231
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
14169
14232
|
operationId: string;
|
|
14170
14233
|
method: string;
|
|
14171
14234
|
path: string;
|
|
@@ -14173,7 +14236,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14173
14236
|
idempotencyKey: string | null;
|
|
14174
14237
|
reason: string;
|
|
14175
14238
|
actor: {
|
|
14176
|
-
type: "
|
|
14239
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14177
14240
|
id: string;
|
|
14178
14241
|
name: string | null;
|
|
14179
14242
|
};
|
|
@@ -14191,6 +14254,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14191
14254
|
after: unknown;
|
|
14192
14255
|
}[];
|
|
14193
14256
|
facts: Record<string, string | number | boolean | null>;
|
|
14257
|
+
targetName?: string | null | undefined;
|
|
14194
14258
|
} | null;
|
|
14195
14259
|
createdAt: string;
|
|
14196
14260
|
expiresAt: string;
|
|
@@ -14210,6 +14274,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14210
14274
|
} | null;
|
|
14211
14275
|
} | null;
|
|
14212
14276
|
approvalUrl: string | null;
|
|
14277
|
+
operationName?: string | null | undefined;
|
|
14213
14278
|
}>;
|
|
14214
14279
|
/**
|
|
14215
14280
|
* 승인하면 서버가 원 요청을 그대로 한 번 실행한다. 응답은 실행을 기다리지 않은 `EXECUTING` 상태이고,
|
|
@@ -14217,7 +14282,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14217
14282
|
*/
|
|
14218
14283
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14219
14284
|
approvalId: string;
|
|
14220
|
-
status: "
|
|
14285
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
14221
14286
|
operationId: string;
|
|
14222
14287
|
method: string;
|
|
14223
14288
|
path: string;
|
|
@@ -14225,7 +14290,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14225
14290
|
idempotencyKey: string | null;
|
|
14226
14291
|
reason: string;
|
|
14227
14292
|
actor: {
|
|
14228
|
-
type: "
|
|
14293
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14229
14294
|
id: string;
|
|
14230
14295
|
name: string | null;
|
|
14231
14296
|
};
|
|
@@ -14243,6 +14308,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14243
14308
|
after: unknown;
|
|
14244
14309
|
}[];
|
|
14245
14310
|
facts: Record<string, string | number | boolean | null>;
|
|
14311
|
+
targetName?: string | null | undefined;
|
|
14246
14312
|
} | null;
|
|
14247
14313
|
createdAt: string;
|
|
14248
14314
|
expiresAt: string;
|
|
@@ -14262,10 +14328,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14262
14328
|
} | null;
|
|
14263
14329
|
} | null;
|
|
14264
14330
|
approvalUrl: string | null;
|
|
14331
|
+
operationName?: string | null | undefined;
|
|
14265
14332
|
}>;
|
|
14266
14333
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14267
14334
|
approvalId: string;
|
|
14268
|
-
status: "
|
|
14335
|
+
status: "UNKNOWN" | "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
14269
14336
|
operationId: string;
|
|
14270
14337
|
method: string;
|
|
14271
14338
|
path: string;
|
|
@@ -14273,7 +14340,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14273
14340
|
idempotencyKey: string | null;
|
|
14274
14341
|
reason: string;
|
|
14275
14342
|
actor: {
|
|
14276
|
-
type: "
|
|
14343
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14277
14344
|
id: string;
|
|
14278
14345
|
name: string | null;
|
|
14279
14346
|
};
|
|
@@ -14291,6 +14358,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14291
14358
|
after: unknown;
|
|
14292
14359
|
}[];
|
|
14293
14360
|
facts: Record<string, string | number | boolean | null>;
|
|
14361
|
+
targetName?: string | null | undefined;
|
|
14294
14362
|
} | null;
|
|
14295
14363
|
createdAt: string;
|
|
14296
14364
|
expiresAt: string;
|
|
@@ -14310,6 +14378,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14310
14378
|
} | null;
|
|
14311
14379
|
} | null;
|
|
14312
14380
|
approvalUrl: string | null;
|
|
14381
|
+
operationName?: string | null | undefined;
|
|
14313
14382
|
}>;
|
|
14314
14383
|
};
|
|
14315
14384
|
reviews: {
|
|
@@ -14362,7 +14431,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14362
14431
|
sellerAddresses: {
|
|
14363
14432
|
list: (type?: AddressType) => Promise<{
|
|
14364
14433
|
addressId: string;
|
|
14365
|
-
type: "
|
|
14434
|
+
type: "SHIPPING" | "RETURN";
|
|
14366
14435
|
name: string;
|
|
14367
14436
|
isDefault: boolean;
|
|
14368
14437
|
contactName: string;
|
|
@@ -14443,13 +14512,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14443
14512
|
domains: {
|
|
14444
14513
|
hostname: string;
|
|
14445
14514
|
kind: "PLATFORM" | "CUSTOM";
|
|
14446
|
-
status: "
|
|
14515
|
+
status: "ACTIVE" | "HELD";
|
|
14447
14516
|
isPrimary: boolean;
|
|
14448
14517
|
holdUntil: string | null;
|
|
14449
14518
|
}[];
|
|
14450
14519
|
templateId: string;
|
|
14451
|
-
sourceMode: "
|
|
14452
|
-
status: "
|
|
14520
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14521
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14453
14522
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14454
14523
|
publishedVersion: {
|
|
14455
14524
|
versionId: string;
|
|
@@ -14467,7 +14536,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14467
14536
|
createdVia?: string | null | undefined;
|
|
14468
14537
|
} | null;
|
|
14469
14538
|
provisioning: {
|
|
14470
|
-
status: "
|
|
14539
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14471
14540
|
lastErrorCode: string | null;
|
|
14472
14541
|
syncedAt: string | null;
|
|
14473
14542
|
};
|
|
@@ -14487,7 +14556,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14487
14556
|
checkSlug: (slug: string) => Promise<{
|
|
14488
14557
|
slug: string;
|
|
14489
14558
|
available: boolean;
|
|
14490
|
-
reason: "
|
|
14559
|
+
reason: "RESERVED" | "INVALID" | "TAKEN" | "CURRENT" | null;
|
|
14491
14560
|
}>;
|
|
14492
14561
|
/**
|
|
14493
14562
|
* `POST /v1/storefront/site` (201) — 템플릿으로 사이트를 만들고 v1을 발행한다. 공개 상태는 오픈 준비 중이다.
|
|
@@ -14501,13 +14570,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14501
14570
|
domains: {
|
|
14502
14571
|
hostname: string;
|
|
14503
14572
|
kind: "PLATFORM" | "CUSTOM";
|
|
14504
|
-
status: "
|
|
14573
|
+
status: "ACTIVE" | "HELD";
|
|
14505
14574
|
isPrimary: boolean;
|
|
14506
14575
|
holdUntil: string | null;
|
|
14507
14576
|
}[];
|
|
14508
14577
|
templateId: string;
|
|
14509
|
-
sourceMode: "
|
|
14510
|
-
status: "
|
|
14578
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14579
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14511
14580
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14512
14581
|
publishedVersion: {
|
|
14513
14582
|
versionId: string;
|
|
@@ -14525,7 +14594,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14525
14594
|
createdVia?: string | null | undefined;
|
|
14526
14595
|
} | null;
|
|
14527
14596
|
provisioning: {
|
|
14528
|
-
status: "
|
|
14597
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14529
14598
|
lastErrorCode: string | null;
|
|
14530
14599
|
syncedAt: string | null;
|
|
14531
14600
|
};
|
|
@@ -14543,13 +14612,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14543
14612
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
14544
14613
|
getDeployment: () => Promise<{
|
|
14545
14614
|
siteId: string;
|
|
14546
|
-
status: "
|
|
14615
|
+
status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
|
|
14547
14616
|
url: string;
|
|
14548
14617
|
startedAt: string;
|
|
14549
14618
|
finishedAt: string | null;
|
|
14550
14619
|
steps: {
|
|
14551
14620
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14552
|
-
status: "
|
|
14621
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
14553
14622
|
finishedAt: string | null;
|
|
14554
14623
|
}[];
|
|
14555
14624
|
log: {
|
|
@@ -14565,13 +14634,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14565
14634
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
14566
14635
|
retryDeployment: () => Promise<{
|
|
14567
14636
|
siteId: string;
|
|
14568
|
-
status: "
|
|
14637
|
+
status: "IN_PROGRESS" | "FAILED" | "SUCCEEDED";
|
|
14569
14638
|
url: string;
|
|
14570
14639
|
startedAt: string;
|
|
14571
14640
|
finishedAt: string | null;
|
|
14572
14641
|
steps: {
|
|
14573
14642
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14574
|
-
status: "
|
|
14643
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
14575
14644
|
finishedAt: string | null;
|
|
14576
14645
|
}[];
|
|
14577
14646
|
log: {
|
|
@@ -14597,13 +14666,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14597
14666
|
domains: {
|
|
14598
14667
|
hostname: string;
|
|
14599
14668
|
kind: "PLATFORM" | "CUSTOM";
|
|
14600
|
-
status: "
|
|
14669
|
+
status: "ACTIVE" | "HELD";
|
|
14601
14670
|
isPrimary: boolean;
|
|
14602
14671
|
holdUntil: string | null;
|
|
14603
14672
|
}[];
|
|
14604
14673
|
templateId: string;
|
|
14605
|
-
sourceMode: "
|
|
14606
|
-
status: "
|
|
14674
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14675
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14607
14676
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14608
14677
|
publishedVersion: {
|
|
14609
14678
|
versionId: string;
|
|
@@ -14621,7 +14690,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14621
14690
|
createdVia?: string | null | undefined;
|
|
14622
14691
|
} | null;
|
|
14623
14692
|
provisioning: {
|
|
14624
|
-
status: "
|
|
14693
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14625
14694
|
lastErrorCode: string | null;
|
|
14626
14695
|
syncedAt: string | null;
|
|
14627
14696
|
};
|
|
@@ -14661,13 +14730,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14661
14730
|
domains: {
|
|
14662
14731
|
hostname: string;
|
|
14663
14732
|
kind: "PLATFORM" | "CUSTOM";
|
|
14664
|
-
status: "
|
|
14733
|
+
status: "ACTIVE" | "HELD";
|
|
14665
14734
|
isPrimary: boolean;
|
|
14666
14735
|
holdUntil: string | null;
|
|
14667
14736
|
}[];
|
|
14668
14737
|
templateId: string;
|
|
14669
|
-
sourceMode: "
|
|
14670
|
-
status: "
|
|
14738
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14739
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14671
14740
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14672
14741
|
publishedVersion: {
|
|
14673
14742
|
versionId: string;
|
|
@@ -14685,7 +14754,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14685
14754
|
createdVia?: string | null | undefined;
|
|
14686
14755
|
} | null;
|
|
14687
14756
|
provisioning: {
|
|
14688
|
-
status: "
|
|
14757
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14689
14758
|
lastErrorCode: string | null;
|
|
14690
14759
|
syncedAt: string | null;
|
|
14691
14760
|
};
|
|
@@ -14709,13 +14778,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14709
14778
|
domains: {
|
|
14710
14779
|
hostname: string;
|
|
14711
14780
|
kind: "PLATFORM" | "CUSTOM";
|
|
14712
|
-
status: "
|
|
14781
|
+
status: "ACTIVE" | "HELD";
|
|
14713
14782
|
isPrimary: boolean;
|
|
14714
14783
|
holdUntil: string | null;
|
|
14715
14784
|
}[];
|
|
14716
14785
|
templateId: string;
|
|
14717
|
-
sourceMode: "
|
|
14718
|
-
status: "
|
|
14786
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14787
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14719
14788
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14720
14789
|
publishedVersion: {
|
|
14721
14790
|
versionId: string;
|
|
@@ -14733,7 +14802,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14733
14802
|
createdVia?: string | null | undefined;
|
|
14734
14803
|
} | null;
|
|
14735
14804
|
provisioning: {
|
|
14736
|
-
status: "
|
|
14805
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14737
14806
|
lastErrorCode: string | null;
|
|
14738
14807
|
syncedAt: string | null;
|
|
14739
14808
|
};
|
|
@@ -14757,13 +14826,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14757
14826
|
domains: {
|
|
14758
14827
|
hostname: string;
|
|
14759
14828
|
kind: "PLATFORM" | "CUSTOM";
|
|
14760
|
-
status: "
|
|
14829
|
+
status: "ACTIVE" | "HELD";
|
|
14761
14830
|
isPrimary: boolean;
|
|
14762
14831
|
holdUntil: string | null;
|
|
14763
14832
|
}[];
|
|
14764
14833
|
templateId: string;
|
|
14765
|
-
sourceMode: "
|
|
14766
|
-
status: "
|
|
14834
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14835
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14767
14836
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14768
14837
|
publishedVersion: {
|
|
14769
14838
|
versionId: string;
|
|
@@ -14781,7 +14850,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14781
14850
|
createdVia?: string | null | undefined;
|
|
14782
14851
|
} | null;
|
|
14783
14852
|
provisioning: {
|
|
14784
|
-
status: "
|
|
14853
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14785
14854
|
lastErrorCode: string | null;
|
|
14786
14855
|
syncedAt: string | null;
|
|
14787
14856
|
};
|
|
@@ -14805,13 +14874,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14805
14874
|
domains: {
|
|
14806
14875
|
hostname: string;
|
|
14807
14876
|
kind: "PLATFORM" | "CUSTOM";
|
|
14808
|
-
status: "
|
|
14877
|
+
status: "ACTIVE" | "HELD";
|
|
14809
14878
|
isPrimary: boolean;
|
|
14810
14879
|
holdUntil: string | null;
|
|
14811
14880
|
}[];
|
|
14812
14881
|
templateId: string;
|
|
14813
|
-
sourceMode: "
|
|
14814
|
-
status: "
|
|
14882
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14883
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14815
14884
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14816
14885
|
publishedVersion: {
|
|
14817
14886
|
versionId: string;
|
|
@@ -14829,7 +14898,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14829
14898
|
createdVia?: string | null | undefined;
|
|
14830
14899
|
} | null;
|
|
14831
14900
|
provisioning: {
|
|
14832
|
-
status: "
|
|
14901
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14833
14902
|
lastErrorCode: string | null;
|
|
14834
14903
|
syncedAt: string | null;
|
|
14835
14904
|
};
|
|
@@ -14869,7 +14938,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14869
14938
|
value: string;
|
|
14870
14939
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14871
14940
|
}[];
|
|
14872
|
-
certificateStatus: "ACTIVE" | "
|
|
14941
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14873
14942
|
failureCode: string | null;
|
|
14874
14943
|
verifiedAt: string | null;
|
|
14875
14944
|
activatedAt: string | null;
|
|
@@ -14893,7 +14962,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14893
14962
|
value: string;
|
|
14894
14963
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14895
14964
|
}[];
|
|
14896
|
-
certificateStatus: "ACTIVE" | "
|
|
14965
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14897
14966
|
failureCode: string | null;
|
|
14898
14967
|
verifiedAt: string | null;
|
|
14899
14968
|
activatedAt: string | null;
|
|
@@ -14913,7 +14982,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14913
14982
|
value: string;
|
|
14914
14983
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14915
14984
|
}[];
|
|
14916
|
-
certificateStatus: "ACTIVE" | "
|
|
14985
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14917
14986
|
failureCode: string | null;
|
|
14918
14987
|
verifiedAt: string | null;
|
|
14919
14988
|
activatedAt: string | null;
|
|
@@ -14937,7 +15006,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14937
15006
|
value: string;
|
|
14938
15007
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14939
15008
|
}[];
|
|
14940
|
-
certificateStatus: "ACTIVE" | "
|
|
15009
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14941
15010
|
failureCode: string | null;
|
|
14942
15011
|
verifiedAt: string | null;
|
|
14943
15012
|
activatedAt: string | null;
|
|
@@ -14956,13 +15025,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14956
15025
|
domains: {
|
|
14957
15026
|
hostname: string;
|
|
14958
15027
|
kind: "PLATFORM" | "CUSTOM";
|
|
14959
|
-
status: "
|
|
15028
|
+
status: "ACTIVE" | "HELD";
|
|
14960
15029
|
isPrimary: boolean;
|
|
14961
15030
|
holdUntil: string | null;
|
|
14962
15031
|
}[];
|
|
14963
15032
|
templateId: string;
|
|
14964
|
-
sourceMode: "
|
|
14965
|
-
status: "
|
|
15033
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
15034
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14966
15035
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14967
15036
|
publishedVersion: {
|
|
14968
15037
|
versionId: string;
|
|
@@ -14980,7 +15049,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14980
15049
|
createdVia?: string | null | undefined;
|
|
14981
15050
|
} | null;
|
|
14982
15051
|
provisioning: {
|
|
14983
|
-
status: "
|
|
15052
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14984
15053
|
lastErrorCode: string | null;
|
|
14985
15054
|
syncedAt: string | null;
|
|
14986
15055
|
};
|
|
@@ -15140,7 +15209,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15140
15209
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
15141
15210
|
checkId: string;
|
|
15142
15211
|
check: string;
|
|
15143
|
-
status: "
|
|
15212
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
15144
15213
|
exitCode: number | null;
|
|
15145
15214
|
durationMs: number | null;
|
|
15146
15215
|
outputTail: string | null;
|
|
@@ -15154,7 +15223,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15154
15223
|
getCheck: (checkId: string) => Promise<{
|
|
15155
15224
|
checkId: string;
|
|
15156
15225
|
check: string;
|
|
15157
|
-
status: "
|
|
15226
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
15158
15227
|
exitCode: number | null;
|
|
15159
15228
|
durationMs: number | null;
|
|
15160
15229
|
outputTail: string | null;
|
|
@@ -15221,7 +15290,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15221
15290
|
buildId: string;
|
|
15222
15291
|
versionId: string;
|
|
15223
15292
|
versionNumber: number;
|
|
15224
|
-
status: "
|
|
15293
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15225
15294
|
failureStage: string | null;
|
|
15226
15295
|
errorCode: string | null;
|
|
15227
15296
|
logTail: string | null;
|
|
@@ -15302,7 +15371,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15302
15371
|
buildId: string;
|
|
15303
15372
|
versionId: string;
|
|
15304
15373
|
versionNumber: number;
|
|
15305
|
-
status: "
|
|
15374
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15306
15375
|
failureStage: string | null;
|
|
15307
15376
|
errorCode: string | null;
|
|
15308
15377
|
logTail: string | null;
|
|
@@ -15380,7 +15449,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15380
15449
|
buildId: string;
|
|
15381
15450
|
versionId: string;
|
|
15382
15451
|
versionNumber: number;
|
|
15383
|
-
status: "
|
|
15452
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15384
15453
|
failureStage: string | null;
|
|
15385
15454
|
errorCode: string | null;
|
|
15386
15455
|
logTail: string | null;
|
|
@@ -15665,7 +15734,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15665
15734
|
name: string;
|
|
15666
15735
|
storeCode: string;
|
|
15667
15736
|
storefrontUrl: string;
|
|
15668
|
-
status: "
|
|
15737
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
15669
15738
|
logoUrl: string | null;
|
|
15670
15739
|
businessNumber: string | null;
|
|
15671
15740
|
customerCenterPhone: string | null;
|
|
@@ -15713,7 +15782,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15713
15782
|
name: string;
|
|
15714
15783
|
storeCode: string;
|
|
15715
15784
|
storefrontUrl: string;
|
|
15716
|
-
status: "
|
|
15785
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
15717
15786
|
logoUrl: string | null;
|
|
15718
15787
|
businessNumber: string | null;
|
|
15719
15788
|
customerCenterPhone: string | null;
|
|
@@ -15778,7 +15847,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15778
15847
|
userId: string;
|
|
15779
15848
|
name: string;
|
|
15780
15849
|
email: string;
|
|
15781
|
-
role: "
|
|
15850
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
15782
15851
|
joinedAt: string;
|
|
15783
15852
|
lastActiveAt: string | null;
|
|
15784
15853
|
}[]>;
|
|
@@ -15795,7 +15864,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15795
15864
|
invitationId: string;
|
|
15796
15865
|
email: string;
|
|
15797
15866
|
role: "ADMIN" | "STAFF";
|
|
15798
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15867
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
15799
15868
|
invitedBy: string;
|
|
15800
15869
|
expiresAt: string;
|
|
15801
15870
|
createdAt: string;
|
|
@@ -15813,7 +15882,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15813
15882
|
invitationId: string;
|
|
15814
15883
|
email: string;
|
|
15815
15884
|
role: "ADMIN" | "STAFF";
|
|
15816
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15885
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
15817
15886
|
invitedBy: string;
|
|
15818
15887
|
expiresAt: string;
|
|
15819
15888
|
createdAt: string;
|
|
@@ -15828,7 +15897,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15828
15897
|
invitationId: string;
|
|
15829
15898
|
email: string;
|
|
15830
15899
|
role: "ADMIN" | "STAFF";
|
|
15831
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15900
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
15832
15901
|
invitedBy: string;
|
|
15833
15902
|
expiresAt: string;
|
|
15834
15903
|
createdAt: string;
|
|
@@ -16437,15 +16506,15 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
16437
16506
|
};
|
|
16438
16507
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
16439
16508
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
16509
|
+
category: "category";
|
|
16440
16510
|
flow: "flow";
|
|
16511
|
+
analytics: "analytics";
|
|
16441
16512
|
product: "product";
|
|
16442
|
-
category: "category";
|
|
16443
16513
|
order: "order";
|
|
16444
16514
|
claim: "claim";
|
|
16445
16515
|
inquiry: "inquiry";
|
|
16446
16516
|
review: "review";
|
|
16447
16517
|
settlement: "settlement";
|
|
16448
|
-
analytics: "analytics";
|
|
16449
16518
|
webhook: "webhook";
|
|
16450
16519
|
store: "store";
|
|
16451
16520
|
member: "member";
|
|
@@ -16863,8 +16932,8 @@ export declare const planEntitlementsSchema: z.ZodObject<{
|
|
|
16863
16932
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16864
16933
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16865
16934
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16866
|
-
COMMUNITY: "COMMUNITY";
|
|
16867
16935
|
EMAIL: "EMAIL";
|
|
16936
|
+
COMMUNITY: "COMMUNITY";
|
|
16868
16937
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16869
16938
|
DEDICATED: "DEDICATED";
|
|
16870
16939
|
SLA: "SLA";
|
|
@@ -16914,8 +16983,8 @@ export declare const publicPlanSchema: z.ZodObject<{
|
|
|
16914
16983
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16915
16984
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16916
16985
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16917
|
-
COMMUNITY: "COMMUNITY";
|
|
16918
16986
|
EMAIL: "EMAIL";
|
|
16987
|
+
COMMUNITY: "COMMUNITY";
|
|
16919
16988
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16920
16989
|
DEDICATED: "DEDICATED";
|
|
16921
16990
|
SLA: "SLA";
|
|
@@ -16968,8 +17037,8 @@ export declare const publicPlansSchema: z.ZodObject<{
|
|
|
16968
17037
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16969
17038
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16970
17039
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16971
|
-
COMMUNITY: "COMMUNITY";
|
|
16972
17040
|
EMAIL: "EMAIL";
|
|
17041
|
+
COMMUNITY: "COMMUNITY";
|
|
16973
17042
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16974
17043
|
DEDICATED: "DEDICATED";
|
|
16975
17044
|
SLA: "SLA";
|
|
@@ -17035,13 +17104,13 @@ export declare const orderWebhookEventDataSchema: z.ZodObject<{
|
|
|
17035
17104
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17036
17105
|
status: z.ZodEnum<{
|
|
17037
17106
|
PAID: "PAID";
|
|
17107
|
+
CANCELED: "CANCELED";
|
|
17038
17108
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17039
17109
|
CONFIRMED: "CONFIRMED";
|
|
17040
17110
|
DISPATCHED: "DISPATCHED";
|
|
17041
17111
|
DELIVERING: "DELIVERING";
|
|
17042
17112
|
DELIVERED: "DELIVERED";
|
|
17043
17113
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17044
|
-
CANCELED: "CANCELED";
|
|
17045
17114
|
}>;
|
|
17046
17115
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17047
17116
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17104,13 +17173,13 @@ export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
|
|
|
17104
17173
|
orderItemId: z.ZodString;
|
|
17105
17174
|
status: z.ZodEnum<{
|
|
17106
17175
|
PAID: "PAID";
|
|
17176
|
+
CANCELED: "CANCELED";
|
|
17107
17177
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17108
17178
|
CONFIRMED: "CONFIRMED";
|
|
17109
17179
|
DISPATCHED: "DISPATCHED";
|
|
17110
17180
|
DELIVERING: "DELIVERING";
|
|
17111
17181
|
DELIVERED: "DELIVERED";
|
|
17112
17182
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17113
|
-
CANCELED: "CANCELED";
|
|
17114
17183
|
}>;
|
|
17115
17184
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17116
17185
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17160,23 +17229,23 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
|
|
|
17160
17229
|
orderItemId: z.ZodString;
|
|
17161
17230
|
status: z.ZodEnum<{
|
|
17162
17231
|
PAID: "PAID";
|
|
17232
|
+
CANCELED: "CANCELED";
|
|
17163
17233
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17164
17234
|
CONFIRMED: "CONFIRMED";
|
|
17165
17235
|
DISPATCHED: "DISPATCHED";
|
|
17166
17236
|
DELIVERING: "DELIVERING";
|
|
17167
17237
|
DELIVERED: "DELIVERED";
|
|
17168
17238
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17169
|
-
CANCELED: "CANCELED";
|
|
17170
17239
|
}>;
|
|
17171
17240
|
itemStatus: z.ZodEnum<{
|
|
17172
17241
|
PAID: "PAID";
|
|
17242
|
+
CANCELED: "CANCELED";
|
|
17173
17243
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17174
17244
|
CONFIRMED: "CONFIRMED";
|
|
17175
17245
|
DISPATCHED: "DISPATCHED";
|
|
17176
17246
|
DELIVERING: "DELIVERING";
|
|
17177
17247
|
DELIVERED: "DELIVERED";
|
|
17178
17248
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17179
|
-
CANCELED: "CANCELED";
|
|
17180
17249
|
}>;
|
|
17181
17250
|
reason: z.ZodString;
|
|
17182
17251
|
quantity: z.ZodNumber;
|
|
@@ -17196,19 +17265,19 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
17196
17265
|
orderId: z.ZodString;
|
|
17197
17266
|
orderItemId: z.ZodString;
|
|
17198
17267
|
claimType: z.ZodEnum<{
|
|
17199
|
-
CANCEL: "CANCEL";
|
|
17200
17268
|
RETURN: "RETURN";
|
|
17201
17269
|
EXCHANGE: "EXCHANGE";
|
|
17270
|
+
CANCEL: "CANCEL";
|
|
17202
17271
|
}>;
|
|
17203
17272
|
status: z.ZodEnum<{
|
|
17273
|
+
COMPLETED: "COMPLETED";
|
|
17274
|
+
REJECTED: "REJECTED";
|
|
17204
17275
|
REQUESTED: "REQUESTED";
|
|
17205
17276
|
HELD: "HELD";
|
|
17206
17277
|
COLLECTING: "COLLECTING";
|
|
17207
17278
|
COLLECTED: "COLLECTED";
|
|
17208
17279
|
REDELIVERING: "REDELIVERING";
|
|
17209
17280
|
APPROVED: "APPROVED";
|
|
17210
|
-
REJECTED: "REJECTED";
|
|
17211
|
-
COMPLETED: "COMPLETED";
|
|
17212
17281
|
WITHDRAWN: "WITHDRAWN";
|
|
17213
17282
|
}>;
|
|
17214
17283
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17252,13 +17321,13 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
|
|
|
17252
17321
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17253
17322
|
status: z.ZodEnum<{
|
|
17254
17323
|
PAID: "PAID";
|
|
17324
|
+
CANCELED: "CANCELED";
|
|
17255
17325
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17256
17326
|
CONFIRMED: "CONFIRMED";
|
|
17257
17327
|
DISPATCHED: "DISPATCHED";
|
|
17258
17328
|
DELIVERING: "DELIVERING";
|
|
17259
17329
|
DELIVERED: "DELIVERED";
|
|
17260
17330
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17261
|
-
CANCELED: "CANCELED";
|
|
17262
17331
|
}>;
|
|
17263
17332
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17264
17333
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17323,13 +17392,13 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
|
|
|
17323
17392
|
orderItemId: z.ZodString;
|
|
17324
17393
|
status: z.ZodEnum<{
|
|
17325
17394
|
PAID: "PAID";
|
|
17395
|
+
CANCELED: "CANCELED";
|
|
17326
17396
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17327
17397
|
CONFIRMED: "CONFIRMED";
|
|
17328
17398
|
DISPATCHED: "DISPATCHED";
|
|
17329
17399
|
DELIVERING: "DELIVERING";
|
|
17330
17400
|
DELIVERED: "DELIVERED";
|
|
17331
17401
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17332
|
-
CANCELED: "CANCELED";
|
|
17333
17402
|
}>;
|
|
17334
17403
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17335
17404
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17380,23 +17449,23 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
|
|
|
17380
17449
|
orderItemId: z.ZodString;
|
|
17381
17450
|
status: z.ZodEnum<{
|
|
17382
17451
|
PAID: "PAID";
|
|
17452
|
+
CANCELED: "CANCELED";
|
|
17383
17453
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17384
17454
|
CONFIRMED: "CONFIRMED";
|
|
17385
17455
|
DISPATCHED: "DISPATCHED";
|
|
17386
17456
|
DELIVERING: "DELIVERING";
|
|
17387
17457
|
DELIVERED: "DELIVERED";
|
|
17388
17458
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17389
|
-
CANCELED: "CANCELED";
|
|
17390
17459
|
}>;
|
|
17391
17460
|
itemStatus: z.ZodEnum<{
|
|
17392
17461
|
PAID: "PAID";
|
|
17462
|
+
CANCELED: "CANCELED";
|
|
17393
17463
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17394
17464
|
CONFIRMED: "CONFIRMED";
|
|
17395
17465
|
DISPATCHED: "DISPATCHED";
|
|
17396
17466
|
DELIVERING: "DELIVERING";
|
|
17397
17467
|
DELIVERED: "DELIVERED";
|
|
17398
17468
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17399
|
-
CANCELED: "CANCELED";
|
|
17400
17469
|
}>;
|
|
17401
17470
|
reason: z.ZodString;
|
|
17402
17471
|
quantity: z.ZodNumber;
|
|
@@ -17427,19 +17496,19 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
17427
17496
|
orderId: z.ZodString;
|
|
17428
17497
|
orderItemId: z.ZodString;
|
|
17429
17498
|
claimType: z.ZodEnum<{
|
|
17430
|
-
CANCEL: "CANCEL";
|
|
17431
17499
|
RETURN: "RETURN";
|
|
17432
17500
|
EXCHANGE: "EXCHANGE";
|
|
17501
|
+
CANCEL: "CANCEL";
|
|
17433
17502
|
}>;
|
|
17434
17503
|
status: z.ZodEnum<{
|
|
17504
|
+
COMPLETED: "COMPLETED";
|
|
17505
|
+
REJECTED: "REJECTED";
|
|
17435
17506
|
REQUESTED: "REQUESTED";
|
|
17436
17507
|
HELD: "HELD";
|
|
17437
17508
|
COLLECTING: "COLLECTING";
|
|
17438
17509
|
COLLECTED: "COLLECTED";
|
|
17439
17510
|
REDELIVERING: "REDELIVERING";
|
|
17440
17511
|
APPROVED: "APPROVED";
|
|
17441
|
-
REJECTED: "REJECTED";
|
|
17442
|
-
COMPLETED: "COMPLETED";
|
|
17443
17512
|
WITHDRAWN: "WITHDRAWN";
|
|
17444
17513
|
}>;
|
|
17445
17514
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17566,13 +17635,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17566
17635
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17567
17636
|
status: z.ZodEnum<{
|
|
17568
17637
|
PAID: "PAID";
|
|
17638
|
+
CANCELED: "CANCELED";
|
|
17569
17639
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17570
17640
|
CONFIRMED: "CONFIRMED";
|
|
17571
17641
|
DISPATCHED: "DISPATCHED";
|
|
17572
17642
|
DELIVERING: "DELIVERING";
|
|
17573
17643
|
DELIVERED: "DELIVERED";
|
|
17574
17644
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17575
|
-
CANCELED: "CANCELED";
|
|
17576
17645
|
}>;
|
|
17577
17646
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17578
17647
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17636,13 +17705,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17636
17705
|
orderItemId: z.ZodString;
|
|
17637
17706
|
status: z.ZodEnum<{
|
|
17638
17707
|
PAID: "PAID";
|
|
17708
|
+
CANCELED: "CANCELED";
|
|
17639
17709
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17640
17710
|
CONFIRMED: "CONFIRMED";
|
|
17641
17711
|
DISPATCHED: "DISPATCHED";
|
|
17642
17712
|
DELIVERING: "DELIVERING";
|
|
17643
17713
|
DELIVERED: "DELIVERED";
|
|
17644
17714
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17645
|
-
CANCELED: "CANCELED";
|
|
17646
17715
|
}>;
|
|
17647
17716
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17648
17717
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17692,23 +17761,23 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17692
17761
|
orderItemId: z.ZodString;
|
|
17693
17762
|
status: z.ZodEnum<{
|
|
17694
17763
|
PAID: "PAID";
|
|
17764
|
+
CANCELED: "CANCELED";
|
|
17695
17765
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17696
17766
|
CONFIRMED: "CONFIRMED";
|
|
17697
17767
|
DISPATCHED: "DISPATCHED";
|
|
17698
17768
|
DELIVERING: "DELIVERING";
|
|
17699
17769
|
DELIVERED: "DELIVERED";
|
|
17700
17770
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17701
|
-
CANCELED: "CANCELED";
|
|
17702
17771
|
}>;
|
|
17703
17772
|
itemStatus: z.ZodEnum<{
|
|
17704
17773
|
PAID: "PAID";
|
|
17774
|
+
CANCELED: "CANCELED";
|
|
17705
17775
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17706
17776
|
CONFIRMED: "CONFIRMED";
|
|
17707
17777
|
DISPATCHED: "DISPATCHED";
|
|
17708
17778
|
DELIVERING: "DELIVERING";
|
|
17709
17779
|
DELIVERED: "DELIVERED";
|
|
17710
17780
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17711
|
-
CANCELED: "CANCELED";
|
|
17712
17781
|
}>;
|
|
17713
17782
|
reason: z.ZodString;
|
|
17714
17783
|
quantity: z.ZodNumber;
|
|
@@ -17738,19 +17807,19 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17738
17807
|
orderId: z.ZodString;
|
|
17739
17808
|
orderItemId: z.ZodString;
|
|
17740
17809
|
claimType: z.ZodEnum<{
|
|
17741
|
-
CANCEL: "CANCEL";
|
|
17742
17810
|
RETURN: "RETURN";
|
|
17743
17811
|
EXCHANGE: "EXCHANGE";
|
|
17812
|
+
CANCEL: "CANCEL";
|
|
17744
17813
|
}>;
|
|
17745
17814
|
status: z.ZodEnum<{
|
|
17815
|
+
COMPLETED: "COMPLETED";
|
|
17816
|
+
REJECTED: "REJECTED";
|
|
17746
17817
|
REQUESTED: "REQUESTED";
|
|
17747
17818
|
HELD: "HELD";
|
|
17748
17819
|
COLLECTING: "COLLECTING";
|
|
17749
17820
|
COLLECTED: "COLLECTED";
|
|
17750
17821
|
REDELIVERING: "REDELIVERING";
|
|
17751
17822
|
APPROVED: "APPROVED";
|
|
17752
|
-
REJECTED: "REJECTED";
|
|
17753
|
-
COMPLETED: "COMPLETED";
|
|
17754
17823
|
WITHDRAWN: "WITHDRAWN";
|
|
17755
17824
|
}>;
|
|
17756
17825
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|