@sayren/store-sdk 0.30.12 → 0.30.13
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 +562 -200
- package/dist/index.mjs +179 -6
- package/package.json +1 -1
- package/src/client.ts +16 -2
- package/src/schemas/app-manifest.ts +176 -4
- package/src/schemas/apps.ts +69 -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,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
|
-
SUCCEEDED: "SUCCEEDED";
|
|
220
|
-
FAILED: "FAILED";
|
|
221
218
|
PENDING: "PENDING";
|
|
219
|
+
FAILED: "FAILED";
|
|
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
|
-
SUCCEEDED: "SUCCEEDED";
|
|
232
|
-
FAILED: "FAILED";
|
|
233
230
|
PENDING: "PENDING";
|
|
231
|
+
FAILED: "FAILED";
|
|
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
|
-
SUCCEEDED: "SUCCEEDED";
|
|
296
|
-
FAILED: "FAILED";
|
|
297
294
|
PENDING: "PENDING";
|
|
295
|
+
FAILED: "FAILED";
|
|
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
|
-
SUCCEEDED: "SUCCEEDED";
|
|
315
|
-
FAILED: "FAILED";
|
|
316
313
|
PENDING: "PENDING";
|
|
314
|
+
FAILED: "FAILED";
|
|
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;
|
|
@@ -1024,8 +1024,8 @@ export declare function fulfillmentRuleOf(type: string | null | undefined): Fulf
|
|
|
1024
1024
|
*/
|
|
1025
1025
|
export declare const FULFILLMENT_METHODS: readonly ["CARRIER", "DIRECT", "PICKUP", "PROVIDED"];
|
|
1026
1026
|
export declare const fulfillmentMethodSchema: z.ZodEnum<{
|
|
1027
|
-
DIRECT: "DIRECT";
|
|
1028
1027
|
CARRIER: "CARRIER";
|
|
1028
|
+
DIRECT: "DIRECT";
|
|
1029
1029
|
PICKUP: "PICKUP";
|
|
1030
1030
|
PROVIDED: "PROVIDED";
|
|
1031
1031
|
}>;
|
|
@@ -1069,8 +1069,8 @@ export declare function requiresCollection(type: string | null | undefined): boo
|
|
|
1069
1069
|
export declare const NO_SHIPPING_BUNDLE_KEY = "none";
|
|
1070
1070
|
/** 배송비 유형 — 무료·유료·조건부 무료 */
|
|
1071
1071
|
export declare const deliveryTypeSchema: z.ZodEnum<{
|
|
1072
|
-
PAID: "PAID";
|
|
1073
1072
|
FREE: "FREE";
|
|
1073
|
+
PAID: "PAID";
|
|
1074
1074
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1075
1075
|
}>;
|
|
1076
1076
|
export type DeliveryType = z.infer<typeof deliveryTypeSchema>;
|
|
@@ -1081,8 +1081,8 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1081
1081
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1082
1082
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
1083
1083
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
1084
|
-
PAID: "PAID";
|
|
1085
1084
|
FREE: "FREE";
|
|
1085
|
+
PAID: "PAID";
|
|
1086
1086
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1087
1087
|
}>>;
|
|
1088
1088
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1091,16 +1091,16 @@ export declare const productFulfillmentCreateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1091
1091
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1092
1092
|
}, z.core.$strict>>;
|
|
1093
1093
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1094
|
-
DIRECT: "DIRECT";
|
|
1095
1094
|
CARRIER: "CARRIER";
|
|
1095
|
+
DIRECT: "DIRECT";
|
|
1096
1096
|
PICKUP: "PICKUP";
|
|
1097
1097
|
PROVIDED: "PROVIDED";
|
|
1098
1098
|
}>>>;
|
|
1099
1099
|
}, z.core.$strict>, z.ZodObject<{
|
|
1100
1100
|
type: z.ZodLiteral<"MANUAL">;
|
|
1101
1101
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1102
|
-
DIRECT: "DIRECT";
|
|
1103
1102
|
CARRIER: "CARRIER";
|
|
1103
|
+
DIRECT: "DIRECT";
|
|
1104
1104
|
PICKUP: "PICKUP";
|
|
1105
1105
|
PROVIDED: "PROVIDED";
|
|
1106
1106
|
}>>>;
|
|
@@ -1116,8 +1116,8 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1116
1116
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1117
1117
|
shipping: z.ZodObject<{
|
|
1118
1118
|
deliveryType: z.ZodEnum<{
|
|
1119
|
-
PAID: "PAID";
|
|
1120
1119
|
FREE: "FREE";
|
|
1120
|
+
PAID: "PAID";
|
|
1121
1121
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1122
1122
|
}>;
|
|
1123
1123
|
deliveryFee: z.ZodNumber;
|
|
@@ -1126,16 +1126,16 @@ export declare const productFulfillmentUpdateSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1126
1126
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
1127
1127
|
}, z.core.$strict>;
|
|
1128
1128
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1129
|
-
DIRECT: "DIRECT";
|
|
1130
1129
|
CARRIER: "CARRIER";
|
|
1130
|
+
DIRECT: "DIRECT";
|
|
1131
1131
|
PICKUP: "PICKUP";
|
|
1132
1132
|
PROVIDED: "PROVIDED";
|
|
1133
1133
|
}>>>;
|
|
1134
1134
|
}, z.core.$strict>, z.ZodObject<{
|
|
1135
1135
|
type: z.ZodLiteral<"MANUAL">;
|
|
1136
1136
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1137
|
-
DIRECT: "DIRECT";
|
|
1138
1137
|
CARRIER: "CARRIER";
|
|
1138
|
+
DIRECT: "DIRECT";
|
|
1139
1139
|
PICKUP: "PICKUP";
|
|
1140
1140
|
PROVIDED: "PROVIDED";
|
|
1141
1141
|
}>>>;
|
|
@@ -1149,8 +1149,8 @@ export declare const productFulfillmentSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1149
1149
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1150
1150
|
shipping: z.ZodObject<{
|
|
1151
1151
|
deliveryType: z.ZodEnum<{
|
|
1152
|
-
PAID: "PAID";
|
|
1153
1152
|
FREE: "FREE";
|
|
1153
|
+
PAID: "PAID";
|
|
1154
1154
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1155
1155
|
}>;
|
|
1156
1156
|
deliveryFee: z.ZodNumber;
|
|
@@ -1190,8 +1190,8 @@ export declare const productFulfillmentResponseSchema: z.ZodUnion<readonly [z.Zo
|
|
|
1190
1190
|
type: z.ZodLiteral<"SHIPPING">;
|
|
1191
1191
|
shipping: z.ZodObject<{
|
|
1192
1192
|
deliveryType: z.ZodEnum<{
|
|
1193
|
-
PAID: "PAID";
|
|
1194
1193
|
FREE: "FREE";
|
|
1194
|
+
PAID: "PAID";
|
|
1195
1195
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
1196
1196
|
}>;
|
|
1197
1197
|
deliveryFee: z.ZodNumber;
|
|
@@ -1476,8 +1476,8 @@ export declare const claimWebhookEventDataSchema: z.ZodObject<{
|
|
|
1476
1476
|
CANCEL: "CANCEL";
|
|
1477
1477
|
}>;
|
|
1478
1478
|
status: z.ZodEnum<{
|
|
1479
|
-
COMPLETED: "COMPLETED";
|
|
1480
1479
|
REJECTED: "REJECTED";
|
|
1480
|
+
COMPLETED: "COMPLETED";
|
|
1481
1481
|
REQUESTED: "REQUESTED";
|
|
1482
1482
|
HELD: "HELD";
|
|
1483
1483
|
COLLECTING: "COLLECTING";
|
|
@@ -1707,8 +1707,8 @@ export declare const claimWebhookEventSchema: z.ZodObject<{
|
|
|
1707
1707
|
CANCEL: "CANCEL";
|
|
1708
1708
|
}>;
|
|
1709
1709
|
status: z.ZodEnum<{
|
|
1710
|
-
COMPLETED: "COMPLETED";
|
|
1711
1710
|
REJECTED: "REJECTED";
|
|
1711
|
+
COMPLETED: "COMPLETED";
|
|
1712
1712
|
REQUESTED: "REQUESTED";
|
|
1713
1713
|
HELD: "HELD";
|
|
1714
1714
|
COLLECTING: "COLLECTING";
|
|
@@ -2018,8 +2018,8 @@ export declare const webhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2018
2018
|
CANCEL: "CANCEL";
|
|
2019
2019
|
}>;
|
|
2020
2020
|
status: z.ZodEnum<{
|
|
2021
|
-
COMPLETED: "COMPLETED";
|
|
2022
2021
|
REJECTED: "REJECTED";
|
|
2022
|
+
COMPLETED: "COMPLETED";
|
|
2023
2023
|
REQUESTED: "REQUESTED";
|
|
2024
2024
|
HELD: "HELD";
|
|
2025
2025
|
COLLECTING: "COLLECTING";
|
|
@@ -2289,6 +2289,66 @@ export declare const APP_SCHEDULE_INTERVALS: {
|
|
|
2289
2289
|
readonly "1d": 1440;
|
|
2290
2290
|
};
|
|
2291
2291
|
export type AppScheduleInterval = keyof typeof APP_SCHEDULE_INTERVALS;
|
|
2292
|
+
/** 흐름 알림 이름 — 흐름 알림 채널 `app.<handle>.<이름>`의 마지막 마디(소문자·숫자·하이픈) */
|
|
2293
|
+
export declare const APP_FLOW_NOTIFICATION_PATTERN: RegExp;
|
|
2294
|
+
/** 흐름 사건 이름 — 사건 키 `app.<handle>.<이름>`의 마지막 마디 */
|
|
2295
|
+
export declare const APP_FLOW_EVENT_PATTERN: RegExp;
|
|
2296
|
+
export declare const APP_FLOW_ITEMS_MAX = 20;
|
|
2297
|
+
/** 흐름 알림 매개변수 — 셀러가 편집기에서 식으로 값을 연결한다 */
|
|
2298
|
+
export declare const appFlowParamSchema: z.ZodObject<{
|
|
2299
|
+
type: z.ZodEnum<{
|
|
2300
|
+
string: "string";
|
|
2301
|
+
number: "number";
|
|
2302
|
+
boolean: "boolean";
|
|
2303
|
+
}>;
|
|
2304
|
+
label: z.ZodString;
|
|
2305
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2306
|
+
}, z.core.$strict>;
|
|
2307
|
+
export type AppFlowParam = z.infer<typeof appFlowParamSchema>;
|
|
2308
|
+
export declare const appFlowNotificationSchema: z.ZodObject<{
|
|
2309
|
+
label: z.ZodString;
|
|
2310
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2311
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2312
|
+
type: z.ZodEnum<{
|
|
2313
|
+
string: "string";
|
|
2314
|
+
number: "number";
|
|
2315
|
+
boolean: "boolean";
|
|
2316
|
+
}>;
|
|
2317
|
+
label: z.ZodString;
|
|
2318
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2319
|
+
}, z.core.$strict>>>;
|
|
2320
|
+
}, z.core.$strict>;
|
|
2321
|
+
export type AppFlowNotification = z.infer<typeof appFlowNotificationSchema>;
|
|
2322
|
+
export declare const appFlowEventSchema: z.ZodObject<{
|
|
2323
|
+
label: z.ZodString;
|
|
2324
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2325
|
+
}, z.core.$strict>;
|
|
2326
|
+
export type AppFlowEvent = z.infer<typeof appFlowEventSchema>;
|
|
2327
|
+
/** 에이전트 도구 이름 — 소문자·숫자·하이픈 */
|
|
2328
|
+
export declare const APP_TOOL_NAME_PATTERN: RegExp;
|
|
2329
|
+
export declare const appToolInputSchema: z.ZodObject<{
|
|
2330
|
+
type: z.ZodEnum<{
|
|
2331
|
+
string: "string";
|
|
2332
|
+
number: "number";
|
|
2333
|
+
boolean: "boolean";
|
|
2334
|
+
}>;
|
|
2335
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2336
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2337
|
+
}, z.core.$strict>;
|
|
2338
|
+
export type AppToolInput = z.infer<typeof appToolInputSchema>;
|
|
2339
|
+
export declare const appToolSchema: z.ZodObject<{
|
|
2340
|
+
description: z.ZodString;
|
|
2341
|
+
input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2342
|
+
type: z.ZodEnum<{
|
|
2343
|
+
string: "string";
|
|
2344
|
+
number: "number";
|
|
2345
|
+
boolean: "boolean";
|
|
2346
|
+
}>;
|
|
2347
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2348
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2349
|
+
}, z.core.$strict>>>;
|
|
2350
|
+
}, z.core.$strict>;
|
|
2351
|
+
export type AppTool = z.infer<typeof appToolSchema>;
|
|
2292
2352
|
/** 앱 목록에 보이는 아이콘·README(#22 앱 목록 시안) — 앱 폴더의 파일을 `sayren app deploy`가 버전과 함께 올린다 */
|
|
2293
2353
|
export declare const APP_ICON_MAX_BYTES: number;
|
|
2294
2354
|
export declare const APP_ICON_MIN_PX = 512;
|
|
@@ -2305,7 +2365,27 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
2305
2365
|
supportEmail: z.ZodOptional<z.ZodEmail>;
|
|
2306
2366
|
icon: z.ZodOptional<z.ZodString>;
|
|
2307
2367
|
readme: z.ZodOptional<z.ZodString>;
|
|
2308
|
-
runtime: z.ZodDefault<z.
|
|
2368
|
+
runtime: z.ZodDefault<z.ZodEnum<{
|
|
2369
|
+
code: "code";
|
|
2370
|
+
external: "external";
|
|
2371
|
+
}>>;
|
|
2372
|
+
external: z.ZodOptional<z.ZodObject<{
|
|
2373
|
+
url: z.ZodURL;
|
|
2374
|
+
}, z.core.$strict>>;
|
|
2375
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
2376
|
+
tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2377
|
+
description: z.ZodString;
|
|
2378
|
+
input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2379
|
+
type: z.ZodEnum<{
|
|
2380
|
+
string: "string";
|
|
2381
|
+
number: "number";
|
|
2382
|
+
boolean: "boolean";
|
|
2383
|
+
}>;
|
|
2384
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2386
|
+
}, z.core.$strict>>>;
|
|
2387
|
+
}, z.core.$strict>>>;
|
|
2388
|
+
}, z.core.$strict>>;
|
|
2309
2389
|
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2310
2390
|
network: z.ZodDefault<z.ZodObject<{
|
|
2311
2391
|
hosts: z.ZodArray<z.ZodString>;
|
|
@@ -2354,6 +2434,25 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
2354
2434
|
"1d": "1d";
|
|
2355
2435
|
}>;
|
|
2356
2436
|
}, z.core.$strict>>>;
|
|
2437
|
+
flow: z.ZodOptional<z.ZodObject<{
|
|
2438
|
+
notifications: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2439
|
+
label: z.ZodString;
|
|
2440
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2441
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2442
|
+
type: z.ZodEnum<{
|
|
2443
|
+
string: "string";
|
|
2444
|
+
number: "number";
|
|
2445
|
+
boolean: "boolean";
|
|
2446
|
+
}>;
|
|
2447
|
+
label: z.ZodString;
|
|
2448
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2449
|
+
}, z.core.$strict>>>;
|
|
2450
|
+
}, z.core.$strict>>>;
|
|
2451
|
+
events: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2452
|
+
label: z.ZodString;
|
|
2453
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
}, z.core.$strict>>>;
|
|
2455
|
+
}, z.core.$strict>>;
|
|
2357
2456
|
settings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2358
2457
|
type: z.ZodEnum<{
|
|
2359
2458
|
string: "string";
|
|
@@ -2383,7 +2482,7 @@ export declare const APP_UI_MAX_BYTES: number;
|
|
|
2383
2482
|
export declare const APP_UI_MAX_FILES = 2000;
|
|
2384
2483
|
export interface AppManifestProblem {
|
|
2385
2484
|
path: string;
|
|
2386
|
-
code: "EVENT_SCOPE_MISSING" | "SELECT_OPTIONS_REQUIRED" | "SECRET_FIELD_TYPE" | "DEFAULT_TYPE_MISMATCH" | "DUPLICATE";
|
|
2485
|
+
code: "EVENT_SCOPE_MISSING" | "SELECT_OPTIONS_REQUIRED" | "SECRET_FIELD_TYPE" | "DEFAULT_TYPE_MISMATCH" | "DUPLICATE" | "EXTERNAL_URL_REQUIRED" | "EXTERNAL_NETWORK_HOSTS" | "EXTERNAL_URL_INVALID";
|
|
2387
2486
|
message: string;
|
|
2388
2487
|
}
|
|
2389
2488
|
/** 스키마가 보지 못하는 필드 사이 규칙 — 빌드 `VERIFY`·CLI `app verify`가 같은 결과를 낸다. 비어 있으면 통과 */
|
|
@@ -2400,6 +2499,13 @@ export interface AppCapabilities {
|
|
|
2400
2499
|
publicHttp?: string[];
|
|
2401
2500
|
/** 예약 작업 이름 → 간격. 옛 버전 행에는 없다 — 읽을 때 `?? {}` */
|
|
2402
2501
|
schedules?: Record<string, AppScheduleInterval>;
|
|
2502
|
+
/** 흐름 알림(이름 → 표시 이름·매개변수)·흐름 사건(이름 → 표시 이름). 옛 버전 행에는 없다 — 읽을 때 `?? {}` */
|
|
2503
|
+
flowNotifications?: Record<string, AppFlowNotification>;
|
|
2504
|
+
flowEvents?: Record<string, AppFlowEvent>;
|
|
2505
|
+
/** 외부 런타임의 호출 호스트(동의 화면). 코드 앱·옛 버전 행은 없다 */
|
|
2506
|
+
externalHost?: string | null;
|
|
2507
|
+
/** 에이전트 도구. 옛 버전 행에는 없다 — 읽을 때 `?? {}` */
|
|
2508
|
+
tools?: Record<string, AppTool>;
|
|
2403
2509
|
/** 필수 설정 키 — 하나라도 비어 있으면 이벤트 함수를 부르지 않는다 */
|
|
2404
2510
|
requiredSettings: string[];
|
|
2405
2511
|
secretSettings: string[];
|
|
@@ -2410,7 +2516,7 @@ export declare function appCapabilitiesOf(manifest: AppManifest): AppCapabilitie
|
|
|
2410
2516
|
* 동의 문단은 accounts 설치 화면·상점 플랫폼 앱 상세·유저 문서가 같은 문장을 쓴다.
|
|
2411
2517
|
*/
|
|
2412
2518
|
export interface AppCapabilityDefinition {
|
|
2413
|
-
key: "scopes" | "network" | "events" | "ui" | "publicHttp" | "schedules";
|
|
2519
|
+
key: "scopes" | "network" | "events" | "ui" | "publicHttp" | "schedules" | "runtime" | "tools";
|
|
2414
2520
|
/** 동의 화면의 문단 제목 */
|
|
2415
2521
|
title: string;
|
|
2416
2522
|
/** 동의 화면에 보일 줄 — 없으면 문단을 그리지 않는다 */
|
|
@@ -2426,6 +2532,28 @@ export declare function appScheduleListOf(capabilities: Pick<AppCapabilities, "s
|
|
|
2426
2532
|
name: string;
|
|
2427
2533
|
every: AppScheduleInterval;
|
|
2428
2534
|
}>;
|
|
2535
|
+
/** 응답용 흐름 알림·사건 목록(이름순) — 옛 버전 행은 빈 목록 */
|
|
2536
|
+
export declare function appFlowSummaryOf(capabilities: Pick<AppCapabilities, "flowNotifications" | "flowEvents">): {
|
|
2537
|
+
flowNotifications: Array<{
|
|
2538
|
+
name: string;
|
|
2539
|
+
label: string;
|
|
2540
|
+
params: Array<{
|
|
2541
|
+
name: string;
|
|
2542
|
+
type: AppFlowParam["type"];
|
|
2543
|
+
label: string;
|
|
2544
|
+
required: boolean;
|
|
2545
|
+
}>;
|
|
2546
|
+
}>;
|
|
2547
|
+
flowEvents: Array<{
|
|
2548
|
+
name: string;
|
|
2549
|
+
label: string;
|
|
2550
|
+
}>;
|
|
2551
|
+
};
|
|
2552
|
+
/** 응답용 도구 목록(이름순) — 옛 버전 행은 빈 목록 */
|
|
2553
|
+
export declare function appToolListOf(capabilities: Pick<AppCapabilities, "tools">): Array<{
|
|
2554
|
+
name: string;
|
|
2555
|
+
description: string;
|
|
2556
|
+
}>;
|
|
2429
2557
|
/** 예약 간격의 표시 이름 — 동의 화면·상점 플랫폼이 같이 쓴다 */
|
|
2430
2558
|
export declare function appScheduleIntervalLabel(every: AppScheduleInterval): string;
|
|
2431
2559
|
/** 재동의가 필요한 capability 키 — 비어 있으면 release가 모든 설치에 곧바로 반영된다 */
|
|
@@ -2536,6 +2664,27 @@ export declare const appScheduleSummarySchema: z.ZodObject<{
|
|
|
2536
2664
|
}>;
|
|
2537
2665
|
}, z.core.$strip>;
|
|
2538
2666
|
export type AppScheduleSummary = z.infer<typeof appScheduleSummarySchema>;
|
|
2667
|
+
/** 흐름 알림·사건(매뉴얼 「주문 흐름에서 앱 쓰기」) — 흐름 편집기가 알림 채널·매개변수와 사건 이름을 고른다 */
|
|
2668
|
+
export declare const appFlowNotificationSummarySchema: z.ZodObject<{
|
|
2669
|
+
name: z.ZodString;
|
|
2670
|
+
label: z.ZodString;
|
|
2671
|
+
params: z.ZodArray<z.ZodObject<{
|
|
2672
|
+
name: z.ZodString;
|
|
2673
|
+
type: z.ZodEnum<{
|
|
2674
|
+
string: "string";
|
|
2675
|
+
number: "number";
|
|
2676
|
+
boolean: "boolean";
|
|
2677
|
+
}>;
|
|
2678
|
+
label: z.ZodString;
|
|
2679
|
+
required: z.ZodBoolean;
|
|
2680
|
+
}, z.core.$strip>>;
|
|
2681
|
+
}, z.core.$strip>;
|
|
2682
|
+
export type AppFlowNotificationSummary = z.infer<typeof appFlowNotificationSummarySchema>;
|
|
2683
|
+
export declare const appFlowEventSummarySchema: z.ZodObject<{
|
|
2684
|
+
name: z.ZodString;
|
|
2685
|
+
label: z.ZodString;
|
|
2686
|
+
}, z.core.$strip>;
|
|
2687
|
+
export type AppFlowEventSummary = z.infer<typeof appFlowEventSummarySchema>;
|
|
2539
2688
|
export declare const appInstallationSchema: z.ZodObject<{
|
|
2540
2689
|
installationId: z.ZodString;
|
|
2541
2690
|
storeId: z.ZodString;
|
|
@@ -2611,6 +2760,11 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2611
2760
|
"1d": "1d";
|
|
2612
2761
|
}>;
|
|
2613
2762
|
}, z.core.$strip>>>;
|
|
2763
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2764
|
+
name: z.ZodString;
|
|
2765
|
+
description: z.ZodString;
|
|
2766
|
+
}, z.core.$strip>>>;
|
|
2767
|
+
externalHost: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2614
2768
|
}, z.core.$strip>>>;
|
|
2615
2769
|
grantedScopes: z.ZodArray<z.ZodString>;
|
|
2616
2770
|
grantedNetworkHosts: z.ZodArray<z.ZodString>;
|
|
@@ -2653,6 +2807,29 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2653
2807
|
"1d": "1d";
|
|
2654
2808
|
}>;
|
|
2655
2809
|
}, z.core.$strip>>>;
|
|
2810
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2811
|
+
name: z.ZodString;
|
|
2812
|
+
description: z.ZodString;
|
|
2813
|
+
}, z.core.$strip>>>;
|
|
2814
|
+
externalHost: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2815
|
+
flowNotifications: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2816
|
+
name: z.ZodString;
|
|
2817
|
+
label: z.ZodString;
|
|
2818
|
+
params: z.ZodArray<z.ZodObject<{
|
|
2819
|
+
name: z.ZodString;
|
|
2820
|
+
type: z.ZodEnum<{
|
|
2821
|
+
string: "string";
|
|
2822
|
+
number: "number";
|
|
2823
|
+
boolean: "boolean";
|
|
2824
|
+
}>;
|
|
2825
|
+
label: z.ZodString;
|
|
2826
|
+
required: z.ZodBoolean;
|
|
2827
|
+
}, z.core.$strip>>;
|
|
2828
|
+
}, z.core.$strip>>>;
|
|
2829
|
+
flowEvents: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2830
|
+
name: z.ZodString;
|
|
2831
|
+
label: z.ZodString;
|
|
2832
|
+
}, z.core.$strip>>>;
|
|
2656
2833
|
settings: z.ZodObject<{
|
|
2657
2834
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2658
2835
|
type: z.ZodEnum<{
|
|
@@ -2689,10 +2866,10 @@ export declare const appInstallationRunSchema: z.ZodObject<{
|
|
|
2689
2866
|
deliveryId: z.ZodString;
|
|
2690
2867
|
eventType: z.ZodString;
|
|
2691
2868
|
status: z.ZodEnum<{
|
|
2692
|
-
FAILED: "FAILED";
|
|
2693
2869
|
PENDING: "PENDING";
|
|
2694
2870
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2695
2871
|
SUCCESS: "SUCCESS";
|
|
2872
|
+
FAILED: "FAILED";
|
|
2696
2873
|
}>;
|
|
2697
2874
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
2698
2875
|
TIMEOUT: "TIMEOUT";
|
|
@@ -2719,10 +2896,10 @@ export declare const appInstallationActivitySchema: z.ZodObject<{
|
|
|
2719
2896
|
deliveryId: z.ZodString;
|
|
2720
2897
|
eventType: z.ZodString;
|
|
2721
2898
|
status: z.ZodEnum<{
|
|
2722
|
-
FAILED: "FAILED";
|
|
2723
2899
|
PENDING: "PENDING";
|
|
2724
2900
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2725
2901
|
SUCCESS: "SUCCESS";
|
|
2902
|
+
FAILED: "FAILED";
|
|
2726
2903
|
}>;
|
|
2727
2904
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
2728
2905
|
TIMEOUT: "TIMEOUT";
|
|
@@ -2838,6 +3015,11 @@ export declare const storeAppDetailSchema: z.ZodObject<{
|
|
|
2838
3015
|
"1d": "1d";
|
|
2839
3016
|
}>;
|
|
2840
3017
|
}, z.core.$strip>>>;
|
|
3018
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3019
|
+
name: z.ZodString;
|
|
3020
|
+
description: z.ZodString;
|
|
3021
|
+
}, z.core.$strip>>>;
|
|
3022
|
+
externalHost: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2841
3023
|
settings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2842
3024
|
type: z.ZodEnum<{
|
|
2843
3025
|
string: "string";
|
|
@@ -2876,6 +3058,36 @@ export declare const appInstallationSelfSchema: z.ZodObject<{
|
|
|
2876
3058
|
installedAt: z.ZodString;
|
|
2877
3059
|
}, z.core.$strip>;
|
|
2878
3060
|
export type AppInstallationSelf = z.infer<typeof appInstallationSelfSchema>;
|
|
3061
|
+
/** 에이전트 도구(매뉴얼 「에이전트 도구」) — `GET /v1/apps/tools` 한 줄 */
|
|
3062
|
+
export declare const appToolSummarySchema: z.ZodObject<{
|
|
3063
|
+
installationId: z.ZodString;
|
|
3064
|
+
app: z.ZodObject<{
|
|
3065
|
+
appId: z.ZodString;
|
|
3066
|
+
handle: z.ZodString;
|
|
3067
|
+
name: z.ZodString;
|
|
3068
|
+
}, z.core.$strip>;
|
|
3069
|
+
name: z.ZodString;
|
|
3070
|
+
description: z.ZodString;
|
|
3071
|
+
input: z.ZodArray<z.ZodObject<{
|
|
3072
|
+
name: z.ZodString;
|
|
3073
|
+
type: z.ZodEnum<{
|
|
3074
|
+
string: "string";
|
|
3075
|
+
number: "number";
|
|
3076
|
+
boolean: "boolean";
|
|
3077
|
+
}>;
|
|
3078
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3079
|
+
required: z.ZodBoolean;
|
|
3080
|
+
}, z.core.$strip>>;
|
|
3081
|
+
}, z.core.$strip>;
|
|
3082
|
+
export type AppToolSummary = z.infer<typeof appToolSummarySchema>;
|
|
3083
|
+
export declare const appToolCallSchema: z.ZodObject<{
|
|
3084
|
+
input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3085
|
+
}, z.core.$strip>;
|
|
3086
|
+
export type AppToolCall = z.input<typeof appToolCallSchema>;
|
|
3087
|
+
export declare const appToolResultSchema: z.ZodObject<{
|
|
3088
|
+
result: z.ZodUnknown;
|
|
3089
|
+
}, z.core.$strip>;
|
|
3090
|
+
export type AppToolResult = z.infer<typeof appToolResultSchema>;
|
|
2879
3091
|
/** 설치 저장소(`ctx.storage`, 매뉴얼 「앱 코드 › 저장소」) — 설치 토큰 전용 */
|
|
2880
3092
|
export declare const APP_STORAGE_KEY_PATTERN: RegExp;
|
|
2881
3093
|
export declare const APP_STORAGE_MAX_KEYS = 1000;
|
|
@@ -2928,8 +3140,8 @@ export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
|
|
|
2928
3140
|
export declare const appBuildSchema: z.ZodObject<{
|
|
2929
3141
|
buildId: z.ZodString;
|
|
2930
3142
|
status: z.ZodEnum<{
|
|
2931
|
-
SUCCEEDED: "SUCCEEDED";
|
|
2932
3143
|
FAILED: "FAILED";
|
|
3144
|
+
SUCCEEDED: "SUCCEEDED";
|
|
2933
3145
|
RUNNING: "RUNNING";
|
|
2934
3146
|
QUEUED: "QUEUED";
|
|
2935
3147
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -2974,8 +3186,8 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2974
3186
|
build: z.ZodNullable<z.ZodObject<{
|
|
2975
3187
|
buildId: z.ZodString;
|
|
2976
3188
|
status: z.ZodEnum<{
|
|
2977
|
-
SUCCEEDED: "SUCCEEDED";
|
|
2978
3189
|
FAILED: "FAILED";
|
|
3190
|
+
SUCCEEDED: "SUCCEEDED";
|
|
2979
3191
|
RUNNING: "RUNNING";
|
|
2980
3192
|
QUEUED: "QUEUED";
|
|
2981
3193
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -3125,8 +3337,8 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
3125
3337
|
build: z.ZodNullable<z.ZodObject<{
|
|
3126
3338
|
buildId: z.ZodString;
|
|
3127
3339
|
status: z.ZodEnum<{
|
|
3128
|
-
SUCCEEDED: "SUCCEEDED";
|
|
3129
3340
|
FAILED: "FAILED";
|
|
3341
|
+
SUCCEEDED: "SUCCEEDED";
|
|
3130
3342
|
RUNNING: "RUNNING";
|
|
3131
3343
|
QUEUED: "QUEUED";
|
|
3132
3344
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -3219,8 +3431,10 @@ export declare const appInvocationSchema: z.ZodObject<{
|
|
|
3219
3431
|
versionNumber: z.ZodNullable<z.ZodNumber>;
|
|
3220
3432
|
kind: z.ZodEnum<{
|
|
3221
3433
|
event: "event";
|
|
3434
|
+
flow: "flow";
|
|
3222
3435
|
http: "http";
|
|
3223
3436
|
schedule: "schedule";
|
|
3437
|
+
tool: "tool";
|
|
3224
3438
|
}>;
|
|
3225
3439
|
eventType: z.ZodNullable<z.ZodString>;
|
|
3226
3440
|
outcome: z.ZodEnum<{
|
|
@@ -3570,8 +3784,8 @@ export declare const claimTypeSchema: z.ZodEnum<{
|
|
|
3570
3784
|
}>;
|
|
3571
3785
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
3572
3786
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
3573
|
-
COMPLETED: "COMPLETED";
|
|
3574
3787
|
REJECTED: "REJECTED";
|
|
3788
|
+
COMPLETED: "COMPLETED";
|
|
3575
3789
|
REQUESTED: "REQUESTED";
|
|
3576
3790
|
HELD: "HELD";
|
|
3577
3791
|
COLLECTING: "COLLECTING";
|
|
@@ -3615,8 +3829,8 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
3615
3829
|
CANCEL: "CANCEL";
|
|
3616
3830
|
}>;
|
|
3617
3831
|
status: z.ZodEnum<{
|
|
3618
|
-
COMPLETED: "COMPLETED";
|
|
3619
3832
|
REJECTED: "REJECTED";
|
|
3833
|
+
COMPLETED: "COMPLETED";
|
|
3620
3834
|
REQUESTED: "REQUESTED";
|
|
3621
3835
|
HELD: "HELD";
|
|
3622
3836
|
COLLECTING: "COLLECTING";
|
|
@@ -3705,8 +3919,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3705
3919
|
CANCEL: "CANCEL";
|
|
3706
3920
|
}>;
|
|
3707
3921
|
status: z.ZodEnum<{
|
|
3708
|
-
COMPLETED: "COMPLETED";
|
|
3709
3922
|
REJECTED: "REJECTED";
|
|
3923
|
+
COMPLETED: "COMPLETED";
|
|
3710
3924
|
REQUESTED: "REQUESTED";
|
|
3711
3925
|
HELD: "HELD";
|
|
3712
3926
|
COLLECTING: "COLLECTING";
|
|
@@ -3763,8 +3977,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3763
3977
|
}, z.core.$strip>>;
|
|
3764
3978
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3765
3979
|
status: z.ZodEnum<{
|
|
3766
|
-
COMPLETED: "COMPLETED";
|
|
3767
3980
|
REJECTED: "REJECTED";
|
|
3981
|
+
COMPLETED: "COMPLETED";
|
|
3768
3982
|
REQUESTED: "REQUESTED";
|
|
3769
3983
|
HELD: "HELD";
|
|
3770
3984
|
COLLECTING: "COLLECTING";
|
|
@@ -4394,8 +4608,8 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
4394
4608
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4395
4609
|
}>>;
|
|
4396
4610
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4397
|
-
COMPLETED: "COMPLETED";
|
|
4398
4611
|
REJECTED: "REJECTED";
|
|
4612
|
+
COMPLETED: "COMPLETED";
|
|
4399
4613
|
REQUESTED: "REQUESTED";
|
|
4400
4614
|
HELD: "HELD";
|
|
4401
4615
|
COLLECTING: "COLLECTING";
|
|
@@ -4443,8 +4657,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4443
4657
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4444
4658
|
}>>;
|
|
4445
4659
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4446
|
-
COMPLETED: "COMPLETED";
|
|
4447
4660
|
REJECTED: "REJECTED";
|
|
4661
|
+
COMPLETED: "COMPLETED";
|
|
4448
4662
|
REQUESTED: "REQUESTED";
|
|
4449
4663
|
HELD: "HELD";
|
|
4450
4664
|
COLLECTING: "COLLECTING";
|
|
@@ -4543,8 +4757,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4543
4757
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4544
4758
|
}>>;
|
|
4545
4759
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4546
|
-
COMPLETED: "COMPLETED";
|
|
4547
4760
|
REJECTED: "REJECTED";
|
|
4761
|
+
COMPLETED: "COMPLETED";
|
|
4548
4762
|
REQUESTED: "REQUESTED";
|
|
4549
4763
|
HELD: "HELD";
|
|
4550
4764
|
COLLECTING: "COLLECTING";
|
|
@@ -4635,8 +4849,8 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4635
4849
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4636
4850
|
}>>;
|
|
4637
4851
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4638
|
-
COMPLETED: "COMPLETED";
|
|
4639
4852
|
REJECTED: "REJECTED";
|
|
4853
|
+
COMPLETED: "COMPLETED";
|
|
4640
4854
|
REQUESTED: "REQUESTED";
|
|
4641
4855
|
HELD: "HELD";
|
|
4642
4856
|
COLLECTING: "COLLECTING";
|
|
@@ -4910,8 +5124,8 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
4910
5124
|
results: z.ZodArray<z.ZodObject<{
|
|
4911
5125
|
orderItemId: z.ZodString;
|
|
4912
5126
|
status: z.ZodEnum<{
|
|
4913
|
-
COMPLETED: "COMPLETED";
|
|
4914
5127
|
FAILED: "FAILED";
|
|
5128
|
+
COMPLETED: "COMPLETED";
|
|
4915
5129
|
SKIPPED: "SKIPPED";
|
|
4916
5130
|
}>;
|
|
4917
5131
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -5650,10 +5864,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
5650
5864
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
5651
5865
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
5652
5866
|
reason: z.ZodEnum<{
|
|
5653
|
-
OTHER: "OTHER";
|
|
5654
5867
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
5655
5868
|
DORMANT: "DORMANT";
|
|
5656
5869
|
ABUSE: "ABUSE";
|
|
5870
|
+
OTHER: "OTHER";
|
|
5657
5871
|
}>;
|
|
5658
5872
|
memo: z.ZodOptional<z.ZodString>;
|
|
5659
5873
|
}, z.core.$strip>;
|
|
@@ -6017,10 +6231,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
6017
6231
|
}, z.core.$strip>;
|
|
6018
6232
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
6019
6233
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
6020
|
-
FAILED: "FAILED";
|
|
6021
6234
|
PENDING: "PENDING";
|
|
6022
6235
|
PENDING_RETRY: "PENDING_RETRY";
|
|
6023
6236
|
SUCCESS: "SUCCESS";
|
|
6237
|
+
FAILED: "FAILED";
|
|
6024
6238
|
}>;
|
|
6025
6239
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
6026
6240
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -6090,10 +6304,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
6090
6304
|
}>;
|
|
6091
6305
|
url: z.ZodString;
|
|
6092
6306
|
status: z.ZodEnum<{
|
|
6093
|
-
FAILED: "FAILED";
|
|
6094
6307
|
PENDING: "PENDING";
|
|
6095
6308
|
PENDING_RETRY: "PENDING_RETRY";
|
|
6096
6309
|
SUCCESS: "SUCCESS";
|
|
6310
|
+
FAILED: "FAILED";
|
|
6097
6311
|
}>;
|
|
6098
6312
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
6099
6313
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6151,10 +6365,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
6151
6365
|
}>;
|
|
6152
6366
|
url: z.ZodString;
|
|
6153
6367
|
status: z.ZodEnum<{
|
|
6154
|
-
FAILED: "FAILED";
|
|
6155
6368
|
PENDING: "PENDING";
|
|
6156
6369
|
PENDING_RETRY: "PENDING_RETRY";
|
|
6157
6370
|
SUCCESS: "SUCCESS";
|
|
6371
|
+
FAILED: "FAILED";
|
|
6158
6372
|
}>;
|
|
6159
6373
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
6160
6374
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6195,10 +6409,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
6195
6409
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
6196
6410
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
6197
6411
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6198
|
-
FAILED: "FAILED";
|
|
6199
6412
|
PENDING: "PENDING";
|
|
6200
6413
|
PENDING_RETRY: "PENDING_RETRY";
|
|
6201
6414
|
SUCCESS: "SUCCESS";
|
|
6415
|
+
FAILED: "FAILED";
|
|
6202
6416
|
}>>;
|
|
6203
6417
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
6204
6418
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -7183,8 +7397,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
7183
7397
|
}>;
|
|
7184
7398
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
7185
7399
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
7186
|
-
FAILED: "FAILED";
|
|
7187
7400
|
SUCCESS: "SUCCESS";
|
|
7401
|
+
FAILED: "FAILED";
|
|
7188
7402
|
}>;
|
|
7189
7403
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
7190
7404
|
/**
|
|
@@ -7333,8 +7547,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
7333
7547
|
}, z.core.$strip>>;
|
|
7334
7548
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7335
7549
|
result: z.ZodEnum<{
|
|
7336
|
-
FAILED: "FAILED";
|
|
7337
7550
|
SUCCESS: "SUCCESS";
|
|
7551
|
+
FAILED: "FAILED";
|
|
7338
7552
|
}>;
|
|
7339
7553
|
message: z.ZodNullable<z.ZodString>;
|
|
7340
7554
|
checkedAt: z.ZodString;
|
|
@@ -7443,8 +7657,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7443
7657
|
}, z.core.$strip>>;
|
|
7444
7658
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7445
7659
|
result: z.ZodEnum<{
|
|
7446
|
-
FAILED: "FAILED";
|
|
7447
7660
|
SUCCESS: "SUCCESS";
|
|
7661
|
+
FAILED: "FAILED";
|
|
7448
7662
|
}>;
|
|
7449
7663
|
message: z.ZodNullable<z.ZodString>;
|
|
7450
7664
|
checkedAt: z.ZodString;
|
|
@@ -7480,8 +7694,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7480
7694
|
}, z.core.$strip>>;
|
|
7481
7695
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7482
7696
|
result: z.ZodEnum<{
|
|
7483
|
-
FAILED: "FAILED";
|
|
7484
7697
|
SUCCESS: "SUCCESS";
|
|
7698
|
+
FAILED: "FAILED";
|
|
7485
7699
|
}>;
|
|
7486
7700
|
message: z.ZodNullable<z.ZodString>;
|
|
7487
7701
|
checkedAt: z.ZodString;
|
|
@@ -7516,8 +7730,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7516
7730
|
}, z.core.$strip>>;
|
|
7517
7731
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7518
7732
|
result: z.ZodEnum<{
|
|
7519
|
-
FAILED: "FAILED";
|
|
7520
7733
|
SUCCESS: "SUCCESS";
|
|
7734
|
+
FAILED: "FAILED";
|
|
7521
7735
|
}>;
|
|
7522
7736
|
message: z.ZodNullable<z.ZodString>;
|
|
7523
7737
|
checkedAt: z.ZodString;
|
|
@@ -7609,8 +7823,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7609
7823
|
}, z.core.$strip>>;
|
|
7610
7824
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7611
7825
|
result: z.ZodEnum<{
|
|
7612
|
-
FAILED: "FAILED";
|
|
7613
7826
|
SUCCESS: "SUCCESS";
|
|
7827
|
+
FAILED: "FAILED";
|
|
7614
7828
|
}>;
|
|
7615
7829
|
message: z.ZodNullable<z.ZodString>;
|
|
7616
7830
|
checkedAt: z.ZodString;
|
|
@@ -7646,8 +7860,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7646
7860
|
}, z.core.$strip>>;
|
|
7647
7861
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7648
7862
|
result: z.ZodEnum<{
|
|
7649
|
-
FAILED: "FAILED";
|
|
7650
7863
|
SUCCESS: "SUCCESS";
|
|
7864
|
+
FAILED: "FAILED";
|
|
7651
7865
|
}>;
|
|
7652
7866
|
message: z.ZodNullable<z.ZodString>;
|
|
7653
7867
|
checkedAt: z.ZodString;
|
|
@@ -7682,8 +7896,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7682
7896
|
}, z.core.$strip>>;
|
|
7683
7897
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7684
7898
|
result: z.ZodEnum<{
|
|
7685
|
-
FAILED: "FAILED";
|
|
7686
7899
|
SUCCESS: "SUCCESS";
|
|
7900
|
+
FAILED: "FAILED";
|
|
7687
7901
|
}>;
|
|
7688
7902
|
message: z.ZodNullable<z.ZodString>;
|
|
7689
7903
|
checkedAt: z.ZodString;
|
|
@@ -7741,8 +7955,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
7741
7955
|
LIVE: "LIVE";
|
|
7742
7956
|
}>;
|
|
7743
7957
|
result: z.ZodEnum<{
|
|
7744
|
-
FAILED: "FAILED";
|
|
7745
7958
|
SUCCESS: "SUCCESS";
|
|
7959
|
+
FAILED: "FAILED";
|
|
7746
7960
|
}>;
|
|
7747
7961
|
message: z.ZodNullable<z.ZodString>;
|
|
7748
7962
|
checkedAt: z.ZodString;
|
|
@@ -7872,8 +8086,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
7872
8086
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
7873
8087
|
*/
|
|
7874
8088
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
7875
|
-
FAILED: "FAILED";
|
|
7876
8089
|
PENDING: "PENDING";
|
|
8090
|
+
FAILED: "FAILED";
|
|
7877
8091
|
APPROVED: "APPROVED";
|
|
7878
8092
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7879
8093
|
REFUNDED: "REFUNDED";
|
|
@@ -7920,8 +8134,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
7920
8134
|
orderName: z.ZodString;
|
|
7921
8135
|
customerName: z.ZodString;
|
|
7922
8136
|
status: z.ZodEnum<{
|
|
7923
|
-
FAILED: "FAILED";
|
|
7924
8137
|
PENDING: "PENDING";
|
|
8138
|
+
FAILED: "FAILED";
|
|
7925
8139
|
APPROVED: "APPROVED";
|
|
7926
8140
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7927
8141
|
REFUNDED: "REFUNDED";
|
|
@@ -7968,8 +8182,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
7968
8182
|
orderName: z.ZodString;
|
|
7969
8183
|
customerName: z.ZodString;
|
|
7970
8184
|
status: z.ZodEnum<{
|
|
7971
|
-
FAILED: "FAILED";
|
|
7972
8185
|
PENDING: "PENDING";
|
|
8186
|
+
FAILED: "FAILED";
|
|
7973
8187
|
APPROVED: "APPROVED";
|
|
7974
8188
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7975
8189
|
REFUNDED: "REFUNDED";
|
|
@@ -8061,8 +8275,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
8061
8275
|
orderName: z.ZodString;
|
|
8062
8276
|
customerName: z.ZodString;
|
|
8063
8277
|
status: z.ZodEnum<{
|
|
8064
|
-
FAILED: "FAILED";
|
|
8065
8278
|
PENDING: "PENDING";
|
|
8279
|
+
FAILED: "FAILED";
|
|
8066
8280
|
APPROVED: "APPROVED";
|
|
8067
8281
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
8068
8282
|
REFUNDED: "REFUNDED";
|
|
@@ -8391,11 +8605,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
8391
8605
|
export declare const pointLotSchema: z.ZodObject<{
|
|
8392
8606
|
lotId: z.ZodString;
|
|
8393
8607
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8394
|
-
PURCHASE: "PURCHASE";
|
|
8395
8608
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
8396
8609
|
ADJUST: "ADJUST";
|
|
8397
8610
|
OPENING: "OPENING";
|
|
8398
8611
|
REVIEW: "REVIEW";
|
|
8612
|
+
PURCHASE: "PURCHASE";
|
|
8399
8613
|
}>, z.ZodString]>;
|
|
8400
8614
|
amount: z.ZodNumber;
|
|
8401
8615
|
remaining: z.ZodNumber;
|
|
@@ -8410,11 +8624,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
8410
8624
|
lots: z.ZodArray<z.ZodObject<{
|
|
8411
8625
|
lotId: z.ZodString;
|
|
8412
8626
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8413
|
-
PURCHASE: "PURCHASE";
|
|
8414
8627
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
8415
8628
|
ADJUST: "ADJUST";
|
|
8416
8629
|
OPENING: "OPENING";
|
|
8417
8630
|
REVIEW: "REVIEW";
|
|
8631
|
+
PURCHASE: "PURCHASE";
|
|
8418
8632
|
}>, z.ZodString]>;
|
|
8419
8633
|
amount: z.ZodNumber;
|
|
8420
8634
|
remaining: z.ZodNumber;
|
|
@@ -8804,8 +9018,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
8804
9018
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8805
9019
|
shipping: z.ZodObject<{
|
|
8806
9020
|
deliveryType: z.ZodEnum<{
|
|
8807
|
-
PAID: "PAID";
|
|
8808
9021
|
FREE: "FREE";
|
|
9022
|
+
PAID: "PAID";
|
|
8809
9023
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8810
9024
|
}>;
|
|
8811
9025
|
deliveryFee: z.ZodNumber;
|
|
@@ -9048,8 +9262,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
9048
9262
|
type: z.ZodLiteral<"SHIPPING">;
|
|
9049
9263
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
9050
9264
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
9051
|
-
PAID: "PAID";
|
|
9052
9265
|
FREE: "FREE";
|
|
9266
|
+
PAID: "PAID";
|
|
9053
9267
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
9054
9268
|
}>>;
|
|
9055
9269
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9058,16 +9272,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
9058
9272
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9059
9273
|
}, z.core.$strict>>;
|
|
9060
9274
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9061
|
-
DIRECT: "DIRECT";
|
|
9062
9275
|
CARRIER: "CARRIER";
|
|
9276
|
+
DIRECT: "DIRECT";
|
|
9063
9277
|
PICKUP: "PICKUP";
|
|
9064
9278
|
PROVIDED: "PROVIDED";
|
|
9065
9279
|
}>>>;
|
|
9066
9280
|
}, z.core.$strict>, z.ZodObject<{
|
|
9067
9281
|
type: z.ZodLiteral<"MANUAL">;
|
|
9068
9282
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9069
|
-
DIRECT: "DIRECT";
|
|
9070
9283
|
CARRIER: "CARRIER";
|
|
9284
|
+
DIRECT: "DIRECT";
|
|
9071
9285
|
PICKUP: "PICKUP";
|
|
9072
9286
|
PROVIDED: "PROVIDED";
|
|
9073
9287
|
}>>>;
|
|
@@ -9162,8 +9376,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
9162
9376
|
type: z.ZodLiteral<"SHIPPING">;
|
|
9163
9377
|
shipping: z.ZodObject<{
|
|
9164
9378
|
deliveryType: z.ZodEnum<{
|
|
9165
|
-
PAID: "PAID";
|
|
9166
9379
|
FREE: "FREE";
|
|
9380
|
+
PAID: "PAID";
|
|
9167
9381
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
9168
9382
|
}>;
|
|
9169
9383
|
deliveryFee: z.ZodNumber;
|
|
@@ -9172,16 +9386,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
9172
9386
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
9173
9387
|
}, z.core.$strict>;
|
|
9174
9388
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9175
|
-
DIRECT: "DIRECT";
|
|
9176
9389
|
CARRIER: "CARRIER";
|
|
9390
|
+
DIRECT: "DIRECT";
|
|
9177
9391
|
PICKUP: "PICKUP";
|
|
9178
9392
|
PROVIDED: "PROVIDED";
|
|
9179
9393
|
}>>>;
|
|
9180
9394
|
}, z.core.$strict>, z.ZodObject<{
|
|
9181
9395
|
type: z.ZodLiteral<"MANUAL">;
|
|
9182
9396
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9183
|
-
DIRECT: "DIRECT";
|
|
9184
9397
|
CARRIER: "CARRIER";
|
|
9398
|
+
DIRECT: "DIRECT";
|
|
9185
9399
|
PICKUP: "PICKUP";
|
|
9186
9400
|
PROVIDED: "PROVIDED";
|
|
9187
9401
|
}>>>;
|
|
@@ -9285,8 +9499,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
9285
9499
|
type: z.ZodLiteral<"SHIPPING">;
|
|
9286
9500
|
shipping: z.ZodObject<{
|
|
9287
9501
|
deliveryType: z.ZodEnum<{
|
|
9288
|
-
PAID: "PAID";
|
|
9289
9502
|
FREE: "FREE";
|
|
9503
|
+
PAID: "PAID";
|
|
9290
9504
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
9291
9505
|
}>;
|
|
9292
9506
|
deliveryFee: z.ZodNumber;
|
|
@@ -9295,16 +9509,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
9295
9509
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
9296
9510
|
}, z.core.$strict>;
|
|
9297
9511
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9298
|
-
DIRECT: "DIRECT";
|
|
9299
9512
|
CARRIER: "CARRIER";
|
|
9513
|
+
DIRECT: "DIRECT";
|
|
9300
9514
|
PICKUP: "PICKUP";
|
|
9301
9515
|
PROVIDED: "PROVIDED";
|
|
9302
9516
|
}>>>;
|
|
9303
9517
|
}, z.core.$strict>, z.ZodObject<{
|
|
9304
9518
|
type: z.ZodLiteral<"MANUAL">;
|
|
9305
9519
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9306
|
-
DIRECT: "DIRECT";
|
|
9307
9520
|
CARRIER: "CARRIER";
|
|
9521
|
+
DIRECT: "DIRECT";
|
|
9308
9522
|
PICKUP: "PICKUP";
|
|
9309
9523
|
PROVIDED: "PROVIDED";
|
|
9310
9524
|
}>>>;
|
|
@@ -10161,8 +10375,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
10161
10375
|
*/
|
|
10162
10376
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
10163
10377
|
status: z.ZodEnum<{
|
|
10164
|
-
FAILED: "FAILED";
|
|
10165
10378
|
PENDING: "PENDING";
|
|
10379
|
+
FAILED: "FAILED";
|
|
10166
10380
|
SYNCED: "SYNCED";
|
|
10167
10381
|
}>;
|
|
10168
10382
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10249,8 +10463,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
10249
10463
|
}, z.core.$strip>>;
|
|
10250
10464
|
provisioning: z.ZodObject<{
|
|
10251
10465
|
status: z.ZodEnum<{
|
|
10252
|
-
FAILED: "FAILED";
|
|
10253
10466
|
PENDING: "PENDING";
|
|
10467
|
+
FAILED: "FAILED";
|
|
10254
10468
|
SYNCED: "SYNCED";
|
|
10255
10469
|
}>;
|
|
10256
10470
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10334,8 +10548,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
10334
10548
|
}, z.core.$strip>>;
|
|
10335
10549
|
provisioning: z.ZodObject<{
|
|
10336
10550
|
status: z.ZodEnum<{
|
|
10337
|
-
FAILED: "FAILED";
|
|
10338
10551
|
PENDING: "PENDING";
|
|
10552
|
+
FAILED: "FAILED";
|
|
10339
10553
|
SYNCED: "SYNCED";
|
|
10340
10554
|
}>;
|
|
10341
10555
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10382,8 +10596,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
10382
10596
|
PUBLISH: "PUBLISH";
|
|
10383
10597
|
}>;
|
|
10384
10598
|
status: z.ZodEnum<{
|
|
10385
|
-
FAILED: "FAILED";
|
|
10386
10599
|
PENDING: "PENDING";
|
|
10600
|
+
FAILED: "FAILED";
|
|
10387
10601
|
RUNNING: "RUNNING";
|
|
10388
10602
|
DONE: "DONE";
|
|
10389
10603
|
}>;
|
|
@@ -10404,9 +10618,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
10404
10618
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
10405
10619
|
siteId: z.ZodString;
|
|
10406
10620
|
status: z.ZodEnum<{
|
|
10407
|
-
IN_PROGRESS: "IN_PROGRESS";
|
|
10408
|
-
SUCCEEDED: "SUCCEEDED";
|
|
10409
10621
|
FAILED: "FAILED";
|
|
10622
|
+
SUCCEEDED: "SUCCEEDED";
|
|
10623
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
10410
10624
|
}>;
|
|
10411
10625
|
url: z.ZodString;
|
|
10412
10626
|
startedAt: z.ZodString;
|
|
@@ -10418,8 +10632,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
10418
10632
|
PUBLISH: "PUBLISH";
|
|
10419
10633
|
}>;
|
|
10420
10634
|
status: z.ZodEnum<{
|
|
10421
|
-
FAILED: "FAILED";
|
|
10422
10635
|
PENDING: "PENDING";
|
|
10636
|
+
FAILED: "FAILED";
|
|
10423
10637
|
RUNNING: "RUNNING";
|
|
10424
10638
|
DONE: "DONE";
|
|
10425
10639
|
}>;
|
|
@@ -10540,8 +10754,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
10540
10754
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
10541
10755
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
10542
10756
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
10543
|
-
FAILED: "FAILED";
|
|
10544
10757
|
ACTIVE: "ACTIVE";
|
|
10758
|
+
FAILED: "FAILED";
|
|
10545
10759
|
PENDING_DNS: "PENDING_DNS";
|
|
10546
10760
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10547
10761
|
}>;
|
|
@@ -10567,8 +10781,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
10567
10781
|
CUSTOM: "CUSTOM";
|
|
10568
10782
|
}>;
|
|
10569
10783
|
status: z.ZodEnum<{
|
|
10570
|
-
FAILED: "FAILED";
|
|
10571
10784
|
ACTIVE: "ACTIVE";
|
|
10785
|
+
FAILED: "FAILED";
|
|
10572
10786
|
PENDING_DNS: "PENDING_DNS";
|
|
10573
10787
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10574
10788
|
}>;
|
|
@@ -10586,9 +10800,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
10586
10800
|
}>;
|
|
10587
10801
|
}, z.core.$strip>>;
|
|
10588
10802
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10589
|
-
FAILED: "FAILED";
|
|
10590
|
-
PENDING: "PENDING";
|
|
10591
10803
|
ACTIVE: "ACTIVE";
|
|
10804
|
+
PENDING: "PENDING";
|
|
10805
|
+
FAILED: "FAILED";
|
|
10592
10806
|
}>>;
|
|
10593
10807
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10594
10808
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10610,8 +10824,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
10610
10824
|
CUSTOM: "CUSTOM";
|
|
10611
10825
|
}>;
|
|
10612
10826
|
status: z.ZodEnum<{
|
|
10613
|
-
FAILED: "FAILED";
|
|
10614
10827
|
ACTIVE: "ACTIVE";
|
|
10828
|
+
FAILED: "FAILED";
|
|
10615
10829
|
PENDING_DNS: "PENDING_DNS";
|
|
10616
10830
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10617
10831
|
}>;
|
|
@@ -10629,9 +10843,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
10629
10843
|
}>;
|
|
10630
10844
|
}, z.core.$strip>>;
|
|
10631
10845
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10632
|
-
FAILED: "FAILED";
|
|
10633
|
-
PENDING: "PENDING";
|
|
10634
10846
|
ACTIVE: "ACTIVE";
|
|
10847
|
+
PENDING: "PENDING";
|
|
10848
|
+
FAILED: "FAILED";
|
|
10635
10849
|
}>>;
|
|
10636
10850
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10637
10851
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10865,8 +11079,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
10865
11079
|
}, z.core.$strip>;
|
|
10866
11080
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
10867
11081
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
10868
|
-
UNKNOWN: "UNKNOWN";
|
|
10869
11082
|
FAILED: "FAILED";
|
|
11083
|
+
UNKNOWN: "UNKNOWN";
|
|
10870
11084
|
RUNNING: "RUNNING";
|
|
10871
11085
|
QUEUED: "QUEUED";
|
|
10872
11086
|
PASSED: "PASSED";
|
|
@@ -10879,8 +11093,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
10879
11093
|
checkId: z.ZodString;
|
|
10880
11094
|
check: z.ZodString;
|
|
10881
11095
|
status: z.ZodEnum<{
|
|
10882
|
-
UNKNOWN: "UNKNOWN";
|
|
10883
11096
|
FAILED: "FAILED";
|
|
11097
|
+
UNKNOWN: "UNKNOWN";
|
|
10884
11098
|
RUNNING: "RUNNING";
|
|
10885
11099
|
QUEUED: "QUEUED";
|
|
10886
11100
|
PASSED: "PASSED";
|
|
@@ -10964,8 +11178,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
10964
11178
|
}, z.core.$strip>;
|
|
10965
11179
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
10966
11180
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
10967
|
-
SUCCEEDED: "SUCCEEDED";
|
|
10968
11181
|
FAILED: "FAILED";
|
|
11182
|
+
SUCCEEDED: "SUCCEEDED";
|
|
10969
11183
|
RUNNING: "RUNNING";
|
|
10970
11184
|
QUEUED: "QUEUED";
|
|
10971
11185
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -11032,8 +11246,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
11032
11246
|
versionId: z.ZodString;
|
|
11033
11247
|
versionNumber: z.ZodNumber;
|
|
11034
11248
|
status: z.ZodEnum<{
|
|
11035
|
-
SUCCEEDED: "SUCCEEDED";
|
|
11036
11249
|
FAILED: "FAILED";
|
|
11250
|
+
SUCCEEDED: "SUCCEEDED";
|
|
11037
11251
|
RUNNING: "RUNNING";
|
|
11038
11252
|
QUEUED: "QUEUED";
|
|
11039
11253
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -11161,8 +11375,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
11161
11375
|
versionId: z.ZodString;
|
|
11162
11376
|
versionNumber: z.ZodNumber;
|
|
11163
11377
|
status: z.ZodEnum<{
|
|
11164
|
-
SUCCEEDED: "SUCCEEDED";
|
|
11165
11378
|
FAILED: "FAILED";
|
|
11379
|
+
SUCCEEDED: "SUCCEEDED";
|
|
11166
11380
|
RUNNING: "RUNNING";
|
|
11167
11381
|
QUEUED: "QUEUED";
|
|
11168
11382
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -11711,7 +11925,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11711
11925
|
fulfillment: UnknownFulfillment | {
|
|
11712
11926
|
type: "SHIPPING";
|
|
11713
11927
|
shipping: {
|
|
11714
|
-
deliveryType: "
|
|
11928
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
11715
11929
|
deliveryFee: number;
|
|
11716
11930
|
conditionalFreeAmount: number | null;
|
|
11717
11931
|
shippingAddressId: string | null;
|
|
@@ -11819,7 +12033,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11819
12033
|
fulfillment: UnknownFulfillment | {
|
|
11820
12034
|
type: "SHIPPING";
|
|
11821
12035
|
shipping: {
|
|
11822
|
-
deliveryType: "
|
|
12036
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
11823
12037
|
deliveryFee: number;
|
|
11824
12038
|
conditionalFreeAmount: number | null;
|
|
11825
12039
|
shippingAddressId: string | null;
|
|
@@ -11927,7 +12141,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11927
12141
|
fulfillment: UnknownFulfillment | {
|
|
11928
12142
|
type: "SHIPPING";
|
|
11929
12143
|
shipping: {
|
|
11930
|
-
deliveryType: "
|
|
12144
|
+
deliveryType: "FREE" | "PAID" | "CONDITIONAL_FREE";
|
|
11931
12145
|
deliveryFee: number;
|
|
11932
12146
|
conditionalFreeAmount: number | null;
|
|
11933
12147
|
shippingAddressId: string | null;
|
|
@@ -12309,7 +12523,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12309
12523
|
value: true;
|
|
12310
12524
|
} | {
|
|
12311
12525
|
field: "bestSelling";
|
|
12312
|
-
days:
|
|
12526
|
+
days: 30 | 7 | 90;
|
|
12313
12527
|
top: number;
|
|
12314
12528
|
} | {
|
|
12315
12529
|
[x: string]: unknown;
|
|
@@ -12359,7 +12573,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12359
12573
|
value: true;
|
|
12360
12574
|
} | {
|
|
12361
12575
|
field: "bestSelling";
|
|
12362
|
-
days:
|
|
12576
|
+
days: 30 | 7 | 90;
|
|
12363
12577
|
top: number;
|
|
12364
12578
|
} | {
|
|
12365
12579
|
[x: string]: unknown;
|
|
@@ -12402,7 +12616,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12402
12616
|
value: true;
|
|
12403
12617
|
} | {
|
|
12404
12618
|
field: "bestSelling";
|
|
12405
|
-
days:
|
|
12619
|
+
days: 30 | 7 | 90;
|
|
12406
12620
|
top: number;
|
|
12407
12621
|
} | {
|
|
12408
12622
|
[x: string]: unknown;
|
|
@@ -12444,7 +12658,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12444
12658
|
value: true;
|
|
12445
12659
|
} | {
|
|
12446
12660
|
field: "bestSelling";
|
|
12447
|
-
days:
|
|
12661
|
+
days: 30 | 7 | 90;
|
|
12448
12662
|
top: number;
|
|
12449
12663
|
} | {
|
|
12450
12664
|
[x: string]: unknown;
|
|
@@ -12507,7 +12721,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12507
12721
|
value: true;
|
|
12508
12722
|
} | {
|
|
12509
12723
|
field: "bestSelling";
|
|
12510
|
-
days:
|
|
12724
|
+
days: 30 | 7 | 90;
|
|
12511
12725
|
top: number;
|
|
12512
12726
|
} | {
|
|
12513
12727
|
[x: string]: unknown;
|
|
@@ -12550,7 +12764,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12550
12764
|
value: true;
|
|
12551
12765
|
} | {
|
|
12552
12766
|
field: "bestSelling";
|
|
12553
|
-
days:
|
|
12767
|
+
days: 30 | 7 | 90;
|
|
12554
12768
|
top: number;
|
|
12555
12769
|
} | {
|
|
12556
12770
|
[x: string]: unknown;
|
|
@@ -12941,7 +13155,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12941
13155
|
key: string;
|
|
12942
13156
|
results: {
|
|
12943
13157
|
orderItemId: string;
|
|
12944
|
-
status: "
|
|
13158
|
+
status: "FAILED" | "COMPLETED" | "SKIPPED";
|
|
12945
13159
|
reason?: string | undefined;
|
|
12946
13160
|
message?: string | undefined;
|
|
12947
13161
|
}[];
|
|
@@ -13330,7 +13544,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13330
13544
|
enteredAt: string;
|
|
13331
13545
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13332
13546
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13333
|
-
claimStatus?: "
|
|
13547
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13334
13548
|
message?: string | undefined;
|
|
13335
13549
|
deadlineAt?: string | undefined;
|
|
13336
13550
|
attachments?: string[] | undefined;
|
|
@@ -13395,7 +13609,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13395
13609
|
enteredAt: string;
|
|
13396
13610
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13397
13611
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13398
|
-
claimStatus?: "
|
|
13612
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13399
13613
|
message?: string | undefined;
|
|
13400
13614
|
deadlineAt?: string | undefined;
|
|
13401
13615
|
attachments?: string[] | undefined;
|
|
@@ -13425,7 +13639,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13425
13639
|
enteredAt: string;
|
|
13426
13640
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13427
13641
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13428
|
-
claimStatus?: "
|
|
13642
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13429
13643
|
message?: string | undefined;
|
|
13430
13644
|
deadlineAt?: string | undefined;
|
|
13431
13645
|
attachments?: string[] | undefined;
|
|
@@ -13477,9 +13691,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13477
13691
|
}>;
|
|
13478
13692
|
/**
|
|
13479
13693
|
* `POST /order-items/{id}/events/{key}` — 현장 단말·연동의 상점 사건(`custom.<이름>`)을 플로우에 넣는다(#115).
|
|
13480
|
-
*
|
|
13694
|
+
* 앱 사건(`app.<handle>.<이름>`, #22)은 그 앱의 설치 토큰으로만 보낸다(`ctx.api`).
|
|
13695
|
+
* 에러: 400 `FLOW_EVENT_KEY_INVALID`, 403 `FLOW_EVENT_APP_FORBIDDEN`, 409 `FLOW_EVENT_NOT_ACCEPTED`
|
|
13481
13696
|
*/
|
|
13482
|
-
emitEvent: (orderItemId: string, key: `custom.${string}`, input?: Record<string, unknown>, idempotencyKey?: string) => Promise<{
|
|
13697
|
+
emitEvent: (orderItemId: string, key: `custom.${string}` | `app.${string}`, input?: Record<string, unknown>, idempotencyKey?: string) => Promise<{
|
|
13483
13698
|
status: "COMPLETED";
|
|
13484
13699
|
flowState: {
|
|
13485
13700
|
key: string;
|
|
@@ -13487,7 +13702,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13487
13702
|
enteredAt: string;
|
|
13488
13703
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13489
13704
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13490
|
-
claimStatus?: "
|
|
13705
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13491
13706
|
message?: string | undefined;
|
|
13492
13707
|
deadlineAt?: string | undefined;
|
|
13493
13708
|
attachments?: string[] | undefined;
|
|
@@ -13549,7 +13764,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13549
13764
|
enteredAt: string;
|
|
13550
13765
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13551
13766
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13552
|
-
claimStatus?: "
|
|
13767
|
+
claimStatus?: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13553
13768
|
message?: string | undefined;
|
|
13554
13769
|
deadlineAt?: string | undefined;
|
|
13555
13770
|
attachments?: string[] | undefined;
|
|
@@ -14001,7 +14216,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14001
14216
|
claimId: string;
|
|
14002
14217
|
claimNo: string | null;
|
|
14003
14218
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
14004
|
-
status: "
|
|
14219
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
14005
14220
|
orderId: string;
|
|
14006
14221
|
orderItemId: string;
|
|
14007
14222
|
productName: string;
|
|
@@ -14041,7 +14256,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14041
14256
|
claimId: string;
|
|
14042
14257
|
claimNo: string | null;
|
|
14043
14258
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
14044
|
-
status: "
|
|
14259
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
14045
14260
|
orderId: string;
|
|
14046
14261
|
orderItemId: string;
|
|
14047
14262
|
productName: string;
|
|
@@ -14076,7 +14291,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14076
14291
|
address2: string | null;
|
|
14077
14292
|
} | null;
|
|
14078
14293
|
histories?: {
|
|
14079
|
-
status: "
|
|
14294
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
14080
14295
|
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
14081
14296
|
occurredAt: string;
|
|
14082
14297
|
}[] | undefined;
|
|
@@ -14114,7 +14329,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14114
14329
|
claimId: string;
|
|
14115
14330
|
claimNo: string | null;
|
|
14116
14331
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
14117
|
-
status: "
|
|
14332
|
+
status: "REJECTED" | "COMPLETED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
14118
14333
|
orderId: string;
|
|
14119
14334
|
orderItemId: string;
|
|
14120
14335
|
productName: string;
|
|
@@ -15038,7 +15253,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15038
15253
|
conversionRate: number | null;
|
|
15039
15254
|
};
|
|
15040
15255
|
funnel: {
|
|
15041
|
-
step: "
|
|
15256
|
+
step: "PURCHASE" | "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT";
|
|
15042
15257
|
sessions: number;
|
|
15043
15258
|
rateFromPrevious: number | null;
|
|
15044
15259
|
}[];
|
|
@@ -15092,9 +15307,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15092
15307
|
}>;
|
|
15093
15308
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
15094
15309
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
15095
|
-
groupBy: "
|
|
15310
|
+
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
15096
15311
|
rows: {
|
|
15097
|
-
channel: "
|
|
15312
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
15098
15313
|
source: string | null;
|
|
15099
15314
|
medium: string | null;
|
|
15100
15315
|
campaign: string | null;
|
|
@@ -15199,7 +15414,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15199
15414
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
15200
15415
|
sessions: number;
|
|
15201
15416
|
outcomes: {
|
|
15202
|
-
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "
|
|
15417
|
+
outcome: "OTHER" | "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "IN_PROGRESS";
|
|
15203
15418
|
sessions: number;
|
|
15204
15419
|
}[];
|
|
15205
15420
|
from: string;
|
|
@@ -15229,7 +15444,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15229
15444
|
orderId: string | null;
|
|
15230
15445
|
orderName: string;
|
|
15231
15446
|
customerName: string;
|
|
15232
|
-
status: "
|
|
15447
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
15233
15448
|
amount: number;
|
|
15234
15449
|
refundedAmount: number;
|
|
15235
15450
|
heldRefundAmount: number;
|
|
@@ -15255,7 +15470,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15255
15470
|
orderId: string | null;
|
|
15256
15471
|
orderName: string;
|
|
15257
15472
|
customerName: string;
|
|
15258
|
-
status: "
|
|
15473
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
15259
15474
|
amount: number;
|
|
15260
15475
|
refundedAmount: number;
|
|
15261
15476
|
heldRefundAmount: number;
|
|
@@ -15370,7 +15585,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15370
15585
|
masked: string | null;
|
|
15371
15586
|
}[];
|
|
15372
15587
|
lastVerification: {
|
|
15373
|
-
result: "
|
|
15588
|
+
result: "SUCCESS" | "FAILED";
|
|
15374
15589
|
message: string | null;
|
|
15375
15590
|
checkedAt: string;
|
|
15376
15591
|
} | null;
|
|
@@ -15395,7 +15610,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15395
15610
|
masked: string | null;
|
|
15396
15611
|
}[];
|
|
15397
15612
|
lastVerification: {
|
|
15398
|
-
result: "
|
|
15613
|
+
result: "SUCCESS" | "FAILED";
|
|
15399
15614
|
message: string | null;
|
|
15400
15615
|
checkedAt: string;
|
|
15401
15616
|
} | null;
|
|
@@ -15419,7 +15634,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15419
15634
|
masked: string | null;
|
|
15420
15635
|
}[];
|
|
15421
15636
|
lastVerification: {
|
|
15422
|
-
result: "
|
|
15637
|
+
result: "SUCCESS" | "FAILED";
|
|
15423
15638
|
message: string | null;
|
|
15424
15639
|
checkedAt: string;
|
|
15425
15640
|
} | null;
|
|
@@ -15480,7 +15695,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15480
15695
|
masked: string | null;
|
|
15481
15696
|
}[];
|
|
15482
15697
|
lastVerification: {
|
|
15483
|
-
result: "
|
|
15698
|
+
result: "SUCCESS" | "FAILED";
|
|
15484
15699
|
message: string | null;
|
|
15485
15700
|
checkedAt: string;
|
|
15486
15701
|
} | null;
|
|
@@ -15505,7 +15720,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15505
15720
|
masked: string | null;
|
|
15506
15721
|
}[];
|
|
15507
15722
|
lastVerification: {
|
|
15508
|
-
result: "
|
|
15723
|
+
result: "SUCCESS" | "FAILED";
|
|
15509
15724
|
message: string | null;
|
|
15510
15725
|
checkedAt: string;
|
|
15511
15726
|
} | null;
|
|
@@ -15529,7 +15744,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15529
15744
|
masked: string | null;
|
|
15530
15745
|
}[];
|
|
15531
15746
|
lastVerification: {
|
|
15532
|
-
result: "
|
|
15747
|
+
result: "SUCCESS" | "FAILED";
|
|
15533
15748
|
message: string | null;
|
|
15534
15749
|
checkedAt: string;
|
|
15535
15750
|
} | null;
|
|
@@ -15595,7 +15810,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15595
15810
|
masked: string | null;
|
|
15596
15811
|
}[];
|
|
15597
15812
|
lastVerification: {
|
|
15598
|
-
result: "
|
|
15813
|
+
result: "SUCCESS" | "FAILED";
|
|
15599
15814
|
message: string | null;
|
|
15600
15815
|
checkedAt: string;
|
|
15601
15816
|
} | null;
|
|
@@ -15620,7 +15835,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15620
15835
|
masked: string | null;
|
|
15621
15836
|
}[];
|
|
15622
15837
|
lastVerification: {
|
|
15623
|
-
result: "
|
|
15838
|
+
result: "SUCCESS" | "FAILED";
|
|
15624
15839
|
message: string | null;
|
|
15625
15840
|
checkedAt: string;
|
|
15626
15841
|
} | null;
|
|
@@ -15644,7 +15859,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15644
15859
|
masked: string | null;
|
|
15645
15860
|
}[];
|
|
15646
15861
|
lastVerification: {
|
|
15647
|
-
result: "
|
|
15862
|
+
result: "SUCCESS" | "FAILED";
|
|
15648
15863
|
message: string | null;
|
|
15649
15864
|
checkedAt: string;
|
|
15650
15865
|
} | null;
|
|
@@ -15691,7 +15906,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15691
15906
|
masked: string | null;
|
|
15692
15907
|
}[];
|
|
15693
15908
|
lastVerification: {
|
|
15694
|
-
result: "
|
|
15909
|
+
result: "SUCCESS" | "FAILED";
|
|
15695
15910
|
message: string | null;
|
|
15696
15911
|
checkedAt: string;
|
|
15697
15912
|
} | null;
|
|
@@ -15716,7 +15931,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15716
15931
|
masked: string | null;
|
|
15717
15932
|
}[];
|
|
15718
15933
|
lastVerification: {
|
|
15719
|
-
result: "
|
|
15934
|
+
result: "SUCCESS" | "FAILED";
|
|
15720
15935
|
message: string | null;
|
|
15721
15936
|
checkedAt: string;
|
|
15722
15937
|
} | null;
|
|
@@ -15740,7 +15955,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15740
15955
|
masked: string | null;
|
|
15741
15956
|
}[];
|
|
15742
15957
|
lastVerification: {
|
|
15743
|
-
result: "
|
|
15958
|
+
result: "SUCCESS" | "FAILED";
|
|
15744
15959
|
message: string | null;
|
|
15745
15960
|
checkedAt: string;
|
|
15746
15961
|
} | null;
|
|
@@ -15797,7 +16012,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15797
16012
|
masked: string | null;
|
|
15798
16013
|
}[];
|
|
15799
16014
|
lastVerification: {
|
|
15800
|
-
result: "
|
|
16015
|
+
result: "SUCCESS" | "FAILED";
|
|
15801
16016
|
message: string | null;
|
|
15802
16017
|
checkedAt: string;
|
|
15803
16018
|
} | null;
|
|
@@ -15822,7 +16037,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15822
16037
|
masked: string | null;
|
|
15823
16038
|
}[];
|
|
15824
16039
|
lastVerification: {
|
|
15825
|
-
result: "
|
|
16040
|
+
result: "SUCCESS" | "FAILED";
|
|
15826
16041
|
message: string | null;
|
|
15827
16042
|
checkedAt: string;
|
|
15828
16043
|
} | null;
|
|
@@ -15846,7 +16061,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15846
16061
|
masked: string | null;
|
|
15847
16062
|
}[];
|
|
15848
16063
|
lastVerification: {
|
|
15849
|
-
result: "
|
|
16064
|
+
result: "SUCCESS" | "FAILED";
|
|
15850
16065
|
message: string | null;
|
|
15851
16066
|
checkedAt: string;
|
|
15852
16067
|
} | null;
|
|
@@ -15893,7 +16108,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15893
16108
|
masked: string | null;
|
|
15894
16109
|
}[];
|
|
15895
16110
|
lastVerification: {
|
|
15896
|
-
result: "
|
|
16111
|
+
result: "SUCCESS" | "FAILED";
|
|
15897
16112
|
message: string | null;
|
|
15898
16113
|
checkedAt: string;
|
|
15899
16114
|
} | null;
|
|
@@ -15918,7 +16133,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15918
16133
|
masked: string | null;
|
|
15919
16134
|
}[];
|
|
15920
16135
|
lastVerification: {
|
|
15921
|
-
result: "
|
|
16136
|
+
result: "SUCCESS" | "FAILED";
|
|
15922
16137
|
message: string | null;
|
|
15923
16138
|
checkedAt: string;
|
|
15924
16139
|
} | null;
|
|
@@ -15942,7 +16157,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15942
16157
|
masked: string | null;
|
|
15943
16158
|
}[];
|
|
15944
16159
|
lastVerification: {
|
|
15945
|
-
result: "
|
|
16160
|
+
result: "SUCCESS" | "FAILED";
|
|
15946
16161
|
message: string | null;
|
|
15947
16162
|
checkedAt: string;
|
|
15948
16163
|
} | null;
|
|
@@ -15998,7 +16213,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15998
16213
|
masked: string | null;
|
|
15999
16214
|
}[];
|
|
16000
16215
|
lastVerification: {
|
|
16001
|
-
result: "
|
|
16216
|
+
result: "SUCCESS" | "FAILED";
|
|
16002
16217
|
message: string | null;
|
|
16003
16218
|
checkedAt: string;
|
|
16004
16219
|
} | null;
|
|
@@ -16023,7 +16238,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16023
16238
|
masked: string | null;
|
|
16024
16239
|
}[];
|
|
16025
16240
|
lastVerification: {
|
|
16026
|
-
result: "
|
|
16241
|
+
result: "SUCCESS" | "FAILED";
|
|
16027
16242
|
message: string | null;
|
|
16028
16243
|
checkedAt: string;
|
|
16029
16244
|
} | null;
|
|
@@ -16047,7 +16262,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16047
16262
|
masked: string | null;
|
|
16048
16263
|
}[];
|
|
16049
16264
|
lastVerification: {
|
|
16050
|
-
result: "
|
|
16265
|
+
result: "SUCCESS" | "FAILED";
|
|
16051
16266
|
message: string | null;
|
|
16052
16267
|
checkedAt: string;
|
|
16053
16268
|
} | null;
|
|
@@ -16075,12 +16290,34 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16075
16290
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
16076
16291
|
provider: "tosspayments" | "portone";
|
|
16077
16292
|
environment: "TEST" | "LIVE";
|
|
16078
|
-
result: "
|
|
16293
|
+
result: "SUCCESS" | "FAILED";
|
|
16079
16294
|
message: string | null;
|
|
16080
16295
|
checkedAt: string;
|
|
16081
16296
|
}>;
|
|
16082
16297
|
};
|
|
16083
16298
|
/** 설치 앱(#22, 매뉴얼 「앱 설치와 관리 › 관리 API」) — 설치·설정·제거·세션은 상점 플랫폼 OWNER·ADMIN만 */
|
|
16299
|
+
/** 에이전트 도구(#22 「에이전트 도구」) — 설치된 앱이 제공하는 도구 목록·실행. 실행은 OWNER·ADMIN */
|
|
16300
|
+
appTools: {
|
|
16301
|
+
list: () => Promise<{
|
|
16302
|
+
installationId: string;
|
|
16303
|
+
app: {
|
|
16304
|
+
appId: string;
|
|
16305
|
+
handle: string;
|
|
16306
|
+
name: string;
|
|
16307
|
+
};
|
|
16308
|
+
name: string;
|
|
16309
|
+
description: string;
|
|
16310
|
+
input: {
|
|
16311
|
+
name: string;
|
|
16312
|
+
type: "string" | "number" | "boolean";
|
|
16313
|
+
description: string | null;
|
|
16314
|
+
required: boolean;
|
|
16315
|
+
}[];
|
|
16316
|
+
}[]>;
|
|
16317
|
+
call: (installationId: string, name: string, input?: Record<string, unknown>) => Promise<{
|
|
16318
|
+
result: unknown;
|
|
16319
|
+
}>;
|
|
16320
|
+
};
|
|
16084
16321
|
apps: {
|
|
16085
16322
|
/** 이 상점에 설치할 수 있는 앱 — 앱 목록·상세(아이콘·README·Scope·Hook·설정 필드) */
|
|
16086
16323
|
catalog: {
|
|
@@ -16115,6 +16352,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16115
16352
|
name: string;
|
|
16116
16353
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16117
16354
|
}[];
|
|
16355
|
+
tools: {
|
|
16356
|
+
name: string;
|
|
16357
|
+
description: string;
|
|
16358
|
+
}[];
|
|
16359
|
+
externalHost: string | null;
|
|
16118
16360
|
settings: Record<string, {
|
|
16119
16361
|
type: "string" | "number" | "boolean" | "select";
|
|
16120
16362
|
label: string;
|
|
@@ -16164,6 +16406,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16164
16406
|
name: string;
|
|
16165
16407
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16166
16408
|
}[];
|
|
16409
|
+
tools: {
|
|
16410
|
+
name: string;
|
|
16411
|
+
description: string;
|
|
16412
|
+
}[];
|
|
16413
|
+
externalHost: string | null;
|
|
16414
|
+
flowNotifications: {
|
|
16415
|
+
name: string;
|
|
16416
|
+
label: string;
|
|
16417
|
+
params: {
|
|
16418
|
+
name: string;
|
|
16419
|
+
type: "string" | "number" | "boolean";
|
|
16420
|
+
label: string;
|
|
16421
|
+
required: boolean;
|
|
16422
|
+
}[];
|
|
16423
|
+
}[];
|
|
16424
|
+
flowEvents: {
|
|
16425
|
+
name: string;
|
|
16426
|
+
label: string;
|
|
16427
|
+
}[];
|
|
16167
16428
|
settings: {
|
|
16168
16429
|
fields: Record<string, {
|
|
16169
16430
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16198,6 +16459,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16198
16459
|
name: string;
|
|
16199
16460
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16200
16461
|
}[];
|
|
16462
|
+
tools: {
|
|
16463
|
+
name: string;
|
|
16464
|
+
description: string;
|
|
16465
|
+
}[];
|
|
16466
|
+
externalHost: string | null;
|
|
16201
16467
|
} | null | undefined;
|
|
16202
16468
|
}>;
|
|
16203
16469
|
list: () => Promise<{
|
|
@@ -16227,6 +16493,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16227
16493
|
name: string;
|
|
16228
16494
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16229
16495
|
}[];
|
|
16496
|
+
tools: {
|
|
16497
|
+
name: string;
|
|
16498
|
+
description: string;
|
|
16499
|
+
}[];
|
|
16500
|
+
externalHost: string | null;
|
|
16501
|
+
flowNotifications: {
|
|
16502
|
+
name: string;
|
|
16503
|
+
label: string;
|
|
16504
|
+
params: {
|
|
16505
|
+
name: string;
|
|
16506
|
+
type: "string" | "number" | "boolean";
|
|
16507
|
+
label: string;
|
|
16508
|
+
required: boolean;
|
|
16509
|
+
}[];
|
|
16510
|
+
}[];
|
|
16511
|
+
flowEvents: {
|
|
16512
|
+
name: string;
|
|
16513
|
+
label: string;
|
|
16514
|
+
}[];
|
|
16230
16515
|
settings: {
|
|
16231
16516
|
fields: Record<string, {
|
|
16232
16517
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16261,6 +16546,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16261
16546
|
name: string;
|
|
16262
16547
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16263
16548
|
}[];
|
|
16549
|
+
tools: {
|
|
16550
|
+
name: string;
|
|
16551
|
+
description: string;
|
|
16552
|
+
}[];
|
|
16553
|
+
externalHost: string | null;
|
|
16264
16554
|
} | null | undefined;
|
|
16265
16555
|
}[]>;
|
|
16266
16556
|
get: (installationId: string) => Promise<{
|
|
@@ -16290,6 +16580,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16290
16580
|
name: string;
|
|
16291
16581
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16292
16582
|
}[];
|
|
16583
|
+
tools: {
|
|
16584
|
+
name: string;
|
|
16585
|
+
description: string;
|
|
16586
|
+
}[];
|
|
16587
|
+
externalHost: string | null;
|
|
16588
|
+
flowNotifications: {
|
|
16589
|
+
name: string;
|
|
16590
|
+
label: string;
|
|
16591
|
+
params: {
|
|
16592
|
+
name: string;
|
|
16593
|
+
type: "string" | "number" | "boolean";
|
|
16594
|
+
label: string;
|
|
16595
|
+
required: boolean;
|
|
16596
|
+
}[];
|
|
16597
|
+
}[];
|
|
16598
|
+
flowEvents: {
|
|
16599
|
+
name: string;
|
|
16600
|
+
label: string;
|
|
16601
|
+
}[];
|
|
16293
16602
|
settings: {
|
|
16294
16603
|
fields: Record<string, {
|
|
16295
16604
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16324,6 +16633,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16324
16633
|
name: string;
|
|
16325
16634
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16326
16635
|
}[];
|
|
16636
|
+
tools: {
|
|
16637
|
+
name: string;
|
|
16638
|
+
description: string;
|
|
16639
|
+
}[];
|
|
16640
|
+
externalHost: string | null;
|
|
16327
16641
|
} | null | undefined;
|
|
16328
16642
|
}>;
|
|
16329
16643
|
/** 비밀 필드를 생략하면 현재 값을 유지한다. null은 비운다 */
|
|
@@ -16354,6 +16668,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16354
16668
|
name: string;
|
|
16355
16669
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16356
16670
|
}[];
|
|
16671
|
+
tools: {
|
|
16672
|
+
name: string;
|
|
16673
|
+
description: string;
|
|
16674
|
+
}[];
|
|
16675
|
+
externalHost: string | null;
|
|
16676
|
+
flowNotifications: {
|
|
16677
|
+
name: string;
|
|
16678
|
+
label: string;
|
|
16679
|
+
params: {
|
|
16680
|
+
name: string;
|
|
16681
|
+
type: "string" | "number" | "boolean";
|
|
16682
|
+
label: string;
|
|
16683
|
+
required: boolean;
|
|
16684
|
+
}[];
|
|
16685
|
+
}[];
|
|
16686
|
+
flowEvents: {
|
|
16687
|
+
name: string;
|
|
16688
|
+
label: string;
|
|
16689
|
+
}[];
|
|
16357
16690
|
settings: {
|
|
16358
16691
|
fields: Record<string, {
|
|
16359
16692
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16388,6 +16721,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16388
16721
|
name: string;
|
|
16389
16722
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16390
16723
|
}[];
|
|
16724
|
+
tools: {
|
|
16725
|
+
name: string;
|
|
16726
|
+
description: string;
|
|
16727
|
+
}[];
|
|
16728
|
+
externalHost: string | null;
|
|
16391
16729
|
} | null | undefined;
|
|
16392
16730
|
}>;
|
|
16393
16731
|
remove: (installationId: string) => Promise<void>;
|
|
@@ -16396,7 +16734,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16396
16734
|
runs: {
|
|
16397
16735
|
deliveryId: string;
|
|
16398
16736
|
eventType: string;
|
|
16399
|
-
status: "
|
|
16737
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
16400
16738
|
errorCode: "TIMEOUT" | "CONNECTION_FAILED" | "BLOCKED_ADDRESS" | "NON_2XX" | "WEBHOOK_SUSPENDED" | "APP_ERROR" | "APP_LIMIT_EXCEEDED" | "APP_REJECTED" | "APP_UNCONFIGURED" | "APP_INACTIVE" | "APP_RUNNER_UNAVAILABLE" | null;
|
|
16401
16739
|
attemptCount: number;
|
|
16402
16740
|
createdAt: string;
|
|
@@ -16433,6 +16771,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16433
16771
|
name: string;
|
|
16434
16772
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16435
16773
|
}[];
|
|
16774
|
+
tools: {
|
|
16775
|
+
name: string;
|
|
16776
|
+
description: string;
|
|
16777
|
+
}[];
|
|
16778
|
+
externalHost: string | null;
|
|
16779
|
+
flowNotifications: {
|
|
16780
|
+
name: string;
|
|
16781
|
+
label: string;
|
|
16782
|
+
params: {
|
|
16783
|
+
name: string;
|
|
16784
|
+
type: "string" | "number" | "boolean";
|
|
16785
|
+
label: string;
|
|
16786
|
+
required: boolean;
|
|
16787
|
+
}[];
|
|
16788
|
+
}[];
|
|
16789
|
+
flowEvents: {
|
|
16790
|
+
name: string;
|
|
16791
|
+
label: string;
|
|
16792
|
+
}[];
|
|
16436
16793
|
settings: {
|
|
16437
16794
|
fields: Record<string, {
|
|
16438
16795
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16467,6 +16824,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16467
16824
|
name: string;
|
|
16468
16825
|
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16469
16826
|
}[];
|
|
16827
|
+
tools: {
|
|
16828
|
+
name: string;
|
|
16829
|
+
description: string;
|
|
16830
|
+
}[];
|
|
16831
|
+
externalHost: string | null;
|
|
16470
16832
|
} | null | undefined;
|
|
16471
16833
|
}>;
|
|
16472
16834
|
/** 앱 화면 iframe에 넘길 세션 토큰(5분) */
|
|
@@ -16569,7 +16931,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16569
16931
|
eventId: string;
|
|
16570
16932
|
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";
|
|
16571
16933
|
url: string;
|
|
16572
|
-
status: "
|
|
16934
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
16573
16935
|
responseStatusCode: number | null;
|
|
16574
16936
|
responseTimeMs: number | null;
|
|
16575
16937
|
responseBodyExcerpt: string | null;
|
|
@@ -16596,7 +16958,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16596
16958
|
eventId: string;
|
|
16597
16959
|
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";
|
|
16598
16960
|
url: string;
|
|
16599
|
-
status: "
|
|
16961
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
16600
16962
|
responseStatusCode: number | null;
|
|
16601
16963
|
responseTimeMs: number | null;
|
|
16602
16964
|
responseBodyExcerpt: string | null;
|
|
@@ -16631,7 +16993,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16631
16993
|
eventId: string;
|
|
16632
16994
|
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";
|
|
16633
16995
|
url: string;
|
|
16634
|
-
status: "
|
|
16996
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
16635
16997
|
responseStatusCode: number | null;
|
|
16636
16998
|
responseTimeMs: number | null;
|
|
16637
16999
|
responseBodyExcerpt: string | null;
|
|
@@ -16727,7 +17089,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16727
17089
|
method: string | null;
|
|
16728
17090
|
path: string | null;
|
|
16729
17091
|
statusCode: number | null;
|
|
16730
|
-
outcome: "
|
|
17092
|
+
outcome: "FAILED" | "SUCCEEDED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
16731
17093
|
errorCode: string | null;
|
|
16732
17094
|
traceId: string | null;
|
|
16733
17095
|
idempotencyKey: string | null;
|
|
@@ -16745,7 +17107,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16745
17107
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
16746
17108
|
items: {
|
|
16747
17109
|
approvalId: string;
|
|
16748
|
-
status: "
|
|
17110
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16749
17111
|
operationId: string;
|
|
16750
17112
|
method: string;
|
|
16751
17113
|
path: string;
|
|
@@ -16797,7 +17159,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16797
17159
|
}>;
|
|
16798
17160
|
get: (approvalId: string) => Promise<{
|
|
16799
17161
|
approvalId: string;
|
|
16800
|
-
status: "
|
|
17162
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16801
17163
|
operationId: string;
|
|
16802
17164
|
method: string;
|
|
16803
17165
|
path: string;
|
|
@@ -16851,7 +17213,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16851
17213
|
*/
|
|
16852
17214
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16853
17215
|
approvalId: string;
|
|
16854
|
-
status: "
|
|
17216
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16855
17217
|
operationId: string;
|
|
16856
17218
|
method: string;
|
|
16857
17219
|
path: string;
|
|
@@ -16901,7 +17263,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16901
17263
|
}>;
|
|
16902
17264
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16903
17265
|
approvalId: string;
|
|
16904
|
-
status: "
|
|
17266
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
16905
17267
|
operationId: string;
|
|
16906
17268
|
method: string;
|
|
16907
17269
|
path: string;
|
|
@@ -17124,7 +17486,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17124
17486
|
createdVia?: string | null | undefined;
|
|
17125
17487
|
} | null;
|
|
17126
17488
|
provisioning: {
|
|
17127
|
-
status: "
|
|
17489
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17128
17490
|
lastErrorCode: string | null;
|
|
17129
17491
|
syncedAt: string | null;
|
|
17130
17492
|
};
|
|
@@ -17187,7 +17549,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17187
17549
|
createdVia?: string | null | undefined;
|
|
17188
17550
|
} | null;
|
|
17189
17551
|
provisioning: {
|
|
17190
|
-
status: "
|
|
17552
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17191
17553
|
lastErrorCode: string | null;
|
|
17192
17554
|
syncedAt: string | null;
|
|
17193
17555
|
};
|
|
@@ -17210,13 +17572,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17210
17572
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
17211
17573
|
getDeployment: () => Promise<{
|
|
17212
17574
|
siteId: string;
|
|
17213
|
-
status: "
|
|
17575
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
17214
17576
|
url: string;
|
|
17215
17577
|
startedAt: string;
|
|
17216
17578
|
finishedAt: string | null;
|
|
17217
17579
|
steps: {
|
|
17218
17580
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
17219
|
-
status: "
|
|
17581
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
17220
17582
|
finishedAt: string | null;
|
|
17221
17583
|
}[];
|
|
17222
17584
|
log: {
|
|
@@ -17232,13 +17594,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17232
17594
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
17233
17595
|
retryDeployment: () => Promise<{
|
|
17234
17596
|
siteId: string;
|
|
17235
|
-
status: "
|
|
17597
|
+
status: "FAILED" | "SUCCEEDED" | "IN_PROGRESS";
|
|
17236
17598
|
url: string;
|
|
17237
17599
|
startedAt: string;
|
|
17238
17600
|
finishedAt: string | null;
|
|
17239
17601
|
steps: {
|
|
17240
17602
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
17241
|
-
status: "
|
|
17603
|
+
status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
|
|
17242
17604
|
finishedAt: string | null;
|
|
17243
17605
|
}[];
|
|
17244
17606
|
log: {
|
|
@@ -17288,7 +17650,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17288
17650
|
createdVia?: string | null | undefined;
|
|
17289
17651
|
} | null;
|
|
17290
17652
|
provisioning: {
|
|
17291
|
-
status: "
|
|
17653
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17292
17654
|
lastErrorCode: string | null;
|
|
17293
17655
|
syncedAt: string | null;
|
|
17294
17656
|
};
|
|
@@ -17357,7 +17719,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17357
17719
|
createdVia?: string | null | undefined;
|
|
17358
17720
|
} | null;
|
|
17359
17721
|
provisioning: {
|
|
17360
|
-
status: "
|
|
17722
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17361
17723
|
lastErrorCode: string | null;
|
|
17362
17724
|
syncedAt: string | null;
|
|
17363
17725
|
};
|
|
@@ -17410,7 +17772,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17410
17772
|
createdVia?: string | null | undefined;
|
|
17411
17773
|
} | null;
|
|
17412
17774
|
provisioning: {
|
|
17413
|
-
status: "
|
|
17775
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17414
17776
|
lastErrorCode: string | null;
|
|
17415
17777
|
syncedAt: string | null;
|
|
17416
17778
|
};
|
|
@@ -17463,7 +17825,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17463
17825
|
createdVia?: string | null | undefined;
|
|
17464
17826
|
} | null;
|
|
17465
17827
|
provisioning: {
|
|
17466
|
-
status: "
|
|
17828
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17467
17829
|
lastErrorCode: string | null;
|
|
17468
17830
|
syncedAt: string | null;
|
|
17469
17831
|
};
|
|
@@ -17516,7 +17878,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17516
17878
|
createdVia?: string | null | undefined;
|
|
17517
17879
|
} | null;
|
|
17518
17880
|
provisioning: {
|
|
17519
|
-
status: "
|
|
17881
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17520
17882
|
lastErrorCode: string | null;
|
|
17521
17883
|
syncedAt: string | null;
|
|
17522
17884
|
};
|
|
@@ -17553,7 +17915,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17553
17915
|
domainId: string;
|
|
17554
17916
|
hostname: string;
|
|
17555
17917
|
kind: "PLATFORM" | "CUSTOM";
|
|
17556
|
-
status: "
|
|
17918
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17557
17919
|
isPrimary: boolean;
|
|
17558
17920
|
dnsRecords: {
|
|
17559
17921
|
type: "CNAME" | "TXT";
|
|
@@ -17561,7 +17923,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17561
17923
|
value: string;
|
|
17562
17924
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17563
17925
|
}[];
|
|
17564
|
-
certificateStatus: "
|
|
17926
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
17565
17927
|
failureCode: string | null;
|
|
17566
17928
|
verifiedAt: string | null;
|
|
17567
17929
|
activatedAt: string | null;
|
|
@@ -17577,7 +17939,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17577
17939
|
domainId: string;
|
|
17578
17940
|
hostname: string;
|
|
17579
17941
|
kind: "PLATFORM" | "CUSTOM";
|
|
17580
|
-
status: "
|
|
17942
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17581
17943
|
isPrimary: boolean;
|
|
17582
17944
|
dnsRecords: {
|
|
17583
17945
|
type: "CNAME" | "TXT";
|
|
@@ -17585,7 +17947,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17585
17947
|
value: string;
|
|
17586
17948
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17587
17949
|
}[];
|
|
17588
|
-
certificateStatus: "
|
|
17950
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
17589
17951
|
failureCode: string | null;
|
|
17590
17952
|
verifiedAt: string | null;
|
|
17591
17953
|
activatedAt: string | null;
|
|
@@ -17597,7 +17959,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17597
17959
|
domainId: string;
|
|
17598
17960
|
hostname: string;
|
|
17599
17961
|
kind: "PLATFORM" | "CUSTOM";
|
|
17600
|
-
status: "
|
|
17962
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17601
17963
|
isPrimary: boolean;
|
|
17602
17964
|
dnsRecords: {
|
|
17603
17965
|
type: "CNAME" | "TXT";
|
|
@@ -17605,7 +17967,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17605
17967
|
value: string;
|
|
17606
17968
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17607
17969
|
}[];
|
|
17608
|
-
certificateStatus: "
|
|
17970
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
17609
17971
|
failureCode: string | null;
|
|
17610
17972
|
verifiedAt: string | null;
|
|
17611
17973
|
activatedAt: string | null;
|
|
@@ -17621,7 +17983,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17621
17983
|
domainId: string;
|
|
17622
17984
|
hostname: string;
|
|
17623
17985
|
kind: "PLATFORM" | "CUSTOM";
|
|
17624
|
-
status: "
|
|
17986
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17625
17987
|
isPrimary: boolean;
|
|
17626
17988
|
dnsRecords: {
|
|
17627
17989
|
type: "CNAME" | "TXT";
|
|
@@ -17629,7 +17991,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17629
17991
|
value: string;
|
|
17630
17992
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17631
17993
|
}[];
|
|
17632
|
-
certificateStatus: "
|
|
17994
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
17633
17995
|
failureCode: string | null;
|
|
17634
17996
|
verifiedAt: string | null;
|
|
17635
17997
|
activatedAt: string | null;
|
|
@@ -17672,7 +18034,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17672
18034
|
createdVia?: string | null | undefined;
|
|
17673
18035
|
} | null;
|
|
17674
18036
|
provisioning: {
|
|
17675
|
-
status: "
|
|
18037
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
17676
18038
|
lastErrorCode: string | null;
|
|
17677
18039
|
syncedAt: string | null;
|
|
17678
18040
|
};
|
|
@@ -17837,7 +18199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17837
18199
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
17838
18200
|
checkId: string;
|
|
17839
18201
|
check: string;
|
|
17840
|
-
status: "
|
|
18202
|
+
status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17841
18203
|
exitCode: number | null;
|
|
17842
18204
|
durationMs: number | null;
|
|
17843
18205
|
outputTail: string | null;
|
|
@@ -17851,7 +18213,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17851
18213
|
getCheck: (checkId: string) => Promise<{
|
|
17852
18214
|
checkId: string;
|
|
17853
18215
|
check: string;
|
|
17854
|
-
status: "
|
|
18216
|
+
status: "FAILED" | "UNKNOWN" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17855
18217
|
exitCode: number | null;
|
|
17856
18218
|
durationMs: number | null;
|
|
17857
18219
|
outputTail: string | null;
|
|
@@ -17918,7 +18280,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17918
18280
|
buildId: string;
|
|
17919
18281
|
versionId: string;
|
|
17920
18282
|
versionNumber: number;
|
|
17921
|
-
status: "
|
|
18283
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17922
18284
|
failureStage: string | null;
|
|
17923
18285
|
errorCode: string | null;
|
|
17924
18286
|
logTail: string | null;
|
|
@@ -17999,7 +18361,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17999
18361
|
buildId: string;
|
|
18000
18362
|
versionId: string;
|
|
18001
18363
|
versionNumber: number;
|
|
18002
|
-
status: "
|
|
18364
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
18003
18365
|
failureStage: string | null;
|
|
18004
18366
|
errorCode: string | null;
|
|
18005
18367
|
logTail: string | null;
|
|
@@ -18077,7 +18439,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18077
18439
|
buildId: string;
|
|
18078
18440
|
versionId: string;
|
|
18079
18441
|
versionNumber: number;
|
|
18080
|
-
status: "
|
|
18442
|
+
status: "FAILED" | "SUCCEEDED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
18081
18443
|
failureStage: string | null;
|
|
18082
18444
|
errorCode: string | null;
|
|
18083
18445
|
logTail: string | null;
|
|
@@ -19400,10 +19762,10 @@ export declare const storeIndustrySchema: z.ZodEnum<{
|
|
|
19400
19762
|
export type StoreIndustry = z.infer<typeof storeIndustrySchema>;
|
|
19401
19763
|
/** 상품 자료 — 인터뷰의 「상품 자료」 답. 상품 등록 단계의 방법을 고른다 */
|
|
19402
19764
|
export declare const brandBriefProductSourceSchema: z.ZodEnum<{
|
|
19765
|
+
NONE: "NONE";
|
|
19403
19766
|
SPREADSHEET: "SPREADSHEET";
|
|
19404
19767
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19405
19768
|
PHOTOS: "PHOTOS";
|
|
19406
|
-
NONE: "NONE";
|
|
19407
19769
|
}>;
|
|
19408
19770
|
export type BrandBriefProductSource = z.infer<typeof brandBriefProductSourceSchema>;
|
|
19409
19771
|
export declare const BRAND_BRIEF_MAX_REFERENCES = 5;
|
|
@@ -19428,10 +19790,10 @@ export declare const brandBriefSchema: z.ZodObject<{
|
|
|
19428
19790
|
summary: z.ZodString;
|
|
19429
19791
|
}, z.core.$strip>>;
|
|
19430
19792
|
productSource: z.ZodNullable<z.ZodEnum<{
|
|
19793
|
+
NONE: "NONE";
|
|
19431
19794
|
SPREADSHEET: "SPREADSHEET";
|
|
19432
19795
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19433
19796
|
PHOTOS: "PHOTOS";
|
|
19434
|
-
NONE: "NONE";
|
|
19435
19797
|
}>>;
|
|
19436
19798
|
notes: z.ZodNullable<z.ZodString>;
|
|
19437
19799
|
}, z.core.$strip>;
|
|
@@ -19451,10 +19813,10 @@ export declare const putBrandBriefRequestSchema: z.ZodObject<{
|
|
|
19451
19813
|
summary: z.ZodString;
|
|
19452
19814
|
}, z.core.$strip>>>;
|
|
19453
19815
|
productSource: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
19816
|
+
NONE: "NONE";
|
|
19454
19817
|
SPREADSHEET: "SPREADSHEET";
|
|
19455
19818
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19456
19819
|
PHOTOS: "PHOTOS";
|
|
19457
|
-
NONE: "NONE";
|
|
19458
19820
|
}>>>;
|
|
19459
19821
|
notes: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19460
19822
|
}, z.core.$strip>;
|
|
@@ -19475,10 +19837,10 @@ export declare const brandBriefViewSchema: z.ZodObject<{
|
|
|
19475
19837
|
summary: z.ZodString;
|
|
19476
19838
|
}, z.core.$strip>>;
|
|
19477
19839
|
productSource: z.ZodNullable<z.ZodEnum<{
|
|
19840
|
+
NONE: "NONE";
|
|
19478
19841
|
SPREADSHEET: "SPREADSHEET";
|
|
19479
19842
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19480
19843
|
PHOTOS: "PHOTOS";
|
|
19481
|
-
NONE: "NONE";
|
|
19482
19844
|
}>>;
|
|
19483
19845
|
notes: z.ZodNullable<z.ZodString>;
|
|
19484
19846
|
}, z.core.$strip>>;
|