@sayren/store-sdk 0.30.2 → 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 +465 -400
- package/dist/index.mjs +13 -1
- package/package.json +1 -1
- package/src/schemas/commerce-flow.ts +20 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,20 +8,20 @@ import { z } from "zod";
|
|
|
8
8
|
* 도메인 동작은 그 안에서 변경 전후를 담은 기록(`source: DOMAIN`)을 따로 남기고 `requestId`로 요청 기록과 이어진다.
|
|
9
9
|
*/
|
|
10
10
|
export declare const auditActorTypeSchema: z.ZodEnum<{
|
|
11
|
+
SYSTEM: "SYSTEM";
|
|
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";
|
|
@@ -166,8 +166,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
168
|
DENIED: "DENIED";
|
|
169
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
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<{
|
|
@@ -191,8 +191,8 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
191
191
|
dryRun: z.ZodLiteral<true>;
|
|
192
192
|
decision: z.ZodEnum<{
|
|
193
193
|
DENIED: "DENIED";
|
|
194
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
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>>;
|
|
@@ -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>;
|
|
@@ -2027,7 +2027,14 @@ export declare const flowInputFieldSchema: z.ZodObject<{
|
|
|
2027
2027
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2028
2028
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2029
2029
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2030
|
-
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>>;
|
|
2031
2038
|
}, z.core.$strip>;
|
|
2032
2039
|
export type FlowInputField = z.infer<typeof flowInputFieldSchema>;
|
|
2033
2040
|
export declare const flowActionSchema: z.ZodObject<{
|
|
@@ -2053,7 +2060,14 @@ export declare const flowActionSchema: z.ZodObject<{
|
|
|
2053
2060
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2054
2061
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2055
2062
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2056
|
-
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>>;
|
|
2057
2071
|
}, z.core.$strip>>>;
|
|
2058
2072
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2059
2073
|
}, z.core.$strip>;
|
|
@@ -2066,29 +2080,30 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
2066
2080
|
label: z.ZodString;
|
|
2067
2081
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2068
2082
|
PAID: "PAID";
|
|
2069
|
-
CANCELED: "CANCELED";
|
|
2070
2083
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2071
2084
|
CONFIRMED: "CONFIRMED";
|
|
2072
2085
|
DISPATCHED: "DISPATCHED";
|
|
2073
2086
|
DELIVERING: "DELIVERING";
|
|
2074
2087
|
DELIVERED: "DELIVERED";
|
|
2075
2088
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2089
|
+
CANCELED: "CANCELED";
|
|
2076
2090
|
}>>;
|
|
2077
2091
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2078
|
-
REJECTED: "REJECTED";
|
|
2079
|
-
COMPLETED: "COMPLETED";
|
|
2080
2092
|
REQUESTED: "REQUESTED";
|
|
2081
2093
|
HELD: "HELD";
|
|
2082
2094
|
COLLECTING: "COLLECTING";
|
|
2083
2095
|
COLLECTED: "COLLECTED";
|
|
2084
2096
|
REDELIVERING: "REDELIVERING";
|
|
2085
2097
|
APPROVED: "APPROVED";
|
|
2098
|
+
REJECTED: "REJECTED";
|
|
2099
|
+
COMPLETED: "COMPLETED";
|
|
2086
2100
|
WITHDRAWN: "WITHDRAWN";
|
|
2087
2101
|
}>>;
|
|
2088
2102
|
message: z.ZodOptional<z.ZodString>;
|
|
2089
2103
|
enteredAt: z.ZodString;
|
|
2090
2104
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2091
2105
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2106
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2092
2107
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2093
2108
|
by: z.ZodString;
|
|
2094
2109
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2113,29 +2128,30 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2113
2128
|
label: z.ZodString;
|
|
2114
2129
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2115
2130
|
PAID: "PAID";
|
|
2116
|
-
CANCELED: "CANCELED";
|
|
2117
2131
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2118
2132
|
CONFIRMED: "CONFIRMED";
|
|
2119
2133
|
DISPATCHED: "DISPATCHED";
|
|
2120
2134
|
DELIVERING: "DELIVERING";
|
|
2121
2135
|
DELIVERED: "DELIVERED";
|
|
2122
2136
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2137
|
+
CANCELED: "CANCELED";
|
|
2123
2138
|
}>>;
|
|
2124
2139
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2125
|
-
REJECTED: "REJECTED";
|
|
2126
|
-
COMPLETED: "COMPLETED";
|
|
2127
2140
|
REQUESTED: "REQUESTED";
|
|
2128
2141
|
HELD: "HELD";
|
|
2129
2142
|
COLLECTING: "COLLECTING";
|
|
2130
2143
|
COLLECTED: "COLLECTED";
|
|
2131
2144
|
REDELIVERING: "REDELIVERING";
|
|
2132
2145
|
APPROVED: "APPROVED";
|
|
2146
|
+
REJECTED: "REJECTED";
|
|
2147
|
+
COMPLETED: "COMPLETED";
|
|
2133
2148
|
WITHDRAWN: "WITHDRAWN";
|
|
2134
2149
|
}>>;
|
|
2135
2150
|
message: z.ZodOptional<z.ZodString>;
|
|
2136
2151
|
enteredAt: z.ZodString;
|
|
2137
2152
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2138
2153
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2154
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2139
2155
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2140
2156
|
by: z.ZodString;
|
|
2141
2157
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2171,7 +2187,14 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2171
2187
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2172
2188
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2173
2189
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2174
|
-
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>>;
|
|
2175
2198
|
}, z.core.$strip>>>;
|
|
2176
2199
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2177
2200
|
}, z.core.$strip>>;
|
|
@@ -2186,13 +2209,13 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2186
2209
|
label: z.ZodString;
|
|
2187
2210
|
coreStatus: z.ZodNullable<z.ZodEnum<{
|
|
2188
2211
|
PAID: "PAID";
|
|
2189
|
-
CANCELED: "CANCELED";
|
|
2190
2212
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2191
2213
|
CONFIRMED: "CONFIRMED";
|
|
2192
2214
|
DISPATCHED: "DISPATCHED";
|
|
2193
2215
|
DELIVERING: "DELIVERING";
|
|
2194
2216
|
DELIVERED: "DELIVERED";
|
|
2195
2217
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2218
|
+
CANCELED: "CANCELED";
|
|
2196
2219
|
}>>;
|
|
2197
2220
|
}, z.core.$strip>>>;
|
|
2198
2221
|
branches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2200,29 +2223,30 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2200
2223
|
label: z.ZodString;
|
|
2201
2224
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2202
2225
|
PAID: "PAID";
|
|
2203
|
-
CANCELED: "CANCELED";
|
|
2204
2226
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2205
2227
|
CONFIRMED: "CONFIRMED";
|
|
2206
2228
|
DISPATCHED: "DISPATCHED";
|
|
2207
2229
|
DELIVERING: "DELIVERING";
|
|
2208
2230
|
DELIVERED: "DELIVERED";
|
|
2209
2231
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2232
|
+
CANCELED: "CANCELED";
|
|
2210
2233
|
}>>;
|
|
2211
2234
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2212
|
-
REJECTED: "REJECTED";
|
|
2213
|
-
COMPLETED: "COMPLETED";
|
|
2214
2235
|
REQUESTED: "REQUESTED";
|
|
2215
2236
|
HELD: "HELD";
|
|
2216
2237
|
COLLECTING: "COLLECTING";
|
|
2217
2238
|
COLLECTED: "COLLECTED";
|
|
2218
2239
|
REDELIVERING: "REDELIVERING";
|
|
2219
2240
|
APPROVED: "APPROVED";
|
|
2241
|
+
REJECTED: "REJECTED";
|
|
2242
|
+
COMPLETED: "COMPLETED";
|
|
2220
2243
|
WITHDRAWN: "WITHDRAWN";
|
|
2221
2244
|
}>>;
|
|
2222
2245
|
message: z.ZodOptional<z.ZodString>;
|
|
2223
2246
|
enteredAt: z.ZodString;
|
|
2224
2247
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2225
2248
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2249
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2226
2250
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2227
2251
|
by: z.ZodString;
|
|
2228
2252
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2290,29 +2314,30 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2290
2314
|
label: z.ZodString;
|
|
2291
2315
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2292
2316
|
PAID: "PAID";
|
|
2293
|
-
CANCELED: "CANCELED";
|
|
2294
2317
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2295
2318
|
CONFIRMED: "CONFIRMED";
|
|
2296
2319
|
DISPATCHED: "DISPATCHED";
|
|
2297
2320
|
DELIVERING: "DELIVERING";
|
|
2298
2321
|
DELIVERED: "DELIVERED";
|
|
2299
2322
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2323
|
+
CANCELED: "CANCELED";
|
|
2300
2324
|
}>>;
|
|
2301
2325
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2302
|
-
REJECTED: "REJECTED";
|
|
2303
|
-
COMPLETED: "COMPLETED";
|
|
2304
2326
|
REQUESTED: "REQUESTED";
|
|
2305
2327
|
HELD: "HELD";
|
|
2306
2328
|
COLLECTING: "COLLECTING";
|
|
2307
2329
|
COLLECTED: "COLLECTED";
|
|
2308
2330
|
REDELIVERING: "REDELIVERING";
|
|
2309
2331
|
APPROVED: "APPROVED";
|
|
2332
|
+
REJECTED: "REJECTED";
|
|
2333
|
+
COMPLETED: "COMPLETED";
|
|
2310
2334
|
WITHDRAWN: "WITHDRAWN";
|
|
2311
2335
|
}>>;
|
|
2312
2336
|
message: z.ZodOptional<z.ZodString>;
|
|
2313
2337
|
enteredAt: z.ZodString;
|
|
2314
2338
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2315
2339
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2340
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2316
2341
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2317
2342
|
by: z.ZodString;
|
|
2318
2343
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2348,7 +2373,14 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2348
2373
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2349
2374
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2350
2375
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2351
|
-
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>>;
|
|
2352
2384
|
}, z.core.$strip>>>;
|
|
2353
2385
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2354
2386
|
}, z.core.$strip>>;
|
|
@@ -2534,8 +2566,8 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
2534
2566
|
results: z.ZodArray<z.ZodObject<{
|
|
2535
2567
|
orderItemId: z.ZodString;
|
|
2536
2568
|
status: z.ZodEnum<{
|
|
2537
|
-
FAILED: "FAILED";
|
|
2538
2569
|
COMPLETED: "COMPLETED";
|
|
2570
|
+
FAILED: "FAILED";
|
|
2539
2571
|
SKIPPED: "SKIPPED";
|
|
2540
2572
|
}>;
|
|
2541
2573
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3044,8 +3076,8 @@ export type ConsentAction = z.infer<typeof consentActionSchema>;
|
|
|
3044
3076
|
* `RECONSENT` 약관 개정 재동의 · `MEMBER_UPDATE` 구매자가 직접 변경 · `SELLER` 셀러가 처리
|
|
3045
3077
|
*/
|
|
3046
3078
|
export declare const consentSourceSchema: z.ZodEnum<{
|
|
3047
|
-
SIGNUP: "SIGNUP";
|
|
3048
3079
|
SELLER: "SELLER";
|
|
3080
|
+
SIGNUP: "SIGNUP";
|
|
3049
3081
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3050
3082
|
DELEGATED: "DELEGATED";
|
|
3051
3083
|
RECONSENT: "RECONSENT";
|
|
@@ -3067,8 +3099,8 @@ export declare const customerConsentSchema: z.ZodObject<{
|
|
|
3067
3099
|
AGREED: "AGREED";
|
|
3068
3100
|
}>;
|
|
3069
3101
|
source: z.ZodEnum<{
|
|
3070
|
-
SIGNUP: "SIGNUP";
|
|
3071
3102
|
SELLER: "SELLER";
|
|
3103
|
+
SIGNUP: "SIGNUP";
|
|
3072
3104
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3073
3105
|
DELEGATED: "DELEGATED";
|
|
3074
3106
|
RECONSENT: "RECONSENT";
|
|
@@ -3238,13 +3270,13 @@ export declare const customerOrderSchema: z.ZodObject<{
|
|
|
3238
3270
|
quantity: z.ZodNumber;
|
|
3239
3271
|
status: z.ZodEnum<{
|
|
3240
3272
|
PAID: "PAID";
|
|
3241
|
-
CANCELED: "CANCELED";
|
|
3242
3273
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3243
3274
|
CONFIRMED: "CONFIRMED";
|
|
3244
3275
|
DISPATCHED: "DISPATCHED";
|
|
3245
3276
|
DELIVERING: "DELIVERING";
|
|
3246
3277
|
DELIVERED: "DELIVERED";
|
|
3247
3278
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3279
|
+
CANCELED: "CANCELED";
|
|
3248
3280
|
}>;
|
|
3249
3281
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
3250
3282
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -3257,10 +3289,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
3257
3289
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
3258
3290
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
3259
3291
|
reason: z.ZodEnum<{
|
|
3292
|
+
OTHER: "OTHER";
|
|
3260
3293
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
3261
3294
|
DORMANT: "DORMANT";
|
|
3262
3295
|
ABUSE: "ABUSE";
|
|
3263
|
-
OTHER: "OTHER";
|
|
3264
3296
|
}>;
|
|
3265
3297
|
memo: z.ZodOptional<z.ZodString>;
|
|
3266
3298
|
}, z.core.$strip>;
|
|
@@ -3689,11 +3721,11 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3689
3721
|
productName: z.ZodString;
|
|
3690
3722
|
orderItemId: z.ZodNullable<z.ZodString>;
|
|
3691
3723
|
category: z.ZodEnum<{
|
|
3724
|
+
RETURN: "RETURN";
|
|
3725
|
+
EXCHANGE: "EXCHANGE";
|
|
3692
3726
|
ETC: "ETC";
|
|
3693
3727
|
PRODUCT: "PRODUCT";
|
|
3694
3728
|
DELIVERY: "DELIVERY";
|
|
3695
|
-
RETURN: "RETURN";
|
|
3696
|
-
EXCHANGE: "EXCHANGE";
|
|
3697
3729
|
}>;
|
|
3698
3730
|
content: z.ZodString;
|
|
3699
3731
|
secret: z.ZodBoolean;
|
|
@@ -3708,10 +3740,10 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3708
3740
|
}, z.core.$strip>;
|
|
3709
3741
|
export type Inquiry = z.infer<typeof inquirySchema>;
|
|
3710
3742
|
export declare const customerInquiryCategorySchema: z.ZodEnum<{
|
|
3711
|
-
ETC: "ETC";
|
|
3712
|
-
DELIVERY: "DELIVERY";
|
|
3713
3743
|
RETURN: "RETURN";
|
|
3714
3744
|
EXCHANGE: "EXCHANGE";
|
|
3745
|
+
ETC: "ETC";
|
|
3746
|
+
DELIVERY: "DELIVERY";
|
|
3715
3747
|
PAYMENT: "PAYMENT";
|
|
3716
3748
|
}>;
|
|
3717
3749
|
export type CustomerInquiryCategory = z.infer<typeof customerInquiryCategorySchema>;
|
|
@@ -3720,10 +3752,10 @@ export declare const sellerCustomerInquirySchema: z.ZodObject<{
|
|
|
3720
3752
|
inquiryId: z.ZodString;
|
|
3721
3753
|
memberMaskedName: z.ZodString;
|
|
3722
3754
|
category: z.ZodEnum<{
|
|
3723
|
-
ETC: "ETC";
|
|
3724
|
-
DELIVERY: "DELIVERY";
|
|
3725
3755
|
RETURN: "RETURN";
|
|
3726
3756
|
EXCHANGE: "EXCHANGE";
|
|
3757
|
+
ETC: "ETC";
|
|
3758
|
+
DELIVERY: "DELIVERY";
|
|
3727
3759
|
PAYMENT: "PAYMENT";
|
|
3728
3760
|
}>;
|
|
3729
3761
|
title: z.ZodString;
|
|
@@ -3758,18 +3790,18 @@ export declare const customerInquiryListQuerySchema: z.ZodObject<{
|
|
|
3758
3790
|
false: "false";
|
|
3759
3791
|
}>>;
|
|
3760
3792
|
category: z.ZodOptional<z.ZodEnum<{
|
|
3761
|
-
ETC: "ETC";
|
|
3762
|
-
DELIVERY: "DELIVERY";
|
|
3763
3793
|
RETURN: "RETURN";
|
|
3764
3794
|
EXCHANGE: "EXCHANGE";
|
|
3795
|
+
ETC: "ETC";
|
|
3796
|
+
DELIVERY: "DELIVERY";
|
|
3765
3797
|
PAYMENT: "PAYMENT";
|
|
3766
3798
|
}>>;
|
|
3767
3799
|
from: z.ZodOptional<z.ZodString>;
|
|
3768
3800
|
}, z.core.$strip>;
|
|
3769
3801
|
export declare const settlementStatusSchema: z.ZodEnum<{
|
|
3802
|
+
HELD: "HELD";
|
|
3770
3803
|
PAID: "PAID";
|
|
3771
3804
|
SCHEDULED: "SCHEDULED";
|
|
3772
|
-
HELD: "HELD";
|
|
3773
3805
|
}>;
|
|
3774
3806
|
export type SettlementStatus = z.infer<typeof settlementStatusSchema>;
|
|
3775
3807
|
export declare const settlementSummarySchema: z.ZodObject<{
|
|
@@ -3777,9 +3809,9 @@ export declare const settlementSummarySchema: z.ZodObject<{
|
|
|
3777
3809
|
settlementDate: z.ZodString;
|
|
3778
3810
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3779
3811
|
status: z.ZodEnum<{
|
|
3812
|
+
HELD: "HELD";
|
|
3780
3813
|
PAID: "PAID";
|
|
3781
3814
|
SCHEDULED: "SCHEDULED";
|
|
3782
|
-
HELD: "HELD";
|
|
3783
3815
|
}>;
|
|
3784
3816
|
totalPaymentAmount: z.ZodNumber;
|
|
3785
3817
|
totalCommission: z.ZodNumber;
|
|
@@ -3812,9 +3844,9 @@ export declare const settlementWithDetailsSchema: z.ZodObject<{
|
|
|
3812
3844
|
settlementDate: z.ZodString;
|
|
3813
3845
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3814
3846
|
status: z.ZodEnum<{
|
|
3847
|
+
HELD: "HELD";
|
|
3815
3848
|
PAID: "PAID";
|
|
3816
3849
|
SCHEDULED: "SCHEDULED";
|
|
3817
|
-
HELD: "HELD";
|
|
3818
3850
|
}>;
|
|
3819
3851
|
totalPaymentAmount: z.ZodNumber;
|
|
3820
3852
|
totalCommission: z.ZodNumber;
|
|
@@ -3847,9 +3879,9 @@ export declare const settlementListQuerySchema: z.ZodObject<{
|
|
|
3847
3879
|
from: z.ZodString;
|
|
3848
3880
|
to: z.ZodOptional<z.ZodString>;
|
|
3849
3881
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3882
|
+
HELD: "HELD";
|
|
3850
3883
|
PAID: "PAID";
|
|
3851
3884
|
SCHEDULED: "SCHEDULED";
|
|
3852
|
-
HELD: "HELD";
|
|
3853
3885
|
}>>;
|
|
3854
3886
|
}, z.core.$strip>;
|
|
3855
3887
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -3869,8 +3901,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3869
3901
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3870
3902
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3871
3903
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3872
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3873
3904
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3905
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3874
3906
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3875
3907
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3876
3908
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3883,8 +3915,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3883
3915
|
}>;
|
|
3884
3916
|
export type EventType = z.infer<typeof eventTypeSchema>;
|
|
3885
3917
|
export declare const webhookStatusSchema: z.ZodEnum<{
|
|
3886
|
-
SUSPENDED: "SUSPENDED";
|
|
3887
3918
|
ACTIVE: "ACTIVE";
|
|
3919
|
+
SUSPENDED: "SUSPENDED";
|
|
3888
3920
|
}>;
|
|
3889
3921
|
export type WebhookStatus = z.infer<typeof webhookStatusSchema>;
|
|
3890
3922
|
export declare const webhookSchema: z.ZodObject<{
|
|
@@ -3897,8 +3929,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3897
3929
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3898
3930
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3899
3931
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3900
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3901
3932
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3933
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3902
3934
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3903
3935
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3904
3936
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3910,8 +3942,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3910
3942
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3911
3943
|
}>>;
|
|
3912
3944
|
status: z.ZodEnum<{
|
|
3913
|
-
SUSPENDED: "SUSPENDED";
|
|
3914
3945
|
ACTIVE: "ACTIVE";
|
|
3946
|
+
SUSPENDED: "SUSPENDED";
|
|
3915
3947
|
}>;
|
|
3916
3948
|
secretPrefix: z.ZodString;
|
|
3917
3949
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3929,8 +3961,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3929
3961
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3930
3962
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3931
3963
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3932
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3933
3964
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3965
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3934
3966
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3935
3967
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3936
3968
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3942,8 +3974,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3942
3974
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3943
3975
|
}>>;
|
|
3944
3976
|
status: z.ZodEnum<{
|
|
3945
|
-
SUSPENDED: "SUSPENDED";
|
|
3946
3977
|
ACTIVE: "ACTIVE";
|
|
3978
|
+
SUSPENDED: "SUSPENDED";
|
|
3947
3979
|
}>;
|
|
3948
3980
|
secretPrefix: z.ZodString;
|
|
3949
3981
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3958,10 +3990,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
3958
3990
|
}, z.core.$strip>;
|
|
3959
3991
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
3960
3992
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
3993
|
+
FAILED: "FAILED";
|
|
3961
3994
|
PENDING: "PENDING";
|
|
3962
3995
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3963
3996
|
SUCCESS: "SUCCESS";
|
|
3964
|
-
FAILED: "FAILED";
|
|
3965
3997
|
}>;
|
|
3966
3998
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
3967
3999
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -4011,8 +4043,8 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
4011
4043
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4012
4044
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4013
4045
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4014
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4015
4046
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4047
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4016
4048
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4017
4049
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4018
4050
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4025,10 +4057,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
4025
4057
|
}>;
|
|
4026
4058
|
url: z.ZodString;
|
|
4027
4059
|
status: z.ZodEnum<{
|
|
4060
|
+
FAILED: "FAILED";
|
|
4028
4061
|
PENDING: "PENDING";
|
|
4029
4062
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4030
4063
|
SUCCESS: "SUCCESS";
|
|
4031
|
-
FAILED: "FAILED";
|
|
4032
4064
|
}>;
|
|
4033
4065
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4034
4066
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4066,8 +4098,8 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4066
4098
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4067
4099
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4068
4100
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4069
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4070
4101
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4102
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4071
4103
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4072
4104
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4073
4105
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4080,10 +4112,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4080
4112
|
}>;
|
|
4081
4113
|
url: z.ZodString;
|
|
4082
4114
|
status: z.ZodEnum<{
|
|
4115
|
+
FAILED: "FAILED";
|
|
4083
4116
|
PENDING: "PENDING";
|
|
4084
4117
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4085
4118
|
SUCCESS: "SUCCESS";
|
|
4086
|
-
FAILED: "FAILED";
|
|
4087
4119
|
}>;
|
|
4088
4120
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4089
4121
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4118,10 +4150,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
4118
4150
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
4119
4151
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
4120
4152
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4153
|
+
FAILED: "FAILED";
|
|
4121
4154
|
PENDING: "PENDING";
|
|
4122
4155
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4123
4156
|
SUCCESS: "SUCCESS";
|
|
4124
|
-
FAILED: "FAILED";
|
|
4125
4157
|
}>>;
|
|
4126
4158
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
4127
4159
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -4130,8 +4162,8 @@ export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
|
4130
4162
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4131
4163
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4132
4164
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4133
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4134
4165
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4166
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4135
4167
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4136
4168
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4137
4169
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4159,8 +4191,8 @@ export declare const webhookTestRequestSchema: z.ZodObject<{
|
|
|
4159
4191
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4160
4192
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4161
4193
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4162
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4163
4194
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4195
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4164
4196
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4165
4197
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4166
4198
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4202,8 +4234,8 @@ export declare const webhookRequestSchema: z.ZodObject<{
|
|
|
4202
4234
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4203
4235
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4204
4236
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4205
|
-
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4206
4237
|
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4238
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4207
4239
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4208
4240
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4209
4241
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4294,23 +4326,23 @@ export declare const orderSummarySchema: z.ZodObject<{
|
|
|
4294
4326
|
totalAmount: z.ZodNumber;
|
|
4295
4327
|
representativeStatus: z.ZodEnum<{
|
|
4296
4328
|
PAID: "PAID";
|
|
4297
|
-
CANCELED: "CANCELED";
|
|
4298
4329
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4299
4330
|
CONFIRMED: "CONFIRMED";
|
|
4300
4331
|
DISPATCHED: "DISPATCHED";
|
|
4301
4332
|
DELIVERING: "DELIVERING";
|
|
4302
4333
|
DELIVERED: "DELIVERED";
|
|
4303
4334
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4335
|
+
CANCELED: "CANCELED";
|
|
4304
4336
|
}>;
|
|
4305
4337
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4306
4338
|
PAID: "PAID";
|
|
4307
|
-
CANCELED: "CANCELED";
|
|
4308
4339
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4309
4340
|
CONFIRMED: "CONFIRMED";
|
|
4310
4341
|
DISPATCHED: "DISPATCHED";
|
|
4311
4342
|
DELIVERING: "DELIVERING";
|
|
4312
4343
|
DELIVERED: "DELIVERED";
|
|
4313
4344
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4345
|
+
CANCELED: "CANCELED";
|
|
4314
4346
|
}>>;
|
|
4315
4347
|
orderedAt: z.ZodString;
|
|
4316
4348
|
testPayment: z.ZodBoolean;
|
|
@@ -4340,13 +4372,13 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
4340
4372
|
orderId: z.ZodString;
|
|
4341
4373
|
status: z.ZodEnum<{
|
|
4342
4374
|
PAID: "PAID";
|
|
4343
|
-
CANCELED: "CANCELED";
|
|
4344
4375
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4345
4376
|
CONFIRMED: "CONFIRMED";
|
|
4346
4377
|
DISPATCHED: "DISPATCHED";
|
|
4347
4378
|
DELIVERING: "DELIVERING";
|
|
4348
4379
|
DELIVERED: "DELIVERED";
|
|
4349
4380
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4381
|
+
CANCELED: "CANCELED";
|
|
4350
4382
|
}>;
|
|
4351
4383
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4352
4384
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4458,13 +4490,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4458
4490
|
orderId: z.ZodString;
|
|
4459
4491
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4460
4492
|
PAID: "PAID";
|
|
4461
|
-
CANCELED: "CANCELED";
|
|
4462
4493
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4463
4494
|
CONFIRMED: "CONFIRMED";
|
|
4464
4495
|
DISPATCHED: "DISPATCHED";
|
|
4465
4496
|
DELIVERING: "DELIVERING";
|
|
4466
4497
|
DELIVERED: "DELIVERED";
|
|
4467
4498
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4499
|
+
CANCELED: "CANCELED";
|
|
4468
4500
|
}>>;
|
|
4469
4501
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4470
4502
|
orderedAt: z.ZodString;
|
|
@@ -4539,13 +4571,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4539
4571
|
orderId: z.ZodString;
|
|
4540
4572
|
status: z.ZodEnum<{
|
|
4541
4573
|
PAID: "PAID";
|
|
4542
|
-
CANCELED: "CANCELED";
|
|
4543
4574
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4544
4575
|
CONFIRMED: "CONFIRMED";
|
|
4545
4576
|
DISPATCHED: "DISPATCHED";
|
|
4546
4577
|
DELIVERING: "DELIVERING";
|
|
4547
4578
|
DELIVERED: "DELIVERED";
|
|
4548
4579
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4580
|
+
CANCELED: "CANCELED";
|
|
4549
4581
|
}>;
|
|
4550
4582
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4551
4583
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4659,23 +4691,23 @@ export declare const orderSummaryPageSchema: z.ZodObject<{
|
|
|
4659
4691
|
totalAmount: z.ZodNumber;
|
|
4660
4692
|
representativeStatus: z.ZodEnum<{
|
|
4661
4693
|
PAID: "PAID";
|
|
4662
|
-
CANCELED: "CANCELED";
|
|
4663
4694
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4664
4695
|
CONFIRMED: "CONFIRMED";
|
|
4665
4696
|
DISPATCHED: "DISPATCHED";
|
|
4666
4697
|
DELIVERING: "DELIVERING";
|
|
4667
4698
|
DELIVERED: "DELIVERED";
|
|
4668
4699
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4700
|
+
CANCELED: "CANCELED";
|
|
4669
4701
|
}>;
|
|
4670
4702
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4671
4703
|
PAID: "PAID";
|
|
4672
|
-
CANCELED: "CANCELED";
|
|
4673
4704
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4674
4705
|
CONFIRMED: "CONFIRMED";
|
|
4675
4706
|
DISPATCHED: "DISPATCHED";
|
|
4676
4707
|
DELIVERING: "DELIVERING";
|
|
4677
4708
|
DELIVERED: "DELIVERED";
|
|
4678
4709
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4710
|
+
CANCELED: "CANCELED";
|
|
4679
4711
|
}>>;
|
|
4680
4712
|
orderedAt: z.ZodString;
|
|
4681
4713
|
testPayment: z.ZodBoolean;
|
|
@@ -4694,13 +4726,13 @@ export declare const orderItemPageSchema: z.ZodObject<{
|
|
|
4694
4726
|
orderId: z.ZodString;
|
|
4695
4727
|
status: z.ZodEnum<{
|
|
4696
4728
|
PAID: "PAID";
|
|
4697
|
-
CANCELED: "CANCELED";
|
|
4698
4729
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4699
4730
|
CONFIRMED: "CONFIRMED";
|
|
4700
4731
|
DISPATCHED: "DISPATCHED";
|
|
4701
4732
|
DELIVERING: "DELIVERING";
|
|
4702
4733
|
DELIVERED: "DELIVERED";
|
|
4703
4734
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4735
|
+
CANCELED: "CANCELED";
|
|
4704
4736
|
}>;
|
|
4705
4737
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4706
4738
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4812,13 +4844,13 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
4812
4844
|
orderedTo: z.ZodOptional<z.ZodString>;
|
|
4813
4845
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4814
4846
|
PAID: "PAID";
|
|
4815
|
-
CANCELED: "CANCELED";
|
|
4816
4847
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4817
4848
|
CONFIRMED: "CONFIRMED";
|
|
4818
4849
|
DISPATCHED: "DISPATCHED";
|
|
4819
4850
|
DELIVERING: "DELIVERING";
|
|
4820
4851
|
DELIVERED: "DELIVERED";
|
|
4821
4852
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4853
|
+
CANCELED: "CANCELED";
|
|
4822
4854
|
}>>;
|
|
4823
4855
|
keyword: z.ZodOptional<z.ZodString>;
|
|
4824
4856
|
orderNo: z.ZodOptional<z.ZodString>;
|
|
@@ -4968,10 +5000,10 @@ export declare const carrierSchema: z.ZodObject<{
|
|
|
4968
5000
|
export type Carrier = z.infer<typeof carrierSchema>;
|
|
4969
5001
|
export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
4970
5002
|
reason: z.ZodEnum<{
|
|
5003
|
+
ETC: "ETC";
|
|
4971
5004
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4972
5005
|
CUSTOMER_REQUEST: "CUSTOMER_REQUEST";
|
|
4973
5006
|
CUSTOMS: "CUSTOMS";
|
|
4974
|
-
ETC: "ETC";
|
|
4975
5007
|
}>;
|
|
4976
5008
|
detail: z.ZodOptional<z.ZodString>;
|
|
4977
5009
|
expectedDispatchDate: z.ZodString;
|
|
@@ -4979,8 +5011,8 @@ export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
|
4979
5011
|
export type HoldOrderItemRequest = z.infer<typeof holdOrderItemRequestSchema>;
|
|
4980
5012
|
export declare const cancelBySellerRequestSchema: z.ZodObject<{
|
|
4981
5013
|
reason: z.ZodEnum<{
|
|
4982
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4983
5014
|
ETC: "ETC";
|
|
5015
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
4984
5016
|
PRICE_ERROR: "PRICE_ERROR";
|
|
4985
5017
|
DELIVERY_IMPOSSIBLE: "DELIVERY_IMPOSSIBLE";
|
|
4986
5018
|
}>;
|
|
@@ -5085,8 +5117,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
5085
5117
|
}>;
|
|
5086
5118
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
5087
5119
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
5088
|
-
SUCCESS: "SUCCESS";
|
|
5089
5120
|
FAILED: "FAILED";
|
|
5121
|
+
SUCCESS: "SUCCESS";
|
|
5090
5122
|
}>;
|
|
5091
5123
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
5092
5124
|
/**
|
|
@@ -5235,8 +5267,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
5235
5267
|
}, z.core.$strip>>;
|
|
5236
5268
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5237
5269
|
result: z.ZodEnum<{
|
|
5238
|
-
SUCCESS: "SUCCESS";
|
|
5239
5270
|
FAILED: "FAILED";
|
|
5271
|
+
SUCCESS: "SUCCESS";
|
|
5240
5272
|
}>;
|
|
5241
5273
|
message: z.ZodNullable<z.ZodString>;
|
|
5242
5274
|
checkedAt: z.ZodString;
|
|
@@ -5337,8 +5369,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5337
5369
|
}, z.core.$strip>>;
|
|
5338
5370
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5339
5371
|
result: z.ZodEnum<{
|
|
5340
|
-
SUCCESS: "SUCCESS";
|
|
5341
5372
|
FAILED: "FAILED";
|
|
5373
|
+
SUCCESS: "SUCCESS";
|
|
5342
5374
|
}>;
|
|
5343
5375
|
message: z.ZodNullable<z.ZodString>;
|
|
5344
5376
|
checkedAt: z.ZodString;
|
|
@@ -5374,8 +5406,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5374
5406
|
}, z.core.$strip>>;
|
|
5375
5407
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5376
5408
|
result: z.ZodEnum<{
|
|
5377
|
-
SUCCESS: "SUCCESS";
|
|
5378
5409
|
FAILED: "FAILED";
|
|
5410
|
+
SUCCESS: "SUCCESS";
|
|
5379
5411
|
}>;
|
|
5380
5412
|
message: z.ZodNullable<z.ZodString>;
|
|
5381
5413
|
checkedAt: z.ZodString;
|
|
@@ -5410,8 +5442,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5410
5442
|
}, z.core.$strip>>;
|
|
5411
5443
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5412
5444
|
result: z.ZodEnum<{
|
|
5413
|
-
SUCCESS: "SUCCESS";
|
|
5414
5445
|
FAILED: "FAILED";
|
|
5446
|
+
SUCCESS: "SUCCESS";
|
|
5415
5447
|
}>;
|
|
5416
5448
|
message: z.ZodNullable<z.ZodString>;
|
|
5417
5449
|
checkedAt: z.ZodString;
|
|
@@ -5501,8 +5533,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5501
5533
|
}, z.core.$strip>>;
|
|
5502
5534
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5503
5535
|
result: z.ZodEnum<{
|
|
5504
|
-
SUCCESS: "SUCCESS";
|
|
5505
5536
|
FAILED: "FAILED";
|
|
5537
|
+
SUCCESS: "SUCCESS";
|
|
5506
5538
|
}>;
|
|
5507
5539
|
message: z.ZodNullable<z.ZodString>;
|
|
5508
5540
|
checkedAt: z.ZodString;
|
|
@@ -5538,8 +5570,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5538
5570
|
}, z.core.$strip>>;
|
|
5539
5571
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5540
5572
|
result: z.ZodEnum<{
|
|
5541
|
-
SUCCESS: "SUCCESS";
|
|
5542
5573
|
FAILED: "FAILED";
|
|
5574
|
+
SUCCESS: "SUCCESS";
|
|
5543
5575
|
}>;
|
|
5544
5576
|
message: z.ZodNullable<z.ZodString>;
|
|
5545
5577
|
checkedAt: z.ZodString;
|
|
@@ -5574,8 +5606,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5574
5606
|
}, z.core.$strip>>;
|
|
5575
5607
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5576
5608
|
result: z.ZodEnum<{
|
|
5577
|
-
SUCCESS: "SUCCESS";
|
|
5578
5609
|
FAILED: "FAILED";
|
|
5610
|
+
SUCCESS: "SUCCESS";
|
|
5579
5611
|
}>;
|
|
5580
5612
|
message: z.ZodNullable<z.ZodString>;
|
|
5581
5613
|
checkedAt: z.ZodString;
|
|
@@ -5631,8 +5663,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
5631
5663
|
LIVE: "LIVE";
|
|
5632
5664
|
}>;
|
|
5633
5665
|
result: z.ZodEnum<{
|
|
5634
|
-
SUCCESS: "SUCCESS";
|
|
5635
5666
|
FAILED: "FAILED";
|
|
5667
|
+
SUCCESS: "SUCCESS";
|
|
5636
5668
|
}>;
|
|
5637
5669
|
message: z.ZodNullable<z.ZodString>;
|
|
5638
5670
|
checkedAt: z.ZodString;
|
|
@@ -5762,9 +5794,9 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
5762
5794
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
5763
5795
|
*/
|
|
5764
5796
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
5765
|
-
PENDING: "PENDING";
|
|
5766
|
-
FAILED: "FAILED";
|
|
5767
5797
|
APPROVED: "APPROVED";
|
|
5798
|
+
FAILED: "FAILED";
|
|
5799
|
+
PENDING: "PENDING";
|
|
5768
5800
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5769
5801
|
REFUNDED: "REFUNDED";
|
|
5770
5802
|
}>;
|
|
@@ -5810,9 +5842,9 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
5810
5842
|
orderName: z.ZodString;
|
|
5811
5843
|
customerName: z.ZodString;
|
|
5812
5844
|
status: z.ZodEnum<{
|
|
5813
|
-
PENDING: "PENDING";
|
|
5814
|
-
FAILED: "FAILED";
|
|
5815
5845
|
APPROVED: "APPROVED";
|
|
5846
|
+
FAILED: "FAILED";
|
|
5847
|
+
PENDING: "PENDING";
|
|
5816
5848
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5817
5849
|
REFUNDED: "REFUNDED";
|
|
5818
5850
|
}>;
|
|
@@ -5857,9 +5889,9 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
5857
5889
|
orderName: z.ZodString;
|
|
5858
5890
|
customerName: z.ZodString;
|
|
5859
5891
|
status: z.ZodEnum<{
|
|
5860
|
-
PENDING: "PENDING";
|
|
5861
|
-
FAILED: "FAILED";
|
|
5862
5892
|
APPROVED: "APPROVED";
|
|
5893
|
+
FAILED: "FAILED";
|
|
5894
|
+
PENDING: "PENDING";
|
|
5863
5895
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5864
5896
|
REFUNDED: "REFUNDED";
|
|
5865
5897
|
}>;
|
|
@@ -5949,9 +5981,9 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
5949
5981
|
orderName: z.ZodString;
|
|
5950
5982
|
customerName: z.ZodString;
|
|
5951
5983
|
status: z.ZodEnum<{
|
|
5952
|
-
PENDING: "PENDING";
|
|
5953
|
-
FAILED: "FAILED";
|
|
5954
5984
|
APPROVED: "APPROVED";
|
|
5985
|
+
FAILED: "FAILED";
|
|
5986
|
+
PENDING: "PENDING";
|
|
5955
5987
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5956
5988
|
REFUNDED: "REFUNDED";
|
|
5957
5989
|
}>;
|
|
@@ -6237,30 +6269,30 @@ export declare const updatePointPolicyRequestSchema: z.ZodObject<{
|
|
|
6237
6269
|
export type UpdatePointPolicyRequest = z.infer<typeof updatePointPolicyRequestSchema>;
|
|
6238
6270
|
/** 응답의 원장 유형 — 값이 추가될 수 있어 문자열로 받는다 */
|
|
6239
6271
|
export declare const responsePointEntryTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6272
|
+
ADJUST: "ADJUST";
|
|
6273
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6274
|
+
OPENING: "OPENING";
|
|
6240
6275
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6241
6276
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6242
6277
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6243
6278
|
USE_RESERVE: "USE_RESERVE";
|
|
6244
6279
|
USE_RELEASE: "USE_RELEASE";
|
|
6245
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6246
6280
|
EXPIRE: "EXPIRE";
|
|
6247
|
-
ADJUST: "ADJUST";
|
|
6248
|
-
OPENING: "OPENING";
|
|
6249
6281
|
}>, z.ZodString]>;
|
|
6250
6282
|
/** 원장 항목 — 셀러 조회용(사유·행위자 포함) */
|
|
6251
6283
|
export declare const pointEntrySchema: z.ZodObject<{
|
|
6252
6284
|
entryId: z.ZodString;
|
|
6253
6285
|
memberId: z.ZodString;
|
|
6254
6286
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6287
|
+
ADJUST: "ADJUST";
|
|
6288
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6289
|
+
OPENING: "OPENING";
|
|
6255
6290
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6256
6291
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6257
6292
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6258
6293
|
USE_RESERVE: "USE_RESERVE";
|
|
6259
6294
|
USE_RELEASE: "USE_RELEASE";
|
|
6260
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6261
6295
|
EXPIRE: "EXPIRE";
|
|
6262
|
-
ADJUST: "ADJUST";
|
|
6263
|
-
OPENING: "OPENING";
|
|
6264
6296
|
}>, z.ZodString]>;
|
|
6265
6297
|
amount: z.ZodNumber;
|
|
6266
6298
|
balanceAfter: z.ZodNumber;
|
|
@@ -6275,11 +6307,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
6275
6307
|
export declare const pointLotSchema: z.ZodObject<{
|
|
6276
6308
|
lotId: z.ZodString;
|
|
6277
6309
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6278
|
-
|
|
6310
|
+
PURCHASE: "PURCHASE";
|
|
6311
|
+
REVIEW: "REVIEW";
|
|
6279
6312
|
ADJUST: "ADJUST";
|
|
6313
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6280
6314
|
OPENING: "OPENING";
|
|
6281
|
-
REVIEW: "REVIEW";
|
|
6282
|
-
PURCHASE: "PURCHASE";
|
|
6283
6315
|
}>, z.ZodString]>;
|
|
6284
6316
|
amount: z.ZodNumber;
|
|
6285
6317
|
remaining: z.ZodNumber;
|
|
@@ -6294,11 +6326,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
6294
6326
|
lots: z.ZodArray<z.ZodObject<{
|
|
6295
6327
|
lotId: z.ZodString;
|
|
6296
6328
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6297
|
-
|
|
6329
|
+
PURCHASE: "PURCHASE";
|
|
6330
|
+
REVIEW: "REVIEW";
|
|
6298
6331
|
ADJUST: "ADJUST";
|
|
6332
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6299
6333
|
OPENING: "OPENING";
|
|
6300
|
-
REVIEW: "REVIEW";
|
|
6301
|
-
PURCHASE: "PURCHASE";
|
|
6302
6334
|
}>, z.ZodString]>;
|
|
6303
6335
|
amount: z.ZodNumber;
|
|
6304
6336
|
remaining: z.ZodNumber;
|
|
@@ -6335,15 +6367,15 @@ export declare const pointAdjustmentResultSchema: z.ZodObject<{
|
|
|
6335
6367
|
entryId: z.ZodString;
|
|
6336
6368
|
memberId: z.ZodString;
|
|
6337
6369
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6370
|
+
ADJUST: "ADJUST";
|
|
6371
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6372
|
+
OPENING: "OPENING";
|
|
6338
6373
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6339
6374
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6340
6375
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6341
6376
|
USE_RESERVE: "USE_RESERVE";
|
|
6342
6377
|
USE_RELEASE: "USE_RELEASE";
|
|
6343
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6344
6378
|
EXPIRE: "EXPIRE";
|
|
6345
|
-
ADJUST: "ADJUST";
|
|
6346
|
-
OPENING: "OPENING";
|
|
6347
6379
|
}>, z.ZodString]>;
|
|
6348
6380
|
amount: z.ZodNumber;
|
|
6349
6381
|
balanceAfter: z.ZodNumber;
|
|
@@ -6383,10 +6415,10 @@ export declare function splitRefund(input: {
|
|
|
6383
6415
|
//#endregion
|
|
6384
6416
|
//#region src/schemas/product.d.ts
|
|
6385
6417
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
6386
|
-
SALE: "SALE";
|
|
6387
6418
|
SUSPENDED: "SUSPENDED";
|
|
6388
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6389
6419
|
CLOSED: "CLOSED";
|
|
6420
|
+
SALE: "SALE";
|
|
6421
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6390
6422
|
}>;
|
|
6391
6423
|
export type ProductStatus = z.infer<typeof productStatusSchema>;
|
|
6392
6424
|
export declare const productSummarySchema: z.ZodObject<{
|
|
@@ -6394,10 +6426,10 @@ export declare const productSummarySchema: z.ZodObject<{
|
|
|
6394
6426
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6395
6427
|
name: z.ZodString;
|
|
6396
6428
|
status: z.ZodEnum<{
|
|
6397
|
-
SALE: "SALE";
|
|
6398
6429
|
SUSPENDED: "SUSPENDED";
|
|
6399
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6400
6430
|
CLOSED: "CLOSED";
|
|
6431
|
+
SALE: "SALE";
|
|
6432
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6401
6433
|
}>;
|
|
6402
6434
|
salePrice: z.ZodNumber;
|
|
6403
6435
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6561,9 +6593,9 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
6561
6593
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6562
6594
|
number: "number";
|
|
6563
6595
|
date: "date";
|
|
6596
|
+
datetime: "datetime";
|
|
6564
6597
|
text: "text";
|
|
6565
6598
|
select: "select";
|
|
6566
|
-
datetime: "datetime";
|
|
6567
6599
|
image: "image";
|
|
6568
6600
|
}>>;
|
|
6569
6601
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -6605,10 +6637,10 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6605
6637
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6606
6638
|
name: z.ZodString;
|
|
6607
6639
|
status: z.ZodEnum<{
|
|
6608
|
-
SALE: "SALE";
|
|
6609
6640
|
SUSPENDED: "SUSPENDED";
|
|
6610
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6611
6641
|
CLOSED: "CLOSED";
|
|
6642
|
+
SALE: "SALE";
|
|
6643
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6612
6644
|
}>;
|
|
6613
6645
|
salePrice: z.ZodNumber;
|
|
6614
6646
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6831,9 +6863,9 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
6831
6863
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6832
6864
|
number: "number";
|
|
6833
6865
|
date: "date";
|
|
6866
|
+
datetime: "datetime";
|
|
6834
6867
|
text: "text";
|
|
6835
6868
|
select: "select";
|
|
6836
|
-
datetime: "datetime";
|
|
6837
6869
|
image: "image";
|
|
6838
6870
|
}>>;
|
|
6839
6871
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7005,9 +7037,9 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
7005
7037
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7006
7038
|
number: "number";
|
|
7007
7039
|
date: "date";
|
|
7040
|
+
datetime: "datetime";
|
|
7008
7041
|
text: "text";
|
|
7009
7042
|
select: "select";
|
|
7010
|
-
datetime: "datetime";
|
|
7011
7043
|
image: "image";
|
|
7012
7044
|
}>>;
|
|
7013
7045
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7119,9 +7151,9 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7119
7151
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7120
7152
|
number: "number";
|
|
7121
7153
|
date: "date";
|
|
7154
|
+
datetime: "datetime";
|
|
7122
7155
|
text: "text";
|
|
7123
7156
|
select: "select";
|
|
7124
|
-
datetime: "datetime";
|
|
7125
7157
|
image: "image";
|
|
7126
7158
|
}>>;
|
|
7127
7159
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7158,10 +7190,10 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7158
7190
|
name: z.ZodOptional<z.ZodString>;
|
|
7159
7191
|
salePrice: z.ZodOptional<z.ZodNumber>;
|
|
7160
7192
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7161
|
-
SALE: "SALE";
|
|
7162
7193
|
SUSPENDED: "SUSPENDED";
|
|
7163
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7164
7194
|
CLOSED: "CLOSED";
|
|
7195
|
+
SALE: "SALE";
|
|
7196
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7165
7197
|
}>>;
|
|
7166
7198
|
flowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7167
7199
|
images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -7204,11 +7236,11 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7204
7236
|
}, z.core.$strict>;
|
|
7205
7237
|
export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
7206
7238
|
export declare const productSortSchema: z.ZodEnum<{
|
|
7207
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
7208
7239
|
"createdAt.desc": "createdAt.desc";
|
|
7209
7240
|
"createdAt.asc": "createdAt.asc";
|
|
7210
7241
|
"salePrice.asc": "salePrice.asc";
|
|
7211
7242
|
"salePrice.desc": "salePrice.desc";
|
|
7243
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
7212
7244
|
}>;
|
|
7213
7245
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
7214
7246
|
export interface ProductListParams extends PageParams {
|
|
@@ -7225,21 +7257,21 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
7225
7257
|
page: z.ZodOptional<z.ZodString>;
|
|
7226
7258
|
size: z.ZodOptional<z.ZodString>;
|
|
7227
7259
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7228
|
-
SALE: "SALE";
|
|
7229
7260
|
SUSPENDED: "SUSPENDED";
|
|
7230
|
-
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7231
7261
|
CLOSED: "CLOSED";
|
|
7262
|
+
SALE: "SALE";
|
|
7263
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7232
7264
|
}>>;
|
|
7233
7265
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
7234
7266
|
keyword: z.ZodOptional<z.ZodString>;
|
|
7235
7267
|
sellerCode: z.ZodOptional<z.ZodString>;
|
|
7236
7268
|
productNo: z.ZodOptional<z.ZodString>;
|
|
7237
7269
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
7238
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
7239
7270
|
"createdAt.desc": "createdAt.desc";
|
|
7240
7271
|
"createdAt.asc": "createdAt.asc";
|
|
7241
7272
|
"salePrice.asc": "salePrice.asc";
|
|
7242
7273
|
"salePrice.desc": "salePrice.desc";
|
|
7274
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
7243
7275
|
}>>;
|
|
7244
7276
|
}, z.core.$strip>;
|
|
7245
7277
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -7352,9 +7384,9 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7352
7384
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7353
7385
|
number: "number";
|
|
7354
7386
|
date: "date";
|
|
7387
|
+
datetime: "datetime";
|
|
7355
7388
|
text: "text";
|
|
7356
7389
|
select: "select";
|
|
7357
|
-
datetime: "datetime";
|
|
7358
7390
|
image: "image";
|
|
7359
7391
|
}>>;
|
|
7360
7392
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7392,9 +7424,9 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
7392
7424
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7393
7425
|
number: "number";
|
|
7394
7426
|
date: "date";
|
|
7427
|
+
datetime: "datetime";
|
|
7395
7428
|
text: "text";
|
|
7396
7429
|
select: "select";
|
|
7397
|
-
datetime: "datetime";
|
|
7398
7430
|
image: "image";
|
|
7399
7431
|
}>>;
|
|
7400
7432
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7696,9 +7728,9 @@ export declare const storeSchema: z.ZodObject<{
|
|
|
7696
7728
|
storeCode: z.ZodString;
|
|
7697
7729
|
storefrontUrl: z.ZodURL;
|
|
7698
7730
|
status: z.ZodEnum<{
|
|
7731
|
+
ACTIVE: "ACTIVE";
|
|
7699
7732
|
SUSPENDED: "SUSPENDED";
|
|
7700
7733
|
CLOSED: "CLOSED";
|
|
7701
|
-
ACTIVE: "ACTIVE";
|
|
7702
7734
|
}>;
|
|
7703
7735
|
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
7704
7736
|
businessNumber: z.ZodNullable<z.ZodString>;
|
|
@@ -7710,9 +7742,9 @@ export declare const storeMemberSchema: z.ZodObject<{
|
|
|
7710
7742
|
name: z.ZodString;
|
|
7711
7743
|
email: z.ZodEmail;
|
|
7712
7744
|
role: z.ZodEnum<{
|
|
7745
|
+
OWNER: "OWNER";
|
|
7713
7746
|
ADMIN: "ADMIN";
|
|
7714
7747
|
STAFF: "STAFF";
|
|
7715
|
-
OWNER: "OWNER";
|
|
7716
7748
|
}>;
|
|
7717
7749
|
joinedAt: z.ZodString;
|
|
7718
7750
|
lastActiveAt: z.ZodNullable<z.ZodString>;
|
|
@@ -7739,8 +7771,8 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
7739
7771
|
status: z.ZodEnum<{
|
|
7740
7772
|
PENDING: "PENDING";
|
|
7741
7773
|
EXPIRED: "EXPIRED";
|
|
7742
|
-
ACCEPTED: "ACCEPTED";
|
|
7743
7774
|
CANCELED: "CANCELED";
|
|
7775
|
+
ACCEPTED: "ACCEPTED";
|
|
7744
7776
|
}>;
|
|
7745
7777
|
invitedBy: z.ZodString;
|
|
7746
7778
|
expiresAt: z.ZodString;
|
|
@@ -7779,8 +7811,8 @@ export declare const invitationListQuerySchema: z.ZodObject<{
|
|
|
7779
7811
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7780
7812
|
PENDING: "PENDING";
|
|
7781
7813
|
EXPIRED: "EXPIRED";
|
|
7782
|
-
ACCEPTED: "ACCEPTED";
|
|
7783
7814
|
CANCELED: "CANCELED";
|
|
7815
|
+
ACCEPTED: "ACCEPTED";
|
|
7784
7816
|
}>>;
|
|
7785
7817
|
}, z.core.$strip>;
|
|
7786
7818
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -7796,22 +7828,22 @@ export type StoreMemberRoleUpdated = z.infer<typeof storeMemberRoleUpdatedSchema
|
|
|
7796
7828
|
* 주소 유형 — 출고지·반품지.
|
|
7797
7829
|
*/
|
|
7798
7830
|
export declare const addressTypeSchema: z.ZodEnum<{
|
|
7799
|
-
SHIPPING: "SHIPPING";
|
|
7800
7831
|
RETURN: "RETURN";
|
|
7832
|
+
SHIPPING: "SHIPPING";
|
|
7801
7833
|
}>;
|
|
7802
7834
|
export type AddressType = z.infer<typeof addressTypeSchema>;
|
|
7803
7835
|
/** `GET /v1/seller-addresses` 쿼리 — OpenAPI 문서용 형태. 기본 주소 우선, 그다음 등록순이다 */
|
|
7804
7836
|
export declare const sellerAddressListQuerySchema: z.ZodObject<{
|
|
7805
7837
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7806
|
-
SHIPPING: "SHIPPING";
|
|
7807
7838
|
RETURN: "RETURN";
|
|
7839
|
+
SHIPPING: "SHIPPING";
|
|
7808
7840
|
}>>;
|
|
7809
7841
|
}, z.core.$strip>;
|
|
7810
7842
|
export declare const sellerAddressSchema: z.ZodObject<{
|
|
7811
7843
|
addressId: z.ZodString;
|
|
7812
7844
|
type: z.ZodEnum<{
|
|
7813
|
-
SHIPPING: "SHIPPING";
|
|
7814
7845
|
RETURN: "RETURN";
|
|
7846
|
+
SHIPPING: "SHIPPING";
|
|
7815
7847
|
}>;
|
|
7816
7848
|
name: z.ZodString;
|
|
7817
7849
|
isDefault: z.ZodBoolean;
|
|
@@ -7825,8 +7857,8 @@ export declare const sellerAddressSchema: z.ZodObject<{
|
|
|
7825
7857
|
export type SellerAddress = z.infer<typeof sellerAddressSchema>;
|
|
7826
7858
|
export declare const sellerAddressRequestSchema: z.ZodObject<{
|
|
7827
7859
|
type: z.ZodEnum<{
|
|
7828
|
-
SHIPPING: "SHIPPING";
|
|
7829
7860
|
RETURN: "RETURN";
|
|
7861
|
+
SHIPPING: "SHIPPING";
|
|
7830
7862
|
}>;
|
|
7831
7863
|
name: z.ZodString;
|
|
7832
7864
|
contactName: z.ZodString;
|
|
@@ -7976,9 +8008,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
7976
8008
|
}, z.core.$strip>;
|
|
7977
8009
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
7978
8010
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
8011
|
+
ACTIVE: "ACTIVE";
|
|
7979
8012
|
SUSPENDED: "SUSPENDED";
|
|
7980
8013
|
CLOSED: "CLOSED";
|
|
7981
|
-
ACTIVE: "ACTIVE";
|
|
7982
8014
|
}>;
|
|
7983
8015
|
export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
|
|
7984
8016
|
export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
@@ -7987,8 +8019,8 @@ export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
|
7987
8019
|
}>;
|
|
7988
8020
|
export type StorefrontVisibility = z.infer<typeof storefrontVisibilitySchema>;
|
|
7989
8021
|
export declare const storefrontSourceModeSchema: z.ZodEnum<{
|
|
7990
|
-
CUSTOM: "CUSTOM";
|
|
7991
8022
|
MANAGED: "MANAGED";
|
|
8023
|
+
CUSTOM: "CUSTOM";
|
|
7992
8024
|
}>;
|
|
7993
8025
|
export declare const storefrontDomainSchema: z.ZodObject<{
|
|
7994
8026
|
hostname: z.ZodString;
|
|
@@ -7997,8 +8029,8 @@ export declare const storefrontDomainSchema: z.ZodObject<{
|
|
|
7997
8029
|
CUSTOM: "CUSTOM";
|
|
7998
8030
|
}>;
|
|
7999
8031
|
status: z.ZodEnum<{
|
|
8000
|
-
ACTIVE: "ACTIVE";
|
|
8001
8032
|
HELD: "HELD";
|
|
8033
|
+
ACTIVE: "ACTIVE";
|
|
8002
8034
|
}>;
|
|
8003
8035
|
isPrimary: z.ZodBoolean;
|
|
8004
8036
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
@@ -8010,8 +8042,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
8010
8042
|
*/
|
|
8011
8043
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
8012
8044
|
status: z.ZodEnum<{
|
|
8013
|
-
PENDING: "PENDING";
|
|
8014
8045
|
FAILED: "FAILED";
|
|
8046
|
+
PENDING: "PENDING";
|
|
8015
8047
|
SYNCED: "SYNCED";
|
|
8016
8048
|
}>;
|
|
8017
8049
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8047,21 +8079,21 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8047
8079
|
CUSTOM: "CUSTOM";
|
|
8048
8080
|
}>;
|
|
8049
8081
|
status: z.ZodEnum<{
|
|
8050
|
-
ACTIVE: "ACTIVE";
|
|
8051
8082
|
HELD: "HELD";
|
|
8083
|
+
ACTIVE: "ACTIVE";
|
|
8052
8084
|
}>;
|
|
8053
8085
|
isPrimary: z.ZodBoolean;
|
|
8054
8086
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8055
8087
|
}, z.core.$strip>>;
|
|
8056
8088
|
templateId: z.ZodString;
|
|
8057
8089
|
sourceMode: z.ZodEnum<{
|
|
8058
|
-
CUSTOM: "CUSTOM";
|
|
8059
8090
|
MANAGED: "MANAGED";
|
|
8091
|
+
CUSTOM: "CUSTOM";
|
|
8060
8092
|
}>;
|
|
8061
8093
|
status: z.ZodEnum<{
|
|
8094
|
+
ACTIVE: "ACTIVE";
|
|
8062
8095
|
SUSPENDED: "SUSPENDED";
|
|
8063
8096
|
CLOSED: "CLOSED";
|
|
8064
|
-
ACTIVE: "ACTIVE";
|
|
8065
8097
|
}>;
|
|
8066
8098
|
visibility: z.ZodEnum<{
|
|
8067
8099
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8091,8 +8123,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8091
8123
|
}, z.core.$strip>>;
|
|
8092
8124
|
provisioning: z.ZodObject<{
|
|
8093
8125
|
status: z.ZodEnum<{
|
|
8094
|
-
PENDING: "PENDING";
|
|
8095
8126
|
FAILED: "FAILED";
|
|
8127
|
+
PENDING: "PENDING";
|
|
8096
8128
|
SYNCED: "SYNCED";
|
|
8097
8129
|
}>;
|
|
8098
8130
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8127,21 +8159,21 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8127
8159
|
CUSTOM: "CUSTOM";
|
|
8128
8160
|
}>;
|
|
8129
8161
|
status: z.ZodEnum<{
|
|
8130
|
-
ACTIVE: "ACTIVE";
|
|
8131
8162
|
HELD: "HELD";
|
|
8163
|
+
ACTIVE: "ACTIVE";
|
|
8132
8164
|
}>;
|
|
8133
8165
|
isPrimary: z.ZodBoolean;
|
|
8134
8166
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8135
8167
|
}, z.core.$strip>>;
|
|
8136
8168
|
templateId: z.ZodString;
|
|
8137
8169
|
sourceMode: z.ZodEnum<{
|
|
8138
|
-
CUSTOM: "CUSTOM";
|
|
8139
8170
|
MANAGED: "MANAGED";
|
|
8171
|
+
CUSTOM: "CUSTOM";
|
|
8140
8172
|
}>;
|
|
8141
8173
|
status: z.ZodEnum<{
|
|
8174
|
+
ACTIVE: "ACTIVE";
|
|
8142
8175
|
SUSPENDED: "SUSPENDED";
|
|
8143
8176
|
CLOSED: "CLOSED";
|
|
8144
|
-
ACTIVE: "ACTIVE";
|
|
8145
8177
|
}>;
|
|
8146
8178
|
visibility: z.ZodEnum<{
|
|
8147
8179
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8171,8 +8203,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8171
8203
|
}, z.core.$strip>>;
|
|
8172
8204
|
provisioning: z.ZodObject<{
|
|
8173
8205
|
status: z.ZodEnum<{
|
|
8174
|
-
PENDING: "PENDING";
|
|
8175
8206
|
FAILED: "FAILED";
|
|
8207
|
+
PENDING: "PENDING";
|
|
8176
8208
|
SYNCED: "SYNCED";
|
|
8177
8209
|
}>;
|
|
8178
8210
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8195,8 +8227,8 @@ export declare const storefrontSlugAvailabilitySchema: z.ZodObject<{
|
|
|
8195
8227
|
slug: z.ZodString;
|
|
8196
8228
|
available: z.ZodBoolean;
|
|
8197
8229
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
8198
|
-
RESERVED: "RESERVED";
|
|
8199
8230
|
INVALID: "INVALID";
|
|
8231
|
+
RESERVED: "RESERVED";
|
|
8200
8232
|
TAKEN: "TAKEN";
|
|
8201
8233
|
CURRENT: "CURRENT";
|
|
8202
8234
|
}>>;
|
|
@@ -8214,8 +8246,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
8214
8246
|
PUBLISH: "PUBLISH";
|
|
8215
8247
|
}>;
|
|
8216
8248
|
status: z.ZodEnum<{
|
|
8217
|
-
PENDING: "PENDING";
|
|
8218
8249
|
FAILED: "FAILED";
|
|
8250
|
+
PENDING: "PENDING";
|
|
8219
8251
|
RUNNING: "RUNNING";
|
|
8220
8252
|
DONE: "DONE";
|
|
8221
8253
|
}>;
|
|
@@ -8236,8 +8268,8 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
8236
8268
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
8237
8269
|
siteId: z.ZodString;
|
|
8238
8270
|
status: z.ZodEnum<{
|
|
8239
|
-
FAILED: "FAILED";
|
|
8240
8271
|
SUCCEEDED: "SUCCEEDED";
|
|
8272
|
+
FAILED: "FAILED";
|
|
8241
8273
|
IN_PROGRESS: "IN_PROGRESS";
|
|
8242
8274
|
}>;
|
|
8243
8275
|
url: z.ZodString;
|
|
@@ -8250,8 +8282,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
8250
8282
|
PUBLISH: "PUBLISH";
|
|
8251
8283
|
}>;
|
|
8252
8284
|
status: z.ZodEnum<{
|
|
8253
|
-
PENDING: "PENDING";
|
|
8254
8285
|
FAILED: "FAILED";
|
|
8286
|
+
PENDING: "PENDING";
|
|
8255
8287
|
RUNNING: "RUNNING";
|
|
8256
8288
|
DONE: "DONE";
|
|
8257
8289
|
}>;
|
|
@@ -8418,8 +8450,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8418
8450
|
}, z.core.$strip>>;
|
|
8419
8451
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8420
8452
|
ACTIVE: "ACTIVE";
|
|
8421
|
-
PENDING: "PENDING";
|
|
8422
8453
|
FAILED: "FAILED";
|
|
8454
|
+
PENDING: "PENDING";
|
|
8423
8455
|
}>>;
|
|
8424
8456
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8425
8457
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8461,8 +8493,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8461
8493
|
}, z.core.$strip>>;
|
|
8462
8494
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8463
8495
|
ACTIVE: "ACTIVE";
|
|
8464
|
-
PENDING: "PENDING";
|
|
8465
8496
|
FAILED: "FAILED";
|
|
8497
|
+
PENDING: "PENDING";
|
|
8466
8498
|
}>>;
|
|
8467
8499
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8468
8500
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8795,8 +8827,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
8795
8827
|
}, z.core.$strip>;
|
|
8796
8828
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
8797
8829
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
8798
|
-
FAILED: "FAILED";
|
|
8799
8830
|
SUCCEEDED: "SUCCEEDED";
|
|
8831
|
+
FAILED: "FAILED";
|
|
8800
8832
|
RUNNING: "RUNNING";
|
|
8801
8833
|
QUEUED: "QUEUED";
|
|
8802
8834
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8863,8 +8895,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
8863
8895
|
versionId: z.ZodString;
|
|
8864
8896
|
versionNumber: z.ZodNumber;
|
|
8865
8897
|
status: z.ZodEnum<{
|
|
8866
|
-
FAILED: "FAILED";
|
|
8867
8898
|
SUCCEEDED: "SUCCEEDED";
|
|
8899
|
+
FAILED: "FAILED";
|
|
8868
8900
|
RUNNING: "RUNNING";
|
|
8869
8901
|
QUEUED: "QUEUED";
|
|
8870
8902
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8992,8 +9024,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
8992
9024
|
versionId: z.ZodString;
|
|
8993
9025
|
versionNumber: z.ZodNumber;
|
|
8994
9026
|
status: z.ZodEnum<{
|
|
8995
|
-
FAILED: "FAILED";
|
|
8996
9027
|
SUCCEEDED: "SUCCEEDED";
|
|
9028
|
+
FAILED: "FAILED";
|
|
8997
9029
|
RUNNING: "RUNNING";
|
|
8998
9030
|
QUEUED: "QUEUED";
|
|
8999
9031
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -9193,8 +9225,8 @@ export type StorefrontSourceReplaced = z.infer<typeof storefrontSourceReplacedSc
|
|
|
9193
9225
|
* - `flow-attachment`: 주문 흐름 행동의 첨부(시안 등, 이슈 #115). 구매자에게 보이므로 정지 이미지와 PDF만 받는다.
|
|
9194
9226
|
*/
|
|
9195
9227
|
export declare const uploadPurposeSchema: z.ZodEnum<{
|
|
9196
|
-
"product-image": "product-image";
|
|
9197
9228
|
description: "description";
|
|
9229
|
+
"product-image": "product-image";
|
|
9198
9230
|
"flow-attachment": "flow-attachment";
|
|
9199
9231
|
}>;
|
|
9200
9232
|
export type UploadPurpose = z.infer<typeof uploadPurposeSchema>;
|
|
@@ -9233,8 +9265,8 @@ export declare function uploadRejection(purpose: UploadPurpose, filename: string
|
|
|
9233
9265
|
export declare const uploadRequestSchema: z.ZodObject<{
|
|
9234
9266
|
filename: z.ZodString;
|
|
9235
9267
|
purpose: z.ZodDefault<z.ZodEnum<{
|
|
9236
|
-
"product-image": "product-image";
|
|
9237
9268
|
description: "description";
|
|
9269
|
+
"product-image": "product-image";
|
|
9238
9270
|
"flow-attachment": "flow-attachment";
|
|
9239
9271
|
}>>;
|
|
9240
9272
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9248,9 +9280,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
|
|
|
9248
9280
|
//#endregion
|
|
9249
9281
|
//#region src/schemas/auth.d.ts
|
|
9250
9282
|
export declare const storeRoleSchema: z.ZodEnum<{
|
|
9283
|
+
OWNER: "OWNER";
|
|
9251
9284
|
ADMIN: "ADMIN";
|
|
9252
9285
|
STAFF: "STAFF";
|
|
9253
|
-
OWNER: "OWNER";
|
|
9254
9286
|
}>;
|
|
9255
9287
|
export type StoreRole = z.infer<typeof storeRoleSchema>;
|
|
9256
9288
|
export declare const myStoreSchema: z.ZodObject<{
|
|
@@ -9258,14 +9290,14 @@ export declare const myStoreSchema: z.ZodObject<{
|
|
|
9258
9290
|
storeName: z.ZodString;
|
|
9259
9291
|
storeCode: z.ZodString;
|
|
9260
9292
|
role: z.ZodEnum<{
|
|
9293
|
+
OWNER: "OWNER";
|
|
9261
9294
|
ADMIN: "ADMIN";
|
|
9262
9295
|
STAFF: "STAFF";
|
|
9263
|
-
OWNER: "OWNER";
|
|
9264
9296
|
}>;
|
|
9265
9297
|
status: z.ZodEnum<{
|
|
9298
|
+
ACTIVE: "ACTIVE";
|
|
9266
9299
|
SUSPENDED: "SUSPENDED";
|
|
9267
9300
|
CLOSED: "CLOSED";
|
|
9268
|
-
ACTIVE: "ACTIVE";
|
|
9269
9301
|
}>;
|
|
9270
9302
|
}, z.core.$strip>;
|
|
9271
9303
|
export type MyStore = z.infer<typeof myStoreSchema>;
|
|
@@ -9420,8 +9452,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9420
9452
|
storeId: string;
|
|
9421
9453
|
storeName: string;
|
|
9422
9454
|
storeCode: string;
|
|
9423
|
-
role: "
|
|
9424
|
-
status: "
|
|
9455
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
9456
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
9425
9457
|
}[]>;
|
|
9426
9458
|
me: () => Promise<{
|
|
9427
9459
|
userId: string;
|
|
@@ -9461,7 +9493,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9461
9493
|
productId: string;
|
|
9462
9494
|
productNo: number | null;
|
|
9463
9495
|
name: string;
|
|
9464
|
-
status: "
|
|
9496
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9465
9497
|
salePrice: number;
|
|
9466
9498
|
discountedPrice: number | null;
|
|
9467
9499
|
stockQuantity: number;
|
|
@@ -9479,7 +9511,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9479
9511
|
productId: string;
|
|
9480
9512
|
productNo: number | null;
|
|
9481
9513
|
name: string;
|
|
9482
|
-
status: "
|
|
9514
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9483
9515
|
salePrice: number;
|
|
9484
9516
|
discountedPrice: number | null;
|
|
9485
9517
|
stockQuantity: number;
|
|
@@ -9587,7 +9619,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9587
9619
|
productId: string;
|
|
9588
9620
|
productNo: number | null;
|
|
9589
9621
|
name: string;
|
|
9590
|
-
status: "
|
|
9622
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9591
9623
|
salePrice: number;
|
|
9592
9624
|
discountedPrice: number | null;
|
|
9593
9625
|
stockQuantity: number;
|
|
@@ -9695,7 +9727,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9695
9727
|
productId: string;
|
|
9696
9728
|
productNo: number | null;
|
|
9697
9729
|
name: string;
|
|
9698
|
-
status: "
|
|
9730
|
+
status: "SUSPENDED" | "CLOSED" | "SALE" | "OUT_OF_STOCK";
|
|
9699
9731
|
salePrice: number;
|
|
9700
9732
|
discountedPrice: number | null;
|
|
9701
9733
|
stockQuantity: number;
|
|
@@ -10140,7 +10172,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10140
10172
|
value: true;
|
|
10141
10173
|
} | {
|
|
10142
10174
|
field: "bestSelling";
|
|
10143
|
-
days:
|
|
10175
|
+
days: 7 | 30 | 90;
|
|
10144
10176
|
top: number;
|
|
10145
10177
|
} | {
|
|
10146
10178
|
[x: string]: unknown;
|
|
@@ -10152,7 +10184,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10152
10184
|
sortOrder: number;
|
|
10153
10185
|
metaTitle: string | null;
|
|
10154
10186
|
metaDescription: string | null;
|
|
10155
|
-
state: "ACTIVE" | "
|
|
10187
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10156
10188
|
salesComputedAt: string | null;
|
|
10157
10189
|
productCount: number;
|
|
10158
10190
|
revision: number;
|
|
@@ -10190,7 +10222,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10190
10222
|
value: true;
|
|
10191
10223
|
} | {
|
|
10192
10224
|
field: "bestSelling";
|
|
10193
|
-
days:
|
|
10225
|
+
days: 7 | 30 | 90;
|
|
10194
10226
|
top: number;
|
|
10195
10227
|
} | {
|
|
10196
10228
|
[x: string]: unknown;
|
|
@@ -10202,7 +10234,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10202
10234
|
sortOrder: number;
|
|
10203
10235
|
metaTitle: string | null;
|
|
10204
10236
|
metaDescription: string | null;
|
|
10205
|
-
state: "ACTIVE" | "
|
|
10237
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10206
10238
|
salesComputedAt: string | null;
|
|
10207
10239
|
productCount: number;
|
|
10208
10240
|
revision: number;
|
|
@@ -10233,7 +10265,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10233
10265
|
value: true;
|
|
10234
10266
|
} | {
|
|
10235
10267
|
field: "bestSelling";
|
|
10236
|
-
days:
|
|
10268
|
+
days: 7 | 30 | 90;
|
|
10237
10269
|
top: number;
|
|
10238
10270
|
} | {
|
|
10239
10271
|
[x: string]: unknown;
|
|
@@ -10245,7 +10277,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10245
10277
|
sortOrder: number;
|
|
10246
10278
|
metaTitle: string | null;
|
|
10247
10279
|
metaDescription: string | null;
|
|
10248
|
-
state: "ACTIVE" | "
|
|
10280
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10249
10281
|
salesComputedAt: string | null;
|
|
10250
10282
|
productCount: number;
|
|
10251
10283
|
revision: number;
|
|
@@ -10275,7 +10307,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10275
10307
|
value: true;
|
|
10276
10308
|
} | {
|
|
10277
10309
|
field: "bestSelling";
|
|
10278
|
-
days:
|
|
10310
|
+
days: 7 | 30 | 90;
|
|
10279
10311
|
top: number;
|
|
10280
10312
|
} | {
|
|
10281
10313
|
[x: string]: unknown;
|
|
@@ -10287,7 +10319,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10287
10319
|
sortOrder: number;
|
|
10288
10320
|
metaTitle: string | null;
|
|
10289
10321
|
metaDescription: string | null;
|
|
10290
|
-
state: "ACTIVE" | "
|
|
10322
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10291
10323
|
salesComputedAt: string | null;
|
|
10292
10324
|
productCount: number;
|
|
10293
10325
|
revision: number;
|
|
@@ -10338,7 +10370,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10338
10370
|
value: true;
|
|
10339
10371
|
} | {
|
|
10340
10372
|
field: "bestSelling";
|
|
10341
|
-
days:
|
|
10373
|
+
days: 7 | 30 | 90;
|
|
10342
10374
|
top: number;
|
|
10343
10375
|
} | {
|
|
10344
10376
|
[x: string]: unknown;
|
|
@@ -10350,7 +10382,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10350
10382
|
sortOrder: number;
|
|
10351
10383
|
metaTitle: string | null;
|
|
10352
10384
|
metaDescription: string | null;
|
|
10353
|
-
state: "ACTIVE" | "
|
|
10385
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10354
10386
|
salesComputedAt: string | null;
|
|
10355
10387
|
productCount: number;
|
|
10356
10388
|
revision: number;
|
|
@@ -10381,7 +10413,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10381
10413
|
value: true;
|
|
10382
10414
|
} | {
|
|
10383
10415
|
field: "bestSelling";
|
|
10384
|
-
days:
|
|
10416
|
+
days: 7 | 30 | 90;
|
|
10385
10417
|
top: number;
|
|
10386
10418
|
} | {
|
|
10387
10419
|
[x: string]: unknown;
|
|
@@ -10393,7 +10425,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10393
10425
|
sortOrder: number;
|
|
10394
10426
|
metaTitle: string | null;
|
|
10395
10427
|
metaDescription: string | null;
|
|
10396
|
-
state: "ACTIVE" | "
|
|
10428
|
+
state: "ACTIVE" | "SCHEDULED" | "ENDED" | "HIDDEN";
|
|
10397
10429
|
salesComputedAt: string | null;
|
|
10398
10430
|
productCount: number;
|
|
10399
10431
|
revision: number;
|
|
@@ -10592,10 +10624,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10592
10624
|
ordererName: string;
|
|
10593
10625
|
itemCount: number;
|
|
10594
10626
|
totalAmount: number;
|
|
10595
|
-
representativeStatus: "PAID" | "
|
|
10627
|
+
representativeStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10596
10628
|
orderedAt: string;
|
|
10597
10629
|
testPayment: boolean;
|
|
10598
|
-
progressStatus?: "PAID" | "
|
|
10630
|
+
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
10599
10631
|
}[];
|
|
10600
10632
|
}>;
|
|
10601
10633
|
get: (orderId: string) => Promise<{
|
|
@@ -10661,7 +10693,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10661
10693
|
orderItemId: string;
|
|
10662
10694
|
orderItemNo: string | null;
|
|
10663
10695
|
orderId: string;
|
|
10664
|
-
status: "PAID" | "
|
|
10696
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10665
10697
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10666
10698
|
productId: string;
|
|
10667
10699
|
productName: string;
|
|
@@ -10738,7 +10770,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10738
10770
|
}[];
|
|
10739
10771
|
} | undefined;
|
|
10740
10772
|
}[];
|
|
10741
|
-
progressStatus?: "PAID" | "
|
|
10773
|
+
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | undefined;
|
|
10742
10774
|
}>;
|
|
10743
10775
|
/**
|
|
10744
10776
|
* `POST /v1/orders/{orderId}/cash-receipt/reissue` — 실패했거나 재시도 대기 중인 현금영수증을 지금 다시 발급·취소한다.
|
|
@@ -10772,7 +10804,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10772
10804
|
key: string;
|
|
10773
10805
|
results: {
|
|
10774
10806
|
orderItemId: string;
|
|
10775
|
-
status: "
|
|
10807
|
+
status: "COMPLETED" | "FAILED" | "SKIPPED";
|
|
10776
10808
|
reason?: string | undefined;
|
|
10777
10809
|
message?: string | undefined;
|
|
10778
10810
|
}[];
|
|
@@ -10789,7 +10821,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10789
10821
|
orderItemId: string;
|
|
10790
10822
|
orderItemNo: string | null;
|
|
10791
10823
|
orderId: string;
|
|
10792
|
-
status: "PAID" | "
|
|
10824
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10793
10825
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10794
10826
|
productId: string;
|
|
10795
10827
|
productName: string;
|
|
@@ -10931,7 +10963,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10931
10963
|
orderItemId: string;
|
|
10932
10964
|
orderItemNo: string | null;
|
|
10933
10965
|
orderId: string;
|
|
10934
|
-
status: "PAID" | "
|
|
10966
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
10935
10967
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10936
10968
|
productId: string;
|
|
10937
10969
|
productName: string;
|
|
@@ -11027,7 +11059,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11027
11059
|
orderItemId: string;
|
|
11028
11060
|
orderItemNo: string | null;
|
|
11029
11061
|
orderId: string;
|
|
11030
|
-
status: "PAID" | "
|
|
11062
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
11031
11063
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
11032
11064
|
productId: string;
|
|
11033
11065
|
productName: string;
|
|
@@ -11150,11 +11182,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11150
11182
|
label: string;
|
|
11151
11183
|
enteredAt: string;
|
|
11152
11184
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11153
|
-
coreStatus?: "PAID" | "
|
|
11154
|
-
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;
|
|
11155
11187
|
message?: string | undefined;
|
|
11156
11188
|
deadlineAt?: string | undefined;
|
|
11157
11189
|
attachments?: string[] | undefined;
|
|
11190
|
+
earlierAttachments?: string[] | undefined;
|
|
11158
11191
|
inputs?: {
|
|
11159
11192
|
by: string;
|
|
11160
11193
|
values: {
|
|
@@ -11185,7 +11218,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11185
11218
|
placeholder?: string | undefined;
|
|
11186
11219
|
maxLength?: number | undefined;
|
|
11187
11220
|
maxFiles?: number | undefined;
|
|
11188
|
-
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;
|
|
11189
11229
|
}[] | undefined;
|
|
11190
11230
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11191
11231
|
}[];
|
|
@@ -11198,18 +11238,19 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11198
11238
|
moveTargets?: {
|
|
11199
11239
|
key: string;
|
|
11200
11240
|
label: string;
|
|
11201
|
-
coreStatus: "PAID" | "
|
|
11241
|
+
coreStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED" | null;
|
|
11202
11242
|
}[] | undefined;
|
|
11203
11243
|
branches?: {
|
|
11204
11244
|
key: string;
|
|
11205
11245
|
label: string;
|
|
11206
11246
|
enteredAt: string;
|
|
11207
11247
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11208
|
-
coreStatus?: "PAID" | "
|
|
11209
|
-
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;
|
|
11210
11250
|
message?: string | undefined;
|
|
11211
11251
|
deadlineAt?: string | undefined;
|
|
11212
11252
|
attachments?: string[] | undefined;
|
|
11253
|
+
earlierAttachments?: string[] | undefined;
|
|
11213
11254
|
inputs?: {
|
|
11214
11255
|
by: string;
|
|
11215
11256
|
values: {
|
|
@@ -11233,11 +11274,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11233
11274
|
label: string;
|
|
11234
11275
|
enteredAt: string;
|
|
11235
11276
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11236
|
-
coreStatus?: "PAID" | "
|
|
11237
|
-
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;
|
|
11238
11279
|
message?: string | undefined;
|
|
11239
11280
|
deadlineAt?: string | undefined;
|
|
11240
11281
|
attachments?: string[] | undefined;
|
|
11282
|
+
earlierAttachments?: string[] | undefined;
|
|
11241
11283
|
inputs?: {
|
|
11242
11284
|
by: string;
|
|
11243
11285
|
values: {
|
|
@@ -11268,7 +11310,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11268
11310
|
placeholder?: string | undefined;
|
|
11269
11311
|
maxLength?: number | undefined;
|
|
11270
11312
|
maxFiles?: number | undefined;
|
|
11271
|
-
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;
|
|
11272
11321
|
}[] | undefined;
|
|
11273
11322
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11274
11323
|
}[];
|
|
@@ -11285,11 +11334,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11285
11334
|
label: string;
|
|
11286
11335
|
enteredAt: string;
|
|
11287
11336
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11288
|
-
coreStatus?: "PAID" | "
|
|
11289
|
-
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;
|
|
11290
11339
|
message?: string | undefined;
|
|
11291
11340
|
deadlineAt?: string | undefined;
|
|
11292
11341
|
attachments?: string[] | undefined;
|
|
11342
|
+
earlierAttachments?: string[] | undefined;
|
|
11293
11343
|
inputs?: {
|
|
11294
11344
|
by: string;
|
|
11295
11345
|
values: {
|
|
@@ -11320,7 +11370,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11320
11370
|
placeholder?: string | undefined;
|
|
11321
11371
|
maxLength?: number | undefined;
|
|
11322
11372
|
maxFiles?: number | undefined;
|
|
11323
|
-
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;
|
|
11324
11381
|
}[] | undefined;
|
|
11325
11382
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11326
11383
|
}[];
|
|
@@ -11337,11 +11394,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11337
11394
|
label: string;
|
|
11338
11395
|
enteredAt: string;
|
|
11339
11396
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11340
|
-
coreStatus?: "PAID" | "
|
|
11341
|
-
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;
|
|
11342
11399
|
message?: string | undefined;
|
|
11343
11400
|
deadlineAt?: string | undefined;
|
|
11344
11401
|
attachments?: string[] | undefined;
|
|
11402
|
+
earlierAttachments?: string[] | undefined;
|
|
11345
11403
|
inputs?: {
|
|
11346
11404
|
by: string;
|
|
11347
11405
|
values: {
|
|
@@ -11372,7 +11430,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11372
11430
|
placeholder?: string | undefined;
|
|
11373
11431
|
maxLength?: number | undefined;
|
|
11374
11432
|
maxFiles?: number | undefined;
|
|
11375
|
-
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;
|
|
11376
11441
|
}[] | undefined;
|
|
11377
11442
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11378
11443
|
}[];
|
|
@@ -11751,8 +11816,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11751
11816
|
contents: {
|
|
11752
11817
|
claimId: string;
|
|
11753
11818
|
claimNo: string | null;
|
|
11754
|
-
type: "
|
|
11755
|
-
status: "
|
|
11819
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
11820
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11756
11821
|
orderId: string;
|
|
11757
11822
|
orderItemId: string;
|
|
11758
11823
|
productName: string;
|
|
@@ -11791,8 +11856,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11791
11856
|
get: (claimId: string) => Promise<{
|
|
11792
11857
|
claimId: string;
|
|
11793
11858
|
claimNo: string | null;
|
|
11794
|
-
type: "
|
|
11795
|
-
status: "
|
|
11859
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
11860
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11796
11861
|
orderId: string;
|
|
11797
11862
|
orderItemId: string;
|
|
11798
11863
|
productName: string;
|
|
@@ -11827,8 +11892,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11827
11892
|
address2: string | null;
|
|
11828
11893
|
} | null;
|
|
11829
11894
|
histories?: {
|
|
11830
|
-
status: "
|
|
11831
|
-
actor: "
|
|
11895
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11896
|
+
actor: "BUYER" | "SELLER" | "SYSTEM";
|
|
11832
11897
|
occurredAt: string;
|
|
11833
11898
|
}[] | undefined;
|
|
11834
11899
|
}>;
|
|
@@ -11860,8 +11925,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11860
11925
|
completeExchange: (claimId: string) => Promise<{
|
|
11861
11926
|
claimId: string;
|
|
11862
11927
|
claimNo: string | null;
|
|
11863
|
-
type: "
|
|
11864
|
-
status: "
|
|
11928
|
+
type: "CANCEL" | "RETURN" | "EXCHANGE";
|
|
11929
|
+
status: "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "REJECTED" | "COMPLETED" | "WITHDRAWN";
|
|
11865
11930
|
orderId: string;
|
|
11866
11931
|
orderItemId: string;
|
|
11867
11932
|
productName: string;
|
|
@@ -11912,7 +11977,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11912
11977
|
productId: string;
|
|
11913
11978
|
productName: string;
|
|
11914
11979
|
orderItemId: string | null;
|
|
11915
|
-
category: "
|
|
11980
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
11916
11981
|
content: string;
|
|
11917
11982
|
secret: boolean;
|
|
11918
11983
|
writerMaskedName: string;
|
|
@@ -11930,7 +11995,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11930
11995
|
productId: string;
|
|
11931
11996
|
productName: string;
|
|
11932
11997
|
orderItemId: string | null;
|
|
11933
|
-
category: "
|
|
11998
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "PRODUCT" | "DELIVERY";
|
|
11934
11999
|
content: string;
|
|
11935
12000
|
secret: boolean;
|
|
11936
12001
|
writerMaskedName: string;
|
|
@@ -12211,7 +12276,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12211
12276
|
productName: string;
|
|
12212
12277
|
optionName: string | null;
|
|
12213
12278
|
quantity: number;
|
|
12214
|
-
status: "PAID" | "
|
|
12279
|
+
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | "CANCELED";
|
|
12215
12280
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12216
12281
|
}[];
|
|
12217
12282
|
}[];
|
|
@@ -12230,7 +12295,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12230
12295
|
version: string | null;
|
|
12231
12296
|
documentUrl: string | null;
|
|
12232
12297
|
action: "WITHDRAWN" | "AGREED";
|
|
12233
|
-
source: "
|
|
12298
|
+
source: "SELLER" | "SIGNUP" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
|
|
12234
12299
|
occurredAt: string;
|
|
12235
12300
|
}[];
|
|
12236
12301
|
}>;
|
|
@@ -12639,7 +12704,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12639
12704
|
contents: {
|
|
12640
12705
|
inquiryId: string;
|
|
12641
12706
|
memberMaskedName: string;
|
|
12642
|
-
category: "
|
|
12707
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
12643
12708
|
title: string;
|
|
12644
12709
|
content: string;
|
|
12645
12710
|
orderItemId: string | null;
|
|
@@ -12655,7 +12720,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12655
12720
|
get: (inquiryId: string) => Promise<{
|
|
12656
12721
|
inquiryId: string;
|
|
12657
12722
|
memberMaskedName: string;
|
|
12658
|
-
category: "
|
|
12723
|
+
category: "RETURN" | "EXCHANGE" | "ETC" | "DELIVERY" | "PAYMENT";
|
|
12659
12724
|
title: string;
|
|
12660
12725
|
content: string;
|
|
12661
12726
|
orderItemId: string | null;
|
|
@@ -12685,7 +12750,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12685
12750
|
settlementId: string;
|
|
12686
12751
|
settlementDate: string;
|
|
12687
12752
|
payoutDate: string | null;
|
|
12688
|
-
status: "
|
|
12753
|
+
status: "HELD" | "PAID" | "SCHEDULED";
|
|
12689
12754
|
totalPaymentAmount: number;
|
|
12690
12755
|
totalCommission: number;
|
|
12691
12756
|
totalDeliveryFee: number;
|
|
@@ -12699,7 +12764,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12699
12764
|
settlementId: string;
|
|
12700
12765
|
settlementDate: string;
|
|
12701
12766
|
payoutDate: string | null;
|
|
12702
|
-
status: "
|
|
12767
|
+
status: "HELD" | "PAID" | "SCHEDULED";
|
|
12703
12768
|
totalPaymentAmount: number;
|
|
12704
12769
|
totalCommission: number;
|
|
12705
12770
|
totalDeliveryFee: number;
|
|
@@ -12785,7 +12850,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12785
12850
|
conversionRate: number | null;
|
|
12786
12851
|
};
|
|
12787
12852
|
funnel: {
|
|
12788
|
-
step: "
|
|
12853
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
12789
12854
|
sessions: number;
|
|
12790
12855
|
rateFromPrevious: number | null;
|
|
12791
12856
|
}[];
|
|
@@ -12839,13 +12904,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12839
12904
|
}>;
|
|
12840
12905
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
12841
12906
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
12842
|
-
groupBy: "
|
|
12907
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
12843
12908
|
rows: {
|
|
12844
|
-
channel: "
|
|
12909
|
+
channel: "UNKNOWN" | "PAID" | "DIRECT" | "EMAIL" | "ORGANIC_SEARCH" | "SOCIAL" | "CAMPAIGN" | "REFERRAL" | null;
|
|
12845
12910
|
source: string | null;
|
|
12846
12911
|
medium: string | null;
|
|
12847
12912
|
campaign: string | null;
|
|
12848
|
-
device: "unknown" | "
|
|
12913
|
+
device: "unknown" | "mobile" | "desktop" | "tablet" | null;
|
|
12849
12914
|
sessions: number;
|
|
12850
12915
|
visitors: number;
|
|
12851
12916
|
engagedSessions: number;
|
|
@@ -12877,7 +12942,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12877
12942
|
/** `GET /v1/analytics/devices` — 기기별 세션 퍼널 */
|
|
12878
12943
|
devices: (params: AnalyticsRangeParams) => Promise<{
|
|
12879
12944
|
rows: {
|
|
12880
|
-
device: "unknown" | "
|
|
12945
|
+
device: "unknown" | "mobile" | "desktop" | "tablet";
|
|
12881
12946
|
sessions: number;
|
|
12882
12947
|
productViewSessions: number;
|
|
12883
12948
|
addToCartSessions: number;
|
|
@@ -12946,7 +13011,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12946
13011
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
12947
13012
|
sessions: number;
|
|
12948
13013
|
outcomes: {
|
|
12949
|
-
outcome: "
|
|
13014
|
+
outcome: "COMPLETED" | "IN_PROGRESS" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER";
|
|
12950
13015
|
sessions: number;
|
|
12951
13016
|
}[];
|
|
12952
13017
|
from: string;
|
|
@@ -12976,7 +13041,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12976
13041
|
orderId: string | null;
|
|
12977
13042
|
orderName: string;
|
|
12978
13043
|
customerName: string;
|
|
12979
|
-
status: "
|
|
13044
|
+
status: "APPROVED" | "FAILED" | "PENDING" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
12980
13045
|
amount: number;
|
|
12981
13046
|
refundedAmount: number;
|
|
12982
13047
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -13001,7 +13066,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13001
13066
|
orderId: string | null;
|
|
13002
13067
|
orderName: string;
|
|
13003
13068
|
customerName: string;
|
|
13004
|
-
status: "
|
|
13069
|
+
status: "APPROVED" | "FAILED" | "PENDING" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13005
13070
|
amount: number;
|
|
13006
13071
|
refundedAmount: number;
|
|
13007
13072
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -13103,7 +13168,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13103
13168
|
masked: string | null;
|
|
13104
13169
|
}[];
|
|
13105
13170
|
lastVerification: {
|
|
13106
|
-
result: "
|
|
13171
|
+
result: "FAILED" | "SUCCESS";
|
|
13107
13172
|
message: string | null;
|
|
13108
13173
|
checkedAt: string;
|
|
13109
13174
|
} | null;
|
|
@@ -13128,7 +13193,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13128
13193
|
masked: string | null;
|
|
13129
13194
|
}[];
|
|
13130
13195
|
lastVerification: {
|
|
13131
|
-
result: "
|
|
13196
|
+
result: "FAILED" | "SUCCESS";
|
|
13132
13197
|
message: string | null;
|
|
13133
13198
|
checkedAt: string;
|
|
13134
13199
|
} | null;
|
|
@@ -13152,7 +13217,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13152
13217
|
masked: string | null;
|
|
13153
13218
|
}[];
|
|
13154
13219
|
lastVerification: {
|
|
13155
|
-
result: "
|
|
13220
|
+
result: "FAILED" | "SUCCESS";
|
|
13156
13221
|
message: string | null;
|
|
13157
13222
|
checkedAt: string;
|
|
13158
13223
|
} | null;
|
|
@@ -13213,7 +13278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13213
13278
|
masked: string | null;
|
|
13214
13279
|
}[];
|
|
13215
13280
|
lastVerification: {
|
|
13216
|
-
result: "
|
|
13281
|
+
result: "FAILED" | "SUCCESS";
|
|
13217
13282
|
message: string | null;
|
|
13218
13283
|
checkedAt: string;
|
|
13219
13284
|
} | null;
|
|
@@ -13238,7 +13303,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13238
13303
|
masked: string | null;
|
|
13239
13304
|
}[];
|
|
13240
13305
|
lastVerification: {
|
|
13241
|
-
result: "
|
|
13306
|
+
result: "FAILED" | "SUCCESS";
|
|
13242
13307
|
message: string | null;
|
|
13243
13308
|
checkedAt: string;
|
|
13244
13309
|
} | null;
|
|
@@ -13262,7 +13327,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13262
13327
|
masked: string | null;
|
|
13263
13328
|
}[];
|
|
13264
13329
|
lastVerification: {
|
|
13265
|
-
result: "
|
|
13330
|
+
result: "FAILED" | "SUCCESS";
|
|
13266
13331
|
message: string | null;
|
|
13267
13332
|
checkedAt: string;
|
|
13268
13333
|
} | null;
|
|
@@ -13328,7 +13393,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13328
13393
|
masked: string | null;
|
|
13329
13394
|
}[];
|
|
13330
13395
|
lastVerification: {
|
|
13331
|
-
result: "
|
|
13396
|
+
result: "FAILED" | "SUCCESS";
|
|
13332
13397
|
message: string | null;
|
|
13333
13398
|
checkedAt: string;
|
|
13334
13399
|
} | null;
|
|
@@ -13353,7 +13418,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13353
13418
|
masked: string | null;
|
|
13354
13419
|
}[];
|
|
13355
13420
|
lastVerification: {
|
|
13356
|
-
result: "
|
|
13421
|
+
result: "FAILED" | "SUCCESS";
|
|
13357
13422
|
message: string | null;
|
|
13358
13423
|
checkedAt: string;
|
|
13359
13424
|
} | null;
|
|
@@ -13377,7 +13442,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13377
13442
|
masked: string | null;
|
|
13378
13443
|
}[];
|
|
13379
13444
|
lastVerification: {
|
|
13380
|
-
result: "
|
|
13445
|
+
result: "FAILED" | "SUCCESS";
|
|
13381
13446
|
message: string | null;
|
|
13382
13447
|
checkedAt: string;
|
|
13383
13448
|
} | null;
|
|
@@ -13424,7 +13489,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13424
13489
|
masked: string | null;
|
|
13425
13490
|
}[];
|
|
13426
13491
|
lastVerification: {
|
|
13427
|
-
result: "
|
|
13492
|
+
result: "FAILED" | "SUCCESS";
|
|
13428
13493
|
message: string | null;
|
|
13429
13494
|
checkedAt: string;
|
|
13430
13495
|
} | null;
|
|
@@ -13449,7 +13514,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13449
13514
|
masked: string | null;
|
|
13450
13515
|
}[];
|
|
13451
13516
|
lastVerification: {
|
|
13452
|
-
result: "
|
|
13517
|
+
result: "FAILED" | "SUCCESS";
|
|
13453
13518
|
message: string | null;
|
|
13454
13519
|
checkedAt: string;
|
|
13455
13520
|
} | null;
|
|
@@ -13473,7 +13538,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13473
13538
|
masked: string | null;
|
|
13474
13539
|
}[];
|
|
13475
13540
|
lastVerification: {
|
|
13476
|
-
result: "
|
|
13541
|
+
result: "FAILED" | "SUCCESS";
|
|
13477
13542
|
message: string | null;
|
|
13478
13543
|
checkedAt: string;
|
|
13479
13544
|
} | null;
|
|
@@ -13530,7 +13595,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13530
13595
|
masked: string | null;
|
|
13531
13596
|
}[];
|
|
13532
13597
|
lastVerification: {
|
|
13533
|
-
result: "
|
|
13598
|
+
result: "FAILED" | "SUCCESS";
|
|
13534
13599
|
message: string | null;
|
|
13535
13600
|
checkedAt: string;
|
|
13536
13601
|
} | null;
|
|
@@ -13555,7 +13620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13555
13620
|
masked: string | null;
|
|
13556
13621
|
}[];
|
|
13557
13622
|
lastVerification: {
|
|
13558
|
-
result: "
|
|
13623
|
+
result: "FAILED" | "SUCCESS";
|
|
13559
13624
|
message: string | null;
|
|
13560
13625
|
checkedAt: string;
|
|
13561
13626
|
} | null;
|
|
@@ -13579,7 +13644,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13579
13644
|
masked: string | null;
|
|
13580
13645
|
}[];
|
|
13581
13646
|
lastVerification: {
|
|
13582
|
-
result: "
|
|
13647
|
+
result: "FAILED" | "SUCCESS";
|
|
13583
13648
|
message: string | null;
|
|
13584
13649
|
checkedAt: string;
|
|
13585
13650
|
} | null;
|
|
@@ -13626,7 +13691,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13626
13691
|
masked: string | null;
|
|
13627
13692
|
}[];
|
|
13628
13693
|
lastVerification: {
|
|
13629
|
-
result: "
|
|
13694
|
+
result: "FAILED" | "SUCCESS";
|
|
13630
13695
|
message: string | null;
|
|
13631
13696
|
checkedAt: string;
|
|
13632
13697
|
} | null;
|
|
@@ -13651,7 +13716,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13651
13716
|
masked: string | null;
|
|
13652
13717
|
}[];
|
|
13653
13718
|
lastVerification: {
|
|
13654
|
-
result: "
|
|
13719
|
+
result: "FAILED" | "SUCCESS";
|
|
13655
13720
|
message: string | null;
|
|
13656
13721
|
checkedAt: string;
|
|
13657
13722
|
} | null;
|
|
@@ -13675,7 +13740,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13675
13740
|
masked: string | null;
|
|
13676
13741
|
}[];
|
|
13677
13742
|
lastVerification: {
|
|
13678
|
-
result: "
|
|
13743
|
+
result: "FAILED" | "SUCCESS";
|
|
13679
13744
|
message: string | null;
|
|
13680
13745
|
checkedAt: string;
|
|
13681
13746
|
} | null;
|
|
@@ -13731,7 +13796,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13731
13796
|
masked: string | null;
|
|
13732
13797
|
}[];
|
|
13733
13798
|
lastVerification: {
|
|
13734
|
-
result: "
|
|
13799
|
+
result: "FAILED" | "SUCCESS";
|
|
13735
13800
|
message: string | null;
|
|
13736
13801
|
checkedAt: string;
|
|
13737
13802
|
} | null;
|
|
@@ -13756,7 +13821,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13756
13821
|
masked: string | null;
|
|
13757
13822
|
}[];
|
|
13758
13823
|
lastVerification: {
|
|
13759
|
-
result: "
|
|
13824
|
+
result: "FAILED" | "SUCCESS";
|
|
13760
13825
|
message: string | null;
|
|
13761
13826
|
checkedAt: string;
|
|
13762
13827
|
} | null;
|
|
@@ -13780,7 +13845,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13780
13845
|
masked: string | null;
|
|
13781
13846
|
}[];
|
|
13782
13847
|
lastVerification: {
|
|
13783
|
-
result: "
|
|
13848
|
+
result: "FAILED" | "SUCCESS";
|
|
13784
13849
|
message: string | null;
|
|
13785
13850
|
checkedAt: string;
|
|
13786
13851
|
} | null;
|
|
@@ -13808,7 +13873,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13808
13873
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
13809
13874
|
provider: "tosspayments" | "portone";
|
|
13810
13875
|
environment: "TEST" | "LIVE";
|
|
13811
|
-
result: "
|
|
13876
|
+
result: "FAILED" | "SUCCESS";
|
|
13812
13877
|
message: string | null;
|
|
13813
13878
|
checkedAt: string;
|
|
13814
13879
|
}>;
|
|
@@ -13817,8 +13882,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13817
13882
|
list: () => Promise<{
|
|
13818
13883
|
webhookId: string;
|
|
13819
13884
|
url: string;
|
|
13820
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13821
|
-
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";
|
|
13822
13887
|
secretPrefix: string;
|
|
13823
13888
|
suspendedAt: string | null;
|
|
13824
13889
|
createdAt: string;
|
|
@@ -13827,8 +13892,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13827
13892
|
create: (body: WebhookRequest) => Promise<{
|
|
13828
13893
|
webhookId: string;
|
|
13829
13894
|
url: string;
|
|
13830
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13831
|
-
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";
|
|
13832
13897
|
secretPrefix: string;
|
|
13833
13898
|
suspendedAt: string | null;
|
|
13834
13899
|
createdAt: string;
|
|
@@ -13837,8 +13902,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13837
13902
|
get: (webhookId: string) => Promise<{
|
|
13838
13903
|
webhookId: string;
|
|
13839
13904
|
url: string;
|
|
13840
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13841
|
-
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";
|
|
13842
13907
|
secretPrefix: string;
|
|
13843
13908
|
suspendedAt: string | null;
|
|
13844
13909
|
createdAt: string;
|
|
@@ -13847,8 +13912,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13847
13912
|
update: (webhookId: string, body: WebhookRequest) => Promise<{
|
|
13848
13913
|
webhookId: string;
|
|
13849
13914
|
url: string;
|
|
13850
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13851
|
-
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";
|
|
13852
13917
|
secretPrefix: string;
|
|
13853
13918
|
suspendedAt: string | null;
|
|
13854
13919
|
createdAt: string;
|
|
@@ -13862,8 +13927,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13862
13927
|
resume: (webhookId: string) => Promise<{
|
|
13863
13928
|
webhookId: string;
|
|
13864
13929
|
url: string;
|
|
13865
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13866
|
-
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";
|
|
13867
13932
|
secretPrefix: string;
|
|
13868
13933
|
suspendedAt: string | null;
|
|
13869
13934
|
createdAt: string;
|
|
@@ -13872,9 +13937,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13872
13937
|
listDeliveries: (webhookId: string, params?: WebhookDeliveryListParams) => Promise<{
|
|
13873
13938
|
deliveryId: string;
|
|
13874
13939
|
eventId: string;
|
|
13875
|
-
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";
|
|
13876
13941
|
url: string;
|
|
13877
|
-
status: "
|
|
13942
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13878
13943
|
responseStatusCode: number | null;
|
|
13879
13944
|
responseTimeMs: number | null;
|
|
13880
13945
|
responseBodyExcerpt: string | null;
|
|
@@ -13899,9 +13964,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13899
13964
|
getDelivery: (webhookId: string, deliveryId: string) => Promise<{
|
|
13900
13965
|
deliveryId: string;
|
|
13901
13966
|
eventId: string;
|
|
13902
|
-
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";
|
|
13903
13968
|
url: string;
|
|
13904
|
-
status: "
|
|
13969
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13905
13970
|
responseStatusCode: number | null;
|
|
13906
13971
|
responseTimeMs: number | null;
|
|
13907
13972
|
responseBodyExcerpt: string | null;
|
|
@@ -13934,9 +13999,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13934
13999
|
redeliver: (webhookId: string, deliveryId: string) => Promise<{
|
|
13935
14000
|
deliveryId: string;
|
|
13936
14001
|
eventId: string;
|
|
13937
|
-
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";
|
|
13938
14003
|
url: string;
|
|
13939
|
-
status: "
|
|
14004
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13940
14005
|
responseStatusCode: number | null;
|
|
13941
14006
|
responseTimeMs: number | null;
|
|
13942
14007
|
responseBodyExcerpt: string | null;
|
|
@@ -14019,7 +14084,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14019
14084
|
source: "REQUEST" | "DOMAIN";
|
|
14020
14085
|
action: string;
|
|
14021
14086
|
actor: {
|
|
14022
|
-
type: "
|
|
14087
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14023
14088
|
id: string;
|
|
14024
14089
|
name: string | null;
|
|
14025
14090
|
};
|
|
@@ -14032,7 +14097,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14032
14097
|
method: string | null;
|
|
14033
14098
|
path: string | null;
|
|
14034
14099
|
statusCode: number | null;
|
|
14035
|
-
outcome: "
|
|
14100
|
+
outcome: "SUCCEEDED" | "FAILED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
14036
14101
|
errorCode: string | null;
|
|
14037
14102
|
traceId: string | null;
|
|
14038
14103
|
idempotencyKey: string | null;
|
|
@@ -14050,7 +14115,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14050
14115
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
14051
14116
|
items: {
|
|
14052
14117
|
approvalId: string;
|
|
14053
|
-
status: "
|
|
14118
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
14054
14119
|
operationId: string;
|
|
14055
14120
|
method: string;
|
|
14056
14121
|
path: string;
|
|
@@ -14058,7 +14123,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14058
14123
|
idempotencyKey: string | null;
|
|
14059
14124
|
reason: string;
|
|
14060
14125
|
actor: {
|
|
14061
|
-
type: "
|
|
14126
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14062
14127
|
id: string;
|
|
14063
14128
|
name: string | null;
|
|
14064
14129
|
};
|
|
@@ -14100,7 +14165,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14100
14165
|
}>;
|
|
14101
14166
|
get: (approvalId: string) => Promise<{
|
|
14102
14167
|
approvalId: string;
|
|
14103
|
-
status: "
|
|
14168
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
14104
14169
|
operationId: string;
|
|
14105
14170
|
method: string;
|
|
14106
14171
|
path: string;
|
|
@@ -14108,7 +14173,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14108
14173
|
idempotencyKey: string | null;
|
|
14109
14174
|
reason: string;
|
|
14110
14175
|
actor: {
|
|
14111
|
-
type: "
|
|
14176
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14112
14177
|
id: string;
|
|
14113
14178
|
name: string | null;
|
|
14114
14179
|
};
|
|
@@ -14152,7 +14217,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14152
14217
|
*/
|
|
14153
14218
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14154
14219
|
approvalId: string;
|
|
14155
|
-
status: "
|
|
14220
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
14156
14221
|
operationId: string;
|
|
14157
14222
|
method: string;
|
|
14158
14223
|
path: string;
|
|
@@ -14160,7 +14225,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14160
14225
|
idempotencyKey: string | null;
|
|
14161
14226
|
reason: string;
|
|
14162
14227
|
actor: {
|
|
14163
|
-
type: "
|
|
14228
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14164
14229
|
id: string;
|
|
14165
14230
|
name: string | null;
|
|
14166
14231
|
};
|
|
@@ -14200,7 +14265,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14200
14265
|
}>;
|
|
14201
14266
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14202
14267
|
approvalId: string;
|
|
14203
|
-
status: "
|
|
14268
|
+
status: "REJECTED" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "EXPIRED";
|
|
14204
14269
|
operationId: string;
|
|
14205
14270
|
method: string;
|
|
14206
14271
|
path: string;
|
|
@@ -14208,7 +14273,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14208
14273
|
idempotencyKey: string | null;
|
|
14209
14274
|
reason: string;
|
|
14210
14275
|
actor: {
|
|
14211
|
-
type: "
|
|
14276
|
+
type: "SYSTEM" | "USER" | "AGENT" | "APP" | "TOKEN";
|
|
14212
14277
|
id: string;
|
|
14213
14278
|
name: string | null;
|
|
14214
14279
|
};
|
|
@@ -14297,7 +14362,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14297
14362
|
sellerAddresses: {
|
|
14298
14363
|
list: (type?: AddressType) => Promise<{
|
|
14299
14364
|
addressId: string;
|
|
14300
|
-
type: "
|
|
14365
|
+
type: "RETURN" | "SHIPPING";
|
|
14301
14366
|
name: string;
|
|
14302
14367
|
isDefault: boolean;
|
|
14303
14368
|
contactName: string;
|
|
@@ -14378,13 +14443,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14378
14443
|
domains: {
|
|
14379
14444
|
hostname: string;
|
|
14380
14445
|
kind: "PLATFORM" | "CUSTOM";
|
|
14381
|
-
status: "
|
|
14446
|
+
status: "HELD" | "ACTIVE";
|
|
14382
14447
|
isPrimary: boolean;
|
|
14383
14448
|
holdUntil: string | null;
|
|
14384
14449
|
}[];
|
|
14385
14450
|
templateId: string;
|
|
14386
|
-
sourceMode: "
|
|
14387
|
-
status: "
|
|
14451
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14452
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14388
14453
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14389
14454
|
publishedVersion: {
|
|
14390
14455
|
versionId: string;
|
|
@@ -14402,7 +14467,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14402
14467
|
createdVia?: string | null | undefined;
|
|
14403
14468
|
} | null;
|
|
14404
14469
|
provisioning: {
|
|
14405
|
-
status: "
|
|
14470
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14406
14471
|
lastErrorCode: string | null;
|
|
14407
14472
|
syncedAt: string | null;
|
|
14408
14473
|
};
|
|
@@ -14422,7 +14487,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14422
14487
|
checkSlug: (slug: string) => Promise<{
|
|
14423
14488
|
slug: string;
|
|
14424
14489
|
available: boolean;
|
|
14425
|
-
reason: "
|
|
14490
|
+
reason: "INVALID" | "RESERVED" | "TAKEN" | "CURRENT" | null;
|
|
14426
14491
|
}>;
|
|
14427
14492
|
/**
|
|
14428
14493
|
* `POST /v1/storefront/site` (201) — 템플릿으로 사이트를 만들고 v1을 발행한다. 공개 상태는 오픈 준비 중이다.
|
|
@@ -14436,13 +14501,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14436
14501
|
domains: {
|
|
14437
14502
|
hostname: string;
|
|
14438
14503
|
kind: "PLATFORM" | "CUSTOM";
|
|
14439
|
-
status: "
|
|
14504
|
+
status: "HELD" | "ACTIVE";
|
|
14440
14505
|
isPrimary: boolean;
|
|
14441
14506
|
holdUntil: string | null;
|
|
14442
14507
|
}[];
|
|
14443
14508
|
templateId: string;
|
|
14444
|
-
sourceMode: "
|
|
14445
|
-
status: "
|
|
14509
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14510
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14446
14511
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14447
14512
|
publishedVersion: {
|
|
14448
14513
|
versionId: string;
|
|
@@ -14460,7 +14525,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14460
14525
|
createdVia?: string | null | undefined;
|
|
14461
14526
|
} | null;
|
|
14462
14527
|
provisioning: {
|
|
14463
|
-
status: "
|
|
14528
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14464
14529
|
lastErrorCode: string | null;
|
|
14465
14530
|
syncedAt: string | null;
|
|
14466
14531
|
};
|
|
@@ -14478,13 +14543,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14478
14543
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
14479
14544
|
getDeployment: () => Promise<{
|
|
14480
14545
|
siteId: string;
|
|
14481
|
-
status: "
|
|
14546
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
14482
14547
|
url: string;
|
|
14483
14548
|
startedAt: string;
|
|
14484
14549
|
finishedAt: string | null;
|
|
14485
14550
|
steps: {
|
|
14486
14551
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14487
|
-
status: "
|
|
14552
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
14488
14553
|
finishedAt: string | null;
|
|
14489
14554
|
}[];
|
|
14490
14555
|
log: {
|
|
@@ -14500,13 +14565,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14500
14565
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
14501
14566
|
retryDeployment: () => Promise<{
|
|
14502
14567
|
siteId: string;
|
|
14503
|
-
status: "
|
|
14568
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
14504
14569
|
url: string;
|
|
14505
14570
|
startedAt: string;
|
|
14506
14571
|
finishedAt: string | null;
|
|
14507
14572
|
steps: {
|
|
14508
14573
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14509
|
-
status: "
|
|
14574
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
14510
14575
|
finishedAt: string | null;
|
|
14511
14576
|
}[];
|
|
14512
14577
|
log: {
|
|
@@ -14532,13 +14597,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14532
14597
|
domains: {
|
|
14533
14598
|
hostname: string;
|
|
14534
14599
|
kind: "PLATFORM" | "CUSTOM";
|
|
14535
|
-
status: "
|
|
14600
|
+
status: "HELD" | "ACTIVE";
|
|
14536
14601
|
isPrimary: boolean;
|
|
14537
14602
|
holdUntil: string | null;
|
|
14538
14603
|
}[];
|
|
14539
14604
|
templateId: string;
|
|
14540
|
-
sourceMode: "
|
|
14541
|
-
status: "
|
|
14605
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14606
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14542
14607
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14543
14608
|
publishedVersion: {
|
|
14544
14609
|
versionId: string;
|
|
@@ -14556,7 +14621,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14556
14621
|
createdVia?: string | null | undefined;
|
|
14557
14622
|
} | null;
|
|
14558
14623
|
provisioning: {
|
|
14559
|
-
status: "
|
|
14624
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14560
14625
|
lastErrorCode: string | null;
|
|
14561
14626
|
syncedAt: string | null;
|
|
14562
14627
|
};
|
|
@@ -14596,13 +14661,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14596
14661
|
domains: {
|
|
14597
14662
|
hostname: string;
|
|
14598
14663
|
kind: "PLATFORM" | "CUSTOM";
|
|
14599
|
-
status: "
|
|
14664
|
+
status: "HELD" | "ACTIVE";
|
|
14600
14665
|
isPrimary: boolean;
|
|
14601
14666
|
holdUntil: string | null;
|
|
14602
14667
|
}[];
|
|
14603
14668
|
templateId: string;
|
|
14604
|
-
sourceMode: "
|
|
14605
|
-
status: "
|
|
14669
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14670
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14606
14671
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14607
14672
|
publishedVersion: {
|
|
14608
14673
|
versionId: string;
|
|
@@ -14620,7 +14685,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14620
14685
|
createdVia?: string | null | undefined;
|
|
14621
14686
|
} | null;
|
|
14622
14687
|
provisioning: {
|
|
14623
|
-
status: "
|
|
14688
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14624
14689
|
lastErrorCode: string | null;
|
|
14625
14690
|
syncedAt: string | null;
|
|
14626
14691
|
};
|
|
@@ -14644,13 +14709,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14644
14709
|
domains: {
|
|
14645
14710
|
hostname: string;
|
|
14646
14711
|
kind: "PLATFORM" | "CUSTOM";
|
|
14647
|
-
status: "
|
|
14712
|
+
status: "HELD" | "ACTIVE";
|
|
14648
14713
|
isPrimary: boolean;
|
|
14649
14714
|
holdUntil: string | null;
|
|
14650
14715
|
}[];
|
|
14651
14716
|
templateId: string;
|
|
14652
|
-
sourceMode: "
|
|
14653
|
-
status: "
|
|
14717
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14718
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14654
14719
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14655
14720
|
publishedVersion: {
|
|
14656
14721
|
versionId: string;
|
|
@@ -14668,7 +14733,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14668
14733
|
createdVia?: string | null | undefined;
|
|
14669
14734
|
} | null;
|
|
14670
14735
|
provisioning: {
|
|
14671
|
-
status: "
|
|
14736
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14672
14737
|
lastErrorCode: string | null;
|
|
14673
14738
|
syncedAt: string | null;
|
|
14674
14739
|
};
|
|
@@ -14692,13 +14757,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14692
14757
|
domains: {
|
|
14693
14758
|
hostname: string;
|
|
14694
14759
|
kind: "PLATFORM" | "CUSTOM";
|
|
14695
|
-
status: "
|
|
14760
|
+
status: "HELD" | "ACTIVE";
|
|
14696
14761
|
isPrimary: boolean;
|
|
14697
14762
|
holdUntil: string | null;
|
|
14698
14763
|
}[];
|
|
14699
14764
|
templateId: string;
|
|
14700
|
-
sourceMode: "
|
|
14701
|
-
status: "
|
|
14765
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14766
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14702
14767
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14703
14768
|
publishedVersion: {
|
|
14704
14769
|
versionId: string;
|
|
@@ -14716,7 +14781,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14716
14781
|
createdVia?: string | null | undefined;
|
|
14717
14782
|
} | null;
|
|
14718
14783
|
provisioning: {
|
|
14719
|
-
status: "
|
|
14784
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14720
14785
|
lastErrorCode: string | null;
|
|
14721
14786
|
syncedAt: string | null;
|
|
14722
14787
|
};
|
|
@@ -14740,13 +14805,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14740
14805
|
domains: {
|
|
14741
14806
|
hostname: string;
|
|
14742
14807
|
kind: "PLATFORM" | "CUSTOM";
|
|
14743
|
-
status: "
|
|
14808
|
+
status: "HELD" | "ACTIVE";
|
|
14744
14809
|
isPrimary: boolean;
|
|
14745
14810
|
holdUntil: string | null;
|
|
14746
14811
|
}[];
|
|
14747
14812
|
templateId: string;
|
|
14748
|
-
sourceMode: "
|
|
14749
|
-
status: "
|
|
14813
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14814
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14750
14815
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14751
14816
|
publishedVersion: {
|
|
14752
14817
|
versionId: string;
|
|
@@ -14764,7 +14829,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14764
14829
|
createdVia?: string | null | undefined;
|
|
14765
14830
|
} | null;
|
|
14766
14831
|
provisioning: {
|
|
14767
|
-
status: "
|
|
14832
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14768
14833
|
lastErrorCode: string | null;
|
|
14769
14834
|
syncedAt: string | null;
|
|
14770
14835
|
};
|
|
@@ -14804,7 +14869,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14804
14869
|
value: string;
|
|
14805
14870
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14806
14871
|
}[];
|
|
14807
|
-
certificateStatus: "ACTIVE" | "
|
|
14872
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14808
14873
|
failureCode: string | null;
|
|
14809
14874
|
verifiedAt: string | null;
|
|
14810
14875
|
activatedAt: string | null;
|
|
@@ -14828,7 +14893,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14828
14893
|
value: string;
|
|
14829
14894
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14830
14895
|
}[];
|
|
14831
|
-
certificateStatus: "ACTIVE" | "
|
|
14896
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14832
14897
|
failureCode: string | null;
|
|
14833
14898
|
verifiedAt: string | null;
|
|
14834
14899
|
activatedAt: string | null;
|
|
@@ -14848,7 +14913,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14848
14913
|
value: string;
|
|
14849
14914
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14850
14915
|
}[];
|
|
14851
|
-
certificateStatus: "ACTIVE" | "
|
|
14916
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14852
14917
|
failureCode: string | null;
|
|
14853
14918
|
verifiedAt: string | null;
|
|
14854
14919
|
activatedAt: string | null;
|
|
@@ -14872,7 +14937,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14872
14937
|
value: string;
|
|
14873
14938
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14874
14939
|
}[];
|
|
14875
|
-
certificateStatus: "ACTIVE" | "
|
|
14940
|
+
certificateStatus: "ACTIVE" | "FAILED" | "PENDING" | null;
|
|
14876
14941
|
failureCode: string | null;
|
|
14877
14942
|
verifiedAt: string | null;
|
|
14878
14943
|
activatedAt: string | null;
|
|
@@ -14891,13 +14956,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14891
14956
|
domains: {
|
|
14892
14957
|
hostname: string;
|
|
14893
14958
|
kind: "PLATFORM" | "CUSTOM";
|
|
14894
|
-
status: "
|
|
14959
|
+
status: "HELD" | "ACTIVE";
|
|
14895
14960
|
isPrimary: boolean;
|
|
14896
14961
|
holdUntil: string | null;
|
|
14897
14962
|
}[];
|
|
14898
14963
|
templateId: string;
|
|
14899
|
-
sourceMode: "
|
|
14900
|
-
status: "
|
|
14964
|
+
sourceMode: "MANAGED" | "CUSTOM";
|
|
14965
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
14901
14966
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14902
14967
|
publishedVersion: {
|
|
14903
14968
|
versionId: string;
|
|
@@ -14915,7 +14980,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14915
14980
|
createdVia?: string | null | undefined;
|
|
14916
14981
|
} | null;
|
|
14917
14982
|
provisioning: {
|
|
14918
|
-
status: "
|
|
14983
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14919
14984
|
lastErrorCode: string | null;
|
|
14920
14985
|
syncedAt: string | null;
|
|
14921
14986
|
};
|
|
@@ -15156,7 +15221,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15156
15221
|
buildId: string;
|
|
15157
15222
|
versionId: string;
|
|
15158
15223
|
versionNumber: number;
|
|
15159
|
-
status: "
|
|
15224
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15160
15225
|
failureStage: string | null;
|
|
15161
15226
|
errorCode: string | null;
|
|
15162
15227
|
logTail: string | null;
|
|
@@ -15237,7 +15302,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15237
15302
|
buildId: string;
|
|
15238
15303
|
versionId: string;
|
|
15239
15304
|
versionNumber: number;
|
|
15240
|
-
status: "
|
|
15305
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15241
15306
|
failureStage: string | null;
|
|
15242
15307
|
errorCode: string | null;
|
|
15243
15308
|
logTail: string | null;
|
|
@@ -15315,7 +15380,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15315
15380
|
buildId: string;
|
|
15316
15381
|
versionId: string;
|
|
15317
15382
|
versionNumber: number;
|
|
15318
|
-
status: "
|
|
15383
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15319
15384
|
failureStage: string | null;
|
|
15320
15385
|
errorCode: string | null;
|
|
15321
15386
|
logTail: string | null;
|
|
@@ -15600,7 +15665,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15600
15665
|
name: string;
|
|
15601
15666
|
storeCode: string;
|
|
15602
15667
|
storefrontUrl: string;
|
|
15603
|
-
status: "
|
|
15668
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
15604
15669
|
logoUrl: string | null;
|
|
15605
15670
|
businessNumber: string | null;
|
|
15606
15671
|
customerCenterPhone: string | null;
|
|
@@ -15648,7 +15713,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15648
15713
|
name: string;
|
|
15649
15714
|
storeCode: string;
|
|
15650
15715
|
storefrontUrl: string;
|
|
15651
|
-
status: "
|
|
15716
|
+
status: "ACTIVE" | "SUSPENDED" | "CLOSED";
|
|
15652
15717
|
logoUrl: string | null;
|
|
15653
15718
|
businessNumber: string | null;
|
|
15654
15719
|
customerCenterPhone: string | null;
|
|
@@ -15713,7 +15778,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15713
15778
|
userId: string;
|
|
15714
15779
|
name: string;
|
|
15715
15780
|
email: string;
|
|
15716
|
-
role: "
|
|
15781
|
+
role: "OWNER" | "ADMIN" | "STAFF";
|
|
15717
15782
|
joinedAt: string;
|
|
15718
15783
|
lastActiveAt: string | null;
|
|
15719
15784
|
}[]>;
|
|
@@ -15730,7 +15795,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15730
15795
|
invitationId: string;
|
|
15731
15796
|
email: string;
|
|
15732
15797
|
role: "ADMIN" | "STAFF";
|
|
15733
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15798
|
+
status: "PENDING" | "EXPIRED" | "CANCELED" | "ACCEPTED";
|
|
15734
15799
|
invitedBy: string;
|
|
15735
15800
|
expiresAt: string;
|
|
15736
15801
|
createdAt: string;
|
|
@@ -15748,7 +15813,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15748
15813
|
invitationId: string;
|
|
15749
15814
|
email: string;
|
|
15750
15815
|
role: "ADMIN" | "STAFF";
|
|
15751
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15816
|
+
status: "PENDING" | "EXPIRED" | "CANCELED" | "ACCEPTED";
|
|
15752
15817
|
invitedBy: string;
|
|
15753
15818
|
expiresAt: string;
|
|
15754
15819
|
createdAt: string;
|
|
@@ -15763,7 +15828,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15763
15828
|
invitationId: string;
|
|
15764
15829
|
email: string;
|
|
15765
15830
|
role: "ADMIN" | "STAFF";
|
|
15766
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15831
|
+
status: "PENDING" | "EXPIRED" | "CANCELED" | "ACCEPTED";
|
|
15767
15832
|
invitedBy: string;
|
|
15768
15833
|
expiresAt: string;
|
|
15769
15834
|
createdAt: string;
|
|
@@ -16372,15 +16437,15 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
16372
16437
|
};
|
|
16373
16438
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
16374
16439
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
16375
|
-
category: "category";
|
|
16376
16440
|
flow: "flow";
|
|
16377
|
-
analytics: "analytics";
|
|
16378
16441
|
product: "product";
|
|
16442
|
+
category: "category";
|
|
16379
16443
|
order: "order";
|
|
16380
16444
|
claim: "claim";
|
|
16381
16445
|
inquiry: "inquiry";
|
|
16382
16446
|
review: "review";
|
|
16383
16447
|
settlement: "settlement";
|
|
16448
|
+
analytics: "analytics";
|
|
16384
16449
|
webhook: "webhook";
|
|
16385
16450
|
store: "store";
|
|
16386
16451
|
member: "member";
|
|
@@ -16798,8 +16863,8 @@ export declare const planEntitlementsSchema: z.ZodObject<{
|
|
|
16798
16863
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16799
16864
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16800
16865
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16801
|
-
EMAIL: "EMAIL";
|
|
16802
16866
|
COMMUNITY: "COMMUNITY";
|
|
16867
|
+
EMAIL: "EMAIL";
|
|
16803
16868
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16804
16869
|
DEDICATED: "DEDICATED";
|
|
16805
16870
|
SLA: "SLA";
|
|
@@ -16849,8 +16914,8 @@ export declare const publicPlanSchema: z.ZodObject<{
|
|
|
16849
16914
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16850
16915
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16851
16916
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16852
|
-
EMAIL: "EMAIL";
|
|
16853
16917
|
COMMUNITY: "COMMUNITY";
|
|
16918
|
+
EMAIL: "EMAIL";
|
|
16854
16919
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16855
16920
|
DEDICATED: "DEDICATED";
|
|
16856
16921
|
SLA: "SLA";
|
|
@@ -16903,8 +16968,8 @@ export declare const publicPlansSchema: z.ZodObject<{
|
|
|
16903
16968
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16904
16969
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16905
16970
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16906
|
-
EMAIL: "EMAIL";
|
|
16907
16971
|
COMMUNITY: "COMMUNITY";
|
|
16972
|
+
EMAIL: "EMAIL";
|
|
16908
16973
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16909
16974
|
DEDICATED: "DEDICATED";
|
|
16910
16975
|
SLA: "SLA";
|
|
@@ -16970,13 +17035,13 @@ export declare const orderWebhookEventDataSchema: z.ZodObject<{
|
|
|
16970
17035
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
16971
17036
|
status: z.ZodEnum<{
|
|
16972
17037
|
PAID: "PAID";
|
|
16973
|
-
CANCELED: "CANCELED";
|
|
16974
17038
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
16975
17039
|
CONFIRMED: "CONFIRMED";
|
|
16976
17040
|
DISPATCHED: "DISPATCHED";
|
|
16977
17041
|
DELIVERING: "DELIVERING";
|
|
16978
17042
|
DELIVERED: "DELIVERED";
|
|
16979
17043
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17044
|
+
CANCELED: "CANCELED";
|
|
16980
17045
|
}>;
|
|
16981
17046
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16982
17047
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17039,13 +17104,13 @@ export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
|
|
|
17039
17104
|
orderItemId: z.ZodString;
|
|
17040
17105
|
status: z.ZodEnum<{
|
|
17041
17106
|
PAID: "PAID";
|
|
17042
|
-
CANCELED: "CANCELED";
|
|
17043
17107
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17044
17108
|
CONFIRMED: "CONFIRMED";
|
|
17045
17109
|
DISPATCHED: "DISPATCHED";
|
|
17046
17110
|
DELIVERING: "DELIVERING";
|
|
17047
17111
|
DELIVERED: "DELIVERED";
|
|
17048
17112
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17113
|
+
CANCELED: "CANCELED";
|
|
17049
17114
|
}>;
|
|
17050
17115
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17051
17116
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17095,23 +17160,23 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
|
|
|
17095
17160
|
orderItemId: z.ZodString;
|
|
17096
17161
|
status: z.ZodEnum<{
|
|
17097
17162
|
PAID: "PAID";
|
|
17098
|
-
CANCELED: "CANCELED";
|
|
17099
17163
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17100
17164
|
CONFIRMED: "CONFIRMED";
|
|
17101
17165
|
DISPATCHED: "DISPATCHED";
|
|
17102
17166
|
DELIVERING: "DELIVERING";
|
|
17103
17167
|
DELIVERED: "DELIVERED";
|
|
17104
17168
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17169
|
+
CANCELED: "CANCELED";
|
|
17105
17170
|
}>;
|
|
17106
17171
|
itemStatus: z.ZodEnum<{
|
|
17107
17172
|
PAID: "PAID";
|
|
17108
|
-
CANCELED: "CANCELED";
|
|
17109
17173
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17110
17174
|
CONFIRMED: "CONFIRMED";
|
|
17111
17175
|
DISPATCHED: "DISPATCHED";
|
|
17112
17176
|
DELIVERING: "DELIVERING";
|
|
17113
17177
|
DELIVERED: "DELIVERED";
|
|
17114
17178
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17179
|
+
CANCELED: "CANCELED";
|
|
17115
17180
|
}>;
|
|
17116
17181
|
reason: z.ZodString;
|
|
17117
17182
|
quantity: z.ZodNumber;
|
|
@@ -17131,19 +17196,19 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
17131
17196
|
orderId: z.ZodString;
|
|
17132
17197
|
orderItemId: z.ZodString;
|
|
17133
17198
|
claimType: z.ZodEnum<{
|
|
17199
|
+
CANCEL: "CANCEL";
|
|
17134
17200
|
RETURN: "RETURN";
|
|
17135
17201
|
EXCHANGE: "EXCHANGE";
|
|
17136
|
-
CANCEL: "CANCEL";
|
|
17137
17202
|
}>;
|
|
17138
17203
|
status: z.ZodEnum<{
|
|
17139
|
-
REJECTED: "REJECTED";
|
|
17140
|
-
COMPLETED: "COMPLETED";
|
|
17141
17204
|
REQUESTED: "REQUESTED";
|
|
17142
17205
|
HELD: "HELD";
|
|
17143
17206
|
COLLECTING: "COLLECTING";
|
|
17144
17207
|
COLLECTED: "COLLECTED";
|
|
17145
17208
|
REDELIVERING: "REDELIVERING";
|
|
17146
17209
|
APPROVED: "APPROVED";
|
|
17210
|
+
REJECTED: "REJECTED";
|
|
17211
|
+
COMPLETED: "COMPLETED";
|
|
17147
17212
|
WITHDRAWN: "WITHDRAWN";
|
|
17148
17213
|
}>;
|
|
17149
17214
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17187,13 +17252,13 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
|
|
|
17187
17252
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17188
17253
|
status: z.ZodEnum<{
|
|
17189
17254
|
PAID: "PAID";
|
|
17190
|
-
CANCELED: "CANCELED";
|
|
17191
17255
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17192
17256
|
CONFIRMED: "CONFIRMED";
|
|
17193
17257
|
DISPATCHED: "DISPATCHED";
|
|
17194
17258
|
DELIVERING: "DELIVERING";
|
|
17195
17259
|
DELIVERED: "DELIVERED";
|
|
17196
17260
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17261
|
+
CANCELED: "CANCELED";
|
|
17197
17262
|
}>;
|
|
17198
17263
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17199
17264
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17258,13 +17323,13 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
|
|
|
17258
17323
|
orderItemId: z.ZodString;
|
|
17259
17324
|
status: z.ZodEnum<{
|
|
17260
17325
|
PAID: "PAID";
|
|
17261
|
-
CANCELED: "CANCELED";
|
|
17262
17326
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17263
17327
|
CONFIRMED: "CONFIRMED";
|
|
17264
17328
|
DISPATCHED: "DISPATCHED";
|
|
17265
17329
|
DELIVERING: "DELIVERING";
|
|
17266
17330
|
DELIVERED: "DELIVERED";
|
|
17267
17331
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17332
|
+
CANCELED: "CANCELED";
|
|
17268
17333
|
}>;
|
|
17269
17334
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17270
17335
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17315,23 +17380,23 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
|
|
|
17315
17380
|
orderItemId: z.ZodString;
|
|
17316
17381
|
status: z.ZodEnum<{
|
|
17317
17382
|
PAID: "PAID";
|
|
17318
|
-
CANCELED: "CANCELED";
|
|
17319
17383
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17320
17384
|
CONFIRMED: "CONFIRMED";
|
|
17321
17385
|
DISPATCHED: "DISPATCHED";
|
|
17322
17386
|
DELIVERING: "DELIVERING";
|
|
17323
17387
|
DELIVERED: "DELIVERED";
|
|
17324
17388
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17389
|
+
CANCELED: "CANCELED";
|
|
17325
17390
|
}>;
|
|
17326
17391
|
itemStatus: z.ZodEnum<{
|
|
17327
17392
|
PAID: "PAID";
|
|
17328
|
-
CANCELED: "CANCELED";
|
|
17329
17393
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17330
17394
|
CONFIRMED: "CONFIRMED";
|
|
17331
17395
|
DISPATCHED: "DISPATCHED";
|
|
17332
17396
|
DELIVERING: "DELIVERING";
|
|
17333
17397
|
DELIVERED: "DELIVERED";
|
|
17334
17398
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17399
|
+
CANCELED: "CANCELED";
|
|
17335
17400
|
}>;
|
|
17336
17401
|
reason: z.ZodString;
|
|
17337
17402
|
quantity: z.ZodNumber;
|
|
@@ -17362,19 +17427,19 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
17362
17427
|
orderId: z.ZodString;
|
|
17363
17428
|
orderItemId: z.ZodString;
|
|
17364
17429
|
claimType: z.ZodEnum<{
|
|
17430
|
+
CANCEL: "CANCEL";
|
|
17365
17431
|
RETURN: "RETURN";
|
|
17366
17432
|
EXCHANGE: "EXCHANGE";
|
|
17367
|
-
CANCEL: "CANCEL";
|
|
17368
17433
|
}>;
|
|
17369
17434
|
status: z.ZodEnum<{
|
|
17370
|
-
REJECTED: "REJECTED";
|
|
17371
|
-
COMPLETED: "COMPLETED";
|
|
17372
17435
|
REQUESTED: "REQUESTED";
|
|
17373
17436
|
HELD: "HELD";
|
|
17374
17437
|
COLLECTING: "COLLECTING";
|
|
17375
17438
|
COLLECTED: "COLLECTED";
|
|
17376
17439
|
REDELIVERING: "REDELIVERING";
|
|
17377
17440
|
APPROVED: "APPROVED";
|
|
17441
|
+
REJECTED: "REJECTED";
|
|
17442
|
+
COMPLETED: "COMPLETED";
|
|
17378
17443
|
WITHDRAWN: "WITHDRAWN";
|
|
17379
17444
|
}>;
|
|
17380
17445
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17501,13 +17566,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17501
17566
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17502
17567
|
status: z.ZodEnum<{
|
|
17503
17568
|
PAID: "PAID";
|
|
17504
|
-
CANCELED: "CANCELED";
|
|
17505
17569
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17506
17570
|
CONFIRMED: "CONFIRMED";
|
|
17507
17571
|
DISPATCHED: "DISPATCHED";
|
|
17508
17572
|
DELIVERING: "DELIVERING";
|
|
17509
17573
|
DELIVERED: "DELIVERED";
|
|
17510
17574
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17575
|
+
CANCELED: "CANCELED";
|
|
17511
17576
|
}>;
|
|
17512
17577
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17513
17578
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17571,13 +17636,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17571
17636
|
orderItemId: z.ZodString;
|
|
17572
17637
|
status: z.ZodEnum<{
|
|
17573
17638
|
PAID: "PAID";
|
|
17574
|
-
CANCELED: "CANCELED";
|
|
17575
17639
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17576
17640
|
CONFIRMED: "CONFIRMED";
|
|
17577
17641
|
DISPATCHED: "DISPATCHED";
|
|
17578
17642
|
DELIVERING: "DELIVERING";
|
|
17579
17643
|
DELIVERED: "DELIVERED";
|
|
17580
17644
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17645
|
+
CANCELED: "CANCELED";
|
|
17581
17646
|
}>;
|
|
17582
17647
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17583
17648
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17627,23 +17692,23 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17627
17692
|
orderItemId: z.ZodString;
|
|
17628
17693
|
status: z.ZodEnum<{
|
|
17629
17694
|
PAID: "PAID";
|
|
17630
|
-
CANCELED: "CANCELED";
|
|
17631
17695
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17632
17696
|
CONFIRMED: "CONFIRMED";
|
|
17633
17697
|
DISPATCHED: "DISPATCHED";
|
|
17634
17698
|
DELIVERING: "DELIVERING";
|
|
17635
17699
|
DELIVERED: "DELIVERED";
|
|
17636
17700
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17701
|
+
CANCELED: "CANCELED";
|
|
17637
17702
|
}>;
|
|
17638
17703
|
itemStatus: z.ZodEnum<{
|
|
17639
17704
|
PAID: "PAID";
|
|
17640
|
-
CANCELED: "CANCELED";
|
|
17641
17705
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17642
17706
|
CONFIRMED: "CONFIRMED";
|
|
17643
17707
|
DISPATCHED: "DISPATCHED";
|
|
17644
17708
|
DELIVERING: "DELIVERING";
|
|
17645
17709
|
DELIVERED: "DELIVERED";
|
|
17646
17710
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17711
|
+
CANCELED: "CANCELED";
|
|
17647
17712
|
}>;
|
|
17648
17713
|
reason: z.ZodString;
|
|
17649
17714
|
quantity: z.ZodNumber;
|
|
@@ -17673,19 +17738,19 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17673
17738
|
orderId: z.ZodString;
|
|
17674
17739
|
orderItemId: z.ZodString;
|
|
17675
17740
|
claimType: z.ZodEnum<{
|
|
17741
|
+
CANCEL: "CANCEL";
|
|
17676
17742
|
RETURN: "RETURN";
|
|
17677
17743
|
EXCHANGE: "EXCHANGE";
|
|
17678
|
-
CANCEL: "CANCEL";
|
|
17679
17744
|
}>;
|
|
17680
17745
|
status: z.ZodEnum<{
|
|
17681
|
-
REJECTED: "REJECTED";
|
|
17682
|
-
COMPLETED: "COMPLETED";
|
|
17683
17746
|
REQUESTED: "REQUESTED";
|
|
17684
17747
|
HELD: "HELD";
|
|
17685
17748
|
COLLECTING: "COLLECTING";
|
|
17686
17749
|
COLLECTED: "COLLECTED";
|
|
17687
17750
|
REDELIVERING: "REDELIVERING";
|
|
17688
17751
|
APPROVED: "APPROVED";
|
|
17752
|
+
REJECTED: "REJECTED";
|
|
17753
|
+
COMPLETED: "COMPLETED";
|
|
17689
17754
|
WITHDRAWN: "WITHDRAWN";
|
|
17690
17755
|
}>;
|
|
17691
17756
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|