@sayren/store-sdk 0.30.14 → 0.30.15

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 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";
@@ -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,12 +11517,13 @@ export declare const storefrontSlugAvailabilityQuerySchema: z.ZodObject<{
11509
11517
  slug: z.ZodString;
11510
11518
  }, z.core.$strip>;
11511
11519
  /**
11512
- * 오픈 준비 중 미리보기 링크 — 상점 플랫폼에서 로그인한 OWNER·ADMIN만 받는다(PAT·에이전트 불가). 링크는 5분 안에 한 번 열면
11513
- * 그 브라우저에 12시간짜리 미리보기 쿠키가 생기고 오픈 준비 중인 사이트의 실제 화면을 본다. 링크를 남에게 넘기면 그 사람도
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<{
@@ -11557,8 +11566,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
11557
11566
  /** 소유 확인 TXT 레코드의 전체 이름 */
11558
11567
  export declare function storefrontDomainTxtNameOf(hostname: string): string;
11559
11568
  export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
11560
- ACTIVE: "ACTIVE";
11561
11569
  FAILED: "FAILED";
11570
+ ACTIVE: "ACTIVE";
11562
11571
  PENDING_DNS: "PENDING_DNS";
11563
11572
  PENDING_VALIDATION: "PENDING_VALIDATION";
11564
11573
  }>;
@@ -11584,8 +11593,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
11584
11593
  CUSTOM: "CUSTOM";
11585
11594
  }>;
11586
11595
  status: z.ZodEnum<{
11587
- ACTIVE: "ACTIVE";
11588
11596
  FAILED: "FAILED";
11597
+ ACTIVE: "ACTIVE";
11589
11598
  PENDING_DNS: "PENDING_DNS";
11590
11599
  PENDING_VALIDATION: "PENDING_VALIDATION";
11591
11600
  }>;
@@ -11603,9 +11612,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
11603
11612
  }>;
11604
11613
  }, z.core.$strip>>;
11605
11614
  certificateStatus: z.ZodNullable<z.ZodEnum<{
11615
+ FAILED: "FAILED";
11606
11616
  ACTIVE: "ACTIVE";
11607
11617
  PENDING: "PENDING";
11608
- FAILED: "FAILED";
11609
11618
  }>>;
11610
11619
  failureCode: z.ZodNullable<z.ZodString>;
11611
11620
  verifiedAt: z.ZodNullable<z.ZodString>;
@@ -11627,8 +11636,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
11627
11636
  CUSTOM: "CUSTOM";
11628
11637
  }>;
11629
11638
  status: z.ZodEnum<{
11630
- ACTIVE: "ACTIVE";
11631
11639
  FAILED: "FAILED";
11640
+ ACTIVE: "ACTIVE";
11632
11641
  PENDING_DNS: "PENDING_DNS";
11633
11642
  PENDING_VALIDATION: "PENDING_VALIDATION";
11634
11643
  }>;
@@ -11646,9 +11655,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
11646
11655
  }>;
11647
11656
  }, z.core.$strip>>;
11648
11657
  certificateStatus: z.ZodNullable<z.ZodEnum<{
11658
+ FAILED: "FAILED";
11649
11659
  ACTIVE: "ACTIVE";
11650
11660
  PENDING: "PENDING";
11651
- FAILED: "FAILED";
11652
11661
  }>>;
11653
11662
  failureCode: z.ZodNullable<z.ZodString>;
11654
11663
  verifiedAt: z.ZodNullable<z.ZodString>;
@@ -11882,10 +11891,10 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
11882
11891
  }, z.core.$strip>;
11883
11892
  export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
11884
11893
  export declare const storefrontCheckStatusSchema: z.ZodEnum<{
11885
- FAILED: "FAILED";
11886
- UNKNOWN: "UNKNOWN";
11887
11894
  QUEUED: "QUEUED";
11888
11895
  RUNNING: "RUNNING";
11896
+ FAILED: "FAILED";
11897
+ UNKNOWN: "UNKNOWN";
11889
11898
  PASSED: "PASSED";
11890
11899
  TIMED_OUT: "TIMED_OUT";
11891
11900
  }>;
@@ -11896,10 +11905,10 @@ export declare const storefrontCheckSchema: z.ZodObject<{
11896
11905
  checkId: z.ZodString;
11897
11906
  check: z.ZodString;
11898
11907
  status: z.ZodEnum<{
11899
- FAILED: "FAILED";
11900
- UNKNOWN: "UNKNOWN";
11901
11908
  QUEUED: "QUEUED";
11902
11909
  RUNNING: "RUNNING";
11910
+ FAILED: "FAILED";
11911
+ UNKNOWN: "UNKNOWN";
11903
11912
  PASSED: "PASSED";
11904
11913
  TIMED_OUT: "TIMED_OUT";
11905
11914
  }>;
@@ -11981,10 +11990,10 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
11981
11990
  }, z.core.$strip>;
