@sayren/store-sdk 0.30.4 → 0.30.6
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 +289 -189
- package/dist/index.mjs +50 -15
- package/package.json +1 -1
- package/src/client.ts +23 -2
- package/src/schemas/claim.ts +5 -0
- package/src/schemas/commerce-flow.ts +60 -8
- package/src/schemas/order.ts +15 -1
- package/src/schemas/payment.ts +16 -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
|
-
SUCCEEDED: "SUCCEEDED";
|
|
37
36
|
FAILED: "FAILED";
|
|
37
|
+
SUCCEEDED: "SUCCEEDED";
|
|
38
38
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
39
39
|
DENIED: "DENIED";
|
|
40
40
|
DRY_RUN: "DRY_RUN";
|
|
@@ -69,8 +69,8 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
69
69
|
path: z.ZodNullable<z.ZodString>;
|
|
70
70
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
72
|
-
SUCCEEDED: "SUCCEEDED";
|
|
73
72
|
FAILED: "FAILED";
|
|
73
|
+
SUCCEEDED: "SUCCEEDED";
|
|
74
74
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
75
75
|
DENIED: "DENIED";
|
|
76
76
|
DRY_RUN: "DRY_RUN";
|
|
@@ -102,8 +102,8 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
102
102
|
DOMAIN: "DOMAIN";
|
|
103
103
|
}>>;
|
|
104
104
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
SUCCEEDED: "SUCCEEDED";
|
|
106
105
|
FAILED: "FAILED";
|
|
106
|
+
SUCCEEDED: "SUCCEEDED";
|
|
107
107
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
108
108
|
DENIED: "DENIED";
|
|
109
109
|
DRY_RUN: "DRY_RUN";
|
|
@@ -149,8 +149,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
149
149
|
path: z.ZodNullable<z.ZodString>;
|
|
150
150
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
151
151
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
SUCCEEDED: "SUCCEEDED";
|
|
153
152
|
FAILED: "FAILED";
|
|
153
|
+
SUCCEEDED: "SUCCEEDED";
|
|
154
154
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
155
155
|
DENIED: "DENIED";
|
|
156
156
|
DRY_RUN: "DRY_RUN";
|
|
@@ -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
|
-
ALLOW: "ALLOW";
|
|
170
169
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
170
|
+
ALLOW: "ALLOW";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
173
173
|
export declare const writePreviewSchema: z.ZodObject<{
|
|
@@ -192,8 +192,8 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
192
192
|
dryRun: z.ZodLiteral<true>;
|
|
193
193
|
decision: z.ZodEnum<{
|
|
194
194
|
DENIED: "DENIED";
|
|
195
|
-
ALLOW: "ALLOW";
|
|
196
195
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
|
+
ALLOW: "ALLOW";
|
|
197
197
|
}>;
|
|
198
198
|
reason: z.ZodNullable<z.ZodString>;
|
|
199
199
|
preview: z.ZodObject<{
|
|
@@ -215,9 +215,9 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
215
215
|
}, z.core.$strip>;
|
|
216
216
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
217
217
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
218
|
-
SUCCEEDED: "SUCCEEDED";
|
|
219
|
-
FAILED: "FAILED";
|
|
220
218
|
PENDING: "PENDING";
|
|
219
|
+
FAILED: "FAILED";
|
|
220
|
+
SUCCEEDED: "SUCCEEDED";
|
|
221
221
|
EXECUTING: "EXECUTING";
|
|
222
222
|
UNKNOWN: "UNKNOWN";
|
|
223
223
|
REJECTED: "REJECTED";
|
|
@@ -227,9 +227,9 @@ export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
|
227
227
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
228
228
|
approvalId: z.ZodString;
|
|
229
229
|
status: z.ZodEnum<{
|
|
230
|
-
SUCCEEDED: "SUCCEEDED";
|
|
231
|
-
FAILED: "FAILED";
|
|
232
230
|
PENDING: "PENDING";
|
|
231
|
+
FAILED: "FAILED";
|
|
232
|
+
SUCCEEDED: "SUCCEEDED";
|
|
233
233
|
EXECUTING: "EXECUTING";
|
|
234
234
|
UNKNOWN: "UNKNOWN";
|
|
235
235
|
REJECTED: "REJECTED";
|
|
@@ -291,9 +291,9 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
291
291
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
292
292
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
293
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<{
|
|
294
|
-
SUCCEEDED: "SUCCEEDED";
|
|
295
|
-
FAILED: "FAILED";
|
|
296
294
|
PENDING: "PENDING";
|
|
295
|
+
FAILED: "FAILED";
|
|
296
|
+
SUCCEEDED: "SUCCEEDED";
|
|
297
297
|
EXECUTING: "EXECUTING";
|
|
298
298
|
UNKNOWN: "UNKNOWN";
|
|
299
299
|
REJECTED: "REJECTED";
|
|
@@ -310,9 +310,9 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
310
310
|
items: z.ZodArray<z.ZodObject<{
|
|
311
311
|
approvalId: z.ZodString;
|
|
312
312
|
status: z.ZodEnum<{
|
|
313
|
-
SUCCEEDED: "SUCCEEDED";
|
|
314
|
-
FAILED: "FAILED";
|
|
315
313
|
PENDING: "PENDING";
|
|
314
|
+
FAILED: "FAILED";
|
|
315
|
+
SUCCEEDED: "SUCCEEDED";
|
|
316
316
|
EXECUTING: "EXECUTING";
|
|
317
317
|
UNKNOWN: "UNKNOWN";
|
|
318
318
|
REJECTED: "REJECTED";
|
|
@@ -454,11 +454,11 @@ export declare const analyticsTotalsSchema: z.ZodObject<{
|
|
|
454
454
|
export type AnalyticsTotals = z.infer<typeof analyticsTotalsSchema>;
|
|
455
455
|
export declare const analyticsFunnelStepSchema: z.ZodObject<{
|
|
456
456
|
step: z.ZodEnum<{
|
|
457
|
+
PURCHASE: "PURCHASE";
|
|
457
458
|
SESSION: "SESSION";
|
|
458
459
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
459
460
|
ADD_TO_CART: "ADD_TO_CART";
|
|
460
461
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
461
|
-
PURCHASE: "PURCHASE";
|
|
462
462
|
}>;
|
|
463
463
|
sessions: z.ZodNumber;
|
|
464
464
|
rateFromPrevious: z.ZodNullable<z.ZodNumber>;
|
|
@@ -483,11 +483,11 @@ export declare const analyticsOverviewSchema: z.ZodObject<{
|
|
|
483
483
|
}, z.core.$strip>;
|
|
484
484
|
funnel: z.ZodArray<z.ZodObject<{
|
|
485
485
|
step: z.ZodEnum<{
|
|
486
|
+
PURCHASE: "PURCHASE";
|
|
486
487
|
SESSION: "SESSION";
|
|
487
488
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
488
489
|
ADD_TO_CART: "ADD_TO_CART";
|
|
489
490
|
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
490
|
-
PURCHASE: "PURCHASE";
|
|
491
491
|
}>;
|
|
492
492
|
sessions: z.ZodNumber;
|
|
493
493
|
rateFromPrevious: z.ZodNullable<z.ZodNumber>;
|
|
@@ -587,20 +587,20 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
587
587
|
}, z.core.$strip>;
|
|
588
588
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
589
589
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
590
|
-
|
|
590
|
+
PAID: "PAID";
|
|
591
591
|
DIRECT: "DIRECT";
|
|
592
|
+
CAMPAIGN: "CAMPAIGN";
|
|
593
|
+
UNKNOWN: "UNKNOWN";
|
|
592
594
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
593
595
|
SOCIAL: "SOCIAL";
|
|
594
|
-
PAID: "PAID";
|
|
595
596
|
EMAIL: "EMAIL";
|
|
596
|
-
CAMPAIGN: "CAMPAIGN";
|
|
597
597
|
REFERRAL: "REFERRAL";
|
|
598
598
|
}>;
|
|
599
599
|
export type AnalyticsChannel = z.infer<typeof analyticsChannelSchema>;
|
|
600
600
|
export declare const analyticsSourceGroupBySchema: z.ZodEnum<{
|
|
601
|
-
CAMPAIGN: "CAMPAIGN";
|
|
602
601
|
CHANNEL: "CHANNEL";
|
|
603
602
|
SOURCE: "SOURCE";
|
|
603
|
+
CAMPAIGN: "CAMPAIGN";
|
|
604
604
|
DEVICE: "DEVICE";
|
|
605
605
|
}>;
|
|
606
606
|
export type AnalyticsSourceGroupBy = z.infer<typeof analyticsSourceGroupBySchema>;
|
|
@@ -612,22 +612,22 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
612
612
|
false: "false";
|
|
613
613
|
}>>;
|
|
614
614
|
groupBy: z.ZodOptional<z.ZodEnum<{
|
|
615
|
-
CAMPAIGN: "CAMPAIGN";
|
|
616
615
|
CHANNEL: "CHANNEL";
|
|
617
616
|
SOURCE: "SOURCE";
|
|
617
|
+
CAMPAIGN: "CAMPAIGN";
|
|
618
618
|
DEVICE: "DEVICE";
|
|
619
619
|
}>>;
|
|
620
620
|
}, z.core.$strip>;
|
|
621
621
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
622
622
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
623
623
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
624
|
-
|
|
624
|
+
PAID: "PAID";
|
|
625
625
|
DIRECT: "DIRECT";
|
|
626
|
+
CAMPAIGN: "CAMPAIGN";
|
|
627
|
+
UNKNOWN: "UNKNOWN";
|
|
626
628
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
627
629
|
SOCIAL: "SOCIAL";
|
|
628
|
-
PAID: "PAID";
|
|
629
630
|
EMAIL: "EMAIL";
|
|
630
|
-
CAMPAIGN: "CAMPAIGN";
|
|
631
631
|
REFERRAL: "REFERRAL";
|
|
632
632
|
}>>;
|
|
633
633
|
source: z.ZodNullable<z.ZodString>;
|
|
@@ -650,20 +650,20 @@ export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
|
650
650
|
export type AnalyticsSourceRow = z.infer<typeof analyticsSourceRowSchema>;
|
|
651
651
|
export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
652
652
|
groupBy: z.ZodEnum<{
|
|
653
|
-
CAMPAIGN: "CAMPAIGN";
|
|
654
653
|
CHANNEL: "CHANNEL";
|
|
655
654
|
SOURCE: "SOURCE";
|
|
655
|
+
CAMPAIGN: "CAMPAIGN";
|
|
656
656
|
DEVICE: "DEVICE";
|
|
657
657
|
}>;
|
|
658
658
|
rows: z.ZodArray<z.ZodObject<{
|
|
659
659
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
660
|
-
|
|
660
|
+
PAID: "PAID";
|
|
661
661
|
DIRECT: "DIRECT";
|
|
662
|
+
CAMPAIGN: "CAMPAIGN";
|
|
663
|
+
UNKNOWN: "UNKNOWN";
|
|
662
664
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
663
665
|
SOCIAL: "SOCIAL";
|
|
664
|
-
PAID: "PAID";
|
|
665
666
|
EMAIL: "EMAIL";
|
|
666
|
-
CAMPAIGN: "CAMPAIGN";
|
|
667
667
|
REFERRAL: "REFERRAL";
|
|
668
668
|
}>>;
|
|
669
669
|
source: z.ZodNullable<z.ZodString>;
|
|
@@ -813,12 +813,12 @@ export declare const analyticsSearchSchema: z.ZodObject<{
|
|
|
813
813
|
}, z.core.$strip>;
|
|
814
814
|
export type AnalyticsSearch = z.infer<typeof analyticsSearchSchema>;
|
|
815
815
|
export declare const analyticsCheckoutOutcomeSchema: z.ZodEnum<{
|
|
816
|
+
OTHER: "OTHER";
|
|
816
817
|
COMPLETED: "COMPLETED";
|
|
817
818
|
NOT_OPENED: "NOT_OPENED";
|
|
818
819
|
USER_CANCELED: "USER_CANCELED";
|
|
819
820
|
DECLINED: "DECLINED";
|
|
820
821
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
821
|
-
OTHER: "OTHER";
|
|
822
822
|
IN_PROGRESS: "IN_PROGRESS";
|
|
823
823
|
}>;
|
|
824
824
|
export type AnalyticsCheckoutOutcome = z.infer<typeof analyticsCheckoutOutcomeSchema>;
|
|
@@ -826,12 +826,12 @@ export declare const analyticsCheckoutSchema: z.ZodObject<{
|
|
|
826
826
|
sessions: z.ZodNumber;
|
|
827
827
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
828
828
|
outcome: z.ZodEnum<{
|
|
829
|
+
OTHER: "OTHER";
|
|
829
830
|
COMPLETED: "COMPLETED";
|
|
830
831
|
NOT_OPENED: "NOT_OPENED";
|
|
831
832
|
USER_CANCELED: "USER_CANCELED";
|
|
832
833
|
DECLINED: "DECLINED";
|
|
833
834
|
PREPARE_FAILURE: "PREPARE_FAILURE";
|
|
834
|
-
OTHER: "OTHER";
|
|
835
835
|
IN_PROGRESS: "IN_PROGRESS";
|
|
836
836
|
}>;
|
|
837
837
|
sessions: z.ZodNumber;
|
|
@@ -972,11 +972,11 @@ export type ApiLogSummary = z.infer<typeof apiLogSummarySchema>;
|
|
|
972
972
|
//#endregion
|
|
973
973
|
//#region src/schemas/category.d.ts
|
|
974
974
|
export declare const categoryProductSortSchema: z.ZodEnum<{
|
|
975
|
-
NAME: "NAME";
|
|
976
975
|
RECENT: "RECENT";
|
|
977
976
|
POPULAR: "POPULAR";
|
|
978
977
|
PRICE_LOW: "PRICE_LOW";
|
|
979
978
|
PRICE_HIGH: "PRICE_HIGH";
|
|
979
|
+
NAME: "NAME";
|
|
980
980
|
}>;
|
|
981
981
|
export type CategoryProductSort = z.infer<typeof categoryProductSortSchema>;
|
|
982
982
|
export declare const categorySchema: z.ZodObject<{
|
|
@@ -992,11 +992,11 @@ export declare const categorySchema: z.ZodObject<{
|
|
|
992
992
|
showPc: z.ZodBoolean;
|
|
993
993
|
showMobile: z.ZodBoolean;
|
|
994
994
|
productSort: z.ZodEnum<{
|
|
995
|
-
NAME: "NAME";
|
|
996
995
|
RECENT: "RECENT";
|
|
997
996
|
POPULAR: "POPULAR";
|
|
998
997
|
PRICE_LOW: "PRICE_LOW";
|
|
999
998
|
PRICE_HIGH: "PRICE_HIGH";
|
|
999
|
+
NAME: "NAME";
|
|
1000
1000
|
}>;
|
|
1001
1001
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1002
1002
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1023,11 +1023,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1023
1023
|
showPc: z.ZodBoolean;
|
|
1024
1024
|
showMobile: z.ZodBoolean;
|
|
1025
1025
|
productSort: z.ZodEnum<{
|
|
1026
|
-
NAME: "NAME";
|
|
1027
1026
|
RECENT: "RECENT";
|
|
1028
1027
|
POPULAR: "POPULAR";
|
|
1029
1028
|
PRICE_LOW: "PRICE_LOW";
|
|
1030
1029
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1030
|
+
NAME: "NAME";
|
|
1031
1031
|
}>;
|
|
1032
1032
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1033
1033
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1049,11 +1049,11 @@ export declare const categoryWithPathSchema: z.ZodObject<{
|
|
|
1049
1049
|
showPc: z.ZodBoolean;
|
|
1050
1050
|
showMobile: z.ZodBoolean;
|
|
1051
1051
|
productSort: z.ZodEnum<{
|
|
1052
|
-
NAME: "NAME";
|
|
1053
1052
|
RECENT: "RECENT";
|
|
1054
1053
|
POPULAR: "POPULAR";
|
|
1055
1054
|
PRICE_LOW: "PRICE_LOW";
|
|
1056
1055
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1056
|
+
NAME: "NAME";
|
|
1057
1057
|
}>;
|
|
1058
1058
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1059
1059
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1078,11 +1078,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1078
1078
|
showPc: z.ZodBoolean;
|
|
1079
1079
|
showMobile: z.ZodBoolean;
|
|
1080
1080
|
productSort: z.ZodEnum<{
|
|
1081
|
-
NAME: "NAME";
|
|
1082
1081
|
RECENT: "RECENT";
|
|
1083
1082
|
POPULAR: "POPULAR";
|
|
1084
1083
|
PRICE_LOW: "PRICE_LOW";
|
|
1085
1084
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1085
|
+
NAME: "NAME";
|
|
1086
1086
|
}>;
|
|
1087
1087
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1088
1088
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1104,11 +1104,11 @@ export declare const categorySearchResultSchema: z.ZodObject<{
|
|
|
1104
1104
|
showPc: z.ZodBoolean;
|
|
1105
1105
|
showMobile: z.ZodBoolean;
|
|
1106
1106
|
productSort: z.ZodEnum<{
|
|
1107
|
-
NAME: "NAME";
|
|
1108
1107
|
RECENT: "RECENT";
|
|
1109
1108
|
POPULAR: "POPULAR";
|
|
1110
1109
|
PRICE_LOW: "PRICE_LOW";
|
|
1111
1110
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1111
|
+
NAME: "NAME";
|
|
1112
1112
|
}>;
|
|
1113
1113
|
metaTitle: z.ZodNullable<z.ZodString>;
|
|
1114
1114
|
metaDescription: z.ZodNullable<z.ZodString>;
|
|
@@ -1141,11 +1141,11 @@ export declare const categoryCreateRequestSchema: z.ZodObject<{
|
|
|
1141
1141
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1142
1142
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1143
1143
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1144
|
-
NAME: "NAME";
|
|
1145
1144
|
RECENT: "RECENT";
|
|
1146
1145
|
POPULAR: "POPULAR";
|
|
1147
1146
|
PRICE_LOW: "PRICE_LOW";
|
|
1148
1147
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1148
|
+
NAME: "NAME";
|
|
1149
1149
|
}>>;
|
|
1150
1150
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
1151
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1160,11 +1160,11 @@ export declare const categoryPatchRequestSchema: z.ZodObject<{
|
|
|
1160
1160
|
showPc: z.ZodOptional<z.ZodBoolean>;
|
|
1161
1161
|
showMobile: z.ZodOptional<z.ZodBoolean>;
|
|
1162
1162
|
productSort: z.ZodOptional<z.ZodEnum<{
|
|
1163
|
-
NAME: "NAME";
|
|
1164
1163
|
RECENT: "RECENT";
|
|
1165
1164
|
POPULAR: "POPULAR";
|
|
1166
1165
|
PRICE_LOW: "PRICE_LOW";
|
|
1167
1166
|
PRICE_HIGH: "PRICE_HIGH";
|
|
1167
|
+
NAME: "NAME";
|
|
1168
1168
|
}>>;
|
|
1169
1169
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1170
1170
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1517,6 +1517,7 @@ export declare const approveClaimResultSchema: z.ZodObject<{
|
|
|
1517
1517
|
couponChargeRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1518
1518
|
pointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1519
1519
|
refundedAt: z.ZodString;
|
|
1520
|
+
refundHeld: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1520
1521
|
}, z.core.$strip>;
|
|
1521
1522
|
export type ApproveClaimResult = z.infer<typeof approveClaimResultSchema>;
|
|
1522
1523
|
//#endregion
|
|
@@ -2407,6 +2408,23 @@ export declare const flowPresetSummarySchema: z.ZodObject<{
|
|
|
2407
2408
|
variables: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2408
2409
|
}, z.core.$strip>;
|
|
2409
2410
|
export type FlowPresetSummary = z.infer<typeof flowPresetSummarySchema>;
|
|
2411
|
+
/** 프리셋 하나(#115) — 흐름 만들기가 고른 프리셋을 저장하지 않고 편집기에 띄운다 */
|
|
2412
|
+
export declare const flowPresetDetailSchema: z.ZodObject<{
|
|
2413
|
+
key: z.ZodString;
|
|
2414
|
+
presetVersion: z.ZodNumber;
|
|
2415
|
+
name: z.ZodString;
|
|
2416
|
+
description: z.ZodString;
|
|
2417
|
+
availability: z.ZodEnum<{
|
|
2418
|
+
AVAILABLE: "AVAILABLE";
|
|
2419
|
+
BLOCKED: "BLOCKED";
|
|
2420
|
+
}>;
|
|
2421
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
2422
|
+
requires: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2423
|
+
variables: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2424
|
+
graph: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2425
|
+
definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2426
|
+
}, z.core.$strip>;
|
|
2427
|
+
export type FlowPresetDetail = z.infer<typeof flowPresetDetailSchema>;
|
|
2410
2428
|
export declare const commerceFlowSummarySchema: z.ZodObject<{
|
|
2411
2429
|
flowId: z.ZodString;
|
|
2412
2430
|
key: z.ZodString;
|
|
@@ -2419,6 +2437,10 @@ export declare const commerceFlowSummarySchema: z.ZodObject<{
|
|
|
2419
2437
|
presetKey: z.ZodNullable<z.ZodString>;
|
|
2420
2438
|
presetVersion: z.ZodNullable<z.ZodNumber>;
|
|
2421
2439
|
activeVersion: z.ZodNullable<z.ZodNumber>;
|
|
2440
|
+
defaultFor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2441
|
+
SHIPPING: "SHIPPING";
|
|
2442
|
+
MANUAL: "MANUAL";
|
|
2443
|
+
}>>>>;
|
|
2422
2444
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
2423
2445
|
createdAt: z.ZodString;
|
|
2424
2446
|
updatedAt: z.ZodString;
|
|
@@ -2449,6 +2471,10 @@ export declare const commerceFlowSchema: z.ZodObject<{
|
|
|
2449
2471
|
presetKey: z.ZodNullable<z.ZodString>;
|
|
2450
2472
|
presetVersion: z.ZodNullable<z.ZodNumber>;
|
|
2451
2473
|
activeVersion: z.ZodNullable<z.ZodNumber>;
|
|
2474
|
+
defaultFor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2475
|
+
SHIPPING: "SHIPPING";
|
|
2476
|
+
MANUAL: "MANUAL";
|
|
2477
|
+
}>>>>;
|
|
2452
2478
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
2453
2479
|
createdAt: z.ZodString;
|
|
2454
2480
|
updatedAt: z.ZodString;
|
|
@@ -2512,6 +2538,8 @@ export declare const createCommerceFlowRequestSchema: z.ZodObject<{
|
|
|
2512
2538
|
key: z.ZodString;
|
|
2513
2539
|
name: z.ZodOptional<z.ZodString>;
|
|
2514
2540
|
presetKey: z.ZodOptional<z.ZodString>;
|
|
2541
|
+
graph: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2542
|
+
definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2515
2543
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2516
2544
|
}, z.core.$strip>;
|
|
2517
2545
|
export type CreateCommerceFlowRequest = z.infer<typeof createCommerceFlowRequestSchema>;
|
|
@@ -2691,6 +2719,23 @@ export declare const flowNodeTypesSchema: z.ZodObject<{
|
|
|
2691
2719
|
effect: z.ZodString;
|
|
2692
2720
|
configSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2693
2721
|
}, z.core.$strip>>;
|
|
2722
|
+
platformActions: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2723
|
+
key: z.ZodString;
|
|
2724
|
+
side: z.ZodEnum<{
|
|
2725
|
+
buyer: "buyer";
|
|
2726
|
+
seller: "seller";
|
|
2727
|
+
}>;
|
|
2728
|
+
label: z.ZodString;
|
|
2729
|
+
mode: z.ZodEnum<{
|
|
2730
|
+
REQUEST: "REQUEST";
|
|
2731
|
+
INSTANT: "INSTANT";
|
|
2732
|
+
VIEW: "VIEW";
|
|
2733
|
+
}>;
|
|
2734
|
+
subflow: z.ZodOptional<z.ZodString>;
|
|
2735
|
+
window: z.ZodBoolean;
|
|
2736
|
+
fee: z.ZodBoolean;
|
|
2737
|
+
listed: z.ZodBoolean;
|
|
2738
|
+
}, z.core.$strip>>>>;
|
|
2694
2739
|
}, z.core.$strip>;
|
|
2695
2740
|
export type FlowNodeTypes = z.infer<typeof flowNodeTypesSchema>;
|
|
2696
2741
|
//#endregion
|
|
@@ -3295,10 +3340,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
3295
3340
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
3296
3341
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
3297
3342
|
reason: z.ZodEnum<{
|
|
3298
|
-
OTHER: "OTHER";
|
|
3299
3343
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
3300
3344
|
DORMANT: "DORMANT";
|
|
3301
3345
|
ABUSE: "ABUSE";
|
|
3346
|
+
OTHER: "OTHER";
|
|
3302
3347
|
}>;
|
|
3303
3348
|
memo: z.ZodOptional<z.ZodString>;
|
|
3304
3349
|
}, z.core.$strip>;
|
|
@@ -3365,8 +3410,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
3365
3410
|
*/
|
|
3366
3411
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
3367
3412
|
export declare const fulfillmentMethodSchema: z.ZodEnum<{
|
|
3368
|
-
DIRECT: "DIRECT";
|
|
3369
3413
|
CARRIER: "CARRIER";
|
|
3414
|
+
DIRECT: "DIRECT";
|
|
3370
3415
|
PICKUP: "PICKUP";
|
|
3371
3416
|
PROVIDED: "PROVIDED";
|
|
3372
3417
|
}>;
|
|
@@ -3410,8 +3455,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
3410
3455
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
3411
3456
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
3412
3457
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
3413
|
-
PAID: "PAID";
|
|
3414
3458
|
FREE: "FREE";
|
|
3459
|
+
PAID: "PAID";
|
|
3415
3460
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3416
3461
|
}>;
|
|
3417
3462
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -3422,8 +3467,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3422
3467
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3423
3468
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
3424
3469
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
3425
|
-
PAID: "PAID";
|
|
3426
3470
|
FREE: "FREE";
|
|
3471
|
+
PAID: "PAID";
|
|
3427
3472
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3428
3473
|
}>>;
|
|
3429
3474
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3432,16 +3477,16 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3432
3477
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3433
3478
|
}, z.core.$strict>>;
|
|
3434
3479
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3435
|
-
DIRECT: "DIRECT";
|
|
3436
3480
|
CARRIER: "CARRIER";
|
|
3481
|
+
DIRECT: "DIRECT";
|
|
3437
3482
|
PICKUP: "PICKUP";
|
|
3438
3483
|
PROVIDED: "PROVIDED";
|
|
3439
3484
|
}>>>;
|
|
3440
3485
|
}, z.core.$strict>, z.ZodObject<{
|
|
3441
3486
|
type: z.ZodLiteral<"MANUAL">;
|
|
3442
3487
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3443
|
-
DIRECT: "DIRECT";
|
|
3444
3488
|
CARRIER: "CARRIER";
|
|
3489
|
+
DIRECT: "DIRECT";
|
|
3445
3490
|
PICKUP: "PICKUP";
|
|
3446
3491
|
PROVIDED: "PROVIDED";
|
|
3447
3492
|
}>>>;
|
|
@@ -3457,8 +3502,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3457
3502
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3458
3503
|
shipping: z.ZodObject<{
|
|
3459
3504
|
deliveryType: z.ZodEnum<{
|
|
3460
|
-
PAID: "PAID";
|
|
3461
3505
|
FREE: "FREE";
|
|
3506
|
+
PAID: "PAID";
|
|
3462
3507
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3463
3508
|
}>;
|
|
3464
3509
|
deliveryFee: z.ZodNumber;
|
|
@@ -3467,16 +3512,16 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3467
3512
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
3468
3513
|
}, z.core.$strict>;
|
|
3469
3514
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3470
|
-
DIRECT: "DIRECT";
|
|
3471
3515
|
CARRIER: "CARRIER";
|
|
3516
|
+
DIRECT: "DIRECT";
|
|
3472
3517
|
PICKUP: "PICKUP";
|
|
3473
3518
|
PROVIDED: "PROVIDED";
|
|
3474
3519
|
}>>>;
|
|
3475
3520
|
}, z.core.$strict>, z.ZodObject<{
|
|
3476
3521
|
type: z.ZodLiteral<"MANUAL">;
|
|
3477
3522
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3478
|
-
DIRECT: "DIRECT";
|
|
3479
3523
|
CARRIER: "CARRIER";
|
|
3524
|
+
DIRECT: "DIRECT";
|
|
3480
3525
|
PICKUP: "PICKUP";
|
|
3481
3526
|
PROVIDED: "PROVIDED";
|
|
3482
3527
|
}>>>;
|
|
@@ -3490,8 +3535,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3490
3535
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3491
3536
|
shipping: z.ZodObject<{
|
|
3492
3537
|
deliveryType: z.ZodEnum<{
|
|
3493
|
-
PAID: "PAID";
|
|
3494
3538
|
FREE: "FREE";
|
|
3539
|
+
PAID: "PAID";
|
|
3495
3540
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3496
3541
|
}>;
|
|
3497
3542
|
deliveryFee: z.ZodNumber;
|
|
@@ -3531,8 +3576,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
3531
3576
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3532
3577
|
shipping: z.ZodObject<{
|
|
3533
3578
|
deliveryType: z.ZodEnum<{
|
|
3534
|
-
PAID: "PAID";
|
|
3535
3579
|
FREE: "FREE";
|
|
3580
|
+
PAID: "PAID";
|
|
3536
3581
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3537
3582
|
}>;
|
|
3538
3583
|
deliveryFee: z.ZodNumber;
|
|
@@ -3996,10 +4041,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
3996
4041
|
}, z.core.$strip>;
|
|
3997
4042
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
3998
4043
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
3999
|
-
FAILED: "FAILED";
|
|
4000
4044
|
PENDING: "PENDING";
|
|
4001
4045
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4002
4046
|
SUCCESS: "SUCCESS";
|
|
4047
|
+
FAILED: "FAILED";
|
|
4003
4048
|
}>;
|
|
4004
4049
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
4005
4050
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -4063,10 +4108,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
4063
4108
|
}>;
|
|
4064
4109
|
url: z.ZodString;
|
|
4065
4110
|
status: z.ZodEnum<{
|
|
4066
|
-
FAILED: "FAILED";
|
|
4067
4111
|
PENDING: "PENDING";
|
|
4068
4112
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4069
4113
|
SUCCESS: "SUCCESS";
|
|
4114
|
+
FAILED: "FAILED";
|
|
4070
4115
|
}>;
|
|
4071
4116
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4072
4117
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4118,10 +4163,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
4118
4163
|
}>;
|
|
4119
4164
|
url: z.ZodString;
|
|
4120
4165
|
status: z.ZodEnum<{
|
|
4121
|
-
FAILED: "FAILED";
|
|
4122
4166
|
PENDING: "PENDING";
|
|
4123
4167
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4124
4168
|
SUCCESS: "SUCCESS";
|
|
4169
|
+
FAILED: "FAILED";
|
|
4125
4170
|
}>;
|
|
4126
4171
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
4127
4172
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4156,10 +4201,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
4156
4201
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
4157
4202
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
4158
4203
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4159
|
-
FAILED: "FAILED";
|
|
4160
4204
|
PENDING: "PENDING";
|
|
4161
4205
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4162
4206
|
SUCCESS: "SUCCESS";
|
|
4207
|
+
FAILED: "FAILED";
|
|
4163
4208
|
}>>;
|
|
4164
4209
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
4165
4210
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -5024,6 +5069,7 @@ export declare const cancelBySellerRequestSchema: z.ZodObject<{
|
|
|
5024
5069
|
}>;
|
|
5025
5070
|
detail: z.ZodOptional<z.ZodString>;
|
|
5026
5071
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
5072
|
+
holdRefund: z.ZodOptional<z.ZodBoolean>;
|
|
5027
5073
|
}, z.core.$strip>;
|
|
5028
5074
|
export type CancelBySellerRequest = z.infer<typeof cancelBySellerRequestSchema>;
|
|
5029
5075
|
/**
|
|
@@ -5052,6 +5098,7 @@ export declare const cancelBySellerResultSchema: z.ZodObject<{
|
|
|
5052
5098
|
couponChargeRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5053
5099
|
pointRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5054
5100
|
refundedAt: z.ZodString;
|
|
5101
|
+
refundHeld: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5055
5102
|
}, z.core.$strip>;
|
|
5056
5103
|
export type CancelBySellerResult = z.infer<typeof cancelBySellerResultSchema>;
|
|
5057
5104
|
/** `PUT /v1/order-items/{orderItemId}/memo` 응답 — 빈 문자열로 저장하면 메모가 지워져 `null`이다 */
|
|
@@ -5123,8 +5170,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
5123
5170
|
}>;
|
|
5124
5171
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
5125
5172
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
5126
|
-
FAILED: "FAILED";
|
|
5127
5173
|
SUCCESS: "SUCCESS";
|
|
5174
|
+
FAILED: "FAILED";
|
|
5128
5175
|
}>;
|
|
5129
5176
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
5130
5177
|
/**
|
|
@@ -5273,8 +5320,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
5273
5320
|
}, z.core.$strip>>;
|
|
5274
5321
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5275
5322
|
result: z.ZodEnum<{
|
|
5276
|
-
FAILED: "FAILED";
|
|
5277
5323
|
SUCCESS: "SUCCESS";
|
|
5324
|
+
FAILED: "FAILED";
|
|
5278
5325
|
}>;
|
|
5279
5326
|
message: z.ZodNullable<z.ZodString>;
|
|
5280
5327
|
checkedAt: z.ZodString;
|
|
@@ -5375,8 +5422,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5375
5422
|
}, z.core.$strip>>;
|
|
5376
5423
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5377
5424
|
result: z.ZodEnum<{
|
|
5378
|
-
FAILED: "FAILED";
|
|
5379
5425
|
SUCCESS: "SUCCESS";
|
|
5426
|
+
FAILED: "FAILED";
|
|
5380
5427
|
}>;
|
|
5381
5428
|
message: z.ZodNullable<z.ZodString>;
|
|
5382
5429
|
checkedAt: z.ZodString;
|
|
@@ -5412,8 +5459,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5412
5459
|
}, z.core.$strip>>;
|
|
5413
5460
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5414
5461
|
result: z.ZodEnum<{
|
|
5415
|
-
FAILED: "FAILED";
|
|
5416
5462
|
SUCCESS: "SUCCESS";
|
|
5463
|
+
FAILED: "FAILED";
|
|
5417
5464
|
}>;
|
|
5418
5465
|
message: z.ZodNullable<z.ZodString>;
|
|
5419
5466
|
checkedAt: z.ZodString;
|
|
@@ -5448,8 +5495,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
5448
5495
|
}, z.core.$strip>>;
|
|
5449
5496
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5450
5497
|
result: z.ZodEnum<{
|
|
5451
|
-
FAILED: "FAILED";
|
|
5452
5498
|
SUCCESS: "SUCCESS";
|
|
5499
|
+
FAILED: "FAILED";
|
|
5453
5500
|
}>;
|
|
5454
5501
|
message: z.ZodNullable<z.ZodString>;
|
|
5455
5502
|
checkedAt: z.ZodString;
|
|
@@ -5539,8 +5586,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5539
5586
|
}, z.core.$strip>>;
|
|
5540
5587
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5541
5588
|
result: z.ZodEnum<{
|
|
5542
|
-
FAILED: "FAILED";
|
|
5543
5589
|
SUCCESS: "SUCCESS";
|
|
5590
|
+
FAILED: "FAILED";
|
|
5544
5591
|
}>;
|
|
5545
5592
|
message: z.ZodNullable<z.ZodString>;
|
|
5546
5593
|
checkedAt: z.ZodString;
|
|
@@ -5576,8 +5623,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5576
5623
|
}, z.core.$strip>>;
|
|
5577
5624
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5578
5625
|
result: z.ZodEnum<{
|
|
5579
|
-
FAILED: "FAILED";
|
|
5580
5626
|
SUCCESS: "SUCCESS";
|
|
5627
|
+
FAILED: "FAILED";
|
|
5581
5628
|
}>;
|
|
5582
5629
|
message: z.ZodNullable<z.ZodString>;
|
|
5583
5630
|
checkedAt: z.ZodString;
|
|
@@ -5612,8 +5659,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
5612
5659
|
}, z.core.$strip>>;
|
|
5613
5660
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
5614
5661
|
result: z.ZodEnum<{
|
|
5615
|
-
FAILED: "FAILED";
|
|
5616
5662
|
SUCCESS: "SUCCESS";
|
|
5663
|
+
FAILED: "FAILED";
|
|
5617
5664
|
}>;
|
|
5618
5665
|
message: z.ZodNullable<z.ZodString>;
|
|
5619
5666
|
checkedAt: z.ZodString;
|
|
@@ -5669,8 +5716,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
5669
5716
|
LIVE: "LIVE";
|
|
5670
5717
|
}>;
|
|
5671
5718
|
result: z.ZodEnum<{
|
|
5672
|
-
FAILED: "FAILED";
|
|
5673
5719
|
SUCCESS: "SUCCESS";
|
|
5720
|
+
FAILED: "FAILED";
|
|
5674
5721
|
}>;
|
|
5675
5722
|
message: z.ZodNullable<z.ZodString>;
|
|
5676
5723
|
checkedAt: z.ZodString;
|
|
@@ -5800,8 +5847,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
5800
5847
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
5801
5848
|
*/
|
|
5802
5849
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
5803
|
-
FAILED: "FAILED";
|
|
5804
5850
|
PENDING: "PENDING";
|
|
5851
|
+
FAILED: "FAILED";
|
|
5805
5852
|
APPROVED: "APPROVED";
|
|
5806
5853
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5807
5854
|
REFUNDED: "REFUNDED";
|
|
@@ -5848,14 +5895,15 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
5848
5895
|
orderName: z.ZodString;
|
|
5849
5896
|
customerName: z.ZodString;
|
|
5850
5897
|
status: z.ZodEnum<{
|
|
5851
|
-
FAILED: "FAILED";
|
|
5852
5898
|
PENDING: "PENDING";
|
|
5899
|
+
FAILED: "FAILED";
|
|
5853
5900
|
APPROVED: "APPROVED";
|
|
5854
5901
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5855
5902
|
REFUNDED: "REFUNDED";
|
|
5856
5903
|
}>;
|
|
5857
5904
|
amount: z.ZodNumber;
|
|
5858
5905
|
refundedAmount: z.ZodNumber;
|
|
5906
|
+
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5859
5907
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
5860
5908
|
tosspayments: "tosspayments";
|
|
5861
5909
|
portone: "portone";
|
|
@@ -5895,14 +5943,15 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
5895
5943
|
orderName: z.ZodString;
|
|
5896
5944
|
customerName: z.ZodString;
|
|
5897
5945
|
status: z.ZodEnum<{
|
|
5898
|
-
FAILED: "FAILED";
|
|
5899
5946
|
PENDING: "PENDING";
|
|
5947
|
+
FAILED: "FAILED";
|
|
5900
5948
|
APPROVED: "APPROVED";
|
|
5901
5949
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5902
5950
|
REFUNDED: "REFUNDED";
|
|
5903
5951
|
}>;
|
|
5904
5952
|
amount: z.ZodNumber;
|
|
5905
5953
|
refundedAmount: z.ZodNumber;
|
|
5954
|
+
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5906
5955
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
5907
5956
|
tosspayments: "tosspayments";
|
|
5908
5957
|
portone: "portone";
|
|
@@ -5987,14 +6036,15 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
5987
6036
|
orderName: z.ZodString;
|
|
5988
6037
|
customerName: z.ZodString;
|
|
5989
6038
|
status: z.ZodEnum<{
|
|
5990
|
-
FAILED: "FAILED";
|
|
5991
6039
|
PENDING: "PENDING";
|
|
6040
|
+
FAILED: "FAILED";
|
|
5992
6041
|
APPROVED: "APPROVED";
|
|
5993
6042
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
5994
6043
|
REFUNDED: "REFUNDED";
|
|
5995
6044
|
}>;
|
|
5996
6045
|
amount: z.ZodNumber;
|
|
5997
6046
|
refundedAmount: z.ZodNumber;
|
|
6047
|
+
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5998
6048
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
5999
6049
|
tosspayments: "tosspayments";
|
|
6000
6050
|
portone: "portone";
|
|
@@ -6103,6 +6153,7 @@ export declare const paymentListQuerySchema: z.ZodObject<{
|
|
|
6103
6153
|
method: z.ZodOptional<z.ZodString>;
|
|
6104
6154
|
keyword: z.ZodOptional<z.ZodString>;
|
|
6105
6155
|
includeTest: z.ZodOptional<z.ZodString>;
|
|
6156
|
+
refundHeld: z.ZodOptional<z.ZodString>;
|
|
6106
6157
|
page: z.ZodOptional<z.ZodString>;
|
|
6107
6158
|
size: z.ZodOptional<z.ZodString>;
|
|
6108
6159
|
}, z.core.$strip>;
|
|
@@ -6114,6 +6165,8 @@ export interface PaymentListParams extends PageParams {
|
|
|
6114
6165
|
method?: PgPaymentMethod;
|
|
6115
6166
|
keyword?: string;
|
|
6116
6167
|
includeTest?: boolean;
|
|
6168
|
+
/** 환불 대기가 있는 결제만(#115) */
|
|
6169
|
+
refundHeld?: boolean;
|
|
6117
6170
|
}
|
|
6118
6171
|
//#endregion
|
|
6119
6172
|
//#region src/schemas/points.d.ts
|
|
@@ -6313,11 +6366,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
6313
6366
|
export declare const pointLotSchema: z.ZodObject<{
|
|
6314
6367
|
lotId: z.ZodString;
|
|
6315
6368
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6316
|
-
PURCHASE: "PURCHASE";
|
|
6317
6369
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6318
6370
|
ADJUST: "ADJUST";
|
|
6319
6371
|
OPENING: "OPENING";
|
|
6320
6372
|
REVIEW: "REVIEW";
|
|
6373
|
+
PURCHASE: "PURCHASE";
|
|
6321
6374
|
}>, z.ZodString]>;
|
|
6322
6375
|
amount: z.ZodNumber;
|
|
6323
6376
|
remaining: z.ZodNumber;
|
|
@@ -6332,11 +6385,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
6332
6385
|
lots: z.ZodArray<z.ZodObject<{
|
|
6333
6386
|
lotId: z.ZodString;
|
|
6334
6387
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6335
|
-
PURCHASE: "PURCHASE";
|
|
6336
6388
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6337
6389
|
ADJUST: "ADJUST";
|
|
6338
6390
|
OPENING: "OPENING";
|
|
6339
6391
|
REVIEW: "REVIEW";
|
|
6392
|
+
PURCHASE: "PURCHASE";
|
|
6340
6393
|
}>, z.ZodString]>;
|
|
6341
6394
|
amount: z.ZodNumber;
|
|
6342
6395
|
remaining: z.ZodNumber;
|
|
@@ -6509,8 +6562,8 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
6509
6562
|
* 추가금순은 추가 선택 값이면 값의 추가금, 조합 값이면 그 값이 든 조합 추가금의 최솟값으로 비교하고 같으면 등록순이다.
|
|
6510
6563
|
*/
|
|
6511
6564
|
export declare const optionSortSchema: z.ZodEnum<{
|
|
6512
|
-
REGISTERED: "REGISTERED";
|
|
6513
6565
|
NAME: "NAME";
|
|
6566
|
+
REGISTERED: "REGISTERED";
|
|
6514
6567
|
PRICE_ASC: "PRICE_ASC";
|
|
6515
6568
|
PRICE_DESC: "PRICE_DESC";
|
|
6516
6569
|
}>;
|
|
@@ -6717,8 +6770,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6717
6770
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6718
6771
|
}, z.core.$strip>>>>;
|
|
6719
6772
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6720
|
-
REGISTERED: "REGISTERED";
|
|
6721
6773
|
NAME: "NAME";
|
|
6774
|
+
REGISTERED: "REGISTERED";
|
|
6722
6775
|
PRICE_ASC: "PRICE_ASC";
|
|
6723
6776
|
PRICE_DESC: "PRICE_DESC";
|
|
6724
6777
|
}>>>;
|
|
@@ -6726,8 +6779,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6726
6779
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6727
6780
|
shipping: z.ZodObject<{
|
|
6728
6781
|
deliveryType: z.ZodEnum<{
|
|
6729
|
-
PAID: "PAID";
|
|
6730
6782
|
FREE: "FREE";
|
|
6783
|
+
PAID: "PAID";
|
|
6731
6784
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6732
6785
|
}>;
|
|
6733
6786
|
deliveryFee: z.ZodNumber;
|
|
@@ -6877,8 +6930,8 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
6877
6930
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6878
6931
|
}, z.core.$strip>>>;
|
|
6879
6932
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
6880
|
-
REGISTERED: "REGISTERED";
|
|
6881
6933
|
NAME: "NAME";
|
|
6934
|
+
REGISTERED: "REGISTERED";
|
|
6882
6935
|
PRICE_ASC: "PRICE_ASC";
|
|
6883
6936
|
PRICE_DESC: "PRICE_DESC";
|
|
6884
6937
|
}>>;
|
|
@@ -6938,8 +6991,8 @@ export declare const optionModelSchema: z.ZodObject<{
|
|
|
6938
6991
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6939
6992
|
}, z.core.$strip>>>>;
|
|
6940
6993
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6941
|
-
REGISTERED: "REGISTERED";
|
|
6942
6994
|
NAME: "NAME";
|
|
6995
|
+
REGISTERED: "REGISTERED";
|
|
6943
6996
|
PRICE_ASC: "PRICE_ASC";
|
|
6944
6997
|
PRICE_DESC: "PRICE_DESC";
|
|
6945
6998
|
}>>>;
|
|
@@ -6970,8 +7023,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6970
7023
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6971
7024
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
6972
7025
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
6973
|
-
PAID: "PAID";
|
|
6974
7026
|
FREE: "FREE";
|
|
7027
|
+
PAID: "PAID";
|
|
6975
7028
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6976
7029
|
}>>;
|
|
6977
7030
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6980,16 +7033,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6980
7033
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6981
7034
|
}, z.core.$strict>>;
|
|
6982
7035
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6983
|
-
DIRECT: "DIRECT";
|
|
6984
7036
|
CARRIER: "CARRIER";
|
|
7037
|
+
DIRECT: "DIRECT";
|
|
6985
7038
|
PICKUP: "PICKUP";
|
|
6986
7039
|
PROVIDED: "PROVIDED";
|
|
6987
7040
|
}>>>;
|
|
6988
7041
|
}, z.core.$strict>, z.ZodObject<{
|
|
6989
7042
|
type: z.ZodLiteral<"MANUAL">;
|
|
6990
7043
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6991
|
-
DIRECT: "DIRECT";
|
|
6992
7044
|
CARRIER: "CARRIER";
|
|
7045
|
+
DIRECT: "DIRECT";
|
|
6993
7046
|
PICKUP: "PICKUP";
|
|
6994
7047
|
PROVIDED: "PROVIDED";
|
|
6995
7048
|
}>>>;
|
|
@@ -7051,8 +7104,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
7051
7104
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7052
7105
|
}, z.core.$strip>>>;
|
|
7053
7106
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7054
|
-
REGISTERED: "REGISTERED";
|
|
7055
7107
|
NAME: "NAME";
|
|
7108
|
+
REGISTERED: "REGISTERED";
|
|
7056
7109
|
PRICE_ASC: "PRICE_ASC";
|
|
7057
7110
|
PRICE_DESC: "PRICE_DESC";
|
|
7058
7111
|
}>>;
|
|
@@ -7084,8 +7137,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7084
7137
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7085
7138
|
shipping: z.ZodObject<{
|
|
7086
7139
|
deliveryType: z.ZodEnum<{
|
|
7087
|
-
PAID: "PAID";
|
|
7088
7140
|
FREE: "FREE";
|
|
7141
|
+
PAID: "PAID";
|
|
7089
7142
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7090
7143
|
}>;
|
|
7091
7144
|
deliveryFee: z.ZodNumber;
|
|
@@ -7094,16 +7147,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7094
7147
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7095
7148
|
}, z.core.$strict>;
|
|
7096
7149
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7097
|
-
DIRECT: "DIRECT";
|
|
7098
7150
|
CARRIER: "CARRIER";
|
|
7151
|
+
DIRECT: "DIRECT";
|
|
7099
7152
|
PICKUP: "PICKUP";
|
|
7100
7153
|
PROVIDED: "PROVIDED";
|
|
7101
7154
|
}>>>;
|
|
7102
7155
|
}, z.core.$strict>, z.ZodObject<{
|
|
7103
7156
|
type: z.ZodLiteral<"MANUAL">;
|
|
7104
7157
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7105
|
-
DIRECT: "DIRECT";
|
|
7106
7158
|
CARRIER: "CARRIER";
|
|
7159
|
+
DIRECT: "DIRECT";
|
|
7107
7160
|
PICKUP: "PICKUP";
|
|
7108
7161
|
PROVIDED: "PROVIDED";
|
|
7109
7162
|
}>>>;
|
|
@@ -7165,8 +7218,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7165
7218
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7166
7219
|
}, z.core.$strip>>>;
|
|
7167
7220
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7168
|
-
REGISTERED: "REGISTERED";
|
|
7169
7221
|
NAME: "NAME";
|
|
7222
|
+
REGISTERED: "REGISTERED";
|
|
7170
7223
|
PRICE_ASC: "PRICE_ASC";
|
|
7171
7224
|
PRICE_DESC: "PRICE_DESC";
|
|
7172
7225
|
}>>;
|
|
@@ -7207,8 +7260,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7207
7260
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7208
7261
|
shipping: z.ZodObject<{
|
|
7209
7262
|
deliveryType: z.ZodEnum<{
|
|
7210
|
-
PAID: "PAID";
|
|
7211
7263
|
FREE: "FREE";
|
|
7264
|
+
PAID: "PAID";
|
|
7212
7265
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7213
7266
|
}>;
|
|
7214
7267
|
deliveryFee: z.ZodNumber;
|
|
@@ -7217,16 +7270,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7217
7270
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7218
7271
|
}, z.core.$strict>;
|
|
7219
7272
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7220
|
-
DIRECT: "DIRECT";
|
|
7221
7273
|
CARRIER: "CARRIER";
|
|
7274
|
+
DIRECT: "DIRECT";
|
|
7222
7275
|
PICKUP: "PICKUP";
|
|
7223
7276
|
PROVIDED: "PROVIDED";
|
|
7224
7277
|
}>>>;
|
|
7225
7278
|
}, z.core.$strict>, z.ZodObject<{
|
|
7226
7279
|
type: z.ZodLiteral<"MANUAL">;
|
|
7227
7280
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7228
|
-
DIRECT: "DIRECT";
|
|
7229
7281
|
CARRIER: "CARRIER";
|
|
7282
|
+
DIRECT: "DIRECT";
|
|
7230
7283
|
PICKUP: "PICKUP";
|
|
7231
7284
|
PROVIDED: "PROVIDED";
|
|
7232
7285
|
}>>>;
|
|
@@ -7336,8 +7389,8 @@ export declare const savedOptionSetSchema: z.ZodObject<{
|
|
|
7336
7389
|
optionSetId: z.ZodString;
|
|
7337
7390
|
name: z.ZodString;
|
|
7338
7391
|
optionSort: z.ZodEnum<{
|
|
7339
|
-
REGISTERED: "REGISTERED";
|
|
7340
7392
|
NAME: "NAME";
|
|
7393
|
+
REGISTERED: "REGISTERED";
|
|
7341
7394
|
PRICE_ASC: "PRICE_ASC";
|
|
7342
7395
|
PRICE_DESC: "PRICE_DESC";
|
|
7343
7396
|
}>;
|
|
@@ -7404,8 +7457,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7404
7457
|
export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
7405
7458
|
name: z.ZodString;
|
|
7406
7459
|
optionSort: z.ZodDefault<z.ZodEnum<{
|
|
7407
|
-
REGISTERED: "REGISTERED";
|
|
7408
7460
|
NAME: "NAME";
|
|
7461
|
+
REGISTERED: "REGISTERED";
|
|
7409
7462
|
PRICE_ASC: "PRICE_ASC";
|
|
7410
7463
|
PRICE_DESC: "PRICE_DESC";
|
|
7411
7464
|
}>>;
|
|
@@ -7460,8 +7513,8 @@ export declare const savedOptionSetFromProductResultSchema: z.ZodObject<{
|
|
|
7460
7513
|
optionSetId: z.ZodString;
|
|
7461
7514
|
name: z.ZodString;
|
|
7462
7515
|
optionSort: z.ZodEnum<{
|
|
7463
|
-
REGISTERED: "REGISTERED";
|
|
7464
7516
|
NAME: "NAME";
|
|
7517
|
+
REGISTERED: "REGISTERED";
|
|
7465
7518
|
PRICE_ASC: "PRICE_ASC";
|
|
7466
7519
|
PRICE_DESC: "PRICE_DESC";
|
|
7467
7520
|
}>;
|
|
@@ -8048,8 +8101,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
8048
8101
|
*/
|
|
8049
8102
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
8050
8103
|
status: z.ZodEnum<{
|
|
8051
|
-
FAILED: "FAILED";
|
|
8052
8104
|
PENDING: "PENDING";
|
|
8105
|
+
FAILED: "FAILED";
|
|
8053
8106
|
SYNCED: "SYNCED";
|
|
8054
8107
|
}>;
|
|
8055
8108
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8129,8 +8182,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
8129
8182
|
}, z.core.$strip>>;
|
|
8130
8183
|
provisioning: z.ZodObject<{
|
|
8131
8184
|
status: z.ZodEnum<{
|
|
8132
|
-
FAILED: "FAILED";
|
|
8133
8185
|
PENDING: "PENDING";
|
|
8186
|
+
FAILED: "FAILED";
|
|
8134
8187
|
SYNCED: "SYNCED";
|
|
8135
8188
|
}>;
|
|
8136
8189
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8209,8 +8262,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
8209
8262
|
}, z.core.$strip>>;
|
|
8210
8263
|
provisioning: z.ZodObject<{
|
|
8211
8264
|
status: z.ZodEnum<{
|
|
8212
|
-
FAILED: "FAILED";
|
|
8213
8265
|
PENDING: "PENDING";
|
|
8266
|
+
FAILED: "FAILED";
|
|
8214
8267
|
SYNCED: "SYNCED";
|
|
8215
8268
|
}>;
|
|
8216
8269
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -8252,8 +8305,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
8252
8305
|
PUBLISH: "PUBLISH";
|
|
8253
8306
|
}>;
|
|
8254
8307
|
status: z.ZodEnum<{
|
|
8255
|
-
FAILED: "FAILED";
|
|
8256
8308
|
PENDING: "PENDING";
|
|
8309
|
+
FAILED: "FAILED";
|
|
8257
8310
|
RUNNING: "RUNNING";
|
|
8258
8311
|
DONE: "DONE";
|
|
8259
8312
|
}>;
|
|
@@ -8274,8 +8327,8 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
8274
8327
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
8275
8328
|
siteId: z.ZodString;
|
|
8276
8329
|
status: z.ZodEnum<{
|
|
8277
|
-
SUCCEEDED: "SUCCEEDED";
|
|
8278
8330
|
FAILED: "FAILED";
|
|
8331
|
+
SUCCEEDED: "SUCCEEDED";
|
|
8279
8332
|
IN_PROGRESS: "IN_PROGRESS";
|
|
8280
8333
|
}>;
|
|
8281
8334
|
url: z.ZodString;
|
|
@@ -8288,8 +8341,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
8288
8341
|
PUBLISH: "PUBLISH";
|
|
8289
8342
|
}>;
|
|
8290
8343
|
status: z.ZodEnum<{
|
|
8291
|
-
FAILED: "FAILED";
|
|
8292
8344
|
PENDING: "PENDING";
|
|
8345
|
+
FAILED: "FAILED";
|
|
8293
8346
|
RUNNING: "RUNNING";
|
|
8294
8347
|
DONE: "DONE";
|
|
8295
8348
|
}>;
|
|
@@ -8409,8 +8462,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
8409
8462
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
8410
8463
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
8411
8464
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
8412
|
-
FAILED: "FAILED";
|
|
8413
8465
|
ACTIVE: "ACTIVE";
|
|
8466
|
+
FAILED: "FAILED";
|
|
8414
8467
|
PENDING_DNS: "PENDING_DNS";
|
|
8415
8468
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8416
8469
|
}>;
|
|
@@ -8436,8 +8489,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8436
8489
|
CUSTOM: "CUSTOM";
|
|
8437
8490
|
}>;
|
|
8438
8491
|
status: z.ZodEnum<{
|
|
8439
|
-
FAILED: "FAILED";
|
|
8440
8492
|
ACTIVE: "ACTIVE";
|
|
8493
|
+
FAILED: "FAILED";
|
|
8441
8494
|
PENDING_DNS: "PENDING_DNS";
|
|
8442
8495
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8443
8496
|
}>;
|
|
@@ -8455,9 +8508,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
8455
8508
|
}>;
|
|
8456
8509
|
}, z.core.$strip>>;
|
|
8457
8510
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8458
|
-
FAILED: "FAILED";
|
|
8459
|
-
PENDING: "PENDING";
|
|
8460
8511
|
ACTIVE: "ACTIVE";
|
|
8512
|
+
PENDING: "PENDING";
|
|
8513
|
+
FAILED: "FAILED";
|
|
8461
8514
|
}>>;
|
|
8462
8515
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8463
8516
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8479,8 +8532,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8479
8532
|
CUSTOM: "CUSTOM";
|
|
8480
8533
|
}>;
|
|
8481
8534
|
status: z.ZodEnum<{
|
|
8482
|
-
FAILED: "FAILED";
|
|
8483
8535
|
ACTIVE: "ACTIVE";
|
|
8536
|
+
FAILED: "FAILED";
|
|
8484
8537
|
PENDING_DNS: "PENDING_DNS";
|
|
8485
8538
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
8486
8539
|
}>;
|
|
@@ -8498,9 +8551,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
8498
8551
|
}>;
|
|
8499
8552
|
}, z.core.$strip>>;
|
|
8500
8553
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
8501
|
-
FAILED: "FAILED";
|
|
8502
|
-
PENDING: "PENDING";
|
|
8503
8554
|
ACTIVE: "ACTIVE";
|
|
8555
|
+
PENDING: "PENDING";
|
|
8556
|
+
FAILED: "FAILED";
|
|
8504
8557
|
}>>;
|
|
8505
8558
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
8506
8559
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -8833,8 +8886,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
8833
8886
|
}, z.core.$strip>;
|
|
8834
8887
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
8835
8888
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
8836
|
-
SUCCEEDED: "SUCCEEDED";
|
|
8837
8889
|
FAILED: "FAILED";
|
|
8890
|
+
SUCCEEDED: "SUCCEEDED";
|
|
8838
8891
|
RUNNING: "RUNNING";
|
|
8839
8892
|
QUEUED: "QUEUED";
|
|
8840
8893
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -8901,8 +8954,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
8901
8954
|
versionId: z.ZodString;
|
|
8902
8955
|
versionNumber: z.ZodNumber;
|
|
8903
8956
|
status: z.ZodEnum<{
|
|
8904
|
-
SUCCEEDED: "SUCCEEDED";
|
|
8905
8957
|
FAILED: "FAILED";
|
|
8958
|
+
SUCCEEDED: "SUCCEEDED";
|
|
8906
8959
|
RUNNING: "RUNNING";
|
|
8907
8960
|
QUEUED: "QUEUED";
|
|
8908
8961
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -9030,8 +9083,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
9030
9083
|
versionId: z.ZodString;
|
|
9031
9084
|
versionNumber: z.ZodNumber;
|
|
9032
9085
|
status: z.ZodEnum<{
|
|
9033
|
-
SUCCEEDED: "SUCCEEDED";
|
|
9034
9086
|
FAILED: "FAILED";
|
|
9087
|
+
SUCCEEDED: "SUCCEEDED";
|
|
9035
9088
|
RUNNING: "RUNNING";
|
|
9036
9089
|
QUEUED: "QUEUED";
|
|
9037
9090
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -9576,11 +9629,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9576
9629
|
type?: string | undefined;
|
|
9577
9630
|
options?: string[] | null | undefined;
|
|
9578
9631
|
}[];
|
|
9579
|
-
optionSort: "
|
|
9632
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9580
9633
|
fulfillment: UnknownFulfillment | {
|
|
9581
9634
|
type: "SHIPPING";
|
|
9582
9635
|
shipping: {
|
|
9583
|
-
deliveryType: "
|
|
9636
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
9584
9637
|
deliveryFee: number;
|
|
9585
9638
|
conditionalFreeAmount: number | null;
|
|
9586
9639
|
shippingAddressId: string | null;
|
|
@@ -9684,11 +9737,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9684
9737
|
type?: string | undefined;
|
|
9685
9738
|
options?: string[] | null | undefined;
|
|
9686
9739
|
}[];
|
|
9687
|
-
optionSort: "
|
|
9740
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9688
9741
|
fulfillment: UnknownFulfillment | {
|
|
9689
9742
|
type: "SHIPPING";
|
|
9690
9743
|
shipping: {
|
|
9691
|
-
deliveryType: "
|
|
9744
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
9692
9745
|
deliveryFee: number;
|
|
9693
9746
|
conditionalFreeAmount: number | null;
|
|
9694
9747
|
shippingAddressId: string | null;
|
|
@@ -9792,11 +9845,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9792
9845
|
type?: string | undefined;
|
|
9793
9846
|
options?: string[] | null | undefined;
|
|
9794
9847
|
}[];
|
|
9795
|
-
optionSort: "
|
|
9848
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9796
9849
|
fulfillment: UnknownFulfillment | {
|
|
9797
9850
|
type: "SHIPPING";
|
|
9798
9851
|
shipping: {
|
|
9799
|
-
deliveryType: "
|
|
9852
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
9800
9853
|
deliveryFee: number;
|
|
9801
9854
|
conditionalFreeAmount: number | null;
|
|
9802
9855
|
shippingAddressId: string | null;
|
|
@@ -9902,7 +9955,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9902
9955
|
type?: string | undefined;
|
|
9903
9956
|
options?: string[] | null | undefined;
|
|
9904
9957
|
}[];
|
|
9905
|
-
optionSort: "
|
|
9958
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9906
9959
|
}>;
|
|
9907
9960
|
/**
|
|
9908
9961
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -9960,7 +10013,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9960
10013
|
type?: string | undefined;
|
|
9961
10014
|
options?: string[] | null | undefined;
|
|
9962
10015
|
}[];
|
|
9963
|
-
optionSort: "
|
|
10016
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9964
10017
|
}>;
|
|
9965
10018
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
9966
10019
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -10009,7 +10062,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10009
10062
|
contents: {
|
|
10010
10063
|
optionSetId: string;
|
|
10011
10064
|
name: string;
|
|
10012
|
-
optionSort: "
|
|
10065
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10013
10066
|
groups: {
|
|
10014
10067
|
name: string;
|
|
10015
10068
|
kind: string;
|
|
@@ -10036,7 +10089,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10036
10089
|
get: (optionSetId: string) => Promise<{
|
|
10037
10090
|
optionSetId: string;
|
|
10038
10091
|
name: string;
|
|
10039
|
-
optionSort: "
|
|
10092
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10040
10093
|
groups: {
|
|
10041
10094
|
name: string;
|
|
10042
10095
|
kind: string;
|
|
@@ -10063,7 +10116,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10063
10116
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
10064
10117
|
optionSetId: string;
|
|
10065
10118
|
name: string;
|
|
10066
|
-
optionSort: "
|
|
10119
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10067
10120
|
groups: {
|
|
10068
10121
|
name: string;
|
|
10069
10122
|
kind: string;
|
|
@@ -10090,7 +10143,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10090
10143
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
10091
10144
|
optionSetId: string;
|
|
10092
10145
|
name: string;
|
|
10093
|
-
optionSort: "
|
|
10146
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10094
10147
|
groups: {
|
|
10095
10148
|
name: string;
|
|
10096
10149
|
kind: string;
|
|
@@ -10119,7 +10172,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10119
10172
|
optionSet: {
|
|
10120
10173
|
optionSetId: string;
|
|
10121
10174
|
name: string;
|
|
10122
|
-
optionSort: "
|
|
10175
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10123
10176
|
groups: {
|
|
10124
10177
|
name: string;
|
|
10125
10178
|
kind: string;
|
|
@@ -10178,7 +10231,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10178
10231
|
value: true;
|
|
10179
10232
|
} | {
|
|
10180
10233
|
field: "bestSelling";
|
|
10181
|
-
days:
|
|
10234
|
+
days: 30 | 7 | 90;
|
|
10182
10235
|
top: number;
|
|
10183
10236
|
} | {
|
|
10184
10237
|
[x: string]: unknown;
|
|
@@ -10228,7 +10281,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10228
10281
|
value: true;
|
|
10229
10282
|
} | {
|
|
10230
10283
|
field: "bestSelling";
|
|
10231
|
-
days:
|
|
10284
|
+
days: 30 | 7 | 90;
|
|
10232
10285
|
top: number;
|
|
10233
10286
|
} | {
|
|
10234
10287
|
[x: string]: unknown;
|
|
@@ -10271,7 +10324,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10271
10324
|
value: true;
|
|
10272
10325
|
} | {
|
|
10273
10326
|
field: "bestSelling";
|
|
10274
|
-
days:
|
|
10327
|
+
days: 30 | 7 | 90;
|
|
10275
10328
|
top: number;
|
|
10276
10329
|
} | {
|
|
10277
10330
|
[x: string]: unknown;
|
|
@@ -10313,7 +10366,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10313
10366
|
value: true;
|
|
10314
10367
|
} | {
|
|
10315
10368
|
field: "bestSelling";
|
|
10316
|
-
days:
|
|
10369
|
+
days: 30 | 7 | 90;
|
|
10317
10370
|
top: number;
|
|
10318
10371
|
} | {
|
|
10319
10372
|
[x: string]: unknown;
|
|
@@ -10376,7 +10429,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10376
10429
|
value: true;
|
|
10377
10430
|
} | {
|
|
10378
10431
|
field: "bestSelling";
|
|
10379
|
-
days:
|
|
10432
|
+
days: 30 | 7 | 90;
|
|
10380
10433
|
top: number;
|
|
10381
10434
|
} | {
|
|
10382
10435
|
[x: string]: unknown;
|
|
@@ -10419,7 +10472,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10419
10472
|
value: true;
|
|
10420
10473
|
} | {
|
|
10421
10474
|
field: "bestSelling";
|
|
10422
|
-
days:
|
|
10475
|
+
days: 30 | 7 | 90;
|
|
10423
10476
|
top: number;
|
|
10424
10477
|
} | {
|
|
10425
10478
|
[x: string]: unknown;
|
|
@@ -10470,7 +10523,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10470
10523
|
visible: boolean;
|
|
10471
10524
|
showPc: boolean;
|
|
10472
10525
|
showMobile: boolean;
|
|
10473
|
-
productSort: "
|
|
10526
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10474
10527
|
metaTitle: string | null;
|
|
10475
10528
|
metaDescription: string | null;
|
|
10476
10529
|
metaKeywords: string | null;
|
|
@@ -10491,7 +10544,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10491
10544
|
visible: boolean;
|
|
10492
10545
|
showPc: boolean;
|
|
10493
10546
|
showMobile: boolean;
|
|
10494
|
-
productSort: "
|
|
10547
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10495
10548
|
metaTitle: string | null;
|
|
10496
10549
|
metaDescription: string | null;
|
|
10497
10550
|
metaKeywords: string | null;
|
|
@@ -10510,7 +10563,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10510
10563
|
visible: boolean;
|
|
10511
10564
|
showPc: boolean;
|
|
10512
10565
|
showMobile: boolean;
|
|
10513
|
-
productSort: "
|
|
10566
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10514
10567
|
metaTitle: string | null;
|
|
10515
10568
|
metaDescription: string | null;
|
|
10516
10569
|
metaKeywords: string | null;
|
|
@@ -10532,7 +10585,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10532
10585
|
visible: boolean;
|
|
10533
10586
|
showPc: boolean;
|
|
10534
10587
|
showMobile: boolean;
|
|
10535
|
-
productSort: "
|
|
10588
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10536
10589
|
metaTitle: string | null;
|
|
10537
10590
|
metaDescription: string | null;
|
|
10538
10591
|
metaKeywords: string | null;
|
|
@@ -10551,7 +10604,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10551
10604
|
visible: boolean;
|
|
10552
10605
|
showPc: boolean;
|
|
10553
10606
|
showMobile: boolean;
|
|
10554
|
-
productSort: "
|
|
10607
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10555
10608
|
metaTitle: string | null;
|
|
10556
10609
|
metaDescription: string | null;
|
|
10557
10610
|
metaKeywords: string | null;
|
|
@@ -10582,7 +10635,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10582
10635
|
visible: boolean;
|
|
10583
10636
|
showPc: boolean;
|
|
10584
10637
|
showMobile: boolean;
|
|
10585
|
-
productSort: "
|
|
10638
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10586
10639
|
metaTitle: string | null;
|
|
10587
10640
|
metaDescription: string | null;
|
|
10588
10641
|
metaKeywords: string | null;
|
|
@@ -10602,7 +10655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10602
10655
|
visible: boolean;
|
|
10603
10656
|
showPc: boolean;
|
|
10604
10657
|
showMobile: boolean;
|
|
10605
|
-
productSort: "
|
|
10658
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10606
10659
|
metaTitle: string | null;
|
|
10607
10660
|
metaDescription: string | null;
|
|
10608
10661
|
metaKeywords: string | null;
|
|
@@ -10929,6 +10982,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10929
10982
|
couponChargeRefundAmount: number;
|
|
10930
10983
|
pointRefundAmount: number;
|
|
10931
10984
|
refundedAt: string;
|
|
10985
|
+
refundHeld: boolean;
|
|
10932
10986
|
}>;
|
|
10933
10987
|
updateMemo: (orderItemId: string, memo: string) => Promise<void>;
|
|
10934
10988
|
requestPurchaseDecision: (orderItemId: string) => Promise<void>;
|
|
@@ -11513,6 +11567,19 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11513
11567
|
requires: Record<string, unknown>;
|
|
11514
11568
|
variables: Record<string, unknown>[];
|
|
11515
11569
|
}[]>;
|
|
11570
|
+
/** `GET /flow-presets/{key}` — 프리셋 그래프(흐름 만들기 편집기, #115) */
|
|
11571
|
+
preset: (key: string) => Promise<{
|
|
11572
|
+
key: string;
|
|
11573
|
+
presetVersion: number;
|
|
11574
|
+
name: string;
|
|
11575
|
+
description: string;
|
|
11576
|
+
availability: "AVAILABLE" | "BLOCKED";
|
|
11577
|
+
dependsOn: string[];
|
|
11578
|
+
requires: Record<string, unknown>;
|
|
11579
|
+
variables: Record<string, unknown>[];
|
|
11580
|
+
graph: Record<string, unknown>;
|
|
11581
|
+
definition: Record<string, unknown>;
|
|
11582
|
+
}>;
|
|
11516
11583
|
list: () => Promise<{
|
|
11517
11584
|
flowId: string;
|
|
11518
11585
|
key: string;
|
|
@@ -11522,6 +11589,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11522
11589
|
presetKey: string | null;
|
|
11523
11590
|
presetVersion: number | null;
|
|
11524
11591
|
activeVersion: number | null;
|
|
11592
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11525
11593
|
archivedAt: string | null;
|
|
11526
11594
|
createdAt: string;
|
|
11527
11595
|
updatedAt: string;
|
|
@@ -11535,6 +11603,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11535
11603
|
presetKey: string | null;
|
|
11536
11604
|
presetVersion: number | null;
|
|
11537
11605
|
activeVersion: number | null;
|
|
11606
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11538
11607
|
archivedAt: string | null;
|
|
11539
11608
|
createdAt: string;
|
|
11540
11609
|
updatedAt: string;
|
|
@@ -11573,6 +11642,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11573
11642
|
presetKey: string | null;
|
|
11574
11643
|
presetVersion: number | null;
|
|
11575
11644
|
activeVersion: number | null;
|
|
11645
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11576
11646
|
archivedAt: string | null;
|
|
11577
11647
|
createdAt: string;
|
|
11578
11648
|
updatedAt: string;
|
|
@@ -11611,6 +11681,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11611
11681
|
presetKey: string | null;
|
|
11612
11682
|
presetVersion: number | null;
|
|
11613
11683
|
activeVersion: number | null;
|
|
11684
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11614
11685
|
archivedAt: string | null;
|
|
11615
11686
|
createdAt: string;
|
|
11616
11687
|
updatedAt: string;
|
|
@@ -11664,6 +11735,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11664
11735
|
presetKey: string | null;
|
|
11665
11736
|
presetVersion: number | null;
|
|
11666
11737
|
activeVersion: number | null;
|
|
11738
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11667
11739
|
archivedAt: string | null;
|
|
11668
11740
|
createdAt: string;
|
|
11669
11741
|
updatedAt: string;
|
|
@@ -11804,6 +11876,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11804
11876
|
effect: string;
|
|
11805
11877
|
configSchema: Record<string, unknown>;
|
|
11806
11878
|
}[];
|
|
11879
|
+
platformActions: {
|
|
11880
|
+
key: string;
|
|
11881
|
+
side: "buyer" | "seller";
|
|
11882
|
+
label: string;
|
|
11883
|
+
mode: "REQUEST" | "INSTANT" | "VIEW";
|
|
11884
|
+
window: boolean;
|
|
11885
|
+
fee: boolean;
|
|
11886
|
+
listed: boolean;
|
|
11887
|
+
subflow?: string | undefined;
|
|
11888
|
+
}[];
|
|
11807
11889
|
}>;
|
|
11808
11890
|
};
|
|
11809
11891
|
carriers: {
|
|
@@ -11903,7 +11985,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11903
11985
|
occurredAt: string;
|
|
11904
11986
|
}[] | undefined;
|
|
11905
11987
|
}>;
|
|
11906
|
-
|
|
11988
|
+
/** `holdRefund`(#115)면 승인만 하고 결제 환불은 대기로 남긴다 — `payments.processRefund`로 따로 환불한다 */
|
|
11989
|
+
approve: (claimId: string, deductAmount?: number, idempotencyKey?: string, options?: {
|
|
11990
|
+
holdRefund?: boolean;
|
|
11991
|
+
}) => Promise<{
|
|
11907
11992
|
claimId: string;
|
|
11908
11993
|
refundAmount: number;
|
|
11909
11994
|
deductAmount: number;
|
|
@@ -11914,6 +11999,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11914
11999
|
couponChargeRefundAmount: number;
|
|
11915
12000
|
pointRefundAmount: number;
|
|
11916
12001
|
refundedAt: string;
|
|
12002
|
+
refundHeld: boolean;
|
|
11917
12003
|
}>;
|
|
11918
12004
|
reject: (claimId: string, body: RejectClaimRequest) => Promise<void>;
|
|
11919
12005
|
registerCollect: (claimId: string, body: {
|
|
@@ -12856,7 +12942,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12856
12942
|
conversionRate: number | null;
|
|
12857
12943
|
};
|
|
12858
12944
|
funnel: {
|
|
12859
|
-
step: "
|
|
12945
|
+
step: "PURCHASE" | "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT";
|
|
12860
12946
|
sessions: number;
|
|
12861
12947
|
rateFromPrevious: number | null;
|
|
12862
12948
|
}[];
|
|
@@ -12910,9 +12996,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12910
12996
|
}>;
|
|
12911
12997
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
12912
12998
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
12913
|
-
groupBy: "
|
|
12999
|
+
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
12914
13000
|
rows: {
|
|
12915
|
-
channel: "
|
|
13001
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
12916
13002
|
source: string | null;
|
|
12917
13003
|
medium: string | null;
|
|
12918
13004
|
campaign: string | null;
|
|
@@ -13017,7 +13103,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13017
13103
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
13018
13104
|
sessions: number;
|
|
13019
13105
|
outcomes: {
|
|
13020
|
-
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "
|
|
13106
|
+
outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
|
|
13021
13107
|
sessions: number;
|
|
13022
13108
|
}[];
|
|
13023
13109
|
from: string;
|
|
@@ -13047,9 +13133,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13047
13133
|
orderId: string | null;
|
|
13048
13134
|
orderName: string;
|
|
13049
13135
|
customerName: string;
|
|
13050
|
-
status: "
|
|
13136
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13051
13137
|
amount: number;
|
|
13052
13138
|
refundedAmount: number;
|
|
13139
|
+
heldRefundAmount: number;
|
|
13053
13140
|
provider: "tosspayments" | "portone" | null;
|
|
13054
13141
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
13055
13142
|
easyPayProvider: string | null;
|
|
@@ -13072,9 +13159,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13072
13159
|
orderId: string | null;
|
|
13073
13160
|
orderName: string;
|
|
13074
13161
|
customerName: string;
|
|
13075
|
-
status: "
|
|
13162
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
13076
13163
|
amount: number;
|
|
13077
13164
|
refundedAmount: number;
|
|
13165
|
+
heldRefundAmount: number;
|
|
13078
13166
|
provider: "tosspayments" | "portone" | null;
|
|
13079
13167
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
13080
13168
|
easyPayProvider: string | null;
|
|
@@ -13140,6 +13228,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13140
13228
|
updatedAt: string;
|
|
13141
13229
|
} | null;
|
|
13142
13230
|
}>;
|
|
13231
|
+
/** `POST /v1/payments/refunds/{refundId}/process` — 대기 환불(`HELD`)을 PG로 환불한다(#115). 409 `REFUND_NOT_HELD` */
|
|
13232
|
+
processRefund: (refundId: string) => Promise<{
|
|
13233
|
+
refundId: string;
|
|
13234
|
+
amount: number;
|
|
13235
|
+
pointRefundAmount: number;
|
|
13236
|
+
reason: string;
|
|
13237
|
+
kind: string;
|
|
13238
|
+
status: string;
|
|
13239
|
+
failMessage: string | null;
|
|
13240
|
+
requestedAt: string;
|
|
13241
|
+
completedAt: string | null;
|
|
13242
|
+
}>;
|
|
13143
13243
|
};
|
|
13144
13244
|
/**
|
|
13145
13245
|
* 결제(PG) 설정 — **상점 플랫폼 OWNER 전용**. ADMIN·STAFF·PAT·M2M·3rd-party 앱 토큰은 스코프가 있어도
|
|
@@ -13174,7 +13274,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13174
13274
|
masked: string | null;
|
|
13175
13275
|
}[];
|
|
13176
13276
|
lastVerification: {
|
|
13177
|
-
result: "
|
|
13277
|
+
result: "SUCCESS" | "FAILED";
|
|
13178
13278
|
message: string | null;
|
|
13179
13279
|
checkedAt: string;
|
|
13180
13280
|
} | null;
|
|
@@ -13199,7 +13299,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13199
13299
|
masked: string | null;
|
|
13200
13300
|
}[];
|
|
13201
13301
|
lastVerification: {
|
|
13202
|
-
result: "
|
|
13302
|
+
result: "SUCCESS" | "FAILED";
|
|
13203
13303
|
message: string | null;
|
|
13204
13304
|
checkedAt: string;
|
|
13205
13305
|
} | null;
|
|
@@ -13223,7 +13323,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13223
13323
|
masked: string | null;
|
|
13224
13324
|
}[];
|
|
13225
13325
|
lastVerification: {
|
|
13226
|
-
result: "
|
|
13326
|
+
result: "SUCCESS" | "FAILED";
|
|
13227
13327
|
message: string | null;
|
|
13228
13328
|
checkedAt: string;
|
|
13229
13329
|
} | null;
|
|
@@ -13284,7 +13384,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13284
13384
|
masked: string | null;
|
|
13285
13385
|
}[];
|
|
13286
13386
|
lastVerification: {
|
|
13287
|
-
result: "
|
|
13387
|
+
result: "SUCCESS" | "FAILED";
|
|
13288
13388
|
message: string | null;
|
|
13289
13389
|
checkedAt: string;
|
|
13290
13390
|
} | null;
|
|
@@ -13309,7 +13409,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13309
13409
|
masked: string | null;
|
|
13310
13410
|
}[];
|
|
13311
13411
|
lastVerification: {
|
|
13312
|
-
result: "
|
|
13412
|
+
result: "SUCCESS" | "FAILED";
|
|
13313
13413
|
message: string | null;
|
|
13314
13414
|
checkedAt: string;
|
|
13315
13415
|
} | null;
|
|
@@ -13333,7 +13433,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13333
13433
|
masked: string | null;
|
|
13334
13434
|
}[];
|
|
13335
13435
|
lastVerification: {
|
|
13336
|
-
result: "
|
|
13436
|
+
result: "SUCCESS" | "FAILED";
|
|
13337
13437
|
message: string | null;
|
|
13338
13438
|
checkedAt: string;
|
|
13339
13439
|
} | null;
|
|
@@ -13399,7 +13499,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13399
13499
|
masked: string | null;
|
|
13400
13500
|
}[];
|
|
13401
13501
|
lastVerification: {
|
|
13402
|
-
result: "
|
|
13502
|
+
result: "SUCCESS" | "FAILED";
|
|
13403
13503
|
message: string | null;
|
|
13404
13504
|
checkedAt: string;
|
|
13405
13505
|
} | null;
|
|
@@ -13424,7 +13524,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13424
13524
|
masked: string | null;
|
|
13425
13525
|
}[];
|
|
13426
13526
|
lastVerification: {
|
|
13427
|
-
result: "
|
|
13527
|
+
result: "SUCCESS" | "FAILED";
|
|
13428
13528
|
message: string | null;
|
|
13429
13529
|
checkedAt: string;
|
|
13430
13530
|
} | null;
|
|
@@ -13448,7 +13548,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13448
13548
|
masked: string | null;
|
|
13449
13549
|
}[];
|
|
13450
13550
|
lastVerification: {
|
|
13451
|
-
result: "
|
|
13551
|
+
result: "SUCCESS" | "FAILED";
|
|
13452
13552
|
message: string | null;
|
|
13453
13553
|
checkedAt: string;
|
|
13454
13554
|
} | null;
|
|
@@ -13495,7 +13595,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13495
13595
|
masked: string | null;
|
|
13496
13596
|
}[];
|
|
13497
13597
|
lastVerification: {
|
|
13498
|
-
result: "
|
|
13598
|
+
result: "SUCCESS" | "FAILED";
|
|
13499
13599
|
message: string | null;
|
|
13500
13600
|
checkedAt: string;
|
|
13501
13601
|
} | null;
|
|
@@ -13520,7 +13620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13520
13620
|
masked: string | null;
|
|
13521
13621
|
}[];
|
|
13522
13622
|
lastVerification: {
|
|
13523
|
-
result: "
|
|
13623
|
+
result: "SUCCESS" | "FAILED";
|
|
13524
13624
|
message: string | null;
|
|
13525
13625
|
checkedAt: string;
|
|
13526
13626
|
} | null;
|
|
@@ -13544,7 +13644,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13544
13644
|
masked: string | null;
|
|
13545
13645
|
}[];
|
|
13546
13646
|
lastVerification: {
|
|
13547
|
-
result: "
|
|
13647
|
+
result: "SUCCESS" | "FAILED";
|
|
13548
13648
|
message: string | null;
|
|
13549
13649
|
checkedAt: string;
|
|
13550
13650
|
} | null;
|
|
@@ -13601,7 +13701,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13601
13701
|
masked: string | null;
|
|
13602
13702
|
}[];
|
|
13603
13703
|
lastVerification: {
|
|
13604
|
-
result: "
|
|
13704
|
+
result: "SUCCESS" | "FAILED";
|
|
13605
13705
|
message: string | null;
|
|
13606
13706
|
checkedAt: string;
|
|
13607
13707
|
} | null;
|
|
@@ -13626,7 +13726,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13626
13726
|
masked: string | null;
|
|
13627
13727
|
}[];
|
|
13628
13728
|
lastVerification: {
|
|
13629
|
-
result: "
|
|
13729
|
+
result: "SUCCESS" | "FAILED";
|
|
13630
13730
|
message: string | null;
|
|
13631
13731
|
checkedAt: string;
|
|
13632
13732
|
} | null;
|
|
@@ -13650,7 +13750,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13650
13750
|
masked: string | null;
|
|
13651
13751
|
}[];
|
|
13652
13752
|
lastVerification: {
|
|
13653
|
-
result: "
|
|
13753
|
+
result: "SUCCESS" | "FAILED";
|
|
13654
13754
|
message: string | null;
|
|
13655
13755
|
checkedAt: string;
|
|
13656
13756
|
} | null;
|
|
@@ -13697,7 +13797,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13697
13797
|
masked: string | null;
|
|
13698
13798
|
}[];
|
|
13699
13799
|
lastVerification: {
|
|
13700
|
-
result: "
|
|
13800
|
+
result: "SUCCESS" | "FAILED";
|
|
13701
13801
|
message: string | null;
|
|
13702
13802
|
checkedAt: string;
|
|
13703
13803
|
} | null;
|
|
@@ -13722,7 +13822,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13722
13822
|
masked: string | null;
|
|
13723
13823
|
}[];
|
|
13724
13824
|
lastVerification: {
|
|
13725
|
-
result: "
|
|
13825
|
+
result: "SUCCESS" | "FAILED";
|
|
13726
13826
|
message: string | null;
|
|
13727
13827
|
checkedAt: string;
|
|
13728
13828
|
} | null;
|
|
@@ -13746,7 +13846,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13746
13846
|
masked: string | null;
|
|
13747
13847
|
}[];
|
|
13748
13848
|
lastVerification: {
|
|
13749
|
-
result: "
|
|
13849
|
+
result: "SUCCESS" | "FAILED";
|
|
13750
13850
|
message: string | null;
|
|
13751
13851
|
checkedAt: string;
|
|
13752
13852
|
} | null;
|
|
@@ -13802,7 +13902,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13802
13902
|
masked: string | null;
|
|
13803
13903
|
}[];
|
|
13804
13904
|
lastVerification: {
|
|
13805
|
-
result: "
|
|
13905
|
+
result: "SUCCESS" | "FAILED";
|
|
13806
13906
|
message: string | null;
|
|
13807
13907
|
checkedAt: string;
|
|
13808
13908
|
} | null;
|
|
@@ -13827,7 +13927,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13827
13927
|
masked: string | null;
|
|
13828
13928
|
}[];
|
|
13829
13929
|
lastVerification: {
|
|
13830
|
-
result: "
|
|
13930
|
+
result: "SUCCESS" | "FAILED";
|
|
13831
13931
|
message: string | null;
|
|
13832
13932
|
checkedAt: string;
|
|
13833
13933
|
} | null;
|
|
@@ -13851,7 +13951,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13851
13951
|
masked: string | null;
|
|
13852
13952
|
}[];
|
|
13853
13953
|
lastVerification: {
|
|
13854
|
-
result: "
|
|
13954
|
+
result: "SUCCESS" | "FAILED";
|
|
13855
13955
|
message: string | null;
|
|
13856
13956
|
checkedAt: string;
|
|
13857
13957
|
} | null;
|
|
@@ -13879,7 +13979,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13879
13979
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
13880
13980
|
provider: "tosspayments" | "portone";
|
|
13881
13981
|
environment: "TEST" | "LIVE";
|
|
13882
|
-
result: "
|
|
13982
|
+
result: "SUCCESS" | "FAILED";
|
|
13883
13983
|
message: string | null;
|
|
13884
13984
|
checkedAt: string;
|
|
13885
13985
|
}>;
|
|
@@ -13945,7 +14045,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13945
14045
|
eventId: string;
|
|
13946
14046
|
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";
|
|
13947
14047
|
url: string;
|
|
13948
|
-
status: "
|
|
14048
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
13949
14049
|
responseStatusCode: number | null;
|
|
13950
14050
|
responseTimeMs: number | null;
|
|
13951
14051
|
responseBodyExcerpt: string | null;
|
|
@@ -13972,7 +14072,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13972
14072
|
eventId: string;
|
|
13973
14073
|
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";
|
|
13974
14074
|
url: string;
|
|
13975
|
-
status: "
|
|
14075
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
13976
14076
|
responseStatusCode: number | null;
|
|
13977
14077
|
responseTimeMs: number | null;
|
|
13978
14078
|
responseBodyExcerpt: string | null;
|
|
@@ -14007,7 +14107,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14007
14107
|
eventId: string;
|
|
14008
14108
|
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";
|
|
14009
14109
|
url: string;
|
|
14010
|
-
status: "
|
|
14110
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
14011
14111
|
responseStatusCode: number | null;
|
|
14012
14112
|
responseTimeMs: number | null;
|
|
14013
14113
|
responseBodyExcerpt: string | null;
|
|
@@ -14103,7 +14203,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14103
14203
|
method: string | null;
|
|
14104
14204
|
path: string | null;
|
|
14105
14205
|
statusCode: number | null;
|
|
14106
|
-
outcome: "
|
|
14206
|
+
outcome: "FAILED" | "SUCCEEDED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
14107
14207
|
errorCode: string | null;
|
|
14108
14208
|
traceId: string | null;
|
|
14109
14209
|
idempotencyKey: string | null;
|
|
@@ -14121,7 +14221,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14121
14221
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
14122
14222
|
items: {
|
|
14123
14223
|
approvalId: string;
|
|
14124
|
-
status: "
|
|
14224
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14125
14225
|
operationId: string;
|
|
14126
14226
|
method: string;
|
|
14127
14227
|
path: string;
|
|
@@ -14173,7 +14273,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14173
14273
|
}>;
|
|
14174
14274
|
get: (approvalId: string) => Promise<{
|
|
14175
14275
|
approvalId: string;
|
|
14176
|
-
status: "
|
|
14276
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14177
14277
|
operationId: string;
|
|
14178
14278
|
method: string;
|
|
14179
14279
|
path: string;
|
|
@@ -14227,7 +14327,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14227
14327
|
*/
|
|
14228
14328
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14229
14329
|
approvalId: string;
|
|
14230
|
-
status: "
|
|
14330
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14231
14331
|
operationId: string;
|
|
14232
14332
|
method: string;
|
|
14233
14333
|
path: string;
|
|
@@ -14277,7 +14377,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14277
14377
|
}>;
|
|
14278
14378
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14279
14379
|
approvalId: string;
|
|
14280
|
-
status: "
|
|
14380
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14281
14381
|
operationId: string;
|
|
14282
14382
|
method: string;
|
|
14283
14383
|
path: string;
|
|
@@ -14481,7 +14581,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14481
14581
|
createdVia?: string | null | undefined;
|
|
14482
14582
|
} | null;
|
|
14483
14583
|
provisioning: {
|
|
14484
|
-
status: "
|
|
14584
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14485
14585
|
lastErrorCode: string | null;
|
|
14486
14586
|
syncedAt: string | null;
|
|
14487
14587
|
};
|
|
@@ -14539,7 +14639,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14539
14639
|
createdVia?: string | null | undefined;
|
|
14540
14640
|
} | null;
|
|
14541
14641
|
provisioning: {
|
|
14542
|
-
status: "
|
|
14642
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14543
14643
|
lastErrorCode: string | null;
|
|
14544
14644
|
syncedAt: string | null;
|
|
14545
14645
|
};
|
|
@@ -14557,13 +14657,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14557
14657
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
14558
14658
|
getDeployment: () => Promise<{
|
|
14559
14659
|
siteId: string;
|
|
14560
|
-
status: "
|
|
14660
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
14561
14661
|
url: string;
|
|
14562
14662
|
startedAt: string;
|
|
14563
14663
|
finishedAt: string | null;
|
|
14564
14664
|
steps: {
|
|
14565
14665
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14566
|
-
status: "
|
|
14666
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
14567
14667
|
finishedAt: string | null;
|
|
14568
14668
|
}[];
|
|
14569
14669
|
log: {
|
|
@@ -14579,13 +14679,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14579
14679
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
14580
14680
|
retryDeployment: () => Promise<{
|
|
14581
14681
|
siteId: string;
|
|
14582
|
-
status: "
|
|
14682
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
14583
14683
|
url: string;
|
|
14584
14684
|
startedAt: string;
|
|
14585
14685
|
finishedAt: string | null;
|
|
14586
14686
|
steps: {
|
|
14587
14687
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
14588
|
-
status: "
|
|
14688
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
14589
14689
|
finishedAt: string | null;
|
|
14590
14690
|
}[];
|
|
14591
14691
|
log: {
|
|
@@ -14635,7 +14735,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14635
14735
|
createdVia?: string | null | undefined;
|
|
14636
14736
|
} | null;
|
|
14637
14737
|
provisioning: {
|
|
14638
|
-
status: "
|
|
14738
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14639
14739
|
lastErrorCode: string | null;
|
|
14640
14740
|
syncedAt: string | null;
|
|
14641
14741
|
};
|
|
@@ -14699,7 +14799,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14699
14799
|
createdVia?: string | null | undefined;
|
|
14700
14800
|
} | null;
|
|
14701
14801
|
provisioning: {
|
|
14702
|
-
status: "
|
|
14802
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14703
14803
|
lastErrorCode: string | null;
|
|
14704
14804
|
syncedAt: string | null;
|
|
14705
14805
|
};
|
|
@@ -14747,7 +14847,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14747
14847
|
createdVia?: string | null | undefined;
|
|
14748
14848
|
} | null;
|
|
14749
14849
|
provisioning: {
|
|
14750
|
-
status: "
|
|
14850
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14751
14851
|
lastErrorCode: string | null;
|
|
14752
14852
|
syncedAt: string | null;
|
|
14753
14853
|
};
|
|
@@ -14795,7 +14895,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14795
14895
|
createdVia?: string | null | undefined;
|
|
14796
14896
|
} | null;
|
|
14797
14897
|
provisioning: {
|
|
14798
|
-
status: "
|
|
14898
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14799
14899
|
lastErrorCode: string | null;
|
|
14800
14900
|
syncedAt: string | null;
|
|
14801
14901
|
};
|
|
@@ -14843,7 +14943,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14843
14943
|
createdVia?: string | null | undefined;
|
|
14844
14944
|
} | null;
|
|
14845
14945
|
provisioning: {
|
|
14846
|
-
status: "
|
|
14946
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14847
14947
|
lastErrorCode: string | null;
|
|
14848
14948
|
syncedAt: string | null;
|
|
14849
14949
|
};
|
|
@@ -14875,7 +14975,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14875
14975
|
domainId: string;
|
|
14876
14976
|
hostname: string;
|
|
14877
14977
|
kind: "PLATFORM" | "CUSTOM";
|
|
14878
|
-
status: "
|
|
14978
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14879
14979
|
isPrimary: boolean;
|
|
14880
14980
|
dnsRecords: {
|
|
14881
14981
|
type: "CNAME" | "TXT";
|
|
@@ -14883,7 +14983,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14883
14983
|
value: string;
|
|
14884
14984
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14885
14985
|
}[];
|
|
14886
|
-
certificateStatus: "
|
|
14986
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14887
14987
|
failureCode: string | null;
|
|
14888
14988
|
verifiedAt: string | null;
|
|
14889
14989
|
activatedAt: string | null;
|
|
@@ -14899,7 +14999,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14899
14999
|
domainId: string;
|
|
14900
15000
|
hostname: string;
|
|
14901
15001
|
kind: "PLATFORM" | "CUSTOM";
|
|
14902
|
-
status: "
|
|
15002
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14903
15003
|
isPrimary: boolean;
|
|
14904
15004
|
dnsRecords: {
|
|
14905
15005
|
type: "CNAME" | "TXT";
|
|
@@ -14907,7 +15007,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14907
15007
|
value: string;
|
|
14908
15008
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14909
15009
|
}[];
|
|
14910
|
-
certificateStatus: "
|
|
15010
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14911
15011
|
failureCode: string | null;
|
|
14912
15012
|
verifiedAt: string | null;
|
|
14913
15013
|
activatedAt: string | null;
|
|
@@ -14919,7 +15019,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14919
15019
|
domainId: string;
|
|
14920
15020
|
hostname: string;
|
|
14921
15021
|
kind: "PLATFORM" | "CUSTOM";
|
|
14922
|
-
status: "
|
|
15022
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14923
15023
|
isPrimary: boolean;
|
|
14924
15024
|
dnsRecords: {
|
|
14925
15025
|
type: "CNAME" | "TXT";
|
|
@@ -14927,7 +15027,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14927
15027
|
value: string;
|
|
14928
15028
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14929
15029
|
}[];
|
|
14930
|
-
certificateStatus: "
|
|
15030
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14931
15031
|
failureCode: string | null;
|
|
14932
15032
|
verifiedAt: string | null;
|
|
14933
15033
|
activatedAt: string | null;
|
|
@@ -14943,7 +15043,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14943
15043
|
domainId: string;
|
|
14944
15044
|
hostname: string;
|
|
14945
15045
|
kind: "PLATFORM" | "CUSTOM";
|
|
14946
|
-
status: "
|
|
15046
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
14947
15047
|
isPrimary: boolean;
|
|
14948
15048
|
dnsRecords: {
|
|
14949
15049
|
type: "CNAME" | "TXT";
|
|
@@ -14951,7 +15051,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14951
15051
|
value: string;
|
|
14952
15052
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
14953
15053
|
}[];
|
|
14954
|
-
certificateStatus: "
|
|
15054
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
14955
15055
|
failureCode: string | null;
|
|
14956
15056
|
verifiedAt: string | null;
|
|
14957
15057
|
activatedAt: string | null;
|
|
@@ -14994,7 +15094,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14994
15094
|
createdVia?: string | null | undefined;
|
|
14995
15095
|
} | null;
|
|
14996
15096
|
provisioning: {
|
|
14997
|
-
status: "
|
|
15097
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
14998
15098
|
lastErrorCode: string | null;
|
|
14999
15099
|
syncedAt: string | null;
|
|
15000
15100
|
};
|
|
@@ -15235,7 +15335,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15235
15335
|
buildId: string;
|
|
15236
15336
|
versionId: string;
|
|
15237
15337
|
versionNumber: number;
|
|
15238
|
-
status: "
|
|
15338
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15239
15339
|
failureStage: string | null;
|
|
15240
15340
|
errorCode: string | null;
|
|
15241
15341
|
logTail: string | null;
|
|
@@ -15316,7 +15416,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15316
15416
|
buildId: string;
|
|
15317
15417
|
versionId: string;
|
|
15318
15418
|
versionNumber: number;
|
|
15319
|
-
status: "
|
|
15419
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15320
15420
|
failureStage: string | null;
|
|
15321
15421
|
errorCode: string | null;
|
|
15322
15422
|
logTail: string | null;
|
|
@@ -15394,7 +15494,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15394
15494
|
buildId: string;
|
|
15395
15495
|
versionId: string;
|
|
15396
15496
|
versionNumber: number;
|
|
15397
|
-
status: "
|
|
15497
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
15398
15498
|
failureStage: string | null;
|
|
15399
15499
|
errorCode: string | null;
|
|
15400
15500
|
logTail: string | null;
|