@sayren/store-sdk 0.30.5 → 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 +170 -125
- package/dist/index.mjs +12 -2
- package/package.json +1 -1
- package/src/client.ts +4 -0
- package/src/schemas/commerce-flow.ts +27 -1
package/dist/index.d.mts
CHANGED
|
@@ -165,8 +165,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>;
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
169
168
|
DENIED: "DENIED";
|
|
169
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
170
170
|
ALLOW: "ALLOW";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
@@ -191,8 +191,8 @@ export type WritePreview = z.infer<typeof writePreviewSchema>;
|
|
|
191
191
|
export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
192
192
|
dryRun: z.ZodLiteral<true>;
|
|
193
193
|
decision: z.ZodEnum<{
|
|
194
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
194
|
DENIED: "DENIED";
|
|
195
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
196
|
ALLOW: "ALLOW";
|
|
197
197
|
}>;
|
|
198
198
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -215,11 +215,11 @@ 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
|
-
UNKNOWN: "UNKNOWN";
|
|
219
218
|
PENDING: "PENDING";
|
|
220
219
|
FAILED: "FAILED";
|
|
221
220
|
SUCCEEDED: "SUCCEEDED";
|
|
222
221
|
EXECUTING: "EXECUTING";
|
|
222
|
+
UNKNOWN: "UNKNOWN";
|
|
223
223
|
REJECTED: "REJECTED";
|
|
224
224
|
EXPIRED: "EXPIRED";
|
|
225
225
|
}>;
|
|
@@ -227,11 +227,11 @@ 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
|
-
UNKNOWN: "UNKNOWN";
|
|
231
230
|
PENDING: "PENDING";
|
|
232
231
|
FAILED: "FAILED";
|
|
233
232
|
SUCCEEDED: "SUCCEEDED";
|
|
234
233
|
EXECUTING: "EXECUTING";
|
|
234
|
+
UNKNOWN: "UNKNOWN";
|
|
235
235
|
REJECTED: "REJECTED";
|
|
236
236
|
EXPIRED: "EXPIRED";
|
|
237
237
|
}>;
|
|
@@ -291,11 +291,11 @@ 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
|
-
UNKNOWN: "UNKNOWN";
|
|
295
294
|
PENDING: "PENDING";
|
|
296
295
|
FAILED: "FAILED";
|
|
297
296
|
SUCCEEDED: "SUCCEEDED";
|
|
298
297
|
EXECUTING: "EXECUTING";
|
|
298
|
+
UNKNOWN: "UNKNOWN";
|
|
299
299
|
REJECTED: "REJECTED";
|
|
300
300
|
EXPIRED: "EXPIRED";
|
|
301
301
|
}>>>>;
|
|
@@ -310,11 +310,11 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
310
310
|
items: z.ZodArray<z.ZodObject<{
|
|
311
311
|
approvalId: z.ZodString;
|
|
312
312
|
status: z.ZodEnum<{
|
|
313
|
-
UNKNOWN: "UNKNOWN";
|
|
314
313
|
PENDING: "PENDING";
|
|
315
314
|
FAILED: "FAILED";
|
|
316
315
|
SUCCEEDED: "SUCCEEDED";
|
|
317
316
|
EXECUTING: "EXECUTING";
|
|
317
|
+
UNKNOWN: "UNKNOWN";
|
|
318
318
|
REJECTED: "REJECTED";
|
|
319
319
|
EXPIRED: "EXPIRED";
|
|
320
320
|
}>;
|
|
@@ -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
|
+
PAID: "PAID";
|
|
590
591
|
DIRECT: "DIRECT";
|
|
592
|
+
CAMPAIGN: "CAMPAIGN";
|
|
593
|
+
UNKNOWN: "UNKNOWN";
|
|
591
594
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
592
595
|
SOCIAL: "SOCIAL";
|
|
593
|
-
PAID: "PAID";
|
|
594
596
|
EMAIL: "EMAIL";
|
|
595
|
-
CAMPAIGN: "CAMPAIGN";
|
|
596
597
|
REFERRAL: "REFERRAL";
|
|
597
|
-
UNKNOWN: "UNKNOWN";
|
|
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,23 +612,23 @@ 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
|
+
PAID: "PAID";
|
|
624
625
|
DIRECT: "DIRECT";
|
|
626
|
+
CAMPAIGN: "CAMPAIGN";
|
|
627
|
+
UNKNOWN: "UNKNOWN";
|
|
625
628
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
626
629
|
SOCIAL: "SOCIAL";
|
|
627
|
-
PAID: "PAID";
|
|
628
630
|
EMAIL: "EMAIL";
|
|
629
|
-
CAMPAIGN: "CAMPAIGN";
|
|
630
631
|
REFERRAL: "REFERRAL";
|
|
631
|
-
UNKNOWN: "UNKNOWN";
|
|
632
632
|
}>>;
|
|
633
633
|
source: z.ZodNullable<z.ZodString>;
|
|
634
634
|
medium: z.ZodNullable<z.ZodString>;
|
|
@@ -650,21 +650,21 @@ 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
|
+
PAID: "PAID";
|
|
660
661
|
DIRECT: "DIRECT";
|
|
662
|
+
CAMPAIGN: "CAMPAIGN";
|
|
663
|
+
UNKNOWN: "UNKNOWN";
|
|
661
664
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
662
665
|
SOCIAL: "SOCIAL";
|
|
663
|
-
PAID: "PAID";
|
|
664
666
|
EMAIL: "EMAIL";
|
|
665
|
-
CAMPAIGN: "CAMPAIGN";
|
|
666
667
|
REFERRAL: "REFERRAL";
|
|
667
|
-
UNKNOWN: "UNKNOWN";
|
|
668
668
|
}>>;
|
|
669
669
|
source: z.ZodNullable<z.ZodString>;
|
|
670
670
|
medium: 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>>;
|
|
@@ -1276,8 +1276,8 @@ export declare const claimTypeSchema: z.ZodEnum<{
|
|
|
1276
1276
|
}>;
|
|
1277
1277
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
1278
1278
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
1279
|
-
COMPLETED: "COMPLETED";
|
|
1280
1279
|
REJECTED: "REJECTED";
|
|
1280
|
+
COMPLETED: "COMPLETED";
|
|
1281
1281
|
REQUESTED: "REQUESTED";
|
|
1282
1282
|
HELD: "HELD";
|
|
1283
1283
|
COLLECTING: "COLLECTING";
|
|
@@ -1321,8 +1321,8 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
1321
1321
|
CANCEL: "CANCEL";
|
|
1322
1322
|
}>;
|
|
1323
1323
|
status: z.ZodEnum<{
|
|
1324
|
-
COMPLETED: "COMPLETED";
|
|
1325
1324
|
REJECTED: "REJECTED";
|
|
1325
|
+
COMPLETED: "COMPLETED";
|
|
1326
1326
|
REQUESTED: "REQUESTED";
|
|
1327
1327
|
HELD: "HELD";
|
|
1328
1328
|
COLLECTING: "COLLECTING";
|
|
@@ -1411,8 +1411,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1411
1411
|
CANCEL: "CANCEL";
|
|
1412
1412
|
}>;
|
|
1413
1413
|
status: z.ZodEnum<{
|
|
1414
|
-
COMPLETED: "COMPLETED";
|
|
1415
1414
|
REJECTED: "REJECTED";
|
|
1415
|
+
COMPLETED: "COMPLETED";
|
|
1416
1416
|
REQUESTED: "REQUESTED";
|
|
1417
1417
|
HELD: "HELD";
|
|
1418
1418
|
COLLECTING: "COLLECTING";
|
|
@@ -1469,8 +1469,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
1469
1469
|
}, z.core.$strip>>;
|
|
1470
1470
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1471
1471
|
status: z.ZodEnum<{
|
|
1472
|
-
COMPLETED: "COMPLETED";
|
|
1473
1472
|
REJECTED: "REJECTED";
|
|
1473
|
+
COMPLETED: "COMPLETED";
|
|
1474
1474
|
REQUESTED: "REQUESTED";
|
|
1475
1475
|
HELD: "HELD";
|
|
1476
1476
|
COLLECTING: "COLLECTING";
|
|
@@ -2096,8 +2096,8 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
2096
2096
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2097
2097
|
}>>;
|
|
2098
2098
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2099
|
-
COMPLETED: "COMPLETED";
|
|
2100
2099
|
REJECTED: "REJECTED";
|
|
2100
|
+
COMPLETED: "COMPLETED";
|
|
2101
2101
|
REQUESTED: "REQUESTED";
|
|
2102
2102
|
HELD: "HELD";
|
|
2103
2103
|
COLLECTING: "COLLECTING";
|
|
@@ -2144,8 +2144,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2144
2144
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2145
2145
|
}>>;
|
|
2146
2146
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2147
|
-
COMPLETED: "COMPLETED";
|
|
2148
2147
|
REJECTED: "REJECTED";
|
|
2148
|
+
COMPLETED: "COMPLETED";
|
|
2149
2149
|
REQUESTED: "REQUESTED";
|
|
2150
2150
|
HELD: "HELD";
|
|
2151
2151
|
COLLECTING: "COLLECTING";
|
|
@@ -2239,8 +2239,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
2239
2239
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2240
2240
|
}>>;
|
|
2241
2241
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2242
|
-
COMPLETED: "COMPLETED";
|
|
2243
2242
|
REJECTED: "REJECTED";
|
|
2243
|
+
COMPLETED: "COMPLETED";
|
|
2244
2244
|
REQUESTED: "REQUESTED";
|
|
2245
2245
|
HELD: "HELD";
|
|
2246
2246
|
COLLECTING: "COLLECTING";
|
|
@@ -2330,8 +2330,8 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
2330
2330
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
2331
2331
|
}>>;
|
|
2332
2332
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
2333
|
-
COMPLETED: "COMPLETED";
|
|
2334
2333
|
REJECTED: "REJECTED";
|
|
2334
|
+
COMPLETED: "COMPLETED";
|
|
2335
2335
|
REQUESTED: "REQUESTED";
|
|
2336
2336
|
HELD: "HELD";
|
|
2337
2337
|
COLLECTING: "COLLECTING";
|
|
@@ -2408,6 +2408,23 @@ export declare const flowPresetSummarySchema: z.ZodObject<{
|
|
|
2408
2408
|
variables: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2409
2409
|
}, z.core.$strip>;
|
|
2410
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>;
|
|
2411
2428
|
export declare const commerceFlowSummarySchema: z.ZodObject<{
|
|
2412
2429
|
flowId: z.ZodString;
|
|
2413
2430
|
key: z.ZodString;
|
|
@@ -2420,6 +2437,10 @@ export declare const commerceFlowSummarySchema: z.ZodObject<{
|
|
|
2420
2437
|
presetKey: z.ZodNullable<z.ZodString>;
|
|
2421
2438
|
presetVersion: z.ZodNullable<z.ZodNumber>;
|
|
2422
2439
|
activeVersion: z.ZodNullable<z.ZodNumber>;
|
|
2440
|
+
defaultFor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2441
|
+
SHIPPING: "SHIPPING";
|
|
2442
|
+
MANUAL: "MANUAL";
|
|
2443
|
+
}>>>>;
|
|
2423
2444
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
2424
2445
|
createdAt: z.ZodString;
|
|
2425
2446
|
updatedAt: z.ZodString;
|
|
@@ -2450,6 +2471,10 @@ export declare const commerceFlowSchema: z.ZodObject<{
|
|
|
2450
2471
|
presetKey: z.ZodNullable<z.ZodString>;
|
|
2451
2472
|
presetVersion: z.ZodNullable<z.ZodNumber>;
|
|
2452
2473
|
activeVersion: z.ZodNullable<z.ZodNumber>;
|
|
2474
|
+
defaultFor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2475
|
+
SHIPPING: "SHIPPING";
|
|
2476
|
+
MANUAL: "MANUAL";
|
|
2477
|
+
}>>>>;
|
|
2453
2478
|
archivedAt: z.ZodNullable<z.ZodString>;
|
|
2454
2479
|
createdAt: z.ZodString;
|
|
2455
2480
|
updatedAt: z.ZodString;
|
|
@@ -2513,6 +2538,8 @@ export declare const createCommerceFlowRequestSchema: z.ZodObject<{
|
|
|
2513
2538
|
key: z.ZodString;
|
|
2514
2539
|
name: z.ZodOptional<z.ZodString>;
|
|
2515
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>>;
|
|
2516
2543
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2517
2544
|
}, z.core.$strip>;
|
|
2518
2545
|
export type CreateCommerceFlowRequest = z.infer<typeof createCommerceFlowRequestSchema>;
|
|
@@ -2573,8 +2600,8 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
2573
2600
|
results: z.ZodArray<z.ZodObject<{
|
|
2574
2601
|
orderItemId: z.ZodString;
|
|
2575
2602
|
status: z.ZodEnum<{
|
|
2576
|
-
COMPLETED: "COMPLETED";
|
|
2577
2603
|
FAILED: "FAILED";
|
|
2604
|
+
COMPLETED: "COMPLETED";
|
|
2578
2605
|
SKIPPED: "SKIPPED";
|
|
2579
2606
|
}>;
|
|
2580
2607
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3313,10 +3340,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
3313
3340
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
3314
3341
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
3315
3342
|
reason: z.ZodEnum<{
|
|
3316
|
-
OTHER: "OTHER";
|
|
3317
3343
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
3318
3344
|
DORMANT: "DORMANT";
|
|
3319
3345
|
ABUSE: "ABUSE";
|
|
3346
|
+
OTHER: "OTHER";
|
|
3320
3347
|
}>;
|
|
3321
3348
|
memo: z.ZodOptional<z.ZodString>;
|
|
3322
3349
|
}, z.core.$strip>;
|
|
@@ -3383,8 +3410,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
3383
3410
|
*/
|
|
3384
3411
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
3385
3412
|
export declare const fulfillmentMethodSchema: z.ZodEnum<{
|
|
3386
|
-
DIRECT: "DIRECT";
|
|
3387
3413
|
CARRIER: "CARRIER";
|
|
3414
|
+
DIRECT: "DIRECT";
|
|
3388
3415
|
PICKUP: "PICKUP";
|
|
3389
3416
|
PROVIDED: "PROVIDED";
|
|
3390
3417
|
}>;
|
|
@@ -3428,8 +3455,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
3428
3455
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
3429
3456
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
3430
3457
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
3431
|
-
PAID: "PAID";
|
|
3432
3458
|
FREE: "FREE";
|
|
3459
|
+
PAID: "PAID";
|
|
3433
3460
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3434
3461
|
}>;
|
|
3435
3462
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -3440,8 +3467,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3440
3467
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3441
3468
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
3442
3469
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
3443
|
-
PAID: "PAID";
|
|
3444
3470
|
FREE: "FREE";
|
|
3471
|
+
PAID: "PAID";
|
|
3445
3472
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3446
3473
|
}>>;
|
|
3447
3474
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3450,16 +3477,16 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3450
3477
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3451
3478
|
}, z.core.$strict>>;
|
|
3452
3479
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3453
|
-
DIRECT: "DIRECT";
|
|
3454
3480
|
CARRIER: "CARRIER";
|
|
3481
|
+
DIRECT: "DIRECT";
|
|
3455
3482
|
PICKUP: "PICKUP";
|
|
3456
3483
|
PROVIDED: "PROVIDED";
|
|
3457
3484
|
}>>>;
|
|
3458
3485
|
}, z.core.$strict>, z.ZodObject<{
|
|
3459
3486
|
type: z.ZodLiteral<"MANUAL">;
|
|
3460
3487
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3461
|
-
DIRECT: "DIRECT";
|
|
3462
3488
|
CARRIER: "CARRIER";
|
|
3489
|
+
DIRECT: "DIRECT";
|
|
3463
3490
|
PICKUP: "PICKUP";
|
|
3464
3491
|
PROVIDED: "PROVIDED";
|
|
3465
3492
|
}>>>;
|
|
@@ -3475,8 +3502,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3475
3502
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3476
3503
|
shipping: z.ZodObject<{
|
|
3477
3504
|
deliveryType: z.ZodEnum<{
|
|
3478
|
-
PAID: "PAID";
|
|
3479
3505
|
FREE: "FREE";
|
|
3506
|
+
PAID: "PAID";
|
|
3480
3507
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3481
3508
|
}>;
|
|
3482
3509
|
deliveryFee: z.ZodNumber;
|
|
@@ -3485,16 +3512,16 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
3485
3512
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
3486
3513
|
}, z.core.$strict>;
|
|
3487
3514
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3488
|
-
DIRECT: "DIRECT";
|
|
3489
3515
|
CARRIER: "CARRIER";
|
|
3516
|
+
DIRECT: "DIRECT";
|
|
3490
3517
|
PICKUP: "PICKUP";
|
|
3491
3518
|
PROVIDED: "PROVIDED";
|
|
3492
3519
|
}>>>;
|
|
3493
3520
|
}, z.core.$strict>, z.ZodObject<{
|
|
3494
3521
|
type: z.ZodLiteral<"MANUAL">;
|
|
3495
3522
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3496
|
-
DIRECT: "DIRECT";
|
|
3497
3523
|
CARRIER: "CARRIER";
|
|
3524
|
+
DIRECT: "DIRECT";
|
|
3498
3525
|
PICKUP: "PICKUP";
|
|
3499
3526
|
PROVIDED: "PROVIDED";
|
|
3500
3527
|
}>>>;
|
|
@@ -3508,8 +3535,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3508
3535
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3509
3536
|
shipping: z.ZodObject<{
|
|
3510
3537
|
deliveryType: z.ZodEnum<{
|
|
3511
|
-
PAID: "PAID";
|
|
3512
3538
|
FREE: "FREE";
|
|
3539
|
+
PAID: "PAID";
|
|
3513
3540
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3514
3541
|
}>;
|
|
3515
3542
|
deliveryFee: z.ZodNumber;
|
|
@@ -3549,8 +3576,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
3549
3576
|
type: z.ZodLiteral<"SHIPPING">;
|
|
3550
3577
|
shipping: z.ZodObject<{
|
|
3551
3578
|
deliveryType: z.ZodEnum<{
|
|
3552
|
-
PAID: "PAID";
|
|
3553
3579
|
FREE: "FREE";
|
|
3580
|
+
PAID: "PAID";
|
|
3554
3581
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
3555
3582
|
}>;
|
|
3556
3583
|
deliveryFee: z.ZodNumber;
|
|
@@ -6339,11 +6366,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
6339
6366
|
export declare const pointLotSchema: z.ZodObject<{
|
|
6340
6367
|
lotId: z.ZodString;
|
|
6341
6368
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6342
|
-
PURCHASE: "PURCHASE";
|
|
6343
6369
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6344
6370
|
ADJUST: "ADJUST";
|
|
6345
6371
|
OPENING: "OPENING";
|
|
6346
6372
|
REVIEW: "REVIEW";
|
|
6373
|
+
PURCHASE: "PURCHASE";
|
|
6347
6374
|
}>, z.ZodString]>;
|
|
6348
6375
|
amount: z.ZodNumber;
|
|
6349
6376
|
remaining: z.ZodNumber;
|
|
@@ -6358,11 +6385,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
6358
6385
|
lots: z.ZodArray<z.ZodObject<{
|
|
6359
6386
|
lotId: z.ZodString;
|
|
6360
6387
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6361
|
-
PURCHASE: "PURCHASE";
|
|
6362
6388
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
6363
6389
|
ADJUST: "ADJUST";
|
|
6364
6390
|
OPENING: "OPENING";
|
|
6365
6391
|
REVIEW: "REVIEW";
|
|
6392
|
+
PURCHASE: "PURCHASE";
|
|
6366
6393
|
}>, z.ZodString]>;
|
|
6367
6394
|
amount: z.ZodNumber;
|
|
6368
6395
|
remaining: z.ZodNumber;
|
|
@@ -6535,8 +6562,8 @@ export declare const VARIANT_COUNT_WARNING = 100;
|
|
|
6535
6562
|
* 추가금순은 추가 선택 값이면 값의 추가금, 조합 값이면 그 값이 든 조합 추가금의 최솟값으로 비교하고 같으면 등록순이다.
|
|
6536
6563
|
*/
|
|
6537
6564
|
export declare const optionSortSchema: z.ZodEnum<{
|
|
6538
|
-
REGISTERED: "REGISTERED";
|
|
6539
6565
|
NAME: "NAME";
|
|
6566
|
+
REGISTERED: "REGISTERED";
|
|
6540
6567
|
PRICE_ASC: "PRICE_ASC";
|
|
6541
6568
|
PRICE_DESC: "PRICE_DESC";
|
|
6542
6569
|
}>;
|
|
@@ -6743,8 +6770,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6743
6770
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6744
6771
|
}, z.core.$strip>>>>;
|
|
6745
6772
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6746
|
-
REGISTERED: "REGISTERED";
|
|
6747
6773
|
NAME: "NAME";
|
|
6774
|
+
REGISTERED: "REGISTERED";
|
|
6748
6775
|
PRICE_ASC: "PRICE_ASC";
|
|
6749
6776
|
PRICE_DESC: "PRICE_DESC";
|
|
6750
6777
|
}>>>;
|
|
@@ -6752,8 +6779,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
6752
6779
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6753
6780
|
shipping: z.ZodObject<{
|
|
6754
6781
|
deliveryType: z.ZodEnum<{
|
|
6755
|
-
PAID: "PAID";
|
|
6756
6782
|
FREE: "FREE";
|
|
6783
|
+
PAID: "PAID";
|
|
6757
6784
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
6758
6785
|
}>;
|
|
6759
6786
|
deliveryFee: z.ZodNumber;
|
|
@@ -6903,8 +6930,8 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
6903
6930
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6904
6931
|
}, z.core.$strip>>>;
|
|
6905
6932
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
6906
|
-
REGISTERED: "REGISTERED";
|
|
6907
6933
|
NAME: "NAME";
|
|
6934
|
+
REGISTERED: "REGISTERED";
|
|
6908
6935
|
PRICE_ASC: "PRICE_ASC";
|
|
6909
6936
|
PRICE_DESC: "PRICE_DESC";
|
|
6910
6937
|
}>>;
|
|
@@ -6964,8 +6991,8 @@ export declare const optionModelSchema: z.ZodObject<{
|
|
|
6964
6991
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6965
6992
|
}, z.core.$strip>>>>;
|
|
6966
6993
|
optionSort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6967
|
-
REGISTERED: "REGISTERED";
|
|
6968
6994
|
NAME: "NAME";
|
|
6995
|
+
REGISTERED: "REGISTERED";
|
|
6969
6996
|
PRICE_ASC: "PRICE_ASC";
|
|
6970
6997
|
PRICE_DESC: "PRICE_DESC";
|
|
6971
6998
|
}>>>;
|
|
@@ -6996,8 +7023,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
6996
7023
|
type: z.ZodLiteral<"SHIPPING">;
|
|
6997
7024
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
6998
7025
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
6999
|
-
PAID: "PAID";
|
|
7000
7026
|
FREE: "FREE";
|
|
7027
|
+
PAID: "PAID";
|
|
7001
7028
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7002
7029
|
}>>;
|
|
7003
7030
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7006,16 +7033,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
7006
7033
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7007
7034
|
}, z.core.$strict>>;
|
|
7008
7035
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7009
|
-
DIRECT: "DIRECT";
|
|
7010
7036
|
CARRIER: "CARRIER";
|
|
7037
|
+
DIRECT: "DIRECT";
|
|
7011
7038
|
PICKUP: "PICKUP";
|
|
7012
7039
|
PROVIDED: "PROVIDED";
|
|
7013
7040
|
}>>>;
|
|
7014
7041
|
}, z.core.$strict>, z.ZodObject<{
|
|
7015
7042
|
type: z.ZodLiteral<"MANUAL">;
|
|
7016
7043
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7017
|
-
DIRECT: "DIRECT";
|
|
7018
7044
|
CARRIER: "CARRIER";
|
|
7045
|
+
DIRECT: "DIRECT";
|
|
7019
7046
|
PICKUP: "PICKUP";
|
|
7020
7047
|
PROVIDED: "PROVIDED";
|
|
7021
7048
|
}>>>;
|
|
@@ -7077,8 +7104,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
7077
7104
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7078
7105
|
}, z.core.$strip>>>;
|
|
7079
7106
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7080
|
-
REGISTERED: "REGISTERED";
|
|
7081
7107
|
NAME: "NAME";
|
|
7108
|
+
REGISTERED: "REGISTERED";
|
|
7082
7109
|
PRICE_ASC: "PRICE_ASC";
|
|
7083
7110
|
PRICE_DESC: "PRICE_DESC";
|
|
7084
7111
|
}>>;
|
|
@@ -7110,8 +7137,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7110
7137
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7111
7138
|
shipping: z.ZodObject<{
|
|
7112
7139
|
deliveryType: z.ZodEnum<{
|
|
7113
|
-
PAID: "PAID";
|
|
7114
7140
|
FREE: "FREE";
|
|
7141
|
+
PAID: "PAID";
|
|
7115
7142
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7116
7143
|
}>;
|
|
7117
7144
|
deliveryFee: z.ZodNumber;
|
|
@@ -7120,16 +7147,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7120
7147
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7121
7148
|
}, z.core.$strict>;
|
|
7122
7149
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7123
|
-
DIRECT: "DIRECT";
|
|
7124
7150
|
CARRIER: "CARRIER";
|
|
7151
|
+
DIRECT: "DIRECT";
|
|
7125
7152
|
PICKUP: "PICKUP";
|
|
7126
7153
|
PROVIDED: "PROVIDED";
|
|
7127
7154
|
}>>>;
|
|
7128
7155
|
}, z.core.$strict>, z.ZodObject<{
|
|
7129
7156
|
type: z.ZodLiteral<"MANUAL">;
|
|
7130
7157
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7131
|
-
DIRECT: "DIRECT";
|
|
7132
7158
|
CARRIER: "CARRIER";
|
|
7159
|
+
DIRECT: "DIRECT";
|
|
7133
7160
|
PICKUP: "PICKUP";
|
|
7134
7161
|
PROVIDED: "PROVIDED";
|
|
7135
7162
|
}>>>;
|
|
@@ -7191,8 +7218,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
7191
7218
|
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7192
7219
|
}, z.core.$strip>>>;
|
|
7193
7220
|
optionSort: z.ZodOptional<z.ZodEnum<{
|
|
7194
|
-
REGISTERED: "REGISTERED";
|
|
7195
7221
|
NAME: "NAME";
|
|
7222
|
+
REGISTERED: "REGISTERED";
|
|
7196
7223
|
PRICE_ASC: "PRICE_ASC";
|
|
7197
7224
|
PRICE_DESC: "PRICE_DESC";
|
|
7198
7225
|
}>>;
|
|
@@ -7233,8 +7260,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7233
7260
|
type: z.ZodLiteral<"SHIPPING">;
|
|
7234
7261
|
shipping: z.ZodObject<{
|
|
7235
7262
|
deliveryType: z.ZodEnum<{
|
|
7236
|
-
PAID: "PAID";
|
|
7237
7263
|
FREE: "FREE";
|
|
7264
|
+
PAID: "PAID";
|
|
7238
7265
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
7239
7266
|
}>;
|
|
7240
7267
|
deliveryFee: z.ZodNumber;
|
|
@@ -7243,16 +7270,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
7243
7270
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
7244
7271
|
}, z.core.$strict>;
|
|
7245
7272
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7246
|
-
DIRECT: "DIRECT";
|
|
7247
7273
|
CARRIER: "CARRIER";
|
|
7274
|
+
DIRECT: "DIRECT";
|
|
7248
7275
|
PICKUP: "PICKUP";
|
|
7249
7276
|
PROVIDED: "PROVIDED";
|
|
7250
7277
|
}>>>;
|
|
7251
7278
|
}, z.core.$strict>, z.ZodObject<{
|
|
7252
7279
|
type: z.ZodLiteral<"MANUAL">;
|
|
7253
7280
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7254
|
-
DIRECT: "DIRECT";
|
|
7255
7281
|
CARRIER: "CARRIER";
|
|
7282
|
+
DIRECT: "DIRECT";
|
|
7256
7283
|
PICKUP: "PICKUP";
|
|
7257
7284
|
PROVIDED: "PROVIDED";
|
|
7258
7285
|
}>>>;
|
|
@@ -7362,8 +7389,8 @@ export declare const savedOptionSetSchema: z.ZodObject<{
|
|
|
7362
7389
|
optionSetId: z.ZodString;
|
|
7363
7390
|
name: z.ZodString;
|
|
7364
7391
|
optionSort: z.ZodEnum<{
|
|
7365
|
-
REGISTERED: "REGISTERED";
|
|
7366
7392
|
NAME: "NAME";
|
|
7393
|
+
REGISTERED: "REGISTERED";
|
|
7367
7394
|
PRICE_ASC: "PRICE_ASC";
|
|
7368
7395
|
PRICE_DESC: "PRICE_DESC";
|
|
7369
7396
|
}>;
|
|
@@ -7430,8 +7457,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
7430
7457
|
export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
7431
7458
|
name: z.ZodString;
|
|
7432
7459
|
optionSort: z.ZodDefault<z.ZodEnum<{
|
|
7433
|
-
REGISTERED: "REGISTERED";
|
|
7434
7460
|
NAME: "NAME";
|
|
7461
|
+
REGISTERED: "REGISTERED";
|
|
7435
7462
|
PRICE_ASC: "PRICE_ASC";
|
|
7436
7463
|
PRICE_DESC: "PRICE_DESC";
|
|
7437
7464
|
}>>;
|
|
@@ -7486,8 +7513,8 @@ export declare const savedOptionSetFromProductResultSchema: z.ZodObject<{
|
|
|
7486
7513
|
optionSetId: z.ZodString;
|
|
7487
7514
|
name: z.ZodString;
|
|
7488
7515
|
optionSort: z.ZodEnum<{
|
|
7489
|
-
REGISTERED: "REGISTERED";
|
|
7490
7516
|
NAME: "NAME";
|
|
7517
|
+
REGISTERED: "REGISTERED";
|
|
7491
7518
|
PRICE_ASC: "PRICE_ASC";
|
|
7492
7519
|
PRICE_DESC: "PRICE_DESC";
|
|
7493
7520
|
}>;
|
|
@@ -8300,9 +8327,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
8300
8327
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
8301
8328
|
siteId: z.ZodString;
|
|
8302
8329
|
status: z.ZodEnum<{
|
|
8303
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
8304
8330
|
FAILED: "FAILED";
|
|
8305
8331
|
SUCCEEDED: "SUCCEEDED";
|
|
8332
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
8306
8333
|
}>;
|
|
8307
8334
|
url: z.ZodString;
|
|
8308
8335
|
startedAt: z.ZodString;
|
|
@@ -8760,8 +8787,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
8760
8787
|
}, z.core.$strip>;
|
|
8761
8788
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
8762
8789
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
8763
|
-
UNKNOWN: "UNKNOWN";
|
|
8764
8790
|
FAILED: "FAILED";
|
|
8791
|
+
UNKNOWN: "UNKNOWN";
|
|
8765
8792
|
RUNNING: "RUNNING";
|
|
8766
8793
|
QUEUED: "QUEUED";
|
|
8767
8794
|
PASSED: "PASSED";
|
|
@@ -8774,8 +8801,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
8774
8801
|
checkId: z.ZodString;
|
|
8775
8802
|
check: z.ZodString;
|
|
8776
8803
|
status: z.ZodEnum<{
|
|
8777
|
-
UNKNOWN: "UNKNOWN";
|
|
8778
8804
|
FAILED: "FAILED";
|
|
8805
|
+
UNKNOWN: "UNKNOWN";
|
|
8779
8806
|
RUNNING: "RUNNING";
|
|
8780
8807
|
QUEUED: "QUEUED";
|
|
8781
8808
|
PASSED: "PASSED";
|
|
@@ -9602,11 +9629,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9602
9629
|
type?: string | undefined;
|
|
9603
9630
|
options?: string[] | null | undefined;
|
|
9604
9631
|
}[];
|
|
9605
|
-
optionSort: "
|
|
9632
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9606
9633
|
fulfillment: UnknownFulfillment | {
|
|
9607
9634
|
type: "SHIPPING";
|
|
9608
9635
|
shipping: {
|
|
9609
|
-
deliveryType: "
|
|
9636
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
9610
9637
|
deliveryFee: number;
|
|
9611
9638
|
conditionalFreeAmount: number | null;
|
|
9612
9639
|
shippingAddressId: string | null;
|
|
@@ -9710,11 +9737,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9710
9737
|
type?: string | undefined;
|
|
9711
9738
|
options?: string[] | null | undefined;
|
|
9712
9739
|
}[];
|
|
9713
|
-
optionSort: "
|
|
9740
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9714
9741
|
fulfillment: UnknownFulfillment | {
|
|
9715
9742
|
type: "SHIPPING";
|
|
9716
9743
|
shipping: {
|
|
9717
|
-
deliveryType: "
|
|
9744
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
9718
9745
|
deliveryFee: number;
|
|
9719
9746
|
conditionalFreeAmount: number | null;
|
|
9720
9747
|
shippingAddressId: string | null;
|
|
@@ -9818,11 +9845,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9818
9845
|
type?: string | undefined;
|
|
9819
9846
|
options?: string[] | null | undefined;
|
|
9820
9847
|
}[];
|
|
9821
|
-
optionSort: "
|
|
9848
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9822
9849
|
fulfillment: UnknownFulfillment | {
|
|
9823
9850
|
type: "SHIPPING";
|
|
9824
9851
|
shipping: {
|
|
9825
|
-
deliveryType: "
|
|
9852
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
9826
9853
|
deliveryFee: number;
|
|
9827
9854
|
conditionalFreeAmount: number | null;
|
|
9828
9855
|
shippingAddressId: string | null;
|
|
@@ -9928,7 +9955,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9928
9955
|
type?: string | undefined;
|
|
9929
9956
|
options?: string[] | null | undefined;
|
|
9930
9957
|
}[];
|
|
9931
|
-
optionSort: "
|
|
9958
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9932
9959
|
}>;
|
|
9933
9960
|
/**
|
|
9934
9961
|
* 옵션 모델 전체 교체 — variants는 valueNames로 축 값을 지목한다.
|
|
@@ -9986,7 +10013,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
9986
10013
|
type?: string | undefined;
|
|
9987
10014
|
options?: string[] | null | undefined;
|
|
9988
10015
|
}[];
|
|
9989
|
-
optionSort: "
|
|
10016
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
9990
10017
|
}>;
|
|
9991
10018
|
/** 재고 변경 — stockQuantity(절대값) 또는 adjustment(증감) 하나만 전달한다 */
|
|
9992
10019
|
updateVariantStock: (productId: string, variantId: string, body: VariantStockRequest) => Promise<{
|
|
@@ -10035,7 +10062,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10035
10062
|
contents: {
|
|
10036
10063
|
optionSetId: string;
|
|
10037
10064
|
name: string;
|
|
10038
|
-
optionSort: "
|
|
10065
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10039
10066
|
groups: {
|
|
10040
10067
|
name: string;
|
|
10041
10068
|
kind: string;
|
|
@@ -10062,7 +10089,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10062
10089
|
get: (optionSetId: string) => Promise<{
|
|
10063
10090
|
optionSetId: string;
|
|
10064
10091
|
name: string;
|
|
10065
|
-
optionSort: "
|
|
10092
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10066
10093
|
groups: {
|
|
10067
10094
|
name: string;
|
|
10068
10095
|
kind: string;
|
|
@@ -10089,7 +10116,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10089
10116
|
create: (body: SavedOptionSetRequestInput) => Promise<{
|
|
10090
10117
|
optionSetId: string;
|
|
10091
10118
|
name: string;
|
|
10092
|
-
optionSort: "
|
|
10119
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10093
10120
|
groups: {
|
|
10094
10121
|
name: string;
|
|
10095
10122
|
kind: string;
|
|
@@ -10116,7 +10143,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10116
10143
|
update: (optionSetId: string, body: SavedOptionSetRequestInput) => Promise<{
|
|
10117
10144
|
optionSetId: string;
|
|
10118
10145
|
name: string;
|
|
10119
|
-
optionSort: "
|
|
10146
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10120
10147
|
groups: {
|
|
10121
10148
|
name: string;
|
|
10122
10149
|
kind: string;
|
|
@@ -10145,7 +10172,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10145
10172
|
optionSet: {
|
|
10146
10173
|
optionSetId: string;
|
|
10147
10174
|
name: string;
|
|
10148
|
-
optionSort: "
|
|
10175
|
+
optionSort: "NAME" | "REGISTERED" | "PRICE_ASC" | "PRICE_DESC";
|
|
10149
10176
|
groups: {
|
|
10150
10177
|
name: string;
|
|
10151
10178
|
kind: string;
|
|
@@ -10204,7 +10231,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10204
10231
|
value: true;
|
|
10205
10232
|
} | {
|
|
10206
10233
|
field: "bestSelling";
|
|
10207
|
-
days:
|
|
10234
|
+
days: 30 | 7 | 90;
|
|
10208
10235
|
top: number;
|
|
10209
10236
|
} | {
|
|
10210
10237
|
[x: string]: unknown;
|
|
@@ -10254,7 +10281,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10254
10281
|
value: true;
|
|
10255
10282
|
} | {
|
|
10256
10283
|
field: "bestSelling";
|
|
10257
|
-
days:
|
|
10284
|
+
days: 30 | 7 | 90;
|
|
10258
10285
|
top: number;
|
|
10259
10286
|
} | {
|
|
10260
10287
|
[x: string]: unknown;
|
|
@@ -10297,7 +10324,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10297
10324
|
value: true;
|
|
10298
10325
|
} | {
|
|
10299
10326
|
field: "bestSelling";
|
|
10300
|
-
days:
|
|
10327
|
+
days: 30 | 7 | 90;
|
|
10301
10328
|
top: number;
|
|
10302
10329
|
} | {
|
|
10303
10330
|
[x: string]: unknown;
|
|
@@ -10339,7 +10366,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10339
10366
|
value: true;
|
|
10340
10367
|
} | {
|
|
10341
10368
|
field: "bestSelling";
|
|
10342
|
-
days:
|
|
10369
|
+
days: 30 | 7 | 90;
|
|
10343
10370
|
top: number;
|
|
10344
10371
|
} | {
|
|
10345
10372
|
[x: string]: unknown;
|
|
@@ -10402,7 +10429,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10402
10429
|
value: true;
|
|
10403
10430
|
} | {
|
|
10404
10431
|
field: "bestSelling";
|
|
10405
|
-
days:
|
|
10432
|
+
days: 30 | 7 | 90;
|
|
10406
10433
|
top: number;
|
|
10407
10434
|
} | {
|
|
10408
10435
|
[x: string]: unknown;
|
|
@@ -10445,7 +10472,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10445
10472
|
value: true;
|
|
10446
10473
|
} | {
|
|
10447
10474
|
field: "bestSelling";
|
|
10448
|
-
days:
|
|
10475
|
+
days: 30 | 7 | 90;
|
|
10449
10476
|
top: number;
|
|
10450
10477
|
} | {
|
|
10451
10478
|
[x: string]: unknown;
|
|
@@ -10496,7 +10523,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10496
10523
|
visible: boolean;
|
|
10497
10524
|
showPc: boolean;
|
|
10498
10525
|
showMobile: boolean;
|
|
10499
|
-
productSort: "
|
|
10526
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10500
10527
|
metaTitle: string | null;
|
|
10501
10528
|
metaDescription: string | null;
|
|
10502
10529
|
metaKeywords: string | null;
|
|
@@ -10517,7 +10544,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10517
10544
|
visible: boolean;
|
|
10518
10545
|
showPc: boolean;
|
|
10519
10546
|
showMobile: boolean;
|
|
10520
|
-
productSort: "
|
|
10547
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10521
10548
|
metaTitle: string | null;
|
|
10522
10549
|
metaDescription: string | null;
|
|
10523
10550
|
metaKeywords: string | null;
|
|
@@ -10536,7 +10563,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10536
10563
|
visible: boolean;
|
|
10537
10564
|
showPc: boolean;
|
|
10538
10565
|
showMobile: boolean;
|
|
10539
|
-
productSort: "
|
|
10566
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10540
10567
|
metaTitle: string | null;
|
|
10541
10568
|
metaDescription: string | null;
|
|
10542
10569
|
metaKeywords: string | null;
|
|
@@ -10558,7 +10585,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10558
10585
|
visible: boolean;
|
|
10559
10586
|
showPc: boolean;
|
|
10560
10587
|
showMobile: boolean;
|
|
10561
|
-
productSort: "
|
|
10588
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10562
10589
|
metaTitle: string | null;
|
|
10563
10590
|
metaDescription: string | null;
|
|
10564
10591
|
metaKeywords: string | null;
|
|
@@ -10577,7 +10604,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10577
10604
|
visible: boolean;
|
|
10578
10605
|
showPc: boolean;
|
|
10579
10606
|
showMobile: boolean;
|
|
10580
|
-
productSort: "
|
|
10607
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10581
10608
|
metaTitle: string | null;
|
|
10582
10609
|
metaDescription: string | null;
|
|
10583
10610
|
metaKeywords: string | null;
|
|
@@ -10608,7 +10635,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10608
10635
|
visible: boolean;
|
|
10609
10636
|
showPc: boolean;
|
|
10610
10637
|
showMobile: boolean;
|
|
10611
|
-
productSort: "
|
|
10638
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10612
10639
|
metaTitle: string | null;
|
|
10613
10640
|
metaDescription: string | null;
|
|
10614
10641
|
metaKeywords: string | null;
|
|
@@ -10628,7 +10655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10628
10655
|
visible: boolean;
|
|
10629
10656
|
showPc: boolean;
|
|
10630
10657
|
showMobile: boolean;
|
|
10631
|
-
productSort: "
|
|
10658
|
+
productSort: "RECENT" | "POPULAR" | "PRICE_LOW" | "PRICE_HIGH" | "NAME";
|
|
10632
10659
|
metaTitle: string | null;
|
|
10633
10660
|
metaDescription: string | null;
|
|
10634
10661
|
metaKeywords: string | null;
|
|
@@ -10836,7 +10863,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
10836
10863
|
key: string;
|
|
10837
10864
|
results: {
|
|
10838
10865
|
orderItemId: string;
|
|
10839
|
-
status: "
|
|
10866
|
+
status: "FAILED" | "COMPLETED" | "SKIPPED";
|
|
10840
10867
|
reason?: string | undefined;
|
|
10841
10868
|
message?: string | undefined;
|
|
10842
10869
|
}[];
|
|
@@ -11216,7 +11243,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11216
11243
|
enteredAt: string;
|
|
11217
11244
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11218
11245
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11219
|
-
claimStatus?: "
|
|
11246
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11220
11247
|
message?: string | undefined;
|
|
11221
11248
|
deadlineAt?: string | undefined;
|
|
11222
11249
|
attachments?: string[] | undefined;
|
|
@@ -11279,7 +11306,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11279
11306
|
enteredAt: string;
|
|
11280
11307
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11281
11308
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11282
|
-
claimStatus?: "
|
|
11309
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11283
11310
|
message?: string | undefined;
|
|
11284
11311
|
deadlineAt?: string | undefined;
|
|
11285
11312
|
attachments?: string[] | undefined;
|
|
@@ -11308,7 +11335,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11308
11335
|
enteredAt: string;
|
|
11309
11336
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11310
11337
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11311
|
-
claimStatus?: "
|
|
11338
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11312
11339
|
message?: string | undefined;
|
|
11313
11340
|
deadlineAt?: string | undefined;
|
|
11314
11341
|
attachments?: string[] | undefined;
|
|
@@ -11368,7 +11395,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11368
11395
|
enteredAt: string;
|
|
11369
11396
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11370
11397
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11371
|
-
claimStatus?: "
|
|
11398
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11372
11399
|
message?: string | undefined;
|
|
11373
11400
|
deadlineAt?: string | undefined;
|
|
11374
11401
|
attachments?: string[] | undefined;
|
|
@@ -11428,7 +11455,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11428
11455
|
enteredAt: string;
|
|
11429
11456
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
11430
11457
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
11431
|
-
claimStatus?: "
|
|
11458
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
11432
11459
|
message?: string | undefined;
|
|
11433
11460
|
deadlineAt?: string | undefined;
|
|
11434
11461
|
attachments?: string[] | undefined;
|
|
@@ -11540,6 +11567,19 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11540
11567
|
requires: Record<string, unknown>;
|
|
11541
11568
|
variables: Record<string, unknown>[];
|
|
11542
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
|
+
}>;
|
|
11543
11583
|
list: () => Promise<{
|
|
11544
11584
|
flowId: string;
|
|
11545
11585
|
key: string;
|
|
@@ -11549,6 +11589,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11549
11589
|
presetKey: string | null;
|
|
11550
11590
|
presetVersion: number | null;
|
|
11551
11591
|
activeVersion: number | null;
|
|
11592
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11552
11593
|
archivedAt: string | null;
|
|
11553
11594
|
createdAt: string;
|
|
11554
11595
|
updatedAt: string;
|
|
@@ -11562,6 +11603,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11562
11603
|
presetKey: string | null;
|
|
11563
11604
|
presetVersion: number | null;
|
|
11564
11605
|
activeVersion: number | null;
|
|
11606
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11565
11607
|
archivedAt: string | null;
|
|
11566
11608
|
createdAt: string;
|
|
11567
11609
|
updatedAt: string;
|
|
@@ -11600,6 +11642,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11600
11642
|
presetKey: string | null;
|
|
11601
11643
|
presetVersion: number | null;
|
|
11602
11644
|
activeVersion: number | null;
|
|
11645
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11603
11646
|
archivedAt: string | null;
|
|
11604
11647
|
createdAt: string;
|
|
11605
11648
|
updatedAt: string;
|
|
@@ -11638,6 +11681,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11638
11681
|
presetKey: string | null;
|
|
11639
11682
|
presetVersion: number | null;
|
|
11640
11683
|
activeVersion: number | null;
|
|
11684
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11641
11685
|
archivedAt: string | null;
|
|
11642
11686
|
createdAt: string;
|
|
11643
11687
|
updatedAt: string;
|
|
@@ -11691,6 +11735,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11691
11735
|
presetKey: string | null;
|
|
11692
11736
|
presetVersion: number | null;
|
|
11693
11737
|
activeVersion: number | null;
|
|
11738
|
+
defaultFor: "SHIPPING" | "MANUAL" | null;
|
|
11694
11739
|
archivedAt: string | null;
|
|
11695
11740
|
createdAt: string;
|
|
11696
11741
|
updatedAt: string;
|
|
@@ -11860,7 +11905,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11860
11905
|
claimId: string;
|
|
11861
11906
|
claimNo: string | null;
|
|
11862
11907
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11863
|
-
status: "
|
|
11908
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11864
11909
|
orderId: string;
|
|
11865
11910
|
orderItemId: string;
|
|
11866
11911
|
productName: string;
|
|
@@ -11900,7 +11945,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11900
11945
|
claimId: string;
|
|
11901
11946
|
claimNo: string | null;
|
|
11902
11947
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11903
|
-
status: "
|
|
11948
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11904
11949
|
orderId: string;
|
|
11905
11950
|
orderItemId: string;
|
|
11906
11951
|
productName: string;
|
|
@@ -11935,7 +11980,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11935
11980
|
address2: string | null;
|
|
11936
11981
|
} | null;
|
|
11937
11982
|
histories?: {
|
|
11938
|
-
status: "
|
|
11983
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11939
11984
|
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
11940
11985
|
occurredAt: string;
|
|
11941
11986
|
}[] | undefined;
|
|
@@ -11973,7 +12018,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11973
12018
|
claimId: string;
|
|
11974
12019
|
claimNo: string | null;
|
|
11975
12020
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
11976
|
-
status: "
|
|
12021
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
11977
12022
|
orderId: string;
|
|
11978
12023
|
orderItemId: string;
|
|
11979
12024
|
productName: string;
|
|
@@ -12897,7 +12942,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12897
12942
|
conversionRate: number | null;
|
|
12898
12943
|
};
|
|
12899
12944
|
funnel: {
|
|
12900
|
-
step: "
|
|
12945
|
+
step: "PURCHASE" | "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT";
|
|
12901
12946
|
sessions: number;
|
|
12902
12947
|
rateFromPrevious: number | null;
|
|
12903
12948
|
}[];
|
|
@@ -12951,9 +12996,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12951
12996
|
}>;
|
|
12952
12997
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
12953
12998
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
12954
|
-
groupBy: "
|
|
12999
|
+
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
12955
13000
|
rows: {
|
|
12956
|
-
channel: "
|
|
13001
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
12957
13002
|
source: string | null;
|
|
12958
13003
|
medium: string | null;
|
|
12959
13004
|
campaign: string | null;
|
|
@@ -13058,7 +13103,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13058
13103
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
13059
13104
|
sessions: number;
|
|
13060
13105
|
outcomes: {
|
|
13061
|
-
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "
|
|
13106
|
+
outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
|
|
13062
13107
|
sessions: number;
|
|
13063
13108
|
}[];
|
|
13064
13109
|
from: string;
|
|
@@ -14176,7 +14221,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14176
14221
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
14177
14222
|
items: {
|
|
14178
14223
|
approvalId: string;
|
|
14179
|
-
status: "
|
|
14224
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14180
14225
|
operationId: string;
|
|
14181
14226
|
method: string;
|
|
14182
14227
|
path: string;
|
|
@@ -14228,7 +14273,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14228
14273
|
}>;
|
|
14229
14274
|
get: (approvalId: string) => Promise<{
|
|
14230
14275
|
approvalId: string;
|
|
14231
|
-
status: "
|
|
14276
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14232
14277
|
operationId: string;
|
|
14233
14278
|
method: string;
|
|
14234
14279
|
path: string;
|
|
@@ -14282,7 +14327,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14282
14327
|
*/
|
|
14283
14328
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14284
14329
|
approvalId: string;
|
|
14285
|
-
status: "
|
|
14330
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14286
14331
|
operationId: string;
|
|
14287
14332
|
method: string;
|
|
14288
14333
|
path: string;
|
|
@@ -14332,7 +14377,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14332
14377
|
}>;
|
|
14333
14378
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
14334
14379
|
approvalId: string;
|
|
14335
|
-
status: "
|
|
14380
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
14336
14381
|
operationId: string;
|
|
14337
14382
|
method: string;
|
|
14338
14383
|
path: string;
|
|
@@ -14612,7 +14657,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14612
14657
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
14613
14658
|
getDeployment: () => Promise<{
|
|
14614
14659
|
siteId: string;
|
|
14615
|
-
status: "
|
|
14660
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
14616
14661
|
url: string;
|
|
14617
14662
|
startedAt: string;
|
|
14618
14663
|
finishedAt: string | null;
|
|
@@ -14634,7 +14679,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14634
14679
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
14635
14680
|
retryDeployment: () => Promise<{
|
|
14636
14681
|
siteId: string;
|
|
14637
|
-
status: "
|
|
14682
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
14638
14683
|
url: string;
|
|
14639
14684
|
startedAt: string;
|
|
14640
14685
|
finishedAt: string | null;
|
|
@@ -15209,7 +15254,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15209
15254
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
15210
15255
|
checkId: string;
|
|
15211
15256
|
check: string;
|
|
15212
|
-
status: "
|
|
15257
|
+
status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
15213
15258
|
exitCode: number | null;
|
|
15214
15259
|
durationMs: number | null;
|
|
15215
15260
|
outputTail: string | null;
|
|
@@ -15223,7 +15268,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15223
15268
|
getCheck: (checkId: string) => Promise<{
|
|
15224
15269
|
checkId: string;
|
|
15225
15270
|
check: string;
|
|
15226
|
-
status: "
|
|
15271
|
+
status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
15227
15272
|
exitCode: number | null;
|
|
15228
15273
|
durationMs: number | null;
|
|
15229
15274
|
outputTail: string | null;
|
|
@@ -17270,8 +17315,8 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
17270
17315
|
CANCEL: "CANCEL";
|
|
17271
17316
|
}>;
|
|
17272
17317
|
status: z.ZodEnum<{
|
|
17273
|
-
COMPLETED: "COMPLETED";
|
|
17274
17318
|
REJECTED: "REJECTED";
|
|
17319
|
+
COMPLETED: "COMPLETED";
|
|
17275
17320
|
REQUESTED: "REQUESTED";
|
|
17276
17321
|
HELD: "HELD";
|
|
17277
17322
|
COLLECTING: "COLLECTING";
|
|
@@ -17501,8 +17546,8 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
17501
17546
|
CANCEL: "CANCEL";
|
|
17502
17547
|
}>;
|
|
17503
17548
|
status: z.ZodEnum<{
|
|
17504
|
-
COMPLETED: "COMPLETED";
|
|
17505
17549
|
REJECTED: "REJECTED";
|
|
17550
|
+
COMPLETED: "COMPLETED";
|
|
17506
17551
|
REQUESTED: "REQUESTED";
|
|
17507
17552
|
HELD: "HELD";
|
|
17508
17553
|
COLLECTING: "COLLECTING";
|
|
@@ -17812,8 +17857,8 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17812
17857
|
CANCEL: "CANCEL";
|
|
17813
17858
|
}>;
|
|
17814
17859
|
status: z.ZodEnum<{
|
|
17815
|
-
COMPLETED: "COMPLETED";
|
|
17816
17860
|
REJECTED: "REJECTED";
|
|
17861
|
+
COMPLETED: "COMPLETED";
|
|
17817
17862
|
REQUESTED: "REQUESTED";
|
|
17818
17863
|
HELD: "HELD";
|
|
17819
17864
|
COLLECTING: "COLLECTING";
|