11982
11991
  export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
11983
11992
  export declare const storefrontBuildStatusSchema: z.ZodEnum<{
11984
- FAILED: "FAILED";
11985
- SUCCEEDED: "SUCCEEDED";
11986
11993
  QUEUED: "QUEUED";
11987
11994
  RUNNING: "RUNNING";
11995
+ FAILED: "FAILED";
11996
+ SUCCEEDED: "SUCCEEDED";
11988
11997
  TIMED_OUT: "TIMED_OUT";
11989
11998
  }>;
11990
11999
  export type StorefrontBuildStatus = z.infer<typeof storefrontBuildStatusSchema>;
@@ -12049,10 +12058,10 @@ export declare const storefrontBuildSchema: z.ZodObject<{
12049
12058
  versionId: z.ZodString;
12050
12059
  versionNumber: z.ZodNumber;
12051
12060
  status: z.ZodEnum<{
12052
- FAILED: "FAILED";
12053
- SUCCEEDED: "SUCCEEDED";
12054
12061
  QUEUED: "QUEUED";
12055
12062
  RUNNING: "RUNNING";
12063
+ FAILED: "FAILED";
12064
+ SUCCEEDED: "SUCCEEDED";
12056
12065
  TIMED_OUT: "TIMED_OUT";
12057
12066
  }>;
12058
12067
  failureStage: z.ZodNullable<z.ZodString>;
@@ -12172,16 +12181,17 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
12172
12181
  createdByType: z.ZodString;
12173
12182
  createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12174
12183
  createdAt: z.ZodString;
12184
+ previewable: z.ZodOptional<z.ZodBoolean>;
12175
12185
  }, z.core.$strip>;
12176
12186
  build: z.ZodObject<{
12177
12187
  buildId: z.ZodString;
12178
12188
  versionId: z.ZodString;
12179
12189
  versionNumber: z.ZodNumber;
12180
12190
  status: z.ZodEnum<{
12181
- FAILED: "FAILED";
12182
- SUCCEEDED: "SUCCEEDED";
12183
12191
  QUEUED: "QUEUED";
12184
12192
  RUNNING: "RUNNING";
12193
+ FAILED: "FAILED";
12194
+ SUCCEEDED: "SUCCEEDED";
12185
12195
  TIMED_OUT: "TIMED_OUT";
12186
12196
  }>;
12187
12197
  failureStage: z.ZodNullable<z.ZodString>;
@@ -12275,7 +12285,7 @@ export type StorefrontVersionCreated = z.infer<typeof storefrontVersionCreatedSc
12275
12285
  export declare const createStorefrontEditPreviewLinkRequestSchema: z.ZodObject<{
12276
12286
  path: z.ZodOptional<z.ZodString>;
12277
12287
  }, z.core.$strip>;
12278
- export type CreateStorefrontEditPreviewLinkRequest = CreateStorefrontPreviewLinkRequest;
12288
+ export type CreateStorefrontEditPreviewLinkRequest = z.infer<typeof createStorefrontEditPreviewLinkRequestSchema>;
12279
12289
  /** 압축 파일 조각 하나의 최대 크기(바이트) */
12280
12290
  export declare const STOREFRONT_SOURCE_PART_BYTES: number;
12281
12291
  /** 내용 올리기 한 번의 최대 파일 수 */
@@ -13329,7 +13339,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13329
13339
  value: true;
13330
13340
  } | {
13331
13341
  field: "bestSelling";
13332
- days: 30 | 7 | 90;
13342
+ days: 7 | 30 | 90;
13333
13343
  top: number;
13334
13344
  } | {
13335
13345
  [x: string]: unknown;
@@ -13379,7 +13389,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13379
13389
  value: true;
13380
13390
  } | {
13381
13391
  field: "bestSelling";
13382
- days: 30 | 7 | 90;
13392
+ days: 7 | 30 | 90;
13383
13393
  top: number;
13384
13394
  } | {
13385
13395
  [x: string]: unknown;
@@ -13422,7 +13432,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13422
13432
  value: true;
13423
13433
  } | {
13424
13434
  field: "bestSelling";
13425
- days: 30 | 7 | 90;
13435
+ days: 7 | 30 | 90;
13426
13436
  top: number;
13427
13437
  } | {
13428
13438
  [x: string]: unknown;
@@ -13464,7 +13474,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13464
13474
  value: true;
13465
13475
  } | {
13466
13476
  field: "bestSelling";
13467
- days: 30 | 7 | 90;
13477
+ days: 7 | 30 | 90;
13468
13478
  top: number;
13469
13479
  } | {
13470
13480
  [x: string]: unknown;
@@ -13527,7 +13537,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13527
13537
  value: true;
13528
13538
  } | {
13529
13539
  field: "bestSelling";
13530
- days: 30 | 7 | 90;
13540
+ days: 7 | 30 | 90;
13531
13541
  top: number;
13532
13542
  } | {
13533
13543
  [x: string]: unknown;
@@ -13570,7 +13580,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13570
13580
  value: true;
13571
13581
  } | {
13572
13582
  field: "bestSelling";
13573
- days: 30 | 7 | 90;
13583
+ days: 7 | 30 | 90;
13574
13584
  top: number;
13575
13585
  } | {
13576
13586
  [x: string]: unknown;
@@ -16115,7 +16125,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16115
16125
  sources: (params: AnalyticsSourcesParams) => Promise<{
16116
16126
  groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
16117
16127
  rows: {
16118
- channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
16128
+ channel: "UNKNOWN" | "PAID" | "DIRECT" | "CAMPAIGN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
16119
16129
  source: string | null;
16120
16130
  medium: string | null;
16121
16131
  campaign: string | null;
@@ -16250,7 +16260,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16250
16260
  orderId: string | null;
16251
16261
  orderName: string;
16252
16262
  customerName: string;
16253
- status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16263
+ status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16254
16264
  amount: number;
16255
16265
  refundedAmount: number;
16256
16266
  heldRefundAmount: number;
@@ -16276,7 +16286,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16276
16286
  orderId: string | null;
16277
16287
  orderName: string;
16278
16288
  customerName: string;
16279
- status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16289
+ status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16280
16290
  amount: number;
16281
16291
  refundedAmount: number;
16282
16292
  heldRefundAmount: number;
@@ -16391,7 +16401,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16391
16401
  masked: string | null;
16392
16402
  }[];
16393
16403
  lastVerification: {
16394
- result: "SUCCESS" | "FAILED";
16404
+ result: "FAILED" | "SUCCESS";
16395
16405
  message: string | null;
16396
16406
  checkedAt: string;
16397
16407
  } | null;
@@ -16416,7 +16426,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16416
16426
  masked: string | null;
16417
16427
  }[];
16418
16428
  lastVerification: {
16419
- result: "SUCCESS" | "FAILED";
16429
+ result: "FAILED" | "SUCCESS";
16420
16430
  message: string | null;
16421
16431
  checkedAt: string;
16422
16432
  } | null;
@@ -16440,7 +16450,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16440
16450
  masked: string | null;
16441
16451
  }[];
