@sayren/store-sdk 0.30.14 → 0.30.16
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 +206 -183
- package/dist/index.mjs +20 -8
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/schemas/storefront-hosting.ts +36 -6
package/dist/index.d.mts
CHANGED
|
@@ -166,8 +166,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
168
|
DENIED: "DENIED";
|
|
169
|
-
ALLOW: "ALLOW";
|
|
170
169
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
170
|
+
ALLOW: "ALLOW";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
173
173
|
export declare const writePreviewSchema: z.ZodObject<{
|
|
@@ -192,8 +192,8 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
192
192
|
dryRun: z.ZodLiteral<true>;
|
|
193
193
|
decision: z.ZodEnum<{
|
|
194
194
|
DENIED: "DENIED";
|
|
195
|
-
ALLOW: "ALLOW";
|
|
196
195
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
|
+
ALLOW: "ALLOW";
|
|
197
197
|
}>;
|
|
198
198
|
reason: z.ZodNullable<z.ZodString>;
|
|
199
199
|
preview: z.ZodObject<{
|
|
@@ -215,25 +215,25 @@ 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
|
-
PENDING: "PENDING";
|
|
219
218
|
FAILED: "FAILED";
|
|
219
|
+
EXPIRED: "EXPIRED";
|
|
220
|
+
UNKNOWN: "UNKNOWN";
|
|
221
|
+
PENDING: "PENDING";
|
|
220
222
|
SUCCEEDED: "SUCCEEDED";
|
|
221
223
|
EXECUTING: "EXECUTING";
|
|
222
|
-
UNKNOWN: "UNKNOWN";
|
|
223
224
|
REJECTED: "REJECTED";
|
|
224
|
-
EXPIRED: "EXPIRED";
|
|
225
225
|
}>;
|
|
226
226
|
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
|
-
PENDING: "PENDING";
|
|
231
230
|
FAILED: "FAILED";
|
|
231
|
+
EXPIRED: "EXPIRED";
|
|
232
|
+
UNKNOWN: "UNKNOWN";
|
|
233
|
+
PENDING: "PENDING";
|
|
232
234
|
SUCCEEDED: "SUCCEEDED";
|
|
233
235
|
EXECUTING: "EXECUTING";
|
|
234
|
-
UNKNOWN: "UNKNOWN";
|
|
235
236
|
REJECTED: "REJECTED";
|
|
236
|
-
EXPIRED: "EXPIRED";
|
|
237
237
|
}>;
|
|
238
238
|
operationId: z.ZodString;
|
|
239
239
|
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -291,13 +291,13 @@ 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
|
-
PENDING: "PENDING";
|
|
295
294
|
FAILED: "FAILED";
|
|
295
|
+
EXPIRED: "EXPIRED";
|
|
296
|
+
UNKNOWN: "UNKNOWN";
|
|
297
|
+
PENDING: "PENDING";
|
|
296
298
|
SUCCEEDED: "SUCCEEDED";
|
|
297
299
|
EXECUTING: "EXECUTING";
|
|
298
|
-
UNKNOWN: "UNKNOWN";
|
|
299
300
|
REJECTED: "REJECTED";
|
|
300
|
-
EXPIRED: "EXPIRED";
|
|
301
301
|
}>>>>;
|
|
302
302
|
cursor: z.ZodOptional<z.ZodString>;
|
|
303
303
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -310,13 +310,13 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
310
310
|
items: z.ZodArray<z.ZodObject<{
|
|
311
311
|
approvalId: z.ZodString;
|
|
312
312
|
status: z.ZodEnum<{
|
|
313
|
-
PENDING: "PENDING";
|
|
314
313
|
FAILED: "FAILED";
|
|
314
|
+
EXPIRED: "EXPIRED";
|
|
315
|
+
UNKNOWN: "UNKNOWN";
|
|
316
|
+
PENDING: "PENDING";
|
|
315
317
|
SUCCEEDED: "SUCCEEDED";
|
|
316
318
|
EXECUTING: "EXECUTING";
|
|
317
|
-
UNKNOWN: "UNKNOWN";
|
|
318
319
|
REJECTED: "REJECTED";
|
|
319
|
-
EXPIRED: "EXPIRED";
|
|
320
320
|
}>;
|
|
321
321
|
operationId: z.ZodString;
|
|
322
322
|
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -460,11 +460,11 @@ export declare const aiPreviewSelectionSchema: z.ZodObject<{
|
|
|
460
460
|
export type AiPreviewSelection = z.infer<typeof aiPreviewSelectionSchema>;
|
|
461
461
|
/** 실행 상태 — 끝난 상태는 `DONE`·`FAILED`·`CANCELLED`다 */
|
|
462
462
|
export declare const aiRunStatusSchema: z.ZodEnum<{
|
|
463
|
-
FAILED: "FAILED";
|
|
464
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
465
463
|
QUEUED: "QUEUED";
|
|
466
464
|
RUNNING: "RUNNING";
|
|
465
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
467
466
|
DONE: "DONE";
|
|
467
|
+
FAILED: "FAILED";
|
|
468
468
|
CANCELLED: "CANCELLED";
|
|
469
469
|
}>;
|
|
470
470
|
export type AiRunStatus = z.infer<typeof aiRunStatusSchema>;
|
|
@@ -479,11 +479,11 @@ export type AiStreamAccess = z.infer<typeof aiStreamAccessSchema>;
|
|
|
479
479
|
export declare const aiRunSchema: z.ZodObject<{
|
|
480
480
|
id: z.ZodString;
|
|
481
481
|
status: z.ZodEnum<{
|
|
482
|
-
FAILED: "FAILED";
|
|
483
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
484
482
|
QUEUED: "QUEUED";
|
|
485
483
|
RUNNING: "RUNNING";
|
|
484
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
486
485
|
DONE: "DONE";
|
|
486
|
+
FAILED: "FAILED";
|
|
487
487
|
CANCELLED: "CANCELLED";
|
|
488
488
|
}>;
|
|
489
489
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -672,11 +672,11 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
672
672
|
activeRun: z.ZodNullable<z.ZodObject<{
|
|
673
673
|
id: z.ZodString;
|
|
674
674
|
status: z.ZodEnum<{
|
|
675
|
-
FAILED: "FAILED";
|
|
676
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
677
675
|
QUEUED: "QUEUED";
|
|
678
676
|
RUNNING: "RUNNING";
|
|
677
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
679
678
|
DONE: "DONE";
|
|
679
|
+
FAILED: "FAILED";
|
|
680
680
|
CANCELLED: "CANCELLED";
|
|
681
681
|
}>;
|
|
682
682
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -691,11 +691,11 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
691
691
|
lastRun: z.ZodNullable<z.ZodObject<{
|
|
692
692
|
id: z.ZodString;
|
|
693
693
|
status: z.ZodEnum<{
|
|
694
|
-
FAILED: "FAILED";
|
|
695
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
696
694
|
QUEUED: "QUEUED";
|
|
697
695
|
RUNNING: "RUNNING";
|
|
696
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
698
697
|
DONE: "DONE";
|
|
698
|
+
FAILED: "FAILED";
|
|
699
699
|
CANCELLED: "CANCELLED";
|
|
700
700
|
}>;
|
|
701
701
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -755,10 +755,7 @@ export type SendAiMessageResponse = z.infer<typeof sendAiMessageResponseSchema>;
|
|
|
755
755
|
* 경로는 상점 플랫폼이 정한다(영역 → 라우트). `id`가 있으면 상세 화면이다
|
|
756
756
|
*/
|
|
757
757
|
export declare const aiFocusAreaSchema: z.ZodEnum<{
|
|
758
|
-
shipping: "shipping";
|
|
759
758
|
products: "products";
|
|
760
|
-
addresses: "addresses";
|
|
761
|
-
webhooks: "webhooks";
|
|
762
759
|
categories: "categories";
|
|
763
760
|
collections: "collections";
|
|
764
761
|
option_sets: "option_sets";
|
|
@@ -770,19 +767,19 @@ export declare const aiFocusAreaSchema: z.ZodEnum<{
|
|
|
770
767
|
inquiries: "inquiries";
|
|
771
768
|
customer_inquiries: "customer_inquiries";
|
|
772
769
|
store_settings: "store_settings";
|
|
770
|
+
shipping: "shipping";
|
|
771
|
+
addresses: "addresses";
|
|
773
772
|
payments: "payments";
|
|
774
773
|
login: "login";
|
|
775
774
|
members: "members";
|
|
776
775
|
order_flows: "order_flows";
|
|
776
|
+
webhooks: "webhooks";
|
|
777
777
|
storefront: "storefront";
|
|
778
778
|
}>;
|
|
779
779
|
export type AiFocusArea = z.infer<typeof aiFocusAreaSchema>;
|
|
780
780
|
export declare const aiFocusSchema: z.ZodObject<{
|
|
781
781
|
area: z.ZodEnum<{
|
|
782
|
-
shipping: "shipping";
|
|
783
782
|
products: "products";
|
|
784
|
-
addresses: "addresses";
|
|
785
|
-
webhooks: "webhooks";
|
|
786
783
|
categories: "categories";
|
|
787
784
|
collections: "collections";
|
|
788
785
|
option_sets: "option_sets";
|
|
@@ -794,10 +791,13 @@ export declare const aiFocusSchema: z.ZodObject<{
|
|
|
794
791
|
inquiries: "inquiries";
|
|
795
792
|
customer_inquiries: "customer_inquiries";
|
|
796
793
|
store_settings: "store_settings";
|
|
794
|
+
shipping: "shipping";
|
|
795
|
+
addresses: "addresses";
|
|
797
796
|
payments: "payments";
|
|
798
797
|
login: "login";
|
|
799
798
|
members: "members";
|
|
800
799
|
order_flows: "order_flows";
|
|
800
|
+
webhooks: "webhooks";
|
|
801
801
|
storefront: "storefront";
|
|
802
802
|
}>;
|
|
803
803
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -812,12 +812,12 @@ export declare const AI_RUN_FILE_CHANGES_RETENTION_DAYS = 7;
|
|
|
812
812
|
* - `REVERTING`·`REVERTED`·`REVERT_UNKNOWN`(되돌리기 결과를 모름 — 다시 하지 않는다)·`EXPIRED`
|
|
813
813
|
*/
|
|
814
814
|
export declare const aiRunChangesStatusSchema: z.ZodEnum<{
|
|
815
|
-
EXPIRED: "EXPIRED";
|
|
816
815
|
APPLIED: "APPLIED";
|
|
817
816
|
INCOMPLETE: "INCOMPLETE";
|
|
818
817
|
REVERTING: "REVERTING";
|
|
819
818
|
REVERTED: "REVERTED";
|
|
820
819
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
820
|
+
EXPIRED: "EXPIRED";
|
|
821
821
|
}>;
|
|
822
822
|
export type AiRunChangesStatus = z.infer<typeof aiRunChangesStatusSchema>;
|
|
823
823
|
export declare const aiFileChangeKindSchema: z.ZodEnum<{
|
|
@@ -829,12 +829,12 @@ export type AiFileChangeKind = z.infer<typeof aiFileChangeKindSchema>;
|
|
|
829
829
|
export declare const aiRunChangesSchema: z.ZodObject<{
|
|
830
830
|
runId: z.ZodString;
|
|
831
831
|
status: z.ZodEnum<{
|
|
832
|
-
EXPIRED: "EXPIRED";
|
|
833
832
|
APPLIED: "APPLIED";
|
|
834
833
|
INCOMPLETE: "INCOMPLETE";
|
|
835
834
|
REVERTING: "REVERTING";
|
|
836
835
|
REVERTED: "REVERTED";
|
|
837
836
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
837
|
+
EXPIRED: "EXPIRED";
|
|
838
838
|
}>;
|
|
839
839
|
files: z.ZodArray<z.ZodObject<{
|
|
840
840
|
path: z.ZodString;
|
|
@@ -851,12 +851,12 @@ export declare const aiConversationFileChangesSchema: z.ZodObject<{
|
|
|
851
851
|
runs: z.ZodArray<z.ZodObject<{
|
|
852
852
|
runId: z.ZodString;
|
|
853
853
|
status: z.ZodEnum<{
|
|
854
|
-
EXPIRED: "EXPIRED";
|
|
855
854
|
APPLIED: "APPLIED";
|
|
856
855
|
INCOMPLETE: "INCOMPLETE";
|
|
857
856
|
REVERTING: "REVERTING";
|
|
858
857
|
REVERTED: "REVERTED";
|
|
859
858
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
859
|
+
EXPIRED: "EXPIRED";
|
|
860
860
|
}>;
|
|
861
861
|
files: z.ZodArray<z.ZodObject<{
|
|
862
862
|
path: z.ZodString;
|
|
@@ -873,12 +873,12 @@ export type AiConversationFileChanges = z.infer<typeof aiConversationFileChanges
|
|
|
873
873
|
export declare const aiRunFileDiffSchema: z.ZodObject<{
|
|
874
874
|
runId: z.ZodString;
|
|
875
875
|
status: z.ZodEnum<{
|
|
876
|
-
EXPIRED: "EXPIRED";
|
|
877
876
|
APPLIED: "APPLIED";
|
|
878
877
|
INCOMPLETE: "INCOMPLETE";
|
|
879
878
|
REVERTING: "REVERTING";
|
|
880
879
|
REVERTED: "REVERTED";
|
|
881
880
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
881
|
+
EXPIRED: "EXPIRED";
|
|
882
882
|
}>;
|
|
883
883
|
files: z.ZodArray<z.ZodObject<{
|
|
884
884
|
path: z.ZodString;
|
|
@@ -909,8 +909,8 @@ export declare const aiRunRevertConflictDetailsSchema: z.ZodObject<{
|
|
|
909
909
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
910
910
|
path: z.ZodString;
|
|
911
911
|
reason: z.ZodEnum<{
|
|
912
|
-
UNKNOWN: "UNKNOWN";
|
|
913
912
|
CHANGED: "CHANGED";
|
|
913
|
+
UNKNOWN: "UNKNOWN";
|
|
914
914
|
}>;
|
|
915
915
|
}, z.core.$strip>>;
|
|
916
916
|
}, z.core.$strip>;
|
|
@@ -927,10 +927,7 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
927
927
|
label: z.ZodString;
|
|
928
928
|
focus: z.ZodOptional<z.ZodObject<{
|
|
929
929
|
area: z.ZodEnum<{
|
|
930
|
-
shipping: "shipping";
|
|
931
930
|
products: "products";
|
|
932
|
-
addresses: "addresses";
|
|
933
|
-
webhooks: "webhooks";
|
|
934
931
|
categories: "categories";
|
|
935
932
|
collections: "collections";
|
|
936
933
|
option_sets: "option_sets";
|
|
@@ -942,10 +939,13 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
942
939
|
inquiries: "inquiries";
|
|
943
940
|
customer_inquiries: "customer_inquiries";
|
|
944
941
|
store_settings: "store_settings";
|
|
942
|
+
shipping: "shipping";
|
|
943
|
+
addresses: "addresses";
|
|
945
944
|
payments: "payments";
|
|
946
945
|
login: "login";
|
|
947
946
|
members: "members";
|
|
948
947
|
order_flows: "order_flows";
|
|
948
|
+
webhooks: "webhooks";
|
|
949
949
|
storefront: "storefront";
|
|
950
950
|
}>;
|
|
951
951
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1037,11 +1037,11 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1037
1037
|
}, z.core.$strip>, z.ZodObject<{
|
|
1038
1038
|
type: z.ZodLiteral<"done">;
|
|
1039
1039
|
status: z.ZodEnum<{
|
|
1040
|
-
FAILED: "FAILED";
|
|
1041
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1042
1040
|
QUEUED: "QUEUED";
|
|
1043
1041
|
RUNNING: "RUNNING";
|
|
1042
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1044
1043
|
DONE: "DONE";
|
|
1044
|
+
FAILED: "FAILED";
|
|
1045
1045
|
CANCELLED: "CANCELLED";
|
|
1046
1046
|
}>;
|
|
1047
1047
|
}, z.core.$strip>], "type">;
|
|
@@ -1061,10 +1061,7 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1061
1061
|
label: z.ZodString;
|
|
1062
1062
|
focus: z.ZodOptional<z.ZodObject<{
|
|
1063
1063
|
area: z.ZodEnum<{
|
|
1064
|
-
shipping: "shipping";
|
|
1065
1064
|
products: "products";
|
|
1066
|
-
addresses: "addresses";
|
|
1067
|
-
webhooks: "webhooks";
|
|
1068
1065
|
categories: "categories";
|
|
1069
1066
|
collections: "collections";
|
|
1070
1067
|
option_sets: "option_sets";
|
|
@@ -1076,10 +1073,13 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1076
1073
|
inquiries: "inquiries";
|
|
1077
1074
|
customer_inquiries: "customer_inquiries";
|
|
1078
1075
|
store_settings: "store_settings";
|
|
1076
|
+
shipping: "shipping";
|
|
1077
|
+
addresses: "addresses";
|
|
1079
1078
|
payments: "payments";
|
|
1080
1079
|
login: "login";
|
|
1081
1080
|
members: "members";
|
|
1082
1081
|
order_flows: "order_flows";
|
|
1082
|
+
webhooks: "webhooks";
|
|
1083
1083
|
storefront: "storefront";
|
|
1084
1084
|
}>;
|
|
1085
1085
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1171,11 +1171,11 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1171
1171
|
}, z.core.$strip>, z.ZodObject<{
|
|
1172
1172
|
type: z.ZodLiteral<"done">;
|
|
1173
1173
|
status: z.ZodEnum<{
|
|
1174
|
-
FAILED: "FAILED";
|
|
1175
|
-
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1176
1174
|
QUEUED: "QUEUED";
|
|
1177
1175
|
RUNNING: "RUNNING";
|
|
1176
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1178
1177
|
DONE: "DONE";
|
|
1178
|
+
FAILED: "FAILED";
|
|
1179
1179
|
CANCELLED: "CANCELLED";
|
|
1180
1180
|
}>;
|
|
1181
1181
|
}, z.core.$strip>], "type">;
|
|
@@ -1390,10 +1390,10 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
1390
1390
|
}, z.core.$strip>;
|
|
1391
1391
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
1392
1392
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
1393
|
+
UNKNOWN: "UNKNOWN";
|
|
1393
1394
|
PAID: "PAID";
|
|
1394
1395
|
DIRECT: "DIRECT";
|
|
1395
1396
|
CAMPAIGN: "CAMPAIGN";
|
|
1396
|
-
UNKNOWN: "UNKNOWN";
|
|
1397
1397
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
1398
1398
|
SOCIAL: "SOCIAL";
|
|
1399
1399
|
EMAIL: "EMAIL";
|
|
@@ -1424,10 +1424,10 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
1424
1424
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
1425
1425
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
1426
1426
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
1427
|
+
UNKNOWN: "UNKNOWN";
|
|
1427
1428
|
PAID: "PAID";
|
|
1428
1429
|
DIRECT: "DIRECT";
|
|
1429
1430
|
CAMPAIGN: "CAMPAIGN";
|
|
1430
|
-
UNKNOWN: "UNKNOWN";
|
|
1431
1431
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
1432
1432
|
SOCIAL: "SOCIAL";
|
|
1433
1433
|
EMAIL: "EMAIL";
|
|
@@ -1460,10 +1460,10 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
1460
1460
|
}>;
|
|
1461
1461
|
rows: z.ZodArray<z.ZodObject<{
|
|
1462
1462
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
1463
|
+
UNKNOWN: "UNKNOWN";
|
|
1463
1464
|
PAID: "PAID";
|
|
1464
1465
|
DIRECT: "DIRECT";
|
|
1465
1466
|
CAMPAIGN: "CAMPAIGN";
|
|
1466
|
-
UNKNOWN: "UNKNOWN";
|
|
1467
1467
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
1468
1468
|
SOCIAL: "SOCIAL";
|
|
1469
1469
|
EMAIL: "EMAIL";
|
|
@@ -3669,10 +3669,10 @@ export declare const appInstallationRunSchema: z.ZodObject<{
|
|
|
3669
3669
|
deliveryId: z.ZodString;
|
|
3670
3670
|
eventType: z.ZodString;
|
|
3671
3671
|
status: z.ZodEnum<{
|
|
3672
|
+
FAILED: "FAILED";
|
|
3672
3673
|
PENDING: "PENDING";
|
|
3673
3674
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3674
3675
|
SUCCESS: "SUCCESS";
|
|
3675
|
-
FAILED: "FAILED";
|
|
3676
3676
|
}>;
|
|
3677
3677
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
3678
3678
|
TIMEOUT: "TIMEOUT";
|
|
@@ -3699,10 +3699,10 @@ export declare const appInstallationActivitySchema: z.ZodObject<{
|
|
|
3699
3699
|
deliveryId: z.ZodString;
|
|
3700
3700
|
eventType: z.ZodString;
|
|
3701
3701
|
status: z.ZodEnum<{
|
|
3702
|
+
FAILED: "FAILED";
|
|
3702
3703
|
PENDING: "PENDING";
|
|
3703
3704
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3704
3705
|
SUCCESS: "SUCCESS";
|
|
3705
|
-
FAILED: "FAILED";
|
|
3706
3706
|
}>;
|
|
3707
3707
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
3708
3708
|
TIMEOUT: "TIMEOUT";
|
|
@@ -3943,10 +3943,10 @@ export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
|
|
|
3943
3943
|
export declare const appBuildSchema: z.ZodObject<{
|
|
3944
3944
|
buildId: z.ZodString;
|
|
3945
3945
|
status: z.ZodEnum<{
|
|
3946
|
-
FAILED: "FAILED";
|
|
3947
|
-
SUCCEEDED: "SUCCEEDED";
|
|
3948
3946
|
QUEUED: "QUEUED";
|
|
3949
3947
|
RUNNING: "RUNNING";
|
|
3948
|
+
FAILED: "FAILED";
|
|
3949
|
+
SUCCEEDED: "SUCCEEDED";
|
|
3950
3950
|
TIMED_OUT: "TIMED_OUT";
|
|
3951
3951
|
}>;
|
|
3952
3952
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -3989,10 +3989,10 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
3989
3989
|
build: z.ZodNullable<z.ZodObject<{
|
|
3990
3990
|
buildId: z.ZodString;
|
|
3991
3991
|
status: z.ZodEnum<{
|
|
3992
|
-
FAILED: "FAILED";
|
|
3993
|
-
SUCCEEDED: "SUCCEEDED";
|
|
3994
3992
|
QUEUED: "QUEUED";
|
|
3995
3993
|
RUNNING: "RUNNING";
|
|
3994
|
+
FAILED: "FAILED";
|
|
3995
|
+
SUCCEEDED: "SUCCEEDED";
|
|
3996
3996
|
TIMED_OUT: "TIMED_OUT";
|
|
3997
3997
|
}>;
|
|
3998
3998
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -4140,10 +4140,10 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
4140
4140
|
build: z.ZodNullable<z.ZodObject<{
|
|
4141
4141
|
buildId: z.ZodString;
|
|
4142
4142
|
status: z.ZodEnum<{
|
|
4143
|
-
FAILED: "FAILED";
|
|
4144
|
-
SUCCEEDED: "SUCCEEDED";
|
|
4145
4143
|
QUEUED: "QUEUED";
|
|
4146
4144
|
RUNNING: "RUNNING";
|
|
4145
|
+
FAILED: "FAILED";
|
|
4146
|
+
SUCCEEDED: "SUCCEEDED";
|
|
4147
4147
|
TIMED_OUT: "TIMED_OUT";
|
|
4148
4148
|
}>;
|
|
4149
4149
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -4233,9 +4233,9 @@ export declare const appInvocationSchema: z.ZodObject<{
|
|
|
4233
4233
|
installationId: z.ZodString;
|
|
4234
4234
|
versionNumber: z.ZodNullable<z.ZodNumber>;
|
|
4235
4235
|
kind: z.ZodEnum<{
|
|
4236
|
+
tool: "tool";
|
|
4236
4237
|
event: "event";
|
|
4237
4238
|
flow: "flow";
|
|
4238
|
-
tool: "tool";
|
|
4239
4239
|
http: "http";
|
|
4240
4240
|
schedule: "schedule";
|
|
4241
4241
|
}>;
|
|
@@ -7034,10 +7034,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
7034
7034
|
}, z.core.$strip>;
|
|
7035
7035
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
7036
7036
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
7037
|
+
FAILED: "FAILED";
|
|
7037
7038
|
PENDING: "PENDING";
|
|
7038
7039
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7039
7040
|
SUCCESS: "SUCCESS";
|
|
7040
|
-
FAILED: "FAILED";
|
|
7041
7041
|
}>;
|
|
7042
7042
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
7043
7043
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -7107,10 +7107,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
7107
7107
|
}>;
|
|
7108
7108
|
url: z.ZodString;
|
|
7109
7109
|
status: z.ZodEnum<{
|
|
7110
|
+
FAILED: "FAILED";
|
|
7110
7111
|
PENDING: "PENDING";
|
|
7111
7112
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7112
7113
|
SUCCESS: "SUCCESS";
|
|
7113
|
-
FAILED: "FAILED";
|
|
7114
7114
|
}>;
|
|
7115
7115
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
7116
7116
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7168,10 +7168,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
7168
7168
|
}>;
|
|
7169
7169
|
url: z.ZodString;
|
|
7170
7170
|
status: z.ZodEnum<{
|
|
7171
|
+
FAILED: "FAILED";
|
|
7171
7172
|
PENDING: "PENDING";
|
|
7172
7173
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7173
7174
|
SUCCESS: "SUCCESS";
|
|
7174
|
-
FAILED: "FAILED";
|
|
7175
7175
|
}>;
|
|
7176
7176
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
7177
7177
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7212,10 +7212,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
7212
7212
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
7213
7213
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
7214
7214
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7215
|
+
FAILED: "FAILED";
|
|
7215
7216
|
PENDING: "PENDING";
|
|
7216
7217
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7217
7218
|
SUCCESS: "SUCCESS";
|
|
7218
|
-
FAILED: "FAILED";
|
|
7219
7219
|
}>>;
|
|
7220
7220
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
7221
7221
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -8200,8 +8200,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
8200
8200
|
}>;
|
|
8201
8201
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
8202
8202
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
8203
|
-
SUCCESS: "SUCCESS";
|
|
8204
8203
|
FAILED: "FAILED";
|
|
8204
|
+
SUCCESS: "SUCCESS";
|
|
8205
8205
|
}>;
|
|
8206
8206
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
8207
8207
|
/**
|
|
@@ -8350,8 +8350,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
8350
8350
|
}, z.core.$strip>>;
|
|
8351
8351
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8352
8352
|
result: z.ZodEnum<{
|
|
8353
|
-
SUCCESS: "SUCCESS";
|
|
8354
8353
|
FAILED: "FAILED";
|
|
8354
|
+
SUCCESS: "SUCCESS";
|
|
8355
8355
|
}>;
|
|
8356
8356
|
message: z.ZodNullable<z.ZodString>;
|
|
8357
8357
|
checkedAt: z.ZodString;
|
|
@@ -8460,8 +8460,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
8460
8460
|
}, z.core.$strip>>;
|
|
8461
8461
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8462
8462
|
result: z.ZodEnum<{
|
|
8463
|
-
SUCCESS: "SUCCESS";
|
|
8464
8463
|
FAILED: "FAILED";
|
|
8464
|
+
SUCCESS: "SUCCESS";
|
|
8465
8465
|
}>;
|
|
8466
8466
|
message: z.ZodNullable<z.ZodString>;
|
|
8467
8467
|
checkedAt: z.ZodString;
|
|
@@ -8497,8 +8497,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
8497
8497
|
}, z.core.$strip>>;
|
|
8498
8498
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8499
8499
|
result: z.ZodEnum<{
|
|
8500
|
-
SUCCESS: "SUCCESS";
|
|
8501
8500
|
FAILED: "FAILED";
|
|
8501
|
+
SUCCESS: "SUCCESS";
|
|
8502
8502
|
}>;
|
|
8503
8503
|
message: z.ZodNullable<z.ZodString>;
|
|
8504
8504
|
checkedAt: z.ZodString;
|
|
@@ -8533,8 +8533,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
8533
8533
|
}, z.core.$strip>>;
|
|
8534
8534
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8535
8535
|
result: z.ZodEnum<{
|
|
8536
|
-
SUCCESS: "SUCCESS";
|
|
8537
8536
|
FAILED: "FAILED";
|
|
8537
|
+
SUCCESS: "SUCCESS";
|
|
8538
8538
|
}>;
|
|
8539
8539
|
message: z.ZodNullable<z.ZodString>;
|
|
8540
8540
|
checkedAt: z.ZodString;
|
|
@@ -8626,8 +8626,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
8626
8626
|
}, z.core.$strip>>;
|
|
8627
8627
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8628
8628
|
result: z.ZodEnum<{
|
|
8629
|
-
SUCCESS: "SUCCESS";
|
|
8630
8629
|
FAILED: "FAILED";
|
|
8630
|
+
SUCCESS: "SUCCESS";
|
|
8631
8631
|
}>;
|
|
8632
8632
|
message: z.ZodNullable<z.ZodString>;
|
|
8633
8633
|
checkedAt: z.ZodString;
|
|
@@ -8663,8 +8663,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
8663
8663
|
}, z.core.$strip>>;
|
|
8664
8664
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8665
8665
|
result: z.ZodEnum<{
|
|
8666
|
-
SUCCESS: "SUCCESS";
|
|
8667
8666
|
FAILED: "FAILED";
|
|
8667
|
+
SUCCESS: "SUCCESS";
|
|
8668
8668
|
}>;
|
|
8669
8669
|
message: z.ZodNullable<z.ZodString>;
|
|
8670
8670
|
checkedAt: z.ZodString;
|
|
@@ -8699,8 +8699,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
8699
8699
|
}, z.core.$strip>>;
|
|
8700
8700
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8701
8701
|
result: z.ZodEnum<{
|
|
8702
|
-
SUCCESS: "SUCCESS";
|
|
8703
8702
|
FAILED: "FAILED";
|
|
8703
|
+
SUCCESS: "SUCCESS";
|
|
8704
8704
|
}>;
|
|
8705
8705
|
message: z.ZodNullable<z.ZodString>;
|
|
8706
8706
|
checkedAt: z.ZodString;
|
|
@@ -8758,8 +8758,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
8758
8758
|
LIVE: "LIVE";
|
|
8759
8759
|
}>;
|
|
8760
8760
|
result: z.ZodEnum<{
|
|
8761
|
-
SUCCESS: "SUCCESS";
|
|
8762
8761
|
FAILED: "FAILED";
|
|
8762
|
+
SUCCESS: "SUCCESS";
|
|
8763
8763
|
}>;
|
|
8764
8764
|
message: z.ZodNullable<z.ZodString>;
|
|
8765
8765
|
checkedAt: z.ZodString;
|
|
@@ -8889,8 +8889,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
8889
8889
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
8890
8890
|
*/
|
|
8891
8891
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
8892
|
-
PENDING: "PENDING";
|
|
8893
8892
|
FAILED: "FAILED";
|
|
8893
|
+
PENDING: "PENDING";
|
|
8894
8894
|
APPROVED: "APPROVED";
|
|
8895
8895
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
8896
8896
|
REFUNDED: "REFUNDED";
|
|
@@ -8937,8 +8937,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
8937
8937
|
orderName: z.ZodString;
|
|
8938
8938
|
customerName: z.ZodString;
|
|
8939
8939
|
status: z.ZodEnum<{
|
|
8940
|
-
PENDING: "PENDING";
|
|
8941
8940
|
FAILED: "FAILED";
|
|
8941
|
+
PENDING: "PENDING";
|
|
8942
8942
|
APPROVED: "APPROVED";
|
|
8943
8943
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
8944
8944
|
REFUNDED: "REFUNDED";
|
|
@@ -8985,8 +8985,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
8985
8985
|
orderName: z.ZodString;
|
|
8986
8986
|
customerName: z.ZodString;
|
|
8987
8987
|
status: z.ZodEnum<{
|
|
8988
|
-
PENDING: "PENDING";
|
|
8989
8988
|
FAILED: "FAILED";
|
|
8989
|
+
PENDING: "PENDING";
|
|
8990
8990
|
APPROVED: "APPROVED";
|
|
8991
8991
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
8992
8992
|
REFUNDED: "REFUNDED";
|
|
@@ -9078,8 +9078,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
9078
9078
|
orderName: z.ZodString;
|
|
9079
9079
|
customerName: z.ZodString;
|
|
9080
9080
|
status: z.ZodEnum<{
|
|
9081
|
-
PENDING: "PENDING";
|
|
9082
9081
|
FAILED: "FAILED";
|
|
9082
|
+
PENDING: "PENDING";
|
|
9083
9083
|
APPROVED: "APPROVED";
|
|
9084
9084
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
9085
9085
|
REFUNDED: "REFUNDED";
|
|
@@ -9693,8 +9693,8 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
9693
9693
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9694
9694
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9695
9695
|
number: "number";
|
|
9696
|
-
date: "date";
|
|
9697
9696
|
text: "text";
|
|
9697
|
+
date: "date";
|
|
9698
9698
|
select: "select";
|
|
9699
9699
|
datetime: "datetime";
|
|
9700
9700
|
image: "image";
|
|
@@ -9963,8 +9963,8 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
9963
9963
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9964
9964
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9965
9965
|
number: "number";
|
|
9966
|
-
date: "date";
|
|
9967
9966
|
text: "text";
|
|
9967
|
+
date: "date";
|
|
9968
9968
|
select: "select";
|
|
9969
9969
|
datetime: "datetime";
|
|
9970
9970
|
image: "image";
|
|
@@ -10137,8 +10137,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
10137
10137
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10138
10138
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10139
10139
|
number: "number";
|
|
10140
|
-
date: "date";
|
|
10141
10140
|
text: "text";
|
|
10141
|
+
date: "date";
|
|
10142
10142
|
select: "select";
|
|
10143
10143
|
datetime: "datetime";
|
|
10144
10144
|
image: "image";
|
|
@@ -10251,8 +10251,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
10251
10251
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10252
10252
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10253
10253
|
number: "number";
|
|
10254
|
-
date: "date";
|
|
10255
10254
|
text: "text";
|
|
10255
|
+
date: "date";
|
|
10256
10256
|
select: "select";
|
|
10257
10257
|
datetime: "datetime";
|
|
10258
10258
|
image: "image";
|
|
@@ -10339,9 +10339,9 @@ export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
|
10339
10339
|
export declare const productSortSchema: z.ZodEnum<{
|
|
10340
10340
|
"createdAt.desc": "createdAt.desc";
|
|
10341
10341
|
"createdAt.asc": "createdAt.asc";
|
|
10342
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
10342
10343
|
"salePrice.asc": "salePrice.asc";
|
|
10343
10344
|
"salePrice.desc": "salePrice.desc";
|
|
10344
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10345
10345
|
}>;
|
|
10346
10346
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
10347
10347
|
export interface ProductListParams extends PageParams {
|
|
@@ -10370,9 +10370,9 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
10370
10370
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
10371
10371
|
"createdAt.desc": "createdAt.desc";
|
|
10372
10372
|
"createdAt.asc": "createdAt.asc";
|
|
10373
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
10373
10374
|
"salePrice.asc": "salePrice.asc";
|
|
10374
10375
|
"salePrice.desc": "salePrice.desc";
|
|
10375
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10376
10376
|
}>>;
|
|
10377
10377
|
}, z.core.$strip>;
|
|
10378
10378
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -10484,8 +10484,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
10484
10484
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10485
10485
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10486
10486
|
number: "number";
|
|
10487
|
-
date: "date";
|
|
10488
10487
|
text: "text";
|
|
10488
|
+
date: "date";
|
|
10489
10489
|
select: "select";
|
|
10490
10490
|
datetime: "datetime";
|
|
10491
10491
|
image: "image";
|
|
@@ -10524,8 +10524,8 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
10524
10524
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10525
10525
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10526
10526
|
number: "number";
|
|
10527
|
-
date: "date";
|
|
10528
10527
|
text: "text";
|
|
10528
|
+
date: "date";
|
|
10529
10529
|
select: "select";
|
|
10530
10530
|
datetime: "datetime";
|
|
10531
10531
|
image: "image";
|
|
@@ -10872,8 +10872,8 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
10872
10872
|
STAFF: "STAFF";
|
|
10873
10873
|
}>;
|
|
10874
10874
|
status: z.ZodEnum<{
|
|
10875
|
-
PENDING: "PENDING";
|
|
10876
10875
|
EXPIRED: "EXPIRED";
|
|
10876
|
+
PENDING: "PENDING";
|
|
10877
10877
|
ACCEPTED: "ACCEPTED";
|
|
10878
10878
|
CANCELED: "CANCELED";
|
|
10879
10879
|
}>;
|
|
@@ -10912,8 +10912,8 @@ export type UpdateMemberRoleRequest = z.infer<typeof updateMemberRoleRequestSche
|
|
|
10912
10912
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
10913
10913
|
export declare const invitationListQuerySchema: z.ZodObject<{
|
|
10914
10914
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10915
|
-
PENDING: "PENDING";
|
|
10916
10915
|
EXPIRED: "EXPIRED";
|
|
10916
|
+
PENDING: "PENDING";
|
|
10917
10917
|
ACCEPTED: "ACCEPTED";
|
|
10918
10918
|
CANCELED: "CANCELED";
|
|
10919
10919
|
}>>;
|
|
@@ -11053,6 +11053,11 @@ export declare function isReservedStorefrontSlug(slug: string): boolean;
|
|
|
11053
11053
|
* `test/storefront-hosting-parity.spec.ts`가 둘을 대조한다. 규칙을 바꾸면 두 곳을 같이 고친다.
|
|
11054
11054
|
*/
|
|
11055
11055
|
export declare function storefrontEditPreviewLabelOf(siteId: string): string;
|
|
11056
|
+
/**
|
|
11057
|
+
* 버전 미리보기 호스트 이름의 라벨 — 올라간 버전 하나를 보는 고유 주소(`sfs_ab12cd34`, 3 → `sfs-ab12cd34-v3-preview`). 편집 미리보기와 같은
|
|
11058
|
+
* `-preview` 공간이라 슬러그가 될 수 없다. 복제본·대조는 `storefrontEditPreviewLabelOf`와 같다.
|
|
11059
|
+
*/
|
|
11060
|
+
export declare function storefrontVersionPreviewLabelOf(siteId: string, versionNumber: number): string;
|
|
11056
11061
|
export declare const storefrontSlugSchema: z.ZodString;
|
|
11057
11062
|
/** 바꾼 슬러그를 다른 사이트가 가져가지 못하게 막는 기간(일). 보류 동안 옛 주소는 새 주소로 301한다 */
|
|
11058
11063
|
export declare const STOREFRONT_SLUG_HOLD_DAYS = 90;
|
|
@@ -11141,6 +11146,7 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
11141
11146
|
createdByType: z.ZodString;
|
|
11142
11147
|
createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11143
11148
|
createdAt: z.ZodString;
|
|
11149
|
+
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
11144
11150
|
}, z.core.$strip>;
|
|
11145
11151
|
export type StorefrontVersion = z.infer<typeof storefrontVersionSchema>;
|
|
11146
11152
|
export declare const storefrontSiteStatusSchema: z.ZodEnum<{
|
|
@@ -11178,8 +11184,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
11178
11184
|
*/
|
|
11179
11185
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
11180
11186
|
status: z.ZodEnum<{
|
|
11181
|
-
PENDING: "PENDING";
|
|
11182
11187
|
FAILED: "FAILED";
|
|
11188
|
+
PENDING: "PENDING";
|
|
11183
11189
|
SYNCED: "SYNCED";
|
|
11184
11190
|
}>;
|
|
11185
11191
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -11263,11 +11269,12 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
11263
11269
|
createdByType: z.ZodString;
|
|
11264
11270
|
createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11265
11271
|
createdAt: z.ZodString;
|
|
11272
|
+
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
11266
11273
|
}, z.core.$strip>>;
|
|
11267
11274
|
provisioning: z.ZodObject<{
|
|
11268
11275
|
status: z.ZodEnum<{
|
|
11269
|
-
PENDING: "PENDING";
|
|
11270
11276
|
FAILED: "FAILED";
|
|
11277
|
+
PENDING: "PENDING";
|
|
11271
11278
|
SYNCED: "SYNCED";
|
|
11272
11279
|
}>;
|
|
11273
11280
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -11348,11 +11355,12 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
11348
11355
|
createdByType: z.ZodString;
|
|
11349
11356
|
createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11350
11357
|
createdAt: z.ZodString;
|
|
11358
|
+
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
11351
11359
|
}, z.core.$strip>>;
|
|
11352
11360
|
provisioning: z.ZodObject<{
|
|
11353
11361
|
status: z.ZodEnum<{
|
|
11354
|
-
PENDING: "PENDING";
|
|
11355
11362
|
FAILED: "FAILED";
|
|
11363
|
+
PENDING: "PENDING";
|
|
11356
11364
|
SYNCED: "SYNCED";
|
|
11357
11365
|
}>;
|
|
11358
11366
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -11399,10 +11407,10 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
11399
11407
|
PUBLISH: "PUBLISH";
|
|
11400
11408
|
}>;
|
|
11401
11409
|
status: z.ZodEnum<{
|
|
11402
|
-
PENDING: "PENDING";
|
|
11403
|
-
FAILED: "FAILED";
|
|
11404
11410
|
RUNNING: "RUNNING";
|
|
11405
11411
|
DONE: "DONE";
|
|
11412
|
+
FAILED: "FAILED";
|
|
11413
|
+
PENDING: "PENDING";
|
|
11406
11414
|
}>;
|
|
11407
11415
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
11408
11416
|
}, z.core.$strip>;
|
|
@@ -11435,10 +11443,10 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
11435
11443
|
PUBLISH: "PUBLISH";
|
|
11436
11444
|
}>;
|
|
11437
11445
|
status: z.ZodEnum<{
|
|
11438
|
-
PENDING: "PENDING";
|
|
11439
|
-
FAILED: "FAILED";
|
|
11440
11446
|
RUNNING: "RUNNING";
|
|
11441
11447
|
DONE: "DONE";
|
|
11448
|
+
FAILED: "FAILED";
|
|
11449
|
+
PENDING: "PENDING";
|
|
11442
11450
|
}>;
|
|
11443
11451
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
11444
11452
|
}, z.core.$strip>>;
|
|
@@ -11509,16 +11517,18 @@ export declare const storefrontSlugAvailabilityQuerySchema: z.ZodObject<{
|
|
|
11509
11517
|
slug: z.ZodString;
|
|
11510
11518
|
}, z.core.$strip>;
|
|
11511
11519
|
/**
|
|
11512
|
-
*
|
|
11513
|
-
*
|
|
11514
|
-
*
|
|
11520
|
+
* 버전 미리보기 링크 — 상점 플랫폼에서 로그인한 OWNER·ADMIN만 받는다(PAT·에이전트 불가). 버전마다 미리보기 전용 주소가 있고
|
|
11521
|
+
* (오픈 준비 중이어도 실제 화면), 링크를 5분 안에 열면 그 브라우저에 그 주소 전용 12시간 쿠키가 생긴다. 사이트 주소는 오픈 전이면
|
|
11522
|
+
* 누구에게나 「오픈 준비 중」이다. 미리보기 주소에 쿠키 없이 들어오면 상점 플랫폼 로그인과 OWNER·ADMIN 확인을 거친다.
|
|
11515
11523
|
*/
|
|
11516
11524
|
export declare const createStorefrontPreviewLinkRequestSchema: z.ZodObject<{
|
|
11517
11525
|
path: z.ZodOptional<z.ZodString>;
|
|
11526
|
+
versionId: z.ZodOptional<z.ZodString>;
|
|
11518
11527
|
}, z.core.$strip>;
|
|
11519
11528
|
export type CreateStorefrontPreviewLinkRequest = z.infer<typeof createStorefrontPreviewLinkRequestSchema>;
|
|
11520
11529
|
export declare const storefrontPreviewLinkSchema: z.ZodObject<{
|
|
11521
11530
|
url: z.ZodString;
|
|
11531
|
+
editorUrl: z.ZodOptional<z.ZodString>;
|
|
11522
11532
|
expiresAt: z.ZodString;
|
|
11523
11533
|
}, z.core.$strip>;
|
|
11524
11534
|
export type StorefrontPreviewLink = z.infer<typeof storefrontPreviewLinkSchema>;
|
|
@@ -11557,8 +11567,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
11557
11567
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
11558
11568
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
11559
11569
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
11560
|
-
ACTIVE: "ACTIVE";
|
|
11561
11570
|
FAILED: "FAILED";
|
|
11571
|
+
ACTIVE: "ACTIVE";
|
|
11562
11572
|
PENDING_DNS: "PENDING_DNS";
|
|
11563
11573
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11564
11574
|
}>;
|
|
@@ -11584,8 +11594,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
11584
11594
|
CUSTOM: "CUSTOM";
|
|
11585
11595
|
}>;
|
|
11586
11596
|
status: z.ZodEnum<{
|
|
11587
|
-
ACTIVE: "ACTIVE";
|
|
11588
11597
|
FAILED: "FAILED";
|
|
11598
|
+
ACTIVE: "ACTIVE";
|
|
11589
11599
|
PENDING_DNS: "PENDING_DNS";
|
|
11590
11600
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11591
11601
|
}>;
|
|
@@ -11603,9 +11613,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
11603
11613
|
}>;
|
|
11604
11614
|
}, z.core.$strip>>;
|
|
11605
11615
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
11616
|
+
FAILED: "FAILED";
|
|
11606
11617
|
ACTIVE: "ACTIVE";
|
|
11607
11618
|
PENDING: "PENDING";
|
|
11608
|
-
FAILED: "FAILED";
|
|
11609
11619
|
}>>;
|
|
11610
11620
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
11611
11621
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -11627,8 +11637,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
11627
11637
|
CUSTOM: "CUSTOM";
|
|
11628
11638
|
}>;
|
|
11629
11639
|
status: z.ZodEnum<{
|
|
11630
|
-
ACTIVE: "ACTIVE";
|
|
11631
11640
|
FAILED: "FAILED";
|
|
11641
|
+
ACTIVE: "ACTIVE";
|
|
11632
11642
|
PENDING_DNS: "PENDING_DNS";
|
|
11633
11643
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11634
11644
|
}>;
|
|
@@ -11646,9 +11656,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
11646
11656
|
}>;
|
|
11647
11657
|
}, z.core.$strip>>;
|
|
11648
11658
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
11659
|
+
FAILED: "FAILED";
|
|
11649
11660
|
ACTIVE: "ACTIVE";
|
|
11650
11661
|
PENDING: "PENDING";
|
|
11651
|
-
FAILED: "FAILED";
|
|
11652
11662
|
}>>;
|
|
11653
11663
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
11654
11664
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -11882,10 +11892,10 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
11882
11892
|
}, z.core.$strip>;
|
|
11883
11893
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
11884
11894
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
11885
|
-
FAILED: "FAILED";
|
|
11886
|
-
UNKNOWN: "UNKNOWN";
|
|
11887
11895
|
QUEUED: "QUEUED";
|
|
11888
11896
|
RUNNING: "RUNNING";
|
|
11897
|
+
FAILED: "FAILED";
|
|
11898
|
+
UNKNOWN: "UNKNOWN";
|
|
11889
11899
|
PASSED: "PASSED";
|
|
11890
11900
|
TIMED_OUT: "TIMED_OUT";
|
|
11891
11901
|
}>;
|
|
@@ -11896,10 +11906,10 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
11896
11906
|
checkId: z.ZodString;
|
|
11897
11907
|
check: z.ZodString;
|
|
11898
11908
|
status: z.ZodEnum<{
|
|
11899
|
-
FAILED: "FAILED";
|
|
11900
|
-
UNKNOWN: "UNKNOWN";
|
|
11901
11909
|
QUEUED: "QUEUED";
|
|
11902
11910
|
RUNNING: "RUNNING";
|
|
11911
|
+
FAILED: "FAILED";
|
|
11912
|
+
UNKNOWN: "UNKNOWN";
|
|
11903
11913
|
PASSED: "PASSED";
|
|
11904
11914
|
TIMED_OUT: "TIMED_OUT";
|
|
11905
11915
|
}>;
|
|
@@ -11981,10 +11991,10 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
11981
11991
|
}, z.core.$strip>;
|
|
11982
11992
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
11983
11993
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
11984
|
-
FAILED: "FAILED";
|
|
11985
|
-
SUCCEEDED: "SUCCEEDED";
|
|
11986
11994
|
QUEUED: "QUEUED";
|
|
11987
11995
|
RUNNING: "RUNNING";
|
|
11996
|
+
FAILED: "FAILED";
|
|
11997
|
+
SUCCEEDED: "SUCCEEDED";
|
|
11988
11998
|
TIMED_OUT: "TIMED_OUT";
|
|
11989
11999
|
}>;
|
|
11990
12000
|
export type StorefrontBuildStatus = z.infer<typeof storefrontBuildStatusSchema>;
|
|
@@ -12049,10 +12059,10 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
12049
12059
|
versionId: z.ZodString;
|
|
12050
12060
|
versionNumber: z.ZodNumber;
|
|
12051
12061
|
status: z.ZodEnum<{
|
|
12052
|
-
FAILED: "FAILED";
|
|
12053
|
-
SUCCEEDED: "SUCCEEDED";
|
|
12054
12062
|
QUEUED: "QUEUED";
|
|
12055
12063
|
RUNNING: "RUNNING";
|
|
12064
|
+
FAILED: "FAILED";
|
|
12065
|
+
SUCCEEDED: "SUCCEEDED";
|
|
12056
12066
|
TIMED_OUT: "TIMED_OUT";
|
|
12057
12067
|
}>;
|
|
12058
12068
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -12172,16 +12182,17 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
12172
12182
|
createdByType: z.ZodString;
|
|
12173
12183
|
createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12174
12184
|
createdAt: z.ZodString;
|
|
12185
|
+
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
12175
12186
|
}, z.core.$strip>;
|
|
12176
12187
|
build: z.ZodObject<{
|
|
12177
12188
|
buildId: z.ZodString;
|
|
12178
12189
|
versionId: z.ZodString;
|
|
12179
12190
|
versionNumber: z.ZodNumber;
|
|
12180
12191
|
status: z.ZodEnum<{
|
|
12181
|
-
FAILED: "FAILED";
|
|
12182
|
-
SUCCEEDED: "SUCCEEDED";
|
|
12183
12192
|
QUEUED: "QUEUED";
|
|
12184
12193
|
RUNNING: "RUNNING";
|
|
12194
|
+
FAILED: "FAILED";
|
|
12195
|
+
SUCCEEDED: "SUCCEEDED";
|
|
12185
12196
|
TIMED_OUT: "TIMED_OUT";
|
|
12186
12197
|
}>;
|
|
12187
12198
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -12275,7 +12286,7 @@ export type StorefrontVersionCreated = z.infer<typeof storefrontVersionCreatedSc
|
|
|
12275
12286
|
export declare const createStorefrontEditPreviewLinkRequestSchema: z.ZodObject<{
|
|
12276
12287
|
path: z.ZodOptional<z.ZodString>;
|
|
12277
12288
|
}, z.core.$strip>;
|
|
12278
|
-
export type CreateStorefrontEditPreviewLinkRequest =
|
|
12289
|
+
export type CreateStorefrontEditPreviewLinkRequest = z.infer<typeof createStorefrontEditPreviewLinkRequestSchema>;
|
|
12279
12290
|
/** 압축 파일 조각 하나의 최대 크기(바이트) */
|
|
12280
12291
|
export declare const STOREFRONT_SOURCE_PART_BYTES: number;
|
|
12281
12292
|
/** 내용 올리기 한 번의 최대 파일 수 */
|
|
@@ -13329,7 +13340,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13329
13340
|
value: true;
|
|
13330
13341
|
} | {
|
|
13331
13342
|
field: "bestSelling";
|
|
13332
|
-
days:
|
|
13343
|
+
days: 7 | 30 | 90;
|
|
13333
13344
|
top: number;
|
|
13334
13345
|
} | {
|
|
13335
13346
|
[x: string]: unknown;
|
|
@@ -13379,7 +13390,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13379
13390
|
value: true;
|
|
13380
13391
|
} | {
|
|
13381
13392
|
field: "bestSelling";
|
|
13382
|
-
days:
|
|
13393
|
+
days: 7 | 30 | 90;
|
|
13383
13394
|
top: number;
|
|
13384
13395
|
} | {
|
|
13385
13396
|
[x: string]: unknown;
|
|
@@ -13422,7 +13433,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13422
13433
|
value: true;
|
|
13423
13434
|
} | {
|
|
13424
13435
|
field: "bestSelling";
|
|
13425
|
-
days:
|
|
13436
|
+
days: 7 | 30 | 90;
|
|
13426
13437
|
top: number;
|
|
13427
13438
|
} | {
|
|
13428
13439
|
[x: string]: unknown;
|
|
@@ -13464,7 +13475,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13464
13475
|
value: true;
|
|
13465
13476
|
} | {
|
|
13466
13477
|
field: "bestSelling";
|
|
13467
|
-
days:
|
|
13478
|
+
days: 7 | 30 | 90;
|
|
13468
13479
|
top: number;
|
|
13469
13480
|
} | {
|
|
13470
13481
|
[x: string]: unknown;
|
|
@@ -13527,7 +13538,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13527
13538
|
value: true;
|
|
13528
13539
|
} | {
|
|
13529
13540
|
field: "bestSelling";
|
|
13530
|
-
days:
|
|
13541
|
+
days: 7 | 30 | 90;
|
|
13531
13542
|
top: number;
|
|
13532
13543
|
} | {
|
|
13533
13544
|
[x: string]: unknown;
|
|
@@ -13570,7 +13581,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13570
13581
|
value: true;
|
|
13571
13582
|
} | {
|
|
13572
13583
|
field: "bestSelling";
|
|
13573
|
-
days:
|
|
13584
|
+
days: 7 | 30 | 90;
|
|
13574
13585
|
top: number;
|
|
13575
13586
|
} | {
|
|
13576
13587
|
[x: string]: unknown;
|
|
@@ -16115,7 +16126,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16115
16126
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
16116
16127
|
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
16117
16128
|
rows: {
|
|
16118
|
-
channel: "
|
|
16129
|
+
channel: "UNKNOWN" | "PAID" | "DIRECT" | "CAMPAIGN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
16119
16130
|
source: string | null;
|
|
16120
16131
|
medium: string | null;
|
|
16121
16132
|
campaign: string | null;
|
|
@@ -16250,7 +16261,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16250
16261
|
orderId: string | null;
|
|
16251
16262
|
orderName: string;
|
|
16252
16263
|
customerName: string;
|
|
16253
|
-
status: "
|
|
16264
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
16254
16265
|
amount: number;
|
|
16255
16266
|
refundedAmount: number;
|
|
16256
16267
|
heldRefundAmount: number;
|
|
@@ -16276,7 +16287,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16276
16287
|
orderId: string | null;
|
|
16277
16288
|
orderName: string;
|
|
16278
16289
|
customerName: string;
|
|
16279
|
-
status: "
|
|
16290
|
+
status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
16280
16291
|
amount: number;
|
|
16281
16292
|
refundedAmount: number;
|
|
16282
16293
|
heldRefundAmount: number;
|
|
@@ -16391,7 +16402,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16391
16402
|
masked: string | null;
|
|
16392
16403
|
}[];
|
|
16393
16404
|
lastVerification: {
|
|
16394
|
-
result: "
|
|
16405
|
+
result: "FAILED" | "SUCCESS";
|
|
16395
16406
|
message: string | null;
|
|
16396
16407
|
checkedAt: string;
|
|
16397
16408
|
} | null;
|
|
@@ -16416,7 +16427,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16416
16427
|
masked: string | null;
|
|
16417
16428
|
}[];
|
|
16418
16429
|
lastVerification: {
|
|
16419
|
-
result: "
|
|
16430
|
+
result: "FAILED" | "SUCCESS";
|
|
16420
16431
|
message: string | null;
|
|
16421
16432
|
checkedAt: string;
|
|
16422
16433
|
} | null;
|
|
@@ -16440,7 +16451,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16440
16451
|
masked: string | null;
|
|
16441
16452
|
}[];
|
|
16442
16453
|
lastVerification: {
|
|
16443
|
-
result: "
|
|
16454
|
+
result: "FAILED" | "SUCCESS";
|
|
16444
16455
|
message: string | null;
|
|
16445
16456
|
checkedAt: string;
|
|
16446
16457
|
} | null;
|
|
@@ -16501,7 +16512,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16501
16512
|
masked: string | null;
|
|
16502
16513
|
}[];
|
|
16503
16514
|
lastVerification: {
|
|
16504
|
-
result: "
|
|
16515
|
+
result: "FAILED" | "SUCCESS";
|
|
16505
16516
|
message: string | null;
|
|
16506
16517
|
checkedAt: string;
|
|
16507
16518
|
} | null;
|
|
@@ -16526,7 +16537,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16526
16537
|
masked: string | null;
|
|
16527
16538
|
}[];
|
|
16528
16539
|
lastVerification: {
|
|
16529
|
-
result: "
|
|
16540
|
+
result: "FAILED" | "SUCCESS";
|
|
16530
16541
|
message: string | null;
|
|
16531
16542
|
checkedAt: string;
|
|
16532
16543
|
} | null;
|
|
@@ -16550,7 +16561,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16550
16561
|
masked: string | null;
|
|
16551
16562
|
}[];
|
|
16552
16563
|
lastVerification: {
|
|
16553
|
-
result: "
|
|
16564
|
+
result: "FAILED" | "SUCCESS";
|
|
16554
16565
|
message: string | null;
|
|
16555
16566
|
checkedAt: string;
|
|
16556
16567
|
} | null;
|
|
@@ -16616,7 +16627,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16616
16627
|
masked: string | null;
|
|
16617
16628
|
}[];
|
|
16618
16629
|
lastVerification: {
|
|
16619
|
-
result: "
|
|
16630
|
+
result: "FAILED" | "SUCCESS";
|
|
16620
16631
|
message: string | null;
|
|
16621
16632
|
checkedAt: string;
|
|
16622
16633
|
} | null;
|
|
@@ -16641,7 +16652,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16641
16652
|
masked: string | null;
|
|
16642
16653
|
}[];
|
|
16643
16654
|
lastVerification: {
|
|
16644
|
-
result: "
|
|
16655
|
+
result: "FAILED" | "SUCCESS";
|
|
16645
16656
|
message: string | null;
|
|
16646
16657
|
checkedAt: string;
|
|
16647
16658
|
} | null;
|
|
@@ -16665,7 +16676,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16665
16676
|
masked: string | null;
|
|
16666
16677
|
}[];
|
|
16667
16678
|
lastVerification: {
|
|
16668
|
-
result: "
|
|
16679
|
+
result: "FAILED" | "SUCCESS";
|
|
16669
16680
|
message: string | null;
|
|
16670
16681
|
checkedAt: string;
|
|
16671
16682
|
} | null;
|
|
@@ -16712,7 +16723,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16712
16723
|
masked: string | null;
|
|
16713
16724
|
}[];
|
|
16714
16725
|
lastVerification: {
|
|
16715
|
-
result: "
|
|
16726
|
+
result: "FAILED" | "SUCCESS";
|
|
16716
16727
|
message: string | null;
|
|
16717
16728
|
checkedAt: string;
|
|
16718
16729
|
} | null;
|
|
@@ -16737,7 +16748,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16737
16748
|
masked: string | null;
|
|
16738
16749
|
}[];
|
|
16739
16750
|
lastVerification: {
|
|
16740
|
-
result: "
|
|
16751
|
+
result: "FAILED" | "SUCCESS";
|
|
16741
16752
|
message: string | null;
|
|
16742
16753
|
checkedAt: string;
|
|
16743
16754
|
} | null;
|
|
@@ -16761,7 +16772,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16761
16772
|
masked: string | null;
|
|
16762
16773
|
}[];
|
|
16763
16774
|
lastVerification: {
|
|
16764
|
-
result: "
|
|
16775
|
+
result: "FAILED" | "SUCCESS";
|
|
16765
16776
|
message: string | null;
|
|
16766
16777
|
checkedAt: string;
|
|
16767
16778
|
} | null;
|
|
@@ -16818,7 +16829,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16818
16829
|
masked: string | null;
|
|
16819
16830
|
}[];
|
|
16820
16831
|
lastVerification: {
|
|
16821
|
-
result: "
|
|
16832
|
+
result: "FAILED" | "SUCCESS";
|
|
16822
16833
|
message: string | null;
|
|
16823
16834
|
checkedAt: string;
|
|
16824
16835
|
} | null;
|
|
@@ -16843,7 +16854,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16843
16854
|
masked: string | null;
|
|
16844
16855
|
}[];
|
|
16845
16856
|
lastVerification: {
|
|
16846
|
-
result: "
|
|
16857
|
+
result: "FAILED" | "SUCCESS";
|
|
16847
16858
|
message: string | null;
|
|
16848
16859
|
checkedAt: string;
|
|
16849
16860
|
} | null;
|
|
@@ -16867,7 +16878,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16867
16878
|
masked: string | null;
|
|
16868
16879
|
}[];
|
|
16869
16880
|
lastVerification: {
|
|
16870
|
-
result: "
|
|
16881
|
+
result: "FAILED" | "SUCCESS";
|
|
16871
16882
|
message: string | null;
|
|
16872
16883
|
checkedAt: string;
|
|
16873
16884
|
} | null;
|
|
@@ -16914,7 +16925,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16914
16925
|
masked: string | null;
|
|
16915
16926
|
}[];
|
|
16916
16927
|
lastVerification: {
|
|
16917
|
-
result: "
|
|
16928
|
+
result: "FAILED" | "SUCCESS";
|
|
16918
16929
|
message: string | null;
|
|
16919
16930
|
checkedAt: string;
|
|
16920
16931
|
} | null;
|
|
@@ -16939,7 +16950,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16939
16950
|
masked: string | null;
|
|
16940
16951
|
}[];
|
|
16941
16952
|
lastVerification: {
|
|
16942
|
-
result: "
|
|
16953
|
+
result: "FAILED" | "SUCCESS";
|
|
16943
16954
|
message: string | null;
|
|
16944
16955
|
checkedAt: string;
|
|
16945
16956
|
} | null;
|
|
@@ -16963,7 +16974,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16963
16974
|
masked: string | null;
|
|
16964
16975
|
}[];
|
|
16965
16976
|
lastVerification: {
|
|
16966
|
-
result: "
|
|
16977
|
+
result: "FAILED" | "SUCCESS";
|
|
16967
16978
|
message: string | null;
|
|
16968
16979
|
checkedAt: string;
|
|
16969
16980
|
} | null;
|
|
@@ -17019,7 +17030,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17019
17030
|
masked: string | null;
|
|
17020
17031
|
}[];
|
|
17021
17032
|
lastVerification: {
|
|
17022
|
-
result: "
|
|
17033
|
+
result: "FAILED" | "SUCCESS";
|
|
17023
17034
|
message: string | null;
|
|
17024
17035
|
checkedAt: string;
|
|
17025
17036
|
} | null;
|
|
@@ -17044,7 +17055,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17044
17055
|
masked: string | null;
|
|
17045
17056
|
}[];
|
|
17046
17057
|
lastVerification: {
|
|
17047
|
-
result: "
|
|
17058
|
+
result: "FAILED" | "SUCCESS";
|
|
17048
17059
|
message: string | null;
|
|
17049
17060
|
checkedAt: string;
|
|
17050
17061
|
} | null;
|
|
@@ -17068,7 +17079,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17068
17079
|
masked: string | null;
|
|
17069
17080
|
}[];
|
|
17070
17081
|
lastVerification: {
|
|
17071
|
-
result: "
|
|
17082
|
+
result: "FAILED" | "SUCCESS";
|
|
17072
17083
|
message: string | null;
|
|
17073
17084
|
checkedAt: string;
|
|
17074
17085
|
} | null;
|
|
@@ -17096,7 +17107,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17096
17107
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
17097
17108
|
provider: "tosspayments" | "portone";
|
|
17098
17109
|
environment: "TEST" | "LIVE";
|
|
17099
|
-
result: "
|
|
17110
|
+
result: "FAILED" | "SUCCESS";
|
|
17100
17111
|
message: string | null;
|
|
17101
17112
|
checkedAt: string;
|
|
17102
17113
|
}>;
|
|
@@ -17540,7 +17551,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17540
17551
|
runs: {
|
|
17541
17552
|
deliveryId: string;
|
|
17542
17553
|
eventType: string;
|
|
17543
|
-
status: "
|
|
17554
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
17544
17555
|
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;
|
|
17545
17556
|
attemptCount: number;
|
|
17546
17557
|
createdAt: string;
|
|
@@ -17737,7 +17748,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17737
17748
|
eventId: string;
|
|
17738
17749
|
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";
|
|
17739
17750
|
url: string;
|
|
17740
|
-
status: "
|
|
17751
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
17741
17752
|
responseStatusCode: number | null;
|
|
17742
17753
|
responseTimeMs: number | null;
|
|
17743
17754
|
responseBodyExcerpt: string | null;
|
|
@@ -17764,7 +17775,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17764
17775
|
eventId: string;
|
|
17765
17776
|
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";
|
|
17766
17777
|
url: string;
|
|
17767
|
-
status: "
|
|
17778
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
17768
17779
|
responseStatusCode: number | null;
|
|
17769
17780
|
responseTimeMs: number | null;
|
|
17770
17781
|
responseBodyExcerpt: string | null;
|
|
@@ -17799,7 +17810,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17799
17810
|
eventId: string;
|
|
17800
17811
|
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";
|
|
17801
17812
|
url: string;
|
|
17802
|
-
status: "
|
|
17813
|
+
status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
|
|
17803
17814
|
responseStatusCode: number | null;
|
|
17804
17815
|
responseTimeMs: number | null;
|
|
17805
17816
|
responseBodyExcerpt: string | null;
|
|
@@ -17913,7 +17924,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17913
17924
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
17914
17925
|
items: {
|
|
17915
17926
|
approvalId: string;
|
|
17916
|
-
status: "
|
|
17927
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
|
|
17917
17928
|
operationId: string;
|
|
17918
17929
|
method: string;
|
|
17919
17930
|
path: string;
|
|
@@ -17965,7 +17976,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17965
17976
|
}>;
|
|
17966
17977
|
get: (approvalId: string) => Promise<{
|
|
17967
17978
|
approvalId: string;
|
|
17968
|
-
status: "
|
|
17979
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
|
|
17969
17980
|
operationId: string;
|
|
17970
17981
|
method: string;
|
|
17971
17982
|
path: string;
|
|
@@ -18019,7 +18030,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18019
18030
|
*/
|
|
18020
18031
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
18021
18032
|
approvalId: string;
|
|
18022
|
-
status: "
|
|
18033
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
|
|
18023
18034
|
operationId: string;
|
|
18024
18035
|
method: string;
|
|
18025
18036
|
path: string;
|
|
@@ -18069,7 +18080,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18069
18080
|
}>;
|
|
18070
18081
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
18071
18082
|
approvalId: string;
|
|
18072
|
-
status: "
|
|
18083
|
+
status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
|
|
18073
18084
|
operationId: string;
|
|
18074
18085
|
method: string;
|
|
18075
18086
|
path: string;
|
|
@@ -18299,7 +18310,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18299
18310
|
}[];
|
|
18300
18311
|
activeRun: {
|
|
18301
18312
|
id: string;
|
|
18302
|
-
status: "
|
|
18313
|
+
status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
|
|
18303
18314
|
errorCode: string | null;
|
|
18304
18315
|
createdAt: string;
|
|
18305
18316
|
finishedAt: string | null;
|
|
@@ -18311,7 +18322,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18311
18322
|
} | null;
|
|
18312
18323
|
lastRun: {
|
|
18313
18324
|
id: string;
|
|
18314
|
-
status: "
|
|
18325
|
+
status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
|
|
18315
18326
|
errorCode: string | null;
|
|
18316
18327
|
createdAt: string;
|
|
18317
18328
|
finishedAt: string | null;
|
|
@@ -18327,7 +18338,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18327
18338
|
/** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
|
|
18328
18339
|
cancelRun: (runId: string) => Promise<{
|
|
18329
18340
|
id: string;
|
|
18330
|
-
status: "
|
|
18341
|
+
status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
|
|
18331
18342
|
errorCode: string | null;
|
|
18332
18343
|
createdAt: string;
|
|
18333
18344
|
finishedAt: string | null;
|
|
@@ -18336,7 +18347,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18336
18347
|
listFileChanges: (conversationId: string) => Promise<{
|
|
18337
18348
|
runs: {
|
|
18338
18349
|
runId: string;
|
|
18339
|
-
status: "
|
|
18350
|
+
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN" | "EXPIRED";
|
|
18340
18351
|
files: {
|
|
18341
18352
|
path: string;
|
|
18342
18353
|
change: "created" | "modified" | "deleted";
|
|
@@ -18346,7 +18357,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18346
18357
|
/** `GET /v1/ai/runs/{id}/file-changes` — 실행 하나의 변경 내용(이전·이후) */
|
|
18347
18358
|
getRunFileDiff: (runId: string) => Promise<{
|
|
18348
18359
|
runId: string;
|
|
18349
|
-
status: "
|
|
18360
|
+
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN" | "EXPIRED";
|
|
18350
18361
|
files: {
|
|
18351
18362
|
path: string;
|
|
18352
18363
|
change: "created" | "modified" | "deleted";
|
|
@@ -18435,9 +18446,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18435
18446
|
createdByType: string;
|
|
18436
18447
|
createdAt: string;
|
|
18437
18448
|
createdVia?: string | null | undefined;
|
|
18449
|
+
previewable?: boolean | undefined;
|
|
18438
18450
|
} | null;
|
|
18439
18451
|
provisioning: {
|
|
18440
|
-
status: "
|
|
18452
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18441
18453
|
lastErrorCode: string | null;
|
|
18442
18454
|
syncedAt: string | null;
|
|
18443
18455
|
};
|
|
@@ -18498,9 +18510,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18498
18510
|
createdByType: string;
|
|
18499
18511
|
createdAt: string;
|
|
18500
18512
|
createdVia?: string | null | undefined;
|
|
18513
|
+
previewable?: boolean | undefined;
|
|
18501
18514
|
} | null;
|
|
18502
18515
|
provisioning: {
|
|
18503
|
-
status: "
|
|
18516
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18504
18517
|
lastErrorCode: string | null;
|
|
18505
18518
|
syncedAt: string | null;
|
|
18506
18519
|
};
|
|
@@ -18529,7 +18542,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18529
18542
|
finishedAt: string | null;
|
|
18530
18543
|
steps: {
|
|
18531
18544
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
18532
|
-
status: "
|
|
18545
|
+
status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
|
|
18533
18546
|
finishedAt: string | null;
|
|
18534
18547
|
}[];
|
|
18535
18548
|
log: {
|
|
@@ -18551,7 +18564,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18551
18564
|
finishedAt: string | null;
|
|
18552
18565
|
steps: {
|
|
18553
18566
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
18554
|
-
status: "
|
|
18567
|
+
status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
|
|
18555
18568
|
finishedAt: string | null;
|
|
18556
18569
|
}[];
|
|
18557
18570
|
log: {
|
|
@@ -18599,9 +18612,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18599
18612
|
createdByType: string;
|
|
18600
18613
|
createdAt: string;
|
|
18601
18614
|
createdVia?: string | null | undefined;
|
|
18615
|
+
previewable?: boolean | undefined;
|
|
18602
18616
|
} | null;
|
|
18603
18617
|
provisioning: {
|
|
18604
|
-
status: "
|
|
18618
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18605
18619
|
lastErrorCode: string | null;
|
|
18606
18620
|
syncedAt: string | null;
|
|
18607
18621
|
};
|
|
@@ -18636,6 +18650,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18636
18650
|
createdByType: string;
|
|
18637
18651
|
createdAt: string;
|
|
18638
18652
|
createdVia?: string | null | undefined;
|
|
18653
|
+
previewable?: boolean | undefined;
|
|
18639
18654
|
}[]>;
|
|
18640
18655
|
/** `POST /v1/storefront/site/versions/{versionId}/publish` — 그 버전을 발행한다(이미 발행돼 있으면 그대로 200) */
|
|
18641
18656
|
publish: (versionId: string, body?: PublishStorefrontVersionRequest) => Promise<{
|
|
@@ -18668,9 +18683,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18668
18683
|
createdByType: string;
|
|
18669
18684
|
createdAt: string;
|
|
18670
18685
|
createdVia?: string | null | undefined;
|
|
18686
|
+
previewable?: boolean | undefined;
|
|
18671
18687
|
} | null;
|
|
18672
18688
|
provisioning: {
|
|
18673
|
-
status: "
|
|
18689
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18674
18690
|
lastErrorCode: string | null;
|
|
18675
18691
|
syncedAt: string | null;
|
|
18676
18692
|
};
|
|
@@ -18721,9 +18737,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18721
18737
|
createdByType: string;
|
|
18722
18738
|
createdAt: string;
|
|
18723
18739
|
createdVia?: string | null | undefined;
|
|
18740
|
+
previewable?: boolean | undefined;
|
|
18724
18741
|
} | null;
|
|
18725
18742
|
provisioning: {
|
|
18726
|
-
status: "
|
|
18743
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18727
18744
|
lastErrorCode: string | null;
|
|
18728
18745
|
syncedAt: string | null;
|
|
18729
18746
|
};
|
|
@@ -18774,9 +18791,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18774
18791
|
createdByType: string;
|
|
18775
18792
|
createdAt: string;
|
|
18776
18793
|
createdVia?: string | null | undefined;
|
|
18794
|
+
previewable?: boolean | undefined;
|
|
18777
18795
|
} | null;
|
|
18778
18796
|
provisioning: {
|
|
18779
|
-
status: "
|
|
18797
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18780
18798
|
lastErrorCode: string | null;
|
|
18781
18799
|
syncedAt: string | null;
|
|
18782
18800
|
};
|
|
@@ -18827,9 +18845,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18827
18845
|
createdByType: string;
|
|
18828
18846
|
createdAt: string;
|
|
18829
18847
|
createdVia?: string | null | undefined;
|
|
18848
|
+
previewable?: boolean | undefined;
|
|
18830
18849
|
} | null;
|
|
18831
18850
|
provisioning: {
|
|
18832
|
-
status: "
|
|
18851
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18833
18852
|
lastErrorCode: string | null;
|
|
18834
18853
|
syncedAt: string | null;
|
|
18835
18854
|
};
|
|
@@ -18850,12 +18869,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18850
18869
|
} | null | undefined;
|
|
18851
18870
|
}>;
|
|
18852
18871
|
/**
|
|
18853
|
-
* `POST /v1/storefront/site/preview-link` —
|
|
18872
|
+
* `POST /v1/storefront/site/preview-link` — 버전 미리보기 주소로 여는 5분짜리 링크(기본은 발행 버전, `versionId`로 다른 버전).
|
|
18854
18873
|
* 상점 플랫폼에서 로그인한 OWNER·ADMIN만 받는다
|
|
18855
18874
|
*/
|
|
18856
18875
|
createPreviewLink: (body?: CreateStorefrontPreviewLinkRequest) => Promise<{
|
|
18857
18876
|
url: string;
|
|
18858
18877
|
expiresAt: string;
|
|
18878
|
+
editorUrl?: string | undefined;
|
|
18859
18879
|
}>;
|
|
18860
18880
|
/** `GET /v1/storefront/site/domains` — 주소 목록(기본 주소 + 내 도메인)과 DNS 안내 */
|
|
18861
18881
|
listDomains: () => Promise<{
|
|
@@ -18866,7 +18886,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18866
18886
|
domainId: string;
|
|
18867
18887
|
hostname: string;
|
|
18868
18888
|
kind: "PLATFORM" | "CUSTOM";
|
|
18869
|
-
status: "
|
|
18889
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18870
18890
|
isPrimary: boolean;
|
|
18871
18891
|
dnsRecords: {
|
|
18872
18892
|
type: "CNAME" | "TXT";
|
|
@@ -18874,7 +18894,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18874
18894
|
value: string;
|
|
18875
18895
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18876
18896
|
}[];
|
|
18877
|
-
certificateStatus: "
|
|
18897
|
+
certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
|
|
18878
18898
|
failureCode: string | null;
|
|
18879
18899
|
verifiedAt: string | null;
|
|
18880
18900
|
activatedAt: string | null;
|
|
@@ -18890,7 +18910,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18890
18910
|
domainId: string;
|
|
18891
18911
|
hostname: string;
|
|
18892
18912
|
kind: "PLATFORM" | "CUSTOM";
|
|
18893
|
-
status: "
|
|
18913
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18894
18914
|
isPrimary: boolean;
|
|
18895
18915
|
dnsRecords: {
|
|
18896
18916
|
type: "CNAME" | "TXT";
|
|
@@ -18898,7 +18918,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18898
18918
|
value: string;
|
|
18899
18919
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18900
18920
|
}[];
|
|
18901
|
-
certificateStatus: "
|
|
18921
|
+
certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
|
|
18902
18922
|
failureCode: string | null;
|
|
18903
18923
|
verifiedAt: string | null;
|
|
18904
18924
|
activatedAt: string | null;
|
|
@@ -18910,7 +18930,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18910
18930
|
domainId: string;
|
|
18911
18931
|
hostname: string;
|
|
18912
18932
|
kind: "PLATFORM" | "CUSTOM";
|
|
18913
|
-
status: "
|
|
18933
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18914
18934
|
isPrimary: boolean;
|
|
18915
18935
|
dnsRecords: {
|
|
18916
18936
|
type: "CNAME" | "TXT";
|
|
@@ -18918,7 +18938,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18918
18938
|
value: string;
|
|
18919
18939
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18920
18940
|
}[];
|
|
18921
|
-
certificateStatus: "
|
|
18941
|
+
certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
|
|
18922
18942
|
failureCode: string | null;
|
|
18923
18943
|
verifiedAt: string | null;
|
|
18924
18944
|
activatedAt: string | null;
|
|
@@ -18934,7 +18954,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18934
18954
|
domainId: string;
|
|
18935
18955
|
hostname: string;
|
|
18936
18956
|
kind: "PLATFORM" | "CUSTOM";
|
|
18937
|
-
status: "
|
|
18957
|
+
status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18938
18958
|
isPrimary: boolean;
|
|
18939
18959
|
dnsRecords: {
|
|
18940
18960
|
type: "CNAME" | "TXT";
|
|
@@ -18942,7 +18962,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18942
18962
|
value: string;
|
|
18943
18963
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18944
18964
|
}[];
|
|
18945
|
-
certificateStatus: "
|
|
18965
|
+
certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
|
|
18946
18966
|
failureCode: string | null;
|
|
18947
18967
|
verifiedAt: string | null;
|
|
18948
18968
|
activatedAt: string | null;
|
|
@@ -18983,9 +19003,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18983
19003
|
createdByType: string;
|
|
18984
19004
|
createdAt: string;
|
|
18985
19005
|
createdVia?: string | null | undefined;
|
|
19006
|
+
previewable?: boolean | undefined;
|
|
18986
19007
|
} | null;
|
|
18987
19008
|
provisioning: {
|
|
18988
|
-
status: "
|
|
19009
|
+
status: "FAILED" | "PENDING" | "SYNCED";
|
|
18989
19010
|
lastErrorCode: string | null;
|
|
18990
19011
|
syncedAt: string | null;
|
|
18991
19012
|
};
|
|
@@ -19090,6 +19111,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19090
19111
|
createEditPreviewLink: (body?: CreateStorefrontEditPreviewLinkRequest) => Promise<{
|
|
19091
19112
|
url: string;
|
|
19092
19113
|
expiresAt: string;
|
|
19114
|
+
editorUrl?: string | undefined;
|
|
19093
19115
|
}>;
|
|
19094
19116
|
/** `GET /v1/storefront/site/files?prefix=` — 작업 트리 파일 목록 */
|
|
19095
19117
|
listFiles: (params?: {
|
|
@@ -19150,7 +19172,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19150
19172
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
19151
19173
|
checkId: string;
|
|
19152
19174
|
check: string;
|
|
19153
|
-
status: "
|
|
19175
|
+
status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
|
|
19154
19176
|
exitCode: number | null;
|
|
19155
19177
|
durationMs: number | null;
|
|
19156
19178
|
outputTail: string | null;
|
|
@@ -19164,7 +19186,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19164
19186
|
getCheck: (checkId: string) => Promise<{
|
|
19165
19187
|
checkId: string;
|
|
19166
19188
|
check: string;
|
|
19167
|
-
status: "
|
|
19189
|
+
status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
|
|
19168
19190
|
exitCode: number | null;
|
|
19169
19191
|
durationMs: number | null;
|
|
19170
19192
|
outputTail: string | null;
|
|
@@ -19226,12 +19248,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19226
19248
|
createdByType: string;
|
|
19227
19249
|
createdAt: string;
|
|
19228
19250
|
createdVia?: string | null | undefined;
|
|
19251
|
+
previewable?: boolean | undefined;
|
|
19229
19252
|
};
|
|
19230
19253
|
build: {
|
|
19231
19254
|
buildId: string;
|
|
19232
19255
|
versionId: string;
|
|
19233
19256
|
versionNumber: number;
|
|
19234
|
-
status: "
|
|
19257
|
+
status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
|
|
19235
19258
|
failureStage: string | null;
|
|
19236
19259
|
errorCode: string | null;
|
|
19237
19260
|
logTail: string | null;
|
|
@@ -19312,7 +19335,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19312
19335
|
buildId: string;
|
|
19313
19336
|
versionId: string;
|
|
19314
19337
|
versionNumber: number;
|
|
19315
|
-
status: "
|
|
19338
|
+
status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
|
|
19316
19339
|
failureStage: string | null;
|
|
19317
19340
|
errorCode: string | null;
|
|
19318
19341
|
logTail: string | null;
|
|
@@ -19390,7 +19413,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19390
19413
|
buildId: string;
|
|
19391
19414
|
versionId: string;
|
|
19392
19415
|
versionNumber: number;
|
|
19393
|
-
status: "
|
|
19416
|
+
status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
|
|
19394
19417
|
failureStage: string | null;
|
|
19395
19418
|
errorCode: string | null;
|
|
19396
19419
|
logTail: string | null;
|
|
@@ -19535,7 +19558,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19535
19558
|
code: string;
|
|
19536
19559
|
name: string;
|
|
19537
19560
|
};
|
|
19538
|
-
status: "
|
|
19561
|
+
status: "INCOMPLETE" | "ACTIVE" | "CANCELED" | "PAST_DUE";
|
|
19539
19562
|
interval: "MONTH" | null;
|
|
19540
19563
|
cancelAtPeriodEnd: boolean;
|
|
19541
19564
|
period: {
|
|
@@ -19807,7 +19830,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19807
19830
|
invitationId: string;
|
|
19808
19831
|
email: string;
|
|
19809
19832
|
role: "ADMIN" | "STAFF";
|
|
19810
|
-
status: "
|
|
19833
|
+
status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
|
|
19811
19834
|
invitedBy: string;
|
|
19812
19835
|
expiresAt: string;
|
|
19813
19836
|
createdAt: string;
|
|
@@ -19825,7 +19848,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19825
19848
|
invitationId: string;
|
|
19826
19849
|
email: string;
|
|
19827
19850
|
role: "ADMIN" | "STAFF";
|
|
19828
|
-
status: "
|
|
19851
|
+
status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
|
|
19829
19852
|
invitedBy: string;
|
|
19830
19853
|
expiresAt: string;
|
|
19831
19854
|
createdAt: string;
|
|
@@ -19840,7 +19863,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19840
19863
|
invitationId: string;
|
|
19841
19864
|
email: string;
|
|
19842
19865
|
role: "ADMIN" | "STAFF";
|
|
19843
|
-
status: "
|
|
19866
|
+
status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
|
|
19844
19867
|
invitedBy: string;
|
|
19845
19868
|
expiresAt: string;
|
|
19846
19869
|
createdAt: string;
|
|
@@ -20449,10 +20472,10 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
20449
20472
|
};
|
|
20450
20473
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
20451
20474
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
20475
|
+
storefront: "storefront";
|
|
20452
20476
|
category: "category";
|
|
20453
20477
|
flow: "flow";
|
|
20454
20478
|
analytics: "analytics";
|
|
20455
|
-
storefront: "storefront";
|
|
20456
20479
|
product: "product";
|
|
20457
20480
|
order: "order";
|
|
20458
20481
|
claim: "claim";
|
|
@@ -20928,9 +20951,9 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
20928
20951
|
}>, z.ZodString]>;
|
|
20929
20952
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
20930
20953
|
export declare const subscriptionStatusSchema: z.ZodEnum<{
|
|
20954
|
+
INCOMPLETE: "INCOMPLETE";
|
|
20931
20955
|
ACTIVE: "ACTIVE";
|
|
20932
20956
|
CANCELED: "CANCELED";
|
|
20933
|
-
INCOMPLETE: "INCOMPLETE";
|
|
20934
20957
|
PAST_DUE: "PAST_DUE";
|
|
20935
20958
|
}>;
|
|
20936
20959
|
export type SubscriptionStatus = z.infer<typeof subscriptionStatusSchema>;
|
|
@@ -20979,9 +21002,9 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
20979
21002
|
name: z.ZodString;
|
|
20980
21003
|
}, z.core.$strip>;
|
|
20981
21004
|
status: z.ZodEnum<{
|
|
21005
|
+
INCOMPLETE: "INCOMPLETE";
|
|
20982
21006
|
ACTIVE: "ACTIVE";
|
|
20983
21007
|
CANCELED: "CANCELED";
|
|
20984
|
-
INCOMPLETE: "INCOMPLETE";
|
|
20985
21008
|
PAST_DUE: "PAST_DUE";
|
|
20986
21009
|
}>;
|
|
20987
21010
|
interval: z.ZodNullable<z.ZodEnum<{
|