@sayren/store-sdk 0.30.16 → 0.30.18

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
@@ -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
- FAILED: "FAILED";
219
- EXPIRED: "EXPIRED";
220
- UNKNOWN: "UNKNOWN";
221
218
  PENDING: "PENDING";
219
+ FAILED: "FAILED";
222
220
  SUCCEEDED: "SUCCEEDED";
223
221
  EXECUTING: "EXECUTING";
222
+ UNKNOWN: "UNKNOWN";
224
223
  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
- FAILED: "FAILED";
231
- EXPIRED: "EXPIRED";
232
- UNKNOWN: "UNKNOWN";
233
230
  PENDING: "PENDING";
231
+ FAILED: "FAILED";
234
232
  SUCCEEDED: "SUCCEEDED";
235
233
  EXECUTING: "EXECUTING";
234
+ UNKNOWN: "UNKNOWN";
236
235
  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
- FAILED: "FAILED";
295
- EXPIRED: "EXPIRED";
296
- UNKNOWN: "UNKNOWN";
297
294
  PENDING: "PENDING";
295
+ FAILED: "FAILED";
298
296
  SUCCEEDED: "SUCCEEDED";
299
297
  EXECUTING: "EXECUTING";
298
+ UNKNOWN: "UNKNOWN";
300
299
  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
- FAILED: "FAILED";
314
- EXPIRED: "EXPIRED";
315
- UNKNOWN: "UNKNOWN";
316
313
  PENDING: "PENDING";
314
+ FAILED: "FAILED";
317
315
  SUCCEEDED: "SUCCEEDED";
318
316
  EXECUTING: "EXECUTING";
317
+ UNKNOWN: "UNKNOWN";
319
318
  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
- QUEUED: "QUEUED";
464
- RUNNING: "RUNNING";
463
+ FAILED: "FAILED";
465
464
  CANCEL_REQUESTED: "CANCEL_REQUESTED";
466
465
  DONE: "DONE";
467
- FAILED: "FAILED";
466
+ QUEUED: "QUEUED";
467
+ RUNNING: "RUNNING";
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
- QUEUED: "QUEUED";
483
- RUNNING: "RUNNING";
482
+ FAILED: "FAILED";
484
483
  CANCEL_REQUESTED: "CANCEL_REQUESTED";
485
484
  DONE: "DONE";
486
- FAILED: "FAILED";
485
+ QUEUED: "QUEUED";
486
+ RUNNING: "RUNNING";
487
487
  CANCELLED: "CANCELLED";
488
488
  }>;
489
489
  errorCode: z.ZodNullable<z.ZodString>;
@@ -491,13 +491,94 @@ export declare const aiRunSchema: z.ZodObject<{
491
491
  finishedAt: z.ZodNullable<z.ZodString>;
492
492
  }, z.core.$strip>;
493
493
  export type AiRun = z.infer<typeof aiRunSchema>;
494
+ /**
495
+ * AI가 지금 하는 일의 종류 — 도구 이름·operationId·파일 경로로 서버가 정한다(상점 만들기 진행 화면이 아이콘·문구를 고른다). 정하지 못한 도구는 없다
496
+ */
497
+ export declare const aiActivitySchema: z.ZodEnum<{
498
+ check: "check";
499
+ shipping: "shipping";
500
+ status: "status";
501
+ category: "category";
502
+ code: "code";
503
+ brief: "brief";
504
+ files: "files";
505
+ version: "version";
506
+ preview: "preview";
507
+ template: "template";
508
+ site: "site";
509
+ info: "info";
510
+ upload: "upload";
511
+ design: "design";
512
+ product: "product";
513
+ verify: "verify";
514
+ }>;
515
+ export type AiActivity = z.infer<typeof aiActivitySchema>;
516
+ /**
517
+ * 도구가 바꾼 파일 하나(2026-10-13, AI 상점 도우미 작업 공간의 수정 중인 코드) — 서버가 도구 입력으로 계산한다.
518
+ * `edit`는 바꾼 부분의 줄 비교, `write`는 새로 쓴 내용(이전 내용을 모르므로 모두 추가로 센다). `preview`는 바뀐 줄 앞부분 12줄까지다
519
+ */
520
+ export declare const aiToolChangeSchema: z.ZodObject<{
521
+ path: z.ZodString;
522
+ mode: z.ZodEnum<{
523
+ edit: "edit";
524
+ write: "write";
525
+ }>;
526
+ added: z.ZodNumber;
527
+ removed: z.ZodNumber;
528
+ preview: z.ZodArray<z.ZodObject<{
529
+ kind: z.ZodEnum<{
530
+ added: "added";
531
+ removed: "removed";
532
+ }>;
533
+ text: z.ZodString;
534
+ }, z.core.$strip>>;
535
+ }, z.core.$strip>;
536
+ export type AiToolChange = z.infer<typeof aiToolChangeSchema>;
537
+ /**
538
+ * 에이전트 작업 단계(2026-10-13, AI 상점 도우미 작업 공간) — 에이전트가 패널 도구로 알린다.
539
+ * 상점·상품·배포 준비 → 쇼핑몰 구조 설계 → 개발 환경 준비(라이브러리·SDK) → 코드 수정 루프 → 완료
540
+ */
541
+ export declare const AI_AGENT_PHASES: readonly ["STORE", "STRUCTURE", "ENVIRONMENT", "BUILD", "DONE"];
542
+ export declare const aiAgentPhaseSchema: z.ZodEnum<{
543
+ STORE: "STORE";
544
+ STRUCTURE: "STRUCTURE";
545
+ ENVIRONMENT: "ENVIRONMENT";
546
+ BUILD: "BUILD";
547
+ DONE: "DONE";
548
+ }>;
549
+ export type AiAgentPhase = z.infer<typeof aiAgentPhaseSchema>;
550
+ /**
551
+ * AI 상점 도우미의 작업 메모 폴더(2026-10-14) — 회차마다 읽는 숨은 규칙(`rules.md`)과 디자인 계획(`design.md`). 셀러 화면(타임라인·코드 탭·변경 기록)에
552
+ * 보이지 않는다. 편집 Sandbox가 점(.)으로 시작하는 경로를 받지 않아 작업 트리의 `src` 아래에 둔다(앱이 import하지 않는 문서라 빌드에 들어가지 않는다)
553
+ */
554
+ export declare const AI_AGENT_NOTES_DIR = "src/site/agent";
555
+ /**
556
+ * 에이전트의 할 일 목록(2026-10-14, Claude Code TodoWrite와 같은 루프) — 에이전트가 패널 도구 `update_todos`로 목록 전체를 바꿔 쓴다.
557
+ * 작업 공간 왼쪽 패널이 마지막 목록을 체크리스트로 그린다. 진행중은 한 번에 하나다
558
+ */
559
+ export declare const AI_TODO_STATUSES: readonly ["pending", "in_progress", "completed"];
560
+ export declare const aiTodoSchema: z.ZodObject<{
561
+ content: z.ZodString;
562
+ status: z.ZodEnum<{
563
+ pending: "pending";
564
+ in_progress: "in_progress";
565
+ completed: "completed";
566
+ }>;
567
+ }, z.core.$strip>;
568
+ export type AiTodo = z.infer<typeof aiTodoSchema>;
569
+ export declare const AI_TODOS_MAX = 30;
570
+ export declare function isAiAgentNotesPath(path: string): boolean;
494
571
  /**
495
572
  * 화면에 그리는 메시지 조각. 모델 원문(tool_use 블록 등)은 api가 보관하고 화면에는 이 형태만 준다.
496
573
  * - `text`: 글
497
574
  * - `tool`: 도구 호출 한 번(이름은 사람이 읽는 라벨, 결과 요약·링크)
498
575
  * - `choices`: 선택지 버튼(가장 최근 것만 누를 수 있다)
576
+ * - `business_form`: 사업자 정보 입력 폼(가장 최근 것만 제출할 수 있다, 건너뛸 수 있다)
499
577
  * - `attachment`: 사용자가 올린 첨부
500
578
  * - `approval`: 승인 대기로 남은 쓰기
579
+ * - `reasoning`: 모델의 생각 요약(2026-10-13, AI 상점 도우미 작업 공간이 도구 호출과 따로 표시한다)
580
+ * - `phase`: 에이전트가 알린 작업 단계(작업 공간의 단계 표시)
581
+ * - `todos`: 에이전트의 할 일 목록 전체(작업 공간의 체크리스트)
501
582
  */
502
583
  export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
503
584
  type: z.ZodLiteral<"text">;
@@ -513,6 +594,41 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
513
594
  ok: "ok";
514
595
  }>;
515
596
  summary: z.ZodNullable<z.ZodString>;
597
+ activity: z.ZodOptional<z.ZodEnum<{
598
+ check: "check";
599
+ shipping: "shipping";
600
+ status: "status";
601
+ category: "category";
602
+ code: "code";
603
+ brief: "brief";
604
+ files: "files";
605
+ version: "version";
606
+ preview: "preview";
607
+ template: "template";
608
+ site: "site";
609
+ info: "info";
610
+ upload: "upload";
611
+ design: "design";
612
+ product: "product";
613
+ verify: "verify";
614
+ }>>;
615
+ target: z.ZodOptional<z.ZodString>;
616
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
617
+ path: z.ZodString;
618
+ mode: z.ZodEnum<{
619
+ edit: "edit";
620
+ write: "write";
621
+ }>;
622
+ added: z.ZodNumber;
623
+ removed: z.ZodNumber;
624
+ preview: z.ZodArray<z.ZodObject<{
625
+ kind: z.ZodEnum<{
626
+ added: "added";
627
+ removed: "removed";
628
+ }>;
629
+ text: z.ZodString;
630
+ }, z.core.$strip>>;
631
+ }, z.core.$strip>>>;
516
632
  }, z.core.$strip>, z.ZodObject<{
517
633
  type: z.ZodLiteral<"choices">;
518
634
  question: z.ZodString;
@@ -520,6 +636,9 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
520
636
  label: z.ZodString;
521
637
  value: z.ZodString;
522
638
  }, z.core.$strip>>;
639
+ }, z.core.$strip>, z.ZodObject<{
640
+ type: z.ZodLiteral<"business_form">;
641
+ question: z.ZodString;
523
642
  }, z.core.$strip>, z.ZodObject<{
524
643
  type: z.ZodLiteral<"attachment">;
525
644
  attachment: z.ZodObject<{
@@ -544,6 +663,28 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
544
663
  text: z.ZodString;
545
664
  pagePath: z.ZodString;
546
665
  }, z.core.$strip>;
666
+ }, z.core.$strip>, z.ZodObject<{
667
+ type: z.ZodLiteral<"reasoning">;
668
+ text: z.ZodString;
669
+ }, z.core.$strip>, z.ZodObject<{
670
+ type: z.ZodLiteral<"phase">;
671
+ phase: z.ZodEnum<{
672
+ STORE: "STORE";
673
+ STRUCTURE: "STRUCTURE";
674
+ ENVIRONMENT: "ENVIRONMENT";
675
+ BUILD: "BUILD";
676
+ DONE: "DONE";
677
+ }>;
678
+ }, z.core.$strip>, z.ZodObject<{
679
+ type: z.ZodLiteral<"todos">;
680
+ todos: z.ZodArray<z.ZodObject<{
681
+ content: z.ZodString;
682
+ status: z.ZodEnum<{
683
+ pending: "pending";
684
+ in_progress: "in_progress";
685
+ completed: "completed";
686
+ }>;
687
+ }, z.core.$strip>>;
547
688
  }, z.core.$strip>], "type">;
548
689
  export type AiMessagePart = z.infer<typeof aiMessagePartSchema>;
549
690
  export declare const aiMessageSchema: z.ZodObject<{
@@ -566,6 +707,41 @@ export declare const aiMessageSchema: z.ZodObject<{
566
707
  ok: "ok";
567
708
  }>;
568
709
  summary: z.ZodNullable<z.ZodString>;
710
+ activity: z.ZodOptional<z.ZodEnum<{
711
+ check: "check";
712
+ shipping: "shipping";
713
+ status: "status";
714
+ category: "category";
715
+ code: "code";
716
+ brief: "brief";
717
+ files: "files";
718
+ version: "version";
719
+ preview: "preview";
720
+ template: "template";
721
+ site: "site";
722
+ info: "info";
723
+ upload: "upload";
724
+ design: "design";
725
+ product: "product";
726
+ verify: "verify";
727
+ }>>;
728
+ target: z.ZodOptional<z.ZodString>;
729
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
730
+ path: z.ZodString;
731
+ mode: z.ZodEnum<{
732
+ edit: "edit";
733
+ write: "write";
734
+ }>;
735
+ added: z.ZodNumber;
736
+ removed: z.ZodNumber;
737
+ preview: z.ZodArray<z.ZodObject<{
738
+ kind: z.ZodEnum<{
739
+ added: "added";
740
+ removed: "removed";
741
+ }>;
742
+ text: z.ZodString;
743
+ }, z.core.$strip>>;
744
+ }, z.core.$strip>>>;
569
745
  }, z.core.$strip>, z.ZodObject<{
570
746
  type: z.ZodLiteral<"choices">;
571
747
  question: z.ZodString;
@@ -573,6 +749,9 @@ export declare const aiMessageSchema: z.ZodObject<{
573
749
  label: z.ZodString;
574
750
  value: z.ZodString;
575
751
  }, z.core.$strip>>;
752
+ }, z.core.$strip>, z.ZodObject<{
753
+ type: z.ZodLiteral<"business_form">;
754
+ question: z.ZodString;
576
755
  }, z.core.$strip>, z.ZodObject<{
577
756
  type: z.ZodLiteral<"attachment">;
578
757
  attachment: z.ZodObject<{
@@ -597,6 +776,28 @@ export declare const aiMessageSchema: z.ZodObject<{
597
776
  text: z.ZodString;
598
777
  pagePath: z.ZodString;
599
778
  }, z.core.$strip>;
779
+ }, z.core.$strip>, z.ZodObject<{
780
+ type: z.ZodLiteral<"reasoning">;
781
+ text: z.ZodString;
782
+ }, z.core.$strip>, z.ZodObject<{
783
+ type: z.ZodLiteral<"phase">;
784
+ phase: z.ZodEnum<{
785
+ STORE: "STORE";
786
+ STRUCTURE: "STRUCTURE";
787
+ ENVIRONMENT: "ENVIRONMENT";
788
+ BUILD: "BUILD";
789
+ DONE: "DONE";
790
+ }>;
791
+ }, z.core.$strip>, z.ZodObject<{
792
+ type: z.ZodLiteral<"todos">;
793
+ todos: z.ZodArray<z.ZodObject<{
794
+ content: z.ZodString;
795
+ status: z.ZodEnum<{
796
+ pending: "pending";
797
+ in_progress: "in_progress";
798
+ completed: "completed";
799
+ }>;
800
+ }, z.core.$strip>>;
600
801
  }, z.core.$strip>], "type">>;