16442
16452
  lastVerification: {
16443
- result: "SUCCESS" | "FAILED";
16453
+ result: "FAILED" | "SUCCESS";
16444
16454
  message: string | null;
16445
16455
  checkedAt: string;
16446
16456
  } | null;
@@ -16501,7 +16511,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16501
16511
  masked: string | null;
16502
16512
  }[];
16503
16513
  lastVerification: {
16504
- result: "SUCCESS" | "FAILED";
16514
+ result: "FAILED" | "SUCCESS";
16505
16515
  message: string | null;
16506
16516
  checkedAt: string;
16507
16517
  } | null;
@@ -16526,7 +16536,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16526
16536
  masked: string | null;
16527
16537
  }[];
16528
16538
  lastVerification: {
16529
- result: "SUCCESS" | "FAILED";
16539
+ result: "FAILED" | "SUCCESS";
16530
16540
  message: string | null;
16531
16541
  checkedAt: string;
16532
16542
  } | null;
@@ -16550,7 +16560,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16550
16560
  masked: string | null;
16551
16561
  }[];
16552
16562
  lastVerification: {
16553
- result: "SUCCESS" | "FAILED";
16563
+ result: "FAILED" | "SUCCESS";
16554
16564
  message: string | null;
16555
16565
  checkedAt: string;
16556
16566
  } | null;
@@ -16616,7 +16626,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16616
16626
  masked: string | null;
16617
16627
  }[];
16618
16628
  lastVerification: {
16619
- result: "SUCCESS" | "FAILED";
16629
+ result: "FAILED" | "SUCCESS";
16620
16630
  message: string | null;
16621
16631
  checkedAt: string;
16622
16632
  } | null;
@@ -16641,7 +16651,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16641
16651
  masked: string | null;
16642
16652
  }[];
16643
16653
  lastVerification: {
16644
- result: "SUCCESS" | "FAILED";
16654
+ result: "FAILED" | "SUCCESS";
16645
16655
  message: string | null;
16646
16656
  checkedAt: string;
16647
16657
  } | null;
@@ -16665,7 +16675,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16665
16675
  masked: string | null;
16666
16676
  }[];
