@sayren/store-sdk 0.30.1 → 0.30.3
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 +588 -434
- package/dist/index.mjs +29 -2
- package/package.json +1 -1
- package/src/schemas/commerce-flow.ts +40 -2
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";
|
|
11
12
|
USER: "USER";
|
|
12
13
|
AGENT: "AGENT";
|
|
13
14
|
APP: "APP";
|
|
14
15
|
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";
|
|
20
21
|
USER: "USER";
|
|
21
22
|
AGENT: "AGENT";
|
|
22
23
|
APP: "APP";
|
|
23
24
|
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
|
-
FAILED: "FAILED";
|
|
37
36
|
SUCCEEDED: "SUCCEEDED";
|
|
37
|
+
FAILED: "FAILED";
|
|
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";
|
|
53
54
|
USER: "USER";
|
|
54
55
|
AGENT: "AGENT";
|
|
55
56
|
APP: "APP";
|
|
56
57
|
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
|
-
FAILED: "FAILED";
|
|
73
72
|
SUCCEEDED: "SUCCEEDED";
|
|
73
|
+
FAILED: "FAILED";
|
|
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";
|
|
90
91
|
USER: "USER";
|
|
91
92
|
AGENT: "AGENT";
|
|
92
93
|
APP: "APP";
|
|
93
94
|
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
|
-
FAILED: "FAILED";
|
|
106
105
|
SUCCEEDED: "SUCCEEDED";
|
|
106
|
+
FAILED: "FAILED";
|
|
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";
|
|
133
134
|
USER: "USER";
|
|
134
135
|
AGENT: "AGENT";
|
|
135
136
|
APP: "APP";
|
|
136
137
|
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
|
-
FAILED: "FAILED";
|
|
153
152
|
SUCCEEDED: "SUCCEEDED";
|
|
153
|
+
FAILED: "FAILED";
|
|
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";
|
|
169
168
|
DENIED: "DENIED";
|
|
170
169
|
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<{
|
|
@@ -190,9 +190,9 @@ export type WritePreview = z.infer<typeof writePreviewSchema>;
|
|
|
190
190
|
export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
191
191
|
dryRun: z.ZodLiteral<true>;
|
|
192
192
|
decision: z.ZodEnum<{
|
|
193
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
194
193
|
DENIED: "DENIED";
|
|
195
194
|
ALLOW: "ALLOW";
|
|
195
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
196
|
}>;
|
|
197
197
|
reason: z.ZodNullable<z.ZodString>;
|
|
198
198
|
preview: z.ZodObject<{
|
|
@@ -213,24 +213,24 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
213
213
|
}, z.core.$strip>;
|
|
214
214
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
215
215
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
216
|
-
|
|
217
|
-
FAILED: "FAILED";
|
|
216
|
+
REJECTED: "REJECTED";
|
|
218
217
|
SUCCEEDED: "SUCCEEDED";
|
|
218
|
+
FAILED: "FAILED";
|
|
219
|
+
PENDING: "PENDING";
|
|
219
220
|
EXECUTING: "EXECUTING";
|
|
220
221
|
UNKNOWN: "UNKNOWN";
|
|
221
|
-
REJECTED: "REJECTED";
|
|
222
222
|
EXPIRED: "EXPIRED";
|
|
223
223
|
}>;
|
|
224
224
|
export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
225
225
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
226
226
|
approvalId: z.ZodString;
|
|
227
227
|
status: z.ZodEnum<{
|
|
228
|
-
|
|
229
|
-
FAILED: "FAILED";
|
|
228
|
+
REJECTED: "REJECTED";
|
|
230
229
|
SUCCEEDED: "SUCCEEDED";
|
|
230
|
+
FAILED: "FAILED";
|
|
231
|
+
PENDING: "PENDING";
|
|
231
232
|
EXECUTING: "EXECUTING";
|
|
232
233
|
UNKNOWN: "UNKNOWN";
|
|
233
|
-
REJECTED: "REJECTED";
|
|
234
234
|
EXPIRED: "EXPIRED";
|
|
235
235
|
}>;
|
|
236
236
|
operationId: z.ZodString;
|
|
@@ -241,11 +241,11 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
241
241
|
reason: z.ZodString;
|
|
242
242
|
actor: z.ZodObject<{
|
|
243
243
|
type: z.ZodEnum<{
|
|
244
|
+
SYSTEM: "SYSTEM";
|
|
244
245
|
USER: "USER";
|
|
245
246
|
AGENT: "AGENT";
|
|
246
247
|
APP: "APP";
|
|
247
248
|
TOKEN: "TOKEN";
|
|
248
|
-
SYSTEM: "SYSTEM";
|
|
249
249
|
}>;
|
|
250
250
|
id: z.ZodString;
|
|
251
251
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -287,12 +287,12 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
287
287
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
288
288
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
289
289
|
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
|
-
FAILED: "FAILED";
|
|
290
|
+
REJECTED: "REJECTED";
|
|
292
291
|
SUCCEEDED: "SUCCEEDED";
|
|
292
|
+
FAILED: "FAILED";
|
|
293
|
+
PENDING: "PENDING";
|
|
293
294
|
EXECUTING: "EXECUTING";
|
|
294
295
|
UNKNOWN: "UNKNOWN";
|
|
295
|
-
REJECTED: "REJECTED";
|
|
296
296
|
EXPIRED: "EXPIRED";
|
|
297
297
|
}>>>>;
|
|
298
298
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -306,12 +306,12 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
306
306
|
items: z.ZodArray<z.ZodObject<{
|
|
307
307
|
approvalId: z.ZodString;
|
|
308
308
|
status: z.ZodEnum<{
|
|
309
|
-
|
|
310
|
-
FAILED: "FAILED";
|
|
309
|
+
REJECTED: "REJECTED";
|
|
311
310
|
SUCCEEDED: "SUCCEEDED";
|
|
311
|
+
FAILED: "FAILED";
|
|
312
|
+
PENDING: "PENDING";
|
|
312
313
|
EXECUTING: "EXECUTING";
|
|
313
314
|
UNKNOWN: "UNKNOWN";
|
|
314
|
-
REJECTED: "REJECTED";
|
|
315
315
|
EXPIRED: "EXPIRED";
|
|
316
316
|
}>;
|
|
317
317
|
operationId: z.ZodString;
|
|
@@ -322,11 +322,11 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
322
322
|
reason: z.ZodString;
|
|
323
323
|
actor: z.ZodObject<{
|
|
324
324
|
type: z.ZodEnum<{
|
|
325
|
+
SYSTEM: "SYSTEM";
|
|
325
326
|
USER: "USER";
|
|
326
327
|
AGENT: "AGENT";
|
|
327
328
|
APP: "APP";
|
|
328
329
|
TOKEN: "TOKEN";
|
|
329
|
-
SYSTEM: "SYSTEM";
|
|
330
330
|
}>;
|
|
331
331
|
id: z.ZodString;
|
|
332
332
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -448,11 +448,11 @@ export declare const analyticsTotalsSchema: z.ZodObject<{
|
|
|
448
448
|
export type AnalyticsTotals = z.infer<typeof analyticsTotalsSchema>;
|
|
449
449
|
export declare const analyticsFunnelStepSchema: z.ZodObject<{
|
|
450
450
|
step: z.ZodEnum<{
|
|
451
|
-
PURCHASE: "PURCHASE";
|
|
452
451
|
SESSION: "SESSION";
|
|
453
452
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
454
453
|
ADD_TO_CART: "ADD_TO_CART";
|
|
455
454
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
455
|
+
PURCHASE: "PURCHASE";
|
|
456
456
|
}>;
|
|
457
457
|
sessions: z.ZodNumber;
|
|
458
458
|
rateFromPrevious: z.ZodNullable<z.ZodNumber>;
|
|
@@ -477,11 +477,11 @@ export declare const analyticsOverviewSchema: z.ZodObject<{
|
|
|
477
477
|
}, z.core.$strip>;
|
|
478
478
|
funnel: z.ZodArray<z.ZodObject<{
|
|
479
479
|
step: z.ZodEnum<{
|
|
480
|
-
PURCHASE: "PURCHASE";
|
|
481
480
|
SESSION: "SESSION";
|
|
482
481
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
483
482
|
ADD_TO_CART: "ADD_TO_CART";
|
|
484
483
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
484
|
+
PURCHASE: "PURCHASE";
|
|
485
485
|
}>;
|
|
486
486
|
sessions: z.ZodNumber;
|
|
487
487
|
rateFromPrevious: z.ZodNullable<z.ZodNumber>;
|
|
@@ -581,20 +581,20 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
581
581
|
}, z.core.$strip>;
|
|
582
582
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
583
583
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
584
|
+
UNKNOWN: "UNKNOWN";
|
|
584
585
|
PAID: "PAID";
|
|
585
586
|
DIRECT: "DIRECT";
|
|
586
|
-
|
|
587
|
-
UNKNOWN: "UNKNOWN";
|
|
587
|
+
EMAIL: "EMAIL";
|
|
588
588
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
589
589
|
SOCIAL: "SOCIAL";
|
|
590
|
-
|
|
590
|
+
CAMPAIGN: "CAMPAIGN";
|
|
591
591
|
REFERRAL: "REFERRAL";
|
|
592
592
|
}>;
|
|
593
593
|
export type AnalyticsChannel = z.infer<typeof analyticsChannelSchema>;
|
|
594
594
|
export declare const analyticsSourceGroupBySchema: z.ZodEnum<{
|
|
595
|
+
CAMPAIGN: "CAMPAIGN";
|
|
595
596
|
CHANNEL: "CHANNEL";
|
|
596
597
|
SOURCE: "SOURCE";
|
|
597
|
-
CAMPAIGN: "CAMPAIGN";
|
|
598
598
|
DEVICE: "DEVICE";
|
|
599
599
|
}>;
|
|
600
600
|
export type AnalyticsSourceGroupBy = z.infer<typeof analyticsSourceGroupBySchema>;
|
|
@@ -606,22 +606,22 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
606
606
|
false: "false";
|
|
607
607
|
}>>;
|
|
608
608
|
groupBy: z.ZodOptional<z.ZodEnum<{
|
|
609
|
+
CAMPAIGN: "CAMPAIGN";
|
|
609
610
|
CHANNEL: "CHANNEL";
|
|
610
611
|
SOURCE: "SOURCE";
|
|
611
|
-
CAMPAIGN: "CAMPAIGN";
|
|
612
612
|
DEVICE: "DEVICE";
|
|
613
613
|
}>>;
|
|
614
614
|
}, z.core.$strip>;
|
|
615
615
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
616
616
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
617
617
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
618
|
+
UNKNOWN: "UNKNOWN";
|
|
618
619
|
PAID: "PAID";
|
|
619
620
|
DIRECT: "DIRECT";
|
|
620
|
-
|
|
621
|
-
UNKNOWN: "UNKNOWN";
|
|
621
|
+
EMAIL: "EMAIL";
|
|
622
622
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
623
623
|
SOCIAL: "SOCIAL";
|
|
624
|
-
|
|
624
|
+
CAMPAIGN: "CAMPAIGN";
|
|
625
625
|
REFERRAL: "REFERRAL";
|
|
626
626
|
}>>;
|
|
627
627
|
source: z.ZodNullable<z.ZodString>;
|
|
@@ -629,8 +629,8 @@ export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
|
629
629
|
campaign: z.ZodNullable<z.ZodString>;
|
|
630
630
|
device: z.ZodNullable<z.ZodEnum<{
|
|
631
631
|
unknown: "unknown";
|
|
632
|
-
desktop: "desktop";
|
|
633
632
|
mobile: "mobile";
|
|
633
|
+
desktop: "desktop";
|
|
634
634
|
tablet: "tablet";
|
|
635
635
|
}>>;
|
|
636
636
|
sessions: z.ZodNumber;
|
|
@@ -644,20 +644,20 @@ export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
|
644
644
|
export type AnalyticsSourceRow = z.infer<typeof analyticsSourceRowSchema>;
|
|
645
645
|
export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
646
646
|
groupBy: z.ZodEnum<{
|
|
647
|
+
CAMPAIGN: "CAMPAIGN";
|
|
647
648
|
CHANNEL: "CHANNEL";
|
|
648
649
|
SOURCE: "SOURCE";
|
|
649
|
-
CAMPAIGN: "CAMPAIGN";
|
|
650
650
|
DEVICE: "DEVICE";
|
|
651
651
|
}>;
|
|
652
652
|
rows: z.ZodArray<z.ZodObject<{
|
|
653
653
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
654
|
+
UNKNOWN: "UNKNOWN";
|
|
654
655
|
PAID: "PAID";
|
|
655
656
|
DIRECT: "DIRECT";
|
|
656
|
-
|
|
657
|
-
UNKNOWN: "UNKNOWN";
|
|
657
|
+
EMAIL: "EMAIL";
|
|
658
658
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
659
659
|
SOCIAL: "SOCIAL";
|
|
660
|
-
|
|
660
|
+
CAMPAIGN: "CAMPAIGN";
|
|
661
661
|
REFERRAL: "REFERRAL";
|
|
662
662
|
}>>;
|
|
663
663
|
source: z.ZodNullable<z.ZodString>;
|
|
@@ -665,8 +665,8 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
665
665
|
campaign: z.ZodNullable<z.ZodString>;
|
|
666
666
|
device: z.ZodNullable<z.ZodEnum<{
|
|
667
667
|
unknown: "unknown";
|
|
668
|
-
desktop: "desktop";
|
|
669
668
|
mobile: "mobile";
|
|
669
|
+
desktop: "desktop";
|
|
670
670
|
tablet: "tablet";
|
|
671
671
|
}>>;
|
|
672
672
|
sessions: z.ZodNumber;
|
|
@@ -701,8 +701,8 @@ export type AnalyticsRealtime = z.infer<typeof analyticsRealtimeSchema>;
|
|
|
701
701
|
export declare const analyticsDeviceRowSchema: z.ZodObject<{
|
|
702
702
|
device: z.ZodEnum<{
|
|
703
703
|
unknown: "unknown";
|
|
704
|
-
desktop: "desktop";
|
|
705
704
|
mobile: "mobile";
|
|
705
|
+
desktop: "desktop";
|
|
706
706
|
tablet: "tablet";
|
|
707
707
|
}>;
|
|
708
708
|
sessions: z.ZodNumber;
|
|
@@ -717,8 +717,8 @@ export declare const analyticsDevicesSchema: z.ZodObject<{
|
|
|
717
717
|
rows: z.ZodArray<z.ZodObject<{
|
|
718
718
|
device: z.ZodEnum<{
|
|
719
719
|
unknown: "unknown";
|
|
720
|
-
desktop: "desktop";
|
|
721
720
|
mobile: "mobile";
|
|
721
|
+
desktop: "desktop";
|
|
722
722
|
tablet: "tablet";
|
|
723
723
|
}>;
|
|
724
724
|
sessions: z.ZodNumber;
|
|
@@ -807,26 +807,26 @@ export declare const analyticsSearchSchema: z.ZodObject<{
|
|
|
807
807
|
}, z.core.$strip>;
|
|
808
808
|
export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
|
|
809
809
|
export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
|
|
810
|
-
OTHER: "OTHER";
|
|
811
810
|
COMPLETED: "COMPLETED";
|
|
811
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
812
812
|
NOT_OPENED: "NOT_OPENED";
|
|
813
813
|
USER_CANCELED: "USER_CANCELED";
|
|
814
814
|
DECLINED: "DECLINED";
|
|
815
815
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
816
|
-
|
|
816
|
+
OTHER: "OTHER";
|
|
817
817
|
}>;
|
|
818
818
|
export type AnalyticsCheckoutOutcome = z.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
819
819
|
export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
820
820
|
sessions: z.ZodNumber;
|
|
821
821
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
822
822
|
outcome: z.ZodEnum<{
|
|
823
|
-
OTHER: "OTHER";
|
|
824
823
|
COMPLETED: "COMPLETED";
|
|
824
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
825
825
|
NOT_OPENED: "NOT_OPENED";
|
|
826
826
|
USER_CANCELED: "USER_CANCELED";
|
|
827
827
|
DECLINED: "DECLINED";
|
|
828
828
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
829
|
-
|
|
829
|
+
OTHER: "OTHER";
|
|
830
830
|
}>;
|
|
831
831
|
sessions: z.ZodNumber;
|
|
832
832
|
}, z.core.$strip>>;
|
|
@@ -966,11 +966,11 @@ export type ApiLogSummary = z.infer<typeof apiLogSummarySchema>;
|
|
|
966
966
|
//#endregion
|
|
967
967
|
//#region src/schemas/category.d.ts
|
|
968
968
|
export declare const categoryProductSortSchema: z.ZodEnum<{
|
|
969
|
-
NAME: "NAME";
|
|
970
969
|
RECENT: "RECENT";
|
|
971
970
|
POPULAR: "POPULAR";
|
|
972
971
|
PRICE_LOW: "PRICE_LOW";
|
|
973
972
|
PRICE_HIGH: "PRICE_HIGH";
|
|
973
|
+
NAME: "NAME";
|
|
974
974
|
}>;
|
|
975
975
|
export type CategoryProductSort = z.infer<typeof categoryProductSortSchema>;
|
|
976
976
|
export declare const categorySchema: z.ZodObject<{
|
|
@@ -986,11 +986,11 @@ export declare const categorySchema: z.ZodObject<{
|
|
|
986
986
|
showPc: z.ZodBoolean;
|
|
987
987
|
showMobile: z.ZodBoolean;
|
|
988
988
|
productSort: z.ZodEnum<{
|
|
989
|
-
NAME: "NAME";
|
|
990
989
|
RECENT: "RECENT";
|
|
991
990
|
POPULAR: "POPULAR";
|
|
992
991
|
PRICE_LOW: "PRICE_LOW";
|
|
993
992
|
PRICE_HIGH: "PRICE_HIGH";
|
|
993
|
+
NAME: "NAME";
|
|
994
994
|
}>;
|
|
995
995
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
996
996
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1017,11 +1017,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1017
1017
|
showPc: z.ZodBoolean;
|
|
1018
1018
|
showMobile: z.ZodBoolean;
|
|
1019
1019
|
productSort: z.ZodEnum<{
|
|
1020
|
-
NAME: "NAME";
|
|
1021
1020
|
RECENT: "RECENT";
|
|
1022
1021
|
POPULAR: "POPULAR";
|
|
1023
1022
|
PRICE_LOW: "PRICE_LOW";
|
|
1024
1023
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1024
|
+
NAME: "NAME";
|
|
1025
1025
|
}>;
|
|
1026
1026
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1027
1027
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1043,11 +1043,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1043
1043
|
showPc: z.ZodBoolean;
|
|
1044
1044
|
showMobile: z.ZodBoolean;
|
|
1045
1045
|
productSort: z.ZodEnum<{
|
|
1046
|
-
NAME: "NAME";
|
|
1047
1046
|
RECENT: "RECENT";
|
|
1048
1047
|
POPULAR: "POPULAR";
|
|
1049
1048
|
PRICE_LOW: "PRICE_LOW";
|
|
1050
1049
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1050
|
+
NAME: "NAME";
|
|
1051
1051
|
}>;
|
|
1052
1052
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1053
1053
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1072,11 +1072,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1072
1072
|
showPc: z.ZodBoolean;
|
|
1073
1073
|
showMobile: z.ZodBoolean;
|
|
1074
1074
|
productSort: z.ZodEnum<{
|
|
1075
|
-
NAME: "NAME";
|
|
1076
1075
|
RECENT: "RECENT";
|
|
1077
1076
|
POPULAR: "POPULAR";
|
|
1078
1077
|
PRICE_LOW: "PRICE_LOW";
|
|
1079
1078
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1079
|
+
NAME: "NAME";
|
|
1080
1080
|
}>;
|
|
1081
1081
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1082
1082
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1098,11 +1098,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1098
1098
|
showPc: z.ZodBoolean;
|
|
1099
1099
|
showMobile: z.ZodBoolean;
|
|
1100
1100
|
productSort: z.ZodEnum<{
|
|
1101
|
-
NAME: "NAME";
|
|
1102
1101
|
RECENT: "RECENT";
|
|
1103
1102
|
POPULAR: "POPULAR";
|
|
1104
1103
|
PRICE_LOW: "PRICE_LOW";
|
|
1105
1104
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1105
|
+
NAME: "NAME";
|
|
1106
1106
|
}>;
|
|
1107
1107
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1108
1108
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1135,11 +1135,11 @@ export declare const categoryCreateRequestSchema: z.ZodObject<{
|
|
|
1135
1135
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1136
1136
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1137
1137
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1138
|
-
NAME: "NAME";
|
|
1139
1138
|
RECENT: "RECENT";
|
|
1140
1139
|
POPULAR: "POPULAR";
|
|
1141
1140
|
PRICE_LOW: "PRICE_LOW";
|
|
1142
1141
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1142
|
+
NAME: "NAME";
|
|
1143
1143
|
}>>;
|
|
1144
1144
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1145
1145
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1154,11 +1154,11 @@ export declare const categoryPatchRequestSchema: z.ZodObject<{
|
|
|
1154
1154
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1155
1155
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1156
1156
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1157
|
-
NAME: "NAME";
|
|
1158
1157
|
RECENT: "RECENT";
|
|
1159
1158
|
POPULAR: "POPULAR";
|
|
1160
1159
|
PRICE_LOW: "PRICE_LOW";
|
|
1161
1160
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1161
|
+
NAME: "NAME";
|
|
1162
1162
|
}>>;
|
|
1163
1163
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1164
1164
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1239,13 +1239,13 @@ export declare const bulkResultSchema: z.ZodObject<{
|
|
|
1239
1239
|
export type BulkResult = z.infer<typeof bulkResultSchema>;
|
|
1240
1240
|
export declare const orderItemStatusSchema: z.ZodEnum<{
|
|
1241
1241
|
PAID: "PAID";
|
|
1242
|
-
CANCELED: "CANCELED";
|
|
1243
1242
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1244
1243
|
CONFIRMED: "CONFIRMED";
|
|
1245
1244
|
DISPATCHED: "DISPATCHED";
|
|
1246
1245
|
DELIVERING: "DELIVERING";
|
|
1247
1246
|
DELIVERED: "DELIVERED";
|
|
1248
1247
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1248
|
+
CANCELED: "CANCELED";
|
|
1249
1249
|
}>;
|
|
1250
1250
|
export type OrderItemStatus = z.infer<typeof orderItemStatusSchema>;
|
|
1251
1251
|
export declare const changeTypeSchema: z.ZodEnum<{
|
|
@@ -1264,20 +1264,20 @@ export type ChangeType = z.infer<typeof changeTypeSchema>;
|
|
|
1264
1264
|
//#endregion
|
|
1265
1265
|
//#region src/schemas/claim.d.ts
|
|
1266
1266
|
export declare const claimTypeSchema: z.ZodEnum<{
|
|
1267
|
+
CANCEL: "CANCEL";
|
|
1267
1268
|
RETURN: "RETURN";
|
|
1268
1269
|
EXCHANGE: "EXCHANGE";
|
|
1269
|
-
CANCEL: "CANCEL";
|
|
1270
1270
|
}>;
|
|
1271
1271
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
1272
1272
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
1273
|
-
REJECTED: "REJECTED";
|
|
1274
|
-
COMPLETED: "COMPLETED";
|
|
1275
1273
|
REQUESTED: "REQUESTED";
|
|
1276
1274
|
HELD: "HELD";
|
|
1277
1275
|
COLLECTING: "COLLECTING";
|
|
1278
1276
|
COLLECTED: "COLLECTED";
|
|
1279
1277
|
REDELIVERING: "REDELIVERING";
|
|
1280
1278
|
APPROVED: "APPROVED";
|
|
1279
|
+
REJECTED: "REJECTED";
|
|
1280
|
+
COMPLETED: "COMPLETED";
|
|
1281
1281
|
WITHDRAWN: "WITHDRAWN";
|
|
1282
1282
|
}>;
|
|
1283
1283
|
export type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
@@ -1310,19 +1310,19 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1310
1310
|
claimId: z.ZodString;
|
|
1311
1311
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1312
1312
|
type: z.ZodEnum<{
|
|
1313
|
+
CANCEL: "CANCEL";
|
|
1313
1314
|
RETURN: "RETURN";
|
|
1314
1315
|
EXCHANGE: "EXCHANGE";
|
|
1315
|
-
CANCEL: "CANCEL";
|
|
1316
1316
|
}>;
|
|
1317
1317
|
status: z.ZodEnum<{
|
|
1318
|
-
REJECTED: "REJECTED";
|
|
1319
|
-
COMPLETED: "COMPLETED";
|
|
1320
1318
|
REQUESTED: "REQUESTED";
|
|
1321
1319
|
HELD: "HELD";
|
|
1322
1320
|
COLLECTING: "COLLECTING";
|
|
1323
1321
|
COLLECTED: "COLLECTED";
|
|
1324
1322
|
REDELIVERING: "REDELIVERING";
|
|
1325
1323
|
APPROVED: "APPROVED";
|
|
1324
|
+
REJECTED: "REJECTED";
|
|
1325
|
+
COMPLETED: "COMPLETED";
|
|
1326
1326
|
WITHDRAWN: "WITHDRAWN";
|
|
1327
1327
|
}>;
|
|
1328
1328
|
orderId: z.ZodString;
|
|
@@ -1386,9 +1386,9 @@ export declare const claimListQuerySchema: z.ZodObject<{
|
|
|
1386
1386
|
page: z.ZodOptional<z.ZodString>;
|
|
1387
1387
|
size: z.ZodOptional<z.ZodString>;
|
|
1388
1388
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1389
|
+
CANCEL: "CANCEL";
|
|
1389
1390
|
RETURN: "RETURN";
|
|
1390
1391
|
EXCHANGE: "EXCHANGE";
|
|
1391
|
-
CANCEL: "CANCEL";
|
|
1392
1392
|
}>>;
|
|
1393
1393
|
status: z.ZodOptional<z.ZodString>;
|
|
1394
1394
|
orderItemId: z.ZodOptional<z.ZodString>;
|
|
@@ -1400,19 +1400,19 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1400
1400
|
claimId: z.ZodString;
|
|
1401
1401
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1402
1402
|
type: z.ZodEnum<{
|
|
1403
|
+
CANCEL: "CANCEL";
|
|
1403
1404
|
RETURN: "RETURN";
|
|
1404
1405
|
EXCHANGE: "EXCHANGE";
|
|
1405
|
-
CANCEL: "CANCEL";
|
|
1406
1406
|
}>;
|
|
1407
1407
|
status: z.ZodEnum<{
|
|
1408
|
-
REJECTED: "REJECTED";
|
|
1409
|
-
COMPLETED: "COMPLETED";
|
|
1410
1408
|
REQUESTED: "REQUESTED";
|
|
1411
1409
|
HELD: "HELD";
|
|
1412
1410
|
COLLECTING: "COLLECTING";
|
|
1413
1411
|
COLLECTED: "COLLECTED";
|
|
1414
1412
|
REDELIVERING: "REDELIVERING";
|
|
1415
1413
|
APPROVED: "APPROVED";
|
|
1414
|
+
REJECTED: "REJECTED";
|
|
1415
|
+
COMPLETED: "COMPLETED";
|
|
1416
1416
|
WITHDRAWN: "WITHDRAWN";
|
|
1417
1417
|
}>;
|
|
1418
1418
|
orderId: z.ZodString;
|
|
@@ -1463,20 +1463,20 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1463
1463
|
}, z.core.$strip>>;
|
|
1464
1464
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1465
1465
|
status: z.ZodEnum<{
|
|
1466
|
-
REJECTED: "REJECTED";
|
|
1467
|
-
COMPLETED: "COMPLETED";
|
|
1468
1466
|
REQUESTED: "REQUESTED";
|
|
1469
1467
|
HELD: "HELD";
|
|
1470
1468
|
COLLECTING: "COLLECTING";
|
|
1471
1469
|
COLLECTED: "COLLECTED";
|
|
1472
1470
|
REDELIVERING: "REDELIVERING";
|
|
1473
1471
|
APPROVED: "APPROVED";
|
|
1472
|
+
REJECTED: "REJECTED";
|
|
1473
|
+
COMPLETED: "COMPLETED";
|
|
1474
1474
|
WITHDRAWN: "WITHDRAWN";
|
|
1475
1475
|
}>;
|
|
1476
1476
|
actor: z.ZodEnum<{
|
|
1477
|
-
SYSTEM: "SYSTEM";
|
|
1478
1477
|
BUYER: "BUYER";
|
|
1479
1478
|
SELLER: "SELLER";
|
|
1479
|
+
SYSTEM: "SYSTEM";
|
|
1480
1480
|
}>;
|
|
1481
1481
|
occurredAt: z.ZodString;
|
|
1482
1482
|
}, z.core.$strip>>>;
|
|
@@ -1490,11 +1490,11 @@ export declare const claimHoldResultSchema: z.ZodObject<{
|
|
|
1490
1490
|
export type ClaimHoldResult = z.infer<typeof claimHoldResultSchema>;
|
|
1491
1491
|
export declare const rejectClaimRequestSchema: z.ZodObject<{
|
|
1492
1492
|
reason: z.ZodEnum<{
|
|
1493
|
-
ETC: "ETC";
|
|
1494
1493
|
USED_PRODUCT: "USED_PRODUCT";
|
|
1495
1494
|
MISSING_COMPONENT: "MISSING_COMPONENT";
|
|
1496
1495
|
PERIOD_EXPIRED: "PERIOD_EXPIRED";
|
|
1497
1496
|
BUYER_FAULT_DAMAGE: "BUYER_FAULT_DAMAGE";
|
|
1497
|
+
ETC: "ETC";
|
|
1498
1498
|
}>;
|
|
1499
1499
|
detail: z.ZodString;
|
|
1500
1500
|
evidenceImages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -1556,8 +1556,8 @@ export declare const collectionProductSortRequestSchema: z.ZodEnum<{
|
|
|
1556
1556
|
/** 노출 상태 — 노출 여부와 기간에서 나온 값이다. 숨김이 기간보다 앞선다 */
|
|
1557
1557
|
export declare const collectionStateSchema: z.ZodEnum<{
|
|
1558
1558
|
ACTIVE: "ACTIVE";
|
|
1559
|
-
ENDED: "ENDED";
|
|
1560
1559
|
SCHEDULED: "SCHEDULED";
|
|
1560
|
+
ENDED: "ENDED";
|
|
1561
1561
|
HIDDEN: "HIDDEN";
|
|
1562
1562
|
}>;
|
|
1563
1563
|
export type CollectionState = z.infer<typeof collectionStateSchema>;
|
|
@@ -1737,8 +1737,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
|
1737
1737
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
1738
1738
|
state: z.ZodEnum<{
|
|
1739
1739
|
ACTIVE: "ACTIVE";
|
|
1740
|
-
ENDED: "ENDED";
|
|
1741
1740
|
SCHEDULED: "SCHEDULED";
|
|
1741
|
+
ENDED: "ENDED";
|
|
1742
1742
|
HIDDEN: "HIDDEN";
|
|
1743
1743
|
}>;
|
|
1744
1744
|
salesComputedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1918,8 +1918,8 @@ export declare const collectionPageSchema: z.ZodObject<{
|
|
|
1918
1918
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
1919
1919
|
state: z.ZodEnum<{
|
|
1920
1920
|
ACTIVE: "ACTIVE";
|
|
1921
|
-
ENDED: "ENDED";
|
|
1922
1921
|
SCHEDULED: "SCHEDULED";
|
|
1922
|
+
ENDED: "ENDED";
|
|
1923
1923
|
HIDDEN: "HIDDEN";
|
|
1924
1924
|
}>;
|
|
1925
1925
|
salesComputedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1954,8 +1954,8 @@ export declare const collectionListQuerySchema: z.ZodObject<{
|
|
|
1954
1954
|
}>>;
|
|
1955
1955
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1956
1956
|
ACTIVE: "ACTIVE";
|
|
1957
|
-
ENDED: "ENDED";
|
|
1958
1957
|
SCHEDULED: "SCHEDULED";
|
|
1958
|
+
ENDED: "ENDED";
|
|
1959
1959
|
HIDDEN: "HIDDEN";
|
|
1960
1960
|
}>>;
|
|
1961
1961
|
productId: z.ZodOptional<z.ZodString>;
|
|
@@ -2024,9 +2024,17 @@ export declare const flowInputFieldSchema: z.ZodObject<{
|
|
|
2024
2024
|
type: z.ZodString;
|
|
2025
2025
|
required: z.ZodBoolean;
|
|
2026
2026
|
label: z.ZodString;
|
|
2027
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2027
2028
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2028
2029
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2029
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2030
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2031
|
+
value: z.ZodString;
|
|
2032
|
+
label: z.ZodString;
|
|
2033
|
+
}, z.core.$strip>]>>>;
|
|
2034
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2035
|
+
key: z.ZodString;
|
|
2036
|
+
in: z.ZodArray<z.ZodString>;
|
|
2037
|
+
}, z.core.$strip>>;
|
|
2030
2038
|
}, z.core.$strip>;
|
|
2031
2039
|
export type FlowInputField = z.infer<typeof flowInputFieldSchema>;
|
|
2032
2040
|
export declare const flowActionSchema: z.ZodObject<{
|
|
@@ -2049,9 +2057,17 @@ export declare const flowActionSchema: z.ZodObject<{
|
|
|
2049
2057
|
type: z.ZodString;
|
|
2050
2058
|
required: z.ZodBoolean;
|
|
2051
2059
|
label: z.ZodString;
|
|
2060
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2052
2061
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2053
2062
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2054
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2063
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2064
|
+
value: z.ZodString;
|
|
2065
|
+
label: z.ZodString;
|
|
2066
|
+
}, z.core.$strip>]>>>;
|
|
2067
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2068
|
+
key: z.ZodString;
|
|
2069
|
+
in: z.ZodArray<z.ZodString>;
|
|
2070
|
+
}, z.core.$strip>>;
|
|
2055
2071
|
}, z.core.$strip>>>;
|
|
2056
2072
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2057
2073
|
}, z.core.$strip>;
|
|
@@ -2064,29 +2080,39 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
2064
2080
|
label: z.ZodString;
|
|
2065
2081
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2066
2082
|
PAID: "PAID";
|
|
2067
|
-
CANCELED: "CANCELED";
|
|
2068
2083
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2069
2084
|
CONFIRMED: "CONFIRMED";
|
|
2070
2085
|
DISPATCHED: "DISPATCHED";
|
|
2071
2086
|
DELIVERING: "DELIVERING";
|
|
2072
2087
|
DELIVERED: "DELIVERED";
|
|
2073
2088
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2089
|
+
CANCELED: "CANCELED";
|
|
2074
2090
|
}>>;
|
|
2075
2091
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2076
|
-
REJECTED: "REJECTED";
|
|
2077
|
-
COMPLETED: "COMPLETED";
|
|
2078
2092
|
REQUESTED: "REQUESTED";
|
|
2079
2093
|
HELD: "HELD";
|
|
2080
2094
|
COLLECTING: "COLLECTING";
|
|
2081
2095
|
COLLECTED: "COLLECTED";
|
|
2082
2096
|
REDELIVERING: "REDELIVERING";
|
|
2083
2097
|
APPROVED: "APPROVED";
|
|
2098
|
+
REJECTED: "REJECTED";
|
|
2099
|
+
COMPLETED: "COMPLETED";
|
|
2084
2100
|
WITHDRAWN: "WITHDRAWN";
|
|
2085
2101
|
}>>;
|
|
2086
2102
|
message: z.ZodOptional<z.ZodString>;
|
|
2087
2103
|
enteredAt: z.ZodString;
|
|
2088
2104
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2089
2105
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2106
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2107
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
2108
|
+
by: z.ZodString;
|
|
2109
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2110
|
+
key: z.ZodString;
|
|
2111
|
+
label: z.ZodString;
|
|
2112
|
+
type: z.ZodString;
|
|
2113
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
2114
|
+
}, z.core.$strip>>;
|
|
2115
|
+
}, z.core.$strip>>;
|
|
2090
2116
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
2091
2117
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
2092
2118
|
}, z.core.$strip>;
|
|
@@ -2102,29 +2128,39 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2102
2128
|
label: z.ZodString;
|
|
2103
2129
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2104
2130
|
PAID: "PAID";
|
|
2105
|
-
CANCELED: "CANCELED";
|
|
2106
2131
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2107
2132
|
CONFIRMED: "CONFIRMED";
|
|
2108
2133
|
DISPATCHED: "DISPATCHED";
|
|
2109
2134
|
DELIVERING: "DELIVERING";
|
|
2110
2135
|
DELIVERED: "DELIVERED";
|
|
2111
2136
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2137
|
+
CANCELED: "CANCELED";
|
|
2112
2138
|
}>>;
|
|
2113
2139
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2114
|
-
REJECTED: "REJECTED";
|
|
2115
|
-
COMPLETED: "COMPLETED";
|
|
2116
2140
|
REQUESTED: "REQUESTED";
|
|
2117
2141
|
HELD: "HELD";
|
|
2118
2142
|
COLLECTING: "COLLECTING";
|
|
2119
2143
|
COLLECTED: "COLLECTED";
|
|
2120
2144
|
REDELIVERING: "REDELIVERING";
|
|
2121
2145
|
APPROVED: "APPROVED";
|
|
2146
|
+
REJECTED: "REJECTED";
|
|
2147
|
+
COMPLETED: "COMPLETED";
|
|
2122
2148
|
WITHDRAWN: "WITHDRAWN";
|
|
2123
2149
|
}>>;
|
|
2124
2150
|
message: z.ZodOptional<z.ZodString>;
|
|
2125
2151
|
enteredAt: z.ZodString;
|
|
2126
2152
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2127
2153
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2154
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2155
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
2156
|
+
by: z.ZodString;
|
|
2157
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2158
|
+
key: z.ZodString;
|
|
2159
|
+
label: z.ZodString;
|
|
2160
|
+
type: z.ZodString;
|
|
2161
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
2162
|
+
}, z.core.$strip>>;
|
|
2163
|
+
}, z.core.$strip>>;
|
|
2128
2164
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
2129
2165
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
2130
2166
|
}, z.core.$strip>;
|
|
@@ -2148,9 +2184,17 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2148
2184
|
type: z.ZodString;
|
|
2149
2185
|
required: z.ZodBoolean;
|
|
2150
2186
|
label: z.ZodString;
|
|
2187
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2151
2188
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2152
2189
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2153
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2190
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2191
|
+
value: z.ZodString;
|
|
2192
|
+
label: z.ZodString;
|
|
2193
|
+
}, z.core.$strip>]>>>;
|
|
2194
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2195
|
+
key: z.ZodString;
|
|
2196
|
+
in: z.ZodArray<z.ZodString>;
|
|
2197
|
+
}, z.core.$strip>>;
|
|
2154
2198
|
}, z.core.$strip>>>;
|
|
2155
2199
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2156
2200
|
}, z.core.$strip>>;
|
|
@@ -2165,13 +2209,13 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2165
2209
|
label: z.ZodString;
|
|
2166
2210
|
coreStatus: z.ZodNullable<z.ZodEnum<{
|
|
2167
2211
|
PAID: "PAID";
|
|
2168
|
-
CANCELED: "CANCELED";
|
|
2169
2212
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2170
2213
|
CONFIRMED: "CONFIRMED";
|
|
2171
2214
|
DISPATCHED: "DISPATCHED";
|
|
2172
2215
|
DELIVERING: "DELIVERING";
|
|
2173
2216
|
DELIVERED: "DELIVERED";
|
|
2174
2217
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2218
|
+
CANCELED: "CANCELED";
|
|
2175
2219
|
}>>;
|
|
2176
2220
|
}, z.core.$strip>>>;
|
|
2177
2221
|
branches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2179,29 +2223,39 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2179
2223
|
label: z.ZodString;
|
|
2180
2224
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2181
2225
|
PAID: "PAID";
|
|
2182
|
-
CANCELED: "CANCELED";
|
|
2183
2226
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2184
2227
|
CONFIRMED: "CONFIRMED";
|
|
2185
2228
|
DISPATCHED: "DISPATCHED";
|
|
2186
2229
|
DELIVERING: "DELIVERING";
|
|
2187
2230
|
DELIVERED: "DELIVERED";
|
|
2188
2231
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2232
|
+
CANCELED: "CANCELED";
|
|
2189
2233
|
}>>;
|
|
2190
2234
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2191
|
-
REJECTED: "REJECTED";
|
|
2192
|
-
COMPLETED: "COMPLETED";
|
|
2193
2235
|
REQUESTED: "REQUESTED";
|
|
2194
2236
|
HELD: "HELD";
|
|
2195
2237
|
COLLECTING: "COLLECTING";
|
|
2196
2238
|
COLLECTED: "COLLECTED";
|
|
2197
2239
|
REDELIVERING: "REDELIVERING";
|
|
2198
2240
|
APPROVED: "APPROVED";
|
|
2241
|
+
REJECTED: "REJECTED";
|
|
2242
|
+
COMPLETED: "COMPLETED";
|
|
2199
2243
|
WITHDRAWN: "WITHDRAWN";
|
|
2200
2244
|
}>>;
|
|
2201
2245
|
message: z.ZodOptional<z.ZodString>;
|
|
2202
2246
|
enteredAt: z.ZodString;
|
|
2203
2247
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2204
2248
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2249
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2250
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
2251
|
+
by: z.ZodString;
|
|
2252
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2253
|
+
key: z.ZodString;
|
|
2254
|
+
label: z.ZodString;
|
|
2255
|
+
type: z.ZodString;
|
|
2256
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
2257
|
+
}, z.core.$strip>>;
|
|
2258
|
+
}, z.core.$strip>>;
|
|
2205
2259
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
2206
2260
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
2207
2261
|
}, z.core.$strip>>>;
|
|
@@ -2260,29 +2314,39 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2260
2314
|
label: z.ZodString;
|
|
2261
2315
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2262
2316
|
PAID: "PAID";
|
|
2263
|
-
CANCELED: "CANCELED";
|
|
2264
2317
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2265
2318
|
CONFIRMED: "CONFIRMED";
|
|
2266
2319
|
DISPATCHED: "DISPATCHED";
|
|
2267
2320
|
DELIVERING: "DELIVERING";
|
|
2268
2321
|
DELIVERED: "DELIVERED";
|
|
2269
2322
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2323
|
+
CANCELED: "CANCELED";
|
|
2270
2324
|
}>>;
|
|
2271
2325
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2272
|
-
REJECTED: "REJECTED";
|
|
2273
|
-
COMPLETED: "COMPLETED";
|
|
2274
2326
|
REQUESTED: "REQUESTED";
|
|
2275
2327
|
HELD: "HELD";
|
|
2276
2328
|
COLLECTING: "COLLECTING";
|
|
2277
2329
|
COLLECTED: "COLLECTED";
|
|
2278
2330
|
REDELIVERING: "REDELIVERING";
|
|
2279
2331
|
APPROVED: "APPROVED";
|
|
2332
|
+
REJECTED: "REJECTED";
|
|
2333
|
+
COMPLETED: "COMPLETED";
|
|
2280
2334
|
WITHDRAWN: "WITHDRAWN";
|
|
2281
2335
|
}>>;
|
|
2282
2336
|
message: z.ZodOptional<z.ZodString>;
|
|
2283
2337
|
enteredAt: z.ZodString;
|
|
2284
2338
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2285
2339
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2340
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2341
|
+
inputs: z.ZodOptional<z.ZodObject<{
|
|
2342
|
+
by: z.ZodString;
|
|
2343
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2344
|
+
key: z.ZodString;
|
|
2345
|
+
label: z.ZodString;
|
|
2346
|
+
type: z.ZodString;
|
|
2347
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>;
|
|
2348
|
+
}, z.core.$strip>>;
|
|
2349
|
+
}, z.core.$strip>>;
|
|
2286
2350
|
progress: z.ZodOptional<z.ZodBoolean>;
|
|
2287
2351
|
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
2288
2352
|
}, z.core.$strip>;
|
|
@@ -2306,9 +2370,17 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2306
2370
|
type: z.ZodString;
|
|
2307
2371
|
required: z.ZodBoolean;
|
|
2308
2372
|
label: z.ZodString;
|
|
2373
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2309
2374
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2310
2375
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2311
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2376
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2377
|
+
value: z.ZodString;
|
|
2378
|
+
label: z.ZodString;
|
|
2379
|
+
}, z.core.$strip>]>>>;
|
|
2380
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2381
|
+
key: z.ZodString;
|
|
2382
|
+
in: z.ZodArray<z.ZodString>;
|
|
2383
|
+
}, z.core.$strip>>;
|
|
2312
2384
|
}, z.core.$strip>>>;
|
|
2313
2385
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2314
2386
|
}, z.core.$strip>>;
|
|
@@ -2494,8 +2566,8 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
2494
2566
|
results: z.ZodArray<z.ZodObject<{
|
|
2495
2567
|
orderItemId: z.ZodString;
|
|
2496
2568
|
status: z.ZodEnum<{
|
|
2497
|
-
FAILED: "FAILED";
|
|
2498
2569
|
COMPLETED: "COMPLETED";
|
|
2570
|
+
FAILED: "FAILED";
|
|
2499
2571
|
SKIPPED: "SKIPPED";
|
|
2500
2572
|
}>;
|
|
2501
2573
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3004,8 +3076,8 @@ export type ConsentAction = z.infer<typeof consentActionSchema>;
|
|
|
3004
3076
|
* `RECONSENT` 약관 개정 재동의 · `MEMBER_UPDATE` 구매자가 직접 변경 · `SELLER` 셀러가 처리
|
|
3005
3077
|
*/
|
|
3006
3078
|
export declare const consentSourceSchema: z.ZodEnum<{
|
|
3007
|
-
SIGNUP: "SIGNUP";
|
|
3008
3079
|
SELLER: "SELLER";
|
|
3080
|
+
SIGNUP: "SIGNUP";
|
|
3009
3081
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3010
3082
|
DELEGATED: "DELEGATED";
|
|
3011
3083
|
RECONSENT: "RECONSENT";
|
|
@@ -3027,8 +3099,8 @@ export declare const customerConsentSchema: z.ZodObject<{
|
|
|
3027
3099
|
AGREED: "AGREED";
|
|
3028
3100
|
}>;
|
|
3029
3101
|
source: z.ZodEnum<{
|
|
3030
|
-
SIGNUP: "SIGNUP";
|
|
3031
3102
|
SELLER: "SELLER";
|
|
3103
|
+
SIGNUP: "SIGNUP";
|
|
3032
3104
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3033
3105
|
DELEGATED: "DELEGATED";
|
|
3034
3106
|
RECONSENT: "RECONSENT";
|
|
@@ -3198,13 +3270,13 @@ export declare const customerOrderSchema: z.ZodObject<{
|
|
|
3198
3270
|
quantity: z.ZodNumber;
|
|
3199
3271
|
status: z.ZodEnum<{
|
|
3200
3272
|
PAID: "PAID";
|
|
3201
|
-
CANCELED: "CANCELED";
|
|
3202
3273
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3203
3274
|
CONFIRMED: "CONFIRMED";
|
|
3204
3275
|
DISPATCHED: "DISPATCHED";
|
|
3205
3276
|
DELIVERING: "DELIVERING";
|
|
3206
3277
|
DELIVERED: "DELIVERED";
|
|
3207
3278
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3279
|
+
CANCELED: "CANCELED";
|
|
3208
3280
|
}>;
|
|
3209
3281
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
3210
3282
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -3217,10 +3289,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
3217
3289
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
3218
3290
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
3219
3291
|
reason: z.ZodEnum<{
|
|
3292
|
+
OTHER: "OTHER";
|
|
3220
3293
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
3221
3294
|
DORMANT: "DORMANT";
|
|
3222
3295
|
ABUSE: "ABUSE";
|
|
3223
|
-
OTHER: "OTHER";
|
|
3224
3296
|
}>;
|
|
3225
3297
|
memo: z.ZodOptional<z.ZodString>;
|
|
3226
3298
|
}, z.core.$strip>;
|
|
@@ -3649,11 +3721,11 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3649
3721
|
productName: z.ZodString;
|
|
3650
3722
|
orderItemId: z.ZodNullable<z.ZodString>;
|
|
3651
3723
|
category: z.ZodEnum<{
|
|
3724
|
+
RETURN: "RETURN";
|
|
3725
|
+
EXCHANGE: "EXCHANGE";
|
|
3652
3726
|
ETC: "ETC";
|
|
3653
3727
|
PRODUCT: "PRODUCT";
|
|
3654
3728
|
DELIVERY: "DELIVERY";
|
|
3655
|
-
RETURN: "RETURN";
|
|
3656
|
-
EXCHANGE: "EXCHANGE";
|
|
3657
3729
|
}>;
|
|
3658
3730
|
content: z.ZodString;
|
|
3659
3731
|
secret: z.ZodBoolean;
|
|
@@ -3668,10 +3740,10 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3668
3740
|
}, z.core.$strip>;
|
|
3669
3741
|
export type Inquiry = z.infer<typeof inquirySchema>;
|
|
3670
3742
|
export declare const customerInquiryCategorySchema: z.ZodEnum<{
|
|
3671
|
-
ETC: "ETC";
|
|
3672
|
-
DELIVERY: "DELIVERY";
|
|
3673
3743
|
RETURN: "RETURN";
|
|
3674
3744
|
EXCHANGE: "EXCHANGE";
|
|
3745
|
+
ETC: "ETC";
|
|
3746
|
+
DELIVERY: "DELIVERY";
|
|
3675
3747
|
PAYMENT: "PAYMENT";
|
|
3676
3748
|
}>;
|
|
3677
3749
|
export type CustomerInquiryCategory = z.infer<typeof customerInquiryCategorySchema>;
|
|
@@ -3680,10 +3752,10 @@ export declare const sellerCustomerInquirySchema: z.ZodObject<{
|
|
|
3680
3752
|
inquiryId: z.ZodString;
|
|
3681
3753
|
memberMaskedName: z.ZodString;
|
|
3682
3754
|
category: z.ZodEnum<{
|
|
3683
|
-
ETC: "ETC";
|
|
3684
|
-
DELIVERY: "DELIVERY";
|
|
3685
3755
|
RETURN: "RETURN";
|
|
3686
3756
|
EXCHANGE: "EXCHANGE";
|
|
3757
|
+
ETC: "ETC";
|
|
3758
|
+
DELIVERY: "DELIVERY";
|
|
3687
3759
|
PAYMENT: "PAYMENT";
|
|
3688
3760
|
}>;
|
|
3689
3761
|
title: z.ZodString;
|
|
@@ -3718,18 +3790,18 @@ export declare const customerInquiryListQuerySchema: z.ZodObject<{
|
|
|
3718
3790
|
false: "false";
|
|
3719
3791
|
}>>;
|
|
3720
3792
|
category: z.ZodOptional<z.ZodEnum<{
|
|
3721
|
-
ETC: "ETC";
|
|
3722
|
-
DELIVERY: "DELIVERY";
|
|
3723
3793
|
RETURN: "RETURN";
|
|
3724
3794
|
EXCHANGE: "EXCHANGE";
|
|
3795
|
+
ETC: "ETC";
|
|
3796
|
+
DELIVERY: "DELIVERY";
|
|
3725
3797
|
PAYMENT: "PAYMENT";
|
|
3726
3798
|
}>>;
|
|
3727
3799
|
from: z.ZodOptional<z.ZodString>;
|
|
3728
3800
|
}, z.core.$strip>;
|
|
3729
3801
|
export declare const settlementStatusSchema: z.ZodEnum<{
|
|
3802
|
+
HELD: "HELD";
|
|
3730
3803
|
PAID: "PAID";
|
|
3731
3804
|
SCHEDULED: "SCHEDULED";
|
|
3732
|
-
HELD: "HELD";
|
|
3733
3805
|
}>;
|
|
3734
3806
|
export type SettlementStatus = z.infer<typeof settlementStatusSchema>;
|
|
3735
3807
|
export declare const settlementSummarySchema: z.ZodObject<{
|
|
@@ -3737,9 +3809,9 @@ export declare const settlementSummarySchema: z.ZodObject<{
|
|
|
3737
3809
|
settlementDate: z.ZodString;
|
|
3738
3810
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3739
3811
|
status: z.ZodEnum<{
|
|
3812
|
+
HELD: "HELD";
|
|
3740
3813
|
PAID: "PAID";
|
|
3741
3814
|
SCHEDULED: "SCHEDULED";
|
|
3742
|
-
HELD: "HELD";
|
|
3743
3815
|
}>;
|
|
3744
3816
|
totalPaymentAmount: z.ZodNumber;
|
|
3745
3817
|
totalCommission: z.ZodNumber;
|
|
@@ -3772,9 +3844,9 @@ export declare const settlementWithDetailsSchema: z.ZodObject<{
|
|
|
3772
3844
|
settlementDate: z.ZodString;
|
|
3773
3845
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3774
3846
|
status: z.ZodEnum<{
|
|
3847
|
+
HELD: "HELD";
|
|
3775
3848
|
PAID: "PAID";
|
|
3776
3849
|
SCHEDULED: "SCHEDULED";
|
|
3777
|
-
HELD: "HELD";
|
|
3778
3850
|
}>;
|
|
3779
3851
|
totalPaymentAmount: z.ZodNumber;
|
|
3780
3852
|
totalCommission: z.ZodNumber;
|
|
@@ -3807,9 +3879,9 @@ export declare const settlementListQuerySchema: z.ZodObject<{
|
|
|
3807
3879
|
from: z.ZodString;
|
|
3808
3880
|
to: z.ZodOptional<z.ZodString>;
|
|
3809
3881
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3882
|
+
HELD: "HELD";
|
|
3810
3883
|
PAID: "PAID";
|
|
3811
3884
|
SCHEDULED: "SCHEDULED";
|
|
3812
|
-
HELD: "HELD";
|
|
3813
3885
|
}>>;
|
|
3814
3886
|
}, z.core.$strip>;
|
|
3815
3887
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -3829,8 +3901,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3829
3901
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3830
3902
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3831
3903
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3832
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3833
3904
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3905
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3834
3906
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3835
3907
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3836
3908
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3843,8 +3915,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3843
3915
|
}>;
|
|
3844
3916
|
export type EventType = z.infer<typeof eventTypeSchema>;
|
|
3845
3917
|
export declare const webhookStatusSchema: z.ZodEnum<{
|
|
3846
|
-
SUSPENDED: "SUSPENDED";
|
|
3847
3918
|
ACTIVE: "ACTIVE";
|
|
3919
|
+
SUSPENDED: "SUSPENDED";
|
|
3848
3920
|
}>;
|
|
3849
3921
|
export type WebhookStatus = z.infer<typeof webhookStatusSchema>;
|
|
3850
3922
|
export declare const webhookSchema: z.ZodObject<{
|
|
@@ -3857,8 +3929,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3857
3929
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3858
3930
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3859
3931
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3860
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3861
3932
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3933
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3862
3934
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3863
3935
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3864
3936
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3870,8 +3942,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3870
3942
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3871
3943
|
}>>;
|
|
3872
3944
|
status: z.ZodEnum<{
|
|
3873
|
-
SUSPENDED: "SUSPENDED";
|
|
3874
3945
|
ACTIVE: "ACTIVE";
|
|
3946
|
+
SUSPENDED: "SUSPENDED";
|
|
3875
3947
|
}>;
|
|
3876
3948
|
secretPrefix: z.ZodString;
|
|
3877
3949
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3889,8 +3961,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3889
3961
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3890
3962
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3891
3963
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3892
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3893
3964
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3965
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3894
3966
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3895
3967
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3896
3968
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3902,8 +3974,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3902
3974
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3903
3975
|
}>>;
|
|
3904
3976
|
status: z.ZodEnum<{
|
|
3905
|
-
SUSPENDED: "SUSPENDED";
|
|
3906
3977
|
ACTIVE: "ACTIVE";
|
|
3978
|
+
SUSPENDED: "SUSPENDED";
|
|
3907
3979
|
}>;
|
|
3908
3980
|
secretPrefix: z.ZodString;
|
|
3909
3981
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3918,10 +3990,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
3918
3990
|
}, z.core.$strip>;
|
|
3919
3991
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
3920
3992
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
3993
|
+
FAILED: "FAILED";
|
|
3921
3994
|
PENDING: "PENDING";
|
|
3922
3995
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3923
3996
|
SUCCESS: "SUCCESS";
|
|
3924
|
-
FAILED: "FAILED";
|
|
3925
3997
|
}>;
|
|
3926
3998
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
3927
3999
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -3971,8 +4043,8 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
3971
4043
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3972
4044
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3973
4045
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3974
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3975
4046
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4047
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3976
4048
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3977
4049
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3978
4050
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3985,10 +4057,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
3985
4057
|
}>;
|
|
3986
4058
|
url: z.ZodString;
|
|
3987
4059
|
status: z.ZodEnum<{
|
|
4060
|
+
FAILED: "FAILED";
|
|
3988
4061
|
PENDING: "PENDING";
|
|
3989
4062
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3990
4063
|
SUCCESS: "SUCCESS";
|
|
3991
|
-
FAILED: "FAILED";
|
|
3992
4064
|
}>;
|
|
3993
4065
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
3994
4066
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4026,8 +4098,8 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4026
4098
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4027
4099
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4028
4100
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4029
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4030
4101
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4102
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4031
4103
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4032
4104
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4033
4105
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4040,10 +4112,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4040
4112
|
}>;
|
|
4041
4113
|
url: z.ZodString;
|
|
4042
4114
|
status: z.ZodEnum<{
|
|
4115
|
+
FAILED: "FAILED";
|
|
4043
4116
|
PENDING: "PENDING";
|
|
4044
4117
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4045
4118
|
SUCCESS: "SUCCESS";
|
|
4046
|
-
FAILED: "FAILED";
|
|
4047
4119
|
}>;
|
|
4048
4120
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4049
4121
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4078,10 +4150,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
4078
4150
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
4079
4151
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
4080
4152
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4153
|
+
FAILED: "FAILED";
|
|
4081
4154
|
PENDING: "PENDING";
|
|
4082
4155
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4083
4156
|
SUCCESS: "SUCCESS";
|
|
4084
|
-
FAILED: "FAILED";
|
|
4085
4157
|
}>>;
|
|
4086
4158
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
4087
4159
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -4090,8 +4162,8 @@ export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
|
4090
4162
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4091
4163
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4092
4164
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4093
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4094
4165
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4166
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4095
4167
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4096
4168
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4097
4169
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4119,8 +4191,8 @@ export declare const webhookTestRequestSchema: z.ZodObject<{
|
|
|
4119
4191
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4120
4192
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4121
4193
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4122
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4123
4194
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4195
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4124
4196
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4125
4197
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4126
4198
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4162,8 +4234,8 @@ export declare const webhookRequestSchema: z.ZodObject<{
|
|
|
4162
4234
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4163
4235
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4164
4236
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4165
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4166
4237
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4238
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4167
4239
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4168
4240
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4169
4241
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4254,23 +4326,23 @@ export declare const orderSummarySchema: z.ZodObject<{
|
|
|
4254
4326
|
totalAmount: z.ZodNumber;
|
|
4255
4327
|
representativeStatus: z.ZodEnum<{
|
|
4256
4328
|
PAID: "PAID";
|
|
4257
|
-
CANCELED: "CANCELED";
|
|
4258
4329
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4259
4330
|
CONFIRMED: "CONFIRMED";
|
|
4260
4331
|
DISPATCHED: "DISPATCHED";
|
|
4261
4332
|
DELIVERING: "DELIVERING";
|
|
4262
4333
|
DELIVERED: "DELIVERED";
|
|
4263
4334
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4335
|
+
CANCELED: "CANCELED";
|
|
4264
4336
|
}>;
|
|
4265
4337
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4266
4338
|
PAID: "PAID";
|
|
4267
|
-
CANCELED: "CANCELED";
|
|
4268
4339
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4269
4340
|
CONFIRMED: "CONFIRMED";
|
|
4270
4341
|
DISPATCHED: "DISPATCHED";
|
|
4271
4342
|
DELIVERING: "DELIVERING";
|
|
4272
4343
|
DELIVERED: "DELIVERED";
|
|
4273
4344
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4345
|
+
CANCELED: "CANCELED";
|
|
4274
4346
|
}>>;
|
|
4275
4347
|
orderedAt: z.ZodString;
|
|
4276
4348
|
testPayment: z.ZodBoolean;
|
|
@@ -4300,13 +4372,13 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
4300
4372
|
orderId: z.ZodString;
|
|
4301
4373
|
status: z.ZodEnum<{
|
|
4302
4374
|
PAID: "PAID";
|
|
4303
|
-
CANCELED: "CANCELED";
|
|
4304
4375
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4305
4376
|
CONFIRMED: "CONFIRMED";
|
|
4306
4377
|
DISPATCHED: "DISPATCHED";
|
|
4307
4378
|
DELIVERING: "DELIVERING";
|
|
4308
4379
|
DELIVERED: "DELIVERED";
|
|
4309
4380
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4381
|
+
CANCELED: "CANCELED";
|
|
4310
4382
|
}>;
|
|
4311
4383
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4312
4384
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4418,13 +4490,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4418
4490
|
orderId: z.ZodString;
|
|
4419
4491
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4420
4492
|
PAID: "PAID";
|
|
4421
|
-
CANCELED: "CANCELED";
|
|
4422
4493
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4423
4494
|
CONFIRMED: "CONFIRMED";
|
|
4424
4495
|
DISPATCHED: "DISPATCHED";
|
|
4425
4496
|
DELIVERING: "DELIVERING";
|
|
4426
4497
|
DELIVERED: "DELIVERED";
|
|
4427
4498
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4499
|
+
CANCELED: "CANCELED";
|
|
4428
4500
|
}>>;
|
|
4429
4501
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4430
4502
|
orderedAt: z.ZodString;
|
|
@@ -4499,13 +4571,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4499
4571
|
orderId: z.ZodString;
|
|
4500
4572
|
status: z.ZodEnum<{
|
|
4501
4573
|
PAID: "PAID";
|
|
4502
|
-
CANCELED: "CANCELED";
|
|
4503
4574
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4504
4575
|
CONFIRMED: "CONFIRMED";
|
|
4505
4576
|
DISPATCHED: "DISPATCHED";
|
|
4506
4577
|
DELIVERING: "DELIVERING";
|
|
4507
4578
|
DELIVERED: "DELIVERED";
|
|
4508
4579
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4580
|
+
CANCELED: "CANCELED";
|
|
4509
4581
|
}>;
|
|
4510
4582
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4511
4583
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4619,23 +4691,23 @@ export declare const orderSummaryPageSchema: z.ZodObject<{
|
|
|
4619
4691
|
totalAmount: z.ZodNumber;
|
|
4620
4692
|
representativeStatus: z.ZodEnum<{
|
|
4621
4693
|
PAID: "PAID";
|
|
4622
|
-
CANCELED: "CANCELED";
|
|
4623
4694
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4624
4695
|
CONFIRMED: "CONFIRMED";
|
|
4625
4696
|
DISPATCHED: "DISPATCHED";
|
|
4626
4697
|
DELIVERING: "DELIVERING";
|
|
4627
4698
|
DELIVERED: "DELIVERED";
|
|
4628
4699
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4700
|
+
CANCELED: "CANCELED";
|
|
4629
4701
|
}>;
|
|
4630
4702
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4631
4703
|
PAID: "PAID";
|
|
4632
|
-
CANCELED: "CANCELED";
|
|
4633
4704
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4634
4705
|
CONFIRMED: "CONFIRMED";
|
|
4635
4706
|
DISPATCHED: "DISPATCHED";
|
|
4636
4707
|
DELIVERING: "DELIVERING";
|
|
4637
4708
|
DELIVERED: "DELIVERED";
|
|
4638
4709
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4710
|
+
CANCELED: "CANCELED";
|
|
4639
4711
|
}>>;
|
|
4640
4712
|
orderedAt: z.ZodString;
|
|
4641
4713
|
testPayment: z.ZodBoolean;
|
|
@@ -4654,13 +4726,13 @@ export declare const orderItemPageSchema: z.ZodObject<{
|
|
|
4654
4726
|
orderId: z.ZodString;
|
|
4655
4727
|
status: z.ZodEnum<{
|
|
4656
4728
|
PAID: "PAID";
|
|
4657
|
-
CANCELED: "CANCELED";
|
|
4658
4729
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4659
4730
|
CONFIRMED: "CONFIRMED";
|
|
4660
4731
|
DISPATCHED: "DISPATCHED";
|
|
4661
4732
|
DELIVERING: "DELIVERING";
|
|
4662
4733
|
DELIVERED: "DELIVERED";
|
|
4663
4734
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4735
|
+
CANCELED: "CANCELED";
|
|
4664
4736
|
}>;
|
|
4665
4737
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4666
4738
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4772,13 +4844,13 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
4772
4844
|
orderedTo: z.ZodOptional<z.ZodString>;
|
|
4773
4845
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4774
4846
|
PAID: "PAID";
|
|
4775
|
-
CANCELED: "CANCELED";
|
|
4776
4847
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4777
4848
|
CONFIRMED: "CONFIRMED";
|
|
4778
4849
|
DISPATCHED: "DISPATCHED";
|
|
4779
4850
|
DELIVERING: "DELIVERING";
|
|
4780
4851
|
DELIVERED: "DELIVERED";
|
|
4781
4852
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4853
|
+
CANCELED: "CANCELED";
|
|
4782
4854
|
}>>;
|
|
4783
4855
|
keyword: z.ZodOptional<z.ZodString>;
|
|
4784
4856
|
orderNo: z.ZodOptional<z.ZodString>;
|
|
@@ -4928,10 +5000,10 @@ export declare const carrierSchema: z.ZodObject<{
|
|
|
4928
5000
|
export type Carrier = z.infer<typeof carrierSchema>;
|
|
4929
5001
|
export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
4930
5002
|
reason: z.ZodEnum<{
|
|
5003
|
+
ETC: "ETC";
|
|
4931
5004
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4932
5005
|
CUSTOMER_REQUEST: "CUSTOMER_REQUEST";
|
|
4933
5006
|
CUSTOMS: "CUSTOMS";
|
|
4934
|
-
ETC: "ETC";
|
|
4935
5007
|
}>;
|
|
4936
5008
|
detail: z.ZodOptional<z.ZodString>;
|
|
4937
5009
|
expectedDispatchDate: z.ZodString;
|
|
@@ -4939,8 +5011,8 @@ export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
|
4939
5011
|
export type HoldOrderItemRequest = z.infer<typeof holdOrderItemRequestSchema>;
|
|
4940
5012
|
export declare const cancelBySellerRequestSchema: z.ZodObject<{
|
|
4941
5013
|
reason: z.ZodEnum<{
|
|
4942
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4943
5014
|
ETC: "ETC";
|
|
5015
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4944
5016
|
PRICE_ERROR: "PRICE_ERROR";
|
|
4945
5017
|
DELIVERY_IMPOSSIBLE: "DELIVERY_IMPOSSIBLE";
|
|
4946
5018
|
}>;
|
|
@@ -5045,8 +5117,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
5045
5117
|
}>;
|
|
5046
5118
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
5047
5119
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
5048
|
-
SUCCESS: "SUCCESS";
|
|
5049
5120
|
FAILED: "FAILED";
|
|
5121
|
+
SUCCESS: "SUCCESS";
|
|
5050
5122
|
}>;
|
|
5051
5123
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
5052
5124
|
/**
|
|
@@ -5195,8 +5267,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
5195
5267
|
}, z.core.$strip>>;
|
|
5196
5268
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5197
5269
|
result: z.ZodEnum<{
|
|
5198
|
-
SUCCESS: "SUCCESS";
|
|
5199
5270
|
FAILED: "FAILED";
|
|
5271
|
+
SUCCESS: "SUCCESS";
|
|
5200
5272
|
}>;
|
|
5201
5273
|
message: z.ZodNullable<z.ZodString>;
|
|
5202
5274
|
checkedAt: z.ZodString;
|
|
@@ -5297,8 +5369,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5297
5369
|
}, z.core.$strip>>;
|
|
5298
5370
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5299
5371
|
result: z.ZodEnum<{
|
|
5300
|
-
SUCCESS: "SUCCESS";
|
|
5301
5372
|
FAILED: "FAILED";
|
|
5373
|
+
SUCCESS: "SUCCESS";
|
|
5302
5374
|
}>;
|
|
5303
5375
|
message: z.ZodNullable<z.ZodString>;
|
|
5304
5376
|
checkedAt: z.ZodString;
|
|
@@ -5334,8 +5406,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5334
5406
|
}, z.core.$strip>>;
|
|
5335
5407
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5336
5408
|
result: z.ZodEnum<{
|
|
5337
|
-
SUCCESS: "SUCCESS";
|
|
5338
5409
|
FAILED: "FAILED";
|
|
5410
|
+
SUCCESS: "SUCCESS";
|
|
5339
5411
|
}>;
|
|
5340
5412
|
message: z.ZodNullable<z.ZodString>;
|
|
5341
5413
|
checkedAt: z.ZodString;
|
|
@@ -5370,8 +5442,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5370
5442
|
}, z.core.$strip>>;
|
|
5371
5443
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5372
5444
|
result: z.ZodEnum<{
|
|
5373
|
-
SUCCESS: "SUCCESS";
|
|
5374
5445
|
FAILED: "FAILED";
|
|
5446
|
+
SUCCESS: "SUCCESS";
|
|
5375
5447
|
}>;
|
|
5376
5448
|
message: z.ZodNullable<z.ZodString>;
|
|
5377
5449
|
checkedAt: z.ZodString;
|
|
@@ -5461,8 +5533,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5461
5533
|
}, z.core.$strip>>;
|
|
5462
5534
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5463
5535
|
result: z.ZodEnum<{
|
|
5464
|
-
SUCCESS: "SUCCESS";
|
|
5465
5536
|
FAILED: "FAILED";
|
|
5537
|
+
SUCCESS: "SUCCESS";
|
|
5466
5538
|
}>;
|
|
5467
5539
|
message: z.ZodNullable<z.ZodString>;
|
|
5468
5540
|
checkedAt: z.ZodString;
|
|
@@ -5498,8 +5570,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5498
5570
|
}, z.core.$strip>>;
|
|
5499
5571
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5500
5572
|
result: z.ZodEnum<{
|
|
5501
|
-
SUCCESS: "SUCCESS";
|
|
5502
5573
|
FAILED: "FAILED";
|
|
5574
|
+
SUCCESS: "SUCCESS";
|
|
5503
5575
|
}>;
|
|
5504
5576
|
message: z.ZodNullable<z.ZodString>;
|
|
5505
5577
|
checkedAt: z.ZodString;
|
|
@@ -5534,8 +5606,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5534
5606
|
}, z.core.$strip>>;
|
|
5535
5607
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5536
5608
|
result: z.ZodEnum<{
|
|
5537
|
-
SUCCESS: "SUCCESS";
|
|
5538
5609
|
FAILED: "FAILED";
|
|
5610
|
+
SUCCESS: "SUCCESS";
|
|
5539
5611
|
}>;
|
|
5540
5612
|
message: z.ZodNullable<z.ZodString>;
|
|
5541
5613
|
checkedAt: z.ZodString;
|
|
@@ -5591,8 +5663,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
5591
5663
|
LIVE: "LIVE";
|
|
5592
5664
|
}>;
|
|
5593
5665
|
result: z.ZodEnum<{
|
|
5594
|
-
SUCCESS: "SUCCESS";
|
|
5595
5666
|
FAILED: "FAILED";
|
|
5667
|
+
SUCCESS: "SUCCESS";
|
|
5596
5668
|
}>;
|
|
5597
5669
|
message: z.ZodNullable<z.ZodString>;
|
|
5598
5670
|
checkedAt: z.ZodString;
|
|
@@ -5722,9 +5794,9 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
5722
5794
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
5723
5795
|
*/
|
|
5724
5796
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
5725
|
-
PENDING: "PENDING";
|
|
5726
|
-
FAILED: "FAILED";
|
|
5727
5797
|
APPROVED: "APPROVED";
|
|
5798
|
+
FAILED: "FAILED";
|
|
5799
|
+
PENDING: "PENDING";
|
|
5728
5800
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5729
5801
|
REFUNDED: "REFUNDED";
|
|
5730
5802
|
}>;
|
|
@@ -5770,9 +5842,9 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
5770
5842
|
orderName: z.ZodString;
|
|
5771
5843
|
customerName: z.ZodString;
|
|
5772
5844
|
status: z.ZodEnum<{
|
|
5773
|
-
PENDING: "PENDING";
|
|
5774
|
-
FAILED: "FAILED";
|
|
5775
5845
|
APPROVED: "APPROVED";
|
|
5846
|
+
FAILED: "FAILED";
|
|
5847
|
+
PENDING: "PENDING";
|
|
5776
5848
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5777
5849
|
REFUNDED: "REFUNDED";
|
|
5778
5850
|
}>;
|
|
@@ -5817,9 +5889,9 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
5817
5889
|
orderName: z.ZodString;
|
|
5818
5890
|
customerName: z.ZodString;
|
|
5819
5891
|
status: z.ZodEnum<{
|
|
5820
|
-
PENDING: "PENDING";
|
|
5821
|
-
FAILED: "FAILED";
|
|
5822
5892
|
APPROVED: "APPROVED";
|
|
5893
|
+
FAILED: "FAILED";
|
|
5894
|
+
PENDING: "PENDING";
|
|
5823
5895
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5824
5896
|
REFUNDED: "REFUNDED";
|
|
5825
5897
|
}>;
|
|
@@ -5909,9 +5981,9 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
5909
5981
|
orderName: z.ZodString;
|
|
5910
5982
|
customerName: z.ZodString;
|
|
5911
5983
|
status: z.ZodEnum<{
|
|
5912
|
-
PENDING: "PENDING";
|
|
5913
|
-
FAILED: "FAILED";
|
|
5914
5984
|
APPROVED: "APPROVED";
|
|
5985
|
+
FAILED: "FAILED";
|
|
5986
|
+
PENDING: "PENDING";
|
|
5915
5987
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5916
5988
|
REFUNDED: "REFUNDED";
|
|
5917
5989
|
}>;
|
|
@@ -6197,30 +6269,30 @@ export declare const updatePointPolicyRequestSchema: z.ZodObject<{
|
|
|
6197
6269
|
export type UpdatePointPolicyRequest = z.infer<typeof updatePointPolicyRequestSchema>;
|
|
6198
6270
|
/** 응답의 원장 유형 — 값이 추가될 수 있어 문자열로 받는다 */
|
|
6199
6271
|
export declare const responsePointEntryTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6272
|
+
ADJUST: "ADJUST";
|
|
6273
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6274
|
+
OPENING: "OPENING";
|
|
6200
6275
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6201
6276
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6202
6277
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6203
6278
|
USE_RESERVE: "USE_RESERVE";
|
|
6204
6279
|
USE_RELEASE: "USE_RELEASE";
|
|
6205
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6206
6280
|
EXPIRE: "EXPIRE";
|
|
6207
|
-
ADJUST: "ADJUST";
|
|
6208
|
-
OPENING: "OPENING";
|
|
6209
6281
|
}>, z.ZodString]>;
|
|
6210
6282
|
/** 원장 항목 — 셀러 조회용(사유·행위자 포함) */
|
|
6211
6283
|
export declare const pointEntrySchema: z.ZodObject<{
|
|
6212
6284
|
entryId: z.ZodString;
|
|
6213
6285
|
memberId: z.ZodString;
|
|
6214
6286
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6287
|
+
ADJUST: "ADJUST";
|
|
6288
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6289
|
+
OPENING: "OPENING";
|
|
6215
6290
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6216
6291
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6217
6292
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6218
6293
|
USE_RESERVE: "USE_RESERVE";
|
|
6219
6294
|
USE_RELEASE: "USE_RELEASE";
|
|
6220
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6221
6295
|
EXPIRE: "EXPIRE";
|
|
6222
|
-
ADJUST: "ADJUST";
|
|
6223
|
-
OPENING: "OPENING";
|
|
6224
6296
|
}>, z.ZodString]>;
|
|
6225
6297
|
amount: z.ZodNumber;
|
|
6226
6298
|
balanceAfter: z.ZodNumber;
|
|
@@ -6235,11 +6307,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
6235
6307
|
export declare const pointLotSchema: z.ZodObject<{
|
|
6236
6308
|
lotId: z.ZodString;
|
|
6237
6309
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6238
|
-
|
|
6310
|
+
PURCHASE: "PURCHASE";
|
|
6311
|
+
REVIEW: "REVIEW";
|
|
6239
6312
|
ADJUST: "ADJUST";
|
|
6313
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6240
6314
|
OPENING: "OPENING";
|
|
6241
|
-
REVIEW: "REVIEW";
|
|
6242
|
-
PURCHASE: "PURCHASE";
|
|
6243
6315
|
}>, z.ZodString]>;
|
|
6244
6316
|
amount: z.ZodNumber;
|
|
6245
6317
|
remaining: z.ZodNumber;
|
|
@@ -6254,11 +6326,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
6254
6326
|
lots: z.ZodArray<z.ZodObject<{
|
|
6255
6327
|
lotId: z.ZodString;
|
|
6256
6328
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6257
|
-
|
|
6329
|
+
PURCHASE: "PURCHASE";
|
|
6330
|
+
REVIEW: "REVIEW";
|
|
6258
6331
|
ADJUST: "ADJUST";
|
|
6332
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6259
6333
|
OPENING: "OPENING";
|
|
6260
|
-
REVIEW: "REVIEW";
|
|
6261
|
-
PURCHASE: "PURCHASE";
|
|
6262
6334
|
}>, z.ZodString]>;
|
|
6263
6335
|
amount: z.ZodNumber;
|
|
6264
6336
|
remaining: z.ZodNumber;
|
|
@@ -6295,15 +6367,15 @@ export declare const pointAdjustmentResultSchema: z.ZodObject<{
|
|
|
6295
6367
|
entryId: z.ZodString;
|
|
6296
6368
|
memberId: z.ZodString;
|
|
6297
6369
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6370
|
+
ADJUST: "ADJUST";
|
|
6371
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6372
|
+
OPENING: "OPENING";
|
|
6298
6373
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6299
6374
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6300
6375
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6301
6376
|
USE_RESERVE: "USE_RESERVE";
|
|
6302
6377
|
USE_RELEASE: "USE_RELEASE";
|
|
6303
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6304
6378
|
EXPIRE: "EXPIRE";
|
|
6305
|
-
ADJUST: "ADJUST";
|
|
6306
|
-
OPENING: "OPENING";
|
|
6307
6379
|
}>, z.ZodString]>;
|
|
6308
6380
|
amount: z.ZodNumber;
|
|
6309
6381
|
balanceAfter: z.ZodNumber;
|
|
@@ -6343,10 +6415,10 @@ export declare function splitRefund(input: {
|
|
|
6343
6415
|
//#endregion
|
|
6344
6416
|
//#region src/schemas/product.d.ts
|
|
6345
6417
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
6346
|
-
SALE: "SALE";
|
|
6347
6418
|
SUSPENDED: "SUSPENDED";
|
|
6348
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6349
6419
|
CLOSED: "CLOSED";
|
|
6420
|
+
SALE: "SALE";
|
|
6421
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6350
6422
|
}>;
|
|
6351
6423
|
export type ProductStatus = z.infer<typeof productStatusSchema>;
|
|
6352
6424
|
export declare const productSummarySchema: z.ZodObject<{
|
|
@@ -6354,10 +6426,10 @@ export declare const productSummarySchema: z.ZodObject<{
|
|
|
6354
6426
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6355
6427
|
name: z.ZodString;
|
|
6356
6428
|
status: z.ZodEnum<{
|
|
6357
|
-
SALE: "SALE";
|
|
6358
6429
|
SUSPENDED: "SUSPENDED";
|
|
6359
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6360
6430
|
CLOSED: "CLOSED";
|
|
6431
|
+
SALE: "SALE";
|
|
6432
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6361
6433
|
}>;
|
|
6362
6434
|
salePrice: z.ZodNumber;
|
|
6363
6435
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6431,8 +6503,8 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
6431
6503
|
* 추가금순은 추가 선택 값이면 값의 추가금, 조합 값이면 그 값이 든 조합 추가금의 최솟값으로 비교하고 같으면 등록순이다.
|
|
6432
6504
|
*/
|
|
6433
6505
|
export declare const optionSortSchema: z.ZodEnum<{
|
|
6434
|
-
REGISTERED: "REGISTERED";
|
|
6435
6506
|
NAME: "NAME";
|
|
6507
|
+
REGISTERED: "REGISTERED";
|
|
6436
6508
|
PRICE_ASC: "PRICE_ASC";
|
|
6437
6509
|
PRICE_DESC: "PRICE_DESC";
|
|
6438
6510
|
}>;
|
|
@@ -6521,9 +6593,9 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
6521
6593
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6522
6594
|
number: "number";
|
|
6523
6595
|
date: "date";
|
|
6596
|
+
datetime: "datetime";
|
|
6524
6597
|
text: "text";
|
|
6525
6598
|
select: "select";
|
|
6526
|
-
datetime: "datetime";
|
|
6527
6599
|
image: "image";
|
|
6528
6600
|
}>>;
|
|
6529
6601
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -6565,10 +6637,10 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6565
6637
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6566
6638
|
name: z.ZodString;
|
|
6567
6639
|
status: z.ZodEnum<{
|
|
6568
|
-
SALE: "SALE";
|
|
6569
6640
|
SUSPENDED: "SUSPENDED";
|
|
6570
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6571
6641
|
CLOSED: "CLOSED";
|
|
6642
|
+
SALE: "SALE";
|
|
6643
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6572
6644
|
}>;
|
|
6573
6645
|
salePrice: z.ZodNumber;
|
|
6574
6646
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6639,8 +6711,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6639
6711
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6640
6712
|
}, z.core.$strip>>>>;
|
|
6641
6713
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6642
|
-
REGISTERED: "REGISTERED";
|
|
6643
6714
|
NAME: "NAME";
|
|
6715
|
+
REGISTERED: "REGISTERED";
|
|
6644
6716
|
PRICE_ASC: "PRICE_ASC";
|
|
6645
6717
|
PRICE_DESC: "PRICE_DESC";
|
|
6646
6718
|
}>>>;
|
|
@@ -6791,16 +6863,16 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
6791
6863
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6792
6864
|
number: "number";
|
|
6793
6865
|
date: "date";
|
|
6866
|
+
datetime: "datetime";
|
|
6794
6867
|
text: "text";
|
|
6795
6868
|
select: "select";
|
|
6796
|
-
datetime: "datetime";
|
|
6797
6869
|
image: "image";
|
|
6798
6870
|
}>>;
|
|
6799
6871
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6800
6872
|
}, z.core.$strip>>>;
|
|
6801
6873
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
6802
|
-
REGISTERED: "REGISTERED";
|
|
6803
6874
|
NAME: "NAME";
|
|
6875
|
+
REGISTERED: "REGISTERED";
|
|
6804
6876
|
PRICE_ASC: "PRICE_ASC";
|
|
6805
6877
|
PRICE_DESC: "PRICE_DESC";
|
|
6806
6878
|
}>>;
|
|
@@ -6860,8 +6932,8 @@ export declare const optionModelSchema: z.ZodObject<{
|
|
|
6860
6932
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6861
6933
|
}, z.core.$strip>>>>;
|
|
6862
6934
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6863
|
-
REGISTERED: "REGISTERED";
|
|
6864
6935
|
NAME: "NAME";
|
|
6936
|
+
REGISTERED: "REGISTERED";
|
|
6865
6937
|
PRICE_ASC: "PRICE_ASC";
|
|
6866
6938
|
PRICE_DESC: "PRICE_DESC";
|
|
6867
6939
|
}>>>;
|
|
@@ -6965,16 +7037,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6965
7037
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6966
7038
|
number: "number";
|
|
6967
7039
|
date: "date";
|
|
7040
|
+
datetime: "datetime";
|
|
6968
7041
|
text: "text";
|
|
6969
7042
|
select: "select";
|
|
6970
|
-
datetime: "datetime";
|
|
6971
7043
|
image: "image";
|
|
6972
7044
|
}>>;
|
|
6973
7045
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6974
7046
|
}, z.core.$strip>>>;
|
|
6975
7047
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
6976
|
-
REGISTERED: "REGISTERED";
|
|
6977
7048
|
NAME: "NAME";
|
|
7049
|
+
REGISTERED: "REGISTERED";
|
|
6978
7050
|
PRICE_ASC: "PRICE_ASC";
|
|
6979
7051
|
PRICE_DESC: "PRICE_DESC";
|
|
6980
7052
|
}>>;
|
|
@@ -7079,16 +7151,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7079
7151
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7080
7152
|
number: "number";
|
|
7081
7153
|
date: "date";
|
|
7154
|
+
datetime: "datetime";
|
|
7082
7155
|
text: "text";
|
|
7083
7156
|
select: "select";
|
|
7084
|
-
datetime: "datetime";
|
|
7085
7157
|
image: "image";
|
|
7086
7158
|
}>>;
|
|
7087
7159
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7088
7160
|
}, z.core.$strip>>>;
|
|
7089
7161
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7090
|
-
REGISTERED: "REGISTERED";
|
|
7091
7162
|
NAME: "NAME";
|
|
7163
|
+
REGISTERED: "REGISTERED";
|
|
7092
7164
|
PRICE_ASC: "PRICE_ASC";
|
|
7093
7165
|
PRICE_DESC: "PRICE_DESC";
|
|
7094
7166
|
}>>;
|
|
@@ -7118,10 +7190,10 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7118
7190
|
name: z.ZodOptional<z.ZodString>;
|
|
7119
7191
|
salePrice: z.ZodOptional<z.ZodNumber>;
|
|
7120
7192
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7121
|
-
SALE: "SALE";
|
|
7122
7193
|
SUSPENDED: "SUSPENDED";
|
|
7123
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7124
7194
|
CLOSED: "CLOSED";
|
|
7195
|
+
SALE: "SALE";
|
|
7196
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7125
7197
|
}>>;
|
|
7126
7198
|
flowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7127
7199
|
images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -7166,9 +7238,9 @@ export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
|
7166
7238
|
export declare const productSortSchema: z.ZodEnum<{
|
|
7167
7239
|
"createdAt.desc": "createdAt.desc";
|
|
7168
7240
|
"createdAt.asc": "createdAt.asc";
|
|
7169
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
7170
7241
|
"salePrice.asc": "salePrice.asc";
|
|
7171
7242
|
"salePrice.desc": "salePrice.desc";
|
|
7243
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
7172
7244
|
}>;
|
|
7173
7245
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
7174
7246
|
export interface ProductListParams extends PageParams {
|
|
@@ -7185,10 +7257,10 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
7185
7257
|
page: z.ZodOptional<z.ZodString>;
|
|
7186
7258
|
size: z.ZodOptional<z.ZodString>;
|
|
7187
7259
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7188
|
-
SALE: "SALE";
|
|
7189
7260
|
SUSPENDED: "SUSPENDED";
|
|
7190
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7191
7261
|
CLOSED: "CLOSED";
|
|
7262
|
+
SALE: "SALE";
|
|
7263
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7192
7264
|
}>>;
|
|
7193
7265
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
7194
7266
|
keyword: z.ZodOptional<z.ZodString>;
|
|
@@ -7197,9 +7269,9 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
7197
7269
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
7198
7270
|
"createdAt.desc": "createdAt.desc";
|
|
7199
7271
|
"createdAt.asc": "createdAt.asc";
|
|
7200
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
7201
7272
|
"salePrice.asc": "salePrice.asc";
|
|
7202
7273
|
"salePrice.desc": "salePrice.desc";
|
|
7274
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
7203
7275
|
}>>;
|
|
7204
7276
|
}, z.core.$strip>;
|
|
7205
7277
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -7258,8 +7330,8 @@ export declare const savedOptionSetSchema: z.ZodObject<{
|
|
|
7258
7330
|
optionSetId: z.ZodString;
|
|
7259
7331
|
name: z.ZodString;
|
|
7260
7332
|
optionSort: z.ZodEnum<{
|
|
7261
|
-
REGISTERED: "REGISTERED";
|
|
7262
7333
|
NAME: "NAME";
|
|
7334
|
+
REGISTERED: "REGISTERED";
|
|
7263
7335
|
PRICE_ASC: "PRICE_ASC";
|
|
7264
7336
|
PRICE_DESC: "PRICE_DESC";
|
|
7265
7337
|
}>;
|
|
@@ -7312,9 +7384,9 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7312
7384
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7313
7385
|
number: "number";
|
|
7314
7386
|
date: "date";
|
|
7387
|
+
datetime: "datetime";
|
|
7315
7388
|
text: "text";
|
|
7316
7389
|
select: "select";
|
|
7317
|
-
datetime: "datetime";
|
|
7318
7390
|
image: "image";
|
|
7319
7391
|
}>>;
|
|
7320
7392
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7326,8 +7398,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7326
7398
|
export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
7327
7399
|
name: z.ZodString;
|
|
7328
7400
|
optionSort: z.ZodDefault<z.ZodEnum<{
|
|
7329
|
-
REGISTERED: "REGISTERED";
|
|
7330
7401
|
NAME: "NAME";
|
|
7402
|
+
REGISTERED: "REGISTERED";
|
|
7331
7403
|
PRICE_ASC: "PRICE_ASC";
|
|
7332
7404
|
PRICE_DESC: "PRICE_DESC";
|
|
7333
7405
|
}>>;
|
|
@@ -7352,9 +7424,9 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
7352
7424
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7353
7425
|
number: "number";
|
|
7354
7426
|
date: "date";
|
|
7427
|
+
datetime: "datetime";
|
|
7355
7428
|
text: "text";
|
|
7356
7429
|
select: "select";
|
|
7357
|
-
datetime: "datetime";
|
|
7358
7430
|
image: "image";
|
|
7359
7431
|
}>>;
|
|
7360
7432
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7382,8 +7454,8 @@ export declare const savedOptionSetFromProductResultSchema: z.ZodObject<{
|
|
|
7382
7454
|
optionSetId: z.ZodString;
|
|
7383
7455
|
name: z.ZodString;
|
|
7384
7456
|
optionSort: z.ZodEnum<{
|
|
7385
|
-
REGISTERED: "REGISTERED";
|
|
7386
7457
|
NAME: "NAME";
|
|
7458
|
+
REGISTERED: "REGISTERED";
|
|
7387
7459
|
PRICE_ASC: "PRICE_ASC";
|
|
7388
7460
|
PRICE_DESC: "PRICE_DESC";
|
|
7389
7461
|
}>;
|
|
@@ -7656,9 +7728,9 @@ export declare const storeSchema: z.ZodObject<{
|
|
|
7656
7728
|
storeCode: z.ZodString;
|
|
7657
7729
|
storefrontUrl: z.ZodURL;
|
|
7658
7730
|
status: z.ZodEnum<{
|
|
7731
|
+
ACTIVE: "ACTIVE";
|
|
7659
7732
|
SUSPENDED: "SUSPENDED";
|
|
7660
7733
|
CLOSED: "CLOSED";
|
|
7661
|
-
ACTIVE: "ACTIVE";
|
|
7662
7734
|
}>;
|
|
7663
7735
|
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
7664
7736
|
businessNumber: z.ZodNullable<z.ZodString>;
|
|
@@ -7670,9 +7742,9 @@ export declare const storeMemberSchema: z.ZodObject<{
|
|
|
7670
7742
|
name: z.ZodString;
|
|
7671
7743
|
email: z.ZodEmail;
|
|
7672
7744
|
role: z.ZodEnum<{
|
|
7745
|
+
OWNER: "OWNER";
|
|
7673
7746
|
ADMIN: "ADMIN";
|
|
7674
7747
|
STAFF: "STAFF";
|
|
7675
|
-
OWNER: "OWNER";
|
|
7676
7748
|
}>;
|
|
7677
7749
|
joinedAt: z.ZodString;
|
|
7678
7750
|
lastActiveAt: z.ZodNullable<z.ZodString>;
|
|
@@ -7699,8 +7771,8 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
7699
7771
|
status: z.ZodEnum<{
|
|
7700
7772
|
PENDING: "PENDING";
|
|
7701
7773
|
EXPIRED: "EXPIRED";
|
|
7702
|
-
ACCEPTED: "ACCEPTED";
|
|
7703
7774
|
CANCELED: "CANCELED";
|
|
7775
|
+
ACCEPTED: "ACCEPTED";
|
|
7704
7776
|
}>;
|
|
7705
7777
|
invitedBy: z.ZodString;
|
|
7706
7778
|
expiresAt: z.ZodString;
|
|
@@ -7739,8 +7811,8 @@ export declare const invitationListQuerySchema: z.ZodObject<{
|
|
|
7739
7811
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7740
7812
|
PENDING: "PENDING";
|
|
7741
7813
|
EXPIRED: "EXPIRED";
|
|
7742
|
-
ACCEPTED: "ACCEPTED";
|
|
7743
7814
|
CANCELED: "CANCELED";
|
|
7815
|
+
ACCEPTED: "ACCEPTED";
|
|
7744
7816
|
}>>;
|
|
7745
7817
|
}, z.core.$strip>;
|
|
7746
7818
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -7756,22 +7828,22 @@ export type StoreMemberRoleUpdated = z.infer<typeof storeMemberRoleUpdatedSchema
|
|
|
7756
7828
|
* 주소 유형 — 출고지·반품지.
|
|
7757
7829
|
*/
|
|
7758
7830
|
export declare const addressTypeSchema: z.ZodEnum<{
|
|
7759
|
-
SHIPPING: "SHIPPING";
|
|
7760
7831
|
RETURN: "RETURN";
|
|
7832
|
+
SHIPPING: "SHIPPING";
|
|
7761
7833
|
}>;
|
|
7762
7834
|
export type AddressType = z.infer<typeof addressTypeSchema>;
|
|
7763
7835
|
/** `GET /v1/seller-addresses` 쿼리 — OpenAPI 문서용 형태. 기본 주소 우선, 그다음 등록순이다 */
|
|
7764
7836
|
export declare const sellerAddressListQuerySchema: z.ZodObject<{
|
|
7765
7837
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7766
|
-
SHIPPING: "SHIPPING";
|
|
7767
7838
|
RETURN: "RETURN";
|
|
7839
|
+
SHIPPING: "SHIPPING";
|
|
7768
7840
|
}>>;
|
|
7769
7841
|
}, z.core.$strip>;
|
|
7770
7842
|
export declare const sellerAddressSchema: z.ZodObject<{
|
|
7771
7843
|
addressId: z.ZodString;
|
|
7772
7844
|
type: z.ZodEnum<{
|
|
7773
|
-
SHIPPING: "SHIPPING";
|
|
7774
7845
|
RETURN: "RETURN";
|
|
7846
|
+
SHIPPING: "SHIPPING";
|
|
7775
7847
|
}>;
|
|
7776
7848
|
name: z.ZodString;
|
|
7777
7849
|
isDefault: z.ZodBoolean;
|
|
@@ -7785,8 +7857,8 @@ export declare const sellerAddressSchema: z.ZodObject<{
|
|
|
7785
7857
|
export type SellerAddress = z.infer<typeof sellerAddressSchema>;
|
|
7786
7858
|
export declare const sellerAddressRequestSchema: z.ZodObject<{
|
|
7787
7859
|
type: z.ZodEnum<{
|
|
7788
|
-
SHIPPING: "SHIPPING";
|
|
7789
7860
|
RETURN: "RETURN";
|
|
7861
|
+
SHIPPING: "SHIPPING";
|
|
7790
7862
|
}>;
|
|
7791
7863
|
name: z.ZodString;
|
|
7792
7864
|
contactName: z.ZodString;
|
|
@@ -7936,9 +8008,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
7936
8008
|
}, z.core.$strip>;
|
|
7937
8009
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
7938
8010
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
8011
|
+
ACTIVE: "ACTIVE";
|
|
7939
8012
|
SUSPENDED: "SUSPENDED";
|
|
7940
8013
|
CLOSED: "CLOSED";
|
|
7941
|
-
ACTIVE: "ACTIVE";
|
|
7942
8014
|
}>;
|
|
7943
8015
|
export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
|
|
7944
8016
|
export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
@@ -7947,8 +8019,8 @@ export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
|
7947
8019
|
}>;
|
|
7948
8020
|
export type StorefrontVisibility = z.infer<typeof storefrontVisibilitySchema>;
|
|
7949
8021
|
export declare const storefrontSourceModeSchema: z.ZodEnum<{
|
|
7950
|
-
CUSTOM: "CUSTOM";
|
|
7951
8022
|
MANAGED: "MANAGED";
|
|
8023
|
+
CUSTOM: "CUSTOM";
|
|
7952
8024
|
}>;
|
|
7953
8025
|
export declare const storefrontDomainSchema: z.ZodObject<{
|
|
7954
8026
|
hostname: z.ZodString;
|
|
@@ -7957,8 +8029,8 @@ export declare const storefrontDomainSchema: z.ZodObject<{
|
|
|
7957
8029
|
CUSTOM: "CUSTOM";
|
|
7958
8030
|
}>;
|
|
7959
8031
|
status: z.ZodEnum<{
|
|
7960
|
-
ACTIVE: "ACTIVE";
|
|
7961
8032
|
HELD: "HELD";
|
|
8033
|
+
ACTIVE: "ACTIVE";
|
|
7962
8034
|
}>;
|
|
7963
8035
|
isPrimary: z.ZodBoolean;
|
|
7964
8036
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
@@ -7970,8 +8042,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
7970
8042
|
*/
|
|
7971
8043
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
7972
8044
|
status: z.ZodEnum<{
|
|
7973
|
-
PENDING: "PENDING";
|
|
7974
8045
|
FAILED: "FAILED";
|
|
8046
|
+
PENDING: "PENDING";
|
|
7975
8047
|
SYNCED: "SYNCED";
|
|
7976
8048
|
}>;
|
|
7977
8049
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8007,21 +8079,21 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8007
8079
|
CUSTOM: "CUSTOM";
|
|
8008
8080
|
}>;
|
|
8009
8081
|
status: z.ZodEnum<{
|
|
8010
|
-
ACTIVE: "ACTIVE";
|
|
8011
8082
|
HELD: "HELD";
|
|
8083
|
+
ACTIVE: "ACTIVE";
|
|
8012
8084
|
}>;
|
|
8013
8085
|
isPrimary: z.ZodBoolean;
|
|
8014
8086
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8015
8087
|
}, z.core.$strip>>;
|
|
8016
8088
|
templateId: z.ZodString;
|
|
8017
8089
|
sourceMode: z.ZodEnum<{
|
|
8018
|
-
CUSTOM: "CUSTOM";
|
|
8019
8090
|
MANAGED: "MANAGED";
|
|
8091
|
+
CUSTOM: "CUSTOM";
|
|
8020
8092
|
}>;
|
|
8021
8093
|
status: z.ZodEnum<{
|
|
8094
|
+
ACTIVE: "ACTIVE";
|
|
8022
8095
|
SUSPENDED: "SUSPENDED";
|
|
8023
8096
|
CLOSED: "CLOSED";
|
|
8024
|
-
ACTIVE: "ACTIVE";
|
|
8025
8097
|
}>;
|
|
8026
8098
|
visibility: z.ZodEnum<{
|
|
8027
8099
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8051,8 +8123,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8051
8123
|
}, z.core.$strip>>;
|
|
8052
8124
|
provisioning: z.ZodObject<{
|
|
8053
8125
|
status: z.ZodEnum<{
|
|
8054
|
-
PENDING: "PENDING";
|
|
8055
8126
|
FAILED: "FAILED";
|
|
8127
|
+
PENDING: "PENDING";
|
|
8056
8128
|
SYNCED: "SYNCED";
|
|
8057
8129
|
}>;
|
|
8058
8130
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8087,21 +8159,21 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8087
8159
|
CUSTOM: "CUSTOM";
|
|
8088
8160
|
}>;
|
|
8089
8161
|
status: z.ZodEnum<{
|
|
8090
|
-
ACTIVE: "ACTIVE";
|
|
8091
8162
|
HELD: "HELD";
|
|
8163
|
+
ACTIVE: "ACTIVE";
|
|
8092
8164
|
}>;
|
|
8093
8165
|
isPrimary: z.ZodBoolean;
|
|
8094
8166
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8095
8167
|
}, z.core.$strip>>;
|
|
8096
8168
|
templateId: z.ZodString;
|
|
8097
8169
|
sourceMode: z.ZodEnum<{
|
|
8098
|
-
CUSTOM: "CUSTOM";
|
|
8099
8170
|
MANAGED: "MANAGED";
|
|
8171
|
+
CUSTOM: "CUSTOM";
|
|
8100
8172
|
}>;
|
|
8101
8173
|
status: z.ZodEnum<{
|
|
8174
|
+
ACTIVE: "ACTIVE";
|
|
8102
8175
|
SUSPENDED: "SUSPENDED";
|
|
8103
8176
|
CLOSED: "CLOSED";
|
|
8104
|
-
ACTIVE: "ACTIVE";
|
|
8105
8177
|
}>;
|
|
8106
8178
|
visibility: z.ZodEnum<{
|
|
8107
8179
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8131,8 +8203,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8131
8203
|
}, z.core.$strip>>;
|
|
8132
8204
|
provisioning: z.ZodObject<{
|
|
8133
8205
|
status: z.ZodEnum<{
|
|
8134
|
-
PENDING: "PENDING";
|
|
8135
8206
|
FAILED: "FAILED";
|
|
8207
|
+
PENDING: "PENDING";
|
|
8136
8208
|
SYNCED: "SYNCED";
|
|
8137
8209
|
}>;
|
|
8138
8210
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8155,8 +8227,8 @@ export declare const storefrontSlugAvailabilitySchema: z.ZodObject<{
|
|
|
8155
8227
|
slug: z.ZodString;
|
|
8156
8228
|
available: z.ZodBoolean;
|
|
8157
8229
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
8158
|
-
RESERVED: "RESERVED";
|
|
8159
8230
|
INVALID: "INVALID";
|
|
8231
|
+
RESERVED: "RESERVED";
|
|
8160
8232
|
TAKEN: "TAKEN";
|
|
8161
8233
|
CURRENT: "CURRENT";
|
|
8162
8234
|
}>>;
|
|
@@ -8174,8 +8246,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
8174
8246
|
PUBLISH: "PUBLISH";
|
|
8175
8247
|
}>;
|
|
8176
8248
|
status: z.ZodEnum<{
|
|
8177
|
-
PENDING: "PENDING";
|
|
8178
8249
|
FAILED: "FAILED";
|
|
8250
|
+
PENDING: "PENDING";
|
|
8179
8251
|
RUNNING: "RUNNING";
|
|
8180
8252
|
DONE: "DONE";
|
|
8181
8253
|
}>;
|
|
@@ -8196,8 +8268,8 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
8196
8268
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
8197
8269
|
siteId: z.ZodString;
|
|
8198
8270
|
status: z.ZodEnum<{
|
|
8199
|
-
FAILED: "FAILED";
|
|
8200
8271
|
SUCCEEDED: "SUCCEEDED";
|
|
8272
|
+
FAILED: "FAILED";
|
|
8201
8273
|
IN_PROGRESS: "IN_PROGRESS";
|
|
8202
8274
|
}>;
|
|
8203
8275
|
url: z.ZodString;
|
|
@@ -8210,8 +8282,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
8210
8282
|
PUBLISH: "PUBLISH";
|
|
8211
8283
|
}>;
|
|
8212
8284
|
status: z.ZodEnum<{
|
|
8213
|
-
PENDING: "PENDING";
|
|
8214
8285
|
FAILED: "FAILED";
|
|
8286
|
+
PENDING: "PENDING";
|
|
8215
8287
|
RUNNING: "RUNNING";
|
|
8216
8288
|
DONE: "DONE";
|
|
8217
8289
|
}>;
|
|
@@ -8378,8 +8450,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8378
8450
|
}, z.core.$strip>>;
|
|
8379
8451
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8380
8452
|
ACTIVE: "ACTIVE";
|
|
8381
|
-
PENDING: "PENDING";
|
|
8382
8453
|
FAILED: "FAILED";
|
|
8454
|
+
PENDING: "PENDING";
|
|
8383
8455
|
}>>;
|
|
8384
8456
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8385
8457
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8421,8 +8493,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8421
8493
|
}, z.core.$strip>>;
|
|
8422
8494
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8423
8495
|
ACTIVE: "ACTIVE";
|
|
8424
|
-
PENDING: "PENDING";
|
|
8425
8496
|
FAILED: "FAILED";
|
|
8497
|
+
PENDING: "PENDING";
|
|
8426
8498
|
}>>;
|
|
8427
8499
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8428
8500
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8755,8 +8827,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
8755
8827
|
}, z.core.$strip>;
|
|
8756
8828
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
8757
8829
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
8758
|
-
FAILED: "FAILED";
|
|
8759
8830
|
SUCCEEDED: "SUCCEEDED";
|
|
8831
|
+
FAILED: "FAILED";
|
|
8760
8832
|
RUNNING: "RUNNING";
|
|
8761
8833
|
QUEUED: "QUEUED";
|
|
8762
8834
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8823,8 +8895,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
8823
8895
|
versionId: z.ZodString;
|
|
8824
8896
|
versionNumber: z.ZodNumber;
|
|
8825
8897
|
status: z.ZodEnum<{
|
|
8826
|
-
FAILED: "FAILED";
|
|
8827
8898
|
SUCCEEDED: "SUCCEEDED";
|
|
8899
|
+
FAILED: "FAILED";
|
|
8828
8900
|
RUNNING: "RUNNING";
|
|
8829
8901
|
QUEUED: "QUEUED";
|
|
8830
8902
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8952,8 +9024,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
8952
9024
|
versionId: z.ZodString;
|
|
8953
9025
|
versionNumber: z.ZodNumber;
|
|
8954
9026
|
status: z.ZodEnum<{
|
|
8955
|
-
FAILED: "FAILED";
|
|
8956
9027
|
SUCCEEDED: "SUCCEEDED";
|
|
9028
|
+
FAILED: "FAILED";
|
|
8957
9029
|
RUNNING: "RUNNING";
|
|
8958
9030
|
QUEUED: "QUEUED";
|
|
8959
9031
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -9153,8 +9225,8 @@ export type StorefrontSourceReplaced = z.infer<typeof storefrontSourceReplacedSc
|
|
|
9153
9225
|
* - `flow-attachment`: 주문 흐름 행동의 첨부(시안 등, 이슈 #115). 구매자에게 보이므로 정지 이미지와 PDF만 받는다.
|
|
9154
9226
|
*/
|
|
9155
9227
|
export declare const uploadPurposeSchema: z.ZodEnum<{
|
|
9156
|
-
"product-image": "product-image";
|
|
9157
9228
|
description: "description";
|
|
9229
|
+
"product-image": "product-image";
|
|
9158
9230
|
"flow-attachment": "flow-attachment";
|
|
9159
9231
|
}>;
|
|
9160
9232
|
export type UploadPurpose = z.infer<typeof uploadPurposeSchema>;
|
|
@@ -9193,8 +9265,8 @@ export declare function uploadRejection(purpose: UploadPurpose, filename: string
|
|
|
9193
9265
|
export declare const uploadRequestSchema: z.ZodObject<{
|
|
9194
9266
|
filename: z.ZodString;
|
|
9195
9267
|
purpose: z.ZodDefault<z.ZodEnum<{
|
|
9196
|
-
"product-image": "product-image";
|
|
9197
9268
|
description: "description";
|
|
9269
|
+
"product-image": "product-image";
|
|
9198
9270
|
"flow-attachment": "flow-attachment";
|
|
9199
9271
|
}>>;
|
|
9200
9272
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9208,9 +9280,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
|
|
|
9208
9280
|
//#endregion
|
|
9209
9281
|
//#region src/schemas/auth.d.ts
|
|
9210
9282
|
export declare const storeRoleSchema: z.ZodEnum<{
|
|
9283
|
+
OWNER: "OWNER";
|
|
9211
9284
|
ADMIN: "ADMIN";
|
|
9212
9285
|
STAFF: "STAFF";
|
|
9213
|
-
OWNER: "OWNER";
|
|
9214
9286
|
}>;
|
|
9215
9287
|
export type StoreRole = z.infer<typeof storeRoleSchema>;
|
|
9216
9288
|
export declare const myStoreSchema: z.ZodObject<{
|
|
@@ -9218,14 +9290,14 @@ export declare const myStoreSchema: z.ZodObject<{
|
|
|
9218
9290
|
storeName: z.ZodString;
|
|
9219
9291
|
storeCode: z.ZodString;
|
|
9220
9292
|
role: z.ZodEnum<{
|
|
9293
|
+
OWNER: "OWNER";
|
|
9221
9294
|
ADMIN: "ADMIN";
|
|
9222
9295
|
STAFF: "STAFF";
|
|
9223
|
-
OWNER: "OWNER";
|
|
9224
9296
|
}>;
|
|
9225
9297
|
status: z.ZodEnum<{
|
|
9298
|
+
ACTIVE: "ACTIVE";
|
|
9226
9299
|
SUSPENDED: "SUSPENDED";
|
|
9227
9300
|
CLOSED: "CLOSED";
|
|
9228
|
-
ACTIVE: "ACTIVE";
|
|
9229
9301
|
}>;
|
|
9230
9302
|
}, z.core.$strip>;
|
|
9231
9303
|
export type MyStore = z.infer<typeof myStoreSchema>;
|
|
@@ -9380,8 +9452,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9380
9452
|
storeId: string;
|
|
9381
9453
|
storeName: string;
|
|
9382
9454
|
storeCode: string;
|
|
9383
|
-
role: "
|
|
9384
|
-
status: "
|
|
9455
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
9456
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
9385
9457
|
}[]>;
|
|
9386
9458
|
me: () => Promise<{
|
|
9387
9459
|
userId: string;
|
|
@@ -9421,7 +9493,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9421
9493
|
productId: string;
|
|
9422
9494
|
productNo: number | null;
|
|
9423
9495
|
name: string;
|
|
9424
|
-
status: "
|
|
9496
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9425
9497
|
salePrice: number;
|
|
9426
9498
|
discountedPrice: number | null;
|
|
9427
9499
|
stockQuantity: number;
|
|
@@ -9439,7 +9511,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9439
9511
|
productId: string;
|
|
9440
9512
|
productNo: number | null;
|
|
9441
9513
|
name: string;
|
|
9442
|
-
status: "
|
|
9514
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9443
9515
|
salePrice: number;
|
|
9444
9516
|
discountedPrice: number | null;
|
|
9445
9517
|
stockQuantity: number;
|
|
@@ -9498,7 +9570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9498
9570
|
type?: string | undefined;
|
|
9499
9571
|
options?: string[] | null | undefined;
|
|
9500
9572
|
}[];
|
|
9501
|
-
optionSort: "
|
|
9573
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9502
9574
|
fulfillment: UnknownFulfillment | {
|
|
9503
9575
|
type: "SHIPPING";
|
|
9504
9576
|
shipping: {
|
|
@@ -9547,7 +9619,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9547
9619
|
productId: string;
|
|
9548
9620
|
productNo: number | null;
|
|
9549
9621
|
name: string;
|
|
9550
|
-
status: "
|
|
9622
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9551
9623
|
salePrice: number;
|
|
9552
9624
|
discountedPrice: number | null;
|
|
9553
9625
|
stockQuantity: number;
|
|
@@ -9606,7 +9678,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9606
9678
|
type?: string | undefined;
|
|
9607
9679
|
options?: string[] | null | undefined;
|
|
9608
9680
|
}[];
|
|
9609
|
-
optionSort: "
|
|
9681
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9610
9682
|
fulfillment: UnknownFulfillment | {
|
|
9611
9683
|
type: "SHIPPING";
|
|
9612
9684
|
shipping: {
|
|
@@ -9655,7 +9727,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9655
9727
|
productId: string;
|
|
9656
9728
|
productNo: number | null;
|
|
9657
9729
|
name: string;
|
|
9658
|
-
status: "
|
|
9730
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9659
9731
|
salePrice: number;
|
|
9660
9732
|
discountedPrice: number | null;
|
|
9661
9733
|
stockQuantity: number;
|
|
@@ -9714,7 +9786,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9714
9786
|
type?: string | undefined;
|
|
9715
9787
|
options?: string[] | null | undefined;
|
|
9716
9788
|
}[];
|
|
9717
|
-
optionSort: "
|
|
9789
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9718
9790
|
fulfillment: UnknownFulfillment | {
|
|
9719
9791
|
type: "SHIPPING";
|
|
9720
9792
|
shipping: {
|
|
@@ -9824,7 +9896,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9824
9896
|
type?: string | undefined;
|
|
9825
9897
|
options?: string[] | null | undefined;
|
|
9826
9898
|
}[];
|
|
9827
|
-
optionSort: "
|
|
9899
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9828
9900
|
}>;
|
|
9829
9901
|
/**
|
|
9830
9902
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -9882,7 +9954,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9882
9954
|
type?: string | undefined;
|
|
9883
9955
|
options?: string[] | null | undefined;
|
|
9884
9956
|
}[];
|
|
9885
|
-
optionSort: "
|
|
9957
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9886
9958
|
}>;
|
|
9887
9959
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
9888
9960
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -9931,7 +10003,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9931
10003
|
contents: {
|
|
9932
10004
|
optionSetId: string;
|
|
9933
10005
|
name: string;
|
|
9934
|
-
optionSort: "
|
|
10006
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9935
10007
|
groups: {
|
|
9936
10008
|
name: string;
|
|
9937
10009
|
kind: string;
|
|
@@ -9958,7 +10030,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9958
10030
|
get: (optionSetId: string) => Promise<{
|
|
9959
10031
|
optionSetId: string;
|
|
9960
10032
|
name: string;
|
|
9961
|
-
optionSort: "
|
|
10033
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9962
10034
|
groups: {
|
|
9963
10035
|
name: string;
|
|
9964
10036
|
kind: string;
|
|
@@ -9985,7 +10057,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9985
10057
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
9986
10058
|
optionSetId: string;
|
|
9987
10059
|
name: string;
|
|
9988
|
-
optionSort: "
|
|
10060
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9989
10061
|
groups: {
|
|
9990
10062
|
name: string;
|
|
9991
10063
|
kind: string;
|
|
@@ -10012,7 +10084,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10012
10084
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
10013
10085
|
optionSetId: string;
|
|
10014
10086
|
name: string;
|
|
10015
|
-
optionSort: "
|
|
10087
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10016
10088
|
groups: {
|
|
10017
10089
|
name: string;
|
|
10018
10090
|
kind: string;
|
|
@@ -10041,7 +10113,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10041
10113
|
optionSet: {
|
|
10042
10114
|
optionSetId: string;
|
|
10043
10115
|
name: string;
|
|
10044
|
-
optionSort: "
|
|
10116
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10045
10117
|
groups: {
|
|
10046
10118
|
name: string;
|
|
10047
10119
|
kind: string;
|
|
@@ -10100,7 +10172,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10100
10172
|
value: true;
|
|
10101
10173
|
} | {
|
|
10102
10174
|
field: "bestSelling";
|
|
10103
|
-
days:
|
|
10175
|
+
days: 7 | 30 | 90;
|
|
10104
10176
|
top: number;
|
|
10105
10177
|
} | {
|
|
10106
10178
|
[x: string]: unknown;
|
|
@@ -10112,7 +10184,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10112
10184
|
sortOrder: number;
|
|
10113
10185
|
metaTitle: string | null;
|
|
10114
10186
|
metaDescription: string | null;
|
|
10115
|
-
state: "ACTIVE" | "
|
|
10187
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10116
10188
|
salesComputedAt: string | null;
|
|
10117
10189
|
productCount: number;
|
|
10118
10190
|
revision: number;
|
|
@@ -10150,7 +10222,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10150
10222
|
value: true;
|
|
10151
10223
|
} | {
|
|
10152
10224
|
field: "bestSelling";
|
|
10153
|
-
days:
|
|
10225
|
+
days: 7 | 30 | 90;
|
|
10154
10226
|
top: number;
|
|
10155
10227
|
} | {
|
|
10156
10228
|
[x: string]: unknown;
|
|
@@ -10162,7 +10234,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10162
10234
|
sortOrder: number;
|
|
10163
10235
|
metaTitle: string | null;
|
|
10164
10236
|
metaDescription: string | null;
|
|
10165
|
-
state: "ACTIVE" | "
|
|
10237
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10166
10238
|
salesComputedAt: string | null;
|
|
10167
10239
|
productCount: number;
|
|
10168
10240
|
revision: number;
|
|
@@ -10193,7 +10265,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10193
10265
|
value: true;
|
|
10194
10266
|
} | {
|
|
10195
10267
|
field: "bestSelling";
|
|
10196
|
-
days:
|
|
10268
|
+
days: 7 | 30 | 90;
|
|
10197
10269
|
top: number;
|
|
10198
10270
|
} | {
|
|
10199
10271
|
[x: string]: unknown;
|
|
@@ -10205,7 +10277,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10205
10277
|
sortOrder: number;
|
|
10206
10278
|
metaTitle: string | null;
|
|
10207
10279
|
metaDescription: string | null;
|
|
10208
|
-
state: "ACTIVE" | "
|
|
10280
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10209
10281
|
salesComputedAt: string | null;
|
|
10210
10282
|
productCount: number;
|
|
10211
10283
|
revision: number;
|
|
@@ -10235,7 +10307,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10235
10307
|
value: true;
|
|
10236
10308
|
} | {
|
|
10237
10309
|
field: "bestSelling";
|
|
10238
|
-
days:
|
|
10310
|
+
days: 7 | 30 | 90;
|
|
10239
10311
|
top: number;
|
|
10240
10312
|
} | {
|
|
10241
10313
|
[x: string]: unknown;
|
|
@@ -10247,7 +10319,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10247
10319
|
sortOrder: number;
|
|
10248
10320
|
metaTitle: string | null;
|
|
10249
10321
|
metaDescription: string | null;
|
|
10250
|
-
state: "ACTIVE" | "
|
|
10322
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10251
10323
|
salesComputedAt: string | null;
|
|
10252
10324
|
productCount: number;
|
|
10253
10325
|
revision: number;
|
|
@@ -10298,7 +10370,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10298
10370
|
value: true;
|
|
10299
10371
|
} | {
|
|
10300
10372
|
field: "bestSelling";
|
|
10301
|
-
days:
|
|
10373
|
+
days: 7 | 30 | 90;
|
|
10302
10374
|
top: number;
|
|
10303
10375
|
} | {
|
|
10304
10376
|
[x: string]: unknown;
|
|
@@ -10310,7 +10382,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10310
10382
|
sortOrder: number;
|
|
10311
10383
|
metaTitle: string | null;
|
|
10312
10384
|
metaDescription: string | null;
|
|
10313
|
-
state: "ACTIVE" | "
|
|
10385
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10314
10386
|
salesComputedAt: string | null;
|
|
10315
10387
|
productCount: number;
|
|
10316
10388
|
revision: number;
|
|
@@ -10341,7 +10413,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10341
10413
|
value: true;
|
|
10342
10414
|
} | {
|
|
10343
10415
|
field: "bestSelling";
|
|
10344
|
-
days:
|
|
10416
|
+
days: 7 | 30 | 90;
|
|
10345
10417
|
top: number;
|
|
10346
10418
|
} | {
|
|
10347
10419
|
[x: string]: unknown;
|
|
@@ -10353,7 +10425,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10353
10425
|
sortOrder: number;
|
|
10354
10426
|
metaTitle: string | null;
|
|
10355
10427
|
metaDescription: string | null;
|
|
10356
|
-
state: "ACTIVE" | "
|
|
10428
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10357
10429
|
salesComputedAt: string | null;
|
|
10358
10430
|
productCount: number;
|
|
10359
10431
|
revision: number;
|
|
@@ -10392,7 +10464,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10392
10464
|
visible: boolean;
|
|
10393
10465
|
showPc: boolean;
|
|
10394
10466
|
showMobile: boolean;
|
|
10395
|
-
productSort: "
|
|
10467
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10396
10468
|
metaTitle: string | null;
|
|
10397
10469
|
metaDescription: string | null;
|
|
10398
10470
|
metaKeywords: string | null;
|
|
@@ -10413,7 +10485,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10413
10485
|
visible: boolean;
|
|
10414
10486
|
showPc: boolean;
|
|
10415
10487
|
showMobile: boolean;
|
|
10416
|
-
productSort: "
|
|
10488
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10417
10489
|
metaTitle: string | null;
|
|
10418
10490
|
metaDescription: string | null;
|
|
10419
10491
|
metaKeywords: string | null;
|
|
@@ -10432,7 +10504,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10432
10504
|
visible: boolean;
|
|
10433
10505
|
showPc: boolean;
|
|
10434
10506
|
showMobile: boolean;
|
|
10435
|
-
productSort: "
|
|
10507
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10436
10508
|
metaTitle: string | null;
|
|
10437
10509
|
metaDescription: string | null;
|
|
10438
10510
|
metaKeywords: string | null;
|
|
@@ -10454,7 +10526,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10454
10526
|
visible: boolean;
|
|
10455
10527
|
showPc: boolean;
|
|
10456
10528
|
showMobile: boolean;
|
|
10457
|
-
productSort: "
|
|
10529
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10458
10530
|
metaTitle: string | null;
|
|
10459
10531
|
metaDescription: string | null;
|
|
10460
10532
|
metaKeywords: string | null;
|
|
@@ -10473,7 +10545,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10473
10545
|
visible: boolean;
|
|
10474
10546
|
showPc: boolean;
|
|
10475
10547
|
showMobile: boolean;
|
|
10476
|
-
productSort: "
|
|
10548
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10477
10549
|
metaTitle: string | null;
|
|
10478
10550
|
metaDescription: string | null;
|
|
10479
10551
|
metaKeywords: string | null;
|
|
@@ -10504,7 +10576,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10504
10576
|
visible: boolean;
|
|
10505
10577
|
showPc: boolean;
|
|
10506
10578
|
showMobile: boolean;
|
|
10507
|
-
productSort: "
|
|
10579
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10508
10580
|
metaTitle: string | null;
|
|
10509
10581
|
metaDescription: string | null;
|
|
10510
10582
|
metaKeywords: string | null;
|
|
@@ -10524,7 +10596,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10524
10596
|
visible: boolean;
|
|
10525
10597
|
showPc: boolean;
|
|
10526
10598
|
showMobile: boolean;
|
|
10527
|
-
productSort: "
|
|
10599
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10528
10600
|
metaTitle: string | null;
|
|
10529
10601
|
metaDescription: string | null;
|
|
10530
10602
|
metaKeywords: string | null;
|
|
@@ -10552,10 +10624,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10552
10624
|
ordererName: string;
|
|
10553
10625
|
itemCount: number;
|
|
10554
10626
|
totalAmount: number;
|
|
10555
|
-
representativeStatus: "PAID" | "
|
|
10627
|
+
representativeStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10556
10628
|
orderedAt: string;
|
|
10557
10629
|
testPayment: boolean;
|
|
10558
|
-
progressStatus?: "PAID" | "
|
|
10630
|
+
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
10559
10631
|
}[];
|
|
10560
10632
|
}>;
|
|
10561
10633
|
get: (orderId: string) => Promise<{
|
|
@@ -10621,7 +10693,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10621
10693
|
orderItemId: string;
|
|
10622
10694
|
orderItemNo: string | null;
|
|
10623
10695
|
orderId: string;
|
|
10624
|
-
status: "PAID" | "
|
|
10696
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10625
10697
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10626
10698
|
productId: string;
|
|
10627
10699
|
productName: string;
|
|
@@ -10698,7 +10770,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10698
10770
|
}[];
|
|
10699
10771
|
} | undefined;
|
|
10700
10772
|
}[];
|
|
10701
|
-
progressStatus?: "PAID" | "
|
|
10773
|
+
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
10702
10774
|
}>;
|
|
10703
10775
|
/**
|
|
10704
10776
|
* `POST /v1/orders/{orderId}/cash-receipt/reissue` — 실패했거나 재시도 대기 중인 현금영수증을 지금 다시 발급·취소한다.
|
|
@@ -10732,7 +10804,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10732
10804
|
key: string;
|
|
10733
10805
|
results: {
|
|
10734
10806
|
orderItemId: string;
|
|
10735
|
-
status: "
|
|
10807
|
+
status: "COMPLETED" | "FAILED" | "SKIPPED";
|
|
10736
10808
|
reason?: string | undefined;
|
|
10737
10809
|
message?: string | undefined;
|
|
10738
10810
|
}[];
|
|
@@ -10749,7 +10821,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10749
10821
|
orderItemId: string;
|
|
10750
10822
|
orderItemNo: string | null;
|
|
10751
10823
|
orderId: string;
|
|
10752
|
-
status: "PAID" | "
|
|
10824
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10753
10825
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10754
10826
|
productId: string;
|
|
10755
10827
|
productName: string;
|
|
@@ -10891,7 +10963,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10891
10963
|
orderItemId: string;
|
|
10892
10964
|
orderItemNo: string | null;
|
|
10893
10965
|
orderId: string;
|
|
10894
|
-
status: "PAID" | "
|
|
10966
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10895
10967
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10896
10968
|
productId: string;
|
|
10897
10969
|
productName: string;
|
|
@@ -10987,7 +11059,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10987
11059
|
orderItemId: string;
|
|
10988
11060
|
orderItemNo: string | null;
|
|
10989
11061
|
orderId: string;
|
|
10990
|
-
status: "PAID" | "
|
|
11062
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10991
11063
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10992
11064
|
productId: string;
|
|
10993
11065
|
productName: string;
|
|
@@ -11110,11 +11182,21 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11110
11182
|
label: string;
|
|
11111
11183
|
enteredAt: string;
|
|
11112
11184
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11113
|
-
coreStatus?: "PAID" | "
|
|
11114
|
-
claimStatus?: "
|
|
11185
|
+
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
11186
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
11115
11187
|
message?: string | undefined;
|
|
11116
11188
|
deadlineAt?: string | undefined;
|
|
11117
11189
|
attachments?: string[] | undefined;
|
|
11190
|
+
earlierAttachments?: string[] | undefined;
|
|
11191
|
+
inputs?: {
|
|
11192
|
+
by: string;
|
|
11193
|
+
values: {
|
|
11194
|
+
key: string;
|
|
11195
|
+
label: string;
|
|
11196
|
+
type: string;
|
|
11197
|
+
value: string | number | boolean | string[];
|
|
11198
|
+
}[];
|
|
11199
|
+
} | undefined;
|
|
11118
11200
|
progress?: boolean | undefined;
|
|
11119
11201
|
};
|
|
11120
11202
|
actions: {
|
|
@@ -11133,9 +11215,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11133
11215
|
type: string;
|
|
11134
11216
|
required: boolean;
|
|
11135
11217
|
label: string;
|
|
11218
|
+
placeholder?: string | undefined;
|
|
11136
11219
|
maxLength?: number | undefined;
|
|
11137
11220
|
maxFiles?: number | undefined;
|
|
11138
|
-
options?: (string | number
|
|
11221
|
+
options?: (string | number | {
|
|
11222
|
+
value: string;
|
|
11223
|
+
label: string;
|
|
11224
|
+
})[] | undefined;
|
|
11225
|
+
when?: {
|
|
11226
|
+
key: string;
|
|
11227
|
+
in: string[];
|
|
11228
|
+
} | undefined;
|
|
11139
11229
|
}[] | undefined;
|
|
11140
11230
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11141
11231
|
}[];
|
|
@@ -11148,18 +11238,28 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11148
11238
|
moveTargets?: {
|
|
11149
11239
|
key: string;
|
|
11150
11240
|
label: string;
|
|
11151
|
-
coreStatus: "PAID" | "
|
|
11241
|
+
coreStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | null;
|
|
11152
11242
|
}[] | undefined;
|
|
11153
11243
|
branches?: {
|
|
11154
11244
|
key: string;
|
|
11155
11245
|
label: string;
|
|
11156
11246
|
enteredAt: string;
|
|
11157
11247
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11158
|
-
coreStatus?: "PAID" | "
|
|
11159
|
-
claimStatus?: "
|
|
11248
|
+
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
11249
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
11160
11250
|
message?: string | undefined;
|
|
11161
11251
|
deadlineAt?: string | undefined;
|
|
11162
11252
|
attachments?: string[] | undefined;
|
|
11253
|
+
earlierAttachments?: string[] | undefined;
|
|
11254
|
+
inputs?: {
|
|
11255
|
+
by: string;
|
|
11256
|
+
values: {
|
|
11257
|
+
key: string;
|
|
11258
|
+
label: string;
|
|
11259
|
+
type: string;
|
|
11260
|
+
value: string | number | boolean | string[];
|
|
11261
|
+
}[];
|
|
11262
|
+
} | undefined;
|
|
11163
11263
|
progress?: boolean | undefined;
|
|
11164
11264
|
}[] | undefined;
|
|
11165
11265
|
}>;
|
|
@@ -11174,11 +11274,21 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11174
11274
|
label: string;
|
|
11175
11275
|
enteredAt: string;
|
|
11176
11276
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11177
|
-
coreStatus?: "PAID" | "
|
|
11178
|
-
claimStatus?: "
|
|
11277
|
+
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
11278
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
11179
11279
|
message?: string | undefined;
|
|
11180
11280
|
deadlineAt?: string | undefined;
|
|
11181
11281
|
attachments?: string[] | undefined;
|
|
11282
|
+
earlierAttachments?: string[] | undefined;
|
|
11283
|
+
inputs?: {
|
|
11284
|
+
by: string;
|
|
11285
|
+
values: {
|
|
11286
|
+
key: string;
|
|
11287
|
+
label: string;
|
|
11288
|
+
type: string;
|
|
11289
|
+
value: string | number | boolean | string[];
|
|
11290
|
+
}[];
|
|
11291
|
+
} | undefined;
|
|
11182
11292
|
progress?: boolean | undefined;
|
|
11183
11293
|
};
|
|
11184
11294
|
actions: {
|
|
@@ -11197,9 +11307,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11197
11307
|
type: string;
|
|
11198
11308
|
required: boolean;
|
|
11199
11309
|
label: string;
|
|
11310
|
+
placeholder?: string | undefined;
|
|
11200
11311
|
maxLength?: number | undefined;
|
|
11201
11312
|
maxFiles?: number | undefined;
|
|
11202
|
-
options?: (string | number
|
|
11313
|
+
options?: (string | number | {
|
|
11314
|
+
value: string;
|
|
11315
|
+
label: string;
|
|
11316
|
+
})[] | undefined;
|
|
11317
|
+
when?: {
|
|
11318
|
+
key: string;
|
|
11319
|
+
in: string[];
|
|
11320
|
+
} | undefined;
|
|
11203
11321
|
}[] | undefined;
|
|
11204
11322
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11205
11323
|
}[];
|
|
@@ -11216,11 +11334,21 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11216
11334
|
label: string;
|
|
11217
11335
|
enteredAt: string;
|
|
11218
11336
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11219
|
-
coreStatus?: "PAID" | "
|
|
11220
|
-
claimStatus?: "
|
|
11337
|
+
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
11338
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
11221
11339
|
message?: string | undefined;
|
|
11222
11340
|
deadlineAt?: string | undefined;
|
|
11223
11341
|
attachments?: string[] | undefined;
|
|
11342
|
+
earlierAttachments?: string[] | undefined;
|
|
11343
|
+
inputs?: {
|
|
11344
|
+
by: string;
|
|
11345
|
+
values: {
|
|
11346
|
+
key: string;
|
|
11347
|
+
label: string;
|
|
11348
|
+
type: string;
|
|
11349
|
+
value: string | number | boolean | string[];
|
|
11350
|
+
}[];
|
|
11351
|
+
} | undefined;
|
|
11224
11352
|
progress?: boolean | undefined;
|
|
11225
11353
|
};
|
|
11226
11354
|
actions: {
|
|
@@ -11239,9 +11367,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11239
11367
|
type: string;
|
|
11240
11368
|
required: boolean;
|
|
11241
11369
|
label: string;
|
|
11370
|
+
placeholder?: string | undefined;
|
|
11242
11371
|
maxLength?: number | undefined;
|
|
11243
11372
|
maxFiles?: number | undefined;
|
|
11244
|
-
options?: (string | number
|
|
11373
|
+
options?: (string | number | {
|
|
11374
|
+
value: string;
|
|
11375
|
+
label: string;
|
|
11376
|
+
})[] | undefined;
|
|
11377
|
+
when?: {
|
|
11378
|
+
key: string;
|
|
11379
|
+
in: string[];
|
|
11380
|
+
} | undefined;
|
|
11245
11381
|
}[] | undefined;
|
|
11246
11382
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11247
11383
|
}[];
|
|
@@ -11258,11 +11394,21 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11258
11394
|
label: string;
|
|
11259
11395
|
enteredAt: string;
|
|
11260
11396
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11261
|
-
coreStatus?: "PAID" | "
|
|
11262
|
-
claimStatus?: "
|
|
11397
|
+
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
11398
|
+
claimStatus?: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN" | undefined;
|
|
11263
11399
|
message?: string | undefined;
|
|
11264
11400
|
deadlineAt?: string | undefined;
|
|
11265
11401
|
attachments?: string[] | undefined;
|
|
11402
|
+
earlierAttachments?: string[] | undefined;
|
|
11403
|
+
inputs?: {
|
|
11404
|
+
by: string;
|
|
11405
|
+
values: {
|
|
11406
|
+
key: string;
|
|
11407
|
+
label: string;
|
|
11408
|
+
type: string;
|
|
11409
|
+
value: string | number | boolean | string[];
|
|
11410
|
+
}[];
|
|
11411
|
+
} | undefined;
|
|
11266
11412
|
progress?: boolean | undefined;
|
|
11267
11413
|
};
|
|
11268
11414
|
actions: {
|
|
@@ -11281,9 +11427,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11281
11427
|
type: string;
|
|
11282
11428
|
required: boolean;
|
|
11283
11429
|
label: string;
|
|
11430
|
+
placeholder?: string | undefined;
|
|
11284
11431
|
maxLength?: number | undefined;
|
|
11285
11432
|
maxFiles?: number | undefined;
|
|
11286
|
-
options?: (string | number
|
|
11433
|
+
options?: (string | number | {
|
|
11434
|
+
value: string;
|
|
11435
|
+
label: string;
|
|
11436
|
+
})[] | undefined;
|
|
11437
|
+
when?: {
|
|
11438
|
+
key: string;
|
|
11439
|
+
in: string[];
|
|
11440
|
+
} | undefined;
|
|
11287
11441
|
}[] | undefined;
|
|
11288
11442
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11289
11443
|
}[];
|
|
@@ -11662,8 +11816,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11662
11816
|
contents: {
|
|
11663
11817
|
claimId: string;
|
|
11664
11818
|
claimNo: string | null;
|
|
11665
|
-
type: "
|
|
11666
|
-
status: "
|
|
11819
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
11820
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11667
11821
|
orderId: string;
|
|
11668
11822
|
orderItemId: string;
|
|
11669
11823
|
productName: string;
|
|
@@ -11702,8 +11856,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11702
11856
|
get: (claimId: string) => Promise<{
|
|
11703
11857
|
claimId: string;
|
|
11704
11858
|
claimNo: string | null;
|
|
11705
|
-
type: "
|
|
11706
|
-
status: "
|
|
11859
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
11860
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11707
11861
|
orderId: string;
|
|
11708
11862
|
orderItemId: string;
|
|
11709
11863
|
productName: string;
|
|
@@ -11738,8 +11892,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11738
11892
|
address2: string | null;
|
|
11739
11893
|
} | null;
|
|
11740
11894
|
histories?: {
|
|
11741
|
-
status: "
|
|
11742
|
-
actor: "
|
|
11895
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11896
|
+
actor: "BUYER" | "SELLER" | "SYSTEM";
|
|
11743
11897
|
occurredAt: string;
|
|
11744
11898
|
}[] | undefined;
|
|
11745
11899
|
}>;
|
|
@@ -11771,8 +11925,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11771
11925
|
completeExchange: (claimId: string) => Promise<{
|
|
11772
11926
|
claimId: string;
|
|
11773
11927
|
claimNo: string | null;
|
|
11774
|
-
type: "
|
|
11775
|
-
status: "
|
|
11928
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
11929
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11776
11930
|
orderId: string;
|
|
11777
11931
|
orderItemId: string;
|
|
11778
11932
|
productName: string;
|
|
@@ -11823,7 +11977,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11823
11977
|
productId: string;
|
|
11824
11978
|
productName: string;
|
|
11825
11979
|
orderItemId: string | null;
|
|
11826
|
-
category: "
|
|
11980
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
11827
11981
|
content: string;
|
|
11828
11982
|
secret: boolean;
|
|
11829
11983
|
writerMaskedName: string;
|
|
@@ -11841,7 +11995,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11841
11995
|
productId: string;
|
|
11842
11996
|
productName: string;
|
|
11843
11997
|
orderItemId: string | null;
|
|
11844
|
-
category: "
|
|
11998
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
11845
11999
|
content: string;
|
|
11846
12000
|
secret: boolean;
|
|
11847
12001
|
writerMaskedName: string;
|
|
@@ -12122,7 +12276,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12122
12276
|
productName: string;
|
|
12123
12277
|
optionName: string | null;
|
|
12124
12278
|
quantity: number;
|
|
12125
|
-
status: "PAID" | "
|
|
12279
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
12126
12280
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12127
12281
|
}[];
|
|
12128
12282
|
}[];
|
|
@@ -12141,7 +12295,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12141
12295
|
version: string | null;
|
|
12142
12296
|
documentUrl: string | null;
|
|
12143
12297
|
action: "WITHDRAWN" | "AGREED";
|
|
12144
|
-
source: "
|
|
12298
|
+
source: "SELLER" | "SIGNUP" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
|
|
12145
12299
|
occurredAt: string;
|
|
12146
12300
|
}[];
|
|
12147
12301
|
}>;
|
|
@@ -12550,7 +12704,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12550
12704
|
contents: {
|
|
12551
12705
|
inquiryId: string;
|
|
12552
12706
|
memberMaskedName: string;
|
|
12553
|
-
category: "
|
|
12707
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
12554
12708
|
title: string;
|
|
12555
12709
|
content: string;
|
|
12556
12710
|
orderItemId: string | null;
|
|
@@ -12566,7 +12720,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12566
12720
|
get: (inquiryId: string) => Promise<{
|
|
12567
12721
|
inquiryId: string;
|
|
12568
12722
|
memberMaskedName: string;
|
|
12569
|
-
category: "
|
|
12723
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
12570
12724
|
title: string;
|
|
12571
12725
|
content: string;
|
|
12572
12726
|
orderItemId: string | null;
|
|
@@ -12596,7 +12750,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12596
12750
|
settlementId: string;
|
|
12597
12751
|
settlementDate: string;
|
|
12598
12752
|
payoutDate: string | null;
|
|
12599
|
-
status: "
|
|
12753
|
+
status: "HELD" | "PAID" | "SCHEDULED";
|
|
12600
12754
|
totalPaymentAmount: number;
|
|
12601
12755
|
totalCommission: number;
|
|
12602
12756
|
totalDeliveryFee: number;
|
|
@@ -12610,7 +12764,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12610
12764
|
settlementId: string;
|
|
12611
12765
|
settlementDate: string;
|
|
12612
12766
|
payoutDate: string | null;
|
|
12613
|
-
status: "
|
|
12767
|
+
status: "HELD" | "PAID" | "SCHEDULED";
|
|
12614
12768
|
totalPaymentAmount: number;
|
|
12615
12769
|
totalCommission: number;
|
|
12616
12770
|
totalDeliveryFee: number;
|
|
@@ -12696,7 +12850,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12696
12850
|
conversionRate: number | null;
|
|
12697
12851
|
};
|
|
12698
12852
|
funnel: {
|
|
12699
|
-
step: "
|
|
12853
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
12700
12854
|
sessions: number;
|
|
12701
12855
|
rateFromPrevious: number | null;
|
|
12702
12856
|
}[];
|
|
@@ -12750,13 +12904,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12750
12904
|
}>;
|
|
12751
12905
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
12752
12906
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
12753
|
-
groupBy: "
|
|
12907
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
12754
12908
|
rows: {
|
|
12755
|
-
channel: "
|
|
12909
|
+
channel: "UNKNOWN" | "PAID" | "DIRECT" | "EMAIL" | "ORGANIC_SEARCH" | "SOCIAL" | "CAMPAIGN" | "REFERRAL" | null;
|
|
12756
12910
|
source: string | null;
|
|
12757
12911
|
medium: string | null;
|
|
12758
12912
|
campaign: string | null;
|
|
12759
|
-
device: "unknown" | "
|
|
12913
|
+
device: "unknown" | "mobile" | "desktop" | "tablet" | null;
|
|
12760
12914
|
sessions: number;
|
|
12761
12915
|
visitors: number;
|
|
12762
12916
|
engagedSessions: number;
|
|
@@ -12788,7 +12942,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12788
12942
|
/** `GET /v1/analytics/devices` — 기기별 세션 퍼널 */
|
|
12789
12943
|
devices: (params: AnalyticsRangeParams) => Promise<{
|
|
12790
12944
|
rows: {
|
|
12791
|
-
device: "unknown" | "
|
|
12945
|
+
device: "unknown" | "mobile" | "desktop" | "tablet";
|
|
12792
12946
|
sessions: number;
|
|
12793
12947
|
productViewSessions: number;
|
|
12794
12948
|
addToCartSessions: number;
|
|
@@ -12857,7 +13011,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12857
13011
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
12858
13012
|
sessions: number;
|
|
12859
13013
|
outcomes: {
|
|
12860
|
-
outcome: "
|
|
13014
|
+
outcome: "COMPLETED" | "IN_PROGRESS" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER";
|
|
12861
13015
|
sessions: number;
|
|
12862
13016
|
}[];
|
|
12863
13017
|
from: string;
|
|
@@ -12887,7 +13041,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12887
13041
|
orderId: string | null;
|
|
12888
13042
|
orderName: string;
|
|
12889
13043
|
customerName: string;
|
|
12890
|
-
status: "
|
|
13044
|
+
status: "APPROVED" | "FAILED" | "PENDING" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
12891
13045
|
amount: number;
|
|
12892
13046
|
refundedAmount: number;
|
|
12893
13047
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -12912,7 +13066,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12912
13066
|
orderId: string | null;
|
|
12913
13067
|
orderName: string;
|
|
12914
13068
|
customerName: string;
|
|
12915
|
-
status: "
|
|
13069
|
+
status: "APPROVED" | "FAILED" | "PENDING" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
12916
13070
|
amount: number;
|
|
12917
13071
|
refundedAmount: number;
|
|
12918
13072
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -13014,7 +13168,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13014
13168
|
masked: string | null;
|
|
13015
13169
|
}[];
|
|
13016
13170
|
lastVerification: {
|
|
13017
|
-
result: "
|
|
13171
|
+
result: "FAILED" | "SUCCESS";
|
|
13018
13172
|
message: string | null;
|
|
13019
13173
|
checkedAt: string;
|
|
13020
13174
|
} | null;
|
|
@@ -13039,7 +13193,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13039
13193
|
masked: string | null;
|
|
13040
13194
|
}[];
|
|
13041
13195
|
lastVerification: {
|
|
13042
|
-
result: "
|
|
13196
|
+
result: "FAILED" | "SUCCESS";
|
|
13043
13197
|
message: string | null;
|
|
13044
13198
|
checkedAt: string;
|
|
13045
13199
|
} | null;
|
|
@@ -13063,7 +13217,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13063
13217
|
masked: string | null;
|
|
13064
13218
|
}[];
|
|
13065
13219
|
lastVerification: {
|
|
13066
|
-
result: "
|
|
13220
|
+
result: "FAILED" | "SUCCESS";
|
|
13067
13221
|
message: string | null;
|
|
13068
13222
|
checkedAt: string;
|
|
13069
13223
|
} | null;
|
|
@@ -13124,7 +13278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13124
13278
|
masked: string | null;
|
|
13125
13279
|
}[];
|
|
13126
13280
|
lastVerification: {
|
|
13127
|
-
result: "
|
|
13281
|
+
result: "FAILED" | "SUCCESS";
|
|
13128
13282
|
message: string | null;
|
|
13129
13283
|
checkedAt: string;
|
|
13130
13284
|
} | null;
|
|
@@ -13149,7 +13303,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13149
13303
|
masked: string | null;
|
|
13150
13304
|
}[];
|
|
13151
13305
|
lastVerification: {
|
|
13152
|
-
result: "
|
|
13306
|
+
result: "FAILED" | "SUCCESS";
|
|
13153
13307
|
message: string | null;
|
|
13154
13308
|
checkedAt: string;
|
|
13155
13309
|
} | null;
|
|
@@ -13173,7 +13327,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13173
13327
|
masked: string | null;
|
|
13174
13328
|
}[];
|
|
13175
13329
|
lastVerification: {
|
|
13176
|
-
result: "
|
|
13330
|
+
result: "FAILED" | "SUCCESS";
|
|
13177
13331
|
message: string | null;
|
|
13178
13332
|
checkedAt: string;
|
|
13179
13333
|
} | null;
|
|
@@ -13239,7 +13393,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13239
13393
|
masked: string | null;
|
|
13240
13394
|
}[];
|
|
13241
13395
|
lastVerification: {
|
|
13242
|
-
result: "
|
|
13396
|
+
result: "FAILED" | "SUCCESS";
|
|
13243
13397
|
message: string | null;
|
|
13244
13398
|
checkedAt: string;
|
|
13245
13399
|
} | null;
|
|
@@ -13264,7 +13418,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13264
13418
|
masked: string | null;
|
|
13265
13419
|
}[];
|
|
13266
13420
|
lastVerification: {
|
|
13267
|
-
result: "
|
|
13421
|
+
result: "FAILED" | "SUCCESS";
|
|
13268
13422
|
message: string | null;
|
|
13269
13423
|
checkedAt: string;
|
|
13270
13424
|
} | null;
|
|
@@ -13288,7 +13442,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13288
13442
|
masked: string | null;
|
|
13289
13443
|
}[];
|
|
13290
13444
|
lastVerification: {
|
|
13291
|
-
result: "
|
|
13445
|
+
result: "FAILED" | "SUCCESS";
|
|
13292
13446
|
message: string | null;
|
|
13293
13447
|
checkedAt: string;
|
|
13294
13448
|
} | null;
|
|
@@ -13335,7 +13489,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13335
13489
|
masked: string | null;
|
|
13336
13490
|
}[];
|
|
13337
13491
|
lastVerification: {
|
|
13338
|
-
result: "
|
|
13492
|
+
result: "FAILED" | "SUCCESS";
|
|
13339
13493
|
message: string | null;
|
|
13340
13494
|
checkedAt: string;
|
|
13341
13495
|
} | null;
|
|
@@ -13360,7 +13514,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13360
13514
|
masked: string | null;
|
|
13361
13515
|
}[];
|
|
13362
13516
|
lastVerification: {
|
|
13363
|
-
result: "
|
|
13517
|
+
result: "FAILED" | "SUCCESS";
|
|
13364
13518
|
message: string | null;
|
|
13365
13519
|
checkedAt: string;
|
|
13366
13520
|
} | null;
|
|
@@ -13384,7 +13538,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13384
13538
|
masked: string | null;
|
|
13385
13539
|
}[];
|
|
13386
13540
|
lastVerification: {
|
|
13387
|
-
result: "
|
|
13541
|
+
result: "FAILED" | "SUCCESS";
|
|
13388
13542
|
message: string | null;
|
|
13389
13543
|
checkedAt: string;
|
|
13390
13544
|
} | null;
|
|
@@ -13441,7 +13595,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13441
13595
|
masked: string | null;
|
|
13442
13596
|
}[];
|
|
13443
13597
|
lastVerification: {
|
|
13444
|
-
result: "
|
|
13598
|
+
result: "FAILED" | "SUCCESS";
|
|
13445
13599
|
message: string | null;
|
|
13446
13600
|
checkedAt: string;
|
|
13447
13601
|
} | null;
|
|
@@ -13466,7 +13620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13466
13620
|
masked: string | null;
|
|
13467
13621
|
}[];
|
|
13468
13622
|
lastVerification: {
|
|
13469
|
-
result: "
|
|
13623
|
+
result: "FAILED" | "SUCCESS";
|
|
13470
13624
|
message: string | null;
|
|
13471
13625
|
checkedAt: string;
|
|
13472
13626
|
} | null;
|
|
@@ -13490,7 +13644,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13490
13644
|
masked: string | null;
|
|
13491
13645
|
}[];
|
|
13492
13646
|
lastVerification: {
|
|
13493
|
-
result: "
|
|
13647
|
+
result: "FAILED" | "SUCCESS";
|
|
13494
13648
|
message: string | null;
|
|
13495
13649
|
checkedAt: string;
|
|
13496
13650
|
} | null;
|
|
@@ -13537,7 +13691,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13537
13691
|
masked: string | null;
|
|
13538
13692
|
}[];
|
|
13539
13693
|
lastVerification: {
|
|
13540
|
-
result: "
|
|
13694
|
+
result: "FAILED" | "SUCCESS";
|
|
13541
13695
|
message: string | null;
|
|
13542
13696
|
checkedAt: string;
|
|
13543
13697
|
} | null;
|
|
@@ -13562,7 +13716,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13562
13716
|
masked: string | null;
|
|
13563
13717
|
}[];
|
|
13564
13718
|
lastVerification: {
|
|
13565
|
-
result: "
|
|
13719
|
+
result: "FAILED" | "SUCCESS";
|
|
13566
13720
|
message: string | null;
|
|
13567
13721
|
checkedAt: string;
|
|
13568
13722
|
} | null;
|
|
@@ -13586,7 +13740,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13586
13740
|
masked: string | null;
|
|
13587
13741
|
}[];
|
|
13588
13742
|
lastVerification: {
|
|
13589
|
-
result: "
|
|
13743
|
+
result: "FAILED" | "SUCCESS";
|
|
13590
13744
|
message: string | null;
|
|
13591
13745
|
checkedAt: string;
|
|
13592
13746
|
} | null;
|
|
@@ -13642,7 +13796,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13642
13796
|
masked: string | null;
|
|
13643
13797
|
}[];
|
|
13644
13798
|
lastVerification: {
|
|
13645
|
-
result: "
|
|
13799
|
+
result: "FAILED" | "SUCCESS";
|
|
13646
13800
|
message: string | null;
|
|
13647
13801
|
checkedAt: string;
|
|
13648
13802
|
} | null;
|
|
@@ -13667,7 +13821,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13667
13821
|
masked: string | null;
|
|
13668
13822
|
}[];
|
|
13669
13823
|
lastVerification: {
|
|
13670
|
-
result: "
|
|
13824
|
+
result: "FAILED" | "SUCCESS";
|
|
13671
13825
|
message: string | null;
|
|
13672
13826
|
checkedAt: string;
|
|
13673
13827
|
} | null;
|
|
@@ -13691,7 +13845,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13691
13845
|
masked: string | null;
|
|
13692
13846
|
}[];
|
|
13693
13847
|
lastVerification: {
|
|
13694
|
-
result: "
|
|
13848
|
+
result: "FAILED" | "SUCCESS";
|
|
13695
13849
|
message: string | null;
|
|
13696
13850
|
checkedAt: string;
|
|
13697
13851
|
} | null;
|
|
@@ -13719,7 +13873,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13719
13873
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
13720
13874
|
provider: "tosspayments" | "portone";
|
|
13721
13875
|
environment: "TEST" | "LIVE";
|
|
13722
|
-
result: "
|
|
13876
|
+
result: "FAILED" | "SUCCESS";
|
|
13723
13877
|
message: string | null;
|
|
13724
13878
|
checkedAt: string;
|
|
13725
13879
|
}>;
|
|
@@ -13728,8 +13882,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13728
13882
|
list: () => Promise<{
|
|
13729
13883
|
webhookId: string;
|
|
13730
13884
|
url: string;
|
|
13731
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13732
|
-
status: "
|
|
13885
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13886
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
13733
13887
|
secretPrefix: string;
|
|
13734
13888
|
suspendedAt: string | null;
|
|
13735
13889
|
createdAt: string;
|
|
@@ -13738,8 +13892,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13738
13892
|
create: (body: WebhookRequest) => Promise<{
|
|
13739
13893
|
webhookId: string;
|
|
13740
13894
|
url: string;
|
|
13741
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13742
|
-
status: "
|
|
13895
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13896
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
13743
13897
|
secretPrefix: string;
|
|
13744
13898
|
suspendedAt: string | null;
|
|
13745
13899
|
createdAt: string;
|
|
@@ -13748,8 +13902,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13748
13902
|
get: (webhookId: string) => Promise<{
|
|
13749
13903
|
webhookId: string;
|
|
13750
13904
|
url: string;
|
|
13751
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13752
|
-
status: "
|
|
13905
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13906
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
13753
13907
|
secretPrefix: string;
|
|
13754
13908
|
suspendedAt: string | null;
|
|
13755
13909
|
createdAt: string;
|
|
@@ -13758,8 +13912,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13758
13912
|
update: (webhookId: string, body: WebhookRequest) => Promise<{
|
|
13759
13913
|
webhookId: string;
|
|
13760
13914
|
url: string;
|
|
13761
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13762
|
-
status: "
|
|
13915
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13916
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
13763
13917
|
secretPrefix: string;
|
|
13764
13918
|
suspendedAt: string | null;
|
|
13765
13919
|
createdAt: string;
|
|
@@ -13773,8 +13927,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13773
13927
|
resume: (webhookId: string) => Promise<{
|
|
13774
13928
|
webhookId: string;
|
|
13775
13929
|
url: string;
|
|
13776
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13777
|
-
status: "
|
|
13930
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13931
|
+
status: "ACTIVE" | "SUSPENDED";
|
|
13778
13932
|
secretPrefix: string;
|
|
13779
13933
|
suspendedAt: string | null;
|
|
13780
13934
|
createdAt: string;
|
|
@@ -13783,9 +13937,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13783
13937
|
listDeliveries: (webhookId: string, params?: WebhookDeliveryListParams) => Promise<{
|
|
13784
13938
|
deliveryId: string;
|
|
13785
13939
|
eventId: string;
|
|
13786
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13940
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
13787
13941
|
url: string;
|
|
13788
|
-
status: "
|
|
13942
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13789
13943
|
responseStatusCode: number | null;
|
|
13790
13944
|
responseTimeMs: number | null;
|
|
13791
13945
|
responseBodyExcerpt: string | null;
|
|
@@ -13810,9 +13964,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13810
13964
|
getDelivery: (webhookId: string, deliveryId: string) => Promise<{
|
|
13811
13965
|
deliveryId: string;
|
|
13812
13966
|
eventId: string;
|
|
13813
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13967
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
13814
13968
|
url: string;
|
|
13815
|
-
status: "
|
|
13969
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13816
13970
|
responseStatusCode: number | null;
|
|
13817
13971
|
responseTimeMs: number | null;
|
|
13818
13972
|
responseBodyExcerpt: string | null;
|
|
@@ -13845,9 +13999,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13845
13999
|
redeliver: (webhookId: string, deliveryId: string) => Promise<{
|
|
13846
14000
|
deliveryId: string;
|
|
13847
14001
|
eventId: string;
|
|
13848
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
14002
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.FULFILLED" | "ORDER.CANCELED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
13849
14003
|
url: string;
|
|
13850
|
-
status: "
|
|
14004
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13851
14005
|
responseStatusCode: number | null;
|
|
13852
14006
|
responseTimeMs: number | null;
|
|
13853
14007
|
responseBodyExcerpt: string | null;
|
|
@@ -13930,7 +14084,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13930
14084
|
source: "REQUEST" | "DOMAIN";
|
|
13931
14085
|
action: string;
|
|
13932
14086
|
actor: {
|
|
13933
|
-
type: "
|
|
14087
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
13934
14088
|
id: string;
|
|
13935
14089
|
name: string | null;
|
|
13936
14090
|
};
|
|
@@ -13943,7 +14097,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13943
14097
|
method: string | null;
|
|
13944
14098
|
path: string | null;
|
|
13945
14099
|
statusCode: number | null;
|
|
13946
|
-
outcome: "
|
|
14100
|
+
outcome: "SUCCEEDED" | "FAILED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
13947
14101
|
errorCode: string | null;
|
|
13948
14102
|
traceId: string | null;
|
|
13949
14103
|
idempotencyKey: string | null;
|
|
@@ -13961,7 +14115,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13961
14115
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
13962
14116
|
items: {
|
|
13963
14117
|
approvalId: string;
|
|
13964
|
-
status: "
|
|
14118
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
13965
14119
|
operationId: string;
|
|
13966
14120
|
method: string;
|
|
13967
14121
|
path: string;
|
|
@@ -13969,7 +14123,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13969
14123
|
idempotencyKey: string | null;
|
|
13970
14124
|
reason: string;
|
|
13971
14125
|
actor: {
|
|
13972
|
-
type: "
|
|
14126
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
13973
14127
|
id: string;
|
|
13974
14128
|
name: string | null;
|
|
13975
14129
|
};
|
|
@@ -14011,7 +14165,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14011
14165
|
}>;
|
|
14012
14166
|
get: (approvalId: string) => Promise<{
|
|
14013
14167
|
approvalId: string;
|
|
14014
|
-
status: "
|
|
14168
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
14015
14169
|
operationId: string;
|
|
14016
14170
|
method: string;
|
|
14017
14171
|
path: string;
|
|
@@ -14019,7 +14173,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14019
14173
|
idempotencyKey: string | null;
|
|
14020
14174
|
reason: string;
|
|
14021
14175
|
actor: {
|
|
14022
|
-
type: "
|
|
14176
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14023
14177
|
id: string;
|
|
14024
14178
|
name: string | null;
|
|
14025
14179
|
};
|
|
@@ -14063,7 +14217,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14063
14217
|
*/
|
|
14064
14218
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14065
14219
|
approvalId: string;
|
|
14066
|
-
status: "
|
|
14220
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
14067
14221
|
operationId: string;
|
|
14068
14222
|
method: string;
|
|
14069
14223
|
path: string;
|
|
@@ -14071,7 +14225,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14071
14225
|
idempotencyKey: string | null;
|
|
14072
14226
|
reason: string;
|
|
14073
14227
|
actor: {
|
|
14074
|
-
type: "
|
|
14228
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14075
14229
|
id: string;
|
|
14076
14230
|
name: string | null;
|
|
14077
14231
|
};
|
|
@@ -14111,7 +14265,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14111
14265
|
}>;
|
|
14112
14266
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14113
14267
|
approvalId: string;
|
|
14114
|
-
status: "
|
|
14268
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
14115
14269
|
operationId: string;
|
|
14116
14270
|
method: string;
|
|
14117
14271
|
path: string;
|
|
@@ -14119,7 +14273,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14119
14273
|
idempotencyKey: string | null;
|
|
14120
14274
|
reason: string;
|
|
14121
14275
|
actor: {
|
|
14122
|
-
type: "
|
|
14276
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14123
14277
|
id: string;
|
|
14124
14278
|
name: string | null;
|
|
14125
14279
|
};
|
|
@@ -14208,7 +14362,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14208
14362
|
sellerAddresses: {
|
|
14209
14363
|
list: (type?: AddressType) => Promise<{
|
|
14210
14364
|
addressId: string;
|
|
14211
|
-
type: "
|
|
14365
|
+
type: "RETURN" | "SHIPPING";
|
|
14212
14366
|
name: string;
|
|
14213
14367
|
isDefault: boolean;
|
|
14214
14368
|
contactName: string;
|
|
@@ -14289,13 +14443,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14289
14443
|
domains: {
|
|
14290
14444
|
hostname: string;
|
|
14291
14445
|
kind: "PLATFORM" | "CUSTOM";
|
|
14292
|
-
status: "
|
|
14446
|
+
status: "HELD" | "ACTIVE";
|
|
14293
14447
|
isPrimary: boolean;
|
|
14294
14448
|
holdUntil: string | null;
|
|
14295
14449
|
}[];
|
|
14296
14450
|
templateId: string;
|
|
14297
|
-
sourceMode: "
|
|
14298
|
-
status: "
|
|
14451
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14452
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14299
14453
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14300
14454
|
publishedVersion: {
|
|
14301
14455
|
versionId: string;
|
|
@@ -14313,7 +14467,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14313
14467
|
createdVia?: string | null | undefined;
|
|
14314
14468
|
} | null;
|
|
14315
14469
|
provisioning: {
|
|
14316
|
-
status: "
|
|
14470
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14317
14471
|
lastErrorCode: string | null;
|
|
14318
14472
|
syncedAt: string | null;
|
|
14319
14473
|
};
|
|
@@ -14333,7 +14487,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14333
14487
|
checkSlug: (slug: string) => Promise<{
|
|
14334
14488
|
slug: string;
|
|
14335
14489
|
available: boolean;
|
|
14336
|
-
reason: "
|
|
14490
|
+
reason: "INVALID" | "RESERVED" | "TAKEN" | "CURRENT" | null;
|
|
14337
14491
|
}>;
|
|
14338
14492
|
/**
|
|
14339
14493
|
* `POST /v1/storefront/site` (201) — 템플릿으로 사이트를 만들고 v1을 발행한다. 공개 상태는 오픈 준비 중이다.
|
|
@@ -14347,13 +14501,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14347
14501
|
domains: {
|
|
14348
14502
|
hostname: string;
|
|
14349
14503
|
kind: "PLATFORM" | "CUSTOM";
|
|
14350
|
-
status: "
|
|
14504
|
+
status: "HELD" | "ACTIVE";
|
|
14351
14505
|
isPrimary: boolean;
|
|
14352
14506
|
holdUntil: string | null;
|
|
14353
14507
|
}[];
|
|
14354
14508
|
templateId: string;
|
|
14355
|
-
sourceMode: "
|
|
14356
|
-
status: "
|
|
14509
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14510
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14357
14511
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14358
14512
|
publishedVersion: {
|
|
14359
14513
|
versionId: string;
|
|
@@ -14371,7 +14525,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14371
14525
|
createdVia?: string | null | undefined;
|
|
14372
14526
|
} | null;
|
|
14373
14527
|
provisioning: {
|
|
14374
|
-
status: "
|
|
14528
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14375
14529
|
lastErrorCode: string | null;
|
|
14376
14530
|
syncedAt: string | null;
|
|
14377
14531
|
};
|
|
@@ -14389,13 +14543,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14389
14543
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
14390
14544
|
getDeployment: () => Promise<{
|
|
14391
14545
|
siteId: string;
|
|
14392
|
-
status: "
|
|
14546
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
14393
14547
|
url: string;
|
|
14394
14548
|
startedAt: string;
|
|
14395
14549
|
finishedAt: string | null;
|
|
14396
14550
|
steps: {
|
|
14397
14551
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14398
|
-
status: "
|
|
14552
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
14399
14553
|
finishedAt: string | null;
|
|
14400
14554
|
}[];
|
|
14401
14555
|
log: {
|
|
@@ -14411,13 +14565,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14411
14565
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
14412
14566
|
retryDeployment: () => Promise<{
|
|
14413
14567
|
siteId: string;
|
|
14414
|
-
status: "
|
|
14568
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
14415
14569
|
url: string;
|
|
14416
14570
|
startedAt: string;
|
|
14417
14571
|
finishedAt: string | null;
|
|
14418
14572
|
steps: {
|
|
14419
14573
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14420
|
-
status: "
|
|
14574
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
14421
14575
|
finishedAt: string | null;
|
|
14422
14576
|
}[];
|
|
14423
14577
|
log: {
|
|
@@ -14443,13 +14597,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14443
14597
|
domains: {
|
|
14444
14598
|
hostname: string;
|
|
14445
14599
|
kind: "PLATFORM" | "CUSTOM";
|
|
14446
|
-
status: "
|
|
14600
|
+
status: "HELD" | "ACTIVE";
|
|
14447
14601
|
isPrimary: boolean;
|
|
14448
14602
|
holdUntil: string | null;
|
|
14449
14603
|
}[];
|
|
14450
14604
|
templateId: string;
|
|
14451
|
-
sourceMode: "
|
|
14452
|
-
status: "
|
|
14605
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14606
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14453
14607
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14454
14608
|
publishedVersion: {
|
|
14455
14609
|
versionId: string;
|
|
@@ -14467,7 +14621,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14467
14621
|
createdVia?: string | null | undefined;
|
|
14468
14622
|
} | null;
|
|
14469
14623
|
provisioning: {
|
|
14470
|
-
status: "
|
|
14624
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14471
14625
|
lastErrorCode: string | null;
|
|
14472
14626
|
syncedAt: string | null;
|
|
14473
14627
|
};
|
|
@@ -14507,13 +14661,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14507
14661
|
domains: {
|
|
14508
14662
|
hostname: string;
|
|
14509
14663
|
kind: "PLATFORM" | "CUSTOM";
|
|
14510
|
-
status: "
|
|
14664
|
+
status: "HELD" | "ACTIVE";
|
|
14511
14665
|
isPrimary: boolean;
|
|
14512
14666
|
holdUntil: string | null;
|
|
14513
14667
|
}[];
|
|
14514
14668
|
templateId: string;
|
|
14515
|
-
sourceMode: "
|
|
14516
|
-
status: "
|
|
14669
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14670
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14517
14671
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14518
14672
|
publishedVersion: {
|
|
14519
14673
|
versionId: string;
|
|
@@ -14531,7 +14685,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14531
14685
|
createdVia?: string | null | undefined;
|
|
14532
14686
|
} | null;
|
|
14533
14687
|
provisioning: {
|
|
14534
|
-
status: "
|
|
14688
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14535
14689
|
lastErrorCode: string | null;
|
|
14536
14690
|
syncedAt: string | null;
|
|
14537
14691
|
};
|
|
@@ -14555,13 +14709,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14555
14709
|
domains: {
|
|
14556
14710
|
hostname: string;
|
|
14557
14711
|
kind: "PLATFORM" | "CUSTOM";
|
|
14558
|
-
status: "
|
|
14712
|
+
status: "HELD" | "ACTIVE";
|
|
14559
14713
|
isPrimary: boolean;
|
|
14560
14714
|
holdUntil: string | null;
|
|
14561
14715
|
}[];
|
|
14562
14716
|
templateId: string;
|
|
14563
|
-
sourceMode: "
|
|
14564
|
-
status: "
|
|
14717
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14718
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14565
14719
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14566
14720
|
publishedVersion: {
|
|
14567
14721
|
versionId: string;
|
|
@@ -14579,7 +14733,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14579
14733
|
createdVia?: string | null | undefined;
|
|
14580
14734
|
} | null;
|
|
14581
14735
|
provisioning: {
|
|
14582
|
-
status: "
|
|
14736
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14583
14737
|
lastErrorCode: string | null;
|
|
14584
14738
|
syncedAt: string | null;
|
|
14585
14739
|
};
|
|
@@ -14603,13 +14757,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14603
14757
|
domains: {
|
|
14604
14758
|
hostname: string;
|
|
14605
14759
|
kind: "PLATFORM" | "CUSTOM";
|
|
14606
|
-
status: "
|
|
14760
|
+
status: "HELD" | "ACTIVE";
|
|
14607
14761
|
isPrimary: boolean;
|
|
14608
14762
|
holdUntil: string | null;
|
|
14609
14763
|
}[];
|
|
14610
14764
|
templateId: string;
|
|
14611
|
-
sourceMode: "
|
|
14612
|
-
status: "
|
|
14765
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14766
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14613
14767
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14614
14768
|
publishedVersion: {
|
|
14615
14769
|
versionId: string;
|
|
@@ -14627,7 +14781,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14627
14781
|
createdVia?: string | null | undefined;
|
|
14628
14782
|
} | null;
|
|
14629
14783
|
provisioning: {
|
|
14630
|
-
status: "
|
|
14784
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14631
14785
|
lastErrorCode: string | null;
|
|
14632
14786
|
syncedAt: string | null;
|
|
14633
14787
|
};
|
|
@@ -14651,13 +14805,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14651
14805
|
domains: {
|
|
14652
14806
|
hostname: string;
|
|
14653
14807
|
kind: "PLATFORM" | "CUSTOM";
|
|
14654
|
-
status: "
|
|
14808
|
+
status: "HELD" | "ACTIVE";
|
|
14655
14809
|
isPrimary: boolean;
|
|
14656
14810
|
holdUntil: string | null;
|
|
14657
14811
|
}[];
|
|
14658
14812
|
templateId: string;
|
|
14659
|
-
sourceMode: "
|
|
14660
|
-
status: "
|
|
14813
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14814
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14661
14815
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14662
14816
|
publishedVersion: {
|
|
14663
14817
|
versionId: string;
|
|
@@ -14675,7 +14829,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14675
14829
|
createdVia?: string | null | undefined;
|
|
14676
14830
|
} | null;
|
|
14677
14831
|
provisioning: {
|
|
14678
|
-
status: "
|
|
14832
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14679
14833
|
lastErrorCode: string | null;
|
|
14680
14834
|
syncedAt: string | null;
|
|
14681
14835
|
};
|
|
@@ -14715,7 +14869,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14715
14869
|
value: string;
|
|
14716
14870
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14717
14871
|
}[];
|
|
14718
|
-
certificateStatus: "ACTIVE" | "
|
|
14872
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14719
14873
|
failureCode: string | null;
|
|
14720
14874
|
verifiedAt: string | null;
|
|
14721
14875
|
activatedAt: string | null;
|
|
@@ -14739,7 +14893,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14739
14893
|
value: string;
|
|
14740
14894
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14741
14895
|
}[];
|
|
14742
|
-
certificateStatus: "ACTIVE" | "
|
|
14896
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14743
14897
|
failureCode: string | null;
|
|
14744
14898
|
verifiedAt: string | null;
|
|
14745
14899
|
activatedAt: string | null;
|
|
@@ -14759,7 +14913,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14759
14913
|
value: string;
|
|
14760
14914
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14761
14915
|
}[];
|
|
14762
|
-
certificateStatus: "ACTIVE" | "
|
|
14916
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14763
14917
|
failureCode: string | null;
|
|
14764
14918
|
verifiedAt: string | null;
|
|
14765
14919
|
activatedAt: string | null;
|
|
@@ -14783,7 +14937,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14783
14937
|
value: string;
|
|
14784
14938
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14785
14939
|
}[];
|
|
14786
|
-
certificateStatus: "ACTIVE" | "
|
|
14940
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14787
14941
|
failureCode: string | null;
|
|
14788
14942
|
verifiedAt: string | null;
|
|
14789
14943
|
activatedAt: string | null;
|
|
@@ -14802,13 +14956,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14802
14956
|
domains: {
|
|
14803
14957
|
hostname: string;
|
|
14804
14958
|
kind: "PLATFORM" | "CUSTOM";
|
|
14805
|
-
status: "
|
|
14959
|
+
status: "HELD" | "ACTIVE";
|
|
14806
14960
|
isPrimary: boolean;
|
|
14807
14961
|
holdUntil: string | null;
|
|
14808
14962
|
}[];
|
|
14809
14963
|
templateId: string;
|
|
14810
|
-
sourceMode: "
|
|
14811
|
-
status: "
|
|
14964
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14965
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14812
14966
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14813
14967
|
publishedVersion: {
|
|
14814
14968
|
versionId: string;
|
|
@@ -14826,7 +14980,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14826
14980
|
createdVia?: string | null | undefined;
|
|
14827
14981
|
} | null;
|
|
14828
14982
|
provisioning: {
|
|
14829
|
-
status: "
|
|
14983
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14830
14984
|
lastErrorCode: string | null;
|
|
14831
14985
|
syncedAt: string | null;
|
|
14832
14986
|
};
|
|
@@ -15067,7 +15221,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15067
15221
|
buildId: string;
|
|
15068
15222
|
versionId: string;
|
|
15069
15223
|
versionNumber: number;
|
|
15070
|
-
status: "
|
|
15224
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15071
15225
|
failureStage: string | null;
|
|
15072
15226
|
errorCode: string | null;
|
|
15073
15227
|
logTail: string | null;
|
|
@@ -15148,7 +15302,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15148
15302
|
buildId: string;
|
|
15149
15303
|
versionId: string;
|
|
15150
15304
|
versionNumber: number;
|
|
15151
|
-
status: "
|
|
15305
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15152
15306
|
failureStage: string | null;
|
|
15153
15307
|
errorCode: string | null;
|
|
15154
15308
|
logTail: string | null;
|
|
@@ -15226,7 +15380,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15226
15380
|
buildId: string;
|
|
15227
15381
|
versionId: string;
|
|
15228
15382
|
versionNumber: number;
|
|
15229
|
-
status: "
|
|
15383
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15230
15384
|
failureStage: string | null;
|
|
15231
15385
|
errorCode: string | null;
|
|
15232
15386
|
logTail: string | null;
|
|
@@ -15511,7 +15665,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15511
15665
|
name: string;
|
|
15512
15666
|
storeCode: string;
|
|
15513
15667
|
storefrontUrl: string;
|
|
15514
|
-
status: "
|
|
15668
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
15515
15669
|
logoUrl: string | null;
|
|
15516
15670
|
businessNumber: string | null;
|
|
15517
15671
|
customerCenterPhone: string | null;
|
|
@@ -15559,7 +15713,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15559
15713
|
name: string;
|
|
15560
15714
|
storeCode: string;
|
|
15561
15715
|
storefrontUrl: string;
|
|
15562
|
-
status: "
|
|
15716
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
15563
15717
|
logoUrl: string | null;
|
|
15564
15718
|
businessNumber: string | null;
|
|
15565
15719
|
customerCenterPhone: string | null;
|
|
@@ -15624,7 +15778,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15624
15778
|
userId: string;
|
|
15625
15779
|
name: string;
|
|
15626
15780
|
email: string;
|
|
15627
|
-
role: "
|
|
15781
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
15628
15782
|
joinedAt: string;
|
|
15629
15783
|
lastActiveAt: string | null;
|
|
15630
15784
|
}[]>;
|
|
@@ -15641,7 +15795,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15641
15795
|
invitationId: string;
|
|
15642
15796
|
email: string;
|
|
15643
15797
|
role: "ADMIN" | "STAFF";
|
|
15644
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15798
|
+
status: "PENDING" | "EXPIRED" | "CANCELED" | "ACCEPTED";
|
|
15645
15799
|
invitedBy: string;
|
|
15646
15800
|
expiresAt: string;
|
|
15647
15801
|
createdAt: string;
|
|
@@ -15659,7 +15813,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15659
15813
|
invitationId: string;
|
|
15660
15814
|
email: string;
|
|
15661
15815
|
role: "ADMIN" | "STAFF";
|
|
15662
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15816
|
+
status: "PENDING" | "EXPIRED" | "CANCELED" | "ACCEPTED";
|
|
15663
15817
|
invitedBy: string;
|
|
15664
15818
|
expiresAt: string;
|
|
15665
15819
|
createdAt: string;
|
|
@@ -15674,7 +15828,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15674
15828
|
invitationId: string;
|
|
15675
15829
|
email: string;
|
|
15676
15830
|
role: "ADMIN" | "STAFF";
|
|
15677
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15831
|
+
status: "PENDING" | "EXPIRED" | "CANCELED" | "ACCEPTED";
|
|
15678
15832
|
invitedBy: string;
|
|
15679
15833
|
expiresAt: string;
|
|
15680
15834
|
createdAt: string;
|
|
@@ -16283,15 +16437,15 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
16283
16437
|
};
|
|
16284
16438
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
16285
16439
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
16286
|
-
category: "category";
|
|
16287
16440
|
flow: "flow";
|
|
16288
|
-
analytics: "analytics";
|
|
16289
16441
|
product: "product";
|
|
16442
|
+
category: "category";
|
|
16290
16443
|
order: "order";
|
|
16291
16444
|
claim: "claim";
|
|
16292
16445
|
inquiry: "inquiry";
|
|
16293
16446
|
review: "review";
|
|
16294
16447
|
settlement: "settlement";
|
|
16448
|
+
analytics: "analytics";
|
|
16295
16449
|
webhook: "webhook";
|
|
16296
16450
|
store: "store";
|
|
16297
16451
|
member: "member";
|
|
@@ -16709,8 +16863,8 @@ export declare const planEntitlementsSchema: z.ZodObject<{
|
|
|
16709
16863
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16710
16864
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16711
16865
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16712
|
-
EMAIL: "EMAIL";
|
|
16713
16866
|
COMMUNITY: "COMMUNITY";
|
|
16867
|
+
EMAIL: "EMAIL";
|
|
16714
16868
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16715
16869
|
DEDICATED: "DEDICATED";
|
|
16716
16870
|
SLA: "SLA";
|
|
@@ -16760,8 +16914,8 @@ export declare const publicPlanSchema: z.ZodObject<{
|
|
|
16760
16914
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16761
16915
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16762
16916
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16763
|
-
EMAIL: "EMAIL";
|
|
16764
16917
|
COMMUNITY: "COMMUNITY";
|
|
16918
|
+
EMAIL: "EMAIL";
|
|
16765
16919
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16766
16920
|
DEDICATED: "DEDICATED";
|
|
16767
16921
|
SLA: "SLA";
|
|
@@ -16814,8 +16968,8 @@ export declare const publicPlansSchema: z.ZodObject<{
|
|
|
16814
16968
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16815
16969
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16816
16970
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16817
|
-
EMAIL: "EMAIL";
|
|
16818
16971
|
COMMUNITY: "COMMUNITY";
|
|
16972
|
+
EMAIL: "EMAIL";
|
|
16819
16973
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16820
16974
|
DEDICATED: "DEDICATED";
|
|
16821
16975
|
SLA: "SLA";
|
|
@@ -16881,13 +17035,13 @@ export declare const orderWebhookEventDataSchema: z.ZodObject<{
|
|
|
16881
17035
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16882
17036
|
status: z.ZodEnum<{
|
|
16883
17037
|
PAID: "PAID";
|
|
16884
|
-
CANCELED: "CANCELED";
|
|
16885
17038
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
16886
17039
|
CONFIRMED: "CONFIRMED";
|
|
16887
17040
|
DISPATCHED: "DISPATCHED";
|
|
16888
17041
|
DELIVERING: "DELIVERING";
|
|
16889
17042
|
DELIVERED: "DELIVERED";
|
|
16890
17043
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17044
|
+
CANCELED: "CANCELED";
|
|
16891
17045
|
}>;
|
|
16892
17046
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16893
17047
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -16950,13 +17104,13 @@ export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
|
|
|
16950
17104
|
orderItemId: z.ZodString;
|
|
16951
17105
|
status: z.ZodEnum<{
|
|
16952
17106
|
PAID: "PAID";
|
|
16953
|
-
CANCELED: "CANCELED";
|
|
16954
17107
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
16955
17108
|
CONFIRMED: "CONFIRMED";
|
|
16956
17109
|
DISPATCHED: "DISPATCHED";
|
|
16957
17110
|
DELIVERING: "DELIVERING";
|
|
16958
17111
|
DELIVERED: "DELIVERED";
|
|
16959
17112
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17113
|
+
CANCELED: "CANCELED";
|
|
16960
17114
|
}>;
|
|
16961
17115
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16962
17116
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17006,23 +17160,23 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
|
|
|
17006
17160
|
orderItemId: z.ZodString;
|
|
17007
17161
|
status: z.ZodEnum<{
|
|
17008
17162
|
PAID: "PAID";
|
|
17009
|
-
CANCELED: "CANCELED";
|
|
17010
17163
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17011
17164
|
CONFIRMED: "CONFIRMED";
|
|
17012
17165
|
DISPATCHED: "DISPATCHED";
|
|
17013
17166
|
DELIVERING: "DELIVERING";
|
|
17014
17167
|
DELIVERED: "DELIVERED";
|
|
17015
17168
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17169
|
+
CANCELED: "CANCELED";
|
|
17016
17170
|
}>;
|
|
17017
17171
|
itemStatus: z.ZodEnum<{
|
|
17018
17172
|
PAID: "PAID";
|
|
17019
|
-
CANCELED: "CANCELED";
|
|
17020
17173
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17021
17174
|
CONFIRMED: "CONFIRMED";
|
|
17022
17175
|
DISPATCHED: "DISPATCHED";
|
|
17023
17176
|
DELIVERING: "DELIVERING";
|
|
17024
17177
|
DELIVERED: "DELIVERED";
|
|
17025
17178
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17179
|
+
CANCELED: "CANCELED";
|
|
17026
17180
|
}>;
|
|
17027
17181
|
reason: z.ZodString;
|
|
17028
17182
|
quantity: z.ZodNumber;
|
|
@@ -17042,19 +17196,19 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
17042
17196
|
orderId: z.ZodString;
|
|
17043
17197
|
orderItemId: z.ZodString;
|
|
17044
17198
|
claimType: z.ZodEnum<{
|
|
17199
|
+
CANCEL: "CANCEL";
|
|
17045
17200
|
RETURN: "RETURN";
|
|
17046
17201
|
EXCHANGE: "EXCHANGE";
|
|
17047
|
-
CANCEL: "CANCEL";
|
|
17048
17202
|
}>;
|
|
17049
17203
|
status: z.ZodEnum<{
|
|
17050
|
-
REJECTED: "REJECTED";
|
|
17051
|
-
COMPLETED: "COMPLETED";
|
|
17052
17204
|
REQUESTED: "REQUESTED";
|
|
17053
17205
|
HELD: "HELD";
|
|
17054
17206
|
COLLECTING: "COLLECTING";
|
|
17055
17207
|
COLLECTED: "COLLECTED";
|
|
17056
17208
|
REDELIVERING: "REDELIVERING";
|
|
17057
17209
|
APPROVED: "APPROVED";
|
|
17210
|
+
REJECTED: "REJECTED";
|
|
17211
|
+
COMPLETED: "COMPLETED";
|
|
17058
17212
|
WITHDRAWN: "WITHDRAWN";
|
|
17059
17213
|
}>;
|
|
17060
17214
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17098,13 +17252,13 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
|
|
|
17098
17252
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17099
17253
|
status: z.ZodEnum<{
|
|
17100
17254
|
PAID: "PAID";
|
|
17101
|
-
CANCELED: "CANCELED";
|
|
17102
17255
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17103
17256
|
CONFIRMED: "CONFIRMED";
|
|
17104
17257
|
DISPATCHED: "DISPATCHED";
|
|
17105
17258
|
DELIVERING: "DELIVERING";
|
|
17106
17259
|
DELIVERED: "DELIVERED";
|
|
17107
17260
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17261
|
+
CANCELED: "CANCELED";
|
|
17108
17262
|
}>;
|
|
17109
17263
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17110
17264
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17169,13 +17323,13 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
|
|
|
17169
17323
|
orderItemId: z.ZodString;
|
|
17170
17324
|
status: z.ZodEnum<{
|
|
17171
17325
|
PAID: "PAID";
|
|
17172
|
-
CANCELED: "CANCELED";
|
|
17173
17326
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17174
17327
|
CONFIRMED: "CONFIRMED";
|
|
17175
17328
|
DISPATCHED: "DISPATCHED";
|
|
17176
17329
|
DELIVERING: "DELIVERING";
|
|
17177
17330
|
DELIVERED: "DELIVERED";
|
|
17178
17331
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17332
|
+
CANCELED: "CANCELED";
|
|
17179
17333
|
}>;
|
|
17180
17334
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17181
17335
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17226,23 +17380,23 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
|
|
|
17226
17380
|
orderItemId: z.ZodString;
|
|
17227
17381
|
status: z.ZodEnum<{
|
|
17228
17382
|
PAID: "PAID";
|
|
17229
|
-
CANCELED: "CANCELED";
|
|
17230
17383
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17231
17384
|
CONFIRMED: "CONFIRMED";
|
|
17232
17385
|
DISPATCHED: "DISPATCHED";
|
|
17233
17386
|
DELIVERING: "DELIVERING";
|
|
17234
17387
|
DELIVERED: "DELIVERED";
|
|
17235
17388
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17389
|
+
CANCELED: "CANCELED";
|
|
17236
17390
|
}>;
|
|
17237
17391
|
itemStatus: z.ZodEnum<{
|
|
17238
17392
|
PAID: "PAID";
|
|
17239
|
-
CANCELED: "CANCELED";
|
|
17240
17393
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17241
17394
|
CONFIRMED: "CONFIRMED";
|
|
17242
17395
|
DISPATCHED: "DISPATCHED";
|
|
17243
17396
|
DELIVERING: "DELIVERING";
|
|
17244
17397
|
DELIVERED: "DELIVERED";
|
|
17245
17398
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17399
|
+
CANCELED: "CANCELED";
|
|
17246
17400
|
}>;
|
|
17247
17401
|
reason: z.ZodString;
|
|
17248
17402
|
quantity: z.ZodNumber;
|
|
@@ -17273,19 +17427,19 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
17273
17427
|
orderId: z.ZodString;
|
|
17274
17428
|
orderItemId: z.ZodString;
|
|
17275
17429
|
claimType: z.ZodEnum<{
|
|
17430
|
+
CANCEL: "CANCEL";
|
|
17276
17431
|
RETURN: "RETURN";
|
|
17277
17432
|
EXCHANGE: "EXCHANGE";
|
|
17278
|
-
CANCEL: "CANCEL";
|
|
17279
17433
|
}>;
|
|
17280
17434
|
status: z.ZodEnum<{
|
|
17281
|
-
REJECTED: "REJECTED";
|
|
17282
|
-
COMPLETED: "COMPLETED";
|
|
17283
17435
|
REQUESTED: "REQUESTED";
|
|
17284
17436
|
HELD: "HELD";
|
|
17285
17437
|
COLLECTING: "COLLECTING";
|
|
17286
17438
|
COLLECTED: "COLLECTED";
|
|
17287
17439
|
REDELIVERING: "REDELIVERING";
|
|
17288
17440
|
APPROVED: "APPROVED";
|
|
17441
|
+
REJECTED: "REJECTED";
|
|
17442
|
+
COMPLETED: "COMPLETED";
|
|
17289
17443
|
WITHDRAWN: "WITHDRAWN";
|
|
17290
17444
|
}>;
|
|
17291
17445
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17412,13 +17566,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17412
17566
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17413
17567
|
status: z.ZodEnum<{
|
|
17414
17568
|
PAID: "PAID";
|
|
17415
|
-
CANCELED: "CANCELED";
|
|
17416
17569
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17417
17570
|
CONFIRMED: "CONFIRMED";
|
|
17418
17571
|
DISPATCHED: "DISPATCHED";
|
|
17419
17572
|
DELIVERING: "DELIVERING";
|
|
17420
17573
|
DELIVERED: "DELIVERED";
|
|
17421
17574
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17575
|
+
CANCELED: "CANCELED";
|
|
17422
17576
|
}>;
|
|
17423
17577
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17424
17578
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17482,13 +17636,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17482
17636
|
orderItemId: z.ZodString;
|
|
17483
17637
|
status: z.ZodEnum<{
|
|
17484
17638
|
PAID: "PAID";
|
|
17485
|
-
CANCELED: "CANCELED";
|
|
17486
17639
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17487
17640
|
CONFIRMED: "CONFIRMED";
|
|
17488
17641
|
DISPATCHED: "DISPATCHED";
|
|
17489
17642
|
DELIVERING: "DELIVERING";
|
|
17490
17643
|
DELIVERED: "DELIVERED";
|
|
17491
17644
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17645
|
+
CANCELED: "CANCELED";
|
|
17492
17646
|
}>;
|
|
17493
17647
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17494
17648
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17538,23 +17692,23 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17538
17692
|
orderItemId: z.ZodString;
|
|
17539
17693
|
status: z.ZodEnum<{
|
|
17540
17694
|
PAID: "PAID";
|
|
17541
|
-
CANCELED: "CANCELED";
|
|
17542
17695
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17543
17696
|
CONFIRMED: "CONFIRMED";
|
|
17544
17697
|
DISPATCHED: "DISPATCHED";
|
|
17545
17698
|
DELIVERING: "DELIVERING";
|
|
17546
17699
|
DELIVERED: "DELIVERED";
|
|
17547
17700
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17701
|
+
CANCELED: "CANCELED";
|
|
17548
17702
|
}>;
|
|
17549
17703
|
itemStatus: z.ZodEnum<{
|
|
17550
17704
|
PAID: "PAID";
|
|
17551
|
-
CANCELED: "CANCELED";
|
|
17552
17705
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17553
17706
|
CONFIRMED: "CONFIRMED";
|
|
17554
17707
|
DISPATCHED: "DISPATCHED";
|
|
17555
17708
|
DELIVERING: "DELIVERING";
|
|
17556
17709
|
DELIVERED: "DELIVERED";
|
|
17557
17710
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17711
|
+
CANCELED: "CANCELED";
|
|
17558
17712
|
}>;
|
|
17559
17713
|
reason: z.ZodString;
|
|
17560
17714
|
quantity: z.ZodNumber;
|
|
@@ -17584,19 +17738,19 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17584
17738
|
orderId: z.ZodString;
|
|
17585
17739
|
orderItemId: z.ZodString;
|
|
17586
17740
|
claimType: z.ZodEnum<{
|
|
17741
|
+
CANCEL: "CANCEL";
|
|
17587
17742
|
RETURN: "RETURN";
|
|
17588
17743
|
EXCHANGE: "EXCHANGE";
|
|
17589
|
-
CANCEL: "CANCEL";
|
|
17590
17744
|
}>;
|
|
17591
17745
|
status: z.ZodEnum<{
|
|
17592
|
-
REJECTED: "REJECTED";
|
|
17593
|
-
COMPLETED: "COMPLETED";
|
|
17594
17746
|
REQUESTED: "REQUESTED";
|
|
17595
17747
|
HELD: "HELD";
|
|
17596
17748
|
COLLECTING: "COLLECTING";
|
|
17597
17749
|
COLLECTED: "COLLECTED";
|
|
17598
17750
|
REDELIVERING: "REDELIVERING";
|
|
17599
17751
|
APPROVED: "APPROVED";
|
|
17752
|
+
REJECTED: "REJECTED";
|
|
17753
|
+
COMPLETED: "COMPLETED";
|
|
17600
17754
|
WITHDRAWN: "WITHDRAWN";
|
|
17601
17755
|
}>;
|
|
17602
17756
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|