601
802
  runId: z.ZodNullable<z.ZodString>;
602
803
  createdAt: z.ZodString;
@@ -634,6 +835,41 @@ export declare const aiConversationSchema: z.ZodObject<{
634
835
  ok: "ok";
635
836
  }>;
636
837
  summary: z.ZodNullable<z.ZodString>;
838
+ activity: z.ZodOptional<z.ZodEnum<{
839
+ check: "check";
840
+ shipping: "shipping";
841
+ status: "status";
842
+ category: "category";
843
+ code: "code";
844
+ brief: "brief";
845
+ files: "files";
846
+ version: "version";
847
+ preview: "preview";
848
+ template: "template";
849
+ site: "site";
850
+ info: "info";
851
+ upload: "upload";
852
+ design: "design";
853
+ product: "product";
854
+ verify: "verify";
855
+ }>>;
856
+ target: z.ZodOptional<z.ZodString>;
857
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
858
+ path: z.ZodString;
859
+ mode: z.ZodEnum<{
860
+ edit: "edit";
861
+ write: "write";
862
+ }>;
863
+ added: z.ZodNumber;
864
+ removed: z.ZodNumber;
865
+ preview: z.ZodArray<z.ZodObject<{
866
+ kind: z.ZodEnum<{
867
+ added: "added";
868
+ removed: "removed";
869
+ }>;
870
+ text: z.ZodString;
871
+ }, z.core.$strip>>;
872
+ }, z.core.$strip>>>;
637
873
  }, z.core.$strip>, z.ZodObject<{
638
874
  type: z.ZodLiteral<"choices">;
639
875
  question: z.ZodString;
@@ -641,6 +877,9 @@ export declare const aiConversationSchema: z.ZodObject<{
641
877
  label: z.ZodString;
642
878
  value: z.ZodString;
643
879
  }, z.core.$strip>>;
880
+ }, z.core.$strip>, z.ZodObject<{
881
+ type: z.ZodLiteral<"business_form">;
882
+ question: z.ZodString;
644
883
  }, z.core.$strip>, z.ZodObject<{
645
884
  type: z.ZodLiteral<"attachment">;
646
885
  attachment: z.ZodObject<{
@@ -665,6 +904,28 @@ export declare const aiConversationSchema: z.ZodObject<{
665
904
  text: z.ZodString;
666
905
  pagePath: z.ZodString;
667
906
  }, z.core.$strip>;
907
+ }, z.core.$strip>, z.ZodObject<{
908
+ type: z.ZodLiteral<"reasoning">;
909
+ text: z.ZodString;
910
+ }, z.core.$strip>, z.ZodObject<{
911
+ type: z.ZodLiteral<"phase">;
912
+ phase: z.ZodEnum<{
913
+ STORE: "STORE";
914
+ STRUCTURE: "STRUCTURE";
915
+ ENVIRONMENT: "ENVIRONMENT";
916
+ BUILD: "BUILD";
917
+ DONE: "DONE";
918
+ }>;
919
+ }, z.core.$strip>, z.ZodObject<{
920
+ type: z.ZodLiteral<"todos">;
921
+ todos: z.ZodArray<z.ZodObject<{
922
+ content: z.ZodString;
923
+ status: z.ZodEnum<{
924
+ pending: "pending";
925
+ in_progress: "in_progress";
926
+ completed: "completed";
927
+ }>;
928
+ }, z.core.$strip>>;
668
929
  }, z.core.$strip>], "type">>;
669
930
  runId: z.ZodNullable<z.ZodString>;
670
931
  createdAt: z.ZodString;