16667
16677
  lastVerification: {
16668
- result: "SUCCESS" | "FAILED";
16678
+ result: "FAILED" | "SUCCESS";
16669
16679
  message: string | null;
16670
16680
  checkedAt: string;
16671
16681
  } | null;
@@ -16712,7 +16722,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16712
16722
  masked: string | null;
16713
16723
  }[];
16714
16724
  lastVerification: {
16715
- result: "SUCCESS" | "FAILED";
16725
+ result: "FAILED" | "SUCCESS";
16716
16726
  message: string | null;
16717
16727
  checkedAt: string;
16718
16728
  } | null;
@@ -16737,7 +16747,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16737
16747
  masked: string | null;
16738
16748
  }[];
16739
16749
  lastVerification: {
16740
- result: "SUCCESS" | "FAILED";
16750
+ result: "FAILED" | "SUCCESS";
16741
16751
  message: string | null;
16742
16752
  checkedAt: string;
16743
16753
  } | null;
@@ -16761,7 +16771,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16761
16771
  masked: string | null;
16762
16772
  }[];
16763
16773
  lastVerification: {
16764
- result: "SUCCESS" | "FAILED";
16774
+ result: "FAILED" | "SUCCESS";
16765
16775
  message: string | null;
16766
16776
  checkedAt: string;
16767
16777
  } | null;
@@ -16818,7 +16828,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16818
16828
  masked: string | null;
16819
16829
  }[];
16820
16830
  lastVerification: {
16821
- result: "SUCCESS" | "FAILED";
16831
+ result: "FAILED" | "SUCCESS";
16822
16832
  message: string | null;
16823
16833
  checkedAt: string;
16824
16834
  } | null;
@@ -16843,7 +16853,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16843
16853
  masked: string | null;
16844
16854
  }[];
16845
16855
  lastVerification: {
16846
- result: "SUCCESS" | "FAILED";
16856
+ result: "FAILED" | "SUCCESS";
16847
16857
  message: string | null;
16848
16858
  checkedAt: string;
16849
16859
  } | null;
@@ -16867,7 +16877,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16867
16877
  masked: string | null;
16868
16878
  }[];
16869
16879
  lastVerification: {
16870
- result: "SUCCESS" | "FAILED";
16880
+ result: "FAILED" | "SUCCESS";
16871
16881
  message: string | null;
16872
16882
  checkedAt: string;
16873
16883
  } | null;
@@ -16914,7 +16924,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16914
16924
  masked: string | null;
16915
16925
  }[];
16916
16926
  lastVerification: {
16917
- result: "SUCCESS" | "FAILED";
16927
+ result: "FAILED" | "SUCCESS";
16918
16928
  message: string | null;
16919
16929
  checkedAt: string;
16920
16930
  } | null;
@@ -16939,7 +16949,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16939
16949
  masked: string | null;
16940
16950
  }[];
16941
16951
  lastVerification: {
16942
- result: "SUCCESS" | "FAILED";
16952
+ result: "FAILED" | "SUCCESS";
16943
16953
  message: string | null;
16944
16954
  checkedAt: string;
16945
16955
  } | null;
@@ -16963,7 +16973,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16963
16973
  masked: string | null;
16964
16974
  }[];
16965
16975
  lastVerification: {
16966
- result: "SUCCESS" | "FAILED";
16976
+ result: "FAILED" | "SUCCESS";
16967
16977
  message: string | null;
16968
16978
  checkedAt: string;
16969
16979
  } | null;
@@ -17019,7 +17029,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17019
17029
  masked: string | null;
17020
17030
  }[];
17021
17031
  lastVerification: {
17022
- result: "SUCCESS" | "FAILED";
17032
+ result: "FAILED" | "SUCCESS";
17023
17033
  message: string | null;
17024
17034
  checkedAt: string;
17025
17035
  } | null;
@@ -17044,7 +17054,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17044
17054
  masked: string | null;
17045
17055
  }[];
17046
17056
  lastVerification: {
17047
- result: "SUCCESS" | "FAILED";
17057
+ result: "FAILED" | "SUCCESS";
17048
17058
  message: string | null;
17049
17059
  checkedAt: string;
17050
17060
  } | null;
@@ -17068,7 +17078,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17068
17078
  masked: string | null;
17069
17079
  }[];
17070
17080
  lastVerification: {
17071
- result: "SUCCESS" | "FAILED";
17081
+ result: "FAILED" | "SUCCESS";
17072
17082
  message: string | null;
17073
17083
  checkedAt: string;
17074
17084
  } | null;
@@ -17096,7 +17106,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17096
17106
  verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
17097
17107
  provider: "tosspayments" | "portone";
17098
17108
  environment: "TEST" | "LIVE";
