@sayren/store-sdk 0.30.16 → 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 +737 -209
- package/dist/index.mjs +7847 -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 +1 -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,9 +10800,9 @@ 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
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10343
10806
|
"salePrice.asc": "salePrice.asc";
|
|
10344
10807
|
"salePrice.desc": "salePrice.desc";
|
|
10345
10808
|
}>;
|
|
@@ -10368,9 +10831,9 @@ 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
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
10374
10837
|
"salePrice.asc": "salePrice.asc";
|
|
10375
10838
|
"salePrice.desc": "salePrice.desc";
|
|
10376
10839
|
}>>;
|
|
@@ -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>>;
|
|
@@ -11567,8 +12030,8 @@ export declare function storefrontCustomHostnameProblem(hostname: string, hostin
|
|
|
11567
12030
|
/** 소유 확인 TXT 레코드의 전체 이름 */
|
|
11568
12031
|
export declare function storefrontDomainTxtNameOf(hostname: string): string;
|
|
11569
12032
|
export declare const storefrontCustomDomainStatusSchema: z.ZodEnum<{
|
|
11570
|
-
FAILED: "FAILED";
|
|
11571
12033
|
ACTIVE: "ACTIVE";
|
|
12034
|
+
FAILED: "FAILED";
|
|
11572
12035
|
PENDING_DNS: "PENDING_DNS";
|
|
11573
12036
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11574
12037
|
}>;
|
|
@@ -11594,8 +12057,8 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
11594
12057
|
CUSTOM: "CUSTOM";
|
|
11595
12058
|
}>;
|
|
11596
12059
|
status: z.ZodEnum<{
|
|
11597
|
-
FAILED: "FAILED";
|
|
11598
12060
|
ACTIVE: "ACTIVE";
|
|
12061
|
+
FAILED: "FAILED";
|
|
11599
12062
|
PENDING_DNS: "PENDING_DNS";
|
|
11600
12063
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11601
12064
|
}>;
|
|
@@ -11613,9 +12076,9 @@ export declare const storefrontSiteDomainSchema: z.ZodObject<{
|
|
|
11613
12076
|
}>;
|
|
11614
12077
|
}, z.core.$strip>>;
|
|
11615
12078
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
11616
|
-
FAILED: "FAILED";
|
|
11617
12079
|
ACTIVE: "ACTIVE";
|
|
11618
12080
|
PENDING: "PENDING";
|
|
12081
|
+
FAILED: "FAILED";
|
|
11619
12082
|
}>>;
|
|
11620
12083
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
11621
12084
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -11637,8 +12100,8 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
11637
12100
|
CUSTOM: "CUSTOM";
|
|
11638
12101
|
}>;
|
|
11639
12102
|
status: z.ZodEnum<{
|
|
11640
|
-
FAILED: "FAILED";
|
|
11641
12103
|
ACTIVE: "ACTIVE";
|
|
12104
|
+
FAILED: "FAILED";
|
|
11642
12105
|
PENDING_DNS: "PENDING_DNS";
|
|
11643
12106
|
PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
11644
12107
|
}>;
|
|
@@ -11656,9 +12119,9 @@ export declare const storefrontSiteDomainsSchema: z.ZodObject<{
|
|
|
11656
12119
|
}>;
|
|
11657
12120
|
}, z.core.$strip>>;
|
|
11658
12121
|
certificateStatus: z.ZodNullable<z.ZodEnum<{
|
|
11659
|
-
FAILED: "FAILED";
|
|
11660
12122
|
ACTIVE: "ACTIVE";
|
|
11661
12123
|
PENDING: "PENDING";
|
|
12124
|
+
FAILED: "FAILED";
|
|
11662
12125
|
}>>;
|
|
11663
12126
|
failureCode: z.ZodNullable<z.ZodString>;
|
|
11664
12127
|
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -11892,10 +12355,10 @@ export declare const runStorefrontCheckRequestSchema: z.ZodObject<{
|
|
|
11892
12355
|
}, z.core.$strip>;
|
|
11893
12356
|
export type RunStorefrontCheckRequest = z.infer<typeof runStorefrontCheckRequestSchema>;
|
|
11894
12357
|
export declare const storefrontCheckStatusSchema: z.ZodEnum<{
|
|
11895
|
-
QUEUED: "QUEUED";
|
|
11896
|
-
RUNNING: "RUNNING";
|
|
11897
12358
|
FAILED: "FAILED";
|
|
11898
12359
|
UNKNOWN: "UNKNOWN";
|
|
12360
|
+
QUEUED: "QUEUED";
|
|
12361
|
+
RUNNING: "RUNNING";
|
|
11899
12362
|
PASSED: "PASSED";
|
|
11900
12363
|
TIMED_OUT: "TIMED_OUT";
|
|
11901
12364
|
}>;
|
|
@@ -11906,10 +12369,10 @@ export declare const storefrontCheckSchema: z.ZodObject<{
|
|
|
11906
12369
|
checkId: z.ZodString;
|
|
11907
12370
|
check: z.ZodString;
|
|
11908
12371
|
status: z.ZodEnum<{
|
|
11909
|
-
QUEUED: "QUEUED";
|
|
11910
|
-
RUNNING: "RUNNING";
|
|
11911
12372
|
FAILED: "FAILED";
|
|
11912
12373
|
UNKNOWN: "UNKNOWN";
|
|
12374
|
+
QUEUED: "QUEUED";
|
|
12375
|
+
RUNNING: "RUNNING";
|
|
11913
12376
|
PASSED: "PASSED";
|
|
11914
12377
|
TIMED_OUT: "TIMED_OUT";
|
|
11915
12378
|
}>;
|
|
@@ -11991,10 +12454,10 @@ export declare const storefrontVerifyReportSchema: z.ZodObject<{
|
|
|
11991
12454
|
}, z.core.$strip>;
|
|
11992
12455
|
export type StorefrontVerifyReport = z.infer<typeof storefrontVerifyReportSchema>;
|
|
11993
12456
|
export declare const storefrontBuildStatusSchema: z.ZodEnum<{
|
|
11994
|
-
QUEUED: "QUEUED";
|
|
11995
|
-
RUNNING: "RUNNING";
|
|
11996
12457
|
FAILED: "FAILED";
|
|
11997
12458
|
SUCCEEDED: "SUCCEEDED";
|
|
12459
|
+
QUEUED: "QUEUED";
|
|
12460
|
+
RUNNING: "RUNNING";
|
|
11998
12461
|
TIMED_OUT: "TIMED_OUT";
|
|
11999
12462
|
}>;
|
|
12000
12463
|
export type StorefrontBuildStatus = z.infer<typeof storefrontBuildStatusSchema>;
|
|
@@ -12059,10 +12522,10 @@ export declare const storefrontBuildSchema: z.ZodObject<{
|
|
|
12059
12522
|
versionId: z.ZodString;
|
|
12060
12523
|
versionNumber: z.ZodNumber;
|
|
12061
12524
|
status: z.ZodEnum<{
|
|
12062
|
-
QUEUED: "QUEUED";
|
|
12063
|
-
RUNNING: "RUNNING";
|
|
12064
12525
|
FAILED: "FAILED";
|
|
12065
12526
|
SUCCEEDED: "SUCCEEDED";
|
|
12527
|
+
QUEUED: "QUEUED";
|
|
12528
|
+
RUNNING: "RUNNING";
|
|
12066
12529
|
TIMED_OUT: "TIMED_OUT";
|
|
12067
12530
|
}>;
|
|
12068
12531
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -12189,10 +12652,10 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
12189
12652
|
versionId: z.ZodString;
|
|
12190
12653
|
versionNumber: z.ZodNumber;
|
|
12191
12654
|
status: z.ZodEnum<{
|
|
12192
|
-
QUEUED: "QUEUED";
|
|
12193
|
-
RUNNING: "RUNNING";
|
|
12194
12655
|
FAILED: "FAILED";
|
|
12195
12656
|
SUCCEEDED: "SUCCEEDED";
|
|
12657
|
+
QUEUED: "QUEUED";
|
|
12658
|
+
RUNNING: "RUNNING";
|
|
12196
12659
|
TIMED_OUT: "TIMED_OUT";
|
|
12197
12660
|
}>;
|
|
12198
12661
|
failureStage: z.ZodNullable<z.ZodString>;
|
|
@@ -12502,7 +12965,7 @@ export declare const STORE_SESSION_KEYS: {
|
|
|
12502
12965
|
readonly pkce: "sayren.store.pkce";
|
|
12503
12966
|
};
|
|
12504
12967
|
/**
|
|
12505
|
-
* 인가 서버(Sayren 계정, accounts) 주소 — `https://accounts.sayren.
|
|
12968
|
+
* 인가 서버(Sayren 계정, accounts) 주소 — `https://accounts.sayren.io/api/auth/oauth2/{authorize,token,revoke}`.
|
|
12506
12969
|
* `resource`를 주면 authorize·code 교환·refresh에 RFC 8707 `resource`를 싣는다(JWT access token의 `aud`).
|
|
12507
12970
|
*/
|
|
12508
12971
|
interface StoreAuthServer {
|
|
@@ -13340,7 +13803,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13340
13803
|
value: true;
|
|
13341
13804
|
} | {
|
|
13342
13805
|
field: "bestSelling";
|
|
13343
|
-
days:
|
|
13806
|
+
days: 30 | 7 | 90;
|
|
13344
13807
|
top: number;
|
|
13345
13808
|
} | {
|
|
13346
13809
|
[x: string]: unknown;
|
|
@@ -13390,7 +13853,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13390
13853
|
value: true;
|
|
13391
13854
|
} | {
|
|
13392
13855
|
field: "bestSelling";
|
|
13393
|
-
days:
|
|
13856
|
+
days: 30 | 7 | 90;
|
|
13394
13857
|
top: number;
|
|
13395
13858
|
} | {
|
|
13396
13859
|
[x: string]: unknown;
|
|
@@ -13433,7 +13896,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13433
13896
|
value: true;
|
|
13434
13897
|
} | {
|
|
13435
13898
|
field: "bestSelling";
|
|
13436
|
-
days:
|
|
13899
|
+
days: 30 | 7 | 90;
|
|
13437
13900
|
top: number;
|
|
13438
13901
|
} | {
|
|
13439
13902
|
[x: string]: unknown;
|
|
@@ -13475,7 +13938,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13475
13938
|
value: true;
|
|
13476
13939
|
} | {
|
|
13477
13940
|
field: "bestSelling";
|
|
13478
|
-
days:
|
|
13941
|
+
days: 30 | 7 | 90;
|
|
13479
13942
|
top: number;
|
|
13480
13943
|
} | {
|
|
13481
13944
|
[x: string]: unknown;
|
|
@@ -13538,7 +14001,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13538
14001
|
value: true;
|
|
13539
14002
|
} | {
|
|
13540
14003
|
field: "bestSelling";
|
|
13541
|
-
days:
|
|
14004
|
+
days: 30 | 7 | 90;
|
|
13542
14005
|
top: number;
|
|
13543
14006
|
} | {
|
|
13544
14007
|
[x: string]: unknown;
|
|
@@ -13581,7 +14044,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
13581
14044
|
value: true;
|
|
13582
14045
|
} | {
|
|
13583
14046
|
field: "bestSelling";
|
|
13584
|
-
days:
|
|
14047
|
+
days: 30 | 7 | 90;
|
|
13585
14048
|
top: number;
|
|
13586
14049
|
} | {
|
|
13587
14050
|
[x: string]: unknown;
|
|
@@ -16126,7 +16589,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16126
16589
|
sources: (params: AnalyticsSourcesParams) => Promise<{
|
|
16127
16590
|
groupBy: "CHANNEL" | "SOURCE" | "CAMPAIGN" | "DEVICE";
|
|
16128
16591
|
rows: {
|
|
16129
|
-
channel: "
|
|
16592
|
+
channel: "PAID" | "DIRECT" | "CAMPAIGN" | "UNKNOWN" | "ORGANIC_SEARCH" | "SOCIAL" | "EMAIL" | "REFERRAL" | null;
|
|
16130
16593
|
source: string | null;
|
|
16131
16594
|
medium: string | null;
|
|
16132
16595
|
campaign: string | null;
|
|
@@ -16261,7 +16724,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16261
16724
|
orderId: string | null;
|
|
16262
16725
|
orderName: string;
|
|
16263
16726
|
customerName: string;
|
|
16264
|
-
status: "
|
|
16727
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
16265
16728
|
amount: number;
|
|
16266
16729
|
refundedAmount: number;
|
|
16267
16730
|
heldRefundAmount: number;
|
|
@@ -16287,7 +16750,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16287
16750
|
orderId: string | null;
|
|
16288
16751
|
orderName: string;
|
|
16289
16752
|
customerName: string;
|
|
16290
|
-
status: "
|
|
16753
|
+
status: "PENDING" | "FAILED" | "APPROVED" | "PARTIALLY_REFUNDED" | "REFUNDED";
|
|
16291
16754
|
amount: number;
|
|
16292
16755
|
refundedAmount: number;
|
|
16293
16756
|
heldRefundAmount: number;
|
|
@@ -16402,7 +16865,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16402
16865
|
masked: string | null;
|
|
16403
16866
|
}[];
|
|
16404
16867
|
lastVerification: {
|
|
16405
|
-
result: "
|
|
16868
|
+
result: "SUCCESS" | "FAILED";
|
|
16406
16869
|
message: string | null;
|
|
16407
16870
|
checkedAt: string;
|
|
16408
16871
|
} | null;
|
|
@@ -16427,7 +16890,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16427
16890
|
masked: string | null;
|
|
16428
16891
|
}[];
|
|
16429
16892
|
lastVerification: {
|
|
16430
|
-
result: "
|
|
16893
|
+
result: "SUCCESS" | "FAILED";
|
|
16431
16894
|
message: string | null;
|
|
16432
16895
|
checkedAt: string;
|
|
16433
16896
|
} | null;
|
|
@@ -16451,7 +16914,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16451
16914
|
masked: string | null;
|
|
16452
16915
|
}[];
|
|
16453
16916
|
lastVerification: {
|
|
16454
|
-
result: "
|
|
16917
|
+
result: "SUCCESS" | "FAILED";
|
|
16455
16918
|
message: string | null;
|
|
16456
16919
|
checkedAt: string;
|
|
16457
16920
|
} | null;
|
|
@@ -16512,7 +16975,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16512
16975
|
masked: string | null;
|
|
16513
16976
|
}[];
|
|
16514
16977
|
lastVerification: {
|
|
16515
|
-
result: "
|
|
16978
|
+
result: "SUCCESS" | "FAILED";
|
|
16516
16979
|
message: string | null;
|
|
16517
16980
|
checkedAt: string;
|
|
16518
16981
|
} | null;
|
|
@@ -16537,7 +17000,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16537
17000
|
masked: string | null;
|
|
16538
17001
|
}[];
|
|
16539
17002
|
lastVerification: {
|
|
16540
|
-
result: "
|
|
17003
|
+
result: "SUCCESS" | "FAILED";
|
|
16541
17004
|
message: string | null;
|
|
16542
17005
|
checkedAt: string;
|
|
16543
17006
|
} | null;
|
|
@@ -16561,7 +17024,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16561
17024
|
masked: string | null;
|
|
16562
17025
|
}[];
|
|
16563
17026
|
lastVerification: {
|
|
16564
|
-
result: "
|
|
17027
|
+
result: "SUCCESS" | "FAILED";
|
|
16565
17028
|
message: string | null;
|
|
16566
17029
|
checkedAt: string;
|
|
16567
17030
|
} | null;
|
|
@@ -16627,7 +17090,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16627
17090
|
masked: string | null;
|
|
16628
17091
|
}[];
|
|
16629
17092
|
lastVerification: {
|
|
16630
|
-
result: "
|
|
17093
|
+
result: "SUCCESS" | "FAILED";
|
|
16631
17094
|
message: string | null;
|
|
16632
17095
|
checkedAt: string;
|
|
16633
17096
|
} | null;
|
|
@@ -16652,7 +17115,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16652
17115
|
masked: string | null;
|
|
16653
17116
|
}[];
|
|
16654
17117
|
lastVerification: {
|
|
16655
|
-
result: "
|
|
17118
|
+
result: "SUCCESS" | "FAILED";
|
|
16656
17119
|
message: string | null;
|
|
16657
17120
|
checkedAt: string;
|
|
16658
17121
|
} | null;
|
|
@@ -16676,7 +17139,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16676
17139
|
masked: string | null;
|
|
16677
17140
|
}[];
|
|
16678
17141
|
lastVerification: {
|
|
16679
|
-
result: "
|
|
17142
|
+
result: "SUCCESS" | "FAILED";
|
|
16680
17143
|
message: string | null;
|
|
16681
17144
|
checkedAt: string;
|
|
16682
17145
|
} | null;
|
|
@@ -16723,7 +17186,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16723
17186
|
masked: string | null;
|
|
16724
17187
|
}[];
|
|
16725
17188
|
lastVerification: {
|
|
16726
|
-
result: "
|
|
17189
|
+
result: "SUCCESS" | "FAILED";
|
|
16727
17190
|
message: string | null;
|
|
16728
17191
|
checkedAt: string;
|
|
16729
17192
|
} | null;
|
|
@@ -16748,7 +17211,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16748
17211
|
masked: string | null;
|
|
16749
17212
|
}[];
|
|
16750
17213
|
lastVerification: {
|
|
16751
|
-
result: "
|
|
17214
|
+
result: "SUCCESS" | "FAILED";
|
|
16752
17215
|
message: string | null;
|
|
16753
17216
|
checkedAt: string;
|
|
16754
17217
|
} | null;
|
|
@@ -16772,7 +17235,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16772
17235
|
masked: string | null;
|
|
16773
17236
|
}[];
|
|
16774
17237
|
lastVerification: {
|
|
16775
|
-
result: "
|
|
17238
|
+
result: "SUCCESS" | "FAILED";
|
|
16776
17239
|
message: string | null;
|
|
16777
17240
|
checkedAt: string;
|
|
16778
17241
|
} | null;
|
|
@@ -16829,7 +17292,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16829
17292
|
masked: string | null;
|
|
16830
17293
|
}[];
|
|
16831
17294
|
lastVerification: {
|
|
16832
|
-
result: "
|
|
17295
|
+
result: "SUCCESS" | "FAILED";
|
|
16833
17296
|
message: string | null;
|
|
16834
17297
|
checkedAt: string;
|
|
16835
17298
|
} | null;
|
|
@@ -16854,7 +17317,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16854
17317
|
masked: string | null;
|
|
16855
17318
|
}[];
|
|
16856
17319
|
lastVerification: {
|
|
16857
|
-
result: "
|
|
17320
|
+
result: "SUCCESS" | "FAILED";
|
|
16858
17321
|
message: string | null;
|
|
16859
17322
|
checkedAt: string;
|
|
16860
17323
|
} | null;
|
|
@@ -16878,7 +17341,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16878
17341
|
masked: string | null;
|
|
16879
17342
|
}[];
|
|
16880
17343
|
lastVerification: {
|
|
16881
|
-
result: "
|
|
17344
|
+
result: "SUCCESS" | "FAILED";
|
|
16882
17345
|
message: string | null;
|
|
16883
17346
|
checkedAt: string;
|
|
16884
17347
|
} | null;
|
|
@@ -16925,7 +17388,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16925
17388
|
masked: string | null;
|
|
16926
17389
|
}[];
|
|
16927
17390
|
lastVerification: {
|
|
16928
|
-
result: "
|
|
17391
|
+
result: "SUCCESS" | "FAILED";
|
|
16929
17392
|
message: string | null;
|
|
16930
17393
|
checkedAt: string;
|
|
16931
17394
|
} | null;
|
|
@@ -16950,7 +17413,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16950
17413
|
masked: string | null;
|
|
16951
17414
|
}[];
|
|
16952
17415
|
lastVerification: {
|
|
16953
|
-
result: "
|
|
17416
|
+
result: "SUCCESS" | "FAILED";
|
|
16954
17417
|
message: string | null;
|
|
16955
17418
|
checkedAt: string;
|
|
16956
17419
|
} | null;
|
|
@@ -16974,7 +17437,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
16974
17437
|
masked: string | null;
|
|
16975
17438
|
}[];
|
|
16976
17439
|
lastVerification: {
|
|
16977
|
-
result: "
|
|
17440
|
+
result: "SUCCESS" | "FAILED";
|
|
16978
17441
|
message: string | null;
|
|
16979
17442
|
checkedAt: string;
|
|
16980
17443
|
} | null;
|
|
@@ -17030,7 +17493,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17030
17493
|
masked: string | null;
|
|
17031
17494
|
}[];
|
|
17032
17495
|
lastVerification: {
|
|
17033
|
-
result: "
|
|
17496
|
+
result: "SUCCESS" | "FAILED";
|
|
17034
17497
|
message: string | null;
|
|
17035
17498
|
checkedAt: string;
|
|
17036
17499
|
} | null;
|
|
@@ -17055,7 +17518,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17055
17518
|
masked: string | null;
|
|
17056
17519
|
}[];
|
|
17057
17520
|
lastVerification: {
|
|
17058
|
-
result: "
|
|
17521
|
+
result: "SUCCESS" | "FAILED";
|
|
17059
17522
|
message: string | null;
|
|
17060
17523
|
checkedAt: string;
|
|
17061
17524
|
} | null;
|
|
@@ -17079,7 +17542,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17079
17542
|
masked: string | null;
|
|
17080
17543
|
}[];
|
|
17081
17544
|
lastVerification: {
|
|
17082
|
-
result: "
|
|
17545
|
+
result: "SUCCESS" | "FAILED";
|
|
17083
17546
|
message: string | null;
|
|
17084
17547
|
checkedAt: string;
|
|
17085
17548
|
} | null;
|
|
@@ -17107,7 +17570,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17107
17570
|
verify: (provider: PgProvider, body?: VerifyPaymentProviderRequest) => Promise<{
|
|
17108
17571
|
provider: "tosspayments" | "portone";
|
|
17109
17572
|
environment: "TEST" | "LIVE";
|
|
17110
|
-
result: "
|
|
17573
|
+
result: "SUCCESS" | "FAILED";
|
|
17111
17574
|
message: string | null;
|
|
17112
17575
|
checkedAt: string;
|
|
17113
17576
|
}>;
|
|
@@ -17551,7 +18014,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17551
18014
|
runs: {
|
|
17552
18015
|
deliveryId: string;
|
|
17553
18016
|
eventType: string;
|
|
17554
|
-
status: "
|
|
18017
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17555
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;
|
|
17556
18019
|
attemptCount: number;
|
|
17557
18020
|
createdAt: string;
|
|
@@ -17748,7 +18211,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17748
18211
|
eventId: string;
|
|
17749
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";
|
|
17750
18213
|
url: string;
|
|
17751
|
-
status: "
|
|
18214
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17752
18215
|
responseStatusCode: number | null;
|
|
17753
18216
|
responseTimeMs: number | null;
|
|
17754
18217
|
responseBodyExcerpt: string | null;
|
|
@@ -17775,7 +18238,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17775
18238
|
eventId: string;
|
|
17776
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";
|
|
17777
18240
|
url: string;
|
|
17778
|
-
status: "
|
|
18241
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17779
18242
|
responseStatusCode: number | null;
|
|
17780
18243
|
responseTimeMs: number | null;
|
|
17781
18244
|
responseBodyExcerpt: string | null;
|
|
@@ -17810,7 +18273,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17810
18273
|
eventId: string;
|
|
17811
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";
|
|
17812
18275
|
url: string;
|
|
17813
|
-
status: "
|
|
18276
|
+
status: "PENDING" | "PENDING_RETRY" | "SUCCESS" | "FAILED";
|
|
17814
18277
|
responseStatusCode: number | null;
|
|
17815
18278
|
responseTimeMs: number | null;
|
|
17816
18279
|
responseBodyExcerpt: string | null;
|
|
@@ -17924,7 +18387,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17924
18387
|
list: (params?: ApprovalListOptions) => Promise<{
|
|
17925
18388
|
items: {
|
|
17926
18389
|
approvalId: string;
|
|
17927
|
-
status: "
|
|
18390
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
17928
18391
|
operationId: string;
|
|
17929
18392
|
method: string;
|
|
17930
18393
|
path: string;
|
|
@@ -17976,7 +18439,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
17976
18439
|
}>;
|
|
17977
18440
|
get: (approvalId: string) => Promise<{
|
|
17978
18441
|
approvalId: string;
|
|
17979
|
-
status: "
|
|
18442
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
17980
18443
|
operationId: string;
|
|
17981
18444
|
method: string;
|
|
17982
18445
|
path: string;
|
|
@@ -18030,7 +18493,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18030
18493
|
*/
|
|
18031
18494
|
approve: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
18032
18495
|
approvalId: string;
|
|
18033
|
-
status: "
|
|
18496
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
18034
18497
|
operationId: string;
|
|
18035
18498
|
method: string;
|
|
18036
18499
|
path: string;
|
|
@@ -18080,7 +18543,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18080
18543
|
}>;
|
|
18081
18544
|
reject: (approvalId: string, body?: ApprovalDecisionRequest) => Promise<{
|
|
18082
18545
|
approvalId: string;
|
|
18083
|
-
status: "
|
|
18546
|
+
status: "PENDING" | "FAILED" | "SUCCEEDED" | "EXECUTING" | "UNKNOWN" | "REJECTED" | "EXPIRED";
|
|
18084
18547
|
operationId: string;
|
|
18085
18548
|
method: string;
|
|
18086
18549
|
path: string;
|
|
@@ -18271,8 +18734,20 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18271
18734
|
toolCallId: string;
|
|
18272
18735
|
name: string;
|
|
18273
18736
|
label: string;
|
|
18274
|
-
status: "
|
|
18737
|
+
status: "unknown" | "error" | "ok";
|
|
18275
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;
|
|
18276
18751
|
} | {
|
|
18277
18752
|
type: "choices";
|
|
18278
18753
|
question: string;
|
|
@@ -18280,6 +18755,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18280
18755
|
label: string;
|
|
18281
18756
|
value: string;
|
|
18282
18757
|
}[];
|
|
18758
|
+
} | {
|
|
18759
|
+
type: "business_form";
|
|
18760
|
+
question: string;
|
|
18283
18761
|
} | {
|
|
18284
18762
|
type: "attachment";
|
|
18285
18763
|
attachment: {
|
|
@@ -18304,13 +18782,19 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18304
18782
|
text: string;
|
|
18305
18783
|
pagePath: string;
|
|
18306
18784
|
};
|
|
18785
|
+
} | {
|
|
18786
|
+
type: "reasoning";
|
|
18787
|
+
text: string;
|
|
18788
|
+
} | {
|
|
18789
|
+
type: "phase";
|
|
18790
|
+
phase: "STORE" | "STRUCTURE" | "ENVIRONMENT" | "BUILD" | "DONE";
|
|
18307
18791
|
})[];
|
|
18308
18792
|
runId: string | null;
|
|
18309
18793
|
createdAt: string;
|
|
18310
18794
|
}[];
|
|
18311
18795
|
activeRun: {
|
|
18312
18796
|
id: string;
|
|
18313
|
-
status: "
|
|
18797
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
18314
18798
|
errorCode: string | null;
|
|
18315
18799
|
createdAt: string;
|
|
18316
18800
|
finishedAt: string | null;
|
|
@@ -18322,7 +18806,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18322
18806
|
} | null;
|
|
18323
18807
|
lastRun: {
|
|
18324
18808
|
id: string;
|
|
18325
|
-
status: "
|
|
18809
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
18326
18810
|
errorCode: string | null;
|
|
18327
18811
|
createdAt: string;
|
|
18328
18812
|
finishedAt: string | null;
|
|
@@ -18338,7 +18822,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18338
18822
|
/** `POST /v1/ai/runs/{id}/cancel` (202) — 실행기가 다음 단계 전에 멈춘다 */
|
|
18339
18823
|
cancelRun: (runId: string) => Promise<{
|
|
18340
18824
|
id: string;
|
|
18341
|
-
status: "
|
|
18825
|
+
status: "FAILED" | "CANCEL_REQUESTED" | "DONE" | "QUEUED" | "RUNNING" | "CANCELLED";
|
|
18342
18826
|
errorCode: string | null;
|
|
18343
18827
|
createdAt: string;
|
|
18344
18828
|
finishedAt: string | null;
|
|
@@ -18347,7 +18831,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18347
18831
|
listFileChanges: (conversationId: string) => Promise<{
|
|
18348
18832
|
runs: {
|
|
18349
18833
|
runId: string;
|
|
18350
|
-
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN"
|
|
18834
|
+
status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
|
|
18351
18835
|
files: {
|
|
18352
18836
|
path: string;
|
|
18353
18837
|
change: "created" | "modified" | "deleted";
|
|
@@ -18357,7 +18841,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18357
18841
|
/** `GET /v1/ai/runs/{id}/file-changes` — 실행 하나의 변경 내용(이전·이후) */
|
|
18358
18842
|
getRunFileDiff: (runId: string) => Promise<{
|
|
18359
18843
|
runId: string;
|
|
18360
|
-
status: "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN"
|
|
18844
|
+
status: "EXPIRED" | "APPLIED" | "INCOMPLETE" | "REVERTING" | "REVERTED" | "REVERT_UNKNOWN";
|
|
18361
18845
|
files: {
|
|
18362
18846
|
path: string;
|
|
18363
18847
|
change: "created" | "modified" | "deleted";
|
|
@@ -18449,7 +18933,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18449
18933
|
previewable?: boolean | undefined;
|
|
18450
18934
|
} | null;
|
|
18451
18935
|
provisioning: {
|
|
18452
|
-
status: "
|
|
18936
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18453
18937
|
lastErrorCode: string | null;
|
|
18454
18938
|
syncedAt: string | null;
|
|
18455
18939
|
};
|
|
@@ -18513,7 +18997,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18513
18997
|
previewable?: boolean | undefined;
|
|
18514
18998
|
} | null;
|
|
18515
18999
|
provisioning: {
|
|
18516
|
-
status: "
|
|
19000
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18517
19001
|
lastErrorCode: string | null;
|
|
18518
19002
|
syncedAt: string | null;
|
|
18519
19003
|
};
|
|
@@ -18542,7 +19026,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18542
19026
|
finishedAt: string | null;
|
|
18543
19027
|
steps: {
|
|
18544
19028
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
18545
|
-
status: "
|
|
19029
|
+
status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
|
|
18546
19030
|
finishedAt: string | null;
|
|
18547
19031
|
}[];
|
|
18548
19032
|
log: {
|
|
@@ -18564,7 +19048,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18564
19048
|
finishedAt: string | null;
|
|
18565
19049
|
steps: {
|
|
18566
19050
|
key: "SITE" | "UPLOAD" | "PUBLISH";
|
|
18567
|
-
status: "
|
|
19051
|
+
status: "PENDING" | "FAILED" | "DONE" | "RUNNING";
|
|
18568
19052
|
finishedAt: string | null;
|
|
18569
19053
|
}[];
|
|
18570
19054
|
log: {
|
|
@@ -18615,7 +19099,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18615
19099
|
previewable?: boolean | undefined;
|
|
18616
19100
|
} | null;
|
|
18617
19101
|
provisioning: {
|
|
18618
|
-
status: "
|
|
19102
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18619
19103
|
lastErrorCode: string | null;
|
|
18620
19104
|
syncedAt: string | null;
|
|
18621
19105
|
};
|
|
@@ -18686,7 +19170,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18686
19170
|
previewable?: boolean | undefined;
|
|
18687
19171
|
} | null;
|
|
18688
19172
|
provisioning: {
|
|
18689
|
-
status: "
|
|
19173
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18690
19174
|
lastErrorCode: string | null;
|
|
18691
19175
|
syncedAt: string | null;
|
|
18692
19176
|
};
|
|
@@ -18740,7 +19224,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18740
19224
|
previewable?: boolean | undefined;
|
|
18741
19225
|
} | null;
|
|
18742
19226
|
provisioning: {
|
|
18743
|
-
status: "
|
|
19227
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18744
19228
|
lastErrorCode: string | null;
|
|
18745
19229
|
syncedAt: string | null;
|
|
18746
19230
|
};
|
|
@@ -18794,7 +19278,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18794
19278
|
previewable?: boolean | undefined;
|
|
18795
19279
|
} | null;
|
|
18796
19280
|
provisioning: {
|
|
18797
|
-
status: "
|
|
19281
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18798
19282
|
lastErrorCode: string | null;
|
|
18799
19283
|
syncedAt: string | null;
|
|
18800
19284
|
};
|
|
@@ -18848,7 +19332,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18848
19332
|
previewable?: boolean | undefined;
|
|
18849
19333
|
} | null;
|
|
18850
19334
|
provisioning: {
|
|
18851
|
-
status: "
|
|
19335
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
18852
19336
|
lastErrorCode: string | null;
|
|
18853
19337
|
syncedAt: string | null;
|
|
18854
19338
|
};
|
|
@@ -18877,6 +19361,50 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18877
19361
|
expiresAt: string;
|
|
18878
19362
|
editorUrl?: string | undefined;
|
|
18879
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
|
+
};
|
|
19407
|
+
}>;
|
|
18880
19408
|
/** `GET /v1/storefront/site/domains` — 주소 목록(기본 주소 + 내 도메인)과 DNS 안내 */
|
|
18881
19409
|
listDomains: () => Promise<{
|
|
18882
19410
|
enabled: boolean;
|
|
@@ -18886,7 +19414,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18886
19414
|
domainId: string;
|
|
18887
19415
|
hostname: string;
|
|
18888
19416
|
kind: "PLATFORM" | "CUSTOM";
|
|
18889
|
-
status: "
|
|
19417
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18890
19418
|
isPrimary: boolean;
|
|
18891
19419
|
dnsRecords: {
|
|
18892
19420
|
type: "CNAME" | "TXT";
|
|
@@ -18894,7 +19422,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18894
19422
|
value: string;
|
|
18895
19423
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18896
19424
|
}[];
|
|
18897
|
-
certificateStatus: "
|
|
19425
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18898
19426
|
failureCode: string | null;
|
|
18899
19427
|
verifiedAt: string | null;
|
|
18900
19428
|
activatedAt: string | null;
|
|
@@ -18910,7 +19438,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18910
19438
|
domainId: string;
|
|
18911
19439
|
hostname: string;
|
|
18912
19440
|
kind: "PLATFORM" | "CUSTOM";
|
|
18913
|
-
status: "
|
|
19441
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18914
19442
|
isPrimary: boolean;
|
|
18915
19443
|
dnsRecords: {
|
|
18916
19444
|
type: "CNAME" | "TXT";
|
|
@@ -18918,7 +19446,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18918
19446
|
value: string;
|
|
18919
19447
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18920
19448
|
}[];
|
|
18921
|
-
certificateStatus: "
|
|
19449
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18922
19450
|
failureCode: string | null;
|
|
18923
19451
|
verifiedAt: string | null;
|
|
18924
19452
|
activatedAt: string | null;
|
|
@@ -18930,7 +19458,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18930
19458
|
domainId: string;
|
|
18931
19459
|
hostname: string;
|
|
18932
19460
|
kind: "PLATFORM" | "CUSTOM";
|
|
18933
|
-
status: "
|
|
19461
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18934
19462
|
isPrimary: boolean;
|
|
18935
19463
|
dnsRecords: {
|
|
18936
19464
|
type: "CNAME" | "TXT";
|
|
@@ -18938,7 +19466,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18938
19466
|
value: string;
|
|
18939
19467
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18940
19468
|
}[];
|
|
18941
|
-
certificateStatus: "
|
|
19469
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18942
19470
|
failureCode: string | null;
|
|
18943
19471
|
verifiedAt: string | null;
|
|
18944
19472
|
activatedAt: string | null;
|
|
@@ -18954,7 +19482,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18954
19482
|
domainId: string;
|
|
18955
19483
|
hostname: string;
|
|
18956
19484
|
kind: "PLATFORM" | "CUSTOM";
|
|
18957
|
-
status: "
|
|
19485
|
+
status: "ACTIVE" | "FAILED" | "PENDING_DNS" | "PENDING_VALIDATION";
|
|
18958
19486
|
isPrimary: boolean;
|
|
18959
19487
|
dnsRecords: {
|
|
18960
19488
|
type: "CNAME" | "TXT";
|
|
@@ -18962,7 +19490,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18962
19490
|
value: string;
|
|
18963
19491
|
purpose: "ROUTING" | "OWNERSHIP";
|
|
18964
19492
|
}[];
|
|
18965
|
-
certificateStatus: "
|
|
19493
|
+
certificateStatus: "ACTIVE" | "PENDING" | "FAILED" | null;
|
|
18966
19494
|
failureCode: string | null;
|
|
18967
19495
|
verifiedAt: string | null;
|
|
18968
19496
|
activatedAt: string | null;
|
|
@@ -19006,7 +19534,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19006
19534
|
previewable?: boolean | undefined;
|
|
19007
19535
|
} | null;
|
|
19008
19536
|
provisioning: {
|
|
19009
|
-
status: "
|
|
19537
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
19010
19538
|
lastErrorCode: string | null;
|
|
19011
19539
|
syncedAt: string | null;
|
|
19012
19540
|
};
|
|
@@ -19172,7 +19700,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19172
19700
|
runCheck: (body: RunStorefrontCheckRequest) => Promise<{
|
|
19173
19701
|
checkId: string;
|
|
19174
19702
|
check: string;
|
|
19175
|
-
status: "
|
|
19703
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
19176
19704
|
exitCode: number | null;
|
|
19177
19705
|
durationMs: number | null;
|
|
19178
19706
|
outputTail: string | null;
|
|
@@ -19186,7 +19714,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19186
19714
|
getCheck: (checkId: string) => Promise<{
|
|
19187
19715
|
checkId: string;
|
|
19188
19716
|
check: string;
|
|
19189
|
-
status: "
|
|
19717
|
+
status: "FAILED" | "UNKNOWN" | "QUEUED" | "RUNNING" | "PASSED" | "TIMED_OUT";
|
|
19190
19718
|
exitCode: number | null;
|
|
19191
19719
|
durationMs: number | null;
|
|
19192
19720
|
outputTail: string | null;
|
|
@@ -19254,7 +19782,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19254
19782
|
buildId: string;
|
|
19255
19783
|
versionId: string;
|
|
19256
19784
|
versionNumber: number;
|
|
19257
|
-
status: "
|
|
19785
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
19258
19786
|
failureStage: string | null;
|
|
19259
19787
|
errorCode: string | null;
|
|
19260
19788
|
logTail: string | null;
|
|
@@ -19335,7 +19863,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19335
19863
|
buildId: string;
|
|
19336
19864
|
versionId: string;
|
|
19337
19865
|
versionNumber: number;
|
|
19338
|
-
status: "
|
|
19866
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
19339
19867
|
failureStage: string | null;
|
|
19340
19868
|
errorCode: string | null;
|
|
19341
19869
|
logTail: string | null;
|
|
@@ -19413,7 +19941,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19413
19941
|
buildId: string;
|
|
19414
19942
|
versionId: string;
|
|
19415
19943
|
versionNumber: number;
|
|
19416
|
-
status: "
|
|
19944
|
+
status: "FAILED" | "SUCCEEDED" | "QUEUED" | "RUNNING" | "TIMED_OUT";
|
|
19417
19945
|
failureStage: string | null;
|
|
19418
19946
|
errorCode: string | null;
|
|
19419
19947
|
logTail: string | null;
|
|
@@ -19558,7 +20086,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19558
20086
|
code: string;
|
|
19559
20087
|
name: string;
|
|
19560
20088
|
};
|
|
19561
|
-
status: "
|
|
20089
|
+
status: "ACTIVE" | "CANCELED" | "INCOMPLETE" | "PAST_DUE";
|
|
19562
20090
|
interval: "MONTH" | null;
|
|
19563
20091
|
cancelAtPeriodEnd: boolean;
|
|
19564
20092
|
period: {
|
|
@@ -19830,7 +20358,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19830
20358
|
invitationId: string;
|
|
19831
20359
|
email: string;
|
|
19832
20360
|
role: "ADMIN" | "STAFF";
|
|
19833
|
-
status: "
|
|
20361
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
19834
20362
|
invitedBy: string;
|
|
19835
20363
|
expiresAt: string;
|
|
19836
20364
|
createdAt: string;
|
|
@@ -19848,7 +20376,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19848
20376
|
invitationId: string;
|
|
19849
20377
|
email: string;
|
|
19850
20378
|
role: "ADMIN" | "STAFF";
|
|
19851
|
-
status: "
|
|
20379
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
19852
20380
|
invitedBy: string;
|
|
19853
20381
|
expiresAt: string;
|
|
19854
20382
|
createdAt: string;
|
|
@@ -19863,7 +20391,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19863
20391
|
invitationId: string;
|
|
19864
20392
|
email: string;
|
|
19865
20393
|
role: "ADMIN" | "STAFF";
|
|
19866
|
-
status: "
|
|
20394
|
+
status: "PENDING" | "EXPIRED" | "ACCEPTED" | "CANCELED";
|
|
19867
20395
|
invitedBy: string;
|
|
19868
20396
|
expiresAt: string;
|
|
19869
20397
|
createdAt: string;
|
|
@@ -19900,7 +20428,7 @@ export declare function createPkcePair(): Promise<{
|
|
|
19900
20428
|
challenge: string;
|
|
19901
20429
|
}>;
|
|
19902
20430
|
interface AuthorizeUrlOptions {
|
|
19903
|
-
/** authorize 엔드포인트 전체 주소(예: `https://accounts.sayren.
|
|
20431
|
+
/** authorize 엔드포인트 전체 주소(예: `https://accounts.sayren.io/api/auth/oauth2/authorize`) */
|
|
19904
20432
|
authorizeUrl: string;
|
|
19905
20433
|
clientId: string;
|
|
19906
20434
|
redirectUri: string;
|
|
@@ -20472,11 +21000,11 @@ export declare const STORE_SCOPE_RESOURCES: {
|
|
|
20472
21000
|
};
|
|
20473
21001
|
export type StoreScopeResource = keyof typeof STORE_SCOPE_RESOURCES;
|
|
20474
21002
|
export declare const storeScopeResourceSchema: z.ZodEnum<{
|
|
20475
|
-
storefront: "storefront";
|
|
20476
21003
|
category: "category";
|
|
20477
21004
|
flow: "flow";
|
|
20478
|
-
analytics: "analytics";
|
|
20479
21005
|
product: "product";
|
|
21006
|
+
analytics: "analytics";
|
|
21007
|
+
storefront: "storefront";
|
|
20480
21008
|
order: "order";
|
|
20481
21009
|
claim: "claim";
|
|
20482
21010
|
inquiry: "inquiry";
|
|
@@ -20928,8 +21456,8 @@ export type StarterStatus = z.infer<typeof starterStatusSchema>;
|
|
|
20928
21456
|
/** 요금제 코드 — 이름(`plan.name`)이 바뀌어도 코드는 바뀌지 않는다. 값은 추가만 한다 */
|
|
20929
21457
|
export declare const planCodeSchema: z.ZodEnum<{
|
|
20930
21458
|
FREE: "FREE";
|
|
20931
|
-
BETA: "BETA";
|
|
20932
21459
|
BASIC: "BASIC";
|
|
21460
|
+
BETA: "BETA";
|
|
20933
21461
|
PRO: "PRO";
|
|
20934
21462
|
BUSINESS: "BUSINESS";
|
|
20935
21463
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -20942,8 +21470,8 @@ export type PlanCode = z.infer<typeof planCodeSchema>;
|
|
|
20942
21470
|
*/
|
|
20943
21471
|
export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
20944
21472
|
FREE: "FREE";
|
|
20945
|
-
BETA: "BETA";
|
|
20946
21473
|
BASIC: "BASIC";
|
|
21474
|
+
BETA: "BETA";
|
|
20947
21475
|
PRO: "PRO";
|
|
20948
21476
|
BUSINESS: "BUSINESS";
|
|
20949
21477
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -20951,9 +21479,9 @@ export declare const responsePlanCodeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
20951
21479
|
}>, z.ZodString]>;
|
|
20952
21480
|
export type ResponsePlanCode = PlanCode | (string & {});
|
|
20953
21481
|
export declare const subscriptionStatusSchema: z.ZodEnum<{
|
|
20954
|
-
INCOMPLETE: "INCOMPLETE";
|
|
20955
21482
|
ACTIVE: "ACTIVE";
|
|
20956
21483
|
CANCELED: "CANCELED";
|
|
21484
|
+
INCOMPLETE: "INCOMPLETE";
|
|
20957
21485
|
PAST_DUE: "PAST_DUE";
|
|
20958
21486
|
}>;
|
|
20959
21487
|
export type SubscriptionStatus = z.infer<typeof subscriptionStatusSchema>;
|
|
@@ -20992,8 +21520,8 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
20992
21520
|
plan: z.ZodObject<{
|
|
20993
21521
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
20994
21522
|
FREE: "FREE";
|
|
20995
|
-
BETA: "BETA";
|
|
20996
21523
|
BASIC: "BASIC";
|
|
21524
|
+
BETA: "BETA";
|
|
20997
21525
|
PRO: "PRO";
|
|
20998
21526
|
BUSINESS: "BUSINESS";
|
|
20999
21527
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -21002,9 +21530,9 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
|
|
|
21002
21530
|
name: z.ZodString;
|
|
21003
21531
|
}, z.core.$strip>;
|
|
21004
21532
|
status: z.ZodEnum<{
|
|
21005
|
-
INCOMPLETE: "INCOMPLETE";
|
|
21006
21533
|
ACTIVE: "ACTIVE";
|
|
21007
21534
|
CANCELED: "CANCELED";
|
|
21535
|
+
INCOMPLETE: "INCOMPLETE";
|
|
21008
21536
|
PAST_DUE: "PAST_DUE";
|
|
21009
21537
|
}>;
|
|
21010
21538
|
interval: z.ZodNullable<z.ZodEnum<{
|
|
@@ -21074,8 +21602,8 @@ export declare const planErrorDetailsSchema: z.ZodObject<{
|
|
|
21074
21602
|
used: z.ZodOptional<z.ZodNumber>;
|
|
21075
21603
|
plan: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
21076
21604
|
FREE: "FREE";
|
|
21077
|
-
BETA: "BETA";
|
|
21078
21605
|
BASIC: "BASIC";
|
|
21606
|
+
BETA: "BETA";
|
|
21079
21607
|
PRO: "PRO";
|
|
21080
21608
|
BUSINESS: "BUSINESS";
|
|
21081
21609
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -21122,8 +21650,8 @@ export type PlanEntitlementValues = z.infer<typeof planEntitlementsSchema>;
|
|
|
21122
21650
|
export declare const publicPlanSchema: z.ZodObject<{
|
|
21123
21651
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
21124
21652
|
FREE: "FREE";
|
|
21125
|
-
BETA: "BETA";
|
|
21126
21653
|
BASIC: "BASIC";
|
|
21654
|
+
BETA: "BETA";
|
|
21127
21655
|
PRO: "PRO";
|
|
21128
21656
|
BUSINESS: "BUSINESS";
|
|
21129
21657
|
ENTERPRISE: "ENTERPRISE";
|
|
@@ -21176,8 +21704,8 @@ export declare const publicPlansSchema: z.ZodObject<{
|
|
|
21176
21704
|
plans: z.ZodArray<z.ZodObject<{
|
|
21177
21705
|
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
21178
21706
|
FREE: "FREE";
|
|
21179
|
-
BETA: "BETA";
|
|
21180
21707
|
BASIC: "BASIC";
|
|
21708
|
+
BETA: "BETA";
|
|
21181
21709
|
PRO: "PRO";
|
|
21182
21710
|
BUSINESS: "BUSINESS";
|
|
21183
21711
|
ENTERPRISE: "ENTERPRISE";
|