@@ -672,11 +933,11 @@ export declare const aiConversationSchema: z.ZodObject<{
672
933
  activeRun: z.ZodNullable<z.ZodObject<{
673
934
  id: z.ZodString;
674
935
  status: z.ZodEnum<{
675
- QUEUED: "QUEUED";
676
- RUNNING: "RUNNING";
936
+ FAILED: "FAILED";
677
937
  CANCEL_REQUESTED: "CANCEL_REQUESTED";
678
938
  DONE: "DONE";
679
- FAILED: "FAILED";
939
+ QUEUED: "QUEUED";
940
+ RUNNING: "RUNNING";
680
941
  CANCELLED: "CANCELLED";
681
942
  }>;
682
943
  errorCode: z.ZodNullable<z.ZodString>;
@@ -691,11 +952,11 @@ export declare const aiConversationSchema: z.ZodObject<{
691
952
  lastRun: z.ZodNullable<z.ZodObject<{
692
953
  id: z.ZodString;
693
954
  status: z.ZodEnum<{
694
- QUEUED: "QUEUED";
695
- RUNNING: "RUNNING";
955
+ FAILED: "FAILED";
696
956
  CANCEL_REQUESTED: "CANCEL_REQUESTED";
697
957
  DONE: "DONE";
698
- FAILED: "FAILED";
958
+ QUEUED: "QUEUED";
959
+ RUNNING: "RUNNING";
699
960
  CANCELLED: "CANCELLED";
700
961
  }>;
701
962
  errorCode: z.ZodNullable<z.ZodString>;
@@ -704,8 +965,56 @@ export declare const aiConversationSchema: z.ZodObject<{
704
965
  }, z.core.$strip>>;
705
966
  }, z.core.$strip>;
706
967
  export type AiConversation = z.infer<typeof aiConversationSchema>;
968
+ /** 쇼핑몰 형태(#124, 2026-10-13) — 템플릿은 basic 하나이고 형태는 에이전트에게 주는 화면 구성 지시다 */
969
+ export declare const STORE_SHOP_TYPES: readonly ["BASIC", "INTERACTIVE", "STORYTELLING", "MOBILE", "CATALOG", "LOOKBOOK"];
970
+ export declare const storeShopTypeSchema: z.ZodEnum<{
971
+ MOBILE: "MOBILE";
972
+ BASIC: "BASIC";
973
+ INTERACTIVE: "INTERACTIVE";
974
+ STORYTELLING: "STORYTELLING";
975
+ CATALOG: "CATALOG";
976
+ LOOKBOOK: "LOOKBOOK";
977
+ }>;
978
+ export type StoreShopType = z.infer<typeof storeShopTypeSchema>;
979
+ /**
980
+ * AI 상점 만들기 질문 화면의 답(#124, 2026-10-13) — 화면이 고정 질문으로 모은다. 초안과 함께 첫 메시지가 된다.
981
+ * 배송비는 묻지 않는다(설정하지 않으면 무료배송). `slug`는 바라는 주소이고 쓸 수 있는지는 에이전트가 사이트를 만들 때 확인한다
982
+ */
983
+ export declare const storeSetupBriefSchema: z.ZodObject<{
984
+ products: z.ZodString;
985
+ storeName: z.ZodString;
986
+ audience: z.ZodString;
987
+ highlights: z.ZodString;
988
+ shopType: z.ZodEnum<{
989
+ MOBILE: "MOBILE";
990
+ BASIC: "BASIC";
991
+ INTERACTIVE: "INTERACTIVE";
992
+ STORYTELLING: "STORYTELLING";
993
+ CATALOG: "CATALOG";
994
+ LOOKBOOK: "LOOKBOOK";
995
+ }>;
996
+ heroProduct: z.ZodString;
997
+ slug: z.ZodOptional<z.ZodString>;
998
+ }, z.core.$strip>;
999
+ export type StoreSetupBrief = z.infer<typeof storeSetupBriefSchema>;
707
1000
  export declare const createAiConversationRequestSchema: z.ZodObject<{
708
1001
  draftId: z.ZodOptional<z.ZodString>;
1002
+ brief: z.ZodOptional<z.ZodObject<{
1003
+ products: z.ZodString;
1004
+ storeName: z.ZodString;
1005
+ audience: z.ZodString;
1006
+ highlights: z.ZodString;
1007
+ shopType: z.ZodEnum<{
1008
+ MOBILE: "MOBILE";
1009
+ BASIC: "BASIC";
1010
+ INTERACTIVE: "INTERACTIVE";
1011
+ STORYTELLING: "STORYTELLING";
1012
+ CATALOG: "CATALOG";
1013
+ LOOKBOOK: "LOOKBOOK";
1014
+ }>;
1015
+ heroProduct: z.ZodString;
1016
+ slug: z.ZodOptional<z.ZodString>;
1017
+ }, z.core.$strip>>;
709
1018
  }, z.core.$strip>;
710
1019
  export type CreateAiConversationRequest = z.infer<typeof createAiConversationRequestSchema>;
711
1020
  export declare const createAiConversationResponseSchema: z.ZodObject<{
@@ -755,49 +1064,49 @@ export type SendAiMessageResponse = z.infer<typeof sendAiMessageResponseSchema>;
755
1064
  * 경로는 상점 플랫폼이 정한다(영역 → 라우트). `id`가 있으면 상세 화면이다
756
1065
  */
757
1066
  export declare const aiFocusAreaSchema: z.ZodEnum<{
1067
+ shipping: "shipping";
758
1068
  products: "products";
1069
+ addresses: "addresses";
1070
+ orders: "orders";
1071
+ webhooks: "webhooks";
759
1072
  categories: "categories";
760
1073
  collections: "collections";
761
1074
  option_sets: "option_sets";
762
1075
  coupons: "coupons";
763
1076
  points: "points";
764
- orders: "orders";
765
1077
  claims: "claims";
766
1078
  customers: "customers";
767
1079
  inquiries: "inquiries";
768
1080
  customer_inquiries: "customer_inquiries";
769
1081
  store_settings: "store_settings";
770
- shipping: "shipping";
771
- addresses: "addresses";
772
1082
  payments: "payments";
773
1083
  login: "login";
774
1084
  members: "members";
775
1085
  order_flows: "order_flows";
776
- webhooks: "webhooks";
777
1086
  storefront: "storefront";
778
1087
  }>;
779
1088
  export type AiFocusArea = z.infer<typeof aiFocusAreaSchema>;
780
1089
  export declare const aiFocusSchema: z.ZodObject<{
781
1090
  area: z.ZodEnum<{
1091
+ shipping: "shipping";
782
1092
  products: "products";
1093
+ addresses: "addresses";
1094
+ orders: "orders";
1095
+ webhooks: "webhooks";
783
1096
  categories: "categories";
784
1097
  collections: "collections";
785
1098
  option_sets: "option_sets";
786
1099
  coupons: "coupons";
787
1100
  points: "points";
788
- orders: "orders";
789
1101
  claims: "claims";
790
1102
  customers: "customers";
791
1103
  inquiries: "inquiries";
792
1104
  customer_inquiries: "customer_inquiries";
793
1105
  store_settings: "store_settings";
794
- shipping: "shipping";
795
- addresses: "addresses";
796
1106
  payments: "payments";
797
1107
  login: "login";
798
1108
  members: "members";
799
1109
  order_flows: "order_flows";
800
- webhooks: "webhooks";
801
1110
  storefront: "storefront";
802
1111
  }>;
803
1112
  id: z.ZodOptional<z.ZodString>;
@@ -812,12 +1121,12 @@ export declare const AI_RUN_FILE_CHANGES_RETENTION_DAYS = 7;
812
1121
  * - `REVERTING`·`REVERTED`·`REVERT_UNKNOWN`(되돌리기 결과를 모름 — 다시 하지 않는다)·`EXPIRED`
813
1122
  */
814
1123
  export declare const aiRunChangesStatusSchema: z.ZodEnum<{
1124
+ EXPIRED: "EXPIRED";
815
1125
  APPLIED: "APPLIED";
816
1126
  INCOMPLETE: "INCOMPLETE";
817
1127
  REVERTING: "REVERTING";
818
1128
  REVERTED: "REVERTED";
819
1129
  REVERT_UNKNOWN: "REVERT_UNKNOWN";
820
- EXPIRED: "EXPIRED";
821
1130
  }>;
822
1131
  export type AiRunChangesStatus = z.infer<typeof aiRunChangesStatusSchema>;
823
1132
  export declare const aiFileChangeKindSchema: z.ZodEnum<{
@@ -829,12 +1138,12 @@ export type AiFileChangeKind = z.infer<typeof aiFileChangeKindSchema>;
829
1138
  export declare const aiRunChangesSchema: z.ZodObject<{
830
1139
  runId: z.ZodString;
831
1140
  status: z.ZodEnum<{
1141
+ EXPIRED: "EXPIRED";
832
1142
  APPLIED: "APPLIED";
833
1143
  INCOMPLETE: "INCOMPLETE";
834
1144
  REVERTING: "REVERTING";
835
1145
  REVERTED: "REVERTED";
836
1146
  REVERT_UNKNOWN: "REVERT_UNKNOWN";
837
- EXPIRED: "EXPIRED";
838
1147
  }>;
839
1148
  files: z.ZodArray<z.ZodObject<{
840
1149
  path: z.ZodString;
@@ -851,12 +1160,12 @@ export declare const aiConversationFileChangesSchema: z.ZodObject<{
851
1160
  runs: z.ZodArray<z.ZodObject<{
852
1161
  runId: z.ZodString;
853
1162
  status: z.ZodEnum<{
1163
+ EXPIRED: "EXPIRED";
854
1164
  APPLIED: "APPLIED";
855
1165
  INCOMPLETE: "INCOMPLETE";
856
1166
  REVERTING: "REVERTING";
857
1167
  REVERTED: "REVERTED";
858
1168
  REVERT_UNKNOWN: "REVERT_UNKNOWN";
859
- EXPIRED: "EXPIRED";
860
1169
  }>;
861
1170
  files: z.ZodArray<z.ZodObject<{
862
1171
  path: z.ZodString;
@@ -873,12 +1182,12 @@ export type AiConversationFileChanges = z.infer<typeof aiConversationFileChanges
873
1182
  export declare const aiRunFileDiffSchema: z.ZodObject<{
874
1183
  runId: z.ZodString;
875
1184
  status: z.ZodEnum<{
1185
+ EXPIRED: "EXPIRED";
876
1186
  APPLIED: "APPLIED";
877
1187
  INCOMPLETE: "INCOMPLETE";
878
1188
  REVERTING: "REVERTING";
879
1189
  REVERTED: "REVERTED";
880
1190
  REVERT_UNKNOWN: "REVERT_UNKNOWN";
881
- EXPIRED: "EXPIRED";
882
1191
  }>;
883
1192
  files: z.ZodArray<z.ZodObject<{
884
1193
  path: z.ZodString;
@@ -909,8 +1218,8 @@ export declare const aiRunRevertConflictDetailsSchema: z.ZodObject<{
909
1218
  conflicts: z.ZodArray<z.ZodObject<{
910
1219
  path: z.ZodString;
911
1220
  reason: z.ZodEnum<{
912
- CHANGED: "CHANGED";
913
1221
  UNKNOWN: "UNKNOWN";
1222
+ CHANGED: "CHANGED";
914
1223
  }>;
915
1224
  }, z.core.$strip>>;
916
1225
  }, z.core.$strip>;
@@ -919,6 +1228,31 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
919
1228
  type: z.ZodLiteral<"delta">;
920
1229
  messageId: z.ZodString;
921
1230
  text: z.ZodString;
1231
+ }, z.core.$strip>, z.ZodObject<{
1232
+ type: z.ZodLiteral<"reasoning_delta">;
1233
+ messageId: z.ZodString;
1234
+ text: z.ZodString;
1235
+ }, z.core.$strip>, z.ZodObject<{
1236
+ type: z.ZodLiteral<"phase">;
1237
+ messageId: z.ZodString;
1238
+ phase: z.ZodEnum<{
1239
+ STORE: "STORE";
1240
+ STRUCTURE: "STRUCTURE";
1241
+ ENVIRONMENT: "ENVIRONMENT";
1242
+ BUILD: "BUILD";
1243
+ DONE: "DONE";
1244
+ }>;
1245
+ }, z.core.$strip>, z.ZodObject<{
1246
+ type: z.ZodLiteral<"todos">;
1247
+ messageId: z.ZodString;
1248
+ todos: z.ZodArray<z.ZodObject<{
1249
+ content: z.ZodString;
1250
+ status: z.ZodEnum<{
1251
+ pending: "pending";
1252
+ in_progress: "in_progress";
1253
+ completed: "completed";
1254
+ }>;
1255
+ }, z.core.$strip>>;
922
1256
  }, z.core.$strip>, z.ZodObject<{
923
1257
  type: z.ZodLiteral<"tool_start">;
924
1258
  messageId: z.ZodString;
@@ -927,29 +1261,64 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
927
1261
  label: z.ZodString;
928
1262
  focus: z.ZodOptional<z.ZodObject<{
929
1263
  area: z.ZodEnum<{
1264
+ shipping: "shipping";
930
1265
  products: "products";
1266
+ addresses: "addresses";
1267
+ orders: "orders";
1268
+ webhooks: "webhooks";
931
1269
  categories: "categories";
932
1270
  collections: "collections";
933
1271
  option_sets: "option_sets";
934
1272
  coupons: "coupons";
935
1273
  points: "points";
936
- orders: "orders";
937
1274
  claims: "claims";
938
1275
  customers: "customers";
939
1276
  inquiries: "inquiries";
940
1277
  customer_inquiries: "customer_inquiries";
941
1278
  store_settings: "store_settings";
942
- shipping: "shipping";
943
- addresses: "addresses";
944
1279
  payments: "payments";
945
1280
  login: "login";
946
1281
  members: "members";
947
1282
  order_flows: "order_flows";
948
- webhooks: "webhooks";
949
1283
  storefront: "storefront";
950
1284
  }>;
951
1285
  id: z.ZodOptional<z.ZodString>;
952
1286
  }, z.core.$strip>>;
1287
+ activity: z.ZodOptional<z.ZodEnum<{
1288
+ check: "check";
1289
+ shipping: "shipping";
1290
+ status: "status";
1291
+ category: "category";
1292
+ code: "code";
1293
+ brief: "brief";
1294
+ files: "files";
1295
+ version: "version";
1296
+ preview: "preview";
1297
+ template: "template";
1298
+ site: "site";
1299
+ info: "info";
1300
+ upload: "upload";
1301
+ design: "design";
1302
+ product: "product";
1303
+ verify: "verify";
1304
+ }>>;
1305
+ target: z.ZodOptional<z.ZodString>;
1306
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1307
+ path: z.ZodString;
1308
+ mode: z.ZodEnum<{
1309
+ edit: "edit";
1310
+ write: "write";
1311
+ }>;
1312
+ added: z.ZodNumber;
1313
+ removed: z.ZodNumber;
1314
+ preview: z.ZodArray<z.ZodObject<{
1315
+ kind: z.ZodEnum<{
1316
+ added: "added";
1317
+ removed: "removed";
1318
+ }>;
1319
+ text: z.ZodString;
1320
+ }, z.core.$strip>>;
1321
+ }, z.core.$strip>>>;
953
1322
  }, z.core.$strip>, z.ZodObject<{
954
1323
  type: z.ZodLiteral<"tool_result">;
955
1324
  messageId: z.ZodString;
@@ -968,6 +1337,10 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
968
1337
  label: z.ZodString;
969
1338
  value: z.ZodString;
970
1339
  }, z.core.$strip>>;
1340
+ }, z.core.$strip>, z.ZodObject<{
1341
+ type: z.ZodLiteral<"business_form">;
1342
+ messageId: z.ZodString;
1343
+ question: z.ZodString;
971
1344
  }, z.core.$strip>, z.ZodObject<{
972
1345
  type: z.ZodLiteral<"approval">;
973
1346
  messageId: z.ZodString;
@@ -995,6 +1368,41 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
995
1368
  ok: "ok";
996
1369
  }>;
997
1370
  summary: z.ZodNullable<z.ZodString>;
1371
+ activity: z.ZodOptional<z.ZodEnum<{
1372
+ check: "check";
1373
+ shipping: "shipping";
1374
+ status: "status";
1375
+ category: "category";
1376
+ code: "code";
1377
+ brief: "brief";
1378
+ files: "files";
1379
+ version: "version";
1380
+ preview: "preview";
1381
+ template: "template";
1382
+ site: "site";
1383
+ info: "info";
1384
+ upload: "upload";
1385
+ design: "design";
1386
+ product: "product";
1387
+ verify: "verify";
1388
+ }>>;
1389
+ target: z.ZodOptional<z.ZodString>;
1390
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1391
+ path: z.ZodString;
1392
+ mode: z.ZodEnum<{
1393
+ edit: "edit";
1394
+ write: "write";
1395
+ }>;
1396
+ added: z.ZodNumber;
1397
+ removed: z.ZodNumber;
1398
+ preview: z.ZodArray<z.ZodObject<{
1399
+ kind: z.ZodEnum<{
1400
+ added: "added";
1401
+ removed: "removed";
1402
+ }>;
1403
+ text: z.ZodString;
1404
+ }, z.core.$strip>>;
1405
+ }, z.core.$strip>>>;
998
1406
  }, z.core.$strip>, z.ZodObject<{
999
1407
  type: z.ZodLiteral<"choices">;
1000
1408
  question: z.ZodString;
@@ -1002,6 +1410,9 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1002
1410
  label: z.ZodString;
1003
1411
  value: z.ZodString;
1004
1412
  }, z.core.$strip>>;
1413
+ }, z.core.$strip>, z.ZodObject<{
1414
+ type: z.ZodLiteral<"business_form">;
1415
+ question: z.ZodString;
1005
1416
  }, z.core.$strip>, z.ZodObject<{
1006
1417
  type: z.ZodLiteral<"attachment">;
1007
1418
  attachment: z.ZodObject<{
@@ -1026,6 +1437,28 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1026
1437
  text: z.ZodString;
1027
1438
  pagePath: z.ZodString;
1028
1439
  }, z.core.$strip>;
1440
+ }, z.core.$strip>, z.ZodObject<{
1441
+ type: z.ZodLiteral<"reasoning">;
1442
+ text: z.ZodString;
1443
+ }, z.core.$strip>, z.ZodObject<{
1444
+ type: z.ZodLiteral<"phase">;
1445
+ phase: z.ZodEnum<{
1446
+ STORE: "STORE";
1447
+ STRUCTURE: "STRUCTURE";
1448
+ ENVIRONMENT: "ENVIRONMENT";
1449
+ BUILD: "BUILD";
1450
+ DONE: "DONE";
1451
+ }>;
1452
+ }, z.core.$strip>, z.ZodObject<{
1453
+ type: z.ZodLiteral<"todos">;
1454
+ todos: z.ZodArray<z.ZodObject<{
1455
+ content: z.ZodString;
1456
+ status: z.ZodEnum<{
1457
+ pending: "pending";
1458
+ in_progress: "in_progress";
1459
+ completed: "completed";
1460
+ }>;
1461
+ }, z.core.$strip>>;
1029
1462
  }, z.core.$strip>], "type">>;
1030
1463
  runId: z.ZodNullable<z.ZodString>;
1031
1464
  createdAt: z.ZodString;
@@ -1037,11 +1470,11 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1037
1470
  }, z.core.$strip>, z.ZodObject<{
1038
1471
  type: z.ZodLiteral<"done">;
1039
1472
  status: z.ZodEnum<{
1040
- QUEUED: "QUEUED";
1041
- RUNNING: "RUNNING";
1473
+ FAILED: "FAILED";
1042
1474
  CANCEL_REQUESTED: "CANCEL_REQUESTED";
1043
1475
  DONE: "DONE";
1044
- FAILED: "FAILED";
1476
+ QUEUED: "QUEUED";
1477
+ RUNNING: "RUNNING";
1045
1478
  CANCELLED: "CANCELLED";
1046
1479
  }>;
1047
1480
  }, z.core.$strip>], "type">;
@@ -1053,6 +1486,31 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1053
1486
  type: z.ZodLiteral<"delta">;
1054
1487
  messageId: z.ZodString;
1055
1488
  text: z.ZodString;
1489
+ }, z.core.$strip>, z.ZodObject<{
1490
+ type: z.ZodLiteral<"reasoning_delta">;
1491
+ messageId: z.ZodString;
1492
+ text: z.ZodString;
1493
+ }, z.core.$strip>, z.ZodObject<{
1494
+ type: z.ZodLiteral<"phase">;
1495
+ messageId: z.ZodString;
1496
+ phase: z.ZodEnum<{
1497
+ STORE: "STORE";
1498
+ STRUCTURE: "STRUCTURE";
1499
+ ENVIRONMENT: "ENVIRONMENT";
1500
+ BUILD: "BUILD";
1501
+ DONE: "DONE";
1502
+ }>;
1503
+ }, z.core.$strip>, z.ZodObject<{
1504
+ type: z.ZodLiteral<"todos">;
1505
+ messageId: z.ZodString;
1506
+ todos: z.ZodArray<z.ZodObject<{
1507
+ content: z.ZodString;
1508
+ status: z.ZodEnum<{
1509
+ pending: "pending";
1510
+ in_progress: "in_progress";
1511
+ completed: "completed";
1512
+ }>;
1513
+ }, z.core.$strip>>;
1056
1514
  }, z.core.$strip>, z.ZodObject<{
1057
1515
  type: z.ZodLiteral<"tool_start">;
1058
1516
  messageId: z.ZodString;
@@ -1061,29 +1519,64 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1061
1519
  label: z.ZodString;
1062
1520
  focus: z.ZodOptional<z.ZodObject<{
1063
1521
  area: z.ZodEnum<{
1522
+ shipping: "shipping";
1064
1523
  products: "products";
1524
+ addresses: "addresses";
1525
+ orders: "orders";
1526
+ webhooks: "webhooks";
1065
1527
  categories: "categories";
1066
1528
  collections: "collections";
1067
1529
  option_sets: "option_sets";
1068
1530
  coupons: "coupons";
1069
1531
  points: "points";
1070
- orders: "orders";
1071
1532
  claims: "claims";
1072
1533
  customers: "customers";
1073
1534
  inquiries: "inquiries";
1074
1535
  customer_inquiries: "customer_inquiries";
1075
1536
  store_settings: "store_settings";
1076
- shipping: "shipping";
1077
- addresses: "addresses";
1078
1537
  payments: "payments";
1079
1538
  login: "login";
1080
1539
  members: "members";
1081
1540
  order_flows: "order_flows";
1082
- webhooks: "webhooks";
1083
1541
  storefront: "storefront";
1084
1542
  }>;
1085
1543
  id: z.ZodOptional<z.ZodString>;
1086
1544
  }, z.core.$strip>>;
1545
+ activity: z.ZodOptional<z.ZodEnum<{
1546
+ check: "check";
1547
+ shipping: "shipping";
1548
+ status: "status";
1549
+ category: "category";
1550
+ code: "code";
1551
+ brief: "brief";
1552
+ files: "files";
1553
+ version: "version";
1554
+ preview: "preview";
1555
+ template: "template";
1556
+ site: "site";
1557
+ info: "info";
1558
+ upload: "upload";
1559
+ design: "design";
1560
+ product: "product";
1561
+ verify: "verify";
1562
+ }>>;
1563
+ target: z.ZodOptional<z.ZodString>;
1564
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1565
+ path: z.ZodString;
1566
+ mode: z.ZodEnum<{
1567
+ edit: "edit";
1568
+ write: "write";
1569
+ }>;
1570
+ added: z.ZodNumber;
1571
+ removed: z.ZodNumber;
1572
+ preview: z.ZodArray<z.ZodObject<{
1573
+ kind: z.ZodEnum<{
1574
+ added: "added";
1575
+ removed: "removed";
1576
+ }>;
1577
+ text: z.ZodString;
1578
+ }, z.core.$strip>>;
1579
+ }, z.core.$strip>>>;
1087
1580
  }, z.core.$strip>, z.ZodObject<{
1088
1581
  type: z.ZodLiteral<"tool_result">;
1089
1582
  messageId: z.ZodString;
@@ -1102,6 +1595,10 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1102
1595
  label: z.ZodString;
1103
1596
  value: z.ZodString;
1104
1597
  }, z.core.$strip>>;
1598
+ }, z.core.$strip>, z.ZodObject<{
1599
+ type: z.ZodLiteral<"business_form">;
1600
+ messageId: z.ZodString;
1601
+ question: z.ZodString;
1105
1602
  }, z.core.$strip>, z.ZodObject<{
1106
1603
  type: z.ZodLiteral<"approval">;
1107
1604
  messageId: z.ZodString;
@@ -1129,6 +1626,41 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1129
1626
  ok: "ok";
1130
1627
  }>;
1131
1628
  summary: z.ZodNullable<z.ZodString>;
1629
+ activity: z.ZodOptional<z.ZodEnum<{
1630
+ check: "check";
1631
+ shipping: "shipping";
1632
+ status: "status";
1633
+ category: "category";
1634
+ code: "code";
1635
+ brief: "brief";
1636
+ files: "files";
1637
+ version: "version";
1638
+ preview: "preview";
1639
+ template: "template";
1640
+ site: "site";
1641
+ info: "info";
1642
+ upload: "upload";
1643
+ design: "design";
1644
+ product: "product";
1645
+ verify: "verify";
1646
+ }>>;
1647
+ target: z.ZodOptional<z.ZodString>;
1648
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1649
+ path: z.ZodString;
1650
+ mode: z.ZodEnum<{
1651
+ edit: "edit";
1652
+ write: "write";
1653
+ }>;
1654
+ added: z.ZodNumber;
1655
+ removed: z.ZodNumber;
1656
+ preview: z.ZodArray<z.ZodObject<{
1657
+ kind: z.ZodEnum<{
1658
+ added: "added";
1659
+ removed: "removed";
1660
+ }>;
1661
+ text: z.ZodString;
1662
+ }, z.core.$strip>>;
1663
+ }, z.core.$strip>>>;
1132
1664
  }, z.core.$strip>, z.ZodObject<{
1133
1665
  type: z.ZodLiteral<"choices">;
1134
1666
  question: z.ZodString;
@@ -1136,6 +1668,9 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1136
1668
  label: z.ZodString;
1137
1669
  value: z.ZodString;
1138
1670
  }, z.core.$strip>>;