17099
- result: "SUCCESS" | "FAILED";
17109
+ result: "FAILED" | "SUCCESS";
17100
17110
  message: string | null;
17101
17111
  checkedAt: string;
17102
17112
  }>;
@@ -17540,7 +17550,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17540
17550
  runs: {
17541
17551
  deliveryId: string;
17542
17552
  eventType: string;
17543
- status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17553
+ status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
17544
17554
  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
17555
  attemptCount: number;
17546
17556
  createdAt: string;
@@ -17737,7 +17747,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17737
17747
  eventId: string;
17738
17748
  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
17749
  url: string;
17740
- status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17750
+ status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
17741
17751
  responseStatusCode: number | null;
17742
17752
  responseTimeMs: number | null;
17743
17753
  responseBodyExcerpt: string | null;
@@ -17764,7 +17774,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17764
17774
  eventId: string;
17765
17775
  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
17776
  url: string;
17767
- status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17777
+ status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
17768
17778
  responseStatusCode: number | null;
17769
17779
  responseTimeMs: number | null;
17770
17780
  responseBodyExcerpt: string | null;
@@ -17799,7 +17809,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17799
17809
  eventId: string;
17800
17810
  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
17811
  url: string;
17802
- status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17812
+ status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
17803
17813
  responseStatusCode: number | null;
17804
17814
  responseTimeMs: number | null;
17805
17815
  responseBodyExcerpt: string | null;
@@ -17913,7 +17923,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17913
17923
  list: (params?: ApprovalListOptions) => Promise<{
17914
17924
  items: {
17915
17925
  approvalId: string;
17916
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
17926
+ status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
17917
17927
  operationId: string;
17918
17928
  method: string;
17919
17929
  path: string;
@@ -17965,7 +17975,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17965
17975
  }>;
17966
17976
  get: (approvalId: string) => Promise<{
17967
17977
  approvalId: string;
17968
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
17978
+ status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
17969
17979
  operationId: string;
17970
17980
  method: string;
17971
17981
  path: string;
@@ -18019,7 +18029,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18019
18029
  */
18020
18030
  approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
18021
18031
  approvalId: string;
18022
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
18032
+ status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
18023
18033
  operationId: string;
18024
18034
  method: string;
18025
18035
  path: string;
@@ -18069,7 +18079,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18069
18079
  }>;
18070
18080
  reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
18071
18081
  approvalId: string;
18072
- status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
18082
+ status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
18073
18083
  operationId: string;
18074
18084
  method: string;
18075
18085
  path: string;
@@ -18299,7 +18309,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18299
18309
  }[];
18300
18310
  activeRun: {
18301
18311
  id: string;
18302
- status: "FAILED" | "CANCEL_REQUESTED" | "QUEUED" | "RUNNING" | "DONE" | "CANCELLED";
18312
+ status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
18303
18313
  errorCode: string | null;
18304
18314
  createdAt: string;
18305
18315
  finishedAt: string | null;
@@ -18311,7 +18321,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18311
18321
  } | null;
18312
18322
  lastRun: {
18313
18323
  id: string;
18314
- status: "FAILED" | "CANCEL_REQUESTED" | "QUEUED" | "RUNNING" | "DONE" | "CANCELLED";
18324
+ status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
18315
18325
  errorCode: string | null;
18316
18326
  createdAt: string;
18317
18327
  finishedAt: string | null;
@@ -18327,7 +18337,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18327
18337
  /** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
18328
18338
  cancelRun: (runId: string) => Promise<{
18329
18339
  id: string;
18330
- status: "FAILED" | "CANCEL_REQUESTED" | "QUEUED" | "RUNNING" | "DONE" | "CANCELLED";
18340
+ status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
18331
18341
  errorCode: string | null;
18332
18342
  createdAt: string;
18333
18343
  finishedAt: string | null;
@@ -18336,7 +18346,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18336
18346
  listFileChanges: (conversationId: string) => Promise<{
18337
18347
  runs: {
18338
18348
  runId: string;
18339
- status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
18349
+ status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN" | "EXPIRED";
18340
18350
  files: {
18341
18351
  path: string;
18342
18352
  change: "created" | "modified" | "deleted";
@@ -18346,7 +18356,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18346
18356
  /** `GET /v1/ai/runs/{id}/file-changes` — 실행 하나의 변경 내용(이전·이후) */
18347
18357
  getRunFileDiff: (runId: string) => Promise<{
18348
18358
  runId: string;
18349
- status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
18359
+ status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN" | "EXPIRED";
18350
18360
  files: {
18351
18361
  path: string;
18352
18362
  change: "created" | "modified" | "deleted";
@@ -18435,9 +18445,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18435
18445
  createdByType: string;
18436
18446
  createdAt: string;
18437
18447
  createdVia?: string | null | undefined;
18448
+ previewable?: boolean | undefined;
18438
18449
  } | null;
18439
18450
  provisioning: {
18440
- status: "PENDING" | "FAILED" | "SYNCED";
18451
+ status: "FAILED" | "PENDING" | "SYNCED";
18441
18452
  lastErrorCode: string | null;
18442
18453
  syncedAt: string | null;
18443
18454
  };
@@ -18498,9 +18509,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18498
18509
  createdByType: string;
18499
18510
  createdAt: string;
18500
18511
  createdVia?: string | null | undefined;
18512
+ previewable?: boolean | undefined;
18501
18513
  } | null;
18502
18514
  provisioning: {
18503
- status: "PENDING" | "FAILED" | "SYNCED";
18515
+ status: "FAILED" | "PENDING" | "SYNCED";
18504
18516
  lastErrorCode: string | null;
18505
18517
  syncedAt: string | null;
18506
18518
  };
@@ -18529,7 +18541,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18529
18541
  finishedAt: string | null;
18530
18542
  steps: {
18531
18543
  key: "SITE" | "UPLOAD" | "PUBLISH";
18532
- status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
18544
+ status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
18533
18545
  finishedAt: string | null;
18534
18546
  }[];
18535
18547
  log: {
@@ -18551,7 +18563,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18551
18563
  finishedAt: string | null;
18552
18564
  steps: {
18553
18565
  key: "SITE" | "UPLOAD" | "PUBLISH";
18554
- status: "PENDING" | "FAILED" | "RUNNING" | "DONE";
18566
+ status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
18555
18567
  finishedAt: string | null;
18556
18568
  }[];
18557
18569
  log: {
@@ -18599,9 +18611,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18599
18611
  createdByType: string;
18600
18612
  createdAt: string;
18601
18613
  createdVia?: string | null | undefined;
18614
+ previewable?: boolean | undefined;
18602
18615
  } | null;
18603
18616
  provisioning: {
18604
- status: "PENDING" | "FAILED" | "SYNCED";
18617
+ status: "FAILED" | "PENDING" | "SYNCED";
18605
18618
  lastErrorCode: string | null;
18606
18619
  syncedAt: string | null;
18607
18620
  };
@@ -18636,6 +18649,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18636
18649
  createdByType: string;
18637
18650
  createdAt: string;
18638
18651
  createdVia?: string | null | undefined;
18652
+ previewable?: boolean | undefined;
18639
18653
  }[]>;
18640
18654
  /** `POST /v1/storefront/site/versions/{versionId}/publish` — 그 버전을 발행한다(이미 발행돼 있으면 그대로 200) */
18641
18655
  publish: (versionId: string, body?: PublishStorefrontVersionRequest) => Promise<{
@@ -18668,9 +18682,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18668
18682
  createdByType: string;
18669
18683
  createdAt: string;
18670
18684
  createdVia?: string | null | undefined;
18685
+ previewable?: boolean | undefined;
18671
18686
  } | null;
18672
18687
  provisioning: {
18673
- status: "PENDING" | "FAILED" | "SYNCED";
18688
+ status: "FAILED" | "PENDING" | "SYNCED";
18674
18689
  lastErrorCode: string | null;
18675
18690
  syncedAt: string | null;
18676
18691
  };
@@ -18721,9 +18736,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18721
18736
  createdByType: string;
18722
18737
  createdAt: string;
18723
18738
  createdVia?: string | null | undefined;
18739
+ previewable?: boolean | undefined;
18724
18740
  } | null;
18725
18741
  provisioning: {
18726
- status: "PENDING" | "FAILED" | "SYNCED";
18742
+ status: "FAILED" | "PENDING" | "SYNCED";
18727
18743
  lastErrorCode: string | null;
18728
18744
  syncedAt: string | null;
18729
18745
  };
@@ -18774,9 +18790,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18774
18790
  createdByType: string;
18775
18791
  createdAt: string;
18776
18792
  createdVia?: string | null | undefined;
18793
+ previewable?: boolean | undefined;
18777
18794
  } | null;
