@sayren/store-sdk 0.30.11 → 0.30.12
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 +457 -196
- package/dist/index.mjs +144 -5
- package/package.json +1 -1
- package/src/client.ts +16 -0
- package/src/schemas/app-manifest.ts +101 -1
- package/src/schemas/apps.ts +91 -0
package/dist/index.d.mts
CHANGED
|
@@ -33,8 +33,8 @@ export declare const auditLogSourceSchema: z.ZodEnum<{
|
|
|
33
33
|
}>;
|
|
34
34
|
export type AuditLogSource = z.infer<typeof auditLogSourceSchema>;
|
|
35
35
|
export declare const auditLogOutcomeSchema: z.ZodEnum<{
|
|
36
|
-
FAILED: "FAILED";
|
|
37
36
|
SUCCEEDED: "SUCCEEDED";
|
|
37
|
+
FAILED: "FAILED";
|
|
38
38
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
39
39
|
DENIED: "DENIED";
|
|
40
40
|
DRY_RUN: "DRY_RUN";
|
|
@@ -69,8 +69,8 @@ export declare const auditLogSchema: z.ZodObject<{
|
|
|
69
69
|
path: z.ZodNullable<z.ZodString>;
|
|
70
70
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
71
71
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
72
|
-
FAILED: "FAILED";
|
|
73
72
|
SUCCEEDED: "SUCCEEDED";
|
|
73
|
+
FAILED: "FAILED";
|
|
74
74
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
75
75
|
DENIED: "DENIED";
|
|
76
76
|
DRY_RUN: "DRY_RUN";
|
|
@@ -102,8 +102,8 @@ export declare const auditLogListQuerySchema: z.ZodObject<{
|
|
|
102
102
|
DOMAIN: "DOMAIN";
|
|
103
103
|
}>>;
|
|
104
104
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
FAILED: "FAILED";
|
|
106
105
|
SUCCEEDED: "SUCCEEDED";
|
|
106
|
+
FAILED: "FAILED";
|
|
107
107
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
108
108
|
DENIED: "DENIED";
|
|
109
109
|
DRY_RUN: "DRY_RUN";
|
|
@@ -149,8 +149,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
149
149
|
path: z.ZodNullable<z.ZodString>;
|
|
150
150
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
151
151
|
outcome: z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
FAILED: "FAILED";
|
|
153
152
|
SUCCEEDED: "SUCCEEDED";
|
|
153
|
+
FAILED: "FAILED";
|
|
154
154
|
PENDING_APPROVAL: "PENDING_APPROVAL";
|
|
155
155
|
DENIED: "DENIED";
|
|
156
156
|
DRY_RUN: "DRY_RUN";
|
|
@@ -166,8 +166,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
168
|
DENIED: "DENIED";
|
|
169
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
170
169
|
ALLOW: "ALLOW";
|
|
170
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
173
173
|
export declare const writePreviewSchema: z.ZodObject<{
|
|
@@ -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
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
195
|
ALLOW: "ALLOW";
|
|
196
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
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
|
-
|
|
219
|
-
FAILED: "FAILED";
|
|
218
|
+
UNKNOWN: "UNKNOWN";
|
|
220
219
|
SUCCEEDED: "SUCCEEDED";
|
|
220
|
+
FAILED: "FAILED";
|
|
221
|
+
PENDING: "PENDING";
|
|
221
222
|
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
|
-
|
|
231
|
-
FAILED: "FAILED";
|
|
230
|
+
UNKNOWN: "UNKNOWN";
|
|
232
231
|
SUCCEEDED: "SUCCEEDED";
|
|
232
|
+
FAILED: "FAILED";
|
|
233
|
+
PENDING: "PENDING";
|
|
233
234
|
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
|
-
|
|
295
|
-
FAILED: "FAILED";
|
|
294
|
+
UNKNOWN: "UNKNOWN";
|
|
296
295
|
SUCCEEDED: "SUCCEEDED";
|
|
296
|
+
FAILED: "FAILED";
|
|
297
|
+
PENDING: "PENDING";
|
|
297
298
|
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
|
-
|
|
314
|
-
FAILED: "FAILED";
|
|
313
|
+
UNKNOWN: "UNKNOWN";
|
|
315
314
|
SUCCEEDED: "SUCCEEDED";
|
|
315
|
+
FAILED: "FAILED";
|
|
316
|
+
PENDING: "PENDING";
|
|
316
317
|
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";
|
|
458
457
|
SESSION: "SESSION";
|
|
459
458
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
460
459
|
ADD_TO_CART: "ADD_TO_CART";
|
|
461
460
|
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";
|
|
487
486
|
SESSION: "SESSION";
|
|
488
487
|
PRODUCT_VIEW: "PRODUCT_VIEW";
|
|
489
488
|
ADD_TO_CART: "ADD_TO_CART";
|
|
490
489
|
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";
|
|
591
590
|
DIRECT: "DIRECT";
|
|
592
|
-
CAMPAIGN: "CAMPAIGN";
|
|
593
|
-
UNKNOWN: "UNKNOWN";
|
|
594
591
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
595
592
|
SOCIAL: "SOCIAL";
|
|
593
|
+
PAID: "PAID";
|
|
596
594
|
EMAIL: "EMAIL";
|
|
595
|
+
CAMPAIGN: "CAMPAIGN";
|
|
597
596
|
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";
|
|
601
602
|
CHANNEL: "CHANNEL";
|
|
602
603
|
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";
|
|
615
616
|
CHANNEL: "CHANNEL";
|
|
616
617
|
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";
|
|
625
624
|
DIRECT: "DIRECT";
|
|
626
|
-
CAMPAIGN: "CAMPAIGN";
|
|
627
|
-
UNKNOWN: "UNKNOWN";
|
|
628
625
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
629
626
|
SOCIAL: "SOCIAL";
|
|
627
|
+
PAID: "PAID";
|
|
630
628
|
EMAIL: "EMAIL";
|
|
629
|
+
CAMPAIGN: "CAMPAIGN";
|
|
631
630
|
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";
|
|
653
654
|
CHANNEL: "CHANNEL";
|
|
654
655
|
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";
|
|
661
660
|
DIRECT: "DIRECT";
|
|
662
|
-
CAMPAIGN: "CAMPAIGN";
|
|
663
|
-
UNKNOWN: "UNKNOWN";
|
|
664
661
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
665
662
|
SOCIAL: "SOCIAL";
|
|
663
|
+
PAID: "PAID";
|
|
666
664
|
EMAIL: "EMAIL";
|
|
665
|
+
CAMPAIGN: "CAMPAIGN";
|
|
667
666
|
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";
|
|
817
816
|
COMPLETED: "COMPLETED";
|
|
818
817
|
NOT_OPENED: "NOT_OPENED";
|
|
819
818
|
USER_CANCELED: "USER_CANCELED";
|
|
820
819
|
DECLINED: "DECLINED";
|
|
821
820
|
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";
|
|
830
829
|
COMPLETED: "COMPLETED";
|
|
831
830
|
NOT_OPENED: "NOT_OPENED";
|
|
832
831
|
USER_CANCELED: "USER_CANCELED";
|
|
833
832
|
DECLINED: "DECLINED";
|
|
834
833
|
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
|
-
CARRIER: "CARRIER";
|
|
1028
1027
|
DIRECT: "DIRECT";
|
|
1028
|
+
CARRIER: "CARRIER";
|
|
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
|
-
FREE: "FREE";
|
|
1073
1072
|
PAID: "PAID";
|
|
1073
|
+
FREE: "FREE";
|
|
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
|
-
FREE: "FREE";
|
|
1085
1084
|
PAID: "PAID";
|
|
1085
|
+
FREE: "FREE";
|
|
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
|
-
CARRIER: "CARRIER";
|
|
1095
1094
|
DIRECT: "DIRECT";
|
|
1095
|
+
CARRIER: "CARRIER";
|
|
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
|
-
CARRIER: "CARRIER";
|
|
1103
1102
|
DIRECT: "DIRECT";
|
|
1103
|
+
CARRIER: "CARRIER";
|
|
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
|
-
FREE: "FREE";
|
|
1120
1119
|
PAID: "PAID";
|
|
1120
|
+
FREE: "FREE";
|
|
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
|
-
CARRIER: "CARRIER";
|
|
1130
1129
|
DIRECT: "DIRECT";
|
|
1130
|
+
CARRIER: "CARRIER";
|
|
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
|
-
CARRIER: "CARRIER";
|
|
1138
1137
|
DIRECT: "DIRECT";
|
|
1138
|
+
CARRIER: "CARRIER";
|
|
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
|
-
FREE: "FREE";
|
|
1153
1152
|
PAID: "PAID";
|
|
1153
|
+
FREE: "FREE";
|
|
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
|
-
FREE: "FREE";
|
|
1194
1193
|
PAID: "PAID";
|
|
1194
|
+
FREE: "FREE";
|
|
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
|
-
REJECTED: "REJECTED";
|
|
1480
1479
|
COMPLETED: "COMPLETED";
|
|
1480
|
+
REJECTED: "REJECTED";
|
|
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
|
-
REJECTED: "REJECTED";
|
|
1711
1710
|
COMPLETED: "COMPLETED";
|
|
1711
|
+
REJECTED: "REJECTED";
|
|
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
|
-
REJECTED: "REJECTED";
|
|
2022
2021
|
COMPLETED: "COMPLETED";
|
|
2022
|
+
REJECTED: "REJECTED";
|
|
2023
2023
|
REQUESTED: "REQUESTED";
|
|
2024
2024
|
HELD: "HELD";
|
|
2025
2025
|
COLLECTING: "COLLECTING";
|
|
@@ -2272,6 +2272,23 @@ export declare const APP_SECRET_NAME_PATTERN: RegExp;
|
|
|
2272
2272
|
export declare const APP_SECRETS_MAX = 20;
|
|
2273
2273
|
export declare const APP_EVENTS_MAX = 50;
|
|
2274
2274
|
export declare const APP_NETWORK_HOSTS_MAX = 20;
|
|
2275
|
+
export declare const APP_PUBLIC_HTTP_MAX = 20;
|
|
2276
|
+
export declare const APP_SCHEDULES_MAX = 10;
|
|
2277
|
+
/** HTTP 핸들러 키 — `"<메서드> <경로>"`(`@sayren/app` `defineApp({ http })`와 같은 형식) */
|
|
2278
|
+
export declare const APP_HTTP_KEY_PATTERN: RegExp;
|
|
2279
|
+
/** 예약 작업 이름 — 설정 키와 같은 형식 */
|
|
2280
|
+
export declare const APP_SCHEDULE_NAME_PATTERN: RegExp;
|
|
2281
|
+
/** 예약 작업 간격 → 분 */
|
|
2282
|
+
export declare const APP_SCHEDULE_INTERVALS: {
|
|
2283
|
+
readonly "15m": 15;
|
|
2284
|
+
readonly "30m": 30;
|
|
2285
|
+
readonly "1h": 60;
|
|
2286
|
+
readonly "3h": 180;
|
|
2287
|
+
readonly "6h": 360;
|
|
2288
|
+
readonly "12h": 720;
|
|
2289
|
+
readonly "1d": 1440;
|
|
2290
|
+
};
|
|
2291
|
+
export type AppScheduleInterval = keyof typeof APP_SCHEDULE_INTERVALS;
|
|
2275
2292
|
/** 앱 목록에 보이는 아이콘·README(#22 앱 목록 시안) — 앱 폴더의 파일을 `sayren app deploy`가 버전과 함께 올린다 */
|
|
2276
2293
|
export declare const APP_ICON_MAX_BYTES: number;
|
|
2277
2294
|
export declare const APP_ICON_MIN_PX = 512;
|
|
@@ -2323,6 +2340,20 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
2323
2340
|
entry: z.ZodString;
|
|
2324
2341
|
}, z.core.$strict>;
|
|
2325
2342
|
}, z.core.$strict>>;
|
|
2343
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
2344
|
+
public: z.ZodArray<z.ZodString>;
|
|
2345
|
+
}, z.core.$strict>>;
|
|
2346
|
+
schedules: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2347
|
+
every: z.ZodEnum<{
|
|
2348
|
+
"15m": "15m";
|
|
2349
|
+
"30m": "30m";
|
|
2350
|
+
"1h": "1h";
|
|
2351
|
+
"3h": "3h";
|
|
2352
|
+
"6h": "6h";
|
|
2353
|
+
"12h": "12h";
|
|
2354
|
+
"1d": "1d";
|
|
2355
|
+
}>;
|
|
2356
|
+
}, z.core.$strict>>>;
|
|
2326
2357
|
settings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2327
2358
|
type: z.ZodEnum<{
|
|
2328
2359
|
string: "string";
|
|
@@ -2365,6 +2396,10 @@ export interface AppCapabilities {
|
|
|
2365
2396
|
events: AppEventType[];
|
|
2366
2397
|
networkHosts: string[];
|
|
2367
2398
|
adminPage: boolean;
|
|
2399
|
+
/** 공개 HTTP 핸들러 키(`"GET /track/:id"`). 옛 버전 행에는 없다 — 읽을 때 `?? []` */
|
|
2400
|
+
publicHttp?: string[];
|
|
2401
|
+
/** 예약 작업 이름 → 간격. 옛 버전 행에는 없다 — 읽을 때 `?? {}` */
|
|
2402
|
+
schedules?: Record<string, AppScheduleInterval>;
|
|
2368
2403
|
/** 필수 설정 키 — 하나라도 비어 있으면 이벤트 함수를 부르지 않는다 */
|
|
2369
2404
|
requiredSettings: string[];
|
|
2370
2405
|
secretSettings: string[];
|
|
@@ -2375,7 +2410,7 @@ export declare function appCapabilitiesOf(manifest: AppManifest): AppCapabilitie
|
|
|
2375
2410
|
* 동의 문단은 accounts 설치 화면·상점 플랫폼 앱 상세·유저 문서가 같은 문장을 쓴다.
|
|
2376
2411
|
*/
|
|
2377
2412
|
export interface AppCapabilityDefinition {
|
|
2378
|
-
key: "scopes" | "network" | "events" | "ui";
|
|
2413
|
+
key: "scopes" | "network" | "events" | "ui" | "publicHttp" | "schedules";
|
|
2379
2414
|
/** 동의 화면의 문단 제목 */
|
|
2380
2415
|
title: string;
|
|
2381
2416
|
/** 동의 화면에 보일 줄 — 없으면 문단을 그리지 않는다 */
|
|
@@ -2384,6 +2419,15 @@ export interface AppCapabilityDefinition {
|
|
|
2384
2419
|
widens(previous: AppCapabilities, next: AppCapabilities): boolean;
|
|
2385
2420
|
}
|
|
2386
2421
|
export declare const APP_CAPABILITIES: readonly AppCapabilityDefinition[];
|
|
2422
|
+
/** 요청(메서드·경로)이 HTTP 핸들러 키에 맞는가 — `:이름`은 경로 한 마디에 맞는다(`@sayren/app`의 핸들러 고르기와 같은 규칙) */
|
|
2423
|
+
export declare function appHttpKeyMatches(key: string, method: string, path: string): boolean;
|
|
2424
|
+
/** 응답용 예약 작업 목록(이름순) — 옛 버전 행(`schedules` 없음)은 빈 목록 */
|
|
2425
|
+
export declare function appScheduleListOf(capabilities: Pick<AppCapabilities, "schedules">): Array<{
|
|
2426
|
+
name: string;
|
|
2427
|
+
every: AppScheduleInterval;
|
|
2428
|
+
}>;
|
|
2429
|
+
/** 예약 간격의 표시 이름 — 동의 화면·상점 플랫폼이 같이 쓴다 */
|
|
2430
|
+
export declare function appScheduleIntervalLabel(every: AppScheduleInterval): string;
|
|
2387
2431
|
/** 재동의가 필요한 capability 키 — 비어 있으면 release가 모든 설치에 곧바로 반영된다 */
|
|
2388
2432
|
export declare function appManifestWidens(previous: AppCapabilities, next: AppCapabilities): AppCapabilityDefinition["key"][];
|
|
2389
2433
|
//#endregion
|
|
@@ -2418,6 +2462,13 @@ export declare const appInstallationStatusSchema: z.ZodEnum<{
|
|
|
2418
2462
|
}>;
|
|
2419
2463
|
export type AppInstallationStatus = z.infer<typeof appInstallationStatusSchema>;
|
|
2420
2464
|
/** 설치 앱의 앱 정보 — 상점이 보는 범위만(개발자 비밀 값·소스·빌드는 없다) */
|
|
2465
|
+
/** 상점이 보는 앱 공개 범위 — 개발 중(개발자 조직) · 이 상점 전용 · 공개 */
|
|
2466
|
+
export declare const appVisibilitySchema: z.ZodEnum<{
|
|
2467
|
+
PUBLIC: "PUBLIC";
|
|
2468
|
+
DEVELOPMENT: "DEVELOPMENT";
|
|
2469
|
+
PRIVATE: "PRIVATE";
|
|
2470
|
+
}>;
|
|
2471
|
+
export type AppVisibility = z.infer<typeof appVisibilitySchema>;
|
|
2421
2472
|
export declare const appInstallationAppSchema: z.ZodObject<{
|
|
2422
2473
|
appId: z.ZodString;
|
|
2423
2474
|
handle: z.ZodString;
|
|
@@ -2471,6 +2522,20 @@ export declare const appInstallationSettingsUpdateSchema: z.ZodObject<{
|
|
|
2471
2522
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
2472
2523
|
}, z.core.$strip>;
|
|
2473
2524
|
export type AppInstallationSettingsUpdate = z.infer<typeof appInstallationSettingsUpdateSchema>;
|
|
2525
|
+
/** 예약 작업 한 줄 — 매니페스트 `schedules`의 이름과 간격 */
|
|
2526
|
+
export declare const appScheduleSummarySchema: z.ZodObject<{
|
|
2527
|
+
name: z.ZodString;
|
|
2528
|
+
every: z.ZodEnum<{
|
|
2529
|
+
"15m": "15m";
|
|
2530
|
+
"30m": "30m";
|
|
2531
|
+
"1h": "1h";
|
|
2532
|
+
"3h": "3h";
|
|
2533
|
+
"6h": "6h";
|
|
2534
|
+
"12h": "12h";
|
|
2535
|
+
"1d": "1d";
|
|
2536
|
+
}>;
|
|
2537
|
+
}, z.core.$strip>;
|
|
2538
|
+
export type AppScheduleSummary = z.infer<typeof appScheduleSummarySchema>;
|
|
2474
2539
|
export declare const appInstallationSchema: z.ZodObject<{
|
|
2475
2540
|
installationId: z.ZodString;
|
|
2476
2541
|
storeId: z.ZodString;
|
|
@@ -2533,6 +2598,19 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2533
2598
|
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
2534
2599
|
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
2535
2600
|
}>>;
|
|
2601
|
+
publicHttp: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2602
|
+
schedules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2603
|
+
name: z.ZodString;
|
|
2604
|
+
every: z.ZodEnum<{
|
|
2605
|
+
"15m": "15m";
|
|
2606
|
+
"30m": "30m";
|
|
2607
|
+
"1h": "1h";
|
|
2608
|
+
"3h": "3h";
|
|
2609
|
+
"6h": "6h";
|
|
2610
|
+
"12h": "12h";
|
|
2611
|
+
"1d": "1d";
|
|
2612
|
+
}>;
|
|
2613
|
+
}, z.core.$strip>>>;
|
|
2536
2614
|
}, z.core.$strip>>>;
|
|
2537
2615
|
grantedScopes: z.ZodArray<z.ZodString>;
|
|
2538
2616
|
grantedNetworkHosts: z.ZodArray<z.ZodString>;
|
|
@@ -2562,6 +2640,19 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2562
2640
|
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
2563
2641
|
}>>;
|
|
2564
2642
|
adminPage: z.ZodBoolean;
|
|
2643
|
+
publicHttp: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2644
|
+
schedules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2645
|
+
name: z.ZodString;
|
|
2646
|
+
every: z.ZodEnum<{
|
|
2647
|
+
"15m": "15m";
|
|
2648
|
+
"30m": "30m";
|
|
2649
|
+
"1h": "1h";
|
|
2650
|
+
"3h": "3h";
|
|
2651
|
+
"6h": "6h";
|
|
2652
|
+
"12h": "12h";
|
|
2653
|
+
"1d": "1d";
|
|
2654
|
+
}>;
|
|
2655
|
+
}, z.core.$strip>>>;
|
|
2565
2656
|
settings: z.ZodObject<{
|
|
2566
2657
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2567
2658
|
type: z.ZodEnum<{
|
|
@@ -2598,10 +2689,10 @@ export declare const appInstallationRunSchema: z.ZodObject<{
|
|
|
2598
2689
|
deliveryId: z.ZodString;
|
|
2599
2690
|
eventType: z.ZodString;
|
|
2600
2691
|
status: z.ZodEnum<{
|
|
2692
|
+
FAILED: "FAILED";
|
|
2601
2693
|
PENDING: "PENDING";
|
|
2602
2694
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2603
2695
|
SUCCESS: "SUCCESS";
|
|
2604
|
-
FAILED: "FAILED";
|
|
2605
2696
|
}>;
|
|
2606
2697
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
2607
2698
|
TIMEOUT: "TIMEOUT";
|
|
@@ -2628,10 +2719,10 @@ export declare const appInstallationActivitySchema: z.ZodObject<{
|
|
|
2628
2719
|
deliveryId: z.ZodString;
|
|
2629
2720
|
eventType: z.ZodString;
|
|
2630
2721
|
status: z.ZodEnum<{
|
|
2722
|
+
FAILED: "FAILED";
|
|
2631
2723
|
PENDING: "PENDING";
|
|
2632
2724
|
PENDING_RETRY: "PENDING_RETRY";
|
|
2633
2725
|
SUCCESS: "SUCCESS";
|
|
2634
|
-
FAILED: "FAILED";
|
|
2635
2726
|
}>;
|
|
2636
2727
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
2637
2728
|
TIMEOUT: "TIMEOUT";
|
|
@@ -2683,6 +2774,11 @@ export declare const storeAppSchema: z.ZodObject<{
|
|
|
2683
2774
|
developerName: z.ZodString;
|
|
2684
2775
|
versionNumber: z.ZodNumber;
|
|
2685
2776
|
installationId: z.ZodNullable<z.ZodString>;
|
|
2777
|
+
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2778
|
+
PUBLIC: "PUBLIC";
|
|
2779
|
+
DEVELOPMENT: "DEVELOPMENT";
|
|
2780
|
+
PRIVATE: "PRIVATE";
|
|
2781
|
+
}>>;
|
|
2686
2782
|
}, z.core.$strip>;
|
|
2687
2783
|
export type StoreApp = z.infer<typeof storeAppSchema>;
|
|
2688
2784
|
/** `GET /v1/apps/catalog/{appId}` — 앱 상세·설치 화면 */
|
|
@@ -2695,6 +2791,11 @@ export declare const storeAppDetailSchema: z.ZodObject<{
|
|
|
2695
2791
|
developerName: z.ZodString;
|
|
2696
2792
|
versionNumber: z.ZodNumber;
|
|
2697
2793
|
installationId: z.ZodNullable<z.ZodString>;
|
|
2794
|
+
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2795
|
+
PUBLIC: "PUBLIC";
|
|
2796
|
+
DEVELOPMENT: "DEVELOPMENT";
|
|
2797
|
+
PRIVATE: "PRIVATE";
|
|
2798
|
+
}>>;
|
|
2698
2799
|
readme: z.ZodNullable<z.ZodString>;
|
|
2699
2800
|
supportEmail: z.ZodNullable<z.ZodString>;
|
|
2700
2801
|
scopes: z.ZodArray<z.ZodString>;
|
|
@@ -2724,6 +2825,19 @@ export declare const storeAppDetailSchema: z.ZodObject<{
|
|
|
2724
2825
|
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
2725
2826
|
}>>;
|
|
2726
2827
|
networkHosts: z.ZodArray<z.ZodString>;
|
|
2828
|
+
publicHttp: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2829
|
+
schedules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2830
|
+
name: z.ZodString;
|
|
2831
|
+
every: z.ZodEnum<{
|
|
2832
|
+
"15m": "15m";
|
|
2833
|
+
"30m": "30m";
|
|
2834
|
+
"1h": "1h";
|
|
2835
|
+
"3h": "3h";
|
|
2836
|
+
"6h": "6h";
|
|
2837
|
+
"12h": "12h";
|
|
2838
|
+
"1d": "1d";
|
|
2839
|
+
}>;
|
|
2840
|
+
}, z.core.$strip>>>;
|
|
2727
2841
|
settings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2728
2842
|
type: z.ZodEnum<{
|
|
2729
2843
|
string: "string";
|
|
@@ -2762,6 +2876,28 @@ export declare const appInstallationSelfSchema: z.ZodObject<{
|
|
|
2762
2876
|
installedAt: z.ZodString;
|
|
2763
2877
|
}, z.core.$strip>;
|
|
2764
2878
|
export type AppInstallationSelf = z.infer<typeof appInstallationSelfSchema>;
|
|
2879
|
+
/** 설치 저장소(`ctx.storage`, 매뉴얼 「앱 코드 › 저장소」) — 설치 토큰 전용 */
|
|
2880
|
+
export declare const APP_STORAGE_KEY_PATTERN: RegExp;
|
|
2881
|
+
export declare const APP_STORAGE_MAX_KEYS = 1000;
|
|
2882
|
+
/** 설치당 전체 크기(키 + JSON 값, UTF-8 바이트) */
|
|
2883
|
+
export declare const APP_STORAGE_MAX_BYTES: number;
|
|
2884
|
+
export declare const appStorageEntrySchema: z.ZodObject<{
|
|
2885
|
+
key: z.ZodString;
|
|
2886
|
+
value: z.ZodUnknown;
|
|
2887
|
+
updatedAt: z.ZodString;
|
|
2888
|
+
}, z.core.$strip>;
|
|
2889
|
+
export type AppStorageEntry = z.infer<typeof appStorageEntrySchema>;
|
|
2890
|
+
export declare const appStorageKeysSchema: z.ZodObject<{
|
|
2891
|
+
keys: z.ZodArray<z.ZodString>;
|
|
2892
|
+
}, z.core.$strip>;
|
|
2893
|
+
export type AppStorageKeys = z.infer<typeof appStorageKeysSchema>;
|
|
2894
|
+
export declare const appStoragePutSchema: z.ZodObject<{
|
|
2895
|
+
value: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>;
|
|
2896
|
+
}, z.core.$strip>;
|
|
2897
|
+
export type AppStoragePut = z.infer<typeof appStoragePutSchema>;
|
|
2898
|
+
export declare const appStorageListQuerySchema: z.ZodObject<{
|
|
2899
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
}, z.core.$strip>;
|
|
2765
2901
|
export declare const developerOrgSchema: z.ZodObject<{
|
|
2766
2902
|
orgId: z.ZodString;
|
|
2767
2903
|
name: z.ZodString;
|
|
@@ -2792,8 +2928,8 @@ export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
|
|
|
2792
2928
|
export declare const appBuildSchema: z.ZodObject<{
|
|
2793
2929
|
buildId: z.ZodString;
|
|
2794
2930
|
status: z.ZodEnum<{
|
|
2795
|
-
FAILED: "FAILED";
|
|
2796
2931
|
SUCCEEDED: "SUCCEEDED";
|
|
2932
|
+
FAILED: "FAILED";
|
|
2797
2933
|
RUNNING: "RUNNING";
|
|
2798
2934
|
QUEUED: "QUEUED";
|
|
2799
2935
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -2830,14 +2966,16 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2830
2966
|
events: z.ZodArray<z.ZodString>;
|
|
2831
2967
|
networkHosts: z.ZodArray<z.ZodString>;
|
|
2832
2968
|
adminPage: z.ZodBoolean;
|
|
2969
|
+
publicHttp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2970
|
+
schedules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2833
2971
|
requiredSettings: z.ZodArray<z.ZodString>;
|
|
2834
2972
|
secretSettings: z.ZodArray<z.ZodString>;
|
|
2835
2973
|
}, z.core.$strip>;
|
|
2836
2974
|
build: z.ZodNullable<z.ZodObject<{
|
|
2837
2975
|
buildId: z.ZodString;
|
|
2838
2976
|
status: z.ZodEnum<{
|
|
2839
|
-
FAILED: "FAILED";
|
|
2840
2977
|
SUCCEEDED: "SUCCEEDED";
|
|
2978
|
+
FAILED: "FAILED";
|
|
2841
2979
|
RUNNING: "RUNNING";
|
|
2842
2980
|
QUEUED: "QUEUED";
|
|
2843
2981
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -2867,6 +3005,26 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2867
3005
|
createdAt: z.ZodString;
|
|
2868
3006
|
}, z.core.$strip>;
|
|
2869
3007
|
export type AppVersion = z.infer<typeof appVersionSchema>;
|
|
3008
|
+
/** 앱 공개 심사(#22, 매뉴얼 「앱 공개 범위」) — 개발자가 신청하고 운영자가 승인·반려한다 */
|
|
3009
|
+
export declare const appListingReviewStatusSchema: z.ZodEnum<{
|
|
3010
|
+
PENDING: "PENDING";
|
|
3011
|
+
REJECTED: "REJECTED";
|
|
3012
|
+
APPROVED: "APPROVED";
|
|
3013
|
+
}>;
|
|
3014
|
+
export type AppListingReviewStatus = z.infer<typeof appListingReviewStatusSchema>;
|
|
3015
|
+
export declare const appListingReviewSchema: z.ZodObject<{
|
|
3016
|
+
reviewId: z.ZodString;
|
|
3017
|
+
status: z.ZodEnum<{
|
|
3018
|
+
PENDING: "PENDING";
|
|
3019
|
+
REJECTED: "REJECTED";
|
|
3020
|
+
APPROVED: "APPROVED";
|
|
3021
|
+
}>;
|
|
3022
|
+
versionNumber: z.ZodNumber;
|
|
3023
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
3024
|
+
requestedAt: z.ZodString;
|
|
3025
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
3026
|
+
}, z.core.$strip>;
|
|
3027
|
+
export type AppListingReview = z.infer<typeof appListingReviewSchema>;
|
|
2870
3028
|
export declare const developerAppSchema: z.ZodObject<{
|
|
2871
3029
|
appId: z.ZodString;
|
|
2872
3030
|
orgId: z.ZodString;
|
|
@@ -2891,6 +3049,19 @@ export declare const developerAppSchema: z.ZodObject<{
|
|
|
2891
3049
|
}>;
|
|
2892
3050
|
suspendedReason: z.ZodNullable<z.ZodString>;
|
|
2893
3051
|
currentVersionNumber: z.ZodNullable<z.ZodNumber>;
|
|
3052
|
+
privateStoreId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3053
|
+
listingReview: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3054
|
+
reviewId: z.ZodString;
|
|
3055
|
+
status: z.ZodEnum<{
|
|
3056
|
+
PENDING: "PENDING";
|
|
3057
|
+
REJECTED: "REJECTED";
|
|
3058
|
+
APPROVED: "APPROVED";
|
|
3059
|
+
}>;
|
|
3060
|
+
versionNumber: z.ZodNumber;
|
|
3061
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
3062
|
+
requestedAt: z.ZodString;
|
|
3063
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
3064
|
+
}, z.core.$strip>>>;
|
|
2894
3065
|
installations: z.ZodObject<{
|
|
2895
3066
|
active: z.ZodNumber;
|
|
2896
3067
|
pendingReconsent: z.ZodNumber;
|
|
@@ -2903,6 +3074,7 @@ export declare const developerAppCreateSchema: z.ZodObject<{
|
|
|
2903
3074
|
handle: z.ZodString;
|
|
2904
3075
|
name: z.ZodString;
|
|
2905
3076
|
description: z.ZodOptional<z.ZodString>;
|
|
3077
|
+
privateStoreId: z.ZodOptional<z.ZodString>;
|
|
2906
3078
|
}, z.core.$strip>;
|
|
2907
3079
|
export type DeveloperAppCreate = z.infer<typeof developerAppCreateSchema>;
|
|
2908
3080
|
/** `PUT /platform/v1/developer/apps/{appId}/versions` — CLI `app deploy`가 올리는 번들 */
|
|
@@ -2945,14 +3117,16 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
2945
3117
|
events: z.ZodArray<z.ZodString>;
|
|
2946
3118
|
networkHosts: z.ZodArray<z.ZodString>;
|
|
2947
3119
|
adminPage: z.ZodBoolean;
|
|
3120
|
+
publicHttp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3121
|
+
schedules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2948
3122
|
requiredSettings: z.ZodArray<z.ZodString>;
|
|
2949
3123
|
secretSettings: z.ZodArray<z.ZodString>;
|
|
2950
3124
|
}, z.core.$strip>;
|
|
2951
3125
|
build: z.ZodNullable<z.ZodObject<{
|
|
2952
3126
|
buildId: z.ZodString;
|
|
2953
3127
|
status: z.ZodEnum<{
|
|
2954
|
-
FAILED: "FAILED";
|
|
2955
3128
|
SUCCEEDED: "SUCCEEDED";
|
|
3129
|
+
FAILED: "FAILED";
|
|
2956
3130
|
RUNNING: "RUNNING";
|
|
2957
3131
|
QUEUED: "QUEUED";
|
|
2958
3132
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -3002,6 +3176,17 @@ export declare const devStoreSchema: z.ZodObject<{
|
|
|
3002
3176
|
createdAt: z.ZodString;
|
|
3003
3177
|
}, z.core.$strip>;
|
|
3004
3178
|
export type DevStore = z.infer<typeof devStoreSchema>;
|
|
3179
|
+
/** `GET /platform/v1/developer/stores` — 비공개 앱을 묶을 수 있는 상점(내가 소유자·관리자, 운영 중) */
|
|
3180
|
+
export declare const developerStoreSchema: z.ZodObject<{
|
|
3181
|
+
storeId: z.ZodString;
|
|
3182
|
+
name: z.ZodString;
|
|
3183
|
+
role: z.ZodEnum<{
|
|
3184
|
+
ADMIN: "ADMIN";
|
|
3185
|
+
OWNER: "OWNER";
|
|
3186
|
+
}>;
|
|
3187
|
+
development: z.ZodBoolean;
|
|
3188
|
+
}, z.core.$strip>;
|
|
3189
|
+
export type DeveloperStore = z.infer<typeof developerStoreSchema>;
|
|
3005
3190
|
/** 개발자가 보는 설치 한 줄 */
|
|
3006
3191
|
export declare const developerInstallationSchema: z.ZodObject<{
|
|
3007
3192
|
installationId: z.ZodString;
|
|
@@ -3385,8 +3570,8 @@ export declare const claimTypeSchema: z.ZodEnum<{
|
|
|
3385
3570
|
}>;
|
|
3386
3571
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
3387
3572
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
3388
|
-
REJECTED: "REJECTED";
|
|
3389
3573
|
COMPLETED: "COMPLETED";
|
|
3574
|
+
REJECTED: "REJECTED";
|
|
3390
3575
|
REQUESTED: "REQUESTED";
|
|
3391
3576
|
HELD: "HELD";
|
|
3392
3577
|
COLLECTING: "COLLECTING";
|
|
@@ -3430,8 +3615,8 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
3430
3615
|
CANCEL: "CANCEL";
|
|
3431
3616
|
}>;
|
|
3432
3617
|
status: z.ZodEnum<{
|
|
3433
|
-
REJECTED: "REJECTED";
|
|
3434
3618
|
COMPLETED: "COMPLETED";
|
|
3619
|
+
REJECTED: "REJECTED";
|
|
3435
3620
|
REQUESTED: "REQUESTED";
|
|
3436
3621
|
HELD: "HELD";
|
|
3437
3622
|
COLLECTING: "COLLECTING";
|
|
@@ -3520,8 +3705,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3520
3705
|
CANCEL: "CANCEL";
|
|
3521
3706
|
}>;
|
|
3522
3707
|
status: z.ZodEnum<{
|
|
3523
|
-
REJECTED: "REJECTED";
|
|
3524
3708
|
COMPLETED: "COMPLETED";
|
|
3709
|
+
REJECTED: "REJECTED";
|
|
3525
3710
|
REQUESTED: "REQUESTED";
|
|
3526
3711
|
HELD: "HELD";
|
|
3527
3712
|
COLLECTING: "COLLECTING";
|
|
@@ -3578,8 +3763,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3578
3763
|
}, z.core.$strip>>;
|
|
3579
3764
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3580
3765
|
status: z.ZodEnum<{
|
|
3581
|
-
REJECTED: "REJECTED";
|
|
3582
3766
|
COMPLETED: "COMPLETED";
|
|
3767
|
+
REJECTED: "REJECTED";
|
|
3583
3768
|
REQUESTED: "REQUESTED";
|
|
3584
3769
|
HELD: "HELD";
|
|
3585
3770
|
COLLECTING: "COLLECTING";
|
|
@@ -4209,8 +4394,8 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
4209
4394
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4210
4395
|
}>>;
|
|
4211
4396
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4212
|
-
REJECTED: "REJECTED";
|
|
4213
4397
|
COMPLETED: "COMPLETED";
|
|
4398
|
+
REJECTED: "REJECTED";
|
|
4214
4399
|
REQUESTED: "REQUESTED";
|
|
4215
4400
|
HELD: "HELD";
|
|
4216
4401
|
COLLECTING: "COLLECTING";
|
|
@@ -4258,8 +4443,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4258
4443
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4259
4444
|
}>>;
|
|
4260
4445
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4261
|
-
REJECTED: "REJECTED";
|
|
4262
4446
|
COMPLETED: "COMPLETED";
|
|
4447
|
+
REJECTED: "REJECTED";
|
|
4263
4448
|
REQUESTED: "REQUESTED";
|
|
4264
4449
|
HELD: "HELD";
|
|
4265
4450
|
COLLECTING: "COLLECTING";
|
|
@@ -4358,8 +4543,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4358
4543
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4359
4544
|
}>>;
|
|
4360
4545
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4361
|
-
REJECTED: "REJECTED";
|
|
4362
4546
|
COMPLETED: "COMPLETED";
|
|
4547
|
+
REJECTED: "REJECTED";
|
|
4363
4548
|
REQUESTED: "REQUESTED";
|
|
4364
4549
|
HELD: "HELD";
|
|
4365
4550
|
COLLECTING: "COLLECTING";
|
|
@@ -4450,8 +4635,8 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4450
4635
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4451
4636
|
}>>;
|
|
4452
4637
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4453
|
-
REJECTED: "REJECTED";
|
|
4454
4638
|
COMPLETED: "COMPLETED";
|
|
4639
|
+
REJECTED: "REJECTED";
|
|
4455
4640
|
REQUESTED: "REQUESTED";
|
|
4456
4641
|
HELD: "HELD";
|
|
4457
4642
|
COLLECTING: "COLLECTING";
|
|
@@ -4725,8 +4910,8 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
4725
4910
|
results: z.ZodArray<z.ZodObject<{
|
|
4726
4911
|
orderItemId: z.ZodString;
|
|
4727
4912
|
status: z.ZodEnum<{
|
|
4728
|
-
FAILED: "FAILED";
|
|
4729
4913
|
COMPLETED: "COMPLETED";
|
|
4914
|
+
FAILED: "FAILED";
|
|
4730
4915
|
SKIPPED: "SKIPPED";
|
|
4731
4916
|
}>;
|
|
4732
4917
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -5465,10 +5650,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
5465
5650
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
5466
5651
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
5467
5652
|
reason: z.ZodEnum<{
|
|
5653
|
+
OTHER: "OTHER";
|
|
5468
5654
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
5469
5655
|
DORMANT: "DORMANT";
|
|
5470
5656
|
ABUSE: "ABUSE";
|
|
5471
|
-
OTHER: "OTHER";
|
|
5472
5657
|
}>;
|
|
5473
5658
|
memo: z.ZodOptional<z.ZodString>;
|
|
5474
5659
|
}, z.core.$strip>;
|
|
@@ -5832,10 +6017,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
5832
6017
|
}, z.core.$strip>;
|
|
5833
6018
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
5834
6019
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
6020
|
+
FAILED: "FAILED";
|
|
5835
6021
|
PENDING: "PENDING";
|
|
5836
6022
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5837
6023
|
SUCCESS: "SUCCESS";
|
|
5838
|
-
FAILED: "FAILED";
|
|
5839
6024
|
}>;
|
|
5840
6025
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
5841
6026
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -5905,10 +6090,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
5905
6090
|
}>;
|
|
5906
6091
|
url: z.ZodString;
|
|
5907
6092
|
status: z.ZodEnum<{
|
|
6093
|
+
FAILED: "FAILED";
|
|
5908
6094
|
PENDING: "PENDING";
|
|
5909
6095
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5910
6096
|
SUCCESS: "SUCCESS";
|
|
5911
|
-
FAILED: "FAILED";
|
|
5912
6097
|
}>;
|
|
5913
6098
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
5914
6099
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5966,10 +6151,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
5966
6151
|
}>;
|
|
5967
6152
|
url: z.ZodString;
|
|
5968
6153
|
status: z.ZodEnum<{
|
|
6154
|
+
FAILED: "FAILED";
|
|
5969
6155
|
PENDING: "PENDING";
|
|
5970
6156
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5971
6157
|
SUCCESS: "SUCCESS";
|
|
5972
|
-
FAILED: "FAILED";
|
|
5973
6158
|
}>;
|
|
5974
6159
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
5975
6160
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6010,10 +6195,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
6010
6195
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
6011
6196
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
6012
6197
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6198
|
+
FAILED: "FAILED";
|
|
6013
6199
|
PENDING: "PENDING";
|
|
6014
6200
|
PENDING_RETRY: "PENDING_RETRY";
|
|
6015
6201
|
SUCCESS: "SUCCESS";
|
|
6016
|
-
FAILED: "FAILED";
|
|
6017
6202
|
}>>;
|
|
6018
6203
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
6019
6204
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -6998,8 +7183,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
6998
7183
|
}>;
|
|
6999
7184
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
7000
7185
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
7001
|
-
SUCCESS: "SUCCESS";
|
|
7002
7186
|
FAILED: "FAILED";
|
|
7187
|
+
SUCCESS: "SUCCESS";
|
|
7003
7188
|
}>;
|
|
7004
7189
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
7005
7190
|
/**
|
|
@@ -7148,8 +7333,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
7148
7333
|
}, z.core.$strip>>;
|
|
7149
7334
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7150
7335
|
result: z.ZodEnum<{
|
|
7151
|
-
SUCCESS: "SUCCESS";
|
|
7152
7336
|
FAILED: "FAILED";
|
|
7337
|
+
SUCCESS: "SUCCESS";
|
|
7153
7338
|
}>;
|
|
7154
7339
|
message: z.ZodNullable<z.ZodString>;
|
|
7155
7340
|
checkedAt: z.ZodString;
|
|
@@ -7258,8 +7443,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7258
7443
|
}, z.core.$strip>>;
|
|
7259
7444
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7260
7445
|
result: z.ZodEnum<{
|
|
7261
|
-
SUCCESS: "SUCCESS";
|
|
7262
7446
|
FAILED: "FAILED";
|
|
7447
|
+
SUCCESS: "SUCCESS";
|
|
7263
7448
|
}>;
|
|
7264
7449
|
message: z.ZodNullable<z.ZodString>;
|
|
7265
7450
|
checkedAt: z.ZodString;
|
|
@@ -7295,8 +7480,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7295
7480
|
}, z.core.$strip>>;
|
|
7296
7481
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7297
7482
|
result: z.ZodEnum<{
|
|
7298
|
-
SUCCESS: "SUCCESS";
|
|
7299
7483
|
FAILED: "FAILED";
|
|
7484
|
+
SUCCESS: "SUCCESS";
|
|
7300
7485
|
}>;
|
|
7301
7486
|
message: z.ZodNullable<z.ZodString>;
|
|
7302
7487
|
checkedAt: z.ZodString;
|
|
@@ -7331,8 +7516,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7331
7516
|
}, z.core.$strip>>;
|
|
7332
7517
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7333
7518
|
result: z.ZodEnum<{
|
|
7334
|
-
SUCCESS: "SUCCESS";
|
|
7335
7519
|
FAILED: "FAILED";
|
|
7520
|
+
SUCCESS: "SUCCESS";
|
|
7336
7521
|
}>;
|
|
7337
7522
|
message: z.ZodNullable<z.ZodString>;
|
|
7338
7523
|
checkedAt: z.ZodString;
|
|
@@ -7424,8 +7609,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7424
7609
|
}, z.core.$strip>>;
|
|
7425
7610
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7426
7611
|
result: z.ZodEnum<{
|
|
7427
|
-
SUCCESS: "SUCCESS";
|
|
7428
7612
|
FAILED: "FAILED";
|
|
7613
|
+
SUCCESS: "SUCCESS";
|
|
7429
7614
|
}>;
|
|
7430
7615
|
message: z.ZodNullable<z.ZodString>;
|
|
7431
7616
|
checkedAt: z.ZodString;
|
|
@@ -7461,8 +7646,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7461
7646
|
}, z.core.$strip>>;
|
|
7462
7647
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7463
7648
|
result: z.ZodEnum<{
|
|
7464
|
-
SUCCESS: "SUCCESS";
|
|
7465
7649
|
FAILED: "FAILED";
|
|
7650
|
+
SUCCESS: "SUCCESS";
|
|
7466
7651
|
}>;
|
|
7467
7652
|
message: z.ZodNullable<z.ZodString>;
|
|
7468
7653
|
checkedAt: z.ZodString;
|
|
@@ -7497,8 +7682,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7497
7682
|
}, z.core.$strip>>;
|
|
7498
7683
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7499
7684
|
result: z.ZodEnum<{
|
|
7500
|
-
SUCCESS: "SUCCESS";
|
|
7501
7685
|
FAILED: "FAILED";
|
|
7686
|
+
SUCCESS: "SUCCESS";
|
|
7502
7687
|
}>;
|
|
7503
7688
|
message: z.ZodNullable<z.ZodString>;
|
|
7504
7689
|
checkedAt: z.ZodString;
|
|
@@ -7556,8 +7741,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
7556
7741
|
LIVE: "LIVE";
|
|
7557
7742
|
}>;
|
|
7558
7743
|
result: z.ZodEnum<{
|
|
7559
|
-
SUCCESS: "SUCCESS";
|
|
7560
7744
|
FAILED: "FAILED";
|
|
7745
|
+
SUCCESS: "SUCCESS";
|
|
7561
7746
|
}>;
|
|
7562
7747
|
message: z.ZodNullable<z.ZodString>;
|
|
7563
7748
|
checkedAt: z.ZodString;
|
|
@@ -7687,8 +7872,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
7687
7872
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
7688
7873
|
*/
|
|
7689
7874
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
7690
|
-
PENDING: "PENDING";
|
|
7691
7875
|
FAILED: "FAILED";
|
|
7876
|
+
PENDING: "PENDING";
|
|
7692
7877
|
APPROVED: "APPROVED";
|
|
7693
7878
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7694
7879
|
REFUNDED: "REFUNDED";
|
|
@@ -7735,8 +7920,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
7735
7920
|
orderName: z.ZodString;
|
|
7736
7921
|
customerName: z.ZodString;
|
|
7737
7922
|
status: z.ZodEnum<{
|
|
7738
|
-
PENDING: "PENDING";
|
|
7739
7923
|
FAILED: "FAILED";
|
|
7924
|
+
PENDING: "PENDING";
|
|
7740
7925
|
APPROVED: "APPROVED";
|
|
7741
7926
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7742
7927
|
REFUNDED: "REFUNDED";
|
|
@@ -7783,8 +7968,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
7783
7968
|
orderName: z.ZodString;
|
|
7784
7969
|
customerName: z.ZodString;
|
|
7785
7970
|
status: z.ZodEnum<{
|
|
7786
|
-
PENDING: "PENDING";
|
|
7787
7971
|
FAILED: "FAILED";
|
|
7972
|
+
PENDING: "PENDING";
|
|
7788
7973
|
APPROVED: "APPROVED";
|
|
7789
7974
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7790
7975
|
REFUNDED: "REFUNDED";
|
|
@@ -7876,8 +8061,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
7876
8061
|
orderName: z.ZodString;
|
|
7877
8062
|
customerName: z.ZodString;
|
|
7878
8063
|
status: z.ZodEnum<{
|
|
7879
|
-
PENDING: "PENDING";
|
|
7880
8064
|
FAILED: "FAILED";
|
|
8065
|
+
PENDING: "PENDING";
|
|
7881
8066
|
APPROVED: "APPROVED";
|
|
7882
8067
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7883
8068
|
REFUNDED: "REFUNDED";
|
|
@@ -8206,11 +8391,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
8206
8391
|
export declare const pointLotSchema: z.ZodObject<{
|
|
8207
8392
|
lotId: z.ZodString;
|
|
8208
8393
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8394
|
+
PURCHASE: "PURCHASE";
|
|
8209
8395
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
8210
8396
|
ADJUST: "ADJUST";
|
|
8211
8397
|
OPENING: "OPENING";
|
|
8212
8398
|
REVIEW: "REVIEW";
|
|
8213
|
-
PURCHASE: "PURCHASE";
|
|
8214
8399
|
}>, z.ZodString]>;
|
|
8215
8400
|
amount: z.ZodNumber;
|
|
8216
8401
|
remaining: z.ZodNumber;
|
|
@@ -8225,11 +8410,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
8225
8410
|
lots: z.ZodArray<z.ZodObject<{
|
|
8226
8411
|
lotId: z.ZodString;
|
|
8227
8412
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8413
|
+
PURCHASE: "PURCHASE";
|
|
8228
8414
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
8229
8415
|
ADJUST: "ADJUST";
|
|
8230
8416
|
OPENING: "OPENING";
|
|
8231
8417
|
REVIEW: "REVIEW";
|
|
8232
|
-
PURCHASE: "PURCHASE";
|
|
8233
8418
|
}>, z.ZodString]>;
|
|
8234
8419
|
amount: z.ZodNumber;
|
|
8235
8420
|
remaining: z.ZodNumber;
|
|
@@ -8619,8 +8804,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
8619
8804
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8620
8805
|
shipping: z.ZodObject<{
|
|
8621
8806
|
deliveryType: z.ZodEnum<{
|
|
8622
|
-
FREE: "FREE";
|
|
8623
8807
|
PAID: "PAID";
|
|
8808
|
+
FREE: "FREE";
|
|
8624
8809
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8625
8810
|
}>;
|
|
8626
8811
|
deliveryFee: z.ZodNumber;
|
|
@@ -8863,8 +9048,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
8863
9048
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8864
9049
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
8865
9050
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
8866
|
-
FREE: "FREE";
|
|
8867
9051
|
PAID: "PAID";
|
|
9052
|
+
FREE: "FREE";
|
|
8868
9053
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8869
9054
|
}>>;
|
|
8870
9055
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8873,16 +9058,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
8873
9058
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8874
9059
|
}, z.core.$strict>>;
|
|
8875
9060
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8876
|
-
CARRIER: "CARRIER";
|
|
8877
9061
|
DIRECT: "DIRECT";
|
|
9062
|
+
CARRIER: "CARRIER";
|
|
8878
9063
|
PICKUP: "PICKUP";
|
|
8879
9064
|
PROVIDED: "PROVIDED";
|
|
8880
9065
|
}>>>;
|
|
8881
9066
|
}, z.core.$strict>, z.ZodObject<{
|
|
8882
9067
|
type: z.ZodLiteral<"MANUAL">;
|
|
8883
9068
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8884
|
-
CARRIER: "CARRIER";
|
|
8885
9069
|
DIRECT: "DIRECT";
|
|
9070
|
+
CARRIER: "CARRIER";
|
|
8886
9071
|
PICKUP: "PICKUP";
|
|
8887
9072
|
PROVIDED: "PROVIDED";
|
|
8888
9073
|
}>>>;
|
|
@@ -8977,8 +9162,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
8977
9162
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8978
9163
|
shipping: z.ZodObject<{
|
|
8979
9164
|
deliveryType: z.ZodEnum<{
|
|
8980
|
-
FREE: "FREE";
|
|
8981
9165
|
PAID: "PAID";
|
|
9166
|
+
FREE: "FREE";
|
|
8982
9167
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8983
9168
|
}>;
|
|
8984
9169
|
deliveryFee: z.ZodNumber;
|
|
@@ -8987,16 +9172,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
8987
9172
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
8988
9173
|
}, z.core.$strict>;
|
|
8989
9174
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8990
|
-
CARRIER: "CARRIER";
|
|
8991
9175
|
DIRECT: "DIRECT";
|
|
9176
|
+
CARRIER: "CARRIER";
|
|
8992
9177
|
PICKUP: "PICKUP";
|
|
8993
9178
|
PROVIDED: "PROVIDED";
|
|
8994
9179
|
}>>>;
|
|
8995
9180
|
}, z.core.$strict>, z.ZodObject<{
|
|
8996
9181
|
type: z.ZodLiteral<"MANUAL">;
|
|
8997
9182
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8998
|
-
CARRIER: "CARRIER";
|
|
8999
9183
|
DIRECT: "DIRECT";
|
|
9184
|
+
CARRIER: "CARRIER";
|
|
9000
9185
|
PICKUP: "PICKUP";
|
|
9001
9186
|
PROVIDED: "PROVIDED";
|
|
9002
9187
|
}>>>;
|
|
@@ -9100,8 +9285,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
9100
9285
|
type: z.ZodLiteral<"SHIPPING">;
|
|
9101
9286
|
shipping: z.ZodObject<{
|
|
9102
9287
|
deliveryType: z.ZodEnum<{
|
|
9103
|
-
FREE: "FREE";
|
|
9104
9288
|
PAID: "PAID";
|
|
9289
|
+
FREE: "FREE";
|
|
9105
9290
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
9106
9291
|
}>;
|
|
9107
9292
|
deliveryFee: z.ZodNumber;
|
|
@@ -9110,16 +9295,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
9110
9295
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
9111
9296
|
}, z.core.$strict>;
|
|
9112
9297
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9113
|
-
CARRIER: "CARRIER";
|
|
9114
9298
|
DIRECT: "DIRECT";
|
|
9299
|
+
CARRIER: "CARRIER";
|
|
9115
9300
|
PICKUP: "PICKUP";
|
|
9116
9301
|
PROVIDED: "PROVIDED";
|
|
9117
9302
|
}>>>;
|
|
9118
9303
|
}, z.core.$strict>, z.ZodObject<{
|
|
9119
9304
|
type: z.ZodLiteral<"MANUAL">;
|
|
9120
9305
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9121
|
-
CARRIER: "CARRIER";
|
|
9122
9306
|
DIRECT: "DIRECT";
|
|
9307
|
+
CARRIER: "CARRIER";
|
|
9123
9308
|
PICKUP: "PICKUP";
|
|
9124
9309
|
PROVIDED: "PROVIDED";
|
|
9125
9310
|
}>>>;
|
|
@@ -9976,8 +10161,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
9976
10161
|
*/
|
|
9977
10162
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
9978
10163
|
status: z.ZodEnum<{
|
|
9979
|
-
PENDING: "PENDING";
|
|
9980
10164
|
FAILED: "FAILED";
|
|
10165
|
+
PENDING: "PENDING";
|
|
9981
10166
|
SYNCED: "SYNCED";
|
|
9982
10167
|
}>;
|
|
9983
10168
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10064,8 +10249,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
10064
10249
|
}, z.core.$strip>>;
|
|
10065
10250
|
provisioning: z.ZodObject<{
|
|
10066
10251
|
status: z.ZodEnum<{
|
|
10067
|
-
PENDING: "PENDING";
|
|
10068
10252
|
FAILED: "FAILED";
|
|
10253
|
+
PENDING: "PENDING";
|
|
10069
10254
|
SYNCED: "SYNCED";
|
|
10070
10255
|
}>;
|
|
10071
10256
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10149,8 +10334,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
10149
10334
|
}, z.core.$strip>>;
|
|
10150
10335
|
provisioning: z.ZodObject<{
|
|
10151
10336
|
status: z.ZodEnum<{
|
|
10152
|
-
PENDING: "PENDING";
|
|
10153
10337
|
FAILED: "FAILED";
|
|
10338
|
+
PENDING: "PENDING";
|
|
10154
10339
|
SYNCED: "SYNCED";
|
|
10155
10340
|
}>;
|
|
10156
10341
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10197,8 +10382,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
10197
10382
|
PUBLISH: "PUBLISH";
|
|
10198
10383
|
}>;
|
|
10199
10384
|
status: z.ZodEnum<{
|
|
10200
|
-
PENDING: "PENDING";
|
|
10201
10385
|
FAILED: "FAILED";
|
|
10386
|
+
PENDING: "PENDING";
|
|
10202
10387
|
RUNNING: "RUNNING";
|
|
10203
10388
|
DONE: "DONE";
|
|
10204
10389
|
}>;
|
|
@@ -10219,9 +10404,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
10219
10404
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
10220
10405
|
siteId: z.ZodString;
|
|
10221
10406
|
status: z.ZodEnum<{
|
|
10222
|
-
FAILED: "FAILED";
|
|
10223
|
-
SUCCEEDED: "SUCCEEDED";
|
|
10224
10407
|
IN_PROGRESS: "IN_PROGRESS";
|
|
10408
|
+
SUCCEEDED: "SUCCEEDED";
|
|
10409
|
+
FAILED: "FAILED";
|
|
10225
10410
|
}>;
|
|
10226
10411
|
url: z.ZodString;
|
|
10227
10412
|
startedAt: z.ZodString;
|
|
@@ -10233,8 +10418,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
10233
10418
|
PUBLISH: "PUBLISH";
|
|
10234
10419
|
}>;
|
|
10235
10420
|
status: z.ZodEnum<{
|
|
10236
|
-
PENDING: "PENDING";
|
|
10237
10421
|
FAILED: "FAILED";
|
|
10422
|
+
PENDING: "PENDING";
|
|
10238
10423
|
RUNNING: "RUNNING";
|
|
10239
10424
|
DONE: "DONE";
|
|
10240
10425
|
}>;
|
|
@@ -10355,8 +10540,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
10355
10540
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
10356
10541
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
10357
10542
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
10358
|
-
ACTIVE: "ACTIVE";
|
|
10359
10543
|
FAILED: "FAILED";
|
|
10544
|
+
ACTIVE: "ACTIVE";
|
|
10360
10545
|
PENDING_DNS: "PENDING_DNS";
|
|
10361
10546
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10362
10547
|
}>;
|
|
@@ -10382,8 +10567,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
10382
10567
|
CUSTOM: "CUSTOM";
|
|
10383
10568
|
}>;
|
|
10384
10569
|
status: z.ZodEnum<{
|
|
10385
|
-
ACTIVE: "ACTIVE";
|
|
10386
10570
|
FAILED: "FAILED";
|
|
10571
|
+
ACTIVE: "ACTIVE";
|
|
10387
10572
|
PENDING_DNS: "PENDING_DNS";
|
|
10388
10573
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10389
10574
|
}>;
|
|
@@ -10401,9 +10586,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
10401
10586
|
}>;
|
|
10402
10587
|
}, z.core.$strip>>;
|
|
10403
10588
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10404
|
-
ACTIVE: "ACTIVE";
|
|
10405
|
-
PENDING: "PENDING";
|
|
10406
10589
|
FAILED: "FAILED";
|
|
10590
|
+
PENDING: "PENDING";
|
|
10591
|
+
ACTIVE: "ACTIVE";
|
|
10407
10592
|
}>>;
|
|
10408
10593
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10409
10594
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10425,8 +10610,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
10425
10610
|
CUSTOM: "CUSTOM";
|
|
10426
10611
|
}>;
|
|
10427
10612
|
status: z.ZodEnum<{
|
|
10428
|
-
ACTIVE: "ACTIVE";
|
|
10429
10613
|
FAILED: "FAILED";
|
|
10614
|
+
ACTIVE: "ACTIVE";
|
|
10430
10615
|
PENDING_DNS: "PENDING_DNS";
|
|
10431
10616
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10432
10617
|
}>;
|
|
@@ -10444,9 +10629,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
10444
10629
|
}>;
|
|
10445
10630
|
}, z.core.$strip>>;
|
|
10446
10631
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10447
|
-
ACTIVE: "ACTIVE";
|
|
10448
|
-
PENDING: "PENDING";
|
|
10449
10632
|
FAILED: "FAILED";
|
|
10633
|
+
PENDING: "PENDING";
|
|
10634
|
+
ACTIVE: "ACTIVE";
|
|
10450
10635
|
}>>;
|
|
10451
10636
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10452
10637
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10680,8 +10865,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
10680
10865
|
}, z.core.$strip>;
|
|
10681
10866
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
10682
10867
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
10683
|
-
FAILED: "FAILED";
|
|
10684
10868
|
UNKNOWN: "UNKNOWN";
|
|
10869
|
+
FAILED: "FAILED";
|
|
10685
10870
|
RUNNING: "RUNNING";
|
|
10686
10871
|
QUEUED: "QUEUED";
|
|
10687
10872
|
PASSED: "PASSED";
|
|
@@ -10694,8 +10879,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
10694
10879
|
checkId: z.ZodString;
|
|
10695
10880
|
check: z.ZodString;
|
|
10696
10881
|
status: z.ZodEnum<{
|
|
10697
|
-
FAILED: "FAILED";
|
|
10698
10882
|
UNKNOWN: "UNKNOWN";
|
|
10883
|
+
FAILED: "FAILED";
|
|
10699
10884
|
RUNNING: "RUNNING";
|
|
10700
10885
|
QUEUED: "QUEUED";
|
|
10701
10886
|
PASSED: "PASSED";
|
|
@@ -10779,8 +10964,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
10779
10964
|
}, z.core.$strip>;
|
|
10780
10965
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
10781
10966
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
10782
|
-
FAILED: "FAILED";
|
|
10783
10967
|
SUCCEEDED: "SUCCEEDED";
|
|
10968
|
+
FAILED: "FAILED";
|
|
10784
10969
|
RUNNING: "RUNNING";
|
|
10785
10970
|
QUEUED: "QUEUED";
|
|
10786
10971
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -10847,8 +11032,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
10847
11032
|
versionId: z.ZodString;
|
|
10848
11033
|
versionNumber: z.ZodNumber;
|
|
10849
11034
|
status: z.ZodEnum<{
|
|
10850
|
-
FAILED: "FAILED";
|
|
10851
11035
|
SUCCEEDED: "SUCCEEDED";
|
|
11036
|
+
FAILED: "FAILED";
|
|
10852
11037
|
RUNNING: "RUNNING";
|
|
10853
11038
|
QUEUED: "QUEUED";
|
|
10854
11039
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -10976,8 +11161,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
10976
11161
|
versionId: z.ZodString;
|
|
10977
11162
|
versionNumber: z.ZodNumber;
|
|
10978
11163
|
status: z.ZodEnum<{
|
|
10979
|
-
FAILED: "FAILED";
|
|
10980
11164
|
SUCCEEDED: "SUCCEEDED";
|
|
11165
|
+
FAILED: "FAILED";
|
|
10981
11166
|
RUNNING: "RUNNING";
|
|
10982
11167
|
QUEUED: "QUEUED";
|
|
10983
11168
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -11526,7 +11711,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11526
11711
|
fulfillment: UnknownFulfillment | {
|
|
11527
11712
|
type: "SHIPPING";
|
|
11528
11713
|
shipping: {
|
|
11529
|
-
deliveryType: "
|
|
11714
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
11530
11715
|
deliveryFee: number;
|
|
11531
11716
|
conditionalFreeAmount: number | null;
|
|
11532
11717
|
shippingAddressId: string | null;
|
|
@@ -11634,7 +11819,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11634
11819
|
fulfillment: UnknownFulfillment | {
|
|
11635
11820
|
type: "SHIPPING";
|
|
11636
11821
|
shipping: {
|
|
11637
|
-
deliveryType: "
|
|
11822
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
11638
11823
|
deliveryFee: number;
|
|
11639
11824
|
conditionalFreeAmount: number | null;
|
|
11640
11825
|
shippingAddressId: string | null;
|
|
@@ -11742,7 +11927,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11742
11927
|
fulfillment: UnknownFulfillment | {
|
|
11743
11928
|
type: "SHIPPING";
|
|
11744
11929
|
shipping: {
|
|
11745
|
-
deliveryType: "
|
|
11930
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
11746
11931
|
deliveryFee: number;
|
|
11747
11932
|
conditionalFreeAmount: number | null;
|
|
11748
11933
|
shippingAddressId: string | null;
|
|
@@ -12124,7 +12309,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12124
12309
|
value: true;
|
|
12125
12310
|
} | {
|
|
12126
12311
|
field: "bestSelling";
|
|
12127
|
-
days:
|
|
12312
|
+
days: 7 | 30 | 90;
|
|
12128
12313
|
top: number;
|
|
12129
12314
|
} | {
|
|
12130
12315
|
[x: string]: unknown;
|
|
@@ -12174,7 +12359,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12174
12359
|
value: true;
|
|
12175
12360
|
} | {
|
|
12176
12361
|
field: "bestSelling";
|
|
12177
|
-
days:
|
|
12362
|
+
days: 7 | 30 | 90;
|
|
12178
12363
|
top: number;
|
|
12179
12364
|
} | {
|
|
12180
12365
|
[x: string]: unknown;
|
|
@@ -12217,7 +12402,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12217
12402
|
value: true;
|
|
12218
12403
|
} | {
|
|
12219
12404
|
field: "bestSelling";
|
|
12220
|
-
days:
|
|
12405
|
+
days: 7 | 30 | 90;
|
|
12221
12406
|
top: number;
|
|
12222
12407
|
} | {
|
|
12223
12408
|
[x: string]: unknown;
|
|
@@ -12259,7 +12444,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12259
12444
|
value: true;
|
|
12260
12445
|
} | {
|
|
12261
12446
|
field: "bestSelling";
|
|
12262
|
-
days:
|
|
12447
|
+
days: 7 | 30 | 90;
|
|
12263
12448
|
top: number;
|
|
12264
12449
|
} | {
|
|
12265
12450
|
[x: string]: unknown;
|
|
@@ -12322,7 +12507,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12322
12507
|
value: true;
|
|
12323
12508
|
} | {
|
|
12324
12509
|
field: "bestSelling";
|
|
12325
|
-
days:
|
|
12510
|
+
days: 7 | 30 | 90;
|
|
12326
12511
|
top: number;
|
|
12327
12512
|
} | {
|
|
12328
12513
|
[x: string]: unknown;
|
|
@@ -12365,7 +12550,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12365
12550
|
value: true;
|
|
12366
12551
|
} | {
|
|
12367
12552
|
field: "bestSelling";
|
|
12368
|
-
days:
|
|
12553
|
+
days: 7 | 30 | 90;
|
|
12369
12554
|
top: number;
|
|
12370
12555
|
} | {
|
|
12371
12556
|
[x: string]: unknown;
|
|
@@ -12756,7 +12941,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12756
12941
|
key: string;
|
|
12757
12942
|
results: {
|
|
12758
12943
|
orderItemId: string;
|
|
12759
|
-
status: "
|
|
12944
|
+
status: "COMPLETED" | "FAILED" | "SKIPPED";
|
|
12760
12945
|
reason?: string | undefined;
|
|
12761
12946
|
message?: string | undefined;
|
|
12762
12947
|
}[];
|
|
@@ -13145,7 +13330,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13145
13330
|
enteredAt: string;
|
|
13146
13331
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13147
13332
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13148
|
-
claimStatus?: "
|
|
13333
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13149
13334
|
message?: string | undefined;
|
|
13150
13335
|
deadlineAt?: string | undefined;
|
|
13151
13336
|
attachments?: string[] | undefined;
|
|
@@ -13210,7 +13395,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13210
13395
|
enteredAt: string;
|
|
13211
13396
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13212
13397
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13213
|
-
claimStatus?: "
|
|
13398
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13214
13399
|
message?: string | undefined;
|
|
13215
13400
|
deadlineAt?: string | undefined;
|
|
13216
13401
|
attachments?: string[] | undefined;
|
|
@@ -13240,7 +13425,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13240
13425
|
enteredAt: string;
|
|
13241
13426
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13242
13427
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13243
|
-
claimStatus?: "
|
|
13428
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13244
13429
|
message?: string | undefined;
|
|
13245
13430
|
deadlineAt?: string | undefined;
|
|
13246
13431
|
attachments?: string[] | undefined;
|
|
@@ -13302,7 +13487,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13302
13487
|
enteredAt: string;
|
|
13303
13488
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13304
13489
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13305
|
-
claimStatus?: "
|
|
13490
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13306
13491
|
message?: string | undefined;
|
|
13307
13492
|
deadlineAt?: string | undefined;
|
|
13308
13493
|
attachments?: string[] | undefined;
|
|
@@ -13364,7 +13549,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13364
13549
|
enteredAt: string;
|
|
13365
13550
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13366
13551
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13367
|
-
claimStatus?: "
|
|
13552
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13368
13553
|
message?: string | undefined;
|
|
13369
13554
|
deadlineAt?: string | undefined;
|
|
13370
13555
|
attachments?: string[] | undefined;
|
|
@@ -13816,7 +14001,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13816
14001
|
claimId: string;
|
|
13817
14002
|
claimNo: string | null;
|
|
13818
14003
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13819
|
-
status: "
|
|
14004
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13820
14005
|
orderId: string;
|
|
13821
14006
|
orderItemId: string;
|
|
13822
14007
|
productName: string;
|
|
@@ -13856,7 +14041,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13856
14041
|
claimId: string;
|
|
13857
14042
|
claimNo: string | null;
|
|
13858
14043
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13859
|
-
status: "
|
|
14044
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13860
14045
|
orderId: string;
|
|
13861
14046
|
orderItemId: string;
|
|
13862
14047
|
productName: string;
|
|
@@ -13891,7 +14076,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13891
14076
|
address2: string | null;
|
|
13892
14077
|
} | null;
|
|
13893
14078
|
histories?: {
|
|
13894
|
-
status: "
|
|
14079
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13895
14080
|
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
13896
14081
|
occurredAt: string;
|
|
13897
14082
|
}[] | undefined;
|
|
@@ -13929,7 +14114,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13929
14114
|
claimId: string;
|
|
13930
14115
|
claimNo: string | null;
|
|
13931
14116
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13932
|
-
status: "
|
|
14117
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13933
14118
|
orderId: string;
|
|
13934
14119
|
orderItemId: string;
|
|
13935
14120
|
productName: string;
|
|
@@ -14853,7 +15038,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14853
15038
|
conversionRate: number | null;
|
|
14854
15039
|
};
|
|
14855
15040
|
funnel: {
|
|
14856
|
-
step: "
|
|
15041
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
14857
15042
|
sessions: number;
|
|
14858
15043
|
rateFromPrevious: number | null;
|
|
14859
15044
|
}[];
|
|
@@ -14907,9 +15092,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14907
15092
|
}>;
|
|
14908
15093
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
14909
15094
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
14910
|
-
groupBy: "
|
|
15095
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
14911
15096
|
rows: {
|
|
14912
|
-
channel: "
|
|
15097
|
+
channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
|
|
14913
15098
|
source: string | null;
|
|
14914
15099
|
medium: string | null;
|
|
14915
15100
|
campaign: string | null;
|
|
@@ -15014,7 +15199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15014
15199
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
15015
15200
|
sessions: number;
|
|
15016
15201
|
outcomes: {
|
|
15017
|
-
outcome: "
|
|
15202
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
15018
15203
|
sessions: number;
|
|
15019
15204
|
}[];
|
|
15020
15205
|
from: string;
|
|
@@ -15044,7 +15229,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15044
15229
|
orderId: string | null;
|
|
15045
15230
|
orderName: string;
|
|
15046
15231
|
customerName: string;
|
|
15047
|
-
status: "
|
|
15232
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
15048
15233
|
amount: number;
|
|
15049
15234
|
refundedAmount: number;
|
|
15050
15235
|
heldRefundAmount: number;
|
|
@@ -15070,7 +15255,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15070
15255
|
orderId: string | null;
|
|
15071
15256
|
orderName: string;
|
|
15072
15257
|
customerName: string;
|
|
15073
|
-
status: "
|
|
15258
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
15074
15259
|
amount: number;
|
|
15075
15260
|
refundedAmount: number;
|
|
15076
15261
|
heldRefundAmount: number;
|
|
@@ -15185,7 +15370,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15185
15370
|
masked: string | null;
|
|
15186
15371
|
}[];
|
|
15187
15372
|
lastVerification: {
|
|
15188
|
-
result: "
|
|
15373
|
+
result: "FAILED" | "SUCCESS";
|
|
15189
15374
|
message: string | null;
|
|
15190
15375
|
checkedAt: string;
|
|
15191
15376
|
} | null;
|
|
@@ -15210,7 +15395,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15210
15395
|
masked: string | null;
|
|
15211
15396
|
}[];
|
|
15212
15397
|
lastVerification: {
|
|
15213
|
-
result: "
|
|
15398
|
+
result: "FAILED" | "SUCCESS";
|
|
15214
15399
|
message: string | null;
|
|
15215
15400
|
checkedAt: string;
|
|
15216
15401
|
} | null;
|
|
@@ -15234,7 +15419,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15234
15419
|
masked: string | null;
|
|
15235
15420
|
}[];
|
|
15236
15421
|
lastVerification: {
|
|
15237
|
-
result: "
|
|
15422
|
+
result: "FAILED" | "SUCCESS";
|
|
15238
15423
|
message: string | null;
|
|
15239
15424
|
checkedAt: string;
|
|
15240
15425
|
} | null;
|
|
@@ -15295,7 +15480,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15295
15480
|
masked: string | null;
|
|
15296
15481
|
}[];
|
|
15297
15482
|
lastVerification: {
|
|
15298
|
-
result: "
|
|
15483
|
+
result: "FAILED" | "SUCCESS";
|
|
15299
15484
|
message: string | null;
|
|
15300
15485
|
checkedAt: string;
|
|
15301
15486
|
} | null;
|
|
@@ -15320,7 +15505,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15320
15505
|
masked: string | null;
|
|
15321
15506
|
}[];
|
|
15322
15507
|
lastVerification: {
|
|
15323
|
-
result: "
|
|
15508
|
+
result: "FAILED" | "SUCCESS";
|
|
15324
15509
|
message: string | null;
|
|
15325
15510
|
checkedAt: string;
|
|
15326
15511
|
} | null;
|
|
@@ -15344,7 +15529,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15344
15529
|
masked: string | null;
|
|
15345
15530
|
}[];
|
|
15346
15531
|
lastVerification: {
|
|
15347
|
-
result: "
|
|
15532
|
+
result: "FAILED" | "SUCCESS";
|
|
15348
15533
|
message: string | null;
|
|
15349
15534
|
checkedAt: string;
|
|
15350
15535
|
} | null;
|
|
@@ -15410,7 +15595,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15410
15595
|
masked: string | null;
|
|
15411
15596
|
}[];
|
|
15412
15597
|
lastVerification: {
|
|
15413
|
-
result: "
|
|
15598
|
+
result: "FAILED" | "SUCCESS";
|
|
15414
15599
|
message: string | null;
|
|
15415
15600
|
checkedAt: string;
|
|
15416
15601
|
} | null;
|
|
@@ -15435,7 +15620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15435
15620
|
masked: string | null;
|
|
15436
15621
|
}[];
|
|
15437
15622
|
lastVerification: {
|
|
15438
|
-
result: "
|
|
15623
|
+
result: "FAILED" | "SUCCESS";
|
|
15439
15624
|
message: string | null;
|
|
15440
15625
|
checkedAt: string;
|
|
15441
15626
|
} | null;
|
|
@@ -15459,7 +15644,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15459
15644
|
masked: string | null;
|
|
15460
15645
|
}[];
|
|
15461
15646
|
lastVerification: {
|
|
15462
|
-
result: "
|
|
15647
|
+
result: "FAILED" | "SUCCESS";
|
|
15463
15648
|
message: string | null;
|
|
15464
15649
|
checkedAt: string;
|
|
15465
15650
|
} | null;
|
|
@@ -15506,7 +15691,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15506
15691
|
masked: string | null;
|
|
15507
15692
|
}[];
|
|
15508
15693
|
lastVerification: {
|
|
15509
|
-
result: "
|
|
15694
|
+
result: "FAILED" | "SUCCESS";
|
|
15510
15695
|
message: string | null;
|
|
15511
15696
|
checkedAt: string;
|
|
15512
15697
|
} | null;
|
|
@@ -15531,7 +15716,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15531
15716
|
masked: string | null;
|
|
15532
15717
|
}[];
|
|
15533
15718
|
lastVerification: {
|
|
15534
|
-
result: "
|
|
15719
|
+
result: "FAILED" | "SUCCESS";
|
|
15535
15720
|
message: string | null;
|
|
15536
15721
|
checkedAt: string;
|
|
15537
15722
|
} | null;
|
|
@@ -15555,7 +15740,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15555
15740
|
masked: string | null;
|
|
15556
15741
|
}[];
|
|
15557
15742
|
lastVerification: {
|
|
15558
|
-
result: "
|
|
15743
|
+
result: "FAILED" | "SUCCESS";
|
|
15559
15744
|
message: string | null;
|
|
15560
15745
|
checkedAt: string;
|
|
15561
15746
|
} | null;
|
|
@@ -15612,7 +15797,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15612
15797
|
masked: string | null;
|
|
15613
15798
|
}[];
|
|
15614
15799
|
lastVerification: {
|
|
15615
|
-
result: "
|
|
15800
|
+
result: "FAILED" | "SUCCESS";
|
|
15616
15801
|
message: string | null;
|
|
15617
15802
|
checkedAt: string;
|
|
15618
15803
|
} | null;
|
|
@@ -15637,7 +15822,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15637
15822
|
masked: string | null;
|
|
15638
15823
|
}[];
|
|
15639
15824
|
lastVerification: {
|
|
15640
|
-
result: "
|
|
15825
|
+
result: "FAILED" | "SUCCESS";
|
|
15641
15826
|
message: string | null;
|
|
15642
15827
|
checkedAt: string;
|
|
15643
15828
|
} | null;
|
|
@@ -15661,7 +15846,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15661
15846
|
masked: string | null;
|
|
15662
15847
|
}[];
|
|
15663
15848
|
lastVerification: {
|
|
15664
|
-
result: "
|
|
15849
|
+
result: "FAILED" | "SUCCESS";
|
|
15665
15850
|
message: string | null;
|
|
15666
15851
|
checkedAt: string;
|
|
15667
15852
|
} | null;
|
|
@@ -15708,7 +15893,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15708
15893
|
masked: string | null;
|
|
15709
15894
|
}[];
|
|
15710
15895
|
lastVerification: {
|
|
15711
|
-
result: "
|
|
15896
|
+
result: "FAILED" | "SUCCESS";
|
|
15712
15897
|
message: string | null;
|
|
15713
15898
|
checkedAt: string;
|
|
15714
15899
|
} | null;
|
|
@@ -15733,7 +15918,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15733
15918
|
masked: string | null;
|
|
15734
15919
|
}[];
|
|
15735
15920
|
lastVerification: {
|
|
15736
|
-
result: "
|
|
15921
|
+
result: "FAILED" | "SUCCESS";
|
|
15737
15922
|
message: string | null;
|
|
15738
15923
|
checkedAt: string;
|
|
15739
15924
|
} | null;
|
|
@@ -15757,7 +15942,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15757
15942
|
masked: string | null;
|
|
15758
15943
|
}[];
|
|
15759
15944
|
lastVerification: {
|
|
15760
|
-
result: "
|
|
15945
|
+
result: "FAILED" | "SUCCESS";
|
|
15761
15946
|
message: string | null;
|
|
15762
15947
|
checkedAt: string;
|
|
15763
15948
|
} | null;
|
|
@@ -15813,7 +15998,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15813
15998
|
masked: string | null;
|
|
15814
15999
|
}[];
|
|
15815
16000
|
lastVerification: {
|
|
15816
|
-
result: "
|
|
16001
|
+
result: "FAILED" | "SUCCESS";
|
|
15817
16002
|
message: string | null;
|
|
15818
16003
|
checkedAt: string;
|
|
15819
16004
|
} | null;
|
|
@@ -15838,7 +16023,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15838
16023
|
masked: string | null;
|
|
15839
16024
|
}[];
|
|
15840
16025
|
lastVerification: {
|
|
15841
|
-
result: "
|
|
16026
|
+
result: "FAILED" | "SUCCESS";
|
|
15842
16027
|
message: string | null;
|
|
15843
16028
|
checkedAt: string;
|
|
15844
16029
|
} | null;
|
|
@@ -15862,7 +16047,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15862
16047
|
masked: string | null;
|
|
15863
16048
|
}[];
|
|
15864
16049
|
lastVerification: {
|
|
15865
|
-
result: "
|
|
16050
|
+
result: "FAILED" | "SUCCESS";
|
|
15866
16051
|
message: string | null;
|
|
15867
16052
|
checkedAt: string;
|
|
15868
16053
|
} | null;
|
|
@@ -15890,7 +16075,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15890
16075
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
15891
16076
|
provider: "tosspayments" | "portone";
|
|
15892
16077
|
environment: "TEST" | "LIVE";
|
|
15893
|
-
result: "
|
|
16078
|
+
result: "FAILED" | "SUCCESS";
|
|
15894
16079
|
message: string | null;
|
|
15895
16080
|
checkedAt: string;
|
|
15896
16081
|
}>;
|
|
@@ -15908,6 +16093,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15908
16093
|
developerName: string;
|
|
15909
16094
|
versionNumber: number;
|
|
15910
16095
|
installationId: string | null;
|
|
16096
|
+
visibility: "PUBLIC" | "DEVELOPMENT" | "PRIVATE";
|
|
15911
16097
|
}[]>;
|
|
15912
16098
|
get: (appId: string) => Promise<{
|
|
15913
16099
|
appId: string;
|
|
@@ -15918,11 +16104,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15918
16104
|
developerName: string;
|
|
15919
16105
|
versionNumber: number;
|
|
15920
16106
|
installationId: string | null;
|
|
16107
|
+
visibility: "PUBLIC" | "DEVELOPMENT" | "PRIVATE";
|
|
15921
16108
|
readme: string | null;
|
|
15922
16109
|
supportEmail: string | null;
|
|
15923
16110
|
scopes: string[];
|
|
15924
16111
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
15925
16112
|
networkHosts: string[];
|
|
16113
|
+
publicHttp: string[];
|
|
16114
|
+
schedules: {
|
|
16115
|
+
name: string;
|
|
16116
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16117
|
+
}[];
|
|
15926
16118
|
settings: Record<string, {
|
|
15927
16119
|
type: "string" | "number" | "boolean" | "select";
|
|
15928
16120
|
label: string;
|
|
@@ -15967,6 +16159,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15967
16159
|
grantedNetworkHosts: string[];
|
|
15968
16160
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
15969
16161
|
adminPage: boolean;
|
|
16162
|
+
publicHttp: string[];
|
|
16163
|
+
schedules: {
|
|
16164
|
+
name: string;
|
|
16165
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16166
|
+
}[];
|
|
15970
16167
|
settings: {
|
|
15971
16168
|
fields: Record<string, {
|
|
15972
16169
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -15996,6 +16193,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15996
16193
|
scopes: string[];
|
|
15997
16194
|
networkHosts: string[];
|
|
15998
16195
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16196
|
+
publicHttp: string[];
|
|
16197
|
+
schedules: {
|
|
16198
|
+
name: string;
|
|
16199
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16200
|
+
}[];
|
|
15999
16201
|
} | null | undefined;
|
|
16000
16202
|
}>;
|
|
16001
16203
|
list: () => Promise<{
|
|
@@ -16020,6 +16222,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16020
16222
|
grantedNetworkHosts: string[];
|
|
16021
16223
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16022
16224
|
adminPage: boolean;
|
|
16225
|
+
publicHttp: string[];
|
|
16226
|
+
schedules: {
|
|
16227
|
+
name: string;
|
|
16228
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16229
|
+
}[];
|
|
16023
16230
|
settings: {
|
|
16024
16231
|
fields: Record<string, {
|
|
16025
16232
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16049,6 +16256,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16049
16256
|
scopes: string[];
|
|
16050
16257
|
networkHosts: string[];
|
|
16051
16258
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16259
|
+
publicHttp: string[];
|
|
16260
|
+
schedules: {
|
|
16261
|
+
name: string;
|
|
16262
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16263
|
+
}[];
|
|
16052
16264
|
} | null | undefined;
|
|
16053
16265
|
}[]>;
|
|
16054
16266
|
get: (installationId: string) => Promise<{
|
|
@@ -16073,6 +16285,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16073
16285
|
grantedNetworkHosts: string[];
|
|
16074
16286
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16075
16287
|
adminPage: boolean;
|
|
16288
|
+
publicHttp: string[];
|
|
16289
|
+
schedules: {
|
|
16290
|
+
name: string;
|
|
16291
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16292
|
+
}[];
|
|
16076
16293
|
settings: {
|
|
16077
16294
|
fields: Record<string, {
|
|
16078
16295
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16102,6 +16319,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16102
16319
|
scopes: string[];
|
|
16103
16320
|
networkHosts: string[];
|
|
16104
16321
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16322
|
+
publicHttp: string[];
|
|
16323
|
+
schedules: {
|
|
16324
|
+
name: string;
|
|
16325
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16326
|
+
}[];
|
|
16105
16327
|
} | null | undefined;
|
|
16106
16328
|
}>;
|
|
16107
16329
|
/** 비밀 필드를 생략하면 현재 값을 유지한다. null은 비운다 */
|
|
@@ -16127,6 +16349,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16127
16349
|
grantedNetworkHosts: string[];
|
|
16128
16350
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16129
16351
|
adminPage: boolean;
|
|
16352
|
+
publicHttp: string[];
|
|
16353
|
+
schedules: {
|
|
16354
|
+
name: string;
|
|
16355
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16356
|
+
}[];
|
|
16130
16357
|
settings: {
|
|
16131
16358
|
fields: Record<string, {
|
|
16132
16359
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16156,6 +16383,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16156
16383
|
scopes: string[];
|
|
16157
16384
|
networkHosts: string[];
|
|
16158
16385
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16386
|
+
publicHttp: string[];
|
|
16387
|
+
schedules: {
|
|
16388
|
+
name: string;
|
|
16389
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16390
|
+
}[];
|
|
16159
16391
|
} | null | undefined;
|
|
16160
16392
|
}>;
|
|
16161
16393
|
remove: (installationId: string) => Promise<void>;
|
|
@@ -16164,7 +16396,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16164
16396
|
runs: {
|
|
16165
16397
|
deliveryId: string;
|
|
16166
16398
|
eventType: string;
|
|
16167
|
-
status: "
|
|
16399
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
16168
16400
|
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;
|
|
16169
16401
|
attemptCount: number;
|
|
16170
16402
|
createdAt: string;
|
|
@@ -16196,6 +16428,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16196
16428
|
grantedNetworkHosts: string[];
|
|
16197
16429
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16198
16430
|
adminPage: boolean;
|
|
16431
|
+
publicHttp: string[];
|
|
16432
|
+
schedules: {
|
|
16433
|
+
name: string;
|
|
16434
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16435
|
+
}[];
|
|
16199
16436
|
settings: {
|
|
16200
16437
|
fields: Record<string, {
|
|
16201
16438
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16225,6 +16462,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16225
16462
|
scopes: string[];
|
|
16226
16463
|
networkHosts: string[];
|
|
16227
16464
|
events: ("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" | "APP.INSTALLED" | "APP.UNINSTALLED" | "APP.SETTINGS_UPDATED" | "APP.SCOPES_UPDATED" | "APP.STORE_REDACT" | "APP.CUSTOMER_REDACT")[];
|
|
16465
|
+
publicHttp: string[];
|
|
16466
|
+
schedules: {
|
|
16467
|
+
name: string;
|
|
16468
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16469
|
+
}[];
|
|
16228
16470
|
} | null | undefined;
|
|
16229
16471
|
}>;
|
|
16230
16472
|
/** 앱 화면 iframe에 넘길 세션 토큰(5분) */
|
|
@@ -16246,6 +16488,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16246
16488
|
grantedScopes: string[];
|
|
16247
16489
|
installedAt: string;
|
|
16248
16490
|
}>;
|
|
16491
|
+
/** 설치 저장소(`ctx.storage`) — 없는 키는 404 `APP_STORAGE_KEY_NOT_FOUND`, 한도 초과는 409 `APP_STORAGE_LIMIT` */
|
|
16492
|
+
storage: {
|
|
16493
|
+
list: (params?: {
|
|
16494
|
+
prefix?: string;
|
|
16495
|
+
}) => Promise<{
|
|
16496
|
+
keys: string[];
|
|
16497
|
+
}>;
|
|
16498
|
+
get: (key: string) => Promise<{
|
|
16499
|
+
key: string;
|
|
16500
|
+
value: unknown;
|
|
16501
|
+
updatedAt: string;
|
|
16502
|
+
}>;
|
|
16503
|
+
set: (key: string, value: unknown) => Promise<{
|
|
16504
|
+
key: string;
|
|
16505
|
+
value: unknown;
|
|
16506
|
+
updatedAt: string;
|
|
16507
|
+
}>;
|
|
16508
|
+
delete: (key: string) => Promise<void>;
|
|
16509
|
+
};
|
|
16249
16510
|
};
|
|
16250
16511
|
webhooks: {
|
|
16251
16512
|
list: () => Promise<{
|
|
@@ -16308,7 +16569,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16308
16569
|
eventId: string;
|
|
16309
16570
|
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";
|
|
16310
16571
|
url: string;
|
|
16311
|
-
status: "
|
|
16572
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
16312
16573
|
responseStatusCode: number | null;
|
|
16313
16574
|
responseTimeMs: number | null;
|
|
16314
16575
|
responseBodyExcerpt: string | null;
|
|
@@ -16335,7 +16596,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16335
16596
|
eventId: string;
|
|
16336
16597
|
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";
|
|
16337
16598
|
url: string;
|
|
16338
|
-
status: "
|
|
16599
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
16339
16600
|
responseStatusCode: number | null;
|
|
16340
16601
|
responseTimeMs: number | null;
|
|
16341
16602
|
responseBodyExcerpt: string | null;
|
|
@@ -16370,7 +16631,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16370
16631
|
eventId: string;
|
|
16371
16632
|
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";
|
|
16372
16633
|
url: string;
|
|
16373
|
-
status: "
|
|
16634
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
16374
16635
|
responseStatusCode: number | null;
|
|
16375
16636
|
responseTimeMs: number | null;
|
|
16376
16637
|
responseBodyExcerpt: string | null;
|
|
@@ -16466,7 +16727,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16466
16727
|
method: string | null;
|
|
16467
16728
|
path: string | null;
|
|
16468
16729
|
statusCode: number | null;
|
|
16469
|
-
outcome: "
|
|
16730
|
+
outcome: "SUCCEEDED" | "FAILED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
16470
16731
|
errorCode: string | null;
|
|
16471
16732
|
traceId: string | null;
|
|
16472
16733
|
idempotencyKey: string | null;
|
|
@@ -16484,7 +16745,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16484
16745
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
16485
16746
|
items: {
|
|
16486
16747
|
approvalId: string;
|
|
16487
|
-
status: "
|
|
16748
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16488
16749
|
operationId: string;
|
|
16489
16750
|
method: string;
|
|
16490
16751
|
path: string;
|
|
@@ -16536,7 +16797,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16536
16797
|
}>;
|
|
16537
16798
|
get: (approvalId: string) => Promise<{
|
|
16538
16799
|
approvalId: string;
|
|
16539
|
-
status: "
|
|
16800
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16540
16801
|
operationId: string;
|
|
16541
16802
|
method: string;
|
|
16542
16803
|
path: string;
|
|
@@ -16590,7 +16851,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16590
16851
|
*/
|
|
16591
16852
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16592
16853
|
approvalId: string;
|
|
16593
|
-
status: "
|
|
16854
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16594
16855
|
operationId: string;
|
|
16595
16856
|
method: string;
|
|
16596
16857
|
path: string;
|
|
@@ -16640,7 +16901,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16640
16901
|
}>;
|
|
16641
16902
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16642
16903
|
approvalId: string;
|
|
16643
|
-
status: "
|
|
16904
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16644
16905
|
operationId: string;
|
|
16645
16906
|
method: string;
|
|
16646
16907
|
path: string;
|
|
@@ -16863,7 +17124,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16863
17124
|
createdVia?: string | null | undefined;
|
|
16864
17125
|
} | null;
|
|
16865
17126
|
provisioning: {
|
|
16866
|
-
status: "
|
|
17127
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
16867
17128
|
lastErrorCode: string | null;
|
|
16868
17129
|
syncedAt: string | null;
|
|
16869
17130
|
};
|
|
@@ -16926,7 +17187,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16926
17187
|
createdVia?: string | null | undefined;
|
|
16927
17188
|
} | null;
|
|
16928
17189
|
provisioning: {
|
|
16929
|
-
status: "
|
|
17190
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
16930
17191
|
lastErrorCode: string | null;
|
|
16931
17192
|
syncedAt: string | null;
|
|
16932
17193
|
};
|
|
@@ -16949,13 +17210,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16949
17210
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
16950
17211
|
getDeployment: () => Promise<{
|
|
16951
17212
|
siteId: string;
|
|
16952
|
-
status: "
|
|
17213
|
+
status: "IN_PROGRESS" | "SUCCEEDED" | "FAILED";
|
|
16953
17214
|
url: string;
|
|
16954
17215
|
startedAt: string;
|
|
16955
17216
|
finishedAt: string | null;
|
|
16956
17217
|
steps: {
|
|
16957
17218
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
16958
|
-
status: "
|
|
17219
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
16959
17220
|
finishedAt: string | null;
|
|
16960
17221
|
}[];
|
|
16961
17222
|
log: {
|
|
@@ -16971,13 +17232,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16971
17232
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
16972
17233
|
retryDeployment: () => Promise<{
|
|
16973
17234
|
siteId: string;
|
|
16974
|
-
status: "
|
|
17235
|
+
status: "IN_PROGRESS" | "SUCCEEDED" | "FAILED";
|
|
16975
17236
|
url: string;
|
|
16976
17237
|
startedAt: string;
|
|
16977
17238
|
finishedAt: string | null;
|
|
16978
17239
|
steps: {
|
|
16979
17240
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
16980
|
-
status: "
|
|
17241
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
16981
17242
|
finishedAt: string | null;
|
|
16982
17243
|
}[];
|
|
16983
17244
|
log: {
|
|
@@ -17027,7 +17288,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17027
17288
|
createdVia?: string | null | undefined;
|
|
17028
17289
|
} | null;
|
|
17029
17290
|
provisioning: {
|
|
17030
|
-
status: "
|
|
17291
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17031
17292
|
lastErrorCode: string | null;
|
|
17032
17293
|
syncedAt: string | null;
|
|
17033
17294
|
};
|
|
@@ -17096,7 +17357,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17096
17357
|
createdVia?: string | null | undefined;
|
|
17097
17358
|
} | null;
|
|
17098
17359
|
provisioning: {
|
|
17099
|
-
status: "
|
|
17360
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17100
17361
|
lastErrorCode: string | null;
|
|
17101
17362
|
syncedAt: string | null;
|
|
17102
17363
|
};
|
|
@@ -17149,7 +17410,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17149
17410
|
createdVia?: string | null | undefined;
|
|
17150
17411
|
} | null;
|
|
17151
17412
|
provisioning: {
|
|
17152
|
-
status: "
|
|
17413
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17153
17414
|
lastErrorCode: string | null;
|
|
17154
17415
|
syncedAt: string | null;
|
|
17155
17416
|
};
|
|
@@ -17202,7 +17463,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17202
17463
|
createdVia?: string | null | undefined;
|
|
17203
17464
|
} | null;
|
|
17204
17465
|
provisioning: {
|
|
17205
|
-
status: "
|
|
17466
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17206
17467
|
lastErrorCode: string | null;
|
|
17207
17468
|
syncedAt: string | null;
|
|
17208
17469
|
};
|
|
@@ -17255,7 +17516,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17255
17516
|
createdVia?: string | null | undefined;
|
|
17256
17517
|
} | null;
|
|
17257
17518
|
provisioning: {
|
|
17258
|
-
status: "
|
|
17519
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17259
17520
|
lastErrorCode: string | null;
|
|
17260
17521
|
syncedAt: string | null;
|
|
17261
17522
|
};
|
|
@@ -17292,7 +17553,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17292
17553
|
domainId: string;
|
|
17293
17554
|
hostname: string;
|
|
17294
17555
|
kind: "PLATFORM" | "CUSTOM";
|
|
17295
|
-
status: "
|
|
17556
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17296
17557
|
isPrimary: boolean;
|
|
17297
17558
|
dnsRecords: {
|
|
17298
17559
|
type: "CNAME" | "TXT";
|
|
@@ -17300,7 +17561,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17300
17561
|
value: string;
|
|
17301
17562
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17302
17563
|
}[];
|
|
17303
|
-
certificateStatus: "
|
|
17564
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17304
17565
|
failureCode: string | null;
|
|
17305
17566
|
verifiedAt: string | null;
|
|
17306
17567
|
activatedAt: string | null;
|
|
@@ -17316,7 +17577,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17316
17577
|
domainId: string;
|
|
17317
17578
|
hostname: string;
|
|
17318
17579
|
kind: "PLATFORM" | "CUSTOM";
|
|
17319
|
-
status: "
|
|
17580
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17320
17581
|
isPrimary: boolean;
|
|
17321
17582
|
dnsRecords: {
|
|
17322
17583
|
type: "CNAME" | "TXT";
|
|
@@ -17324,7 +17585,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17324
17585
|
value: string;
|
|
17325
17586
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17326
17587
|
}[];
|
|
17327
|
-
certificateStatus: "
|
|
17588
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17328
17589
|
failureCode: string | null;
|
|
17329
17590
|
verifiedAt: string | null;
|
|
17330
17591
|
activatedAt: string | null;
|
|
@@ -17336,7 +17597,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17336
17597
|
domainId: string;
|
|
17337
17598
|
hostname: string;
|
|
17338
17599
|
kind: "PLATFORM" | "CUSTOM";
|
|
17339
|
-
status: "
|
|
17600
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17340
17601
|
isPrimary: boolean;
|
|
17341
17602
|
dnsRecords: {
|
|
17342
17603
|
type: "CNAME" | "TXT";
|
|
@@ -17344,7 +17605,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17344
17605
|
value: string;
|
|
17345
17606
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17346
17607
|
}[];
|
|
17347
|
-
certificateStatus: "
|
|
17608
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17348
17609
|
failureCode: string | null;
|
|
17349
17610
|
verifiedAt: string | null;
|
|
17350
17611
|
activatedAt: string | null;
|
|
@@ -17360,7 +17621,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17360
17621
|
domainId: string;
|
|
17361
17622
|
hostname: string;
|
|
17362
17623
|
kind: "PLATFORM" | "CUSTOM";
|
|
17363
|
-
status: "
|
|
17624
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17364
17625
|
isPrimary: boolean;
|
|
17365
17626
|
dnsRecords: {
|
|
17366
17627
|
type: "CNAME" | "TXT";
|
|
@@ -17368,7 +17629,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17368
17629
|
value: string;
|
|
17369
17630
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17370
17631
|
}[];
|
|
17371
|
-
certificateStatus: "
|
|
17632
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17372
17633
|
failureCode: string | null;
|
|
17373
17634
|
verifiedAt: string | null;
|
|
17374
17635
|
activatedAt: string | null;
|
|
@@ -17411,7 +17672,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17411
17672
|
createdVia?: string | null | undefined;
|
|
17412
17673
|
} | null;
|
|
17413
17674
|
provisioning: {
|
|
17414
|
-
status: "
|
|
17675
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17415
17676
|
lastErrorCode: string | null;
|
|
17416
17677
|
syncedAt: string | null;
|
|
17417
17678
|
};
|
|
@@ -17576,7 +17837,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17576
17837
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
17577
17838
|
checkId: string;
|
|
17578
17839
|
check: string;
|
|
17579
|
-
status: "
|
|
17840
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17580
17841
|
exitCode: number | null;
|
|
17581
17842
|
durationMs: number | null;
|
|
17582
17843
|
outputTail: string | null;
|
|
@@ -17590,7 +17851,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17590
17851
|
getCheck: (checkId: string) => Promise<{
|
|
17591
17852
|
checkId: string;
|
|
17592
17853
|
check: string;
|
|
17593
|
-
status: "
|
|
17854
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17594
17855
|
exitCode: number | null;
|
|
17595
17856
|
durationMs: number | null;
|
|
17596
17857
|
outputTail: string | null;
|
|
@@ -17657,7 +17918,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17657
17918
|
buildId: string;
|
|
17658
17919
|
versionId: string;
|
|
17659
17920
|
versionNumber: number;
|
|
17660
|
-
status: "
|
|
17921
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17661
17922
|
failureStage: string | null;
|
|
17662
17923
|
errorCode: string | null;
|
|
17663
17924
|
logTail: string | null;
|
|
@@ -17738,7 +17999,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17738
17999
|
buildId: string;
|
|
17739
18000
|
versionId: string;
|
|
17740
18001
|
versionNumber: number;
|
|
17741
|
-
status: "
|
|
18002
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17742
18003
|
failureStage: string | null;
|
|
17743
18004
|
errorCode: string | null;
|
|
17744
18005
|
logTail: string | null;
|
|
@@ -17816,7 +18077,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17816
18077
|
buildId: string;
|
|
17817
18078
|
versionId: string;
|
|
17818
18079
|
versionNumber: number;
|
|
17819
|
-
status: "
|
|
18080
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17820
18081
|
failureStage: string | null;
|
|
17821
18082
|
errorCode: string | null;
|
|
17822
18083
|
logTail: string | null;
|
|
@@ -19139,10 +19400,10 @@ export declare const storeIndustrySchema: z.ZodEnum<{
|
|
|
19139
19400
|
export type StoreIndustry = z.infer<typeof storeIndustrySchema>;
|
|
19140
19401
|
/** 상품 자료 — 인터뷰의 「상품 자료」 답. 상품 등록 단계의 방법을 고른다 */
|
|
19141
19402
|
export declare const brandBriefProductSourceSchema: z.ZodEnum<{
|
|
19142
|
-
NONE: "NONE";
|
|
19143
19403
|
SPREADSHEET: "SPREADSHEET";
|
|
19144
19404
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19145
19405
|
PHOTOS: "PHOTOS";
|
|
19406
|
+
NONE: "NONE";
|
|
19146
19407
|
}>;
|
|
19147
19408
|
export type BrandBriefProductSource = z.infer<typeof brandBriefProductSourceSchema>;
|
|
19148
19409
|
export declare const BRAND_BRIEF_MAX_REFERENCES = 5;
|
|
@@ -19167,10 +19428,10 @@ export declare const brandBriefSchema: z.ZodObject<{
|
|
|
19167
19428
|
summary: z.ZodString;
|
|
19168
19429
|
}, z.core.$strip>>;
|
|
19169
19430
|
productSource: z.ZodNullable<z.ZodEnum<{
|
|
19170
|
-
NONE: "NONE";
|
|
19171
19431
|
SPREADSHEET: "SPREADSHEET";
|
|
19172
19432
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19173
19433
|
PHOTOS: "PHOTOS";
|
|
19434
|
+
NONE: "NONE";
|
|
19174
19435
|
}>>;
|
|
19175
19436
|
notes: z.ZodNullable<z.ZodString>;
|
|
19176
19437
|
}, z.core.$strip>;
|
|
@@ -19190,10 +19451,10 @@ export declare const putBrandBriefRequestSchema: z.ZodObject<{
|
|
|
19190
19451
|
summary: z.ZodString;
|
|
19191
19452
|
}, z.core.$strip>>>;
|
|
19192
19453
|
productSource: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
19193
|
-
NONE: "NONE";
|
|
19194
19454
|
SPREADSHEET: "SPREADSHEET";
|
|
19195
19455
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19196
19456
|
PHOTOS: "PHOTOS";
|
|
19457
|
+
NONE: "NONE";
|
|
19197
19458
|
}>>>;
|
|
19198
19459
|
notes: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19199
19460
|
}, z.core.$strip>;
|
|
@@ -19214,10 +19475,10 @@ export declare const brandBriefViewSchema: z.ZodObject<{
|
|
|
19214
19475
|
summary: z.ZodString;
|
|
19215
19476
|
}, z.core.$strip>>;
|
|
19216
19477
|
productSource: z.ZodNullable<z.ZodEnum<{
|
|
19217
|
-
NONE: "NONE";
|
|
19218
19478
|
SPREADSHEET: "SPREADSHEET";
|
|
19219
19479
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19220
19480
|
PHOTOS: "PHOTOS";
|
|
19481
|
+
NONE: "NONE";
|
|
19221
19482
|
}>>;
|
|
19222
19483
|
notes: z.ZodNullable<z.ZodString>;
|
|
19223
19484
|
}, z.core.$strip>>;
|