1671
+ }, z.core.$strip>, z.ZodObject<{
1672
+ type: z.ZodLiteral<"business_form">;
1673
+ question: z.ZodString;
1139
1674
  }, z.core.$strip>, z.ZodObject<{
1140
1675
  type: z.ZodLiteral<"attachment">;
1141
1676
  attachment: z.ZodObject<{
@@ -1160,6 +1695,28 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1160
1695
  text: z.ZodString;
1161
1696
  pagePath: z.ZodString;
1162
1697
  }, z.core.$strip>;
1698
+ }, z.core.$strip>, z.ZodObject<{
1699
+ type: z.ZodLiteral<"reasoning">;
1700
+ text: z.ZodString;
1701
+ }, z.core.$strip>, z.ZodObject<{
1702
+ type: z.ZodLiteral<"phase">;
1703
+ phase: z.ZodEnum<{
1704
+ STORE: "STORE";
1705
+ STRUCTURE: "STRUCTURE";
1706
+ ENVIRONMENT: "ENVIRONMENT";
1707
+ BUILD: "BUILD";
1708
+ DONE: "DONE";
1709
+ }>;
1710
+ }, z.core.$strip>, z.ZodObject<{
1711
+ type: z.ZodLiteral<"todos">;
1712
+ todos: z.ZodArray<z.ZodObject<{
1713
+ content: z.ZodString;
1714
+ status: z.ZodEnum<{
1715
+ pending: "pending";
1716
+ in_progress: "in_progress";
1717
+ completed: "completed";
1718
+ }>;
1719
+ }, z.core.$strip>>;
1163
1720
  }, z.core.$strip>], "type">>;
1164
1721
  runId: z.ZodNullable<z.ZodString>;
1165
1722
  createdAt: z.ZodString;
@@ -1171,11 +1728,11 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1171
1728
  }, z.core.$strip>, z.ZodObject<{
1172
1729
  type: z.ZodLiteral<"done">;
1173
1730
  status: z.ZodEnum<{
1174
- QUEUED: "QUEUED";
1175
- RUNNING: "RUNNING";
1731
+ FAILED: "FAILED";
1176
1732
  CANCEL_REQUESTED: "CANCEL_REQUESTED";
1177
1733
  DONE: "DONE";
1178
- FAILED: "FAILED";
1734
+ QUEUED: "QUEUED";
1735
+ RUNNING: "RUNNING";
1179
1736
  CANCELLED: "CANCELLED";
1180
1737
  }>;
1181
1738
  }, z.core.$strip>], "type">;
@@ -1390,10 +1947,10 @@ export declare const analyticsProductsSchema: z.ZodObject<{
1390
1947
  }, z.core.$strip>;
1391
1948
  export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
