@sayren/store-sdk 0.30.19 → 0.31.0
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 +1391 -60
- package/dist/index.mjs +220 -30
- package/package.json +1 -1
- package/src/client.ts +36 -0
- package/src/schemas/ai.ts +136 -19
- package/src/schemas/payment.ts +127 -5
- package/src/schemas/storefront-hosting.ts +14 -0
package/dist/index.d.mts
CHANGED
|
@@ -165,8 +165,8 @@ export declare const auditLogPageSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>;
|
|
166
166
|
export type AuditLogPage = z.infer<typeof auditLogPageSchema>;
|
|
167
167
|
export declare const agentPolicyDecisionSchema: z.ZodEnum<{
|
|
168
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
169
168
|
DENIED: "DENIED";
|
|
169
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
170
170
|
ALLOW: "ALLOW";
|
|
171
171
|
}>;
|
|
172
172
|
export type AgentPolicyDecision = z.infer<typeof agentPolicyDecisionSchema>;
|
|
@@ -191,8 +191,8 @@ export type WritePreview = z.infer<typeof writePreviewSchema>;
|
|
|
191
191
|
export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
192
192
|
dryRun: z.ZodLiteral<true>;
|
|
193
193
|
decision: z.ZodEnum<{
|
|
194
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
194
|
DENIED: "DENIED";
|
|
195
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
196
196
|
ALLOW: "ALLOW";
|
|
197
197
|
}>;
|
|
198
198
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -495,11 +495,11 @@ export type AiRun = z.infer<typeof aiRunSchema>;
|
|
|
495
495
|
* AI가 지금 하는 일의 종류 — 도구 이름·operationId·파일 경로로 서버가 정한다(상점 만들기 진행 화면이 아이콘·문구를 고른다). 정하지 못한 도구는 없다
|
|
496
496
|
*/
|
|
497
497
|
export declare const aiActivitySchema: z.ZodEnum<{
|
|
498
|
-
code: "code";
|
|
499
|
-
status: "status";
|
|
500
498
|
check: "check";
|
|
501
499
|
shipping: "shipping";
|
|
500
|
+
status: "status";
|
|
502
501
|
category: "category";
|
|
502
|
+
code: "code";
|
|
503
503
|
brief: "brief";
|
|
504
504
|
files: "files";
|
|
505
505
|
version: "version";
|
|
@@ -536,12 +536,13 @@ export declare const aiToolChangeSchema: z.ZodObject<{
|
|
|
536
536
|
export type AiToolChange = z.infer<typeof aiToolChangeSchema>;
|
|
537
537
|
/**
|
|
538
538
|
* 에이전트 작업 단계(2026-10-13, AI 상점 도우미 작업 공간) — 에이전트가 패널 도구로 알린다.
|
|
539
|
-
* 상점·상품·배포 준비 → 쇼핑몰 구조 설계 → 개발 환경 준비(라이브러리·SDK) → 코드 수정 루프 → 완료
|
|
539
|
+
* 상점·상품·배포 준비 → 쇼핑몰 구조 설계 → 디자인(아트보드, 2026-10-14 사용자 결정) → 개발 환경 준비(라이브러리·SDK) → 코드 수정 루프 → 완료
|
|
540
540
|
*/
|
|
541
|
-
export declare const AI_AGENT_PHASES: readonly ["STORE", "STRUCTURE", "ENVIRONMENT", "BUILD", "DONE"];
|
|
541
|
+
export declare const AI_AGENT_PHASES: readonly ["STORE", "STRUCTURE", "DESIGN", "ENVIRONMENT", "BUILD", "DONE"];
|
|
542
542
|
export declare const aiAgentPhaseSchema: z.ZodEnum<{
|
|
543
543
|
STORE: "STORE";
|
|
544
544
|
STRUCTURE: "STRUCTURE";
|
|
545
|
+
DESIGN: "DESIGN";
|
|
545
546
|
ENVIRONMENT: "ENVIRONMENT";
|
|
546
547
|
BUILD: "BUILD";
|
|
547
548
|
DONE: "DONE";
|
|
@@ -565,15 +566,145 @@ export declare const aiTodoSchema: z.ZodObject<{
|
|
|
565
566
|
in_progress: "in_progress";
|
|
566
567
|
completed: "completed";
|
|
567
568
|
}>;
|
|
569
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
570
|
+
STORE: "STORE";
|
|
571
|
+
STRUCTURE: "STRUCTURE";
|
|
572
|
+
DESIGN: "DESIGN";
|
|
573
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
574
|
+
BUILD: "BUILD";
|
|
575
|
+
DONE: "DONE";
|
|
576
|
+
}>>;
|
|
568
577
|
}, z.core.$strip>;
|
|
569
578
|
export type AiTodo = z.infer<typeof aiTodoSchema>;
|
|
570
579
|
export declare const AI_TODOS_MAX = 30;
|
|
571
580
|
export declare function isAiAgentNotesPath(path: string): boolean;
|
|
581
|
+
/**
|
|
582
|
+
* 디자인 아트보드 폴더(2026-10-14 사용자 결정, Claude Code Design 캔버스의 파일 계약을 옮겼다) — DESIGN 단계에 에이전트가 쓰는 자기완결 HTML 아트보드와
|
|
583
|
+
* 인덱스 `canvas.json`이다. 앱 코드가 import하지 않아 발행 빌드에 들어가지 않고, 상점 플랫폼 작업 공간의 디자인 탭이 iframe(srcdoc)으로 그린다.
|
|
584
|
+
* 코드 탭 트리에서는 작업 메모처럼 뺀다
|
|
585
|
+
*/
|
|
586
|
+
export declare const AI_DESIGN_DIR = "src/site/design";
|
|
587
|
+
export declare const AI_DESIGN_CANVAS_PATH = "src/site/design/canvas.json";
|
|
588
|
+
export declare function isAiDesignPath(path: string): boolean;
|
|
589
|
+
/** 아트보드 파일 이름 — `src/site/design/` 바로 아래의 `.html` 하나(폴더 없음) */
|
|
590
|
+
export declare const AI_DESIGN_BOARD_FILE_PATTERN: RegExp;
|
|
591
|
+
export declare const AI_DESIGN_BOARD_KINDS: readonly ["direction", "page", "scene"];
|
|
592
|
+
export declare const AI_DESIGN_VIEWPORTS: readonly ["desktop", "mobile"];
|
|
593
|
+
/** 아트보드 상한 — 사이트맵의 화면마다 아트보드를 그린다(2026-10-15 사용자 결정, 화면 로드맵 29개 + 방향 후보 + 모바일). 24에서 올렸다 */
|
|
594
|
+
export declare const AI_DESIGN_BOARDS_MAX = 64;
|
|
595
|
+
/**
|
|
596
|
+
* 아트보드 하나 — `file`은 `src/site/design/` 아래 파일 이름, `kind`는 방향(저충실 후보)·페이지(고충실 화면)·장면(모션 시안, 셀러가 스크롤하며 본다),
|
|
597
|
+
* `viewport`는 데스크톱(1280)·모바일(390) 폭, `page`는 그 아트보드가 그리는 사이트 경로(구현 대조에 쓴다), `status`는 후보·채택·보관
|
|
598
|
+
*/
|
|
599
|
+
export declare const aiDesignBoardSchema: z.ZodObject<{
|
|
600
|
+
file: z.ZodString;
|
|
601
|
+
title: z.ZodString;
|
|
602
|
+
kind: z.ZodEnum<{
|
|
603
|
+
page: "page";
|
|
604
|
+
direction: "direction";
|
|
605
|
+
scene: "scene";
|
|
606
|
+
}>;
|
|
607
|
+
viewport: z.ZodDefault<z.ZodEnum<{
|
|
608
|
+
desktop: "desktop";
|
|
609
|
+
mobile: "mobile";
|
|
610
|
+
}>>;
|
|
611
|
+
page: z.ZodOptional<z.ZodString>;
|
|
612
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
613
|
+
candidate: "candidate";
|
|
614
|
+
chosen: "chosen";
|
|
615
|
+
archived: "archived";
|
|
616
|
+
}>>;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
export type AiDesignBoard = z.infer<typeof aiDesignBoardSchema>;
|
|
619
|
+
export declare const aiDesignCanvasSchema: z.ZodObject<{
|
|
620
|
+
version: z.ZodLiteral<1>;
|
|
621
|
+
direction: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
622
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
623
|
+
file: z.ZodString;
|
|
624
|
+
title: z.ZodString;
|
|
625
|
+
kind: z.ZodEnum<{
|
|
626
|
+
page: "page";
|
|
627
|
+
direction: "direction";
|
|
628
|
+
scene: "scene";
|
|
629
|
+
}>;
|
|
630
|
+
viewport: z.ZodDefault<z.ZodEnum<{
|
|
631
|
+
desktop: "desktop";
|
|
632
|
+
mobile: "mobile";
|
|
633
|
+
}>>;
|
|
634
|
+
page: z.ZodOptional<z.ZodString>;
|
|
635
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
636
|
+
candidate: "candidate";
|
|
637
|
+
chosen: "chosen";
|
|
638
|
+
archived: "archived";
|
|
639
|
+
}>>;
|
|
640
|
+
}, z.core.$strip>>;
|
|
641
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
642
|
+
}, z.core.$strip>;
|
|
643
|
+
export type AiDesignCanvas = z.infer<typeof aiDesignCanvasSchema>;
|
|
644
|
+
/** 셀러가 디자인 탭에서 고른 아트보드(2026-10-14) — 메시지와 함께 보내면 모델은 그 아트보드를 기준으로 고친다 */
|
|
645
|
+
export declare const aiDesignSelectionSchema: z.ZodObject<{
|
|
646
|
+
file: z.ZodString;
|
|
647
|
+
title: z.ZodString;
|
|
648
|
+
}, z.core.$strip>;
|
|
649
|
+
export type AiDesignSelection = z.infer<typeof aiDesignSelectionSchema>;
|
|
650
|
+
/** 쇼핑몰 형태(#124, 2026-10-13) — 템플릿은 basic 하나이고 형태는 에이전트에게 주는 화면 구성 지시다 */
|
|
651
|
+
export declare const STORE_SHOP_TYPES: readonly ["BASIC", "INTERACTIVE", "STORYTELLING", "MOBILE", "CATALOG", "LOOKBOOK"];
|
|
652
|
+
export declare const storeShopTypeSchema: z.ZodEnum<{
|
|
653
|
+
MOBILE: "MOBILE";
|
|
654
|
+
BASIC: "BASIC";
|
|
655
|
+
INTERACTIVE: "INTERACTIVE";
|
|
656
|
+
STORYTELLING: "STORYTELLING";
|
|
657
|
+
CATALOG: "CATALOG";
|
|
658
|
+
LOOKBOOK: "LOOKBOOK";
|
|
659
|
+
}>;
|
|
660
|
+
export type StoreShopType = z.infer<typeof storeShopTypeSchema>;
|
|
661
|
+
/**
|
|
662
|
+
* 선택지 하나 — `templateId`는 스토어프론트 템플릿을, `shopType`은 쇼핑몰 형태를 고르는 선택지일 때의 값이다(2026-10-14). 상점 플랫폼이 썸네일을 붙인다
|
|
663
|
+
*/
|
|
664
|
+
export declare const aiChoiceOptionSchema: z.ZodObject<{
|
|
665
|
+
label: z.ZodString;
|
|
666
|
+
value: z.ZodString;
|
|
667
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
668
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
669
|
+
MOBILE: "MOBILE";
|
|
670
|
+
BASIC: "BASIC";
|
|
671
|
+
INTERACTIVE: "INTERACTIVE";
|
|
672
|
+
STORYTELLING: "STORYTELLING";
|
|
673
|
+
CATALOG: "CATALOG";
|
|
674
|
+
LOOKBOOK: "LOOKBOOK";
|
|
675
|
+
}>>;
|
|
676
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
677
|
+
}, z.core.$strip>;
|
|
678
|
+
export type AiChoiceOption = z.infer<typeof aiChoiceOptionSchema>;
|
|
679
|
+
/**
|
|
680
|
+
* 쇼핑몰 만들기 확인(2026-10-14) — 에이전트가 대화로 모은 값(라벨·값)과 고른 템플릿을 보이고 「이렇게 쇼핑몰을 만들까요?」를 묻는다.
|
|
681
|
+
* 셀러가 승인(`AI_SETUP_CONFIRM_APPROVE` 선택지)하면 만들기를 시작한다
|
|
682
|
+
*/
|
|
683
|
+
export declare const aiSetupConfirmItemSchema: z.ZodObject<{
|
|
684
|
+
label: z.ZodString;
|
|
685
|
+
value: z.ZodString;
|
|
686
|
+
}, z.core.$strip>;
|
|
687
|
+
export type AiSetupConfirmItem = z.infer<typeof aiSetupConfirmItemSchema>;
|
|
688
|
+
/** 확인 카드의 승인 선택지 값 */
|
|
689
|
+
export declare const AI_SETUP_CONFIRM_APPROVE = "setup:approve";
|
|
690
|
+
/**
|
|
691
|
+
* 디자인 확인(2026-10-14 사용자 결정) — DESIGN 단계 끝에 에이전트가 채택한 아트보드를 카드로 보이고 「이 디자인으로 만들까요?」를 묻는다.
|
|
692
|
+
* 셀러가 승인(`AI_DESIGN_CONFIRM_APPROVE` 선택지)해야 구현(ENVIRONMENT·BUILD)으로 넘어간다
|
|
693
|
+
*/
|
|
694
|
+
export declare const aiDesignConfirmBoardSchema: z.ZodObject<{
|
|
695
|
+
file: z.ZodString;
|
|
696
|
+
title: z.ZodString;
|
|
697
|
+
}, z.core.$strip>;
|
|
698
|
+
export type AiDesignConfirmBoard = z.infer<typeof aiDesignConfirmBoardSchema>;
|
|
699
|
+
export declare const AI_DESIGN_CONFIRM_APPROVE = "design:approve";
|
|
572
700
|
/**
|
|
573
701
|
* 화면에 그리는 메시지 조각. 모델 원문(tool_use 블록 등)은 api가 보관하고 화면에는 이 형태만 준다.
|
|
574
702
|
* - `text`: 글
|
|
575
703
|
* - `tool`: 도구 호출 한 번(이름은 사람이 읽는 라벨, 결과 요약·링크)
|
|
576
704
|
* - `choices`: 선택지 버튼(가장 최근 것만 누를 수 있다)
|
|
705
|
+
* - `setup_confirm`: 쇼핑몰 만들기 확인 카드(모은 값·템플릿, 승인은 뒤따르는 `choices`)
|
|
706
|
+
* - `design_confirm`: 디자인 확인 카드(채택한 아트보드, 승인은 뒤따르는 `choices`)
|
|
707
|
+
* - `design_selection`: 사용자가 디자인 탭에서 고른 아트보드
|
|
577
708
|
* - `business_form`: 사업자 정보 입력 폼(가장 최근 것만 제출할 수 있다, 건너뛸 수 있다)
|
|
578
709
|
* - `attachment`: 사용자가 올린 첨부
|
|
579
710
|
* - `approval`: 승인 대기로 남은 쓰기
|
|
@@ -590,17 +721,17 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
590
721
|
name: z.ZodString;
|
|
591
722
|
label: z.ZodString;
|
|
592
723
|
status: z.ZodEnum<{
|
|
593
|
-
unknown: "unknown";
|
|
594
724
|
error: "error";
|
|
725
|
+
unknown: "unknown";
|
|
595
726
|
ok: "ok";
|
|
596
727
|
}>;
|
|
597
728
|
summary: z.ZodNullable<z.ZodString>;
|
|
598
729
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
599
|
-
code: "code";
|
|
600
|
-
status: "status";
|
|
601
730
|
check: "check";
|
|
602
731
|
shipping: "shipping";
|
|
732
|
+
status: "status";
|
|
603
733
|
category: "category";
|
|
734
|
+
code: "code";
|
|
604
735
|
brief: "brief";
|
|
605
736
|
files: "files";
|
|
606
737
|
version: "version";
|
|
@@ -636,10 +767,33 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
636
767
|
options: z.ZodArray<z.ZodObject<{
|
|
637
768
|
label: z.ZodString;
|
|
638
769
|
value: z.ZodString;
|
|
770
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
771
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
772
|
+
MOBILE: "MOBILE";
|
|
773
|
+
BASIC: "BASIC";
|
|
774
|
+
INTERACTIVE: "INTERACTIVE";
|
|
775
|
+
STORYTELLING: "STORYTELLING";
|
|
776
|
+
CATALOG: "CATALOG";
|
|
777
|
+
LOOKBOOK: "LOOKBOOK";
|
|
778
|
+
}>>;
|
|
779
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
639
780
|
}, z.core.$strip>>;
|
|
640
781
|
}, z.core.$strip>, z.ZodObject<{
|
|
641
782
|
type: z.ZodLiteral<"business_form">;
|
|
642
783
|
question: z.ZodString;
|
|
784
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
785
|
+
type: z.ZodLiteral<"setup_confirm">;
|
|
786
|
+
items: z.ZodArray<z.ZodObject<{
|
|
787
|
+
label: z.ZodString;
|
|
788
|
+
value: z.ZodString;
|
|
789
|
+
}, z.core.$strip>>;
|
|
790
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
791
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
792
|
+
type: z.ZodLiteral<"design_confirm">;
|
|
793
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
794
|
+
file: z.ZodString;
|
|
795
|
+
title: z.ZodString;
|
|
796
|
+
}, z.core.$strip>>;
|
|
643
797
|
}, z.core.$strip>, z.ZodObject<{
|
|
644
798
|
type: z.ZodLiteral<"attachment">;
|
|
645
799
|
attachment: z.ZodObject<{
|
|
@@ -647,6 +801,12 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
647
801
|
name: z.ZodString;
|
|
648
802
|
mediaType: z.ZodString;
|
|
649
803
|
}, z.core.$strip>;
|
|
804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
805
|
+
type: z.ZodLiteral<"design_selection">;
|
|
806
|
+
selection: z.ZodObject<{
|
|
807
|
+
file: z.ZodString;
|
|
808
|
+
title: z.ZodString;
|
|
809
|
+
}, z.core.$strip>;
|
|
650
810
|
}, z.core.$strip>, z.ZodObject<{
|
|
651
811
|
type: z.ZodLiteral<"approval">;
|
|
652
812
|
approvalId: z.ZodString;
|
|
@@ -672,6 +832,7 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
672
832
|
phase: z.ZodEnum<{
|
|
673
833
|
STORE: "STORE";
|
|
674
834
|
STRUCTURE: "STRUCTURE";
|
|
835
|
+
DESIGN: "DESIGN";
|
|
675
836
|
ENVIRONMENT: "ENVIRONMENT";
|
|
676
837
|
BUILD: "BUILD";
|
|
677
838
|
DONE: "DONE";
|
|
@@ -686,6 +847,14 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
686
847
|
in_progress: "in_progress";
|
|
687
848
|
completed: "completed";
|
|
688
849
|
}>;
|
|
850
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
851
|
+
STORE: "STORE";
|
|
852
|
+
STRUCTURE: "STRUCTURE";
|
|
853
|
+
DESIGN: "DESIGN";
|
|
854
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
855
|
+
BUILD: "BUILD";
|
|
856
|
+
DONE: "DONE";
|
|
857
|
+
}>>;
|
|
689
858
|
}, z.core.$strip>>;
|
|
690
859
|
}, z.core.$strip>], "type">;
|
|
691
860
|
export type AiMessagePart = z.infer<typeof aiMessagePartSchema>;
|
|
@@ -704,17 +873,17 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
704
873
|
name: z.ZodString;
|
|
705
874
|
label: z.ZodString;
|
|
706
875
|
status: z.ZodEnum<{
|
|
707
|
-
unknown: "unknown";
|
|
708
876
|
error: "error";
|
|
877
|
+
unknown: "unknown";
|
|
709
878
|
ok: "ok";
|
|
710
879
|
}>;
|
|
711
880
|
summary: z.ZodNullable<z.ZodString>;
|
|
712
881
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
713
|
-
code: "code";
|
|
714
|
-
status: "status";
|
|
715
882
|
check: "check";
|
|
716
883
|
shipping: "shipping";
|
|
884
|
+
status: "status";
|
|
717
885
|
category: "category";
|
|
886
|
+
code: "code";
|
|
718
887
|
brief: "brief";
|
|
719
888
|
files: "files";
|
|
720
889
|
version: "version";
|
|
@@ -750,10 +919,33 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
750
919
|
options: z.ZodArray<z.ZodObject<{
|
|
751
920
|
label: z.ZodString;
|
|
752
921
|
value: z.ZodString;
|
|
922
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
923
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
924
|
+
MOBILE: "MOBILE";
|
|
925
|
+
BASIC: "BASIC";
|
|
926
|
+
INTERACTIVE: "INTERACTIVE";
|
|
927
|
+
STORYTELLING: "STORYTELLING";
|
|
928
|
+
CATALOG: "CATALOG";
|
|
929
|
+
LOOKBOOK: "LOOKBOOK";
|
|
930
|
+
}>>;
|
|
931
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
753
932
|
}, z.core.$strip>>;
|
|
754
933
|
}, z.core.$strip>, z.ZodObject<{
|
|
755
934
|
type: z.ZodLiteral<"business_form">;
|
|
756
935
|
question: z.ZodString;
|
|
936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
937
|
+
type: z.ZodLiteral<"setup_confirm">;
|
|
938
|
+
items: z.ZodArray<z.ZodObject<{
|
|
939
|
+
label: z.ZodString;
|
|
940
|
+
value: z.ZodString;
|
|
941
|
+
}, z.core.$strip>>;
|
|
942
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
943
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
944
|
+
type: z.ZodLiteral<"design_confirm">;
|
|
945
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
946
|
+
file: z.ZodString;
|
|
947
|
+
title: z.ZodString;
|
|
948
|
+
}, z.core.$strip>>;
|
|
757
949
|
}, z.core.$strip>, z.ZodObject<{
|
|
758
950
|
type: z.ZodLiteral<"attachment">;
|
|
759
951
|
attachment: z.ZodObject<{
|
|
@@ -761,6 +953,12 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
761
953
|
name: z.ZodString;
|
|
762
954
|
mediaType: z.ZodString;
|
|
763
955
|
}, z.core.$strip>;
|
|
956
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
957
|
+
type: z.ZodLiteral<"design_selection">;
|
|
958
|
+
selection: z.ZodObject<{
|
|
959
|
+
file: z.ZodString;
|
|
960
|
+
title: z.ZodString;
|
|
961
|
+
}, z.core.$strip>;
|
|
764
962
|
}, z.core.$strip>, z.ZodObject<{
|
|
765
963
|
type: z.ZodLiteral<"approval">;
|
|
766
964
|
approvalId: z.ZodString;
|
|
@@ -786,6 +984,7 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
786
984
|
phase: z.ZodEnum<{
|
|
787
985
|
STORE: "STORE";
|
|
788
986
|
STRUCTURE: "STRUCTURE";
|
|
987
|
+
DESIGN: "DESIGN";
|
|
789
988
|
ENVIRONMENT: "ENVIRONMENT";
|
|
790
989
|
BUILD: "BUILD";
|
|
791
990
|
DONE: "DONE";
|
|
@@ -800,6 +999,14 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
800
999
|
in_progress: "in_progress";
|
|
801
1000
|
completed: "completed";
|
|
802
1001
|
}>;
|
|
1002
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
1003
|
+
STORE: "STORE";
|
|
1004
|
+
STRUCTURE: "STRUCTURE";
|
|
1005
|
+
DESIGN: "DESIGN";
|
|
1006
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1007
|
+
BUILD: "BUILD";
|
|
1008
|
+
DONE: "DONE";
|
|
1009
|
+
}>>;
|
|
803
1010
|
}, z.core.$strip>>;
|
|
804
1011
|
}, z.core.$strip>], "type">>;
|
|
805
1012
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -833,17 +1040,17 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
833
1040
|
name: z.ZodString;
|
|
834
1041
|
label: z.ZodString;
|
|
835
1042
|
status: z.ZodEnum<{
|
|
836
|
-
unknown: "unknown";
|
|
837
1043
|
error: "error";
|
|
1044
|
+
unknown: "unknown";
|
|
838
1045
|
ok: "ok";
|
|
839
1046
|
}>;
|
|
840
1047
|
summary: z.ZodNullable<z.ZodString>;
|
|
841
1048
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
842
|
-
code: "code";
|
|
843
|
-
status: "status";
|
|
844
1049
|
check: "check";
|
|
845
1050
|
shipping: "shipping";
|
|
1051
|
+
status: "status";
|
|
846
1052
|
category: "category";
|
|
1053
|
+
code: "code";
|
|
847
1054
|
brief: "brief";
|
|
848
1055
|
files: "files";
|
|
849
1056
|
version: "version";
|
|
@@ -879,10 +1086,33 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
879
1086
|
options: z.ZodArray<z.ZodObject<{
|
|
880
1087
|
label: z.ZodString;
|
|
881
1088
|
value: z.ZodString;
|
|
1089
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
1091
|
+
MOBILE: "MOBILE";
|
|
1092
|
+
BASIC: "BASIC";
|
|
1093
|
+
INTERACTIVE: "INTERACTIVE";
|
|
1094
|
+
STORYTELLING: "STORYTELLING";
|
|
1095
|
+
CATALOG: "CATALOG";
|
|
1096
|
+
LOOKBOOK: "LOOKBOOK";
|
|
1097
|
+
}>>;
|
|
1098
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
882
1099
|
}, z.core.$strip>>;
|
|
883
1100
|
}, z.core.$strip>, z.ZodObject<{
|
|
884
1101
|
type: z.ZodLiteral<"business_form">;
|
|
885
1102
|
question: z.ZodString;
|
|
1103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1104
|
+
type: z.ZodLiteral<"setup_confirm">;
|
|
1105
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1106
|
+
label: z.ZodString;
|
|
1107
|
+
value: z.ZodString;
|
|
1108
|
+
}, z.core.$strip>>;
|
|
1109
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1111
|
+
type: z.ZodLiteral<"design_confirm">;
|
|
1112
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
1113
|
+
file: z.ZodString;
|
|
1114
|
+
title: z.ZodString;
|
|
1115
|
+
}, z.core.$strip>>;
|
|
886
1116
|
}, z.core.$strip>, z.ZodObject<{
|
|
887
1117
|
type: z.ZodLiteral<"attachment">;
|
|
888
1118
|
attachment: z.ZodObject<{
|
|
@@ -890,6 +1120,12 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
890
1120
|
name: z.ZodString;
|
|
891
1121
|
mediaType: z.ZodString;
|
|
892
1122
|
}, z.core.$strip>;
|
|
1123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1124
|
+
type: z.ZodLiteral<"design_selection">;
|
|
1125
|
+
selection: z.ZodObject<{
|
|
1126
|
+
file: z.ZodString;
|
|
1127
|
+
title: z.ZodString;
|
|
1128
|
+
}, z.core.$strip>;
|
|
893
1129
|
}, z.core.$strip>, z.ZodObject<{
|
|
894
1130
|
type: z.ZodLiteral<"approval">;
|
|
895
1131
|
approvalId: z.ZodString;
|
|
@@ -915,6 +1151,7 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
915
1151
|
phase: z.ZodEnum<{
|
|
916
1152
|
STORE: "STORE";
|
|
917
1153
|
STRUCTURE: "STRUCTURE";
|
|
1154
|
+
DESIGN: "DESIGN";
|
|
918
1155
|
ENVIRONMENT: "ENVIRONMENT";
|
|
919
1156
|
BUILD: "BUILD";
|
|
920
1157
|
DONE: "DONE";
|
|
@@ -929,6 +1166,14 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
929
1166
|
in_progress: "in_progress";
|
|
930
1167
|
completed: "completed";
|
|
931
1168
|
}>;
|
|
1169
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
1170
|
+
STORE: "STORE";
|
|
1171
|
+
STRUCTURE: "STRUCTURE";
|
|
1172
|
+
DESIGN: "DESIGN";
|
|
1173
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1174
|
+
BUILD: "BUILD";
|
|
1175
|
+
DONE: "DONE";
|
|
1176
|
+
}>>;
|
|
932
1177
|
}, z.core.$strip>>;
|
|
933
1178
|
}, z.core.$strip>], "type">>;
|
|
934
1179
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -969,17 +1214,6 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
969
1214
|
}, z.core.$strip>>;
|
|
970
1215
|
}, z.core.$strip>;
|
|
971
1216
|
export type AiConversation = z.infer<typeof aiConversationSchema>;
|
|
972
|
-
/** 쇼핑몰 형태(#124, 2026-10-13) — 템플릿은 basic 하나이고 형태는 에이전트에게 주는 화면 구성 지시다 */
|
|
973
|
-
export declare const STORE_SHOP_TYPES: readonly ["BASIC", "INTERACTIVE", "STORYTELLING", "MOBILE", "CATALOG", "LOOKBOOK"];
|
|
974
|
-
export declare const storeShopTypeSchema: z.ZodEnum<{
|
|
975
|
-
MOBILE: "MOBILE";
|
|
976
|
-
BASIC: "BASIC";
|
|
977
|
-
INTERACTIVE: "INTERACTIVE";
|
|
978
|
-
STORYTELLING: "STORYTELLING";
|
|
979
|
-
CATALOG: "CATALOG";
|
|
980
|
-
LOOKBOOK: "LOOKBOOK";
|
|
981
|
-
}>;
|
|
982
|
-
export type StoreShopType = z.infer<typeof storeShopTypeSchema>;
|
|
983
1217
|
/**
|
|
984
1218
|
* AI 상점 만들기 질문 화면의 답(#124, 2026-10-13) — 화면이 고정 질문으로 모은다. 초안과 함께 첫 메시지가 된다.
|
|
985
1219
|
* 배송비는 묻지 않는다(설정하지 않으면 무료배송). `slug`는 바라는 주소이고 쓸 수 있는지는 에이전트가 사이트를 만들 때 확인한다
|
|
@@ -1054,6 +1288,10 @@ export declare const sendAiMessageRequestSchema: z.ZodObject<{
|
|
|
1054
1288
|
text: z.ZodString;
|
|
1055
1289
|
pagePath: z.ZodString;
|
|
1056
1290
|
}, z.core.$strip>>;
|
|
1291
|
+
designSelection: z.ZodOptional<z.ZodObject<{
|
|
1292
|
+
file: z.ZodString;
|
|
1293
|
+
title: z.ZodString;
|
|
1294
|
+
}, z.core.$strip>>;
|
|
1057
1295
|
}, z.core.$strip>;
|
|
1058
1296
|
export type SendAiMessageRequest = z.input<typeof sendAiMessageRequestSchema>;
|
|
1059
1297
|
export declare const sendAiMessageResponseSchema: z.ZodObject<{
|
|
@@ -1242,6 +1480,7 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1242
1480
|
phase: z.ZodEnum<{
|
|
1243
1481
|
STORE: "STORE";
|
|
1244
1482
|
STRUCTURE: "STRUCTURE";
|
|
1483
|
+
DESIGN: "DESIGN";
|
|
1245
1484
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1246
1485
|
BUILD: "BUILD";
|
|
1247
1486
|
DONE: "DONE";
|
|
@@ -1257,6 +1496,14 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1257
1496
|
in_progress: "in_progress";
|
|
1258
1497
|
completed: "completed";
|
|
1259
1498
|
}>;
|
|
1499
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
1500
|
+
STORE: "STORE";
|
|
1501
|
+
STRUCTURE: "STRUCTURE";
|
|
1502
|
+
DESIGN: "DESIGN";
|
|
1503
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1504
|
+
BUILD: "BUILD";
|
|
1505
|
+
DONE: "DONE";
|
|
1506
|
+
}>>;
|
|
1260
1507
|
}, z.core.$strip>>;
|
|
1261
1508
|
}, z.core.$strip>, z.ZodObject<{
|
|
1262
1509
|
type: z.ZodLiteral<"tool_start">;
|
|
@@ -1290,11 +1537,11 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1290
1537
|
id: z.ZodOptional<z.ZodString>;
|
|
1291
1538
|
}, z.core.$strip>>;
|
|
1292
1539
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1293
|
-
code: "code";
|
|
1294
|
-
status: "status";
|
|
1295
1540
|
check: "check";
|
|
1296
1541
|
shipping: "shipping";
|
|
1542
|
+
status: "status";
|
|
1297
1543
|
category: "category";
|
|
1544
|
+
code: "code";
|
|
1298
1545
|
brief: "brief";
|
|
1299
1546
|
files: "files";
|
|
1300
1547
|
version: "version";
|
|
@@ -1329,8 +1576,8 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1329
1576
|
messageId: z.ZodString;
|
|
1330
1577
|
toolCallId: z.ZodString;
|
|
1331
1578
|
status: z.ZodEnum<{
|
|
1332
|
-
unknown: "unknown";
|
|
1333
1579
|
error: "error";
|
|
1580
|
+
unknown: "unknown";
|
|
1334
1581
|
ok: "ok";
|
|
1335
1582
|
}>;
|
|
1336
1583
|
summary: z.ZodNullable<z.ZodString>;
|
|
@@ -1341,11 +1588,36 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1341
1588
|
options: z.ZodArray<z.ZodObject<{
|
|
1342
1589
|
label: z.ZodString;
|
|
1343
1590
|
value: z.ZodString;
|
|
1591
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
1593
|
+
MOBILE: "MOBILE";
|
|
1594
|
+
BASIC: "BASIC";
|
|
1595
|
+
INTERACTIVE: "INTERACTIVE";
|
|
1596
|
+
STORYTELLING: "STORYTELLING";
|
|
1597
|
+
CATALOG: "CATALOG";
|
|
1598
|
+
LOOKBOOK: "LOOKBOOK";
|
|
1599
|
+
}>>;
|
|
1600
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
1344
1601
|
}, z.core.$strip>>;
|
|
1345
1602
|
}, z.core.$strip>, z.ZodObject<{
|
|
1346
1603
|
type: z.ZodLiteral<"business_form">;
|
|
1347
1604
|
messageId: z.ZodString;
|
|
1348
1605
|
question: z.ZodString;
|
|
1606
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1607
|
+
type: z.ZodLiteral<"setup_confirm">;
|
|
1608
|
+
messageId: z.ZodString;
|
|
1609
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1610
|
+
label: z.ZodString;
|
|
1611
|
+
value: z.ZodString;
|
|
1612
|
+
}, z.core.$strip>>;
|
|
1613
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1615
|
+
type: z.ZodLiteral<"design_confirm">;
|
|
1616
|
+
messageId: z.ZodString;
|
|
1617
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
1618
|
+
file: z.ZodString;
|
|
1619
|
+
title: z.ZodString;
|
|
1620
|
+
}, z.core.$strip>>;
|
|
1349
1621
|
}, z.core.$strip>, z.ZodObject<{
|
|
1350
1622
|
type: z.ZodLiteral<"approval">;
|
|
1351
1623
|
messageId: z.ZodString;
|
|
@@ -1368,17 +1640,17 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1368
1640
|
name: z.ZodString;
|
|
1369
1641
|
label: z.ZodString;
|
|
1370
1642
|
status: z.ZodEnum<{
|
|
1371
|
-
unknown: "unknown";
|
|
1372
1643
|
error: "error";
|
|
1644
|
+
unknown: "unknown";
|
|
1373
1645
|
ok: "ok";
|
|
1374
1646
|
}>;
|
|
1375
1647
|
summary: z.ZodNullable<z.ZodString>;
|
|
1376
1648
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1377
|
-
code: "code";
|
|
1378
|
-
status: "status";
|
|
1379
1649
|
check: "check";
|
|
1380
1650
|
shipping: "shipping";
|
|
1651
|
+
status: "status";
|
|
1381
1652
|
category: "category";
|
|
1653
|
+
code: "code";
|
|
1382
1654
|
brief: "brief";
|
|
1383
1655
|
files: "files";
|
|
1384
1656
|
version: "version";
|
|
@@ -1414,10 +1686,33 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1414
1686
|
options: z.ZodArray<z.ZodObject<{
|
|
1415
1687
|
label: z.ZodString;
|
|
1416
1688
|
value: z.ZodString;
|
|
1689
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1690
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
1691
|
+
MOBILE: "MOBILE";
|
|
1692
|
+
BASIC: "BASIC";
|
|
1693
|
+
INTERACTIVE: "INTERACTIVE";
|
|
1694
|
+
STORYTELLING: "STORYTELLING";
|
|
1695
|
+
CATALOG: "CATALOG";
|
|
1696
|
+
LOOKBOOK: "LOOKBOOK";
|
|
1697
|
+
}>>;
|
|
1698
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
1417
1699
|
}, z.core.$strip>>;
|
|
1418
1700
|
}, z.core.$strip>, z.ZodObject<{
|
|
1419
1701
|
type: z.ZodLiteral<"business_form">;
|
|
1420
1702
|
question: z.ZodString;
|
|
1703
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1704
|
+
type: z.ZodLiteral<"setup_confirm">;
|
|
1705
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1706
|
+
label: z.ZodString;
|
|
1707
|
+
value: z.ZodString;
|
|
1708
|
+
}, z.core.$strip>>;
|
|
1709
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1711
|
+
type: z.ZodLiteral<"design_confirm">;
|
|
1712
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
1713
|
+
file: z.ZodString;
|
|
1714
|
+
title: z.ZodString;
|
|
1715
|
+
}, z.core.$strip>>;
|
|
1421
1716
|
}, z.core.$strip>, z.ZodObject<{
|
|
1422
1717
|
type: z.ZodLiteral<"attachment">;
|
|
1423
1718
|
attachment: z.ZodObject<{
|
|
@@ -1425,6 +1720,12 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1425
1720
|
name: z.ZodString;
|
|
1426
1721
|
mediaType: z.ZodString;
|
|
1427
1722
|
}, z.core.$strip>;
|
|
1723
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1724
|
+
type: z.ZodLiteral<"design_selection">;
|
|
1725
|
+
selection: z.ZodObject<{
|
|
1726
|
+
file: z.ZodString;
|
|
1727
|
+
title: z.ZodString;
|
|
1728
|
+
}, z.core.$strip>;
|
|
1428
1729
|
}, z.core.$strip>, z.ZodObject<{
|
|
1429
1730
|
type: z.ZodLiteral<"approval">;
|
|
1430
1731
|
approvalId: z.ZodString;
|
|
@@ -1450,6 +1751,7 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1450
1751
|
phase: z.ZodEnum<{
|
|
1451
1752
|
STORE: "STORE";
|
|
1452
1753
|
STRUCTURE: "STRUCTURE";
|
|
1754
|
+
DESIGN: "DESIGN";
|
|
1453
1755
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1454
1756
|
BUILD: "BUILD";
|
|
1455
1757
|
DONE: "DONE";
|
|
@@ -1464,6 +1766,14 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1464
1766
|
in_progress: "in_progress";
|
|
1465
1767
|
completed: "completed";
|
|
1466
1768
|
}>;
|
|
1769
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
1770
|
+
STORE: "STORE";
|
|
1771
|
+
STRUCTURE: "STRUCTURE";
|
|
1772
|
+
DESIGN: "DESIGN";
|
|
1773
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1774
|
+
BUILD: "BUILD";
|
|
1775
|
+
DONE: "DONE";
|
|
1776
|
+
}>>;
|
|
1467
1777
|
}, z.core.$strip>>;
|
|
1468
1778
|
}, z.core.$strip>], "type">>;
|
|
1469
1779
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -1502,6 +1812,7 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1502
1812
|
phase: z.ZodEnum<{
|
|
1503
1813
|
STORE: "STORE";
|
|
1504
1814
|
STRUCTURE: "STRUCTURE";
|
|
1815
|
+
DESIGN: "DESIGN";
|
|
1505
1816
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1506
1817
|
BUILD: "BUILD";
|
|
1507
1818
|
DONE: "DONE";
|
|
@@ -1517,6 +1828,14 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1517
1828
|
in_progress: "in_progress";
|
|
1518
1829
|
completed: "completed";
|
|
1519
1830
|
}>;
|
|
1831
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
1832
|
+
STORE: "STORE";
|
|
1833
|
+
STRUCTURE: "STRUCTURE";
|
|
1834
|
+
DESIGN: "DESIGN";
|
|
1835
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1836
|
+
BUILD: "BUILD";
|
|
1837
|
+
DONE: "DONE";
|
|
1838
|
+
}>>;
|
|
1520
1839
|
}, z.core.$strip>>;
|
|
1521
1840
|
}, z.core.$strip>, z.ZodObject<{
|
|
1522
1841
|
type: z.ZodLiteral<"tool_start">;
|
|
@@ -1550,11 +1869,11 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1550
1869
|
id: z.ZodOptional<z.ZodString>;
|
|
1551
1870
|
}, z.core.$strip>>;
|
|
1552
1871
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1553
|
-
code: "code";
|
|
1554
|
-
status: "status";
|
|
1555
1872
|
check: "check";
|
|
1556
1873
|
shipping: "shipping";
|
|
1874
|
+
status: "status";
|
|
1557
1875
|
category: "category";
|
|
1876
|
+
code: "code";
|
|
1558
1877
|
brief: "brief";
|
|
1559
1878
|
files: "files";
|
|
1560
1879
|
version: "version";
|
|
@@ -1589,8 +1908,8 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1589
1908
|
messageId: z.ZodString;
|
|
1590
1909
|
toolCallId: z.ZodString;
|
|
1591
1910
|
status: z.ZodEnum<{
|
|
1592
|
-
unknown: "unknown";
|
|
1593
1911
|
error: "error";
|
|
1912
|
+
unknown: "unknown";
|
|
1594
1913
|
ok: "ok";
|
|
1595
1914
|
}>;
|
|
1596
1915
|
summary: z.ZodNullable<z.ZodString>;
|
|
@@ -1601,11 +1920,36 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1601
1920
|
options: z.ZodArray<z.ZodObject<{
|
|
1602
1921
|
label: z.ZodString;
|
|
1603
1922
|
value: z.ZodString;
|
|
1923
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1924
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
1925
|
+
MOBILE: "MOBILE";
|
|
1926
|
+
BASIC: "BASIC";
|
|
1927
|
+
INTERACTIVE: "INTERACTIVE";
|
|
1928
|
+
STORYTELLING: "STORYTELLING";
|
|
1929
|
+
CATALOG: "CATALOG";
|
|
1930
|
+
LOOKBOOK: "LOOKBOOK";
|
|
1931
|
+
}>>;
|
|
1932
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
1604
1933
|
}, z.core.$strip>>;
|
|
1605
1934
|
}, z.core.$strip>, z.ZodObject<{
|
|
1606
1935
|
type: z.ZodLiteral<"business_form">;
|
|
1607
1936
|
messageId: z.ZodString;
|
|
1608
1937
|
question: z.ZodString;
|
|
1938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1939
|
+
type: z.ZodLiteral<"setup_confirm">;
|
|
1940
|
+
messageId: z.ZodString;
|
|
1941
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1942
|
+
label: z.ZodString;
|
|
1943
|
+
value: z.ZodString;
|
|
1944
|
+
}, z.core.$strip>>;
|
|
1945
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1946
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1947
|
+
type: z.ZodLiteral<"design_confirm">;
|
|
1948
|
+
messageId: z.ZodString;
|
|
1949
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
1950
|
+
file: z.ZodString;
|
|
1951
|
+
title: z.ZodString;
|
|
1952
|
+
}, z.core.$strip>>;
|
|
1609
1953
|
}, z.core.$strip>, z.ZodObject<{
|
|
1610
1954
|
type: z.ZodLiteral<"approval">;
|
|
1611
1955
|
messageId: z.ZodString;
|
|
@@ -1628,17 +1972,17 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1628
1972
|
name: z.ZodString;
|
|
1629
1973
|
label: z.ZodString;
|
|
1630
1974
|
status: z.ZodEnum<{
|
|
1631
|
-
unknown: "unknown";
|
|
1632
1975
|
error: "error";
|
|
1976
|
+
unknown: "unknown";
|
|
1633
1977
|
ok: "ok";
|
|
1634
1978
|
}>;
|
|
1635
1979
|
summary: z.ZodNullable<z.ZodString>;
|
|
1636
1980
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1637
|
-
code: "code";
|
|
1638
|
-
status: "status";
|
|
1639
1981
|
check: "check";
|
|
1640
1982
|
shipping: "shipping";
|
|
1983
|
+
status: "status";
|
|
1641
1984
|
category: "category";
|
|
1985
|
+
code: "code";
|
|
1642
1986
|
brief: "brief";
|
|
1643
1987
|
files: "files";
|
|
1644
1988
|
version: "version";
|
|
@@ -1674,10 +2018,33 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1674
2018
|
options: z.ZodArray<z.ZodObject<{
|
|
1675
2019
|
label: z.ZodString;
|
|
1676
2020
|
value: z.ZodString;
|
|
2021
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
2022
|
+
shopType: z.ZodOptional<z.ZodEnum<{
|
|
2023
|
+
MOBILE: "MOBILE";
|
|
2024
|
+
BASIC: "BASIC";
|
|
2025
|
+
INTERACTIVE: "INTERACTIVE";
|
|
2026
|
+
STORYTELLING: "STORYTELLING";
|
|
2027
|
+
CATALOG: "CATALOG";
|
|
2028
|
+
LOOKBOOK: "LOOKBOOK";
|
|
2029
|
+
}>>;
|
|
2030
|
+
boardFile: z.ZodOptional<z.ZodString>;
|
|
1677
2031
|
}, z.core.$strip>>;
|
|
1678
2032
|
}, z.core.$strip>, z.ZodObject<{
|
|
1679
2033
|
type: z.ZodLiteral<"business_form">;
|
|
1680
2034
|
question: z.ZodString;
|
|
2035
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2036
|
+
type: z.ZodLiteral<"setup_confirm">;
|
|
2037
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2038
|
+
label: z.ZodString;
|
|
2039
|
+
value: z.ZodString;
|
|
2040
|
+
}, z.core.$strip>>;
|
|
2041
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2043
|
+
type: z.ZodLiteral<"design_confirm">;
|
|
2044
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
2045
|
+
file: z.ZodString;
|
|
2046
|
+
title: z.ZodString;
|
|
2047
|
+
}, z.core.$strip>>;
|
|
1681
2048
|
}, z.core.$strip>, z.ZodObject<{
|
|
1682
2049
|
type: z.ZodLiteral<"attachment">;
|
|
1683
2050
|
attachment: z.ZodObject<{
|
|
@@ -1685,6 +2052,12 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1685
2052
|
name: z.ZodString;
|
|
1686
2053
|
mediaType: z.ZodString;
|
|
1687
2054
|
}, z.core.$strip>;
|
|
2055
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2056
|
+
type: z.ZodLiteral<"design_selection">;
|
|
2057
|
+
selection: z.ZodObject<{
|
|
2058
|
+
file: z.ZodString;
|
|
2059
|
+
title: z.ZodString;
|
|
2060
|
+
}, z.core.$strip>;
|
|
1688
2061
|
}, z.core.$strip>, z.ZodObject<{
|
|
1689
2062
|
type: z.ZodLiteral<"approval">;
|
|
1690
2063
|
approvalId: z.ZodString;
|
|
@@ -1710,6 +2083,7 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1710
2083
|
phase: z.ZodEnum<{
|
|
1711
2084
|
STORE: "STORE";
|
|
1712
2085
|
STRUCTURE: "STRUCTURE";
|
|
2086
|
+
DESIGN: "DESIGN";
|
|
1713
2087
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1714
2088
|
BUILD: "BUILD";
|
|
1715
2089
|
DONE: "DONE";
|
|
@@ -1724,6 +2098,14 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1724
2098
|
in_progress: "in_progress";
|
|
1725
2099
|
completed: "completed";
|
|
1726
2100
|
}>;
|
|
2101
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
2102
|
+
STORE: "STORE";
|
|
2103
|
+
STRUCTURE: "STRUCTURE";
|
|
2104
|
+
DESIGN: "DESIGN";
|
|
2105
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
2106
|
+
BUILD: "BUILD";
|
|
2107
|
+
DONE: "DONE";
|
|
2108
|
+
}>>;
|
|
1727
2109
|
}, z.core.$strip>>;
|
|
1728
2110
|
}, z.core.$strip>], "type">>;
|
|
1729
2111
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -8185,6 +8567,8 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
8185
8567
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
8186
8568
|
tosspayments: "tosspayments";
|
|
8187
8569
|
portone: "portone";
|
|
8570
|
+
kakaopay: "kakaopay";
|
|
8571
|
+
naverpay: "naverpay";
|
|
8188
8572
|
}>>;
|
|
8189
8573
|
issueNumber: z.ZodNullable<z.ZodString>;
|
|
8190
8574
|
receiptUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -8732,8 +9116,18 @@ export declare const addressChangeRequestListSchema: z.ZodArray<z.ZodRecord<z.Zo
|
|
|
8732
9116
|
export declare const pgProviderSchema: z.ZodEnum<{
|
|
8733
9117
|
tosspayments: "tosspayments";
|
|
8734
9118
|
portone: "portone";
|
|
9119
|
+
kakaopay: "kakaopay";
|
|
9120
|
+
naverpay: "naverpay";
|
|
8735
9121
|
}>;
|
|
8736
9122
|
export type PgProvider = z.infer<typeof pgProviderSchema>;
|
|
9123
|
+
/**
|
|
9124
|
+
* 간편결제 전용 PG — 결제수단이 간편결제 하나이고 간편결제사가 PG 자신이다(`kakaopay` → `KAKAOPAY`).
|
|
9125
|
+
* 이 PG는 `easyPayProviders` 설정 없이 결제 옵션이 하나(`EASY_PAY` + 그 간편결제사) 나온다
|
|
9126
|
+
*/
|
|
9127
|
+
export declare const DEDICATED_EASY_PAY_PROVIDER: {
|
|
9128
|
+
readonly kakaopay: "KAKAOPAY";
|
|
9129
|
+
readonly naverpay: "NAVERPAY";
|
|
9130
|
+
};
|
|
8737
9131
|
export declare const pgPaymentMethodSchema: z.ZodEnum<{
|
|
8738
9132
|
CARD: "CARD";
|
|
8739
9133
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
@@ -8820,6 +9214,19 @@ export declare const portOneCredentialsInputSchema: z.ZodObject<{
|
|
|
8820
9214
|
webhookSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8821
9215
|
}, z.core.$strip>;
|
|
8822
9216
|
export type PortOneCredentialsInput = z.infer<typeof portOneCredentialsInputSchema>;
|
|
9217
|
+
/** 카카오페이 테스트 가맹점 코드 — 카카오페이 개발자센터의 단건 결제 테스트 CID */
|
|
9218
|
+
export declare const KAKAOPAY_TEST_CID = "TC0ONETIME";
|
|
9219
|
+
export declare const kakaoPayCredentialsInputSchema: z.ZodObject<{
|
|
9220
|
+
cid: z.ZodString;
|
|
9221
|
+
secretKey: z.ZodOptional<z.ZodString>;
|
|
9222
|
+
}, z.core.$strip>;
|
|
9223
|
+
export type KakaoPayCredentialsInput = z.infer<typeof kakaoPayCredentialsInputSchema>;
|
|
9224
|
+
export declare const naverPayCredentialsInputSchema: z.ZodObject<{
|
|
9225
|
+
clientId: z.ZodString;
|
|
9226
|
+
chainId: z.ZodString;
|
|
9227
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
9228
|
+
}, z.core.$strip>;
|
|
9229
|
+
export type NaverPayCredentialsInput = z.infer<typeof naverPayCredentialsInputSchema>;
|
|
8823
9230
|
export declare const upsertTossPaymentsProviderRequestSchema: z.ZodObject<{
|
|
8824
9231
|
environment: z.ZodEnum<{
|
|
8825
9232
|
TEST: "TEST";
|
|
@@ -8855,6 +9262,29 @@ export declare const upsertPortOneProviderRequestSchema: z.ZodObject<{
|
|
|
8855
9262
|
}, z.core.$strip>;
|
|
8856
9263
|
}, z.core.$strip>;
|
|
8857
9264
|
export type UpsertPortOneProviderRequest = z.infer<typeof upsertPortOneProviderRequestSchema>;
|
|
9265
|
+
export declare const upsertKakaoPayProviderRequestSchema: z.ZodObject<{
|
|
9266
|
+
environment: z.ZodEnum<{
|
|
9267
|
+
TEST: "TEST";
|
|
9268
|
+
LIVE: "LIVE";
|
|
9269
|
+
}>;
|
|
9270
|
+
credentials: z.ZodObject<{
|
|
9271
|
+
cid: z.ZodString;
|
|
9272
|
+
secretKey: z.ZodOptional<z.ZodString>;
|
|
9273
|
+
}, z.core.$strip>;
|
|
9274
|
+
}, z.core.$strip>;
|
|
9275
|
+
export type UpsertKakaoPayProviderRequest = z.infer<typeof upsertKakaoPayProviderRequestSchema>;
|
|
9276
|
+
export declare const upsertNaverPayProviderRequestSchema: z.ZodObject<{
|
|
9277
|
+
environment: z.ZodEnum<{
|
|
9278
|
+
TEST: "TEST";
|
|
9279
|
+
LIVE: "LIVE";
|
|
9280
|
+
}>;
|
|
9281
|
+
credentials: z.ZodObject<{
|
|
9282
|
+
clientId: z.ZodString;
|
|
9283
|
+
chainId: z.ZodString;
|
|
9284
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
9285
|
+
}, z.core.$strip>;
|
|
9286
|
+
}, z.core.$strip>;
|
|
9287
|
+
export type UpsertNaverPayProviderRequest = z.infer<typeof upsertNaverPayProviderRequestSchema>;
|
|
8858
9288
|
export declare const updatePaymentProviderRequestSchema: z.ZodObject<{
|
|
8859
9289
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8860
9290
|
sandboxMode: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8877,6 +9307,8 @@ export declare const updatePaymentSettingsRequestSchema: z.ZodObject<{
|
|
|
8877
9307
|
priority: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8878
9308
|
tosspayments: "tosspayments";
|
|
8879
9309
|
portone: "portone";
|
|
9310
|
+
kakaopay: "kakaopay";
|
|
9311
|
+
naverpay: "naverpay";
|
|
8880
9312
|
}>>>;
|
|
8881
9313
|
checkoutOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8882
9314
|
}, z.core.$strip>;
|
|
@@ -8907,6 +9339,11 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
8907
9339
|
EASY_PAY: "EASY_PAY";
|
|
8908
9340
|
}>>;
|
|
8909
9341
|
}, z.core.$strip>>;
|
|
9342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9343
|
+
cid: z.ZodString;
|
|
9344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9345
|
+
clientId: z.ZodString;
|
|
9346
|
+
chainId: z.ZodString;
|
|
8910
9347
|
}, z.core.$strip>]>;
|
|
8911
9348
|
secrets: z.ZodArray<z.ZodObject<{
|
|
8912
9349
|
field: z.ZodString;
|
|
@@ -8993,6 +9430,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
8993
9430
|
provider: z.ZodEnum<{
|
|
8994
9431
|
tosspayments: "tosspayments";
|
|
8995
9432
|
portone: "portone";
|
|
9433
|
+
kakaopay: "kakaopay";
|
|
9434
|
+
naverpay: "naverpay";
|
|
8996
9435
|
}>;
|
|
8997
9436
|
displayName: z.ZodString;
|
|
8998
9437
|
connected: z.ZodBoolean;
|
|
@@ -9017,6 +9456,11 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
9017
9456
|
EASY_PAY: "EASY_PAY";
|
|
9018
9457
|
}>>;
|
|
9019
9458
|
}, z.core.$strip>>;
|
|
9459
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9460
|
+
cid: z.ZodString;
|
|
9461
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9462
|
+
clientId: z.ZodString;
|
|
9463
|
+
chainId: z.ZodString;
|
|
9020
9464
|
}, z.core.$strip>]>>;
|
|
9021
9465
|
secrets: z.ZodArray<z.ZodObject<{
|
|
9022
9466
|
field: z.ZodString;
|
|
@@ -9054,6 +9498,11 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
9054
9498
|
EASY_PAY: "EASY_PAY";
|
|
9055
9499
|
}>>;
|
|
9056
9500
|
}, z.core.$strip>>;
|
|
9501
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9502
|
+
cid: z.ZodString;
|
|
9503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9504
|
+
clientId: z.ZodString;
|
|
9505
|
+
chainId: z.ZodString;
|
|
9057
9506
|
}, z.core.$strip>]>;
|
|
9058
9507
|
secrets: z.ZodArray<z.ZodObject<{
|
|
9059
9508
|
field: z.ZodString;
|
|
@@ -9090,6 +9539,11 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
9090
9539
|
EASY_PAY: "EASY_PAY";
|
|
9091
9540
|
}>>;
|
|
9092
9541
|
}, z.core.$strip>>;
|
|
9542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9543
|
+
cid: z.ZodString;
|
|
9544
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9545
|
+
clientId: z.ZodString;
|
|
9546
|
+
chainId: z.ZodString;
|
|
9093
9547
|
}, z.core.$strip>]>;
|
|
9094
9548
|
secrets: z.ZodArray<z.ZodObject<{
|
|
9095
9549
|
field: z.ZodString;
|
|
@@ -9127,6 +9581,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
9127
9581
|
}, z.core.$strip>>;
|
|
9128
9582
|
openedAt: z.ZodNullable<z.ZodString>;
|
|
9129
9583
|
}, z.core.$strip>;
|
|
9584
|
+
platformTestKeys: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9585
|
+
platformTestKeysAvailable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9130
9586
|
easyPayProviders: z.ZodArray<z.ZodString>;
|
|
9131
9587
|
retiredCredentialCount: z.ZodNumber;
|
|
9132
9588
|
routingExclusion: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -9159,6 +9615,169 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
9159
9615
|
provider: z.ZodEnum<{
|
|
9160
9616
|
tosspayments: "tosspayments";
|
|
9161
9617
|
portone: "portone";
|
|
9618
|
+
kakaopay: "kakaopay";
|
|
9619
|
+
naverpay: "naverpay";
|
|
9620
|
+
}>;
|
|
9621
|
+
displayName: z.ZodString;
|
|
9622
|
+
connected: z.ZodBoolean;
|
|
9623
|
+
enabled: z.ZodBoolean;
|
|
9624
|
+
priority: z.ZodNullable<z.ZodNumber>;
|
|
9625
|
+
environment: z.ZodNullable<z.ZodEnum<{
|
|
9626
|
+
TEST: "TEST";
|
|
9627
|
+
LIVE: "LIVE";
|
|
9628
|
+
}>>;
|
|
9629
|
+
publicConfig: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
9630
|
+
clientKey: z.ZodString;
|
|
9631
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9632
|
+
storeId: z.ZodString;
|
|
9633
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
9634
|
+
channelKey: z.ZodString;
|
|
9635
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9636
|
+
payMethods: z.ZodArray<z.ZodEnum<{
|
|
9637
|
+
CARD: "CARD";
|
|
9638
|
+
BANK_TRANSFER: "BANK_TRANSFER";
|
|
9639
|
+
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
9640
|
+
MOBILE: "MOBILE";
|
|
9641
|
+
EASY_PAY: "EASY_PAY";
|
|
9642
|
+
}>>;
|
|
9643
|
+
}, z.core.$strip>>;
|
|
9644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9645
|
+
cid: z.ZodString;
|
|
9646
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9647
|
+
clientId: z.ZodString;
|
|
9648
|
+
chainId: z.ZodString;
|
|
9649
|
+
}, z.core.$strip>]>>;
|
|
9650
|
+
secrets: z.ZodArray<z.ZodObject<{
|
|
9651
|
+
field: z.ZodString;
|
|
9652
|
+
configured: z.ZodBoolean;
|
|
9653
|
+
masked: z.ZodNullable<z.ZodString>;
|
|
9654
|
+
}, z.core.$strip>>;
|
|
9655
|
+
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
9656
|
+
result: z.ZodEnum<{
|
|
9657
|
+
SUCCESS: "SUCCESS";
|
|
9658
|
+
FAILED: "FAILED";
|
|
9659
|
+
}>;
|
|
9660
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9661
|
+
checkedAt: z.ZodString;
|
|
9662
|
+
}, z.core.$strip>>;
|
|
9663
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
9664
|
+
sandboxMode: z.ZodBoolean;
|
|
9665
|
+
credentialSets: z.ZodObject<{
|
|
9666
|
+
TEST: z.ZodNullable<z.ZodObject<{
|
|
9667
|
+
environment: z.ZodEnum<{
|
|
9668
|
+
TEST: "TEST";
|
|
9669
|
+
LIVE: "LIVE";
|
|
9670
|
+
}>;
|
|
9671
|
+
publicConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
9672
|
+
clientKey: z.ZodString;
|
|
9673
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9674
|
+
storeId: z.ZodString;
|
|
9675
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
9676
|
+
channelKey: z.ZodString;
|
|
9677
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9678
|
+
payMethods: z.ZodArray<z.ZodEnum<{
|
|
9679
|
+
CARD: "CARD";
|
|
9680
|
+
BANK_TRANSFER: "BANK_TRANSFER";
|
|
9681
|
+
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
9682
|
+
MOBILE: "MOBILE";
|
|
9683
|
+
EASY_PAY: "EASY_PAY";
|
|
9684
|
+
}>>;
|
|
9685
|
+
}, z.core.$strip>>;
|
|
9686
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9687
|
+
cid: z.ZodString;
|
|
9688
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9689
|
+
clientId: z.ZodString;
|
|
9690
|
+
chainId: z.ZodString;
|
|
9691
|
+
}, z.core.$strip>]>;
|
|
9692
|
+
secrets: z.ZodArray<z.ZodObject<{
|
|
9693
|
+
field: z.ZodString;
|
|
9694
|
+
configured: z.ZodBoolean;
|
|
9695
|
+
masked: z.ZodNullable<z.ZodString>;
|
|
9696
|
+
}, z.core.$strip>>;
|
|
9697
|
+
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
9698
|
+
result: z.ZodEnum<{
|
|
9699
|
+
SUCCESS: "SUCCESS";
|
|
9700
|
+
FAILED: "FAILED";
|
|
9701
|
+
}>;
|
|
9702
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9703
|
+
checkedAt: z.ZodString;
|
|
9704
|
+
}, z.core.$strip>>;
|
|
9705
|
+
updatedAt: z.ZodString;
|
|
9706
|
+
}, z.core.$strip>>;
|
|
9707
|
+
LIVE: z.ZodNullable<z.ZodObject<{
|
|
9708
|
+
environment: z.ZodEnum<{
|
|
9709
|
+
TEST: "TEST";
|
|
9710
|
+
LIVE: "LIVE";
|
|
9711
|
+
}>;
|
|
9712
|
+
publicConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
9713
|
+
clientKey: z.ZodString;
|
|
9714
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9715
|
+
storeId: z.ZodString;
|
|
9716
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
9717
|
+
channelKey: z.ZodString;
|
|
9718
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9719
|
+
payMethods: z.ZodArray<z.ZodEnum<{
|
|
9720
|
+
CARD: "CARD";
|
|
9721
|
+
BANK_TRANSFER: "BANK_TRANSFER";
|
|
9722
|
+
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
9723
|
+
MOBILE: "MOBILE";
|
|
9724
|
+
EASY_PAY: "EASY_PAY";
|
|
9725
|
+
}>>;
|
|
9726
|
+
}, z.core.$strip>>;
|
|
9727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9728
|
+
cid: z.ZodString;
|
|
9729
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9730
|
+
clientId: z.ZodString;
|
|
9731
|
+
chainId: z.ZodString;
|
|
9732
|
+
}, z.core.$strip>]>;
|
|
9733
|
+
secrets: z.ZodArray<z.ZodObject<{
|
|
9734
|
+
field: z.ZodString;
|
|
9735
|
+
configured: z.ZodBoolean;
|
|
9736
|
+
masked: z.ZodNullable<z.ZodString>;
|
|
9737
|
+
}, z.core.$strip>>;
|
|
9738
|
+
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
9739
|
+
result: z.ZodEnum<{
|
|
9740
|
+
SUCCESS: "SUCCESS";
|
|
9741
|
+
FAILED: "FAILED";
|
|
9742
|
+
}>;
|
|
9743
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9744
|
+
checkedAt: z.ZodString;
|
|
9745
|
+
}, z.core.$strip>>;
|
|
9746
|
+
updatedAt: z.ZodString;
|
|
9747
|
+
}, z.core.$strip>>;
|
|
9748
|
+
}, z.core.$strip>;
|
|
9749
|
+
liveGate: z.ZodObject<{
|
|
9750
|
+
status: z.ZodEnum<{
|
|
9751
|
+
LOCKED: "LOCKED";
|
|
9752
|
+
OPEN: "OPEN";
|
|
9753
|
+
}>;
|
|
9754
|
+
conditions: z.ZodArray<z.ZodObject<{
|
|
9755
|
+
code: z.ZodEnum<{
|
|
9756
|
+
TEST_CONNECTION: "TEST_CONNECTION";
|
|
9757
|
+
SANDBOX_PAYMENT: "SANDBOX_PAYMENT";
|
|
9758
|
+
SANDBOX_REFUND: "SANDBOX_REFUND";
|
|
9759
|
+
LIVE_CONNECTION: "LIVE_CONNECTION";
|
|
9760
|
+
PLATFORM_LIVE_ENABLED: "PLATFORM_LIVE_ENABLED";
|
|
9761
|
+
NOT_TEMPLATE_STORE: "NOT_TEMPLATE_STORE";
|
|
9762
|
+
NOT_DEVELOPMENT_STORE: "NOT_DEVELOPMENT_STORE";
|
|
9763
|
+
}>;
|
|
9764
|
+
met: z.ZodBoolean;
|
|
9765
|
+
message: z.ZodString;
|
|
9766
|
+
}, z.core.$strip>>;
|
|
9767
|
+
openedAt: z.ZodNullable<z.ZodString>;
|
|
9768
|
+
}, z.core.$strip>;
|
|
9769
|
+
platformTestKeys: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9770
|
+
platformTestKeysAvailable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9771
|
+
easyPayProviders: z.ZodArray<z.ZodString>;
|
|
9772
|
+
retiredCredentialCount: z.ZodNumber;
|
|
9773
|
+
routingExclusion: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9774
|
+
}, z.core.$strip>>;
|
|
9775
|
+
connectableProviders: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9776
|
+
provider: z.ZodEnum<{
|
|
9777
|
+
tosspayments: "tosspayments";
|
|
9778
|
+
portone: "portone";
|
|
9779
|
+
kakaopay: "kakaopay";
|
|
9780
|
+
naverpay: "naverpay";
|
|
9162
9781
|
}>;
|
|
9163
9782
|
displayName: z.ZodString;
|
|
9164
9783
|
connected: z.ZodBoolean;
|
|
@@ -9183,6 +9802,11 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
9183
9802
|
EASY_PAY: "EASY_PAY";
|
|
9184
9803
|
}>>;
|
|
9185
9804
|
}, z.core.$strip>>;
|
|
9805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9806
|
+
cid: z.ZodString;
|
|
9807
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9808
|
+
clientId: z.ZodString;
|
|
9809
|
+
chainId: z.ZodString;
|
|
9186
9810
|
}, z.core.$strip>]>>;
|
|
9187
9811
|
secrets: z.ZodArray<z.ZodObject<{
|
|
9188
9812
|
field: z.ZodString;
|
|
@@ -9220,6 +9844,11 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
9220
9844
|
EASY_PAY: "EASY_PAY";
|
|
9221
9845
|
}>>;
|
|
9222
9846
|
}, z.core.$strip>>;
|
|
9847
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9848
|
+
cid: z.ZodString;
|
|
9849
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9850
|
+
clientId: z.ZodString;
|
|
9851
|
+
chainId: z.ZodString;
|
|
9223
9852
|
}, z.core.$strip>]>;
|
|
9224
9853
|
secrets: z.ZodArray<z.ZodObject<{
|
|
9225
9854
|
field: z.ZodString;
|
|
@@ -9256,6 +9885,11 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
9256
9885
|
EASY_PAY: "EASY_PAY";
|
|
9257
9886
|
}>>;
|
|
9258
9887
|
}, z.core.$strip>>;
|
|
9888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9889
|
+
cid: z.ZodString;
|
|
9890
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9891
|
+
clientId: z.ZodString;
|
|
9892
|
+
chainId: z.ZodString;
|
|
9259
9893
|
}, z.core.$strip>]>;
|
|
9260
9894
|
secrets: z.ZodArray<z.ZodObject<{
|
|
9261
9895
|
field: z.ZodString;
|
|
@@ -9293,10 +9927,12 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
9293
9927
|
}, z.core.$strip>>;
|
|
9294
9928
|
openedAt: z.ZodNullable<z.ZodString>;
|
|
9295
9929
|
}, z.core.$strip>;
|
|
9930
|
+
platformTestKeys: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9931
|
+
platformTestKeysAvailable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9296
9932
|
easyPayProviders: z.ZodArray<z.ZodString>;
|
|
9297
9933
|
retiredCredentialCount: z.ZodNumber;
|
|
9298
9934
|
routingExclusion: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9299
|
-
}, z.core.$strip
|
|
9935
|
+
}, z.core.$strip>>>>;
|
|
9300
9936
|
environment: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
9301
9937
|
TEST: "TEST";
|
|
9302
9938
|
LIVE: "LIVE";
|
|
@@ -9317,6 +9953,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
9317
9953
|
provider: z.ZodEnum<{
|
|
9318
9954
|
tosspayments: "tosspayments";
|
|
9319
9955
|
portone: "portone";
|
|
9956
|
+
kakaopay: "kakaopay";
|
|
9957
|
+
naverpay: "naverpay";
|
|
9320
9958
|
}>;
|
|
9321
9959
|
environment: z.ZodEnum<{
|
|
9322
9960
|
TEST: "TEST";
|
|
@@ -9343,6 +9981,8 @@ export declare const salesReportQuerySchema: z.ZodObject<{
|
|
|
9343
9981
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
9344
9982
|
tosspayments: "tosspayments";
|
|
9345
9983
|
portone: "portone";
|
|
9984
|
+
kakaopay: "kakaopay";
|
|
9985
|
+
naverpay: "naverpay";
|
|
9346
9986
|
}>>;
|
|
9347
9987
|
method: z.ZodOptional<z.ZodEnum<{
|
|
9348
9988
|
CARD: "CARD";
|
|
@@ -9383,6 +10023,8 @@ export declare const salesReportRowSchema: z.ZodObject<{
|
|
|
9383
10023
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9384
10024
|
tosspayments: "tosspayments";
|
|
9385
10025
|
portone: "portone";
|
|
10026
|
+
kakaopay: "kakaopay";
|
|
10027
|
+
naverpay: "naverpay";
|
|
9386
10028
|
}>>;
|
|
9387
10029
|
method: z.ZodNullable<z.ZodEnum<{
|
|
9388
10030
|
CARD: "CARD";
|
|
@@ -9407,6 +10049,8 @@ export declare const salesReportSchema: z.ZodObject<{
|
|
|
9407
10049
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9408
10050
|
tosspayments: "tosspayments";
|
|
9409
10051
|
portone: "portone";
|
|
10052
|
+
kakaopay: "kakaopay";
|
|
10053
|
+
naverpay: "naverpay";
|
|
9410
10054
|
}>>;
|
|
9411
10055
|
method: z.ZodNullable<z.ZodEnum<{
|
|
9412
10056
|
CARD: "CARD";
|
|
@@ -9435,6 +10079,8 @@ export declare const salesReportSchema: z.ZodObject<{
|
|
|
9435
10079
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9436
10080
|
tosspayments: "tosspayments";
|
|
9437
10081
|
portone: "portone";
|
|
10082
|
+
kakaopay: "kakaopay";
|
|
10083
|
+
naverpay: "naverpay";
|
|
9438
10084
|
}>>;
|
|
9439
10085
|
method: z.ZodNullable<z.ZodEnum<{
|
|
9440
10086
|
CARD: "CARD";
|
|
@@ -9484,6 +10130,8 @@ export declare const cashReceiptSchema: z.ZodObject<{
|
|
|
9484
10130
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9485
10131
|
tosspayments: "tosspayments";
|
|
9486
10132
|
portone: "portone";
|
|
10133
|
+
kakaopay: "kakaopay";
|
|
10134
|
+
naverpay: "naverpay";
|
|
9487
10135
|
}>>;
|
|
9488
10136
|
issueNumber: z.ZodNullable<z.ZodString>;
|
|
9489
10137
|
receiptUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -9514,6 +10162,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
9514
10162
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9515
10163
|
tosspayments: "tosspayments";
|
|
9516
10164
|
portone: "portone";
|
|
10165
|
+
kakaopay: "kakaopay";
|
|
10166
|
+
naverpay: "naverpay";
|
|
9517
10167
|
}>>;
|
|
9518
10168
|
method: z.ZodNullable<z.ZodEnum<{
|
|
9519
10169
|
CARD: "CARD";
|
|
@@ -9562,6 +10212,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
9562
10212
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9563
10213
|
tosspayments: "tosspayments";
|
|
9564
10214
|
portone: "portone";
|
|
10215
|
+
kakaopay: "kakaopay";
|
|
10216
|
+
naverpay: "naverpay";
|
|
9565
10217
|
}>>;
|
|
9566
10218
|
method: z.ZodNullable<z.ZodEnum<{
|
|
9567
10219
|
CARD: "CARD";
|
|
@@ -9595,6 +10247,8 @@ export declare const paymentAttemptRecordSchema: z.ZodObject<{
|
|
|
9595
10247
|
provider: z.ZodEnum<{
|
|
9596
10248
|
tosspayments: "tosspayments";
|
|
9597
10249
|
portone: "portone";
|
|
10250
|
+
kakaopay: "kakaopay";
|
|
10251
|
+
naverpay: "naverpay";
|
|
9598
10252
|
}>;
|
|
9599
10253
|
status: z.ZodString;
|
|
9600
10254
|
method: z.ZodEnum<{
|
|
@@ -9655,6 +10309,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
9655
10309
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9656
10310
|
tosspayments: "tosspayments";
|
|
9657
10311
|
portone: "portone";
|
|
10312
|
+
kakaopay: "kakaopay";
|
|
10313
|
+
naverpay: "naverpay";
|
|
9658
10314
|
}>>;
|
|
9659
10315
|
method: z.ZodNullable<z.ZodEnum<{
|
|
9660
10316
|
CARD: "CARD";
|
|
@@ -9687,6 +10343,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
9687
10343
|
provider: z.ZodEnum<{
|
|
9688
10344
|
tosspayments: "tosspayments";
|
|
9689
10345
|
portone: "portone";
|
|
10346
|
+
kakaopay: "kakaopay";
|
|
10347
|
+
naverpay: "naverpay";
|
|
9690
10348
|
}>;
|
|
9691
10349
|
status: z.ZodString;
|
|
9692
10350
|
method: z.ZodEnum<{
|
|
@@ -9738,6 +10396,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
9738
10396
|
provider: z.ZodNullable<z.ZodEnum<{
|
|
9739
10397
|
tosspayments: "tosspayments";
|
|
9740
10398
|
portone: "portone";
|
|
10399
|
+
kakaopay: "kakaopay";
|
|
10400
|
+
naverpay: "naverpay";
|
|
9741
10401
|
}>>;
|
|
9742
10402
|
issueNumber: z.ZodNullable<z.ZodString>;
|
|
9743
10403
|
receiptUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -9775,6 +10435,55 @@ export interface PaymentListParams extends PageParams {
|
|
|
9775
10435
|
/** 환불 대기가 있는 결제만(#115) */
|
|
9776
10436
|
refundHeld?: boolean;
|
|
9777
10437
|
}
|
|
10438
|
+
/** 테스트모드 키 활성화 요청(2026-10-14) — `PUT /v1/store/payment-providers/{provider}/platform-test-keys` */
|
|
10439
|
+
export declare const setPlatformTestKeysRequestSchema: z.ZodObject<{
|
|
10440
|
+
enabled: z.ZodBoolean;
|
|
10441
|
+
}, z.core.$strip>;
|
|
10442
|
+
export type SetPlatformTestKeysRequest = z.infer<typeof setPlatformTestKeysRequestSchema>;
|
|
10443
|
+
/** 결제 상태 PG 한 줄 — 비밀 값·공개 키 없이 연결·사용·환경·테스트모드 키만 */
|
|
10444
|
+
export declare const paymentStatusProviderSchema: z.ZodObject<{
|
|
10445
|
+
provider: z.ZodEnum<{
|
|
10446
|
+
tosspayments: "tosspayments";
|
|
10447
|
+
portone: "portone";
|
|
10448
|
+
kakaopay: "kakaopay";
|
|
10449
|
+
naverpay: "naverpay";
|
|
10450
|
+
}>;
|
|
10451
|
+
displayName: z.ZodString;
|
|
10452
|
+
connected: z.ZodBoolean;
|
|
10453
|
+
enabled: z.ZodBoolean;
|
|
10454
|
+
environment: z.ZodNullable<z.ZodEnum<{
|
|
10455
|
+
TEST: "TEST";
|
|
10456
|
+
LIVE: "LIVE";
|
|
10457
|
+
}>>;
|
|
10458
|
+
platformTestKeys: z.ZodBoolean;
|
|
10459
|
+
platformTestKeysAvailable: z.ZodBoolean;
|
|
10460
|
+
}, z.core.$strip>;
|
|
10461
|
+
export type PaymentStatusProvider = z.infer<typeof paymentStatusProviderSchema>;
|
|
10462
|
+
/** 결제 상태(2026-10-14) — `GET /v1/store/payment-status`. 지원 PG 전체와 상점의 연결 상태 */
|
|
10463
|
+
export declare const paymentStatusSchema: z.ZodObject<{
|
|
10464
|
+
environment: z.ZodNullable<z.ZodEnum<{
|
|
10465
|
+
TEST: "TEST";
|
|
10466
|
+
LIVE: "LIVE";
|
|
10467
|
+
}>>;
|
|
10468
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
10469
|
+
provider: z.ZodEnum<{
|
|
10470
|
+
tosspayments: "tosspayments";
|
|
10471
|
+
portone: "portone";
|
|
10472
|
+
kakaopay: "kakaopay";
|
|
10473
|
+
naverpay: "naverpay";
|
|
10474
|
+
}>;
|
|
10475
|
+
displayName: z.ZodString;
|
|
10476
|
+
connected: z.ZodBoolean;
|
|
10477
|
+
enabled: z.ZodBoolean;
|
|
10478
|
+
environment: z.ZodNullable<z.ZodEnum<{
|
|
10479
|
+
TEST: "TEST";
|
|
10480
|
+
LIVE: "LIVE";
|
|
10481
|
+
}>>;
|
|
10482
|
+
platformTestKeys: z.ZodBoolean;
|
|
10483
|
+
platformTestKeysAvailable: z.ZodBoolean;
|
|
10484
|
+
}, z.core.$strip>>;
|
|
10485
|
+
}, z.core.$strip>;
|
|
10486
|
+
export type PaymentStatus = z.infer<typeof paymentStatusSchema>;
|
|
9778
10487
|
//#endregion
|
|
9779
10488
|
//#region src/schemas/points.d.ts
|
|
9780
10489
|
/**
|
|
@@ -10904,9 +11613,9 @@ export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
|
10904
11613
|
export declare const productSortSchema: z.ZodEnum<{
|
|
10905
11614
|
"createdAt.desc": "createdAt.desc";
|
|
10906
11615
|
"createdAt.asc": "createdAt.asc";
|
|
11616
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
10907
11617
|
"salePrice.asc": "salePrice.asc";
|
|
10908
11618
|
"salePrice.desc": "salePrice.desc";
|
|
10909
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10910
11619
|
}>;
|
|
10911
11620
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
10912
11621
|
export interface ProductListParams extends PageParams {
|
|
@@ -10935,9 +11644,9 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
10935
11644
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
10936
11645
|
"createdAt.desc": "createdAt.desc";
|
|
10937
11646
|
"createdAt.asc": "createdAt.asc";
|
|
11647
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
10938
11648
|
"salePrice.asc": "salePrice.asc";
|
|
10939
11649
|
"salePrice.desc": "salePrice.desc";
|
|
10940
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10941
11650
|
}>>;
|
|
10942
11651
|
}, z.core.$strip>;
|
|
10943
11652
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -12306,6 +13015,16 @@ export type StorefrontEditSession = z.infer<typeof storefrontEditSessionSchema>;
|
|
|
12306
13015
|
export declare const storefrontDevLogsSchema: z.ZodObject<{
|
|
12307
13016
|
stdout: z.ZodString;
|
|
12308
13017
|
stderr: z.ZodString;
|
|
13018
|
+
browser: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
13019
|
+
seq: z.ZodNumber;
|
|
13020
|
+
at: z.ZodString;
|
|
13021
|
+
level: z.ZodEnum<{
|
|
13022
|
+
error: "error";
|
|
13023
|
+
warn: "warn";
|
|
13024
|
+
}>;
|
|
13025
|
+
message: z.ZodString;
|
|
13026
|
+
url: z.ZodString;
|
|
13027
|
+
}, z.core.$strip>>>;
|
|
12309
13028
|
at: z.ZodString;
|
|
12310
13029
|
}, z.core.$strip>;
|
|
12311
13030
|
export type StorefrontDevLogs = z.infer<typeof storefrontDevLogsSchema>;
|
|
@@ -14419,7 +15138,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14419
15138
|
identityNumberMasked: string;
|
|
14420
15139
|
amount: number;
|
|
14421
15140
|
issuedAmount: number;
|
|
14422
|
-
provider: "tosspayments" | "portone" | null;
|
|
15141
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay" | null;
|
|
14423
15142
|
issueNumber: string | null;
|
|
14424
15143
|
receiptUrl: string | null;
|
|
14425
15144
|
issuedAt: string | null;
|
|
@@ -14527,7 +15246,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
14527
15246
|
identityNumberMasked: string;
|
|
14528
15247
|
amount: number;
|
|
14529
15248
|
issuedAmount: number;
|
|
14530
|
-
provider: "tosspayments" | "portone" | null;
|
|
15249
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay" | null;
|
|
14531
15250
|
issueNumber: string | null;
|
|
14532
15251
|
receiptUrl: string | null;
|
|
14533
15252
|
issuedAt: string | null;
|
|
@@ -16596,7 +17315,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16596
17315
|
timezone: "Asia/Seoul";
|
|
16597
17316
|
currency: "KRW";
|
|
16598
17317
|
groupBy: "DAY" | "PROVIDER" | "METHOD" | "PROVIDER_METHOD";
|
|
16599
|
-
provider: "tosspayments" | "portone" | null;
|
|
17318
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay" | null;
|
|
16600
17319
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
16601
17320
|
includeTest: boolean;
|
|
16602
17321
|
summary: {
|
|
@@ -16615,7 +17334,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16615
17334
|
netAmount: number;
|
|
16616
17335
|
pgFeeAmount: number | null;
|
|
16617
17336
|
date: string | null;
|
|
16618
|
-
provider: "tosspayments" | "portone" | null;
|
|
17337
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay" | null;
|
|
16619
17338
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
16620
17339
|
}[];
|
|
16621
17340
|
}>;
|
|
@@ -16840,7 +17559,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16840
17559
|
amount: number;
|
|
16841
17560
|
refundedAmount: number;
|
|
16842
17561
|
heldRefundAmount: number;
|
|
16843
|
-
provider: "tosspayments" | "portone" | null;
|
|
17562
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay" | null;
|
|
16844
17563
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
16845
17564
|
easyPayProvider: string | null;
|
|
16846
17565
|
environment: "TEST" | "LIVE" | null;
|
|
@@ -16866,7 +17585,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16866
17585
|
amount: number;
|
|
16867
17586
|
refundedAmount: number;
|
|
16868
17587
|
heldRefundAmount: number;
|
|
16869
|
-
provider: "tosspayments" | "portone" | null;
|
|
17588
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay" | null;
|
|
16870
17589
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
16871
17590
|
easyPayProvider: string | null;
|
|
16872
17591
|
environment: "TEST" | "LIVE" | null;
|
|
@@ -16886,7 +17605,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16886
17605
|
attemptId: string;
|
|
16887
17606
|
pgOrderId: string | null;
|
|
16888
17607
|
sequence: number;
|
|
16889
|
-
provider: "tosspayments" | "portone";
|
|
17608
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
16890
17609
|
status: string;
|
|
16891
17610
|
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY";
|
|
16892
17611
|
easyPayProvider: string | null;
|
|
@@ -16919,7 +17638,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16919
17638
|
identityNumberMasked: string;
|
|
16920
17639
|
amount: number;
|
|
16921
17640
|
issuedAmount: number;
|
|
16922
|
-
provider: "tosspayments" | "portone" | null;
|
|
17641
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay" | null;
|
|
16923
17642
|
issueNumber: string | null;
|
|
16924
17643
|
receiptUrl: string | null;
|
|
16925
17644
|
issuedAt: string | null;
|
|
@@ -16955,7 +17674,116 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16955
17674
|
get: () => Promise<{
|
|
16956
17675
|
checkoutOrigins: string[];
|
|
16957
17676
|
providers: {
|
|
16958
|
-
provider: "tosspayments" | "portone";
|
|
17677
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17678
|
+
displayName: string;
|
|
17679
|
+
connected: boolean;
|
|
17680
|
+
enabled: boolean;
|
|
17681
|
+
priority: number | null;
|
|
17682
|
+
environment: "TEST" | "LIVE" | null;
|
|
17683
|
+
publicConfig: {
|
|
17684
|
+
clientKey: string;
|
|
17685
|
+
} | {
|
|
17686
|
+
storeId: string;
|
|
17687
|
+
channels: {
|
|
17688
|
+
channelKey: string;
|
|
17689
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17690
|
+
name?: string | null | undefined;
|
|
17691
|
+
}[];
|
|
17692
|
+
} | {
|
|
17693
|
+
cid: string;
|
|
17694
|
+
} | {
|
|
17695
|
+
clientId: string;
|
|
17696
|
+
chainId: string;
|
|
17697
|
+
} | null;
|
|
17698
|
+
secrets: {
|
|
17699
|
+
field: string;
|
|
17700
|
+
configured: boolean;
|
|
17701
|
+
masked: string | null;
|
|
17702
|
+
}[];
|
|
17703
|
+
lastVerification: {
|
|
17704
|
+
result: "SUCCESS" | "FAILED";
|
|
17705
|
+
message: string | null;
|
|
17706
|
+
checkedAt: string;
|
|
17707
|
+
} | null;
|
|
17708
|
+
updatedAt: string | null;
|
|
17709
|
+
sandboxMode: boolean;
|
|
17710
|
+
credentialSets: {
|
|
17711
|
+
TEST: {
|
|
17712
|
+
environment: "TEST" | "LIVE";
|
|
17713
|
+
publicConfig: {
|
|
17714
|
+
clientKey: string;
|
|
17715
|
+
} | {
|
|
17716
|
+
storeId: string;
|
|
17717
|
+
channels: {
|
|
17718
|
+
channelKey: string;
|
|
17719
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17720
|
+
name?: string | null | undefined;
|
|
17721
|
+
}[];
|
|
17722
|
+
} | {
|
|
17723
|
+
cid: string;
|
|
17724
|
+
} | {
|
|
17725
|
+
clientId: string;
|
|
17726
|
+
chainId: string;
|
|
17727
|
+
};
|
|
17728
|
+
secrets: {
|
|
17729
|
+
field: string;
|
|
17730
|
+
configured: boolean;
|
|
17731
|
+
masked: string | null;
|
|
17732
|
+
}[];
|
|
17733
|
+
lastVerification: {
|
|
17734
|
+
result: "SUCCESS" | "FAILED";
|
|
17735
|
+
message: string | null;
|
|
17736
|
+
checkedAt: string;
|
|
17737
|
+
} | null;
|
|
17738
|
+
updatedAt: string;
|
|
17739
|
+
} | null;
|
|
17740
|
+
LIVE: {
|
|
17741
|
+
environment: "TEST" | "LIVE";
|
|
17742
|
+
publicConfig: {
|
|
17743
|
+
clientKey: string;
|
|
17744
|
+
} | {
|
|
17745
|
+
storeId: string;
|
|
17746
|
+
channels: {
|
|
17747
|
+
channelKey: string;
|
|
17748
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17749
|
+
name?: string | null | undefined;
|
|
17750
|
+
}[];
|
|
17751
|
+
} | {
|
|
17752
|
+
cid: string;
|
|
17753
|
+
} | {
|
|
17754
|
+
clientId: string;
|
|
17755
|
+
chainId: string;
|
|
17756
|
+
};
|
|
17757
|
+
secrets: {
|
|
17758
|
+
field: string;
|
|
17759
|
+
configured: boolean;
|
|
17760
|
+
masked: string | null;
|
|
17761
|
+
}[];
|
|
17762
|
+
lastVerification: {
|
|
17763
|
+
result: "SUCCESS" | "FAILED";
|
|
17764
|
+
message: string | null;
|
|
17765
|
+
checkedAt: string;
|
|
17766
|
+
} | null;
|
|
17767
|
+
updatedAt: string;
|
|
17768
|
+
} | null;
|
|
17769
|
+
};
|
|
17770
|
+
liveGate: {
|
|
17771
|
+
status: "LOCKED" | "OPEN";
|
|
17772
|
+
conditions: {
|
|
17773
|
+
code: "TEST_CONNECTION" | "SANDBOX_PAYMENT" | "SANDBOX_REFUND" | "LIVE_CONNECTION" | "PLATFORM_LIVE_ENABLED" | "NOT_TEMPLATE_STORE" | "NOT_DEVELOPMENT_STORE";
|
|
17774
|
+
met: boolean;
|
|
17775
|
+
message: string;
|
|
17776
|
+
}[];
|
|
17777
|
+
openedAt: string | null;
|
|
17778
|
+
};
|
|
17779
|
+
platformTestKeys: boolean;
|
|
17780
|
+
platformTestKeysAvailable: boolean;
|
|
17781
|
+
easyPayProviders: string[];
|
|
17782
|
+
retiredCredentialCount: number;
|
|
17783
|
+
routingExclusion: string | null;
|
|
17784
|
+
}[];
|
|
17785
|
+
connectableProviders: {
|
|
17786
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
16959
17787
|
displayName: string;
|
|
16960
17788
|
connected: boolean;
|
|
16961
17789
|
enabled: boolean;
|
|
@@ -16970,6 +17798,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16970
17798
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
16971
17799
|
name?: string | null | undefined;
|
|
16972
17800
|
}[];
|
|
17801
|
+
} | {
|
|
17802
|
+
cid: string;
|
|
17803
|
+
} | {
|
|
17804
|
+
clientId: string;
|
|
17805
|
+
chainId: string;
|
|
16973
17806
|
} | null;
|
|
16974
17807
|
secrets: {
|
|
16975
17808
|
field: string;
|
|
@@ -16995,6 +17828,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16995
17828
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
16996
17829
|
name?: string | null | undefined;
|
|
16997
17830
|
}[];
|
|
17831
|
+
} | {
|
|
17832
|
+
cid: string;
|
|
17833
|
+
} | {
|
|
17834
|
+
clientId: string;
|
|
17835
|
+
chainId: string;
|
|
16998
17836
|
};
|
|
16999
17837
|
secrets: {
|
|
17000
17838
|
field: string;
|
|
@@ -17019,6 +17857,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17019
17857
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17020
17858
|
name?: string | null | undefined;
|
|
17021
17859
|
}[];
|
|
17860
|
+
} | {
|
|
17861
|
+
cid: string;
|
|
17862
|
+
} | {
|
|
17863
|
+
clientId: string;
|
|
17864
|
+
chainId: string;
|
|
17022
17865
|
};
|
|
17023
17866
|
secrets: {
|
|
17024
17867
|
field: string;
|
|
@@ -17042,6 +17885,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17042
17885
|
}[];
|
|
17043
17886
|
openedAt: string | null;
|
|
17044
17887
|
};
|
|
17888
|
+
platformTestKeys: boolean;
|
|
17889
|
+
platformTestKeysAvailable: boolean;
|
|
17045
17890
|
easyPayProviders: string[];
|
|
17046
17891
|
retiredCredentialCount: number;
|
|
17047
17892
|
routingExclusion: string | null;
|
|
@@ -17065,7 +17910,116 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17065
17910
|
update: (body: UpdatePaymentSettingsRequest) => Promise<{
|
|
17066
17911
|
checkoutOrigins: string[];
|
|
17067
17912
|
providers: {
|
|
17068
|
-
provider: "tosspayments" | "portone";
|
|
17913
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17914
|
+
displayName: string;
|
|
17915
|
+
connected: boolean;
|
|
17916
|
+
enabled: boolean;
|
|
17917
|
+
priority: number | null;
|
|
17918
|
+
environment: "TEST" | "LIVE" | null;
|
|
17919
|
+
publicConfig: {
|
|
17920
|
+
clientKey: string;
|
|
17921
|
+
} | {
|
|
17922
|
+
storeId: string;
|
|
17923
|
+
channels: {
|
|
17924
|
+
channelKey: string;
|
|
17925
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17926
|
+
name?: string | null | undefined;
|
|
17927
|
+
}[];
|
|
17928
|
+
} | {
|
|
17929
|
+
cid: string;
|
|
17930
|
+
} | {
|
|
17931
|
+
clientId: string;
|
|
17932
|
+
chainId: string;
|
|
17933
|
+
} | null;
|
|
17934
|
+
secrets: {
|
|
17935
|
+
field: string;
|
|
17936
|
+
configured: boolean;
|
|
17937
|
+
masked: string | null;
|
|
17938
|
+
}[];
|
|
17939
|
+
lastVerification: {
|
|
17940
|
+
result: "SUCCESS" | "FAILED";
|
|
17941
|
+
message: string | null;
|
|
17942
|
+
checkedAt: string;
|
|
17943
|
+
} | null;
|
|
17944
|
+
updatedAt: string | null;
|
|
17945
|
+
sandboxMode: boolean;
|
|
17946
|
+
credentialSets: {
|
|
17947
|
+
TEST: {
|
|
17948
|
+
environment: "TEST" | "LIVE";
|
|
17949
|
+
publicConfig: {
|
|
17950
|
+
clientKey: string;
|
|
17951
|
+
} | {
|
|
17952
|
+
storeId: string;
|
|
17953
|
+
channels: {
|
|
17954
|
+
channelKey: string;
|
|
17955
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17956
|
+
name?: string | null | undefined;
|
|
17957
|
+
}[];
|
|
17958
|
+
} | {
|
|
17959
|
+
cid: string;
|
|
17960
|
+
} | {
|
|
17961
|
+
clientId: string;
|
|
17962
|
+
chainId: string;
|
|
17963
|
+
};
|
|
17964
|
+
secrets: {
|
|
17965
|
+
field: string;
|
|
17966
|
+
configured: boolean;
|
|
17967
|
+
masked: string | null;
|
|
17968
|
+
}[];
|
|
17969
|
+
lastVerification: {
|
|
17970
|
+
result: "SUCCESS" | "FAILED";
|
|
17971
|
+
message: string | null;
|
|
17972
|
+
checkedAt: string;
|
|
17973
|
+
} | null;
|
|
17974
|
+
updatedAt: string;
|
|
17975
|
+
} | null;
|
|
17976
|
+
LIVE: {
|
|
17977
|
+
environment: "TEST" | "LIVE";
|
|
17978
|
+
publicConfig: {
|
|
17979
|
+
clientKey: string;
|
|
17980
|
+
} | {
|
|
17981
|
+
storeId: string;
|
|
17982
|
+
channels: {
|
|
17983
|
+
channelKey: string;
|
|
17984
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17985
|
+
name?: string | null | undefined;
|
|
17986
|
+
}[];
|
|
17987
|
+
} | {
|
|
17988
|
+
cid: string;
|
|
17989
|
+
} | {
|
|
17990
|
+
clientId: string;
|
|
17991
|
+
chainId: string;
|
|
17992
|
+
};
|
|
17993
|
+
secrets: {
|
|
17994
|
+
field: string;
|
|
17995
|
+
configured: boolean;
|
|
17996
|
+
masked: string | null;
|
|
17997
|
+
}[];
|
|
17998
|
+
lastVerification: {
|
|
17999
|
+
result: "SUCCESS" | "FAILED";
|
|
18000
|
+
message: string | null;
|
|
18001
|
+
checkedAt: string;
|
|
18002
|
+
} | null;
|
|
18003
|
+
updatedAt: string;
|
|
18004
|
+
} | null;
|
|
18005
|
+
};
|
|
18006
|
+
liveGate: {
|
|
18007
|
+
status: "LOCKED" | "OPEN";
|
|
18008
|
+
conditions: {
|
|
18009
|
+
code: "TEST_CONNECTION" | "SANDBOX_PAYMENT" | "SANDBOX_REFUND" | "LIVE_CONNECTION" | "PLATFORM_LIVE_ENABLED" | "NOT_TEMPLATE_STORE" | "NOT_DEVELOPMENT_STORE";
|
|
18010
|
+
met: boolean;
|
|
18011
|
+
message: string;
|
|
18012
|
+
}[];
|
|
18013
|
+
openedAt: string | null;
|
|
18014
|
+
};
|
|
18015
|
+
platformTestKeys: boolean;
|
|
18016
|
+
platformTestKeysAvailable: boolean;
|
|
18017
|
+
easyPayProviders: string[];
|
|
18018
|
+
retiredCredentialCount: number;
|
|
18019
|
+
routingExclusion: string | null;
|
|
18020
|
+
}[];
|
|
18021
|
+
connectableProviders: {
|
|
18022
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17069
18023
|
displayName: string;
|
|
17070
18024
|
connected: boolean;
|
|
17071
18025
|
enabled: boolean;
|
|
@@ -17080,6 +18034,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17080
18034
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17081
18035
|
name?: string | null | undefined;
|
|
17082
18036
|
}[];
|
|
18037
|
+
} | {
|
|
18038
|
+
cid: string;
|
|
18039
|
+
} | {
|
|
18040
|
+
clientId: string;
|
|
18041
|
+
chainId: string;
|
|
17083
18042
|
} | null;
|
|
17084
18043
|
secrets: {
|
|
17085
18044
|
field: string;
|
|
@@ -17105,6 +18064,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17105
18064
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17106
18065
|
name?: string | null | undefined;
|
|
17107
18066
|
}[];
|
|
18067
|
+
} | {
|
|
18068
|
+
cid: string;
|
|
18069
|
+
} | {
|
|
18070
|
+
clientId: string;
|
|
18071
|
+
chainId: string;
|
|
17108
18072
|
};
|
|
17109
18073
|
secrets: {
|
|
17110
18074
|
field: string;
|
|
@@ -17129,6 +18093,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17129
18093
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17130
18094
|
name?: string | null | undefined;
|
|
17131
18095
|
}[];
|
|
18096
|
+
} | {
|
|
18097
|
+
cid: string;
|
|
18098
|
+
} | {
|
|
18099
|
+
clientId: string;
|
|
18100
|
+
chainId: string;
|
|
17132
18101
|
};
|
|
17133
18102
|
secrets: {
|
|
17134
18103
|
field: string;
|
|
@@ -17152,6 +18121,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17152
18121
|
}[];
|
|
17153
18122
|
openedAt: string | null;
|
|
17154
18123
|
};
|
|
18124
|
+
platformTestKeys: boolean;
|
|
18125
|
+
platformTestKeysAvailable: boolean;
|
|
17155
18126
|
easyPayProviders: string[];
|
|
17156
18127
|
retiredCredentialCount: number;
|
|
17157
18128
|
routingExclusion: string | null;
|
|
@@ -17180,7 +18151,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17180
18151
|
* 저장되지 않는다. 같은 가맹점의 비밀 값 교체는 검사하지 않는다)
|
|
17181
18152
|
*/
|
|
17182
18153
|
upsertTossPayments: (body: UpsertTossPaymentsProviderRequest) => Promise<{
|
|
17183
|
-
provider: "tosspayments" | "portone";
|
|
18154
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17184
18155
|
displayName: string;
|
|
17185
18156
|
connected: boolean;
|
|
17186
18157
|
enabled: boolean;
|
|
@@ -17195,6 +18166,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17195
18166
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17196
18167
|
name?: string | null | undefined;
|
|
17197
18168
|
}[];
|
|
18169
|
+
} | {
|
|
18170
|
+
cid: string;
|
|
18171
|
+
} | {
|
|
18172
|
+
clientId: string;
|
|
18173
|
+
chainId: string;
|
|
17198
18174
|
} | null;
|
|
17199
18175
|
secrets: {
|
|
17200
18176
|
field: string;
|
|
@@ -17220,6 +18196,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17220
18196
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17221
18197
|
name?: string | null | undefined;
|
|
17222
18198
|
}[];
|
|
18199
|
+
} | {
|
|
18200
|
+
cid: string;
|
|
18201
|
+
} | {
|
|
18202
|
+
clientId: string;
|
|
18203
|
+
chainId: string;
|
|
17223
18204
|
};
|
|
17224
18205
|
secrets: {
|
|
17225
18206
|
field: string;
|
|
@@ -17244,6 +18225,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17244
18225
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17245
18226
|
name?: string | null | undefined;
|
|
17246
18227
|
}[];
|
|
18228
|
+
} | {
|
|
18229
|
+
cid: string;
|
|
18230
|
+
} | {
|
|
18231
|
+
clientId: string;
|
|
18232
|
+
chainId: string;
|
|
17247
18233
|
};
|
|
17248
18234
|
secrets: {
|
|
17249
18235
|
field: string;
|
|
@@ -17267,6 +18253,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17267
18253
|
}[];
|
|
17268
18254
|
openedAt: string | null;
|
|
17269
18255
|
};
|
|
18256
|
+
platformTestKeys: boolean;
|
|
18257
|
+
platformTestKeysAvailable: boolean;
|
|
17270
18258
|
easyPayProviders: string[];
|
|
17271
18259
|
retiredCredentialCount: number;
|
|
17272
18260
|
routingExclusion: string | null;
|
|
@@ -17276,7 +18264,233 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17276
18264
|
* (가맹점 식별자는 `storeId`, 비밀 필드는 `apiSecret`·`webhookSecret`). 400 `INVALID_CREDENTIALS`에는 채널 키 중복이 포함된다.
|
|
17277
18265
|
*/
|
|
17278
18266
|
upsertPortOne: (body: UpsertPortOneProviderRequest) => Promise<{
|
|
17279
|
-
provider: "tosspayments" | "portone";
|
|
18267
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
18268
|
+
displayName: string;
|
|
18269
|
+
connected: boolean;
|
|
18270
|
+
enabled: boolean;
|
|
18271
|
+
priority: number | null;
|
|
18272
|
+
environment: "TEST" | "LIVE" | null;
|
|
18273
|
+
publicConfig: {
|
|
18274
|
+
clientKey: string;
|
|
18275
|
+
} | {
|
|
18276
|
+
storeId: string;
|
|
18277
|
+
channels: {
|
|
18278
|
+
channelKey: string;
|
|
18279
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
18280
|
+
name?: string | null | undefined;
|
|
18281
|
+
}[];
|
|
18282
|
+
} | {
|
|
18283
|
+
cid: string;
|
|
18284
|
+
} | {
|
|
18285
|
+
clientId: string;
|
|
18286
|
+
chainId: string;
|
|
18287
|
+
} | null;
|
|
18288
|
+
secrets: {
|
|
18289
|
+
field: string;
|
|
18290
|
+
configured: boolean;
|
|
18291
|
+
masked: string | null;
|
|
18292
|
+
}[];
|
|
18293
|
+
lastVerification: {
|
|
18294
|
+
result: "SUCCESS" | "FAILED";
|
|
18295
|
+
message: string | null;
|
|
18296
|
+
checkedAt: string;
|
|
18297
|
+
} | null;
|
|
18298
|
+
updatedAt: string | null;
|
|
18299
|
+
sandboxMode: boolean;
|
|
18300
|
+
credentialSets: {
|
|
18301
|
+
TEST: {
|
|
18302
|
+
environment: "TEST" | "LIVE";
|
|
18303
|
+
publicConfig: {
|
|
18304
|
+
clientKey: string;
|
|
18305
|
+
} | {
|
|
18306
|
+
storeId: string;
|
|
18307
|
+
channels: {
|
|
18308
|
+
channelKey: string;
|
|
18309
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
18310
|
+
name?: string | null | undefined;
|
|
18311
|
+
}[];
|
|
18312
|
+
} | {
|
|
18313
|
+
cid: string;
|
|
18314
|
+
} | {
|
|
18315
|
+
clientId: string;
|
|
18316
|
+
chainId: string;
|
|
18317
|
+
};
|
|
18318
|
+
secrets: {
|
|
18319
|
+
field: string;
|
|
18320
|
+
configured: boolean;
|
|
18321
|
+
masked: string | null;
|
|
18322
|
+
}[];
|
|
18323
|
+
lastVerification: {
|
|
18324
|
+
result: "SUCCESS" | "FAILED";
|
|
18325
|
+
message: string | null;
|
|
18326
|
+
checkedAt: string;
|
|
18327
|
+
} | null;
|
|
18328
|
+
updatedAt: string;
|
|
18329
|
+
} | null;
|
|
18330
|
+
LIVE: {
|
|
18331
|
+
environment: "TEST" | "LIVE";
|
|
18332
|
+
publicConfig: {
|
|
18333
|
+
clientKey: string;
|
|
18334
|
+
} | {
|
|
18335
|
+
storeId: string;
|
|
18336
|
+
channels: {
|
|
18337
|
+
channelKey: string;
|
|
18338
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
18339
|
+
name?: string | null | undefined;
|
|
18340
|
+
}[];
|
|
18341
|
+
} | {
|
|
18342
|
+
cid: string;
|
|
18343
|
+
} | {
|
|
18344
|
+
clientId: string;
|
|
18345
|
+
chainId: string;
|
|
18346
|
+
};
|
|
18347
|
+
secrets: {
|
|
18348
|
+
field: string;
|
|
18349
|
+
configured: boolean;
|
|
18350
|
+
masked: string | null;
|
|
18351
|
+
}[];
|
|
18352
|
+
lastVerification: {
|
|
18353
|
+
result: "SUCCESS" | "FAILED";
|
|
18354
|
+
message: string | null;
|
|
18355
|
+
checkedAt: string;
|
|
18356
|
+
} | null;
|
|
18357
|
+
updatedAt: string;
|
|
18358
|
+
} | null;
|
|
18359
|
+
};
|
|
18360
|
+
liveGate: {
|
|
18361
|
+
status: "LOCKED" | "OPEN";
|
|
18362
|
+
conditions: {
|
|
18363
|
+
code: "TEST_CONNECTION" | "SANDBOX_PAYMENT" | "SANDBOX_REFUND" | "LIVE_CONNECTION" | "PLATFORM_LIVE_ENABLED" | "NOT_TEMPLATE_STORE" | "NOT_DEVELOPMENT_STORE";
|
|
18364
|
+
met: boolean;
|
|
18365
|
+
message: string;
|
|
18366
|
+
}[];
|
|
18367
|
+
openedAt: string | null;
|
|
18368
|
+
};
|
|
18369
|
+
platformTestKeys: boolean;
|
|
18370
|
+
platformTestKeysAvailable: boolean;
|
|
18371
|
+
easyPayProviders: string[];
|
|
18372
|
+
retiredCredentialCount: number;
|
|
18373
|
+
routingExclusion: string | null;
|
|
18374
|
+
}>;
|
|
18375
|
+
/**
|
|
18376
|
+
* `PUT /v1/store/payment-providers/kakaopay` — 카카오페이(직접 연동) 자격 증명 세트 저장. 규칙·에러는 `upsertTossPayments`와 같다
|
|
18377
|
+
* (가맹점 식별자는 `cid`, 비밀 필드는 `secretKey`). 결제 옵션은 간편결제(`KAKAOPAY`) 하나다.
|
|
18378
|
+
*/
|
|
18379
|
+
upsertKakaoPay: (body: UpsertKakaoPayProviderRequest) => Promise<{
|
|
18380
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
18381
|
+
displayName: string;
|
|
18382
|
+
connected: boolean;
|
|
18383
|
+
enabled: boolean;
|
|
18384
|
+
priority: number | null;
|
|
18385
|
+
environment: "TEST" | "LIVE" | null;
|
|
18386
|
+
publicConfig: {
|
|
18387
|
+
clientKey: string;
|
|
18388
|
+
} | {
|
|
18389
|
+
storeId: string;
|
|
18390
|
+
channels: {
|
|
18391
|
+
channelKey: string;
|
|
18392
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
18393
|
+
name?: string | null | undefined;
|
|
18394
|
+
}[];
|
|
18395
|
+
} | {
|
|
18396
|
+
cid: string;
|
|
18397
|
+
} | {
|
|
18398
|
+
clientId: string;
|
|
18399
|
+
chainId: string;
|
|
18400
|
+
} | null;
|
|
18401
|
+
secrets: {
|
|
18402
|
+
field: string;
|
|
18403
|
+
configured: boolean;
|
|
18404
|
+
masked: string | null;
|
|
18405
|
+
}[];
|
|
18406
|
+
lastVerification: {
|
|
18407
|
+
result: "SUCCESS" | "FAILED";
|
|
18408
|
+
message: string | null;
|
|
18409
|
+
checkedAt: string;
|
|
18410
|
+
} | null;
|
|
18411
|
+
updatedAt: string | null;
|
|
18412
|
+
sandboxMode: boolean;
|
|
18413
|
+
credentialSets: {
|
|
18414
|
+
TEST: {
|
|
18415
|
+
environment: "TEST" | "LIVE";
|
|
18416
|
+
publicConfig: {
|
|
18417
|
+
clientKey: string;
|
|
18418
|
+
} | {
|
|
18419
|
+
storeId: string;
|
|
18420
|
+
channels: {
|
|
18421
|
+
channelKey: string;
|
|
18422
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
18423
|
+
name?: string | null | undefined;
|
|
18424
|
+
}[];
|
|
18425
|
+
} | {
|
|
18426
|
+
cid: string;
|
|
18427
|
+
} | {
|
|
18428
|
+
clientId: string;
|
|
18429
|
+
chainId: string;
|
|
18430
|
+
};
|
|
18431
|
+
secrets: {
|
|
18432
|
+
field: string;
|
|
18433
|
+
configured: boolean;
|
|
18434
|
+
masked: string | null;
|
|
18435
|
+
}[];
|
|
18436
|
+
lastVerification: {
|
|
18437
|
+
result: "SUCCESS" | "FAILED";
|
|
18438
|
+
message: string | null;
|
|
18439
|
+
checkedAt: string;
|
|
18440
|
+
} | null;
|
|
18441
|
+
updatedAt: string;
|
|
18442
|
+
} | null;
|
|
18443
|
+
LIVE: {
|
|
18444
|
+
environment: "TEST" | "LIVE";
|
|
18445
|
+
publicConfig: {
|
|
18446
|
+
clientKey: string;
|
|
18447
|
+
} | {
|
|
18448
|
+
storeId: string;
|
|
18449
|
+
channels: {
|
|
18450
|
+
channelKey: string;
|
|
18451
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
18452
|
+
name?: string | null | undefined;
|
|
18453
|
+
}[];
|
|
18454
|
+
} | {
|
|
18455
|
+
cid: string;
|
|
18456
|
+
} | {
|
|
18457
|
+
clientId: string;
|
|
18458
|
+
chainId: string;
|
|
18459
|
+
};
|
|
18460
|
+
secrets: {
|
|
18461
|
+
field: string;
|
|
18462
|
+
configured: boolean;
|
|
18463
|
+
masked: string | null;
|
|
18464
|
+
}[];
|
|
18465
|
+
lastVerification: {
|
|
18466
|
+
result: "SUCCESS" | "FAILED";
|
|
18467
|
+
message: string | null;
|
|
18468
|
+
checkedAt: string;
|
|
18469
|
+
} | null;
|
|
18470
|
+
updatedAt: string;
|
|
18471
|
+
} | null;
|
|
18472
|
+
};
|
|
18473
|
+
liveGate: {
|
|
18474
|
+
status: "LOCKED" | "OPEN";
|
|
18475
|
+
conditions: {
|
|
18476
|
+
code: "TEST_CONNECTION" | "SANDBOX_PAYMENT" | "SANDBOX_REFUND" | "LIVE_CONNECTION" | "PLATFORM_LIVE_ENABLED" | "NOT_TEMPLATE_STORE" | "NOT_DEVELOPMENT_STORE";
|
|
18477
|
+
met: boolean;
|
|
18478
|
+
message: string;
|
|
18479
|
+
}[];
|
|
18480
|
+
openedAt: string | null;
|
|
18481
|
+
};
|
|
18482
|
+
platformTestKeys: boolean;
|
|
18483
|
+
platformTestKeysAvailable: boolean;
|
|
18484
|
+
easyPayProviders: string[];
|
|
18485
|
+
retiredCredentialCount: number;
|
|
18486
|
+
routingExclusion: string | null;
|
|
18487
|
+
}>;
|
|
18488
|
+
/**
|
|
18489
|
+
* `PUT /v1/store/payment-providers/naverpay` — 네이버페이 결제형(직접 연동) 자격 증명 세트 저장. 규칙·에러는 `upsertTossPayments`와 같다
|
|
18490
|
+
* (가맹점 식별자는 `clientId`, 비밀 필드는 `clientSecret`). 결제 옵션은 간편결제(`NAVERPAY`) 하나다.
|
|
18491
|
+
*/
|
|
18492
|
+
upsertNaverPay: (body: UpsertNaverPayProviderRequest) => Promise<{
|
|
18493
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17280
18494
|
displayName: string;
|
|
17281
18495
|
connected: boolean;
|
|
17282
18496
|
enabled: boolean;
|
|
@@ -17291,6 +18505,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17291
18505
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17292
18506
|
name?: string | null | undefined;
|
|
17293
18507
|
}[];
|
|
18508
|
+
} | {
|
|
18509
|
+
cid: string;
|
|
18510
|
+
} | {
|
|
18511
|
+
clientId: string;
|
|
18512
|
+
chainId: string;
|
|
17294
18513
|
} | null;
|
|
17295
18514
|
secrets: {
|
|
17296
18515
|
field: string;
|
|
@@ -17316,6 +18535,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17316
18535
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17317
18536
|
name?: string | null | undefined;
|
|
17318
18537
|
}[];
|
|
18538
|
+
} | {
|
|
18539
|
+
cid: string;
|
|
18540
|
+
} | {
|
|
18541
|
+
clientId: string;
|
|
18542
|
+
chainId: string;
|
|
17319
18543
|
};
|
|
17320
18544
|
secrets: {
|
|
17321
18545
|
field: string;
|
|
@@ -17340,6 +18564,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17340
18564
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17341
18565
|
name?: string | null | undefined;
|
|
17342
18566
|
}[];
|
|
18567
|
+
} | {
|
|
18568
|
+
cid: string;
|
|
18569
|
+
} | {
|
|
18570
|
+
clientId: string;
|
|
18571
|
+
chainId: string;
|
|
17343
18572
|
};
|
|
17344
18573
|
secrets: {
|
|
17345
18574
|
field: string;
|
|
@@ -17363,6 +18592,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17363
18592
|
}[];
|
|
17364
18593
|
openedAt: string | null;
|
|
17365
18594
|
};
|
|
18595
|
+
platformTestKeys: boolean;
|
|
18596
|
+
platformTestKeysAvailable: boolean;
|
|
17366
18597
|
easyPayProviders: string[];
|
|
17367
18598
|
retiredCredentialCount: number;
|
|
17368
18599
|
routingExclusion: string | null;
|
|
@@ -17382,7 +18613,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17382
18613
|
* `sandboxMode: true`는 항상 허용되고 즉시 실결제가 멈춘다.
|
|
17383
18614
|
*/
|
|
17384
18615
|
updateProvider: (provider: PgProvider, body: UpdatePaymentProviderRequest) => Promise<{
|
|
17385
|
-
provider: "tosspayments" | "portone";
|
|
18616
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17386
18617
|
displayName: string;
|
|
17387
18618
|
connected: boolean;
|
|
17388
18619
|
enabled: boolean;
|
|
@@ -17397,6 +18628,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17397
18628
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17398
18629
|
name?: string | null | undefined;
|
|
17399
18630
|
}[];
|
|
18631
|
+
} | {
|
|
18632
|
+
cid: string;
|
|
18633
|
+
} | {
|
|
18634
|
+
clientId: string;
|
|
18635
|
+
chainId: string;
|
|
17400
18636
|
} | null;
|
|
17401
18637
|
secrets: {
|
|
17402
18638
|
field: string;
|
|
@@ -17422,6 +18658,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17422
18658
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17423
18659
|
name?: string | null | undefined;
|
|
17424
18660
|
}[];
|
|
18661
|
+
} | {
|
|
18662
|
+
cid: string;
|
|
18663
|
+
} | {
|
|
18664
|
+
clientId: string;
|
|
18665
|
+
chainId: string;
|
|
17425
18666
|
};
|
|
17426
18667
|
secrets: {
|
|
17427
18668
|
field: string;
|
|
@@ -17446,6 +18687,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17446
18687
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17447
18688
|
name?: string | null | undefined;
|
|
17448
18689
|
}[];
|
|
18690
|
+
} | {
|
|
18691
|
+
cid: string;
|
|
18692
|
+
} | {
|
|
18693
|
+
clientId: string;
|
|
18694
|
+
chainId: string;
|
|
17449
18695
|
};
|
|
17450
18696
|
secrets: {
|
|
17451
18697
|
field: string;
|
|
@@ -17469,6 +18715,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17469
18715
|
}[];
|
|
17470
18716
|
openedAt: string | null;
|
|
17471
18717
|
};
|
|
18718
|
+
platformTestKeys: boolean;
|
|
18719
|
+
platformTestKeysAvailable: boolean;
|
|
17472
18720
|
easyPayProviders: string[];
|
|
17473
18721
|
retiredCredentialCount: number;
|
|
17474
18722
|
routingExclusion: string | null;
|
|
@@ -17478,7 +18726,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17478
18726
|
* `false`(라이브 전환)는 409 `LIVE_GATE_NOT_MET`·`LIVE_PAYMENTS_DISABLED`(둘 다 `ApiError.details.conditions`)가 날 수 있다.
|
|
17479
18727
|
*/
|
|
17480
18728
|
setSandboxMode: (provider: PgProvider, sandboxMode: boolean) => Promise<{
|
|
17481
|
-
provider: "tosspayments" | "portone";
|
|
18729
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17482
18730
|
displayName: string;
|
|
17483
18731
|
connected: boolean;
|
|
17484
18732
|
enabled: boolean;
|
|
@@ -17493,6 +18741,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17493
18741
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17494
18742
|
name?: string | null | undefined;
|
|
17495
18743
|
}[];
|
|
18744
|
+
} | {
|
|
18745
|
+
cid: string;
|
|
18746
|
+
} | {
|
|
18747
|
+
clientId: string;
|
|
18748
|
+
chainId: string;
|
|
17496
18749
|
} | null;
|
|
17497
18750
|
secrets: {
|
|
17498
18751
|
field: string;
|
|
@@ -17518,6 +18771,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17518
18771
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17519
18772
|
name?: string | null | undefined;
|
|
17520
18773
|
}[];
|
|
18774
|
+
} | {
|
|
18775
|
+
cid: string;
|
|
18776
|
+
} | {
|
|
18777
|
+
clientId: string;
|
|
18778
|
+
chainId: string;
|
|
17521
18779
|
};
|
|
17522
18780
|
secrets: {
|
|
17523
18781
|
field: string;
|
|
@@ -17542,6 +18800,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17542
18800
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17543
18801
|
name?: string | null | undefined;
|
|
17544
18802
|
}[];
|
|
18803
|
+
} | {
|
|
18804
|
+
cid: string;
|
|
18805
|
+
} | {
|
|
18806
|
+
clientId: string;
|
|
18807
|
+
chainId: string;
|
|
17545
18808
|
};
|
|
17546
18809
|
secrets: {
|
|
17547
18810
|
field: string;
|
|
@@ -17565,10 +18828,38 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17565
18828
|
}[];
|
|
17566
18829
|
openedAt: string | null;
|
|
17567
18830
|
};
|
|
18831
|
+
platformTestKeys: boolean;
|
|
18832
|
+
platformTestKeysAvailable: boolean;
|
|
17568
18833
|
easyPayProviders: string[];
|
|
17569
18834
|
retiredCredentialCount: number;
|
|
17570
18835
|
routingExclusion: string | null;
|
|
17571
18836
|
}>;
|
|
18837
|
+
/**
|
|
18838
|
+
* `PUT /v1/store/payment-providers/{provider}/platform-test-keys` — 테스트모드 키 활성화. 켜면 sayren 지정 테스트 키를 TEST 세트로 저장하고 PG를 켠다
|
|
18839
|
+
* (OWNER·ADMIN, 에이전트도 쓸 수 있다). 에러: 409 `PLATFORM_TEST_KEYS_UNAVAILABLE`(그 PG의 지정 테스트 키가 없다)
|
|
18840
|
+
*/
|
|
18841
|
+
setPlatformTestKeys: (provider: PgProvider, enabled: boolean) => Promise<{
|
|
18842
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
18843
|
+
displayName: string;
|
|
18844
|
+
connected: boolean;
|
|
18845
|
+
enabled: boolean;
|
|
18846
|
+
environment: "TEST" | "LIVE" | null;
|
|
18847
|
+
platformTestKeys: boolean;
|
|
18848
|
+
platformTestKeysAvailable: boolean;
|
|
18849
|
+
}>;
|
|
18850
|
+
/** `GET /v1/store/payment-status` — 지원 PG와 연결·사용·테스트모드 키 상태(비밀 값 없음, OWNER·ADMIN·에이전트) */
|
|
18851
|
+
status: () => Promise<{
|
|
18852
|
+
environment: "TEST" | "LIVE" | null;
|
|
18853
|
+
providers: {
|
|
18854
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
18855
|
+
displayName: string;
|
|
18856
|
+
connected: boolean;
|
|
18857
|
+
enabled: boolean;
|
|
18858
|
+
environment: "TEST" | "LIVE" | null;
|
|
18859
|
+
platformTestKeys: boolean;
|
|
18860
|
+
platformTestKeysAvailable: boolean;
|
|
18861
|
+
}[];
|
|
18862
|
+
}>;
|
|
17572
18863
|
/**
|
|
17573
18864
|
* `DELETE /v1/store/payment-providers/{provider}` (204) — 연결 해제. 결제 이력과 무관하게 허용된다.
|
|
17574
18865
|
* 모든 세트는 보관되고 PG 설정에서 사라진다. 이미 받은 결제의 취소·환불·대사는 보관된 자격 증명으로 계속 처리된다.
|
|
@@ -17583,7 +18874,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17583
18874
|
* 409 `PAYMENT_CREDENTIAL_ACTIVE`(지금 결제에 쓰는 세트. 먼저 `setSandboxMode`로 스위치를 바꾼다)
|
|
17584
18875
|
*/
|
|
17585
18876
|
removeCredentialSet: (provider: PgProvider, environment: PgEnvironment) => Promise<{
|
|
17586
|
-
provider: "tosspayments" | "portone";
|
|
18877
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17587
18878
|
displayName: string;
|
|
17588
18879
|
connected: boolean;
|
|
17589
18880
|
enabled: boolean;
|
|
@@ -17598,6 +18889,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17598
18889
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17599
18890
|
name?: string | null | undefined;
|
|
17600
18891
|
}[];
|
|
18892
|
+
} | {
|
|
18893
|
+
cid: string;
|
|
18894
|
+
} | {
|
|
18895
|
+
clientId: string;
|
|
18896
|
+
chainId: string;
|
|
17601
18897
|
} | null;
|
|
17602
18898
|
secrets: {
|
|
17603
18899
|
field: string;
|
|
@@ -17623,6 +18919,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17623
18919
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17624
18920
|
name?: string | null | undefined;
|
|
17625
18921
|
}[];
|
|
18922
|
+
} | {
|
|
18923
|
+
cid: string;
|
|
18924
|
+
} | {
|
|
18925
|
+
clientId: string;
|
|
18926
|
+
chainId: string;
|
|
17626
18927
|
};
|
|
17627
18928
|
secrets: {
|
|
17628
18929
|
field: string;
|
|
@@ -17647,6 +18948,11 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17647
18948
|
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
17648
18949
|
name?: string | null | undefined;
|
|
17649
18950
|
}[];
|
|
18951
|
+
} | {
|
|
18952
|
+
cid: string;
|
|
18953
|
+
} | {
|
|
18954
|
+
clientId: string;
|
|
18955
|
+
chainId: string;
|
|
17650
18956
|
};
|
|
17651
18957
|
secrets: {
|
|
17652
18958
|
field: string;
|
|
@@ -17670,6 +18976,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17670
18976
|
}[];
|
|
17671
18977
|
openedAt: string | null;
|
|
17672
18978
|
};
|
|
18979
|
+
platformTestKeys: boolean;
|
|
18980
|
+
platformTestKeysAvailable: boolean;
|
|
17673
18981
|
easyPayProviders: string[];
|
|
17674
18982
|
retiredCredentialCount: number;
|
|
17675
18983
|
routingExclusion: string | null;
|
|
@@ -17680,7 +18988,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17680
18988
|
* 라이브 개방 조건 `TEST_CONNECTION`·`LIVE_CONNECTION`은 이 결과로 판정한다. 404 `PAYMENT_PROVIDER_NOT_FOUND`.
|
|
17681
18989
|
*/
|
|
17682
18990
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
17683
|
-
provider: "tosspayments" | "portone";
|
|
18991
|
+
provider: "tosspayments" | "portone" | "kakaopay" | "naverpay";
|
|
17684
18992
|
environment: "TEST" | "LIVE";
|
|
17685
18993
|
result: "SUCCESS" | "FAILED";
|
|
17686
18994
|
message: string | null;
|
|
@@ -18846,9 +20154,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18846
20154
|
toolCallId: string;
|
|
18847
20155
|
name: string;
|
|
18848
20156
|
label: string;
|
|
18849
|
-
status: "
|
|
20157
|
+
status: "error" | "unknown" | "ok";
|
|
18850
20158
|
summary: string | null;
|
|
18851
|
-
activity?: "
|
|
20159
|
+
activity?: "check" | "shipping" | "status" | "category" | "code" | "brief" | "files" | "version" | "preview" | "template" | "site" | "info" | "upload" | "design" | "product" | "verify" | undefined;
|
|
18852
20160
|
target?: string | undefined;
|
|
18853
20161
|
changes?: {
|
|
18854
20162
|
path: string;
|
|
@@ -18866,10 +20174,26 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18866
20174
|
options: {
|
|
18867
20175
|
label: string;
|
|
18868
20176
|
value: string;
|
|
20177
|
+
templateId?: string | undefined;
|
|
20178
|
+
shopType?: "MOBILE" | "BASIC" | "INTERACTIVE" | "STORYTELLING" | "CATALOG" | "LOOKBOOK" | undefined;
|
|
20179
|
+
boardFile?: string | undefined;
|
|
18869
20180
|
}[];
|
|
18870
20181
|
} | {
|
|
18871
20182
|
type: "business_form";
|
|
18872
20183
|
question: string;
|
|
20184
|
+
} | {
|
|
20185
|
+
type: "setup_confirm";
|
|
20186
|
+
items: {
|
|
20187
|
+
label: string;
|
|
20188
|
+
value: string;
|
|
20189
|
+
}[];
|
|
20190
|
+
templateId?: string | undefined;
|
|
20191
|
+
} | {
|
|
20192
|
+
type: "design_confirm";
|
|
20193
|
+
boards: {
|
|
20194
|
+
file: string;
|
|
20195
|
+
title: string;
|
|
20196
|
+
}[];
|
|
18873
20197
|
} | {
|
|
18874
20198
|
type: "attachment";
|
|
18875
20199
|
attachment: {
|
|
@@ -18877,6 +20201,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18877
20201
|
name: string;
|
|
18878
20202
|
mediaType: string;
|
|
18879
20203
|
};
|
|
20204
|
+
} | {
|
|
20205
|
+
type: "design_selection";
|
|
20206
|
+
selection: {
|
|
20207
|
+
file: string;
|
|
20208
|
+
title: string;
|
|
20209
|
+
};
|
|
18880
20210
|
} | {
|
|
18881
20211
|
type: "approval";
|
|
18882
20212
|
approvalId: string;
|
|
@@ -18899,13 +20229,14 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18899
20229
|
text: string;
|
|
18900
20230
|
} | {
|
|
18901
20231
|
type: "phase";
|
|
18902
|
-
phase: "STORE" | "STRUCTURE" | "ENVIRONMENT" | "BUILD" | "DONE";
|
|
20232
|
+
phase: "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "BUILD" | "DONE";
|
|
18903
20233
|
} | {
|
|
18904
20234
|
type: "todos";
|
|
18905
20235
|
todos: {
|
|
18906
20236
|
content: string;
|
|
18907
20237
|
status: "pending" | "in_progress" | "completed";
|
|
18908
20238
|
id?: string | undefined;
|
|
20239
|
+
phase?: "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "BUILD" | "DONE" | undefined;
|
|
18909
20240
|
}[];
|
|
18910
20241
|
})[];
|
|
18911
20242
|
runId: string | null;
|