18778
18795
  provisioning: {
18779
- status: "PENDING" | "FAILED" | "SYNCED";
18796
+ status: "FAILED" | "PENDING" | "SYNCED";
18780
18797
  lastErrorCode: string | null;
18781
18798
  syncedAt: string | null;
18782
18799
  };
@@ -18827,9 +18844,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18827
18844
  createdByType: string;
18828
18845
  createdAt: string;
18829
18846
  createdVia?: string | null | undefined;
18847
+ previewable?: boolean | undefined;
18830
18848
  } | null;
18831
18849
  provisioning: {
18832
- status: "PENDING" | "FAILED" | "SYNCED";
18850
+ status: "FAILED" | "PENDING" | "SYNCED";
18833
18851
  lastErrorCode: string | null;
18834
18852
  syncedAt: string | null;
18835
18853
  };
@@ -18850,7 +18868,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18850
18868
  } | null | undefined;
18851
18869
  }>;
18852
18870
  /**
18853
- * `POST /v1/storefront/site/preview-link` — 오픈 준비 중인 사이트를 구성원이 볼 수 있는 5분짜리 링크.
18871
+ * `POST /v1/storefront/site/preview-link` — 버전 미리보기 주소로 여는 5분짜리 링크(기본은 발행 버전, `versionId`로 다른 버전).
18854
18872
  * 상점 플랫폼에서 로그인한 OWNER·ADMIN만 받는다
18855
18873
  */