1392
1949
  export declare const analyticsChannelSchema: z.ZodEnum<{
1393
- UNKNOWN: "UNKNOWN";
1394
1950
  PAID: "PAID";
1395
1951
  DIRECT: "DIRECT";
1396
1952
  CAMPAIGN: "CAMPAIGN";
1953
+ UNKNOWN: "UNKNOWN";
1397
1954
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
1398
1955
  SOCIAL: "SOCIAL";
1399
1956
  EMAIL: "EMAIL";
@@ -1424,10 +1981,10 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
1424
1981
  export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
1425
1982
  export declare const analyticsSourceRowSchema: z.ZodObject<{
1426
1983
  channel: z.ZodNullable<z.ZodEnum<{
1427
- UNKNOWN: "UNKNOWN";
1428
1984
  PAID: "PAID";
1429
1985
  DIRECT: "DIRECT";
1430
1986
  CAMPAIGN: "CAMPAIGN";
1987
+ UNKNOWN: "UNKNOWN";
1431
1988
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
1432
1989
  SOCIAL: "SOCIAL";
1433
1990
  EMAIL: "EMAIL";
@@ -1460,10 +2017,10 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
1460
2017
  }>;
1461
2018
  rows: z.ZodArray<z.ZodObject<{
1462
2019
  channel: z.ZodNullable<z.ZodEnum<{
1463
- UNKNOWN: "UNKNOWN";
1464
2020
  PAID: "PAID";
1465
2021
  DIRECT: "DIRECT";
1466
2022
  CAMPAIGN: "CAMPAIGN";
2023
+ UNKNOWN: "UNKNOWN";
1467
2024
  ORGANIC_SEARCH: "ORGANIC_SEARCH";
1468
2025
  SOCIAL: "SOCIAL";
1469
2026
  EMAIL: "EMAIL";
@@ -3669,10 +4226,10 @@ export declare const appInstallationRunSchema: z.ZodObject<{
3669
4226
  deliveryId: z.ZodString;
3670
4227
  eventType: z.ZodString;
3671
4228
  status: z.ZodEnum<{
3672
- FAILED: "FAILED";
3673
4229
  PENDING: "PENDING";
3674
4230
  PENDING_RETRY: "PENDING_RETRY";
3675
4231
  SUCCESS: "SUCCESS";
4232
+ FAILED: "FAILED";
3676
4233
  }>;
3677
4234
  errorCode: z.ZodNullable<z.ZodEnum<{
3678
4235
  TIMEOUT: "TIMEOUT";
@@ -3699,10 +4256,10 @@ export declare const appInstallationActivitySchema: z.ZodObject<{
3699
4256
  deliveryId: z.ZodString;
3700
4257
  eventType: z.ZodString;
3701
4258
  status: z.ZodEnum<{
3702
- FAILED: "FAILED";
3703
4259
  PENDING: "PENDING";
3704
4260
  PENDING_RETRY: "PENDING_RETRY";
3705
4261
  SUCCESS: "SUCCESS";
4262
+ FAILED: "FAILED";
3706
4263
  }>;
3707
4264
  errorCode: z.ZodNullable<z.ZodEnum<{
3708
4265
  TIMEOUT: "TIMEOUT";
@@ -3931,22 +4488,22 @@ export declare const appVersionStatusSchema: z.ZodEnum<{
3931
4488
  export type AppVersionStatus = z.infer<typeof appVersionStatusSchema>;
3932
4489
  /** 빌드 단계(매뉴얼 「앱 버전과 배포 › 빌드」). 로컬 번들(A1)은 `DEPENDENCIES`·`VERIFY`·`BUNDLE`·`UPLOAD`를 서버가 돈다 */
3933
4490
  export declare const appBuildStageSchema: z.ZodEnum<{
4491
+ BUILD: "BUILD";
3934
4492
  UPLOAD: "UPLOAD";
3935
4493
  DEPENDENCIES: "DEPENDENCIES";
3936
4494
  VERIFY: "VERIFY";
3937
4495
  INSTALL: "INSTALL";
3938
4496
  TYPECHECK: "TYPECHECK";
3939
- BUILD: "BUILD";
3940
4497
  BUNDLE: "BUNDLE";
3941
4498
  }>;
3942
4499
  export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
3943
4500
  export declare const appBuildSchema: z.ZodObject<{
3944
4501
  buildId: z.ZodString;
3945
4502
  status: z.ZodEnum<{
3946
- QUEUED: "QUEUED";
3947
- RUNNING: "RUNNING";
3948
4503
  FAILED: "FAILED";
3949
4504
  SUCCEEDED: "SUCCEEDED";
4505
+ QUEUED: "QUEUED";
4506
+ RUNNING: "RUNNING";
3950
4507
  TIMED_OUT: "TIMED_OUT";
3951
4508
  }>;
3952
4509
  stages: z.ZodArray<z.ZodObject<{
@@ -3989,10 +4546,10 @@ export declare const appVersionSchema: z.ZodObject<{
3989
4546
  build: z.ZodNullable<z.ZodObject<{
3990
4547
  buildId: z.ZodString;
3991
4548
  status: z.ZodEnum<{
3992
- QUEUED: "QUEUED";
3993
- RUNNING: "RUNNING";
3994
4549
  FAILED: "FAILED";
3995
4550
  SUCCEEDED: "SUCCEEDED";
4551
+ QUEUED: "QUEUED";
4552
+ RUNNING: "RUNNING";
3996
4553
  TIMED_OUT: "TIMED_OUT";
3997
4554
  }>;
3998
4555
  stages: z.ZodArray<z.ZodObject<{
@@ -4140,10 +4697,10 @@ export declare const appReleaseResultSchema: z.ZodObject<{
4140
4697
  build: z.ZodNullable<z.ZodObject<{
4141
4698
  buildId: z.ZodString;
4142
4699
  status: z.ZodEnum<{
4143
- QUEUED: "QUEUED";
4144
- RUNNING: "RUNNING";
4145
4700
  FAILED: "FAILED";
4146
4701
  SUCCEEDED: "SUCCEEDED";
4702
+ QUEUED: "QUEUED";
4703
+ RUNNING: "RUNNING";
4147
4704
  TIMED_OUT: "TIMED_OUT";
4148
4705
  }>;
4149
4706
  stages: z.ZodArray<z.ZodObject<{
@@ -4233,9 +4790,9 @@ export declare const appInvocationSchema: z.ZodObject<{
4233
4790
  installationId: z.ZodString;
4234
4791
  versionNumber: z.ZodNullable<z.ZodNumber>;
4235
4792
  kind: z.ZodEnum<{
4236
- tool: "tool";
4237
4793
  event: "event";
4238
4794
  flow: "flow";
4795
+ tool: "tool";
4239
4796
  http: "http";
4240
4797
  schedule: "schedule";
4241
4798
  }>;
@@ -4256,7 +4813,7 @@ export declare const appInvocationSchema: z.ZodObject<{
4256
4813
  createdAt: z.ZodString;
4257
4814
  }, z.core.$strip>;
4258
4815
  export type AppInvocation = z.infer<typeof appInvocationSchema>;
4259
- /** 앱 배포 키(developer.sayren.app 「키 발행」) — 값은 만들 때 한 번만 보인다 */
4816
+ /** 앱 배포 키(developer.sayren.io 「키 발행」) — 값은 만들 때 한 번만 보인다 */
4260
4817
  export declare const appDeployKeySchema: z.ZodObject<{
4261
4818
  keyId: z.ZodString;
4262
4819
  name: z.ZodString;
@@ -7034,10 +7591,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
7034
7591
  }, z.core.$strip>;
7035
7592
  export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
7036
7593
  export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
7037
- FAILED: "FAILED";
7038
7594
  PENDING: "PENDING";
7039
7595
  PENDING_RETRY: "PENDING_RETRY";
7040
7596
  SUCCESS: "SUCCESS";
7597
+ FAILED: "FAILED";
7041
7598
  }>;
7042
7599
  export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
7043
7600
  export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
@@ -7107,10 +7664,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
7107
7664
  }>;
7108
7665
  url: z.ZodString;
7109
7666
  status: z.ZodEnum<{
7110
- FAILED: "FAILED";
7111
7667
  PENDING: "PENDING";
7112
7668
  PENDING_RETRY: "PENDING_RETRY";
7113
7669
  SUCCESS: "SUCCESS";
7670
+ FAILED: "FAILED";
7114
7671
  }>;
7115
7672
  responseStatusCode: z.ZodNullable<z.ZodNumber>;
7116
7673
  responseTimeMs: z.ZodNullable<z.ZodNumber>;
@@ -7168,10 +7725,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
7168
7725
  }>;
7169
7726
  url: z.ZodString;
7170
7727
  status: z.ZodEnum<{
7171
- FAILED: "FAILED";
7172
7728
  PENDING: "PENDING";
7173
7729
  PENDING_RETRY: "PENDING_RETRY";
7174
7730
  SUCCESS: "SUCCESS";
7731
+ FAILED: "FAILED";
7175
7732
  }>;
7176
7733
  responseStatusCode: z.ZodNullable<z.ZodNumber>;
7177
7734
  responseTimeMs: z.ZodNullable<z.ZodNumber>;
@@ -7212,10 +7769,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
7212
7769
  /** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
7213
7770
  export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
7214
7771
  status: z.ZodOptional<z.ZodEnum<{
7215
- FAILED: "FAILED";
7216
7772
  PENDING: "PENDING";
7217
7773
  PENDING_RETRY: "PENDING_RETRY";
7218
7774
  SUCCESS: "SUCCESS";
7775
+ FAILED: "FAILED";
7219
7776
  }>>;
7220
7777
  eventType: z.ZodOptional<z.ZodEnum<{
7221
7778
  "ORDER.PAID": "ORDER.PAID";
@@ -8200,8 +8757,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
8200
8757
  }>;
8201
8758
  export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
8202
8759
  export declare const pgVerificationResultSchema: z.ZodEnum<{
8203
- FAILED: "FAILED";
8204
8760
  SUCCESS: "SUCCESS";
8761
+ FAILED: "FAILED";
8205
8762
  }>;
8206
8763
  export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
8207
8764
  /**
@@ -8350,8 +8907,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
8350
8907
  }, z.core.$strip>>;
8351
8908
  lastVerification: z.ZodNullable<z.ZodObject<{
8352
8909
  result: z.ZodEnum<{
8353
- FAILED: "FAILED";
8354
8910
  SUCCESS: "SUCCESS";
8911
+ FAILED: "FAILED";
8355
8912
  }>;
8356
8913
  message: z.ZodNullable<z.ZodString>;
8357
8914
  checkedAt: z.ZodString;
@@ -8460,8 +9017,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
8460
9017
  }, z.core.$strip>>;
8461
9018
  lastVerification: z.ZodNullable<z.ZodObject<{
8462
9019
  result: z.ZodEnum<{
8463
- FAILED: "FAILED";
8464
9020
  SUCCESS: "SUCCESS";
9021
+ FAILED: "FAILED";
8465
9022
  }>;
8466
9023
  message: z.ZodNullable<z.ZodString>;
8467
9024
  checkedAt: z.ZodString;
@@ -8497,8 +9054,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
8497
9054
  }, z.core.$strip>>;
8498
9055
  lastVerification: z.ZodNullable<z.ZodObject<{
8499
9056
  result: z.ZodEnum<{
8500
- FAILED: "FAILED";
8501
9057
  SUCCESS: "SUCCESS";
9058
+ FAILED: "FAILED";
8502
9059
  }>;
8503
9060
  message: z.ZodNullable<z.ZodString>;
8504
9061
  checkedAt: z.ZodString;
@@ -8533,8 +9090,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
8533
9090
  }, z.core.$strip>>;
8534
9091
  lastVerification: z.ZodNullable<z.ZodObject<{
8535
9092
  result: z.ZodEnum<{
8536
- FAILED: "FAILED";
8537
9093
  SUCCESS: "SUCCESS";
9094
+ FAILED: "FAILED";
8538
9095
  }>;
8539
9096
  message: z.ZodNullable<z.ZodString>;
8540
9097
  checkedAt: z.ZodString;
@@ -8626,8 +9183,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
8626
9183
  }, z.core.$strip>>;
8627
9184
  lastVerification: z.ZodNullable<z.ZodObject<{
8628
9185
  result: z.ZodEnum<{
8629
- FAILED: "FAILED";
8630
9186
  SUCCESS: "SUCCESS";
9187
+ FAILED: "FAILED";
8631
9188
  }>;
8632
9189
  message: z.ZodNullable<z.ZodString>;
8633
9190
  checkedAt: z.ZodString;
@@ -8663,8 +9220,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
8663
9220
  }, z.core.$strip>>;
8664
9221
  lastVerification: z.ZodNullable<z.ZodObject<{
8665
9222
  result: z.ZodEnum<{
8666
- FAILED: "FAILED";
8667
9223
  SUCCESS: "SUCCESS";
9224
+ FAILED: "FAILED";
8668
9225
  }>;
8669
9226
  message: z.ZodNullable<z.ZodString>;
8670
9227
  checkedAt: z.ZodString;
@@ -8699,8 +9256,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
8699
9256
  }, z.core.$strip>>;
8700
9257
  lastVerification: z.ZodNullable<z.ZodObject<{
8701
9258
  result: z.ZodEnum<{
8702
- FAILED: "FAILED";
8703
9259
  SUCCESS: "SUCCESS";
9260
+ FAILED: "FAILED";
8704
9261
  }>;
8705
9262
  message: z.ZodNullable<z.ZodString>;
8706
9263
  checkedAt: z.ZodString;
@@ -8758,8 +9315,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
8758
9315
  LIVE: "LIVE";
8759
9316
  }>;
8760
9317
  result: z.ZodEnum<{
8761
- FAILED: "FAILED";
8762
9318
  SUCCESS: "SUCCESS";
9319
+ FAILED: "FAILED";
8763
9320
  }>;
8764
9321
  message: z.ZodNullable<z.ZodString>;
8765
9322
  checkedAt: z.ZodString;
@@ -8889,8 +9446,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
8889
9446
  * - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
8890
9447
  */
8891
9448
  export declare const paymentRecordStatusSchema: z.ZodEnum<{
8892
- FAILED: "FAILED";
8893
9449
  PENDING: "PENDING";
9450
+ FAILED: "FAILED";
8894
9451
  APPROVED: "APPROVED";
8895
9452
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
8896
9453
  REFUNDED: "REFUNDED";
@@ -8937,8 +9494,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
8937
9494
  orderName: z.ZodString;
8938
9495
  customerName: z.ZodString;
8939
9496
  status: z.ZodEnum<{
8940
- FAILED: "FAILED";
8941
9497
  PENDING: "PENDING";
9498
+ FAILED: "FAILED";
8942
9499
  APPROVED: "APPROVED";
8943
9500
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
8944
9501
  REFUNDED: "REFUNDED";
@@ -8985,8 +9542,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
8985
9542
  orderName: z.ZodString;
8986
9543
  customerName: z.ZodString;
8987
9544
  status: z.ZodEnum<{
8988
- FAILED: "FAILED";
8989
9545
  PENDING: "PENDING";
9546
+ FAILED: "FAILED";
8990
9547
  APPROVED: "APPROVED";
8991
9548
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
8992
9549
  REFUNDED: "REFUNDED";
@@ -9078,8 +9635,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
9078
9635
  orderName: z.ZodString;
9079
9636
  customerName: z.ZodString;
9080
9637
  status: z.ZodEnum<{
9081
- FAILED: "FAILED";
9082
9638
  PENDING: "PENDING";
9639
+ FAILED: "FAILED";
9083
9640
  APPROVED: "APPROVED";
9084
9641
  PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
9085
9642
  REFUNDED: "REFUNDED";
@@ -9693,8 +10250,8 @@ export declare const customInputRequestSchema: z.ZodObject<{
9693
10250
  key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9694
10251
  type: z.ZodOptional<z.ZodEnum<{
9695
10252
  number: "number";
9696
- text: "text";
9697
10253
  date: "date";
10254
+ text: "text";
9698
10255
  select: "select";
9699
10256
  datetime: "datetime";
9700
10257
  image: "image";
@@ -9963,8 +10520,8 @@ export declare const optionModelRequestSchema: z.ZodObject<{
9963
10520
  key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9964
10521
  type: z.ZodOptional<z.ZodEnum<{
9965
10522
  number: "number";
9966
- text: "text";
9967
10523
  date: "date";
10524
+ text: "text";
9968
10525
  select: "select";
9969
10526
  datetime: "datetime";
9970
10527
  image: "image";
@@ -10137,8 +10694,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
10137
10694
  key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10138
10695
  type: z.ZodOptional<z.ZodEnum<{
10139
10696
  number: "number";
10140
- text: "text";
10141
10697
  date: "date";
10698
+ text: "text";
10142
10699
  select: "select";
10143
10700
  datetime: "datetime";
10144
10701
  image: "image";
@@ -10251,8 +10808,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
10251
10808
  key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10252
10809
  type: z.ZodOptional<z.ZodEnum<{
10253
10810
  number: "number";
10254
- text: "text";
10255
10811
  date: "date";
10812
+ text: "text";
10256
10813
  select: "select";
10257
10814
  datetime: "datetime";
10258
10815
  image: "image";
@@ -10339,9 +10896,9 @@ export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
10339
10896
  export declare const productSortSchema: z.ZodEnum<{
10340
10897
  "createdAt.desc": "createdAt.desc";
10341
10898
  "createdAt.asc": "createdAt.asc";
10342
- "updatedAt.desc": "updatedAt.desc";
10343
10899
  "salePrice.asc": "salePrice.asc";
10344
10900
  "salePrice.desc": "salePrice.desc";
10901
+ "updatedAt.desc": "updatedAt.desc";
10345
10902
  }>;
10346
10903
  export type ProductSort = z.infer<typeof productSortSchema>;
10347
10904
  export interface ProductListParams extends PageParams {
@@ -10370,9 +10927,9 @@ export declare const productListQuerySchema: z.ZodObject<{
10370
10927
  sort: z.ZodOptional<z.ZodEnum<{
10371
10928
  "createdAt.desc": "createdAt.desc";
10372
10929
  "createdAt.asc": "createdAt.asc";
10373
- "updatedAt.desc": "updatedAt.desc";
10374
10930
  "salePrice.asc": "salePrice.asc";
10375
10931
  "salePrice.desc": "salePrice.desc";
10932
+ "updatedAt.desc": "updatedAt.desc";
10376
10933
  }>>;
10377
10934
  }, z.core.$strip>;
10378
10935
  export declare const discountRequestSchema: z.ZodObject<{
@@ -10484,8 +11041,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
10484
11041
  key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10485
11042
  type: z.ZodOptional<z.ZodEnum<{
10486
11043
  number: "number";
10487
- text: "text";
10488
11044
  date: "date";
11045
+ text: "text";
10489
11046
  select: "select";
10490
11047
  datetime: "datetime";
10491
11048
  image: "image";
@@ -10524,8 +11081,8 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
10524
11081
  key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10525
11082
  type: z.ZodOptional<z.ZodEnum<{
10526
11083
  number: "number";
10527
- text: "text";
10528
11084
  date: "date";
11085
+ text: "text";
10529
11086
  select: "select";
10530
11087
  datetime: "datetime";
10531
11088
  image: "image";
@@ -10872,8 +11429,8 @@ export declare const invitationSchema: z.ZodObject<{
10872
11429
  STAFF: "STAFF";
10873
11430
  }>;
10874
11431
  status: z.ZodEnum<{
10875
- EXPIRED: "EXPIRED";
10876
11432
  PENDING: "PENDING";
11433
+ EXPIRED: "EXPIRED";
10877
11434
  ACCEPTED: "ACCEPTED";
10878
11435
  CANCELED: "CANCELED";
10879
11436
  }>;
@@ -10912,8 +11469,8 @@ export type UpdateMemberRoleRequest = z.infer<typeof updateMemberRoleRequestSche
10912
11469
  /** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
10913
11470
  export declare const invitationListQuerySchema: z.ZodObject<{
10914
11471
  status: z.ZodOptional<z.ZodEnum<{
10915
- EXPIRED: "EXPIRED";
10916
11472
  PENDING: "PENDING";
11473
+ EXPIRED: "EXPIRED";
10917
11474
  ACCEPTED: "ACCEPTED";
10918
11475
  CANCELED: "CANCELED";
10919
11476
  }>>;
@@ -11184,8 +11741,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
11184
11741
  */
11185
11742
  export declare const storefrontProvisioningSchema: z.ZodObject<{
11186
11743
  status: z.ZodEnum<{
11187
- FAILED: "FAILED";
11188
11744
  PENDING: "PENDING";
11745
+ FAILED: "FAILED";
11189
11746
  SYNCED: "SYNCED";
11190
11747
  }>;
11191
11748
  lastErrorCode: z.ZodNullable<z.ZodString>;
@@ -11273,8 +11830,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
11273
11830
  }, z.core.$strip>>;
11274
11831
  provisioning: z.ZodObject<{
11275
11832
  status: z.ZodEnum<{
11276
- FAILED: "FAILED";
11277
11833
  PENDING: "PENDING";
11834
+ FAILED: "FAILED";
11278
11835
  SYNCED: "SYNCED";
11279
11836
  }>;
11280
11837
  lastErrorCode: z.ZodNullable<z.ZodString>;
@@ -11359,8 +11916,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
11359
11916
  }, z.core.$strip>>;
11360
11917
  provisioning: z.ZodObject<{
11361
11918
  status: z.ZodEnum<{
11362
- FAILED: "FAILED";
11363
11919
  PENDING: "PENDING";
11920
+ FAILED: "FAILED";
11364
11921
  SYNCED: "SYNCED";
11365
11922
  }>;
11366
11923
  lastErrorCode: z.ZodNullable<z.ZodString>;
@@ -11407,10 +11964,10 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
11407
11964
  PUBLISH: "PUBLISH";
11408
11965
  }>;
11409
11966
  status: z.ZodEnum<{
11410
- RUNNING: "RUNNING";
11411
- DONE: "DONE";
11412
- FAILED: "FAILED";
11413
11967
  PENDING: "PENDING";
11968
+ FAILED: "FAILED";
11969
+ DONE: "DONE";
11970
+ RUNNING: "RUNNING";
11414
11971
  }>;
11415
11972
  finishedAt: z.ZodNullable<z.ZodString>;
11416
11973
  }, z.core.$strip>;
@@ -11443,10 +12000,10 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
11443
12000
  PUBLISH: "PUBLISH";
11444
12001
  }>;
11445
12002
  status: z.ZodEnum<{
11446
- RUNNING: "RUNNING";
11447
- DONE: "DONE";
11448
- FAILED: "FAILED";
11449
12003
  PENDING: "PENDING";
12004
+ FAILED: "FAILED";
12005
+ DONE: "DONE";
12006
+ RUNNING: "RUNNING";
11450
12007
  }>;
11451
12008
  finishedAt: z.ZodNullable<z.ZodString>;
11452
12009
  }, z.core.$strip>>;
@@ -11567,8 +12124,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
11567
12124
  /** 소유 확인 TXT 레코드의 전체 이름 */
11568
12125
  export declare function storefrontDomainTxtNameOf(hostname: string): string;
11569
12126
  export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
11570
- FAILED: "FAILED";
11571
12127
  ACTIVE: "ACTIVE";
12128
+ FAILED: "FAILED";
11572
12129
  PENDING_DNS: "PENDING_DNS";
11573
12130
  PENDING_VALIDATION: "PENDING_VALIDATION";
11574
12131
  }>;
@@ -11594,8 +12151,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
11594
12151
  CUSTOM: "CUSTOM";
11595
12152
  }>;
11596
12153
  status: z.ZodEnum<{
11597
- FAILED: "FAILED";
11598
12154
  ACTIVE: "ACTIVE";
12155
+ FAILED: "FAILED";
11599
12156
  PENDING_DNS: "PENDING_DNS";
11600
12157
  PENDING_VALIDATION: "PENDING_VALIDATION";
11601
12158
  }>;
@@ -11613,9 +12170,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
11613
12170
  }>;
11614
12171
  }, z.core.$strip>>;
11615
12172
  certificateStatus: z.ZodNullable<z.ZodEnum<{
11616
- FAILED: "FAILED";
11617
12173
  ACTIVE: "ACTIVE";
11618
12174
  PENDING: "PENDING";
12175
+ FAILED: "FAILED";
11619
12176
  }>>;
11620
12177
  failureCode: z.ZodNullable<z.ZodString>;
11621
12178
  verifiedAt: z.ZodNullable<z.ZodString>;
@@ -11637,8 +12194,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
11637
12194
  CUSTOM: "CUSTOM";
11638
12195
  }>;
11639
12196
  status: z.ZodEnum<{
11640
- FAILED: "FAILED";
11641
12197
  ACTIVE: "ACTIVE";
12198
+ FAILED: "FAILED";
11642
12199
  PENDING_DNS: "PENDING_DNS";
11643
12200
  PENDING_VALIDATION: "PENDING_VALIDATION";
11644
12201
  }>;
@@ -11656,9 +12213,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
11656
12213
  }>;
11657
12214
  }, z.core.$strip>>;
11658
12215
  certificateStatus: z.ZodNullable<z.ZodEnum<{
11659
- FAILED: "FAILED";
11660
12216
  ACTIVE: "ACTIVE";
11661
12217
  PENDING: "PENDING";
12218
+ FAILED: "FAILED";
11662
12219
  }>>;
11663
12220
  failureCode: z.ZodNullable<z.ZodString>;
11664
12221
  verifiedAt: z.ZodNullable<z.ZodString>;
@@ -11892,10 +12449,10 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
11892
12449
  }, z.core.$strip>;
11893
12450
  export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
11894
12451
  export declare const storefrontCheckStatusSchema: z.ZodEnum<{
11895
- QUEUED: "QUEUED";
11896
- RUNNING: "RUNNING";
11897
12452
  FAILED: "FAILED";
11898
12453
  UNKNOWN: "UNKNOWN";
12454
+ QUEUED: "QUEUED";
12455
+ RUNNING: "RUNNING";
11899
12456
  PASSED: "PASSED";
11900
12457
  TIMED_OUT: "TIMED_OUT";
11901
12458
  }>;
@@ -11906,10 +12463,10 @@ export declare const storefrontCheckSchema: z.ZodObject<{
11906
12463
  checkId: z.ZodString;
11907
12464
  check: z.ZodString;
11908
12465
  status: z.ZodEnum<{
11909
- QUEUED: "QUEUED";
11910
- RUNNING: "RUNNING";
11911
12466
  FAILED: "FAILED";
11912
12467
  UNKNOWN: "UNKNOWN";
12468
+ QUEUED: "QUEUED";
12469
+ RUNNING: "RUNNING";
11913
12470
  PASSED: "PASSED";
11914
12471
  TIMED_OUT: "TIMED_OUT";
11915
12472
  }>;
@@ -11991,10 +12548,10 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
11991
12548
  }, z.core.$strip>;
11992
12549
  export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
11993
12550
  export declare const storefrontBuildStatusSchema: z.ZodEnum<{
11994
- QUEUED: "QUEUED";
11995
- RUNNING: "RUNNING";
11996
12551
  FAILED: "FAILED";
11997
12552
  SUCCEEDED: "SUCCEEDED";
12553
+ QUEUED: "QUEUED";
12554
+ RUNNING: "RUNNING";
11998
12555
  TIMED_OUT: "TIMED_OUT";
11999
12556
  }>;
12000
12557
  export type StorefrontBuildStatus = z.infer<typeof storefrontBuildStatusSchema>;
@@ -12059,10 +12616,10 @@ export declare const storefrontBuildSchema: z.ZodObject<{
12059
12616
  versionId: z.ZodString;
12060
12617
  versionNumber: z.ZodNumber;
12061
12618
  status: z.ZodEnum<{
12062
- QUEUED: "QUEUED";
12063
- RUNNING: "RUNNING";
12064
12619
  FAILED: "FAILED";
12065
12620
  SUCCEEDED: "SUCCEEDED";
12621
+ QUEUED: "QUEUED";
12622
+ RUNNING: "RUNNING";
12066
12623
  TIMED_OUT: "TIMED_OUT";
12067
12624
  }>;
12068
12625
  failureStage: z.ZodNullable<z.ZodString>;
@@ -12189,10 +12746,10 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
12189
12746
  versionId: z.ZodString;
12190
12747
  versionNumber: z.ZodNumber;
12191
12748
  status: z.ZodEnum<{
12192
- QUEUED: "QUEUED";
12193
- RUNNING: "RUNNING";
12194
12749
  FAILED: "FAILED";
12195
12750
  SUCCEEDED: "SUCCEEDED";
12751
+ QUEUED: "QUEUED";
12752
+ RUNNING: "RUNNING";
12196
12753
  TIMED_OUT: "TIMED_OUT";
12197
12754
  }>;
12198
12755
  failureStage: z.ZodNullable<z.ZodString>;
@@ -12502,7 +13059,7 @@ export declare const STORE_SESSION_KEYS: {
12502
13059
  readonly pkce: "sayren.store.pkce";
12503
13060
  };
12504
13061
  /**
12505
- * 인가 서버(Sayren 계정, accounts) 주소 — `https://accounts.sayren.app/api/auth/oauth2/{authorize,token,revoke}`.
13062
+ * 인가 서버(Sayren 계정, accounts) 주소 — `https://accounts.sayren.io/api/auth/oauth2/{authorize,token,revoke}`.
12506
13063
  * `resource`를 주면 authorize·code 교환·refresh에 RFC 8707 `resource`를 싣는다(JWT access token의 `aud`).
12507
13064
  */
12508
13065
  interface StoreAuthServer {
@@ -13340,7 +13897,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13340
13897
  value: true;
13341
13898
  } | {
13342
13899
  field: "bestSelling";
13343
- days: 7 | 30 | 90;
13900
+ days: 30 | 7 | 90;
13344
13901
  top: number;
13345
13902
  } | {
13346
13903
  [x: string]: unknown;
@@ -13390,7 +13947,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13390
13947
  value: true;
13391
13948
  } | {
13392
13949
  field: "bestSelling";
13393
- days: 7 | 30 | 90;
13950
+ days: 30 | 7 | 90;
13394
13951
  top: number;
13395
13952
  } | {
13396
13953
  [x: string]: unknown;
@@ -13433,7 +13990,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13433
13990
  value: true;
13434
13991
  } | {
13435
13992
  field: "bestSelling";
13436
- days: 7 | 30 | 90;
13993
+ days: 30 | 7 | 90;
13437
13994
  top: number;
13438
13995
  } | {
13439
13996
  [x: string]: unknown;
@@ -13475,7 +14032,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13475
14032
  value: true;
13476
14033
  } | {
13477
14034
  field: "bestSelling";
13478
- days: 7 | 30 | 90;
14035
+ days: 30 | 7 | 90;
13479
14036
  top: number;
13480
14037
  } | {
13481
14038
  [x: string]: unknown;
@@ -13538,7 +14095,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13538
14095
  value: true;
13539
14096
  } | {
13540
14097
  field: "bestSelling";
13541
- days: 7 | 30 | 90;
14098
+ days: 30 | 7 | 90;
13542
14099
  top: number;
13543
14100
  } | {
13544
14101
  [x: string]: unknown;
@@ -13581,7 +14138,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
13581
14138
  value: true;
13582
14139
  } | {
13583
14140
  field: "bestSelling";
13584
- days: 7 | 30 | 90;
14141
+ days: 30 | 7 | 90;
13585
14142
  top: number;
13586
14143
  } | {
13587
14144
  [x: string]: unknown;
@@ -16126,7 +16683,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16126
16683
  sources: (params: AnalyticsSourcesParams) => Promise<{
16127
16684
  groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
16128
16685
  rows: {
16129
- channel: "UNKNOWN" | "PAID" | "DIRECT" | "CAMPAIGN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
16686
+ channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
16130
16687
  source: string | null;
16131
16688
  medium: string | null;
16132
16689
  campaign: string | null;
@@ -16261,7 +16818,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16261
16818
  orderId: string | null;
16262
16819
  orderName: string;
16263
16820
  customerName: string;
16264
- status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16821
+ status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16265
16822
  amount: number;
16266
16823
  refundedAmount: number;
16267
16824
  heldRefundAmount: number;
@@ -16287,7 +16844,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16287
16844
  orderId: string | null;
16288
16845
  orderName: string;
16289
16846
  customerName: string;
16290
- status: "FAILED" | "PENDING" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16847
+ status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
16291
16848
  amount: number;
16292
16849
  refundedAmount: number;
16293
16850
  heldRefundAmount: number;
@@ -16402,7 +16959,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16402
16959
  masked: string | null;
16403
16960
  }[];
16404
16961
  lastVerification: {
16405
- result: "FAILED" | "SUCCESS";
16962
+ result: "SUCCESS" | "FAILED";
16406
16963
  message: string | null;
16407
16964
  checkedAt: string;
16408
16965
  } | null;
@@ -16427,7 +16984,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16427
16984
  masked: string | null;
16428
16985
  }[];
16429
16986
  lastVerification: {
16430
- result: "FAILED" | "SUCCESS";
16987
+ result: "SUCCESS" | "FAILED";
16431
16988
  message: string | null;
16432
16989
  checkedAt: string;
16433
16990
  } | null;
@@ -16451,7 +17008,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16451
17008
  masked: string | null;
16452
17009
  }[];
16453
17010
  lastVerification: {
16454
- result: "FAILED" | "SUCCESS";
17011
+ result: "SUCCESS" | "FAILED";
16455
17012
  message: string | null;
16456
17013
  checkedAt: string;
16457
17014
  } | null;
@@ -16512,7 +17069,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16512
17069
  masked: string | null;
16513
17070
  }[];
16514
17071
  lastVerification: {
16515
- result: "FAILED" | "SUCCESS";
17072
+ result: "SUCCESS" | "FAILED";
16516
17073
  message: string | null;
16517
17074
  checkedAt: string;
16518
17075
  } | null;
@@ -16537,7 +17094,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16537
17094
  masked: string | null;
16538
17095
  }[];
16539
17096
  lastVerification: {
16540
- result: "FAILED" | "SUCCESS";
17097
+ result: "SUCCESS" | "FAILED";
16541
17098
  message: string | null;
16542
17099
  checkedAt: string;
16543
17100
  } | null;
@@ -16561,7 +17118,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16561
17118
  masked: string | null;
16562
17119
  }[];
16563
17120
  lastVerification: {
16564
- result: "FAILED" | "SUCCESS";
17121
+ result: "SUCCESS" | "FAILED";
16565
17122
  message: string | null;
16566
17123
  checkedAt: string;
16567
17124
  } | null;
@@ -16627,7 +17184,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16627
17184
  masked: string | null;
16628
17185
  }[];
16629
17186
  lastVerification: {
16630
- result: "FAILED" | "SUCCESS";
17187
+ result: "SUCCESS" | "FAILED";
16631
17188
  message: string | null;
16632
17189
  checkedAt: string;
16633
17190
  } | null;
@@ -16652,7 +17209,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16652
17209
  masked: string | null;
16653
17210
  }[];
16654
17211
  lastVerification: {
16655
- result: "FAILED" | "SUCCESS";
17212
+ result: "SUCCESS" | "FAILED";
16656
17213
  message: string | null;
16657
17214
  checkedAt: string;
16658
17215
  } | null;
@@ -16676,7 +17233,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16676
17233
  masked: string | null;
16677
17234
  }[];
16678
17235
  lastVerification: {
16679
- result: "FAILED" | "SUCCESS";
17236
+ result: "SUCCESS" | "FAILED";
16680
17237
  message: string | null;
16681
17238
  checkedAt: string;
16682
17239
  } | null;
@@ -16723,7 +17280,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16723
17280
  masked: string | null;
16724
17281
  }[];
16725
17282
  lastVerification: {
16726
- result: "FAILED" | "SUCCESS";
17283
+ result: "SUCCESS" | "FAILED";
16727
17284
  message: string | null;
16728
17285
  checkedAt: string;
16729
17286
  } | null;
@@ -16748,7 +17305,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16748
17305
  masked: string | null;
16749
17306
  }[];
16750
17307
  lastVerification: {
16751
- result: "FAILED" | "SUCCESS";
17308
+ result: "SUCCESS" | "FAILED";
16752
17309
  message: string | null;
16753
17310
  checkedAt: string;
16754
17311
  } | null;
@@ -16772,7 +17329,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16772
17329
  masked: string | null;
16773
17330
  }[];
16774
17331
  lastVerification: {
16775
- result: "FAILED" | "SUCCESS";
17332
+ result: "SUCCESS" | "FAILED";
16776
17333
  message: string | null;
16777
17334
  checkedAt: string;
16778
17335
  } | null;
@@ -16829,7 +17386,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16829
17386
  masked: string | null;
16830
17387
  }[];
16831
17388
  lastVerification: {
16832
- result: "FAILED" | "SUCCESS";
17389
+ result: "SUCCESS" | "FAILED";
16833
17390
  message: string | null;
16834
17391
  checkedAt: string;
16835
17392
  } | null;
@@ -16854,7 +17411,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16854
17411
  masked: string | null;
16855
17412
  }[];
16856
17413
  lastVerification: {
16857
- result: "FAILED" | "SUCCESS";
17414
+ result: "SUCCESS" | "FAILED";
16858
17415
  message: string | null;
16859
17416
  checkedAt: string;
16860
17417
  } | null;
@@ -16878,7 +17435,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16878
17435
  masked: string | null;
16879
17436
  }[];
16880
17437
  lastVerification: {
16881
- result: "FAILED" | "SUCCESS";
17438
+ result: "SUCCESS" | "FAILED";
16882
17439
  message: string | null;
16883
17440
  checkedAt: string;
16884
17441
  } | null;
@@ -16925,7 +17482,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16925
17482
  masked: string | null;
16926
17483
  }[];
16927
17484
  lastVerification: {
16928
- result: "FAILED" | "SUCCESS";
17485
+ result: "SUCCESS" | "FAILED";
16929
17486
  message: string | null;
16930
17487
  checkedAt: string;
16931
17488
  } | null;
@@ -16950,7 +17507,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16950
17507
  masked: string | null;
16951
17508
  }[];
16952
17509
  lastVerification: {
16953
- result: "FAILED" | "SUCCESS";
17510
+ result: "SUCCESS" | "FAILED";
16954
17511
  message: string | null;
16955
17512
  checkedAt: string;
16956
17513
  } | null;
@@ -16974,7 +17531,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
16974
17531
  masked: string | null;
16975
17532
  }[];
16976
17533
  lastVerification: {
16977
- result: "FAILED" | "SUCCESS";
17534
+ result: "SUCCESS" | "FAILED";
16978
17535
  message: string | null;
16979
17536
  checkedAt: string;
16980
17537
  } | null;
@@ -17030,7 +17587,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17030
17587
  masked: string | null;
17031
17588
  }[];
17032
17589
  lastVerification: {
17033
- result: "FAILED" | "SUCCESS";
17590
+ result: "SUCCESS" | "FAILED";
17034
17591
  message: string | null;
17035
17592
  checkedAt: string;
17036
17593
  } | null;
@@ -17055,7 +17612,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17055
17612
  masked: string | null;
17056
17613
  }[];
17057
17614
  lastVerification: {
17058
- result: "FAILED" | "SUCCESS";
17615
+ result: "SUCCESS" | "FAILED";
17059
17616
  message: string | null;
17060
17617
  checkedAt: string;
17061
17618
  } | null;
@@ -17079,7 +17636,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17079
17636
  masked: string | null;
17080
17637
  }[];
17081
17638
  lastVerification: {
17082
- result: "FAILED" | "SUCCESS";
17639
+ result: "SUCCESS" | "FAILED";
17083
17640
  message: string | null;
17084
17641
  checkedAt: string;
17085
17642
  } | null;
@@ -17107,7 +17664,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17107
17664
  verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
17108
17665
  provider: "tosspayments" | "portone";
17109
17666
  environment: "TEST" | "LIVE";
17110
- result: "FAILED" | "SUCCESS";
17667
+ result: "SUCCESS" | "FAILED";
17111
17668
  message: string | null;
17112
17669
  checkedAt: string;
17113
17670
  }>;
