@sayren/store-sdk 0.39.0 → 0.41.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 +498 -401
- package/dist/index.mjs +62 -356
- package/dist/server.d.mts +2 -2
- package/dist/server.mjs +2 -2
- package/dist/webhook-headers-D974dE4T.mjs +359 -0
- package/package.json +1 -1
- package/src/client.ts +17 -7
- package/src/http.ts +8 -1
- package/src/index.ts +2 -0
- package/src/member-delegation.ts +21 -17
- package/src/schemas/ai.ts +62 -10
- package/src/schemas/payment.ts +1 -1
- package/src/schemas/storefront-hosting.ts +6 -3
- package/src/session.ts +8 -5
- package/dist/webhook-headers-ap_exsb9.mjs +0 -22
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
|
-
DENIED: "DENIED";
|
|
169
168
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
169
|
+
DENIED: "DENIED";
|
|
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
|
-
DENIED: "DENIED";
|
|
195
194
|
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
|
+
DENIED: "DENIED";
|
|
196
196
|
ALLOW: "ALLOW";
|
|
197
197
|
}>;
|
|
198
198
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -215,25 +215,25 @@ export declare const writeDryRunResultSchema: z.ZodObject<{
|
|
|
215
215
|
}, z.core.$strip>;
|
|
216
216
|
export type WriteDryRunResult = z.infer<typeof writeDryRunResultSchema>;
|
|
217
217
|
export declare const approvalStatusSchema: z.ZodEnum<{
|
|
218
|
-
FAILED: "FAILED";
|
|
219
|
-
EXPIRED: "EXPIRED";
|
|
220
|
-
UNKNOWN: "UNKNOWN";
|
|
221
218
|
PENDING: "PENDING";
|
|
219
|
+
FAILED: "FAILED";
|
|
222
220
|
SUCCEEDED: "SUCCEEDED";
|
|
223
221
|
EXECUTING: "EXECUTING";
|
|
222
|
+
UNKNOWN: "UNKNOWN";
|
|
224
223
|
REJECTED: "REJECTED";
|
|
224
|
+
EXPIRED: "EXPIRED";
|
|
225
225
|
}>;
|
|
226
226
|
export type ApprovalStatus = z.infer<typeof approvalStatusSchema>;
|
|
227
227
|
export declare const approvalRequestSchema: z.ZodObject<{
|
|
228
228
|
approvalId: z.ZodString;
|
|
229
229
|
status: z.ZodEnum<{
|
|
230
|
-
FAILED: "FAILED";
|
|
231
|
-
EXPIRED: "EXPIRED";
|
|
232
|
-
UNKNOWN: "UNKNOWN";
|
|
233
230
|
PENDING: "PENDING";
|
|
231
|
+
FAILED: "FAILED";
|
|
234
232
|
SUCCEEDED: "SUCCEEDED";
|
|
235
233
|
EXECUTING: "EXECUTING";
|
|
234
|
+
UNKNOWN: "UNKNOWN";
|
|
236
235
|
REJECTED: "REJECTED";
|
|
236
|
+
EXPIRED: "EXPIRED";
|
|
237
237
|
}>;
|
|
238
238
|
operationId: z.ZodString;
|
|
239
239
|
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -291,13 +291,13 @@ export declare const approvalRequestSchema: z.ZodObject<{
|
|
|
291
291
|
export type ApprovalRequest = z.infer<typeof approvalRequestSchema>;
|
|
292
292
|
export declare const approvalListQuerySchema: z.ZodObject<{
|
|
293
293
|
status: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<{
|
|
294
|
-
FAILED: "FAILED";
|
|
295
|
-
EXPIRED: "EXPIRED";
|
|
296
|
-
UNKNOWN: "UNKNOWN";
|
|
297
294
|
PENDING: "PENDING";
|
|
295
|
+
FAILED: "FAILED";
|
|
298
296
|
SUCCEEDED: "SUCCEEDED";
|
|
299
297
|
EXECUTING: "EXECUTING";
|
|
298
|
+
UNKNOWN: "UNKNOWN";
|
|
300
299
|
REJECTED: "REJECTED";
|
|
300
|
+
EXPIRED: "EXPIRED";
|
|
301
301
|
}>>>>;
|
|
302
302
|
cursor: z.ZodOptional<z.ZodString>;
|
|
303
303
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -310,13 +310,13 @@ export declare const approvalPageSchema: z.ZodObject<{
|
|
|
310
310
|
items: z.ZodArray<z.ZodObject<{
|
|
311
311
|
approvalId: z.ZodString;
|
|
312
312
|
status: z.ZodEnum<{
|
|
313
|
-
FAILED: "FAILED";
|
|
314
|
-
EXPIRED: "EXPIRED";
|
|
315
|
-
UNKNOWN: "UNKNOWN";
|
|
316
313
|
PENDING: "PENDING";
|
|
314
|
+
FAILED: "FAILED";
|
|
317
315
|
SUCCEEDED: "SUCCEEDED";
|
|
318
316
|
EXECUTING: "EXECUTING";
|
|
317
|
+
UNKNOWN: "UNKNOWN";
|
|
319
318
|
REJECTED: "REJECTED";
|
|
319
|
+
EXPIRED: "EXPIRED";
|
|
320
320
|
}>;
|
|
321
321
|
operationId: z.ZodString;
|
|
322
322
|
operationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -424,6 +424,10 @@ export declare class ApprovalPendingError extends Error {
|
|
|
424
424
|
type TokenSource = string | null | undefined | (() => string | null | undefined);
|
|
425
425
|
type Query = Record<string, string | number | boolean | undefined>;
|
|
426
426
|
export declare function buildQuery(query?: Query): string;
|
|
427
|
+
/** 운영 관리 API 주소(버전 경로 포함) — 클라이언트·세션의 `baseUrl` 기본값. 개발·로컬에서만 지정한다 */
|
|
428
|
+
export declare const SAYREN_API_BASE_URL = "https://api.sayren.io/v1";
|
|
429
|
+
/** 운영 api 오리진 — 경로를 스스로 붙이는 함수(`delegateMember`)의 `baseUrl` 기본값 */
|
|
430
|
+
export declare const SAYREN_API_ORIGIN = "https://api.sayren.io";
|
|
427
431
|
//#endregion
|
|
428
432
|
//#region src/schemas/ai.d.ts
|
|
429
433
|
/**
|
|
@@ -460,11 +464,11 @@ export declare const aiPreviewSelectionSchema: z.ZodObject<{
|
|
|
460
464
|
export type AiPreviewSelection = z.infer<typeof aiPreviewSelectionSchema>;
|
|
461
465
|
/** 실행 상태 — 끝난 상태는 `DONE`·`FAILED`·`CANCELLED`다 */
|
|
462
466
|
export declare const aiRunStatusSchema: z.ZodEnum<{
|
|
463
|
-
|
|
464
|
-
RUNNING: "RUNNING";
|
|
467
|
+
FAILED: "FAILED";
|
|
465
468
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
466
469
|
DONE: "DONE";
|
|
467
|
-
|
|
470
|
+
QUEUED: "QUEUED";
|
|
471
|
+
RUNNING: "RUNNING";
|
|
468
472
|
CANCELLED: "CANCELLED";
|
|
469
473
|
}>;
|
|
470
474
|
export type AiRunStatus = z.infer<typeof aiRunStatusSchema>;
|
|
@@ -479,11 +483,11 @@ export type AiStreamAccess = z.infer<typeof aiStreamAccessSchema>;
|
|
|
479
483
|
export declare const aiRunSchema: z.ZodObject<{
|
|
480
484
|
id: z.ZodString;
|
|
481
485
|
status: z.ZodEnum<{
|
|
482
|
-
|
|
483
|
-
RUNNING: "RUNNING";
|
|
486
|
+
FAILED: "FAILED";
|
|
484
487
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
485
488
|
DONE: "DONE";
|
|
486
|
-
|
|
489
|
+
QUEUED: "QUEUED";
|
|
490
|
+
RUNNING: "RUNNING";
|
|
487
491
|
CANCELLED: "CANCELLED";
|
|
488
492
|
}>;
|
|
489
493
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -495,27 +499,32 @@ export type AiRun = z.infer<typeof aiRunSchema>;
|
|
|
495
499
|
* AI가 지금 하는 일의 종류 — 도구 이름·operationId·파일 경로로 서버가 정한다(상점 만들기 진행 화면이 아이콘·문구를 고른다). 정하지 못한 도구는 없다
|
|
496
500
|
*/
|
|
497
501
|
export declare const aiActivitySchema: z.ZodEnum<{
|
|
498
|
-
|
|
502
|
+
code: "code";
|
|
499
503
|
status: "status";
|
|
504
|
+
check: "check";
|
|
505
|
+
version: "version";
|
|
506
|
+
shipping: "shipping";
|
|
507
|
+
category: "category";
|
|
500
508
|
brief: "brief";
|
|
509
|
+
files: "files";
|
|
510
|
+
preview: "preview";
|
|
501
511
|
template: "template";
|
|
502
512
|
site: "site";
|
|
503
513
|
info: "info";
|
|
504
|
-
shipping: "shipping";
|
|
505
514
|
upload: "upload";
|
|
506
515
|
design: "design";
|
|
507
|
-
category: "category";
|
|
508
516
|
product: "product";
|
|
509
|
-
files: "files";
|
|
510
|
-
code: "code";
|
|
511
517
|
verify: "verify";
|
|
512
|
-
version: "version";
|
|
513
|
-
preview: "preview";
|
|
514
518
|
}>;
|
|
515
519
|
export type AiActivity = z.infer<typeof aiActivitySchema>;
|
|
520
|
+
/** 바뀐 줄 미리보기 한 줄의 최대 길이 — 서버가 이 길이로 자르고 화면은 이보다 긴 줄을 앞부분으로 비교한다 */
|
|
521
|
+
export declare const AI_TOOL_CHANGE_LINE_MAX = 300;
|
|
522
|
+
/** 바뀐 줄 범위(`lines`) 개수 상한 */
|
|
523
|
+
export declare const AI_TOOL_CHANGE_RANGES_MAX = 200;
|
|
516
524
|
/**
|
|
517
525
|
* 도구가 바꾼 파일 하나(2026-10-13, AI 상점 도우미 작업 공간의 수정 중인 코드) — 서버가 도구 입력으로 계산한다.
|
|
518
|
-
* `edit`는 바꾼 부분의 줄 비교, `write`는 새로 쓴 내용(이전 내용을 모르므로 모두 추가로 센다). `preview`는 바뀐 줄 앞부분 12
|
|
526
|
+
* `edit`는 바꾼 부분의 줄 비교, `write`는 새로 쓴 내용(이전 내용을 모르므로 모두 추가로 센다). `preview`는 바뀐 줄 앞부분 12줄까지다.
|
|
527
|
+
* `lines`는 바꾼 뒤 파일에서 추가된 줄의 범위(1부터, 양끝 포함)다 — `edit`가 성공한 뒤에만 실행기가 채운다(옛 기록·`write`에는 없다)
|
|
519
528
|
*/
|
|
520
529
|
export declare const aiToolChangeSchema: z.ZodObject<{
|
|
521
530
|
path: z.ZodString;
|
|
@@ -532,6 +541,7 @@ export declare const aiToolChangeSchema: z.ZodObject<{
|
|
|
532
541
|
}>;
|
|
533
542
|
text: z.ZodString;
|
|
534
543
|
}, z.core.$strip>>;
|
|
544
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
535
545
|
}, z.core.$strip>;
|
|
536
546
|
export type AiToolChange = z.infer<typeof aiToolChangeSchema>;
|
|
537
547
|
/**
|
|
@@ -540,24 +550,36 @@ export type AiToolChange = z.infer<typeof aiToolChangeSchema>;
|
|
|
540
550
|
*/
|
|
541
551
|
export declare const AI_AGENT_PHASES: readonly ["STORE", "STRUCTURE", "DESIGN", "ENVIRONMENT", "BUILD", "DONE"];
|
|
542
552
|
export declare const aiAgentPhaseSchema: z.ZodEnum<{
|
|
543
|
-
DONE: "DONE";
|
|
544
553
|
STORE: "STORE";
|
|
545
554
|
STRUCTURE: "STRUCTURE";
|
|
546
555
|
DESIGN: "DESIGN";
|
|
547
556
|
ENVIRONMENT: "ENVIRONMENT";
|
|
548
557
|
BUILD: "BUILD";
|
|
558
|
+
DONE: "DONE";
|
|
549
559
|
}>;
|
|
550
560
|
export type AiAgentPhase = z.infer<typeof aiAgentPhaseSchema>;
|
|
551
561
|
/**
|
|
552
|
-
* AI 상점 도우미의 작업 메모 폴더(2026-10-14) — 회차마다 읽는 숨은 규칙(`rules.md`)과 디자인 계획(`design.md`).
|
|
553
|
-
*
|
|
562
|
+
* AI 상점 도우미의 작업 메모 폴더(2026-10-14) — 회차마다 읽는 숨은 규칙(`rules.md`)과 디자인 계획(`design.md`). 편집 Sandbox가 점(.)으로 시작하는
|
|
563
|
+
* 경로를 받지 않아 작업 트리의 `src` 아래에 둔다(앱이 import하지 않는 문서라 빌드에 들어가지 않는다). 숨은 규칙은 셀러 화면(타임라인·코드 탭·변경 기록)에
|
|
564
|
+
* 보이지 않는다. 디자인 계획은 2026-10-24부터 셀러 문서(작업 공간 문서 탭의 「디자인 가이드라인」)라 숨기지 않는다(`AI_DESIGN_GUIDE_PATH`)
|
|
554
565
|
*/
|
|
555
566
|
export declare const AI_AGENT_NOTES_DIR = "src/site/agent";
|
|
567
|
+
/** 디자인 가이드라인(디자인 계획) — 작업 메모 폴더에 있지만 셀러가 읽는 문서다 */
|
|
568
|
+
export declare const AI_DESIGN_GUIDE_PATH = "src/site/agent/design.md";
|
|
569
|
+
/** 사이트맵 — 에이전트가 쓰는 화면 구성 문서(`{version:1,pages:[…]}`) */
|
|
570
|
+
export declare const AI_SITEMAP_PATH = "src/site/sitemap.json";
|
|
571
|
+
/** 작업 공간 문서 탭의 문서 파일인가(사이트맵·디자인 가이드라인) — 앱 코드가 아니라서 코드 탭·미리보기 점검·코드 변경 판정에서 뺀다 */
|
|
572
|
+
export declare function isAiWorkspaceDocPath(path: string): boolean;
|
|
573
|
+
/** 「이어서 진행」 버튼(실패한 실행 잇기)이 보내는 선택 값 — 선택지 답처럼 같은 할 일 목록을 잇는다 */
|
|
574
|
+
export declare const AI_RUN_RESUME_CHOICE = "run:resume";
|
|
556
575
|
/**
|
|
557
576
|
* 에이전트의 할 일 목록(2026-10-14, Claude Code의 TaskCreate·TaskUpdate·TaskList와 같다) — 에이전트가 패널 도구로 할 일을 만들고 상태를 바꾼다.
|
|
558
|
-
* 이벤트·조각은 그 시점의 목록 전체이고 작업 공간
|
|
577
|
+
* 이벤트·조각은 그 시점의 목록 전체이고 작업 공간 로드맵 탭이 마지막 목록을 칸반으로 그린다. 진행중은 한 번에 하나다.
|
|
578
|
+
* 목록은 셀러 요청 하나(사이클)의 일이다 — 새 요청이면 빈 목록에서 시작하고 선택지 답이면 잇는다(2026-10-24). 개수 상한은 없다
|
|
579
|
+
* (옛 30개 상한은 대화 전체에 할 일이 쌓여 넘쳤다 — 크기는 사이클 범위가, 폭주는 턴 예산이 막는다).
|
|
580
|
+
* `blocked`는 같은 문제를 거듭 고쳐도 남아 멈춘 일이고 `note`가 그 사유다(이어 가기 리마인더가 남은 일로 세지 않는다)
|
|
559
581
|
*/
|
|
560
|
-
export declare const AI_TODO_STATUSES: readonly ["pending", "in_progress", "completed"];
|
|
582
|
+
export declare const AI_TODO_STATUSES: readonly ["pending", "in_progress", "completed", "blocked"];
|
|
561
583
|
export declare const aiTodoSchema: z.ZodObject<{
|
|
562
584
|
id: z.ZodOptional<z.ZodString>;
|
|
563
585
|
content: z.ZodString;
|
|
@@ -565,18 +587,22 @@ export declare const aiTodoSchema: z.ZodObject<{
|
|
|
565
587
|
pending: "pending";
|
|
566
588
|
in_progress: "in_progress";
|
|
567
589
|
completed: "completed";
|
|
590
|
+
blocked: "blocked";
|
|
568
591
|
}>;
|
|
569
592
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
570
|
-
DONE: "DONE";
|
|
571
593
|
STORE: "STORE";
|
|
572
594
|
STRUCTURE: "STRUCTURE";
|
|
573
595
|
DESIGN: "DESIGN";
|
|
574
596
|
ENVIRONMENT: "ENVIRONMENT";
|
|
575
597
|
BUILD: "BUILD";
|
|
598
|
+
DONE: "DONE";
|
|
576
599
|
}>>;
|
|
600
|
+
note: z.ZodOptional<z.ZodString>;
|
|
577
601
|
}, z.core.$strip>;
|
|
578
602
|
export type AiTodo = z.infer<typeof aiTodoSchema>;
|
|
603
|
+
/** @deprecated 할 일 개수 상한은 없앴다(2026-10-24). 공개 export라 값만 남긴다 */
|
|
579
604
|
export declare const AI_TODOS_MAX = 30;
|
|
605
|
+
/** 셀러에게 보이지 않는 작업 메모인가 — 작업 메모 폴더에서 디자인 가이드라인을 뺀 나머지다 */
|
|
580
606
|
export declare function isAiAgentNotesPath(path: string): boolean;
|
|
581
607
|
/**
|
|
582
608
|
* 디자인 아트보드 폴더(2026-10-14 사용자 결정, Claude Code Design 캔버스의 파일 계약을 옮겼다) — DESIGN 단계에 에이전트가 쓰는 자기완결 HTML 아트보드와
|
|
@@ -600,8 +626,8 @@ export declare const aiDesignBoardSchema: z.ZodObject<{
|
|
|
600
626
|
file: z.ZodString;
|
|
601
627
|
title: z.ZodString;
|
|
602
628
|
kind: z.ZodEnum<{
|
|
603
|
-
direction: "direction";
|
|
604
629
|
page: "page";
|
|
630
|
+
direction: "direction";
|
|
605
631
|
scene: "scene";
|
|
606
632
|
}>;
|
|
607
633
|
viewport: z.ZodDefault<z.ZodEnum<{
|
|
@@ -623,8 +649,8 @@ export declare const aiDesignCanvasSchema: z.ZodObject<{
|
|
|
623
649
|
file: z.ZodString;
|
|
624
650
|
title: z.ZodString;
|
|
625
651
|
kind: z.ZodEnum<{
|
|
626
|
-
direction: "direction";
|
|
627
652
|
page: "page";
|
|
653
|
+
direction: "direction";
|
|
628
654
|
scene: "scene";
|
|
629
655
|
}>;
|
|
630
656
|
viewport: z.ZodDefault<z.ZodEnum<{
|
|
@@ -650,10 +676,10 @@ export type AiDesignSelection = z.infer<typeof aiDesignSelectionSchema>;
|
|
|
650
676
|
/** 쇼핑몰 형태(#124, 2026-10-13) — 템플릿은 basic 하나이고 형태는 에이전트에게 주는 화면 구성 지시다 */
|
|
651
677
|
export declare const STORE_SHOP_TYPES: readonly ["BASIC", "INTERACTIVE", "STORYTELLING", "MOBILE", "CATALOG", "LOOKBOOK"];
|
|
652
678
|
export declare const storeShopTypeSchema: z.ZodEnum<{
|
|
679
|
+
MOBILE: "MOBILE";
|
|
653
680
|
BASIC: "BASIC";
|
|
654
681
|
INTERACTIVE: "INTERACTIVE";
|
|
655
682
|
STORYTELLING: "STORYTELLING";
|
|
656
|
-
MOBILE: "MOBILE";
|
|
657
683
|
CATALOG: "CATALOG";
|
|
658
684
|
LOOKBOOK: "LOOKBOOK";
|
|
659
685
|
}>;
|
|
@@ -666,10 +692,10 @@ export declare const aiChoiceOptionSchema: z.ZodObject<{
|
|
|
666
692
|
value: z.ZodString;
|
|
667
693
|
templateId: z.ZodOptional<z.ZodString>;
|
|
668
694
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
695
|
+
MOBILE: "MOBILE";
|
|
669
696
|
BASIC: "BASIC";
|
|
670
697
|
INTERACTIVE: "INTERACTIVE";
|
|
671
698
|
STORYTELLING: "STORYTELLING";
|
|
672
|
-
MOBILE: "MOBILE";
|
|
673
699
|
CATALOG: "CATALOG";
|
|
674
700
|
LOOKBOOK: "LOOKBOOK";
|
|
675
701
|
}>>;
|
|
@@ -715,34 +741,35 @@ export declare const AI_DESIGN_CONFIRM_APPROVE = "design:approve";
|
|
|
715
741
|
export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
716
742
|
type: z.ZodLiteral<"text">;
|
|
717
743
|
text: z.ZodString;
|
|
744
|
+
choice: z.ZodOptional<z.ZodString>;
|
|
718
745
|
}, z.core.$strip>, z.ZodObject<{
|
|
719
746
|
type: z.ZodLiteral<"tool">;
|
|
720
747
|
toolCallId: z.ZodString;
|
|
721
748
|
name: z.ZodString;
|
|
722
749
|
label: z.ZodString;
|
|
723
750
|
status: z.ZodEnum<{
|
|
724
|
-
error: "error";
|
|
725
751
|
unknown: "unknown";
|
|
752
|
+
error: "error";
|
|
726
753
|
ok: "ok";
|
|
727
754
|
}>;
|
|
728
755
|
summary: z.ZodNullable<z.ZodString>;
|
|
729
756
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
730
|
-
|
|
757
|
+
code: "code";
|
|
731
758
|
status: "status";
|
|
759
|
+
check: "check";
|
|
760
|
+
version: "version";
|
|
761
|
+
shipping: "shipping";
|
|
762
|
+
category: "category";
|
|
732
763
|
brief: "brief";
|
|
764
|
+
files: "files";
|
|
765
|
+
preview: "preview";
|
|
733
766
|
template: "template";
|
|
734
767
|
site: "site";
|
|
735
768
|
info: "info";
|
|
736
|
-
shipping: "shipping";
|
|
737
769
|
upload: "upload";
|
|
738
770
|
design: "design";
|
|
739
|
-
category: "category";
|
|
740
771
|
product: "product";
|
|
741
|
-
files: "files";
|
|
742
|
-
code: "code";
|
|
743
772
|
verify: "verify";
|
|
744
|
-
version: "version";
|
|
745
|
-
preview: "preview";
|
|
746
773
|
}>>;
|
|
747
774
|
target: z.ZodOptional<z.ZodString>;
|
|
748
775
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -760,6 +787,7 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
760
787
|
}>;
|
|
761
788
|
text: z.ZodString;
|
|
762
789
|
}, z.core.$strip>>;
|
|
790
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
763
791
|
}, z.core.$strip>>>;
|
|
764
792
|
}, z.core.$strip>, z.ZodObject<{
|
|
765
793
|
type: z.ZodLiteral<"choices">;
|
|
@@ -769,10 +797,10 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
769
797
|
value: z.ZodString;
|
|
770
798
|
templateId: z.ZodOptional<z.ZodString>;
|
|
771
799
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
800
|
+
MOBILE: "MOBILE";
|
|
772
801
|
BASIC: "BASIC";
|
|
773
802
|
INTERACTIVE: "INTERACTIVE";
|
|
774
803
|
STORYTELLING: "STORYTELLING";
|
|
775
|
-
MOBILE: "MOBILE";
|
|
776
804
|
CATALOG: "CATALOG";
|
|
777
805
|
LOOKBOOK: "LOOKBOOK";
|
|
778
806
|
}>>;
|
|
@@ -830,12 +858,12 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
830
858
|
}, z.core.$strip>, z.ZodObject<{
|
|
831
859
|
type: z.ZodLiteral<"phase">;
|
|
832
860
|
phase: z.ZodEnum<{
|
|
833
|
-
DONE: "DONE";
|
|
834
861
|
STORE: "STORE";
|
|
835
862
|
STRUCTURE: "STRUCTURE";
|
|
836
863
|
DESIGN: "DESIGN";
|
|
837
864
|
ENVIRONMENT: "ENVIRONMENT";
|
|
838
865
|
BUILD: "BUILD";
|
|
866
|
+
DONE: "DONE";
|
|
839
867
|
}>;
|
|
840
868
|
}, z.core.$strip>, z.ZodObject<{
|
|
841
869
|
type: z.ZodLiteral<"todos">;
|
|
@@ -846,15 +874,17 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
846
874
|
pending: "pending";
|
|
847
875
|
in_progress: "in_progress";
|
|
848
876
|
completed: "completed";
|
|
877
|
+
blocked: "blocked";
|
|
849
878
|
}>;
|
|
850
879
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
851
|
-
DONE: "DONE";
|
|
852
880
|
STORE: "STORE";
|
|
853
881
|
STRUCTURE: "STRUCTURE";
|
|
854
882
|
DESIGN: "DESIGN";
|
|
855
883
|
ENVIRONMENT: "ENVIRONMENT";
|
|
856
884
|
BUILD: "BUILD";
|
|
885
|
+
DONE: "DONE";
|
|
857
886
|
}>>;
|
|
887
|
+
note: z.ZodOptional<z.ZodString>;
|
|
858
888
|
}, z.core.$strip>>;
|
|
859
889
|
}, z.core.$strip>], "type">;
|
|
860
890
|
export type AiMessagePart = z.infer<typeof aiMessagePartSchema>;
|
|
@@ -867,34 +897,35 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
867
897
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
868
898
|
type: z.ZodLiteral<"text">;
|
|
869
899
|
text: z.ZodString;
|
|
900
|
+
choice: z.ZodOptional<z.ZodString>;
|
|
870
901
|
}, z.core.$strip>, z.ZodObject<{
|
|
871
902
|
type: z.ZodLiteral<"tool">;
|
|
872
903
|
toolCallId: z.ZodString;
|
|
873
904
|
name: z.ZodString;
|
|
874
905
|
label: z.ZodString;
|
|
875
906
|
status: z.ZodEnum<{
|
|
876
|
-
error: "error";
|
|
877
907
|
unknown: "unknown";
|
|
908
|
+
error: "error";
|
|
878
909
|
ok: "ok";
|
|
879
910
|
}>;
|
|
880
911
|
summary: z.ZodNullable<z.ZodString>;
|
|
881
912
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
882
|
-
|
|
913
|
+
code: "code";
|
|
883
914
|
status: "status";
|
|
915
|
+
check: "check";
|
|
916
|
+
version: "version";
|
|
917
|
+
shipping: "shipping";
|
|
918
|
+
category: "category";
|
|
884
919
|
brief: "brief";
|
|
920
|
+
files: "files";
|
|
921
|
+
preview: "preview";
|
|
885
922
|
template: "template";
|
|
886
923
|
site: "site";
|
|
887
924
|
info: "info";
|
|
888
|
-
shipping: "shipping";
|
|
889
925
|
upload: "upload";
|
|
890
926
|
design: "design";
|
|
891
|
-
category: "category";
|
|
892
927
|
product: "product";
|
|
893
|
-
files: "files";
|
|
894
|
-
code: "code";
|
|
895
928
|
verify: "verify";
|
|
896
|
-
version: "version";
|
|
897
|
-
preview: "preview";
|
|
898
929
|
}>>;
|
|
899
930
|
target: z.ZodOptional<z.ZodString>;
|
|
900
931
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -912,6 +943,7 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
912
943
|
}>;
|
|
913
944
|
text: z.ZodString;
|
|
914
945
|
}, z.core.$strip>>;
|
|
946
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
915
947
|
}, z.core.$strip>>>;
|
|
916
948
|
}, z.core.$strip>, z.ZodObject<{
|
|
917
949
|
type: z.ZodLiteral<"choices">;
|
|
@@ -921,10 +953,10 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
921
953
|
value: z.ZodString;
|
|
922
954
|
templateId: z.ZodOptional<z.ZodString>;
|
|
923
955
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
956
|
+
MOBILE: "MOBILE";
|
|
924
957
|
BASIC: "BASIC";
|
|
925
958
|
INTERACTIVE: "INTERACTIVE";
|
|
926
959
|
STORYTELLING: "STORYTELLING";
|
|
927
|
-
MOBILE: "MOBILE";
|
|
928
960
|
CATALOG: "CATALOG";
|
|
929
961
|
LOOKBOOK: "LOOKBOOK";
|
|
930
962
|
}>>;
|
|
@@ -982,12 +1014,12 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
982
1014
|
}, z.core.$strip>, z.ZodObject<{
|
|
983
1015
|
type: z.ZodLiteral<"phase">;
|
|
984
1016
|
phase: z.ZodEnum<{
|
|
985
|
-
DONE: "DONE";
|
|
986
1017
|
STORE: "STORE";
|
|
987
1018
|
STRUCTURE: "STRUCTURE";
|
|
988
1019
|
DESIGN: "DESIGN";
|
|
989
1020
|
ENVIRONMENT: "ENVIRONMENT";
|
|
990
1021
|
BUILD: "BUILD";
|
|
1022
|
+
DONE: "DONE";
|
|
991
1023
|
}>;
|
|
992
1024
|
}, z.core.$strip>, z.ZodObject<{
|
|
993
1025
|
type: z.ZodLiteral<"todos">;
|
|
@@ -998,15 +1030,17 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
998
1030
|
pending: "pending";
|
|
999
1031
|
in_progress: "in_progress";
|
|
1000
1032
|
completed: "completed";
|
|
1033
|
+
blocked: "blocked";
|
|
1001
1034
|
}>;
|
|
1002
1035
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
1003
|
-
DONE: "DONE";
|
|
1004
1036
|
STORE: "STORE";
|
|
1005
1037
|
STRUCTURE: "STRUCTURE";
|
|
1006
1038
|
DESIGN: "DESIGN";
|
|
1007
1039
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1008
1040
|
BUILD: "BUILD";
|
|
1041
|
+
DONE: "DONE";
|
|
1009
1042
|
}>>;
|
|
1043
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1010
1044
|
}, z.core.$strip>>;
|
|
1011
1045
|
}, z.core.$strip>], "type">>;
|
|
1012
1046
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -1034,34 +1068,35 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
1034
1068
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1035
1069
|
type: z.ZodLiteral<"text">;
|
|
1036
1070
|
text: z.ZodString;
|
|
1071
|
+
choice: z.ZodOptional<z.ZodString>;
|
|
1037
1072
|
}, z.core.$strip>, z.ZodObject<{
|
|
1038
1073
|
type: z.ZodLiteral<"tool">;
|
|
1039
1074
|
toolCallId: z.ZodString;
|
|
1040
1075
|
name: z.ZodString;
|
|
1041
1076
|
label: z.ZodString;
|
|
1042
1077
|
status: z.ZodEnum<{
|
|
1043
|
-
error: "error";
|
|
1044
1078
|
unknown: "unknown";
|
|
1079
|
+
error: "error";
|
|
1045
1080
|
ok: "ok";
|
|
1046
1081
|
}>;
|
|
1047
1082
|
summary: z.ZodNullable<z.ZodString>;
|
|
1048
1083
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1049
|
-
|
|
1084
|
+
code: "code";
|
|
1050
1085
|
status: "status";
|
|
1086
|
+
check: "check";
|
|
1087
|
+
version: "version";
|
|
1088
|
+
shipping: "shipping";
|
|
1089
|
+
category: "category";
|
|
1051
1090
|
brief: "brief";
|
|
1091
|
+
files: "files";
|
|
1092
|
+
preview: "preview";
|
|
1052
1093
|
template: "template";
|
|
1053
1094
|
site: "site";
|
|
1054
1095
|
info: "info";
|
|
1055
|
-
shipping: "shipping";
|
|
1056
1096
|
upload: "upload";
|
|
1057
1097
|
design: "design";
|
|
1058
|
-
category: "category";
|
|
1059
1098
|
product: "product";
|
|
1060
|
-
files: "files";
|
|
1061
|
-
code: "code";
|
|
1062
1099
|
verify: "verify";
|
|
1063
|
-
version: "version";
|
|
1064
|
-
preview: "preview";
|
|
1065
1100
|
}>>;
|
|
1066
1101
|
target: z.ZodOptional<z.ZodString>;
|
|
1067
1102
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1079,6 +1114,7 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
1079
1114
|
}>;
|
|
1080
1115
|
text: z.ZodString;
|
|
1081
1116
|
}, z.core.$strip>>;
|
|
1117
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
1082
1118
|
}, z.core.$strip>>>;
|
|
1083
1119
|
}, z.core.$strip>, z.ZodObject<{
|
|
1084
1120
|
type: z.ZodLiteral<"choices">;
|
|
@@ -1088,10 +1124,10 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
1088
1124
|
value: z.ZodString;
|
|
1089
1125
|
templateId: z.ZodOptional<z.ZodString>;
|
|
1090
1126
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
1127
|
+
MOBILE: "MOBILE";
|
|
1091
1128
|
BASIC: "BASIC";
|
|
1092
1129
|
INTERACTIVE: "INTERACTIVE";
|
|
1093
1130
|
STORYTELLING: "STORYTELLING";
|
|
1094
|
-
MOBILE: "MOBILE";
|
|
1095
1131
|
CATALOG: "CATALOG";
|
|
1096
1132
|
LOOKBOOK: "LOOKBOOK";
|
|
1097
1133
|
}>>;
|
|
@@ -1149,12 +1185,12 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
1149
1185
|
}, z.core.$strip>, z.ZodObject<{
|
|
1150
1186
|
type: z.ZodLiteral<"phase">;
|
|
1151
1187
|
phase: z.ZodEnum<{
|
|
1152
|
-
DONE: "DONE";
|
|
1153
1188
|
STORE: "STORE";
|
|
1154
1189
|
STRUCTURE: "STRUCTURE";
|
|
1155
1190
|
DESIGN: "DESIGN";
|
|
1156
1191
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1157
1192
|
BUILD: "BUILD";
|
|
1193
|
+
DONE: "DONE";
|
|
1158
1194
|
}>;
|
|
1159
1195
|
}, z.core.$strip>, z.ZodObject<{
|
|
1160
1196
|
type: z.ZodLiteral<"todos">;
|
|
@@ -1165,15 +1201,17 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
1165
1201
|
pending: "pending";
|
|
1166
1202
|
in_progress: "in_progress";
|
|
1167
1203
|
completed: "completed";
|
|
1204
|
+
blocked: "blocked";
|
|
1168
1205
|
}>;
|
|
1169
1206
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
1170
|
-
DONE: "DONE";
|
|
1171
1207
|
STORE: "STORE";
|
|
1172
1208
|
STRUCTURE: "STRUCTURE";
|
|
1173
1209
|
DESIGN: "DESIGN";
|
|
1174
1210
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1175
1211
|
BUILD: "BUILD";
|
|
1212
|
+
DONE: "DONE";
|
|
1176
1213
|
}>>;
|
|
1214
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1177
1215
|
}, z.core.$strip>>;
|
|
1178
1216
|
}, z.core.$strip>], "type">>;
|
|
1179
1217
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -1182,11 +1220,11 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
1182
1220
|
activeRun: z.ZodNullable<z.ZodObject<{
|
|
1183
1221
|
id: z.ZodString;
|
|
1184
1222
|
status: z.ZodEnum<{
|
|
1185
|
-
|
|
1186
|
-
RUNNING: "RUNNING";
|
|
1223
|
+
FAILED: "FAILED";
|
|
1187
1224
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1188
1225
|
DONE: "DONE";
|
|
1189
|
-
|
|
1226
|
+
QUEUED: "QUEUED";
|
|
1227
|
+
RUNNING: "RUNNING";
|
|
1190
1228
|
CANCELLED: "CANCELLED";
|
|
1191
1229
|
}>;
|
|
1192
1230
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -1201,11 +1239,11 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
1201
1239
|
lastRun: z.ZodNullable<z.ZodObject<{
|
|
1202
1240
|
id: z.ZodString;
|
|
1203
1241
|
status: z.ZodEnum<{
|
|
1204
|
-
|
|
1205
|
-
RUNNING: "RUNNING";
|
|
1242
|
+
FAILED: "FAILED";
|
|
1206
1243
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1207
1244
|
DONE: "DONE";
|
|
1208
|
-
|
|
1245
|
+
QUEUED: "QUEUED";
|
|
1246
|
+
RUNNING: "RUNNING";
|
|
1209
1247
|
CANCELLED: "CANCELLED";
|
|
1210
1248
|
}>;
|
|
1211
1249
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -1224,10 +1262,10 @@ export declare const storeSetupBriefSchema: z.ZodObject<{
|
|
|
1224
1262
|
audience: z.ZodString;
|
|
1225
1263
|
highlights: z.ZodString;
|
|
1226
1264
|
shopType: z.ZodEnum<{
|
|
1265
|
+
MOBILE: "MOBILE";
|
|
1227
1266
|
BASIC: "BASIC";
|
|
1228
1267
|
INTERACTIVE: "INTERACTIVE";
|
|
1229
1268
|
STORYTELLING: "STORYTELLING";
|
|
1230
|
-
MOBILE: "MOBILE";
|
|
1231
1269
|
CATALOG: "CATALOG";
|
|
1232
1270
|
LOOKBOOK: "LOOKBOOK";
|
|
1233
1271
|
}>;
|
|
@@ -1243,10 +1281,10 @@ export declare const createAiConversationRequestSchema: z.ZodObject<{
|
|
|
1243
1281
|
audience: z.ZodString;
|
|
1244
1282
|
highlights: z.ZodString;
|
|
1245
1283
|
shopType: z.ZodEnum<{
|
|
1284
|
+
MOBILE: "MOBILE";
|
|
1246
1285
|
BASIC: "BASIC";
|
|
1247
1286
|
INTERACTIVE: "INTERACTIVE";
|
|
1248
1287
|
STORYTELLING: "STORYTELLING";
|
|
1249
|
-
MOBILE: "MOBILE";
|
|
1250
1288
|
CATALOG: "CATALOG";
|
|
1251
1289
|
LOOKBOOK: "LOOKBOOK";
|
|
1252
1290
|
}>;
|
|
@@ -1308,23 +1346,23 @@ export type SendAiMessageResponse = z.infer<typeof sendAiMessageResponseSchema>;
|
|
|
1308
1346
|
export declare const aiFocusAreaSchema: z.ZodEnum<{
|
|
1309
1347
|
shipping: "shipping";
|
|
1310
1348
|
products: "products";
|
|
1349
|
+
addresses: "addresses";
|
|
1350
|
+
orders: "orders";
|
|
1351
|
+
webhooks: "webhooks";
|
|
1352
|
+
members: "members";
|
|
1311
1353
|
categories: "categories";
|
|
1312
1354
|
collections: "collections";
|
|
1313
1355
|
option_sets: "option_sets";
|
|
1314
1356
|
coupons: "coupons";
|
|
1315
1357
|
points: "points";
|
|
1316
|
-
orders: "orders";
|
|
1317
1358
|
claims: "claims";
|
|
1318
1359
|
customers: "customers";
|
|
1319
1360
|
inquiries: "inquiries";
|
|
1320
1361
|
customer_inquiries: "customer_inquiries";
|
|
1321
1362
|
store_settings: "store_settings";
|
|
1322
|
-
addresses: "addresses";
|
|
1323
1363
|
payments: "payments";
|
|
1324
1364
|
login: "login";
|
|
1325
|
-
members: "members";
|
|
1326
1365
|
order_flows: "order_flows";
|
|
1327
|
-
webhooks: "webhooks";
|
|
1328
1366
|
storefront: "storefront";
|
|
1329
1367
|
}>;
|
|
1330
1368
|
export type AiFocusArea = z.infer<typeof aiFocusAreaSchema>;
|
|
@@ -1332,23 +1370,23 @@ export declare const aiFocusSchema: z.ZodObject<{
|
|
|
1332
1370
|
area: z.ZodEnum<{
|
|
1333
1371
|
shipping: "shipping";
|
|
1334
1372
|
products: "products";
|
|
1373
|
+
addresses: "addresses";
|
|
1374
|
+
orders: "orders";
|
|
1375
|
+
webhooks: "webhooks";
|
|
1376
|
+
members: "members";
|
|
1335
1377
|
categories: "categories";
|
|
1336
1378
|
collections: "collections";
|
|
1337
1379
|
option_sets: "option_sets";
|
|
1338
1380
|
coupons: "coupons";
|
|
1339
1381
|
points: "points";
|
|
1340
|
-
orders: "orders";
|
|
1341
1382
|
claims: "claims";
|
|
1342
1383
|
customers: "customers";
|
|
1343
1384
|
inquiries: "inquiries";
|
|
1344
1385
|
customer_inquiries: "customer_inquiries";
|
|
1345
1386
|
store_settings: "store_settings";
|
|
1346
|
-
addresses: "addresses";
|
|
1347
1387
|
payments: "payments";
|
|
1348
1388
|
login: "login";
|
|
1349
|
-
members: "members";
|
|
1350
1389
|
order_flows: "order_flows";
|
|
1351
|
-
webhooks: "webhooks";
|
|
1352
1390
|
storefront: "storefront";
|
|
1353
1391
|
}>;
|
|
1354
1392
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1363,12 +1401,12 @@ export declare const AI_RUN_FILE_CHANGES_RETENTION_DAYS = 7;
|
|
|
1363
1401
|
* - `REVERTING`·`REVERTED`·`REVERT_UNKNOWN`(되돌리기 결과를 모름 — 다시 하지 않는다)·`EXPIRED`
|
|
1364
1402
|
*/
|
|
1365
1403
|
export declare const aiRunChangesStatusSchema: z.ZodEnum<{
|
|
1404
|
+
EXPIRED: "EXPIRED";
|
|
1366
1405
|
APPLIED: "APPLIED";
|
|
1367
1406
|
INCOMPLETE: "INCOMPLETE";
|
|
1368
1407
|
REVERTING: "REVERTING";
|
|
1369
1408
|
REVERTED: "REVERTED";
|
|
1370
1409
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
1371
|
-
EXPIRED: "EXPIRED";
|
|
1372
1410
|
}>;
|
|
1373
1411
|
export type AiRunChangesStatus = z.infer<typeof aiRunChangesStatusSchema>;
|
|
1374
1412
|
export declare const aiFileChangeKindSchema: z.ZodEnum<{
|
|
@@ -1380,12 +1418,12 @@ export type AiFileChangeKind = z.infer<typeof aiFileChangeKindSchema>;
|
|
|
1380
1418
|
export declare const aiRunChangesSchema: z.ZodObject<{
|
|
1381
1419
|
runId: z.ZodString;
|
|
1382
1420
|
status: z.ZodEnum<{
|
|
1421
|
+
EXPIRED: "EXPIRED";
|
|
1383
1422
|
APPLIED: "APPLIED";
|
|
1384
1423
|
INCOMPLETE: "INCOMPLETE";
|
|
1385
1424
|
REVERTING: "REVERTING";
|
|
1386
1425
|
REVERTED: "REVERTED";
|
|
1387
1426
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
1388
|
-
EXPIRED: "EXPIRED";
|
|
1389
1427
|
}>;
|
|
1390
1428
|
files: z.ZodArray<z.ZodObject<{
|
|
1391
1429
|
path: z.ZodString;
|
|
@@ -1402,12 +1440,12 @@ export declare const aiConversationFileChangesSchema: z.ZodObject<{
|
|
|
1402
1440
|
runs: z.ZodArray<z.ZodObject<{
|
|
1403
1441
|
runId: z.ZodString;
|
|
1404
1442
|
status: z.ZodEnum<{
|
|
1443
|
+
EXPIRED: "EXPIRED";
|
|
1405
1444
|
APPLIED: "APPLIED";
|
|
1406
1445
|
INCOMPLETE: "INCOMPLETE";
|
|
1407
1446
|
REVERTING: "REVERTING";
|
|
1408
1447
|
REVERTED: "REVERTED";
|
|
1409
1448
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
1410
|
-
EXPIRED: "EXPIRED";
|
|
1411
1449
|
}>;
|
|
1412
1450
|
files: z.ZodArray<z.ZodObject<{
|
|
1413
1451
|
path: z.ZodString;
|
|
@@ -1424,12 +1462,12 @@ export type AiConversationFileChanges = z.infer<typeof aiConversationFileChanges
|
|
|
1424
1462
|
export declare const aiRunFileDiffSchema: z.ZodObject<{
|
|
1425
1463
|
runId: z.ZodString;
|
|
1426
1464
|
status: z.ZodEnum<{
|
|
1465
|
+
EXPIRED: "EXPIRED";
|
|
1427
1466
|
APPLIED: "APPLIED";
|
|
1428
1467
|
INCOMPLETE: "INCOMPLETE";
|
|
1429
1468
|
REVERTING: "REVERTING";
|
|
1430
1469
|
REVERTED: "REVERTED";
|
|
1431
1470
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
1432
|
-
EXPIRED: "EXPIRED";
|
|
1433
1471
|
}>;
|
|
1434
1472
|
files: z.ZodArray<z.ZodObject<{
|
|
1435
1473
|
path: z.ZodString;
|
|
@@ -1460,8 +1498,8 @@ export declare const aiRunRevertConflictDetailsSchema: z.ZodObject<{
|
|
|
1460
1498
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
1461
1499
|
path: z.ZodString;
|
|
1462
1500
|
reason: z.ZodEnum<{
|
|
1463
|
-
CHANGED: "CHANGED";
|
|
1464
1501
|
UNKNOWN: "UNKNOWN";
|
|
1502
|
+
CHANGED: "CHANGED";
|
|
1465
1503
|
}>;
|
|
1466
1504
|
}, z.core.$strip>>;
|
|
1467
1505
|
}, z.core.$strip>;
|
|
@@ -1478,12 +1516,12 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1478
1516
|
type: z.ZodLiteral<"phase">;
|
|
1479
1517
|
messageId: z.ZodString;
|
|
1480
1518
|
phase: z.ZodEnum<{
|
|
1481
|
-
DONE: "DONE";
|
|
1482
1519
|
STORE: "STORE";
|
|
1483
1520
|
STRUCTURE: "STRUCTURE";
|
|
1484
1521
|
DESIGN: "DESIGN";
|
|
1485
1522
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1486
1523
|
BUILD: "BUILD";
|
|
1524
|
+
DONE: "DONE";
|
|
1487
1525
|
}>;
|
|
1488
1526
|
}, z.core.$strip>, z.ZodObject<{
|
|
1489
1527
|
type: z.ZodLiteral<"todos">;
|
|
@@ -1495,15 +1533,17 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1495
1533
|
pending: "pending";
|
|
1496
1534
|
in_progress: "in_progress";
|
|
1497
1535
|
completed: "completed";
|
|
1536
|
+
blocked: "blocked";
|
|
1498
1537
|
}>;
|
|
1499
1538
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
1500
|
-
DONE: "DONE";
|
|
1501
1539
|
STORE: "STORE";
|
|
1502
1540
|
STRUCTURE: "STRUCTURE";
|
|
1503
1541
|
DESIGN: "DESIGN";
|
|
1504
1542
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1505
1543
|
BUILD: "BUILD";
|
|
1544
|
+
DONE: "DONE";
|
|
1506
1545
|
}>>;
|
|
1546
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1507
1547
|
}, z.core.$strip>>;
|
|
1508
1548
|
}, z.core.$strip>, z.ZodObject<{
|
|
1509
1549
|
type: z.ZodLiteral<"tool_start">;
|
|
@@ -1515,44 +1555,44 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1515
1555
|
area: z.ZodEnum<{
|
|
1516
1556
|
shipping: "shipping";
|
|
1517
1557
|
products: "products";
|
|
1558
|
+
addresses: "addresses";
|
|
1559
|
+
orders: "orders";
|
|
1560
|
+
webhooks: "webhooks";
|
|
1561
|
+
members: "members";
|
|
1518
1562
|
categories: "categories";
|
|
1519
1563
|
collections: "collections";
|
|
1520
1564
|
option_sets: "option_sets";
|
|
1521
1565
|
coupons: "coupons";
|
|
1522
1566
|
points: "points";
|
|
1523
|
-
orders: "orders";
|
|
1524
1567
|
claims: "claims";
|
|
1525
1568
|
customers: "customers";
|
|
1526
1569
|
inquiries: "inquiries";
|
|
1527
1570
|
customer_inquiries: "customer_inquiries";
|
|
1528
1571
|
store_settings: "store_settings";
|
|
1529
|
-
addresses: "addresses";
|
|
1530
1572
|
payments: "payments";
|
|
1531
1573
|
login: "login";
|
|
1532
|
-
members: "members";
|
|
1533
1574
|
order_flows: "order_flows";
|
|
1534
|
-
webhooks: "webhooks";
|
|
1535
1575
|
storefront: "storefront";
|
|
1536
1576
|
}>;
|
|
1537
1577
|
id: z.ZodOptional<z.ZodString>;
|
|
1538
1578
|
}, z.core.$strip>>;
|
|
1539
1579
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1540
|
-
|
|
1580
|
+
code: "code";
|
|
1541
1581
|
status: "status";
|
|
1582
|
+
check: "check";
|
|
1583
|
+
version: "version";
|
|
1584
|
+
shipping: "shipping";
|
|
1585
|
+
category: "category";
|
|
1542
1586
|
brief: "brief";
|
|
1587
|
+
files: "files";
|
|
1588
|
+
preview: "preview";
|
|
1543
1589
|
template: "template";
|
|
1544
1590
|
site: "site";
|
|
1545
1591
|
info: "info";
|
|
1546
|
-
shipping: "shipping";
|
|
1547
1592
|
upload: "upload";
|
|
1548
1593
|
design: "design";
|
|
1549
|
-
category: "category";
|
|
1550
1594
|
product: "product";
|
|
1551
|
-
files: "files";
|
|
1552
|
-
code: "code";
|
|
1553
1595
|
verify: "verify";
|
|
1554
|
-
version: "version";
|
|
1555
|
-
preview: "preview";
|
|
1556
1596
|
}>>;
|
|
1557
1597
|
target: z.ZodOptional<z.ZodString>;
|
|
1558
1598
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1570,17 +1610,35 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1570
1610
|
}>;
|
|
1571
1611
|
text: z.ZodString;
|
|
1572
1612
|
}, z.core.$strip>>;
|
|
1613
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
1573
1614
|
}, z.core.$strip>>>;
|
|
1574
1615
|
}, z.core.$strip>, z.ZodObject<{
|
|
1575
1616
|
type: z.ZodLiteral<"tool_result">;
|
|
1576
1617
|
messageId: z.ZodString;
|
|
1577
1618
|
toolCallId: z.ZodString;
|
|
1578
1619
|
status: z.ZodEnum<{
|
|
1579
|
-
error: "error";
|
|
1580
1620
|
unknown: "unknown";
|
|
1621
|
+
error: "error";
|
|
1581
1622
|
ok: "ok";
|
|
1582
1623
|
}>;
|
|
1583
1624
|
summary: z.ZodNullable<z.ZodString>;
|
|
1625
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1626
|
+
path: z.ZodString;
|
|
1627
|
+
mode: z.ZodEnum<{
|
|
1628
|
+
edit: "edit";
|
|
1629
|
+
write: "write";
|
|
1630
|
+
}>;
|
|
1631
|
+
added: z.ZodNumber;
|
|
1632
|
+
removed: z.ZodNumber;
|
|
1633
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
1634
|
+
kind: z.ZodEnum<{
|
|
1635
|
+
added: "added";
|
|
1636
|
+
removed: "removed";
|
|
1637
|
+
}>;
|
|
1638
|
+
text: z.ZodString;
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
1641
|
+
}, z.core.$strip>>>;
|
|
1584
1642
|
}, z.core.$strip>, z.ZodObject<{
|
|
1585
1643
|
type: z.ZodLiteral<"choices">;
|
|
1586
1644
|
messageId: z.ZodString;
|
|
@@ -1590,10 +1648,10 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1590
1648
|
value: z.ZodString;
|
|
1591
1649
|
templateId: z.ZodOptional<z.ZodString>;
|
|
1592
1650
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
1651
|
+
MOBILE: "MOBILE";
|
|
1593
1652
|
BASIC: "BASIC";
|
|
1594
1653
|
INTERACTIVE: "INTERACTIVE";
|
|
1595
1654
|
STORYTELLING: "STORYTELLING";
|
|
1596
|
-
MOBILE: "MOBILE";
|
|
1597
1655
|
CATALOG: "CATALOG";
|
|
1598
1656
|
LOOKBOOK: "LOOKBOOK";
|
|
1599
1657
|
}>>;
|
|
@@ -1634,34 +1692,35 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1634
1692
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1635
1693
|
type: z.ZodLiteral<"text">;
|
|
1636
1694
|
text: z.ZodString;
|
|
1695
|
+
choice: z.ZodOptional<z.ZodString>;
|
|
1637
1696
|
}, z.core.$strip>, z.ZodObject<{
|
|
1638
1697
|
type: z.ZodLiteral<"tool">;
|
|
1639
1698
|
toolCallId: z.ZodString;
|
|
1640
1699
|
name: z.ZodString;
|
|
1641
1700
|
label: z.ZodString;
|
|
1642
1701
|
status: z.ZodEnum<{
|
|
1643
|
-
error: "error";
|
|
1644
1702
|
unknown: "unknown";
|
|
1703
|
+
error: "error";
|
|
1645
1704
|
ok: "ok";
|
|
1646
1705
|
}>;
|
|
1647
1706
|
summary: z.ZodNullable<z.ZodString>;
|
|
1648
1707
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1649
|
-
|
|
1708
|
+
code: "code";
|
|
1650
1709
|
status: "status";
|
|
1710
|
+
check: "check";
|
|
1711
|
+
version: "version";
|
|
1712
|
+
shipping: "shipping";
|
|
1713
|
+
category: "category";
|
|
1651
1714
|
brief: "brief";
|
|
1715
|
+
files: "files";
|
|
1716
|
+
preview: "preview";
|
|
1652
1717
|
template: "template";
|
|
1653
1718
|
site: "site";
|
|
1654
1719
|
info: "info";
|
|
1655
|
-
shipping: "shipping";
|
|
1656
1720
|
upload: "upload";
|
|
1657
1721
|
design: "design";
|
|
1658
|
-
category: "category";
|
|
1659
1722
|
product: "product";
|
|
1660
|
-
files: "files";
|
|
1661
|
-
code: "code";
|
|
1662
1723
|
verify: "verify";
|
|
1663
|
-
version: "version";
|
|
1664
|
-
preview: "preview";
|
|
1665
1724
|
}>>;
|
|
1666
1725
|
target: z.ZodOptional<z.ZodString>;
|
|
1667
1726
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1679,6 +1738,7 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1679
1738
|
}>;
|
|
1680
1739
|
text: z.ZodString;
|
|
1681
1740
|
}, z.core.$strip>>;
|
|
1741
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
1682
1742
|
}, z.core.$strip>>>;
|
|
1683
1743
|
}, z.core.$strip>, z.ZodObject<{
|
|
1684
1744
|
type: z.ZodLiteral<"choices">;
|
|
@@ -1688,10 +1748,10 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1688
1748
|
value: z.ZodString;
|
|
1689
1749
|
templateId: z.ZodOptional<z.ZodString>;
|
|
1690
1750
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
1751
|
+
MOBILE: "MOBILE";
|
|
1691
1752
|
BASIC: "BASIC";
|
|
1692
1753
|
INTERACTIVE: "INTERACTIVE";
|
|
1693
1754
|
STORYTELLING: "STORYTELLING";
|
|
1694
|
-
MOBILE: "MOBILE";
|
|
1695
1755
|
CATALOG: "CATALOG";
|
|
1696
1756
|
LOOKBOOK: "LOOKBOOK";
|
|
1697
1757
|
}>>;
|
|
@@ -1749,12 +1809,12 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1749
1809
|
}, z.core.$strip>, z.ZodObject<{
|
|
1750
1810
|
type: z.ZodLiteral<"phase">;
|
|
1751
1811
|
phase: z.ZodEnum<{
|
|
1752
|
-
DONE: "DONE";
|
|
1753
1812
|
STORE: "STORE";
|
|
1754
1813
|
STRUCTURE: "STRUCTURE";
|
|
1755
1814
|
DESIGN: "DESIGN";
|
|
1756
1815
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1757
1816
|
BUILD: "BUILD";
|
|
1817
|
+
DONE: "DONE";
|
|
1758
1818
|
}>;
|
|
1759
1819
|
}, z.core.$strip>, z.ZodObject<{
|
|
1760
1820
|
type: z.ZodLiteral<"todos">;
|
|
@@ -1765,15 +1825,17 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1765
1825
|
pending: "pending";
|
|
1766
1826
|
in_progress: "in_progress";
|
|
1767
1827
|
completed: "completed";
|
|
1828
|
+
blocked: "blocked";
|
|
1768
1829
|
}>;
|
|
1769
1830
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
1770
|
-
DONE: "DONE";
|
|
1771
1831
|
STORE: "STORE";
|
|
1772
1832
|
STRUCTURE: "STRUCTURE";
|
|
1773
1833
|
DESIGN: "DESIGN";
|
|
1774
1834
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1775
1835
|
BUILD: "BUILD";
|
|
1836
|
+
DONE: "DONE";
|
|
1776
1837
|
}>>;
|
|
1838
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1777
1839
|
}, z.core.$strip>>;
|
|
1778
1840
|
}, z.core.$strip>], "type">>;
|
|
1779
1841
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -1786,11 +1848,11 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1786
1848
|
}, z.core.$strip>, z.ZodObject<{
|
|
1787
1849
|
type: z.ZodLiteral<"done">;
|
|
1788
1850
|
status: z.ZodEnum<{
|
|
1789
|
-
|
|
1790
|
-
RUNNING: "RUNNING";
|
|
1851
|
+
FAILED: "FAILED";
|
|
1791
1852
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1792
1853
|
DONE: "DONE";
|
|
1793
|
-
|
|
1854
|
+
QUEUED: "QUEUED";
|
|
1855
|
+
RUNNING: "RUNNING";
|
|
1794
1856
|
CANCELLED: "CANCELLED";
|
|
1795
1857
|
}>;
|
|
1796
1858
|
}, z.core.$strip>], "type">;
|
|
@@ -1810,12 +1872,12 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1810
1872
|
type: z.ZodLiteral<"phase">;
|
|
1811
1873
|
messageId: z.ZodString;
|
|
1812
1874
|
phase: z.ZodEnum<{
|
|
1813
|
-
DONE: "DONE";
|
|
1814
1875
|
STORE: "STORE";
|
|
1815
1876
|
STRUCTURE: "STRUCTURE";
|
|
1816
1877
|
DESIGN: "DESIGN";
|
|
1817
1878
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1818
1879
|
BUILD: "BUILD";
|
|
1880
|
+
DONE: "DONE";
|
|
1819
1881
|
}>;
|
|
1820
1882
|
}, z.core.$strip>, z.ZodObject<{
|
|
1821
1883
|
type: z.ZodLiteral<"todos">;
|
|
@@ -1827,15 +1889,17 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1827
1889
|
pending: "pending";
|
|
1828
1890
|
in_progress: "in_progress";
|
|
1829
1891
|
completed: "completed";
|
|
1892
|
+
blocked: "blocked";
|
|
1830
1893
|
}>;
|
|
1831
1894
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
1832
|
-
DONE: "DONE";
|
|
1833
1895
|
STORE: "STORE";
|
|
1834
1896
|
STRUCTURE: "STRUCTURE";
|
|
1835
1897
|
DESIGN: "DESIGN";
|
|
1836
1898
|
ENVIRONMENT: "ENVIRONMENT";
|
|
1837
1899
|
BUILD: "BUILD";
|
|
1900
|
+
DONE: "DONE";
|
|
1838
1901
|
}>>;
|
|
1902
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1839
1903
|
}, z.core.$strip>>;
|
|
1840
1904
|
}, z.core.$strip>, z.ZodObject<{
|
|
1841
1905
|
type: z.ZodLiteral<"tool_start">;
|
|
@@ -1847,44 +1911,44 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1847
1911
|
area: z.ZodEnum<{
|
|
1848
1912
|
shipping: "shipping";
|
|
1849
1913
|
products: "products";
|
|
1914
|
+
addresses: "addresses";
|
|
1915
|
+
orders: "orders";
|
|
1916
|
+
webhooks: "webhooks";
|
|
1917
|
+
members: "members";
|
|
1850
1918
|
categories: "categories";
|
|
1851
1919
|
collections: "collections";
|
|
1852
1920
|
option_sets: "option_sets";
|
|
1853
1921
|
coupons: "coupons";
|
|
1854
1922
|
points: "points";
|
|
1855
|
-
orders: "orders";
|
|
1856
1923
|
claims: "claims";
|
|
1857
1924
|
customers: "customers";
|
|
1858
1925
|
inquiries: "inquiries";
|
|
1859
1926
|
customer_inquiries: "customer_inquiries";
|
|
1860
1927
|
store_settings: "store_settings";
|
|
1861
|
-
addresses: "addresses";
|
|
1862
1928
|
payments: "payments";
|
|
1863
1929
|
login: "login";
|
|
1864
|
-
members: "members";
|
|
1865
1930
|
order_flows: "order_flows";
|
|
1866
|
-
webhooks: "webhooks";
|
|
1867
1931
|
storefront: "storefront";
|
|
1868
1932
|
}>;
|
|
1869
1933
|
id: z.ZodOptional<z.ZodString>;
|
|
1870
1934
|
}, z.core.$strip>>;
|
|
1871
1935
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1872
|
-
|
|
1936
|
+
code: "code";
|
|
1873
1937
|
status: "status";
|
|
1938
|
+
check: "check";
|
|
1939
|
+
version: "version";
|
|
1940
|
+
shipping: "shipping";
|
|
1941
|
+
category: "category";
|
|
1874
1942
|
brief: "brief";
|
|
1943
|
+
files: "files";
|
|
1944
|
+
preview: "preview";
|
|
1875
1945
|
template: "template";
|
|
1876
1946
|
site: "site";
|
|
1877
1947
|
info: "info";
|
|
1878
|
-
shipping: "shipping";
|
|
1879
1948
|
upload: "upload";
|
|
1880
1949
|
design: "design";
|
|
1881
|
-
category: "category";
|
|
1882
1950
|
product: "product";
|
|
1883
|
-
files: "files";
|
|
1884
|
-
code: "code";
|
|
1885
1951
|
verify: "verify";
|
|
1886
|
-
version: "version";
|
|
1887
|
-
preview: "preview";
|
|
1888
1952
|
}>>;
|
|
1889
1953
|
target: z.ZodOptional<z.ZodString>;
|
|
1890
1954
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1902,17 +1966,35 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1902
1966
|
}>;
|
|
1903
1967
|
text: z.ZodString;
|
|
1904
1968
|
}, z.core.$strip>>;
|
|
1969
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
1905
1970
|
}, z.core.$strip>>>;
|
|
1906
1971
|
}, z.core.$strip>, z.ZodObject<{
|
|
1907
1972
|
type: z.ZodLiteral<"tool_result">;
|
|
1908
1973
|
messageId: z.ZodString;
|
|
1909
1974
|
toolCallId: z.ZodString;
|
|
1910
1975
|
status: z.ZodEnum<{
|
|
1911
|
-
error: "error";
|
|
1912
1976
|
unknown: "unknown";
|
|
1977
|
+
error: "error";
|
|
1913
1978
|
ok: "ok";
|
|
1914
1979
|
}>;
|
|
1915
1980
|
summary: z.ZodNullable<z.ZodString>;
|
|
1981
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1982
|
+
path: z.ZodString;
|
|
1983
|
+
mode: z.ZodEnum<{
|
|
1984
|
+
edit: "edit";
|
|
1985
|
+
write: "write";
|
|
1986
|
+
}>;
|
|
1987
|
+
added: z.ZodNumber;
|
|
1988
|
+
removed: z.ZodNumber;
|
|
1989
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
1990
|
+
kind: z.ZodEnum<{
|
|
1991
|
+
added: "added";
|
|
1992
|
+
removed: "removed";
|
|
1993
|
+
}>;
|
|
1994
|
+
text: z.ZodString;
|
|
1995
|
+
}, z.core.$strip>>;
|
|
1996
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
1997
|
+
}, z.core.$strip>>>;
|
|
1916
1998
|
}, z.core.$strip>, z.ZodObject<{
|
|
1917
1999
|
type: z.ZodLiteral<"choices">;
|
|
1918
2000
|
messageId: z.ZodString;
|
|
@@ -1922,10 +2004,10 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1922
2004
|
value: z.ZodString;
|
|
1923
2005
|
templateId: z.ZodOptional<z.ZodString>;
|
|
1924
2006
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
2007
|
+
MOBILE: "MOBILE";
|
|
1925
2008
|
BASIC: "BASIC";
|
|
1926
2009
|
INTERACTIVE: "INTERACTIVE";
|
|
1927
2010
|
STORYTELLING: "STORYTELLING";
|
|
1928
|
-
MOBILE: "MOBILE";
|
|
1929
2011
|
CATALOG: "CATALOG";
|
|
1930
2012
|
LOOKBOOK: "LOOKBOOK";
|
|
1931
2013
|
}>>;
|
|
@@ -1966,34 +2048,35 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1966
2048
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1967
2049
|
type: z.ZodLiteral<"text">;
|
|
1968
2050
|
text: z.ZodString;
|
|
2051
|
+
choice: z.ZodOptional<z.ZodString>;
|
|
1969
2052
|
}, z.core.$strip>, z.ZodObject<{
|
|
1970
2053
|
type: z.ZodLiteral<"tool">;
|
|
1971
2054
|
toolCallId: z.ZodString;
|
|
1972
2055
|
name: z.ZodString;
|
|
1973
2056
|
label: z.ZodString;
|
|
1974
2057
|
status: z.ZodEnum<{
|
|
1975
|
-
error: "error";
|
|
1976
2058
|
unknown: "unknown";
|
|
2059
|
+
error: "error";
|
|
1977
2060
|
ok: "ok";
|
|
1978
2061
|
}>;
|
|
1979
2062
|
summary: z.ZodNullable<z.ZodString>;
|
|
1980
2063
|
activity: z.ZodOptional<z.ZodEnum<{
|
|
1981
|
-
|
|
2064
|
+
code: "code";
|
|
1982
2065
|
status: "status";
|
|
2066
|
+
check: "check";
|
|
2067
|
+
version: "version";
|
|
2068
|
+
shipping: "shipping";
|
|
2069
|
+
category: "category";
|
|
1983
2070
|
brief: "brief";
|
|
2071
|
+
files: "files";
|
|
2072
|
+
preview: "preview";
|
|
1984
2073
|
template: "template";
|
|
1985
2074
|
site: "site";
|
|
1986
2075
|
info: "info";
|
|
1987
|
-
shipping: "shipping";
|
|
1988
2076
|
upload: "upload";
|
|
1989
2077
|
design: "design";
|
|
1990
|
-
category: "category";
|
|
1991
2078
|
product: "product";
|
|
1992
|
-
files: "files";
|
|
1993
|
-
code: "code";
|
|
1994
2079
|
verify: "verify";
|
|
1995
|
-
version: "version";
|
|
1996
|
-
preview: "preview";
|
|
1997
2080
|
}>>;
|
|
1998
2081
|
target: z.ZodOptional<z.ZodString>;
|
|
1999
2082
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2011,6 +2094,7 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
2011
2094
|
}>;
|
|
2012
2095
|
text: z.ZodString;
|
|
2013
2096
|
}, z.core.$strip>>;
|
|
2097
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
2014
2098
|
}, z.core.$strip>>>;
|
|
2015
2099
|
}, z.core.$strip>, z.ZodObject<{
|
|
2016
2100
|
type: z.ZodLiteral<"choices">;
|
|
@@ -2020,10 +2104,10 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
2020
2104
|
value: z.ZodString;
|
|
2021
2105
|
templateId: z.ZodOptional<z.ZodString>;
|
|
2022
2106
|
shopType: z.ZodOptional<z.ZodEnum<{
|
|
2107
|
+
MOBILE: "MOBILE";
|
|
2023
2108
|
BASIC: "BASIC";
|
|
2024
2109
|
INTERACTIVE: "INTERACTIVE";
|
|
2025
2110
|
STORYTELLING: "STORYTELLING";
|
|
2026
|
-
MOBILE: "MOBILE";
|
|
2027
2111
|
CATALOG: "CATALOG";
|
|
2028
2112
|
LOOKBOOK: "LOOKBOOK";
|
|
2029
2113
|
}>>;
|
|
@@ -2081,12 +2165,12 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
2081
2165
|
}, z.core.$strip>, z.ZodObject<{
|
|
2082
2166
|
type: z.ZodLiteral<"phase">;
|
|
2083
2167
|
phase: z.ZodEnum<{
|
|
2084
|
-
DONE: "DONE";
|
|
2085
2168
|
STORE: "STORE";
|
|
2086
2169
|
STRUCTURE: "STRUCTURE";
|
|
2087
2170
|
DESIGN: "DESIGN";
|
|
2088
2171
|
ENVIRONMENT: "ENVIRONMENT";
|
|
2089
2172
|
BUILD: "BUILD";
|
|
2173
|
+
DONE: "DONE";
|
|
2090
2174
|
}>;
|
|
2091
2175
|
}, z.core.$strip>, z.ZodObject<{
|
|
2092
2176
|
type: z.ZodLiteral<"todos">;
|
|
@@ -2097,15 +2181,17 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
2097
2181
|
pending: "pending";
|
|
2098
2182
|
in_progress: "in_progress";
|
|
2099
2183
|
completed: "completed";
|
|
2184
|
+
blocked: "blocked";
|
|
2100
2185
|
}>;
|
|
2101
2186
|
phase: z.ZodOptional<z.ZodEnum<{
|
|
2102
|
-
DONE: "DONE";
|
|
2103
2187
|
STORE: "STORE";
|
|
2104
2188
|
STRUCTURE: "STRUCTURE";
|
|
2105
2189
|
DESIGN: "DESIGN";
|
|
2106
2190
|
ENVIRONMENT: "ENVIRONMENT";
|
|
2107
2191
|
BUILD: "BUILD";
|
|
2192
|
+
DONE: "DONE";
|
|
2108
2193
|
}>>;
|
|
2194
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2109
2195
|
}, z.core.$strip>>;
|
|
2110
2196
|
}, z.core.$strip>], "type">>;
|
|
2111
2197
|
runId: z.ZodNullable<z.ZodString>;
|
|
@@ -2118,11 +2204,11 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
2118
2204
|
}, z.core.$strip>, z.ZodObject<{
|
|
2119
2205
|
type: z.ZodLiteral<"done">;
|
|
2120
2206
|
status: z.ZodEnum<{
|
|
2121
|
-
|
|
2122
|
-
RUNNING: "RUNNING";
|
|
2207
|
+
FAILED: "FAILED";
|
|
2123
2208
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
2124
2209
|
DONE: "DONE";
|
|
2125
|
-
|
|
2210
|
+
QUEUED: "QUEUED";
|
|
2211
|
+
RUNNING: "RUNNING";
|
|
2126
2212
|
CANCELLED: "CANCELLED";
|
|
2127
2213
|
}>;
|
|
2128
2214
|
}, z.core.$strip>], "type">;
|
|
@@ -2174,6 +2260,15 @@ export declare const storeDraftPreviewSchema: z.ZodObject<{
|
|
|
2174
2260
|
used: z.ZodBoolean;
|
|
2175
2261
|
}, z.core.$strip>;
|
|
2176
2262
|
export type StoreDraftPreview = z.infer<typeof storeDraftPreviewSchema>;
|
|
2263
|
+
/**
|
|
2264
|
+
* 셀러 메시지가 선택지에서 고른 답인가(조각에 `choice`가 있다) — 할 일 목록은 셀러 요청 하나(사이클)의 일이고, 고른 답(선택지·만들기 확인·계획 승인·발행 확인·
|
|
2265
|
+
* 「이어서 진행」)은 같은 사이클을 잇고 새로 쓴 글은 새 사이클이다(2026-10-24). api(`currentCycleRows`)와 상점 플랫폼(로드맵)이 이 판정 하나를 쓴다.
|
|
2266
|
+
* 직전 답에 선택지가 있었는지로 가르면 선택지를 무시하고 새 요청을 쓴 경우도 옛 사이클에 묶였다
|
|
2267
|
+
*/
|
|
2268
|
+
export declare function isAiChoiceAnswer(parts: readonly {
|
|
2269
|
+
type: string;
|
|
2270
|
+
choice?: string;
|
|
2271
|
+
}[]): boolean;
|
|
2177
2272
|
//#endregion
|
|
2178
2273
|
//#region src/schemas/analytics.d.ts
|
|
2179
2274
|
export declare const analyticsRangeQuerySchema: z.ZodObject<{
|
|
@@ -2342,10 +2437,10 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
2342
2437
|
}, z.core.$strip>;
|
|
2343
2438
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
2344
2439
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
2345
|
-
UNKNOWN: "UNKNOWN";
|
|
2346
2440
|
PAID: "PAID";
|
|
2347
2441
|
DIRECT: "DIRECT";
|
|
2348
2442
|
CAMPAIGN: "CAMPAIGN";
|
|
2443
|
+
UNKNOWN: "UNKNOWN";
|
|
2349
2444
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2350
2445
|
SOCIAL: "SOCIAL";
|
|
2351
2446
|
EMAIL: "EMAIL";
|
|
@@ -2376,10 +2471,10 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
2376
2471
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
2377
2472
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
2378
2473
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
2379
|
-
UNKNOWN: "UNKNOWN";
|
|
2380
2474
|
PAID: "PAID";
|
|
2381
2475
|
DIRECT: "DIRECT";
|
|
2382
2476
|
CAMPAIGN: "CAMPAIGN";
|
|
2477
|
+
UNKNOWN: "UNKNOWN";
|
|
2383
2478
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2384
2479
|
SOCIAL: "SOCIAL";
|
|
2385
2480
|
EMAIL: "EMAIL";
|
|
@@ -2412,10 +2507,10 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
2412
2507
|
}>;
|
|
2413
2508
|
rows: z.ZodArray<z.ZodObject<{
|
|
2414
2509
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
2415
|
-
UNKNOWN: "UNKNOWN";
|
|
2416
2510
|
PAID: "PAID";
|
|
2417
2511
|
DIRECT: "DIRECT";
|
|
2418
2512
|
CAMPAIGN: "CAMPAIGN";
|
|
2513
|
+
UNKNOWN: "UNKNOWN";
|
|
2419
2514
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
2420
2515
|
SOCIAL: "SOCIAL";
|
|
2421
2516
|
EMAIL: "EMAIL";
|
|
@@ -4757,10 +4852,10 @@ export declare const appInstallationRunSchema: z.ZodObject<{
|
|
|
4757
4852
|
deliveryId: z.ZodString;
|
|
4758
4853
|
eventType: z.ZodString;
|
|
4759
4854
|
status: z.ZodEnum<{
|
|
4760
|
-
FAILED: "FAILED";
|
|
4761
4855
|
PENDING: "PENDING";
|
|
4762
4856
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4763
4857
|
SUCCESS: "SUCCESS";
|
|
4858
|
+
FAILED: "FAILED";
|
|
4764
4859
|
}>;
|
|
4765
4860
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
4766
4861
|
TIMEOUT: "TIMEOUT";
|
|
@@ -4787,10 +4882,10 @@ export declare const appInstallationActivitySchema: z.ZodObject<{
|
|
|
4787
4882
|
deliveryId: z.ZodString;
|
|
4788
4883
|
eventType: z.ZodString;
|
|
4789
4884
|
status: z.ZodEnum<{
|
|
4790
|
-
FAILED: "FAILED";
|
|
4791
4885
|
PENDING: "PENDING";
|
|
4792
4886
|
PENDING_RETRY: "PENDING_RETRY";
|
|
4793
4887
|
SUCCESS: "SUCCESS";
|
|
4888
|
+
FAILED: "FAILED";
|
|
4794
4889
|
}>;
|
|
4795
4890
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
4796
4891
|
TIMEOUT: "TIMEOUT";
|
|
@@ -5032,10 +5127,10 @@ export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
|
|
|
5032
5127
|
export declare const appBuildSchema: z.ZodObject<{
|
|
5033
5128
|
buildId: z.ZodString;
|
|
5034
5129
|
status: z.ZodEnum<{
|
|
5035
|
-
QUEUED: "QUEUED";
|
|
5036
|
-
RUNNING: "RUNNING";
|
|
5037
5130
|
FAILED: "FAILED";
|
|
5038
5131
|
SUCCEEDED: "SUCCEEDED";
|
|
5132
|
+
QUEUED: "QUEUED";
|
|
5133
|
+
RUNNING: "RUNNING";
|
|
5039
5134
|
TIMED_OUT: "TIMED_OUT";
|
|
5040
5135
|
}>;
|
|
5041
5136
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -5078,10 +5173,10 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
5078
5173
|
build: z.ZodNullable<z.ZodObject<{
|
|
5079
5174
|
buildId: z.ZodString;
|
|
5080
5175
|
status: z.ZodEnum<{
|
|
5081
|
-
QUEUED: "QUEUED";
|
|
5082
|
-
RUNNING: "RUNNING";
|
|
5083
5176
|
FAILED: "FAILED";
|
|
5084
5177
|
SUCCEEDED: "SUCCEEDED";
|
|
5178
|
+
QUEUED: "QUEUED";
|
|
5179
|
+
RUNNING: "RUNNING";
|
|
5085
5180
|
TIMED_OUT: "TIMED_OUT";
|
|
5086
5181
|
}>;
|
|
5087
5182
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -5229,10 +5324,10 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
5229
5324
|
build: z.ZodNullable<z.ZodObject<{
|
|
5230
5325
|
buildId: z.ZodString;
|
|
5231
5326
|
status: z.ZodEnum<{
|
|
5232
|
-
QUEUED: "QUEUED";
|
|
5233
|
-
RUNNING: "RUNNING";
|
|
5234
5327
|
FAILED: "FAILED";
|
|
5235
5328
|
SUCCEEDED: "SUCCEEDED";
|
|
5329
|
+
QUEUED: "QUEUED";
|
|
5330
|
+
RUNNING: "RUNNING";
|
|
5236
5331
|
TIMED_OUT: "TIMED_OUT";
|
|
5237
5332
|
}>;
|
|
5238
5333
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -5322,9 +5417,9 @@ export declare const appInvocationSchema: z.ZodObject<{
|
|
|
5322
5417
|
installationId: z.ZodString;
|
|
5323
5418
|
versionNumber: z.ZodNullable<z.ZodNumber>;
|
|
5324
5419
|
kind: z.ZodEnum<{
|
|
5325
|
-
tool: "tool";
|
|
5326
5420
|
event: "event";
|
|
5327
5421
|
flow: "flow";
|
|
5422
|
+
tool: "tool";
|
|
5328
5423
|
http: "http";
|
|
5329
5424
|
schedule: "schedule";
|
|
5330
5425
|
}>;
|
|
@@ -8776,10 +8871,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
8776
8871
|
}, z.core.$strip>;
|
|
8777
8872
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
8778
8873
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
8779
|
-
FAILED: "FAILED";
|
|
8780
8874
|
PENDING: "PENDING";
|
|
8781
8875
|
PENDING_RETRY: "PENDING_RETRY";
|
|
8782
8876
|
SUCCESS: "SUCCESS";
|
|
8877
|
+
FAILED: "FAILED";
|
|
8783
8878
|
}>;
|
|
8784
8879
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
8785
8880
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -8850,10 +8945,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
8850
8945
|
}>;
|
|
8851
8946
|
url: z.ZodString;
|
|
8852
8947
|
status: z.ZodEnum<{
|
|
8853
|
-
FAILED: "FAILED";
|
|
8854
8948
|
PENDING: "PENDING";
|
|
8855
8949
|
PENDING_RETRY: "PENDING_RETRY";
|
|
8856
8950
|
SUCCESS: "SUCCESS";
|
|
8951
|
+
FAILED: "FAILED";
|
|
8857
8952
|
}>;
|
|
8858
8953
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
8859
8954
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8912,10 +9007,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
8912
9007
|
}>;
|
|
8913
9008
|
url: z.ZodString;
|
|
8914
9009
|
status: z.ZodEnum<{
|
|
8915
|
-
FAILED: "FAILED";
|
|
8916
9010
|
PENDING: "PENDING";
|
|
8917
9011
|
PENDING_RETRY: "PENDING_RETRY";
|
|
8918
9012
|
SUCCESS: "SUCCESS";
|
|
9013
|
+
FAILED: "FAILED";
|
|
8919
9014
|
}>;
|
|
8920
9015
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
8921
9016
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -8956,10 +9051,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
8956
9051
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
8957
9052
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
8958
9053
|
status: z.ZodOptional<z.ZodEnum<{
|
|
8959
|
-
FAILED: "FAILED";
|
|
8960
9054
|
PENDING: "PENDING";
|
|
8961
9055
|
PENDING_RETRY: "PENDING_RETRY";
|
|
8962
9056
|
SUCCESS: "SUCCESS";
|
|
9057
|
+
FAILED: "FAILED";
|
|
8963
9058
|
}>>;
|
|
8964
9059
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
8965
9060
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -9337,10 +9432,10 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
9337
9432
|
}, z.core.$strip>;
|
|
9338
9433
|
payment: z.ZodObject<{
|
|
9339
9434
|
method: z.ZodEnum<{
|
|
9340
|
-
MOBILE: "MOBILE";
|
|
9341
9435
|
CARD: "CARD";
|
|
9342
9436
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
9343
9437
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
9438
|
+
MOBILE: "MOBILE";
|
|
9344
9439
|
POINT: "POINT";
|
|
9345
9440
|
MIXED: "MIXED";
|
|
9346
9441
|
}>;
|
|
@@ -9938,10 +10033,10 @@ export declare const DEDICATED_EASY_PAY_PROVIDER: {
|
|
|
9938
10033
|
readonly paypal: "PAYPAL";
|
|
9939
10034
|
};
|
|
9940
10035
|
export declare const pgPaymentMethodSchema: z.ZodEnum<{
|
|
9941
|
-
MOBILE: "MOBILE";
|
|
9942
10036
|
CARD: "CARD";
|
|
9943
10037
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
9944
10038
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10039
|
+
MOBILE: "MOBILE";
|
|
9945
10040
|
EASY_PAY: "EASY_PAY";
|
|
9946
10041
|
}>;
|
|
9947
10042
|
export type PgPaymentMethod = z.infer<typeof pgPaymentMethodSchema>;
|
|
@@ -9969,8 +10064,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
9969
10064
|
}>;
|
|
9970
10065
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
9971
10066
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
9972
|
-
FAILED: "FAILED";
|
|
9973
10067
|
SUCCESS: "SUCCESS";
|
|
10068
|
+
FAILED: "FAILED";
|
|
9974
10069
|
}>;
|
|
9975
10070
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
9976
10071
|
/**
|
|
@@ -9999,10 +10094,10 @@ export declare const portOneChannelSchema: z.ZodObject<{
|
|
|
9999
10094
|
channelKey: z.ZodString;
|
|
10000
10095
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10001
10096
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10002
|
-
MOBILE: "MOBILE";
|
|
10003
10097
|
CARD: "CARD";
|
|
10004
10098
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10005
10099
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10100
|
+
MOBILE: "MOBILE";
|
|
10006
10101
|
EASY_PAY: "EASY_PAY";
|
|
10007
10102
|
}>>;
|
|
10008
10103
|
}, z.core.$strip>;
|
|
@@ -10013,10 +10108,10 @@ export declare const portOneCredentialsInputSchema: z.ZodObject<{
|
|
|
10013
10108
|
channelKey: z.ZodString;
|
|
10014
10109
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10015
10110
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10016
|
-
MOBILE: "MOBILE";
|
|
10017
10111
|
CARD: "CARD";
|
|
10018
10112
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10019
10113
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10114
|
+
MOBILE: "MOBILE";
|
|
10020
10115
|
EASY_PAY: "EASY_PAY";
|
|
10021
10116
|
}>>;
|
|
10022
10117
|
}, z.core.$strip>>;
|
|
@@ -10085,10 +10180,10 @@ export declare const upsertPortOneProviderRequestSchema: z.ZodObject<{
|
|
|
10085
10180
|
channelKey: z.ZodString;
|
|
10086
10181
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10087
10182
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10088
|
-
MOBILE: "MOBILE";
|
|
10089
10183
|
CARD: "CARD";
|
|
10090
10184
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10091
10185
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10186
|
+
MOBILE: "MOBILE";
|
|
10092
10187
|
EASY_PAY: "EASY_PAY";
|
|
10093
10188
|
}>>;
|
|
10094
10189
|
}, z.core.$strip>>;
|
|
@@ -10195,10 +10290,10 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
10195
10290
|
channelKey: z.ZodString;
|
|
10196
10291
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10197
10292
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10198
|
-
MOBILE: "MOBILE";
|
|
10199
10293
|
CARD: "CARD";
|
|
10200
10294
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10201
10295
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10296
|
+
MOBILE: "MOBILE";
|
|
10202
10297
|
EASY_PAY: "EASY_PAY";
|
|
10203
10298
|
}>>;
|
|
10204
10299
|
}, z.core.$strip>>;
|
|
@@ -10219,8 +10314,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
10219
10314
|
}, z.core.$strip>>;
|
|
10220
10315
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10221
10316
|
result: z.ZodEnum<{
|
|
10222
|
-
FAILED: "FAILED";
|
|
10223
10317
|
SUCCESS: "SUCCESS";
|
|
10318
|
+
FAILED: "FAILED";
|
|
10224
10319
|
}>;
|
|
10225
10320
|
message: z.ZodNullable<z.ZodString>;
|
|
10226
10321
|
checkedAt: z.ZodString;
|
|
@@ -10311,10 +10406,10 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
10311
10406
|
channelKey: z.ZodString;
|
|
10312
10407
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10313
10408
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10314
|
-
MOBILE: "MOBILE";
|
|
10315
10409
|
CARD: "CARD";
|
|
10316
10410
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10317
10411
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10412
|
+
MOBILE: "MOBILE";
|
|
10318
10413
|
EASY_PAY: "EASY_PAY";
|
|
10319
10414
|
}>>;
|
|
10320
10415
|
}, z.core.$strip>>;
|
|
@@ -10335,8 +10430,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
10335
10430
|
}, z.core.$strip>>;
|
|
10336
10431
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10337
10432
|
result: z.ZodEnum<{
|
|
10338
|
-
FAILED: "FAILED";
|
|
10339
10433
|
SUCCESS: "SUCCESS";
|
|
10434
|
+
FAILED: "FAILED";
|
|
10340
10435
|
}>;
|
|
10341
10436
|
message: z.ZodNullable<z.ZodString>;
|
|
10342
10437
|
checkedAt: z.ZodString;
|
|
@@ -10357,10 +10452,10 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
10357
10452
|
channelKey: z.ZodString;
|
|
10358
10453
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10359
10454
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10360
|
-
MOBILE: "MOBILE";
|
|
10361
10455
|
CARD: "CARD";
|
|
10362
10456
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10363
10457
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10458
|
+
MOBILE: "MOBILE";
|
|
10364
10459
|
EASY_PAY: "EASY_PAY";
|
|
10365
10460
|
}>>;
|
|
10366
10461
|
}, z.core.$strip>>;
|
|
@@ -10381,8 +10476,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
10381
10476
|
}, z.core.$strip>>;
|
|
10382
10477
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10383
10478
|
result: z.ZodEnum<{
|
|
10384
|
-
FAILED: "FAILED";
|
|
10385
10479
|
SUCCESS: "SUCCESS";
|
|
10480
|
+
FAILED: "FAILED";
|
|
10386
10481
|
}>;
|
|
10387
10482
|
message: z.ZodNullable<z.ZodString>;
|
|
10388
10483
|
checkedAt: z.ZodString;
|
|
@@ -10402,10 +10497,10 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
10402
10497
|
channelKey: z.ZodString;
|
|
10403
10498
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10404
10499
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10405
|
-
MOBILE: "MOBILE";
|
|
10406
10500
|
CARD: "CARD";
|
|
10407
10501
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10408
10502
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10503
|
+
MOBILE: "MOBILE";
|
|
10409
10504
|
EASY_PAY: "EASY_PAY";
|
|
10410
10505
|
}>>;
|
|
10411
10506
|
}, z.core.$strip>>;
|
|
@@ -10426,8 +10521,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
10426
10521
|
}, z.core.$strip>>;
|
|
10427
10522
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10428
10523
|
result: z.ZodEnum<{
|
|
10429
|
-
FAILED: "FAILED";
|
|
10430
10524
|
SUCCESS: "SUCCESS";
|
|
10525
|
+
FAILED: "FAILED";
|
|
10431
10526
|
}>;
|
|
10432
10527
|
message: z.ZodNullable<z.ZodString>;
|
|
10433
10528
|
checkedAt: z.ZodString;
|
|
@@ -10503,10 +10598,10 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10503
10598
|
channelKey: z.ZodString;
|
|
10504
10599
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10505
10600
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10506
|
-
MOBILE: "MOBILE";
|
|
10507
10601
|
CARD: "CARD";
|
|
10508
10602
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10509
10603
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10604
|
+
MOBILE: "MOBILE";
|
|
10510
10605
|
EASY_PAY: "EASY_PAY";
|
|
10511
10606
|
}>>;
|
|
10512
10607
|
}, z.core.$strip>>;
|
|
@@ -10527,8 +10622,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10527
10622
|
}, z.core.$strip>>;
|
|
10528
10623
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10529
10624
|
result: z.ZodEnum<{
|
|
10530
|
-
FAILED: "FAILED";
|
|
10531
10625
|
SUCCESS: "SUCCESS";
|
|
10626
|
+
FAILED: "FAILED";
|
|
10532
10627
|
}>;
|
|
10533
10628
|
message: z.ZodNullable<z.ZodString>;
|
|
10534
10629
|
checkedAt: z.ZodString;
|
|
@@ -10549,10 +10644,10 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10549
10644
|
channelKey: z.ZodString;
|
|
10550
10645
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10551
10646
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10552
|
-
MOBILE: "MOBILE";
|
|
10553
10647
|
CARD: "CARD";
|
|
10554
10648
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10555
10649
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10650
|
+
MOBILE: "MOBILE";
|
|
10556
10651
|
EASY_PAY: "EASY_PAY";
|
|
10557
10652
|
}>>;
|
|
10558
10653
|
}, z.core.$strip>>;
|
|
@@ -10573,8 +10668,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10573
10668
|
}, z.core.$strip>>;
|
|
10574
10669
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10575
10670
|
result: z.ZodEnum<{
|
|
10576
|
-
FAILED: "FAILED";
|
|
10577
10671
|
SUCCESS: "SUCCESS";
|
|
10672
|
+
FAILED: "FAILED";
|
|
10578
10673
|
}>;
|
|
10579
10674
|
message: z.ZodNullable<z.ZodString>;
|
|
10580
10675
|
checkedAt: z.ZodString;
|
|
@@ -10594,10 +10689,10 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10594
10689
|
channelKey: z.ZodString;
|
|
10595
10690
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10596
10691
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10597
|
-
MOBILE: "MOBILE";
|
|
10598
10692
|
CARD: "CARD";
|
|
10599
10693
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10600
10694
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10695
|
+
MOBILE: "MOBILE";
|
|
10601
10696
|
EASY_PAY: "EASY_PAY";
|
|
10602
10697
|
}>>;
|
|
10603
10698
|
}, z.core.$strip>>;
|
|
@@ -10618,8 +10713,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10618
10713
|
}, z.core.$strip>>;
|
|
10619
10714
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10620
10715
|
result: z.ZodEnum<{
|
|
10621
|
-
FAILED: "FAILED";
|
|
10622
10716
|
SUCCESS: "SUCCESS";
|
|
10717
|
+
FAILED: "FAILED";
|
|
10623
10718
|
}>;
|
|
10624
10719
|
message: z.ZodNullable<z.ZodString>;
|
|
10625
10720
|
checkedAt: z.ZodString;
|
|
@@ -10671,10 +10766,10 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10671
10766
|
channelKey: z.ZodString;
|
|
10672
10767
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10673
10768
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10674
|
-
MOBILE: "MOBILE";
|
|
10675
10769
|
CARD: "CARD";
|
|
10676
10770
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10677
10771
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10772
|
+
MOBILE: "MOBILE";
|
|
10678
10773
|
EASY_PAY: "EASY_PAY";
|
|
10679
10774
|
}>>;
|
|
10680
10775
|
}, z.core.$strip>>;
|
|
@@ -10695,8 +10790,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10695
10790
|
}, z.core.$strip>>;
|
|
10696
10791
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10697
10792
|
result: z.ZodEnum<{
|
|
10698
|
-
FAILED: "FAILED";
|
|
10699
10793
|
SUCCESS: "SUCCESS";
|
|
10794
|
+
FAILED: "FAILED";
|
|
10700
10795
|
}>;
|
|
10701
10796
|
message: z.ZodNullable<z.ZodString>;
|
|
10702
10797
|
checkedAt: z.ZodString;
|
|
@@ -10717,10 +10812,10 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10717
10812
|
channelKey: z.ZodString;
|
|
10718
10813
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10719
10814
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10720
|
-
MOBILE: "MOBILE";
|
|
10721
10815
|
CARD: "CARD";
|
|
10722
10816
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10723
10817
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10818
|
+
MOBILE: "MOBILE";
|
|
10724
10819
|
EASY_PAY: "EASY_PAY";
|
|
10725
10820
|
}>>;
|
|
10726
10821
|
}, z.core.$strip>>;
|
|
@@ -10741,8 +10836,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10741
10836
|
}, z.core.$strip>>;
|
|
10742
10837
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10743
10838
|
result: z.ZodEnum<{
|
|
10744
|
-
FAILED: "FAILED";
|
|
10745
10839
|
SUCCESS: "SUCCESS";
|
|
10840
|
+
FAILED: "FAILED";
|
|
10746
10841
|
}>;
|
|
10747
10842
|
message: z.ZodNullable<z.ZodString>;
|
|
10748
10843
|
checkedAt: z.ZodString;
|
|
@@ -10762,10 +10857,10 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10762
10857
|
channelKey: z.ZodString;
|
|
10763
10858
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10764
10859
|
payMethods: z.ZodArray<z.ZodEnum<{
|
|
10765
|
-
MOBILE: "MOBILE";
|
|
10766
10860
|
CARD: "CARD";
|
|
10767
10861
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10768
10862
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10863
|
+
MOBILE: "MOBILE";
|
|
10769
10864
|
EASY_PAY: "EASY_PAY";
|
|
10770
10865
|
}>>;
|
|
10771
10866
|
}, z.core.$strip>>;
|
|
@@ -10786,8 +10881,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
10786
10881
|
}, z.core.$strip>>;
|
|
10787
10882
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
10788
10883
|
result: z.ZodEnum<{
|
|
10789
|
-
FAILED: "FAILED";
|
|
10790
10884
|
SUCCESS: "SUCCESS";
|
|
10885
|
+
FAILED: "FAILED";
|
|
10791
10886
|
}>;
|
|
10792
10887
|
message: z.ZodNullable<z.ZodString>;
|
|
10793
10888
|
checkedAt: z.ZodString;
|
|
@@ -10844,8 +10939,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
10844
10939
|
LIVE: "LIVE";
|
|
10845
10940
|
}>;
|
|
10846
10941
|
result: z.ZodEnum<{
|
|
10847
|
-
FAILED: "FAILED";
|
|
10848
10942
|
SUCCESS: "SUCCESS";
|
|
10943
|
+
FAILED: "FAILED";
|
|
10849
10944
|
}>;
|
|
10850
10945
|
message: z.ZodNullable<z.ZodString>;
|
|
10851
10946
|
checkedAt: z.ZodString;
|
|
@@ -10869,10 +10964,10 @@ export declare const salesReportQuerySchema: z.ZodObject<{
|
|
|
10869
10964
|
paypal: "paypal";
|
|
10870
10965
|
}>>;
|
|
10871
10966
|
method: z.ZodOptional<z.ZodEnum<{
|
|
10872
|
-
MOBILE: "MOBILE";
|
|
10873
10967
|
CARD: "CARD";
|
|
10874
10968
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10875
10969
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
10970
|
+
MOBILE: "MOBILE";
|
|
10876
10971
|
EASY_PAY: "EASY_PAY";
|
|
10877
10972
|
}>>;
|
|
10878
10973
|
groupBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10906,10 +11001,10 @@ export declare const salesReportRowSchema: z.ZodObject<{
|
|
|
10906
11001
|
date: z.ZodNullable<z.ZodString>;
|
|
10907
11002
|
provider: z.ZodNullable<z.ZodString>;
|
|
10908
11003
|
method: z.ZodNullable<z.ZodEnum<{
|
|
10909
|
-
MOBILE: "MOBILE";
|
|
10910
11004
|
CARD: "CARD";
|
|
10911
11005
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10912
11006
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11007
|
+
MOBILE: "MOBILE";
|
|
10913
11008
|
EASY_PAY: "EASY_PAY";
|
|
10914
11009
|
}>>;
|
|
10915
11010
|
}, z.core.$strip>;
|
|
@@ -10935,10 +11030,10 @@ export declare const salesReportCurrencySchema: z.ZodObject<{
|
|
|
10935
11030
|
date: z.ZodNullable<z.ZodString>;
|
|
10936
11031
|
provider: z.ZodNullable<z.ZodString>;
|
|
10937
11032
|
method: z.ZodNullable<z.ZodEnum<{
|
|
10938
|
-
MOBILE: "MOBILE";
|
|
10939
11033
|
CARD: "CARD";
|
|
10940
11034
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10941
11035
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11036
|
+
MOBILE: "MOBILE";
|
|
10942
11037
|
EASY_PAY: "EASY_PAY";
|
|
10943
11038
|
}>>;
|
|
10944
11039
|
}, z.core.$strip>>;
|
|
@@ -10957,10 +11052,10 @@ export declare const salesReportSchema: z.ZodObject<{
|
|
|
10957
11052
|
}>;
|
|
10958
11053
|
provider: z.ZodNullable<z.ZodString>;
|
|
10959
11054
|
method: z.ZodNullable<z.ZodEnum<{
|
|
10960
|
-
MOBILE: "MOBILE";
|
|
10961
11055
|
CARD: "CARD";
|
|
10962
11056
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10963
11057
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11058
|
+
MOBILE: "MOBILE";
|
|
10964
11059
|
EASY_PAY: "EASY_PAY";
|
|
10965
11060
|
}>>;
|
|
10966
11061
|
includeTest: z.ZodBoolean;
|
|
@@ -10982,10 +11077,10 @@ export declare const salesReportSchema: z.ZodObject<{
|
|
|
10982
11077
|
date: z.ZodNullable<z.ZodString>;
|
|
10983
11078
|
provider: z.ZodNullable<z.ZodString>;
|
|
10984
11079
|
method: z.ZodNullable<z.ZodEnum<{
|
|
10985
|
-
MOBILE: "MOBILE";
|
|
10986
11080
|
CARD: "CARD";
|
|
10987
11081
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
10988
11082
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11083
|
+
MOBILE: "MOBILE";
|
|
10989
11084
|
EASY_PAY: "EASY_PAY";
|
|
10990
11085
|
}>>;
|
|
10991
11086
|
}, z.core.$strip>>;
|
|
@@ -11009,10 +11104,10 @@ export declare const salesReportSchema: z.ZodObject<{
|
|
|
11009
11104
|
date: z.ZodNullable<z.ZodString>;
|
|
11010
11105
|
provider: z.ZodNullable<z.ZodString>;
|
|
11011
11106
|
method: z.ZodNullable<z.ZodEnum<{
|
|
11012
|
-
MOBILE: "MOBILE";
|
|
11013
11107
|
CARD: "CARD";
|
|
11014
11108
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11015
11109
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11110
|
+
MOBILE: "MOBILE";
|
|
11016
11111
|
EASY_PAY: "EASY_PAY";
|
|
11017
11112
|
}>>;
|
|
11018
11113
|
}, z.core.$strip>>;
|
|
@@ -11027,8 +11122,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
11027
11122
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
11028
11123
|
*/
|
|
11029
11124
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
11030
|
-
FAILED: "FAILED";
|
|
11031
11125
|
PENDING: "PENDING";
|
|
11126
|
+
FAILED: "FAILED";
|
|
11032
11127
|
APPROVED: "APPROVED";
|
|
11033
11128
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
11034
11129
|
REFUNDED: "REFUNDED";
|
|
@@ -11072,8 +11167,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
11072
11167
|
orderName: z.ZodString;
|
|
11073
11168
|
customerName: z.ZodString;
|
|
11074
11169
|
status: z.ZodEnum<{
|
|
11075
|
-
FAILED: "FAILED";
|
|
11076
11170
|
PENDING: "PENDING";
|
|
11171
|
+
FAILED: "FAILED";
|
|
11077
11172
|
APPROVED: "APPROVED";
|
|
11078
11173
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
11079
11174
|
REFUNDED: "REFUNDED";
|
|
@@ -11083,10 +11178,10 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
11083
11178
|
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
11084
11179
|
provider: z.ZodNullable<z.ZodString>;
|
|
11085
11180
|
method: z.ZodNullable<z.ZodEnum<{
|
|
11086
|
-
MOBILE: "MOBILE";
|
|
11087
11181
|
CARD: "CARD";
|
|
11088
11182
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11089
11183
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11184
|
+
MOBILE: "MOBILE";
|
|
11090
11185
|
EASY_PAY: "EASY_PAY";
|
|
11091
11186
|
}>>;
|
|
11092
11187
|
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -11117,8 +11212,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
11117
11212
|
orderName: z.ZodString;
|
|
11118
11213
|
customerName: z.ZodString;
|
|
11119
11214
|
status: z.ZodEnum<{
|
|
11120
|
-
FAILED: "FAILED";
|
|
11121
11215
|
PENDING: "PENDING";
|
|
11216
|
+
FAILED: "FAILED";
|
|
11122
11217
|
APPROVED: "APPROVED";
|
|
11123
11218
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
11124
11219
|
REFUNDED: "REFUNDED";
|
|
@@ -11128,10 +11223,10 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
11128
11223
|
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
11129
11224
|
provider: z.ZodNullable<z.ZodString>;
|
|
11130
11225
|
method: z.ZodNullable<z.ZodEnum<{
|
|
11131
|
-
MOBILE: "MOBILE";
|
|
11132
11226
|
CARD: "CARD";
|
|
11133
11227
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11134
11228
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11229
|
+
MOBILE: "MOBILE";
|
|
11135
11230
|
EASY_PAY: "EASY_PAY";
|
|
11136
11231
|
}>>;
|
|
11137
11232
|
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -11159,18 +11254,18 @@ export declare const paymentAttemptRecordSchema: z.ZodObject<{
|
|
|
11159
11254
|
provider: z.ZodString;
|
|
11160
11255
|
status: z.ZodString;
|
|
11161
11256
|
method: z.ZodEnum<{
|
|
11162
|
-
MOBILE: "MOBILE";
|
|
11163
11257
|
CARD: "CARD";
|
|
11164
11258
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11165
11259
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11260
|
+
MOBILE: "MOBILE";
|
|
11166
11261
|
EASY_PAY: "EASY_PAY";
|
|
11167
11262
|
}>;
|
|
11168
11263
|
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
11169
11264
|
approvedMethod: z.ZodNullable<z.ZodEnum<{
|
|
11170
|
-
MOBILE: "MOBILE";
|
|
11171
11265
|
CARD: "CARD";
|
|
11172
11266
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11173
11267
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11268
|
+
MOBILE: "MOBILE";
|
|
11174
11269
|
EASY_PAY: "EASY_PAY";
|
|
11175
11270
|
}>>;
|
|
11176
11271
|
approvedEasyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -11204,8 +11299,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
11204
11299
|
orderName: z.ZodString;
|
|
11205
11300
|
customerName: z.ZodString;
|
|
11206
11301
|
status: z.ZodEnum<{
|
|
11207
|
-
FAILED: "FAILED";
|
|
11208
11302
|
PENDING: "PENDING";
|
|
11303
|
+
FAILED: "FAILED";
|
|
11209
11304
|
APPROVED: "APPROVED";
|
|
11210
11305
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
11211
11306
|
REFUNDED: "REFUNDED";
|
|
@@ -11215,10 +11310,10 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
11215
11310
|
heldRefundAmount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
11216
11311
|
provider: z.ZodNullable<z.ZodString>;
|
|
11217
11312
|
method: z.ZodNullable<z.ZodEnum<{
|
|
11218
|
-
MOBILE: "MOBILE";
|
|
11219
11313
|
CARD: "CARD";
|
|
11220
11314
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11221
11315
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11316
|
+
MOBILE: "MOBILE";
|
|
11222
11317
|
EASY_PAY: "EASY_PAY";
|
|
11223
11318
|
}>>;
|
|
11224
11319
|
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -11245,18 +11340,18 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
11245
11340
|
provider: z.ZodString;
|
|
11246
11341
|
status: z.ZodString;
|
|
11247
11342
|
method: z.ZodEnum<{
|
|
11248
|
-
MOBILE: "MOBILE";
|
|
11249
11343
|
CARD: "CARD";
|
|
11250
11344
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11251
11345
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11346
|
+
MOBILE: "MOBILE";
|
|
11252
11347
|
EASY_PAY: "EASY_PAY";
|
|
11253
11348
|
}>;
|
|
11254
11349
|
easyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
11255
11350
|
approvedMethod: z.ZodNullable<z.ZodEnum<{
|
|
11256
|
-
MOBILE: "MOBILE";
|
|
11257
11351
|
CARD: "CARD";
|
|
11258
11352
|
BANK_TRANSFER: "BANK_TRANSFER";
|
|
11259
11353
|
VIRTUAL_ACCOUNT: "VIRTUAL_ACCOUNT";
|
|
11354
|
+
MOBILE: "MOBILE";
|
|
11260
11355
|
EASY_PAY: "EASY_PAY";
|
|
11261
11356
|
}>>;
|
|
11262
11357
|
approvedEasyPayProvider: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -11907,8 +12002,8 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
11907
12002
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11908
12003
|
type: z.ZodOptional<z.ZodEnum<{
|
|
11909
12004
|
number: "number";
|
|
11910
|
-
text: "text";
|
|
11911
12005
|
date: "date";
|
|
12006
|
+
text: "text";
|
|
11912
12007
|
select: "select";
|
|
11913
12008
|
datetime: "datetime";
|
|
11914
12009
|
image: "image";
|
|
@@ -11948,15 +12043,14 @@ export declare const discountSchema: z.ZodObject<{
|
|
|
11948
12043
|
}, z.core.$strip>;
|
|
11949
12044
|
export type Discount = z.infer<typeof discountSchema>;
|
|
11950
12045
|
export declare const productSchema: z.ZodObject<{
|
|
11951
|
-
name: z.ZodString;
|
|
11952
12046
|
status: z.ZodEnum<{
|
|
11953
12047
|
SALE: "SALE";
|
|
11954
12048
|
SUSPENDED: "SUSPENDED";
|
|
11955
12049
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
11956
12050
|
CLOSED: "CLOSED";
|
|
11957
12051
|
}>;
|
|
11958
|
-
updatedAt: z.ZodString;
|
|
11959
12052
|
salePrice: z.ZodNumber;
|
|
12053
|
+
name: z.ZodString;
|
|
11960
12054
|
stockQuantity: z.ZodNumber;
|
|
11961
12055
|
categoryId: z.ZodNullable<z.ZodString>;
|
|
11962
12056
|
productId: z.ZodString;
|
|
@@ -11964,6 +12058,7 @@ export declare const productSchema: z.ZodObject<{
|
|
|
11964
12058
|
productNo: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
11965
12059
|
discountedPrice: z.ZodNullable<z.ZodNumber>;
|
|
11966
12060
|
hasOptions: z.ZodBoolean;
|
|
12061
|
+
updatedAt: z.ZodString;
|
|
11967
12062
|
sample: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11968
12063
|
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11969
12064
|
currency: z.ZodString;
|
|
@@ -12298,8 +12393,8 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
12298
12393
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12299
12394
|
type: z.ZodOptional<z.ZodEnum<{
|
|
12300
12395
|
number: "number";
|
|
12301
|
-
text: "text";
|
|
12302
12396
|
date: "date";
|
|
12397
|
+
text: "text";
|
|
12303
12398
|
select: "select";
|
|
12304
12399
|
datetime: "datetime";
|
|
12305
12400
|
image: "image";
|
|
@@ -12544,8 +12639,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
12544
12639
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12545
12640
|
type: z.ZodOptional<z.ZodEnum<{
|
|
12546
12641
|
number: "number";
|
|
12547
|
-
text: "text";
|
|
12548
12642
|
date: "date";
|
|
12643
|
+
text: "text";
|
|
12549
12644
|
select: "select";
|
|
12550
12645
|
datetime: "datetime";
|
|
12551
12646
|
image: "image";
|
|
@@ -12788,8 +12883,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
12788
12883
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12789
12884
|
type: z.ZodOptional<z.ZodEnum<{
|
|
12790
12885
|
number: "number";
|
|
12791
|
-
text: "text";
|
|
12792
12886
|
date: "date";
|
|
12887
|
+
text: "text";
|
|
12793
12888
|
select: "select";
|
|
12794
12889
|
datetime: "datetime";
|
|
12795
12890
|
image: "image";
|
|
@@ -13401,8 +13496,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
13401
13496
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13402
13497
|
type: z.ZodOptional<z.ZodEnum<{
|
|
13403
13498
|
number: "number";
|
|
13404
|
-
text: "text";
|
|
13405
13499
|
date: "date";
|
|
13500
|
+
text: "text";
|
|
13406
13501
|
select: "select";
|
|
13407
13502
|
datetime: "datetime";
|
|
13408
13503
|
image: "image";
|
|
@@ -13441,8 +13536,8 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
13441
13536
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13442
13537
|
type: z.ZodOptional<z.ZodEnum<{
|
|
13443
13538
|
number: "number";
|
|
13444
|
-
text: "text";
|
|
13445
13539
|
date: "date";
|
|
13540
|
+
text: "text";
|
|
13446
13541
|
select: "select";
|
|
13447
13542
|
datetime: "datetime";
|
|
13448
13543
|
image: "image";
|
|
@@ -13918,8 +14013,8 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
13918
14013
|
STAFF: "STAFF";
|
|
13919
14014
|
}>;
|
|
13920
14015
|
status: z.ZodEnum<{
|
|
13921
|
-
EXPIRED: "EXPIRED";
|
|
13922
14016
|
PENDING: "PENDING";
|
|
14017
|
+
EXPIRED: "EXPIRED";
|
|
13923
14018
|
ACCEPTED: "ACCEPTED";
|
|
13924
14019
|
CANCELED: "CANCELED";
|
|
13925
14020
|
}>;
|
|
@@ -13958,8 +14053,8 @@ export type UpdateMemberRoleRequest = z.infer<typeof updateMemberRoleRequestSche
|
|
|
13958
14053
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
13959
14054
|
export declare const invitationListQuerySchema: z.ZodObject<{
|
|
13960
14055
|
status: z.ZodOptional<z.ZodEnum<{
|
|
13961
|
-
EXPIRED: "EXPIRED";
|
|
13962
14056
|
PENDING: "PENDING";
|
|
14057
|
+
EXPIRED: "EXPIRED";
|
|
13963
14058
|
ACCEPTED: "ACCEPTED";
|
|
13964
14059
|
CANCELED: "CANCELED";
|
|
13965
14060
|
}>>;
|
|
@@ -14045,7 +14140,6 @@ export type SellerAddressRequest = z.infer<typeof sellerAddressRequestSchema>;
|
|
|
14045
14140
|
* - 409 `STOREFRONT_NO_ROLLBACK_TARGET` — 되돌릴 이전 발행 버전이 없다
|
|
14046
14141
|
* - 409 `STOREFRONT_NOT_READY` — 공개 전환: 판매 중인 상품(샘플 제외)이 없다(이슈 #70). 상품을 등록한 뒤 공개한다
|
|
14047
14142
|
* - 409 `TEMPLATE_CHANGE_NOT_SUPPORTED` — 템플릿 변경(`POST /v1/storefront/site/template`, 폐기)은 항상 이 오류다
|
|
14048
|
-
* - 400 `STOREFRONT_SLUG_CONFIRM_MISMATCH` — 호스팅 끄기 확인 입력이 현재 슬러그와 다르다
|
|
14049
14143
|
* - 503 `STOREFRONT_PREVIEW_NOT_CONFIGURED` — 미리보기 서명 키가 설정되지 않았다
|
|
14050
14144
|
*
|
|
14051
14145
|
* 편집(M2b, `/v1/storefront/site/editing`·`files/**`·`checks/**`·`verify`·`builds/**`, 버전 만들기):
|
|
@@ -14129,8 +14223,8 @@ export declare const storefrontTemplateSchema: z.ZodObject<{
|
|
|
14129
14223
|
supportsCheckout: z.ZodDefault<z.ZodBoolean>;
|
|
14130
14224
|
previewUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
14131
14225
|
source: z.ZodDefault<z.ZodEnum<{
|
|
14132
|
-
STORE: "STORE";
|
|
14133
14226
|
CATALOG: "CATALOG";
|
|
14227
|
+
STORE: "STORE";
|
|
14134
14228
|
}>>;
|
|
14135
14229
|
}, z.core.$strip>;
|
|
14136
14230
|
export type StorefrontTemplate = z.infer<typeof storefrontTemplateSchema>;
|
|
@@ -14237,8 +14331,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
14237
14331
|
*/
|
|
14238
14332
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
14239
14333
|
status: z.ZodEnum<{
|
|
14240
|
-
FAILED: "FAILED";
|
|
14241
14334
|
PENDING: "PENDING";
|
|
14335
|
+
FAILED: "FAILED";
|
|
14242
14336
|
SYNCED: "SYNCED";
|
|
14243
14337
|
}>;
|
|
14244
14338
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -14332,8 +14426,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
14332
14426
|
}, z.core.$strip>>;
|
|
14333
14427
|
provisioning: z.ZodObject<{
|
|
14334
14428
|
status: z.ZodEnum<{
|
|
14335
|
-
FAILED: "FAILED";
|
|
14336
14429
|
PENDING: "PENDING";
|
|
14430
|
+
FAILED: "FAILED";
|
|
14337
14431
|
SYNCED: "SYNCED";
|
|
14338
14432
|
}>;
|
|
14339
14433
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -14424,8 +14518,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
14424
14518
|
}, z.core.$strip>>;
|
|
14425
14519
|
provisioning: z.ZodObject<{
|
|
14426
14520
|
status: z.ZodEnum<{
|
|
14427
|
-
FAILED: "FAILED";
|
|
14428
14521
|
PENDING: "PENDING";
|
|
14522
|
+
FAILED: "FAILED";
|
|
14429
14523
|
SYNCED: "SYNCED";
|
|
14430
14524
|
}>;
|
|
14431
14525
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -14472,10 +14566,10 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
14472
14566
|
PUBLISH: "PUBLISH";
|
|
14473
14567
|
}>;
|
|
14474
14568
|
status: z.ZodEnum<{
|
|
14475
|
-
RUNNING: "RUNNING";
|
|
14476
|
-
DONE: "DONE";
|
|
14477
|
-
FAILED: "FAILED";
|
|
14478
14569
|
PENDING: "PENDING";
|
|
14570
|
+
FAILED: "FAILED";
|
|
14571
|
+
DONE: "DONE";
|
|
14572
|
+
RUNNING: "RUNNING";
|
|
14479
14573
|
}>;
|
|
14480
14574
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
14481
14575
|
}, z.core.$strip>;
|
|
@@ -14508,10 +14602,10 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
14508
14602
|
PUBLISH: "PUBLISH";
|
|
14509
14603
|
}>;
|
|
14510
14604
|
status: z.ZodEnum<{
|
|
14511
|
-
RUNNING: "RUNNING";
|
|
14512
|
-
DONE: "DONE";
|
|
14513
|
-
FAILED: "FAILED";
|
|
14514
14605
|
PENDING: "PENDING";
|
|
14606
|
+
FAILED: "FAILED";
|
|
14607
|
+
DONE: "DONE";
|
|
14608
|
+
RUNNING: "RUNNING";
|
|
14515
14609
|
}>;
|
|
14516
14610
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
14517
14611
|
}, z.core.$strip>>;
|
|
@@ -14573,9 +14667,9 @@ export declare const setStorefrontVisibilityRequestSchema: z.ZodObject<{
|
|
|
14573
14667
|
}>>;
|
|
14574
14668
|
}, z.core.$strip>;
|
|
14575
14669
|
export type SetStorefrontVisibilityRequest = z.infer<typeof setStorefrontVisibilityRequestSchema>;
|
|
14576
|
-
/** 호스팅 끄기 — 사이트를 닫고(`CLOSED`) 슬러그를 보류한다. 확인 입력은
|
|
14670
|
+
/** 호스팅 끄기 — 사이트를 닫고(`CLOSED`) 슬러그를 보류한다. 확인 입력은 받지 않는다(2026-10-22) */
|
|
14577
14671
|
export declare const disableStorefrontHostingRequestSchema: z.ZodObject<{
|
|
14578
|
-
confirmSlug: z.ZodString
|
|
14672
|
+
confirmSlug: z.ZodOptional<z.ZodString>;
|
|
14579
14673
|
}, z.core.$strip>;
|
|
14580
14674
|
export type DisableStorefrontHostingRequest = z.infer<typeof disableStorefrontHostingRequestSchema>;
|
|
14581
14675
|
export declare const storefrontSlugAvailabilityQuerySchema: z.ZodObject<{
|
|
@@ -14632,8 +14726,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
14632
14726
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
14633
14727
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
14634
14728
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
14635
|
-
FAILED: "FAILED";
|
|
14636
14729
|
ACTIVE: "ACTIVE";
|
|
14730
|
+
FAILED: "FAILED";
|
|
14637
14731
|
PENDING_DNS: "PENDING_DNS";
|
|
14638
14732
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
14639
14733
|
}>;
|
|
@@ -14659,8 +14753,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
14659
14753
|
CUSTOM: "CUSTOM";
|
|
14660
14754
|
}>;
|
|
14661
14755
|
status: z.ZodEnum<{
|
|
14662
|
-
FAILED: "FAILED";
|
|
14663
14756
|
ACTIVE: "ACTIVE";
|
|
14757
|
+
FAILED: "FAILED";
|
|
14664
14758
|
PENDING_DNS: "PENDING_DNS";
|
|
14665
14759
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
14666
14760
|
}>;
|
|
@@ -14678,9 +14772,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
14678
14772
|
}>;
|
|
14679
14773
|
}, z.core.$strip>>;
|
|
14680
14774
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
14681
|
-
FAILED: "FAILED";
|
|
14682
14775
|
ACTIVE: "ACTIVE";
|
|
14683
14776
|
PENDING: "PENDING";
|
|
14777
|
+
FAILED: "FAILED";
|
|
14684
14778
|
}>>;
|
|
14685
14779
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
14686
14780
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -14702,8 +14796,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
14702
14796
|
CUSTOM: "CUSTOM";
|
|
14703
14797
|
}>;
|
|
14704
14798
|
status: z.ZodEnum<{
|
|
14705
|
-
FAILED: "FAILED";
|
|
14706
14799
|
ACTIVE: "ACTIVE";
|
|
14800
|
+
FAILED: "FAILED";
|
|
14707
14801
|
PENDING_DNS: "PENDING_DNS";
|
|
14708
14802
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
14709
14803
|
}>;
|
|
@@ -14721,9 +14815,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
14721
14815
|
}>;
|
|
14722
14816
|
}, z.core.$strip>>;
|
|
14723
14817
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
14724
|
-
FAILED: "FAILED";
|
|
14725
14818
|
ACTIVE: "ACTIVE";
|
|
14726
14819
|
PENDING: "PENDING";
|
|
14820
|
+
FAILED: "FAILED";
|
|
14727
14821
|
}>>;
|
|
14728
14822
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
14729
14823
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -15016,10 +15110,10 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
15016
15110
|
}, z.core.$strip>;
|
|
15017
15111
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
15018
15112
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
15019
|
-
QUEUED: "QUEUED";
|
|
15020
|
-
RUNNING: "RUNNING";
|
|
15021
15113
|
FAILED: "FAILED";
|
|
15022
15114
|
UNKNOWN: "UNKNOWN";
|
|
15115
|
+
QUEUED: "QUEUED";
|
|
15116
|
+
RUNNING: "RUNNING";
|
|
15023
15117
|
PASSED: "PASSED";
|
|
15024
15118
|
TIMED_OUT: "TIMED_OUT";
|
|
15025
15119
|
}>;
|
|
@@ -15030,10 +15124,10 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
15030
15124
|
checkId: z.ZodString;
|
|
15031
15125
|
check: z.ZodString;
|
|
15032
15126
|
status: z.ZodEnum<{
|
|
15033
|
-
QUEUED: "QUEUED";
|
|
15034
|
-
RUNNING: "RUNNING";
|
|
15035
15127
|
FAILED: "FAILED";
|
|
15036
15128
|
UNKNOWN: "UNKNOWN";
|
|
15129
|
+
QUEUED: "QUEUED";
|
|
15130
|
+
RUNNING: "RUNNING";
|
|
15037
15131
|
PASSED: "PASSED";
|
|
15038
15132
|
TIMED_OUT: "TIMED_OUT";
|
|
15039
15133
|
}>;
|
|
@@ -15115,10 +15209,10 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
15115
15209
|
}, z.core.$strip>;
|
|
15116
15210
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
15117
15211
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
15118
|
-
QUEUED: "QUEUED";
|
|
15119
|
-
RUNNING: "RUNNING";
|
|
15120
15212
|
FAILED: "FAILED";
|
|
15121
15213
|
SUCCEEDED: "SUCCEEDED";
|
|
15214
|
+
QUEUED: "QUEUED";
|
|
15215
|
+
RUNNING: "RUNNING";
|
|
15122
15216
|
TIMED_OUT: "TIMED_OUT";
|
|
15123
15217
|
}>;
|
|
15124
15218
|
export type StorefrontBuildStatus = z.infer<typeof storefrontBuildStatusSchema>;
|
|
@@ -15183,10 +15277,10 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
15183
15277
|
versionId: z.ZodString;
|
|
15184
15278
|
versionNumber: z.ZodNumber;
|
|
15185
15279
|
status: z.ZodEnum<{
|
|
15186
|
-
QUEUED: "QUEUED";
|
|
15187
|
-
RUNNING: "RUNNING";
|
|
15188
15280
|
FAILED: "FAILED";
|
|
15189
15281
|
SUCCEEDED: "SUCCEEDED";
|
|
15282
|
+
QUEUED: "QUEUED";
|
|
15283
|
+
RUNNING: "RUNNING";
|
|
15190
15284
|
TIMED_OUT: "TIMED_OUT";
|
|
15191
15285
|
}>;
|
|
15192
15286
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -15318,10 +15412,10 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
15318
15412
|
versionId: z.ZodString;
|
|
15319
15413
|
versionNumber: z.ZodNumber;
|
|
15320
15414
|
status: z.ZodEnum<{
|
|
15321
|
-
QUEUED: "QUEUED";
|
|
15322
|
-
RUNNING: "RUNNING";
|
|
15323
15415
|
FAILED: "FAILED";
|
|
15324
15416
|
SUCCEEDED: "SUCCEEDED";
|
|
15417
|
+
QUEUED: "QUEUED";
|
|
15418
|
+
RUNNING: "RUNNING";
|
|
15325
15419
|
TIMED_OUT: "TIMED_OUT";
|
|
15326
15420
|
}>;
|
|
15327
15421
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -15704,8 +15798,8 @@ interface StoreAuthServer {
|
|
|
15704
15798
|
resource?: string;
|
|
15705
15799
|
}
|
|
15706
15800
|
interface StoreSessionOptions {
|
|
15707
|
-
/** api 주소(
|
|
15708
|
-
baseUrl
|
|
15801
|
+
/** api 주소(버전 경로 포함) — `userinfo()`의 `GET /me`에 쓴다. 생략하면 운영 주소(`https://api.sayren.io/v1`) */
|
|
15802
|
+
baseUrl?: string;
|
|
15709
15803
|
/** 인가 서버(accounts) 주소들 */
|
|
15710
15804
|
authServer: StoreAuthServer;
|
|
15711
15805
|
/** OAuth public client id (예: avarlabs) */
|
|
@@ -15771,8 +15865,8 @@ export declare function createStoreSession(options: StoreSessionOptions): StoreS
|
|
|
15771
15865
|
//#endregion
|
|
15772
15866
|
//#region src/client.d.ts
|
|
15773
15867
|
interface StoreClientOptions {
|
|
15774
|
-
/**
|
|
15775
|
-
baseUrl
|
|
15868
|
+
/** 관리 API 주소(버전 경로 포함). 생략하면 운영 주소(`SAYREN_API_BASE_URL`, `https://api.sayren.io/v1`) — 개발·로컬에서만 지정한다 */
|
|
15869
|
+
baseUrl?: string;
|
|
15776
15870
|
/**
|
|
15777
15871
|
* 계정 토큰(accounts가 발급한 JWT — 상점 플랫폼 로그인, 개인 액세스 토큰, 연결된 앱의 토큰).
|
|
15778
15872
|
* 계정 API(`/me/*`)와 상점 API 모두에 Bearer로 싣는다. `session`을 주면 생략해도 세션 토큰을 쓴다.
|
|
@@ -15872,16 +15966,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
15872
15966
|
}[];
|
|
15873
15967
|
}>;
|
|
15874
15968
|
get: (productId: string) => Promise<{
|
|
15875
|
-
name: string;
|
|
15876
15969
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
15877
|
-
updatedAt: string;
|
|
15878
15970
|
salePrice: number;
|
|
15971
|
+
name: string;
|
|
15879
15972
|
stockQuantity: number;
|
|
15880
15973
|
categoryId: string | null;
|
|
15881
15974
|
productId: string;
|
|
15882
15975
|
productNo: number | null;
|
|
15883
15976
|
discountedPrice: number | null;
|
|
15884
15977
|
hasOptions: boolean;
|
|
15978
|
+
updatedAt: string;
|
|
15885
15979
|
sample: boolean;
|
|
15886
15980
|
optionGroups: {
|
|
15887
15981
|
groupId: string;
|
|
@@ -16021,16 +16115,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16021
16115
|
createdAt?: string | undefined;
|
|
16022
16116
|
}>;
|
|
16023
16117
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
16024
|
-
name: string;
|
|
16025
16118
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
16026
|
-
updatedAt: string;
|
|
16027
16119
|
salePrice: number;
|
|
16120
|
+
name: string;
|
|
16028
16121
|
stockQuantity: number;
|
|
16029
16122
|
categoryId: string | null;
|
|
16030
16123
|
productId: string;
|
|
16031
16124
|
productNo: number | null;
|
|
16032
16125
|
discountedPrice: number | null;
|
|
16033
16126
|
hasOptions: boolean;
|
|
16127
|
+
updatedAt: string;
|
|
16034
16128
|
sample: boolean;
|
|
16035
16129
|
optionGroups: {
|
|
16036
16130
|
groupId: string;
|
|
@@ -16170,16 +16264,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16170
16264
|
createdAt?: string | undefined;
|
|
16171
16265
|
}>;
|
|
16172
16266
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
16173
|
-
name: string;
|
|
16174
16267
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
16175
|
-
updatedAt: string;
|
|
16176
16268
|
salePrice: number;
|
|
16269
|
+
name: string;
|
|
16177
16270
|
stockQuantity: number;
|
|
16178
16271
|
categoryId: string | null;
|
|
16179
16272
|
productId: string;
|
|
16180
16273
|
productNo: number | null;
|
|
16181
16274
|
discountedPrice: number | null;
|
|
16182
16275
|
hasOptions: boolean;
|
|
16276
|
+
updatedAt: string;
|
|
16183
16277
|
sample: boolean;
|
|
16184
16278
|
optionGroups: {
|
|
16185
16279
|
groupId: string;
|
|
@@ -17403,7 +17497,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17403
17497
|
entranceCode?: string | null | undefined;
|
|
17404
17498
|
};
|
|
17405
17499
|
payment: {
|
|
17406
|
-
method: "
|
|
17500
|
+
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "POINT" | "MIXED";
|
|
17407
17501
|
approvedMethod: string | null;
|
|
17408
17502
|
easyPayProvider: string | null;
|
|
17409
17503
|
productAmount: number;
|
|
@@ -19801,7 +19895,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19801
19895
|
currency: "KRW";
|
|
19802
19896
|
groupBy: "DAY" | "PROVIDER" | "METHOD" | "PROVIDER_METHOD";
|
|
19803
19897
|
provider: string | null;
|
|
19804
|
-
method: "
|
|
19898
|
+
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
19805
19899
|
includeTest: boolean;
|
|
19806
19900
|
summary: {
|
|
19807
19901
|
paymentCount: number;
|
|
@@ -19820,7 +19914,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19820
19914
|
pgFeeAmount: number | null;
|
|
19821
19915
|
date: string | null;
|
|
19822
19916
|
provider: string | null;
|
|
19823
|
-
method: "
|
|
19917
|
+
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
19824
19918
|
}[];
|
|
19825
19919
|
byCurrency: {
|
|
19826
19920
|
currency: string;
|
|
@@ -19841,7 +19935,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19841
19935
|
pgFeeAmount: number | null;
|
|
19842
19936
|
date: string | null;
|
|
19843
19937
|
provider: string | null;
|
|
19844
|
-
method: "
|
|
19938
|
+
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
19845
19939
|
}[];
|
|
19846
19940
|
}[];
|
|
19847
19941
|
}>;
|
|
@@ -19932,7 +20026,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19932
20026
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
19933
20027
|
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
19934
20028
|
rows: {
|
|
19935
|
-
channel: "
|
|
20029
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
19936
20030
|
source: string | null;
|
|
19937
20031
|
medium: string | null;
|
|
19938
20032
|
campaign: string | null;
|
|
@@ -20067,12 +20161,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20067
20161
|
orderId: string | null;
|
|
20068
20162
|
orderName: string;
|
|
20069
20163
|
customerName: string;
|
|
20070
|
-
status: "
|
|
20164
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
20071
20165
|
amount: number;
|
|
20072
20166
|
refundedAmount: number;
|
|
20073
20167
|
heldRefundAmount: number;
|
|
20074
20168
|
provider: string | null;
|
|
20075
|
-
method: "
|
|
20169
|
+
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
20076
20170
|
easyPayProvider: string | null;
|
|
20077
20171
|
environment: "TEST" | "LIVE" | null;
|
|
20078
20172
|
testPayment: boolean;
|
|
@@ -20093,12 +20187,12 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20093
20187
|
orderId: string | null;
|
|
20094
20188
|
orderName: string;
|
|
20095
20189
|
customerName: string;
|
|
20096
|
-
status: "
|
|
20190
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
20097
20191
|
amount: number;
|
|
20098
20192
|
refundedAmount: number;
|
|
20099
20193
|
heldRefundAmount: number;
|
|
20100
20194
|
provider: string | null;
|
|
20101
|
-
method: "
|
|
20195
|
+
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
20102
20196
|
easyPayProvider: string | null;
|
|
20103
20197
|
environment: "TEST" | "LIVE" | null;
|
|
20104
20198
|
testPayment: boolean;
|
|
@@ -20119,9 +20213,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20119
20213
|
sequence: number;
|
|
20120
20214
|
provider: string;
|
|
20121
20215
|
status: string;
|
|
20122
|
-
method: "
|
|
20216
|
+
method: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY";
|
|
20123
20217
|
easyPayProvider: string | null;
|
|
20124
|
-
approvedMethod: "
|
|
20218
|
+
approvedMethod: "CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY" | null;
|
|
20125
20219
|
approvedEasyPayProvider: string | null;
|
|
20126
20220
|
amount: number;
|
|
20127
20221
|
environment: "TEST" | "LIVE";
|
|
@@ -20198,7 +20292,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20198
20292
|
storeId: string;
|
|
20199
20293
|
channels: {
|
|
20200
20294
|
channelKey: string;
|
|
20201
|
-
payMethods: ("
|
|
20295
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20202
20296
|
name?: string | null | undefined;
|
|
20203
20297
|
}[];
|
|
20204
20298
|
} | {
|
|
@@ -20217,7 +20311,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20217
20311
|
masked: string | null;
|
|
20218
20312
|
}[];
|
|
20219
20313
|
lastVerification: {
|
|
20220
|
-
result: "
|
|
20314
|
+
result: "SUCCESS" | "FAILED";
|
|
20221
20315
|
message: string | null;
|
|
20222
20316
|
checkedAt: string;
|
|
20223
20317
|
} | null;
|
|
@@ -20232,7 +20326,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20232
20326
|
storeId: string;
|
|
20233
20327
|
channels: {
|
|
20234
20328
|
channelKey: string;
|
|
20235
|
-
payMethods: ("
|
|
20329
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20236
20330
|
name?: string | null | undefined;
|
|
20237
20331
|
}[];
|
|
20238
20332
|
} | {
|
|
@@ -20251,7 +20345,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20251
20345
|
masked: string | null;
|
|
20252
20346
|
}[];
|
|
20253
20347
|
lastVerification: {
|
|
20254
|
-
result: "
|
|
20348
|
+
result: "SUCCESS" | "FAILED";
|
|
20255
20349
|
message: string | null;
|
|
20256
20350
|
checkedAt: string;
|
|
20257
20351
|
} | null;
|
|
@@ -20265,7 +20359,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20265
20359
|
storeId: string;
|
|
20266
20360
|
channels: {
|
|
20267
20361
|
channelKey: string;
|
|
20268
|
-
payMethods: ("
|
|
20362
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20269
20363
|
name?: string | null | undefined;
|
|
20270
20364
|
}[];
|
|
20271
20365
|
} | {
|
|
@@ -20284,7 +20378,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20284
20378
|
masked: string | null;
|
|
20285
20379
|
}[];
|
|
20286
20380
|
lastVerification: {
|
|
20287
|
-
result: "
|
|
20381
|
+
result: "SUCCESS" | "FAILED";
|
|
20288
20382
|
message: string | null;
|
|
20289
20383
|
checkedAt: string;
|
|
20290
20384
|
} | null;
|
|
@@ -20319,7 +20413,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20319
20413
|
storeId: string;
|
|
20320
20414
|
channels: {
|
|
20321
20415
|
channelKey: string;
|
|
20322
|
-
payMethods: ("
|
|
20416
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20323
20417
|
name?: string | null | undefined;
|
|
20324
20418
|
}[];
|
|
20325
20419
|
} | {
|
|
@@ -20338,7 +20432,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20338
20432
|
masked: string | null;
|
|
20339
20433
|
}[];
|
|
20340
20434
|
lastVerification: {
|
|
20341
|
-
result: "
|
|
20435
|
+
result: "SUCCESS" | "FAILED";
|
|
20342
20436
|
message: string | null;
|
|
20343
20437
|
checkedAt: string;
|
|
20344
20438
|
} | null;
|
|
@@ -20353,7 +20447,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20353
20447
|
storeId: string;
|
|
20354
20448
|
channels: {
|
|
20355
20449
|
channelKey: string;
|
|
20356
|
-
payMethods: ("
|
|
20450
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20357
20451
|
name?: string | null | undefined;
|
|
20358
20452
|
}[];
|
|
20359
20453
|
} | {
|
|
@@ -20372,7 +20466,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20372
20466
|
masked: string | null;
|
|
20373
20467
|
}[];
|
|
20374
20468
|
lastVerification: {
|
|
20375
|
-
result: "
|
|
20469
|
+
result: "SUCCESS" | "FAILED";
|
|
20376
20470
|
message: string | null;
|
|
20377
20471
|
checkedAt: string;
|
|
20378
20472
|
} | null;
|
|
@@ -20386,7 +20480,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20386
20480
|
storeId: string;
|
|
20387
20481
|
channels: {
|
|
20388
20482
|
channelKey: string;
|
|
20389
|
-
payMethods: ("
|
|
20483
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20390
20484
|
name?: string | null | undefined;
|
|
20391
20485
|
}[];
|
|
20392
20486
|
} | {
|
|
@@ -20405,7 +20499,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20405
20499
|
masked: string | null;
|
|
20406
20500
|
}[];
|
|
20407
20501
|
lastVerification: {
|
|
20408
|
-
result: "
|
|
20502
|
+
result: "SUCCESS" | "FAILED";
|
|
20409
20503
|
message: string | null;
|
|
20410
20504
|
checkedAt: string;
|
|
20411
20505
|
} | null;
|
|
@@ -20458,7 +20552,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20458
20552
|
storeId: string;
|
|
20459
20553
|
channels: {
|
|
20460
20554
|
channelKey: string;
|
|
20461
|
-
payMethods: ("
|
|
20555
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20462
20556
|
name?: string | null | undefined;
|
|
20463
20557
|
}[];
|
|
20464
20558
|
} | {
|
|
@@ -20477,7 +20571,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20477
20571
|
masked: string | null;
|
|
20478
20572
|
}[];
|
|
20479
20573
|
lastVerification: {
|
|
20480
|
-
result: "
|
|
20574
|
+
result: "SUCCESS" | "FAILED";
|
|
20481
20575
|
message: string | null;
|
|
20482
20576
|
checkedAt: string;
|
|
20483
20577
|
} | null;
|
|
@@ -20492,7 +20586,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20492
20586
|
storeId: string;
|
|
20493
20587
|
channels: {
|
|
20494
20588
|
channelKey: string;
|
|
20495
|
-
payMethods: ("
|
|
20589
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20496
20590
|
name?: string | null | undefined;
|
|
20497
20591
|
}[];
|
|
20498
20592
|
} | {
|
|
@@ -20511,7 +20605,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20511
20605
|
masked: string | null;
|
|
20512
20606
|
}[];
|
|
20513
20607
|
lastVerification: {
|
|
20514
|
-
result: "
|
|
20608
|
+
result: "SUCCESS" | "FAILED";
|
|
20515
20609
|
message: string | null;
|
|
20516
20610
|
checkedAt: string;
|
|
20517
20611
|
} | null;
|
|
@@ -20525,7 +20619,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20525
20619
|
storeId: string;
|
|
20526
20620
|
channels: {
|
|
20527
20621
|
channelKey: string;
|
|
20528
|
-
payMethods: ("
|
|
20622
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20529
20623
|
name?: string | null | undefined;
|
|
20530
20624
|
}[];
|
|
20531
20625
|
} | {
|
|
@@ -20544,7 +20638,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20544
20638
|
masked: string | null;
|
|
20545
20639
|
}[];
|
|
20546
20640
|
lastVerification: {
|
|
20547
|
-
result: "
|
|
20641
|
+
result: "SUCCESS" | "FAILED";
|
|
20548
20642
|
message: string | null;
|
|
20549
20643
|
checkedAt: string;
|
|
20550
20644
|
} | null;
|
|
@@ -20579,7 +20673,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20579
20673
|
storeId: string;
|
|
20580
20674
|
channels: {
|
|
20581
20675
|
channelKey: string;
|
|
20582
|
-
payMethods: ("
|
|
20676
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20583
20677
|
name?: string | null | undefined;
|
|
20584
20678
|
}[];
|
|
20585
20679
|
} | {
|
|
@@ -20598,7 +20692,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20598
20692
|
masked: string | null;
|
|
20599
20693
|
}[];
|
|
20600
20694
|
lastVerification: {
|
|
20601
|
-
result: "
|
|
20695
|
+
result: "SUCCESS" | "FAILED";
|
|
20602
20696
|
message: string | null;
|
|
20603
20697
|
checkedAt: string;
|
|
20604
20698
|
} | null;
|
|
@@ -20613,7 +20707,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20613
20707
|
storeId: string;
|
|
20614
20708
|
channels: {
|
|
20615
20709
|
channelKey: string;
|
|
20616
|
-
payMethods: ("
|
|
20710
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20617
20711
|
name?: string | null | undefined;
|
|
20618
20712
|
}[];
|
|
20619
20713
|
} | {
|
|
@@ -20632,7 +20726,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20632
20726
|
masked: string | null;
|
|
20633
20727
|
}[];
|
|
20634
20728
|
lastVerification: {
|
|
20635
|
-
result: "
|
|
20729
|
+
result: "SUCCESS" | "FAILED";
|
|
20636
20730
|
message: string | null;
|
|
20637
20731
|
checkedAt: string;
|
|
20638
20732
|
} | null;
|
|
@@ -20646,7 +20740,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20646
20740
|
storeId: string;
|
|
20647
20741
|
channels: {
|
|
20648
20742
|
channelKey: string;
|
|
20649
|
-
payMethods: ("
|
|
20743
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20650
20744
|
name?: string | null | undefined;
|
|
20651
20745
|
}[];
|
|
20652
20746
|
} | {
|
|
@@ -20665,7 +20759,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20665
20759
|
masked: string | null;
|
|
20666
20760
|
}[];
|
|
20667
20761
|
lastVerification: {
|
|
20668
|
-
result: "
|
|
20762
|
+
result: "SUCCESS" | "FAILED";
|
|
20669
20763
|
message: string | null;
|
|
20670
20764
|
checkedAt: string;
|
|
20671
20765
|
} | null;
|
|
@@ -20723,7 +20817,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20723
20817
|
storeId: string;
|
|
20724
20818
|
channels: {
|
|
20725
20819
|
channelKey: string;
|
|
20726
|
-
payMethods: ("
|
|
20820
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20727
20821
|
name?: string | null | undefined;
|
|
20728
20822
|
}[];
|
|
20729
20823
|
} | {
|
|
@@ -20742,7 +20836,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20742
20836
|
masked: string | null;
|
|
20743
20837
|
}[];
|
|
20744
20838
|
lastVerification: {
|
|
20745
|
-
result: "
|
|
20839
|
+
result: "SUCCESS" | "FAILED";
|
|
20746
20840
|
message: string | null;
|
|
20747
20841
|
checkedAt: string;
|
|
20748
20842
|
} | null;
|
|
@@ -20757,7 +20851,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20757
20851
|
storeId: string;
|
|
20758
20852
|
channels: {
|
|
20759
20853
|
channelKey: string;
|
|
20760
|
-
payMethods: ("
|
|
20854
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20761
20855
|
name?: string | null | undefined;
|
|
20762
20856
|
}[];
|
|
20763
20857
|
} | {
|
|
@@ -20776,7 +20870,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20776
20870
|
masked: string | null;
|
|
20777
20871
|
}[];
|
|
20778
20872
|
lastVerification: {
|
|
20779
|
-
result: "
|
|
20873
|
+
result: "SUCCESS" | "FAILED";
|
|
20780
20874
|
message: string | null;
|
|
20781
20875
|
checkedAt: string;
|
|
20782
20876
|
} | null;
|
|
@@ -20790,7 +20884,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20790
20884
|
storeId: string;
|
|
20791
20885
|
channels: {
|
|
20792
20886
|
channelKey: string;
|
|
20793
|
-
payMethods: ("
|
|
20887
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20794
20888
|
name?: string | null | undefined;
|
|
20795
20889
|
}[];
|
|
20796
20890
|
} | {
|
|
@@ -20809,7 +20903,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20809
20903
|
masked: string | null;
|
|
20810
20904
|
}[];
|
|
20811
20905
|
lastVerification: {
|
|
20812
|
-
result: "
|
|
20906
|
+
result: "SUCCESS" | "FAILED";
|
|
20813
20907
|
message: string | null;
|
|
20814
20908
|
checkedAt: string;
|
|
20815
20909
|
} | null;
|
|
@@ -20848,7 +20942,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20848
20942
|
storeId: string;
|
|
20849
20943
|
channels: {
|
|
20850
20944
|
channelKey: string;
|
|
20851
|
-
payMethods: ("
|
|
20945
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20852
20946
|
name?: string | null | undefined;
|
|
20853
20947
|
}[];
|
|
20854
20948
|
} | {
|
|
@@ -20867,7 +20961,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20867
20961
|
masked: string | null;
|
|
20868
20962
|
}[];
|
|
20869
20963
|
lastVerification: {
|
|
20870
|
-
result: "
|
|
20964
|
+
result: "SUCCESS" | "FAILED";
|
|
20871
20965
|
message: string | null;
|
|
20872
20966
|
checkedAt: string;
|
|
20873
20967
|
} | null;
|
|
@@ -20882,7 +20976,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20882
20976
|
storeId: string;
|
|
20883
20977
|
channels: {
|
|
20884
20978
|
channelKey: string;
|
|
20885
|
-
payMethods: ("
|
|
20979
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20886
20980
|
name?: string | null | undefined;
|
|
20887
20981
|
}[];
|
|
20888
20982
|
} | {
|
|
@@ -20901,7 +20995,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20901
20995
|
masked: string | null;
|
|
20902
20996
|
}[];
|
|
20903
20997
|
lastVerification: {
|
|
20904
|
-
result: "
|
|
20998
|
+
result: "SUCCESS" | "FAILED";
|
|
20905
20999
|
message: string | null;
|
|
20906
21000
|
checkedAt: string;
|
|
20907
21001
|
} | null;
|
|
@@ -20915,7 +21009,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20915
21009
|
storeId: string;
|
|
20916
21010
|
channels: {
|
|
20917
21011
|
channelKey: string;
|
|
20918
|
-
payMethods: ("
|
|
21012
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20919
21013
|
name?: string | null | undefined;
|
|
20920
21014
|
}[];
|
|
20921
21015
|
} | {
|
|
@@ -20934,7 +21028,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20934
21028
|
masked: string | null;
|
|
20935
21029
|
}[];
|
|
20936
21030
|
lastVerification: {
|
|
20937
|
-
result: "
|
|
21031
|
+
result: "SUCCESS" | "FAILED";
|
|
20938
21032
|
message: string | null;
|
|
20939
21033
|
checkedAt: string;
|
|
20940
21034
|
} | null;
|
|
@@ -20973,7 +21067,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20973
21067
|
storeId: string;
|
|
20974
21068
|
channels: {
|
|
20975
21069
|
channelKey: string;
|
|
20976
|
-
payMethods: ("
|
|
21070
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
20977
21071
|
name?: string | null | undefined;
|
|
20978
21072
|
}[];
|
|
20979
21073
|
} | {
|
|
@@ -20992,7 +21086,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
20992
21086
|
masked: string | null;
|
|
20993
21087
|
}[];
|
|
20994
21088
|
lastVerification: {
|
|
20995
|
-
result: "
|
|
21089
|
+
result: "SUCCESS" | "FAILED";
|
|
20996
21090
|
message: string | null;
|
|
20997
21091
|
checkedAt: string;
|
|
20998
21092
|
} | null;
|
|
@@ -21007,7 +21101,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21007
21101
|
storeId: string;
|
|
21008
21102
|
channels: {
|
|
21009
21103
|
channelKey: string;
|
|
21010
|
-
payMethods: ("
|
|
21104
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21011
21105
|
name?: string | null | undefined;
|
|
21012
21106
|
}[];
|
|
21013
21107
|
} | {
|
|
@@ -21026,7 +21120,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21026
21120
|
masked: string | null;
|
|
21027
21121
|
}[];
|
|
21028
21122
|
lastVerification: {
|
|
21029
|
-
result: "
|
|
21123
|
+
result: "SUCCESS" | "FAILED";
|
|
21030
21124
|
message: string | null;
|
|
21031
21125
|
checkedAt: string;
|
|
21032
21126
|
} | null;
|
|
@@ -21040,7 +21134,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21040
21134
|
storeId: string;
|
|
21041
21135
|
channels: {
|
|
21042
21136
|
channelKey: string;
|
|
21043
|
-
payMethods: ("
|
|
21137
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21044
21138
|
name?: string | null | undefined;
|
|
21045
21139
|
}[];
|
|
21046
21140
|
} | {
|
|
@@ -21059,7 +21153,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21059
21153
|
masked: string | null;
|
|
21060
21154
|
}[];
|
|
21061
21155
|
lastVerification: {
|
|
21062
|
-
result: "
|
|
21156
|
+
result: "SUCCESS" | "FAILED";
|
|
21063
21157
|
message: string | null;
|
|
21064
21158
|
checkedAt: string;
|
|
21065
21159
|
} | null;
|
|
@@ -21098,7 +21192,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21098
21192
|
storeId: string;
|
|
21099
21193
|
channels: {
|
|
21100
21194
|
channelKey: string;
|
|
21101
|
-
payMethods: ("
|
|
21195
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21102
21196
|
name?: string | null | undefined;
|
|
21103
21197
|
}[];
|
|
21104
21198
|
} | {
|
|
@@ -21117,7 +21211,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21117
21211
|
masked: string | null;
|
|
21118
21212
|
}[];
|
|
21119
21213
|
lastVerification: {
|
|
21120
|
-
result: "
|
|
21214
|
+
result: "SUCCESS" | "FAILED";
|
|
21121
21215
|
message: string | null;
|
|
21122
21216
|
checkedAt: string;
|
|
21123
21217
|
} | null;
|
|
@@ -21132,7 +21226,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21132
21226
|
storeId: string;
|
|
21133
21227
|
channels: {
|
|
21134
21228
|
channelKey: string;
|
|
21135
|
-
payMethods: ("
|
|
21229
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21136
21230
|
name?: string | null | undefined;
|
|
21137
21231
|
}[];
|
|
21138
21232
|
} | {
|
|
@@ -21151,7 +21245,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21151
21245
|
masked: string | null;
|
|
21152
21246
|
}[];
|
|
21153
21247
|
lastVerification: {
|
|
21154
|
-
result: "
|
|
21248
|
+
result: "SUCCESS" | "FAILED";
|
|
21155
21249
|
message: string | null;
|
|
21156
21250
|
checkedAt: string;
|
|
21157
21251
|
} | null;
|
|
@@ -21165,7 +21259,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21165
21259
|
storeId: string;
|
|
21166
21260
|
channels: {
|
|
21167
21261
|
channelKey: string;
|
|
21168
|
-
payMethods: ("
|
|
21262
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21169
21263
|
name?: string | null | undefined;
|
|
21170
21264
|
}[];
|
|
21171
21265
|
} | {
|
|
@@ -21184,7 +21278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21184
21278
|
masked: string | null;
|
|
21185
21279
|
}[];
|
|
21186
21280
|
lastVerification: {
|
|
21187
|
-
result: "
|
|
21281
|
+
result: "SUCCESS" | "FAILED";
|
|
21188
21282
|
message: string | null;
|
|
21189
21283
|
checkedAt: string;
|
|
21190
21284
|
} | null;
|
|
@@ -21223,7 +21317,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21223
21317
|
storeId: string;
|
|
21224
21318
|
channels: {
|
|
21225
21319
|
channelKey: string;
|
|
21226
|
-
payMethods: ("
|
|
21320
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21227
21321
|
name?: string | null | undefined;
|
|
21228
21322
|
}[];
|
|
21229
21323
|
} | {
|
|
@@ -21242,7 +21336,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21242
21336
|
masked: string | null;
|
|
21243
21337
|
}[];
|
|
21244
21338
|
lastVerification: {
|
|
21245
|
-
result: "
|
|
21339
|
+
result: "SUCCESS" | "FAILED";
|
|
21246
21340
|
message: string | null;
|
|
21247
21341
|
checkedAt: string;
|
|
21248
21342
|
} | null;
|
|
@@ -21257,7 +21351,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21257
21351
|
storeId: string;
|
|
21258
21352
|
channels: {
|
|
21259
21353
|
channelKey: string;
|
|
21260
|
-
payMethods: ("
|
|
21354
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21261
21355
|
name?: string | null | undefined;
|
|
21262
21356
|
}[];
|
|
21263
21357
|
} | {
|
|
@@ -21276,7 +21370,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21276
21370
|
masked: string | null;
|
|
21277
21371
|
}[];
|
|
21278
21372
|
lastVerification: {
|
|
21279
|
-
result: "
|
|
21373
|
+
result: "SUCCESS" | "FAILED";
|
|
21280
21374
|
message: string | null;
|
|
21281
21375
|
checkedAt: string;
|
|
21282
21376
|
} | null;
|
|
@@ -21290,7 +21384,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21290
21384
|
storeId: string;
|
|
21291
21385
|
channels: {
|
|
21292
21386
|
channelKey: string;
|
|
21293
|
-
payMethods: ("
|
|
21387
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21294
21388
|
name?: string | null | undefined;
|
|
21295
21389
|
}[];
|
|
21296
21390
|
} | {
|
|
@@ -21309,7 +21403,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21309
21403
|
masked: string | null;
|
|
21310
21404
|
}[];
|
|
21311
21405
|
lastVerification: {
|
|
21312
|
-
result: "
|
|
21406
|
+
result: "SUCCESS" | "FAILED";
|
|
21313
21407
|
message: string | null;
|
|
21314
21408
|
checkedAt: string;
|
|
21315
21409
|
} | null;
|
|
@@ -21357,7 +21451,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21357
21451
|
storeId: string;
|
|
21358
21452
|
channels: {
|
|
21359
21453
|
channelKey: string;
|
|
21360
|
-
payMethods: ("
|
|
21454
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21361
21455
|
name?: string | null | undefined;
|
|
21362
21456
|
}[];
|
|
21363
21457
|
} | {
|
|
@@ -21376,7 +21470,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21376
21470
|
masked: string | null;
|
|
21377
21471
|
}[];
|
|
21378
21472
|
lastVerification: {
|
|
21379
|
-
result: "
|
|
21473
|
+
result: "SUCCESS" | "FAILED";
|
|
21380
21474
|
message: string | null;
|
|
21381
21475
|
checkedAt: string;
|
|
21382
21476
|
} | null;
|
|
@@ -21391,7 +21485,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21391
21485
|
storeId: string;
|
|
21392
21486
|
channels: {
|
|
21393
21487
|
channelKey: string;
|
|
21394
|
-
payMethods: ("
|
|
21488
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21395
21489
|
name?: string | null | undefined;
|
|
21396
21490
|
}[];
|
|
21397
21491
|
} | {
|
|
@@ -21410,7 +21504,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21410
21504
|
masked: string | null;
|
|
21411
21505
|
}[];
|
|
21412
21506
|
lastVerification: {
|
|
21413
|
-
result: "
|
|
21507
|
+
result: "SUCCESS" | "FAILED";
|
|
21414
21508
|
message: string | null;
|
|
21415
21509
|
checkedAt: string;
|
|
21416
21510
|
} | null;
|
|
@@ -21424,7 +21518,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21424
21518
|
storeId: string;
|
|
21425
21519
|
channels: {
|
|
21426
21520
|
channelKey: string;
|
|
21427
|
-
payMethods: ("
|
|
21521
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21428
21522
|
name?: string | null | undefined;
|
|
21429
21523
|
}[];
|
|
21430
21524
|
} | {
|
|
@@ -21443,7 +21537,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21443
21537
|
masked: string | null;
|
|
21444
21538
|
}[];
|
|
21445
21539
|
lastVerification: {
|
|
21446
|
-
result: "
|
|
21540
|
+
result: "SUCCESS" | "FAILED";
|
|
21447
21541
|
message: string | null;
|
|
21448
21542
|
checkedAt: string;
|
|
21449
21543
|
} | null;
|
|
@@ -21482,7 +21576,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21482
21576
|
storeId: string;
|
|
21483
21577
|
channels: {
|
|
21484
21578
|
channelKey: string;
|
|
21485
|
-
payMethods: ("
|
|
21579
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21486
21580
|
name?: string | null | undefined;
|
|
21487
21581
|
}[];
|
|
21488
21582
|
} | {
|
|
@@ -21501,7 +21595,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21501
21595
|
masked: string | null;
|
|
21502
21596
|
}[];
|
|
21503
21597
|
lastVerification: {
|
|
21504
|
-
result: "
|
|
21598
|
+
result: "SUCCESS" | "FAILED";
|
|
21505
21599
|
message: string | null;
|
|
21506
21600
|
checkedAt: string;
|
|
21507
21601
|
} | null;
|
|
@@ -21516,7 +21610,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21516
21610
|
storeId: string;
|
|
21517
21611
|
channels: {
|
|
21518
21612
|
channelKey: string;
|
|
21519
|
-
payMethods: ("
|
|
21613
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21520
21614
|
name?: string | null | undefined;
|
|
21521
21615
|
}[];
|
|
21522
21616
|
} | {
|
|
@@ -21535,7 +21629,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21535
21629
|
masked: string | null;
|
|
21536
21630
|
}[];
|
|
21537
21631
|
lastVerification: {
|
|
21538
|
-
result: "
|
|
21632
|
+
result: "SUCCESS" | "FAILED";
|
|
21539
21633
|
message: string | null;
|
|
21540
21634
|
checkedAt: string;
|
|
21541
21635
|
} | null;
|
|
@@ -21549,7 +21643,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21549
21643
|
storeId: string;
|
|
21550
21644
|
channels: {
|
|
21551
21645
|
channelKey: string;
|
|
21552
|
-
payMethods: ("
|
|
21646
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21553
21647
|
name?: string | null | undefined;
|
|
21554
21648
|
}[];
|
|
21555
21649
|
} | {
|
|
@@ -21568,7 +21662,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21568
21662
|
masked: string | null;
|
|
21569
21663
|
}[];
|
|
21570
21664
|
lastVerification: {
|
|
21571
|
-
result: "
|
|
21665
|
+
result: "SUCCESS" | "FAILED";
|
|
21572
21666
|
message: string | null;
|
|
21573
21667
|
checkedAt: string;
|
|
21574
21668
|
} | null;
|
|
@@ -21642,7 +21736,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21642
21736
|
storeId: string;
|
|
21643
21737
|
channels: {
|
|
21644
21738
|
channelKey: string;
|
|
21645
|
-
payMethods: ("
|
|
21739
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21646
21740
|
name?: string | null | undefined;
|
|
21647
21741
|
}[];
|
|
21648
21742
|
} | {
|
|
@@ -21661,7 +21755,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21661
21755
|
masked: string | null;
|
|
21662
21756
|
}[];
|
|
21663
21757
|
lastVerification: {
|
|
21664
|
-
result: "
|
|
21758
|
+
result: "SUCCESS" | "FAILED";
|
|
21665
21759
|
message: string | null;
|
|
21666
21760
|
checkedAt: string;
|
|
21667
21761
|
} | null;
|
|
@@ -21676,7 +21770,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21676
21770
|
storeId: string;
|
|
21677
21771
|
channels: {
|
|
21678
21772
|
channelKey: string;
|
|
21679
|
-
payMethods: ("
|
|
21773
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21680
21774
|
name?: string | null | undefined;
|
|
21681
21775
|
}[];
|
|
21682
21776
|
} | {
|
|
@@ -21695,7 +21789,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21695
21789
|
masked: string | null;
|
|
21696
21790
|
}[];
|
|
21697
21791
|
lastVerification: {
|
|
21698
|
-
result: "
|
|
21792
|
+
result: "SUCCESS" | "FAILED";
|
|
21699
21793
|
message: string | null;
|
|
21700
21794
|
checkedAt: string;
|
|
21701
21795
|
} | null;
|
|
@@ -21709,7 +21803,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21709
21803
|
storeId: string;
|
|
21710
21804
|
channels: {
|
|
21711
21805
|
channelKey: string;
|
|
21712
|
-
payMethods: ("
|
|
21806
|
+
payMethods: ("CARD" | "BANK_TRANSFER" | "VIRTUAL_ACCOUNT" | "MOBILE" | "EASY_PAY")[];
|
|
21713
21807
|
name?: string | null | undefined;
|
|
21714
21808
|
}[];
|
|
21715
21809
|
} | {
|
|
@@ -21728,7 +21822,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21728
21822
|
masked: string | null;
|
|
21729
21823
|
}[];
|
|
21730
21824
|
lastVerification: {
|
|
21731
|
-
result: "
|
|
21825
|
+
result: "SUCCESS" | "FAILED";
|
|
21732
21826
|
message: string | null;
|
|
21733
21827
|
checkedAt: string;
|
|
21734
21828
|
} | null;
|
|
@@ -21758,7 +21852,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
21758
21852
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
21759
21853
|
provider: string;
|
|
21760
21854
|
environment: "TEST" | "LIVE";
|
|
21761
|
-
result: "
|
|
21855
|
+
result: "SUCCESS" | "FAILED";
|
|
21762
21856
|
message: string | null;
|
|
21763
21857
|
checkedAt: string;
|
|
21764
21858
|
}>;
|
|
@@ -22202,7 +22296,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22202
22296
|
runs: {
|
|
22203
22297
|
deliveryId: string;
|
|
22204
22298
|
eventType: string;
|
|
22205
|
-
status: "
|
|
22299
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
22206
22300
|
errorCode: "TIMEOUT" | "CONNECTION_FAILED" | "BLOCKED_ADDRESS" | "NON_2XX" | "WEBHOOK_SUSPENDED" | "APP_ERROR" | "APP_LIMIT_EXCEEDED" | "APP_REJECTED" | "APP_UNCONFIGURED" | "APP_INACTIVE" | "APP_RUNNER_UNAVAILABLE" | null;
|
|
22207
22301
|
attemptCount: number;
|
|
22208
22302
|
createdAt: string;
|
|
@@ -22399,7 +22493,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22399
22493
|
eventId: string;
|
|
22400
22494
|
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED";
|
|
22401
22495
|
url: string;
|
|
22402
|
-
status: "
|
|
22496
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
22403
22497
|
responseStatusCode: number | null;
|
|
22404
22498
|
responseTimeMs: number | null;
|
|
22405
22499
|
responseBodyExcerpt: string | null;
|
|
@@ -22426,7 +22520,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22426
22520
|
eventId: string;
|
|
22427
22521
|
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED";
|
|
22428
22522
|
url: string;
|
|
22429
|
-
status: "
|
|
22523
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
22430
22524
|
responseStatusCode: number | null;
|
|
22431
22525
|
responseTimeMs: number | null;
|
|
22432
22526
|
responseBodyExcerpt: string | null;
|
|
@@ -22461,7 +22555,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22461
22555
|
eventId: string;
|
|
22462
22556
|
eventType: "ORDER.PAID" | "ORDER.CONFIRMED" | "ORDER.DISPATCHED" | "ORDER.DELIVERED" | "ORDER.PURCHASE_DECIDED" | "ORDER.ADDRESS_CHANGE_REQUESTED" | "ORDER.CANCELED" | "ORDER.FULFILLED" | "CLAIM.CANCEL_REQUESTED" | "CLAIM.RETURN_REQUESTED" | "CLAIM.EXCHANGE_REQUESTED" | "CLAIM.COMPLETED" | "INQUIRY.CREATED" | "REVIEW.CREATED" | "PRODUCT.OUT_OF_STOCK" | "ORDER.FLOW_NOTIFICATION" | "ORDER.FLOW_STATE_CHANGED" | "INVENTORY.CHANGED";
|
|
22463
22557
|
url: string;
|
|
22464
|
-
status: "
|
|
22558
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
22465
22559
|
responseStatusCode: number | null;
|
|
22466
22560
|
responseTimeMs: number | null;
|
|
22467
22561
|
responseBodyExcerpt: string | null;
|
|
@@ -22575,7 +22669,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22575
22669
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
22576
22670
|
items: {
|
|
22577
22671
|
approvalId: string;
|
|
22578
|
-
status: "
|
|
22672
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
22579
22673
|
operationId: string;
|
|
22580
22674
|
method: string;
|
|
22581
22675
|
path: string;
|
|
@@ -22627,7 +22721,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22627
22721
|
}>;
|
|
22628
22722
|
get: (approvalId: string) => Promise<{
|
|
22629
22723
|
approvalId: string;
|
|
22630
|
-
status: "
|
|
22724
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
22631
22725
|
operationId: string;
|
|
22632
22726
|
method: string;
|
|
22633
22727
|
path: string;
|
|
@@ -22681,7 +22775,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22681
22775
|
*/
|
|
22682
22776
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
22683
22777
|
approvalId: string;
|
|
22684
|
-
status: "
|
|
22778
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
22685
22779
|
operationId: string;
|
|
22686
22780
|
method: string;
|
|
22687
22781
|
path: string;
|
|
@@ -22731,7 +22825,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22731
22825
|
}>;
|
|
22732
22826
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
22733
22827
|
approvalId: string;
|
|
22734
|
-
status: "
|
|
22828
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
22735
22829
|
operationId: string;
|
|
22736
22830
|
method: string;
|
|
22737
22831
|
path: string;
|
|
@@ -23065,14 +23159,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23065
23159
|
parts: ({
|
|
23066
23160
|
type: "text";
|
|
23067
23161
|
text: string;
|
|
23162
|
+
choice?: string | undefined;
|
|
23068
23163
|
} | {
|
|
23069
23164
|
type: "tool";
|
|
23070
23165
|
toolCallId: string;
|
|
23071
23166
|
name: string;
|
|
23072
23167
|
label: string;
|
|
23073
|
-
status: "
|
|
23168
|
+
status: "unknown" | "error" | "ok";
|
|
23074
23169
|
summary: string | null;
|
|
23075
|
-
activity?: "
|
|
23170
|
+
activity?: "code" | "status" | "check" | "version" | "shipping" | "category" | "brief" | "files" | "preview" | "template" | "site" | "info" | "upload" | "design" | "product" | "verify" | undefined;
|
|
23076
23171
|
target?: string | undefined;
|
|
23077
23172
|
changes?: {
|
|
23078
23173
|
path: string;
|
|
@@ -23083,6 +23178,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23083
23178
|
kind: "added" | "removed";
|
|
23084
23179
|
text: string;
|
|
23085
23180
|
}[];
|
|
23181
|
+
lines?: [number, number][] | undefined;
|
|
23086
23182
|
}[] | undefined;
|
|
23087
23183
|
} | {
|
|
23088
23184
|
type: "choices";
|
|
@@ -23091,7 +23187,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23091
23187
|
label: string;
|
|
23092
23188
|
value: string;
|
|
23093
23189
|
templateId?: string | undefined;
|
|
23094
|
-
shopType?: "
|
|
23190
|
+
shopType?: "MOBILE" | "BASIC" | "INTERACTIVE" | "STORYTELLING" | "CATALOG" | "LOOKBOOK" | undefined;
|
|
23095
23191
|
boardFile?: string | undefined;
|
|
23096
23192
|
}[];
|
|
23097
23193
|
} | {
|
|
@@ -23145,14 +23241,15 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23145
23241
|
text: string;
|
|
23146
23242
|
} | {
|
|
23147
23243
|
type: "phase";
|
|
23148
|
-
phase: "
|
|
23244
|
+
phase: "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "BUILD" | "DONE";
|
|
23149
23245
|
} | {
|
|
23150
23246
|
type: "todos";
|
|
23151
23247
|
todos: {
|
|
23152
23248
|
content: string;
|
|
23153
|
-
status: "pending" | "in_progress" | "completed";
|
|
23249
|
+
status: "pending" | "in_progress" | "completed" | "blocked";
|
|
23154
23250
|
id?: string | undefined;
|
|
23155
|
-
phase?: "
|
|
23251
|
+
phase?: "STORE" | "STRUCTURE" | "DESIGN" | "ENVIRONMENT" | "BUILD" | "DONE" | undefined;
|
|
23252
|
+
note?: string | undefined;
|
|
23156
23253
|
}[];
|
|
23157
23254
|
})[];
|
|
23158
23255
|
runId: string | null;
|
|
@@ -23160,7 +23257,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23160
23257
|
}[];
|
|
23161
23258
|
activeRun: {
|
|
23162
23259
|
id: string;
|
|
23163
|
-
status: "
|
|
23260
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
23164
23261
|
errorCode: string | null;
|
|
23165
23262
|
createdAt: string;
|
|
23166
23263
|
finishedAt: string | null;
|
|
@@ -23172,7 +23269,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23172
23269
|
} | null;
|
|
23173
23270
|
lastRun: {
|
|
23174
23271
|
id: string;
|
|
23175
|
-
status: "
|
|
23272
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
23176
23273
|
errorCode: string | null;
|
|
23177
23274
|
createdAt: string;
|
|
23178
23275
|
finishedAt: string | null;
|
|
@@ -23188,7 +23285,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23188
23285
|
/** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
|
|
23189
23286
|
cancelRun: (runId: string) => Promise<{
|
|
23190
23287
|
id: string;
|
|
23191
|
-
status: "
|
|
23288
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
23192
23289
|
errorCode: string | null;
|
|
23193
23290
|
createdAt: string;
|
|
23194
23291
|
finishedAt: string | null;
|
|
@@ -23197,7 +23294,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23197
23294
|
listFileChanges: (conversationId: string) => Promise<{
|
|
23198
23295
|
runs: {
|
|
23199
23296
|
runId: string;
|
|
23200
|
-
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN"
|
|
23297
|
+
status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
|
|
23201
23298
|
files: {
|
|
23202
23299
|
path: string;
|
|
23203
23300
|
change: "created" | "modified" | "deleted";
|
|
@@ -23207,7 +23304,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23207
23304
|
/** `GET /v1/ai/runs/{id}/file-changes` — 실행 하나의 변경 내용(이전·이후) */
|
|
23208
23305
|
getRunFileDiff: (runId: string) => Promise<{
|
|
23209
23306
|
runId: string;
|
|
23210
|
-
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN"
|
|
23307
|
+
status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
|
|
23211
23308
|
files: {
|
|
23212
23309
|
path: string;
|
|
23213
23310
|
change: "created" | "modified" | "deleted";
|
|
@@ -23241,7 +23338,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23241
23338
|
tags: string[];
|
|
23242
23339
|
supportsCheckout: boolean;
|
|
23243
23340
|
previewUrl: string | null;
|
|
23244
|
-
source: "
|
|
23341
|
+
source: "CATALOG" | "STORE";
|
|
23245
23342
|
}[]>;
|
|
23246
23343
|
/** `GET /v1/storefront/template` — 템플릿 상점의 템플릿 정보(#123). 템플릿 상점이 아니면 404 `TEMPLATE_STORE_NOT_FOUND` */
|
|
23247
23344
|
getStoreTemplate: () => Promise<{
|
|
@@ -23304,7 +23401,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23304
23401
|
previewable?: boolean | undefined;
|
|
23305
23402
|
} | null;
|
|
23306
23403
|
provisioning: {
|
|
23307
|
-
status: "
|
|
23404
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23308
23405
|
lastErrorCode: string | null;
|
|
23309
23406
|
syncedAt: string | null;
|
|
23310
23407
|
};
|
|
@@ -23374,7 +23471,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23374
23471
|
previewable?: boolean | undefined;
|
|
23375
23472
|
} | null;
|
|
23376
23473
|
provisioning: {
|
|
23377
|
-
status: "
|
|
23474
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23378
23475
|
lastErrorCode: string | null;
|
|
23379
23476
|
syncedAt: string | null;
|
|
23380
23477
|
};
|
|
@@ -23404,7 +23501,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23404
23501
|
finishedAt: string | null;
|
|
23405
23502
|
steps: {
|
|
23406
23503
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
23407
|
-
status: "
|
|
23504
|
+
status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
|
|
23408
23505
|
finishedAt: string | null;
|
|
23409
23506
|
}[];
|
|
23410
23507
|
log: {
|
|
@@ -23426,7 +23523,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23426
23523
|
finishedAt: string | null;
|
|
23427
23524
|
steps: {
|
|
23428
23525
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
23429
|
-
status: "
|
|
23526
|
+
status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
|
|
23430
23527
|
finishedAt: string | null;
|
|
23431
23528
|
}[];
|
|
23432
23529
|
log: {
|
|
@@ -23482,7 +23579,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23482
23579
|
previewable?: boolean | undefined;
|
|
23483
23580
|
} | null;
|
|
23484
23581
|
provisioning: {
|
|
23485
|
-
status: "
|
|
23582
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23486
23583
|
lastErrorCode: string | null;
|
|
23487
23584
|
syncedAt: string | null;
|
|
23488
23585
|
};
|
|
@@ -23564,7 +23661,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23564
23661
|
previewable?: boolean | undefined;
|
|
23565
23662
|
} | null;
|
|
23566
23663
|
provisioning: {
|
|
23567
|
-
status: "
|
|
23664
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23568
23665
|
lastErrorCode: string | null;
|
|
23569
23666
|
syncedAt: string | null;
|
|
23570
23667
|
};
|
|
@@ -23624,7 +23721,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23624
23721
|
previewable?: boolean | undefined;
|
|
23625
23722
|
} | null;
|
|
23626
23723
|
provisioning: {
|
|
23627
|
-
status: "
|
|
23724
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23628
23725
|
lastErrorCode: string | null;
|
|
23629
23726
|
syncedAt: string | null;
|
|
23630
23727
|
};
|
|
@@ -23684,7 +23781,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23684
23781
|
previewable?: boolean | undefined;
|
|
23685
23782
|
} | null;
|
|
23686
23783
|
provisioning: {
|
|
23687
|
-
status: "
|
|
23784
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23688
23785
|
lastErrorCode: string | null;
|
|
23689
23786
|
syncedAt: string | null;
|
|
23690
23787
|
};
|
|
@@ -23744,7 +23841,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23744
23841
|
previewable?: boolean | undefined;
|
|
23745
23842
|
} | null;
|
|
23746
23843
|
provisioning: {
|
|
23747
|
-
status: "
|
|
23844
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23748
23845
|
lastErrorCode: string | null;
|
|
23749
23846
|
syncedAt: string | null;
|
|
23750
23847
|
};
|
|
@@ -23827,7 +23924,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23827
23924
|
domainId: string;
|
|
23828
23925
|
hostname: string;
|
|
23829
23926
|
kind: "PLATFORM" | "CUSTOM";
|
|
23830
|
-
status: "
|
|
23927
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
23831
23928
|
isPrimary: boolean;
|
|
23832
23929
|
dnsRecords: {
|
|
23833
23930
|
type: "CNAME" | "TXT";
|
|
@@ -23835,7 +23932,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23835
23932
|
value: string;
|
|
23836
23933
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
23837
23934
|
}[];
|
|
23838
|
-
certificateStatus: "
|
|
23935
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
23839
23936
|
failureCode: string | null;
|
|
23840
23937
|
verifiedAt: string | null;
|
|
23841
23938
|
activatedAt: string | null;
|
|
@@ -23851,7 +23948,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23851
23948
|
domainId: string;
|
|
23852
23949
|
hostname: string;
|
|
23853
23950
|
kind: "PLATFORM" | "CUSTOM";
|
|
23854
|
-
status: "
|
|
23951
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
23855
23952
|
isPrimary: boolean;
|
|
23856
23953
|
dnsRecords: {
|
|
23857
23954
|
type: "CNAME" | "TXT";
|
|
@@ -23859,7 +23956,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23859
23956
|
value: string;
|
|
23860
23957
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
23861
23958
|
}[];
|
|
23862
|
-
certificateStatus: "
|
|
23959
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
23863
23960
|
failureCode: string | null;
|
|
23864
23961
|
verifiedAt: string | null;
|
|
23865
23962
|
activatedAt: string | null;
|
|
@@ -23871,7 +23968,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23871
23968
|
domainId: string;
|
|
23872
23969
|
hostname: string;
|
|
23873
23970
|
kind: "PLATFORM" | "CUSTOM";
|
|
23874
|
-
status: "
|
|
23971
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
23875
23972
|
isPrimary: boolean;
|
|
23876
23973
|
dnsRecords: {
|
|
23877
23974
|
type: "CNAME" | "TXT";
|
|
@@ -23879,7 +23976,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23879
23976
|
value: string;
|
|
23880
23977
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
23881
23978
|
}[];
|
|
23882
|
-
certificateStatus: "
|
|
23979
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
23883
23980
|
failureCode: string | null;
|
|
23884
23981
|
verifiedAt: string | null;
|
|
23885
23982
|
activatedAt: string | null;
|
|
@@ -23895,7 +23992,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23895
23992
|
domainId: string;
|
|
23896
23993
|
hostname: string;
|
|
23897
23994
|
kind: "PLATFORM" | "CUSTOM";
|
|
23898
|
-
status: "
|
|
23995
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
23899
23996
|
isPrimary: boolean;
|
|
23900
23997
|
dnsRecords: {
|
|
23901
23998
|
type: "CNAME" | "TXT";
|
|
@@ -23903,7 +24000,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23903
24000
|
value: string;
|
|
23904
24001
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
23905
24002
|
}[];
|
|
23906
|
-
certificateStatus: "
|
|
24003
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
23907
24004
|
failureCode: string | null;
|
|
23908
24005
|
verifiedAt: string | null;
|
|
23909
24006
|
activatedAt: string | null;
|
|
@@ -23914,7 +24011,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23914
24011
|
/** `DELETE /v1/storefront/site/domains/{domainId}` — 내 도메인 연결을 해제한다(곧바로 끊긴다) */
|
|
23915
24012
|
removeDomain: (domainId: string) => Promise<void>;
|
|
23916
24013
|
/** `POST /v1/storefront/site/disable` — 호스팅을 끈다(사이트 `CLOSED`, 슬러그 90일 보류). 다시 만들 수 있다 */
|
|
23917
|
-
disable: (body
|
|
24014
|
+
disable: (body?: DisableStorefrontHostingRequest) => Promise<{
|
|
23918
24015
|
siteId: string;
|
|
23919
24016
|
slug: string;
|
|
23920
24017
|
hostname: string;
|
|
@@ -23952,7 +24049,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23952
24049
|
previewable?: boolean | undefined;
|
|
23953
24050
|
} | null;
|
|
23954
24051
|
provisioning: {
|
|
23955
|
-
status: "
|
|
24052
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
23956
24053
|
lastErrorCode: string | null;
|
|
23957
24054
|
syncedAt: string | null;
|
|
23958
24055
|
};
|
|
@@ -24137,7 +24234,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24137
24234
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
24138
24235
|
checkId: string;
|
|
24139
24236
|
check: string;
|
|
24140
|
-
status: "
|
|
24237
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
24141
24238
|
exitCode: number | null;
|
|
24142
24239
|
durationMs: number | null;
|
|
24143
24240
|
outputTail: string | null;
|
|
@@ -24151,7 +24248,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24151
24248
|
getCheck: (checkId: string) => Promise<{
|
|
24152
24249
|
checkId: string;
|
|
24153
24250
|
check: string;
|
|
24154
|
-
status: "
|
|
24251
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
24155
24252
|
exitCode: number | null;
|
|
24156
24253
|
durationMs: number | null;
|
|
24157
24254
|
outputTail: string | null;
|
|
@@ -24224,7 +24321,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24224
24321
|
buildId: string;
|
|
24225
24322
|
versionId: string;
|
|
24226
24323
|
versionNumber: number;
|
|
24227
|
-
status: "
|
|
24324
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
24228
24325
|
failureStage: string | null;
|
|
24229
24326
|
errorCode: string | null;
|
|
24230
24327
|
logTail: string | null;
|
|
@@ -24305,7 +24402,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24305
24402
|
buildId: string;
|
|
24306
24403
|
versionId: string;
|
|
24307
24404
|
versionNumber: number;
|
|
24308
|
-
status: "
|
|
24405
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
24309
24406
|
failureStage: string | null;
|
|
24310
24407
|
errorCode: string | null;
|
|
24311
24408
|
logTail: string | null;
|
|
@@ -24383,7 +24480,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24383
24480
|
buildId: string;
|
|
24384
24481
|
versionId: string;
|
|
24385
24482
|
versionNumber: number;
|
|
24386
|
-
status: "
|
|
24483
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
24387
24484
|
failureStage: string | null;
|
|
24388
24485
|
errorCode: string | null;
|
|
24389
24486
|
logTail: string | null;
|
|
@@ -24558,7 +24655,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24558
24655
|
previewable?: boolean | undefined;
|
|
24559
24656
|
} | null;
|
|
24560
24657
|
provisioning: {
|
|
24561
|
-
status: "
|
|
24658
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
24562
24659
|
lastErrorCode: string | null;
|
|
24563
24660
|
syncedAt: string | null;
|
|
24564
24661
|
};
|
|
@@ -24667,7 +24764,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24667
24764
|
code: string;
|
|
24668
24765
|
name: string;
|
|
24669
24766
|
};
|
|
24670
|
-
status: "
|
|
24767
|
+
status: "ACTIVE" | "CANCELED" | "INCOMPLETE" | "PAST_DUE";
|
|
24671
24768
|
interval: "MONTH" | null;
|
|
24672
24769
|
cancelAtPeriodEnd: boolean;
|
|
24673
24770
|
period: {
|
|
@@ -24977,7 +25074,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24977
25074
|
invitationId: string;
|
|
24978
25075
|
email: string;
|
|
24979
25076
|
role: "ADMIN" | "STAFF";
|
|
24980
|
-
status: "
|
|
25077
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
24981
25078
|
invitedBy: string;
|
|
24982
25079
|
expiresAt: string;
|
|
24983
25080
|
createdAt: string;
|
|
@@ -24995,7 +25092,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
24995
25092
|
invitationId: string;
|
|
24996
25093
|
email: string;
|
|
24997
25094
|
role: "ADMIN" | "STAFF";
|
|
24998
|
-
status: "
|
|
25095
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
24999
25096
|
invitedBy: string;
|
|
25000
25097
|
expiresAt: string;
|
|
25001
25098
|
createdAt: string;
|
|
@@ -25010,7 +25107,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
25010
25107
|
invitationId: string;
|
|
25011
25108
|
email: string;
|
|
25012
25109
|
role: "ADMIN" | "STAFF";
|
|
25013
|
-
status: "
|
|
25110
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
25014
25111
|
invitedBy: string;
|
|
25015
25112
|
expiresAt: string;
|
|
25016
25113
|
createdAt: string;
|
|
@@ -25528,8 +25625,8 @@ export type PlanEntitlementValues = z.infer<typeof planEntitlementsSchema>;
|
|
|
25528
25625
|
/** 공개 요금제 한 줄 — `GET /v1/public/plans` */
|
|
25529
25626
|
export declare const publicPlanSchema: z.ZodObject<{
|
|
25530
25627
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
25531
|
-
BASIC: "BASIC";
|
|
25532
25628
|
FREE: "FREE";
|
|
25629
|
+
BASIC: "BASIC";
|
|
25533
25630
|
BETA: "BETA";
|
|
25534
25631
|
PRO: "PRO";
|
|
25535
25632
|
BUSINESS: "BUSINESS";
|
|
@@ -25586,8 +25683,8 @@ export declare const publicPlansSchema: z.ZodObject<{
|
|
|
25586
25683
|
vatPercent: z.ZodNumber;
|
|
25587
25684
|
plans: z.ZodArray<z.ZodObject<{
|
|
25588
25685
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
25589
|
-
BASIC: "BASIC";
|
|
25590
25686
|
FREE: "FREE";
|
|
25687
|
+
BASIC: "BASIC";
|
|
25591
25688
|
BETA: "BETA";
|
|
25592
25689
|
PRO: "PRO";
|
|
25593
25690
|
BUSINESS: "BUSINESS";
|
|
@@ -26225,10 +26322,10 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
26225
26322
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
26226
26323
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
26227
26324
|
category: "category";
|
|
26228
|
-
product: "product";
|
|
26229
|
-
storefront: "storefront";
|
|
26230
26325
|
flow: "flow";
|
|
26326
|
+
product: "product";
|
|
26231
26327
|
analytics: "analytics";
|
|
26328
|
+
storefront: "storefront";
|
|
26232
26329
|
order: "order";
|
|
26233
26330
|
claim: "claim";
|
|
26234
26331
|
inquiry: "inquiry";
|
|
@@ -26734,8 +26831,8 @@ export type StarterStatus = z.infer<typeof starterStatusSchema>;
|
|
|
26734
26831
|
*/
|
|
26735
26832
|
/** 요금제 코드 — 이름(`plan.name`)이 바뀌어도 코드는 바뀌지 않는다. 값은 추가만 한다 */
|
|
26736
26833
|
export declare const planCodeSchema: z.ZodEnum<{
|
|
26737
|
-
BASIC: "BASIC";
|
|
26738
26834
|
FREE: "FREE";
|
|
26835
|
+
BASIC: "BASIC";
|
|
26739
26836
|
BETA: "BETA";
|
|
26740
26837
|
PRO: "PRO";
|
|
26741
26838
|
BUSINESS: "BUSINESS";
|
|
@@ -26748,8 +26845,8 @@ export type PlanCode = z.infer<typeof planCodeSchema>;
|
|
|
26748
26845
|
* 넓게 받는다(옛 SDK는 새 코드를 모르면 파싱에 실패했다, #44 리뷰 M3). 요청에는 `planCodeSchema`를 쓴다
|
|
26749
26846
|
*/
|
|
26750
26847
|
export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
26751
|
-
BASIC: "BASIC";
|
|
26752
26848
|
FREE: "FREE";
|
|
26849
|
+
BASIC: "BASIC";
|
|
26753
26850
|
BETA: "BETA";
|
|
26754
26851
|
PRO: "PRO";
|
|
26755
26852
|
BUSINESS: "BUSINESS";
|
|
@@ -26758,9 +26855,9 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
26758
26855
|
}>, z.ZodString]>;
|
|
26759
26856
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
26760
26857
|
export declare const subscriptionStatusSchema: z.ZodEnum<{
|
|
26761
|
-
INCOMPLETE: "INCOMPLETE";
|
|
26762
26858
|
ACTIVE: "ACTIVE";
|
|
26763
26859
|
CANCELED: "CANCELED";
|
|
26860
|
+
INCOMPLETE: "INCOMPLETE";
|
|
26764
26861
|
PAST_DUE: "PAST_DUE";
|
|
26765
26862
|
}>;
|
|
26766
26863
|
export type SubscriptionStatus = z.infer<typeof subscriptionStatusSchema>;
|
|
@@ -26803,8 +26900,8 @@ export type SubscriptionUsage = z.infer<typeof subscriptionUsageSchema>;
|
|
|
26803
26900
|
export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
26804
26901
|
plan: z.ZodObject<{
|
|
26805
26902
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
26806
|
-
BASIC: "BASIC";
|
|
26807
26903
|
FREE: "FREE";
|
|
26904
|
+
BASIC: "BASIC";
|
|
26808
26905
|
BETA: "BETA";
|
|
26809
26906
|
PRO: "PRO";
|
|
26810
26907
|
BUSINESS: "BUSINESS";
|
|
@@ -26814,9 +26911,9 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
26814
26911
|
name: z.ZodString;
|
|
26815
26912
|
}, z.core.$strip>;
|
|
26816
26913
|
status: z.ZodEnum<{
|
|
26817
|
-
INCOMPLETE: "INCOMPLETE";
|
|
26818
26914
|
ACTIVE: "ACTIVE";
|
|
26819
26915
|
CANCELED: "CANCELED";
|
|
26916
|
+
INCOMPLETE: "INCOMPLETE";
|
|
26820
26917
|
PAST_DUE: "PAST_DUE";
|
|
26821
26918
|
}>;
|
|
26822
26919
|
interval: z.ZodNullable<z.ZodEnum<{
|
|
@@ -26901,8 +26998,8 @@ export declare const planErrorDetailsSchema: z.ZodObject<{
|
|
|
26901
26998
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26902
26999
|
used: z.ZodOptional<z.ZodNumber>;
|
|
26903
27000
|
plan: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26904
|
-
BASIC: "BASIC";
|
|
26905
27001
|
FREE: "FREE";
|
|
27002
|
+
BASIC: "BASIC";
|
|
26906
27003
|
BETA: "BETA";
|
|
26907
27004
|
PRO: "PRO";
|
|
26908
27005
|
BUSINESS: "BUSINESS";
|