@sayren/store-sdk 0.30.2 → 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 +277 -198
- package/dist/index.mjs +18 -4
- package/package.json +1 -1
- package/src/schemas/audit.ts +12 -0
- package/src/schemas/commerce-flow.ts +28 -3
- package/src/schemas/points.ts +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -33,8 +33,8 @@ export declare const auditLogSourceSchema: z.ZodEnum<{
|
|
|
33
33
|
}>;
|
|
34
34
|
export type AuditLogSource = z.infer<typeof auditLogSourceSchema>;
|
|
35
35
|
export declare const auditLogOutcomeSchema: z.ZodEnum<{
|
|
36
|
-
FAILED: "FAILED";
|
|
37
36
|
SUCCEEDED: "SUCCEEDED";
|
|
37
|
+
FAILED: "FAILED";
|
|
38
38
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
39
39
|
DENIED: "DENIED";
|
|
40
40
|
DRY_RUN: "DRY_RUN";
|
|
@@ -69,8 +69,8 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
69
69
|
path: z.ZodNullable<z.ZodString>;
|
|
70
70
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
72
|
-
FAILED: "FAILED";
|
|
73
72
|
SUCCEEDED: "SUCCEEDED";
|
|
73
|
+
FAILED: "FAILED";
|
|
74
74
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
75
75
|
DENIED: "DENIED";
|
|
76
76
|
DRY_RUN: "DRY_RUN";
|
|
@@ -102,8 +102,8 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
102
102
|
DOMAIN: "DOMAIN";
|
|
103
103
|
}>>;
|
|
104
104
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
FAILED: "FAILED";
|
|
106
105
|
SUCCEEDED: "SUCCEEDED";
|
|
106
|
+
FAILED: "FAILED";
|
|
107
107
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
108
108
|
DENIED: "DENIED";
|
|
109
109
|
DRY_RUN: "DRY_RUN";
|
|
@@ -149,8 +149,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
149
149
|
path: z.ZodNullable<z.ZodString>;
|
|
150
150
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
151
151
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
FAILED: "FAILED";
|
|
153
152
|
SUCCEEDED: "SUCCEEDED";
|
|
153
|
+
FAILED: "FAILED";
|
|
154
154
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
155
155
|
DENIED: "DENIED";
|
|
156
156
|
DRY_RUN: "DRY_RUN";
|
|
@@ -166,8 +166,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
168
|
DENIED: "DENIED";
|
|
169
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
170
169
|
ALLOW: "ALLOW";
|
|
170
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
173
173
|
export declare const writePreviewSchema: z.ZodObject<{
|
|
@@ -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;
|
|
@@ -191,8 +192,8 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
191
192
|
dryRun: z.ZodLiteral<true>;
|
|
192
193
|
decision: z.ZodEnum<{
|
|
193
194
|
DENIED: "DENIED";
|
|
194
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
195
|
ALLOW: "ALLOW";
|
|
196
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
197
|
}>;
|
|
197
198
|
reason: z.ZodNullable<z.ZodString>;
|
|
198
199
|
preview: z.ZodObject<{
|
|
@@ -203,6 +204,7 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
203
204
|
type: z.ZodString;
|
|
204
205
|
id: z.ZodNullable<z.ZodString>;
|
|
205
206
|
}, z.core.$strip>;
|
|
207
|
+
targetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
208
|
changes: z.ZodArray<z.ZodObject<{
|
|
207
209
|
field: z.ZodString;
|
|
208
210
|
before: z.ZodUnknown;
|
|
@@ -213,9 +215,9 @@ 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
|
-
PENDING: "PENDING";
|
|
217
|
-
FAILED: "FAILED";
|
|
218
218
|
SUCCEEDED: "SUCCEEDED";
|
|
219
|
+
FAILED: "FAILED";
|
|
220
|
+
PENDING: "PENDING";
|
|
219
221
|
EXECUTING: "EXECUTING";
|
|
220
222
|
UNKNOWN: "UNKNOWN";
|
|
221
223
|
REJECTED: "REJECTED";
|
|
@@ -225,15 +227,16 @@ 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
|
-
PENDING: "PENDING";
|
|
229
|
-
FAILED: "FAILED";
|
|
230
230
|
SUCCEEDED: "SUCCEEDED";
|
|
231
|
+
FAILED: "FAILED";
|
|
232
|
+
PENDING: "PENDING";
|
|
231
233
|
EXECUTING: "EXECUTING";
|
|
232
234
|
UNKNOWN: "UNKNOWN";
|
|
233
235
|
REJECTED: "REJECTED";
|
|
234
236
|
EXPIRED: "EXPIRED";
|
|
235
237
|
}>;
|
|
236
238
|
operationId: z.ZodString;
|
|
239
|
+
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
240
|
method: z.ZodString;
|
|
238
241
|
path: z.ZodString;
|
|
239
242
|
body: z.ZodUnknown;
|
|
@@ -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,9 +291,9 @@ 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
|
-
PENDING: "PENDING";
|
|
291
|
-
FAILED: "FAILED";
|
|
292
294
|
SUCCEEDED: "SUCCEEDED";
|
|
295
|
+
FAILED: "FAILED";
|
|
296
|
+
PENDING: "PENDING";
|
|
293
297
|
EXECUTING: "EXECUTING";
|
|
294
298
|
UNKNOWN: "UNKNOWN";
|
|
295
299
|
REJECTED: "REJECTED";
|
|
@@ -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
|
-
PENDING: "PENDING";
|
|
310
|
-
FAILED: "FAILED";
|
|
311
313
|
SUCCEEDED: "SUCCEEDED";
|
|
314
|
+
FAILED: "FAILED";
|
|
315
|
+
PENDING: "PENDING";
|
|
312
316
|
EXECUTING: "EXECUTING";
|
|
313
317
|
UNKNOWN: "UNKNOWN";
|
|
314
318
|
REJECTED: "REJECTED";
|
|
315
319
|
EXPIRED: "EXPIRED";
|
|
316
320
|
}>;
|
|
317
321
|
operationId: z.ZodString;
|
|
322
|
+
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
323
|
method: z.ZodString;
|
|
319
324
|
path: z.ZodString;
|
|
320
325
|
body: z.ZodUnknown;
|
|
@@ -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;
|
|
@@ -448,11 +454,11 @@ export declare const analyticsTotalsSchema: z.ZodObject<{
|
|
|
448
454
|
export type AnalyticsTotals = z.infer<typeof analyticsTotalsSchema>;
|
|
449
455
|
export declare const analyticsFunnelStepSchema: z.ZodObject<{
|
|
450
456
|
step: z.ZodEnum<{
|
|
451
|
-
PURCHASE: "PURCHASE";
|
|
452
457
|
SESSION: "SESSION";
|
|
453
458
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
454
459
|
ADD_TO_CART: "ADD_TO_CART";
|
|
455
460
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
461
|
+
PURCHASE: "PURCHASE";
|
|
456
462
|
}>;
|
|
457
463
|
sessions: z.ZodNumber;
|
|
458
464
|
rateFromPrevious: z.ZodNullable<z.ZodNumber>;
|
|
@@ -477,11 +483,11 @@ export declare const analyticsOverviewSchema: z.ZodObject<{
|
|
|
477
483
|
}, z.core.$strip>;
|
|
478
484
|
funnel: z.ZodArray<z.ZodObject<{
|
|
479
485
|
step: z.ZodEnum<{
|
|
480
|
-
PURCHASE: "PURCHASE";
|
|
481
486
|
SESSION: "SESSION";
|
|
482
487
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
483
488
|
ADD_TO_CART: "ADD_TO_CART";
|
|
484
489
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
490
|
+
PURCHASE: "PURCHASE";
|
|
485
491
|
}>;
|
|
486
492
|
sessions: z.ZodNumber;
|
|
487
493
|
rateFromPrevious: z.ZodNullable<z.ZodNumber>;
|
|
@@ -581,20 +587,20 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
581
587
|
}, z.core.$strip>;
|
|
582
588
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
583
589
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
584
|
-
PAID: "PAID";
|
|
585
|
-
DIRECT: "DIRECT";
|
|
586
|
-
CAMPAIGN: "CAMPAIGN";
|
|
587
590
|
UNKNOWN: "UNKNOWN";
|
|
591
|
+
DIRECT: "DIRECT";
|
|
588
592
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
589
593
|
SOCIAL: "SOCIAL";
|
|
594
|
+
PAID: "PAID";
|
|
590
595
|
EMAIL: "EMAIL";
|
|
596
|
+
CAMPAIGN: "CAMPAIGN";
|
|
591
597
|
REFERRAL: "REFERRAL";
|
|
592
598
|
}>;
|
|
593
599
|
export type AnalyticsChannel = z.infer<typeof analyticsChannelSchema>;
|
|
594
600
|
export declare const analyticsSourceGroupBySchema: z.ZodEnum<{
|
|
601
|
+
CAMPAIGN: "CAMPAIGN";
|
|
595
602
|
CHANNEL: "CHANNEL";
|
|
596
603
|
SOURCE: "SOURCE";
|
|
597
|
-
CAMPAIGN: "CAMPAIGN";
|
|
598
604
|
DEVICE: "DEVICE";
|
|
599
605
|
}>;
|
|
600
606
|
export type AnalyticsSourceGroupBy = z.infer<typeof analyticsSourceGroupBySchema>;
|
|
@@ -606,22 +612,22 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
606
612
|
false: "false";
|
|
607
613
|
}>>;
|
|
608
614
|
groupBy: z.ZodOptional<z.ZodEnum<{
|
|
615
|
+
CAMPAIGN: "CAMPAIGN";
|
|
609
616
|
CHANNEL: "CHANNEL";
|
|
610
617
|
SOURCE: "SOURCE";
|
|
611
|
-
CAMPAIGN: "CAMPAIGN";
|
|
612
618
|
DEVICE: "DEVICE";
|
|
613
619
|
}>>;
|
|
614
620
|
}, z.core.$strip>;
|
|
615
621
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
616
622
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
617
623
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
618
|
-
PAID: "PAID";
|
|
619
|
-
DIRECT: "DIRECT";
|
|
620
|
-
CAMPAIGN: "CAMPAIGN";
|
|
621
624
|
UNKNOWN: "UNKNOWN";
|
|
625
|
+
DIRECT: "DIRECT";
|
|
622
626
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
623
627
|
SOCIAL: "SOCIAL";
|
|
628
|
+
PAID: "PAID";
|
|
624
629
|
EMAIL: "EMAIL";
|
|
630
|
+
CAMPAIGN: "CAMPAIGN";
|
|
625
631
|
REFERRAL: "REFERRAL";
|
|
626
632
|
}>>;
|
|
627
633
|
source: z.ZodNullable<z.ZodString>;
|
|
@@ -644,20 +650,20 @@ export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
|
644
650
|
export type AnalyticsSourceRow = z.infer<typeof analyticsSourceRowSchema>;
|
|
645
651
|
export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
646
652
|
groupBy: z.ZodEnum<{
|
|
653
|
+
CAMPAIGN: "CAMPAIGN";
|
|
647
654
|
CHANNEL: "CHANNEL";
|
|
648
655
|
SOURCE: "SOURCE";
|
|
649
|
-
CAMPAIGN: "CAMPAIGN";
|
|
650
656
|
DEVICE: "DEVICE";
|
|
651
657
|
}>;
|
|
652
658
|
rows: z.ZodArray<z.ZodObject<{
|
|
653
659
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
654
|
-
PAID: "PAID";
|
|
655
|
-
DIRECT: "DIRECT";
|
|
656
|
-
CAMPAIGN: "CAMPAIGN";
|
|
657
660
|
UNKNOWN: "UNKNOWN";
|
|
661
|
+
DIRECT: "DIRECT";
|
|
658
662
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
659
663
|
SOCIAL: "SOCIAL";
|
|
664
|
+
PAID: "PAID";
|
|
660
665
|
EMAIL: "EMAIL";
|
|
666
|
+
CAMPAIGN: "CAMPAIGN";
|
|
661
667
|
REFERRAL: "REFERRAL";
|
|
662
668
|
}>>;
|
|
663
669
|
source: z.ZodNullable<z.ZodString>;
|
|
@@ -807,12 +813,12 @@ export declare const analyticsSearchSchema: z.ZodObject<{
|
|
|
807
813
|
}, z.core.$strip>;
|
|
808
814
|
export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
|
|
809
815
|
export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
|
|
810
|
-
OTHER: "OTHER";
|
|
811
816
|
COMPLETED: "COMPLETED";
|
|
812
817
|
NOT_OPENED: "NOT_OPENED";
|
|
813
818
|
USER_CANCELED: "USER_CANCELED";
|
|
814
819
|
DECLINED: "DECLINED";
|
|
815
820
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
821
|
+
OTHER: "OTHER";
|
|
816
822
|
IN_PROGRESS: "IN_PROGRESS";
|
|
817
823
|
}>;
|
|
818
824
|
export type AnalyticsCheckoutOutcome = z.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
@@ -820,12 +826,12 @@ export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
|
820
826
|
sessions: z.ZodNumber;
|
|
821
827
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
822
828
|
outcome: z.ZodEnum<{
|
|
823
|
-
OTHER: "OTHER";
|
|
824
829
|
COMPLETED: "COMPLETED";
|
|
825
830
|
NOT_OPENED: "NOT_OPENED";
|
|
826
831
|
USER_CANCELED: "USER_CANCELED";
|
|
827
832
|
DECLINED: "DECLINED";
|
|
828
833
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
834
|
+
OTHER: "OTHER";
|
|
829
835
|
IN_PROGRESS: "IN_PROGRESS";
|
|
830
836
|
}>;
|
|
831
837
|
sessions: z.ZodNumber;
|
|
@@ -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>>;
|
|
@@ -2027,7 +2033,14 @@ export declare const flowInputFieldSchema: z.ZodObject<{
|
|
|
2027
2033
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2028
2034
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2029
2035
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2030
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2036
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2037
|
+
value: z.ZodString;
|
|
2038
|
+
label: z.ZodString;
|
|
2039
|
+
}, z.core.$strip>]>>>;
|
|
2040
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2041
|
+
key: z.ZodString;
|
|
2042
|
+
in: z.ZodArray<z.ZodString>;
|
|
2043
|
+
}, z.core.$strip>>;
|
|
2031
2044
|
}, z.core.$strip>;
|
|
2032
2045
|
export type FlowInputField = z.infer<typeof flowInputFieldSchema>;
|
|
2033
2046
|
export declare const flowActionSchema: z.ZodObject<{
|
|
@@ -2053,7 +2066,14 @@ export declare const flowActionSchema: z.ZodObject<{
|
|
|
2053
2066
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2054
2067
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2055
2068
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2056
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2069
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2070
|
+
value: z.ZodString;
|
|
2071
|
+
label: z.ZodString;
|
|
2072
|
+
}, z.core.$strip>]>>>;
|
|
2073
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2074
|
+
key: z.ZodString;
|
|
2075
|
+
in: z.ZodArray<z.ZodString>;
|
|
2076
|
+
}, z.core.$strip>>;
|
|
2057
2077
|
}, z.core.$strip>>>;
|
|
2058
2078
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2059
2079
|
}, z.core.$strip>;
|
|
@@ -2089,6 +2109,7 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
2089
2109
|
enteredAt: z.ZodString;
|
|
2090
2110
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2091
2111
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2112
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2092
2113
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2093
2114
|
by: z.ZodString;
|
|
2094
2115
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2136,6 +2157,7 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2136
2157
|
enteredAt: z.ZodString;
|
|
2137
2158
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2138
2159
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2160
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2139
2161
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2140
2162
|
by: z.ZodString;
|
|
2141
2163
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2171,7 +2193,14 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2171
2193
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2172
2194
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2173
2195
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2174
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2196
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2197
|
+
value: z.ZodString;
|
|
2198
|
+
label: z.ZodString;
|
|
2199
|
+
}, z.core.$strip>]>>>;
|
|
2200
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2201
|
+
key: z.ZodString;
|
|
2202
|
+
in: z.ZodArray<z.ZodString>;
|
|
2203
|
+
}, z.core.$strip>>;
|
|
2175
2204
|
}, z.core.$strip>>>;
|
|
2176
2205
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2177
2206
|
}, z.core.$strip>>;
|
|
@@ -2223,6 +2252,7 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2223
2252
|
enteredAt: z.ZodString;
|
|
2224
2253
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2225
2254
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2255
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2226
2256
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2227
2257
|
by: z.ZodString;
|
|
2228
2258
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2313,6 +2343,7 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2313
2343
|
enteredAt: z.ZodString;
|
|
2314
2344
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2315
2345
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2346
|
+
earlierAttachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2316
2347
|
inputs: z.ZodOptional<z.ZodObject<{
|
|
2317
2348
|
by: z.ZodString;
|
|
2318
2349
|
values: z.ZodArray<z.ZodObject<{
|
|
@@ -2348,7 +2379,14 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2348
2379
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2349
2380
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2350
2381
|
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2351
|
-
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber
|
|
2382
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
2383
|
+
value: z.ZodString;
|
|
2384
|
+
label: z.ZodString;
|
|
2385
|
+
}, z.core.$strip>]>>>;
|
|
2386
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
2387
|
+
key: z.ZodString;
|
|
2388
|
+
in: z.ZodArray<z.ZodString>;
|
|
2389
|
+
}, z.core.$strip>>;
|
|
2352
2390
|
}, z.core.$strip>>>;
|
|
2353
2391
|
partialQuantity: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"UNIT">]>>;
|
|
2354
2392
|
}, z.core.$strip>>;
|
|
@@ -3257,10 +3295,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
3257
3295
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
3258
3296
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
3259
3297
|
reason: z.ZodEnum<{
|
|
3298
|
+
OTHER: "OTHER";
|
|
3260
3299
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
3261
3300
|
DORMANT: "DORMANT";
|
|
3262
3301
|
ABUSE: "ABUSE";
|
|
3263
|
-
OTHER: "OTHER";
|
|
3264
3302
|
}>;
|
|
3265
3303
|
memo: z.ZodOptional<z.ZodString>;
|
|
3266
3304
|
}, z.core.$strip>;
|
|
@@ -3327,8 +3365,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
3327
3365
|
*/
|
|
3328
3366
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
3329
3367
|
export declare const fulfillmentMethodSchema: z.ZodEnum<{
|
|
3330
|
-
CARRIER: "CARRIER";
|
|
3331
3368
|
DIRECT: "DIRECT";
|
|
3369
|
+
CARRIER: "CARRIER";
|
|
3332
3370
|
PICKUP: "PICKUP";
|
|
3333
3371
|
PROVIDED: "PROVIDED";
|
|
3334
3372
|
}>;
|
|
@@ -3372,8 +3410,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
3372
3410
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
3373
3411
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
3374
3412
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
3375
|
-
FREE: "FREE";
|
|
3376
3413
|
PAID: "PAID";
|
|
3414
|
+
FREE: "FREE";
|
|
3377
3415
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3378
3416
|
}>;
|
|
3379
3417
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -3384,8 +3422,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3384
3422
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3385
3423
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
3386
3424
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
3387
|
-
FREE: "FREE";
|
|
3388
3425
|
PAID: "PAID";
|
|
3426
|
+
FREE: "FREE";
|
|
3389
3427
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3390
3428
|
}>>;
|
|
3391
3429
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3394,16 +3432,16 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3394
3432
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3395
3433
|
}, z.core.$strict>>;
|
|
3396
3434
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3397
|
-
CARRIER: "CARRIER";
|
|
3398
3435
|
DIRECT: "DIRECT";
|
|
3436
|
+
CARRIER: "CARRIER";
|
|
3399
3437
|
PICKUP: "PICKUP";
|
|
3400
3438
|
PROVIDED: "PROVIDED";
|
|
3401
3439
|
}>>>;
|
|
3402
3440
|
}, z.core.$strict>, z.ZodObject<{
|
|
3403
3441
|
type: z.ZodLiteral<"MANUAL">;
|
|
3404
3442
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3405
|
-
CARRIER: "CARRIER";
|
|
3406
3443
|
DIRECT: "DIRECT";
|
|
3444
|
+
CARRIER: "CARRIER";
|
|
3407
3445
|
PICKUP: "PICKUP";
|
|
3408
3446
|
PROVIDED: "PROVIDED";
|
|
3409
3447
|
}>>>;
|
|
@@ -3419,8 +3457,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3419
3457
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3420
3458
|
shipping: z.ZodObject<{
|
|
3421
3459
|
deliveryType: z.ZodEnum<{
|
|
3422
|
-
FREE: "FREE";
|
|
3423
3460
|
PAID: "PAID";
|
|
3461
|
+
FREE: "FREE";
|
|
3424
3462
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3425
3463
|
}>;
|
|
3426
3464
|
deliveryFee: z.ZodNumber;
|
|
@@ -3429,16 +3467,16 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3429
3467
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
3430
3468
|
}, z.core.$strict>;
|
|
3431
3469
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3432
|
-
CARRIER: "CARRIER";
|
|
3433
3470
|
DIRECT: "DIRECT";
|
|
3471
|
+
CARRIER: "CARRIER";
|
|
3434
3472
|
PICKUP: "PICKUP";
|
|
3435
3473
|
PROVIDED: "PROVIDED";
|
|
3436
3474
|
}>>>;
|
|
3437
3475
|
}, z.core.$strict>, z.ZodObject<{
|
|
3438
3476
|
type: z.ZodLiteral<"MANUAL">;
|
|
3439
3477
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3440
|
-
CARRIER: "CARRIER";
|
|
3441
3478
|
DIRECT: "DIRECT";
|
|
3479
|
+
CARRIER: "CARRIER";
|
|
3442
3480
|
PICKUP: "PICKUP";
|
|
3443
3481
|
PROVIDED: "PROVIDED";
|
|
3444
3482
|
}>>>;
|
|
@@ -3452,8 +3490,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3452
3490
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3453
3491
|
shipping: z.ZodObject<{
|
|
3454
3492
|
deliveryType: z.ZodEnum<{
|
|
3455
|
-
FREE: "FREE";
|
|
3456
3493
|
PAID: "PAID";
|
|
3494
|
+
FREE: "FREE";
|
|
3457
3495
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3458
3496
|
}>;
|
|
3459
3497
|
deliveryFee: z.ZodNumber;
|
|
@@ -3493,8 +3531,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
3493
3531
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3494
3532
|
shipping: z.ZodObject<{
|
|
3495
3533
|
deliveryType: z.ZodEnum<{
|
|
3496
|
-
FREE: "FREE";
|
|
3497
3534
|
PAID: "PAID";
|
|
3535
|
+
FREE: "FREE";
|
|
3498
3536
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3499
3537
|
}>;
|
|
3500
3538
|
deliveryFee: z.ZodNumber;
|
|
@@ -3958,10 +3996,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
3958
3996
|
}, z.core.$strip>;
|
|
3959
3997
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
3960
3998
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
3999
|
+
FAILED: "FAILED";
|
|
3961
4000
|
PENDING: "PENDING";
|
|
3962
4001
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3963
4002
|
SUCCESS: "SUCCESS";
|
|
3964
|
-
FAILED: "FAILED";
|
|
3965
4003
|
}>;
|
|
3966
4004
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
3967
4005
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -4025,10 +4063,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
4025
4063
|
}>;
|
|
4026
4064
|
url: z.ZodString;
|
|
4027
4065
|
status: z.ZodEnum<{
|
|
4066
|
+
FAILED: "FAILED";
|
|
4028
4067
|
PENDING: "PENDING";
|
|
4029
4068
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4030
4069
|
SUCCESS: "SUCCESS";
|
|
4031
|
-
FAILED: "FAILED";
|
|
4032
4070
|
}>;
|
|
4033
4071
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4034
4072
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4080,10 +4118,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4080
4118
|
}>;
|
|
4081
4119
|
url: z.ZodString;
|
|
4082
4120
|
status: z.ZodEnum<{
|
|
4121
|
+
FAILED: "FAILED";
|
|
4083
4122
|
PENDING: "PENDING";
|
|
4084
4123
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4085
4124
|
SUCCESS: "SUCCESS";
|
|
4086
|
-
FAILED: "FAILED";
|
|
4087
4125
|
}>;
|
|
4088
4126
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4089
4127
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4118,10 +4156,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
4118
4156
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
4119
4157
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
4120
4158
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4159
|
+
FAILED: "FAILED";
|
|
4121
4160
|
PENDING: "PENDING";
|
|
4122
4161
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4123
4162
|
SUCCESS: "SUCCESS";
|
|
4124
|
-
FAILED: "FAILED";
|
|
4125
4163
|
}>>;
|
|
4126
4164
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
4127
4165
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -5085,8 +5123,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
5085
5123
|
}>;
|
|
5086
5124
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
5087
5125
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
5088
|
-
SUCCESS: "SUCCESS";
|
|
5089
5126
|
FAILED: "FAILED";
|
|
5127
|
+
SUCCESS: "SUCCESS";
|
|
5090
5128
|
}>;
|
|
5091
5129
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
5092
5130
|
/**
|
|
@@ -5235,8 +5273,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
5235
5273
|
}, z.core.$strip>>;
|
|
5236
5274
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5237
5275
|
result: z.ZodEnum<{
|
|
5238
|
-
SUCCESS: "SUCCESS";
|
|
5239
5276
|
FAILED: "FAILED";
|
|
5277
|
+
SUCCESS: "SUCCESS";
|
|
5240
5278
|
}>;
|
|
5241
5279
|
message: z.ZodNullable<z.ZodString>;
|
|
5242
5280
|
checkedAt: z.ZodString;
|
|
@@ -5337,8 +5375,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5337
5375
|
}, z.core.$strip>>;
|
|
5338
5376
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5339
5377
|
result: z.ZodEnum<{
|
|
5340
|
-
SUCCESS: "SUCCESS";
|
|
5341
5378
|
FAILED: "FAILED";
|
|
5379
|
+
SUCCESS: "SUCCESS";
|
|
5342
5380
|
}>;
|
|
5343
5381
|
message: z.ZodNullable<z.ZodString>;
|
|
5344
5382
|
checkedAt: z.ZodString;
|
|
@@ -5374,8 +5412,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5374
5412
|
}, z.core.$strip>>;
|
|
5375
5413
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5376
5414
|
result: z.ZodEnum<{
|
|
5377
|
-
SUCCESS: "SUCCESS";
|
|
5378
5415
|
FAILED: "FAILED";
|
|
5416
|
+
SUCCESS: "SUCCESS";
|
|
5379
5417
|
}>;
|
|
5380
5418
|
message: z.ZodNullable<z.ZodString>;
|
|
5381
5419
|
checkedAt: z.ZodString;
|
|
@@ -5410,8 +5448,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5410
5448
|
}, z.core.$strip>>;
|
|
5411
5449
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5412
5450
|
result: z.ZodEnum<{
|
|
5413
|
-
SUCCESS: "SUCCESS";
|
|
5414
5451
|
FAILED: "FAILED";
|
|
5452
|
+
SUCCESS: "SUCCESS";
|
|
5415
5453
|
}>;
|
|
5416
5454
|
message: z.ZodNullable<z.ZodString>;
|
|
5417
5455
|
checkedAt: z.ZodString;
|
|
@@ -5501,8 +5539,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5501
5539
|
}, z.core.$strip>>;
|
|
5502
5540
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5503
5541
|
result: z.ZodEnum<{
|
|
5504
|
-
SUCCESS: "SUCCESS";
|
|
5505
5542
|
FAILED: "FAILED";
|
|
5543
|
+
SUCCESS: "SUCCESS";
|
|
5506
5544
|
}>;
|
|
5507
5545
|
message: z.ZodNullable<z.ZodString>;
|
|
5508
5546
|
checkedAt: z.ZodString;
|
|
@@ -5538,8 +5576,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5538
5576
|
}, z.core.$strip>>;
|
|
5539
5577
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5540
5578
|
result: z.ZodEnum<{
|
|
5541
|
-
SUCCESS: "SUCCESS";
|
|
5542
5579
|
FAILED: "FAILED";
|
|
5580
|
+
SUCCESS: "SUCCESS";
|
|
5543
5581
|
}>;
|
|
5544
5582
|
message: z.ZodNullable<z.ZodString>;
|
|
5545
5583
|
checkedAt: z.ZodString;
|
|
@@ -5574,8 +5612,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5574
5612
|
}, z.core.$strip>>;
|
|
5575
5613
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5576
5614
|
result: z.ZodEnum<{
|
|
5577
|
-
SUCCESS: "SUCCESS";
|
|
5578
5615
|
FAILED: "FAILED";
|
|
5616
|
+
SUCCESS: "SUCCESS";
|
|
5579
5617
|
}>;
|
|
5580
5618
|
message: z.ZodNullable<z.ZodString>;
|
|
5581
5619
|
checkedAt: z.ZodString;
|
|
@@ -5631,8 +5669,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
5631
5669
|
LIVE: "LIVE";
|
|
5632
5670
|
}>;
|
|
5633
5671
|
result: z.ZodEnum<{
|
|
5634
|
-
SUCCESS: "SUCCESS";
|
|
5635
5672
|
FAILED: "FAILED";
|
|
5673
|
+
SUCCESS: "SUCCESS";
|
|
5636
5674
|
}>;
|
|
5637
5675
|
message: z.ZodNullable<z.ZodString>;
|
|
5638
5676
|
checkedAt: z.ZodString;
|
|
@@ -5762,8 +5800,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
5762
5800
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
5763
5801
|
*/
|
|
5764
5802
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
5765
|
-
PENDING: "PENDING";
|
|
5766
5803
|
FAILED: "FAILED";
|
|
5804
|
+
PENDING: "PENDING";
|
|
5767
5805
|
APPROVED: "APPROVED";
|
|
5768
5806
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5769
5807
|
REFUNDED: "REFUNDED";
|
|
@@ -5810,8 +5848,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
5810
5848
|
orderName: z.ZodString;
|
|
5811
5849
|
customerName: z.ZodString;
|
|
5812
5850
|
status: z.ZodEnum<{
|
|
5813
|
-
PENDING: "PENDING";
|
|
5814
5851
|
FAILED: "FAILED";
|
|
5852
|
+
PENDING: "PENDING";
|
|
5815
5853
|
APPROVED: "APPROVED";
|
|
5816
5854
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5817
5855
|
REFUNDED: "REFUNDED";
|
|
@@ -5857,8 +5895,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
5857
5895
|
orderName: z.ZodString;
|
|
5858
5896
|
customerName: z.ZodString;
|
|
5859
5897
|
status: z.ZodEnum<{
|
|
5860
|
-
PENDING: "PENDING";
|
|
5861
5898
|
FAILED: "FAILED";
|
|
5899
|
+
PENDING: "PENDING";
|
|
5862
5900
|
APPROVED: "APPROVED";
|
|
5863
5901
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5864
5902
|
REFUNDED: "REFUNDED";
|
|
@@ -5949,8 +5987,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
5949
5987
|
orderName: z.ZodString;
|
|
5950
5988
|
customerName: z.ZodString;
|
|
5951
5989
|
status: z.ZodEnum<{
|
|
5952
|
-
PENDING: "PENDING";
|
|
5953
5990
|
FAILED: "FAILED";
|
|
5991
|
+
PENDING: "PENDING";
|
|
5954
5992
|
APPROVED: "APPROVED";
|
|
5955
5993
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5956
5994
|
REFUNDED: "REFUNDED";
|
|
@@ -6275,11 +6313,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
6275
6313
|
export declare const pointLotSchema: z.ZodObject<{
|
|
6276
6314
|
lotId: z.ZodString;
|
|
6277
6315
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6316
|
+
PURCHASE: "PURCHASE";
|
|
6278
6317
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6279
6318
|
ADJUST: "ADJUST";
|
|
6280
6319
|
OPENING: "OPENING";
|
|
6281
6320
|
REVIEW: "REVIEW";
|
|
6282
|
-
PURCHASE: "PURCHASE";
|
|
6283
6321
|
}>, z.ZodString]>;
|
|
6284
6322
|
amount: z.ZodNumber;
|
|
6285
6323
|
remaining: z.ZodNumber;
|
|
@@ -6294,11 +6332,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
6294
6332
|
lots: z.ZodArray<z.ZodObject<{
|
|
6295
6333
|
lotId: z.ZodString;
|
|
6296
6334
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6335
|
+
PURCHASE: "PURCHASE";
|
|
6297
6336
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6298
6337
|
ADJUST: "ADJUST";
|
|
6299
6338
|
OPENING: "OPENING";
|
|
6300
6339
|
REVIEW: "REVIEW";
|
|
6301
|
-
PURCHASE: "PURCHASE";
|
|
6302
6340
|
}>, z.ZodString]>;
|
|
6303
6341
|
amount: z.ZodNumber;
|
|
6304
6342
|
remaining: z.ZodNumber;
|
|
@@ -6471,8 +6509,8 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
6471
6509
|
* 추가금순은 추가 선택 값이면 값의 추가금, 조합 값이면 그 값이 든 조합 추가금의 최솟값으로 비교하고 같으면 등록순이다.
|
|
6472
6510
|
*/
|
|
6473
6511
|
export declare const optionSortSchema: z.ZodEnum<{
|
|
6474
|
-
NAME: "NAME";
|
|
6475
6512
|
REGISTERED: "REGISTERED";
|
|
6513
|
+
NAME: "NAME";
|
|
6476
6514
|
PRICE_ASC: "PRICE_ASC";
|
|
6477
6515
|
PRICE_DESC: "PRICE_DESC";
|
|
6478
6516
|
}>;
|
|
@@ -6679,8 +6717,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6679
6717
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6680
6718
|
}, z.core.$strip>>>>;
|
|
6681
6719
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6682
|
-
NAME: "NAME";
|
|
6683
6720
|
REGISTERED: "REGISTERED";
|
|
6721
|
+
NAME: "NAME";
|
|
6684
6722
|
PRICE_ASC: "PRICE_ASC";
|
|
6685
6723
|
PRICE_DESC: "PRICE_DESC";
|
|
6686
6724
|
}>>>;
|
|
@@ -6688,8 +6726,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6688
6726
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6689
6727
|
shipping: z.ZodObject<{
|
|
6690
6728
|
deliveryType: z.ZodEnum<{
|
|
6691
|
-
FREE: "FREE";
|
|
6692
6729
|
PAID: "PAID";
|
|
6730
|
+
FREE: "FREE";
|
|
6693
6731
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6694
6732
|
}>;
|
|
6695
6733
|
deliveryFee: z.ZodNumber;
|
|
@@ -6839,8 +6877,8 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
6839
6877
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6840
6878
|
}, z.core.$strip>>>;
|
|
6841
6879
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
6842
|
-
NAME: "NAME";
|
|
6843
6880
|
REGISTERED: "REGISTERED";
|
|
6881
|
+
NAME: "NAME";
|
|
6844
6882
|
PRICE_ASC: "PRICE_ASC";
|
|
6845
6883
|
PRICE_DESC: "PRICE_DESC";
|
|
6846
6884
|
}>>;
|
|
@@ -6900,8 +6938,8 @@ export declare const optionModelSchema: z.ZodObject<{
|
|
|
6900
6938
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6901
6939
|
}, z.core.$strip>>>>;
|
|
6902
6940
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6903
|
-
NAME: "NAME";
|
|
6904
6941
|
REGISTERED: "REGISTERED";
|
|
6942
|
+
NAME: "NAME";
|
|
6905
6943
|
PRICE_ASC: "PRICE_ASC";
|
|
6906
6944
|
PRICE_DESC: "PRICE_DESC";
|
|
6907
6945
|
}>>>;
|
|
@@ -6932,8 +6970,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6932
6970
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6933
6971
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
6934
6972
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
6935
|
-
FREE: "FREE";
|
|
6936
6973
|
PAID: "PAID";
|
|
6974
|
+
FREE: "FREE";
|
|
6937
6975
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6938
6976
|
}>>;
|
|
6939
6977
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6942,16 +6980,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6942
6980
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6943
6981
|
}, z.core.$strict>>;
|
|
6944
6982
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6945
|
-
CARRIER: "CARRIER";
|
|
6946
6983
|
DIRECT: "DIRECT";
|
|
6984
|
+
CARRIER: "CARRIER";
|
|
6947
6985
|
PICKUP: "PICKUP";
|
|
6948
6986
|
PROVIDED: "PROVIDED";
|
|
6949
6987
|
}>>>;
|
|
6950
6988
|
}, z.core.$strict>, z.ZodObject<{
|
|
6951
6989
|
type: z.ZodLiteral<"MANUAL">;
|
|
6952
6990
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6953
|
-
CARRIER: "CARRIER";
|
|
6954
6991
|
DIRECT: "DIRECT";
|
|
6992
|
+
CARRIER: "CARRIER";
|
|
6955
6993
|
PICKUP: "PICKUP";
|
|
6956
6994
|
PROVIDED: "PROVIDED";
|
|
6957
6995
|
}>>>;
|
|
@@ -7013,8 +7051,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
7013
7051
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7014
7052
|
}, z.core.$strip>>>;
|
|
7015
7053
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7016
|
-
NAME: "NAME";
|
|
7017
7054
|
REGISTERED: "REGISTERED";
|
|
7055
|
+
NAME: "NAME";
|
|
7018
7056
|
PRICE_ASC: "PRICE_ASC";
|
|
7019
7057
|
PRICE_DESC: "PRICE_DESC";
|
|
7020
7058
|
}>>;
|
|
@@ -7046,8 +7084,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7046
7084
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7047
7085
|
shipping: z.ZodObject<{
|
|
7048
7086
|
deliveryType: z.ZodEnum<{
|
|
7049
|
-
FREE: "FREE";
|
|
7050
7087
|
PAID: "PAID";
|
|
7088
|
+
FREE: "FREE";
|
|
7051
7089
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7052
7090
|
}>;
|
|
7053
7091
|
deliveryFee: z.ZodNumber;
|
|
@@ -7056,16 +7094,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7056
7094
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7057
7095
|
}, z.core.$strict>;
|
|
7058
7096
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7059
|
-
CARRIER: "CARRIER";
|
|
7060
7097
|
DIRECT: "DIRECT";
|
|
7098
|
+
CARRIER: "CARRIER";
|
|
7061
7099
|
PICKUP: "PICKUP";
|
|
7062
7100
|
PROVIDED: "PROVIDED";
|
|
7063
7101
|
}>>>;
|
|
7064
7102
|
}, z.core.$strict>, z.ZodObject<{
|
|
7065
7103
|
type: z.ZodLiteral<"MANUAL">;
|
|
7066
7104
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7067
|
-
CARRIER: "CARRIER";
|
|
7068
7105
|
DIRECT: "DIRECT";
|
|
7106
|
+
CARRIER: "CARRIER";
|
|
7069
7107
|
PICKUP: "PICKUP";
|
|
7070
7108
|
PROVIDED: "PROVIDED";
|
|
7071
7109
|
}>>>;
|
|
@@ -7127,8 +7165,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7127
7165
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7128
7166
|
}, z.core.$strip>>>;
|
|
7129
7167
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7130
|
-
NAME: "NAME";
|
|
7131
7168
|
REGISTERED: "REGISTERED";
|
|
7169
|
+
NAME: "NAME";
|
|
7132
7170
|
PRICE_ASC: "PRICE_ASC";
|
|
7133
7171
|
PRICE_DESC: "PRICE_DESC";
|
|
7134
7172
|
}>>;
|
|
@@ -7169,8 +7207,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7169
7207
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7170
7208
|
shipping: z.ZodObject<{
|
|
7171
7209
|
deliveryType: z.ZodEnum<{
|
|
7172
|
-
FREE: "FREE";
|
|
7173
7210
|
PAID: "PAID";
|
|
7211
|
+
FREE: "FREE";
|
|
7174
7212
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7175
7213
|
}>;
|
|
7176
7214
|
deliveryFee: z.ZodNumber;
|
|
@@ -7179,16 +7217,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7179
7217
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7180
7218
|
}, z.core.$strict>;
|
|
7181
7219
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7182
|
-
CARRIER: "CARRIER";
|
|
7183
7220
|
DIRECT: "DIRECT";
|
|
7221
|
+
CARRIER: "CARRIER";
|
|
7184
7222
|
PICKUP: "PICKUP";
|
|
7185
7223
|
PROVIDED: "PROVIDED";
|
|
7186
7224
|
}>>>;
|
|
7187
7225
|
}, z.core.$strict>, z.ZodObject<{
|
|
7188
7226
|
type: z.ZodLiteral<"MANUAL">;
|
|
7189
7227
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7190
|
-
CARRIER: "CARRIER";
|
|
7191
7228
|
DIRECT: "DIRECT";
|
|
7229
|
+
CARRIER: "CARRIER";
|
|
7192
7230
|
PICKUP: "PICKUP";
|
|
7193
7231
|
PROVIDED: "PROVIDED";
|
|
7194
7232
|
}>>>;
|
|
@@ -7204,11 +7242,11 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7204
7242
|
}, z.core.$strict>;
|
|
7205
7243
|
export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
7206
7244
|
export declare const productSortSchema: z.ZodEnum<{
|
|
7207
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
7208
7245
|
"createdAt.desc": "createdAt.desc";
|
|
7209
7246
|
"createdAt.asc": "createdAt.asc";
|
|
7210
7247
|
"salePrice.asc": "salePrice.asc";
|
|
7211
7248
|
"salePrice.desc": "salePrice.desc";
|
|
7249
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
7212
7250
|
}>;
|
|
7213
7251
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
7214
7252
|
export interface ProductListParams extends PageParams {
|
|
@@ -7235,11 +7273,11 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
7235
7273
|
sellerCode: z.ZodOptional<z.ZodString>;
|
|
7236
7274
|
productNo: z.ZodOptional<z.ZodString>;
|
|
7237
7275
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
7238
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
7239
7276
|
"createdAt.desc": "createdAt.desc";
|
|
7240
7277
|
"createdAt.asc": "createdAt.asc";
|
|
7241
7278
|
"salePrice.asc": "salePrice.asc";
|
|
7242
7279
|
"salePrice.desc": "salePrice.desc";
|
|
7280
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
7243
7281
|
}>>;
|
|
7244
7282
|
}, z.core.$strip>;
|
|
7245
7283
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -7298,8 +7336,8 @@ export declare const savedOptionSetSchema: z.ZodObject<{
|
|
|
7298
7336
|
optionSetId: z.ZodString;
|
|
7299
7337
|
name: z.ZodString;
|
|
7300
7338
|
optionSort: z.ZodEnum<{
|
|
7301
|
-
NAME: "NAME";
|
|
7302
7339
|
REGISTERED: "REGISTERED";
|
|
7340
|
+
NAME: "NAME";
|
|
7303
7341
|
PRICE_ASC: "PRICE_ASC";
|
|
7304
7342
|
PRICE_DESC: "PRICE_DESC";
|
|
7305
7343
|
}>;
|
|
@@ -7366,8 +7404,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7366
7404
|
export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
7367
7405
|
name: z.ZodString;
|
|
7368
7406
|
optionSort: z.ZodDefault<z.ZodEnum<{
|
|
7369
|
-
NAME: "NAME";
|
|
7370
7407
|
REGISTERED: "REGISTERED";
|
|
7408
|
+
NAME: "NAME";
|
|
7371
7409
|
PRICE_ASC: "PRICE_ASC";
|
|
7372
7410
|
PRICE_DESC: "PRICE_DESC";
|
|
7373
7411
|
}>>;
|
|
@@ -7422,8 +7460,8 @@ export declare const savedOptionSetFromProductResultSchema: z.ZodObject<{
|
|
|
7422
7460
|
optionSetId: z.ZodString;
|
|
7423
7461
|
name: z.ZodString;
|
|
7424
7462
|
optionSort: z.ZodEnum<{
|
|
7425
|
-
NAME: "NAME";
|
|
7426
7463
|
REGISTERED: "REGISTERED";
|
|
7464
|
+
NAME: "NAME";
|
|
7427
7465
|
PRICE_ASC: "PRICE_ASC";
|
|
7428
7466
|
PRICE_DESC: "PRICE_DESC";
|
|
7429
7467
|
}>;
|
|
@@ -8010,8 +8048,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
8010
8048
|
*/
|
|
8011
8049
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
8012
8050
|
status: z.ZodEnum<{
|
|
8013
|
-
PENDING: "PENDING";
|
|
8014
8051
|
FAILED: "FAILED";
|
|
8052
|
+
PENDING: "PENDING";
|
|
8015
8053
|
SYNCED: "SYNCED";
|
|
8016
8054
|
}>;
|
|
8017
8055
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8091,8 +8129,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8091
8129
|
}, z.core.$strip>>;
|
|
8092
8130
|
provisioning: z.ZodObject<{
|
|
8093
8131
|
status: z.ZodEnum<{
|
|
8094
|
-
PENDING: "PENDING";
|
|
8095
8132
|
FAILED: "FAILED";
|
|
8133
|
+
PENDING: "PENDING";
|
|
8096
8134
|
SYNCED: "SYNCED";
|
|
8097
8135
|
}>;
|
|
8098
8136
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8171,8 +8209,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8171
8209
|
}, z.core.$strip>>;
|
|
8172
8210
|
provisioning: z.ZodObject<{
|
|
8173
8211
|
status: z.ZodEnum<{
|
|
8174
|
-
PENDING: "PENDING";
|
|
8175
8212
|
FAILED: "FAILED";
|
|
8213
|
+
PENDING: "PENDING";
|
|
8176
8214
|
SYNCED: "SYNCED";
|
|
8177
8215
|
}>;
|
|
8178
8216
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8214,8 +8252,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
8214
8252
|
PUBLISH: "PUBLISH";
|
|
8215
8253
|
}>;
|
|
8216
8254
|
status: z.ZodEnum<{
|
|
8217
|
-
PENDING: "PENDING";
|
|
8218
8255
|
FAILED: "FAILED";
|
|
8256
|
+
PENDING: "PENDING";
|
|
8219
8257
|
RUNNING: "RUNNING";
|
|
8220
8258
|
DONE: "DONE";
|
|
8221
8259
|
}>;
|
|
@@ -8236,8 +8274,8 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
8236
8274
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
8237
8275
|
siteId: z.ZodString;
|
|
8238
8276
|
status: z.ZodEnum<{
|
|
8239
|
-
FAILED: "FAILED";
|
|
8240
8277
|
SUCCEEDED: "SUCCEEDED";
|
|
8278
|
+
FAILED: "FAILED";
|
|
8241
8279
|
IN_PROGRESS: "IN_PROGRESS";
|
|
8242
8280
|
}>;
|
|
8243
8281
|
url: z.ZodString;
|
|
@@ -8250,8 +8288,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
8250
8288
|
PUBLISH: "PUBLISH";
|
|
8251
8289
|
}>;
|
|
8252
8290
|
status: z.ZodEnum<{
|
|
8253
|
-
PENDING: "PENDING";
|
|
8254
8291
|
FAILED: "FAILED";
|
|
8292
|
+
PENDING: "PENDING";
|
|
8255
8293
|
RUNNING: "RUNNING";
|
|
8256
8294
|
DONE: "DONE";
|
|
8257
8295
|
}>;
|
|
@@ -8371,8 +8409,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
8371
8409
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
8372
8410
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
8373
8411
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
8374
|
-
ACTIVE: "ACTIVE";
|
|
8375
8412
|
FAILED: "FAILED";
|
|
8413
|
+
ACTIVE: "ACTIVE";
|
|
8376
8414
|
PENDING_DNS: "PENDING_DNS";
|
|
8377
8415
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8378
8416
|
}>;
|
|
@@ -8398,8 +8436,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8398
8436
|
CUSTOM: "CUSTOM";
|
|
8399
8437
|
}>;
|
|
8400
8438
|
status: z.ZodEnum<{
|
|
8401
|
-
ACTIVE: "ACTIVE";
|
|
8402
8439
|
FAILED: "FAILED";
|
|
8440
|
+
ACTIVE: "ACTIVE";
|
|
8403
8441
|
PENDING_DNS: "PENDING_DNS";
|
|
8404
8442
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8405
8443
|
}>;
|
|
@@ -8417,9 +8455,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8417
8455
|
}>;
|
|
8418
8456
|
}, z.core.$strip>>;
|
|
8419
8457
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8420
|
-
ACTIVE: "ACTIVE";
|
|
8421
|
-
PENDING: "PENDING";
|
|
8422
8458
|
FAILED: "FAILED";
|
|
8459
|
+
PENDING: "PENDING";
|
|
8460
|
+
ACTIVE: "ACTIVE";
|
|
8423
8461
|
}>>;
|
|
8424
8462
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8425
8463
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8441,8 +8479,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8441
8479
|
CUSTOM: "CUSTOM";
|
|
8442
8480
|
}>;
|
|
8443
8481
|
status: z.ZodEnum<{
|
|
8444
|
-
ACTIVE: "ACTIVE";
|
|
8445
8482
|
FAILED: "FAILED";
|
|
8483
|
+
ACTIVE: "ACTIVE";
|
|
8446
8484
|
PENDING_DNS: "PENDING_DNS";
|
|
8447
8485
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8448
8486
|
}>;
|
|
@@ -8460,9 +8498,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8460
8498
|
}>;
|
|
8461
8499
|
}, z.core.$strip>>;
|
|
8462
8500
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8463
|
-
ACTIVE: "ACTIVE";
|
|
8464
|
-
PENDING: "PENDING";
|
|
8465
8501
|
FAILED: "FAILED";
|
|
8502
|
+
PENDING: "PENDING";
|
|
8503
|
+
ACTIVE: "ACTIVE";
|
|
8466
8504
|
}>>;
|
|
8467
8505
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8468
8506
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8795,8 +8833,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
8795
8833
|
}, z.core.$strip>;
|
|
8796
8834
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
8797
8835
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
8798
|
-
FAILED: "FAILED";
|
|
8799
8836
|
SUCCEEDED: "SUCCEEDED";
|
|
8837
|
+
FAILED: "FAILED";
|
|
8800
8838
|
RUNNING: "RUNNING";
|
|
8801
8839
|
QUEUED: "QUEUED";
|
|
8802
8840
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8863,8 +8901,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
8863
8901
|
versionId: z.ZodString;
|
|
8864
8902
|
versionNumber: z.ZodNumber;
|
|
8865
8903
|
status: z.ZodEnum<{
|
|
8866
|
-
FAILED: "FAILED";
|
|
8867
8904
|
SUCCEEDED: "SUCCEEDED";
|
|
8905
|
+
FAILED: "FAILED";
|
|
8868
8906
|
RUNNING: "RUNNING";
|
|
8869
8907
|
QUEUED: "QUEUED";
|
|
8870
8908
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8992,8 +9030,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
8992
9030
|
versionId: z.ZodString;
|
|
8993
9031
|
versionNumber: z.ZodNumber;
|
|
8994
9032
|
status: z.ZodEnum<{
|
|
8995
|
-
FAILED: "FAILED";
|
|
8996
9033
|
SUCCEEDED: "SUCCEEDED";
|
|
9034
|
+
FAILED: "FAILED";
|
|
8997
9035
|
RUNNING: "RUNNING";
|
|
8998
9036
|
QUEUED: "QUEUED";
|
|
8999
9037
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -9538,11 +9576,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9538
9576
|
type?: string | undefined;
|
|
9539
9577
|
options?: string[] | null | undefined;
|
|
9540
9578
|
}[];
|
|
9541
|
-
optionSort: "
|
|
9579
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9542
9580
|
fulfillment: UnknownFulfillment | {
|
|
9543
9581
|
type: "SHIPPING";
|
|
9544
9582
|
shipping: {
|
|
9545
|
-
deliveryType: "
|
|
9583
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9546
9584
|
deliveryFee: number;
|
|
9547
9585
|
conditionalFreeAmount: number | null;
|
|
9548
9586
|
shippingAddressId: string | null;
|
|
@@ -9646,11 +9684,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9646
9684
|
type?: string | undefined;
|
|
9647
9685
|
options?: string[] | null | undefined;
|
|
9648
9686
|
}[];
|
|
9649
|
-
optionSort: "
|
|
9687
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9650
9688
|
fulfillment: UnknownFulfillment | {
|
|
9651
9689
|
type: "SHIPPING";
|
|
9652
9690
|
shipping: {
|
|
9653
|
-
deliveryType: "
|
|
9691
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9654
9692
|
deliveryFee: number;
|
|
9655
9693
|
conditionalFreeAmount: number | null;
|
|
9656
9694
|
shippingAddressId: string | null;
|
|
@@ -9754,11 +9792,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9754
9792
|
type?: string | undefined;
|
|
9755
9793
|
options?: string[] | null | undefined;
|
|
9756
9794
|
}[];
|
|
9757
|
-
optionSort: "
|
|
9795
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9758
9796
|
fulfillment: UnknownFulfillment | {
|
|
9759
9797
|
type: "SHIPPING";
|
|
9760
9798
|
shipping: {
|
|
9761
|
-
deliveryType: "
|
|
9799
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
9762
9800
|
deliveryFee: number;
|
|
9763
9801
|
conditionalFreeAmount: number | null;
|
|
9764
9802
|
shippingAddressId: string | null;
|
|
@@ -9864,7 +9902,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9864
9902
|
type?: string | undefined;
|
|
9865
9903
|
options?: string[] | null | undefined;
|
|
9866
9904
|
}[];
|
|
9867
|
-
optionSort: "
|
|
9905
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9868
9906
|
}>;
|
|
9869
9907
|
/**
|
|
9870
9908
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -9922,7 +9960,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9922
9960
|
type?: string | undefined;
|
|
9923
9961
|
options?: string[] | null | undefined;
|
|
9924
9962
|
}[];
|
|
9925
|
-
optionSort: "
|
|
9963
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9926
9964
|
}>;
|
|
9927
9965
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
9928
9966
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -9971,7 +10009,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9971
10009
|
contents: {
|
|
9972
10010
|
optionSetId: string;
|
|
9973
10011
|
name: string;
|
|
9974
|
-
optionSort: "
|
|
10012
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
9975
10013
|
groups: {
|
|
9976
10014
|
name: string;
|
|
9977
10015
|
kind: string;
|
|
@@ -9998,7 +10036,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9998
10036
|
get: (optionSetId: string) => Promise<{
|
|
9999
10037
|
optionSetId: string;
|
|
10000
10038
|
name: string;
|
|
10001
|
-
optionSort: "
|
|
10039
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10002
10040
|
groups: {
|
|
10003
10041
|
name: string;
|
|
10004
10042
|
kind: string;
|
|
@@ -10025,7 +10063,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10025
10063
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
10026
10064
|
optionSetId: string;
|
|
10027
10065
|
name: string;
|
|
10028
|
-
optionSort: "
|
|
10066
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10029
10067
|
groups: {
|
|
10030
10068
|
name: string;
|
|
10031
10069
|
kind: string;
|
|
@@ -10052,7 +10090,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10052
10090
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
10053
10091
|
optionSetId: string;
|
|
10054
10092
|
name: string;
|
|
10055
|
-
optionSort: "
|
|
10093
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10056
10094
|
groups: {
|
|
10057
10095
|
name: string;
|
|
10058
10096
|
kind: string;
|
|
@@ -10081,7 +10119,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10081
10119
|
optionSet: {
|
|
10082
10120
|
optionSetId: string;
|
|
10083
10121
|
name: string;
|
|
10084
|
-
optionSort: "
|
|
10122
|
+
optionSort: "REGISTERED" | "NAME" | "PRICE_ASC" | "PRICE_DESC";
|
|
10085
10123
|
groups: {
|
|
10086
10124
|
name: string;
|
|
10087
10125
|
kind: string;
|
|
@@ -10140,7 +10178,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10140
10178
|
value: true;
|
|
10141
10179
|
} | {
|
|
10142
10180
|
field: "bestSelling";
|
|
10143
|
-
days:
|
|
10181
|
+
days: 7 | 30 | 90;
|
|
10144
10182
|
top: number;
|
|
10145
10183
|
} | {
|
|
10146
10184
|
[x: string]: unknown;
|
|
@@ -10190,7 +10228,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10190
10228
|
value: true;
|
|
10191
10229
|
} | {
|
|
10192
10230
|
field: "bestSelling";
|
|
10193
|
-
days:
|
|
10231
|
+
days: 7 | 30 | 90;
|
|
10194
10232
|
top: number;
|
|
10195
10233
|
} | {
|
|
10196
10234
|
[x: string]: unknown;
|
|
@@ -10233,7 +10271,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10233
10271
|
value: true;
|
|
10234
10272
|
} | {
|
|
10235
10273
|
field: "bestSelling";
|
|
10236
|
-
days:
|
|
10274
|
+
days: 7 | 30 | 90;
|
|
10237
10275
|
top: number;
|
|
10238
10276
|
} | {
|
|
10239
10277
|
[x: string]: unknown;
|
|
@@ -10275,7 +10313,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10275
10313
|
value: true;
|
|
10276
10314
|
} | {
|
|
10277
10315
|
field: "bestSelling";
|
|
10278
|
-
days:
|
|
10316
|
+
days: 7 | 30 | 90;
|
|
10279
10317
|
top: number;
|
|
10280
10318
|
} | {
|
|
10281
10319
|
[x: string]: unknown;
|
|
@@ -10338,7 +10376,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10338
10376
|
value: true;
|
|
10339
10377
|
} | {
|
|
10340
10378
|
field: "bestSelling";
|
|
10341
|
-
days:
|
|
10379
|
+
days: 7 | 30 | 90;
|
|
10342
10380
|
top: number;
|
|
10343
10381
|
} | {
|
|
10344
10382
|
[x: string]: unknown;
|
|
@@ -10381,7 +10419,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10381
10419
|
value: true;
|
|
10382
10420
|
} | {
|
|
10383
10421
|
field: "bestSelling";
|
|
10384
|
-
days:
|
|
10422
|
+
days: 7 | 30 | 90;
|
|
10385
10423
|
top: number;
|
|
10386
10424
|
} | {
|
|
10387
10425
|
[x: string]: unknown;
|
|
@@ -10432,7 +10470,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10432
10470
|
visible: boolean;
|
|
10433
10471
|
showPc: boolean;
|
|
10434
10472
|
showMobile: boolean;
|
|
10435
|
-
productSort: "
|
|
10473
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10436
10474
|
metaTitle: string | null;
|
|
10437
10475
|
metaDescription: string | null;
|
|
10438
10476
|
metaKeywords: string | null;
|
|
@@ -10453,7 +10491,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10453
10491
|
visible: boolean;
|
|
10454
10492
|
showPc: boolean;
|
|
10455
10493
|
showMobile: boolean;
|
|
10456
|
-
productSort: "
|
|
10494
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10457
10495
|
metaTitle: string | null;
|
|
10458
10496
|
metaDescription: string | null;
|
|
10459
10497
|
metaKeywords: string | null;
|
|
@@ -10472,7 +10510,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10472
10510
|
visible: boolean;
|
|
10473
10511
|
showPc: boolean;
|
|
10474
10512
|
showMobile: boolean;
|
|
10475
|
-
productSort: "
|
|
10513
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10476
10514
|
metaTitle: string | null;
|
|
10477
10515
|
metaDescription: string | null;
|
|
10478
10516
|
metaKeywords: string | null;
|
|
@@ -10494,7 +10532,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10494
10532
|
visible: boolean;
|
|
10495
10533
|
showPc: boolean;
|
|
10496
10534
|
showMobile: boolean;
|
|
10497
|
-
productSort: "
|
|
10535
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10498
10536
|
metaTitle: string | null;
|
|
10499
10537
|
metaDescription: string | null;
|
|
10500
10538
|
metaKeywords: string | null;
|
|
@@ -10513,7 +10551,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10513
10551
|
visible: boolean;
|
|
10514
10552
|
showPc: boolean;
|
|
10515
10553
|
showMobile: boolean;
|
|
10516
|
-
productSort: "
|
|
10554
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10517
10555
|
metaTitle: string | null;
|
|
10518
10556
|
metaDescription: string | null;
|
|
10519
10557
|
metaKeywords: string | null;
|
|
@@ -10544,7 +10582,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10544
10582
|
visible: boolean;
|
|
10545
10583
|
showPc: boolean;
|
|
10546
10584
|
showMobile: boolean;
|
|
10547
|
-
productSort: "
|
|
10585
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10548
10586
|
metaTitle: string | null;
|
|
10549
10587
|
metaDescription: string | null;
|
|
10550
10588
|
metaKeywords: string | null;
|
|
@@ -10564,7 +10602,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10564
10602
|
visible: boolean;
|
|
10565
10603
|
showPc: boolean;
|
|
10566
10604
|
showMobile: boolean;
|
|
10567
|
-
productSort: "
|
|
10605
|
+
productSort: "NAME" | "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH";
|
|
10568
10606
|
metaTitle: string | null;
|
|
10569
10607
|
metaDescription: string | null;
|
|
10570
10608
|
metaKeywords: string | null;
|
|
@@ -11155,6 +11193,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11155
11193
|
message?: string | undefined;
|
|
11156
11194
|
deadlineAt?: string | undefined;
|
|
11157
11195
|
attachments?: string[] | undefined;
|
|
11196
|
+
earlierAttachments?: string[] | undefined;
|
|
11158
11197
|
inputs?: {
|
|
11159
11198
|
by: string;
|
|
11160
11199
|
values: {
|
|
@@ -11185,7 +11224,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11185
11224
|
placeholder?: string | undefined;
|
|
11186
11225
|
maxLength?: number | undefined;
|
|
11187
11226
|
maxFiles?: number | undefined;
|
|
11188
|
-
options?: (string | number
|
|
11227
|
+
options?: (string | number | {
|
|
11228
|
+
value: string;
|
|
11229
|
+
label: string;
|
|
11230
|
+
})[] | undefined;
|
|
11231
|
+
when?: {
|
|
11232
|
+
key: string;
|
|
11233
|
+
in: string[];
|
|
11234
|
+
} | undefined;
|
|
11189
11235
|
}[] | undefined;
|
|
11190
11236
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11191
11237
|
}[];
|
|
@@ -11210,6 +11256,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11210
11256
|
message?: string | undefined;
|
|
11211
11257
|
deadlineAt?: string | undefined;
|
|
11212
11258
|
attachments?: string[] | undefined;
|
|
11259
|
+
earlierAttachments?: string[] | undefined;
|
|
11213
11260
|
inputs?: {
|
|
11214
11261
|
by: string;
|
|
11215
11262
|
values: {
|
|
@@ -11238,6 +11285,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11238
11285
|
message?: string | undefined;
|
|
11239
11286
|
deadlineAt?: string | undefined;
|
|
11240
11287
|
attachments?: string[] | undefined;
|
|
11288
|
+
earlierAttachments?: string[] | undefined;
|
|
11241
11289
|
inputs?: {
|
|
11242
11290
|
by: string;
|
|
11243
11291
|
values: {
|
|
@@ -11268,7 +11316,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11268
11316
|
placeholder?: string | undefined;
|
|
11269
11317
|
maxLength?: number | undefined;
|
|
11270
11318
|
maxFiles?: number | undefined;
|
|
11271
|
-
options?: (string | number
|
|
11319
|
+
options?: (string | number | {
|
|
11320
|
+
value: string;
|
|
11321
|
+
label: string;
|
|
11322
|
+
})[] | undefined;
|
|
11323
|
+
when?: {
|
|
11324
|
+
key: string;
|
|
11325
|
+
in: string[];
|
|
11326
|
+
} | undefined;
|
|
11272
11327
|
}[] | undefined;
|
|
11273
11328
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11274
11329
|
}[];
|
|
@@ -11290,6 +11345,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11290
11345
|
message?: string | undefined;
|
|
11291
11346
|
deadlineAt?: string | undefined;
|
|
11292
11347
|
attachments?: string[] | undefined;
|
|
11348
|
+
earlierAttachments?: string[] | undefined;
|
|
11293
11349
|
inputs?: {
|
|
11294
11350
|
by: string;
|
|
11295
11351
|
values: {
|
|
@@ -11320,7 +11376,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11320
11376
|
placeholder?: string | undefined;
|
|
11321
11377
|
maxLength?: number | undefined;
|
|
11322
11378
|
maxFiles?: number | undefined;
|
|
11323
|
-
options?: (string | number
|
|
11379
|
+
options?: (string | number | {
|
|
11380
|
+
value: string;
|
|
11381
|
+
label: string;
|
|
11382
|
+
})[] | undefined;
|
|
11383
|
+
when?: {
|
|
11384
|
+
key: string;
|
|
11385
|
+
in: string[];
|
|
11386
|
+
} | undefined;
|
|
11324
11387
|
}[] | undefined;
|
|
11325
11388
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11326
11389
|
}[];
|
|
@@ -11342,6 +11405,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11342
11405
|
message?: string | undefined;
|
|
11343
11406
|
deadlineAt?: string | undefined;
|
|
11344
11407
|
attachments?: string[] | undefined;
|
|
11408
|
+
earlierAttachments?: string[] | undefined;
|
|
11345
11409
|
inputs?: {
|
|
11346
11410
|
by: string;
|
|
11347
11411
|
values: {
|
|
@@ -11372,7 +11436,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11372
11436
|
placeholder?: string | undefined;
|
|
11373
11437
|
maxLength?: number | undefined;
|
|
11374
11438
|
maxFiles?: number | undefined;
|
|
11375
|
-
options?: (string | number
|
|
11439
|
+
options?: (string | number | {
|
|
11440
|
+
value: string;
|
|
11441
|
+
label: string;
|
|
11442
|
+
})[] | undefined;
|
|
11443
|
+
when?: {
|
|
11444
|
+
key: string;
|
|
11445
|
+
in: string[];
|
|
11446
|
+
} | undefined;
|
|
11376
11447
|
}[] | undefined;
|
|
11377
11448
|
partialQuantity?: boolean | "UNIT" | undefined;
|
|
11378
11449
|
}[];
|
|
@@ -12785,7 +12856,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12785
12856
|
conversionRate: number | null;
|
|
12786
12857
|
};
|
|
12787
12858
|
funnel: {
|
|
12788
|
-
step: "
|
|
12859
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
12789
12860
|
sessions: number;
|
|
12790
12861
|
rateFromPrevious: number | null;
|
|
12791
12862
|
}[];
|
|
@@ -12839,9 +12910,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12839
12910
|
}>;
|
|
12840
12911
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
12841
12912
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
12842
|
-
groupBy: "
|
|
12913
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
12843
12914
|
rows: {
|
|
12844
|
-
channel: "
|
|
12915
|
+
channel: "UNKNOWN" | "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | null;
|
|
12845
12916
|
source: string | null;
|
|
12846
12917
|
medium: string | null;
|
|
12847
12918
|
campaign: string | null;
|
|
@@ -12946,7 +13017,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12946
13017
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
12947
13018
|
sessions: number;
|
|
12948
13019
|
outcomes: {
|
|
12949
|
-
outcome: "
|
|
13020
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
12950
13021
|
sessions: number;
|
|
12951
13022
|
}[];
|
|
12952
13023
|
from: string;
|
|
@@ -12976,7 +13047,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12976
13047
|
orderId: string | null;
|
|
12977
13048
|
orderName: string;
|
|
12978
13049
|
customerName: string;
|
|
12979
|
-
status: "
|
|
13050
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
12980
13051
|
amount: number;
|
|
12981
13052
|
refundedAmount: number;
|
|
12982
13053
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -13001,7 +13072,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13001
13072
|
orderId: string | null;
|
|
13002
13073
|
orderName: string;
|
|
13003
13074
|
customerName: string;
|
|
13004
|
-
status: "
|
|
13075
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13005
13076
|
amount: number;
|
|
13006
13077
|
refundedAmount: number;
|
|
13007
13078
|
provider: "tosspayments" | "portone" | null;
|
|
@@ -13103,7 +13174,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13103
13174
|
masked: string | null;
|
|
13104
13175
|
}[];
|
|
13105
13176
|
lastVerification: {
|
|
13106
|
-
result: "
|
|
13177
|
+
result: "FAILED" | "SUCCESS";
|
|
13107
13178
|
message: string | null;
|
|
13108
13179
|
checkedAt: string;
|
|
13109
13180
|
} | null;
|
|
@@ -13128,7 +13199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13128
13199
|
masked: string | null;
|
|
13129
13200
|
}[];
|
|
13130
13201
|
lastVerification: {
|
|
13131
|
-
result: "
|
|
13202
|
+
result: "FAILED" | "SUCCESS";
|
|
13132
13203
|
message: string | null;
|
|
13133
13204
|
checkedAt: string;
|
|
13134
13205
|
} | null;
|
|
@@ -13152,7 +13223,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13152
13223
|
masked: string | null;
|
|
13153
13224
|
}[];
|
|
13154
13225
|
lastVerification: {
|
|
13155
|
-
result: "
|
|
13226
|
+
result: "FAILED" | "SUCCESS";
|
|
13156
13227
|
message: string | null;
|
|
13157
13228
|
checkedAt: string;
|
|
13158
13229
|
} | null;
|
|
@@ -13213,7 +13284,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13213
13284
|
masked: string | null;
|
|
13214
13285
|
}[];
|
|
13215
13286
|
lastVerification: {
|
|
13216
|
-
result: "
|
|
13287
|
+
result: "FAILED" | "SUCCESS";
|
|
13217
13288
|
message: string | null;
|
|
13218
13289
|
checkedAt: string;
|
|
13219
13290
|
} | null;
|
|
@@ -13238,7 +13309,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13238
13309
|
masked: string | null;
|
|
13239
13310
|
}[];
|
|
13240
13311
|
lastVerification: {
|
|
13241
|
-
result: "
|
|
13312
|
+
result: "FAILED" | "SUCCESS";
|
|
13242
13313
|
message: string | null;
|
|
13243
13314
|
checkedAt: string;
|
|
13244
13315
|
} | null;
|
|
@@ -13262,7 +13333,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13262
13333
|
masked: string | null;
|
|
13263
13334
|
}[];
|
|
13264
13335
|
lastVerification: {
|
|
13265
|
-
result: "
|
|
13336
|
+
result: "FAILED" | "SUCCESS";
|
|
13266
13337
|
message: string | null;
|
|
13267
13338
|
checkedAt: string;
|
|
13268
13339
|
} | null;
|
|
@@ -13328,7 +13399,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13328
13399
|
masked: string | null;
|
|
13329
13400
|
}[];
|
|
13330
13401
|
lastVerification: {
|
|
13331
|
-
result: "
|
|
13402
|
+
result: "FAILED" | "SUCCESS";
|
|
13332
13403
|
message: string | null;
|
|
13333
13404
|
checkedAt: string;
|
|
13334
13405
|
} | null;
|
|
@@ -13353,7 +13424,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13353
13424
|
masked: string | null;
|
|
13354
13425
|
}[];
|
|
13355
13426
|
lastVerification: {
|
|
13356
|
-
result: "
|
|
13427
|
+
result: "FAILED" | "SUCCESS";
|
|
13357
13428
|
message: string | null;
|
|
13358
13429
|
checkedAt: string;
|
|
13359
13430
|
} | null;
|
|
@@ -13377,7 +13448,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13377
13448
|
masked: string | null;
|
|
13378
13449
|
}[];
|
|
13379
13450
|
lastVerification: {
|
|
13380
|
-
result: "
|
|
13451
|
+
result: "FAILED" | "SUCCESS";
|
|
13381
13452
|
message: string | null;
|
|
13382
13453
|
checkedAt: string;
|
|
13383
13454
|
} | null;
|
|
@@ -13424,7 +13495,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13424
13495
|
masked: string | null;
|
|
13425
13496
|
}[];
|
|
13426
13497
|
lastVerification: {
|
|
13427
|
-
result: "
|
|
13498
|
+
result: "FAILED" | "SUCCESS";
|
|
13428
13499
|
message: string | null;
|
|
13429
13500
|
checkedAt: string;
|
|
13430
13501
|
} | null;
|
|
@@ -13449,7 +13520,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13449
13520
|
masked: string | null;
|
|
13450
13521
|
}[];
|
|
13451
13522
|
lastVerification: {
|
|
13452
|
-
result: "
|
|
13523
|
+
result: "FAILED" | "SUCCESS";
|
|
13453
13524
|
message: string | null;
|
|
13454
13525
|
checkedAt: string;
|
|
13455
13526
|
} | null;
|
|
@@ -13473,7 +13544,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13473
13544
|
masked: string | null;
|
|
13474
13545
|
}[];
|
|
13475
13546
|
lastVerification: {
|
|
13476
|
-
result: "
|
|
13547
|
+
result: "FAILED" | "SUCCESS";
|
|
13477
13548
|
message: string | null;
|
|
13478
13549
|
checkedAt: string;
|
|
13479
13550
|
} | null;
|
|
@@ -13530,7 +13601,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13530
13601
|
masked: string | null;
|
|
13531
13602
|
}[];
|
|
13532
13603
|
lastVerification: {
|
|
13533
|
-
result: "
|
|
13604
|
+
result: "FAILED" | "SUCCESS";
|
|
13534
13605
|
message: string | null;
|
|
13535
13606
|
checkedAt: string;
|
|
13536
13607
|
} | null;
|
|
@@ -13555,7 +13626,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13555
13626
|
masked: string | null;
|
|
13556
13627
|
}[];
|
|
13557
13628
|
lastVerification: {
|
|
13558
|
-
result: "
|
|
13629
|
+
result: "FAILED" | "SUCCESS";
|
|
13559
13630
|
message: string | null;
|
|
13560
13631
|
checkedAt: string;
|
|
13561
13632
|
} | null;
|
|
@@ -13579,7 +13650,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13579
13650
|
masked: string | null;
|
|
13580
13651
|
}[];
|
|
13581
13652
|
lastVerification: {
|
|
13582
|
-
result: "
|
|
13653
|
+
result: "FAILED" | "SUCCESS";
|
|
13583
13654
|
message: string | null;
|
|
13584
13655
|
checkedAt: string;
|
|
13585
13656
|
} | null;
|
|
@@ -13626,7 +13697,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13626
13697
|
masked: string | null;
|
|
13627
13698
|
}[];
|
|
13628
13699
|
lastVerification: {
|
|
13629
|
-
result: "
|
|
13700
|
+
result: "FAILED" | "SUCCESS";
|
|
13630
13701
|
message: string | null;
|
|
13631
13702
|
checkedAt: string;
|
|
13632
13703
|
} | null;
|
|
@@ -13651,7 +13722,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13651
13722
|
masked: string | null;
|
|
13652
13723
|
}[];
|
|
13653
13724
|
lastVerification: {
|
|
13654
|
-
result: "
|
|
13725
|
+
result: "FAILED" | "SUCCESS";
|
|
13655
13726
|
message: string | null;
|
|
13656
13727
|
checkedAt: string;
|
|
13657
13728
|
} | null;
|
|
@@ -13675,7 +13746,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13675
13746
|
masked: string | null;
|
|
13676
13747
|
}[];
|
|
13677
13748
|
lastVerification: {
|
|
13678
|
-
result: "
|
|
13749
|
+
result: "FAILED" | "SUCCESS";
|
|
13679
13750
|
message: string | null;
|
|
13680
13751
|
checkedAt: string;
|
|
13681
13752
|
} | null;
|
|
@@ -13731,7 +13802,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13731
13802
|
masked: string | null;
|
|
13732
13803
|
}[];
|
|
13733
13804
|
lastVerification: {
|
|
13734
|
-
result: "
|
|
13805
|
+
result: "FAILED" | "SUCCESS";
|
|
13735
13806
|
message: string | null;
|
|
13736
13807
|
checkedAt: string;
|
|
13737
13808
|
} | null;
|
|
@@ -13756,7 +13827,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13756
13827
|
masked: string | null;
|
|
13757
13828
|
}[];
|
|
13758
13829
|
lastVerification: {
|
|
13759
|
-
result: "
|
|
13830
|
+
result: "FAILED" | "SUCCESS";
|
|
13760
13831
|
message: string | null;
|
|
13761
13832
|
checkedAt: string;
|
|
13762
13833
|
} | null;
|
|
@@ -13780,7 +13851,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13780
13851
|
masked: string | null;
|
|
13781
13852
|
}[];
|
|
13782
13853
|
lastVerification: {
|
|
13783
|
-
result: "
|
|
13854
|
+
result: "FAILED" | "SUCCESS";
|
|
13784
13855
|
message: string | null;
|
|
13785
13856
|
checkedAt: string;
|
|
13786
13857
|
} | null;
|
|
@@ -13808,7 +13879,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13808
13879
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
13809
13880
|
provider: "tosspayments" | "portone";
|
|
13810
13881
|
environment: "TEST" | "LIVE";
|
|
13811
|
-
result: "
|
|
13882
|
+
result: "FAILED" | "SUCCESS";
|
|
13812
13883
|
message: string | null;
|
|
13813
13884
|
checkedAt: string;
|
|
13814
13885
|
}>;
|
|
@@ -13874,7 +13945,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13874
13945
|
eventId: string;
|
|
13875
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";
|
|
13876
13947
|
url: string;
|
|
13877
|
-
status: "
|
|
13948
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13878
13949
|
responseStatusCode: number | null;
|
|
13879
13950
|
responseTimeMs: number | null;
|
|
13880
13951
|
responseBodyExcerpt: string | null;
|
|
@@ -13901,7 +13972,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13901
13972
|
eventId: string;
|
|
13902
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";
|
|
13903
13974
|
url: string;
|
|
13904
|
-
status: "
|
|
13975
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13905
13976
|
responseStatusCode: number | null;
|
|
13906
13977
|
responseTimeMs: number | null;
|
|
13907
13978
|
responseBodyExcerpt: string | null;
|
|
@@ -13936,7 +14007,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13936
14007
|
eventId: string;
|
|
13937
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";
|
|
13938
14009
|
url: string;
|
|
13939
|
-
status: "
|
|
14010
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
13940
14011
|
responseStatusCode: number | null;
|
|
13941
14012
|
responseTimeMs: number | null;
|
|
13942
14013
|
responseBodyExcerpt: string | null;
|
|
@@ -14032,7 +14103,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14032
14103
|
method: string | null;
|
|
14033
14104
|
path: string | null;
|
|
14034
14105
|
statusCode: number | null;
|
|
14035
|
-
outcome: "
|
|
14106
|
+
outcome: "SUCCEEDED" | "FAILED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
14036
14107
|
errorCode: string | null;
|
|
14037
14108
|
traceId: string | null;
|
|
14038
14109
|
idempotencyKey: string | null;
|
|
@@ -14050,7 +14121,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14050
14121
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
14051
14122
|
items: {
|
|
14052
14123
|
approvalId: string;
|
|
14053
|
-
status: "
|
|
14124
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14054
14125
|
operationId: string;
|
|
14055
14126
|
method: string;
|
|
14056
14127
|
path: string;
|
|
@@ -14076,6 +14147,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14076
14147
|
after: unknown;
|
|
14077
14148
|
}[];
|
|
14078
14149
|
facts: Record<string, string | number | boolean | null>;
|
|
14150
|
+
targetName?: string | null | undefined;
|
|
14079
14151
|
} | null;
|
|
14080
14152
|
createdAt: string;
|
|
14081
14153
|
expiresAt: string;
|
|
@@ -14095,12 +14167,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14095
14167
|
} | null;
|
|
14096
14168
|
} | null;
|
|
14097
14169
|
approvalUrl: string | null;
|
|
14170
|
+
operationName?: string | null | undefined;
|
|
14098
14171
|
}[];
|
|
14099
14172
|
nextCursor: string | null;
|
|
14100
14173
|
}>;
|
|
14101
14174
|
get: (approvalId: string) => Promise<{
|
|
14102
14175
|
approvalId: string;
|
|
14103
|
-
status: "
|
|
14176
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14104
14177
|
operationId: string;
|
|
14105
14178
|
method: string;
|
|
14106
14179
|
path: string;
|
|
@@ -14126,6 +14199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14126
14199
|
after: unknown;
|
|
14127
14200
|
}[];
|
|
14128
14201
|
facts: Record<string, string | number | boolean | null>;
|
|
14202
|
+
targetName?: string | null | undefined;
|
|
14129
14203
|
} | null;
|
|
14130
14204
|
createdAt: string;
|
|
14131
14205
|
expiresAt: string;
|
|
@@ -14145,6 +14219,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14145
14219
|
} | null;
|
|
14146
14220
|
} | null;
|
|
14147
14221
|
approvalUrl: string | null;
|
|
14222
|
+
operationName?: string | null | undefined;
|
|
14148
14223
|
}>;
|
|
14149
14224
|
/**
|
|
14150
14225
|
* 승인하면 서버가 원 요청을 그대로 한 번 실행한다. 응답은 실행을 기다리지 않은 `EXECUTING` 상태이고,
|
|
@@ -14152,7 +14227,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14152
14227
|
*/
|
|
14153
14228
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14154
14229
|
approvalId: string;
|
|
14155
|
-
status: "
|
|
14230
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14156
14231
|
operationId: string;
|
|
14157
14232
|
method: string;
|
|
14158
14233
|
path: string;
|
|
@@ -14178,6 +14253,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14178
14253
|
after: unknown;
|
|
14179
14254
|
}[];
|
|
14180
14255
|
facts: Record<string, string | number | boolean | null>;
|
|
14256
|
+
targetName?: string | null | undefined;
|
|
14181
14257
|
} | null;
|
|
14182
14258
|
createdAt: string;
|
|
14183
14259
|
expiresAt: string;
|
|
@@ -14197,10 +14273,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14197
14273
|
} | null;
|
|
14198
14274
|
} | null;
|
|
14199
14275
|
approvalUrl: string | null;
|
|
14276
|
+
operationName?: string | null | undefined;
|
|
14200
14277
|
}>;
|
|
14201
14278
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14202
14279
|
approvalId: string;
|
|
14203
|
-
status: "
|
|
14280
|
+
status: "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14204
14281
|
operationId: string;
|
|
14205
14282
|
method: string;
|
|
14206
14283
|
path: string;
|
|
@@ -14226,6 +14303,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14226
14303
|
after: unknown;
|
|
14227
14304
|
}[];
|
|
14228
14305
|
facts: Record<string, string | number | boolean | null>;
|
|
14306
|
+
targetName?: string | null | undefined;
|
|
14229
14307
|
} | null;
|
|
14230
14308
|
createdAt: string;
|
|
14231
14309
|
expiresAt: string;
|
|
@@ -14245,6 +14323,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14245
14323
|
} | null;
|
|
14246
14324
|
} | null;
|
|
14247
14325
|
approvalUrl: string | null;
|
|
14326
|
+
operationName?: string | null | undefined;
|
|
14248
14327
|
}>;
|
|
14249
14328
|
};
|
|
14250
14329
|
reviews: {
|
|
@@ -14402,7 +14481,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14402
14481
|
createdVia?: string | null | undefined;
|
|
14403
14482
|
} | null;
|
|
14404
14483
|
provisioning: {
|
|
14405
|
-
status: "
|
|
14484
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14406
14485
|
lastErrorCode: string | null;
|
|
14407
14486
|
syncedAt: string | null;
|
|
14408
14487
|
};
|
|
@@ -14460,7 +14539,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14460
14539
|
createdVia?: string | null | undefined;
|
|
14461
14540
|
} | null;
|
|
14462
14541
|
provisioning: {
|
|
14463
|
-
status: "
|
|
14542
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14464
14543
|
lastErrorCode: string | null;
|
|
14465
14544
|
syncedAt: string | null;
|
|
14466
14545
|
};
|
|
@@ -14478,13 +14557,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14478
14557
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
14479
14558
|
getDeployment: () => Promise<{
|
|
14480
14559
|
siteId: string;
|
|
14481
|
-
status: "
|
|
14560
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
14482
14561
|
url: string;
|
|
14483
14562
|
startedAt: string;
|
|
14484
14563
|
finishedAt: string | null;
|
|
14485
14564
|
steps: {
|
|
14486
14565
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14487
|
-
status: "
|
|
14566
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
14488
14567
|
finishedAt: string | null;
|
|
14489
14568
|
}[];
|
|
14490
14569
|
log: {
|
|
@@ -14500,13 +14579,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14500
14579
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
14501
14580
|
retryDeployment: () => Promise<{
|
|
14502
14581
|
siteId: string;
|
|
14503
|
-
status: "
|
|
14582
|
+
status: "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
14504
14583
|
url: string;
|
|
14505
14584
|
startedAt: string;
|
|
14506
14585
|
finishedAt: string | null;
|
|
14507
14586
|
steps: {
|
|
14508
14587
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14509
|
-
status: "
|
|
14588
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
14510
14589
|
finishedAt: string | null;
|
|
14511
14590
|
}[];
|
|
14512
14591
|
log: {
|
|
@@ -14556,7 +14635,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14556
14635
|
createdVia?: string | null | undefined;
|
|
14557
14636
|
} | null;
|
|
14558
14637
|
provisioning: {
|
|
14559
|
-
status: "
|
|
14638
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14560
14639
|
lastErrorCode: string | null;
|
|
14561
14640
|
syncedAt: string | null;
|
|
14562
14641
|
};
|
|
@@ -14620,7 +14699,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14620
14699
|
createdVia?: string | null | undefined;
|
|
14621
14700
|
} | null;
|
|
14622
14701
|
provisioning: {
|
|
14623
|
-
status: "
|
|
14702
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14624
14703
|
lastErrorCode: string | null;
|
|
14625
14704
|
syncedAt: string | null;
|
|
14626
14705
|
};
|
|
@@ -14668,7 +14747,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14668
14747
|
createdVia?: string | null | undefined;
|
|
14669
14748
|
} | null;
|
|
14670
14749
|
provisioning: {
|
|
14671
|
-
status: "
|
|
14750
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14672
14751
|
lastErrorCode: string | null;
|
|
14673
14752
|
syncedAt: string | null;
|
|
14674
14753
|
};
|
|
@@ -14716,7 +14795,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14716
14795
|
createdVia?: string | null | undefined;
|
|
14717
14796
|
} | null;
|
|
14718
14797
|
provisioning: {
|
|
14719
|
-
status: "
|
|
14798
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14720
14799
|
lastErrorCode: string | null;
|
|
14721
14800
|
syncedAt: string | null;
|
|
14722
14801
|
};
|
|
@@ -14764,7 +14843,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14764
14843
|
createdVia?: string | null | undefined;
|
|
14765
14844
|
} | null;
|
|
14766
14845
|
provisioning: {
|
|
14767
|
-
status: "
|
|
14846
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14768
14847
|
lastErrorCode: string | null;
|
|
14769
14848
|
syncedAt: string | null;
|
|
14770
14849
|
};
|
|
@@ -14796,7 +14875,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14796
14875
|
domainId: string;
|
|
14797
14876
|
hostname: string;
|
|
14798
14877
|
kind: "PLATFORM" | "CUSTOM";
|
|
14799
|
-
status: "
|
|
14878
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14800
14879
|
isPrimary: boolean;
|
|
14801
14880
|
dnsRecords: {
|
|
14802
14881
|
type: "CNAME" | "TXT";
|
|
@@ -14804,7 +14883,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14804
14883
|
value: string;
|
|
14805
14884
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14806
14885
|
}[];
|
|
14807
|
-
certificateStatus: "
|
|
14886
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14808
14887
|
failureCode: string | null;
|
|
14809
14888
|
verifiedAt: string | null;
|
|
14810
14889
|
activatedAt: string | null;
|
|
@@ -14820,7 +14899,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14820
14899
|
domainId: string;
|
|
14821
14900
|
hostname: string;
|
|
14822
14901
|
kind: "PLATFORM" | "CUSTOM";
|
|
14823
|
-
status: "
|
|
14902
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14824
14903
|
isPrimary: boolean;
|
|
14825
14904
|
dnsRecords: {
|
|
14826
14905
|
type: "CNAME" | "TXT";
|
|
@@ -14828,7 +14907,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14828
14907
|
value: string;
|
|
14829
14908
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14830
14909
|
}[];
|
|
14831
|
-
certificateStatus: "
|
|
14910
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14832
14911
|
failureCode: string | null;
|
|
14833
14912
|
verifiedAt: string | null;
|
|
14834
14913
|
activatedAt: string | null;
|
|
@@ -14840,7 +14919,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14840
14919
|
domainId: string;
|
|
14841
14920
|
hostname: string;
|
|
14842
14921
|
kind: "PLATFORM" | "CUSTOM";
|
|
14843
|
-
status: "
|
|
14922
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14844
14923
|
isPrimary: boolean;
|
|
14845
14924
|
dnsRecords: {
|
|
14846
14925
|
type: "CNAME" | "TXT";
|
|
@@ -14848,7 +14927,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14848
14927
|
value: string;
|
|
14849
14928
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14850
14929
|
}[];
|
|
14851
|
-
certificateStatus: "
|
|
14930
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14852
14931
|
failureCode: string | null;
|
|
14853
14932
|
verifiedAt: string | null;
|
|
14854
14933
|
activatedAt: string | null;
|
|
@@ -14864,7 +14943,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14864
14943
|
domainId: string;
|
|
14865
14944
|
hostname: string;
|
|
14866
14945
|
kind: "PLATFORM" | "CUSTOM";
|
|
14867
|
-
status: "
|
|
14946
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14868
14947
|
isPrimary: boolean;
|
|
14869
14948
|
dnsRecords: {
|
|
14870
14949
|
type: "CNAME" | "TXT";
|
|
@@ -14872,7 +14951,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14872
14951
|
value: string;
|
|
14873
14952
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14874
14953
|
}[];
|
|
14875
|
-
certificateStatus: "
|
|
14954
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
14876
14955
|
failureCode: string | null;
|
|
14877
14956
|
verifiedAt: string | null;
|
|
14878
14957
|
activatedAt: string | null;
|
|
@@ -14915,7 +14994,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14915
14994
|
createdVia?: string | null | undefined;
|
|
14916
14995
|
} | null;
|
|
14917
14996
|
provisioning: {
|
|
14918
|
-
status: "
|
|
14997
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
14919
14998
|
lastErrorCode: string | null;
|
|
14920
14999
|
syncedAt: string | null;
|
|
14921
15000
|
};
|
|
@@ -15156,7 +15235,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15156
15235
|
buildId: string;
|
|
15157
15236
|
versionId: string;
|
|
15158
15237
|
versionNumber: number;
|
|
15159
|
-
status: "
|
|
15238
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15160
15239
|
failureStage: string | null;
|
|
15161
15240
|
errorCode: string | null;
|
|
15162
15241
|
logTail: string | null;
|
|
@@ -15237,7 +15316,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15237
15316
|
buildId: string;
|
|
15238
15317
|
versionId: string;
|
|
15239
15318
|
versionNumber: number;
|
|
15240
|
-
status: "
|
|
15319
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15241
15320
|
failureStage: string | null;
|
|
15242
15321
|
errorCode: string | null;
|
|
15243
15322
|
logTail: string | null;
|
|
@@ -15315,7 +15394,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15315
15394
|
buildId: string;
|
|
15316
15395
|
versionId: string;
|
|
15317
15396
|
versionNumber: number;
|
|
15318
|
-
status: "
|
|
15397
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15319
15398
|
failureStage: string | null;
|
|
15320
15399
|
errorCode: string | null;
|
|
15321
15400
|
logTail: string | null;
|