@@ -17551,7 +18108,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17551
18108
  runs: {
17552
18109
  deliveryId: string;
17553
18110
  eventType: string;
17554
- status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
18111
+ status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17555
18112
  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;
17556
18113
  attemptCount: number;
17557
18114
  createdAt: string;
@@ -17748,7 +18305,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17748
18305
  eventId: string;
17749
18306
  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";
17750
18307
  url: string;
17751
- status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
18308
+ status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17752
18309
  responseStatusCode: number | null;
17753
18310
  responseTimeMs: number | null;
17754
18311
  responseBodyExcerpt: string | null;
@@ -17775,7 +18332,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17775
18332
  eventId: string;
17776
18333
  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";
17777
18334
  url: string;
17778
- status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
18335
+ status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17779
18336
  responseStatusCode: number | null;
17780
18337
  responseTimeMs: number | null;
17781
18338
  responseBodyExcerpt: string | null;
@@ -17810,7 +18367,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17810
18367
  eventId: string;
17811
18368
  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";
17812
18369
  url: string;
17813
- status: "FAILED" | "PENDING" | "PENDING_RETRY" | "SUCCESS";
18370
+ status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
17814
18371
  responseStatusCode: number | null;
17815
18372
  responseTimeMs: number | null;
17816
18373
  responseBodyExcerpt: string | null;
@@ -17924,7 +18481,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17924
18481
  list: (params?: ApprovalListOptions) => Promise<{
17925
18482
  items: {
17926
18483
  approvalId: string;
17927
- status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
18484
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
17928
18485
  operationId: string;
17929
18486
  method: string;
17930
18487
  path: string;
@@ -17976,7 +18533,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
17976
18533
  }>;
17977
18534
  get: (approvalId: string) => Promise<{
17978
18535
  approvalId: string;
17979
- status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
18536
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
17980
18537
  operationId: string;
17981
18538
  method: string;
17982
18539
  path: string;
@@ -18030,7 +18587,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18030
18587
  */
18031
18588
  approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
18032
18589
  approvalId: string;
18033
- status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
18590
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
18034
18591
  operationId: string;
18035
18592
  method: string;
18036
18593
  path: string;
@@ -18080,7 +18637,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18080
18637
  }>;
18081
18638
  reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
18082
18639
  approvalId: string;
18083
- status: "FAILED" | "EXPIRED" | "UNKNOWN" | "PENDING" | "SUCCEEDED" | "EXECUTING" | "REJECTED";
18640
+ status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
18084
18641
  operationId: string;
18085
18642
  method: string;
18086
18643
  path: string;
@@ -18273,6 +18830,18 @@ export declare function createStoreClient(options: StoreClientOptions): {
18273
18830
  label: string;
18274
18831
  status: "error" | "unknown" | "ok";
18275
18832
  summary: string | null;
18833
+ activity?: "check" | "shipping" | "status" | "category" | "code" | "brief" | "files" | "version" | "preview" | "template" | "site" | "info" | "upload" | "design" | "product" | "verify" | undefined;
18834
+ target?: string | undefined;
18835
+ changes?: {
18836
+ path: string;
18837
+ mode: "edit" | "write";
18838
+ added: number;
18839
+ removed: number;
18840
+ preview: {
18841
+ kind: "added" | "removed";
18842
+ text: string;
18843
+ }[];
18844
+ }[] | undefined;
18276
18845
  } | {
18277
18846
  type: "choices";
18278
18847
  question: string;
@@ -18280,6 +18849,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
18280
18849
  label: string;
18281
18850
  value: string;
18282
18851
  }[];
18852
+ } | {
18853
+ type: "business_form";
18854
+ question: string;
18283
18855
  } | {
18284
18856
  type: "attachment";
18285
18857
  attachment: {
@@ -18304,13 +18876,25 @@ export declare function createStoreClient(options: StoreClientOptions): {
18304
18876
  text: string;
18305
18877
  pagePath: string;
18306
18878
  };
18879
+ } | {
18880
+ type: "reasoning";
18881
+ text: string;
18882
+ } | {
18883
+ type: "phase";
18884
+ phase: "STORE" | "STRUCTURE" | "ENVIRONMENT" | "BUILD" | "DONE";
18885
+ } | {
18886
+ type: "todos";
18887
+ todos: {
18888
+ content: string;
18889
+ status: "pending" | "in_progress" | "completed";
18890
+ }[];
18307
18891
  })[];
18308
18892
  runId: string | null;
18309
18893
  createdAt: string;
18310
18894
  }[];
