@sayren/store-sdk 0.30.3 → 0.30.4
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 +366 -352
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
- package/src/schemas/audit.ts +12 -0
- package/src/schemas/commerce-flow.ts +8 -2
- package/src/schemas/points.ts +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,20 +8,20 @@ import { z } from "zod";
|
|
|
8
8
|
* 도메인 동작은 그 안에서 변경 전후를 담은 기록(`source: DOMAIN`)을 따로 남기고 `requestId`로 요청 기록과 이어진다.
|
|
9
9
|
*/
|
|
10
10
|
export declare const auditActorTypeSchema: z.ZodEnum<{
|
|
11
|
-
SYSTEM: "SYSTEM";
|
|
12
11
|
USER: "USER";
|
|
13
12
|
AGENT: "AGENT";
|
|
14
13
|
APP: "APP";
|
|
15
14
|
TOKEN: "TOKEN";
|
|
15
|
+
SYSTEM: "SYSTEM";
|
|
16
16
|
}>;
|
|
17
17
|
export type AuditActorType = z.infer<typeof auditActorTypeSchema>;
|
|
18
18
|
export declare const auditActorSchema: z.ZodObject<{
|
|
19
19
|
type: z.ZodEnum<{
|
|
20
|
-
SYSTEM: "SYSTEM";
|
|
21
20
|
USER: "USER";
|
|
22
21
|
AGENT: "AGENT";
|
|
23
22
|
APP: "APP";
|
|
24
23
|
TOKEN: "TOKEN";
|
|
24
|
+
SYSTEM: "SYSTEM";
|
|
25
25
|
}>;
|
|
26
26
|
id: z.ZodString;
|
|
27
27
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -50,11 +50,11 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
50
50
|
action: z.ZodString;
|
|
51
51
|
actor: z.ZodObject<{
|
|
52
52
|
type: z.ZodEnum<{
|
|
53
|
-
SYSTEM: "SYSTEM";
|
|
54
53
|
USER: "USER";
|
|
55
54
|
AGENT: "AGENT";
|
|
56
55
|
APP: "APP";
|
|
57
56
|
TOKEN: "TOKEN";
|
|
57
|
+
SYSTEM: "SYSTEM";
|
|
58
58
|
}>;
|
|
59
59
|
id: z.ZodString;
|
|
60
60
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -87,11 +87,11 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
87
87
|
from: z.ZodOptional<z.ZodString>;
|
|
88
88
|
to: z.ZodOptional<z.ZodString>;
|
|
89
89
|
actorType: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
|
|
90
|
-
SYSTEM: "SYSTEM";
|
|
91
90
|
USER: "USER";
|
|
92
91
|
AGENT: "AGENT";
|
|
93
92
|
APP: "APP";
|
|
94
93
|
TOKEN: "TOKEN";
|
|
94
|
+
SYSTEM: "SYSTEM";
|
|
95
95
|
}>>>>;
|
|
96
96
|
actorId: z.ZodOptional<z.ZodString>;
|
|
97
97
|
action: z.ZodOptional<z.ZodString>;
|
|
@@ -130,11 +130,11 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
130
130
|
action: z.ZodString;
|
|
131
131
|
actor: z.ZodObject<{
|
|
132
132
|
type: z.ZodEnum<{
|
|
133
|
-
SYSTEM: "SYSTEM";
|
|
134
133
|
USER: "USER";
|
|
135
134
|
AGENT: "AGENT";
|
|
136
135
|
APP: "APP";
|
|
137
136
|
TOKEN: "TOKEN";
|
|
137
|
+
SYSTEM: "SYSTEM";
|
|
138
138
|
}>;
|
|
139
139
|
id: z.ZodString;
|
|
140
140
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -178,6 +178,7 @@ export declare const writePreviewSchema: z.ZodObject<{
|
|
|
178
178
|
type: z.ZodString;
|
|
179
179
|
id: z.ZodNullable<z.ZodString>;
|
|
180
180
|
}, z.core.$strip>;
|
|
181
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
182
|
changes: z.ZodArray<z.ZodObject<{
|
|
182
183
|
field: z.ZodString;
|
|
183
184
|
before: z.ZodUnknown;
|
|
@@ -203,6 +204,7 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
203
204
|
type: z.ZodString;
|
|
204
205
|
id: z.ZodNullable<z.ZodString>;
|
|
205
206
|
}, z.core.$strip>;
|
|
207
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
208
|
changes: z.ZodArray<z.ZodObject<{
|
|
207
209
|
field: z.ZodString;
|
|
208
210
|
before: z.ZodUnknown;
|
|
@@ -213,27 +215,28 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
213
215
|
}, z.core.$strip>;
|
|
214
216
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
215
217
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
216
|
-
REJECTED: "REJECTED";
|
|
217
218
|
SUCCEEDED: "SUCCEEDED";
|
|
218
219
|
FAILED: "FAILED";
|
|
219
220
|
PENDING: "PENDING";
|
|
220
221
|
EXECUTING: "EXECUTING";
|
|
221
222
|
UNKNOWN: "UNKNOWN";
|
|
223
|
+
REJECTED: "REJECTED";
|
|
222
224
|
EXPIRED: "EXPIRED";
|
|
223
225
|
}>;
|
|
224
226
|
export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
225
227
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
226
228
|
approvalId: z.ZodString;
|
|
227
229
|
status: z.ZodEnum<{
|
|
228
|
-
REJECTED: "REJECTED";
|
|
229
230
|
SUCCEEDED: "SUCCEEDED";
|
|
230
231
|
FAILED: "FAILED";
|
|
231
232
|
PENDING: "PENDING";
|
|
232
233
|
EXECUTING: "EXECUTING";
|
|
233
234
|
UNKNOWN: "UNKNOWN";
|
|
235
|
+
REJECTED: "REJECTED";
|
|
234
236
|
EXPIRED: "EXPIRED";
|
|
235
237
|
}>;
|
|
236
238
|
operationId: z.ZodString;
|
|
239
|
+
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
240
|
method: z.ZodString;
|
|
238
241
|
path: z.ZodString;
|
|
239
242
|
body: z.ZodUnknown;
|
|
@@ -241,11 +244,11 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
241
244
|
reason: z.ZodString;
|
|
242
245
|
actor: z.ZodObject<{
|
|
243
246
|
type: z.ZodEnum<{
|
|
244
|
-
SYSTEM: "SYSTEM";
|
|
245
247
|
USER: "USER";
|
|
246
248
|
AGENT: "AGENT";
|
|
247
249
|
APP: "APP";
|
|
248
250
|
TOKEN: "TOKEN";
|
|
251
|
+
SYSTEM: "SYSTEM";
|
|
249
252
|
}>;
|
|
250
253
|
id: z.ZodString;
|
|
251
254
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -258,6 +261,7 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
258
261
|
type: z.ZodString;
|
|
259
262
|
id: z.ZodNullable<z.ZodString>;
|
|
260
263
|
}, z.core.$strip>;
|
|
264
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
265
|
changes: z.ZodArray<z.ZodObject<{
|
|
262
266
|
field: z.ZodString;
|
|
263
267
|
before: z.ZodUnknown;
|
|
@@ -287,12 +291,12 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
287
291
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
288
292
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
289
293
|
status: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
|
|
290
|
-
REJECTED: "REJECTED";
|
|
291
294
|
SUCCEEDED: "SUCCEEDED";
|
|
292
295
|
FAILED: "FAILED";
|
|
293
296
|
PENDING: "PENDING";
|
|
294
297
|
EXECUTING: "EXECUTING";
|
|
295
298
|
UNKNOWN: "UNKNOWN";
|
|
299
|
+
REJECTED: "REJECTED";
|
|
296
300
|
EXPIRED: "EXPIRED";
|
|
297
301
|
}>>>>;
|
|
298
302
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -306,15 +310,16 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
306
310
|
items: z.ZodArray<z.ZodObject<{
|
|
307
311
|
approvalId: z.ZodString;
|
|
308
312
|
status: z.ZodEnum<{
|
|
309
|
-
REJECTED: "REJECTED";
|
|
310
313
|
SUCCEEDED: "SUCCEEDED";
|
|
311
314
|
FAILED: "FAILED";
|
|
312
315
|
PENDING: "PENDING";
|
|
313
316
|
EXECUTING: "EXECUTING";
|
|
314
317
|
UNKNOWN: "UNKNOWN";
|
|
318
|
+
REJECTED: "REJECTED";
|
|
315
319
|
EXPIRED: "EXPIRED";
|
|
316
320
|
}>;
|
|
317
321
|
operationId: z.ZodString;
|
|
322
|
+
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
323
|
method: z.ZodString;
|
|
319
324
|
path: z.ZodString;
|
|
320
325
|
body: z.ZodUnknown;
|
|
@@ -322,11 +327,11 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
322
327
|
reason: z.ZodString;
|
|
323
328
|
actor: z.ZodObject<{
|
|
324
329
|
type: z.ZodEnum<{
|
|
325
|
-
SYSTEM: "SYSTEM";
|
|
326
330
|
USER: "USER";
|
|
327
331
|
AGENT: "AGENT";
|
|
328
332
|
APP: "APP";
|
|
329
333
|
TOKEN: "TOKEN";
|
|
334
|
+
SYSTEM: "SYSTEM";
|
|
330
335
|
}>;
|
|
331
336
|
id: z.ZodString;
|
|
332
337
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -339,6 +344,7 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
339
344
|
type: z.ZodString;
|
|
340
345
|
id: z.ZodNullable<z.ZodString>;
|
|
341
346
|
}, z.core.$strip>;
|
|
347
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
342
348
|
changes: z.ZodArray<z.ZodObject<{
|
|
343
349
|
field: z.ZodString;
|
|
344
350
|
before: z.ZodUnknown;
|
|
@@ -582,11 +588,11 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
582
588
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
583
589
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
584
590
|
UNKNOWN: "UNKNOWN";
|
|
585
|
-
PAID: "PAID";
|
|
586
591
|
DIRECT: "DIRECT";
|
|
587
|
-
EMAIL: "EMAIL";
|
|
588
592
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
589
593
|
SOCIAL: "SOCIAL";
|
|
594
|
+
PAID: "PAID";
|
|
595
|
+
EMAIL: "EMAIL";
|
|
590
596
|
CAMPAIGN: "CAMPAIGN";
|
|
591
597
|
REFERRAL: "REFERRAL";
|
|
592
598
|
}>;
|
|
@@ -616,11 +622,11 @@ export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>
|
|
|
616
622
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
617
623
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
618
624
|
UNKNOWN: "UNKNOWN";
|
|
619
|
-
PAID: "PAID";
|
|
620
625
|
DIRECT: "DIRECT";
|
|
621
|
-
EMAIL: "EMAIL";
|
|
622
626
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
623
627
|
SOCIAL: "SOCIAL";
|
|
628
|
+
PAID: "PAID";
|
|
629
|
+
EMAIL: "EMAIL";
|
|
624
630
|
CAMPAIGN: "CAMPAIGN";
|
|
625
631
|
REFERRAL: "REFERRAL";
|
|
626
632
|
}>>;
|
|
@@ -629,8 +635,8 @@ export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
|
629
635
|
campaign: z.ZodNullable<z.ZodString>;
|
|
630
636
|
device: z.ZodNullable<z.ZodEnum<{
|
|
631
637
|
unknown: "unknown";
|
|
632
|
-
mobile: "mobile";
|
|
633
638
|
desktop: "desktop";
|
|
639
|
+
mobile: "mobile";
|
|
634
640
|
tablet: "tablet";
|
|
635
641
|
}>>;
|
|
636
642
|
sessions: z.ZodNumber;
|
|
@@ -652,11 +658,11 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
652
658
|
rows: z.ZodArray<z.ZodObject<{
|
|
653
659
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
654
660
|
UNKNOWN: "UNKNOWN";
|
|
655
|
-
PAID: "PAID";
|
|
656
661
|
DIRECT: "DIRECT";
|
|
657
|
-
EMAIL: "EMAIL";
|
|
658
662
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
659
663
|
SOCIAL: "SOCIAL";
|
|
664
|
+
PAID: "PAID";
|
|
665
|
+
EMAIL: "EMAIL";
|
|
660
666
|
CAMPAIGN: "CAMPAIGN";
|
|
661
667
|
REFERRAL: "REFERRAL";
|
|
662
668
|
}>>;
|
|
@@ -665,8 +671,8 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
665
671
|
campaign: z.ZodNullable<z.ZodString>;
|
|
666
672
|
device: z.ZodNullable<z.ZodEnum<{
|
|
667
673
|
unknown: "unknown";
|
|
668
|
-
mobile: "mobile";
|
|
669
674
|
desktop: "desktop";
|
|
675
|
+
mobile: "mobile";
|
|
670
676
|
tablet: "tablet";
|
|
671
677
|
}>>;
|
|
672
678
|
sessions: z.ZodNumber;
|
|
@@ -701,8 +707,8 @@ export type AnalyticsRealtime = z.infer<typeof analyticsRealtimeSchema>;
|
|
|
701
707
|
export declare const analyticsDeviceRowSchema: z.ZodObject<{
|
|
702
708
|
device: z.ZodEnum<{
|
|
703
709
|
unknown: "unknown";
|
|
704
|
-
mobile: "mobile";
|
|
705
710
|
desktop: "desktop";
|
|
711
|
+
mobile: "mobile";
|
|
706
712
|
tablet: "tablet";
|
|
707
713
|
}>;
|
|
708
714
|
sessions: z.ZodNumber;
|
|
@@ -717,8 +723,8 @@ export declare const analyticsDevicesSchema: z.ZodObject<{
|
|
|
717
723
|
rows: z.ZodArray<z.ZodObject<{
|
|
718
724
|
device: z.ZodEnum<{
|
|
719
725
|
unknown: "unknown";
|
|
720
|
-
mobile: "mobile";
|
|
721
726
|
desktop: "desktop";
|
|
727
|
+
mobile: "mobile";
|
|
722
728
|
tablet: "tablet";
|
|
723
729
|
}>;
|
|
724
730
|
sessions: z.ZodNumber;
|
|
@@ -808,12 +814,12 @@ export declare const analyticsSearchSchema: z.ZodObject<{
|
|
|
808
814
|
export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
|
|
809
815
|
export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
|
|
810
816
|
COMPLETED: "COMPLETED";
|
|
811
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
812
817
|
NOT_OPENED: "NOT_OPENED";
|
|
813
818
|
USER_CANCELED: "USER_CANCELED";
|
|
814
819
|
DECLINED: "DECLINED";
|
|
815
820
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
816
821
|
OTHER: "OTHER";
|
|
822
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
817
823
|
}>;
|
|
818
824
|
export type AnalyticsCheckoutOutcome = z.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
819
825
|
export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
@@ -821,12 +827,12 @@ export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
|
821
827
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
822
828
|
outcome: z.ZodEnum<{
|
|
823
829
|
COMPLETED: "COMPLETED";
|
|
824
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
825
830
|
NOT_OPENED: "NOT_OPENED";
|
|
826
831
|
USER_CANCELED: "USER_CANCELED";
|
|
827
832
|
DECLINED: "DECLINED";
|
|
828
833
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
829
834
|
OTHER: "OTHER";
|
|
835
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
830
836
|
}>;
|
|
831
837
|
sessions: z.ZodNumber;
|
|
832
838
|
}, z.core.$strip>>;
|
|
@@ -966,11 +972,11 @@ export type ApiLogSummary = z.infer<typeof apiLogSummarySchema>;
|
|
|
966
972
|
//#endregion
|
|
967
973
|
//#region src/schemas/category.d.ts
|
|
968
974
|
export declare const categoryProductSortSchema: z.ZodEnum<{
|
|
975
|
+
NAME: "NAME";
|
|
969
976
|
RECENT: "RECENT";
|
|
970
977
|
POPULAR: "POPULAR";
|
|
971
978
|
PRICE_LOW: "PRICE_LOW";
|
|
972
979
|
PRICE_HIGH: "PRICE_HIGH";
|
|
973
|
-
NAME: "NAME";
|
|
974
980
|
}>;
|
|
975
981
|
export type CategoryProductSort = z.infer<typeof categoryProductSortSchema>;
|
|
976
982
|
export declare const categorySchema: z.ZodObject<{
|
|
@@ -986,11 +992,11 @@ export declare const categorySchema: z.ZodObject<{
|
|
|
986
992
|
showPc: z.ZodBoolean;
|
|
987
993
|
showMobile: z.ZodBoolean;
|
|
988
994
|
productSort: z.ZodEnum<{
|
|
995
|
+
NAME: "NAME";
|
|
989
996
|
RECENT: "RECENT";
|
|
990
997
|
POPULAR: "POPULAR";
|
|
991
998
|
PRICE_LOW: "PRICE_LOW";
|
|
992
999
|
PRICE_HIGH: "PRICE_HIGH";
|
|
993
|
-
NAME: "NAME";
|
|
994
1000
|
}>;
|
|
995
1001
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
996
1002
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1017,11 +1023,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1017
1023
|
showPc: z.ZodBoolean;
|
|
1018
1024
|
showMobile: z.ZodBoolean;
|
|
1019
1025
|
productSort: z.ZodEnum<{
|
|
1026
|
+
NAME: "NAME";
|
|
1020
1027
|
RECENT: "RECENT";
|
|
1021
1028
|
POPULAR: "POPULAR";
|
|
1022
1029
|
PRICE_LOW: "PRICE_LOW";
|
|
1023
1030
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1024
|
-
NAME: "NAME";
|
|
1025
1031
|
}>;
|
|
1026
1032
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1027
1033
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1043,11 +1049,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1043
1049
|
showPc: z.ZodBoolean;
|
|
1044
1050
|
showMobile: z.ZodBoolean;
|
|
1045
1051
|
productSort: z.ZodEnum<{
|
|
1052
|
+
NAME: "NAME";
|
|
1046
1053
|
RECENT: "RECENT";
|
|
1047
1054
|
POPULAR: "POPULAR";
|
|
1048
1055
|
PRICE_LOW: "PRICE_LOW";
|
|
1049
1056
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1050
|
-
NAME: "NAME";
|
|
1051
1057
|
}>;
|
|
1052
1058
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1053
1059
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1072,11 +1078,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1072
1078
|
showPc: z.ZodBoolean;
|
|
1073
1079
|
showMobile: z.ZodBoolean;
|
|
1074
1080
|
productSort: z.ZodEnum<{
|
|
1081
|
+
NAME: "NAME";
|
|
1075
1082
|
RECENT: "RECENT";
|
|
1076
1083
|
POPULAR: "POPULAR";
|
|
1077
1084
|
PRICE_LOW: "PRICE_LOW";
|
|
1078
1085
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1079
|
-
NAME: "NAME";
|
|
1080
1086
|
}>;
|
|
1081
1087
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1082
1088
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1098,11 +1104,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1098
1104
|
showPc: z.ZodBoolean;
|
|
1099
1105
|
showMobile: z.ZodBoolean;
|
|
1100
1106
|
productSort: z.ZodEnum<{
|
|
1107
|
+
NAME: "NAME";
|
|
1101
1108
|
RECENT: "RECENT";
|
|
1102
1109
|
POPULAR: "POPULAR";
|
|
1103
1110
|
PRICE_LOW: "PRICE_LOW";
|
|
1104
1111
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1105
|
-
NAME: "NAME";
|
|
1106
1112
|
}>;
|
|
1107
1113
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1108
1114
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1135,11 +1141,11 @@ export declare const categoryCreateRequestSchema: z.ZodObject<{
|
|
|
1135
1141
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1136
1142
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1137
1143
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1144
|
+
NAME: "NAME";
|
|
1138
1145
|
RECENT: "RECENT";
|
|
1139
1146
|
POPULAR: "POPULAR";
|
|
1140
1147
|
PRICE_LOW: "PRICE_LOW";
|
|
1141
1148
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1142
|
-
NAME: "NAME";
|
|
1143
1149
|
}>>;
|
|
1144
1150
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1145
1151
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1154,11 +1160,11 @@ export declare const categoryPatchRequestSchema: z.ZodObject<{
|
|
|
1154
1160
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1155
1161
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1156
1162
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1163
|
+
NAME: "NAME";
|
|
1157
1164
|
RECENT: "RECENT";
|
|
1158
1165
|
POPULAR: "POPULAR";
|
|
1159
1166
|
PRICE_LOW: "PRICE_LOW";
|
|
1160
1167
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1161
|
-
NAME: "NAME";
|
|
1162
1168
|
}>>;
|
|
1163
1169
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1164
1170
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1239,13 +1245,13 @@ export declare const bulkResultSchema: z.ZodObject<{
|
|
|
1239
1245
|
export type BulkResult = z.infer<typeof bulkResultSchema>;
|
|
1240
1246
|
export declare const orderItemStatusSchema: z.ZodEnum<{
|
|
1241
1247
|
PAID: "PAID";
|
|
1248
|
+
CANCELED: "CANCELED";
|
|
1242
1249
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
1243
1250
|
CONFIRMED: "CONFIRMED";
|
|
1244
1251
|
DISPATCHED: "DISPATCHED";
|
|
1245
1252
|
DELIVERING: "DELIVERING";
|
|
1246
1253
|
DELIVERED: "DELIVERED";
|
|
1247
1254
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
1248
|
-
CANCELED: "CANCELED";
|
|
1249
1255
|
}>;
|
|
1250
1256
|
export type OrderItemStatus = z.infer<typeof orderItemStatusSchema>;
|
|
1251
1257
|
export declare const changeTypeSchema: z.ZodEnum<{
|
|
@@ -1264,20 +1270,20 @@ export type ChangeType = z.infer<typeof changeTypeSchema>;
|
|
|
1264
1270
|
//#endregion
|
|
1265
1271
|
//#region src/schemas/claim.d.ts
|
|
1266
1272
|
export declare const claimTypeSchema: z.ZodEnum<{
|
|
1267
|
-
CANCEL: "CANCEL";
|
|
1268
1273
|
RETURN: "RETURN";
|
|
1269
1274
|
EXCHANGE: "EXCHANGE";
|
|
1275
|
+
CANCEL: "CANCEL";
|
|
1270
1276
|
}>;
|
|
1271
1277
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
1272
1278
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
1279
|
+
REJECTED: "REJECTED";
|
|
1280
|
+
COMPLETED: "COMPLETED";
|
|
1273
1281
|
REQUESTED: "REQUESTED";
|
|
1274
1282
|
HELD: "HELD";
|
|
1275
1283
|
COLLECTING: "COLLECTING";
|
|
1276
1284
|
COLLECTED: "COLLECTED";
|
|
1277
1285
|
REDELIVERING: "REDELIVERING";
|
|
1278
1286
|
APPROVED: "APPROVED";
|
|
1279
|
-
REJECTED: "REJECTED";
|
|
1280
|
-
COMPLETED: "COMPLETED";
|
|
1281
1287
|
WITHDRAWN: "WITHDRAWN";
|
|
1282
1288
|
}>;
|
|
1283
1289
|
export type ClaimStatus = z.infer<typeof claimStatusSchema>;
|
|
@@ -1310,19 +1316,19 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1310
1316
|
claimId: z.ZodString;
|
|
1311
1317
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1312
1318
|
type: z.ZodEnum<{
|
|
1313
|
-
CANCEL: "CANCEL";
|
|
1314
1319
|
RETURN: "RETURN";
|
|
1315
1320
|
EXCHANGE: "EXCHANGE";
|
|
1321
|
+
CANCEL: "CANCEL";
|
|
1316
1322
|
}>;
|
|
1317
1323
|
status: z.ZodEnum<{
|
|
1324
|
+
REJECTED: "REJECTED";
|
|
1325
|
+
COMPLETED: "COMPLETED";
|
|
1318
1326
|
REQUESTED: "REQUESTED";
|
|
1319
1327
|
HELD: "HELD";
|
|
1320
1328
|
COLLECTING: "COLLECTING";
|
|
1321
1329
|
COLLECTED: "COLLECTED";
|
|
1322
1330
|
REDELIVERING: "REDELIVERING";
|
|
1323
1331
|
APPROVED: "APPROVED";
|
|
1324
|
-
REJECTED: "REJECTED";
|
|
1325
|
-
COMPLETED: "COMPLETED";
|
|
1326
1332
|
WITHDRAWN: "WITHDRAWN";
|
|
1327
1333
|
}>;
|
|
1328
1334
|
orderId: z.ZodString;
|
|
@@ -1386,9 +1392,9 @@ export declare const claimListQuerySchema: z.ZodObject<{
|
|
|
1386
1392
|
page: z.ZodOptional<z.ZodString>;
|
|
1387
1393
|
size: z.ZodOptional<z.ZodString>;
|
|
1388
1394
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1389
|
-
CANCEL: "CANCEL";
|
|
1390
1395
|
RETURN: "RETURN";
|
|
1391
1396
|
EXCHANGE: "EXCHANGE";
|
|
1397
|
+
CANCEL: "CANCEL";
|
|
1392
1398
|
}>>;
|
|
1393
1399
|
status: z.ZodOptional<z.ZodString>;
|
|
1394
1400
|
orderItemId: z.ZodOptional<z.ZodString>;
|
|
@@ -1400,19 +1406,19 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1400
1406
|
claimId: z.ZodString;
|
|
1401
1407
|
claimNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1402
1408
|
type: z.ZodEnum<{
|
|
1403
|
-
CANCEL: "CANCEL";
|
|
1404
1409
|
RETURN: "RETURN";
|
|
1405
1410
|
EXCHANGE: "EXCHANGE";
|
|
1411
|
+
CANCEL: "CANCEL";
|
|
1406
1412
|
}>;
|
|
1407
1413
|
status: z.ZodEnum<{
|
|
1414
|
+
REJECTED: "REJECTED";
|
|
1415
|
+
COMPLETED: "COMPLETED";
|
|
1408
1416
|
REQUESTED: "REQUESTED";
|
|
1409
1417
|
HELD: "HELD";
|
|
1410
1418
|
COLLECTING: "COLLECTING";
|
|
1411
1419
|
COLLECTED: "COLLECTED";
|
|
1412
1420
|
REDELIVERING: "REDELIVERING";
|
|
1413
1421
|
APPROVED: "APPROVED";
|
|
1414
|
-
REJECTED: "REJECTED";
|
|
1415
|
-
COMPLETED: "COMPLETED";
|
|
1416
1422
|
WITHDRAWN: "WITHDRAWN";
|
|
1417
1423
|
}>;
|
|
1418
1424
|
orderId: z.ZodString;
|
|
@@ -1463,20 +1469,20 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1463
1469
|
}, z.core.$strip>>;
|
|
1464
1470
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1465
1471
|
status: z.ZodEnum<{
|
|
1472
|
+
REJECTED: "REJECTED";
|
|
1473
|
+
COMPLETED: "COMPLETED";
|
|
1466
1474
|
REQUESTED: "REQUESTED";
|
|
1467
1475
|
HELD: "HELD";
|
|
1468
1476
|
COLLECTING: "COLLECTING";
|
|
1469
1477
|
COLLECTED: "COLLECTED";
|
|
1470
1478
|
REDELIVERING: "REDELIVERING";
|
|
1471
1479
|
APPROVED: "APPROVED";
|
|
1472
|
-
REJECTED: "REJECTED";
|
|
1473
|
-
COMPLETED: "COMPLETED";
|
|
1474
1480
|
WITHDRAWN: "WITHDRAWN";
|
|
1475
1481
|
}>;
|
|
1476
1482
|
actor: z.ZodEnum<{
|
|
1483
|
+
SYSTEM: "SYSTEM";
|
|
1477
1484
|
BUYER: "BUYER";
|
|
1478
1485
|
SELLER: "SELLER";
|
|
1479
|
-
SYSTEM: "SYSTEM";
|
|
1480
1486
|
}>;
|
|
1481
1487
|
occurredAt: z.ZodString;
|
|
1482
1488
|
}, z.core.$strip>>>;
|
|
@@ -1490,11 +1496,11 @@ export declare const claimHoldResultSchema: z.ZodObject<{
|
|
|
1490
1496
|
export type ClaimHoldResult = z.infer<typeof claimHoldResultSchema>;
|
|
1491
1497
|
export declare const rejectClaimRequestSchema: z.ZodObject<{
|
|
1492
1498
|
reason: z.ZodEnum<{
|
|
1499
|
+
ETC: "ETC";
|
|
1493
1500
|
USED_PRODUCT: "USED_PRODUCT";
|
|
1494
1501
|
MISSING_COMPONENT: "MISSING_COMPONENT";
|
|
1495
1502
|
PERIOD_EXPIRED: "PERIOD_EXPIRED";
|
|
1496
1503
|
BUYER_FAULT_DAMAGE: "BUYER_FAULT_DAMAGE";
|
|
1497
|
-
ETC: "ETC";
|
|
1498
1504
|
}>;
|
|
1499
1505
|
detail: z.ZodString;
|
|
1500
1506
|
evidenceImages: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -1556,8 +1562,8 @@ export declare const collectionProductSortRequestSchema: z.ZodEnum<{
|
|
|
1556
1562
|
/** 노출 상태 — 노출 여부와 기간에서 나온 값이다. 숨김이 기간보다 앞선다 */
|
|
1557
1563
|
export declare const collectionStateSchema: z.ZodEnum<{
|
|
1558
1564
|
ACTIVE: "ACTIVE";
|
|
1559
|
-
SCHEDULED: "SCHEDULED";
|
|
1560
1565
|
ENDED: "ENDED";
|
|
1566
|
+
SCHEDULED: "SCHEDULED";
|
|
1561
1567
|
HIDDEN: "HIDDEN";
|
|
1562
1568
|
}>;
|
|
1563
1569
|
export type CollectionState = z.infer<typeof collectionStateSchema>;
|
|
@@ -1737,8 +1743,8 @@ export declare const collectionSchema: z.ZodObject<{
|
|
|
1737
1743
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
1738
1744
|
state: z.ZodEnum<{
|
|
1739
1745
|
ACTIVE: "ACTIVE";
|
|
1740
|
-
SCHEDULED: "SCHEDULED";
|
|
1741
1746
|
ENDED: "ENDED";
|
|
1747
|
+
SCHEDULED: "SCHEDULED";
|
|
1742
1748
|
HIDDEN: "HIDDEN";
|
|
1743
1749
|
}>;
|
|
1744
1750
|
salesComputedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1918,8 +1924,8 @@ export declare const collectionPageSchema: z.ZodObject<{
|
|
|
1918
1924
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
1919
1925
|
state: z.ZodEnum<{
|
|
1920
1926
|
ACTIVE: "ACTIVE";
|
|
1921
|
-
SCHEDULED: "SCHEDULED";
|
|
1922
1927
|
ENDED: "ENDED";
|
|
1928
|
+
SCHEDULED: "SCHEDULED";
|
|
1923
1929
|
HIDDEN: "HIDDEN";
|
|
1924
1930
|
}>;
|
|
1925
1931
|
salesComputedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -1954,8 +1960,8 @@ export declare const collectionListQuerySchema: z.ZodObject<{
|
|
|
1954
1960
|
}>>;
|
|
1955
1961
|
state: z.ZodOptional<z.ZodEnum<{
|
|
1956
1962
|
ACTIVE: "ACTIVE";
|
|
1957
|
-
SCHEDULED: "SCHEDULED";
|
|
1958
1963
|
ENDED: "ENDED";
|
|
1964
|
+
SCHEDULED: "SCHEDULED";
|
|
1959
1965
|
HIDDEN: "HIDDEN";
|
|
1960
1966
|
}>>;
|
|
1961
1967
|
productId: z.ZodOptional<z.ZodString>;
|
|
@@ -2080,23 +2086,23 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
2080
2086
|
label: z.ZodString;
|
|
2081
2087
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2082
2088
|
PAID: "PAID";
|
|
2089
|
+
CANCELED: "CANCELED";
|
|
2083
2090
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2084
2091
|
CONFIRMED: "CONFIRMED";
|
|
2085
2092
|
DISPATCHED: "DISPATCHED";
|
|
2086
2093
|
DELIVERING: "DELIVERING";
|
|
2087
2094
|
DELIVERED: "DELIVERED";
|
|
2088
2095
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2089
|
-
CANCELED: "CANCELED";
|
|
2090
2096
|
}>>;
|
|
2091
2097
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2098
|
+
REJECTED: "REJECTED";
|
|
2099
|
+
COMPLETED: "COMPLETED";
|
|
2092
2100
|
REQUESTED: "REQUESTED";
|
|
2093
2101
|
HELD: "HELD";
|
|
2094
2102
|
COLLECTING: "COLLECTING";
|
|
2095
2103
|
COLLECTED: "COLLECTED";
|
|
2096
2104
|
REDELIVERING: "REDELIVERING";
|
|
2097
2105
|
APPROVED: "APPROVED";
|
|
2098
|
-
REJECTED: "REJECTED";
|
|
2099
|
-
COMPLETED: "COMPLETED";
|
|
2100
2106
|
WITHDRAWN: "WITHDRAWN";
|
|
2101
2107
|
}>>;
|
|
2102
2108
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2128,23 +2134,23 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2128
2134
|
label: z.ZodString;
|
|
2129
2135
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2130
2136
|
PAID: "PAID";
|
|
2137
|
+
CANCELED: "CANCELED";
|
|
2131
2138
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2132
2139
|
CONFIRMED: "CONFIRMED";
|
|
2133
2140
|
DISPATCHED: "DISPATCHED";
|
|
2134
2141
|
DELIVERING: "DELIVERING";
|
|
2135
2142
|
DELIVERED: "DELIVERED";
|
|
2136
2143
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2137
|
-
CANCELED: "CANCELED";
|
|
2138
2144
|
}>>;
|
|
2139
2145
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2146
|
+
REJECTED: "REJECTED";
|
|
2147
|
+
COMPLETED: "COMPLETED";
|
|
2140
2148
|
REQUESTED: "REQUESTED";
|
|
2141
2149
|
HELD: "HELD";
|
|
2142
2150
|
COLLECTING: "COLLECTING";
|
|
2143
2151
|
COLLECTED: "COLLECTED";
|
|
2144
2152
|
REDELIVERING: "REDELIVERING";
|
|
2145
2153
|
APPROVED: "APPROVED";
|
|
2146
|
-
REJECTED: "REJECTED";
|
|
2147
|
-
COMPLETED: "COMPLETED";
|
|
2148
2154
|
WITHDRAWN: "WITHDRAWN";
|
|
2149
2155
|
}>>;
|
|
2150
2156
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2209,13 +2215,13 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2209
2215
|
label: z.ZodString;
|
|
2210
2216
|
coreStatus: z.ZodNullable<z.ZodEnum<{
|
|
2211
2217
|
PAID: "PAID";
|
|
2218
|
+
CANCELED: "CANCELED";
|
|
2212
2219
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2213
2220
|
CONFIRMED: "CONFIRMED";
|
|
2214
2221
|
DISPATCHED: "DISPATCHED";
|
|
2215
2222
|
DELIVERING: "DELIVERING";
|
|
2216
2223
|
DELIVERED: "DELIVERED";
|
|
2217
2224
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2218
|
-
CANCELED: "CANCELED";
|
|
2219
2225
|
}>>;
|
|
2220
2226
|
}, z.core.$strip>>>;
|
|
2221
2227
|
branches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2223,23 +2229,23 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2223
2229
|
label: z.ZodString;
|
|
2224
2230
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2225
2231
|
PAID: "PAID";
|
|
2232
|
+
CANCELED: "CANCELED";
|
|
2226
2233
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2227
2234
|
CONFIRMED: "CONFIRMED";
|
|
2228
2235
|
DISPATCHED: "DISPATCHED";
|
|
2229
2236
|
DELIVERING: "DELIVERING";
|
|
2230
2237
|
DELIVERED: "DELIVERED";
|
|
2231
2238
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2232
|
-
CANCELED: "CANCELED";
|
|
2233
2239
|
}>>;
|
|
2234
2240
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2241
|
+
REJECTED: "REJECTED";
|
|
2242
|
+
COMPLETED: "COMPLETED";
|
|
2235
2243
|
REQUESTED: "REQUESTED";
|
|
2236
2244
|
HELD: "HELD";
|
|
2237
2245
|
COLLECTING: "COLLECTING";
|
|
2238
2246
|
COLLECTED: "COLLECTED";
|
|
2239
2247
|
REDELIVERING: "REDELIVERING";
|
|
2240
2248
|
APPROVED: "APPROVED";
|
|
2241
|
-
REJECTED: "REJECTED";
|
|
2242
|
-
COMPLETED: "COMPLETED";
|
|
2243
2249
|
WITHDRAWN: "WITHDRAWN";
|
|
2244
2250
|
}>>;
|
|
2245
2251
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2314,23 +2320,23 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2314
2320
|
label: z.ZodString;
|
|
2315
2321
|
coreStatus: z.ZodOptional<z.ZodEnum<{
|
|
2316
2322
|
PAID: "PAID";
|
|
2323
|
+
CANCELED: "CANCELED";
|
|
2317
2324
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
2318
2325
|
CONFIRMED: "CONFIRMED";
|
|
2319
2326
|
DISPATCHED: "DISPATCHED";
|
|
2320
2327
|
DELIVERING: "DELIVERING";
|
|
2321
2328
|
DELIVERED: "DELIVERED";
|
|
2322
2329
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2323
|
-
CANCELED: "CANCELED";
|
|
2324
2330
|
}>>;
|
|
2325
2331
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2332
|
+
REJECTED: "REJECTED";
|
|
2333
|
+
COMPLETED: "COMPLETED";
|
|
2326
2334
|
REQUESTED: "REQUESTED";
|
|
2327
2335
|
HELD: "HELD";
|
|
2328
2336
|
COLLECTING: "COLLECTING";
|
|
2329
2337
|
COLLECTED: "COLLECTED";
|
|
2330
2338
|
REDELIVERING: "REDELIVERING";
|
|
2331
2339
|
APPROVED: "APPROVED";
|
|
2332
|
-
REJECTED: "REJECTED";
|
|
2333
|
-
COMPLETED: "COMPLETED";
|
|
2334
2340
|
WITHDRAWN: "WITHDRAWN";
|
|
2335
2341
|
}>>;
|
|
2336
2342
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2566,8 +2572,8 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
2566
2572
|
results: z.ZodArray<z.ZodObject<{
|
|
2567
2573
|
orderItemId: z.ZodString;
|
|
2568
2574
|
status: z.ZodEnum<{
|
|
2569
|
-
COMPLETED: "COMPLETED";
|
|
2570
2575
|
FAILED: "FAILED";
|
|
2576
|
+
COMPLETED: "COMPLETED";
|
|
2571
2577
|
SKIPPED: "SKIPPED";
|
|
2572
2578
|
}>;
|
|
2573
2579
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3076,8 +3082,8 @@ export type ConsentAction = z.infer<typeof consentActionSchema>;
|
|
|
3076
3082
|
* `RECONSENT` 약관 개정 재동의 · `MEMBER_UPDATE` 구매자가 직접 변경 · `SELLER` 셀러가 처리
|
|
3077
3083
|
*/
|
|
3078
3084
|
export declare const consentSourceSchema: z.ZodEnum<{
|
|
3079
|
-
SELLER: "SELLER";
|
|
3080
3085
|
SIGNUP: "SIGNUP";
|
|
3086
|
+
SELLER: "SELLER";
|
|
3081
3087
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3082
3088
|
DELEGATED: "DELEGATED";
|
|
3083
3089
|
RECONSENT: "RECONSENT";
|
|
@@ -3099,8 +3105,8 @@ export declare const customerConsentSchema: z.ZodObject<{
|
|
|
3099
3105
|
AGREED: "AGREED";
|
|
3100
3106
|
}>;
|
|
3101
3107
|
source: z.ZodEnum<{
|
|
3102
|
-
SELLER: "SELLER";
|
|
3103
3108
|
SIGNUP: "SIGNUP";
|
|
3109
|
+
SELLER: "SELLER";
|
|
3104
3110
|
SOCIAL_SIGNUP: "SOCIAL_SIGNUP";
|
|
3105
3111
|
DELEGATED: "DELEGATED";
|
|
3106
3112
|
RECONSENT: "RECONSENT";
|
|
@@ -3270,13 +3276,13 @@ export declare const customerOrderSchema: z.ZodObject<{
|
|
|
3270
3276
|
quantity: z.ZodNumber;
|
|
3271
3277
|
status: z.ZodEnum<{
|
|
3272
3278
|
PAID: "PAID";
|
|
3279
|
+
CANCELED: "CANCELED";
|
|
3273
3280
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
3274
3281
|
CONFIRMED: "CONFIRMED";
|
|
3275
3282
|
DISPATCHED: "DISPATCHED";
|
|
3276
3283
|
DELIVERING: "DELIVERING";
|
|
3277
3284
|
DELIVERED: "DELIVERED";
|
|
3278
3285
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
3279
|
-
CANCELED: "CANCELED";
|
|
3280
3286
|
}>;
|
|
3281
3287
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
3282
3288
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -3359,8 +3365,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
3359
3365
|
*/
|
|
3360
3366
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
3361
3367
|
export declare const fulfillmentMethodSchema: z.ZodEnum<{
|
|
3362
|
-
CARRIER: "CARRIER";
|
|
3363
3368
|
DIRECT: "DIRECT";
|
|
3369
|
+
CARRIER: "CARRIER";
|
|
3364
3370
|
PICKUP: "PICKUP";
|
|
3365
3371
|
PROVIDED: "PROVIDED";
|
|
3366
3372
|
}>;
|
|
@@ -3404,8 +3410,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
3404
3410
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
3405
3411
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
3406
3412
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
3407
|
-
FREE: "FREE";
|
|
3408
3413
|
PAID: "PAID";
|
|
3414
|
+
FREE: "FREE";
|
|
3409
3415
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3410
3416
|
}>;
|
|
3411
3417
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -3416,8 +3422,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3416
3422
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3417
3423
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
3418
3424
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
3419
|
-
FREE: "FREE";
|
|
3420
3425
|
PAID: "PAID";
|
|
3426
|
+
FREE: "FREE";
|
|
3421
3427
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3422
3428
|
}>>;
|
|
3423
3429
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3426,16 +3432,16 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3426
3432
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3427
3433
|
}, z.core.$strict>>;
|
|
3428
3434
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3429
|
-
CARRIER: "CARRIER";
|
|
3430
3435
|
DIRECT: "DIRECT";
|
|
3436
|
+
CARRIER: "CARRIER";
|
|
3431
3437
|
PICKUP: "PICKUP";
|
|
3432
3438
|
PROVIDED: "PROVIDED";
|
|
3433
3439
|
}>>>;
|
|
3434
3440
|
}, z.core.$strict>, z.ZodObject<{
|
|
3435
3441
|
type: z.ZodLiteral<"MANUAL">;
|
|
3436
3442
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3437
|
-
CARRIER: "CARRIER";
|
|
3438
3443
|
DIRECT: "DIRECT";
|
|
3444
|
+
CARRIER: "CARRIER";
|
|
3439
3445
|
PICKUP: "PICKUP";
|
|
3440
3446
|
PROVIDED: "PROVIDED";
|
|
3441
3447
|
}>>>;
|
|
@@ -3451,8 +3457,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3451
3457
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3452
3458
|
shipping: z.ZodObject<{
|
|
3453
3459
|
deliveryType: z.ZodEnum<{
|
|
3454
|
-
FREE: "FREE";
|
|
3455
3460
|
PAID: "PAID";
|
|
3461
|
+
FREE: "FREE";
|
|
3456
3462
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3457
3463
|
}>;
|
|
3458
3464
|
deliveryFee: z.ZodNumber;
|
|
@@ -3461,16 +3467,16 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3461
3467
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
3462
3468
|
}, z.core.$strict>;
|
|
3463
3469
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3464
|
-
CARRIER: "CARRIER";
|
|
3465
3470
|
DIRECT: "DIRECT";
|
|
3471
|
+
CARRIER: "CARRIER";
|
|
3466
3472
|
PICKUP: "PICKUP";
|
|
3467
3473
|
PROVIDED: "PROVIDED";
|
|
3468
3474
|
}>>>;
|
|
3469
3475
|
}, z.core.$strict>, z.ZodObject<{
|
|
3470
3476
|
type: z.ZodLiteral<"MANUAL">;
|
|
3471
3477
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3472
|
-
CARRIER: "CARRIER";
|
|
3473
3478
|
DIRECT: "DIRECT";
|
|
3479
|
+
CARRIER: "CARRIER";
|
|
3474
3480
|
PICKUP: "PICKUP";
|
|
3475
3481
|
PROVIDED: "PROVIDED";
|
|
3476
3482
|
}>>>;
|
|
@@ -3484,8 +3490,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3484
3490
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3485
3491
|
shipping: z.ZodObject<{
|
|
3486
3492
|
deliveryType: z.ZodEnum<{
|
|
3487
|
-
FREE: "FREE";
|
|
3488
3493
|
PAID: "PAID";
|
|
3494
|
+
FREE: "FREE";
|
|
3489
3495
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3490
3496
|
}>;
|
|
3491
3497
|
deliveryFee: z.ZodNumber;
|
|
@@ -3525,8 +3531,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
3525
3531
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3526
3532
|
shipping: z.ZodObject<{
|
|
3527
3533
|
deliveryType: z.ZodEnum<{
|
|
3528
|
-
FREE: "FREE";
|
|
3529
3534
|
PAID: "PAID";
|
|
3535
|
+
FREE: "FREE";
|
|
3530
3536
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3531
3537
|
}>;
|
|
3532
3538
|
deliveryFee: z.ZodNumber;
|
|
@@ -3721,11 +3727,11 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3721
3727
|
productName: z.ZodString;
|
|
3722
3728
|
orderItemId: z.ZodNullable<z.ZodString>;
|
|
3723
3729
|
category: z.ZodEnum<{
|
|
3724
|
-
RETURN: "RETURN";
|
|
3725
|
-
EXCHANGE: "EXCHANGE";
|
|
3726
3730
|
ETC: "ETC";
|
|
3727
3731
|
PRODUCT: "PRODUCT";
|
|
3728
3732
|
DELIVERY: "DELIVERY";
|
|
3733
|
+
RETURN: "RETURN";
|
|
3734
|
+
EXCHANGE: "EXCHANGE";
|
|
3729
3735
|
}>;
|
|
3730
3736
|
content: z.ZodString;
|
|
3731
3737
|
secret: z.ZodBoolean;
|
|
@@ -3740,10 +3746,10 @@ export declare const inquirySchema: z.ZodObject<{
|
|
|
3740
3746
|
}, z.core.$strip>;
|
|
3741
3747
|
export type Inquiry = z.infer<typeof inquirySchema>;
|
|
3742
3748
|
export declare const customerInquiryCategorySchema: z.ZodEnum<{
|
|
3743
|
-
RETURN: "RETURN";
|
|
3744
|
-
EXCHANGE: "EXCHANGE";
|
|
3745
3749
|
ETC: "ETC";
|
|
3746
3750
|
DELIVERY: "DELIVERY";
|
|
3751
|
+
RETURN: "RETURN";
|
|
3752
|
+
EXCHANGE: "EXCHANGE";
|
|
3747
3753
|
PAYMENT: "PAYMENT";
|
|
3748
3754
|
}>;
|
|
3749
3755
|
export type CustomerInquiryCategory = z.infer<typeof customerInquiryCategorySchema>;
|
|
@@ -3752,10 +3758,10 @@ export declare const sellerCustomerInquirySchema: z.ZodObject<{
|
|
|
3752
3758
|
inquiryId: z.ZodString;
|
|
3753
3759
|
memberMaskedName: z.ZodString;
|
|
3754
3760
|
category: z.ZodEnum<{
|
|
3755
|
-
RETURN: "RETURN";
|
|
3756
|
-
EXCHANGE: "EXCHANGE";
|
|
3757
3761
|
ETC: "ETC";
|
|
3758
3762
|
DELIVERY: "DELIVERY";
|
|
3763
|
+
RETURN: "RETURN";
|
|
3764
|
+
EXCHANGE: "EXCHANGE";
|
|
3759
3765
|
PAYMENT: "PAYMENT";
|
|
3760
3766
|
}>;
|
|
3761
3767
|
title: z.ZodString;
|
|
@@ -3790,18 +3796,18 @@ export declare const customerInquiryListQuerySchema: z.ZodObject<{
|
|
|
3790
3796
|
false: "false";
|
|
3791
3797
|
}>>;
|
|
3792
3798
|
category: z.ZodOptional<z.ZodEnum<{
|
|
3793
|
-
RETURN: "RETURN";
|
|
3794
|
-
EXCHANGE: "EXCHANGE";
|
|
3795
3799
|
ETC: "ETC";
|
|
3796
3800
|
DELIVERY: "DELIVERY";
|
|
3801
|
+
RETURN: "RETURN";
|
|
3802
|
+
EXCHANGE: "EXCHANGE";
|
|
3797
3803
|
PAYMENT: "PAYMENT";
|
|
3798
3804
|
}>>;
|
|
3799
3805
|
from: z.ZodOptional<z.ZodString>;
|
|
3800
3806
|
}, z.core.$strip>;
|
|
3801
3807
|
export declare const settlementStatusSchema: z.ZodEnum<{
|
|
3802
|
-
HELD: "HELD";
|
|
3803
3808
|
PAID: "PAID";
|
|
3804
3809
|
SCHEDULED: "SCHEDULED";
|
|
3810
|
+
HELD: "HELD";
|
|
3805
3811
|
}>;
|
|
3806
3812
|
export type SettlementStatus = z.infer<typeof settlementStatusSchema>;
|
|
3807
3813
|
export declare const settlementSummarySchema: z.ZodObject<{
|
|
@@ -3809,9 +3815,9 @@ export declare const settlementSummarySchema: z.ZodObject<{
|
|
|
3809
3815
|
settlementDate: z.ZodString;
|
|
3810
3816
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3811
3817
|
status: z.ZodEnum<{
|
|
3812
|
-
HELD: "HELD";
|
|
3813
3818
|
PAID: "PAID";
|
|
3814
3819
|
SCHEDULED: "SCHEDULED";
|
|
3820
|
+
HELD: "HELD";
|
|
3815
3821
|
}>;
|
|
3816
3822
|
totalPaymentAmount: z.ZodNumber;
|
|
3817
3823
|
totalCommission: z.ZodNumber;
|
|
@@ -3844,9 +3850,9 @@ export declare const settlementWithDetailsSchema: z.ZodObject<{
|
|
|
3844
3850
|
settlementDate: z.ZodString;
|
|
3845
3851
|
payoutDate: z.ZodNullable<z.ZodString>;
|
|
3846
3852
|
status: z.ZodEnum<{
|
|
3847
|
-
HELD: "HELD";
|
|
3848
3853
|
PAID: "PAID";
|
|
3849
3854
|
SCHEDULED: "SCHEDULED";
|
|
3855
|
+
HELD: "HELD";
|
|
3850
3856
|
}>;
|
|
3851
3857
|
totalPaymentAmount: z.ZodNumber;
|
|
3852
3858
|
totalCommission: z.ZodNumber;
|
|
@@ -3879,9 +3885,9 @@ export declare const settlementListQuerySchema: z.ZodObject<{
|
|
|
3879
3885
|
from: z.ZodString;
|
|
3880
3886
|
to: z.ZodOptional<z.ZodString>;
|
|
3881
3887
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3882
|
-
HELD: "HELD";
|
|
3883
3888
|
PAID: "PAID";
|
|
3884
3889
|
SCHEDULED: "SCHEDULED";
|
|
3890
|
+
HELD: "HELD";
|
|
3885
3891
|
}>>;
|
|
3886
3892
|
}, z.core.$strip>;
|
|
3887
3893
|
/** `GET /v1/settlements/{settlementId}` 쿼리 — `size`는 돌려줄 상세 내역 건수다(`page`는 무시) */
|
|
@@ -3901,8 +3907,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3901
3907
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3902
3908
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3903
3909
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3904
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3905
3910
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3911
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3906
3912
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3907
3913
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3908
3914
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3915,8 +3921,8 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
3915
3921
|
}>;
|
|
3916
3922
|
export type EventType = z.infer<typeof eventTypeSchema>;
|
|
3917
3923
|
export declare const webhookStatusSchema: z.ZodEnum<{
|
|
3918
|
-
ACTIVE: "ACTIVE";
|
|
3919
3924
|
SUSPENDED: "SUSPENDED";
|
|
3925
|
+
ACTIVE: "ACTIVE";
|
|
3920
3926
|
}>;
|
|
3921
3927
|
export type WebhookStatus = z.infer<typeof webhookStatusSchema>;
|
|
3922
3928
|
export declare const webhookSchema: z.ZodObject<{
|
|
@@ -3929,8 +3935,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3929
3935
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3930
3936
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3931
3937
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3932
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3933
3938
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3939
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3934
3940
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3935
3941
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3936
3942
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3942,8 +3948,8 @@ export declare const webhookSchema: z.ZodObject<{
|
|
|
3942
3948
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3943
3949
|
}>>;
|
|
3944
3950
|
status: z.ZodEnum<{
|
|
3945
|
-
ACTIVE: "ACTIVE";
|
|
3946
3951
|
SUSPENDED: "SUSPENDED";
|
|
3952
|
+
ACTIVE: "ACTIVE";
|
|
3947
3953
|
}>;
|
|
3948
3954
|
secretPrefix: z.ZodString;
|
|
3949
3955
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3961,8 +3967,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3961
3967
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
3962
3968
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
3963
3969
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
3964
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3965
3970
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
3971
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
3966
3972
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
3967
3973
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
3968
3974
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -3974,8 +3980,8 @@ export declare const webhookCreatedSchema: z.ZodObject<{
|
|
|
3974
3980
|
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
3975
3981
|
}>>;
|
|
3976
3982
|
status: z.ZodEnum<{
|
|
3977
|
-
ACTIVE: "ACTIVE";
|
|
3978
3983
|
SUSPENDED: "SUSPENDED";
|
|
3984
|
+
ACTIVE: "ACTIVE";
|
|
3979
3985
|
}>;
|
|
3980
3986
|
secretPrefix: z.ZodString;
|
|
3981
3987
|
suspendedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4043,8 +4049,8 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
4043
4049
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4044
4050
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4045
4051
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4046
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4047
4052
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4053
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4048
4054
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4049
4055
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4050
4056
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4098,8 +4104,8 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4098
4104
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4099
4105
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4100
4106
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4101
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4102
4107
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4108
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4103
4109
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4104
4110
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4105
4111
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4162,8 +4168,8 @@ export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
|
4162
4168
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4163
4169
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4164
4170
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4165
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4166
4171
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4172
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4167
4173
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4168
4174
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4169
4175
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4191,8 +4197,8 @@ export declare const webhookTestRequestSchema: z.ZodObject<{
|
|
|
4191
4197
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4192
4198
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4193
4199
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4194
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4195
4200
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4201
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4196
4202
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4197
4203
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4198
4204
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4234,8 +4240,8 @@ export declare const webhookRequestSchema: z.ZodObject<{
|
|
|
4234
4240
|
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
4235
4241
|
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
4236
4242
|
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
4237
|
-
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4238
4243
|
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
4244
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
4239
4245
|
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
4240
4246
|
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
4241
4247
|
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
@@ -4326,23 +4332,23 @@ export declare const orderSummarySchema: z.ZodObject<{
|
|
|
4326
4332
|
totalAmount: z.ZodNumber;
|
|
4327
4333
|
representativeStatus: z.ZodEnum<{
|
|
4328
4334
|
PAID: "PAID";
|
|
4335
|
+
CANCELED: "CANCELED";
|
|
4329
4336
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4330
4337
|
CONFIRMED: "CONFIRMED";
|
|
4331
4338
|
DISPATCHED: "DISPATCHED";
|
|
4332
4339
|
DELIVERING: "DELIVERING";
|
|
4333
4340
|
DELIVERED: "DELIVERED";
|
|
4334
4341
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4335
|
-
CANCELED: "CANCELED";
|
|
4336
4342
|
}>;
|
|
4337
4343
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4338
4344
|
PAID: "PAID";
|
|
4345
|
+
CANCELED: "CANCELED";
|
|
4339
4346
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4340
4347
|
CONFIRMED: "CONFIRMED";
|
|
4341
4348
|
DISPATCHED: "DISPATCHED";
|
|
4342
4349
|
DELIVERING: "DELIVERING";
|
|
4343
4350
|
DELIVERED: "DELIVERED";
|
|
4344
4351
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4345
|
-
CANCELED: "CANCELED";
|
|
4346
4352
|
}>>;
|
|
4347
4353
|
orderedAt: z.ZodString;
|
|
4348
4354
|
testPayment: z.ZodBoolean;
|
|
@@ -4372,13 +4378,13 @@ export declare const orderItemSchema: z.ZodObject<{
|
|
|
4372
4378
|
orderId: z.ZodString;
|
|
4373
4379
|
status: z.ZodEnum<{
|
|
4374
4380
|
PAID: "PAID";
|
|
4381
|
+
CANCELED: "CANCELED";
|
|
4375
4382
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4376
4383
|
CONFIRMED: "CONFIRMED";
|
|
4377
4384
|
DISPATCHED: "DISPATCHED";
|
|
4378
4385
|
DELIVERING: "DELIVERING";
|
|
4379
4386
|
DELIVERED: "DELIVERED";
|
|
4380
4387
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4381
|
-
CANCELED: "CANCELED";
|
|
4382
4388
|
}>;
|
|
4383
4389
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4384
4390
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4490,13 +4496,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4490
4496
|
orderId: z.ZodString;
|
|
4491
4497
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4492
4498
|
PAID: "PAID";
|
|
4499
|
+
CANCELED: "CANCELED";
|
|
4493
4500
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4494
4501
|
CONFIRMED: "CONFIRMED";
|
|
4495
4502
|
DISPATCHED: "DISPATCHED";
|
|
4496
4503
|
DELIVERING: "DELIVERING";
|
|
4497
4504
|
DELIVERED: "DELIVERED";
|
|
4498
4505
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4499
|
-
CANCELED: "CANCELED";
|
|
4500
4506
|
}>>;
|
|
4501
4507
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4502
4508
|
orderedAt: z.ZodString;
|
|
@@ -4571,13 +4577,13 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
4571
4577
|
orderId: z.ZodString;
|
|
4572
4578
|
status: z.ZodEnum<{
|
|
4573
4579
|
PAID: "PAID";
|
|
4580
|
+
CANCELED: "CANCELED";
|
|
4574
4581
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4575
4582
|
CONFIRMED: "CONFIRMED";
|
|
4576
4583
|
DISPATCHED: "DISPATCHED";
|
|
4577
4584
|
DELIVERING: "DELIVERING";
|
|
4578
4585
|
DELIVERED: "DELIVERED";
|
|
4579
4586
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4580
|
-
CANCELED: "CANCELED";
|
|
4581
4587
|
}>;
|
|
4582
4588
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4583
4589
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4691,23 +4697,23 @@ export declare const orderSummaryPageSchema: z.ZodObject<{
|
|
|
4691
4697
|
totalAmount: z.ZodNumber;
|
|
4692
4698
|
representativeStatus: z.ZodEnum<{
|
|
4693
4699
|
PAID: "PAID";
|
|
4700
|
+
CANCELED: "CANCELED";
|
|
4694
4701
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4695
4702
|
CONFIRMED: "CONFIRMED";
|
|
4696
4703
|
DISPATCHED: "DISPATCHED";
|
|
4697
4704
|
DELIVERING: "DELIVERING";
|
|
4698
4705
|
DELIVERED: "DELIVERED";
|
|
4699
4706
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4700
|
-
CANCELED: "CANCELED";
|
|
4701
4707
|
}>;
|
|
4702
4708
|
progressStatus: z.ZodOptional<z.ZodEnum<{
|
|
4703
4709
|
PAID: "PAID";
|
|
4710
|
+
CANCELED: "CANCELED";
|
|
4704
4711
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4705
4712
|
CONFIRMED: "CONFIRMED";
|
|
4706
4713
|
DISPATCHED: "DISPATCHED";
|
|
4707
4714
|
DELIVERING: "DELIVERING";
|
|
4708
4715
|
DELIVERED: "DELIVERED";
|
|
4709
4716
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4710
|
-
CANCELED: "CANCELED";
|
|
4711
4717
|
}>>;
|
|
4712
4718
|
orderedAt: z.ZodString;
|
|
4713
4719
|
testPayment: z.ZodBoolean;
|
|
@@ -4726,13 +4732,13 @@ export declare const orderItemPageSchema: z.ZodObject<{
|
|
|
4726
4732
|
orderId: z.ZodString;
|
|
4727
4733
|
status: z.ZodEnum<{
|
|
4728
4734
|
PAID: "PAID";
|
|
4735
|
+
CANCELED: "CANCELED";
|
|
4729
4736
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4730
4737
|
CONFIRMED: "CONFIRMED";
|
|
4731
4738
|
DISPATCHED: "DISPATCHED";
|
|
4732
4739
|
DELIVERING: "DELIVERING";
|
|
4733
4740
|
DELIVERED: "DELIVERED";
|
|
4734
4741
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4735
|
-
CANCELED: "CANCELED";
|
|
4736
4742
|
}>;
|
|
4737
4743
|
claimStatus: z.ZodNullable<z.ZodEnum<{
|
|
4738
4744
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
@@ -4844,13 +4850,13 @@ export declare const orderListQuerySchema: z.ZodObject<{
|
|
|
4844
4850
|
orderedTo: z.ZodOptional<z.ZodString>;
|
|
4845
4851
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4846
4852
|
PAID: "PAID";
|
|
4853
|
+
CANCELED: "CANCELED";
|
|
4847
4854
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
4848
4855
|
CONFIRMED: "CONFIRMED";
|
|
4849
4856
|
DISPATCHED: "DISPATCHED";
|
|
4850
4857
|
DELIVERING: "DELIVERING";
|
|
4851
4858
|
DELIVERED: "DELIVERED";
|
|
4852
4859
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4853
|
-
CANCELED: "CANCELED";
|
|
4854
4860
|
}>>;
|
|
4855
4861
|
keyword: z.ZodOptional<z.ZodString>;
|
|
4856
4862
|
orderNo: z.ZodOptional<z.ZodString>;
|
|
@@ -5000,10 +5006,10 @@ export declare const carrierSchema: z.ZodObject<{
|
|
|
5000
5006
|
export type Carrier = z.infer<typeof carrierSchema>;
|
|
5001
5007
|
export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
5002
5008
|
reason: z.ZodEnum<{
|
|
5003
|
-
ETC: "ETC";
|
|
5004
5009
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5005
5010
|
CUSTOMER_REQUEST: "CUSTOMER_REQUEST";
|
|
5006
5011
|
CUSTOMS: "CUSTOMS";
|
|
5012
|
+
ETC: "ETC";
|
|
5007
5013
|
}>;
|
|
5008
5014
|
detail: z.ZodOptional<z.ZodString>;
|
|
5009
5015
|
expectedDispatchDate: z.ZodString;
|
|
@@ -5011,8 +5017,8 @@ export declare const holdOrderItemRequestSchema: z.ZodObject<{
|
|
|
5011
5017
|
export type HoldOrderItemRequest = z.infer<typeof holdOrderItemRequestSchema>;
|
|
5012
5018
|
export declare const cancelBySellerRequestSchema: z.ZodObject<{
|
|
5013
5019
|
reason: z.ZodEnum<{
|
|
5014
|
-
ETC: "ETC";
|
|
5015
5020
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
5021
|
+
ETC: "ETC";
|
|
5016
5022
|
PRICE_ERROR: "PRICE_ERROR";
|
|
5017
5023
|
DELIVERY_IMPOSSIBLE: "DELIVERY_IMPOSSIBLE";
|
|
5018
5024
|
}>;
|
|
@@ -5794,9 +5800,9 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
5794
5800
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
5795
5801
|
*/
|
|
5796
5802
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
5797
|
-
APPROVED: "APPROVED";
|
|
5798
5803
|
FAILED: "FAILED";
|
|
5799
5804
|
PENDING: "PENDING";
|
|
5805
|
+
APPROVED: "APPROVED";
|
|
5800
5806
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5801
5807
|
REFUNDED: "REFUNDED";
|
|
5802
5808
|
}>;
|
|
@@ -5842,9 +5848,9 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
5842
5848
|
orderName: z.ZodString;
|
|
5843
5849
|
customerName: z.ZodString;
|
|
5844
5850
|
status: z.ZodEnum<{
|
|
5845
|
-
APPROVED: "APPROVED";
|
|
5846
5851
|
FAILED: "FAILED";
|
|
5847
5852
|
PENDING: "PENDING";
|
|
5853
|
+
APPROVED: "APPROVED";
|
|
5848
5854
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5849
5855
|
REFUNDED: "REFUNDED";
|
|
5850
5856
|
}>;
|
|
@@ -5889,9 +5895,9 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
5889
5895
|
orderName: z.ZodString;
|
|
5890
5896
|
customerName: z.ZodString;
|
|
5891
5897
|
status: z.ZodEnum<{
|
|
5892
|
-
APPROVED: "APPROVED";
|
|
5893
5898
|
FAILED: "FAILED";
|
|
5894
5899
|
PENDING: "PENDING";
|
|
5900
|
+
APPROVED: "APPROVED";
|
|
5895
5901
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5896
5902
|
REFUNDED: "REFUNDED";
|
|
5897
5903
|
}>;
|
|
@@ -5981,9 +5987,9 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
5981
5987
|
orderName: z.ZodString;
|
|
5982
5988
|
customerName: z.ZodString;
|
|
5983
5989
|
status: z.ZodEnum<{
|
|
5984
|
-
APPROVED: "APPROVED";
|
|
5985
5990
|
FAILED: "FAILED";
|
|
5986
5991
|
PENDING: "PENDING";
|
|
5992
|
+
APPROVED: "APPROVED";
|
|
5987
5993
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5988
5994
|
REFUNDED: "REFUNDED";
|
|
5989
5995
|
}>;
|
|
@@ -6269,30 +6275,30 @@ export declare const updatePointPolicyRequestSchema: z.ZodObject<{
|
|
|
6269
6275
|
export type UpdatePointPolicyRequest = z.infer<typeof updatePointPolicyRequestSchema>;
|
|
6270
6276
|
/** 응답의 원장 유형 — 값이 추가될 수 있어 문자열로 받는다 */
|
|
6271
6277
|
export declare const responsePointEntryTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6272
|
-
ADJUST: "ADJUST";
|
|
6273
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6274
|
-
OPENING: "OPENING";
|
|
6275
6278
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6276
6279
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6277
6280
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6278
6281
|
USE_RESERVE: "USE_RESERVE";
|
|
6279
6282
|
USE_RELEASE: "USE_RELEASE";
|
|
6283
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6280
6284
|
EXPIRE: "EXPIRE";
|
|
6285
|
+
ADJUST: "ADJUST";
|
|
6286
|
+
OPENING: "OPENING";
|
|
6281
6287
|
}>, z.ZodString]>;
|
|
6282
6288
|
/** 원장 항목 — 셀러 조회용(사유·행위자 포함) */
|
|
6283
6289
|
export declare const pointEntrySchema: z.ZodObject<{
|
|
6284
6290
|
entryId: z.ZodString;
|
|
6285
6291
|
memberId: z.ZodString;
|
|
6286
6292
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6287
|
-
ADJUST: "ADJUST";
|
|
6288
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6289
|
-
OPENING: "OPENING";
|
|
6290
6293
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6291
6294
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6292
6295
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6293
6296
|
USE_RESERVE: "USE_RESERVE";
|
|
6294
6297
|
USE_RELEASE: "USE_RELEASE";
|
|
6298
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6295
6299
|
EXPIRE: "EXPIRE";
|
|
6300
|
+
ADJUST: "ADJUST";
|
|
6301
|
+
OPENING: "OPENING";
|
|
6296
6302
|
}>, z.ZodString]>;
|
|
6297
6303
|
amount: z.ZodNumber;
|
|
6298
6304
|
balanceAfter: z.ZodNumber;
|
|
@@ -6308,10 +6314,10 @@ export declare const pointLotSchema: z.ZodObject<{
|
|
|
6308
6314
|
lotId: z.ZodString;
|
|
6309
6315
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6310
6316
|
PURCHASE: "PURCHASE";
|
|
6311
|
-
REVIEW: "REVIEW";
|
|
6312
|
-
ADJUST: "ADJUST";
|
|
6313
6317
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6318
|
+
ADJUST: "ADJUST";
|
|
6314
6319
|
OPENING: "OPENING";
|
|
6320
|
+
REVIEW: "REVIEW";
|
|
6315
6321
|
}>, z.ZodString]>;
|
|
6316
6322
|
amount: z.ZodNumber;
|
|
6317
6323
|
remaining: z.ZodNumber;
|
|
@@ -6327,10 +6333,10 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
6327
6333
|
lotId: z.ZodString;
|
|
6328
6334
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6329
6335
|
PURCHASE: "PURCHASE";
|
|
6330
|
-
REVIEW: "REVIEW";
|
|
6331
|
-
ADJUST: "ADJUST";
|
|
6332
6336
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6337
|
+
ADJUST: "ADJUST";
|
|
6333
6338
|
OPENING: "OPENING";
|
|
6339
|
+
REVIEW: "REVIEW";
|
|
6334
6340
|
}>, z.ZodString]>;
|
|
6335
6341
|
amount: z.ZodNumber;
|
|
6336
6342
|
remaining: z.ZodNumber;
|
|
@@ -6367,15 +6373,15 @@ export declare const pointAdjustmentResultSchema: z.ZodObject<{
|
|
|
6367
6373
|
entryId: z.ZodString;
|
|
6368
6374
|
memberId: z.ZodString;
|
|
6369
6375
|
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6370
|
-
ADJUST: "ADJUST";
|
|
6371
|
-
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6372
|
-
OPENING: "OPENING";
|
|
6373
6376
|
EARN_REVIEW: "EARN_REVIEW";
|
|
6374
6377
|
REVOKE_REVIEW: "REVOKE_REVIEW";
|
|
6375
6378
|
EARN_PURCHASE: "EARN_PURCHASE";
|
|
6376
6379
|
USE_RESERVE: "USE_RESERVE";
|
|
6377
6380
|
USE_RELEASE: "USE_RELEASE";
|
|
6381
|
+
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6378
6382
|
EXPIRE: "EXPIRE";
|
|
6383
|
+
ADJUST: "ADJUST";
|
|
6384
|
+
OPENING: "OPENING";
|
|
6379
6385
|
}>, z.ZodString]>;
|
|
6380
6386
|
amount: z.ZodNumber;
|
|
6381
6387
|
balanceAfter: z.ZodNumber;
|
|
@@ -6415,10 +6421,10 @@ export declare function splitRefund(input: {
|
|
|
6415
6421
|
//#endregion
|
|
6416
6422
|
//#region src/schemas/product.d.ts
|
|
6417
6423
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
6418
|
-
SUSPENDED: "SUSPENDED";
|
|
6419
|
-
CLOSED: "CLOSED";
|
|
6420
6424
|
SALE: "SALE";
|
|
6425
|
+
SUSPENDED: "SUSPENDED";
|
|
6421
6426
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6427
|
+
CLOSED: "CLOSED";
|
|
6422
6428
|
}>;
|
|
6423
6429
|
export type ProductStatus = z.infer<typeof productStatusSchema>;
|
|
6424
6430
|
export declare const productSummarySchema: z.ZodObject<{
|
|
@@ -6426,10 +6432,10 @@ export declare const productSummarySchema: z.ZodObject<{
|
|
|
6426
6432
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6427
6433
|
name: z.ZodString;
|
|
6428
6434
|
status: z.ZodEnum<{
|
|
6429
|
-
SUSPENDED: "SUSPENDED";
|
|
6430
|
-
CLOSED: "CLOSED";
|
|
6431
6435
|
SALE: "SALE";
|
|
6436
|
+
SUSPENDED: "SUSPENDED";
|
|
6432
6437
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6438
|
+
CLOSED: "CLOSED";
|
|
6433
6439
|
}>;
|
|
6434
6440
|
salePrice: z.ZodNumber;
|
|
6435
6441
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6503,8 +6509,8 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
6503
6509
|
* 추가금순은 추가 선택 값이면 값의 추가금, 조합 값이면 그 값이 든 조합 추가금의 최솟값으로 비교하고 같으면 등록순이다.
|
|
6504
6510
|
*/
|
|
6505
6511
|
export declare const optionSortSchema: z.ZodEnum<{
|
|
6506
|
-
NAME: "NAME";
|
|
6507
6512
|
REGISTERED: "REGISTERED";
|
|
6513
|
+
NAME: "NAME";
|
|
6508
6514
|
PRICE_ASC: "PRICE_ASC";
|
|
6509
6515
|
PRICE_DESC: "PRICE_DESC";
|
|
6510
6516
|
}>;
|
|
@@ -6593,9 +6599,9 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
6593
6599
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6594
6600
|
number: "number";
|
|
6595
6601
|
date: "date";
|
|
6596
|
-
datetime: "datetime";
|
|
6597
6602
|
text: "text";
|
|
6598
6603
|
select: "select";
|
|
6604
|
+
datetime: "datetime";
|
|
6599
6605
|
image: "image";
|
|
6600
6606
|
}>>;
|
|
6601
6607
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -6637,10 +6643,10 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6637
6643
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6638
6644
|
name: z.ZodString;
|
|
6639
6645
|
status: z.ZodEnum<{
|
|
6640
|
-
SUSPENDED: "SUSPENDED";
|
|
6641
|
-
CLOSED: "CLOSED";
|
|
6642
6646
|
SALE: "SALE";
|
|
6647
|
+
SUSPENDED: "SUSPENDED";
|
|
6643
6648
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
6649
|
+
CLOSED: "CLOSED";
|
|
6644
6650
|
}>;
|
|
6645
6651
|
salePrice: z.ZodNumber;
|
|
6646
6652
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6711,8 +6717,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6711
6717
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6712
6718
|
}, z.core.$strip>>>>;
|
|
6713
6719
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6714
|
-
NAME: "NAME";
|
|
6715
6720
|
REGISTERED: "REGISTERED";
|
|
6721
|
+
NAME: "NAME";
|
|
6716
6722
|
PRICE_ASC: "PRICE_ASC";
|
|
6717
6723
|
PRICE_DESC: "PRICE_DESC";
|
|
6718
6724
|
}>>>;
|
|
@@ -6720,8 +6726,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6720
6726
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6721
6727
|
shipping: z.ZodObject<{
|
|
6722
6728
|
deliveryType: z.ZodEnum<{
|
|
6723
|
-
FREE: "FREE";
|
|
6724
6729
|
PAID: "PAID";
|
|
6730
|
+
FREE: "FREE";
|
|
6725
6731
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6726
6732
|
}>;
|
|
6727
6733
|
deliveryFee: z.ZodNumber;
|
|
@@ -6863,16 +6869,16 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
6863
6869
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6864
6870
|
number: "number";
|
|
6865
6871
|
date: "date";
|
|
6866
|
-
datetime: "datetime";
|
|
6867
6872
|
text: "text";
|
|
6868
6873
|
select: "select";
|
|
6874
|
+
datetime: "datetime";
|
|
6869
6875
|
image: "image";
|
|
6870
6876
|
}>>;
|
|
6871
6877
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6872
6878
|
}, z.core.$strip>>>;
|
|
6873
6879
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
6874
|
-
NAME: "NAME";
|
|
6875
6880
|
REGISTERED: "REGISTERED";
|
|
6881
|
+
NAME: "NAME";
|
|
6876
6882
|
PRICE_ASC: "PRICE_ASC";
|
|
6877
6883
|
PRICE_DESC: "PRICE_DESC";
|
|
6878
6884
|
}>>;
|
|
@@ -6932,8 +6938,8 @@ export declare const optionModelSchema: z.ZodObject<{
|
|
|
6932
6938
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6933
6939
|
}, z.core.$strip>>>>;
|
|
6934
6940
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6935
|
-
NAME: "NAME";
|
|
6936
6941
|
REGISTERED: "REGISTERED";
|
|
6942
|
+
NAME: "NAME";
|
|
6937
6943
|
PRICE_ASC: "PRICE_ASC";
|
|
6938
6944
|
PRICE_DESC: "PRICE_DESC";
|
|
6939
6945
|
}>>>;
|
|
@@ -6964,8 +6970,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6964
6970
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6965
6971
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
6966
6972
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
6967
|
-
FREE: "FREE";
|
|
6968
6973
|
PAID: "PAID";
|
|
6974
|
+
FREE: "FREE";
|
|
6969
6975
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6970
6976
|
}>>;
|
|
6971
6977
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6974,16 +6980,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6974
6980
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6975
6981
|
}, z.core.$strict>>;
|
|
6976
6982
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6977
|
-
CARRIER: "CARRIER";
|
|
6978
6983
|
DIRECT: "DIRECT";
|
|
6984
|
+
CARRIER: "CARRIER";
|
|
6979
6985
|
PICKUP: "PICKUP";
|
|
6980
6986
|
PROVIDED: "PROVIDED";
|
|
6981
6987
|
}>>>;
|
|
6982
6988
|
}, z.core.$strict>, z.ZodObject<{
|
|
6983
6989
|
type: z.ZodLiteral<"MANUAL">;
|
|
6984
6990
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6985
|
-
CARRIER: "CARRIER";
|
|
6986
6991
|
DIRECT: "DIRECT";
|
|
6992
|
+
CARRIER: "CARRIER";
|
|
6987
6993
|
PICKUP: "PICKUP";
|
|
6988
6994
|
PROVIDED: "PROVIDED";
|
|
6989
6995
|
}>>>;
|
|
@@ -7037,16 +7043,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
7037
7043
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7038
7044
|
number: "number";
|
|
7039
7045
|
date: "date";
|
|
7040
|
-
datetime: "datetime";
|
|
7041
7046
|
text: "text";
|
|
7042
7047
|
select: "select";
|
|
7048
|
+
datetime: "datetime";
|
|
7043
7049
|
image: "image";
|
|
7044
7050
|
}>>;
|
|
7045
7051
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7046
7052
|
}, z.core.$strip>>>;
|
|
7047
7053
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7048
|
-
NAME: "NAME";
|
|
7049
7054
|
REGISTERED: "REGISTERED";
|
|
7055
|
+
NAME: "NAME";
|
|
7050
7056
|
PRICE_ASC: "PRICE_ASC";
|
|
7051
7057
|
PRICE_DESC: "PRICE_DESC";
|
|
7052
7058
|
}>>;
|
|
@@ -7078,8 +7084,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7078
7084
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7079
7085
|
shipping: z.ZodObject<{
|
|
7080
7086
|
deliveryType: z.ZodEnum<{
|
|
7081
|
-
FREE: "FREE";
|
|
7082
7087
|
PAID: "PAID";
|
|
7088
|
+
FREE: "FREE";
|
|
7083
7089
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7084
7090
|
}>;
|
|
7085
7091
|
deliveryFee: z.ZodNumber;
|
|
@@ -7088,16 +7094,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7088
7094
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7089
7095
|
}, z.core.$strict>;
|
|
7090
7096
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7091
|
-
CARRIER: "CARRIER";
|
|
7092
7097
|
DIRECT: "DIRECT";
|
|
7098
|
+
CARRIER: "CARRIER";
|
|
7093
7099
|
PICKUP: "PICKUP";
|
|
7094
7100
|
PROVIDED: "PROVIDED";
|
|
7095
7101
|
}>>>;
|
|
7096
7102
|
}, z.core.$strict>, z.ZodObject<{
|
|
7097
7103
|
type: z.ZodLiteral<"MANUAL">;
|
|
7098
7104
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7099
|
-
CARRIER: "CARRIER";
|
|
7100
7105
|
DIRECT: "DIRECT";
|
|
7106
|
+
CARRIER: "CARRIER";
|
|
7101
7107
|
PICKUP: "PICKUP";
|
|
7102
7108
|
PROVIDED: "PROVIDED";
|
|
7103
7109
|
}>>>;
|
|
@@ -7151,16 +7157,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7151
7157
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7152
7158
|
number: "number";
|
|
7153
7159
|
date: "date";
|
|
7154
|
-
datetime: "datetime";
|
|
7155
7160
|
text: "text";
|
|
7156
7161
|
select: "select";
|
|
7162
|
+
datetime: "datetime";
|
|
7157
7163
|
image: "image";
|
|
7158
7164
|
}>>;
|
|
7159
7165
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7160
7166
|
}, z.core.$strip>>>;
|
|
7161
7167
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7162
|
-
NAME: "NAME";
|
|
7163
7168
|
REGISTERED: "REGISTERED";
|
|
7169
|
+
NAME: "NAME";
|
|
7164
7170
|
PRICE_ASC: "PRICE_ASC";
|
|
7165
7171
|
PRICE_DESC: "PRICE_DESC";
|
|
7166
7172
|
}>>;
|
|
@@ -7190,10 +7196,10 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7190
7196
|
name: z.ZodOptional<z.ZodString>;
|
|
7191
7197
|
salePrice: z.ZodOptional<z.ZodNumber>;
|
|
7192
7198
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7193
|
-
SUSPENDED: "SUSPENDED";
|
|
7194
|
-
CLOSED: "CLOSED";
|
|
7195
7199
|
SALE: "SALE";
|
|
7200
|
+
SUSPENDED: "SUSPENDED";
|
|
7196
7201
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7202
|
+
CLOSED: "CLOSED";
|
|
7197
7203
|
}>>;
|
|
7198
7204
|
flowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7199
7205
|
images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
@@ -7201,8 +7207,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7201
7207
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7202
7208
|
shipping: z.ZodObject<{
|
|
7203
7209
|
deliveryType: z.ZodEnum<{
|
|
7204
|
-
FREE: "FREE";
|
|
7205
7210
|
PAID: "PAID";
|
|
7211
|
+
FREE: "FREE";
|
|
7206
7212
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7207
7213
|
}>;
|
|
7208
7214
|
deliveryFee: z.ZodNumber;
|
|
@@ -7211,16 +7217,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7211
7217
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7212
7218
|
}, z.core.$strict>;
|
|
7213
7219
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7214
|
-
CARRIER: "CARRIER";
|
|
7215
7220
|
DIRECT: "DIRECT";
|
|
7221
|
+
CARRIER: "CARRIER";
|
|
7216
7222
|
PICKUP: "PICKUP";
|
|
7217
7223
|
PROVIDED: "PROVIDED";
|
|
7218
7224
|
}>>>;
|
|
7219
7225
|
}, z.core.$strict>, z.ZodObject<{
|
|
7220
7226
|
type: z.ZodLiteral<"MANUAL">;
|
|
7221
7227
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7222
|
-
CARRIER: "CARRIER";
|
|
7223
7228
|
DIRECT: "DIRECT";
|
|
7229
|
+
CARRIER: "CARRIER";
|
|
7224
7230
|
PICKUP: "PICKUP";
|
|
7225
7231
|
PROVIDED: "PROVIDED";
|
|
7226
7232
|
}>>>;
|
|
@@ -7257,10 +7263,10 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
7257
7263
|
page: z.ZodOptional<z.ZodString>;
|
|
7258
7264
|
size: z.ZodOptional<z.ZodString>;
|
|
7259
7265
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7260
|
-
SUSPENDED: "SUSPENDED";
|
|
7261
|
-
CLOSED: "CLOSED";
|
|
7262
7266
|
SALE: "SALE";
|
|
7267
|
+
SUSPENDED: "SUSPENDED";
|
|
7263
7268
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
7269
|
+
CLOSED: "CLOSED";
|
|
7264
7270
|
}>>;
|
|
7265
7271
|
categoryId: z.ZodOptional<z.ZodString>;
|
|
7266
7272
|
keyword: z.ZodOptional<z.ZodString>;
|
|
@@ -7330,8 +7336,8 @@ export declare const savedOptionSetSchema: z.ZodObject<{
|
|
|
7330
7336
|
optionSetId: z.ZodString;
|
|
7331
7337
|
name: z.ZodString;
|
|
7332
7338
|
optionSort: z.ZodEnum<{
|
|
7333
|
-
NAME: "NAME";
|
|
7334
7339
|
REGISTERED: "REGISTERED";
|
|
7340
|
+
NAME: "NAME";
|
|
7335
7341
|
PRICE_ASC: "PRICE_ASC";
|
|
7336
7342
|
PRICE_DESC: "PRICE_DESC";
|
|
7337
7343
|
}>;
|
|
@@ -7384,9 +7390,9 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7384
7390
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7385
7391
|
number: "number";
|
|
7386
7392
|
date: "date";
|
|
7387
|
-
datetime: "datetime";
|
|
7388
7393
|
text: "text";
|
|
7389
7394
|
select: "select";
|
|
7395
|
+
datetime: "datetime";
|
|
7390
7396
|
image: "image";
|
|
7391
7397
|
}>>;
|
|
7392
7398
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7398,8 +7404,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7398
7404
|
export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
7399
7405
|
name: z.ZodString;
|
|
7400
7406
|
optionSort: z.ZodDefault<z.ZodEnum<{
|
|
7401
|
-
NAME: "NAME";
|
|
7402
7407
|
REGISTERED: "REGISTERED";
|
|
7408
|
+
NAME: "NAME";
|
|
7403
7409
|
PRICE_ASC: "PRICE_ASC";
|
|
7404
7410
|
PRICE_DESC: "PRICE_DESC";
|
|
7405
7411
|
}>>;
|
|
@@ -7424,9 +7430,9 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
7424
7430
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7425
7431
|
number: "number";
|
|
7426
7432
|
date: "date";
|
|
7427
|
-
datetime: "datetime";
|
|
7428
7433
|
text: "text";
|
|
7429
7434
|
select: "select";
|
|
7435
|
+
datetime: "datetime";
|
|
7430
7436
|
image: "image";
|
|
7431
7437
|
}>>;
|
|
7432
7438
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7454,8 +7460,8 @@ export declare const savedOptionSetFromProductResultSchema: z.ZodObject<{
|
|
|
7454
7460
|
optionSetId: z.ZodString;
|
|
7455
7461
|
name: z.ZodString;
|
|
7456
7462
|
optionSort: z.ZodEnum<{
|
|
7457
|
-
NAME: "NAME";
|
|
7458
7463
|
REGISTERED: "REGISTERED";
|
|
7464
|
+
NAME: "NAME";
|
|
7459
7465
|
PRICE_ASC: "PRICE_ASC";
|
|
7460
7466
|
PRICE_DESC: "PRICE_DESC";
|
|
7461
7467
|
}>;
|
|
@@ -7728,9 +7734,9 @@ export declare const storeSchema: z.ZodObject<{
|
|
|
7728
7734
|
storeCode: z.ZodString;
|
|
7729
7735
|
storefrontUrl: z.ZodURL;
|
|
7730
7736
|
status: z.ZodEnum<{
|
|
7731
|
-
ACTIVE: "ACTIVE";
|
|
7732
7737
|
SUSPENDED: "SUSPENDED";
|
|
7733
7738
|
CLOSED: "CLOSED";
|
|
7739
|
+
ACTIVE: "ACTIVE";
|
|
7734
7740
|
}>;
|
|
7735
7741
|
logoUrl: z.ZodNullable<z.ZodURL>;
|
|
7736
7742
|
businessNumber: z.ZodNullable<z.ZodString>;
|
|
@@ -7742,9 +7748,9 @@ export declare const storeMemberSchema: z.ZodObject<{
|
|
|
7742
7748
|
name: z.ZodString;
|
|
7743
7749
|
email: z.ZodEmail;
|
|
7744
7750
|
role: z.ZodEnum<{
|
|
7745
|
-
OWNER: "OWNER";
|
|
7746
7751
|
ADMIN: "ADMIN";
|
|
7747
7752
|
STAFF: "STAFF";
|
|
7753
|
+
OWNER: "OWNER";
|
|
7748
7754
|
}>;
|
|
7749
7755
|
joinedAt: z.ZodString;
|
|
7750
7756
|
lastActiveAt: z.ZodNullable<z.ZodString>;
|
|
@@ -7771,8 +7777,8 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
7771
7777
|
status: z.ZodEnum<{
|
|
7772
7778
|
PENDING: "PENDING";
|
|
7773
7779
|
EXPIRED: "EXPIRED";
|
|
7774
|
-
CANCELED: "CANCELED";
|
|
7775
7780
|
ACCEPTED: "ACCEPTED";
|
|
7781
|
+
CANCELED: "CANCELED";
|
|
7776
7782
|
}>;
|
|
7777
7783
|
invitedBy: z.ZodString;
|
|
7778
7784
|
expiresAt: z.ZodString;
|
|
@@ -7811,8 +7817,8 @@ export declare const invitationListQuerySchema: z.ZodObject<{
|
|
|
7811
7817
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7812
7818
|
PENDING: "PENDING";
|
|
7813
7819
|
EXPIRED: "EXPIRED";
|
|
7814
|
-
CANCELED: "CANCELED";
|
|
7815
7820
|
ACCEPTED: "ACCEPTED";
|
|
7821
|
+
CANCELED: "CANCELED";
|
|
7816
7822
|
}>>;
|
|
7817
7823
|
}, z.core.$strip>;
|
|
7818
7824
|
/** `PATCH /v1/store/members/{userId}` 응답 — 바뀐 역할 */
|
|
@@ -7828,22 +7834,22 @@ export type StoreMemberRoleUpdated = z.infer<typeof storeMemberRoleUpdatedSchema
|
|
|
7828
7834
|
* 주소 유형 — 출고지·반품지.
|
|
7829
7835
|
*/
|
|
7830
7836
|
export declare const addressTypeSchema: z.ZodEnum<{
|
|
7831
|
-
RETURN: "RETURN";
|
|
7832
7837
|
SHIPPING: "SHIPPING";
|
|
7838
|
+
RETURN: "RETURN";
|
|
7833
7839
|
}>;
|
|
7834
7840
|
export type AddressType = z.infer<typeof addressTypeSchema>;
|
|
7835
7841
|
/** `GET /v1/seller-addresses` 쿼리 — OpenAPI 문서용 형태. 기본 주소 우선, 그다음 등록순이다 */
|
|
7836
7842
|
export declare const sellerAddressListQuerySchema: z.ZodObject<{
|
|
7837
7843
|
type: z.ZodOptional<z.ZodEnum<{
|
|
7838
|
-
RETURN: "RETURN";
|
|
7839
7844
|
SHIPPING: "SHIPPING";
|
|
7845
|
+
RETURN: "RETURN";
|
|
7840
7846
|
}>>;
|
|
7841
7847
|
}, z.core.$strip>;
|
|
7842
7848
|
export declare const sellerAddressSchema: z.ZodObject<{
|
|
7843
7849
|
addressId: z.ZodString;
|
|
7844
7850
|
type: z.ZodEnum<{
|
|
7845
|
-
RETURN: "RETURN";
|
|
7846
7851
|
SHIPPING: "SHIPPING";
|
|
7852
|
+
RETURN: "RETURN";
|
|
7847
7853
|
}>;
|
|
7848
7854
|
name: z.ZodString;
|
|
7849
7855
|
isDefault: z.ZodBoolean;
|
|
@@ -7857,8 +7863,8 @@ export declare const sellerAddressSchema: z.ZodObject<{
|
|
|
7857
7863
|
export type SellerAddress = z.infer<typeof sellerAddressSchema>;
|
|
7858
7864
|
export declare const sellerAddressRequestSchema: z.ZodObject<{
|
|
7859
7865
|
type: z.ZodEnum<{
|
|
7860
|
-
RETURN: "RETURN";
|
|
7861
7866
|
SHIPPING: "SHIPPING";
|
|
7867
|
+
RETURN: "RETURN";
|
|
7862
7868
|
}>;
|
|
7863
7869
|
name: z.ZodString;
|
|
7864
7870
|
contactName: z.ZodString;
|
|
@@ -8008,9 +8014,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
8008
8014
|
}, z.core.$strip>;
|
|
8009
8015
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
8010
8016
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
8011
|
-
ACTIVE: "ACTIVE";
|
|
8012
8017
|
SUSPENDED: "SUSPENDED";
|
|
8013
8018
|
CLOSED: "CLOSED";
|
|
8019
|
+
ACTIVE: "ACTIVE";
|
|
8014
8020
|
}>;
|
|
8015
8021
|
export type StorefrontSiteStatus = z.infer<typeof storefrontSiteStatusSchema>;
|
|
8016
8022
|
export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
@@ -8019,8 +8025,8 @@ export declare const storefrontVisibilitySchema: z.ZodEnum<{
|
|
|
8019
8025
|
}>;
|
|
8020
8026
|
export type StorefrontVisibility = z.infer<typeof storefrontVisibilitySchema>;
|
|
8021
8027
|
export declare const storefrontSourceModeSchema: z.ZodEnum<{
|
|
8022
|
-
MANAGED: "MANAGED";
|
|
8023
8028
|
CUSTOM: "CUSTOM";
|
|
8029
|
+
MANAGED: "MANAGED";
|
|
8024
8030
|
}>;
|
|
8025
8031
|
export declare const storefrontDomainSchema: z.ZodObject<{
|
|
8026
8032
|
hostname: z.ZodString;
|
|
@@ -8029,8 +8035,8 @@ export declare const storefrontDomainSchema: z.ZodObject<{
|
|
|
8029
8035
|
CUSTOM: "CUSTOM";
|
|
8030
8036
|
}>;
|
|
8031
8037
|
status: z.ZodEnum<{
|
|
8032
|
-
HELD: "HELD";
|
|
8033
8038
|
ACTIVE: "ACTIVE";
|
|
8039
|
+
HELD: "HELD";
|
|
8034
8040
|
}>;
|
|
8035
8041
|
isPrimary: z.ZodBoolean;
|
|
8036
8042
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
@@ -8079,21 +8085,21 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8079
8085
|
CUSTOM: "CUSTOM";
|
|
8080
8086
|
}>;
|
|
8081
8087
|
status: z.ZodEnum<{
|
|
8082
|
-
HELD: "HELD";
|
|
8083
8088
|
ACTIVE: "ACTIVE";
|
|
8089
|
+
HELD: "HELD";
|
|
8084
8090
|
}>;
|
|
8085
8091
|
isPrimary: z.ZodBoolean;
|
|
8086
8092
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8087
8093
|
}, z.core.$strip>>;
|
|
8088
8094
|
templateId: z.ZodString;
|
|
8089
8095
|
sourceMode: z.ZodEnum<{
|
|
8090
|
-
MANAGED: "MANAGED";
|
|
8091
8096
|
CUSTOM: "CUSTOM";
|
|
8097
|
+
MANAGED: "MANAGED";
|
|
8092
8098
|
}>;
|
|
8093
8099
|
status: z.ZodEnum<{
|
|
8094
|
-
ACTIVE: "ACTIVE";
|
|
8095
8100
|
SUSPENDED: "SUSPENDED";
|
|
8096
8101
|
CLOSED: "CLOSED";
|
|
8102
|
+
ACTIVE: "ACTIVE";
|
|
8097
8103
|
}>;
|
|
8098
8104
|
visibility: z.ZodEnum<{
|
|
8099
8105
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8159,21 +8165,21 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8159
8165
|
CUSTOM: "CUSTOM";
|
|
8160
8166
|
}>;
|
|
8161
8167
|
status: z.ZodEnum<{
|
|
8162
|
-
HELD: "HELD";
|
|
8163
8168
|
ACTIVE: "ACTIVE";
|
|
8169
|
+
HELD: "HELD";
|
|
8164
8170
|
}>;
|
|
8165
8171
|
isPrimary: z.ZodBoolean;
|
|
8166
8172
|
holdUntil: z.ZodNullable<z.ZodString>;
|
|
8167
8173
|
}, z.core.$strip>>;
|
|
8168
8174
|
templateId: z.ZodString;
|
|
8169
8175
|
sourceMode: z.ZodEnum<{
|
|
8170
|
-
MANAGED: "MANAGED";
|
|
8171
8176
|
CUSTOM: "CUSTOM";
|
|
8177
|
+
MANAGED: "MANAGED";
|
|
8172
8178
|
}>;
|
|
8173
8179
|
status: z.ZodEnum<{
|
|
8174
|
-
ACTIVE: "ACTIVE";
|
|
8175
8180
|
SUSPENDED: "SUSPENDED";
|
|
8176
8181
|
CLOSED: "CLOSED";
|
|
8182
|
+
ACTIVE: "ACTIVE";
|
|
8177
8183
|
}>;
|
|
8178
8184
|
visibility: z.ZodEnum<{
|
|
8179
8185
|
COMING_SOON: "COMING_SOON";
|
|
@@ -8227,8 +8233,8 @@ export declare const storefrontSlugAvailabilitySchema: z.ZodObject<{
|
|
|
8227
8233
|
slug: z.ZodString;
|
|
8228
8234
|
available: z.ZodBoolean;
|
|
8229
8235
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
8230
|
-
INVALID: "INVALID";
|
|
8231
8236
|
RESERVED: "RESERVED";
|
|
8237
|
+
INVALID: "INVALID";
|
|
8232
8238
|
TAKEN: "TAKEN";
|
|
8233
8239
|
CURRENT: "CURRENT";
|
|
8234
8240
|
}>>;
|
|
@@ -8403,8 +8409,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
8403
8409
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
8404
8410
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
8405
8411
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
8406
|
-
ACTIVE: "ACTIVE";
|
|
8407
8412
|
FAILED: "FAILED";
|
|
8413
|
+
ACTIVE: "ACTIVE";
|
|
8408
8414
|
PENDING_DNS: "PENDING_DNS";
|
|
8409
8415
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8410
8416
|
}>;
|
|
@@ -8430,8 +8436,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8430
8436
|
CUSTOM: "CUSTOM";
|
|
8431
8437
|
}>;
|
|
8432
8438
|
status: z.ZodEnum<{
|
|
8433
|
-
ACTIVE: "ACTIVE";
|
|
8434
8439
|
FAILED: "FAILED";
|
|
8440
|
+
ACTIVE: "ACTIVE";
|
|
8435
8441
|
PENDING_DNS: "PENDING_DNS";
|
|
8436
8442
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8437
8443
|
}>;
|
|
@@ -8449,9 +8455,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8449
8455
|
}>;
|
|
8450
8456
|
}, z.core.$strip>>;
|
|
8451
8457
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8452
|
-
ACTIVE: "ACTIVE";
|
|
8453
8458
|
FAILED: "FAILED";
|
|
8454
8459
|
PENDING: "PENDING";
|
|
8460
|
+
ACTIVE: "ACTIVE";
|
|
8455
8461
|
}>>;
|
|
8456
8462
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8457
8463
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8473,8 +8479,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8473
8479
|
CUSTOM: "CUSTOM";
|
|
8474
8480
|
}>;
|
|
8475
8481
|
status: z.ZodEnum<{
|
|
8476
|
-
ACTIVE: "ACTIVE";
|
|
8477
8482
|
FAILED: "FAILED";
|
|
8483
|
+
ACTIVE: "ACTIVE";
|
|
8478
8484
|
PENDING_DNS: "PENDING_DNS";
|
|
8479
8485
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8480
8486
|
}>;
|
|
@@ -8492,9 +8498,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8492
8498
|
}>;
|
|
8493
8499
|
}, z.core.$strip>>;
|
|
8494
8500
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8495
|
-
ACTIVE: "ACTIVE";
|
|
8496
8501
|
FAILED: "FAILED";
|
|
8497
8502
|
PENDING: "PENDING";
|
|
8503
|
+
ACTIVE: "ACTIVE";
|
|
8498
8504
|
}>>;
|
|
8499
8505
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8500
8506
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -9225,8 +9231,8 @@ export type StorefrontSourceReplaced = z.infer<typeof storefrontSourceReplacedSc
|
|
|
9225
9231
|
* - `flow-attachment`: 주문 흐름 행동의 첨부(시안 등, 이슈 #115). 구매자에게 보이므로 정지 이미지와 PDF만 받는다.
|
|
9226
9232
|
*/
|
|
9227
9233
|
export declare const uploadPurposeSchema: z.ZodEnum<{
|
|
9228
|
-
description: "description";
|
|
9229
9234
|
"product-image": "product-image";
|
|
9235
|
+
description: "description";
|
|
9230
9236
|
"flow-attachment": "flow-attachment";
|
|
9231
9237
|
}>;
|
|
9232
9238
|
export type UploadPurpose = z.infer<typeof uploadPurposeSchema>;
|
|
@@ -9265,8 +9271,8 @@ export declare function uploadRejection(purpose: UploadPurpose, filename: string
|
|
|
9265
9271
|
export declare const uploadRequestSchema: z.ZodObject<{
|
|
9266
9272
|
filename: z.ZodString;
|
|
9267
9273
|
purpose: z.ZodDefault<z.ZodEnum<{
|
|
9268
|
-
description: "description";
|
|
9269
9274
|
"product-image": "product-image";
|
|
9275
|
+
description: "description";
|
|
9270
9276
|
"flow-attachment": "flow-attachment";
|
|
9271
9277
|
}>>;
|
|
9272
9278
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9280,9 +9286,9 @@ export type UploadTicket = z.infer<typeof uploadTicketSchema>;
|
|
|
9280
9286
|
//#endregion
|
|
9281
9287
|
//#region src/schemas/auth.d.ts
|
|
9282
9288
|
export declare const storeRoleSchema: z.ZodEnum<{
|
|
9283
|
-
OWNER: "OWNER";
|
|
9284
9289
|
ADMIN: "ADMIN";
|
|
9285
9290
|
STAFF: "STAFF";
|
|
9291
|
+
OWNER: "OWNER";
|
|
9286
9292
|
}>;
|
|
9287
9293
|
export type StoreRole = z.infer<typeof storeRoleSchema>;
|
|
9288
9294
|
export declare const myStoreSchema: z.ZodObject<{
|
|
@@ -9290,14 +9296,14 @@ export declare const myStoreSchema: z.ZodObject<{
|
|
|
9290
9296
|
storeName: z.ZodString;
|
|
9291
9297
|
storeCode: z.ZodString;
|
|
9292
9298
|
role: z.ZodEnum<{
|
|
9293
|
-
OWNER: "OWNER";
|
|
9294
9299
|
ADMIN: "ADMIN";
|
|
9295
9300
|
STAFF: "STAFF";
|
|
9301
|
+
OWNER: "OWNER";
|
|
9296
9302
|
}>;
|
|
9297
9303
|
status: z.ZodEnum<{
|
|
9298
|
-
ACTIVE: "ACTIVE";
|
|
9299
9304
|
SUSPENDED: "SUSPENDED";
|
|
9300
9305
|
CLOSED: "CLOSED";
|
|
9306
|
+
ACTIVE: "ACTIVE";
|
|
9301
9307
|
}>;
|
|
9302
9308
|
}, z.core.$strip>;
|
|
9303
9309
|
export type MyStore = z.infer<typeof myStoreSchema>;
|
|
@@ -9452,8 +9458,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9452
9458
|
storeId: string;
|
|
9453
9459
|
storeName: string;
|
|
9454
9460
|
storeCode: string;
|
|
9455
|
-
role: "
|
|
9456
|
-
status: "
|
|
9461
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
9462
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
9457
9463
|
}[]>;
|
|
9458
9464
|
me: () => Promise<{
|
|
9459
9465
|
userId: string;
|
|
@@ -9493,7 +9499,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9493
9499
|
productId: string;
|
|
9494
9500
|
productNo: number | null;
|
|
9495
9501
|
name: string;
|
|
9496
|
-
status: "
|
|
9502
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9497
9503
|
salePrice: number;
|
|
9498
9504
|
discountedPrice: number | null;
|
|
9499
9505
|
stockQuantity: number;
|
|
@@ -9511,7 +9517,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9511
9517
|
productId: string;
|
|
9512
9518
|
productNo: number | null;
|
|
9513
9519
|
name: string;
|
|
9514
|
-
status: "
|
|
9520
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9515
9521
|
salePrice: number;
|
|
9516
9522
|
discountedPrice: number | null;
|
|
9517
9523
|
stockQuantity: number;
|
|
@@ -9570,11 +9576,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9570
9576
|
type?: string | undefined;
|
|
9571
9577
|
options?: string[] | null | undefined;
|
|
9572
9578
|
}[];
|
|
9573
|
-
optionSort: "
|
|
9579
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9574
9580
|
fulfillment: UnknownFulfillment | {
|
|
9575
9581
|
type: "SHIPPING";
|
|
9576
9582
|
shipping: {
|
|
9577
|
-
deliveryType: "
|
|
9583
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9578
9584
|
deliveryFee: number;
|
|
9579
9585
|
conditionalFreeAmount: number | null;
|
|
9580
9586
|
shippingAddressId: string | null;
|
|
@@ -9619,7 +9625,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9619
9625
|
productId: string;
|
|
9620
9626
|
productNo: number | null;
|
|
9621
9627
|
name: string;
|
|
9622
|
-
status: "
|
|
9628
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9623
9629
|
salePrice: number;
|
|
9624
9630
|
discountedPrice: number | null;
|
|
9625
9631
|
stockQuantity: number;
|
|
@@ -9678,11 +9684,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9678
9684
|
type?: string | undefined;
|
|
9679
9685
|
options?: string[] | null | undefined;
|
|
9680
9686
|
}[];
|
|
9681
|
-
optionSort: "
|
|
9687
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9682
9688
|
fulfillment: UnknownFulfillment | {
|
|
9683
9689
|
type: "SHIPPING";
|
|
9684
9690
|
shipping: {
|
|
9685
|
-
deliveryType: "
|
|
9691
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9686
9692
|
deliveryFee: number;
|
|
9687
9693
|
conditionalFreeAmount: number | null;
|
|
9688
9694
|
shippingAddressId: string | null;
|
|
@@ -9727,7 +9733,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9727
9733
|
productId: string;
|
|
9728
9734
|
productNo: number | null;
|
|
9729
9735
|
name: string;
|
|
9730
|
-
status: "
|
|
9736
|
+
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
9731
9737
|
salePrice: number;
|
|
9732
9738
|
discountedPrice: number | null;
|
|
9733
9739
|
stockQuantity: number;
|
|
@@ -9786,11 +9792,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9786
9792
|
type?: string | undefined;
|
|
9787
9793
|
options?: string[] | null | undefined;
|
|
9788
9794
|
}[];
|
|
9789
|
-
optionSort: "
|
|
9795
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9790
9796
|
fulfillment: UnknownFulfillment | {
|
|
9791
9797
|
type: "SHIPPING";
|
|
9792
9798
|
shipping: {
|
|
9793
|
-
deliveryType: "
|
|
9799
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9794
9800
|
deliveryFee: number;
|
|
9795
9801
|
conditionalFreeAmount: number | null;
|
|
9796
9802
|
shippingAddressId: string | null;
|
|
@@ -9896,7 +9902,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9896
9902
|
type?: string | undefined;
|
|
9897
9903
|
options?: string[] | null | undefined;
|
|
9898
9904
|
}[];
|
|
9899
|
-
optionSort: "
|
|
9905
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9900
9906
|
}>;
|
|
9901
9907
|
/**
|
|
9902
9908
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -9954,7 +9960,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9954
9960
|
type?: string | undefined;
|
|
9955
9961
|
options?: string[] | null | undefined;
|
|
9956
9962
|
}[];
|
|
9957
|
-
optionSort: "
|
|
9963
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9958
9964
|
}>;
|
|
9959
9965
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
9960
9966
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -10003,7 +10009,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10003
10009
|
contents: {
|
|
10004
10010
|
optionSetId: string;
|
|
10005
10011
|
name: string;
|
|
10006
|
-
optionSort: "
|
|
10012
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10007
10013
|
groups: {
|
|
10008
10014
|
name: string;
|
|
10009
10015
|
kind: string;
|
|
@@ -10030,7 +10036,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10030
10036
|
get: (optionSetId: string) => Promise<{
|
|
10031
10037
|
optionSetId: string;
|
|
10032
10038
|
name: string;
|
|
10033
|
-
optionSort: "
|
|
10039
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10034
10040
|
groups: {
|
|
10035
10041
|
name: string;
|
|
10036
10042
|
kind: string;
|
|
@@ -10057,7 +10063,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10057
10063
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
10058
10064
|
optionSetId: string;
|
|
10059
10065
|
name: string;
|
|
10060
|
-
optionSort: "
|
|
10066
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10061
10067
|
groups: {
|
|
10062
10068
|
name: string;
|
|
10063
10069
|
kind: string;
|
|
@@ -10084,7 +10090,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10084
10090
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
10085
10091
|
optionSetId: string;
|
|
10086
10092
|
name: string;
|
|
10087
|
-
optionSort: "
|
|
10093
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10088
10094
|
groups: {
|
|
10089
10095
|
name: string;
|
|
10090
10096
|
kind: string;
|
|
@@ -10113,7 +10119,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10113
10119
|
optionSet: {
|
|
10114
10120
|
optionSetId: string;
|
|
10115
10121
|
name: string;
|
|
10116
|
-
optionSort: "
|
|
10122
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10117
10123
|
groups: {
|
|
10118
10124
|
name: string;
|
|
10119
10125
|
kind: string;
|
|
@@ -10184,7 +10190,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10184
10190
|
sortOrder: number;
|
|
10185
10191
|
metaTitle: string | null;
|
|
10186
10192
|
metaDescription: string | null;
|
|
10187
|
-
state: "ACTIVE" | "
|
|
10193
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10188
10194
|
salesComputedAt: string | null;
|
|
10189
10195
|
productCount: number;
|
|
10190
10196
|
revision: number;
|
|
@@ -10234,7 +10240,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10234
10240
|
sortOrder: number;
|
|
10235
10241
|
metaTitle: string | null;
|
|
10236
10242
|
metaDescription: string | null;
|
|
10237
|
-
state: "ACTIVE" | "
|
|
10243
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10238
10244
|
salesComputedAt: string | null;
|
|
10239
10245
|
productCount: number;
|
|
10240
10246
|
revision: number;
|
|
@@ -10277,7 +10283,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10277
10283
|
sortOrder: number;
|
|
10278
10284
|
metaTitle: string | null;
|
|
10279
10285
|
metaDescription: string | null;
|
|
10280
|
-
state: "ACTIVE" | "
|
|
10286
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10281
10287
|
salesComputedAt: string | null;
|
|
10282
10288
|
productCount: number;
|
|
10283
10289
|
revision: number;
|
|
@@ -10319,7 +10325,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10319
10325
|
sortOrder: number;
|
|
10320
10326
|
metaTitle: string | null;
|
|
10321
10327
|
metaDescription: string | null;
|
|
10322
|
-
state: "ACTIVE" | "
|
|
10328
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10323
10329
|
salesComputedAt: string | null;
|
|
10324
10330
|
productCount: number;
|
|
10325
10331
|
revision: number;
|
|
@@ -10382,7 +10388,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10382
10388
|
sortOrder: number;
|
|
10383
10389
|
metaTitle: string | null;
|
|
10384
10390
|
metaDescription: string | null;
|
|
10385
|
-
state: "ACTIVE" | "
|
|
10391
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10386
10392
|
salesComputedAt: string | null;
|
|
10387
10393
|
productCount: number;
|
|
10388
10394
|
revision: number;
|
|
@@ -10425,7 +10431,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10425
10431
|
sortOrder: number;
|
|
10426
10432
|
metaTitle: string | null;
|
|
10427
10433
|
metaDescription: string | null;
|
|
10428
|
-
state: "ACTIVE" | "
|
|
10434
|
+
state: "ACTIVE" | "ENDED" | "SCHEDULED" | "HIDDEN";
|
|
10429
10435
|
salesComputedAt: string | null;
|
|
10430
10436
|
productCount: number;
|
|
10431
10437
|
revision: number;
|
|
@@ -10464,7 +10470,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10464
10470
|
visible: boolean;
|
|
10465
10471
|
showPc: boolean;
|
|
10466
10472
|
showMobile: boolean;
|
|
10467
|
-
productSort: "
|
|
10473
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10468
10474
|
metaTitle: string | null;
|
|
10469
10475
|
metaDescription: string | null;
|
|
10470
10476
|
metaKeywords: string | null;
|
|
@@ -10485,7 +10491,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10485
10491
|
visible: boolean;
|
|
10486
10492
|
showPc: boolean;
|
|
10487
10493
|
showMobile: boolean;
|
|
10488
|
-
productSort: "
|
|
10494
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10489
10495
|
metaTitle: string | null;
|
|
10490
10496
|
metaDescription: string | null;
|
|
10491
10497
|
metaKeywords: string | null;
|
|
@@ -10504,7 +10510,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10504
10510
|
visible: boolean;
|
|
10505
10511
|
showPc: boolean;
|
|
10506
10512
|
showMobile: boolean;
|
|
10507
|
-
productSort: "
|
|
10513
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10508
10514
|
metaTitle: string | null;
|
|
10509
10515
|
metaDescription: string | null;
|
|
10510
10516
|
metaKeywords: string | null;
|
|
@@ -10526,7 +10532,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10526
10532
|
visible: boolean;
|
|
10527
10533
|
showPc: boolean;
|
|
10528
10534
|
showMobile: boolean;
|
|
10529
|
-
productSort: "
|
|
10535
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10530
10536
|
metaTitle: string | null;
|
|
10531
10537
|
metaDescription: string | null;
|
|
10532
10538
|
metaKeywords: string | null;
|
|
@@ -10545,7 +10551,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10545
10551
|
visible: boolean;
|
|
10546
10552
|
showPc: boolean;
|
|
10547
10553
|
showMobile: boolean;
|
|
10548
|
-
productSort: "
|
|
10554
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10549
10555
|
metaTitle: string | null;
|
|
10550
10556
|
metaDescription: string | null;
|
|
10551
10557
|
metaKeywords: string | null;
|
|
@@ -10576,7 +10582,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10576
10582
|
visible: boolean;
|
|
10577
10583
|
showPc: boolean;
|
|
10578
10584
|
showMobile: boolean;
|
|
10579
|
-
productSort: "
|
|
10585
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10580
10586
|
metaTitle: string | null;
|
|
10581
10587
|
metaDescription: string | null;
|
|
10582
10588
|
metaKeywords: string | null;
|
|
@@ -10596,7 +10602,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10596
10602
|
visible: boolean;
|
|
10597
10603
|
showPc: boolean;
|
|
10598
10604
|
showMobile: boolean;
|
|
10599
|
-
productSort: "
|
|
10605
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10600
10606
|
metaTitle: string | null;
|
|
10601
10607
|
metaDescription: string | null;
|
|
10602
10608
|
metaKeywords: string | null;
|
|
@@ -10624,10 +10630,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10624
10630
|
ordererName: string;
|
|
10625
10631
|
itemCount: number;
|
|
10626
10632
|
totalAmount: number;
|
|
10627
|
-
representativeStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10633
|
+
representativeStatus: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10628
10634
|
orderedAt: string;
|
|
10629
10635
|
testPayment: boolean;
|
|
10630
|
-
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
10636
|
+
progressStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
10631
10637
|
}[];
|
|
10632
10638
|
}>;
|
|
10633
10639
|
get: (orderId: string) => Promise<{
|
|
@@ -10693,7 +10699,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10693
10699
|
orderItemId: string;
|
|
10694
10700
|
orderItemNo: string | null;
|
|
10695
10701
|
orderId: string;
|
|
10696
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10702
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10697
10703
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10698
10704
|
productId: string;
|
|
10699
10705
|
productName: string;
|
|
@@ -10770,7 +10776,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10770
10776
|
}[];
|
|
10771
10777
|
} | undefined;
|
|
10772
10778
|
}[];
|
|
10773
|
-
progressStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
10779
|
+
progressStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
10774
10780
|
}>;
|
|
10775
10781
|
/**
|
|
10776
10782
|
* `POST /v1/orders/{orderId}/cash-receipt/reissue` — 실패했거나 재시도 대기 중인 현금영수증을 지금 다시 발급·취소한다.
|
|
@@ -10804,7 +10810,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10804
10810
|
key: string;
|
|
10805
10811
|
results: {
|
|
10806
10812
|
orderItemId: string;
|
|
10807
|
-
status: "
|
|
10813
|
+
status: "FAILED" | "COMPLETED" | "SKIPPED";
|
|
10808
10814
|
reason?: string | undefined;
|
|
10809
10815
|
message?: string | undefined;
|
|
10810
10816
|
}[];
|
|
@@ -10821,7 +10827,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10821
10827
|
orderItemId: string;
|
|
10822
10828
|
orderItemNo: string | null;
|
|
10823
10829
|
orderId: string;
|
|
10824
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10830
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10825
10831
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10826
10832
|
productId: string;
|
|
10827
10833
|
productName: string;
|
|
@@ -10963,7 +10969,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10963
10969
|
orderItemId: string;
|
|
10964
10970
|
orderItemNo: string | null;
|
|
10965
10971
|
orderId: string;
|
|
10966
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
10972
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
10967
10973
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
10968
10974
|
productId: string;
|
|
10969
10975
|
productName: string;
|
|
@@ -11059,7 +11065,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11059
11065
|
orderItemId: string;
|
|
11060
11066
|
orderItemNo: string | null;
|
|
11061
11067
|
orderId: string;
|
|
11062
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
11068
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
11063
11069
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
11064
11070
|
productId: string;
|
|
11065
11071
|
productName: string;
|
|
@@ -11182,8 +11188,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11182
11188
|
label: string;
|
|
11183
11189
|
enteredAt: string;
|
|
11184
11190
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11185
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11186
|
-
claimStatus?: "
|
|
11191
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11192
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11187
11193
|
message?: string | undefined;
|
|
11188
11194
|
deadlineAt?: string | undefined;
|
|
11189
11195
|
attachments?: string[] | undefined;
|
|
@@ -11238,15 +11244,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11238
11244
|
moveTargets?: {
|
|
11239
11245
|
key: string;
|
|
11240
11246
|
label: string;
|
|
11241
|
-
coreStatus: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11247
|
+
coreStatus: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | null;
|
|
11242
11248
|
}[] | undefined;
|
|
11243
11249
|
branches?: {
|
|
11244
11250
|
key: string;
|
|
11245
11251
|
label: string;
|
|
11246
11252
|
enteredAt: string;
|
|
11247
11253
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11248
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11249
|
-
claimStatus?: "
|
|
11254
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11255
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11250
11256
|
message?: string | undefined;
|
|
11251
11257
|
deadlineAt?: string | undefined;
|
|
11252
11258
|
attachments?: string[] | undefined;
|
|
@@ -11274,8 +11280,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11274
11280
|
label: string;
|
|
11275
11281
|
enteredAt: string;
|
|
11276
11282
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11277
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11278
|
-
claimStatus?: "
|
|
11283
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11284
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11279
11285
|
message?: string | undefined;
|
|
11280
11286
|
deadlineAt?: string | undefined;
|
|
11281
11287
|
attachments?: string[] | undefined;
|
|
@@ -11334,8 +11340,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11334
11340
|
label: string;
|
|
11335
11341
|
enteredAt: string;
|
|
11336
11342
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11337
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11338
|
-
claimStatus?: "
|
|
11343
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11344
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11339
11345
|
message?: string | undefined;
|
|
11340
11346
|
deadlineAt?: string | undefined;
|
|
11341
11347
|
attachments?: string[] | undefined;
|
|
@@ -11394,8 +11400,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11394
11400
|
label: string;
|
|
11395
11401
|
enteredAt: string;
|
|
11396
11402
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11397
|
-
coreStatus?: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" |
|
|
11398
|
-
claimStatus?: "
|
|
11403
|
+
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11404
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11399
11405
|
message?: string | undefined;
|
|
11400
11406
|
deadlineAt?: string | undefined;
|
|
11401
11407
|
attachments?: string[] | undefined;
|
|
@@ -11816,8 +11822,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11816
11822
|
contents: {
|
|
11817
11823
|
claimId: string;
|
|
11818
11824
|
claimNo: string | null;
|
|
11819
|
-
type: "
|
|
11820
|
-
status: "
|
|
11825
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11826
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11821
11827
|
orderId: string;
|
|
11822
11828
|
orderItemId: string;
|
|
11823
11829
|
productName: string;
|
|
@@ -11856,8 +11862,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11856
11862
|
get: (claimId: string) => Promise<{
|
|
11857
11863
|
claimId: string;
|
|
11858
11864
|
claimNo: string | null;
|
|
11859
|
-
type: "
|
|
11860
|
-
status: "
|
|
11865
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11866
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11861
11867
|
orderId: string;
|
|
11862
11868
|
orderItemId: string;
|
|
11863
11869
|
productName: string;
|
|
@@ -11892,8 +11898,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11892
11898
|
address2: string | null;
|
|
11893
11899
|
} | null;
|
|
11894
11900
|
histories?: {
|
|
11895
|
-
status: "
|
|
11896
|
-
actor: "
|
|
11901
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11902
|
+
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
11897
11903
|
occurredAt: string;
|
|
11898
11904
|
}[] | undefined;
|
|
11899
11905
|
}>;
|
|
@@ -11925,8 +11931,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11925
11931
|
completeExchange: (claimId: string) => Promise<{
|
|
11926
11932
|
claimId: string;
|
|
11927
11933
|
claimNo: string | null;
|
|
11928
|
-
type: "
|
|
11929
|
-
status: "
|
|
11934
|
+
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11935
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11930
11936
|
orderId: string;
|
|
11931
11937
|
orderItemId: string;
|
|
11932
11938
|
productName: string;
|
|
@@ -11977,7 +11983,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11977
11983
|
productId: string;
|
|
11978
11984
|
productName: string;
|
|
11979
11985
|
orderItemId: string | null;
|
|
11980
|
-
category: "
|
|
11986
|
+
category: "ETC" | "PRODUCT" | "DELIVERY" | "RETURN" | "EXCHANGE";
|
|
11981
11987
|
content: string;
|
|
11982
11988
|
secret: boolean;
|
|
11983
11989
|
writerMaskedName: string;
|
|
@@ -11995,7 +12001,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11995
12001
|
productId: string;
|
|
11996
12002
|
productName: string;
|
|
11997
12003
|
orderItemId: string | null;
|
|
11998
|
-
category: "
|
|
12004
|
+
category: "ETC" | "PRODUCT" | "DELIVERY" | "RETURN" | "EXCHANGE";
|
|
11999
12005
|
content: string;
|
|
12000
12006
|
secret: boolean;
|
|
12001
12007
|
writerMaskedName: string;
|
|
@@ -12276,7 +12282,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12276
12282
|
productName: string;
|
|
12277
12283
|
optionName: string | null;
|
|
12278
12284
|
quantity: number;
|
|
12279
|
-
status: "PAID" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED"
|
|
12285
|
+
status: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED";
|
|
12280
12286
|
claimStatus: "CANCEL_REQUESTED" | "RETURN_REQUESTED" | "EXCHANGE_REQUESTED" | null;
|
|
12281
12287
|
}[];
|
|
12282
12288
|
}[];
|
|
@@ -12295,7 +12301,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12295
12301
|
version: string | null;
|
|
12296
12302
|
documentUrl: string | null;
|
|
12297
12303
|
action: "WITHDRAWN" | "AGREED";
|
|
12298
|
-
source: "
|
|
12304
|
+
source: "SIGNUP" | "SELLER" | "SOCIAL_SIGNUP" | "DELEGATED" | "RECONSENT" | "MEMBER_UPDATE";
|
|
12299
12305
|
occurredAt: string;
|
|
12300
12306
|
}[];
|
|
12301
12307
|
}>;
|
|
@@ -12704,7 +12710,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12704
12710
|
contents: {
|
|
12705
12711
|
inquiryId: string;
|
|
12706
12712
|
memberMaskedName: string;
|
|
12707
|
-
category: "
|
|
12713
|
+
category: "ETC" | "DELIVERY" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
12708
12714
|
title: string;
|
|
12709
12715
|
content: string;
|
|
12710
12716
|
orderItemId: string | null;
|
|
@@ -12720,7 +12726,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12720
12726
|
get: (inquiryId: string) => Promise<{
|
|
12721
12727
|
inquiryId: string;
|
|
12722
12728
|
memberMaskedName: string;
|
|
12723
|
-
category: "
|
|
12729
|
+
category: "ETC" | "DELIVERY" | "RETURN" | "EXCHANGE" | "PAYMENT";
|
|
12724
12730
|
title: string;
|
|
12725
12731
|
content: string;
|
|
12726
12732
|
orderItemId: string | null;
|
|
@@ -12750,7 +12756,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12750
12756
|
settlementId: string;
|
|
12751
12757
|
settlementDate: string;
|
|
12752
12758
|
payoutDate: string | null;
|
|
12753
|
-
status: "
|
|
12759
|
+
status: "PAID" | "SCHEDULED" | "HELD";
|
|
12754
12760
|
totalPaymentAmount: number;
|
|
12755
12761
|
totalCommission: number;
|
|
12756
12762
|
totalDeliveryFee: number;
|
|
@@ -12764,7 +12770,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12764
12770
|
settlementId: string;
|
|
12765
12771
|
settlementDate: string;
|
|
12766
12772
|
payoutDate: string | null;
|
|
12767
|
-
status: "
|
|
12773
|
+
status: "PAID" | "SCHEDULED" | "HELD";
|
|
12768
12774
|
totalPaymentAmount: number;
|
|
12769
12775
|
totalCommission: number;
|
|
12770
12776
|
totalDeliveryFee: number;
|
|
@@ -12906,11 +12912,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12906
12912
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
12907
12913
|
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
12908
12914
|
rows: {
|
|
12909
|
-
channel: "UNKNOWN" | "
|
|
12915
|
+
channel: "UNKNOWN" | "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | null;
|
|
12910
12916
|
source: string | null;
|
|
12911
12917
|
medium: string | null;
|
|
12912
12918
|
campaign: string | null;
|
|
12913
|
-
device: "unknown" | "
|
|
12919
|
+
device: "unknown" | "desktop" | "mobile" | "tablet" | null;
|
|
12914
12920
|
sessions: number;
|
|
12915
12921
|
visitors: number;
|
|
12916
12922
|
engagedSessions: number;
|
|
@@ -12942,7 +12948,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12942
12948
|
/** `GET /v1/analytics/devices` — 기기별 세션 퍼널 */
|
|
12943
12949
|
devices: (params: AnalyticsRangeParams) => Promise<{
|
|
12944
12950
|
rows: {
|
|
12945
|
-
device: "unknown" | "
|
|
12951
|
+
device: "unknown" | "desktop" | "mobile" | "tablet";
|
|
12946
12952
|
sessions: number;
|
|
12947
12953
|
productViewSessions: number;
|
|
12948
12954
|
addToCartSessions: number;
|
|
@@ -13011,7 +13017,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13011
13017
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
13012
13018
|
sessions: number;
|
|
13013
13019
|
outcomes: {
|
|
13014
|
-
outcome: "COMPLETED" | "
|
|
13020
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
13015
13021
|
sessions: number;
|
|
13016
13022
|
}[];
|
|
13017
13023
|
from: string;
|
|
@@ -13041,7 +13047,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13041
13047
|
orderId: string | null;
|
|
13042
13048
|
orderName: string;
|
|
13043
13049
|
customerName: string;
|
|
13044
|
-
status: "
|
|
13050
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13045
13051
|
amount: number;
|
|
13046
13052
|
refundedAmount: number;
|
|
13047
13053
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -13066,7 +13072,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13066
13072
|
orderId: string | null;
|
|
13067
13073
|
orderName: string;
|
|
13068
13074
|
customerName: string;
|
|
13069
|
-
status: "
|
|
13075
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13070
13076
|
amount: number;
|
|
13071
13077
|
refundedAmount: number;
|
|
13072
13078
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -13882,8 +13888,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13882
13888
|
list: () => Promise<{
|
|
13883
13889
|
webhookId: string;
|
|
13884
13890
|
url: string;
|
|
13885
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13886
|
-
status: "
|
|
13891
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13892
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13887
13893
|
secretPrefix: string;
|
|
13888
13894
|
suspendedAt: string | null;
|
|
13889
13895
|
createdAt: string;
|
|
@@ -13892,8 +13898,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13892
13898
|
create: (body: WebhookRequest) => Promise<{
|
|
13893
13899
|
webhookId: string;
|
|
13894
13900
|
url: string;
|
|
13895
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13896
|
-
status: "
|
|
13901
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13902
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13897
13903
|
secretPrefix: string;
|
|
13898
13904
|
suspendedAt: string | null;
|
|
13899
13905
|
createdAt: string;
|
|
@@ -13902,8 +13908,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13902
13908
|
get: (webhookId: string) => Promise<{
|
|
13903
13909
|
webhookId: string;
|
|
13904
13910
|
url: string;
|
|
13905
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13906
|
-
status: "
|
|
13911
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13912
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13907
13913
|
secretPrefix: string;
|
|
13908
13914
|
suspendedAt: string | null;
|
|
13909
13915
|
createdAt: string;
|
|
@@ -13912,8 +13918,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13912
13918
|
update: (webhookId: string, body: WebhookRequest) => Promise<{
|
|
13913
13919
|
webhookId: string;
|
|
13914
13920
|
url: string;
|
|
13915
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13916
|
-
status: "
|
|
13921
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13922
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13917
13923
|
secretPrefix: string;
|
|
13918
13924
|
suspendedAt: string | null;
|
|
13919
13925
|
createdAt: string;
|
|
@@ -13927,8 +13933,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13927
13933
|
resume: (webhookId: string) => Promise<{
|
|
13928
13934
|
webhookId: string;
|
|
13929
13935
|
url: string;
|
|
13930
|
-
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13931
|
-
status: "
|
|
13936
|
+
eventTypes: ("ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED")[];
|
|
13937
|
+
status: "SUSPENDED" | "ACTIVE";
|
|
13932
13938
|
secretPrefix: string;
|
|
13933
13939
|
suspendedAt: string | null;
|
|
13934
13940
|
createdAt: string;
|
|
@@ -13937,7 +13943,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13937
13943
|
listDeliveries: (webhookId: string, params?: WebhookDeliveryListParams) => Promise<{
|
|
13938
13944
|
deliveryId: string;
|
|
13939
13945
|
eventId: string;
|
|
13940
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13946
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
13941
13947
|
url: string;
|
|
13942
13948
|
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13943
13949
|
responseStatusCode: number | null;
|
|
@@ -13964,7 +13970,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13964
13970
|
getDelivery: (webhookId: string, deliveryId: string) => Promise<{
|
|
13965
13971
|
deliveryId: string;
|
|
13966
13972
|
eventId: string;
|
|
13967
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
13973
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
13968
13974
|
url: string;
|
|
13969
13975
|
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13970
13976
|
responseStatusCode: number | null;
|
|
@@ -13999,7 +14005,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13999
14005
|
redeliver: (webhookId: string, deliveryId: string) => Promise<{
|
|
14000
14006
|
deliveryId: string;
|
|
14001
14007
|
eventId: string;
|
|
14002
|
-
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.
|
|
14008
|
+
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED";
|
|
14003
14009
|
url: string;
|
|
14004
14010
|
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
14005
14011
|
responseStatusCode: number | null;
|
|
@@ -14084,7 +14090,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14084
14090
|
source: "REQUEST" | "DOMAIN";
|
|
14085
14091
|
action: string;
|
|
14086
14092
|
actor: {
|
|
14087
|
-
type: "
|
|
14093
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14088
14094
|
id: string;
|
|
14089
14095
|
name: string | null;
|
|
14090
14096
|
};
|
|
@@ -14115,7 +14121,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14115
14121
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
14116
14122
|
items: {
|
|
14117
14123
|
approvalId: string;
|
|
14118
|
-
status: "
|
|
14124
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14119
14125
|
operationId: string;
|
|
14120
14126
|
method: string;
|
|
14121
14127
|
path: string;
|
|
@@ -14123,7 +14129,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14123
14129
|
idempotencyKey: string | null;
|
|
14124
14130
|
reason: string;
|
|
14125
14131
|
actor: {
|
|
14126
|
-
type: "
|
|
14132
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14127
14133
|
id: string;
|
|
14128
14134
|
name: string | null;
|
|
14129
14135
|
};
|
|
@@ -14141,6 +14147,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14141
14147
|
after: unknown;
|
|
14142
14148
|
}[];
|
|
14143
14149
|
facts: Record<string, string | number | boolean | null>;
|
|
14150
|
+
targetName?: string | null | undefined;
|
|
14144
14151
|
} | null;
|
|
14145
14152
|
createdAt: string;
|
|
14146
14153
|
expiresAt: string;
|
|
@@ -14160,12 +14167,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14160
14167
|
} | null;
|
|
14161
14168
|
} | null;
|
|
14162
14169
|
approvalUrl: string | null;
|
|
14170
|
+
operationName?: string | null | undefined;
|
|
14163
14171
|
}[];
|
|
14164
14172
|
nextCursor: string | null;
|
|
14165
14173
|
}>;
|
|
14166
14174
|
get: (approvalId: string) => Promise<{
|
|
14167
14175
|
approvalId: string;
|
|
14168
|
-
status: "
|
|
14176
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14169
14177
|
operationId: string;
|
|
14170
14178
|
method: string;
|
|
14171
14179
|
path: string;
|
|
@@ -14173,7 +14181,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14173
14181
|
idempotencyKey: string | null;
|
|
14174
14182
|
reason: string;
|
|
14175
14183
|
actor: {
|
|
14176
|
-
type: "
|
|
14184
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14177
14185
|
id: string;
|
|
14178
14186
|
name: string | null;
|
|
14179
14187
|
};
|
|
@@ -14191,6 +14199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14191
14199
|
after: unknown;
|
|
14192
14200
|
}[];
|
|
14193
14201
|
facts: Record<string, string | number | boolean | null>;
|
|
14202
|
+
targetName?: string | null | undefined;
|
|
14194
14203
|
} | null;
|
|
14195
14204
|
createdAt: string;
|
|
14196
14205
|
expiresAt: string;
|
|
@@ -14210,6 +14219,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14210
14219
|
} | null;
|
|
14211
14220
|
} | null;
|
|
14212
14221
|
approvalUrl: string | null;
|
|
14222
|
+
operationName?: string | null | undefined;
|
|
14213
14223
|
}>;
|
|
14214
14224
|
/**
|
|
14215
14225
|
* 승인하면 서버가 원 요청을 그대로 한 번 실행한다. 응답은 실행을 기다리지 않은 `EXECUTING` 상태이고,
|
|
@@ -14217,7 +14227,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14217
14227
|
*/
|
|
14218
14228
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14219
14229
|
approvalId: string;
|
|
14220
|
-
status: "
|
|
14230
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14221
14231
|
operationId: string;
|
|
14222
14232
|
method: string;
|
|
14223
14233
|
path: string;
|
|
@@ -14225,7 +14235,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14225
14235
|
idempotencyKey: string | null;
|
|
14226
14236
|
reason: string;
|
|
14227
14237
|
actor: {
|
|
14228
|
-
type: "
|
|
14238
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14229
14239
|
id: string;
|
|
14230
14240
|
name: string | null;
|
|
14231
14241
|
};
|
|
@@ -14243,6 +14253,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14243
14253
|
after: unknown;
|
|
14244
14254
|
}[];
|
|
14245
14255
|
facts: Record<string, string | number | boolean | null>;
|
|
14256
|
+
targetName?: string | null | undefined;
|
|
14246
14257
|
} | null;
|
|
14247
14258
|
createdAt: string;
|
|
14248
14259
|
expiresAt: string;
|
|
@@ -14262,10 +14273,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14262
14273
|
} | null;
|
|
14263
14274
|
} | null;
|
|
14264
14275
|
approvalUrl: string | null;
|
|
14276
|
+
operationName?: string | null | undefined;
|
|
14265
14277
|
}>;
|
|
14266
14278
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14267
14279
|
approvalId: string;
|
|
14268
|
-
status: "
|
|
14280
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14269
14281
|
operationId: string;
|
|
14270
14282
|
method: string;
|
|
14271
14283
|
path: string;
|
|
@@ -14273,7 +14285,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14273
14285
|
idempotencyKey: string | null;
|
|
14274
14286
|
reason: string;
|
|
14275
14287
|
actor: {
|
|
14276
|
-
type: "
|
|
14288
|
+
type: "USER" | "AGENT" | "APP" | "TOKEN" | "SYSTEM";
|
|
14277
14289
|
id: string;
|
|
14278
14290
|
name: string | null;
|
|
14279
14291
|
};
|
|
@@ -14291,6 +14303,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14291
14303
|
after: unknown;
|
|
14292
14304
|
}[];
|
|
14293
14305
|
facts: Record<string, string | number | boolean | null>;
|
|
14306
|
+
targetName?: string | null | undefined;
|
|
14294
14307
|
} | null;
|
|
14295
14308
|
createdAt: string;
|
|
14296
14309
|
expiresAt: string;
|
|
@@ -14310,6 +14323,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14310
14323
|
} | null;
|
|
14311
14324
|
} | null;
|
|
14312
14325
|
approvalUrl: string | null;
|
|
14326
|
+
operationName?: string | null | undefined;
|
|
14313
14327
|
}>;
|
|
14314
14328
|
};
|
|
14315
14329
|
reviews: {
|
|
@@ -14362,7 +14376,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14362
14376
|
sellerAddresses: {
|
|
14363
14377
|
list: (type?: AddressType) => Promise<{
|
|
14364
14378
|
addressId: string;
|
|
14365
|
-
type: "
|
|
14379
|
+
type: "SHIPPING" | "RETURN";
|
|
14366
14380
|
name: string;
|
|
14367
14381
|
isDefault: boolean;
|
|
14368
14382
|
contactName: string;
|
|
@@ -14443,13 +14457,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14443
14457
|
domains: {
|
|
14444
14458
|
hostname: string;
|
|
14445
14459
|
kind: "PLATFORM" | "CUSTOM";
|
|
14446
|
-
status: "
|
|
14460
|
+
status: "ACTIVE" | "HELD";
|
|
14447
14461
|
isPrimary: boolean;
|
|
14448
14462
|
holdUntil: string | null;
|
|
14449
14463
|
}[];
|
|
14450
14464
|
templateId: string;
|
|
14451
|
-
sourceMode: "
|
|
14452
|
-
status: "
|
|
14465
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14466
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14453
14467
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14454
14468
|
publishedVersion: {
|
|
14455
14469
|
versionId: string;
|
|
@@ -14487,7 +14501,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14487
14501
|
checkSlug: (slug: string) => Promise<{
|
|
14488
14502
|
slug: string;
|
|
14489
14503
|
available: boolean;
|
|
14490
|
-
reason: "
|
|
14504
|
+
reason: "RESERVED" | "INVALID" | "TAKEN" | "CURRENT" | null;
|
|
14491
14505
|
}>;
|
|
14492
14506
|
/**
|
|
14493
14507
|
* `POST /v1/storefront/site` (201) — 템플릿으로 사이트를 만들고 v1을 발행한다. 공개 상태는 오픈 준비 중이다.
|
|
@@ -14501,13 +14515,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14501
14515
|
domains: {
|
|
14502
14516
|
hostname: string;
|
|
14503
14517
|
kind: "PLATFORM" | "CUSTOM";
|
|
14504
|
-
status: "
|
|
14518
|
+
status: "ACTIVE" | "HELD";
|
|
14505
14519
|
isPrimary: boolean;
|
|
14506
14520
|
holdUntil: string | null;
|
|
14507
14521
|
}[];
|
|
14508
14522
|
templateId: string;
|
|
14509
|
-
sourceMode: "
|
|
14510
|
-
status: "
|
|
14523
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14524
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14511
14525
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14512
14526
|
publishedVersion: {
|
|
14513
14527
|
versionId: string;
|
|
@@ -14597,13 +14611,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14597
14611
|
domains: {
|
|
14598
14612
|
hostname: string;
|
|
14599
14613
|
kind: "PLATFORM" | "CUSTOM";
|
|
14600
|
-
status: "
|
|
14614
|
+
status: "ACTIVE" | "HELD";
|
|
14601
14615
|
isPrimary: boolean;
|
|
14602
14616
|
holdUntil: string | null;
|
|
14603
14617
|
}[];
|
|
14604
14618
|
templateId: string;
|
|
14605
|
-
sourceMode: "
|
|
14606
|
-
status: "
|
|
14619
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14620
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14607
14621
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14608
14622
|
publishedVersion: {
|
|
14609
14623
|
versionId: string;
|
|
@@ -14661,13 +14675,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14661
14675
|
domains: {
|
|
14662
14676
|
hostname: string;
|
|
14663
14677
|
kind: "PLATFORM" | "CUSTOM";
|
|
14664
|
-
status: "
|
|
14678
|
+
status: "ACTIVE" | "HELD";
|
|
14665
14679
|
isPrimary: boolean;
|
|
14666
14680
|
holdUntil: string | null;
|
|
14667
14681
|
}[];
|
|
14668
14682
|
templateId: string;
|
|
14669
|
-
sourceMode: "
|
|
14670
|
-
status: "
|
|
14683
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14684
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14671
14685
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14672
14686
|
publishedVersion: {
|
|
14673
14687
|
versionId: string;
|
|
@@ -14709,13 +14723,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14709
14723
|
domains: {
|
|
14710
14724
|
hostname: string;
|
|
14711
14725
|
kind: "PLATFORM" | "CUSTOM";
|
|
14712
|
-
status: "
|
|
14726
|
+
status: "ACTIVE" | "HELD";
|
|
14713
14727
|
isPrimary: boolean;
|
|
14714
14728
|
holdUntil: string | null;
|
|
14715
14729
|
}[];
|
|
14716
14730
|
templateId: string;
|
|
14717
|
-
sourceMode: "
|
|
14718
|
-
status: "
|
|
14731
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14732
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14719
14733
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14720
14734
|
publishedVersion: {
|
|
14721
14735
|
versionId: string;
|
|
@@ -14757,13 +14771,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14757
14771
|
domains: {
|
|
14758
14772
|
hostname: string;
|
|
14759
14773
|
kind: "PLATFORM" | "CUSTOM";
|
|
14760
|
-
status: "
|
|
14774
|
+
status: "ACTIVE" | "HELD";
|
|
14761
14775
|
isPrimary: boolean;
|
|
14762
14776
|
holdUntil: string | null;
|
|
14763
14777
|
}[];
|
|
14764
14778
|
templateId: string;
|
|
14765
|
-
sourceMode: "
|
|
14766
|
-
status: "
|
|
14779
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14780
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14767
14781
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14768
14782
|
publishedVersion: {
|
|
14769
14783
|
versionId: string;
|
|
@@ -14805,13 +14819,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14805
14819
|
domains: {
|
|
14806
14820
|
hostname: string;
|
|
14807
14821
|
kind: "PLATFORM" | "CUSTOM";
|
|
14808
|
-
status: "
|
|
14822
|
+
status: "ACTIVE" | "HELD";
|
|
14809
14823
|
isPrimary: boolean;
|
|
14810
14824
|
holdUntil: string | null;
|
|
14811
14825
|
}[];
|
|
14812
14826
|
templateId: string;
|
|
14813
|
-
sourceMode: "
|
|
14814
|
-
status: "
|
|
14827
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14828
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14815
14829
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14816
14830
|
publishedVersion: {
|
|
14817
14831
|
versionId: string;
|
|
@@ -14861,7 +14875,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14861
14875
|
domainId: string;
|
|
14862
14876
|
hostname: string;
|
|
14863
14877
|
kind: "PLATFORM" | "CUSTOM";
|
|
14864
|
-
status: "
|
|
14878
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14865
14879
|
isPrimary: boolean;
|
|
14866
14880
|
dnsRecords: {
|
|
14867
14881
|
type: "CNAME" | "TXT";
|
|
@@ -14869,7 +14883,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14869
14883
|
value: string;
|
|
14870
14884
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14871
14885
|
}[];
|
|
14872
|
-
certificateStatus: "
|
|
14886
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14873
14887
|
failureCode: string | null;
|
|
14874
14888
|
verifiedAt: string | null;
|
|
14875
14889
|
activatedAt: string | null;
|
|
@@ -14885,7 +14899,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14885
14899
|
domainId: string;
|
|
14886
14900
|
hostname: string;
|
|
14887
14901
|
kind: "PLATFORM" | "CUSTOM";
|
|
14888
|
-
status: "
|
|
14902
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14889
14903
|
isPrimary: boolean;
|
|
14890
14904
|
dnsRecords: {
|
|
14891
14905
|
type: "CNAME" | "TXT";
|
|
@@ -14893,7 +14907,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14893
14907
|
value: string;
|
|
14894
14908
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14895
14909
|
}[];
|
|
14896
|
-
certificateStatus: "
|
|
14910
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14897
14911
|
failureCode: string | null;
|
|
14898
14912
|
verifiedAt: string | null;
|
|
14899
14913
|
activatedAt: string | null;
|
|
@@ -14905,7 +14919,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14905
14919
|
domainId: string;
|
|
14906
14920
|
hostname: string;
|
|
14907
14921
|
kind: "PLATFORM" | "CUSTOM";
|
|
14908
|
-
status: "
|
|
14922
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14909
14923
|
isPrimary: boolean;
|
|
14910
14924
|
dnsRecords: {
|
|
14911
14925
|
type: "CNAME" | "TXT";
|
|
@@ -14913,7 +14927,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14913
14927
|
value: string;
|
|
14914
14928
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14915
14929
|
}[];
|
|
14916
|
-
certificateStatus: "
|
|
14930
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14917
14931
|
failureCode: string | null;
|
|
14918
14932
|
verifiedAt: string | null;
|
|
14919
14933
|
activatedAt: string | null;
|
|
@@ -14929,7 +14943,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14929
14943
|
domainId: string;
|
|
14930
14944
|
hostname: string;
|
|
14931
14945
|
kind: "PLATFORM" | "CUSTOM";
|
|
14932
|
-
status: "
|
|
14946
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14933
14947
|
isPrimary: boolean;
|
|
14934
14948
|
dnsRecords: {
|
|
14935
14949
|
type: "CNAME" | "TXT";
|
|
@@ -14937,7 +14951,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14937
14951
|
value: string;
|
|
14938
14952
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14939
14953
|
}[];
|
|
14940
|
-
certificateStatus: "
|
|
14954
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14941
14955
|
failureCode: string | null;
|
|
14942
14956
|
verifiedAt: string | null;
|
|
14943
14957
|
activatedAt: string | null;
|
|
@@ -14956,13 +14970,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14956
14970
|
domains: {
|
|
14957
14971
|
hostname: string;
|
|
14958
14972
|
kind: "PLATFORM" | "CUSTOM";
|
|
14959
|
-
status: "
|
|
14973
|
+
status: "ACTIVE" | "HELD";
|
|
14960
14974
|
isPrimary: boolean;
|
|
14961
14975
|
holdUntil: string | null;
|
|
14962
14976
|
}[];
|
|
14963
14977
|
templateId: string;
|
|
14964
|
-
sourceMode: "
|
|
14965
|
-
status: "
|
|
14978
|
+
sourceMode: "CUSTOM" | "MANAGED";
|
|
14979
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
14966
14980
|
visibility: "COMING_SOON" | "PUBLIC";
|
|
14967
14981
|
publishedVersion: {
|
|
14968
14982
|
versionId: string;
|
|
@@ -15665,7 +15679,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15665
15679
|
name: string;
|
|
15666
15680
|
storeCode: string;
|
|
15667
15681
|
storefrontUrl: string;
|
|
15668
|
-
status: "
|
|
15682
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
15669
15683
|
logoUrl: string | null;
|
|
15670
15684
|
businessNumber: string | null;
|
|
15671
15685
|
customerCenterPhone: string | null;
|
|
@@ -15713,7 +15727,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15713
15727
|
name: string;
|
|
15714
15728
|
storeCode: string;
|
|
15715
15729
|
storefrontUrl: string;
|
|
15716
|
-
status: "
|
|
15730
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
15717
15731
|
logoUrl: string | null;
|
|
15718
15732
|
businessNumber: string | null;
|
|
15719
15733
|
customerCenterPhone: string | null;
|
|
@@ -15778,7 +15792,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15778
15792
|
userId: string;
|
|
15779
15793
|
name: string;
|
|
15780
15794
|
email: string;
|
|
15781
|
-
role: "
|
|
15795
|
+
role: "ADMIN" | "STAFF" | "OWNER";
|
|
15782
15796
|
joinedAt: string;
|
|
15783
15797
|
lastActiveAt: string | null;
|
|
15784
15798
|
}[]>;
|
|
@@ -15795,7 +15809,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15795
15809
|
invitationId: string;
|
|
15796
15810
|
email: string;
|
|
15797
15811
|
role: "ADMIN" | "STAFF";
|
|
15798
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15812
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
15799
15813
|
invitedBy: string;
|
|
15800
15814
|
expiresAt: string;
|
|
15801
15815
|
createdAt: string;
|
|
@@ -15813,7 +15827,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15813
15827
|
invitationId: string;
|
|
15814
15828
|
email: string;
|
|
15815
15829
|
role: "ADMIN" | "STAFF";
|
|
15816
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15830
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
15817
15831
|
invitedBy: string;
|
|
15818
15832
|
expiresAt: string;
|
|
15819
15833
|
createdAt: string;
|
|
@@ -15828,7 +15842,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15828
15842
|
invitationId: string;
|
|
15829
15843
|
email: string;
|
|
15830
15844
|
role: "ADMIN" | "STAFF";
|
|
15831
|
-
status: "PENDING" | "EXPIRED" | "
|
|
15845
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
15832
15846
|
invitedBy: string;
|
|
15833
15847
|
expiresAt: string;
|
|
15834
15848
|
createdAt: string;
|
|
@@ -16437,15 +16451,15 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
16437
16451
|
};
|
|
16438
16452
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
16439
16453
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
16454
|
+
category: "category";
|
|
16440
16455
|
flow: "flow";
|
|
16456
|
+
analytics: "analytics";
|
|
16441
16457
|
product: "product";
|
|
16442
|
-
category: "category";
|
|
16443
16458
|
order: "order";
|
|
16444
16459
|
claim: "claim";
|
|
16445
16460
|
inquiry: "inquiry";
|
|
16446
16461
|
review: "review";
|
|
16447
16462
|
settlement: "settlement";
|
|
16448
|
-
analytics: "analytics";
|
|
16449
16463
|
webhook: "webhook";
|
|
16450
16464
|
store: "store";
|
|
16451
16465
|
member: "member";
|
|
@@ -16863,8 +16877,8 @@ export declare const planEntitlementsSchema: z.ZodObject<{
|
|
|
16863
16877
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16864
16878
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16865
16879
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16866
|
-
COMMUNITY: "COMMUNITY";
|
|
16867
16880
|
EMAIL: "EMAIL";
|
|
16881
|
+
COMMUNITY: "COMMUNITY";
|
|
16868
16882
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16869
16883
|
DEDICATED: "DEDICATED";
|
|
16870
16884
|
SLA: "SLA";
|
|
@@ -16914,8 +16928,8 @@ export declare const publicPlanSchema: z.ZodObject<{
|
|
|
16914
16928
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16915
16929
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16916
16930
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16917
|
-
COMMUNITY: "COMMUNITY";
|
|
16918
16931
|
EMAIL: "EMAIL";
|
|
16932
|
+
COMMUNITY: "COMMUNITY";
|
|
16919
16933
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16920
16934
|
DEDICATED: "DEDICATED";
|
|
16921
16935
|
SLA: "SLA";
|
|
@@ -16968,8 +16982,8 @@ export declare const publicPlansSchema: z.ZodObject<{
|
|
|
16968
16982
|
"retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
|
|
16969
16983
|
"retention.audit_days": z.ZodNullable<z.ZodNumber>;
|
|
16970
16984
|
"support.tier": z.ZodUnion<readonly [z.ZodEnum<{
|
|
16971
|
-
COMMUNITY: "COMMUNITY";
|
|
16972
16985
|
EMAIL: "EMAIL";
|
|
16986
|
+
COMMUNITY: "COMMUNITY";
|
|
16973
16987
|
EMAIL_PRIORITY: "EMAIL_PRIORITY";
|
|
16974
16988
|
DEDICATED: "DEDICATED";
|
|
16975
16989
|
SLA: "SLA";
|
|
@@ -17035,13 +17049,13 @@ export declare const orderWebhookEventDataSchema: z.ZodObject<{
|
|
|
17035
17049
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17036
17050
|
status: z.ZodEnum<{
|
|
17037
17051
|
PAID: "PAID";
|
|
17052
|
+
CANCELED: "CANCELED";
|
|
17038
17053
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17039
17054
|
CONFIRMED: "CONFIRMED";
|
|
17040
17055
|
DISPATCHED: "DISPATCHED";
|
|
17041
17056
|
DELIVERING: "DELIVERING";
|
|
17042
17057
|
DELIVERED: "DELIVERED";
|
|
17043
17058
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17044
|
-
CANCELED: "CANCELED";
|
|
17045
17059
|
}>;
|
|
17046
17060
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17047
17061
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17104,13 +17118,13 @@ export declare const orderFulfilledWebhookEventDataSchema: z.ZodObject<{
|
|
|
17104
17118
|
orderItemId: z.ZodString;
|
|
17105
17119
|
status: z.ZodEnum<{
|
|
17106
17120
|
PAID: "PAID";
|
|
17121
|
+
CANCELED: "CANCELED";
|
|
17107
17122
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17108
17123
|
CONFIRMED: "CONFIRMED";
|
|
17109
17124
|
DISPATCHED: "DISPATCHED";
|
|
17110
17125
|
DELIVERING: "DELIVERING";
|
|
17111
17126
|
DELIVERED: "DELIVERED";
|
|
17112
17127
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17113
|
-
CANCELED: "CANCELED";
|
|
17114
17128
|
}>;
|
|
17115
17129
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17116
17130
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17160,23 +17174,23 @@ export declare const orderCanceledWebhookEventDataSchema: z.ZodObject<{
|
|
|
17160
17174
|
orderItemId: z.ZodString;
|
|
17161
17175
|
status: z.ZodEnum<{
|
|
17162
17176
|
PAID: "PAID";
|
|
17177
|
+
CANCELED: "CANCELED";
|
|
17163
17178
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17164
17179
|
CONFIRMED: "CONFIRMED";
|
|
17165
17180
|
DISPATCHED: "DISPATCHED";
|
|
17166
17181
|
DELIVERING: "DELIVERING";
|
|
17167
17182
|
DELIVERED: "DELIVERED";
|
|
17168
17183
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17169
|
-
CANCELED: "CANCELED";
|
|
17170
17184
|
}>;
|
|
17171
17185
|
itemStatus: z.ZodEnum<{
|
|
17172
17186
|
PAID: "PAID";
|
|
17187
|
+
CANCELED: "CANCELED";
|
|
17173
17188
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17174
17189
|
CONFIRMED: "CONFIRMED";
|
|
17175
17190
|
DISPATCHED: "DISPATCHED";
|
|
17176
17191
|
DELIVERING: "DELIVERING";
|
|
17177
17192
|
DELIVERED: "DELIVERED";
|
|
17178
17193
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17179
|
-
CANCELED: "CANCELED";
|
|
17180
17194
|
}>;
|
|
17181
17195
|
reason: z.ZodString;
|
|
17182
17196
|
quantity: z.ZodNumber;
|
|
@@ -17196,19 +17210,19 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
17196
17210
|
orderId: z.ZodString;
|
|
17197
17211
|
orderItemId: z.ZodString;
|
|
17198
17212
|
claimType: z.ZodEnum<{
|
|
17199
|
-
CANCEL: "CANCEL";
|
|
17200
17213
|
RETURN: "RETURN";
|
|
17201
17214
|
EXCHANGE: "EXCHANGE";
|
|
17215
|
+
CANCEL: "CANCEL";
|
|
17202
17216
|
}>;
|
|
17203
17217
|
status: z.ZodEnum<{
|
|
17218
|
+
REJECTED: "REJECTED";
|
|
17219
|
+
COMPLETED: "COMPLETED";
|
|
17204
17220
|
REQUESTED: "REQUESTED";
|
|
17205
17221
|
HELD: "HELD";
|
|
17206
17222
|
COLLECTING: "COLLECTING";
|
|
17207
17223
|
COLLECTED: "COLLECTED";
|
|
17208
17224
|
REDELIVERING: "REDELIVERING";
|
|
17209
17225
|
APPROVED: "APPROVED";
|
|
17210
|
-
REJECTED: "REJECTED";
|
|
17211
|
-
COMPLETED: "COMPLETED";
|
|
17212
17226
|
WITHDRAWN: "WITHDRAWN";
|
|
17213
17227
|
}>;
|
|
17214
17228
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17252,13 +17266,13 @@ export declare const orderWebhookEventSchema: z.ZodObject<{
|
|
|
17252
17266
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17253
17267
|
status: z.ZodEnum<{
|
|
17254
17268
|
PAID: "PAID";
|
|
17269
|
+
CANCELED: "CANCELED";
|
|
17255
17270
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17256
17271
|
CONFIRMED: "CONFIRMED";
|
|
17257
17272
|
DISPATCHED: "DISPATCHED";
|
|
17258
17273
|
DELIVERING: "DELIVERING";
|
|
17259
17274
|
DELIVERED: "DELIVERED";
|
|
17260
17275
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17261
|
-
CANCELED: "CANCELED";
|
|
17262
17276
|
}>;
|
|
17263
17277
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17264
17278
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17323,13 +17337,13 @@ export declare const orderFulfilledWebhookEventSchema: z.ZodObject<{
|
|
|
17323
17337
|
orderItemId: z.ZodString;
|
|
17324
17338
|
status: z.ZodEnum<{
|
|
17325
17339
|
PAID: "PAID";
|
|
17340
|
+
CANCELED: "CANCELED";
|
|
17326
17341
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17327
17342
|
CONFIRMED: "CONFIRMED";
|
|
17328
17343
|
DISPATCHED: "DISPATCHED";
|
|
17329
17344
|
DELIVERING: "DELIVERING";
|
|
17330
17345
|
DELIVERED: "DELIVERED";
|
|
17331
17346
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17332
|
-
CANCELED: "CANCELED";
|
|
17333
17347
|
}>;
|
|
17334
17348
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17335
17349
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17380,23 +17394,23 @@ export declare const orderCanceledWebhookEventSchema: z.ZodObject<{
|
|
|
17380
17394
|
orderItemId: z.ZodString;
|
|
17381
17395
|
status: z.ZodEnum<{
|
|
17382
17396
|
PAID: "PAID";
|
|
17397
|
+
CANCELED: "CANCELED";
|
|
17383
17398
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17384
17399
|
CONFIRMED: "CONFIRMED";
|
|
17385
17400
|
DISPATCHED: "DISPATCHED";
|
|
17386
17401
|
DELIVERING: "DELIVERING";
|
|
17387
17402
|
DELIVERED: "DELIVERED";
|
|
17388
17403
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17389
|
-
CANCELED: "CANCELED";
|
|
17390
17404
|
}>;
|
|
17391
17405
|
itemStatus: z.ZodEnum<{
|
|
17392
17406
|
PAID: "PAID";
|
|
17407
|
+
CANCELED: "CANCELED";
|
|
17393
17408
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17394
17409
|
CONFIRMED: "CONFIRMED";
|
|
17395
17410
|
DISPATCHED: "DISPATCHED";
|
|
17396
17411
|
DELIVERING: "DELIVERING";
|
|
17397
17412
|
DELIVERED: "DELIVERED";
|
|
17398
17413
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17399
|
-
CANCELED: "CANCELED";
|
|
17400
17414
|
}>;
|
|
17401
17415
|
reason: z.ZodString;
|
|
17402
17416
|
quantity: z.ZodNumber;
|
|
@@ -17427,19 +17441,19 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
17427
17441
|
orderId: z.ZodString;
|
|
17428
17442
|
orderItemId: z.ZodString;
|
|
17429
17443
|
claimType: z.ZodEnum<{
|
|
17430
|
-
CANCEL: "CANCEL";
|
|
17431
17444
|
RETURN: "RETURN";
|
|
17432
17445
|
EXCHANGE: "EXCHANGE";
|
|
17446
|
+
CANCEL: "CANCEL";
|
|
17433
17447
|
}>;
|
|
17434
17448
|
status: z.ZodEnum<{
|
|
17449
|
+
REJECTED: "REJECTED";
|
|
17450
|
+
COMPLETED: "COMPLETED";
|
|
17435
17451
|
REQUESTED: "REQUESTED";
|
|
17436
17452
|
HELD: "HELD";
|
|
17437
17453
|
COLLECTING: "COLLECTING";
|
|
17438
17454
|
COLLECTED: "COLLECTED";
|
|
17439
17455
|
REDELIVERING: "REDELIVERING";
|
|
17440
17456
|
APPROVED: "APPROVED";
|
|
17441
|
-
REJECTED: "REJECTED";
|
|
17442
|
-
COMPLETED: "COMPLETED";
|
|
17443
17457
|
WITHDRAWN: "WITHDRAWN";
|
|
17444
17458
|
}>;
|
|
17445
17459
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17566,13 +17580,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17566
17580
|
orderNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
17567
17581
|
status: z.ZodEnum<{
|
|
17568
17582
|
PAID: "PAID";
|
|
17583
|
+
CANCELED: "CANCELED";
|
|
17569
17584
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17570
17585
|
CONFIRMED: "CONFIRMED";
|
|
17571
17586
|
DISPATCHED: "DISPATCHED";
|
|
17572
17587
|
DELIVERING: "DELIVERING";
|
|
17573
17588
|
DELIVERED: "DELIVERED";
|
|
17574
17589
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17575
|
-
CANCELED: "CANCELED";
|
|
17576
17590
|
}>;
|
|
17577
17591
|
testPayment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17578
17592
|
couponDiscountAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -17636,13 +17650,13 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17636
17650
|
orderItemId: z.ZodString;
|
|
17637
17651
|
status: z.ZodEnum<{
|
|
17638
17652
|
PAID: "PAID";
|
|
17653
|
+
CANCELED: "CANCELED";
|
|
17639
17654
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17640
17655
|
CONFIRMED: "CONFIRMED";
|
|
17641
17656
|
DISPATCHED: "DISPATCHED";
|
|
17642
17657
|
DELIVERING: "DELIVERING";
|
|
17643
17658
|
DELIVERED: "DELIVERED";
|
|
17644
17659
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17645
|
-
CANCELED: "CANCELED";
|
|
17646
17660
|
}>;
|
|
17647
17661
|
fulfillmentSnapshot: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17648
17662
|
type: z.ZodLiteral<"SHIPPING">;
|
|
@@ -17692,23 +17706,23 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17692
17706
|
orderItemId: z.ZodString;
|
|
17693
17707
|
status: z.ZodEnum<{
|
|
17694
17708
|
PAID: "PAID";
|
|
17709
|
+
CANCELED: "CANCELED";
|
|
17695
17710
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17696
17711
|
CONFIRMED: "CONFIRMED";
|
|
17697
17712
|
DISPATCHED: "DISPATCHED";
|
|
17698
17713
|
DELIVERING: "DELIVERING";
|
|
17699
17714
|
DELIVERED: "DELIVERED";
|
|
17700
17715
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17701
|
-
CANCELED: "CANCELED";
|
|
17702
17716
|
}>;
|
|
17703
17717
|
itemStatus: z.ZodEnum<{
|
|
17704
17718
|
PAID: "PAID";
|
|
17719
|
+
CANCELED: "CANCELED";
|
|
17705
17720
|
PAYMENT_WAITING: "PAYMENT_WAITING";
|
|
17706
17721
|
CONFIRMED: "CONFIRMED";
|
|
17707
17722
|
DISPATCHED: "DISPATCHED";
|
|
17708
17723
|
DELIVERING: "DELIVERING";
|
|
17709
17724
|
DELIVERED: "DELIVERED";
|
|
17710
17725
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
17711
|
-
CANCELED: "CANCELED";
|
|
17712
17726
|
}>;
|
|
17713
17727
|
reason: z.ZodString;
|
|
17714
17728
|
quantity: z.ZodNumber;
|
|
@@ -17738,19 +17752,19 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17738
17752
|
orderId: z.ZodString;
|
|
17739
17753
|
orderItemId: z.ZodString;
|
|
17740
17754
|
claimType: z.ZodEnum<{
|
|
17741
|
-
CANCEL: "CANCEL";
|
|
17742
17755
|
RETURN: "RETURN";
|
|
17743
17756
|
EXCHANGE: "EXCHANGE";
|
|
17757
|
+
CANCEL: "CANCEL";
|
|
17744
17758
|
}>;
|
|
17745
17759
|
status: z.ZodEnum<{
|
|
17760
|
+
REJECTED: "REJECTED";
|
|
17761
|
+
COMPLETED: "COMPLETED";
|
|
17746
17762
|
REQUESTED: "REQUESTED";
|
|
17747
17763
|
HELD: "HELD";
|
|
17748
17764
|
COLLECTING: "COLLECTING";
|
|
17749
17765
|
COLLECTED: "COLLECTED";
|
|
17750
17766
|
REDELIVERING: "REDELIVERING";
|
|
17751
17767
|
APPROVED: "APPROVED";
|
|
17752
|
-
REJECTED: "REJECTED";
|
|
17753
|
-
COMPLETED: "COMPLETED";
|
|
17754
17768
|
WITHDRAWN: "WITHDRAWN";
|
|
17755
17769
|
}>;
|
|
17756
17770
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|