18856
18874
  createPreviewLink: (body?: CreateStorefrontPreviewLinkRequest) => Promise<{
@@ -18866,7 +18884,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18866
18884
  domainId: string;
18867
18885
  hostname: string;
18868
18886
  kind: "PLATFORM" | "CUSTOM";
18869
- status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18887
+ status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
18870
18888
  isPrimary: boolean;
18871
18889
  dnsRecords: {
18872
18890
  type: "CNAME" | "TXT";
@@ -18874,7 +18892,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18874
18892
  value: string;
18875
18893
  purpose: "ROUTING" | "OWNERSHIP";
18876
18894
  }[];
18877
- certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18895
+ certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
18878
18896
  failureCode: string | null;
18879
18897
  verifiedAt: string | null;
18880
18898
  activatedAt: string | null;
@@ -18890,7 +18908,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18890
18908
  domainId: string;
18891
18909
  hostname: string;
18892
18910
  kind: "PLATFORM" | "CUSTOM";
18893
- status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18911
+ status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
18894
18912
  isPrimary: boolean;
18895
18913
  dnsRecords: {
18896
18914
  type: "CNAME" | "TXT";
@@ -18898,7 +18916,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18898
18916
  value: string;
18899
18917
  purpose: "ROUTING" | "OWNERSHIP";
18900
18918
  }[];
18901
- certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18919
+ certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
18902
18920
  failureCode: string | null;
18903
18921
  verifiedAt: string | null;
18904
18922
  activatedAt: string | null;
@@ -18910,7 +18928,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18910
18928
  domainId: string;
18911
18929
  hostname: string;
18912
18930
  kind: "PLATFORM" | "CUSTOM";
18913
- status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18931
+ status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
18914
18932
  isPrimary: boolean;
18915
18933
  dnsRecords: {
18916
18934
  type: "CNAME" | "TXT";
@@ -18918,7 +18936,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18918
18936
  value: string;
18919
18937
  purpose: "ROUTING" | "OWNERSHIP";
18920
18938
  }[];
18921
- certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18939
+ certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
18922
18940
  failureCode: string | null;
18923
18941
  verifiedAt: string | null;
18924
18942
  activatedAt: string | null;
@@ -18934,7 +18952,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18934
18952
  domainId: string;
18935
18953
  hostname: string;
18936
18954
  kind: "PLATFORM" | "CUSTOM";
18937
- status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18955
+ status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
18938
18956
  isPrimary: boolean;
18939
18957
  dnsRecords: {
18940
18958
  type: "CNAME" | "TXT";
@@ -18942,7 +18960,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18942
18960
  value: string;
18943
18961
  purpose: "ROUTING" | "OWNERSHIP";
18944
18962
  }[];
18945
- certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18963
+ certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
18946
18964
  failureCode: string | null;
18947
18965
  verifiedAt: string | null;
18948
18966
  activatedAt: string | null;
@@ -18983,9 +19001,10 @@ export declare function createStoreClient(options: StoreClientOptions): {
18983
19001
  createdByType: string;
18984
19002
  createdAt: string;
18985
19003
  createdVia?: string | null | undefined;
19004
+ previewable?: boolean | undefined;
18986
19005
  } | null;
18987
19006
  provisioning: {
18988
- status: "PENDING" | "FAILED" | "SYNCED";
19007
+ status: "FAILED" | "PENDING" | "SYNCED";
18989
19008
  lastErrorCode: string | null;
18990
19009
  syncedAt: string | null;
18991
19010
  };
@@ -19150,7 +19169,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19150
19169
  runCheck: (body: RunStorefrontCheckRequest) => Promise<{
19151
19170
  checkId: string;
19152
19171
  check: string;
19153
- status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
19172
+ status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
19154
19173
  exitCode: number | null;
19155
19174
  durationMs: number | null;
19156
19175
  outputTail: string | null;
@@ -19164,7 +19183,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19164
19183
  getCheck: (checkId: string) => Promise<{
19165
19184
  checkId: string;
19166
19185
  check: string;
19167
- status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
19186
+ status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
19168
19187
  exitCode: number | null;
19169
19188
  durationMs: number | null;
19170
19189
  outputTail: string | null;
@@ -19226,12 +19245,13 @@ export declare function createStoreClient(options: StoreClientOptions): {
19226
19245
  createdByType: string;
19227
19246
  createdAt: string;
19228
19247
  createdVia?: string | null | undefined;
19248
+ previewable?: boolean | undefined;
19229
19249
  };
19230
19250
  build: {
19231
19251
  buildId: string;
19232
19252
  versionId: string;
19233
19253
  versionNumber: number;
19234
- status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
19254
+ status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
19235
19255
  failureStage: string | null;
19236
19256
  errorCode: string | null;
19237
19257
  logTail: string | null;
@@ -19312,7 +19332,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19312
19332
  buildId: string;
19313
19333
  versionId: string;
19314
19334
  versionNumber: number;
19315
- status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
19335
+ status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
19316
19336
  failureStage: string | null;
19317
19337
  errorCode: string | null;
19318
19338
  logTail: string | null;
@@ -19390,7 +19410,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19390
19410
  buildId: string;
19391
19411
  versionId: string;
19392
19412
  versionNumber: number;
19393
- status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
19413
+ status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
19394
19414
  failureStage: string | null;
19395
19415
  errorCode: string | null;
19396
19416
  logTail: string | null;
@@ -19535,7 +19555,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19535
19555
  code: string;
19536
19556
  name: string;
19537
19557
  };
19538
- status: "ACTIVE" | "CANCELED" | "INCOMPLETE" | "PAST_DUE";
19558
+ status: "INCOMPLETE" | "ACTIVE" | "CANCELED" | "PAST_DUE";
19539
19559
  interval: "MONTH" | null;
19540
19560
  cancelAtPeriodEnd: boolean;
19541
19561
  period: {
@@ -19807,7 +19827,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19807
19827
  invitationId: string;
19808
19828
  email: string;
19809
19829
  role: "ADMIN" | "STAFF";
19810
- status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
19830
+ status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
19811
19831
  invitedBy: string;
19812
19832
  expiresAt: string;
19813
19833
  createdAt: string;
@@ -19825,7 +19845,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19825
19845
  invitationId: string;
19826
19846
  email: string;
19827
19847
  role: "ADMIN" | "STAFF";
19828
- status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
19848
+ status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
19829
19849
  invitedBy: string;
19830
19850
  expiresAt: string;
19831
19851
  createdAt: string;
@@ -19840,7 +19860,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19840
19860
  invitationId: string;
19841
19861
  email: string;
19842
19862
  role: "ADMIN" | "STAFF";
19843
- status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
19863
+ status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
19844
19864
  invitedBy: string;
19845
19865
  expiresAt: string;
19846
19866
  createdAt: string;
@@ -20449,10 +20469,10 @@ export declare const STORE_SCOPE_RESOURCES: {
20449
20469
  };
20450
20470
  export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
20451
20471
  export declare const storeScopeResourceSchema: z.ZodEnum<{
20472
+ storefront: "storefront";
20452
20473
  category: "category";
20453
20474
  flow: "flow";
20454
20475
  analytics: "analytics";
20455
- storefront: "storefront";
20456
20476
  product: "product";
20457
20477
  order: "order";
20458
20478
  claim: "claim";
@@ -20928,9 +20948,9 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
20928
20948
  }>, z.ZodString]>;
20929
20949
  export type ResponsePlanCode = PlanCode | (string & {});
20930
20950
  export declare const subscriptionStatusSchema: z.ZodEnum<{
20951
+ INCOMPLETE: "INCOMPLETE";
20931
20952
  ACTIVE: "ACTIVE";
20932
20953
  CANCELED: "CANCELED";
20933
- INCOMPLETE: "INCOMPLETE";
20934
20954
  PAST_DUE: "PAST_DUE";
20935
20955
  }>;
20936
20956
  export type SubscriptionStatus = z.infer<typeof subscriptionStatusSchema>;
@@ -20979,9 +20999,9 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
20979
20999
  name: z.ZodString;
20980
21000
  }, z.core.$strip>;
20981
21001
  status: z.ZodEnum<{
21002
+ INCOMPLETE: "INCOMPLETE";
20982
21003
  ACTIVE: "ACTIVE";
20983
21004
  CANCELED: "CANCELED";
20984
- INCOMPLETE: "INCOMPLETE";
20985
21005
  PAST_DUE: "PAST_DUE";
20986
21006
  }>;
20987
21007
  interval: z.ZodNullable<z.ZodEnum<{