18311
18895
  activeRun: {
18312
18896
  id: string;
18313
- status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
18897
+ status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
18314
18898
  errorCode: string | null;
18315
18899
  createdAt: string;
18316
18900
  finishedAt: string | null;
@@ -18322,7 +18906,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18322
18906
  } | null;
18323
18907
  lastRun: {
18324
18908
  id: string;
18325
- status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
18909
+ status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
18326
18910
  errorCode: string | null;
18327
18911
  createdAt: string;
18328
18912
  finishedAt: string | null;
@@ -18338,7 +18922,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18338
18922
  /** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
18339
18923
  cancelRun: (runId: string) => Promise<{
18340
18924
  id: string;
18341
- status: "QUEUED" | "RUNNING" | "CANCEL_REQUESTED" | "DONE" | "FAILED" | "CANCELLED";
18925
+ status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
18342
18926
  errorCode: string | null;
18343
18927
  createdAt: string;
18344
18928
  finishedAt: string | null;
@@ -18347,7 +18931,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18347
18931
  listFileChanges: (conversationId: string) => Promise<{
18348
18932
  runs: {
18349
18933
  runId: string;
18350
- status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN" | "EXPIRED";
18934
+ status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
18351
18935
  files: {
18352
18936
  path: string;
18353
18937
  change: "created" | "modified" | "deleted";
@@ -18357,7 +18941,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18357
18941
  /** `GET /v1/ai/runs/{id}/file-changes` — 실행 하나의 변경 내용(이전·이후) */
18358
18942
  getRunFileDiff: (runId: string) => Promise<{
18359
18943
  runId: string;
18360
- status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN" | "EXPIRED";
18944
+ status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
18361
18945
  files: {
18362
18946
  path: string;
18363
18947
  change: "created" | "modified" | "deleted";
@@ -18449,7 +19033,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18449
19033
  previewable?: boolean | undefined;
18450
19034
  } | null;
18451
19035
  provisioning: {
18452
- status: "FAILED" | "PENDING" | "SYNCED";
19036
+ status: "PENDING" | "FAILED" | "SYNCED";
18453
19037
  lastErrorCode: string | null;
18454
19038
  syncedAt: string | null;
18455
19039
  };
@@ -18513,7 +19097,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18513
19097
  previewable?: boolean | undefined;
18514
19098
  } | null;
18515
19099
  provisioning: {
18516
- status: "FAILED" | "PENDING" | "SYNCED";
19100
+ status: "PENDING" | "FAILED" | "SYNCED";
18517
19101
  lastErrorCode: string | null;
18518
19102
  syncedAt: string | null;
18519
19103
  };
@@ -18542,7 +19126,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18542
19126
  finishedAt: string | null;
18543
19127
  steps: {
18544
19128
  key: "SITE" | "UPLOAD" | "PUBLISH";
18545
- status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
19129
+ status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
18546
19130
  finishedAt: string | null;
18547
19131
  }[];
18548
19132
  log: {
@@ -18564,7 +19148,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18564
19148
  finishedAt: string | null;
18565
19149
  steps: {
18566
19150
  key: "SITE" | "UPLOAD" | "PUBLISH";
18567
- status: "RUNNING" | "DONE" | "FAILED" | "PENDING";
19151
+ status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
18568
19152
  finishedAt: string | null;
18569
19153
  }[];
18570
19154
  log: {
@@ -18615,7 +19199,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18615
19199
  previewable?: boolean | undefined;
18616
19200
  } | null;
18617
19201
  provisioning: {
18618
- status: "FAILED" | "PENDING" | "SYNCED";
19202
+ status: "PENDING" | "FAILED" | "SYNCED";
18619
19203
  lastErrorCode: string | null;
18620
19204
  syncedAt: string | null;
18621
19205
  };
@@ -18686,7 +19270,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18686
19270
  previewable?: boolean | undefined;
18687
19271
  } | null;
18688
19272
  provisioning: {
18689
- status: "FAILED" | "PENDING" | "SYNCED";
19273
+ status: "PENDING" | "FAILED" | "SYNCED";
18690
19274
  lastErrorCode: string | null;
18691
19275
  syncedAt: string | null;
18692
19276
  };
@@ -18740,7 +19324,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18740
19324
  previewable?: boolean | undefined;
18741
19325
  } | null;
18742
19326
  provisioning: {
18743
- status: "FAILED" | "PENDING" | "SYNCED";
19327
+ status: "PENDING" | "FAILED" | "SYNCED";
18744
19328
  lastErrorCode: string | null;
18745
19329
  syncedAt: string | null;
18746
19330
  };
@@ -18794,7 +19378,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18794
19378
  previewable?: boolean | undefined;
18795
19379
  } | null;
18796
19380
  provisioning: {
18797
- status: "FAILED" | "PENDING" | "SYNCED";
19381
+ status: "PENDING" | "FAILED" | "SYNCED";
18798
19382
  lastErrorCode: string | null;
18799
19383
  syncedAt: string | null;
18800
19384
  };
@@ -18848,7 +19432,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18848
19432
  previewable?: boolean | undefined;
18849
19433
  } | null;
18850
19434
  provisioning: {
18851
- status: "FAILED" | "PENDING" | "SYNCED";
19435
+ status: "PENDING" | "FAILED" | "SYNCED";
18852
19436
  lastErrorCode: string | null;
18853
19437
  syncedAt: string | null;
18854
19438
  };
@@ -18877,6 +19461,50 @@ export declare function createStoreClient(options: StoreClientOptions): {
18877
19461
  expiresAt: string;
18878
19462
  editorUrl?: string | undefined;
18879
19463
  }>;
