@sayren/store-sdk 0.30.10 → 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 +637 -193
- package/dist/index.mjs +2534 -2369
- package/package.json +1 -1
- package/src/client.ts +31 -0
- package/src/schemas/app-manifest.ts +101 -1
- package/src/schemas/apps.ts +122 -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";
|
|
@@ -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;
|
|
@@ -2504,6 +2569,49 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2504
2569
|
}>;
|
|
2505
2570
|
versionNumber: z.ZodNumber;
|
|
2506
2571
|
pendingVersionNumber: z.ZodNullable<z.ZodNumber>;
|
|
2572
|
+
pendingVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2573
|
+
number: z.ZodNumber;
|
|
2574
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
2575
|
+
networkHosts: z.ZodArray<z.ZodString>;
|
|
2576
|
+
events: z.ZodArray<z.ZodEnum<{
|
|
2577
|
+
"ORDER.PAID": "ORDER.PAID";
|
|
2578
|
+
"ORDER.CONFIRMED": "ORDER.CONFIRMED";
|
|
2579
|
+
"ORDER.DISPATCHED": "ORDER.DISPATCHED";
|
|
2580
|
+
"ORDER.DELIVERED": "ORDER.DELIVERED";
|
|
2581
|
+
"ORDER.PURCHASE_DECIDED": "ORDER.PURCHASE_DECIDED";
|
|
2582
|
+
"ORDER.ADDRESS_CHANGE_REQUESTED": "ORDER.ADDRESS_CHANGE_REQUESTED";
|
|
2583
|
+
"ORDER.CANCELED": "ORDER.CANCELED";
|
|
2584
|
+
"ORDER.FULFILLED": "ORDER.FULFILLED";
|
|
2585
|
+
"CLAIM.CANCEL_REQUESTED": "CLAIM.CANCEL_REQUESTED";
|
|
2586
|
+
"CLAIM.RETURN_REQUESTED": "CLAIM.RETURN_REQUESTED";
|
|
2587
|
+
"CLAIM.EXCHANGE_REQUESTED": "CLAIM.EXCHANGE_REQUESTED";
|
|
2588
|
+
"CLAIM.COMPLETED": "CLAIM.COMPLETED";
|
|
2589
|
+
"INQUIRY.CREATED": "INQUIRY.CREATED";
|
|
2590
|
+
"REVIEW.CREATED": "REVIEW.CREATED";
|
|
2591
|
+
"PRODUCT.OUT_OF_STOCK": "PRODUCT.OUT_OF_STOCK";
|
|
2592
|
+
"ORDER.FLOW_NOTIFICATION": "ORDER.FLOW_NOTIFICATION";
|
|
2593
|
+
"ORDER.FLOW_STATE_CHANGED": "ORDER.FLOW_STATE_CHANGED";
|
|
2594
|
+
"APP.INSTALLED": "APP.INSTALLED";
|
|
2595
|
+
"APP.UNINSTALLED": "APP.UNINSTALLED";
|
|
2596
|
+
"APP.SETTINGS_UPDATED": "APP.SETTINGS_UPDATED";
|
|
2597
|
+
"APP.SCOPES_UPDATED": "APP.SCOPES_UPDATED";
|
|
2598
|
+
"APP.STORE_REDACT": "APP.STORE_REDACT";
|
|
2599
|
+
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
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>>>;
|
|
2614
|
+
}, z.core.$strip>>>;
|
|
2507
2615
|
grantedScopes: z.ZodArray<z.ZodString>;
|
|
2508
2616
|
grantedNetworkHosts: z.ZodArray<z.ZodString>;
|
|
2509
2617
|
events: z.ZodArray<z.ZodEnum<{
|
|
@@ -2532,6 +2640,19 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2532
2640
|
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
2533
2641
|
}>>;
|
|
2534
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>>>;
|
|
2535
2656
|
settings: z.ZodObject<{
|
|
2536
2657
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2537
2658
|
type: z.ZodEnum<{
|
|
@@ -2563,6 +2684,67 @@ export declare const appInstallationSchema: z.ZodObject<{
|
|
|
2563
2684
|
updatedAt: z.ZodString;
|
|
2564
2685
|
}, z.core.$strip>;
|
|
2565
2686
|
export type AppInstallation = z.infer<typeof appInstallationSchema>;
|
|
2687
|
+
/** 실행 기록 한 줄 — 앱에 보낸 이벤트 하나의 전송 결과. 로그 본문은 개발자만 본다(매뉴얼 「앱 설치와 관리」) */
|
|
2688
|
+
export declare const appInstallationRunSchema: z.ZodObject<{
|
|
2689
|
+
deliveryId: z.ZodString;
|
|
2690
|
+
eventType: z.ZodString;
|
|
2691
|
+
status: z.ZodEnum<{
|
|
2692
|
+
FAILED: "FAILED";
|
|
2693
|
+
PENDING: "PENDING";
|
|
2694
|
+
PENDING_RETRY: "PENDING_RETRY";
|
|
2695
|
+
SUCCESS: "SUCCESS";
|
|
2696
|
+
}>;
|
|
2697
|
+
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
2698
|
+
TIMEOUT: "TIMEOUT";
|
|
2699
|
+
CONNECTION_FAILED: "CONNECTION_FAILED";
|
|
2700
|
+
BLOCKED_ADDRESS: "BLOCKED_ADDRESS";
|
|
2701
|
+
NON_2XX: "NON_2XX";
|
|
2702
|
+
WEBHOOK_SUSPENDED: "WEBHOOK_SUSPENDED";
|
|
2703
|
+
APP_ERROR: "APP_ERROR";
|
|
2704
|
+
APP_LIMIT_EXCEEDED: "APP_LIMIT_EXCEEDED";
|
|
2705
|
+
APP_REJECTED: "APP_REJECTED";
|
|
2706
|
+
APP_UNCONFIGURED: "APP_UNCONFIGURED";
|
|
2707
|
+
APP_INACTIVE: "APP_INACTIVE";
|
|
2708
|
+
APP_RUNNER_UNAVAILABLE: "APP_RUNNER_UNAVAILABLE";
|
|
2709
|
+
}>>;
|
|
2710
|
+
attemptCount: z.ZodNumber;
|
|
2711
|
+
createdAt: z.ZodString;
|
|
2712
|
+
attemptedAt: z.ZodNullable<z.ZodString>;
|
|
2713
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
2714
|
+
}, z.core.$strip>;
|
|
2715
|
+
export type AppInstallationRun = z.infer<typeof appInstallationRunSchema>;
|
|
2716
|
+
/** `GET /v1/apps/installations/{id}/activity` — 최근 이벤트 전송 결과(50건)와 최근 7일 관리 API 호출 수 */
|
|
2717
|
+
export declare const appInstallationActivitySchema: z.ZodObject<{
|
|
2718
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
2719
|
+
deliveryId: z.ZodString;
|
|
2720
|
+
eventType: z.ZodString;
|
|
2721
|
+
status: z.ZodEnum<{
|
|
2722
|
+
FAILED: "FAILED";
|
|
2723
|
+
PENDING: "PENDING";
|
|
2724
|
+
PENDING_RETRY: "PENDING_RETRY";
|
|
2725
|
+
SUCCESS: "SUCCESS";
|
|
2726
|
+
}>;
|
|
2727
|
+
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
2728
|
+
TIMEOUT: "TIMEOUT";
|
|
2729
|
+
CONNECTION_FAILED: "CONNECTION_FAILED";
|
|
2730
|
+
BLOCKED_ADDRESS: "BLOCKED_ADDRESS";
|
|
2731
|
+
NON_2XX: "NON_2XX";
|
|
2732
|
+
WEBHOOK_SUSPENDED: "WEBHOOK_SUSPENDED";
|
|
2733
|
+
APP_ERROR: "APP_ERROR";
|
|
2734
|
+
APP_LIMIT_EXCEEDED: "APP_LIMIT_EXCEEDED";
|
|
2735
|
+
APP_REJECTED: "APP_REJECTED";
|
|
2736
|
+
APP_UNCONFIGURED: "APP_UNCONFIGURED";
|
|
2737
|
+
APP_INACTIVE: "APP_INACTIVE";
|
|
2738
|
+
APP_RUNNER_UNAVAILABLE: "APP_RUNNER_UNAVAILABLE";
|
|
2739
|
+
}>>;
|
|
2740
|
+
attemptCount: z.ZodNumber;
|
|
2741
|
+
createdAt: z.ZodString;
|
|
2742
|
+
attemptedAt: z.ZodNullable<z.ZodString>;
|
|
2743
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
2744
|
+
}, z.core.$strip>>;
|
|
2745
|
+
apiCalls7d: z.ZodNumber;
|
|
2746
|
+
}, z.core.$strip>;
|
|
2747
|
+
export type AppInstallationActivity = z.infer<typeof appInstallationActivitySchema>;
|
|
2566
2748
|
/**
|
|
2567
2749
|
* `POST /v1/apps/installations`(상점 플랫폼 전용) — 둘 중 하나다.
|
|
2568
2750
|
* - `{ result }`: accounts 설치 동의 결과(1회용 JWT). 개발자 포털 [내 상점에 설치]가 이 길로 온다
|
|
@@ -2592,6 +2774,11 @@ export declare const storeAppSchema: z.ZodObject<{
|
|
|
2592
2774
|
developerName: z.ZodString;
|
|
2593
2775
|
versionNumber: z.ZodNumber;
|
|
2594
2776
|
installationId: z.ZodNullable<z.ZodString>;
|
|
2777
|
+
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2778
|
+
PUBLIC: "PUBLIC";
|
|
2779
|
+
DEVELOPMENT: "DEVELOPMENT";
|
|
2780
|
+
PRIVATE: "PRIVATE";
|
|
2781
|
+
}>>;
|
|
2595
2782
|
}, z.core.$strip>;
|
|
2596
2783
|
export type StoreApp = z.infer<typeof storeAppSchema>;
|
|
2597
2784
|
/** `GET /v1/apps/catalog/{appId}` — 앱 상세·설치 화면 */
|
|
@@ -2604,6 +2791,11 @@ export declare const storeAppDetailSchema: z.ZodObject<{
|
|
|
2604
2791
|
developerName: z.ZodString;
|
|
2605
2792
|
versionNumber: z.ZodNumber;
|
|
2606
2793
|
installationId: z.ZodNullable<z.ZodString>;
|
|
2794
|
+
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2795
|
+
PUBLIC: "PUBLIC";
|
|
2796
|
+
DEVELOPMENT: "DEVELOPMENT";
|
|
2797
|
+
PRIVATE: "PRIVATE";
|
|
2798
|
+
}>>;
|
|
2607
2799
|
readme: z.ZodNullable<z.ZodString>;
|
|
2608
2800
|
supportEmail: z.ZodNullable<z.ZodString>;
|
|
2609
2801
|
scopes: z.ZodArray<z.ZodString>;
|
|
@@ -2633,6 +2825,19 @@ export declare const storeAppDetailSchema: z.ZodObject<{
|
|
|
2633
2825
|
"APP.CUSTOMER_REDACT": "APP.CUSTOMER_REDACT";
|
|
2634
2826
|
}>>;
|
|
2635
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>>>;
|
|
2636
2841
|
settings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2637
2842
|
type: z.ZodEnum<{
|
|
2638
2843
|
string: "string";
|
|
@@ -2671,6 +2876,28 @@ export declare const appInstallationSelfSchema: z.ZodObject<{
|
|
|
2671
2876
|
installedAt: z.ZodString;
|
|
2672
2877
|
}, z.core.$strip>;
|
|
2673
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>;
|
|
2674
2901
|
export declare const developerOrgSchema: z.ZodObject<{
|
|
2675
2902
|
orgId: z.ZodString;
|
|
2676
2903
|
name: z.ZodString;
|
|
@@ -2701,8 +2928,8 @@ export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
|
|
|
2701
2928
|
export declare const appBuildSchema: z.ZodObject<{
|
|
2702
2929
|
buildId: z.ZodString;
|
|
2703
2930
|
status: z.ZodEnum<{
|
|
2704
|
-
FAILED: "FAILED";
|
|
2705
2931
|
SUCCEEDED: "SUCCEEDED";
|
|
2932
|
+
FAILED: "FAILED";
|
|
2706
2933
|
RUNNING: "RUNNING";
|
|
2707
2934
|
QUEUED: "QUEUED";
|
|
2708
2935
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -2739,14 +2966,16 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2739
2966
|
events: z.ZodArray<z.ZodString>;
|
|
2740
2967
|
networkHosts: z.ZodArray<z.ZodString>;
|
|
2741
2968
|
adminPage: z.ZodBoolean;
|
|
2969
|
+
publicHttp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2970
|
+
schedules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2742
2971
|
requiredSettings: z.ZodArray<z.ZodString>;
|
|
2743
2972
|
secretSettings: z.ZodArray<z.ZodString>;
|
|
2744
2973
|
}, z.core.$strip>;
|
|
2745
2974
|
build: z.ZodNullable<z.ZodObject<{
|
|
2746
2975
|
buildId: z.ZodString;
|
|
2747
2976
|
status: z.ZodEnum<{
|
|
2748
|
-
FAILED: "FAILED";
|
|
2749
2977
|
SUCCEEDED: "SUCCEEDED";
|
|
2978
|
+
FAILED: "FAILED";
|
|
2750
2979
|
RUNNING: "RUNNING";
|
|
2751
2980
|
QUEUED: "QUEUED";
|
|
2752
2981
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -2776,6 +3005,26 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
2776
3005
|
createdAt: z.ZodString;
|
|
2777
3006
|
}, z.core.$strip>;
|
|
2778
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>;
|
|
2779
3028
|
export declare const developerAppSchema: z.ZodObject<{
|
|
2780
3029
|
appId: z.ZodString;
|
|
2781
3030
|
orgId: z.ZodString;
|
|
@@ -2800,6 +3049,19 @@ export declare const developerAppSchema: z.ZodObject<{
|
|
|
2800
3049
|
}>;
|
|
2801
3050
|
suspendedReason: z.ZodNullable<z.ZodString>;
|
|
2802
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>>>;
|
|
2803
3065
|
installations: z.ZodObject<{
|
|
2804
3066
|
active: z.ZodNumber;
|
|
2805
3067
|
pendingReconsent: z.ZodNumber;
|
|
@@ -2812,6 +3074,7 @@ export declare const developerAppCreateSchema: z.ZodObject<{
|
|
|
2812
3074
|
handle: z.ZodString;
|
|
2813
3075
|
name: z.ZodString;
|
|
2814
3076
|
description: z.ZodOptional<z.ZodString>;
|
|
3077
|
+
privateStoreId: z.ZodOptional<z.ZodString>;
|
|
2815
3078
|
}, z.core.$strip>;
|
|
2816
3079
|
export type DeveloperAppCreate = z.infer<typeof developerAppCreateSchema>;
|
|
2817
3080
|
/** `PUT /platform/v1/developer/apps/{appId}/versions` — CLI `app deploy`가 올리는 번들 */
|
|
@@ -2854,14 +3117,16 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
2854
3117
|
events: z.ZodArray<z.ZodString>;
|
|
2855
3118
|
networkHosts: z.ZodArray<z.ZodString>;
|
|
2856
3119
|
adminPage: z.ZodBoolean;
|
|
3120
|
+
publicHttp: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3121
|
+
schedules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2857
3122
|
requiredSettings: z.ZodArray<z.ZodString>;
|
|
2858
3123
|
secretSettings: z.ZodArray<z.ZodString>;
|
|
2859
3124
|
}, z.core.$strip>;
|
|
2860
3125
|
build: z.ZodNullable<z.ZodObject<{
|
|
2861
3126
|
buildId: z.ZodString;
|
|
2862
3127
|
status: z.ZodEnum<{
|
|
2863
|
-
FAILED: "FAILED";
|
|
2864
3128
|
SUCCEEDED: "SUCCEEDED";
|
|
3129
|
+
FAILED: "FAILED";
|
|
2865
3130
|
RUNNING: "RUNNING";
|
|
2866
3131
|
QUEUED: "QUEUED";
|
|
2867
3132
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -2911,6 +3176,17 @@ export declare const devStoreSchema: z.ZodObject<{
|
|
|
2911
3176
|
createdAt: z.ZodString;
|
|
2912
3177
|
}, z.core.$strip>;
|
|
2913
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>;
|
|
2914
3190
|
/** 개발자가 보는 설치 한 줄 */
|
|
2915
3191
|
export declare const developerInstallationSchema: z.ZodObject<{
|
|
2916
3192
|
installationId: z.ZodString;
|
|
@@ -3294,8 +3570,8 @@ export declare const claimTypeSchema: z.ZodEnum<{
|
|
|
3294
3570
|
}>;
|
|
3295
3571
|
export type ClaimType = z.infer<typeof claimTypeSchema>;
|
|
3296
3572
|
export declare const claimStatusSchema: z.ZodEnum<{
|
|
3297
|
-
REJECTED: "REJECTED";
|
|
3298
3573
|
COMPLETED: "COMPLETED";
|
|
3574
|
+
REJECTED: "REJECTED";
|
|
3299
3575
|
REQUESTED: "REQUESTED";
|
|
3300
3576
|
HELD: "HELD";
|
|
3301
3577
|
COLLECTING: "COLLECTING";
|
|
@@ -3339,8 +3615,8 @@ export declare const claimSchema: z.ZodObject<{
|
|
|
3339
3615
|
CANCEL: "CANCEL";
|
|
3340
3616
|
}>;
|
|
3341
3617
|
status: z.ZodEnum<{
|
|
3342
|
-
REJECTED: "REJECTED";
|
|
3343
3618
|
COMPLETED: "COMPLETED";
|
|
3619
|
+
REJECTED: "REJECTED";
|
|
3344
3620
|
REQUESTED: "REQUESTED";
|
|
3345
3621
|
HELD: "HELD";
|
|
3346
3622
|
COLLECTING: "COLLECTING";
|
|
@@ -3429,8 +3705,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3429
3705
|
CANCEL: "CANCEL";
|
|
3430
3706
|
}>;
|
|
3431
3707
|
status: z.ZodEnum<{
|
|
3432
|
-
REJECTED: "REJECTED";
|
|
3433
3708
|
COMPLETED: "COMPLETED";
|
|
3709
|
+
REJECTED: "REJECTED";
|
|
3434
3710
|
REQUESTED: "REQUESTED";
|
|
3435
3711
|
HELD: "HELD";
|
|
3436
3712
|
COLLECTING: "COLLECTING";
|
|
@@ -3487,8 +3763,8 @@ export declare const claimDetailSchema: z.ZodObject<{
|
|
|
3487
3763
|
}, z.core.$strip>>;
|
|
3488
3764
|
histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3489
3765
|
status: z.ZodEnum<{
|
|
3490
|
-
REJECTED: "REJECTED";
|
|
3491
3766
|
COMPLETED: "COMPLETED";
|
|
3767
|
+
REJECTED: "REJECTED";
|
|
3492
3768
|
REQUESTED: "REQUESTED";
|
|
3493
3769
|
HELD: "HELD";
|
|
3494
3770
|
COLLECTING: "COLLECTING";
|
|
@@ -4118,8 +4394,8 @@ export declare const flowStateSchema: z.ZodObject<{
|
|
|
4118
4394
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4119
4395
|
}>>;
|
|
4120
4396
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4121
|
-
REJECTED: "REJECTED";
|
|
4122
4397
|
COMPLETED: "COMPLETED";
|
|
4398
|
+
REJECTED: "REJECTED";
|
|
4123
4399
|
REQUESTED: "REQUESTED";
|
|
4124
4400
|
HELD: "HELD";
|
|
4125
4401
|
COLLECTING: "COLLECTING";
|
|
@@ -4167,8 +4443,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4167
4443
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4168
4444
|
}>>;
|
|
4169
4445
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4170
|
-
REJECTED: "REJECTED";
|
|
4171
4446
|
COMPLETED: "COMPLETED";
|
|
4447
|
+
REJECTED: "REJECTED";
|
|
4172
4448
|
REQUESTED: "REQUESTED";
|
|
4173
4449
|
HELD: "HELD";
|
|
4174
4450
|
COLLECTING: "COLLECTING";
|
|
@@ -4267,8 +4543,8 @@ export declare const orderItemFlowSchema: z.ZodObject<{
|
|
|
4267
4543
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4268
4544
|
}>>;
|
|
4269
4545
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4270
|
-
REJECTED: "REJECTED";
|
|
4271
4546
|
COMPLETED: "COMPLETED";
|
|
4547
|
+
REJECTED: "REJECTED";
|
|
4272
4548
|
REQUESTED: "REQUESTED";
|
|
4273
4549
|
HELD: "HELD";
|
|
4274
4550
|
COLLECTING: "COLLECTING";
|
|
@@ -4359,8 +4635,8 @@ export declare const flowActionResultSchema: z.ZodObject<{
|
|
|
4359
4635
|
PURCHASE_DECIDED: "PURCHASE_DECIDED";
|
|
4360
4636
|
}>>;
|
|
4361
4637
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
4362
|
-
REJECTED: "REJECTED";
|
|
4363
4638
|
COMPLETED: "COMPLETED";
|
|
4639
|
+
REJECTED: "REJECTED";
|
|
4364
4640
|
REQUESTED: "REQUESTED";
|
|
4365
4641
|
HELD: "HELD";
|
|
4366
4642
|
COLLECTING: "COLLECTING";
|
|
@@ -4634,8 +4910,8 @@ export declare const orderFlowActionResultSchema: z.ZodObject<{
|
|
|
4634
4910
|
results: z.ZodArray<z.ZodObject<{
|
|
4635
4911
|
orderItemId: z.ZodString;
|
|
4636
4912
|
status: z.ZodEnum<{
|
|
4637
|
-
FAILED: "FAILED";
|
|
4638
4913
|
COMPLETED: "COMPLETED";
|
|
4914
|
+
FAILED: "FAILED";
|
|
4639
4915
|
SKIPPED: "SKIPPED";
|
|
4640
4916
|
}>;
|
|
4641
4917
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -5374,10 +5650,10 @@ export type CustomerOrder = z.infer<typeof customerOrderSchema>;
|
|
|
5374
5650
|
/** `POST /v1/customers/{id}/withdraw` 본문 */
|
|
5375
5651
|
export declare const withdrawCustomerRequestSchema: z.ZodObject<{
|
|
5376
5652
|
reason: z.ZodEnum<{
|
|
5653
|
+
OTHER: "OTHER";
|
|
5377
5654
|
BUYER_REQUEST: "BUYER_REQUEST";
|
|
5378
5655
|
DORMANT: "DORMANT";
|
|
5379
5656
|
ABUSE: "ABUSE";
|
|
5380
|
-
OTHER: "OTHER";
|
|
5381
5657
|
}>;
|
|
5382
5658
|
memo: z.ZodOptional<z.ZodString>;
|
|
5383
5659
|
}, z.core.$strip>;
|
|
@@ -5741,10 +6017,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
5741
6017
|
}, z.core.$strip>;
|
|
5742
6018
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
5743
6019
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
6020
|
+
FAILED: "FAILED";
|
|
5744
6021
|
PENDING: "PENDING";
|
|
5745
6022
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5746
6023
|
SUCCESS: "SUCCESS";
|
|
5747
|
-
FAILED: "FAILED";
|
|
5748
6024
|
}>;
|
|
5749
6025
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
5750
6026
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -5814,10 +6090,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
5814
6090
|
}>;
|
|
5815
6091
|
url: z.ZodString;
|
|
5816
6092
|
status: z.ZodEnum<{
|
|
6093
|
+
FAILED: "FAILED";
|
|
5817
6094
|
PENDING: "PENDING";
|
|
5818
6095
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5819
6096
|
SUCCESS: "SUCCESS";
|
|
5820
|
-
FAILED: "FAILED";
|
|
5821
6097
|
}>;
|
|
5822
6098
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
5823
6099
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5875,10 +6151,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
5875
6151
|
}>;
|
|
5876
6152
|
url: z.ZodString;
|
|
5877
6153
|
status: z.ZodEnum<{
|
|
6154
|
+
FAILED: "FAILED";
|
|
5878
6155
|
PENDING: "PENDING";
|
|
5879
6156
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5880
6157
|
SUCCESS: "SUCCESS";
|
|
5881
|
-
FAILED: "FAILED";
|
|
5882
6158
|
}>;
|
|
5883
6159
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
5884
6160
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -5919,10 +6195,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
5919
6195
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
5920
6196
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
5921
6197
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6198
|
+
FAILED: "FAILED";
|
|
5922
6199
|
PENDING: "PENDING";
|
|
5923
6200
|
PENDING_RETRY: "PENDING_RETRY";
|
|
5924
6201
|
SUCCESS: "SUCCESS";
|
|
5925
|
-
FAILED: "FAILED";
|
|
5926
6202
|
}>>;
|
|
5927
6203
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
5928
6204
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -6907,8 +7183,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
6907
7183
|
}>;
|
|
6908
7184
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
6909
7185
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
6910
|
-
SUCCESS: "SUCCESS";
|
|
6911
7186
|
FAILED: "FAILED";
|
|
7187
|
+
SUCCESS: "SUCCESS";
|
|
6912
7188
|
}>;
|
|
6913
7189
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
6914
7190
|
/**
|
|
@@ -7057,8 +7333,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
7057
7333
|
}, z.core.$strip>>;
|
|
7058
7334
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7059
7335
|
result: z.ZodEnum<{
|
|
7060
|
-
SUCCESS: "SUCCESS";
|
|
7061
7336
|
FAILED: "FAILED";
|
|
7337
|
+
SUCCESS: "SUCCESS";
|
|
7062
7338
|
}>;
|
|
7063
7339
|
message: z.ZodNullable<z.ZodString>;
|
|
7064
7340
|
checkedAt: z.ZodString;
|
|
@@ -7167,8 +7443,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7167
7443
|
}, z.core.$strip>>;
|
|
7168
7444
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7169
7445
|
result: z.ZodEnum<{
|
|
7170
|
-
SUCCESS: "SUCCESS";
|
|
7171
7446
|
FAILED: "FAILED";
|
|
7447
|
+
SUCCESS: "SUCCESS";
|
|
7172
7448
|
}>;
|
|
7173
7449
|
message: z.ZodNullable<z.ZodString>;
|
|
7174
7450
|
checkedAt: z.ZodString;
|
|
@@ -7204,8 +7480,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7204
7480
|
}, z.core.$strip>>;
|
|
7205
7481
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7206
7482
|
result: z.ZodEnum<{
|
|
7207
|
-
SUCCESS: "SUCCESS";
|
|
7208
7483
|
FAILED: "FAILED";
|
|
7484
|
+
SUCCESS: "SUCCESS";
|
|
7209
7485
|
}>;
|
|
7210
7486
|
message: z.ZodNullable<z.ZodString>;
|
|
7211
7487
|
checkedAt: z.ZodString;
|
|
@@ -7240,8 +7516,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
7240
7516
|
}, z.core.$strip>>;
|
|
7241
7517
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7242
7518
|
result: z.ZodEnum<{
|
|
7243
|
-
SUCCESS: "SUCCESS";
|
|
7244
7519
|
FAILED: "FAILED";
|
|
7520
|
+
SUCCESS: "SUCCESS";
|
|
7245
7521
|
}>;
|
|
7246
7522
|
message: z.ZodNullable<z.ZodString>;
|
|
7247
7523
|
checkedAt: z.ZodString;
|
|
@@ -7333,8 +7609,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7333
7609
|
}, z.core.$strip>>;
|
|
7334
7610
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7335
7611
|
result: z.ZodEnum<{
|
|
7336
|
-
SUCCESS: "SUCCESS";
|
|
7337
7612
|
FAILED: "FAILED";
|
|
7613
|
+
SUCCESS: "SUCCESS";
|
|
7338
7614
|
}>;
|
|
7339
7615
|
message: z.ZodNullable<z.ZodString>;
|
|
7340
7616
|
checkedAt: z.ZodString;
|
|
@@ -7370,8 +7646,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7370
7646
|
}, z.core.$strip>>;
|
|
7371
7647
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7372
7648
|
result: z.ZodEnum<{
|
|
7373
|
-
SUCCESS: "SUCCESS";
|
|
7374
7649
|
FAILED: "FAILED";
|
|
7650
|
+
SUCCESS: "SUCCESS";
|
|
7375
7651
|
}>;
|
|
7376
7652
|
message: z.ZodNullable<z.ZodString>;
|
|
7377
7653
|
checkedAt: z.ZodString;
|
|
@@ -7406,8 +7682,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
7406
7682
|
}, z.core.$strip>>;
|
|
7407
7683
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
7408
7684
|
result: z.ZodEnum<{
|
|
7409
|
-
SUCCESS: "SUCCESS";
|
|
7410
7685
|
FAILED: "FAILED";
|
|
7686
|
+
SUCCESS: "SUCCESS";
|
|
7411
7687
|
}>;
|
|
7412
7688
|
message: z.ZodNullable<z.ZodString>;
|
|
7413
7689
|
checkedAt: z.ZodString;
|
|
@@ -7465,8 +7741,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
7465
7741
|
LIVE: "LIVE";
|
|
7466
7742
|
}>;
|
|
7467
7743
|
result: z.ZodEnum<{
|
|
7468
|
-
SUCCESS: "SUCCESS";
|
|
7469
7744
|
FAILED: "FAILED";
|
|
7745
|
+
SUCCESS: "SUCCESS";
|
|
7470
7746
|
}>;
|
|
7471
7747
|
message: z.ZodNullable<z.ZodString>;
|
|
7472
7748
|
checkedAt: z.ZodString;
|
|
@@ -7596,8 +7872,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
7596
7872
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
7597
7873
|
*/
|
|
7598
7874
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
7599
|
-
PENDING: "PENDING";
|
|
7600
7875
|
FAILED: "FAILED";
|
|
7876
|
+
PENDING: "PENDING";
|
|
7601
7877
|
APPROVED: "APPROVED";
|
|
7602
7878
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7603
7879
|
REFUNDED: "REFUNDED";
|
|
@@ -7644,8 +7920,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
7644
7920
|
orderName: z.ZodString;
|
|
7645
7921
|
customerName: z.ZodString;
|
|
7646
7922
|
status: z.ZodEnum<{
|
|
7647
|
-
PENDING: "PENDING";
|
|
7648
7923
|
FAILED: "FAILED";
|
|
7924
|
+
PENDING: "PENDING";
|
|
7649
7925
|
APPROVED: "APPROVED";
|
|
7650
7926
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7651
7927
|
REFUNDED: "REFUNDED";
|
|
@@ -7692,8 +7968,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
7692
7968
|
orderName: z.ZodString;
|
|
7693
7969
|
customerName: z.ZodString;
|
|
7694
7970
|
status: z.ZodEnum<{
|
|
7695
|
-
PENDING: "PENDING";
|
|
7696
7971
|
FAILED: "FAILED";
|
|
7972
|
+
PENDING: "PENDING";
|
|
7697
7973
|
APPROVED: "APPROVED";
|
|
7698
7974
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7699
7975
|
REFUNDED: "REFUNDED";
|
|
@@ -7785,8 +8061,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
7785
8061
|
orderName: z.ZodString;
|
|
7786
8062
|
customerName: z.ZodString;
|
|
7787
8063
|
status: z.ZodEnum<{
|
|
7788
|
-
PENDING: "PENDING";
|
|
7789
8064
|
FAILED: "FAILED";
|
|
8065
|
+
PENDING: "PENDING";
|
|
7790
8066
|
APPROVED: "APPROVED";
|
|
7791
8067
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
7792
8068
|
REFUNDED: "REFUNDED";
|
|
@@ -8115,11 +8391,11 @@ export type PointEntry = z.infer<typeof pointEntrySchema>;
|
|
|
8115
8391
|
export declare const pointLotSchema: z.ZodObject<{
|
|
8116
8392
|
lotId: z.ZodString;
|
|
8117
8393
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8394
|
+
PURCHASE: "PURCHASE";
|
|
8118
8395
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
8119
8396
|
ADJUST: "ADJUST";
|
|
8120
8397
|
OPENING: "OPENING";
|
|
8121
8398
|
REVIEW: "REVIEW";
|
|
8122
|
-
PURCHASE: "PURCHASE";
|
|
8123
8399
|
}>, z.ZodString]>;
|
|
8124
8400
|
amount: z.ZodNumber;
|
|
8125
8401
|
remaining: z.ZodNumber;
|
|
@@ -8134,11 +8410,11 @@ export declare const customerPointsSchema: z.ZodObject<{
|
|
|
8134
8410
|
lots: z.ZodArray<z.ZodObject<{
|
|
8135
8411
|
lotId: z.ZodString;
|
|
8136
8412
|
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8413
|
+
PURCHASE: "PURCHASE";
|
|
8137
8414
|
REFUND_RESTORE: "REFUND_RESTORE";
|
|
8138
8415
|
ADJUST: "ADJUST";
|
|
8139
8416
|
OPENING: "OPENING";
|
|
8140
8417
|
REVIEW: "REVIEW";
|
|
8141
|
-
PURCHASE: "PURCHASE";
|
|
8142
8418
|
}>, z.ZodString]>;
|
|
8143
8419
|
amount: z.ZodNumber;
|
|
8144
8420
|
remaining: z.ZodNumber;
|
|
@@ -8528,8 +8804,8 @@ export declare const productSchema: z.ZodObject<{
|
|
|
8528
8804
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8529
8805
|
shipping: z.ZodObject<{
|
|
8530
8806
|
deliveryType: z.ZodEnum<{
|
|
8531
|
-
FREE: "FREE";
|
|
8532
8807
|
PAID: "PAID";
|
|
8808
|
+
FREE: "FREE";
|
|
8533
8809
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8534
8810
|
}>;
|
|
8535
8811
|
deliveryFee: z.ZodNumber;
|
|
@@ -8772,8 +9048,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
8772
9048
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8773
9049
|
shipping: z.ZodOptional<z.ZodObject<{
|
|
8774
9050
|
deliveryType: z.ZodDefault<z.ZodEnum<{
|
|
8775
|
-
FREE: "FREE";
|
|
8776
9051
|
PAID: "PAID";
|
|
9052
|
+
FREE: "FREE";
|
|
8777
9053
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8778
9054
|
}>>;
|
|
8779
9055
|
deliveryFee: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8782,16 +9058,16 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
8782
9058
|
returnAddressId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8783
9059
|
}, z.core.$strict>>;
|
|
8784
9060
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8785
|
-
CARRIER: "CARRIER";
|
|
8786
9061
|
DIRECT: "DIRECT";
|
|
9062
|
+
CARRIER: "CARRIER";
|
|
8787
9063
|
PICKUP: "PICKUP";
|
|
8788
9064
|
PROVIDED: "PROVIDED";
|
|
8789
9065
|
}>>>;
|
|
8790
9066
|
}, z.core.$strict>, z.ZodObject<{
|
|
8791
9067
|
type: z.ZodLiteral<"MANUAL">;
|
|
8792
9068
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8793
|
-
CARRIER: "CARRIER";
|
|
8794
9069
|
DIRECT: "DIRECT";
|
|
9070
|
+
CARRIER: "CARRIER";
|
|
8795
9071
|
PICKUP: "PICKUP";
|
|
8796
9072
|
PROVIDED: "PROVIDED";
|
|
8797
9073
|
}>>>;
|
|
@@ -8886,8 +9162,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
8886
9162
|
type: z.ZodLiteral<"SHIPPING">;
|
|
8887
9163
|
shipping: z.ZodObject<{
|
|
8888
9164
|
deliveryType: z.ZodEnum<{
|
|
8889
|
-
FREE: "FREE";
|
|
8890
9165
|
PAID: "PAID";
|
|
9166
|
+
FREE: "FREE";
|
|
8891
9167
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
8892
9168
|
}>;
|
|
8893
9169
|
deliveryFee: z.ZodNumber;
|
|
@@ -8896,16 +9172,16 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
8896
9172
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
8897
9173
|
}, z.core.$strict>;
|
|
8898
9174
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8899
|
-
CARRIER: "CARRIER";
|
|
8900
9175
|
DIRECT: "DIRECT";
|
|
9176
|
+
CARRIER: "CARRIER";
|
|
8901
9177
|
PICKUP: "PICKUP";
|
|
8902
9178
|
PROVIDED: "PROVIDED";
|
|
8903
9179
|
}>>>;
|
|
8904
9180
|
}, z.core.$strict>, z.ZodObject<{
|
|
8905
9181
|
type: z.ZodLiteral<"MANUAL">;
|
|
8906
9182
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8907
|
-
CARRIER: "CARRIER";
|
|
8908
9183
|
DIRECT: "DIRECT";
|
|
9184
|
+
CARRIER: "CARRIER";
|
|
8909
9185
|
PICKUP: "PICKUP";
|
|
8910
9186
|
PROVIDED: "PROVIDED";
|
|
8911
9187
|
}>>>;
|
|
@@ -9009,8 +9285,8 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
9009
9285
|
type: z.ZodLiteral<"SHIPPING">;
|
|
9010
9286
|
shipping: z.ZodObject<{
|
|
9011
9287
|
deliveryType: z.ZodEnum<{
|
|
9012
|
-
FREE: "FREE";
|
|
9013
9288
|
PAID: "PAID";
|
|
9289
|
+
FREE: "FREE";
|
|
9014
9290
|
CONDITIONAL_FREE: "CONDITIONAL_FREE";
|
|
9015
9291
|
}>;
|
|
9016
9292
|
deliveryFee: z.ZodNumber;
|
|
@@ -9019,16 +9295,16 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
9019
9295
|
returnAddressId: z.ZodNullable<z.ZodString>;
|
|
9020
9296
|
}, z.core.$strict>;
|
|
9021
9297
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9022
|
-
CARRIER: "CARRIER";
|
|
9023
9298
|
DIRECT: "DIRECT";
|
|
9299
|
+
CARRIER: "CARRIER";
|
|
9024
9300
|
PICKUP: "PICKUP";
|
|
9025
9301
|
PROVIDED: "PROVIDED";
|
|
9026
9302
|
}>>>;
|
|
9027
9303
|
}, z.core.$strict>, z.ZodObject<{
|
|
9028
9304
|
type: z.ZodLiteral<"MANUAL">;
|
|
9029
9305
|
methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9030
|
-
CARRIER: "CARRIER";
|
|
9031
9306
|
DIRECT: "DIRECT";
|
|
9307
|
+
CARRIER: "CARRIER";
|
|
9032
9308
|
PICKUP: "PICKUP";
|
|
9033
9309
|
PROVIDED: "PROVIDED";
|
|
9034
9310
|
}>>>;
|
|
@@ -9044,11 +9320,11 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
9044
9320
|
}, z.core.$strict>;
|
|
9045
9321
|
export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
9046
9322
|
export declare const productSortSchema: z.ZodEnum<{
|
|
9047
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
9048
9323
|
"createdAt.desc": "createdAt.desc";
|
|
9049
9324
|
"createdAt.asc": "createdAt.asc";
|
|
9050
9325
|
"salePrice.asc": "salePrice.asc";
|
|
9051
9326
|
"salePrice.desc": "salePrice.desc";
|
|
9327
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
9052
9328
|
}>;
|
|
9053
9329
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
9054
9330
|
export interface ProductListParams extends PageParams {
|
|
@@ -9075,11 +9351,11 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
9075
9351
|
sellerCode: z.ZodOptional<z.ZodString>;
|
|
9076
9352
|
productNo: z.ZodOptional<z.ZodString>;
|
|
9077
9353
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
9078
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
9079
9354
|
"createdAt.desc": "createdAt.desc";
|
|
9080
9355
|
"createdAt.asc": "createdAt.asc";
|
|
9081
9356
|
"salePrice.asc": "salePrice.asc";
|
|
9082
9357
|
"salePrice.desc": "salePrice.desc";
|
|
9358
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
9083
9359
|
}>>;
|
|
9084
9360
|
}, z.core.$strip>;
|
|
9085
9361
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -9885,8 +10161,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
9885
10161
|
*/
|
|
9886
10162
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
9887
10163
|
status: z.ZodEnum<{
|
|
9888
|
-
PENDING: "PENDING";
|
|
9889
10164
|
FAILED: "FAILED";
|
|
10165
|
+
PENDING: "PENDING";
|
|
9890
10166
|
SYNCED: "SYNCED";
|
|
9891
10167
|
}>;
|
|
9892
10168
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -9973,8 +10249,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
9973
10249
|
}, z.core.$strip>>;
|
|
9974
10250
|
provisioning: z.ZodObject<{
|
|
9975
10251
|
status: z.ZodEnum<{
|
|
9976
|
-
PENDING: "PENDING";
|
|
9977
10252
|
FAILED: "FAILED";
|
|
10253
|
+
PENDING: "PENDING";
|
|
9978
10254
|
SYNCED: "SYNCED";
|
|
9979
10255
|
}>;
|
|
9980
10256
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10058,8 +10334,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
10058
10334
|
}, z.core.$strip>>;
|
|
10059
10335
|
provisioning: z.ZodObject<{
|
|
10060
10336
|
status: z.ZodEnum<{
|
|
10061
|
-
PENDING: "PENDING";
|
|
10062
10337
|
FAILED: "FAILED";
|
|
10338
|
+
PENDING: "PENDING";
|
|
10063
10339
|
SYNCED: "SYNCED";
|
|
10064
10340
|
}>;
|
|
10065
10341
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -10106,8 +10382,8 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
10106
10382
|
PUBLISH: "PUBLISH";
|
|
10107
10383
|
}>;
|
|
10108
10384
|
status: z.ZodEnum<{
|
|
10109
|
-
PENDING: "PENDING";
|
|
10110
10385
|
FAILED: "FAILED";
|
|
10386
|
+
PENDING: "PENDING";
|
|
10111
10387
|
RUNNING: "RUNNING";
|
|
10112
10388
|
DONE: "DONE";
|
|
10113
10389
|
}>;
|
|
@@ -10128,9 +10404,9 @@ export type StorefrontDeploymentLog = z.infer<typeof storefrontDeploymentLogSche
|
|
|
10128
10404
|
export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
10129
10405
|
siteId: z.ZodString;
|
|
10130
10406
|
status: z.ZodEnum<{
|
|
10131
|
-
FAILED: "FAILED";
|
|
10132
|
-
SUCCEEDED: "SUCCEEDED";
|
|
10133
10407
|
IN_PROGRESS: "IN_PROGRESS";
|
|
10408
|
+
SUCCEEDED: "SUCCEEDED";
|
|
10409
|
+
FAILED: "FAILED";
|
|
10134
10410
|
}>;
|
|
10135
10411
|
url: z.ZodString;
|
|
10136
10412
|
startedAt: z.ZodString;
|
|
@@ -10142,8 +10418,8 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
10142
10418
|
PUBLISH: "PUBLISH";
|
|
10143
10419
|
}>;
|
|
10144
10420
|
status: z.ZodEnum<{
|
|
10145
|
-
PENDING: "PENDING";
|
|
10146
10421
|
FAILED: "FAILED";
|
|
10422
|
+
PENDING: "PENDING";
|
|
10147
10423
|
RUNNING: "RUNNING";
|
|
10148
10424
|
DONE: "DONE";
|
|
10149
10425
|
}>;
|
|
@@ -10264,8 +10540,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
10264
10540
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
10265
10541
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
10266
10542
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
10267
|
-
ACTIVE: "ACTIVE";
|
|
10268
10543
|
FAILED: "FAILED";
|
|
10544
|
+
ACTIVE: "ACTIVE";
|
|
10269
10545
|
PENDING_DNS: "PENDING_DNS";
|
|
10270
10546
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10271
10547
|
}>;
|
|
@@ -10291,8 +10567,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
10291
10567
|
CUSTOM: "CUSTOM";
|
|
10292
10568
|
}>;
|
|
10293
10569
|
status: z.ZodEnum<{
|
|
10294
|
-
ACTIVE: "ACTIVE";
|
|
10295
10570
|
FAILED: "FAILED";
|
|
10571
|
+
ACTIVE: "ACTIVE";
|
|
10296
10572
|
PENDING_DNS: "PENDING_DNS";
|
|
10297
10573
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10298
10574
|
}>;
|
|
@@ -10310,9 +10586,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
10310
10586
|
}>;
|
|
10311
10587
|
}, z.core.$strip>>;
|
|
10312
10588
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10313
|
-
ACTIVE: "ACTIVE";
|
|
10314
|
-
PENDING: "PENDING";
|
|
10315
10589
|
FAILED: "FAILED";
|
|
10590
|
+
PENDING: "PENDING";
|
|
10591
|
+
ACTIVE: "ACTIVE";
|
|
10316
10592
|
}>>;
|
|
10317
10593
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10318
10594
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10334,8 +10610,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
10334
10610
|
CUSTOM: "CUSTOM";
|
|
10335
10611
|
}>;
|
|
10336
10612
|
status: z.ZodEnum<{
|
|
10337
|
-
ACTIVE: "ACTIVE";
|
|
10338
10613
|
FAILED: "FAILED";
|
|
10614
|
+
ACTIVE: "ACTIVE";
|
|
10339
10615
|
PENDING_DNS: "PENDING_DNS";
|
|
10340
10616
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
10341
10617
|
}>;
|
|
@@ -10353,9 +10629,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
10353
10629
|
}>;
|
|
10354
10630
|
}, z.core.$strip>>;
|
|
10355
10631
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
10356
|
-
ACTIVE: "ACTIVE";
|
|
10357
|
-
PENDING: "PENDING";
|
|
10358
10632
|
FAILED: "FAILED";
|
|
10633
|
+
PENDING: "PENDING";
|
|
10634
|
+
ACTIVE: "ACTIVE";
|
|
10359
10635
|
}>>;
|
|
10360
10636
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
10361
10637
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -10589,8 +10865,8 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
10589
10865
|
}, z.core.$strip>;
|
|
10590
10866
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
10591
10867
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
10592
|
-
FAILED: "FAILED";
|
|
10593
10868
|
UNKNOWN: "UNKNOWN";
|
|
10869
|
+
FAILED: "FAILED";
|
|
10594
10870
|
RUNNING: "RUNNING";
|
|
10595
10871
|
QUEUED: "QUEUED";
|
|
10596
10872
|
PASSED: "PASSED";
|
|
@@ -10603,8 +10879,8 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
10603
10879
|
checkId: z.ZodString;
|
|
10604
10880
|
check: z.ZodString;
|
|
10605
10881
|
status: z.ZodEnum<{
|
|
10606
|
-
FAILED: "FAILED";
|
|
10607
10882
|
UNKNOWN: "UNKNOWN";
|
|
10883
|
+
FAILED: "FAILED";
|
|
10608
10884
|
RUNNING: "RUNNING";
|
|
10609
10885
|
QUEUED: "QUEUED";
|
|
10610
10886
|
PASSED: "PASSED";
|
|
@@ -10688,8 +10964,8 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
10688
10964
|
}, z.core.$strip>;
|
|
10689
10965
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
10690
10966
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
10691
|
-
FAILED: "FAILED";
|
|
10692
10967
|
SUCCEEDED: "SUCCEEDED";
|
|
10968
|
+
FAILED: "FAILED";
|
|
10693
10969
|
RUNNING: "RUNNING";
|
|
10694
10970
|
QUEUED: "QUEUED";
|
|
10695
10971
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -10756,8 +11032,8 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
10756
11032
|
versionId: z.ZodString;
|
|
10757
11033
|
versionNumber: z.ZodNumber;
|
|
10758
11034
|
status: z.ZodEnum<{
|
|
10759
|
-
FAILED: "FAILED";
|
|
10760
11035
|
SUCCEEDED: "SUCCEEDED";
|
|
11036
|
+
FAILED: "FAILED";
|
|
10761
11037
|
RUNNING: "RUNNING";
|
|
10762
11038
|
QUEUED: "QUEUED";
|
|
10763
11039
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -10885,8 +11161,8 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
10885
11161
|
versionId: z.ZodString;
|
|
10886
11162
|
versionNumber: z.ZodNumber;
|
|
10887
11163
|
status: z.ZodEnum<{
|
|
10888
|
-
FAILED: "FAILED";
|
|
10889
11164
|
SUCCEEDED: "SUCCEEDED";
|
|
11165
|
+
FAILED: "FAILED";
|
|
10890
11166
|
RUNNING: "RUNNING";
|
|
10891
11167
|
QUEUED: "QUEUED";
|
|
10892
11168
|
TIMED_OUT: "TIMED_OUT";
|
|
@@ -11435,7 +11711,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11435
11711
|
fulfillment: UnknownFulfillment | {
|
|
11436
11712
|
type: "SHIPPING";
|
|
11437
11713
|
shipping: {
|
|
11438
|
-
deliveryType: "
|
|
11714
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
11439
11715
|
deliveryFee: number;
|
|
11440
11716
|
conditionalFreeAmount: number | null;
|
|
11441
11717
|
shippingAddressId: string | null;
|
|
@@ -11543,7 +11819,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11543
11819
|
fulfillment: UnknownFulfillment | {
|
|
11544
11820
|
type: "SHIPPING";
|
|
11545
11821
|
shipping: {
|
|
11546
|
-
deliveryType: "
|
|
11822
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
11547
11823
|
deliveryFee: number;
|
|
11548
11824
|
conditionalFreeAmount: number | null;
|
|
11549
11825
|
shippingAddressId: string | null;
|
|
@@ -11651,7 +11927,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
11651
11927
|
fulfillment: UnknownFulfillment | {
|
|
11652
11928
|
type: "SHIPPING";
|
|
11653
11929
|
shipping: {
|
|
11654
|
-
deliveryType: "
|
|
11930
|
+
deliveryType: "PAID" | "FREE" | "CONDITIONAL_FREE";
|
|
11655
11931
|
deliveryFee: number;
|
|
11656
11932
|
conditionalFreeAmount: number | null;
|
|
11657
11933
|
shippingAddressId: string | null;
|
|
@@ -12033,7 +12309,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12033
12309
|
value: true;
|
|
12034
12310
|
} | {
|
|
12035
12311
|
field: "bestSelling";
|
|
12036
|
-
days:
|
|
12312
|
+
days: 7 | 30 | 90;
|
|
12037
12313
|
top: number;
|
|
12038
12314
|
} | {
|
|
12039
12315
|
[x: string]: unknown;
|
|
@@ -12083,7 +12359,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12083
12359
|
value: true;
|
|
12084
12360
|
} | {
|
|
12085
12361
|
field: "bestSelling";
|
|
12086
|
-
days:
|
|
12362
|
+
days: 7 | 30 | 90;
|
|
12087
12363
|
top: number;
|
|
12088
12364
|
} | {
|
|
12089
12365
|
[x: string]: unknown;
|
|
@@ -12126,7 +12402,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12126
12402
|
value: true;
|
|
12127
12403
|
} | {
|
|
12128
12404
|
field: "bestSelling";
|
|
12129
|
-
days:
|
|
12405
|
+
days: 7 | 30 | 90;
|
|
12130
12406
|
top: number;
|
|
12131
12407
|
} | {
|
|
12132
12408
|
[x: string]: unknown;
|
|
@@ -12168,7 +12444,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12168
12444
|
value: true;
|
|
12169
12445
|
} | {
|
|
12170
12446
|
field: "bestSelling";
|
|
12171
|
-
days:
|
|
12447
|
+
days: 7 | 30 | 90;
|
|
12172
12448
|
top: number;
|
|
12173
12449
|
} | {
|
|
12174
12450
|
[x: string]: unknown;
|
|
@@ -12231,7 +12507,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12231
12507
|
value: true;
|
|
12232
12508
|
} | {
|
|
12233
12509
|
field: "bestSelling";
|
|
12234
|
-
days:
|
|
12510
|
+
days: 7 | 30 | 90;
|
|
12235
12511
|
top: number;
|
|
12236
12512
|
} | {
|
|
12237
12513
|
[x: string]: unknown;
|
|
@@ -12274,7 +12550,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12274
12550
|
value: true;
|
|
12275
12551
|
} | {
|
|
12276
12552
|
field: "bestSelling";
|
|
12277
|
-
days:
|
|
12553
|
+
days: 7 | 30 | 90;
|
|
12278
12554
|
top: number;
|
|
12279
12555
|
} | {
|
|
12280
12556
|
[x: string]: unknown;
|
|
@@ -12665,7 +12941,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
12665
12941
|
key: string;
|
|
12666
12942
|
results: {
|
|
12667
12943
|
orderItemId: string;
|
|
12668
|
-
status: "
|
|
12944
|
+
status: "COMPLETED" | "FAILED" | "SKIPPED";
|
|
12669
12945
|
reason?: string | undefined;
|
|
12670
12946
|
message?: string | undefined;
|
|
12671
12947
|
}[];
|
|
@@ -13054,7 +13330,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13054
13330
|
enteredAt: string;
|
|
13055
13331
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13056
13332
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13057
|
-
claimStatus?: "
|
|
13333
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13058
13334
|
message?: string | undefined;
|
|
13059
13335
|
deadlineAt?: string | undefined;
|
|
13060
13336
|
attachments?: string[] | undefined;
|
|
@@ -13119,7 +13395,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13119
13395
|
enteredAt: string;
|
|
13120
13396
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13121
13397
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13122
|
-
claimStatus?: "
|
|
13398
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13123
13399
|
message?: string | undefined;
|
|
13124
13400
|
deadlineAt?: string | undefined;
|
|
13125
13401
|
attachments?: string[] | undefined;
|
|
@@ -13149,7 +13425,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13149
13425
|
enteredAt: string;
|
|
13150
13426
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13151
13427
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13152
|
-
claimStatus?: "
|
|
13428
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13153
13429
|
message?: string | undefined;
|
|
13154
13430
|
deadlineAt?: string | undefined;
|
|
13155
13431
|
attachments?: string[] | undefined;
|
|
@@ -13211,7 +13487,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13211
13487
|
enteredAt: string;
|
|
13212
13488
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13213
13489
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13214
|
-
claimStatus?: "
|
|
13490
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13215
13491
|
message?: string | undefined;
|
|
13216
13492
|
deadlineAt?: string | undefined;
|
|
13217
13493
|
attachments?: string[] | undefined;
|
|
@@ -13273,7 +13549,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13273
13549
|
enteredAt: string;
|
|
13274
13550
|
fields: Record<string, string | number | boolean | string[] | null>;
|
|
13275
13551
|
coreStatus?: "PAID" | "CANCELED" | "PAYMENT_WAITING" | "CONFIRMED" | "DISPATCHED" | "DELIVERING" | "DELIVERED" | "PURCHASE_DECIDED" | undefined;
|
|
13276
|
-
claimStatus?: "
|
|
13552
|
+
claimStatus?: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN" | undefined;
|
|
13277
13553
|
message?: string | undefined;
|
|
13278
13554
|
deadlineAt?: string | undefined;
|
|
13279
13555
|
attachments?: string[] | undefined;
|
|
@@ -13725,7 +14001,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13725
14001
|
claimId: string;
|
|
13726
14002
|
claimNo: string | null;
|
|
13727
14003
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13728
|
-
status: "
|
|
14004
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13729
14005
|
orderId: string;
|
|
13730
14006
|
orderItemId: string;
|
|
13731
14007
|
productName: string;
|
|
@@ -13765,7 +14041,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13765
14041
|
claimId: string;
|
|
13766
14042
|
claimNo: string | null;
|
|
13767
14043
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13768
|
-
status: "
|
|
14044
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13769
14045
|
orderId: string;
|
|
13770
14046
|
orderItemId: string;
|
|
13771
14047
|
productName: string;
|
|
@@ -13800,7 +14076,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13800
14076
|
address2: string | null;
|
|
13801
14077
|
} | null;
|
|
13802
14078
|
histories?: {
|
|
13803
|
-
status: "
|
|
14079
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13804
14080
|
actor: "SYSTEM" | "BUYER" | "SELLER";
|
|
13805
14081
|
occurredAt: string;
|
|
13806
14082
|
}[] | undefined;
|
|
@@ -13838,7 +14114,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13838
14114
|
claimId: string;
|
|
13839
14115
|
claimNo: string | null;
|
|
13840
14116
|
type: "RETURN" | "EXCHANGE" | "CANCEL";
|
|
13841
|
-
status: "
|
|
14117
|
+
status: "COMPLETED" | "REJECTED" | "REQUESTED" | "HELD" | "COLLECTING" | "COLLECTED" | "REDELIVERING" | "APPROVED" | "WITHDRAWN";
|
|
13842
14118
|
orderId: string;
|
|
13843
14119
|
orderItemId: string;
|
|
13844
14120
|
productName: string;
|
|
@@ -14762,7 +15038,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14762
15038
|
conversionRate: number | null;
|
|
14763
15039
|
};
|
|
14764
15040
|
funnel: {
|
|
14765
|
-
step: "
|
|
15041
|
+
step: "SESSION" | "PRODUCT_VIEW" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "PURCHASE";
|
|
14766
15042
|
sessions: number;
|
|
14767
15043
|
rateFromPrevious: number | null;
|
|
14768
15044
|
}[];
|
|
@@ -14816,9 +15092,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14816
15092
|
}>;
|
|
14817
15093
|
/** `GET /v1/analytics/sources` — 채널·소스·캠페인·기기별 세션과 구매 */
|
|
14818
15094
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
14819
|
-
groupBy: "
|
|
15095
|
+
groupBy: "CAMPAIGN" | "CHANNEL" | "SOURCE" | "DEVICE";
|
|
14820
15096
|
rows: {
|
|
14821
|
-
channel: "
|
|
15097
|
+
channel: "DIRECT" | "ORGANIC_SEARCH" | "SOCIAL" | "PAID" | "EMAIL" | "CAMPAIGN" | "REFERRAL" | "UNKNOWN" | null;
|
|
14822
15098
|
source: string | null;
|
|
14823
15099
|
medium: string | null;
|
|
14824
15100
|
campaign: string | null;
|
|
@@ -14923,7 +15199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14923
15199
|
checkout: (params: AnalyticsRangeParams) => Promise<{
|
|
14924
15200
|
sessions: number;
|
|
14925
15201
|
outcomes: {
|
|
14926
|
-
outcome: "
|
|
15202
|
+
outcome: "COMPLETED" | "NOT_OPENED" | "USER_CANCELED" | "DECLINED" | "PREPARE_FAILURE" | "OTHER" | "IN_PROGRESS";
|
|
14927
15203
|
sessions: number;
|
|
14928
15204
|
}[];
|
|
14929
15205
|
from: string;
|
|
@@ -14953,7 +15229,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14953
15229
|
orderId: string | null;
|
|
14954
15230
|
orderName: string;
|
|
14955
15231
|
customerName: string;
|
|
14956
|
-
status: "
|
|
15232
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
14957
15233
|
amount: number;
|
|
14958
15234
|
refundedAmount: number;
|
|
14959
15235
|
heldRefundAmount: number;
|
|
@@ -14979,7 +15255,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14979
15255
|
orderId: string | null;
|
|
14980
15256
|
orderName: string;
|
|
14981
15257
|
customerName: string;
|
|
14982
|
-
status: "
|
|
15258
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
14983
15259
|
amount: number;
|
|
14984
15260
|
refundedAmount: number;
|
|
14985
15261
|
heldRefundAmount: number;
|
|
@@ -15094,7 +15370,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15094
15370
|
masked: string | null;
|
|
15095
15371
|
}[];
|
|
15096
15372
|
lastVerification: {
|
|
15097
|
-
result: "
|
|
15373
|
+
result: "FAILED" | "SUCCESS";
|
|
15098
15374
|
message: string | null;
|
|
15099
15375
|
checkedAt: string;
|
|
15100
15376
|
} | null;
|
|
@@ -15119,7 +15395,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15119
15395
|
masked: string | null;
|
|
15120
15396
|
}[];
|
|
15121
15397
|
lastVerification: {
|
|
15122
|
-
result: "
|
|
15398
|
+
result: "FAILED" | "SUCCESS";
|
|
15123
15399
|
message: string | null;
|
|
15124
15400
|
checkedAt: string;
|
|
15125
15401
|
} | null;
|
|
@@ -15143,7 +15419,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15143
15419
|
masked: string | null;
|
|
15144
15420
|
}[];
|
|
15145
15421
|
lastVerification: {
|
|
15146
|
-
result: "
|
|
15422
|
+
result: "FAILED" | "SUCCESS";
|
|
15147
15423
|
message: string | null;
|
|
15148
15424
|
checkedAt: string;
|
|
15149
15425
|
} | null;
|
|
@@ -15204,7 +15480,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15204
15480
|
masked: string | null;
|
|
15205
15481
|
}[];
|
|
15206
15482
|
lastVerification: {
|
|
15207
|
-
result: "
|
|
15483
|
+
result: "FAILED" | "SUCCESS";
|
|
15208
15484
|
message: string | null;
|
|
15209
15485
|
checkedAt: string;
|
|
15210
15486
|
} | null;
|
|
@@ -15229,7 +15505,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15229
15505
|
masked: string | null;
|
|
15230
15506
|
}[];
|
|
15231
15507
|
lastVerification: {
|
|
15232
|
-
result: "
|
|
15508
|
+
result: "FAILED" | "SUCCESS";
|
|
15233
15509
|
message: string | null;
|
|
15234
15510
|
checkedAt: string;
|
|
15235
15511
|
} | null;
|
|
@@ -15253,7 +15529,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15253
15529
|
masked: string | null;
|
|
15254
15530
|
}[];
|
|
15255
15531
|
lastVerification: {
|
|
15256
|
-
result: "
|
|
15532
|
+
result: "FAILED" | "SUCCESS";
|
|
15257
15533
|
message: string | null;
|
|
15258
15534
|
checkedAt: string;
|
|
15259
15535
|
} | null;
|
|
@@ -15319,7 +15595,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15319
15595
|
masked: string | null;
|
|
15320
15596
|
}[];
|
|
15321
15597
|
lastVerification: {
|
|
15322
|
-
result: "
|
|
15598
|
+
result: "FAILED" | "SUCCESS";
|
|
15323
15599
|
message: string | null;
|
|
15324
15600
|
checkedAt: string;
|
|
15325
15601
|
} | null;
|
|
@@ -15344,7 +15620,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15344
15620
|
masked: string | null;
|
|
15345
15621
|
}[];
|
|
15346
15622
|
lastVerification: {
|
|
15347
|
-
result: "
|
|
15623
|
+
result: "FAILED" | "SUCCESS";
|
|
15348
15624
|
message: string | null;
|
|
15349
15625
|
checkedAt: string;
|
|
15350
15626
|
} | null;
|
|
@@ -15368,7 +15644,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15368
15644
|
masked: string | null;
|
|
15369
15645
|
}[];
|
|
15370
15646
|
lastVerification: {
|
|
15371
|
-
result: "
|
|
15647
|
+
result: "FAILED" | "SUCCESS";
|
|
15372
15648
|
message: string | null;
|
|
15373
15649
|
checkedAt: string;
|
|
15374
15650
|
} | null;
|
|
@@ -15415,7 +15691,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15415
15691
|
masked: string | null;
|
|
15416
15692
|
}[];
|
|
15417
15693
|
lastVerification: {
|
|
15418
|
-
result: "
|
|
15694
|
+
result: "FAILED" | "SUCCESS";
|
|
15419
15695
|
message: string | null;
|
|
15420
15696
|
checkedAt: string;
|
|
15421
15697
|
} | null;
|
|
@@ -15440,7 +15716,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15440
15716
|
masked: string | null;
|
|
15441
15717
|
}[];
|
|
15442
15718
|
lastVerification: {
|
|
15443
|
-
result: "
|
|
15719
|
+
result: "FAILED" | "SUCCESS";
|
|
15444
15720
|
message: string | null;
|
|
15445
15721
|
checkedAt: string;
|
|
15446
15722
|
} | null;
|
|
@@ -15464,7 +15740,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15464
15740
|
masked: string | null;
|
|
15465
15741
|
}[];
|
|
15466
15742
|
lastVerification: {
|
|
15467
|
-
result: "
|
|
15743
|
+
result: "FAILED" | "SUCCESS";
|
|
15468
15744
|
message: string | null;
|
|
15469
15745
|
checkedAt: string;
|
|
15470
15746
|
} | null;
|
|
@@ -15521,7 +15797,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15521
15797
|
masked: string | null;
|
|
15522
15798
|
}[];
|
|
15523
15799
|
lastVerification: {
|
|
15524
|
-
result: "
|
|
15800
|
+
result: "FAILED" | "SUCCESS";
|
|
15525
15801
|
message: string | null;
|
|
15526
15802
|
checkedAt: string;
|
|
15527
15803
|
} | null;
|
|
@@ -15546,7 +15822,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15546
15822
|
masked: string | null;
|
|
15547
15823
|
}[];
|
|
15548
15824
|
lastVerification: {
|
|
15549
|
-
result: "
|
|
15825
|
+
result: "FAILED" | "SUCCESS";
|
|
15550
15826
|
message: string | null;
|
|
15551
15827
|
checkedAt: string;
|
|
15552
15828
|
} | null;
|
|
@@ -15570,7 +15846,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15570
15846
|
masked: string | null;
|
|
15571
15847
|
}[];
|
|
15572
15848
|
lastVerification: {
|
|
15573
|
-
result: "
|
|
15849
|
+
result: "FAILED" | "SUCCESS";
|
|
15574
15850
|
message: string | null;
|
|
15575
15851
|
checkedAt: string;
|
|
15576
15852
|
} | null;
|
|
@@ -15617,7 +15893,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15617
15893
|
masked: string | null;
|
|
15618
15894
|
}[];
|
|
15619
15895
|
lastVerification: {
|
|
15620
|
-
result: "
|
|
15896
|
+
result: "FAILED" | "SUCCESS";
|
|
15621
15897
|
message: string | null;
|
|
15622
15898
|
checkedAt: string;
|
|
15623
15899
|
} | null;
|
|
@@ -15642,7 +15918,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15642
15918
|
masked: string | null;
|
|
15643
15919
|
}[];
|
|
15644
15920
|
lastVerification: {
|
|
15645
|
-
result: "
|
|
15921
|
+
result: "FAILED" | "SUCCESS";
|
|
15646
15922
|
message: string | null;
|
|
15647
15923
|
checkedAt: string;
|
|
15648
15924
|
} | null;
|
|
@@ -15666,7 +15942,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15666
15942
|
masked: string | null;
|
|
15667
15943
|
}[];
|
|
15668
15944
|
lastVerification: {
|
|
15669
|
-
result: "
|
|
15945
|
+
result: "FAILED" | "SUCCESS";
|
|
15670
15946
|
message: string | null;
|
|
15671
15947
|
checkedAt: string;
|
|
15672
15948
|
} | null;
|
|
@@ -15722,7 +15998,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15722
15998
|
masked: string | null;
|
|
15723
15999
|
}[];
|
|
15724
16000
|
lastVerification: {
|
|
15725
|
-
result: "
|
|
16001
|
+
result: "FAILED" | "SUCCESS";
|
|
15726
16002
|
message: string | null;
|
|
15727
16003
|
checkedAt: string;
|
|
15728
16004
|
} | null;
|
|
@@ -15747,7 +16023,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15747
16023
|
masked: string | null;
|
|
15748
16024
|
}[];
|
|
15749
16025
|
lastVerification: {
|
|
15750
|
-
result: "
|
|
16026
|
+
result: "FAILED" | "SUCCESS";
|
|
15751
16027
|
message: string | null;
|
|
15752
16028
|
checkedAt: string;
|
|
15753
16029
|
} | null;
|
|
@@ -15771,7 +16047,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15771
16047
|
masked: string | null;
|
|
15772
16048
|
}[];
|
|
15773
16049
|
lastVerification: {
|
|
15774
|
-
result: "
|
|
16050
|
+
result: "FAILED" | "SUCCESS";
|
|
15775
16051
|
message: string | null;
|
|
15776
16052
|
checkedAt: string;
|
|
15777
16053
|
} | null;
|
|
@@ -15799,7 +16075,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15799
16075
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
15800
16076
|
provider: "tosspayments" | "portone";
|
|
15801
16077
|
environment: "TEST" | "LIVE";
|
|
15802
|
-
result: "
|
|
16078
|
+
result: "FAILED" | "SUCCESS";
|
|
15803
16079
|
message: string | null;
|
|
15804
16080
|
checkedAt: string;
|
|
15805
16081
|
}>;
|
|
@@ -15817,6 +16093,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15817
16093
|
developerName: string;
|
|
15818
16094
|
versionNumber: number;
|
|
15819
16095
|
installationId: string | null;
|
|
16096
|
+
visibility: "PUBLIC" | "DEVELOPMENT" | "PRIVATE";
|
|
15820
16097
|
}[]>;
|
|
15821
16098
|
get: (appId: string) => Promise<{
|
|
15822
16099
|
appId: string;
|
|
@@ -15827,11 +16104,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15827
16104
|
developerName: string;
|
|
15828
16105
|
versionNumber: number;
|
|
15829
16106
|
installationId: string | null;
|
|
16107
|
+
visibility: "PUBLIC" | "DEVELOPMENT" | "PRIVATE";
|
|
15830
16108
|
readme: string | null;
|
|
15831
16109
|
supportEmail: string | null;
|
|
15832
16110
|
scopes: string[];
|
|
15833
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")[];
|
|
15834
16112
|
networkHosts: string[];
|
|
16113
|
+
publicHttp: string[];
|
|
16114
|
+
schedules: {
|
|
16115
|
+
name: string;
|
|
16116
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16117
|
+
}[];
|
|
15835
16118
|
settings: Record<string, {
|
|
15836
16119
|
type: "string" | "number" | "boolean" | "select";
|
|
15837
16120
|
label: string;
|
|
@@ -15876,6 +16159,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15876
16159
|
grantedNetworkHosts: string[];
|
|
15877
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")[];
|
|
15878
16161
|
adminPage: boolean;
|
|
16162
|
+
publicHttp: string[];
|
|
16163
|
+
schedules: {
|
|
16164
|
+
name: string;
|
|
16165
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16166
|
+
}[];
|
|
15879
16167
|
settings: {
|
|
15880
16168
|
fields: Record<string, {
|
|
15881
16169
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -15900,6 +16188,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15900
16188
|
installedAt: string;
|
|
15901
16189
|
uninstalledAt: string | null;
|
|
15902
16190
|
updatedAt: string;
|
|
16191
|
+
pendingVersion?: {
|
|
16192
|
+
number: number;
|
|
16193
|
+
scopes: string[];
|
|
16194
|
+
networkHosts: string[];
|
|
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
|
+
}[];
|
|
16201
|
+
} | null | undefined;
|
|
15903
16202
|
}>;
|
|
15904
16203
|
list: () => Promise<{
|
|
15905
16204
|
installationId: string;
|
|
@@ -15923,6 +16222,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15923
16222
|
grantedNetworkHosts: string[];
|
|
15924
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")[];
|
|
15925
16224
|
adminPage: boolean;
|
|
16225
|
+
publicHttp: string[];
|
|
16226
|
+
schedules: {
|
|
16227
|
+
name: string;
|
|
16228
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16229
|
+
}[];
|
|
15926
16230
|
settings: {
|
|
15927
16231
|
fields: Record<string, {
|
|
15928
16232
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -15947,6 +16251,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15947
16251
|
installedAt: string;
|
|
15948
16252
|
uninstalledAt: string | null;
|
|
15949
16253
|
updatedAt: string;
|
|
16254
|
+
pendingVersion?: {
|
|
16255
|
+
number: number;
|
|
16256
|
+
scopes: string[];
|
|
16257
|
+
networkHosts: string[];
|
|
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
|
+
}[];
|
|
16264
|
+
} | null | undefined;
|
|
15950
16265
|
}[]>;
|
|
15951
16266
|
get: (installationId: string) => Promise<{
|
|
15952
16267
|
installationId: string;
|
|
@@ -15970,6 +16285,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15970
16285
|
grantedNetworkHosts: string[];
|
|
15971
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")[];
|
|
15972
16287
|
adminPage: boolean;
|
|
16288
|
+
publicHttp: string[];
|
|
16289
|
+
schedules: {
|
|
16290
|
+
name: string;
|
|
16291
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16292
|
+
}[];
|
|
15973
16293
|
settings: {
|
|
15974
16294
|
fields: Record<string, {
|
|
15975
16295
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -15994,6 +16314,17 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15994
16314
|
installedAt: string;
|
|
15995
16315
|
uninstalledAt: string | null;
|
|
15996
16316
|
updatedAt: string;
|
|
16317
|
+
pendingVersion?: {
|
|
16318
|
+
number: number;
|
|
16319
|
+
scopes: string[];
|
|
16320
|
+
networkHosts: string[];
|
|
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
|
+
}[];
|
|
16327
|
+
} | null | undefined;
|
|
15997
16328
|
}>;
|
|
15998
16329
|
/** 비밀 필드를 생략하면 현재 값을 유지한다. null은 비운다 */
|
|
15999
16330
|
updateSettings: (installationId: string, body: AppInstallationSettingsUpdate) => Promise<{
|
|
@@ -16018,6 +16349,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16018
16349
|
grantedNetworkHosts: string[];
|
|
16019
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")[];
|
|
16020
16351
|
adminPage: boolean;
|
|
16352
|
+
publicHttp: string[];
|
|
16353
|
+
schedules: {
|
|
16354
|
+
name: string;
|
|
16355
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16356
|
+
}[];
|
|
16021
16357
|
settings: {
|
|
16022
16358
|
fields: Record<string, {
|
|
16023
16359
|
type: "string" | "number" | "boolean" | "select";
|
|
@@ -16042,8 +16378,97 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16042
16378
|
installedAt: string;
|
|
16043
16379
|
uninstalledAt: string | null;
|
|
16044
16380
|
updatedAt: string;
|
|
16381
|
+
pendingVersion?: {
|
|
16382
|
+
number: number;
|
|
16383
|
+
scopes: string[];
|
|
16384
|
+
networkHosts: string[];
|
|
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
|
+
}[];
|
|
16391
|
+
} | null | undefined;
|
|
16045
16392
|
}>;
|
|
16046
16393
|
remove: (installationId: string) => Promise<void>;
|
|
16394
|
+
/** 실행 기록 — 최근 이벤트 전송 결과와 최근 7일 관리 API 호출 수 */
|
|
16395
|
+
activity: (installationId: string) => Promise<{
|
|
16396
|
+
runs: {
|
|
16397
|
+
deliveryId: string;
|
|
16398
|
+
eventType: string;
|
|
16399
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
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;
|
|
16401
|
+
attemptCount: number;
|
|
16402
|
+
createdAt: string;
|
|
16403
|
+
attemptedAt: string | null;
|
|
16404
|
+
nextAttemptAt: string | null;
|
|
16405
|
+
}[];
|
|
16406
|
+
apiCalls7d: number;
|
|
16407
|
+
}>;
|
|
16408
|
+
/** 권한 업데이트 동의 — 넓어진 새 버전(`pendingVersion`)으로 옮긴다(상점 플랫폼 전용) */
|
|
16409
|
+
consent: (installationId: string) => Promise<{
|
|
16410
|
+
installationId: string;
|
|
16411
|
+
storeId: string;
|
|
16412
|
+
app: {
|
|
16413
|
+
appId: string;
|
|
16414
|
+
handle: string;
|
|
16415
|
+
name: string;
|
|
16416
|
+
iconUrl: string | null;
|
|
16417
|
+
description: string | null;
|
|
16418
|
+
developerName: string;
|
|
16419
|
+
supportEmail: string | null;
|
|
16420
|
+
distribution: "PRIVATE_OWN" | "PRIVATE_LINK" | "LISTED";
|
|
16421
|
+
runtime: "CODE" | "EXTERNAL";
|
|
16422
|
+
status: "SUSPENDED" | "ACTIVE" | "DELETED";
|
|
16423
|
+
};
|
|
16424
|
+
status: "SUSPENDED" | "ACTIVE" | "UNINSTALLED";
|
|
16425
|
+
versionNumber: number;
|
|
16426
|
+
pendingVersionNumber: number | null;
|
|
16427
|
+
grantedScopes: string[];
|
|
16428
|
+
grantedNetworkHosts: string[];
|
|
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")[];
|
|
16430
|
+
adminPage: boolean;
|
|
16431
|
+
publicHttp: string[];
|
|
16432
|
+
schedules: {
|
|
16433
|
+
name: string;
|
|
16434
|
+
every: "15m" | "30m" | "1h" | "3h" | "6h" | "12h" | "1d";
|
|
16435
|
+
}[];
|
|
16436
|
+
settings: {
|
|
16437
|
+
fields: Record<string, {
|
|
16438
|
+
type: "string" | "number" | "boolean" | "select";
|
|
16439
|
+
label: string;
|
|
16440
|
+
description?: string | undefined;
|
|
16441
|
+
required?: boolean | undefined;
|
|
16442
|
+
secret?: boolean | undefined;
|
|
16443
|
+
options?: {
|
|
16444
|
+
value: string;
|
|
16445
|
+
label: string;
|
|
16446
|
+
}[] | undefined;
|
|
16447
|
+
default?: string | number | boolean | undefined;
|
|
16448
|
+
}>;
|
|
16449
|
+
values: Record<string, string | number | boolean | null>;
|
|
16450
|
+
configured: boolean;
|
|
16451
|
+
updatedAt: string | null;
|
|
16452
|
+
};
|
|
16453
|
+
installedBy: {
|
|
16454
|
+
userId: string;
|
|
16455
|
+
name: string | null;
|
|
16456
|
+
} | null;
|
|
16457
|
+
installedAt: string;
|
|
16458
|
+
uninstalledAt: string | null;
|
|
16459
|
+
updatedAt: string;
|
|
16460
|
+
pendingVersion?: {
|
|
16461
|
+
number: number;
|
|
16462
|
+
scopes: string[];
|
|
16463
|
+
networkHosts: string[];
|
|
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
|
+
}[];
|
|
16470
|
+
} | null | undefined;
|
|
16471
|
+
}>;
|
|
16047
16472
|
/** 앱 화면 iframe에 넘길 세션 토큰(5분) */
|
|
16048
16473
|
session: (installationId: string) => Promise<{
|
|
16049
16474
|
token: string;
|
|
@@ -16063,6 +16488,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16063
16488
|
grantedScopes: string[];
|
|
16064
16489
|
installedAt: string;
|
|
16065
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
|
+
};
|
|
16066
16510
|
};
|
|
16067
16511
|
webhooks: {
|
|
16068
16512
|
list: () => Promise<{
|
|
@@ -16125,7 +16569,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16125
16569
|
eventId: string;
|
|
16126
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";
|
|
16127
16571
|
url: string;
|
|
16128
|
-
status: "
|
|
16572
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
16129
16573
|
responseStatusCode: number | null;
|
|
16130
16574
|
responseTimeMs: number | null;
|
|
16131
16575
|
responseBodyExcerpt: string | null;
|
|
@@ -16152,7 +16596,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16152
16596
|
eventId: string;
|
|
16153
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";
|
|
16154
16598
|
url: string;
|
|
16155
|
-
status: "
|
|
16599
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
16156
16600
|
responseStatusCode: number | null;
|
|
16157
16601
|
responseTimeMs: number | null;
|
|
16158
16602
|
responseBodyExcerpt: string | null;
|
|
@@ -16187,7 +16631,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16187
16631
|
eventId: string;
|
|
16188
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";
|
|
16189
16633
|
url: string;
|
|
16190
|
-
status: "
|
|
16634
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
16191
16635
|
responseStatusCode: number | null;
|
|
16192
16636
|
responseTimeMs: number | null;
|
|
16193
16637
|
responseBodyExcerpt: string | null;
|
|
@@ -16283,7 +16727,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16283
16727
|
method: string | null;
|
|
16284
16728
|
path: string | null;
|
|
16285
16729
|
statusCode: number | null;
|
|
16286
|
-
outcome: "
|
|
16730
|
+
outcome: "SUCCEEDED" | "FAILED" | "PENDING_APPROVAL" | "DENIED" | "DRY_RUN" | null;
|
|
16287
16731
|
errorCode: string | null;
|
|
16288
16732
|
traceId: string | null;
|
|
16289
16733
|
idempotencyKey: string | null;
|
|
@@ -16301,7 +16745,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16301
16745
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
16302
16746
|
items: {
|
|
16303
16747
|
approvalId: string;
|
|
16304
|
-
status: "
|
|
16748
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16305
16749
|
operationId: string;
|
|
16306
16750
|
method: string;
|
|
16307
16751
|
path: string;
|
|
@@ -16353,7 +16797,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16353
16797
|
}>;
|
|
16354
16798
|
get: (approvalId: string) => Promise<{
|
|
16355
16799
|
approvalId: string;
|
|
16356
|
-
status: "
|
|
16800
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16357
16801
|
operationId: string;
|
|
16358
16802
|
method: string;
|
|
16359
16803
|
path: string;
|
|
@@ -16407,7 +16851,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16407
16851
|
*/
|
|
16408
16852
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16409
16853
|
approvalId: string;
|
|
16410
|
-
status: "
|
|
16854
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16411
16855
|
operationId: string;
|
|
16412
16856
|
method: string;
|
|
16413
16857
|
path: string;
|
|
@@ -16457,7 +16901,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16457
16901
|
}>;
|
|
16458
16902
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
16459
16903
|
approvalId: string;
|
|
16460
|
-
status: "
|
|
16904
|
+
status: "UNKNOWN" | "SUCCEEDED" | "FAILED" | "PENDING" | "EXECUTING" | "REJECTED" | "EXPIRED";
|
|
16461
16905
|
operationId: string;
|
|
16462
16906
|
method: string;
|
|
16463
16907
|
path: string;
|
|
@@ -16680,7 +17124,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16680
17124
|
createdVia?: string | null | undefined;
|
|
16681
17125
|
} | null;
|
|
16682
17126
|
provisioning: {
|
|
16683
|
-
status: "
|
|
17127
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
16684
17128
|
lastErrorCode: string | null;
|
|
16685
17129
|
syncedAt: string | null;
|
|
16686
17130
|
};
|
|
@@ -16743,7 +17187,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16743
17187
|
createdVia?: string | null | undefined;
|
|
16744
17188
|
} | null;
|
|
16745
17189
|
provisioning: {
|
|
16746
|
-
status: "
|
|
17190
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
16747
17191
|
lastErrorCode: string | null;
|
|
16748
17192
|
syncedAt: string | null;
|
|
16749
17193
|
};
|
|
@@ -16766,13 +17210,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16766
17210
|
/** `GET /v1/storefront/site/deployment` — 배포 진행(단계·기록). 만든 뒤 반영이 끝날 때까지 폴링한다 */
|
|
16767
17211
|
getDeployment: () => Promise<{
|
|
16768
17212
|
siteId: string;
|
|
16769
|
-
status: "
|
|
17213
|
+
status: "IN_PROGRESS" | "SUCCEEDED" | "FAILED";
|
|
16770
17214
|
url: string;
|
|
16771
17215
|
startedAt: string;
|
|
16772
17216
|
finishedAt: string | null;
|
|
16773
17217
|
steps: {
|
|
16774
17218
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
16775
|
-
status: "
|
|
17219
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
16776
17220
|
finishedAt: string | null;
|
|
16777
17221
|
}[];
|
|
16778
17222
|
log: {
|
|
@@ -16788,13 +17232,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16788
17232
|
/** `POST /v1/storefront/site/deployment/retry` (202) — 밀린 반영을 곧바로 다시 시도한다. 이미 반영됐으면 그대로다 */
|
|
16789
17233
|
retryDeployment: () => Promise<{
|
|
16790
17234
|
siteId: string;
|
|
16791
|
-
status: "
|
|
17235
|
+
status: "IN_PROGRESS" | "SUCCEEDED" | "FAILED";
|
|
16792
17236
|
url: string;
|
|
16793
17237
|
startedAt: string;
|
|
16794
17238
|
finishedAt: string | null;
|
|
16795
17239
|
steps: {
|
|
16796
17240
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
16797
|
-
status: "
|
|
17241
|
+
status: "FAILED" | "PENDING" | "RUNNING" | "DONE";
|
|
16798
17242
|
finishedAt: string | null;
|
|
16799
17243
|
}[];
|
|
16800
17244
|
log: {
|
|
@@ -16844,7 +17288,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16844
17288
|
createdVia?: string | null | undefined;
|
|
16845
17289
|
} | null;
|
|
16846
17290
|
provisioning: {
|
|
16847
|
-
status: "
|
|
17291
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
16848
17292
|
lastErrorCode: string | null;
|
|
16849
17293
|
syncedAt: string | null;
|
|
16850
17294
|
};
|
|
@@ -16913,7 +17357,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16913
17357
|
createdVia?: string | null | undefined;
|
|
16914
17358
|
} | null;
|
|
16915
17359
|
provisioning: {
|
|
16916
|
-
status: "
|
|
17360
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
16917
17361
|
lastErrorCode: string | null;
|
|
16918
17362
|
syncedAt: string | null;
|
|
16919
17363
|
};
|
|
@@ -16966,7 +17410,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16966
17410
|
createdVia?: string | null | undefined;
|
|
16967
17411
|
} | null;
|
|
16968
17412
|
provisioning: {
|
|
16969
|
-
status: "
|
|
17413
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
16970
17414
|
lastErrorCode: string | null;
|
|
16971
17415
|
syncedAt: string | null;
|
|
16972
17416
|
};
|
|
@@ -17019,7 +17463,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17019
17463
|
createdVia?: string | null | undefined;
|
|
17020
17464
|
} | null;
|
|
17021
17465
|
provisioning: {
|
|
17022
|
-
status: "
|
|
17466
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17023
17467
|
lastErrorCode: string | null;
|
|
17024
17468
|
syncedAt: string | null;
|
|
17025
17469
|
};
|
|
@@ -17072,7 +17516,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17072
17516
|
createdVia?: string | null | undefined;
|
|
17073
17517
|
} | null;
|
|
17074
17518
|
provisioning: {
|
|
17075
|
-
status: "
|
|
17519
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17076
17520
|
lastErrorCode: string | null;
|
|
17077
17521
|
syncedAt: string | null;
|
|
17078
17522
|
};
|
|
@@ -17109,7 +17553,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17109
17553
|
domainId: string;
|
|
17110
17554
|
hostname: string;
|
|
17111
17555
|
kind: "PLATFORM" | "CUSTOM";
|
|
17112
|
-
status: "
|
|
17556
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17113
17557
|
isPrimary: boolean;
|
|
17114
17558
|
dnsRecords: {
|
|
17115
17559
|
type: "CNAME" | "TXT";
|
|
@@ -17117,7 +17561,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17117
17561
|
value: string;
|
|
17118
17562
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17119
17563
|
}[];
|
|
17120
|
-
certificateStatus: "
|
|
17564
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17121
17565
|
failureCode: string | null;
|
|
17122
17566
|
verifiedAt: string | null;
|
|
17123
17567
|
activatedAt: string | null;
|
|
@@ -17133,7 +17577,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17133
17577
|
domainId: string;
|
|
17134
17578
|
hostname: string;
|
|
17135
17579
|
kind: "PLATFORM" | "CUSTOM";
|
|
17136
|
-
status: "
|
|
17580
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17137
17581
|
isPrimary: boolean;
|
|
17138
17582
|
dnsRecords: {
|
|
17139
17583
|
type: "CNAME" | "TXT";
|
|
@@ -17141,7 +17585,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17141
17585
|
value: string;
|
|
17142
17586
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17143
17587
|
}[];
|
|
17144
|
-
certificateStatus: "
|
|
17588
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17145
17589
|
failureCode: string | null;
|
|
17146
17590
|
verifiedAt: string | null;
|
|
17147
17591
|
activatedAt: string | null;
|
|
@@ -17153,7 +17597,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17153
17597
|
domainId: string;
|
|
17154
17598
|
hostname: string;
|
|
17155
17599
|
kind: "PLATFORM" | "CUSTOM";
|
|
17156
|
-
status: "
|
|
17600
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17157
17601
|
isPrimary: boolean;
|
|
17158
17602
|
dnsRecords: {
|
|
17159
17603
|
type: "CNAME" | "TXT";
|
|
@@ -17161,7 +17605,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17161
17605
|
value: string;
|
|
17162
17606
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17163
17607
|
}[];
|
|
17164
|
-
certificateStatus: "
|
|
17608
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17165
17609
|
failureCode: string | null;
|
|
17166
17610
|
verifiedAt: string | null;
|
|
17167
17611
|
activatedAt: string | null;
|
|
@@ -17177,7 +17621,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17177
17621
|
domainId: string;
|
|
17178
17622
|
hostname: string;
|
|
17179
17623
|
kind: "PLATFORM" | "CUSTOM";
|
|
17180
|
-
status: "
|
|
17624
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
17181
17625
|
isPrimary: boolean;
|
|
17182
17626
|
dnsRecords: {
|
|
17183
17627
|
type: "CNAME" | "TXT";
|
|
@@ -17185,7 +17629,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17185
17629
|
value: string;
|
|
17186
17630
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
17187
17631
|
}[];
|
|
17188
|
-
certificateStatus: "
|
|
17632
|
+
certificateStatus: "FAILED" | "PENDING" | "ACTIVE" | null;
|
|
17189
17633
|
failureCode: string | null;
|
|
17190
17634
|
verifiedAt: string | null;
|
|
17191
17635
|
activatedAt: string | null;
|
|
@@ -17228,7 +17672,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17228
17672
|
createdVia?: string | null | undefined;
|
|
17229
17673
|
} | null;
|
|
17230
17674
|
provisioning: {
|
|
17231
|
-
status: "
|
|
17675
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
17232
17676
|
lastErrorCode: string | null;
|
|
17233
17677
|
syncedAt: string | null;
|
|
17234
17678
|
};
|
|
@@ -17393,7 +17837,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17393
17837
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
17394
17838
|
checkId: string;
|
|
17395
17839
|
check: string;
|
|
17396
|
-
status: "
|
|
17840
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17397
17841
|
exitCode: number | null;
|
|
17398
17842
|
durationMs: number | null;
|
|
17399
17843
|
outputTail: string | null;
|
|
@@ -17407,7 +17851,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17407
17851
|
getCheck: (checkId: string) => Promise<{
|
|
17408
17852
|
checkId: string;
|
|
17409
17853
|
check: string;
|
|
17410
|
-
status: "
|
|
17854
|
+
status: "UNKNOWN" | "FAILED" | "RUNNING" | "QUEUED" | "PASSED" | "TIMED_OUT";
|
|
17411
17855
|
exitCode: number | null;
|
|
17412
17856
|
durationMs: number | null;
|
|
17413
17857
|
outputTail: string | null;
|
|
@@ -17474,7 +17918,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17474
17918
|
buildId: string;
|
|
17475
17919
|
versionId: string;
|
|
17476
17920
|
versionNumber: number;
|
|
17477
|
-
status: "
|
|
17921
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17478
17922
|
failureStage: string | null;
|
|
17479
17923
|
errorCode: string | null;
|
|
17480
17924
|
logTail: string | null;
|
|
@@ -17555,7 +17999,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17555
17999
|
buildId: string;
|
|
17556
18000
|
versionId: string;
|
|
17557
18001
|
versionNumber: number;
|
|
17558
|
-
status: "
|
|
18002
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17559
18003
|
failureStage: string | null;
|
|
17560
18004
|
errorCode: string | null;
|
|
17561
18005
|
logTail: string | null;
|
|
@@ -17633,7 +18077,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17633
18077
|
buildId: string;
|
|
17634
18078
|
versionId: string;
|
|
17635
18079
|
versionNumber: number;
|
|
17636
|
-
status: "
|
|
18080
|
+
status: "SUCCEEDED" | "FAILED" | "RUNNING" | "QUEUED" | "TIMED_OUT";
|
|
17637
18081
|
failureStage: string | null;
|
|
17638
18082
|
errorCode: string | null;
|
|
17639
18083
|
logTail: string | null;
|
|
@@ -18956,10 +19400,10 @@ export declare const storeIndustrySchema: z.ZodEnum<{
|
|
|
18956
19400
|
export type StoreIndustry = z.infer<typeof storeIndustrySchema>;
|
|
18957
19401
|
/** 상품 자료 — 인터뷰의 「상품 자료」 답. 상품 등록 단계의 방법을 고른다 */
|
|
18958
19402
|
export declare const brandBriefProductSourceSchema: z.ZodEnum<{
|
|
18959
|
-
NONE: "NONE";
|
|
18960
19403
|
SPREADSHEET: "SPREADSHEET";
|
|
18961
19404
|
EXISTING_STORE: "EXISTING_STORE";
|
|
18962
19405
|
PHOTOS: "PHOTOS";
|
|
19406
|
+
NONE: "NONE";
|
|
18963
19407
|
}>;
|
|
18964
19408
|
export type BrandBriefProductSource = z.infer<typeof brandBriefProductSourceSchema>;
|
|
18965
19409
|
export declare const BRAND_BRIEF_MAX_REFERENCES = 5;
|
|
@@ -18984,10 +19428,10 @@ export declare const brandBriefSchema: z.ZodObject<{
|
|
|
18984
19428
|
summary: z.ZodString;
|
|
18985
19429
|
}, z.core.$strip>>;
|
|
18986
19430
|
productSource: z.ZodNullable<z.ZodEnum<{
|
|
18987
|
-
NONE: "NONE";
|
|
18988
19431
|
SPREADSHEET: "SPREADSHEET";
|
|
18989
19432
|
EXISTING_STORE: "EXISTING_STORE";
|
|
18990
19433
|
PHOTOS: "PHOTOS";
|
|
19434
|
+
NONE: "NONE";
|
|
18991
19435
|
}>>;
|
|
18992
19436
|
notes: z.ZodNullable<z.ZodString>;
|
|
18993
19437
|
}, z.core.$strip>;
|
|
@@ -19007,10 +19451,10 @@ export declare const putBrandBriefRequestSchema: z.ZodObject<{
|
|
|
19007
19451
|
summary: z.ZodString;
|
|
19008
19452
|
}, z.core.$strip>>>;
|
|
19009
19453
|
productSource: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
19010
|
-
NONE: "NONE";
|
|
19011
19454
|
SPREADSHEET: "SPREADSHEET";
|
|
19012
19455
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19013
19456
|
PHOTOS: "PHOTOS";
|
|
19457
|
+
NONE: "NONE";
|
|
19014
19458
|
}>>>;
|
|
19015
19459
|
notes: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
19016
19460
|
}, z.core.$strip>;
|
|
@@ -19031,10 +19475,10 @@ export declare const brandBriefViewSchema: z.ZodObject<{
|
|
|
19031
19475
|
summary: z.ZodString;
|
|
19032
19476
|
}, z.core.$strip>>;
|
|
19033
19477
|
productSource: z.ZodNullable<z.ZodEnum<{
|
|
19034
|
-
NONE: "NONE";
|
|
19035
19478
|
SPREADSHEET: "SPREADSHEET";
|
|
19036
19479
|
EXISTING_STORE: "EXISTING_STORE";
|
|
19037
19480
|
PHOTOS: "PHOTOS";
|
|
19481
|
+
NONE: "NONE";
|
|
19038
19482
|
}>>;
|
|
19039
19483
|
notes: z.ZodNullable<z.ZodString>;
|
|
19040
19484
|
}, z.core.$strip>>;
|