@sayren/store-sdk 0.30.15 → 0.30.17
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 +740 -209
- package/dist/index.mjs +7848 -7724
- package/dist/server.d.mts +1 -1
- package/package.json +1 -1
- package/src/client.ts +3 -0
- package/src/member-delegation.ts +1 -1
- package/src/oauth.ts +11 -1
- package/src/schemas/ai.ts +98 -0
- package/src/schemas/app-manifest.ts +1 -0
- package/src/schemas/apps.ts +1 -1
- package/src/schemas/storefront-hosting.ts +7 -0
- package/src/session.ts +1 -1
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>>;
|
|
@@ -460,11 +460,11 @@ export declare const aiPreviewSelectionSchema: z.ZodObject<{
|
|
|
460
460
|
export type AiPreviewSelection = z.infer<typeof aiPreviewSelectionSchema>;
|
|
461
461
|
/** 실행 상태 — 끝난 상태는 `DONE`·`FAILED`·`CANCELLED`다 */
|
|
462
462
|
export declare const aiRunStatusSchema: z.ZodEnum<{
|
|
463
|
-
|
|
464
|
-
RUNNING: "RUNNING";
|
|
463
|
+
FAILED: "FAILED";
|
|
465
464
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
466
465
|
DONE: "DONE";
|
|
467
|
-
|
|
466
|
+
QUEUED: "QUEUED";
|
|
467
|
+
RUNNING: "RUNNING";
|
|
468
468
|
CANCELLED: "CANCELLED";
|
|
469
469
|
}>;
|
|
470
470
|
export type AiRunStatus = z.infer<typeof aiRunStatusSchema>;
|
|
@@ -479,11 +479,11 @@ export type AiStreamAccess = z.infer<typeof aiStreamAccessSchema>;
|
|
|
479
479
|
export declare const aiRunSchema: z.ZodObject<{
|
|
480
480
|
id: z.ZodString;
|
|
481
481
|
status: z.ZodEnum<{
|
|
482
|
-
|
|
483
|
-
RUNNING: "RUNNING";
|
|
482
|
+
FAILED: "FAILED";
|
|
484
483
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
485
484
|
DONE: "DONE";
|
|
486
|
-
|
|
485
|
+
QUEUED: "QUEUED";
|
|
486
|
+
RUNNING: "RUNNING";
|
|
487
487
|
CANCELLED: "CANCELLED";
|
|
488
488
|
}>;
|
|
489
489
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -491,13 +491,72 @@ export declare const aiRunSchema: z.ZodObject<{
|
|
|
491
491
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
492
492
|
}, z.core.$strip>;
|
|
493
493
|
export type AiRun = z.infer<typeof aiRunSchema>;
|
|
494
|
+
/**
|
|
495
|
+
* AI가 지금 하는 일의 종류 — 도구 이름·operationId·파일 경로로 서버가 정한다(상점 만들기 진행 화면이 아이콘·문구를 고른다). 정하지 못한 도구는 없다
|
|
496
|
+
*/
|
|
497
|
+
export declare const aiActivitySchema: z.ZodEnum<{
|
|
498
|
+
code: "code";
|
|
499
|
+
status: "status";
|
|
500
|
+
check: "check";
|
|
501
|
+
shipping: "shipping";
|
|
502
|
+
category: "category";
|
|
503
|
+
brief: "brief";
|
|
504
|
+
files: "files";
|
|
505
|
+
version: "version";
|
|
506
|
+
preview: "preview";
|
|
507
|
+
template: "template";
|
|
508
|
+
site: "site";
|
|
509
|
+
info: "info";
|
|
510
|
+
upload: "upload";
|
|
511
|
+
design: "design";
|
|
512
|
+
product: "product";
|
|
513
|
+
verify: "verify";
|
|
514
|
+
}>;
|
|
515
|
+
export type AiActivity = z.infer<typeof aiActivitySchema>;
|
|
516
|
+
/**
|
|
517
|
+
* 도구가 바꾼 파일 하나(2026-10-13, AI 상점 도우미 작업 공간의 수정 중인 코드) — 서버가 도구 입력으로 계산한다.
|
|
518
|
+
* `edit`는 바꾼 부분의 줄 비교, `write`는 새로 쓴 내용(이전 내용을 모르므로 모두 추가로 센다). `preview`는 바뀐 줄 앞부분 12줄까지다
|
|
519
|
+
*/
|
|
520
|
+
export declare const aiToolChangeSchema: z.ZodObject<{
|
|
521
|
+
path: z.ZodString;
|
|
522
|
+
mode: z.ZodEnum<{
|
|
523
|
+
edit: "edit";
|
|
524
|
+
write: "write";
|
|
525
|
+
}>;
|
|
526
|
+
added: z.ZodNumber;
|
|
527
|
+
removed: z.ZodNumber;
|
|
528
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
529
|
+
kind: z.ZodEnum<{
|
|
530
|
+
added: "added";
|
|
531
|
+
removed: "removed";
|
|
532
|
+
}>;
|
|
533
|
+
text: z.ZodString;
|
|
534
|
+
}, z.core.$strip>>;
|
|
535
|
+
}, z.core.$strip>;
|
|
536
|
+
export type AiToolChange = z.infer<typeof aiToolChangeSchema>;
|
|
537
|
+
/**
|
|
538
|
+
* 에이전트 작업 단계(2026-10-13, AI 상점 도우미 작업 공간) — 에이전트가 패널 도구로 알린다.
|
|
539
|
+
* 상점·상품·배포 준비 → 쇼핑몰 구조 설계 → 개발 환경 준비(라이브러리·SDK) → 코드 수정 루프 → 완료
|
|
540
|
+
*/
|
|
541
|
+
export declare const AI_AGENT_PHASES: readonly ["STORE", "STRUCTURE", "ENVIRONMENT", "BUILD", "DONE"];
|
|
542
|
+
export declare const aiAgentPhaseSchema: z.ZodEnum<{
|
|
543
|
+
STORE: "STORE";
|
|
544
|
+
STRUCTURE: "STRUCTURE";
|
|
545
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
546
|
+
BUILD: "BUILD";
|
|
547
|
+
DONE: "DONE";
|
|
548
|
+
}>;
|
|
549
|
+
export type AiAgentPhase = z.infer<typeof aiAgentPhaseSchema>;
|
|
494
550
|
/**
|
|
495
551
|
* 화면에 그리는 메시지 조각. 모델 원문(tool_use 블록 등)은 api가 보관하고 화면에는 이 형태만 준다.
|
|
496
552
|
* - `text`: 글
|
|
497
553
|
* - `tool`: 도구 호출 한 번(이름은 사람이 읽는 라벨, 결과 요약·링크)
|
|
498
554
|
* - `choices`: 선택지 버튼(가장 최근 것만 누를 수 있다)
|
|
555
|
+
* - `business_form`: 사업자 정보 입력 폼(가장 최근 것만 제출할 수 있다, 건너뛸 수 있다)
|
|
499
556
|
* - `attachment`: 사용자가 올린 첨부
|
|
500
557
|
* - `approval`: 승인 대기로 남은 쓰기
|
|
558
|
+
* - `reasoning`: 모델의 생각 요약(2026-10-13, AI 상점 도우미 작업 공간이 도구 호출과 따로 표시한다)
|
|
559
|
+
* - `phase`: 에이전트가 알린 작업 단계(작업 공간의 단계 표시)
|
|
501
560
|
*/
|
|
502
561
|
export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
503
562
|
type: z.ZodLiteral<"text">;
|
|
@@ -508,11 +567,46 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
508
567
|
name: z.ZodString;
|
|
509
568
|
label: z.ZodString;
|
|
510
569
|
status: z.ZodEnum<{
|
|
511
|
-
error: "error";
|
|
512
570
|
unknown: "unknown";
|
|
571
|
+
error: "error";
|
|
513
572
|
ok: "ok";
|
|
514
573
|
}>;
|
|
515
574
|
summary: z.ZodNullable<z.ZodString>;
|
|
575
|
+
activity: z.ZodOptional<z.ZodEnum<{
|
|
576
|
+
code: "code";
|
|
577
|
+
status: "status";
|
|
578
|
+
check: "check";
|
|
579
|
+
shipping: "shipping";
|
|
580
|
+
category: "category";
|
|
581
|
+
brief: "brief";
|
|
582
|
+
files: "files";
|
|
583
|
+
version: "version";
|
|
584
|
+
preview: "preview";
|
|
585
|
+
template: "template";
|
|
586
|
+
site: "site";
|
|
587
|
+
info: "info";
|
|
588
|
+
upload: "upload";
|
|
589
|
+
design: "design";
|
|
590
|
+
product: "product";
|
|
591
|
+
verify: "verify";
|
|
592
|
+
}>>;
|
|
593
|
+
target: z.ZodOptional<z.ZodString>;
|
|
594
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
595
|
+
path: z.ZodString;
|
|
596
|
+
mode: z.ZodEnum<{
|
|
597
|
+
edit: "edit";
|
|
598
|
+
write: "write";
|
|
599
|
+
}>;
|
|
600
|
+
added: z.ZodNumber;
|
|
601
|
+
removed: z.ZodNumber;
|
|
602
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
603
|
+
kind: z.ZodEnum<{
|
|
604
|
+
added: "added";
|
|
605
|
+
removed: "removed";
|
|
606
|
+
}>;
|
|
607
|
+
text: z.ZodString;
|
|
608
|
+
}, z.core.$strip>>;
|
|
609
|
+
}, z.core.$strip>>>;
|
|
516
610
|
}, z.core.$strip>, z.ZodObject<{
|
|
517
611
|
type: z.ZodLiteral<"choices">;
|
|
518
612
|
question: z.ZodString;
|
|
@@ -520,6 +614,9 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
520
614
|
label: z.ZodString;
|
|
521
615
|
value: z.ZodString;
|
|
522
616
|
}, z.core.$strip>>;
|
|
617
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
618
|
+
type: z.ZodLiteral<"business_form">;
|
|
619
|
+
question: z.ZodString;
|
|
523
620
|
}, z.core.$strip>, z.ZodObject<{
|
|
524
621
|
type: z.ZodLiteral<"attachment">;
|
|
525
622
|
attachment: z.ZodObject<{
|
|
@@ -544,6 +641,18 @@ export declare const aiMessagePartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
544
641
|
text: z.ZodString;
|
|
545
642
|
pagePath: z.ZodString;
|
|
546
643
|
}, z.core.$strip>;
|
|
644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
645
|
+
type: z.ZodLiteral<"reasoning">;
|
|
646
|
+
text: z.ZodString;
|
|
647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
648
|
+
type: z.ZodLiteral<"phase">;
|
|
649
|
+
phase: z.ZodEnum<{
|
|
650
|
+
STORE: "STORE";
|
|
651
|
+
STRUCTURE: "STRUCTURE";
|
|
652
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
653
|
+
BUILD: "BUILD";
|
|
654
|
+
DONE: "DONE";
|
|
655
|
+
}>;
|
|
547
656
|
}, z.core.$strip>], "type">;
|
|
548
657
|
export type AiMessagePart = z.infer<typeof aiMessagePartSchema>;
|
|
549
658
|
export declare const aiMessageSchema: z.ZodObject<{
|
|
@@ -561,11 +670,46 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
561
670
|
name: z.ZodString;
|
|
562
671
|
label: z.ZodString;
|
|
563
672
|
status: z.ZodEnum<{
|
|
564
|
-
error: "error";
|
|
565
673
|
unknown: "unknown";
|
|
674
|
+
error: "error";
|
|
566
675
|
ok: "ok";
|
|
567
676
|
}>;
|
|
568
677
|
summary: z.ZodNullable<z.ZodString>;
|
|
678
|
+
activity: z.ZodOptional<z.ZodEnum<{
|
|
679
|
+
code: "code";
|
|
680
|
+
status: "status";
|
|
681
|
+
check: "check";
|
|
682
|
+
shipping: "shipping";
|
|
683
|
+
category: "category";
|
|
684
|
+
brief: "brief";
|
|
685
|
+
files: "files";
|
|
686
|
+
version: "version";
|
|
687
|
+
preview: "preview";
|
|
688
|
+
template: "template";
|
|
689
|
+
site: "site";
|
|
690
|
+
info: "info";
|
|
691
|
+
upload: "upload";
|
|
692
|
+
design: "design";
|
|
693
|
+
product: "product";
|
|
694
|
+
verify: "verify";
|
|
695
|
+
}>>;
|
|
696
|
+
target: z.ZodOptional<z.ZodString>;
|
|
697
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
698
|
+
path: z.ZodString;
|
|
699
|
+
mode: z.ZodEnum<{
|
|
700
|
+
edit: "edit";
|
|
701
|
+
write: "write";
|
|
702
|
+
}>;
|
|
703
|
+
added: z.ZodNumber;
|
|
704
|
+
removed: z.ZodNumber;
|
|
705
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
706
|
+
kind: z.ZodEnum<{
|
|
707
|
+
added: "added";
|
|
708
|
+
removed: "removed";
|
|
709
|
+
}>;
|
|
710
|
+
text: z.ZodString;
|
|
711
|
+
}, z.core.$strip>>;
|
|
712
|
+
}, z.core.$strip>>>;
|
|
569
713
|
}, z.core.$strip>, z.ZodObject<{
|
|
570
714
|
type: z.ZodLiteral<"choices">;
|
|
571
715
|
question: z.ZodString;
|
|
@@ -573,6 +717,9 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
573
717
|
label: z.ZodString;
|
|
574
718
|
value: z.ZodString;
|
|
575
719
|
}, z.core.$strip>>;
|
|
720
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
721
|
+
type: z.ZodLiteral<"business_form">;
|
|
722
|
+
question: z.ZodString;
|
|
576
723
|
}, z.core.$strip>, z.ZodObject<{
|
|
577
724
|
type: z.ZodLiteral<"attachment">;
|
|
578
725
|
attachment: z.ZodObject<{
|
|
@@ -597,6 +744,18 @@ export declare const aiMessageSchema: z.ZodObject<{
|
|
|
597
744
|
text: z.ZodString;
|
|
598
745
|
pagePath: z.ZodString;
|
|
599
746
|
}, z.core.$strip>;
|
|
747
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
748
|
+
type: z.ZodLiteral<"reasoning">;
|
|
749
|
+
text: z.ZodString;
|
|
750
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
751
|
+
type: z.ZodLiteral<"phase">;
|
|
752
|
+
phase: z.ZodEnum<{
|
|
753
|
+
STORE: "STORE";
|
|
754
|
+
STRUCTURE: "STRUCTURE";
|
|
755
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
756
|
+
BUILD: "BUILD";
|
|
757
|
+
DONE: "DONE";
|
|
758
|
+
}>;
|
|
600
759
|
}, z.core.$strip>], "type">>;
|
|
601
760
|
runId: z.ZodNullable<z.ZodString>;
|
|
602
761
|
createdAt: z.ZodString;
|
|
@@ -629,11 +788,46 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
629
788
|
name: z.ZodString;
|
|
630
789
|
label: z.ZodString;
|
|
631
790
|
status: z.ZodEnum<{
|
|
632
|
-
error: "error";
|
|
633
791
|
unknown: "unknown";
|
|
792
|
+
error: "error";
|
|
634
793
|
ok: "ok";
|
|
635
794
|
}>;
|
|
636
795
|
summary: z.ZodNullable<z.ZodString>;
|
|
796
|
+
activity: z.ZodOptional<z.ZodEnum<{
|
|
797
|
+
code: "code";
|
|
798
|
+
status: "status";
|
|
799
|
+
check: "check";
|
|
800
|
+
shipping: "shipping";
|
|
801
|
+
category: "category";
|
|
802
|
+
brief: "brief";
|
|
803
|
+
files: "files";
|
|
804
|
+
version: "version";
|
|
805
|
+
preview: "preview";
|
|
806
|
+
template: "template";
|
|
807
|
+
site: "site";
|
|
808
|
+
info: "info";
|
|
809
|
+
upload: "upload";
|
|
810
|
+
design: "design";
|
|
811
|
+
product: "product";
|
|
812
|
+
verify: "verify";
|
|
813
|
+
}>>;
|
|
814
|
+
target: z.ZodOptional<z.ZodString>;
|
|
815
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
816
|
+
path: z.ZodString;
|
|
817
|
+
mode: z.ZodEnum<{
|
|
818
|
+
edit: "edit";
|
|
819
|
+
write: "write";
|
|
820
|
+
}>;
|
|
821
|
+
added: z.ZodNumber;
|
|
822
|
+
removed: z.ZodNumber;
|
|
823
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
824
|
+
kind: z.ZodEnum<{
|
|
825
|
+
added: "added";
|
|
826
|
+
removed: "removed";
|
|
827
|
+
}>;
|
|
828
|
+
text: z.ZodString;
|
|
829
|
+
}, z.core.$strip>>;
|
|
830
|
+
}, z.core.$strip>>>;
|
|
637
831
|
}, z.core.$strip>, z.ZodObject<{
|
|
638
832
|
type: z.ZodLiteral<"choices">;
|
|
639
833
|
question: z.ZodString;
|
|
@@ -641,6 +835,9 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
641
835
|
label: z.ZodString;
|
|
642
836
|
value: z.ZodString;
|
|
643
837
|
}, z.core.$strip>>;
|
|
838
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
839
|
+
type: z.ZodLiteral<"business_form">;
|
|
840
|
+
question: z.ZodString;
|
|
644
841
|
}, z.core.$strip>, z.ZodObject<{
|
|
645
842
|
type: z.ZodLiteral<"attachment">;
|
|
646
843
|
attachment: z.ZodObject<{
|
|
@@ -665,6 +862,18 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
665
862
|
text: z.ZodString;
|
|
666
863
|
pagePath: z.ZodString;
|
|
667
864
|
}, z.core.$strip>;
|
|
865
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
866
|
+
type: z.ZodLiteral<"reasoning">;
|
|
867
|
+
text: z.ZodString;
|
|
868
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
869
|
+
type: z.ZodLiteral<"phase">;
|
|
870
|
+
phase: z.ZodEnum<{
|
|
871
|
+
STORE: "STORE";
|
|
872
|
+
STRUCTURE: "STRUCTURE";
|
|
873
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
874
|
+
BUILD: "BUILD";
|
|
875
|
+
DONE: "DONE";
|
|
876
|
+
}>;
|
|
668
877
|
}, z.core.$strip>], "type">>;
|
|
669
878
|
runId: z.ZodNullable<z.ZodString>;
|
|
670
879
|
createdAt: z.ZodString;
|
|
@@ -672,11 +881,11 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
672
881
|
activeRun: z.ZodNullable<z.ZodObject<{
|
|
673
882
|
id: z.ZodString;
|
|
674
883
|
status: z.ZodEnum<{
|
|
675
|
-
|
|
676
|
-
RUNNING: "RUNNING";
|
|
884
|
+
FAILED: "FAILED";
|
|
677
885
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
678
886
|
DONE: "DONE";
|
|
679
|
-
|
|
887
|
+
QUEUED: "QUEUED";
|
|
888
|
+
RUNNING: "RUNNING";
|
|
680
889
|
CANCELLED: "CANCELLED";
|
|
681
890
|
}>;
|
|
682
891
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -691,11 +900,11 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
691
900
|
lastRun: z.ZodNullable<z.ZodObject<{
|
|
692
901
|
id: z.ZodString;
|
|
693
902
|
status: z.ZodEnum<{
|
|
694
|
-
|
|
695
|
-
RUNNING: "RUNNING";
|
|
903
|
+
FAILED: "FAILED";
|
|
696
904
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
697
905
|
DONE: "DONE";
|
|
698
|
-
|
|
906
|
+
QUEUED: "QUEUED";
|
|
907
|
+
RUNNING: "RUNNING";
|
|
699
908
|
CANCELLED: "CANCELLED";
|
|
700
909
|
}>;
|
|
701
910
|
errorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -704,8 +913,56 @@ export declare const aiConversationSchema: z.ZodObject<{
|
|
|
704
913
|
}, z.core.$strip>>;
|
|
705
914
|
}, z.core.$strip>;
|
|
706
915
|
export type AiConversation = z.infer<typeof aiConversationSchema>;
|
|
916
|
+
/** 쇼핑몰 형태(#124, 2026-10-13) — 템플릿은 basic 하나이고 형태는 에이전트에게 주는 화면 구성 지시다 */
|
|
917
|
+
export declare const STORE_SHOP_TYPES: readonly ["BASIC", "INTERACTIVE", "STORYTELLING", "MOBILE", "CATALOG", "LOOKBOOK"];
|
|
918
|
+
export declare const storeShopTypeSchema: z.ZodEnum<{
|
|
919
|
+
MOBILE: "MOBILE";
|
|
920
|
+
BASIC: "BASIC";
|
|
921
|
+
INTERACTIVE: "INTERACTIVE";
|
|
922
|
+
STORYTELLING: "STORYTELLING";
|
|
923
|
+
CATALOG: "CATALOG";
|
|
924
|
+
LOOKBOOK: "LOOKBOOK";
|
|
925
|
+
}>;
|
|
926
|
+
export type StoreShopType = z.infer<typeof storeShopTypeSchema>;
|
|
927
|
+
/**
|
|
928
|
+
* AI 상점 만들기 질문 화면의 답(#124, 2026-10-13) — 화면이 고정 질문으로 모은다. 초안과 함께 첫 메시지가 된다.
|
|
929
|
+
* 배송비는 묻지 않는다(설정하지 않으면 무료배송). `slug`는 바라는 주소이고 쓸 수 있는지는 에이전트가 사이트를 만들 때 확인한다
|
|
930
|
+
*/
|
|
931
|
+
export declare const storeSetupBriefSchema: z.ZodObject<{
|
|
932
|
+
products: z.ZodString;
|
|
933
|
+
storeName: z.ZodString;
|
|
934
|
+
audience: z.ZodString;
|
|
935
|
+
highlights: z.ZodString;
|
|
936
|
+
shopType: z.ZodEnum<{
|
|
937
|
+
MOBILE: "MOBILE";
|
|
938
|
+
BASIC: "BASIC";
|
|
939
|
+
INTERACTIVE: "INTERACTIVE";
|
|
940
|
+
STORYTELLING: "STORYTELLING";
|
|
941
|
+
CATALOG: "CATALOG";
|
|
942
|
+
LOOKBOOK: "LOOKBOOK";
|
|
943
|
+
}>;
|
|
944
|
+
heroProduct: z.ZodString;
|
|
945
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
export type StoreSetupBrief = z.infer<typeof storeSetupBriefSchema>;
|
|
707
948
|
export declare const createAiConversationRequestSchema: z.ZodObject<{
|
|
708
949
|
draftId: z.ZodOptional<z.ZodString>;
|
|
950
|
+
brief: z.ZodOptional<z.ZodObject<{
|
|
951
|
+
products: z.ZodString;
|
|
952
|
+
storeName: z.ZodString;
|
|
953
|
+
audience: z.ZodString;
|
|
954
|
+
highlights: z.ZodString;
|
|
955
|
+
shopType: z.ZodEnum<{
|
|
956
|
+
MOBILE: "MOBILE";
|
|
957
|
+
BASIC: "BASIC";
|
|
958
|
+
INTERACTIVE: "INTERACTIVE";
|
|
959
|
+
STORYTELLING: "STORYTELLING";
|
|
960
|
+
CATALOG: "CATALOG";
|
|
961
|
+
LOOKBOOK: "LOOKBOOK";
|
|
962
|
+
}>;
|
|
963
|
+
heroProduct: z.ZodString;
|
|
964
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
965
|
+
}, z.core.$strip>>;
|
|
709
966
|
}, z.core.$strip>;
|
|
710
967
|
export type CreateAiConversationRequest = z.infer<typeof createAiConversationRequestSchema>;
|
|
711
968
|
export declare const createAiConversationResponseSchema: z.ZodObject<{
|
|
@@ -755,49 +1012,49 @@ export type SendAiMessageResponse = z.infer<typeof sendAiMessageResponseSchema>;
|
|
|
755
1012
|
* 경로는 상점 플랫폼이 정한다(영역 → 라우트). `id`가 있으면 상세 화면이다
|
|
756
1013
|
*/
|
|
757
1014
|
export declare const aiFocusAreaSchema: z.ZodEnum<{
|
|
1015
|
+
shipping: "shipping";
|
|
758
1016
|
products: "products";
|
|
1017
|
+
addresses: "addresses";
|
|
1018
|
+
orders: "orders";
|
|
1019
|
+
webhooks: "webhooks";
|
|
759
1020
|
categories: "categories";
|
|
760
1021
|
collections: "collections";
|
|
761
1022
|
option_sets: "option_sets";
|
|
762
1023
|
coupons: "coupons";
|
|
763
1024
|
points: "points";
|
|
764
|
-
orders: "orders";
|
|
765
1025
|
claims: "claims";
|
|
766
1026
|
customers: "customers";
|
|
767
1027
|
inquiries: "inquiries";
|
|
768
1028
|
customer_inquiries: "customer_inquiries";
|
|
769
1029
|
store_settings: "store_settings";
|
|
770
|
-
shipping: "shipping";
|
|
771
|
-
addresses: "addresses";
|
|
772
1030
|
payments: "payments";
|
|
773
1031
|
login: "login";
|
|
774
1032
|
members: "members";
|
|
775
1033
|
order_flows: "order_flows";
|
|
776
|
-
webhooks: "webhooks";
|
|
777
1034
|
storefront: "storefront";
|
|
778
1035
|
}>;
|
|
779
1036
|
export type AiFocusArea = z.infer<typeof aiFocusAreaSchema>;
|
|
780
1037
|
export declare const aiFocusSchema: z.ZodObject<{
|
|
781
1038
|
area: z.ZodEnum<{
|
|
1039
|
+
shipping: "shipping";
|
|
782
1040
|
products: "products";
|
|
1041
|
+
addresses: "addresses";
|
|
1042
|
+
orders: "orders";
|
|
1043
|
+
webhooks: "webhooks";
|
|
783
1044
|
categories: "categories";
|
|
784
1045
|
collections: "collections";
|
|
785
1046
|
option_sets: "option_sets";
|
|
786
1047
|
coupons: "coupons";
|
|
787
1048
|
points: "points";
|
|
788
|
-
orders: "orders";
|
|
789
1049
|
claims: "claims";
|
|
790
1050
|
customers: "customers";
|
|
791
1051
|
inquiries: "inquiries";
|
|
792
1052
|
customer_inquiries: "customer_inquiries";
|
|
793
1053
|
store_settings: "store_settings";
|
|
794
|
-
shipping: "shipping";
|
|
795
|
-
addresses: "addresses";
|
|
796
1054
|
payments: "payments";
|
|
797
1055
|
login: "login";
|
|
798
1056
|
members: "members";
|
|
799
1057
|
order_flows: "order_flows";
|
|
800
|
-
webhooks: "webhooks";
|
|
801
1058
|
storefront: "storefront";
|
|
802
1059
|
}>;
|
|
803
1060
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -812,12 +1069,12 @@ export declare const AI_RUN_FILE_CHANGES_RETENTION_DAYS = 7;
|
|
|
812
1069
|
* - `REVERTING`·`REVERTED`·`REVERT_UNKNOWN`(되돌리기 결과를 모름 — 다시 하지 않는다)·`EXPIRED`
|
|
813
1070
|
*/
|
|
814
1071
|
export declare const aiRunChangesStatusSchema: z.ZodEnum<{
|
|
1072
|
+
EXPIRED: "EXPIRED";
|
|
815
1073
|
APPLIED: "APPLIED";
|
|
816
1074
|
INCOMPLETE: "INCOMPLETE";
|
|
817
1075
|
REVERTING: "REVERTING";
|
|
818
1076
|
REVERTED: "REVERTED";
|
|
819
1077
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
820
|
-
EXPIRED: "EXPIRED";
|
|
821
1078
|
}>;
|
|
822
1079
|
export type AiRunChangesStatus = z.infer<typeof aiRunChangesStatusSchema>;
|
|
823
1080
|
export declare const aiFileChangeKindSchema: z.ZodEnum<{
|
|
@@ -829,12 +1086,12 @@ export type AiFileChangeKind = z.infer<typeof aiFileChangeKindSchema>;
|
|
|
829
1086
|
export declare const aiRunChangesSchema: z.ZodObject<{
|
|
830
1087
|
runId: z.ZodString;
|
|
831
1088
|
status: z.ZodEnum<{
|
|
1089
|
+
EXPIRED: "EXPIRED";
|
|
832
1090
|
APPLIED: "APPLIED";
|
|
833
1091
|
INCOMPLETE: "INCOMPLETE";
|
|
834
1092
|
REVERTING: "REVERTING";
|
|
835
1093
|
REVERTED: "REVERTED";
|
|
836
1094
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
837
|
-
EXPIRED: "EXPIRED";
|
|
838
1095
|
}>;
|
|
839
1096
|
files: z.ZodArray<z.ZodObject<{
|
|
840
1097
|
path: z.ZodString;
|
|
@@ -851,12 +1108,12 @@ export declare const aiConversationFileChangesSchema: z.ZodObject<{
|
|
|
851
1108
|
runs: z.ZodArray<z.ZodObject<{
|
|
852
1109
|
runId: z.ZodString;
|
|
853
1110
|
status: z.ZodEnum<{
|
|
1111
|
+
EXPIRED: "EXPIRED";
|
|
854
1112
|
APPLIED: "APPLIED";
|
|
855
1113
|
INCOMPLETE: "INCOMPLETE";
|
|
856
1114
|
REVERTING: "REVERTING";
|
|
857
1115
|
REVERTED: "REVERTED";
|
|
858
1116
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
859
|
-
EXPIRED: "EXPIRED";
|
|
860
1117
|
}>;
|
|
861
1118
|
files: z.ZodArray<z.ZodObject<{
|
|
862
1119
|
path: z.ZodString;
|
|
@@ -873,12 +1130,12 @@ export type AiConversationFileChanges = z.infer<typeof aiConversationFileChanges
|
|
|
873
1130
|
export declare const aiRunFileDiffSchema: z.ZodObject<{
|
|
874
1131
|
runId: z.ZodString;
|
|
875
1132
|
status: z.ZodEnum<{
|
|
1133
|
+
EXPIRED: "EXPIRED";
|
|
876
1134
|
APPLIED: "APPLIED";
|
|
877
1135
|
INCOMPLETE: "INCOMPLETE";
|
|
878
1136
|
REVERTING: "REVERTING";
|
|
879
1137
|
REVERTED: "REVERTED";
|
|
880
1138
|
REVERT_UNKNOWN: "REVERT_UNKNOWN";
|
|
881
|
-
EXPIRED: "EXPIRED";
|
|
882
1139
|
}>;
|
|
883
1140
|
files: z.ZodArray<z.ZodObject<{
|
|
884
1141
|
path: z.ZodString;
|
|
@@ -909,8 +1166,8 @@ export declare const aiRunRevertConflictDetailsSchema: z.ZodObject<{
|
|
|
909
1166
|
conflicts: z.ZodArray<z.ZodObject<{
|
|
910
1167
|
path: z.ZodString;
|
|
911
1168
|
reason: z.ZodEnum<{
|
|
912
|
-
CHANGED: "CHANGED";
|
|
913
1169
|
UNKNOWN: "UNKNOWN";
|
|
1170
|
+
CHANGED: "CHANGED";
|
|
914
1171
|
}>;
|
|
915
1172
|
}, z.core.$strip>>;
|
|
916
1173
|
}, z.core.$strip>;
|
|
@@ -919,6 +1176,20 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
919
1176
|
type: z.ZodLiteral<"delta">;
|
|
920
1177
|
messageId: z.ZodString;
|
|
921
1178
|
text: z.ZodString;
|
|
1179
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1180
|
+
type: z.ZodLiteral<"reasoning_delta">;
|
|
1181
|
+
messageId: z.ZodString;
|
|
1182
|
+
text: z.ZodString;
|
|
1183
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1184
|
+
type: z.ZodLiteral<"phase">;
|
|
1185
|
+
messageId: z.ZodString;
|
|
1186
|
+
phase: z.ZodEnum<{
|
|
1187
|
+
STORE: "STORE";
|
|
1188
|
+
STRUCTURE: "STRUCTURE";
|
|
1189
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1190
|
+
BUILD: "BUILD";
|
|
1191
|
+
DONE: "DONE";
|
|
1192
|
+
}>;
|
|
922
1193
|
}, z.core.$strip>, z.ZodObject<{
|
|
923
1194
|
type: z.ZodLiteral<"tool_start">;
|
|
924
1195
|
messageId: z.ZodString;
|
|
@@ -927,36 +1198,71 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
927
1198
|
label: z.ZodString;
|
|
928
1199
|
focus: z.ZodOptional<z.ZodObject<{
|
|
929
1200
|
area: z.ZodEnum<{
|
|
1201
|
+
shipping: "shipping";
|
|
930
1202
|
products: "products";
|
|
1203
|
+
addresses: "addresses";
|
|
1204
|
+
orders: "orders";
|
|
1205
|
+
webhooks: "webhooks";
|
|
931
1206
|
categories: "categories";
|
|
932
1207
|
collections: "collections";
|
|
933
1208
|
option_sets: "option_sets";
|
|
934
1209
|
coupons: "coupons";
|
|
935
1210
|
points: "points";
|
|
936
|
-
orders: "orders";
|
|
937
1211
|
claims: "claims";
|
|
938
1212
|
customers: "customers";
|
|
939
1213
|
inquiries: "inquiries";
|
|
940
1214
|
customer_inquiries: "customer_inquiries";
|
|
941
1215
|
store_settings: "store_settings";
|
|
942
|
-
shipping: "shipping";
|
|
943
|
-
addresses: "addresses";
|
|
944
1216
|
payments: "payments";
|
|
945
1217
|
login: "login";
|
|
946
1218
|
members: "members";
|
|
947
1219
|
order_flows: "order_flows";
|
|
948
|
-
webhooks: "webhooks";
|
|
949
1220
|
storefront: "storefront";
|
|
950
1221
|
}>;
|
|
951
1222
|
id: z.ZodOptional<z.ZodString>;
|
|
952
1223
|
}, z.core.$strip>>;
|
|
1224
|
+
activity: z.ZodOptional<z.ZodEnum<{
|
|
1225
|
+
code: "code";
|
|
1226
|
+
status: "status";
|
|
1227
|
+
check: "check";
|
|
1228
|
+
shipping: "shipping";
|
|
1229
|
+
category: "category";
|
|
1230
|
+
brief: "brief";
|
|
1231
|
+
files: "files";
|
|
1232
|
+
version: "version";
|
|
1233
|
+
preview: "preview";
|
|
1234
|
+
template: "template";
|
|
1235
|
+
site: "site";
|
|
1236
|
+
info: "info";
|
|
1237
|
+
upload: "upload";
|
|
1238
|
+
design: "design";
|
|
1239
|
+
product: "product";
|
|
1240
|
+
verify: "verify";
|
|
1241
|
+
}>>;
|
|
1242
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1244
|
+
path: z.ZodString;
|
|
1245
|
+
mode: z.ZodEnum<{
|
|
1246
|
+
edit: "edit";
|
|
1247
|
+
write: "write";
|
|
1248
|
+
}>;
|
|
1249
|
+
added: z.ZodNumber;
|
|
1250
|
+
removed: z.ZodNumber;
|
|
1251
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
1252
|
+
kind: z.ZodEnum<{
|
|
1253
|
+
added: "added";
|
|
1254
|
+
removed: "removed";
|
|
1255
|
+
}>;
|
|
1256
|
+
text: z.ZodString;
|
|
1257
|
+
}, z.core.$strip>>;
|
|
1258
|
+
}, z.core.$strip>>>;
|
|
953
1259
|
}, z.core.$strip>, z.ZodObject<{
|
|
954
1260
|
type: z.ZodLiteral<"tool_result">;
|
|
955
1261
|
messageId: z.ZodString;
|
|
956
1262
|
toolCallId: z.ZodString;
|
|
957
1263
|
status: z.ZodEnum<{
|
|
958
|
-
error: "error";
|
|
959
1264
|
unknown: "unknown";
|
|
1265
|
+
error: "error";
|
|
960
1266
|
ok: "ok";
|
|
961
1267
|
}>;
|
|
962
1268
|
summary: z.ZodNullable<z.ZodString>;
|
|
@@ -968,6 +1274,10 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
968
1274
|
label: z.ZodString;
|
|
969
1275
|
value: z.ZodString;
|
|
970
1276
|
}, z.core.$strip>>;
|
|
1277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1278
|
+
type: z.ZodLiteral<"business_form">;
|
|
1279
|
+
messageId: z.ZodString;
|
|
1280
|
+
question: z.ZodString;
|
|
971
1281
|
}, z.core.$strip>, z.ZodObject<{
|
|
972
1282
|
type: z.ZodLiteral<"approval">;
|
|
973
1283
|
messageId: z.ZodString;
|
|
@@ -990,11 +1300,46 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
990
1300
|
name: z.ZodString;
|
|
991
1301
|
label: z.ZodString;
|
|
992
1302
|
status: z.ZodEnum<{
|
|
993
|
-
error: "error";
|
|
994
1303
|
unknown: "unknown";
|
|
1304
|
+
error: "error";
|
|
995
1305
|
ok: "ok";
|
|
996
1306
|
}>;
|
|
997
1307
|
summary: z.ZodNullable<z.ZodString>;
|
|
1308
|
+
activity: z.ZodOptional<z.ZodEnum<{
|
|
1309
|
+
code: "code";
|
|
1310
|
+
status: "status";
|
|
1311
|
+
check: "check";
|
|
1312
|
+
shipping: "shipping";
|
|
1313
|
+
category: "category";
|
|
1314
|
+
brief: "brief";
|
|
1315
|
+
files: "files";
|
|
1316
|
+
version: "version";
|
|
1317
|
+
preview: "preview";
|
|
1318
|
+
template: "template";
|
|
1319
|
+
site: "site";
|
|
1320
|
+
info: "info";
|
|
1321
|
+
upload: "upload";
|
|
1322
|
+
design: "design";
|
|
1323
|
+
product: "product";
|
|
1324
|
+
verify: "verify";
|
|
1325
|
+
}>>;
|
|
1326
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1328
|
+
path: z.ZodString;
|
|
1329
|
+
mode: z.ZodEnum<{
|
|
1330
|
+
edit: "edit";
|
|
1331
|
+
write: "write";
|
|
1332
|
+
}>;
|
|
1333
|
+
added: z.ZodNumber;
|
|
1334
|
+
removed: z.ZodNumber;
|
|
1335
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
1336
|
+
kind: z.ZodEnum<{
|
|
1337
|
+
added: "added";
|
|
1338
|
+
removed: "removed";
|
|
1339
|
+
}>;
|
|
1340
|
+
text: z.ZodString;
|
|
1341
|
+
}, z.core.$strip>>;
|
|
1342
|
+
}, z.core.$strip>>>;
|
|
998
1343
|
}, z.core.$strip>, z.ZodObject<{
|
|
999
1344
|
type: z.ZodLiteral<"choices">;
|
|
1000
1345
|
question: z.ZodString;
|
|
@@ -1002,6 +1347,9 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1002
1347
|
label: z.ZodString;
|
|
1003
1348
|
value: z.ZodString;
|
|
1004
1349
|
}, z.core.$strip>>;
|
|
1350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1351
|
+
type: z.ZodLiteral<"business_form">;
|
|
1352
|
+
question: z.ZodString;
|
|
1005
1353
|
}, z.core.$strip>, z.ZodObject<{
|
|
1006
1354
|
type: z.ZodLiteral<"attachment">;
|
|
1007
1355
|
attachment: z.ZodObject<{
|
|
@@ -1026,6 +1374,18 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1026
1374
|
text: z.ZodString;
|
|
1027
1375
|
pagePath: z.ZodString;
|
|
1028
1376
|
}, z.core.$strip>;
|
|
1377
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1378
|
+
type: z.ZodLiteral<"reasoning">;
|
|
1379
|
+
text: z.ZodString;
|
|
1380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1381
|
+
type: z.ZodLiteral<"phase">;
|
|
1382
|
+
phase: z.ZodEnum<{
|
|
1383
|
+
STORE: "STORE";
|
|
1384
|
+
STRUCTURE: "STRUCTURE";
|
|
1385
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1386
|
+
BUILD: "BUILD";
|
|
1387
|
+
DONE: "DONE";
|
|
1388
|
+
}>;
|
|
1029
1389
|
}, z.core.$strip>], "type">>;
|
|
1030
1390
|
runId: z.ZodNullable<z.ZodString>;
|
|
1031
1391
|
createdAt: z.ZodString;
|
|
@@ -1037,11 +1397,11 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1037
1397
|
}, z.core.$strip>, z.ZodObject<{
|
|
1038
1398
|
type: z.ZodLiteral<"done">;
|
|
1039
1399
|
status: z.ZodEnum<{
|
|
1040
|
-
|
|
1041
|
-
RUNNING: "RUNNING";
|
|
1400
|
+
FAILED: "FAILED";
|
|
1042
1401
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1043
1402
|
DONE: "DONE";
|
|
1044
|
-
|
|
1403
|
+
QUEUED: "QUEUED";
|
|
1404
|
+
RUNNING: "RUNNING";
|
|
1045
1405
|
CANCELLED: "CANCELLED";
|
|
1046
1406
|
}>;
|
|
1047
1407
|
}, z.core.$strip>], "type">;
|
|
@@ -1053,6 +1413,20 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1053
1413
|
type: z.ZodLiteral<"delta">;
|
|
1054
1414
|
messageId: z.ZodString;
|
|
1055
1415
|
text: z.ZodString;
|
|
1416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1417
|
+
type: z.ZodLiteral<"reasoning_delta">;
|
|
1418
|
+
messageId: z.ZodString;
|
|
1419
|
+
text: z.ZodString;
|
|
1420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1421
|
+
type: z.ZodLiteral<"phase">;
|
|
1422
|
+
messageId: z.ZodString;
|
|
1423
|
+
phase: z.ZodEnum<{
|
|
1424
|
+
STORE: "STORE";
|
|
1425
|
+
STRUCTURE: "STRUCTURE";
|
|
1426
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1427
|
+
BUILD: "BUILD";
|
|
1428
|
+
DONE: "DONE";
|
|
1429
|
+
}>;
|
|
1056
1430
|
}, z.core.$strip>, z.ZodObject<{
|
|
1057
1431
|
type: z.ZodLiteral<"tool_start">;
|
|
1058
1432
|
messageId: z.ZodString;
|
|
@@ -1061,36 +1435,71 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1061
1435
|
label: z.ZodString;
|
|
1062
1436
|
focus: z.ZodOptional<z.ZodObject<{
|
|
1063
1437
|
area: z.ZodEnum<{
|
|
1438
|
+
shipping: "shipping";
|
|
1064
1439
|
products: "products";
|
|
1440
|
+
addresses: "addresses";
|
|
1441
|
+
orders: "orders";
|
|
1442
|
+
webhooks: "webhooks";
|
|
1065
1443
|
categories: "categories";
|
|
1066
1444
|
collections: "collections";
|
|
1067
1445
|
option_sets: "option_sets";
|
|
1068
1446
|
coupons: "coupons";
|
|
1069
1447
|
points: "points";
|
|
1070
|
-
orders: "orders";
|
|
1071
1448
|
claims: "claims";
|
|
1072
1449
|
customers: "customers";
|
|
1073
1450
|
inquiries: "inquiries";
|
|
1074
1451
|
customer_inquiries: "customer_inquiries";
|
|
1075
1452
|
store_settings: "store_settings";
|
|
1076
|
-
shipping: "shipping";
|
|
1077
|
-
addresses: "addresses";
|
|
1078
1453
|
payments: "payments";
|
|
1079
1454
|
login: "login";
|
|
1080
1455
|
members: "members";
|
|
1081
1456
|
order_flows: "order_flows";
|
|
1082
|
-
webhooks: "webhooks";
|
|
1083
1457
|
storefront: "storefront";
|
|
1084
1458
|
}>;
|
|
1085
1459
|
id: z.ZodOptional<z.ZodString>;
|
|
1086
1460
|
}, z.core.$strip>>;
|
|
1461
|
+
activity: z.ZodOptional<z.ZodEnum<{
|
|
1462
|
+
code: "code";
|
|
1463
|
+
status: "status";
|
|
1464
|
+
check: "check";
|
|
1465
|
+
shipping: "shipping";
|
|
1466
|
+
category: "category";
|
|
1467
|
+
brief: "brief";
|
|
1468
|
+
files: "files";
|
|
1469
|
+
version: "version";
|
|
1470
|
+
preview: "preview";
|
|
1471
|
+
template: "template";
|
|
1472
|
+
site: "site";
|
|
1473
|
+
info: "info";
|
|
1474
|
+
upload: "upload";
|
|
1475
|
+
design: "design";
|
|
1476
|
+
product: "product";
|
|
1477
|
+
verify: "verify";
|
|
1478
|
+
}>>;
|
|
1479
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1481
|
+
path: z.ZodString;
|
|
1482
|
+
mode: z.ZodEnum<{
|
|
1483
|
+
edit: "edit";
|
|
1484
|
+
write: "write";
|
|
1485
|
+
}>;
|
|
1486
|
+
added: z.ZodNumber;
|
|
1487
|
+
removed: z.ZodNumber;
|
|
1488
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
1489
|
+
kind: z.ZodEnum<{
|
|
1490
|
+
added: "added";
|
|
1491
|
+
removed: "removed";
|
|
1492
|
+
}>;
|
|
1493
|
+
text: z.ZodString;
|
|
1494
|
+
}, z.core.$strip>>;
|
|
1495
|
+
}, z.core.$strip>>>;
|
|
1087
1496
|
}, z.core.$strip>, z.ZodObject<{
|
|
1088
1497
|
type: z.ZodLiteral<"tool_result">;
|
|
1089
1498
|
messageId: z.ZodString;
|
|
1090
1499
|
toolCallId: z.ZodString;
|
|
1091
1500
|
status: z.ZodEnum<{
|
|
1092
|
-
error: "error";
|
|
1093
1501
|
unknown: "unknown";
|
|
1502
|
+
error: "error";
|
|
1094
1503
|
ok: "ok";
|
|
1095
1504
|
}>;
|
|
1096
1505
|
summary: z.ZodNullable<z.ZodString>;
|
|
@@ -1102,6 +1511,10 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1102
1511
|
label: z.ZodString;
|
|
1103
1512
|
value: z.ZodString;
|
|
1104
1513
|
}, z.core.$strip>>;
|
|
1514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1515
|
+
type: z.ZodLiteral<"business_form">;
|
|
1516
|
+
messageId: z.ZodString;
|
|
1517
|
+
question: z.ZodString;
|
|
1105
1518
|
}, z.core.$strip>, z.ZodObject<{
|
|
1106
1519
|
type: z.ZodLiteral<"approval">;
|
|
1107
1520
|
messageId: z.ZodString;
|
|
@@ -1124,11 +1537,46 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1124
1537
|
name: z.ZodString;
|
|
1125
1538
|
label: z.ZodString;
|
|
1126
1539
|
status: z.ZodEnum<{
|
|
1127
|
-
error: "error";
|
|
1128
1540
|
unknown: "unknown";
|
|
1541
|
+
error: "error";
|
|
1129
1542
|
ok: "ok";
|
|
1130
1543
|
}>;
|
|
1131
1544
|
summary: z.ZodNullable<z.ZodString>;
|
|
1545
|
+
activity: z.ZodOptional<z.ZodEnum<{
|
|
1546
|
+
code: "code";
|
|
1547
|
+
status: "status";
|
|
1548
|
+
check: "check";
|
|
1549
|
+
shipping: "shipping";
|
|
1550
|
+
category: "category";
|
|
1551
|
+
brief: "brief";
|
|
1552
|
+
files: "files";
|
|
1553
|
+
version: "version";
|
|
1554
|
+
preview: "preview";
|
|
1555
|
+
template: "template";
|
|
1556
|
+
site: "site";
|
|
1557
|
+
info: "info";
|
|
1558
|
+
upload: "upload";
|
|
1559
|
+
design: "design";
|
|
1560
|
+
product: "product";
|
|
1561
|
+
verify: "verify";
|
|
1562
|
+
}>>;
|
|
1563
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1565
|
+
path: z.ZodString;
|
|
1566
|
+
mode: z.ZodEnum<{
|
|
1567
|
+
edit: "edit";
|
|
1568
|
+
write: "write";
|
|
1569
|
+
}>;
|
|
1570
|
+
added: z.ZodNumber;
|
|
1571
|
+
removed: z.ZodNumber;
|
|
1572
|
+
preview: z.ZodArray<z.ZodObject<{
|
|
1573
|
+
kind: z.ZodEnum<{
|
|
1574
|
+
added: "added";
|
|
1575
|
+
removed: "removed";
|
|
1576
|
+
}>;
|
|
1577
|
+
text: z.ZodString;
|
|
1578
|
+
}, z.core.$strip>>;
|
|
1579
|
+
}, z.core.$strip>>>;
|
|
1132
1580
|
}, z.core.$strip>, z.ZodObject<{
|
|
1133
1581
|
type: z.ZodLiteral<"choices">;
|
|
1134
1582
|
question: z.ZodString;
|
|
@@ -1136,6 +1584,9 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1136
1584
|
label: z.ZodString;
|
|
1137
1585
|
value: z.ZodString;
|
|
1138
1586
|
}, z.core.$strip>>;
|
|
1587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1588
|
+
type: z.ZodLiteral<"business_form">;
|
|
1589
|
+
question: z.ZodString;
|
|
1139
1590
|
}, z.core.$strip>, z.ZodObject<{
|
|
1140
1591
|
type: z.ZodLiteral<"attachment">;
|
|
1141
1592
|
attachment: z.ZodObject<{
|
|
@@ -1160,6 +1611,18 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1160
1611
|
text: z.ZodString;
|
|
1161
1612
|
pagePath: z.ZodString;
|
|
1162
1613
|
}, z.core.$strip>;
|
|
1614
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1615
|
+
type: z.ZodLiteral<"reasoning">;
|
|
1616
|
+
text: z.ZodString;
|
|
1617
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1618
|
+
type: z.ZodLiteral<"phase">;
|
|
1619
|
+
phase: z.ZodEnum<{
|
|
1620
|
+
STORE: "STORE";
|
|
1621
|
+
STRUCTURE: "STRUCTURE";
|
|
1622
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
1623
|
+
BUILD: "BUILD";
|
|
1624
|
+
DONE: "DONE";
|
|
1625
|
+
}>;
|
|
1163
1626
|
}, z.core.$strip>], "type">>;
|
|
1164
1627
|
runId: z.ZodNullable<z.ZodString>;
|
|
1165
1628
|
createdAt: z.ZodString;
|
|
@@ -1171,11 +1634,11 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
|
|
|
1171
1634
|
}, z.core.$strip>, z.ZodObject<{
|
|
1172
1635
|
type: z.ZodLiteral<"done">;
|
|
1173
1636
|
status: z.ZodEnum<{
|
|
1174
|
-
|
|
1175
|
-
RUNNING: "RUNNING";
|
|
1637
|
+
FAILED: "FAILED";
|
|
1176
1638
|
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
1177
1639
|
DONE: "DONE";
|
|
1178
|
-
|
|
1640
|
+
QUEUED: "QUEUED";
|
|
1641
|
+
RUNNING: "RUNNING";
|
|
1179
1642
|
CANCELLED: "CANCELLED";
|
|
1180
1643
|
}>;
|
|
1181
1644
|
}, z.core.$strip>], "type">;
|
|
@@ -1390,10 +1853,10 @@ export declare const analyticsProductsSchema: z.ZodObject<{
|
|
|
1390
1853
|
}, z.core.$strip>;
|
|
1391
1854
|
export type AnalyticsProducts = z.infer<typeof analyticsProductsSchema>;
|
|
1392
1855
|
export declare const analyticsChannelSchema: z.ZodEnum<{
|
|
1393
|
-
UNKNOWN: "UNKNOWN";
|
|
1394
1856
|
PAID: "PAID";
|
|
1395
1857
|
DIRECT: "DIRECT";
|
|
1396
1858
|
CAMPAIGN: "CAMPAIGN";
|
|
1859
|
+
UNKNOWN: "UNKNOWN";
|
|
1397
1860
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
1398
1861
|
SOCIAL: "SOCIAL";
|
|
1399
1862
|
EMAIL: "EMAIL";
|
|
@@ -1424,10 +1887,10 @@ export declare const analyticsSourcesQuerySchema: z.ZodObject<{
|
|
|
1424
1887
|
export type AnalyticsSourcesParams = z.infer<typeof analyticsSourcesQuerySchema>;
|
|
1425
1888
|
export declare const analyticsSourceRowSchema: z.ZodObject<{
|
|
1426
1889
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
1427
|
-
UNKNOWN: "UNKNOWN";
|
|
1428
1890
|
PAID: "PAID";
|
|
1429
1891
|
DIRECT: "DIRECT";
|
|
1430
1892
|
CAMPAIGN: "CAMPAIGN";
|
|
1893
|
+
UNKNOWN: "UNKNOWN";
|
|
1431
1894
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
1432
1895
|
SOCIAL: "SOCIAL";
|
|
1433
1896
|
EMAIL: "EMAIL";
|
|
@@ -1460,10 +1923,10 @@ export declare const analyticsSourcesSchema: z.ZodObject<{
|
|
|
1460
1923
|
}>;
|
|
1461
1924
|
rows: z.ZodArray<z.ZodObject<{
|
|
1462
1925
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
1463
|
-
UNKNOWN: "UNKNOWN";
|
|
1464
1926
|
PAID: "PAID";
|
|
1465
1927
|
DIRECT: "DIRECT";
|
|
1466
1928
|
CAMPAIGN: "CAMPAIGN";
|
|
1929
|
+
UNKNOWN: "UNKNOWN";
|
|
1467
1930
|
ORGANIC_SEARCH: "ORGANIC_SEARCH";
|
|
1468
1931
|
SOCIAL: "SOCIAL";
|
|
1469
1932
|
EMAIL: "EMAIL";
|
|
@@ -3669,10 +4132,10 @@ export declare const appInstallationRunSchema: z.ZodObject<{
|
|
|
3669
4132
|
deliveryId: z.ZodString;
|
|
3670
4133
|
eventType: z.ZodString;
|
|
3671
4134
|
status: z.ZodEnum<{
|
|
3672
|
-
FAILED: "FAILED";
|
|
3673
4135
|
PENDING: "PENDING";
|
|
3674
4136
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3675
4137
|
SUCCESS: "SUCCESS";
|
|
4138
|
+
FAILED: "FAILED";
|
|
3676
4139
|
}>;
|
|
3677
4140
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
3678
4141
|
TIMEOUT: "TIMEOUT";
|
|
@@ -3699,10 +4162,10 @@ export declare const appInstallationActivitySchema: z.ZodObject<{
|
|
|
3699
4162
|
deliveryId: z.ZodString;
|
|
3700
4163
|
eventType: z.ZodString;
|
|
3701
4164
|
status: z.ZodEnum<{
|
|
3702
|
-
FAILED: "FAILED";
|
|
3703
4165
|
PENDING: "PENDING";
|
|
3704
4166
|
PENDING_RETRY: "PENDING_RETRY";
|
|
3705
4167
|
SUCCESS: "SUCCESS";
|
|
4168
|
+
FAILED: "FAILED";
|
|
3706
4169
|
}>;
|
|
3707
4170
|
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
3708
4171
|
TIMEOUT: "TIMEOUT";
|
|
@@ -3931,22 +4394,22 @@ export declare const appVersionStatusSchema: z.ZodEnum<{
|
|
|
3931
4394
|
export type AppVersionStatus = z.infer<typeof appVersionStatusSchema>;
|
|
3932
4395
|
/** 빌드 단계(매뉴얼 「앱 버전과 배포 › 빌드」). 로컬 번들(A1)은 `DEPENDENCIES`·`VERIFY`·`BUNDLE`·`UPLOAD`를 서버가 돈다 */
|
|
3933
4396
|
export declare const appBuildStageSchema: z.ZodEnum<{
|
|
4397
|
+
BUILD: "BUILD";
|
|
3934
4398
|
UPLOAD: "UPLOAD";
|
|
3935
4399
|
DEPENDENCIES: "DEPENDENCIES";
|
|
3936
4400
|
VERIFY: "VERIFY";
|
|
3937
4401
|
INSTALL: "INSTALL";
|
|
3938
4402
|
TYPECHECK: "TYPECHECK";
|
|
3939
|
-
BUILD: "BUILD";
|
|
3940
4403
|
BUNDLE: "BUNDLE";
|
|
3941
4404
|
}>;
|
|
3942
4405
|
export type AppBuildStage = z.infer<typeof appBuildStageSchema>;
|
|
3943
4406
|
export declare const appBuildSchema: z.ZodObject<{
|
|
3944
4407
|
buildId: z.ZodString;
|
|
3945
4408
|
status: z.ZodEnum<{
|
|
3946
|
-
QUEUED: "QUEUED";
|
|
3947
|
-
RUNNING: "RUNNING";
|
|
3948
4409
|
FAILED: "FAILED";
|
|
3949
4410
|
SUCCEEDED: "SUCCEEDED";
|
|
4411
|
+
QUEUED: "QUEUED";
|
|
4412
|
+
RUNNING: "RUNNING";
|
|
3950
4413
|
TIMED_OUT: "TIMED_OUT";
|
|
3951
4414
|
}>;
|
|
3952
4415
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -3989,10 +4452,10 @@ export declare const appVersionSchema: z.ZodObject<{
|
|
|
3989
4452
|
build: z.ZodNullable<z.ZodObject<{
|
|
3990
4453
|
buildId: z.ZodString;
|
|
3991
4454
|
status: z.ZodEnum<{
|
|
3992
|
-
QUEUED: "QUEUED";
|
|
3993
|
-
RUNNING: "RUNNING";
|
|
3994
4455
|
FAILED: "FAILED";
|
|
3995
4456
|
SUCCEEDED: "SUCCEEDED";
|
|
4457
|
+
QUEUED: "QUEUED";
|
|
4458
|
+
RUNNING: "RUNNING";
|
|
3996
4459
|
TIMED_OUT: "TIMED_OUT";
|
|
3997
4460
|
}>;
|
|
3998
4461
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -4140,10 +4603,10 @@ export declare const appReleaseResultSchema: z.ZodObject<{
|
|
|
4140
4603
|
build: z.ZodNullable<z.ZodObject<{
|
|
4141
4604
|
buildId: z.ZodString;
|
|
4142
4605
|
status: z.ZodEnum<{
|
|
4143
|
-
QUEUED: "QUEUED";
|
|
4144
|
-
RUNNING: "RUNNING";
|
|
4145
4606
|
FAILED: "FAILED";
|
|
4146
4607
|
SUCCEEDED: "SUCCEEDED";
|
|
4608
|
+
QUEUED: "QUEUED";
|
|
4609
|
+
RUNNING: "RUNNING";
|
|
4147
4610
|
TIMED_OUT: "TIMED_OUT";
|
|
4148
4611
|
}>;
|
|
4149
4612
|
stages: z.ZodArray<z.ZodObject<{
|
|
@@ -4233,9 +4696,9 @@ export declare const appInvocationSchema: z.ZodObject<{
|
|
|
4233
4696
|
installationId: z.ZodString;
|
|
4234
4697
|
versionNumber: z.ZodNullable<z.ZodNumber>;
|
|
4235
4698
|
kind: z.ZodEnum<{
|
|
4236
|
-
tool: "tool";
|
|
4237
4699
|
event: "event";
|
|
4238
4700
|
flow: "flow";
|
|
4701
|
+
tool: "tool";
|
|
4239
4702
|
http: "http";
|
|
4240
4703
|
schedule: "schedule";
|
|
4241
4704
|
}>;
|
|
@@ -4256,7 +4719,7 @@ export declare const appInvocationSchema: z.ZodObject<{
|
|
|
4256
4719
|
createdAt: z.ZodString;
|
|
4257
4720
|
}, z.core.$strip>;
|
|
4258
4721
|
export type AppInvocation = z.infer<typeof appInvocationSchema>;
|
|
4259
|
-
/** 앱 배포 키(developer.sayren.
|
|
4722
|
+
/** 앱 배포 키(developer.sayren.io 「키 발행」) — 값은 만들 때 한 번만 보인다 */
|
|
4260
4723
|
export declare const appDeployKeySchema: z.ZodObject<{
|
|
4261
4724
|
keyId: z.ZodString;
|
|
4262
4725
|
name: z.ZodString;
|
|
@@ -7034,10 +7497,10 @@ export declare const webhookSecretRotatedSchema: z.ZodObject<{
|
|
|
7034
7497
|
}, z.core.$strip>;
|
|
7035
7498
|
export type WebhookSecretRotated = z.infer<typeof webhookSecretRotatedSchema>;
|
|
7036
7499
|
export declare const webhookDeliveryStatusSchema: z.ZodEnum<{
|
|
7037
|
-
FAILED: "FAILED";
|
|
7038
7500
|
PENDING: "PENDING";
|
|
7039
7501
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7040
7502
|
SUCCESS: "SUCCESS";
|
|
7503
|
+
FAILED: "FAILED";
|
|
7041
7504
|
}>;
|
|
7042
7505
|
export type WebhookDeliveryStatus = z.infer<typeof webhookDeliveryStatusSchema>;
|
|
7043
7506
|
export declare const webhookDeliveryErrorCodeSchema: z.ZodEnum<{
|
|
@@ -7107,10 +7570,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
7107
7570
|
}>;
|
|
7108
7571
|
url: z.ZodString;
|
|
7109
7572
|
status: z.ZodEnum<{
|
|
7110
|
-
FAILED: "FAILED";
|
|
7111
7573
|
PENDING: "PENDING";
|
|
7112
7574
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7113
7575
|
SUCCESS: "SUCCESS";
|
|
7576
|
+
FAILED: "FAILED";
|
|
7114
7577
|
}>;
|
|
7115
7578
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
7116
7579
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7168,10 +7631,10 @@ export declare const webhookDeliveryDetailSchema: z.ZodObject<{
|
|
|
7168
7631
|
}>;
|
|
7169
7632
|
url: z.ZodString;
|
|
7170
7633
|
status: z.ZodEnum<{
|
|
7171
|
-
FAILED: "FAILED";
|
|
7172
7634
|
PENDING: "PENDING";
|
|
7173
7635
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7174
7636
|
SUCCESS: "SUCCESS";
|
|
7637
|
+
FAILED: "FAILED";
|
|
7175
7638
|
}>;
|
|
7176
7639
|
responseStatusCode: z.ZodNullable<z.ZodNumber>;
|
|
7177
7640
|
responseTimeMs: z.ZodNullable<z.ZodNumber>;
|
|
@@ -7212,10 +7675,10 @@ export type WebhookDeliveryDetail = z.infer<typeof webhookDeliveryDetailSchema>;
|
|
|
7212
7675
|
/** 전송 기록 조회 쿼리 — `GET /webhooks/{id}/deliveries` */
|
|
7213
7676
|
export declare const webhookDeliveryListQuerySchema: z.ZodObject<{
|
|
7214
7677
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7215
|
-
FAILED: "FAILED";
|
|
7216
7678
|
PENDING: "PENDING";
|
|
7217
7679
|
PENDING_RETRY: "PENDING_RETRY";
|
|
7218
7680
|
SUCCESS: "SUCCESS";
|
|
7681
|
+
FAILED: "FAILED";
|
|
7219
7682
|
}>>;
|
|
7220
7683
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
7221
7684
|
"ORDER.PAID": "ORDER.PAID";
|
|
@@ -8200,8 +8663,8 @@ export declare const pgEnvironmentSchema: z.ZodEnum<{
|
|
|
8200
8663
|
}>;
|
|
8201
8664
|
export type PgEnvironment = z.infer<typeof pgEnvironmentSchema>;
|
|
8202
8665
|
export declare const pgVerificationResultSchema: z.ZodEnum<{
|
|
8203
|
-
FAILED: "FAILED";
|
|
8204
8666
|
SUCCESS: "SUCCESS";
|
|
8667
|
+
FAILED: "FAILED";
|
|
8205
8668
|
}>;
|
|
8206
8669
|
export type PgVerificationResult = z.infer<typeof pgVerificationResultSchema>;
|
|
8207
8670
|
/**
|
|
@@ -8350,8 +8813,8 @@ export declare const paymentCredentialSetSchema: z.ZodObject<{
|
|
|
8350
8813
|
}, z.core.$strip>>;
|
|
8351
8814
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8352
8815
|
result: z.ZodEnum<{
|
|
8353
|
-
FAILED: "FAILED";
|
|
8354
8816
|
SUCCESS: "SUCCESS";
|
|
8817
|
+
FAILED: "FAILED";
|
|
8355
8818
|
}>;
|
|
8356
8819
|
message: z.ZodNullable<z.ZodString>;
|
|
8357
8820
|
checkedAt: z.ZodString;
|
|
@@ -8460,8 +8923,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
8460
8923
|
}, z.core.$strip>>;
|
|
8461
8924
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8462
8925
|
result: z.ZodEnum<{
|
|
8463
|
-
FAILED: "FAILED";
|
|
8464
8926
|
SUCCESS: "SUCCESS";
|
|
8927
|
+
FAILED: "FAILED";
|
|
8465
8928
|
}>;
|
|
8466
8929
|
message: z.ZodNullable<z.ZodString>;
|
|
8467
8930
|
checkedAt: z.ZodString;
|
|
@@ -8497,8 +8960,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
8497
8960
|
}, z.core.$strip>>;
|
|
8498
8961
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8499
8962
|
result: z.ZodEnum<{
|
|
8500
|
-
FAILED: "FAILED";
|
|
8501
8963
|
SUCCESS: "SUCCESS";
|
|
8964
|
+
FAILED: "FAILED";
|
|
8502
8965
|
}>;
|
|
8503
8966
|
message: z.ZodNullable<z.ZodString>;
|
|
8504
8967
|
checkedAt: z.ZodString;
|
|
@@ -8533,8 +8996,8 @@ export declare const paymentProviderSchema: z.ZodObject<{
|
|
|
8533
8996
|
}, z.core.$strip>>;
|
|
8534
8997
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8535
8998
|
result: z.ZodEnum<{
|
|
8536
|
-
FAILED: "FAILED";
|
|
8537
8999
|
SUCCESS: "SUCCESS";
|
|
9000
|
+
FAILED: "FAILED";
|
|
8538
9001
|
}>;
|
|
8539
9002
|
message: z.ZodNullable<z.ZodString>;
|
|
8540
9003
|
checkedAt: z.ZodString;
|
|
@@ -8626,8 +9089,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
8626
9089
|
}, z.core.$strip>>;
|
|
8627
9090
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8628
9091
|
result: z.ZodEnum<{
|
|
8629
|
-
FAILED: "FAILED";
|
|
8630
9092
|
SUCCESS: "SUCCESS";
|
|
9093
|
+
FAILED: "FAILED";
|
|
8631
9094
|
}>;
|
|
8632
9095
|
message: z.ZodNullable<z.ZodString>;
|
|
8633
9096
|
checkedAt: z.ZodString;
|
|
@@ -8663,8 +9126,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
8663
9126
|
}, z.core.$strip>>;
|
|
8664
9127
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8665
9128
|
result: z.ZodEnum<{
|
|
8666
|
-
FAILED: "FAILED";
|
|
8667
9129
|
SUCCESS: "SUCCESS";
|
|
9130
|
+
FAILED: "FAILED";
|
|
8668
9131
|
}>;
|
|
8669
9132
|
message: z.ZodNullable<z.ZodString>;
|
|
8670
9133
|
checkedAt: z.ZodString;
|
|
@@ -8699,8 +9162,8 @@ export declare const paymentSettingsSchema: z.ZodObject<{
|
|
|
8699
9162
|
}, z.core.$strip>>;
|
|
8700
9163
|
lastVerification: z.ZodNullable<z.ZodObject<{
|
|
8701
9164
|
result: z.ZodEnum<{
|
|
8702
|
-
FAILED: "FAILED";
|
|
8703
9165
|
SUCCESS: "SUCCESS";
|
|
9166
|
+
FAILED: "FAILED";
|
|
8704
9167
|
}>;
|
|
8705
9168
|
message: z.ZodNullable<z.ZodString>;
|
|
8706
9169
|
checkedAt: z.ZodString;
|
|
@@ -8758,8 +9221,8 @@ export declare const paymentProviderVerificationSchema: z.ZodObject<{
|
|
|
8758
9221
|
LIVE: "LIVE";
|
|
8759
9222
|
}>;
|
|
8760
9223
|
result: z.ZodEnum<{
|
|
8761
|
-
FAILED: "FAILED";
|
|
8762
9224
|
SUCCESS: "SUCCESS";
|
|
9225
|
+
FAILED: "FAILED";
|
|
8763
9226
|
}>;
|
|
8764
9227
|
message: z.ZodNullable<z.ZodString>;
|
|
8765
9228
|
checkedAt: z.ZodString;
|
|
@@ -8889,8 +9352,8 @@ export type SalesReport = z.infer<typeof salesReportSchema>;
|
|
|
8889
9352
|
* - `FAILED`: 승인되지 않고 끝났다(거절·준비 장애·구매자 취소·만료)
|
|
8890
9353
|
*/
|
|
8891
9354
|
export declare const paymentRecordStatusSchema: z.ZodEnum<{
|
|
8892
|
-
FAILED: "FAILED";
|
|
8893
9355
|
PENDING: "PENDING";
|
|
9356
|
+
FAILED: "FAILED";
|
|
8894
9357
|
APPROVED: "APPROVED";
|
|
8895
9358
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
8896
9359
|
REFUNDED: "REFUNDED";
|
|
@@ -8937,8 +9400,8 @@ export declare const paymentRecordSchema: z.ZodObject<{
|
|
|
8937
9400
|
orderName: z.ZodString;
|
|
8938
9401
|
customerName: z.ZodString;
|
|
8939
9402
|
status: z.ZodEnum<{
|
|
8940
|
-
FAILED: "FAILED";
|
|
8941
9403
|
PENDING: "PENDING";
|
|
9404
|
+
FAILED: "FAILED";
|
|
8942
9405
|
APPROVED: "APPROVED";
|
|
8943
9406
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
8944
9407
|
REFUNDED: "REFUNDED";
|
|
@@ -8985,8 +9448,8 @@ export declare const paymentRecordPageSchema: z.ZodObject<{
|
|
|
8985
9448
|
orderName: z.ZodString;
|
|
8986
9449
|
customerName: z.ZodString;
|
|
8987
9450
|
status: z.ZodEnum<{
|
|
8988
|
-
FAILED: "FAILED";
|
|
8989
9451
|
PENDING: "PENDING";
|
|
9452
|
+
FAILED: "FAILED";
|
|
8990
9453
|
APPROVED: "APPROVED";
|
|
8991
9454
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
8992
9455
|
REFUNDED: "REFUNDED";
|
|
@@ -9078,8 +9541,8 @@ export declare const paymentRecordDetailSchema: z.ZodObject<{
|
|
|
9078
9541
|
orderName: z.ZodString;
|
|
9079
9542
|
customerName: z.ZodString;
|
|
9080
9543
|
status: z.ZodEnum<{
|
|
9081
|
-
FAILED: "FAILED";
|
|
9082
9544
|
PENDING: "PENDING";
|
|
9545
|
+
FAILED: "FAILED";
|
|
9083
9546
|
APPROVED: "APPROVED";
|
|
9084
9547
|
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
9085
9548
|
REFUNDED: "REFUNDED";
|
|
@@ -9693,8 +10156,8 @@ export declare const customInputRequestSchema: z.ZodObject<{
|
|
|
9693
10156
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9694
10157
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9695
10158
|
number: "number";
|
|
9696
|
-
text: "text";
|
|
9697
10159
|
date: "date";
|
|
10160
|
+
text: "text";
|
|
9698
10161
|
select: "select";
|
|
9699
10162
|
datetime: "datetime";
|
|
9700
10163
|
image: "image";
|
|
@@ -9963,8 +10426,8 @@ export declare const optionModelRequestSchema: z.ZodObject<{
|
|
|
9963
10426
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9964
10427
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9965
10428
|
number: "number";
|
|
9966
|
-
text: "text";
|
|
9967
10429
|
date: "date";
|
|
10430
|
+
text: "text";
|
|
9968
10431
|
select: "select";
|
|
9969
10432
|
datetime: "datetime";
|
|
9970
10433
|
image: "image";
|
|
@@ -10137,8 +10600,8 @@ export declare const productCreateRequestSchema: z.ZodObject<{
|
|
|
10137
10600
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10138
10601
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10139
10602
|
number: "number";
|
|
10140
|
-
text: "text";
|
|
10141
10603
|
date: "date";
|
|
10604
|
+
text: "text";
|
|
10142
10605
|
select: "select";
|
|
10143
10606
|
datetime: "datetime";
|
|
10144
10607
|
image: "image";
|
|
@@ -10251,8 +10714,8 @@ export declare const productReplaceRequestSchema: z.ZodObject<{
|
|
|
10251
10714
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10252
10715
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10253
10716
|
number: "number";
|
|
10254
|
-
text: "text";
|
|
10255
10717
|
date: "date";
|
|
10718
|
+
text: "text";
|
|
10256
10719
|
select: "select";
|
|
10257
10720
|
datetime: "datetime";
|
|
10258
10721
|
image: "image";
|
|
@@ -10337,11 +10800,11 @@ export declare const productPatchRequestSchema: z.ZodObject<{
|
|
|
10337
10800
|
}, z.core.$strict>;
|
|
10338
10801
|
export type ProductPatchRequest = z.infer<typeof productPatchRequestSchema>;
|
|
10339
10802
|
export declare const productSortSchema: z.ZodEnum<{
|
|
10803
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
10340
10804
|
"createdAt.desc": "createdAt.desc";
|
|
10341
10805
|
"createdAt.asc": "createdAt.asc";
|
|
10342
10806
|
"salePrice.asc": "salePrice.asc";
|
|
10343
10807
|
"salePrice.desc": "salePrice.desc";
|
|
10344
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10345
10808
|
}>;
|
|
10346
10809
|
export type ProductSort = z.infer<typeof productSortSchema>;
|
|
10347
10810
|
export interface ProductListParams extends PageParams {
|
|
@@ -10368,11 +10831,11 @@ export declare const productListQuerySchema: z.ZodObject<{
|
|
|
10368
10831
|
sellerCode: z.ZodOptional<z.ZodString>;
|
|
10369
10832
|
productNo: z.ZodOptional<z.ZodString>;
|
|
10370
10833
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
10834
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
10371
10835
|
"createdAt.desc": "createdAt.desc";
|
|
10372
10836
|
"createdAt.asc": "createdAt.asc";
|
|
10373
10837
|
"salePrice.asc": "salePrice.asc";
|
|
10374
10838
|
"salePrice.desc": "salePrice.desc";
|
|
10375
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10376
10839
|
}>>;
|
|
10377
10840
|
}, z.core.$strip>;
|
|
10378
10841
|
export declare const discountRequestSchema: z.ZodObject<{
|
|
@@ -10484,8 +10947,8 @@ export declare const savedCustomInputRequestSchema: z.ZodObject<{
|
|
|
10484
10947
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10485
10948
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10486
10949
|
number: "number";
|
|
10487
|
-
text: "text";
|
|
10488
10950
|
date: "date";
|
|
10951
|
+
text: "text";
|
|
10489
10952
|
select: "select";
|
|
10490
10953
|
datetime: "datetime";
|
|
10491
10954
|
image: "image";
|
|
@@ -10524,8 +10987,8 @@ export declare const savedOptionSetRequestSchema: z.ZodObject<{
|
|
|
10524
10987
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10525
10988
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10526
10989
|
number: "number";
|
|
10527
|
-
text: "text";
|
|
10528
10990
|
date: "date";
|
|
10991
|
+
text: "text";
|
|
10529
10992
|
select: "select";
|
|
10530
10993
|
datetime: "datetime";
|
|
10531
10994
|
image: "image";
|
|
@@ -10872,8 +11335,8 @@ export declare const invitationSchema: z.ZodObject<{
|
|
|
10872
11335
|
STAFF: "STAFF";
|
|
10873
11336
|
}>;
|
|
10874
11337
|
status: z.ZodEnum<{
|
|
10875
|
-
EXPIRED: "EXPIRED";
|
|
10876
11338
|
PENDING: "PENDING";
|
|
11339
|
+
EXPIRED: "EXPIRED";
|
|
10877
11340
|
ACCEPTED: "ACCEPTED";
|
|
10878
11341
|
CANCELED: "CANCELED";
|
|
10879
11342
|
}>;
|
|
@@ -10912,8 +11375,8 @@ export type UpdateMemberRoleRequest = z.infer<typeof updateMemberRoleRequestSche
|
|
|
10912
11375
|
/** `GET /v1/store/invitations` 쿼리 — OpenAPI 문서용 형태 */
|
|
10913
11376
|
export declare const invitationListQuerySchema: z.ZodObject<{
|
|
10914
11377
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10915
|
-
EXPIRED: "EXPIRED";
|
|
10916
11378
|
PENDING: "PENDING";
|
|
11379
|
+
EXPIRED: "EXPIRED";
|
|
10917
11380
|
ACCEPTED: "ACCEPTED";
|
|
10918
11381
|
CANCELED: "CANCELED";
|
|
10919
11382
|
}>>;
|
|
@@ -11184,8 +11647,8 @@ export type StorefrontDomain = z.infer<typeof storefrontDomainSchema>;
|
|
|
11184
11647
|
*/
|
|
11185
11648
|
export declare const storefrontProvisioningSchema: z.ZodObject<{
|
|
11186
11649
|
status: z.ZodEnum<{
|
|
11187
|
-
FAILED: "FAILED";
|
|
11188
11650
|
PENDING: "PENDING";
|
|
11651
|
+
FAILED: "FAILED";
|
|
11189
11652
|
SYNCED: "SYNCED";
|
|
11190
11653
|
}>;
|
|
11191
11654
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -11273,8 +11736,8 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
11273
11736
|
}, z.core.$strip>>;
|
|
11274
11737
|
provisioning: z.ZodObject<{
|
|
11275
11738
|
status: z.ZodEnum<{
|
|
11276
|
-
FAILED: "FAILED";
|
|
11277
11739
|
PENDING: "PENDING";
|
|
11740
|
+
FAILED: "FAILED";
|
|
11278
11741
|
SYNCED: "SYNCED";
|
|
11279
11742
|
}>;
|
|
11280
11743
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -11359,8 +11822,8 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
11359
11822
|
}, z.core.$strip>>;
|
|
11360
11823
|
provisioning: z.ZodObject<{
|
|
11361
11824
|
status: z.ZodEnum<{
|
|
11362
|
-
FAILED: "FAILED";
|
|
11363
11825
|
PENDING: "PENDING";
|
|
11826
|
+
FAILED: "FAILED";
|
|
11364
11827
|
SYNCED: "SYNCED";
|
|
11365
11828
|
}>;
|
|
11366
11829
|
lastErrorCode: z.ZodNullable<z.ZodString>;
|
|
@@ -11407,10 +11870,10 @@ export declare const storefrontDeploymentStepSchema: z.ZodObject<{
|
|
|
11407
11870
|
PUBLISH: "PUBLISH";
|
|
11408
11871
|
}>;
|
|
11409
11872
|
status: z.ZodEnum<{
|
|
11410
|
-
RUNNING: "RUNNING";
|
|
11411
|
-
DONE: "DONE";
|
|
11412
|
-
FAILED: "FAILED";
|
|
11413
11873
|
PENDING: "PENDING";
|
|
11874
|
+
FAILED: "FAILED";
|
|
11875
|
+
DONE: "DONE";
|
|
11876
|
+
RUNNING: "RUNNING";
|
|
11414
11877
|
}>;
|
|
11415
11878
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
11416
11879
|
}, z.core.$strip>;
|
|
@@ -11443,10 +11906,10 @@ export declare const storefrontDeploymentSchema: z.ZodObject<{
|
|
|
11443
11906
|
PUBLISH: "PUBLISH";
|
|
11444
11907
|
}>;
|
|
11445
11908
|
status: z.ZodEnum<{
|
|
11446
|
-
RUNNING: "RUNNING";
|
|
11447
|
-
DONE: "DONE";
|
|
11448
|
-
FAILED: "FAILED";
|
|
11449
11909
|
PENDING: "PENDING";
|
|
11910
|
+
FAILED: "FAILED";
|
|
11911
|
+
DONE: "DONE";
|
|
11912
|
+
RUNNING: "RUNNING";
|
|
11450
11913
|
}>;
|
|
11451
11914
|
finishedAt: z.ZodNullable<z.ZodString>;
|
|
11452
11915
|
}, z.core.$strip>>;
|
|
@@ -11528,6 +11991,7 @@ export declare const createStorefrontPreviewLinkRequestSchema: z.ZodObject<{
|
|
|
11528
11991
|
export type CreateStorefrontPreviewLinkRequest = z.infer<typeof createStorefrontPreviewLinkRequestSchema>;
|
|
11529
11992
|
export declare const storefrontPreviewLinkSchema: z.ZodObject<{
|
|
11530
11993
|
url: z.ZodString;
|
|
11994
|
+
editorUrl: z.ZodOptional<z.ZodString>;
|
|
11531
11995
|
expiresAt: z.ZodString;
|
|
11532
11996
|
}, z.core.$strip>;
|
|
11533
11997
|
export type StorefrontPreviewLink = z.infer<typeof storefrontPreviewLinkSchema>;
|
|
@@ -11566,8 +12030,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
11566
12030
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
11567
12031
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
11568
12032
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
11569
|
-
FAILED: "FAILED";
|
|
11570
12033
|
ACTIVE: "ACTIVE";
|
|
12034
|
+
FAILED: "FAILED";
|
|
11571
12035
|
PENDING_DNS: "PENDING_DNS";
|
|
11572
12036
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11573
12037
|
}>;
|
|
@@ -11593,8 +12057,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
11593
12057
|
CUSTOM: "CUSTOM";
|
|
11594
12058
|
}>;
|
|
11595
12059
|
status: z.ZodEnum<{
|
|
11596
|
-
FAILED: "FAILED";
|
|
11597
12060
|
ACTIVE: "ACTIVE";
|
|
12061
|
+
FAILED: "FAILED";
|
|
11598
12062
|
PENDING_DNS: "PENDING_DNS";
|
|
11599
12063
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11600
12064
|
}>;
|
|
@@ -11612,9 +12076,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
11612
12076
|
}>;
|
|
11613
12077
|
}, z.core.$strip>>;
|
|
11614
12078
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
11615
|
-
FAILED: "FAILED";
|
|
11616
12079
|
ACTIVE: "ACTIVE";
|
|
11617
12080
|
PENDING: "PENDING";
|
|
12081
|
+
FAILED: "FAILED";
|
|
11618
12082
|
}>>;
|
|
11619
12083
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
11620
12084
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -11636,8 +12100,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
11636
12100
|
CUSTOM: "CUSTOM";
|
|
11637
12101
|
}>;
|
|
11638
12102
|
status: z.ZodEnum<{
|
|
11639
|
-
FAILED: "FAILED";
|
|
11640
12103
|
ACTIVE: "ACTIVE";
|
|
12104
|
+
FAILED: "FAILED";
|
|
11641
12105
|
PENDING_DNS: "PENDING_DNS";
|
|
11642
12106
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11643
12107
|
}>;
|
|
@@ -11655,9 +12119,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
11655
12119
|
}>;
|
|
11656
12120
|
}, z.core.$strip>>;
|
|
11657
12121
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
11658
|
-
FAILED: "FAILED";
|
|
11659
12122
|
ACTIVE: "ACTIVE";
|
|
11660
12123
|
PENDING: "PENDING";
|
|
12124
|
+
FAILED: "FAILED";
|
|
11661
12125
|
}>>;
|
|
11662
12126
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
11663
12127
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -11891,10 +12355,10 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
11891
12355
|
}, z.core.$strip>;
|
|
11892
12356
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
11893
12357
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
11894
|
-
QUEUED: "QUEUED";
|
|
11895
|
-
RUNNING: "RUNNING";
|
|
11896
12358
|
FAILED: "FAILED";
|
|
11897
12359
|
UNKNOWN: "UNKNOWN";
|
|
12360
|
+
QUEUED: "QUEUED";
|
|
12361
|
+
RUNNING: "RUNNING";
|
|
11898
12362
|
PASSED: "PASSED";
|
|
11899
12363
|
TIMED_OUT: "TIMED_OUT";
|
|
11900
12364
|
}>;
|
|
@@ -11905,10 +12369,10 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
11905
12369
|
checkId: z.ZodString;
|
|
11906
12370
|
check: z.ZodString;
|
|
11907
12371
|
status: z.ZodEnum<{
|
|
11908
|
-
QUEUED: "QUEUED";
|
|
11909
|
-
RUNNING: "RUNNING";
|
|
11910
12372
|
FAILED: "FAILED";
|
|
11911
12373
|
UNKNOWN: "UNKNOWN";
|
|
12374
|
+
QUEUED: "QUEUED";
|
|
12375
|
+
RUNNING: "RUNNING";
|
|
11912
12376
|
PASSED: "PASSED";
|
|
11913
12377
|
TIMED_OUT: "TIMED_OUT";
|
|
11914
12378
|
}>;
|
|
@@ -11990,10 +12454,10 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
11990
12454
|
}, z.core.$strip>;
|
|
11991
12455
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
11992
12456
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
11993
|
-
QUEUED: "QUEUED";
|
|
11994
|
-
RUNNING: "RUNNING";
|
|
11995
12457
|
FAILED: "FAILED";
|
|
11996
12458
|
SUCCEEDED: "SUCCEEDED";
|
|
12459
|
+
QUEUED: "QUEUED";
|
|
12460
|
+
RUNNING: "RUNNING";
|
|
11997
12461
|
TIMED_OUT: "TIMED_OUT";
|
|
11998
12462
|
}>;
|
|
11999
12463
|
export type StorefrontBuildStatus = z.infer<typeof storefrontBuildStatusSchema>;
|
|
@@ -12058,10 +12522,10 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
12058
12522
|
versionId: z.ZodString;
|
|
12059
12523
|
versionNumber: z.ZodNumber;
|
|
12060
12524
|
status: z.ZodEnum<{
|
|
12061
|
-
QUEUED: "QUEUED";
|
|
12062
|
-
RUNNING: "RUNNING";
|
|
12063
12525
|
FAILED: "FAILED";
|
|
12064
12526
|
SUCCEEDED: "SUCCEEDED";
|
|
12527
|
+
QUEUED: "QUEUED";
|
|
12528
|
+
RUNNING: "RUNNING";
|
|
12065
12529
|
TIMED_OUT: "TIMED_OUT";
|
|
12066
12530
|
}>;
|
|
12067
12531
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -12188,10 +12652,10 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
12188
12652
|
versionId: z.ZodString;
|
|
12189
12653
|
versionNumber: z.ZodNumber;
|
|
12190
12654
|
status: z.ZodEnum<{
|
|
12191
|
-
QUEUED: "QUEUED";
|
|
12192
|
-
RUNNING: "RUNNING";
|
|
12193
12655
|
FAILED: "FAILED";
|
|
12194
12656
|
SUCCEEDED: "SUCCEEDED";
|
|
12657
|
+
QUEUED: "QUEUED";
|
|
12658
|
+
RUNNING: "RUNNING";
|
|
12195
12659
|
TIMED_OUT: "TIMED_OUT";
|
|
12196
12660
|
}>;
|
|
12197
12661
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -12501,7 +12965,7 @@ export declare const STORE_SESSION_KEYS: {
|
|
|
12501
12965
|
readonly pkce: "sayren.store.pkce";
|
|
12502
12966
|
};
|
|
12503
12967
|
/**
|
|
12504
|
-
* 인가 서버(Sayren 계정, accounts) 주소 — `https://accounts.sayren.
|
|
12968
|
+
* 인가 서버(Sayren 계정, accounts) 주소 — `https://accounts.sayren.io/api/auth/oauth2/{authorize,token,revoke}`.
|
|
12505
12969
|
* `resource`를 주면 authorize·code 교환·refresh에 RFC 8707 `resource`를 싣는다(JWT access token의 `aud`).
|
|
12506
12970
|
*/
|
|
12507
12971
|
interface StoreAuthServer {
|
|
@@ -13339,7 +13803,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13339
13803
|
value: true;
|
|
13340
13804
|
} | {
|
|
13341
13805
|
field: "bestSelling";
|
|
13342
|
-
days:
|
|
13806
|
+
days: 30 | 7 | 90;
|
|
13343
13807
|
top: number;
|
|
13344
13808
|
} | {
|
|
13345
13809
|
[x: string]: unknown;
|
|
@@ -13389,7 +13853,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13389
13853
|
value: true;
|
|
13390
13854
|
} | {
|
|
13391
13855
|
field: "bestSelling";
|
|
13392
|
-
days:
|
|
13856
|
+
days: 30 | 7 | 90;
|
|
13393
13857
|
top: number;
|
|
13394
13858
|
} | {
|
|
13395
13859
|
[x: string]: unknown;
|
|
@@ -13432,7 +13896,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13432
13896
|
value: true;
|
|
13433
13897
|
} | {
|
|
13434
13898
|
field: "bestSelling";
|
|
13435
|
-
days:
|
|
13899
|
+
days: 30 | 7 | 90;
|
|
13436
13900
|
top: number;
|
|
13437
13901
|
} | {
|
|
13438
13902
|
[x: string]: unknown;
|
|
@@ -13474,7 +13938,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13474
13938
|
value: true;
|
|
13475
13939
|
} | {
|
|
13476
13940
|
field: "bestSelling";
|
|
13477
|
-
days:
|
|
13941
|
+
days: 30 | 7 | 90;
|
|
13478
13942
|
top: number;
|
|
13479
13943
|
} | {
|
|
13480
13944
|
[x: string]: unknown;
|
|
@@ -13537,7 +14001,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13537
14001
|
value: true;
|
|
13538
14002
|
} | {
|
|
13539
14003
|
field: "bestSelling";
|
|
13540
|
-
days:
|
|
14004
|
+
days: 30 | 7 | 90;
|
|
13541
14005
|
top: number;
|
|
13542
14006
|
} | {
|
|
13543
14007
|
[x: string]: unknown;
|
|
@@ -13580,7 +14044,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13580
14044
|
value: true;
|
|
13581
14045
|
} | {
|
|
13582
14046
|
field: "bestSelling";
|
|
13583
|
-
days:
|
|
14047
|
+
days: 30 | 7 | 90;
|
|
13584
14048
|
top: number;
|
|
13585
14049
|
} | {
|
|
13586
14050
|
[x: string]: unknown;
|
|
@@ -16125,7 +16589,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16125
16589
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
16126
16590
|
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
16127
16591
|
rows: {
|
|
16128
|
-
channel: "
|
|
16592
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
16129
16593
|
source: string | null;
|
|
16130
16594
|
medium: string | null;
|
|
16131
16595
|
campaign: string | null;
|
|
@@ -16260,7 +16724,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16260
16724
|
orderId: string | null;
|
|
16261
16725
|
orderName: string;
|
|
16262
16726
|
customerName: string;
|
|
16263
|
-
status: "
|
|
16727
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
16264
16728
|
amount: number;
|
|
16265
16729
|
refundedAmount: number;
|
|
16266
16730
|
heldRefundAmount: number;
|
|
@@ -16286,7 +16750,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16286
16750
|
orderId: string | null;
|
|
16287
16751
|
orderName: string;
|
|
16288
16752
|
customerName: string;
|
|
16289
|
-
status: "
|
|
16753
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
16290
16754
|
amount: number;
|
|
16291
16755
|
refundedAmount: number;
|
|
16292
16756
|
heldRefundAmount: number;
|
|
@@ -16401,7 +16865,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16401
16865
|
masked: string | null;
|
|
16402
16866
|
}[];
|
|
16403
16867
|
lastVerification: {
|
|
16404
|
-
result: "
|
|
16868
|
+
result: "SUCCESS" | "FAILED";
|
|
16405
16869
|
message: string | null;
|
|
16406
16870
|
checkedAt: string;
|
|
16407
16871
|
} | null;
|
|
@@ -16426,7 +16890,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16426
16890
|
masked: string | null;
|
|
16427
16891
|
}[];
|
|
16428
16892
|
lastVerification: {
|
|
16429
|
-
result: "
|
|
16893
|
+
result: "SUCCESS" | "FAILED";
|
|
16430
16894
|
message: string | null;
|
|
16431
16895
|
checkedAt: string;
|
|
16432
16896
|
} | null;
|
|
@@ -16450,7 +16914,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16450
16914
|
masked: string | null;
|
|
16451
16915
|
}[];
|
|
16452
16916
|
lastVerification: {
|
|
16453
|
-
result: "
|
|
16917
|
+
result: "SUCCESS" | "FAILED";
|
|
16454
16918
|
message: string | null;
|
|
16455
16919
|
checkedAt: string;
|
|
16456
16920
|
} | null;
|
|
@@ -16511,7 +16975,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16511
16975
|
masked: string | null;
|
|
16512
16976
|
}[];
|
|
16513
16977
|
lastVerification: {
|
|
16514
|
-
result: "
|
|
16978
|
+
result: "SUCCESS" | "FAILED";
|
|
16515
16979
|
message: string | null;
|
|
16516
16980
|
checkedAt: string;
|
|
16517
16981
|
} | null;
|
|
@@ -16536,7 +17000,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16536
17000
|
masked: string | null;
|
|
16537
17001
|
}[];
|
|
16538
17002
|
lastVerification: {
|
|
16539
|
-
result: "
|
|
17003
|
+
result: "SUCCESS" | "FAILED";
|
|
16540
17004
|
message: string | null;
|
|
16541
17005
|
checkedAt: string;
|
|
16542
17006
|
} | null;
|
|
@@ -16560,7 +17024,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16560
17024
|
masked: string | null;
|
|
16561
17025
|
}[];
|
|
16562
17026
|
lastVerification: {
|
|
16563
|
-
result: "
|
|
17027
|
+
result: "SUCCESS" | "FAILED";
|
|
16564
17028
|
message: string | null;
|
|
16565
17029
|
checkedAt: string;
|
|
16566
17030
|
} | null;
|
|
@@ -16626,7 +17090,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16626
17090
|
masked: string | null;
|
|
16627
17091
|
}[];
|
|
16628
17092
|
lastVerification: {
|
|
16629
|
-
result: "
|
|
17093
|
+
result: "SUCCESS" | "FAILED";
|
|
16630
17094
|
message: string | null;
|
|
16631
17095
|
checkedAt: string;
|
|
16632
17096
|
} | null;
|
|
@@ -16651,7 +17115,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16651
17115
|
masked: string | null;
|
|
16652
17116
|
}[];
|
|
16653
17117
|
lastVerification: {
|
|
16654
|
-
result: "
|
|
17118
|
+
result: "SUCCESS" | "FAILED";
|
|
16655
17119
|
message: string | null;
|
|
16656
17120
|
checkedAt: string;
|
|
16657
17121
|
} | null;
|
|
@@ -16675,7 +17139,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16675
17139
|
masked: string | null;
|
|
16676
17140
|
}[];
|
|
16677
17141
|
lastVerification: {
|
|
16678
|
-
result: "
|
|
17142
|
+
result: "SUCCESS" | "FAILED";
|
|
16679
17143
|
message: string | null;
|
|
16680
17144
|
checkedAt: string;
|
|
16681
17145
|
} | null;
|
|
@@ -16722,7 +17186,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16722
17186
|
masked: string | null;
|
|
16723
17187
|
}[];
|
|
16724
17188
|
lastVerification: {
|
|
16725
|
-
result: "
|
|
17189
|
+
result: "SUCCESS" | "FAILED";
|
|
16726
17190
|
message: string | null;
|
|
16727
17191
|
checkedAt: string;
|
|
16728
17192
|
} | null;
|
|
@@ -16747,7 +17211,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16747
17211
|
masked: string | null;
|
|
16748
17212
|
}[];
|
|
16749
17213
|
lastVerification: {
|
|
16750
|
-
result: "
|
|
17214
|
+
result: "SUCCESS" | "FAILED";
|
|
16751
17215
|
message: string | null;
|
|
16752
17216
|
checkedAt: string;
|
|
16753
17217
|
} | null;
|
|
@@ -16771,7 +17235,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16771
17235
|
masked: string | null;
|
|
16772
17236
|
}[];
|
|
16773
17237
|
lastVerification: {
|
|
16774
|
-
result: "
|
|
17238
|
+
result: "SUCCESS" | "FAILED";
|
|
16775
17239
|
message: string | null;
|
|
16776
17240
|
checkedAt: string;
|
|
16777
17241
|
} | null;
|
|
@@ -16828,7 +17292,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16828
17292
|
masked: string | null;
|
|
16829
17293
|
}[];
|
|
16830
17294
|
lastVerification: {
|
|
16831
|
-
result: "
|
|
17295
|
+
result: "SUCCESS" | "FAILED";
|
|
16832
17296
|
message: string | null;
|
|
16833
17297
|
checkedAt: string;
|
|
16834
17298
|
} | null;
|
|
@@ -16853,7 +17317,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16853
17317
|
masked: string | null;
|
|
16854
17318
|
}[];
|
|
16855
17319
|
lastVerification: {
|
|
16856
|
-
result: "
|
|
17320
|
+
result: "SUCCESS" | "FAILED";
|
|
16857
17321
|
message: string | null;
|
|
16858
17322
|
checkedAt: string;
|
|
16859
17323
|
} | null;
|
|
@@ -16877,7 +17341,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16877
17341
|
masked: string | null;
|
|
16878
17342
|
}[];
|
|
16879
17343
|
lastVerification: {
|
|
16880
|
-
result: "
|
|
17344
|
+
result: "SUCCESS" | "FAILED";
|
|
16881
17345
|
message: string | null;
|
|
16882
17346
|
checkedAt: string;
|
|
16883
17347
|
} | null;
|
|
@@ -16924,7 +17388,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16924
17388
|
masked: string | null;
|
|
16925
17389
|
}[];
|
|
16926
17390
|
lastVerification: {
|
|
16927
|
-
result: "
|
|
17391
|
+
result: "SUCCESS" | "FAILED";
|
|
16928
17392
|
message: string | null;
|
|
16929
17393
|
checkedAt: string;
|
|
16930
17394
|
} | null;
|
|
@@ -16949,7 +17413,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16949
17413
|
masked: string | null;
|
|
16950
17414
|
}[];
|
|
16951
17415
|
lastVerification: {
|
|
16952
|
-
result: "
|
|
17416
|
+
result: "SUCCESS" | "FAILED";
|
|
16953
17417
|
message: string | null;
|
|
16954
17418
|
checkedAt: string;
|
|
16955
17419
|
} | null;
|
|
@@ -16973,7 +17437,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16973
17437
|
masked: string | null;
|
|
16974
17438
|
}[];
|
|
16975
17439
|
lastVerification: {
|
|
16976
|
-
result: "
|
|
17440
|
+
result: "SUCCESS" | "FAILED";
|
|
16977
17441
|
message: string | null;
|
|
16978
17442
|
checkedAt: string;
|
|
16979
17443
|
} | null;
|
|
@@ -17029,7 +17493,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17029
17493
|
masked: string | null;
|
|
17030
17494
|
}[];
|
|
17031
17495
|
lastVerification: {
|
|
17032
|
-
result: "
|
|
17496
|
+
result: "SUCCESS" | "FAILED";
|
|
17033
17497
|
message: string | null;
|
|
17034
17498
|
checkedAt: string;
|
|
17035
17499
|
} | null;
|
|
@@ -17054,7 +17518,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17054
17518
|
masked: string | null;
|
|
17055
17519
|
}[];
|
|
17056
17520
|
lastVerification: {
|
|
17057
|
-
result: "
|
|
17521
|
+
result: "SUCCESS" | "FAILED";
|
|
17058
17522
|
message: string | null;
|
|
17059
17523
|
checkedAt: string;
|
|
17060
17524
|
} | null;
|
|
@@ -17078,7 +17542,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17078
17542
|
masked: string | null;
|
|
17079
17543
|
}[];
|
|
17080
17544
|
lastVerification: {
|
|
17081
|
-
result: "
|
|
17545
|
+
result: "SUCCESS" | "FAILED";
|
|
17082
17546
|
message: string | null;
|
|
17083
17547
|
checkedAt: string;
|
|
17084
17548
|
} | null;
|
|
@@ -17106,7 +17570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17106
17570
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
17107
17571
|
provider: "tosspayments" | "portone";
|
|
17108
17572
|
environment: "TEST" | "LIVE";
|
|
17109
|
-
result: "
|
|
17573
|
+
result: "SUCCESS" | "FAILED";
|
|
17110
17574
|
message: string | null;
|
|
17111
17575
|
checkedAt: string;
|
|
17112
17576
|
}>;
|
|
@@ -17550,7 +18014,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17550
18014
|
runs: {
|
|
17551
18015
|
deliveryId: string;
|
|
17552
18016
|
eventType: string;
|
|
17553
|
-
status: "
|
|
18017
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17554
18018
|
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;
|
|
17555
18019
|
attemptCount: number;
|
|
17556
18020
|
createdAt: string;
|
|
@@ -17747,7 +18211,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17747
18211
|
eventId: string;
|
|
17748
18212
|
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";
|
|
17749
18213
|
url: string;
|
|
17750
|
-
status: "
|
|
18214
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17751
18215
|
responseStatusCode: number | null;
|
|
17752
18216
|
responseTimeMs: number | null;
|
|
17753
18217
|
responseBodyExcerpt: string | null;
|
|
@@ -17774,7 +18238,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17774
18238
|
eventId: string;
|
|
17775
18239
|
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";
|
|
17776
18240
|
url: string;
|
|
17777
|
-
status: "
|
|
18241
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17778
18242
|
responseStatusCode: number | null;
|
|
17779
18243
|
responseTimeMs: number | null;
|
|
17780
18244
|
responseBodyExcerpt: string | null;
|
|
@@ -17809,7 +18273,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17809
18273
|
eventId: string;
|
|
17810
18274
|
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";
|
|
17811
18275
|
url: string;
|
|
17812
|
-
status: "
|
|
18276
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17813
18277
|
responseStatusCode: number | null;
|
|
17814
18278
|
responseTimeMs: number | null;
|
|
17815
18279
|
responseBodyExcerpt: string | null;
|
|
@@ -17923,7 +18387,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17923
18387
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
17924
18388
|
items: {
|
|
17925
18389
|
approvalId: string;
|
|
17926
|
-
status: "
|
|
18390
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
17927
18391
|
operationId: string;
|
|
17928
18392
|
method: string;
|
|
17929
18393
|
path: string;
|
|
@@ -17975,7 +18439,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17975
18439
|
}>;
|
|
17976
18440
|
get: (approvalId: string) => Promise<{
|
|
17977
18441
|
approvalId: string;
|
|
17978
|
-
status: "
|
|
18442
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
17979
18443
|
operationId: string;
|
|
17980
18444
|
method: string;
|
|
17981
18445
|
path: string;
|
|
@@ -18029,7 +18493,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18029
18493
|
*/
|
|
18030
18494
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
18031
18495
|
approvalId: string;
|
|
18032
|
-
status: "
|
|
18496
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
18033
18497
|
operationId: string;
|
|
18034
18498
|
method: string;
|
|
18035
18499
|
path: string;
|
|
@@ -18079,7 +18543,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18079
18543
|
}>;
|
|
18080
18544
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
18081
18545
|
approvalId: string;
|
|
18082
|
-
status: "
|
|
18546
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
18083
18547
|
operationId: string;
|
|
18084
18548
|
method: string;
|
|
18085
18549
|
path: string;
|
|
@@ -18270,8 +18734,20 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18270
18734
|
toolCallId: string;
|
|
18271
18735
|
name: string;
|
|
18272
18736
|
label: string;
|
|
18273
|
-
status: "
|
|
18737
|
+
status: "unknown" | "error" | "ok";
|
|
18274
18738
|
summary: string | null;
|
|
18739
|
+
activity?: "code" | "status" | "check" | "shipping" | "category" | "brief" | "files" | "version" | "preview" | "template" | "site" | "info" | "upload" | "design" | "product" | "verify" | undefined;
|
|
18740
|
+
target?: string | undefined;
|
|
18741
|
+
changes?: {
|
|
18742
|
+
path: string;
|
|
18743
|
+
mode: "edit" | "write";
|
|
18744
|
+
added: number;
|
|
18745
|
+
removed: number;
|
|
18746
|
+
preview: {
|
|
18747
|
+
kind: "added" | "removed";
|
|
18748
|
+
text: string;
|
|
18749
|
+
}[];
|
|
18750
|
+
}[] | undefined;
|
|
18275
18751
|
} | {
|
|
18276
18752
|
type: "choices";
|
|
18277
18753
|
question: string;
|
|
@@ -18279,6 +18755,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18279
18755
|
label: string;
|
|
18280
18756
|
value: string;
|
|
18281
18757
|
}[];
|
|
18758
|
+
} | {
|
|
18759
|
+
type: "business_form";
|
|
18760
|
+
question: string;
|
|
18282
18761
|
} | {
|
|
18283
18762
|
type: "attachment";
|
|
18284
18763
|
attachment: {
|
|
@@ -18303,13 +18782,19 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18303
18782
|
text: string;
|
|
18304
18783
|
pagePath: string;
|
|
18305
18784
|
};
|
|
18785
|
+
} | {
|
|
18786
|
+
type: "reasoning";
|
|
18787
|
+
text: string;
|
|
18788
|
+
} | {
|
|
18789
|
+
type: "phase";
|
|
18790
|
+
phase: "STORE" | "STRUCTURE" | "ENVIRONMENT" | "BUILD" | "DONE";
|
|
18306
18791
|
})[];
|
|
18307
18792
|
runId: string | null;
|
|
18308
18793
|
createdAt: string;
|
|
18309
18794
|
}[];
|
|
18310
18795
|
activeRun: {
|
|
18311
18796
|
id: string;
|
|
18312
|
-
status: "
|
|
18797
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
18313
18798
|
errorCode: string | null;
|
|
18314
18799
|
createdAt: string;
|
|
18315
18800
|
finishedAt: string | null;
|
|
@@ -18321,7 +18806,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18321
18806
|
} | null;
|
|
18322
18807
|
lastRun: {
|
|
18323
18808
|
id: string;
|
|
18324
|
-
status: "
|
|
18809
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
18325
18810
|
errorCode: string | null;
|
|
18326
18811
|
createdAt: string;
|
|
18327
18812
|
finishedAt: string | null;
|
|
@@ -18337,7 +18822,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18337
18822
|
/** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
|
|
18338
18823
|
cancelRun: (runId: string) => Promise<{
|
|
18339
18824
|
id: string;
|
|
18340
|
-
status: "
|
|
18825
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
18341
18826
|
errorCode: string | null;
|
|
18342
18827
|
createdAt: string;
|
|
18343
18828
|
finishedAt: string | null;
|
|
@@ -18346,7 +18831,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18346
18831
|
listFileChanges: (conversationId: string) => Promise<{
|
|
18347
18832
|
runs: {
|
|
18348
18833
|
runId: string;
|
|
18349
|
-
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN"
|
|
18834
|
+
status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
|
|
18350
18835
|
files: {
|
|
18351
18836
|
path: string;
|
|
18352
18837
|
change: "created" | "modified" | "deleted";
|
|
@@ -18356,7 +18841,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18356
18841
|
/** `GET /v1/ai/runs/{id}/file-changes` — 실행 하나의 변경 내용(이전·이후) */
|
|
18357
18842
|
getRunFileDiff: (runId: string) => Promise<{
|
|
18358
18843
|
runId: string;
|
|
18359
|
-
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN"
|
|
18844
|
+
status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
|
|
18360
18845
|
files: {
|
|
18361
18846
|
path: string;
|
|
18362
18847
|
change: "created" | "modified" | "deleted";
|
|
@@ -18448,7 +18933,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18448
18933
|
previewable?: boolean | undefined;
|
|
18449
18934
|
} | null;
|
|
18450
18935
|
provisioning: {
|
|
18451
|
-
status: "
|
|
18936
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18452
18937
|
lastErrorCode: string | null;
|
|
18453
18938
|
syncedAt: string | null;
|
|
18454
18939
|
};
|
|
@@ -18512,7 +18997,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18512
18997
|
previewable?: boolean | undefined;
|
|
18513
18998
|
} | null;
|
|
18514
18999
|
provisioning: {
|
|
18515
|
-
status: "
|
|
19000
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18516
19001
|
lastErrorCode: string | null;
|
|
18517
19002
|
syncedAt: string | null;
|
|
18518
19003
|
};
|
|
@@ -18541,7 +19026,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18541
19026
|
finishedAt: string | null;
|
|
18542
19027
|
steps: {
|
|
18543
19028
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
18544
|
-
status: "
|
|
19029
|
+
status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
|
|
18545
19030
|
finishedAt: string | null;
|
|
18546
19031
|
}[];
|
|
18547
19032
|
log: {
|
|
@@ -18563,7 +19048,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18563
19048
|
finishedAt: string | null;
|
|
18564
19049
|
steps: {
|
|
18565
19050
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
18566
|
-
status: "
|
|
19051
|
+
status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
|
|
18567
19052
|
finishedAt: string | null;
|
|
18568
19053
|
}[];
|
|
18569
19054
|
log: {
|
|
@@ -18614,7 +19099,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18614
19099
|
previewable?: boolean | undefined;
|
|
18615
19100
|
} | null;
|
|
18616
19101
|
provisioning: {
|
|
18617
|
-
status: "
|
|
19102
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18618
19103
|
lastErrorCode: string | null;
|
|
18619
19104
|
syncedAt: string | null;
|
|
18620
19105
|
};
|
|
@@ -18685,7 +19170,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18685
19170
|
previewable?: boolean | undefined;
|
|
18686
19171
|
} | null;
|
|
18687
19172
|
provisioning: {
|
|
18688
|
-
status: "
|
|
19173
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18689
19174
|
lastErrorCode: string | null;
|
|
18690
19175
|
syncedAt: string | null;
|
|
18691
19176
|
};
|
|
@@ -18739,7 +19224,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18739
19224
|
previewable?: boolean | undefined;
|
|
18740
19225
|
} | null;
|
|
18741
19226
|
provisioning: {
|
|
18742
|
-
status: "
|
|
19227
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18743
19228
|
lastErrorCode: string | null;
|
|
18744
19229
|
syncedAt: string | null;
|
|
18745
19230
|
};
|
|
@@ -18793,7 +19278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18793
19278
|
previewable?: boolean | undefined;
|
|
18794
19279
|
} | null;
|
|
18795
19280
|
provisioning: {
|
|
18796
|
-
status: "
|
|
19281
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18797
19282
|
lastErrorCode: string | null;
|
|
18798
19283
|
syncedAt: string | null;
|
|
18799
19284
|
};
|
|
@@ -18847,7 +19332,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18847
19332
|
previewable?: boolean | undefined;
|
|
18848
19333
|
} | null;
|
|
18849
19334
|
provisioning: {
|
|
18850
|
-
status: "
|
|
19335
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18851
19336
|
lastErrorCode: string | null;
|
|
18852
19337
|
syncedAt: string | null;
|
|
18853
19338
|
};
|
|
@@ -18874,6 +19359,51 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18874
19359
|
createPreviewLink: (body?: CreateStorefrontPreviewLinkRequest) => Promise<{
|
|
18875
19360
|
url: string;
|
|
18876
19361
|
expiresAt: string;
|
|
19362
|
+
editorUrl?: string | undefined;
|
|
19363
|
+
}>;
|
|
19364
|
+
/** `GET /v1/storefront/starter` — 쇼핑몰 만들기 진행 상태(서버 상태로 계산한 단계·셀러 항목, 공개 문서 제외) */
|
|
19365
|
+
getStarterStatus: () => Promise<{
|
|
19366
|
+
stage: "SITE" | "INTERVIEW" | "STORE_INFO" | "PRODUCTS" | "SELLER_TASKS" | "POLISH";
|
|
19367
|
+
hostingEnabled: boolean;
|
|
19368
|
+
defaultSiteUrl: string | null;
|
|
19369
|
+
brief: {
|
|
19370
|
+
saved: boolean;
|
|
19371
|
+
updatedAt: string | null;
|
|
19372
|
+
};
|
|
19373
|
+
site: {
|
|
19374
|
+
siteId: string;
|
|
19375
|
+
url: string;
|
|
19376
|
+
templateId: string;
|
|
19377
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
19378
|
+
status: string;
|
|
19379
|
+
synced: boolean;
|
|
19380
|
+
publishedVersion: {
|
|
19381
|
+
versionId: string;
|
|
19382
|
+
templateVersion: string;
|
|
19383
|
+
createdVia: string | null;
|
|
19384
|
+
publishedAt: string | null;
|
|
19385
|
+
} | null;
|
|
19386
|
+
} | null;
|
|
19387
|
+
storeInfo: {
|
|
19388
|
+
done: boolean;
|
|
19389
|
+
missing: ("LOGO" | "CUSTOMER_CENTER_PHONE")[];
|
|
19390
|
+
suggested: ("LOGO" | "CUSTOMER_CENTER_PHONE")[];
|
|
19391
|
+
};
|
|
19392
|
+
products: {
|
|
19393
|
+
realCount: number;
|
|
19394
|
+
};
|
|
19395
|
+
sellerTasks: {
|
|
19396
|
+
key: "PAYMENT_CONNECTED" | "BUSINESS_INFO" | "SHIPPING_POLICY";
|
|
19397
|
+
done: boolean;
|
|
19398
|
+
}[];
|
|
19399
|
+
checkout: {
|
|
19400
|
+
available: boolean;
|
|
19401
|
+
mode: "TEST" | "LIVE" | null;
|
|
19402
|
+
reason: "PAYMENT_NOT_CONFIGURED" | "PAYMENT_NOT_LIVE" | null;
|
|
19403
|
+
};
|
|
19404
|
+
orders: {
|
|
19405
|
+
count: number;
|
|
19406
|
+
};
|
|
18877
19407
|
}>;
|
|
18878
19408
|
/** `GET /v1/storefront/site/domains` — 주소 목록(기본 주소 + 내 도메인)과 DNS 안내 */
|
|
18879
19409
|
listDomains: () => Promise<{
|
|
@@ -18884,7 +19414,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18884
19414
|
domainId: string;
|
|
18885
19415
|
hostname: string;
|
|
18886
19416
|
kind: "PLATFORM" | "CUSTOM";
|
|
18887
|
-
status: "
|
|
19417
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18888
19418
|
isPrimary: boolean;
|
|
18889
19419
|
dnsRecords: {
|
|
18890
19420
|
type: "CNAME" | "TXT";
|
|
@@ -18892,7 +19422,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18892
19422
|
value: string;
|
|
18893
19423
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18894
19424
|
}[];
|
|
18895
|
-
certificateStatus: "
|
|
19425
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18896
19426
|
failureCode: string | null;
|
|
18897
19427
|
verifiedAt: string | null;
|
|
18898
19428
|
activatedAt: string | null;
|
|
@@ -18908,7 +19438,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18908
19438
|
domainId: string;
|
|
18909
19439
|
hostname: string;
|
|
18910
19440
|
kind: "PLATFORM" | "CUSTOM";
|
|
18911
|
-
status: "
|
|
19441
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18912
19442
|
isPrimary: boolean;
|
|
18913
19443
|
dnsRecords: {
|
|
18914
19444
|
type: "CNAME" | "TXT";
|
|
@@ -18916,7 +19446,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18916
19446
|
value: string;
|
|
18917
19447
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18918
19448
|
}[];
|
|
18919
|
-
certificateStatus: "
|
|
19449
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18920
19450
|
failureCode: string | null;
|
|
18921
19451
|
verifiedAt: string | null;
|
|
18922
19452
|
activatedAt: string | null;
|
|
@@ -18928,7 +19458,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18928
19458
|
domainId: string;
|
|
18929
19459
|
hostname: string;
|
|
18930
19460
|
kind: "PLATFORM" | "CUSTOM";
|
|
18931
|
-
status: "
|
|
19461
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18932
19462
|
isPrimary: boolean;
|
|
18933
19463
|
dnsRecords: {
|
|
18934
19464
|
type: "CNAME" | "TXT";
|
|
@@ -18936,7 +19466,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18936
19466
|
value: string;
|
|
18937
19467
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18938
19468
|
}[];
|
|
18939
|
-
certificateStatus: "
|
|
19469
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18940
19470
|
failureCode: string | null;
|
|
18941
19471
|
verifiedAt: string | null;
|
|
18942
19472
|
activatedAt: string | null;
|
|
@@ -18952,7 +19482,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18952
19482
|
domainId: string;
|
|
18953
19483
|
hostname: string;
|
|
18954
19484
|
kind: "PLATFORM" | "CUSTOM";
|
|
18955
|
-
status: "
|
|
19485
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18956
19486
|
isPrimary: boolean;
|
|
18957
19487
|
dnsRecords: {
|
|
18958
19488
|
type: "CNAME" | "TXT";
|
|
@@ -18960,7 +19490,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18960
19490
|
value: string;
|
|
18961
19491
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18962
19492
|
}[];
|
|
18963
|
-
certificateStatus: "
|
|
19493
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18964
19494
|
failureCode: string | null;
|
|
18965
19495
|
verifiedAt: string | null;
|
|
18966
19496
|
activatedAt: string | null;
|
|
@@ -19004,7 +19534,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19004
19534
|
previewable?: boolean | undefined;
|
|
19005
19535
|
} | null;
|
|
19006
19536
|
provisioning: {
|
|
19007
|
-
status: "
|
|
19537
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
19008
19538
|
lastErrorCode: string | null;
|
|
19009
19539
|
syncedAt: string | null;
|
|
19010
19540
|
};
|
|
@@ -19109,6 +19639,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19109
19639
|
createEditPreviewLink: (body?: CreateStorefrontEditPreviewLinkRequest) => Promise<{
|
|
19110
19640
|
url: string;
|
|
19111
19641
|
expiresAt: string;
|
|
19642
|
+
editorUrl?: string | undefined;
|
|
19112
19643
|
}>;
|
|
19113
19644
|
/** `GET /v1/storefront/site/files?prefix=` — 작업 트리 파일 목록 */
|
|
19114
19645
|
listFiles: (params?: {
|
|
@@ -19169,7 +19700,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19169
19700
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
19170
19701
|
checkId: string;
|
|
19171
19702
|
check: string;
|
|
19172
|
-
status: "
|
|
19703
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
19173
19704
|
exitCode: number | null;
|
|
19174
19705
|
durationMs: number | null;
|
|
19175
19706
|
outputTail: string | null;
|
|
@@ -19183,7 +19714,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19183
19714
|
getCheck: (checkId: string) => Promise<{
|
|
19184
19715
|
checkId: string;
|
|
19185
19716
|
check: string;
|
|
19186
|
-
status: "
|
|
19717
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
19187
19718
|
exitCode: number | null;
|
|
19188
19719
|
durationMs: number | null;
|
|
19189
19720
|
outputTail: string | null;
|
|
@@ -19251,7 +19782,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19251
19782
|
buildId: string;
|
|
19252
19783
|
versionId: string;
|
|
19253
19784
|
versionNumber: number;
|
|
19254
|
-
status: "
|
|
19785
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
19255
19786
|
failureStage: string | null;
|
|
19256
19787
|
errorCode: string | null;
|
|
19257
19788
|
logTail: string | null;
|
|
@@ -19332,7 +19863,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19332
19863
|
buildId: string;
|
|
19333
19864
|
versionId: string;
|
|
19334
19865
|
versionNumber: number;
|
|
19335
|
-
status: "
|
|
19866
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
19336
19867
|
failureStage: string | null;
|
|
19337
19868
|
errorCode: string | null;
|
|
19338
19869
|
logTail: string | null;
|
|
@@ -19410,7 +19941,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19410
19941
|
buildId: string;
|
|
19411
19942
|
versionId: string;
|
|
19412
19943
|
versionNumber: number;
|
|
19413
|
-
status: "
|
|
19944
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
19414
19945
|
failureStage: string | null;
|
|
19415
19946
|
errorCode: string | null;
|
|
19416
19947
|
logTail: string | null;
|
|
@@ -19555,7 +20086,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19555
20086
|
code: string;
|
|
19556
20087
|
name: string;
|
|
19557
20088
|
};
|
|
19558
|
-
status: "
|
|
20089
|
+
status: "ACTIVE" | "CANCELED" | "INCOMPLETE" | "PAST_DUE";
|
|
19559
20090
|
interval: "MONTH" | null;
|
|
19560
20091
|
cancelAtPeriodEnd: boolean;
|
|
19561
20092
|
period: {
|
|
@@ -19827,7 +20358,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19827
20358
|
invitationId: string;
|
|
19828
20359
|
email: string;
|
|
19829
20360
|
role: "ADMIN" | "STAFF";
|
|
19830
|
-
status: "
|
|
20361
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
19831
20362
|
invitedBy: string;
|
|
19832
20363
|
expiresAt: string;
|
|
19833
20364
|
createdAt: string;
|
|
@@ -19845,7 +20376,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19845
20376
|
invitationId: string;
|
|
19846
20377
|
email: string;
|
|
19847
20378
|
role: "ADMIN" | "STAFF";
|
|
19848
|
-
status: "
|
|
20379
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
19849
20380
|
invitedBy: string;
|
|
19850
20381
|
expiresAt: string;
|
|
19851
20382
|
createdAt: string;
|
|
@@ -19860,7 +20391,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19860
20391
|
invitationId: string;
|
|
19861
20392
|
email: string;
|
|
19862
20393
|
role: "ADMIN" | "STAFF";
|
|
19863
|
-
status: "
|
|
20394
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
19864
20395
|
invitedBy: string;
|
|
19865
20396
|
expiresAt: string;
|
|
19866
20397
|
createdAt: string;
|
|
@@ -19897,7 +20428,7 @@ export declare function createPkcePair(): Promise<{
|
|
|
19897
20428
|
challenge: string;
|
|
19898
20429
|
}>;
|
|
19899
20430
|
interface AuthorizeUrlOptions {
|
|
19900
|
-
/** authorize 엔드포인트 전체 주소(예: `https://accounts.sayren.
|
|
20431
|
+
/** authorize 엔드포인트 전체 주소(예: `https://accounts.sayren.io/api/auth/oauth2/authorize`) */
|
|
19901
20432
|
authorizeUrl: string;
|
|
19902
20433
|
clientId: string;
|
|
19903
20434
|
redirectUri: string;
|
|
@@ -20469,11 +21000,11 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
20469
21000
|
};
|
|
20470
21001
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
20471
21002
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
20472
|
-
storefront: "storefront";
|
|
20473
21003
|
category: "category";
|
|
20474
21004
|
flow: "flow";
|
|
20475
|
-
analytics: "analytics";
|
|
20476
21005
|
product: "product";
|
|
21006
|
+
analytics: "analytics";
|
|
21007
|
+
storefront: "storefront";
|
|
20477
21008
|
order: "order";
|
|
20478
21009
|
claim: "claim";
|
|
20479
21010
|
inquiry: "inquiry";
|
|
@@ -20925,8 +21456,8 @@ export type StarterStatus = z.infer<typeof starterStatusSchema>;
|
|
|
20925
21456
|
/** 요금제 코드 — 이름(`plan.name`)이 바뀌어도 코드는 바뀌지 않는다. 값은 추가만 한다 */
|
|
20926
21457
|
export declare const planCodeSchema: z.ZodEnum<{
|
|
20927
21458
|
FREE: "FREE";
|
|
20928
|
-
BETA: "BETA";
|
|
20929
21459
|
BASIC: "BASIC";
|
|
21460
|
+
BETA: "BETA";
|
|
20930
21461
|
PRO: "PRO";
|
|
20931
21462
|
BUSINESS: "BUSINESS";
|
|
20932
21463
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -20939,8 +21470,8 @@ export type PlanCode = z.infer<typeof planCodeSchema>;
|
|
|
20939
21470
|
*/
|
|
20940
21471
|
export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
20941
21472
|
FREE: "FREE";
|
|
20942
|
-
BETA: "BETA";
|
|
20943
21473
|
BASIC: "BASIC";
|
|
21474
|
+
BETA: "BETA";
|
|
20944
21475
|
PRO: "PRO";
|
|
20945
21476
|
BUSINESS: "BUSINESS";
|
|
20946
21477
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -20948,9 +21479,9 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
20948
21479
|
}>, z.ZodString]>;
|
|
20949
21480
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
20950
21481
|
export declare const subscriptionStatusSchema: z.ZodEnum<{
|
|
20951
|
-
INCOMPLETE: "INCOMPLETE";
|
|
20952
21482
|
ACTIVE: "ACTIVE";
|
|
20953
21483
|
CANCELED: "CANCELED";
|
|
21484
|
+
INCOMPLETE: "INCOMPLETE";
|
|
20954
21485
|
PAST_DUE: "PAST_DUE";
|
|
20955
21486
|
}>;
|
|
20956
21487
|
export type SubscriptionStatus = z.infer<typeof subscriptionStatusSchema>;
|
|
@@ -20989,8 +21520,8 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
20989
21520
|
plan: z.ZodObject<{
|
|
20990
21521
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
20991
21522
|
FREE: "FREE";
|
|
20992
|
-
BETA: "BETA";
|
|
20993
21523
|
BASIC: "BASIC";
|
|
21524
|
+
BETA: "BETA";
|
|
20994
21525
|
PRO: "PRO";
|
|
20995
21526
|
BUSINESS: "BUSINESS";
|
|
20996
21527
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -20999,9 +21530,9 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
20999
21530
|
name: z.ZodString;
|
|
21000
21531
|
}, z.core.$strip>;
|
|
21001
21532
|
status: z.ZodEnum<{
|
|
21002
|
-
INCOMPLETE: "INCOMPLETE";
|
|
21003
21533
|
ACTIVE: "ACTIVE";
|
|
21004
21534
|
CANCELED: "CANCELED";
|
|
21535
|
+
INCOMPLETE: "INCOMPLETE";
|
|
21005
21536
|
PAST_DUE: "PAST_DUE";
|
|
21006
21537
|
}>;
|
|
21007
21538
|
interval: z.ZodNullable<z.ZodEnum<{
|
|
@@ -21071,8 +21602,8 @@ export declare const planErrorDetailsSchema: z.ZodObject<{
|
|
|
21071
21602
|
used: z.ZodOptional<z.ZodNumber>;
|
|
21072
21603
|
plan: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
21073
21604
|
FREE: "FREE";
|
|
21074
|
-
BETA: "BETA";
|
|
21075
21605
|
BASIC: "BASIC";
|
|
21606
|
+
BETA: "BETA";
|
|
21076
21607
|
PRO: "PRO";
|
|
21077
21608
|
BUSINESS: "BUSINESS";
|
|
21078
21609
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -21119,8 +21650,8 @@ export type PlanEntitlementValues = z.infer<typeof planEntitlementsSchema>;
|
|
|
21119
21650
|
export declare const publicPlanSchema: z.ZodObject<{
|
|
21120
21651
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
21121
21652
|
FREE: "FREE";
|
|
21122
|
-
BETA: "BETA";
|
|
21123
21653
|
BASIC: "BASIC";
|
|
21654
|
+
BETA: "BETA";
|
|
21124
21655
|
PRO: "PRO";
|
|
21125
21656
|
BUSINESS: "BUSINESS";
|
|
21126
21657
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -21173,8 +21704,8 @@ export declare const publicPlansSchema: z.ZodObject<{
|
|
|
21173
21704
|
plans: z.ZodArray<z.ZodObject<{
|
|
21174
21705
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
21175
21706
|
FREE: "FREE";
|
|
21176
|
-
BETA: "BETA";
|
|
21177
21707
|
BASIC: "BASIC";
|
|
21708
|
+
BETA: "BETA";
|
|
21178
21709
|
PRO: "PRO";
|
|
21179
21710
|
BUSINESS: "BUSINESS";
|
|
21180
21711
|
ENTERPRISE: "ENTERPRISE";
|