19464
+ /** `GET /v1/storefront/starter` — 쇼핑몰 만들기 진행 상태(서버 상태로 계산한 단계·셀러 항목, 공개 문서 제외) */
19465
+ getStarterStatus: () => Promise<{
19466
+ stage: "SITE" | "INTERVIEW" | "STORE_INFO" | "PRODUCTS" | "SELLER_TASKS" | "POLISH";
19467
+ hostingEnabled: boolean;
19468
+ defaultSiteUrl: string | null;
19469
+ brief: {
19470
+ saved: boolean;
19471
+ updatedAt: string | null;
19472
+ };
19473
+ site: {
19474
+ siteId: string;
19475
+ url: string;
19476
+ templateId: string;
19477
+ visibility: "COMING_SOON" | "PUBLIC";
19478
+ status: string;
19479
+ synced: boolean;
19480
+ publishedVersion: {
19481
+ versionId: string;
19482
+ templateVersion: string;
19483
+ createdVia: string | null;
19484
+ publishedAt: string | null;
19485
+ } | null;
19486
+ } | null;
19487
+ storeInfo: {
19488
+ done: boolean;
19489
+ missing: ("LOGO" | "CUSTOMER_CENTER_PHONE")[];
19490
+ suggested: ("LOGO" | "CUSTOMER_CENTER_PHONE")[];
19491
+ };
19492
+ products: {
19493
+ realCount: number;
19494
+ };
19495
+ sellerTasks: {
19496
+ key: "PAYMENT_CONNECTED" | "BUSINESS_INFO" | "SHIPPING_POLICY";
19497
+ done: boolean;
19498
+ }[];
19499
+ checkout: {
19500
+ available: boolean;
19501
+ mode: "TEST" | "LIVE" | null;
19502
+ reason: "PAYMENT_NOT_CONFIGURED" | "PAYMENT_NOT_LIVE" | null;
19503
+ };
19504
+ orders: {
19505
+ count: number;
19506
+ };
19507
+ }>;
18880
19508
  /** `GET /v1/storefront/site/domains` — 주소 목록(기본 주소 + 내 도메인)과 DNS 안내 */
18881
19509
  listDomains: () => Promise<{
18882
19510
  enabled: boolean;
@@ -18886,7 +19514,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18886
19514
  domainId: string;
18887
19515
  hostname: string;
18888
19516
  kind: "PLATFORM" | "CUSTOM";
18889
- status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
19517
+ status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18890
19518
  isPrimary: boolean;
18891
19519
  dnsRecords: {
18892
19520
  type: "CNAME" | "TXT";
@@ -18894,7 +19522,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18894
19522
  value: string;
18895
19523
  purpose: "ROUTING" | "OWNERSHIP";
18896
19524
  }[];
18897
- certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
19525
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18898
19526
  failureCode: string | null;
18899
19527
  verifiedAt: string | null;
18900
19528
  activatedAt: string | null;
@@ -18910,7 +19538,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18910
19538
  domainId: string;
18911
19539
  hostname: string;
18912
19540
  kind: "PLATFORM" | "CUSTOM";
18913
- status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
19541
+ status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18914
19542
  isPrimary: boolean;
18915
19543
  dnsRecords: {
18916
19544
  type: "CNAME" | "TXT";
@@ -18918,7 +19546,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18918
19546
  value: string;
18919
19547
  purpose: "ROUTING" | "OWNERSHIP";
18920
19548
  }[];
18921
- certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
19549
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18922
19550
  failureCode: string | null;
18923
19551
  verifiedAt: string | null;
18924
19552
  activatedAt: string | null;
@@ -18930,7 +19558,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18930
19558
  domainId: string;
18931
19559
  hostname: string;
18932
19560
  kind: "PLATFORM" | "CUSTOM";
18933
- status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
19561
+ status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18934
19562
  isPrimary: boolean;
18935
19563
  dnsRecords: {
18936
19564
  type: "CNAME" | "TXT";
@@ -18938,7 +19566,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18938
19566
  value: string;
18939
19567
  purpose: "ROUTING" | "OWNERSHIP";
18940
19568
  }[];
18941
- certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
19569
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18942
19570
  failureCode: string | null;
18943
19571
  verifiedAt: string | null;
18944
19572
  activatedAt: string | null;
@@ -18954,7 +19582,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18954
19582
  domainId: string;
18955
19583
  hostname: string;
18956
19584
  kind: "PLATFORM" | "CUSTOM";
18957
- status: "FAILED" | "ACTIVE" | "PENDING_DNS" | "PENDING_VALIDATION";
19585
+ status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
18958
19586
  isPrimary: boolean;
18959
19587
  dnsRecords: {
18960
19588
  type: "CNAME" | "TXT";
@@ -18962,7 +19590,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
18962
19590
  value: string;
18963
19591
  purpose: "ROUTING" | "OWNERSHIP";
18964
19592
  }[];
18965
- certificateStatus: "FAILED" | "ACTIVE" | "PENDING" | null;
19593
+ certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
18966
19594
  failureCode: string | null;
18967
19595
  verifiedAt: string | null;
18968
19596
  activatedAt: string | null;
@@ -19006,7 +19634,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19006
19634
  previewable?: boolean | undefined;
19007
19635
  } | null;
19008
19636
  provisioning: {
19009
- status: "FAILED" | "PENDING" | "SYNCED";
19637
+ status: "PENDING" | "FAILED" | "SYNCED";
19010
19638
  lastErrorCode: string | null;
19011
19639
  syncedAt: string | null;
19012
19640
  };
@@ -19172,7 +19800,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19172
19800
  runCheck: (body: RunStorefrontCheckRequest) => Promise<{
19173
19801
  checkId: string;
19174
19802
  check: string;
19175
- status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
19803
+ status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
19176
19804
  exitCode: number | null;
19177
19805
  durationMs: number | null;
19178
19806
  outputTail: string | null;
@@ -19186,7 +19814,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19186
19814
  getCheck: (checkId: string) => Promise<{
19187
19815
  checkId: string;
19188
19816
  check: string;
19189
- status: "QUEUED" | "RUNNING" | "FAILED" | "UNKNOWN" | "PASSED" | "TIMED_OUT";
19817
+ status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
19190
19818
  exitCode: number | null;
19191
19819
  durationMs: number | null;
19192
19820
  outputTail: string | null;
@@ -19254,7 +19882,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19254
19882
  buildId: string;
19255
19883
  versionId: string;
19256
19884
  versionNumber: number;
19257
- status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
19885
+ status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
19258
19886
  failureStage: string | null;
19259
19887
  errorCode: string | null;
19260
19888
  logTail: string | null;
@@ -19335,7 +19963,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19335
19963
  buildId: string;
19336
19964
  versionId: string;
19337
19965
  versionNumber: number;
19338
- status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
19966
+ status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
19339
19967
  failureStage: string | null;
19340
19968
  errorCode: string | null;
19341
19969
  logTail: string | null;
@@ -19413,7 +20041,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19413
20041
  buildId: string;
19414
20042
  versionId: string;
19415
20043
  versionNumber: number;
19416
- status: "QUEUED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "TIMED_OUT";
20044
+ status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
19417
20045
  failureStage: string | null;
19418
20046
  errorCode: string | null;
19419
20047
  logTail: string | null;
@@ -19558,7 +20186,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19558
20186
  code: string;
19559
20187
  name: string;
19560
20188
  };
19561
- status: "INCOMPLETE" | "ACTIVE" | "CANCELED" | "PAST_DUE";
20189
+ status: "ACTIVE" | "CANCELED" | "INCOMPLETE" | "PAST_DUE";
19562
20190
  interval: "MONTH" | null;
19563
20191
  cancelAtPeriodEnd: boolean;
19564
20192
  period: {
@@ -19830,7 +20458,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19830
20458
  invitationId: string;
19831
20459
  email: string;
19832
20460
  role: "ADMIN" | "STAFF";
19833
- status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
20461
+ status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
19834
20462
  invitedBy: string;
19835
20463
  expiresAt: string;
19836
20464
  createdAt: string;
@@ -19848,7 +20476,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19848
20476
  invitationId: string;
19849
20477
  email: string;
19850
20478
  role: "ADMIN" | "STAFF";
19851
- status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
20479
+ status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
19852
20480
  invitedBy: string;
19853
20481
  expiresAt: string;
19854
20482
  createdAt: string;
@@ -19863,7 +20491,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
19863
20491
  invitationId: string;
19864
20492
  email: string;
19865
20493
  role: "ADMIN" | "STAFF";
19866
- status: "EXPIRED" | "PENDING" | "ACCEPTED" | "CANCELED";
20494
+ status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
19867
20495
  invitedBy: string;
19868
20496
  expiresAt: string;
19869
20497
  createdAt: string;
@@ -19900,7 +20528,7 @@ export declare function createPkcePair(): Promise<{
19900
20528
  challenge: string;
19901
20529
  }>;
19902
20530
  interface AuthorizeUrlOptions {
19903
- /** authorize 엔드포인트 전체 주소(예: `https://accounts.sayren.app/api/auth/oauth2/authorize`) */
20531
+ /** authorize 엔드포인트 전체 주소(예: `https://accounts.sayren.io/api/auth/oauth2/authorize`) */
19904
20532
  authorizeUrl: string;
19905
20533
  clientId: string;
19906
20534
  redirectUri: string;
@@ -20472,11 +21100,11 @@ export declare const STORE_SCOPE_RESOURCES: {
20472
21100
  };
20473
21101
  export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
20474
21102
  export declare const storeScopeResourceSchema: z.ZodEnum<{
20475
- storefront: "storefront";
20476
21103
  category: "category";
20477
21104
  flow: "flow";
20478
- analytics: "analytics";
20479
21105
  product: "product";
21106
+ analytics: "analytics";
21107
+ storefront: "storefront";
20480
21108
  order: "order";
20481
21109
  claim: "claim";
20482
21110
  inquiry: "inquiry";
@@ -20928,8 +21556,8 @@ export type StarterStatus = z.infer<typeof starterStatusSchema>;
20928
21556
  /** 요금제 코드 — 이름(`plan.name`)이 바뀌어도 코드는 바뀌지 않는다. 값은 추가만 한다 */
20929
21557
  export declare const planCodeSchema: z.ZodEnum<{
20930
21558
  FREE: "FREE";
20931
- BETA: "BETA";
20932
21559
  BASIC: "BASIC";
21560
+ BETA: "BETA";
20933
21561
  PRO: "PRO";
20934
21562
  BUSINESS: "BUSINESS";
20935
21563
  ENTERPRISE: "ENTERPRISE";
@@ -20942,8 +21570,8 @@ export type PlanCode = z.infer<typeof planCodeSchema>;
20942
21570
  */
20943
21571
  export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
20944
21572
  FREE: "FREE";
20945
- BETA: "BETA";
20946
21573
  BASIC: "BASIC";
21574
+ BETA: "BETA";
20947
21575
  PRO: "PRO";
20948
21576
  BUSINESS: "BUSINESS";
20949
21577
  ENTERPRISE: "ENTERPRISE";
@@ -20951,9 +21579,9 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
20951
21579
  }>, z.ZodString]>;
20952
21580
  export type ResponsePlanCode = PlanCode | (string & {});
20953
21581
  export declare const subscriptionStatusSchema: z.ZodEnum<{
20954
- INCOMPLETE: "INCOMPLETE";
20955
21582
  ACTIVE: "ACTIVE";
20956
21583
  CANCELED: "CANCELED";
21584
+ INCOMPLETE: "INCOMPLETE";
20957
21585
  PAST_DUE: "PAST_DUE";
20958
21586
  }>;
20959
21587
  export type SubscriptionStatus = z.infer<typeof subscriptionStatusSchema>;
@@ -20992,8 +21620,8 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
20992
21620
  plan: z.ZodObject<{
20993
21621
  code: z.ZodUnion<readonly [z.ZodEnum<{
20994
21622
  FREE: "FREE";
20995
- BETA: "BETA";
20996
21623
  BASIC: "BASIC";
21624
+ BETA: "BETA";
20997
21625
  PRO: "PRO";
20998
21626
  BUSINESS: "BUSINESS";
20999
21627
  ENTERPRISE: "ENTERPRISE";
@@ -21002,9 +21630,9 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
21002
21630
  name: z.ZodString;
21003
21631
  }, z.core.$strip>;
21004
21632
  status: z.ZodEnum<{
21005
- INCOMPLETE: "INCOMPLETE";
21006
21633
  ACTIVE: "ACTIVE";
21007
21634
  CANCELED: "CANCELED";
21635
+ INCOMPLETE: "INCOMPLETE";
21008
21636
  PAST_DUE: "PAST_DUE";
21009
21637
  }>;
21010
21638
  interval: z.ZodNullable<z.ZodEnum<{
@@ -21074,8 +21702,8 @@ export declare const planErrorDetailsSchema: z.ZodObject<{
21074
21702
  used: z.ZodOptional<z.ZodNumber>;
21075
21703
  plan: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
21076
21704
  FREE: "FREE";
21077
- BETA: "BETA";
21078
21705
  BASIC: "BASIC";
21706
+ BETA: "BETA";
21079
21707
  PRO: "PRO";
21080
21708
  BUSINESS: "BUSINESS";
21081
21709
  ENTERPRISE: "ENTERPRISE";
@@ -21122,8 +21750,8 @@ export type PlanEntitlementValues = z.infer<typeof planEntitlementsSchema>;
21122
21750
  export declare const publicPlanSchema: z.ZodObject<{
21123
21751
  code: z.ZodUnion<readonly [z.ZodEnum<{
21124
21752
  FREE: "FREE";
21125
- BETA: "BETA";
21126
21753
  BASIC: "BASIC";
21754
+ BETA: "BETA";
21127
21755
  PRO: "PRO";
21128
21756
  BUSINESS: "BUSINESS";
21129
21757
  ENTERPRISE: "ENTERPRISE";
@@ -21176,8 +21804,8 @@ export declare const publicPlansSchema: z.ZodObject<{
21176
21804
  plans: z.ZodArray<z.ZodObject<{
21177
21805
  code: z.ZodUnion<readonly [z.ZodEnum<{
21178
21806
  FREE: "FREE";
21179
- BETA: "BETA";
21180
21807
  BASIC: "BASIC";
21808
+ BETA: "BETA";
21181
21809
  PRO: "PRO";
21182
21810
  BUSINESS: "BUSINESS";
21183
21811
  ENTERPRISE: "ENTERPRISE";