@sayren/store-sdk 0.61.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +96 -19
- package/dist/index.mjs +13 -1
- package/package.json +1 -1
- package/src/client.ts +7 -0
- package/src/schemas/storefront-hosting.ts +26 -0
package/dist/index.d.mts
CHANGED
|
@@ -166,9 +166,9 @@ export declare const auditLogPageSchema: z$1.ZodObject<{
|
|
|
166
166
|
}, z$1.core.$strip>;
|
|
167
167
|
export type AuditLogPage = z$1.infer<typeof auditLogPageSchema>;
|
|
168
168
|
export declare const agentPolicyDecisionSchema: z$1.ZodEnum<{
|
|
169
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
169
170
|
DENIED: "DENIED";
|
|
170
171
|
ALLOW: "ALLOW";
|
|
171
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
172
172
|
}>;
|
|
173
173
|
export type AgentPolicyDecision = z$1.infer<typeof agentPolicyDecisionSchema>;
|
|
174
174
|
export declare const writePreviewSchema: z$1.ZodObject<{
|
|
@@ -192,9 +192,9 @@ export type WritePreview = z$1.infer<typeof writePreviewSchema>;
|
|
|
192
192
|
export declare const writeDryRunResultSchema: z$1.ZodObject<{
|
|
193
193
|
dryRun: z$1.ZodLiteral<true>;
|
|
194
194
|
decision: z$1.ZodEnum<{
|
|
195
|
+
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
195
196
|
DENIED: "DENIED";
|
|
196
197
|
ALLOW: "ALLOW";
|
|
197
|
-
APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
|
|
198
198
|
}>;
|
|
199
199
|
reason: z$1.ZodNullable<z$1.ZodString>;
|
|
200
200
|
preview: z$1.ZodObject<{
|
|
@@ -502,8 +502,8 @@ export type AiRun = z$1.infer<typeof aiRunSchema>;
|
|
|
502
502
|
export declare const aiActivitySchema: z$1.ZodEnum<{
|
|
503
503
|
check: "check";
|
|
504
504
|
code: "code";
|
|
505
|
-
version: "version";
|
|
506
505
|
status: "status";
|
|
506
|
+
version: "version";
|
|
507
507
|
shipping: "shipping";
|
|
508
508
|
product: "product";
|
|
509
509
|
category: "category";
|
|
@@ -757,8 +757,8 @@ export declare const aiMessagePartSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
757
757
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
758
758
|
check: "check";
|
|
759
759
|
code: "code";
|
|
760
|
-
version: "version";
|
|
761
760
|
status: "status";
|
|
761
|
+
version: "version";
|
|
762
762
|
shipping: "shipping";
|
|
763
763
|
product: "product";
|
|
764
764
|
category: "category";
|
|
@@ -913,8 +913,8 @@ export declare const aiMessageSchema: z$1.ZodObject<{
|
|
|
913
913
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
914
914
|
check: "check";
|
|
915
915
|
code: "code";
|
|
916
|
-
version: "version";
|
|
917
916
|
status: "status";
|
|
917
|
+
version: "version";
|
|
918
918
|
shipping: "shipping";
|
|
919
919
|
product: "product";
|
|
920
920
|
category: "category";
|
|
@@ -1102,8 +1102,8 @@ export declare const aiConversationSchema: z$1.ZodObject<{
|
|
|
1102
1102
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1103
1103
|
check: "check";
|
|
1104
1104
|
code: "code";
|
|
1105
|
-
version: "version";
|
|
1106
1105
|
status: "status";
|
|
1106
|
+
version: "version";
|
|
1107
1107
|
shipping: "shipping";
|
|
1108
1108
|
product: "product";
|
|
1109
1109
|
category: "category";
|
|
@@ -1606,8 +1606,8 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1606
1606
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1607
1607
|
check: "check";
|
|
1608
1608
|
code: "code";
|
|
1609
|
-
version: "version";
|
|
1610
1609
|
status: "status";
|
|
1610
|
+
version: "version";
|
|
1611
1611
|
shipping: "shipping";
|
|
1612
1612
|
product: "product";
|
|
1613
1613
|
category: "category";
|
|
@@ -1734,8 +1734,8 @@ export declare const aiStreamEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObje
|
|
|
1734
1734
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1735
1735
|
check: "check";
|
|
1736
1736
|
code: "code";
|
|
1737
|
-
version: "version";
|
|
1738
1737
|
status: "status";
|
|
1738
|
+
version: "version";
|
|
1739
1739
|
shipping: "shipping";
|
|
1740
1740
|
product: "product";
|
|
1741
1741
|
category: "category";
|
|
@@ -1962,8 +1962,8 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
1962
1962
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1963
1963
|
check: "check";
|
|
1964
1964
|
code: "code";
|
|
1965
|
-
version: "version";
|
|
1966
1965
|
status: "status";
|
|
1966
|
+
version: "version";
|
|
1967
1967
|
shipping: "shipping";
|
|
1968
1968
|
product: "product";
|
|
1969
1969
|
category: "category";
|
|
@@ -2090,8 +2090,8 @@ export declare const aiStreamRecordSchema: z$1.ZodObject<{
|
|
|
2090
2090
|
activity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2091
2091
|
check: "check";
|
|
2092
2092
|
code: "code";
|
|
2093
|
-
version: "version";
|
|
2094
2093
|
status: "status";
|
|
2094
|
+
version: "version";
|
|
2095
2095
|
shipping: "shipping";
|
|
2096
2096
|
product: "product";
|
|
2097
2097
|
category: "category";
|
|
@@ -4475,8 +4475,8 @@ export declare const appManifestSchema: z$1.ZodObject<{
|
|
|
4475
4475
|
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
4476
4476
|
readme: z$1.ZodOptional<z$1.ZodString>;
|
|
4477
4477
|
runtime: z$1.ZodDefault<z$1.ZodEnum<{
|
|
4478
|
-
external: "external";
|
|
4479
4478
|
code: "code";
|
|
4479
|
+
external: "external";
|
|
4480
4480
|
}>>;
|
|
4481
4481
|
external: z$1.ZodOptional<z$1.ZodObject<{
|
|
4482
4482
|
url: z$1.ZodURL;
|
|
@@ -13575,13 +13575,13 @@ export declare const discountSchema: z$1.ZodObject<{
|
|
|
13575
13575
|
export type Discount = z$1.infer<typeof discountSchema>;
|
|
13576
13576
|
export declare const productSchema: z$1.ZodObject<{
|
|
13577
13577
|
name: z$1.ZodString;
|
|
13578
|
-
salePrice: z$1.ZodNumber;
|
|
13579
13578
|
status: z$1.ZodEnum<{
|
|
13580
13579
|
SALE: "SALE";
|
|
13581
13580
|
SUSPENDED: "SUSPENDED";
|
|
13582
13581
|
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
13583
13582
|
CLOSED: "CLOSED";
|
|
13584
13583
|
}>;
|
|
13584
|
+
salePrice: z$1.ZodNumber;
|
|
13585
13585
|
stockQuantity: z$1.ZodNumber;
|
|
13586
13586
|
categoryId: z$1.ZodNullable<z$1.ZodString>;
|
|
13587
13587
|
productId: z$1.ZodString;
|
|
@@ -14634,9 +14634,9 @@ export type ProductPatchRequest = z$1.infer<typeof productPatchRequestSchema>;
|
|
|
14634
14634
|
export declare const productSortSchema: z$1.ZodEnum<{
|
|
14635
14635
|
"createdAt.desc": "createdAt.desc";
|
|
14636
14636
|
"createdAt.asc": "createdAt.asc";
|
|
14637
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14638
14637
|
"salePrice.asc": "salePrice.asc";
|
|
14639
14638
|
"salePrice.desc": "salePrice.desc";
|
|
14639
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14640
14640
|
}>;
|
|
14641
14641
|
export type ProductSort = z$1.infer<typeof productSortSchema>;
|
|
14642
14642
|
export interface ProductListParams extends PageParams {
|
|
@@ -14665,9 +14665,9 @@ export declare const productListQuerySchema: z$1.ZodObject<{
|
|
|
14665
14665
|
sort: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14666
14666
|
"createdAt.desc": "createdAt.desc";
|
|
14667
14667
|
"createdAt.asc": "createdAt.asc";
|
|
14668
|
-
"updatedAt.desc": "updatedAt.desc";
|
|
14669
14668
|
"salePrice.asc": "salePrice.asc";
|
|
14670
14669
|
"salePrice.desc": "salePrice.desc";
|
|
14670
|
+
"updatedAt.desc": "updatedAt.desc";
|
|
14671
14671
|
}>>;
|
|
14672
14672
|
}, z$1.core.$strip>;
|
|
14673
14673
|
export declare const discountRequestSchema: z$1.ZodObject<{
|
|
@@ -16943,6 +16943,7 @@ export declare const storefrontSiteSnapshotSchema: z$1.ZodObject<{
|
|
|
16943
16943
|
export type StorefrontSiteSnapshot = z$1.infer<typeof storefrontSiteSnapshotSchema>;
|
|
16944
16944
|
export declare const storefrontSiteSchema: z$1.ZodObject<{
|
|
16945
16945
|
siteId: z$1.ZodString;
|
|
16946
|
+
autoPublish: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
|
|
16946
16947
|
deployWithoutApproval: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
16947
16948
|
slug: z$1.ZodString;
|
|
16948
16949
|
hostname: z$1.ZodString;
|
|
@@ -17028,6 +17029,7 @@ export declare const storefrontHostingSchema: z$1.ZodObject<{
|
|
|
17028
17029
|
editingEnabled: z$1.ZodBoolean;
|
|
17029
17030
|
site: z$1.ZodNullable<z$1.ZodObject<{
|
|
17030
17031
|
siteId: z$1.ZodString;
|
|
17032
|
+
autoPublish: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
|
|
17031
17033
|
deployWithoutApproval: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
17032
17034
|
slug: z$1.ZodString;
|
|
17033
17035
|
hostname: z$1.ZodString;
|
|
@@ -18276,6 +18278,16 @@ export declare const connectStorefrontGitRequestSchema: z$1.ZodObject<{
|
|
|
18276
18278
|
rootDirectory: z$1.ZodOptional<z$1.ZodString>;
|
|
18277
18279
|
}, z$1.core.$strip>;
|
|
18278
18280
|
export type ConnectStorefrontGitRequest = z$1.infer<typeof connectStorefrontGitRequestSchema>;
|
|
18281
|
+
/** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(#356). null이면 `sayren.json` `deploy.production`을 따른다 */
|
|
18282
|
+
export declare const setStorefrontAutoPublishRequestSchema: z$1.ZodObject<{
|
|
18283
|
+
autoPublish: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
18284
|
+
}, z$1.core.$strip>;
|
|
18285
|
+
export type SetStorefrontAutoPublishRequest = z$1.infer<typeof setStorefrontAutoPublishRequestSchema>;
|
|
18286
|
+
/**
|
|
18287
|
+
* 배포(CLI `sayren deploy`·Git 운영 브랜치 push)가 만든 버전을 바로 게시하는가(#356) — 사이트 설정(`autoPublish`)이 있으면 그것,
|
|
18288
|
+
* 없으면 소스의 `sayren.json` `deploy.production`, 그것도 없으면 저장만. CLI `--production`은 이 판정과 무관하게 게시한다
|
|
18289
|
+
*/
|
|
18290
|
+
export declare function resolveStorefrontDeployProduction(siteSetting: boolean | null | undefined, projectSetting: boolean | null | undefined): boolean;
|
|
18279
18291
|
/** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(#138) */
|
|
18280
18292
|
export declare const setStorefrontDeployApprovalRequestSchema: z$1.ZodObject<{
|
|
18281
18293
|
deployWithoutApproval: z$1.ZodBoolean;
|
|
@@ -18582,8 +18594,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18582
18594
|
}>;
|
|
18583
18595
|
get: (productId: string) => Promise<{
|
|
18584
18596
|
name: string;
|
|
18585
|
-
salePrice: number;
|
|
18586
18597
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18598
|
+
salePrice: number;
|
|
18587
18599
|
stockQuantity: number;
|
|
18588
18600
|
categoryId: string | null;
|
|
18589
18601
|
productId: string;
|
|
@@ -18731,8 +18743,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18731
18743
|
}>;
|
|
18732
18744
|
create: (body: ProductCreateRequestInput, idempotencyKey?: string) => Promise<{
|
|
18733
18745
|
name: string;
|
|
18734
|
-
salePrice: number;
|
|
18735
18746
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18747
|
+
salePrice: number;
|
|
18736
18748
|
stockQuantity: number;
|
|
18737
18749
|
categoryId: string | null;
|
|
18738
18750
|
productId: string;
|
|
@@ -18880,8 +18892,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
18880
18892
|
}>;
|
|
18881
18893
|
update: (productId: string, body: ProductReplaceRequestInput) => Promise<{
|
|
18882
18894
|
name: string;
|
|
18883
|
-
salePrice: number;
|
|
18884
18895
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
18896
|
+
salePrice: number;
|
|
18885
18897
|
stockQuantity: number;
|
|
18886
18898
|
categoryId: string | null;
|
|
18887
18899
|
productId: string;
|
|
@@ -19211,8 +19223,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
19211
19223
|
/** 상품 상세 묶음 조회(id·상품번호 합 100개) — 상점 플랫폼 전용. 이 상점에 없는 값은 빠진다 */
|
|
19212
19224
|
lookup: (body: ProductLookupRequest) => Promise<{
|
|
19213
19225
|
name: string;
|
|
19214
|
-
salePrice: number;
|
|
19215
19226
|
status: "SALE" | "SUSPENDED" | "OUT_OF_STOCK" | "CLOSED";
|
|
19227
|
+
salePrice: number;
|
|
19216
19228
|
stockQuantity: number;
|
|
19217
19229
|
categoryId: string | null;
|
|
19218
19230
|
productId: string;
|
|
@@ -27013,7 +27025,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27013
27025
|
label: string;
|
|
27014
27026
|
status: "error" | "unknown" | "ok";
|
|
27015
27027
|
summary: string | null;
|
|
27016
|
-
activity?: "check" | "code" | "
|
|
27028
|
+
activity?: "check" | "code" | "status" | "version" | "shipping" | "product" | "category" | "brief" | "files" | "preview" | "template" | "site" | "info" | "upload" | "design" | "verify" | undefined;
|
|
27017
27029
|
target?: string | undefined;
|
|
27018
27030
|
changes?: {
|
|
27019
27031
|
path: string;
|
|
@@ -27222,6 +27234,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27222
27234
|
slugChangesRemaining: number;
|
|
27223
27235
|
createdAt: string;
|
|
27224
27236
|
updatedAt: string;
|
|
27237
|
+
autoPublish?: boolean | null | undefined;
|
|
27225
27238
|
deployWithoutApproval?: boolean | undefined;
|
|
27226
27239
|
suspension?: {
|
|
27227
27240
|
reason: string | null;
|
|
@@ -27288,6 +27301,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27288
27301
|
slugChangesRemaining: number;
|
|
27289
27302
|
createdAt: string;
|
|
27290
27303
|
updatedAt: string;
|
|
27304
|
+
autoPublish?: boolean | null | undefined;
|
|
27291
27305
|
deployWithoutApproval?: boolean | undefined;
|
|
27292
27306
|
suspension?: {
|
|
27293
27307
|
reason: string | null;
|
|
@@ -27408,6 +27422,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27408
27422
|
slugChangesRemaining: number;
|
|
27409
27423
|
createdAt: string;
|
|
27410
27424
|
updatedAt: string;
|
|
27425
|
+
autoPublish?: boolean | null | undefined;
|
|
27411
27426
|
deployWithoutApproval?: boolean | undefined;
|
|
27412
27427
|
suspension?: {
|
|
27413
27428
|
reason: string | null;
|
|
@@ -27464,6 +27479,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27464
27479
|
slugChangesRemaining: number;
|
|
27465
27480
|
createdAt: string;
|
|
27466
27481
|
updatedAt: string;
|
|
27482
|
+
autoPublish?: boolean | null | undefined;
|
|
27467
27483
|
deployWithoutApproval?: boolean | undefined;
|
|
27468
27484
|
suspension?: {
|
|
27469
27485
|
reason: string | null;
|
|
@@ -27520,6 +27536,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27520
27536
|
slugChangesRemaining: number;
|
|
27521
27537
|
createdAt: string;
|
|
27522
27538
|
updatedAt: string;
|
|
27539
|
+
autoPublish?: boolean | null | undefined;
|
|
27523
27540
|
deployWithoutApproval?: boolean | undefined;
|
|
27524
27541
|
suspension?: {
|
|
27525
27542
|
reason: string | null;
|
|
@@ -27576,6 +27593,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27576
27593
|
slugChangesRemaining: number;
|
|
27577
27594
|
createdAt: string;
|
|
27578
27595
|
updatedAt: string;
|
|
27596
|
+
autoPublish?: boolean | null | undefined;
|
|
27579
27597
|
deployWithoutApproval?: boolean | undefined;
|
|
27580
27598
|
suspension?: {
|
|
27581
27599
|
reason: string | null;
|
|
@@ -27797,6 +27815,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
27797
27815
|
slugChangesRemaining: number;
|
|
27798
27816
|
createdAt: string;
|
|
27799
27817
|
updatedAt: string;
|
|
27818
|
+
autoPublish?: boolean | null | undefined;
|
|
27800
27819
|
deployWithoutApproval?: boolean | undefined;
|
|
27801
27820
|
suspension?: {
|
|
27802
27821
|
reason: string | null;
|
|
@@ -28367,6 +28386,63 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28367
28386
|
merged?: boolean | undefined;
|
|
28368
28387
|
uploadedRef?: string | undefined;
|
|
28369
28388
|
}>;
|
|
28389
|
+
/** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(상점 플랫폼 OWNER·ADMIN 전용, #356) */
|
|
28390
|
+
setAutoPublish: (body: SetStorefrontAutoPublishRequest) => Promise<{
|
|
28391
|
+
siteId: string;
|
|
28392
|
+
slug: string;
|
|
28393
|
+
hostname: string;
|
|
28394
|
+
url: string;
|
|
28395
|
+
domains: {
|
|
28396
|
+
hostname: string;
|
|
28397
|
+
kind: "PLATFORM" | "CUSTOM";
|
|
28398
|
+
status: "ACTIVE" | "HELD";
|
|
28399
|
+
isPrimary: boolean;
|
|
28400
|
+
holdUntil: string | null;
|
|
28401
|
+
}[];
|
|
28402
|
+
status: "SUSPENDED" | "CLOSED" | "ACTIVE";
|
|
28403
|
+
visibility: "COMING_SOON" | "PUBLIC";
|
|
28404
|
+
publishedVersion: {
|
|
28405
|
+
versionId: string;
|
|
28406
|
+
number: number;
|
|
28407
|
+
status: "FAILED" | "BUILDING" | "READY";
|
|
28408
|
+
published: boolean;
|
|
28409
|
+
publishedAt: string | null;
|
|
28410
|
+
message: string | null;
|
|
28411
|
+
source: "TEMPLATE" | "EDIT";
|
|
28412
|
+
buildId: string | null;
|
|
28413
|
+
createdByType: string;
|
|
28414
|
+
createdAt: string;
|
|
28415
|
+
createdVia?: string | null | undefined;
|
|
28416
|
+
gitRef?: string | null | undefined;
|
|
28417
|
+
commitSha?: string | null | undefined;
|
|
28418
|
+
excludedPaths?: string[] | null | undefined;
|
|
28419
|
+
mainChanged?: boolean | undefined;
|
|
28420
|
+
buildCanceled?: boolean | undefined;
|
|
28421
|
+
previewable?: boolean | undefined;
|
|
28422
|
+
} | null;
|
|
28423
|
+
provisioning: {
|
|
28424
|
+
status: "PENDING" | "FAILED" | "SYNCED";
|
|
28425
|
+
lastErrorCode: string | null;
|
|
28426
|
+
syncedAt: string | null;
|
|
28427
|
+
};
|
|
28428
|
+
editPreview: {
|
|
28429
|
+
hostname: string | null;
|
|
28430
|
+
};
|
|
28431
|
+
slugChangesRemaining: number;
|
|
28432
|
+
createdAt: string;
|
|
28433
|
+
updatedAt: string;
|
|
28434
|
+
autoPublish?: boolean | null | undefined;
|
|
28435
|
+
deployWithoutApproval?: boolean | undefined;
|
|
28436
|
+
suspension?: {
|
|
28437
|
+
reason: string | null;
|
|
28438
|
+
suspendedAt: string | null;
|
|
28439
|
+
} | null | undefined;
|
|
28440
|
+
snapshot?: {
|
|
28441
|
+
url: string;
|
|
28442
|
+
versionId: string | null;
|
|
28443
|
+
capturedAt: string | null;
|
|
28444
|
+
} | null | undefined;
|
|
28445
|
+
}>;
|
|
28370
28446
|
/** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(상점 플랫폼 OWNER·ADMIN 전용) */
|
|
28371
28447
|
setDeployApproval: (body: SetStorefrontDeployApprovalRequest) => Promise<{
|
|
28372
28448
|
siteId: string;
|
|
@@ -28412,6 +28488,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
28412
28488
|
slugChangesRemaining: number;
|
|
28413
28489
|
createdAt: string;
|
|
28414
28490
|
updatedAt: string;
|
|
28491
|
+
autoPublish?: boolean | null | undefined;
|
|
28415
28492
|
deployWithoutApproval?: boolean | undefined;
|
|
28416
28493
|
suspension?: {
|
|
28417
28494
|
reason: string | null;
|
package/dist/index.mjs
CHANGED
|
@@ -1692,6 +1692,7 @@ const storefrontSiteSnapshotSchema = z$1.object({
|
|
|
1692
1692
|
});
|
|
1693
1693
|
const storefrontSiteSchema = z$1.object({
|
|
1694
1694
|
siteId: z$1.string(),
|
|
1695
|
+
autoPublish: z$1.boolean().nullable().optional().describe("배포 뒤 바로 게시 — CLI `sayren deploy`·Git 운영 브랜치 push가 만든 버전을 곧바로 게시한다. null이면 소스의 `sayren.json` `deploy.production`, 그것도 없으면 저장만. 상점 플랫폼에서 OWNER·ADMIN만 바꾼다"),
|
|
1695
1696
|
deployWithoutApproval: z$1.boolean().optional().describe("승인 없이 배포 — 켜져 있으면 AI 에이전트의 발행·되돌리기가 승인 없이 실행된다. 상점 플랫폼에서 OWNER·ADMIN만 바꾼다"),
|
|
1696
1697
|
slug: z$1.string().describe("주소 슬러그"),
|
|
1697
1698
|
hostname: z$1.string().describe("대표 호스트 이름"),
|
|
@@ -2561,6 +2562,15 @@ const connectStorefrontGitRequestSchema = strictRequest(z$1.object({
|
|
|
2561
2562
|
productionBranch: z$1.string().min(1).max(200).regex(/^[A-Za-z0-9._-]+(\/[A-Za-z0-9._-]+)*$/).optional().describe("운영 배포 브랜치(생략하면 저장소 기본 브랜치)"),
|
|
2562
2563
|
rootDirectory: z$1.string().max(200).regex(/^$|^[A-Za-z0-9._-]+(\/[A-Za-z0-9._-]+)*$/).refine((v) => !v.split("/").some((seg) => seg === "." || seg === ".."), "상대 경로만").optional().describe("저장소 안 사이트 루트(생략하면 저장소 루트)")
|
|
2563
2564
|
}));
|
|
2565
|
+
/** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(#356). null이면 `sayren.json` `deploy.production`을 따른다 */
|
|
2566
|
+
const setStorefrontAutoPublishRequestSchema = strictRequest(z$1.object({ autoPublish: z$1.boolean().nullable() }));
|
|
2567
|
+
/**
|
|
2568
|
+
* 배포(CLI `sayren deploy`·Git 운영 브랜치 push)가 만든 버전을 바로 게시하는가(#356) — 사이트 설정(`autoPublish`)이 있으면 그것,
|
|
2569
|
+
* 없으면 소스의 `sayren.json` `deploy.production`, 그것도 없으면 저장만. CLI `--production`은 이 판정과 무관하게 게시한다
|
|
2570
|
+
*/
|
|
2571
|
+
function resolveStorefrontDeployProduction(siteSetting, projectSetting) {
|
|
2572
|
+
return siteSetting ?? projectSetting ?? false;
|
|
2573
|
+
}
|
|
2564
2574
|
/** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(#138) */
|
|
2565
2575
|
const setStorefrontDeployApprovalRequestSchema = strictRequest(z$1.object({ deployWithoutApproval: z$1.boolean() }));
|
|
2566
2576
|
//#endregion
|
|
@@ -12944,6 +12954,8 @@ list: (params) => storeHttp.request("GET", "/audit-logs", auditLogPageSchema, {
|
|
|
12944
12954
|
* `SOURCE_BLOBS_MISSING`(`details.hashes`를 올리고 다시)
|
|
12945
12955
|
*/
|
|
12946
12956
|
replaceSource: (body) => storeHttp.request("PUT", "/storefront/site/source", storefrontSourceReplacedSchema, { body: replaceStorefrontSourceRequestSchema.parse(body) }),
|
|
12957
|
+
/** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(상점 플랫폼 OWNER·ADMIN 전용, #356) */
|
|
12958
|
+
setAutoPublish: (body) => storeHttp.request("PUT", "/storefront/site/auto-publish", storefrontSiteSchema, { body: setStorefrontAutoPublishRequestSchema.parse(body) }),
|
|
12947
12959
|
/** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(상점 플랫폼 OWNER·ADMIN 전용) */
|
|
12948
12960
|
setDeployApproval: (body) => storeHttp.request("PUT", "/storefront/site/deploy-approval", storefrontSiteSchema, { body: setStorefrontDeployApprovalRequestSchema.parse(body) }),
|
|
12949
12961
|
/** `GET /v1/storefront/site/git` — Git 원천(발행 소스를 둔 저장소)과 상태(#138) */
|
|
@@ -13531,4 +13543,4 @@ function createStoreSession(options) {
|
|
|
13531
13543
|
};
|
|
13532
13544
|
}
|
|
13533
13545
|
//#endregion
|
|
13534
|
-
export { AI_AGENTS, AI_AGENT_NOTES_DIR, AI_AGENT_PHASES, AI_DESIGN_BOARDS_MAX, AI_DESIGN_BOARD_FILE_PATTERN, AI_DESIGN_BOARD_KINDS, AI_DESIGN_CANVAS_PATH, AI_DESIGN_CONFIRM_APPROVE, AI_DESIGN_DIR, AI_DESIGN_GUIDE_PATH, AI_DESIGN_VIEWPORTS, AI_MESSAGE_MAX_ATTACHMENTS, AI_MESSAGE_MAX_CHARS, AI_RUN_ACTIVE_STATUSES, AI_RUN_FILE_CHANGES_RETENTION_DAYS, AI_RUN_RESUME_CHOICE, AI_SETUP_CONFIRM_APPROVE, AI_SITEMAP_PATH, AI_TODOS_MAX, AI_TODO_STATUSES, AI_TOOL_CHANGE_LINE_MAX, AI_TOOL_CHANGE_RANGES_MAX, APPROVAL_ALREADY_DECIDED_CODE, APPROVAL_REQUIRED_CODE, APP_CAPABILITIES, APP_DEPLOY_KEY_PATTERN, APP_DEPLOY_KEY_PREFIX, APP_EVENTS_MAX, APP_EVENT_SCOPES, APP_EVENT_TYPES, APP_FLOW_EVENT_PATTERN, APP_FLOW_ITEMS_MAX, APP_FLOW_NOTIFICATION_PATTERN, APP_HANDLE_PATTERN, APP_HTTP_KEY_PATTERN, APP_ICON_CONTENT_TYPES, APP_ICON_MAX_BYTES, APP_ICON_MIN_PX, APP_LIFECYCLE_EVENT_TYPES, APP_NETWORK_DENIED_SUFFIXES, APP_NETWORK_HOSTS_MAX, APP_PUBLIC_HTTP_MAX, APP_README_MAX_BYTES, APP_RESERVED_HANDLES, APP_SCHEDULES_MAX, APP_SCHEDULE_INTERVALS, APP_SCHEDULE_NAME_PATTERN, APP_SECRETS_MAX, APP_SECRET_NAME_PATTERN, APP_SECRET_PATTERNS, APP_SERVER_BUNDLE_MAX_GZIP_BYTES, APP_SETTINGS_MAX_FIELDS, APP_SETTING_FIELD_TYPES, APP_SETTING_KEY_PATTERN, APP_STORAGE_KEY_PATTERN, APP_STORAGE_MAX_BYTES, APP_STORAGE_MAX_KEYS, APP_TOOL_NAME_PATTERN, APP_UI_MAX_BYTES, APP_UI_MAX_FILES, ApiError, ApprovalPendingError, BASE_CURRENCY, BRAND_BRIEF_MAX_REFERENCES, BUSINESS_INFO_MAX_LENGTH, BUSINESS_NUMBER_PATTERN, CASH_RECEIPT_STATUS_VALUES, CERTIFICATION_STATUSES, COLLECTION_BEST_SELLING_DAYS, COLLECTION_PREVIEW_SIZE, COLLECTION_PRODUCT_SORTS, COLLECTION_SALES_SORT_DEFAULT_DAYS, COLLECTION_SLUG_PATTERN, COLLECTION_TYPES, CONDITION_OPERATORS_BY_TYPE, COUPON_CODE_PATTERN, COUPON_CONDITIONS_DEFAULTS, COUPON_CONDITION_FIELDS, COUPON_LINE_CONDITIONS, COUPON_ORDER_CONDITIONS, COUPON_REWARD_KINDS, COUPON_REWARD_TIER_MAX, COUPON_STACKING_DEFAULTS, COUPON_TARGET_ALL, COUPON_TARGET_LIST_MAX, COUPON_TARGET_RULES_ALL, COUPON_TIME_ZONE, COUPON_WEEKDAYS, CURRENCIES, CURRENCY_CODES, CUSTOMER_BIRTHDATE_PATTERN, CUSTOM_INPUT_FORBIDDEN_WORDS, CUSTOM_INPUT_TYPES, DEDICATED_EASY_PAY_PROVIDER, DEFAULT_CONDITION_LIMITS, DEFAULT_STORE_LOCALE, EMPTY_CONDITION_GROUP, FULFILLMENT_METHODS, FULFILLMENT_METHODS_BY_TYPE, FULFILLMENT_METHOD_RULES, FULFILLMENT_RULES, INSTALLABLE_SCOPES, InvalidPriceUnitError, KAKAOPAY_TEST_CID, KNOWN_WEBHOOK_EVENT_TYPES, KRW_MONEY_RULES, MAX_ADDON_GROUPS, MAX_ANALYTICS_ALLOWED_ORIGINS, MAX_AUTO_TRANSITION_DAYS, MAX_CALENDAR_DAYS, MAX_CERTIFICATION_ITEMS, MAX_COLLECTIONS, MAX_COLLECTION_BEST_SELLING_TOP, MAX_COLLECTION_CREATED_WITHIN_DAYS, MAX_COLLECTION_DESCRIPTION, MAX_COLLECTION_PRODUCTS, MAX_COLLECTION_PRODUCTS_PER_ADD, MAX_COLLECTION_RULES, MAX_COLLECTION_RULE_CATEGORIES, MAX_COLLECTION_TITLE, MAX_CUSTOM_INPUTS, MAX_CUSTOM_INPUT_LENGTH, MAX_INFO_SECTION_TITLE, MAX_INVENTORY_OPERATION_LINES, MAX_NOTICE_TEMPLATE_NAME, MAX_NOTICE_VALUE_LENGTH, MAX_OPTION_GROUPS, MAX_PICKUP_LOCATIONS, MAX_PRODUCT_IMAGES, MAX_PRODUCT_IMPORT_ITEMS, MAX_PRODUCT_IMPORT_ITEMS_PER_REQUEST, MAX_PRODUCT_INFO_SECTIONS, MAX_PRODUCT_LOOKUP, MAX_SAVED_OPTION_SETS, MAX_SAVED_OPTION_SET_NAME, MAX_STAY_NIGHTS, MAX_VALUES_PER_GROUP, MAX_VARIANTS, MCP_TELEMETRY_MAX_RESULTS, MIN_PAYMENT_AMOUNT, NON_INSTALLABLE_SCOPES, NO_COUPON_SETTLEMENT, NO_SHIPPING_BUNDLE_KEY, PAYMENT_ROUTING_EXCLUSION_CODES, PAYPAL_CURRENCIES, PLATFORM_CODE_SETS, POINT_ADJUSTMENT_MAX, POINT_EARN_RATE_BP_MAX, POINT_ENTRY_TYPES, POINT_EXPIRY_DAYS_MAX, POINT_EXPIRY_DAYS_MIN, POINT_LOT_SOURCES, POINT_POLICY_DEFAULTS, POINT_REVIEW_REWARD_MAX, POINT_USE_UNITS, PORTONE_CHANNEL_NAME_MAX_LENGTH, PORTONE_MAX_CHANNELS, PORTONE_MIN_CHANNELS, REFUND_POLICY_DEFAULTS, REFUND_POLICY_DELIVERY_FEE_KEYS, REMOTE_AREA_ZIP_RANGES, RESERVED_STOREFRONT_SLUGS, RESERVED_STORE_CODES, SAYREN_API_BASE_URL, SAYREN_API_ORIGIN, SCOPE_DESCRIPTIONS, SHIPPING_POLICY_DEFAULTS, STARTER_SELLER_TASKS, STARTER_STAGES, STOREFRONT_BLOCKED_PATH_SEGMENTS, STOREFRONT_BUILD_STAGES, STOREFRONT_BUILD_TERMINAL_STATUSES, STOREFRONT_CHECK_TERMINAL_STATUSES, STOREFRONT_CLOSED_SITE_HOLD_DAYS, STOREFRONT_CUSTOM_DOMAIN_LIMIT_DEFAULT, STOREFRONT_DOMAIN_DNS_GRACE_DAYS, STOREFRONT_DOMAIN_DNS_WAIT_DAYS, STOREFRONT_DOMAIN_TXT_LABEL, STOREFRONT_EDIT_ACTIVITY_TIMEOUT_MINUTES, STOREFRONT_EDIT_CAPACITY, STOREFRONT_EDIT_IDLE_MINUTES, STOREFRONT_EDIT_PREVIEW_SUFFIX, STOREFRONT_EDIT_START_STAGES, STOREFRONT_FILE_BATCH_MAX, STOREFRONT_FILE_MAX_BYTES, STOREFRONT_PATH_SEGMENT_PATTERN, STOREFRONT_PLATFORM_DOMAINS, STOREFRONT_PUBLIC_SUFFIXES, STOREFRONT_SEARCH_REGEX_MAX_LENGTH, STOREFRONT_SITE_CREATE_LIMIT, STOREFRONT_SITE_VAR_KEY_PATTERN, STOREFRONT_SITE_VAR_LIMIT, STOREFRONT_SITE_VAR_MAX_BYTES, STOREFRONT_SITE_VAR_RESERVED_NAMES, STOREFRONT_SITE_VAR_RESERVED_PREFIX, STOREFRONT_SLUG_CHANGE_LIMIT, STOREFRONT_SLUG_CHANGE_WINDOW_DAYS, STOREFRONT_SLUG_HOLD_DAYS, STOREFRONT_SLUG_PATTERN, STOREFRONT_SOURCE_PACK_MAX_BYTES, STOREFRONT_SOURCE_PART_BYTES, STOREFRONT_WORKSPACE_MAX_BYTES, STOREFRONT_WORKSPACE_MAX_FILES, STORE_CODE_PATTERN, STORE_DRAFT_ATTACHMENT_MAX_BYTES, STORE_DRAFT_MAX_ATTACHMENTS, STORE_DRAFT_RETENTION_DAYS, STORE_ROLE_SCOPES, STORE_SCOPE_RESOURCES, STORE_SESSION_KEYS, STORE_SHOP_TYPES, TOSS_WIDGET_CLIENT_KEY_PATTERN, TOSS_WIDGET_KEY_MESSAGE, TOSS_WIDGET_SECRET_KEY_PATTERN, UPLOAD_PURPOSE_LIMITS, VARIANT_COUNT_WARNING, VARIANT_STOCK_EXCLUSIVE_MESSAGE, VOUCHER_COUNT_MAX, VOUCHER_PREFIX_PATTERN, WEBHOOK_DEFAULT_TOLERANCE_SEC, WEBHOOK_DELIVERY_ID_HEADER, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_FAILURE_REASONS, WEBHOOK_HEADERS, WEBHOOK_PAYLOAD_EXCERPT_MAX_BYTES, WEBHOOK_RESOURCE_TYPES, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_USER_AGENT, addStorefrontDomainRequestSchema, additionalCurrencyPriceSchema, additionalCurrencyPricesSchema, addonGroupRequestSchema, addonGroupSchema, addonValueRequestSchema, addonValueSchema, addressChangeRequestListSchema, addressTypeSchema, agentPolicyDecisionSchema, aiActivitySchema, aiAgentPhaseSchema, aiAgentSchema, aiAttachmentSchema, aiChoiceOptionSchema, aiConversationFileChangesSchema, aiConversationSchema, aiConversationSummarySchema, aiDesignBoardSchema, aiDesignCanvasSchema, aiDesignConfirmBoardSchema, aiDesignSelectionSchema, aiFileChangeKindSchema, aiFocusAreaSchema, aiFocusSchema, aiMessagePartSchema, aiMessageSchema, aiPreviewSelectionSchema, aiRunChangesSchema, aiRunChangesStatusSchema, aiRunFileDiffSchema, aiRunRevertConflictDetailsSchema, aiRunRevertResultSchema, aiRunSchema, aiRunStatusSchema, aiSetupConfirmItemSchema, aiStreamAccessSchema, aiStreamEventSchema, aiStreamRecordSchema, aiTodoSchema, aiToolChangeSchema, allocateByWeight, analyticsChannelSchema, analyticsCheckoutOutcomeSchema, analyticsCheckoutSchema, analyticsDeviceRowSchema, analyticsDevicesSchema, analyticsFunnelStepSchema, analyticsOriginSchema, analyticsOverviewSchema, analyticsPagesQuerySchema, analyticsPagesSchema, analyticsProductRowSchema, analyticsProductSortSchema, analyticsProductsQuerySchema, analyticsProductsSchema, analyticsRangeQuerySchema, analyticsRealtimeSchema, analyticsSearchQuerySchema, analyticsSearchSchema, analyticsSourceGroupBySchema, analyticsSourceRowSchema, analyticsSourcesQuerySchema, analyticsSourcesSchema, analyticsTotalsSchema, anyConditionHolds, apiLogErrorSchema, apiLogListQuerySchema, apiLogPageSchema, apiLogPrincipalSchema, apiLogPrincipalTypeSchema, apiLogSchema, apiLogStatusFilterSchema, apiLogSummarySchema, appArtifactUploadSchema, appBuildSchema, appBuildStageSchema, appCapabilitiesOf, appDeployKeyCreateSchema, appDeployKeyCreatedSchema, appDeployKeySchema, appDevTokenSchema, appDistributionSchema, appEventTypeSchema, appFlowEventSchema, appFlowEventSummarySchema, appFlowNotificationSchema, appFlowNotificationSummarySchema, appFlowParamSchema, appFlowSummaryOf, appHandleSchema, appHttpKeyMatches, appIconProblem, appInstallRequestSchema, appInstallationActivitySchema, appInstallationAppSchema, appInstallationRunSchema, appInstallationSchema, appInstallationSelfSchema, appInstallationSettingsSchema, appInstallationSettingsUpdateSchema, appInstallationStatusSchema, appInvocationSchema, appListingReviewSchema, appListingReviewStatusSchema, appListingSchema, appManifestProblems, appManifestSchema, appManifestWidens, appNetworkHostProblem, appNetworkHostSchema, appReleaseResultSchema, appRuntimeSchema, appScheduleIntervalLabel, appScheduleListOf, appScheduleSummarySchema, appScopeSchema, appSecretSummarySchema, appSessionSchema, appSettingFieldSchema, appStatusSchema, appStorageEntrySchema, appStorageKeysSchema, appStorageListQuerySchema, appStoragePutSchema, appToolCallSchema, appToolInputSchema, appToolListOf, appToolResultSchema, appToolSchema, appToolSummarySchema, appVersionSchema, appVersionStatusSchema, appVisibilitySchema, applyFlowOperationsRequestSchema, approvalDecisionRequestSchema, approvalListQuerySchema, approvalPageSchema, approvalRequestSchema, approvalStatusSchema, approveClaimResultSchema, assertSaleUnit, assumeCouponFactRules, auditActorSchema, auditActorTypeSchema, auditLogListQuerySchema, auditLogOutcomeSchema, auditLogPageSchema, auditLogSchema, auditLogSourceSchema, bestCouponSelection, bestSellingRuleOf, birthdateFactOf, brandBriefProductSourceSchema, brandBriefReferenceSchema, brandBriefSchema, brandBriefViewSchema, buildAuthorizeUrl, buildQuery, bulkResultSchema, businessInfoPatchShape, businessInfoResponseShape, businessNumberSchema, calendarDateSchema, calendarDaySchema, calendarQuerySchema, cancelBySellerRequestSchema, cancelBySellerResultSchema, canonicalLocale, canonicalizeConditionGroup, canonicalizeConditionRule, canonicalizeCouponStacking, canonicalizeCouponTargetRules, canonicalizeCouponTargetTree, canonicalizeCouponTrees, carrierSchema, cashReceiptSchema, categoryAttributeSchema, categoryCreateRequestSchema, categoryDeleteQuerySchema, categoryDeleteStrategySchema, categoryListQuerySchema, categoryLocalizationRequestSchema, categoryLocalizationSchema, categoryPatchRequestSchema, categoryProductSortSchema, categorySchema, categorySearchResultSchema, categoryTreeNodeSchema, categoryWithPathSchema, changeStorefrontSlugRequestSchema, changeTypeSchema, claimCollectCompleteRequestSchema, claimDetailSchema, claimFlowEditSessionRequestSchema, claimHoldResultSchema, claimListQuerySchema, claimReasonSchema, claimRedeliveryRequestSchema, claimReturnAddressSchema, claimSchema, claimStatusSchema, claimTypeSchema, claimWebhookEventDataSchema, claimWebhookEventSchema, collectionCreateRequestSchema, collectionListQuerySchema, collectionLocalizationRequestSchema, collectionLocalizationSchema, collectionPageSchema, collectionPatchRequestSchema, collectionPreviewRequestSchema, collectionPreviewSchema, collectionProductListQuerySchema, collectionProductSchema, collectionProductSortRequestSchema, collectionProductsAddRequestSchema, collectionProductsReplaceRequestSchema, collectionRuleCategoryIds, collectionRuleSchema, collectionRuleViewSchema, collectionRulesPredicate, collectionRulesSchema, collectionSchema, collectionStateCountsSchema, collectionStateOf, collectionStateSchema, commerceFlowCheckSchema, commerceFlowSchema, commerceFlowSummarySchema, commerceFlowVersionViewSchema, commerceNumberField, compareBySales, conditionCatalog, conditionFields, conditionGroupSchema, conditionIssues, conditionRuleSchema, conditionValueSchema, connectStorefrontGitRequestSchema, consentActionSchema, consentKindSchema, consentSourceSchema, couponAudienceMatches, couponBenefitOfReward, couponBenefitSchema, couponClaimFactsOf, couponConditionTreeSchema, couponConditionsInputSchema, couponConditionsSchema, couponCustomerFactNames, couponDiscountOf, couponDistributionSchema, couponFactsSchema, couponIssueListQuerySchema, couponIssueMethodSchema, couponIssueSchema, couponIssueStatusSchema, couponKindSchema, couponLineContextOf, couponLineMatches, couponListQuerySchema, couponPointRewardOf, couponRedemptionListQuerySchema, couponRedemptionSchema, couponRejectReasonSchema, couponRequestRuleIssues, couponRequirementsOf, couponRewardSchema, couponRuleDiscountOf, couponRuleIssues, couponRuleSchema, couponRulesFromLegacy, couponSchema, couponStackingOf, couponStackingSchema, couponStatsSchema, couponStatusSchema, couponTargetInputSchema, couponTargetRulesFromTree, couponTargetRulesSchema, couponTargetSchema, couponTargetTreeFromRules, couponTargetTreeMatches, couponTargetTreeOf, couponTargetTreeSchema, couponTierOf, couponTimeFactsAt, couponTodayAt, couponTreesOf, couponVoucherCodesSchema, couponVoucherInputSchema, couponsCombinable, createAiConversationRequestSchema, createAiConversationResponseSchema, createCommerceFlowRequestSchema, createCouponRequestSchema, createMarketRequestSchema, createOrderRequestSchema, createPkcePair, createSellerCheckoutRequestSchema, createStoreClient, createStoreDraftRequestSchema, createStoreDraftResponseSchema, createStoreSession, createStorefrontEditPreviewLinkRequestSchema, createStorefrontPreviewLinkRequestSchema, createStorefrontSiteRequestSchema, createStorefrontSourceUploadsRequestSchema, createStorefrontVersionRequestSchema, createdOrderSchema, currencyCodeSchema, currencyRefundFeesSchema, currencyShippingPolicySchema, currencySpecOf, customInputLabelForbiddenWord, customInputRequestSchema, customInputSchema, customInputValueSchema, customerAddressSchema, customerConsentListQuerySchema, customerConsentSchema, customerConsentStateSchema, customerConsentsSchema, customerCouponSchema, customerDelegationRequestSchema, customerDelegationSchema, customerDetailSchema, customerInquiryCategorySchema, customerInquiryListQuerySchema, customerListQuerySchema, customerOrderSchema, customerPointsSchema, customerSortSchema, customerStatsSchema, customerSummarySchema, customerUserinfoAddressSchema, customerUserinfoInputSchema, customerUserinfoSchema, customerWithdrawalBlockedDetailsSchema, daysBetween, defaultFulfillmentMethodOf, deleteStorefrontFileRequestSchema, deliveryBundleKeyOf, deliveryFeeWaiverSchema, deliveryInfoSchema, deliveryMethodSchema, deliveryStatusSchema, deliveryTypeSchema, descendantCategoryIdsOf, describeCouponGroup, describeCouponRule, describeCouponTargetRules, describeCouponTargetTree, describeScope, devStoreSchema, developerAppCreateSchema, developerAppSchema, developerInstallationSchema, developerOrgSchema, developerStoreSchema, directOrderShippingAddressSchema, disableStorefrontHostingRequestSchema, discountRequestSchema, discountSchema, dispatchRequestSchema, easyPayProviderResponseSchema, easyPayProviderSchema, evaluateCondition, evaluateConditionNode, evaluateCouponEligibility, eventTypeSchema, exchangeAuthorizationCode, floorToSaleUnit, flowActionRequestSchema, flowActionResultSchema, flowActionSchema, flowAuthoringGuideSchema, flowDraftEdgesSchema, flowDraftNodeSchema, flowDraftNodesSchema, flowDraftOperationSchema, flowEditSessionViewSchema, flowFieldValueSchema, flowInputFieldSchema, flowIssueSchema, flowNodeIdSchema, flowNodeTypeDetailSchema, flowNodeTypesSchema, flowNotificationWebhookEventDataSchema, flowNotificationWebhookEventSchema, flowOperationsResultSchema, flowPresetDetailSchema, flowPresetSummarySchema, flowRunSchema, flowRunStepSchema, flowSecretNameSchema, flowSecretSchema, flowStateChangedWebhookEventDataSchema, flowStateChangedWebhookEventSchema, flowStateSchema, formatOrderNo, fromDecimalString, fulfillBulkRequestSchema, fulfillRequestSchema, fulfillmentMethodOf, fulfillmentMethodSchema, fulfillmentMethodsOf, fulfillmentRuleOf, fulfillmentTypeOf, fulfillmentTypeResponseSchema, fulfillmentTypeSchema, holdOrderItemRequestSchema, infoFieldSourceSchema, infoSchemaFieldSchema, infoSchemaSchema, infoSectionLocalizationRequestSchema, infoSectionLocalizationSchema, infoSectionRequestSchema, infoSectionSchema, inquiryListQuerySchema, inquirySchema, inquiryWebhookEventDataSchema, inquiryWebhookEventSchema, inventoryAdjustmentLineSchema, inventoryAdjustmentReasonSchema, inventoryAdjustmentRequestSchema, inventoryChangedWebhookEventDataSchema, inventoryChangedWebhookEventSchema, inventoryLevelListQuerySchema, inventoryLevelPageSchema, inventoryLevelSchema, inventoryLocationRequestSchema, inventoryLocationSchema, inventoryModeSchema, inventoryMovementKindSchema, inventoryMovementListQuerySchema, inventoryMovementPageSchema, inventoryMovementSchema, inventoryOperationResultSchema, inventoryTransferRequestSchema, invitationDeliveryStatusSchema, invitationListQuerySchema, invitationSchema, inviteMemberRequestSchema, isAiAgentNotesPath, isAiChoiceAnswer, isAiDesignPath, isAiWorkspaceDocPath, isConditionGroup, isCouponTargetLine, isCurrencyCode, isEditableStorefrontPath, isInstallableScope, isReservedStoreCode, isReservedStorefrontSlug, isSaleUnitPrice, isStoreScope, isWebOrigin, issueCouponRequestSchema, issueCouponResultSchema, kakaoPayCredentialsInputSchema, legacyFromCouponRules, linkStorefrontGitInstallationRequestSchema, liveGateConditionCodeSchema, liveGateConditionSchema, liveGateErrorDetailsSchema, liveGateSchema, localeCodeSchema, loginProviderSchema, loginProviderStatusSchema, loginProviderTestSchema, loginSettingsSchema, marketSchema, maskedSecretSchema, matchesCollectionRules, maxWeightAssignment, mcpRuleResultSchema, mcpToolEventSchema, migrateFlowVersionRequestSchema, migrateFlowVersionResultSchema, minPaymentOf, minorToMajor, moneyRulesOf, moveFlowStateRequestSchema, moveStorefrontFileRequestSchema, myAccountSchema, myStoreSchema, naverPayCredentialsInputSchema, nightsOf, normalizeBusinessNumber, normalizeCouponCode, normalizeLocale, normalizeStorefrontHostname, normalizeStorefrontPath, noticeTemplateRequestSchema, noticeTemplateSchema, oauthTokenResponseSchema, openFulfillmentUnion, optionGroupKindSchema, optionGroupRequestSchema, optionGroupSchema, optionModelRequestSchema, optionModelSchema, optionSelectionSchema, optionSortSchema, optionValueRequestSchema, optionValueSchema, orderCanceledWebhookEventDataSchema, orderCanceledWebhookEventSchema, orderDiscountSchema, orderFlowActionResultSchema, orderFulfilledWebhookEventDataSchema, orderFulfilledWebhookEventSchema, orderItemFlowSchema, orderItemFulfillmentSchema, orderItemFulfillmentSnapshotResponseSchema, orderItemFulfillmentSnapshotSchema, orderItemListQuerySchema, orderItemMemoResultSchema, orderItemPageSchema, orderItemSchema, orderItemStatusSchema, orderListQuerySchema, orderPaymentAddedWebhookEventDataSchema, orderPaymentAddedWebhookEventSchema, orderPaymentRequestedWebhookEventDataSchema, orderPaymentRequestedWebhookEventSchema, orderPaymentSchema, orderSchema, orderSummaryPageSchema, orderSummarySchema, orderWebhookEventDataSchema, orderWebhookEventSchema, pageInfoSchema, pageQueryShape, pageSchema, parseOrderNo, parseWebhookEvent, payPalCredentialsInputSchema, paymentAttemptRecordSchema, paymentAttemptStatusSchema, paymentCredentialSetSchema, paymentFailureWarningSchema, paymentListQuerySchema, paymentProviderSchema, paymentProviderVerificationSchema, paymentRecordDetailSchema, paymentRecordPageSchema, paymentRecordSchema, paymentRecordStatusSchema, paymentRefundRecordSchema, paymentSettingsSchema, paymentStatusProviderSchema, paymentStatusSchema, pgEnvironmentSchema, pgPaymentMethodSchema, pgProviderResponseSchema, pgProviderSchema, pgVerificationResultSchema, pickCouponFacts, pickupLocationRequestSchema, pickupLocationSchema, pickupLocationSnapshotSchema, planCodeSchema, planEntitlementsSchema, planErrorDetailsSchema, platformCodeSchema, pointAdjustmentRequestSchema, pointAdjustmentResultSchema, pointEarnOf, pointEarnRateBpSchema, pointEarningEnabled, pointEntrySchema, pointExpiresAtOf, pointHistoryQuerySchema, pointLotSchema, pointPolicyNoticeSchema, pointPolicySchema, pointRestoreExpiresAtOf, pointUseOf, pointUsePolicySchema, policyDocumentUrlSchema, policyVersionSchema, portOneChannelSchema, portOneCredentialsInputSchema, productCertificationsRequestSchema, productCertificationsSchema, productCreateRequestSchema, productCurrencyPriceSchema, productCurrencyPricesSchema, productFulfillmentCreateSchema, productFulfillmentResponseSchema, productFulfillmentSchema, productFulfillmentUpdateSchema, productImageRejection, productImageUrlSchema, productImportErrorSchema, productImportItemSchema, productImportItemsRequestSchema, productImportSchema, productImportStatusSchema, productListQuerySchema, productLocalizationNeedsTranslation, productLocalizationRequestSchema, productLocalizationSchema, productLookupRequestSchema, productNoticeRequestSchema, productNoticeSchema, productOutOfStockWebhookEventDataSchema, productOutOfStockWebhookEventSchema, productPatchRequestSchema, productRefundPolicyOverride, productRefundPolicyPatchSchema, productReplaceRequestSchema, productSchema, productSortSchema, productStatusSchema, productSummarySchema, productVariantRequestSchema, productVariantSchema, proratedPaidRefundBase, proratedPointRefund, proratedRefundBase, publicPlanSchema, publicPlansSchema, publishStorefrontVersionRequestSchema, purchaseDecisionExtendResultSchema, purchaseDecisionRequestResultSchema, purchaseEarnPolicySchema, purchaseEarnRateOf, putBrandBriefRequestSchema, putStorefrontSiteVarRequestSchema, quoteDelivery, quotePricing, rankBestSelling, recomputeOrderCoupons, refreshUserToken, refundPolicyPatchSchema, refundPolicySchema, rejectClaimRequestSchema, remoteAreaLabelOf, remoteAreaOf, remoteAreaSchema, remoteSurchargeOf, replaceStorefrontSourceRequestSchema, replayFlowRequestSchema, replayFlowResultSchema, requiresCollection, requiresShipping, resolvePointPolicy, resolveRefundPolicy, resolveShippingPolicy, resolvedFlowSchema, responsePlanCodeSchema, responsePointEntryTypeSchema, reviewListQuerySchema, reviewReportResultSchema, reviewRewardPointOf, reviewRewardPolicySchema, reviewSchema, reviewSortSchema, reviewWebhookEventDataSchema, reviewWebhookEventSchema, rollbackStorefrontRequestSchema, runStorefrontCheckRequestSchema, salesReportCurrencySchema, salesReportGroupBySchema, salesReportQuerySchema, salesReportRowSchema, salesReportSchema, salesTotalsSchema, saveFlowDraftRequestSchema, saveFlowSecretRequestSchema, saveLoginProviderRequestSchema, savedCustomInputRequestSchema, savedCustomInputSchema, savedOptionGroupRequestSchema, savedOptionGroupSchema, savedOptionSetCompositionSchema, savedOptionSetFromProductRequestSchema, savedOptionSetFromProductResultSchema, savedOptionSetListQuerySchema, savedOptionSetLocalizationRequestSchema, savedOptionSetLocalizationSchema, savedOptionSetRequestSchema, savedOptionSetSchema, savedOptionSetSortSchema, savedOptionValueRequestSchema, savedOptionValueSchema, scopeAccessSchema, scopesCoverEvent, searchStorefrontFilesRequestSchema, sellerAddressListQuerySchema, sellerAddressRequestSchema, sellerAddressSchema, sellerCancelPreviewSchema, sellerCheckoutLineSchema, sellerCheckoutPageSchema, sellerCheckoutSchema, sellerCustomerInquirySchema, sendAiMessageRequestSchema, sendAiMessageResponseSchema, setCalendarRequestSchema, setPlatformTestKeysRequestSchema, setStorefrontDeployApprovalRequestSchema, setStorefrontVisibilityRequestSchema, settleCouponShortfall, settlementDetailQuerySchema, settlementDetailSchema, settlementListQuerySchema, settlementStatusSchema, settlementSummarySchema, settlementWithDetailsSchema, shippingAddressSchema, shippingCurrencyPriceSchema, shippingCurrencyPricesSchema, shippingOrderItemListQuerySchema, shippingOrderItemPageSchema, shippingOrderItemSchema, shippingPolicyPatchSchema, shippingPolicySchema, simulateFlowRequestSchema, simulateFlowResultSchema, simulationStepSchema, splitRefund, starterSellerTaskSchema, starterStageSchema, starterStatusSchema, starterStoreInfoFieldSchema, stayRangeSchema, staySnapshotSchema, storeAppDetailSchema, storeAppSchema, storeCodeSchema, storeDraftPreviewSchema, storeDraftSchema, storeIndustrySchema, storeMemberRoleUpdatedSchema, storeMemberSchema, storePointPolicySchema, storeRoleSchema, storeSchema, storeScopeResourceSchema, storeSetupBriefSchema, storeShopTypeSchema, storeSubscriptionSchema, storedAdditionalCurrencyPriceSchema, storedProductCurrencyPriceSchema, storedShippingCurrencyPriceSchema, storefrontBuildDependenciesSchema, storefrontBuildListQuerySchema, storefrontBuildSchema, storefrontBuildStatusSchema, storefrontCheckSchema, storefrontCheckStatusSchema, storefrontCustomDomainStatusSchema, storefrontCustomHostnameProblem, storefrontDependencyFindingSchema, storefrontDeploymentLogSchema, storefrontDeploymentSchema, storefrontDeploymentStepSchema, storefrontDevLogsSchema, storefrontDnsRecordSchema, storefrontDomainSchema, storefrontDomainTxtNameOf, storefrontEditFailureSchema, storefrontEditPreviewLabelOf, storefrontEditPreviewSchema, storefrontEditSessionSchema, storefrontEditSessionStatusSchema, storefrontEditingSchema, storefrontFileConflictDetailsSchema, storefrontFileContentQuerySchema, storefrontFileContentSchema, storefrontFileDeleteResultSchema, storefrontFileEncodingSchema, storefrontFileEntrySchema, storefrontFileHashSchema, storefrontFileListQuerySchema, storefrontFileListSchema, storefrontFileMoveResultSchema, storefrontFilePathSchema, storefrontFileSearchResultSchema, storefrontFileWriteResultSchema, storefrontGitConnectStateSchema, storefrontGitMergeRequestSchema, storefrontGitMergeSchema, storefrontGitRepositorySchema, storefrontGitStatusSchema, storefrontHostingSchema, storefrontInitialSourceSchema, storefrontPreviewLinkSchema, storefrontProvisioningSchema, storefrontRuleResultSchema, storefrontRuleSeveritySchema, storefrontSiteDomainSchema, storefrontSiteDomainsSchema, storefrontSiteSchema, storefrontSiteSnapshotSchema, storefrontSiteStatusSchema, storefrontSiteVarKeyProblem, storefrontSiteVarSchema, storefrontSiteVarsSchema, storefrontSlugAvailabilityQuerySchema, storefrontSlugAvailabilitySchema, storefrontSlugSchema, storefrontSourceArchivePartSchema, storefrontSourceArchiveQuerySchema, storefrontSourcePackSchema, storefrontSourceRefSchema, storefrontSourceReplacedSchema, storefrontSourceSchema, storefrontSourceUploadsSchema, storefrontSuspensionSchema, storefrontVerifyReportSchema, storefrontVersionCreatedSchema, storefrontVersionPreviewLabelOf, storefrontVersionSchema, storefrontVersionStatusSchema, storefrontVisibilitySchema, subscriptionLimitsSchema, subscriptionStatusSchema, subscriptionUsageSchema, toDecimalString, toMinor, tossPaymentsCredentialsInputSchema, trackingStageResponseSchema, trackingUpdateResultSchema, unknownWebhookEventSchema, updateCouponRequestSchema, updateCustomerRequestSchema, updateLoginProviderRequestSchema, updateLoginSettingsRequestSchema, updateMarketRequestSchema, updateMemberRoleRequestSchema, updatePaymentProviderRequestSchema, updatePaymentSettingsRequestSchema, updatePointPolicyRequestSchema, updateStoreRequestSchema, uploadExtensionOf, uploadPurposeSchema, uploadRejection, uploadRequestSchema, uploadStorefrontSourcePackRequestSchema, uploadTicketSchema, upsertKakaoPayProviderRequestSchema, upsertNaverPayProviderRequestSchema, upsertPayPalProviderRequestSchema, upsertPortOneProviderRequestSchema, upsertTossPaymentsProviderRequestSchema, variantStockRequestSchema, variantStockSchema, verifyPaymentProviderRequestSchema, webhookCreatedSchema, webhookDeliveryDetailSchema, webhookDeliveryErrorCodeSchema, webhookDeliveryListQuerySchema, webhookDeliveryResourceSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEventSchema, webhookFailureReasonSchema, webhookRedeliverFailedResultSchema, webhookRequestHeaderSchema, webhookRequestSchema, webhookResourceTypeSchema, webhookSchema, webhookSecretRotatedSchema, webhookStatusSchema, webhookTestRequestSchema, webhookTestResultSchema, withdrawCustomerRequestSchema, writeDryRunResultSchema, writePreviewSchema, writeStorefrontFilesRequestSchema };
|
|
13546
|
+
export { AI_AGENTS, AI_AGENT_NOTES_DIR, AI_AGENT_PHASES, AI_DESIGN_BOARDS_MAX, AI_DESIGN_BOARD_FILE_PATTERN, AI_DESIGN_BOARD_KINDS, AI_DESIGN_CANVAS_PATH, AI_DESIGN_CONFIRM_APPROVE, AI_DESIGN_DIR, AI_DESIGN_GUIDE_PATH, AI_DESIGN_VIEWPORTS, AI_MESSAGE_MAX_ATTACHMENTS, AI_MESSAGE_MAX_CHARS, AI_RUN_ACTIVE_STATUSES, AI_RUN_FILE_CHANGES_RETENTION_DAYS, AI_RUN_RESUME_CHOICE, AI_SETUP_CONFIRM_APPROVE, AI_SITEMAP_PATH, AI_TODOS_MAX, AI_TODO_STATUSES, AI_TOOL_CHANGE_LINE_MAX, AI_TOOL_CHANGE_RANGES_MAX, APPROVAL_ALREADY_DECIDED_CODE, APPROVAL_REQUIRED_CODE, APP_CAPABILITIES, APP_DEPLOY_KEY_PATTERN, APP_DEPLOY_KEY_PREFIX, APP_EVENTS_MAX, APP_EVENT_SCOPES, APP_EVENT_TYPES, APP_FLOW_EVENT_PATTERN, APP_FLOW_ITEMS_MAX, APP_FLOW_NOTIFICATION_PATTERN, APP_HANDLE_PATTERN, APP_HTTP_KEY_PATTERN, APP_ICON_CONTENT_TYPES, APP_ICON_MAX_BYTES, APP_ICON_MIN_PX, APP_LIFECYCLE_EVENT_TYPES, APP_NETWORK_DENIED_SUFFIXES, APP_NETWORK_HOSTS_MAX, APP_PUBLIC_HTTP_MAX, APP_README_MAX_BYTES, APP_RESERVED_HANDLES, APP_SCHEDULES_MAX, APP_SCHEDULE_INTERVALS, APP_SCHEDULE_NAME_PATTERN, APP_SECRETS_MAX, APP_SECRET_NAME_PATTERN, APP_SECRET_PATTERNS, APP_SERVER_BUNDLE_MAX_GZIP_BYTES, APP_SETTINGS_MAX_FIELDS, APP_SETTING_FIELD_TYPES, APP_SETTING_KEY_PATTERN, APP_STORAGE_KEY_PATTERN, APP_STORAGE_MAX_BYTES, APP_STORAGE_MAX_KEYS, APP_TOOL_NAME_PATTERN, APP_UI_MAX_BYTES, APP_UI_MAX_FILES, ApiError, ApprovalPendingError, BASE_CURRENCY, BRAND_BRIEF_MAX_REFERENCES, BUSINESS_INFO_MAX_LENGTH, BUSINESS_NUMBER_PATTERN, CASH_RECEIPT_STATUS_VALUES, CERTIFICATION_STATUSES, COLLECTION_BEST_SELLING_DAYS, COLLECTION_PREVIEW_SIZE, COLLECTION_PRODUCT_SORTS, COLLECTION_SALES_SORT_DEFAULT_DAYS, COLLECTION_SLUG_PATTERN, COLLECTION_TYPES, CONDITION_OPERATORS_BY_TYPE, COUPON_CODE_PATTERN, COUPON_CONDITIONS_DEFAULTS, COUPON_CONDITION_FIELDS, COUPON_LINE_CONDITIONS, COUPON_ORDER_CONDITIONS, COUPON_REWARD_KINDS, COUPON_REWARD_TIER_MAX, COUPON_STACKING_DEFAULTS, COUPON_TARGET_ALL, COUPON_TARGET_LIST_MAX, COUPON_TARGET_RULES_ALL, COUPON_TIME_ZONE, COUPON_WEEKDAYS, CURRENCIES, CURRENCY_CODES, CUSTOMER_BIRTHDATE_PATTERN, CUSTOM_INPUT_FORBIDDEN_WORDS, CUSTOM_INPUT_TYPES, DEDICATED_EASY_PAY_PROVIDER, DEFAULT_CONDITION_LIMITS, DEFAULT_STORE_LOCALE, EMPTY_CONDITION_GROUP, FULFILLMENT_METHODS, FULFILLMENT_METHODS_BY_TYPE, FULFILLMENT_METHOD_RULES, FULFILLMENT_RULES, INSTALLABLE_SCOPES, InvalidPriceUnitError, KAKAOPAY_TEST_CID, KNOWN_WEBHOOK_EVENT_TYPES, KRW_MONEY_RULES, MAX_ADDON_GROUPS, MAX_ANALYTICS_ALLOWED_ORIGINS, MAX_AUTO_TRANSITION_DAYS, MAX_CALENDAR_DAYS, MAX_CERTIFICATION_ITEMS, MAX_COLLECTIONS, MAX_COLLECTION_BEST_SELLING_TOP, MAX_COLLECTION_CREATED_WITHIN_DAYS, MAX_COLLECTION_DESCRIPTION, MAX_COLLECTION_PRODUCTS, MAX_COLLECTION_PRODUCTS_PER_ADD, MAX_COLLECTION_RULES, MAX_COLLECTION_RULE_CATEGORIES, MAX_COLLECTION_TITLE, MAX_CUSTOM_INPUTS, MAX_CUSTOM_INPUT_LENGTH, MAX_INFO_SECTION_TITLE, MAX_INVENTORY_OPERATION_LINES, MAX_NOTICE_TEMPLATE_NAME, MAX_NOTICE_VALUE_LENGTH, MAX_OPTION_GROUPS, MAX_PICKUP_LOCATIONS, MAX_PRODUCT_IMAGES, MAX_PRODUCT_IMPORT_ITEMS, MAX_PRODUCT_IMPORT_ITEMS_PER_REQUEST, MAX_PRODUCT_INFO_SECTIONS, MAX_PRODUCT_LOOKUP, MAX_SAVED_OPTION_SETS, MAX_SAVED_OPTION_SET_NAME, MAX_STAY_NIGHTS, MAX_VALUES_PER_GROUP, MAX_VARIANTS, MCP_TELEMETRY_MAX_RESULTS, MIN_PAYMENT_AMOUNT, NON_INSTALLABLE_SCOPES, NO_COUPON_SETTLEMENT, NO_SHIPPING_BUNDLE_KEY, PAYMENT_ROUTING_EXCLUSION_CODES, PAYPAL_CURRENCIES, PLATFORM_CODE_SETS, POINT_ADJUSTMENT_MAX, POINT_EARN_RATE_BP_MAX, POINT_ENTRY_TYPES, POINT_EXPIRY_DAYS_MAX, POINT_EXPIRY_DAYS_MIN, POINT_LOT_SOURCES, POINT_POLICY_DEFAULTS, POINT_REVIEW_REWARD_MAX, POINT_USE_UNITS, PORTONE_CHANNEL_NAME_MAX_LENGTH, PORTONE_MAX_CHANNELS, PORTONE_MIN_CHANNELS, REFUND_POLICY_DEFAULTS, REFUND_POLICY_DELIVERY_FEE_KEYS, REMOTE_AREA_ZIP_RANGES, RESERVED_STOREFRONT_SLUGS, RESERVED_STORE_CODES, SAYREN_API_BASE_URL, SAYREN_API_ORIGIN, SCOPE_DESCRIPTIONS, SHIPPING_POLICY_DEFAULTS, STARTER_SELLER_TASKS, STARTER_STAGES, STOREFRONT_BLOCKED_PATH_SEGMENTS, STOREFRONT_BUILD_STAGES, STOREFRONT_BUILD_TERMINAL_STATUSES, STOREFRONT_CHECK_TERMINAL_STATUSES, STOREFRONT_CLOSED_SITE_HOLD_DAYS, STOREFRONT_CUSTOM_DOMAIN_LIMIT_DEFAULT, STOREFRONT_DOMAIN_DNS_GRACE_DAYS, STOREFRONT_DOMAIN_DNS_WAIT_DAYS, STOREFRONT_DOMAIN_TXT_LABEL, STOREFRONT_EDIT_ACTIVITY_TIMEOUT_MINUTES, STOREFRONT_EDIT_CAPACITY, STOREFRONT_EDIT_IDLE_MINUTES, STOREFRONT_EDIT_PREVIEW_SUFFIX, STOREFRONT_EDIT_START_STAGES, STOREFRONT_FILE_BATCH_MAX, STOREFRONT_FILE_MAX_BYTES, STOREFRONT_PATH_SEGMENT_PATTERN, STOREFRONT_PLATFORM_DOMAINS, STOREFRONT_PUBLIC_SUFFIXES, STOREFRONT_SEARCH_REGEX_MAX_LENGTH, STOREFRONT_SITE_CREATE_LIMIT, STOREFRONT_SITE_VAR_KEY_PATTERN, STOREFRONT_SITE_VAR_LIMIT, STOREFRONT_SITE_VAR_MAX_BYTES, STOREFRONT_SITE_VAR_RESERVED_NAMES, STOREFRONT_SITE_VAR_RESERVED_PREFIX, STOREFRONT_SLUG_CHANGE_LIMIT, STOREFRONT_SLUG_CHANGE_WINDOW_DAYS, STOREFRONT_SLUG_HOLD_DAYS, STOREFRONT_SLUG_PATTERN, STOREFRONT_SOURCE_PACK_MAX_BYTES, STOREFRONT_SOURCE_PART_BYTES, STOREFRONT_WORKSPACE_MAX_BYTES, STOREFRONT_WORKSPACE_MAX_FILES, STORE_CODE_PATTERN, STORE_DRAFT_ATTACHMENT_MAX_BYTES, STORE_DRAFT_MAX_ATTACHMENTS, STORE_DRAFT_RETENTION_DAYS, STORE_ROLE_SCOPES, STORE_SCOPE_RESOURCES, STORE_SESSION_KEYS, STORE_SHOP_TYPES, TOSS_WIDGET_CLIENT_KEY_PATTERN, TOSS_WIDGET_KEY_MESSAGE, TOSS_WIDGET_SECRET_KEY_PATTERN, UPLOAD_PURPOSE_LIMITS, VARIANT_COUNT_WARNING, VARIANT_STOCK_EXCLUSIVE_MESSAGE, VOUCHER_COUNT_MAX, VOUCHER_PREFIX_PATTERN, WEBHOOK_DEFAULT_TOLERANCE_SEC, WEBHOOK_DELIVERY_ID_HEADER, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_FAILURE_REASONS, WEBHOOK_HEADERS, WEBHOOK_PAYLOAD_EXCERPT_MAX_BYTES, WEBHOOK_RESOURCE_TYPES, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_USER_AGENT, addStorefrontDomainRequestSchema, additionalCurrencyPriceSchema, additionalCurrencyPricesSchema, addonGroupRequestSchema, addonGroupSchema, addonValueRequestSchema, addonValueSchema, addressChangeRequestListSchema, addressTypeSchema, agentPolicyDecisionSchema, aiActivitySchema, aiAgentPhaseSchema, aiAgentSchema, aiAttachmentSchema, aiChoiceOptionSchema, aiConversationFileChangesSchema, aiConversationSchema, aiConversationSummarySchema, aiDesignBoardSchema, aiDesignCanvasSchema, aiDesignConfirmBoardSchema, aiDesignSelectionSchema, aiFileChangeKindSchema, aiFocusAreaSchema, aiFocusSchema, aiMessagePartSchema, aiMessageSchema, aiPreviewSelectionSchema, aiRunChangesSchema, aiRunChangesStatusSchema, aiRunFileDiffSchema, aiRunRevertConflictDetailsSchema, aiRunRevertResultSchema, aiRunSchema, aiRunStatusSchema, aiSetupConfirmItemSchema, aiStreamAccessSchema, aiStreamEventSchema, aiStreamRecordSchema, aiTodoSchema, aiToolChangeSchema, allocateByWeight, analyticsChannelSchema, analyticsCheckoutOutcomeSchema, analyticsCheckoutSchema, analyticsDeviceRowSchema, analyticsDevicesSchema, analyticsFunnelStepSchema, analyticsOriginSchema, analyticsOverviewSchema, analyticsPagesQuerySchema, analyticsPagesSchema, analyticsProductRowSchema, analyticsProductSortSchema, analyticsProductsQuerySchema, analyticsProductsSchema, analyticsRangeQuerySchema, analyticsRealtimeSchema, analyticsSearchQuerySchema, analyticsSearchSchema, analyticsSourceGroupBySchema, analyticsSourceRowSchema, analyticsSourcesQuerySchema, analyticsSourcesSchema, analyticsTotalsSchema, anyConditionHolds, apiLogErrorSchema, apiLogListQuerySchema, apiLogPageSchema, apiLogPrincipalSchema, apiLogPrincipalTypeSchema, apiLogSchema, apiLogStatusFilterSchema, apiLogSummarySchema, appArtifactUploadSchema, appBuildSchema, appBuildStageSchema, appCapabilitiesOf, appDeployKeyCreateSchema, appDeployKeyCreatedSchema, appDeployKeySchema, appDevTokenSchema, appDistributionSchema, appEventTypeSchema, appFlowEventSchema, appFlowEventSummarySchema, appFlowNotificationSchema, appFlowNotificationSummarySchema, appFlowParamSchema, appFlowSummaryOf, appHandleSchema, appHttpKeyMatches, appIconProblem, appInstallRequestSchema, appInstallationActivitySchema, appInstallationAppSchema, appInstallationRunSchema, appInstallationSchema, appInstallationSelfSchema, appInstallationSettingsSchema, appInstallationSettingsUpdateSchema, appInstallationStatusSchema, appInvocationSchema, appListingReviewSchema, appListingReviewStatusSchema, appListingSchema, appManifestProblems, appManifestSchema, appManifestWidens, appNetworkHostProblem, appNetworkHostSchema, appReleaseResultSchema, appRuntimeSchema, appScheduleIntervalLabel, appScheduleListOf, appScheduleSummarySchema, appScopeSchema, appSecretSummarySchema, appSessionSchema, appSettingFieldSchema, appStatusSchema, appStorageEntrySchema, appStorageKeysSchema, appStorageListQuerySchema, appStoragePutSchema, appToolCallSchema, appToolInputSchema, appToolListOf, appToolResultSchema, appToolSchema, appToolSummarySchema, appVersionSchema, appVersionStatusSchema, appVisibilitySchema, applyFlowOperationsRequestSchema, approvalDecisionRequestSchema, approvalListQuerySchema, approvalPageSchema, approvalRequestSchema, approvalStatusSchema, approveClaimResultSchema, assertSaleUnit, assumeCouponFactRules, auditActorSchema, auditActorTypeSchema, auditLogListQuerySchema, auditLogOutcomeSchema, auditLogPageSchema, auditLogSchema, auditLogSourceSchema, bestCouponSelection, bestSellingRuleOf, birthdateFactOf, brandBriefProductSourceSchema, brandBriefReferenceSchema, brandBriefSchema, brandBriefViewSchema, buildAuthorizeUrl, buildQuery, bulkResultSchema, businessInfoPatchShape, businessInfoResponseShape, businessNumberSchema, calendarDateSchema, calendarDaySchema, calendarQuerySchema, cancelBySellerRequestSchema, cancelBySellerResultSchema, canonicalLocale, canonicalizeConditionGroup, canonicalizeConditionRule, canonicalizeCouponStacking, canonicalizeCouponTargetRules, canonicalizeCouponTargetTree, canonicalizeCouponTrees, carrierSchema, cashReceiptSchema, categoryAttributeSchema, categoryCreateRequestSchema, categoryDeleteQuerySchema, categoryDeleteStrategySchema, categoryListQuerySchema, categoryLocalizationRequestSchema, categoryLocalizationSchema, categoryPatchRequestSchema, categoryProductSortSchema, categorySchema, categorySearchResultSchema, categoryTreeNodeSchema, categoryWithPathSchema, changeStorefrontSlugRequestSchema, changeTypeSchema, claimCollectCompleteRequestSchema, claimDetailSchema, claimFlowEditSessionRequestSchema, claimHoldResultSchema, claimListQuerySchema, claimReasonSchema, claimRedeliveryRequestSchema, claimReturnAddressSchema, claimSchema, claimStatusSchema, claimTypeSchema, claimWebhookEventDataSchema, claimWebhookEventSchema, collectionCreateRequestSchema, collectionListQuerySchema, collectionLocalizationRequestSchema, collectionLocalizationSchema, collectionPageSchema, collectionPatchRequestSchema, collectionPreviewRequestSchema, collectionPreviewSchema, collectionProductListQuerySchema, collectionProductSchema, collectionProductSortRequestSchema, collectionProductsAddRequestSchema, collectionProductsReplaceRequestSchema, collectionRuleCategoryIds, collectionRuleSchema, collectionRuleViewSchema, collectionRulesPredicate, collectionRulesSchema, collectionSchema, collectionStateCountsSchema, collectionStateOf, collectionStateSchema, commerceFlowCheckSchema, commerceFlowSchema, commerceFlowSummarySchema, commerceFlowVersionViewSchema, commerceNumberField, compareBySales, conditionCatalog, conditionFields, conditionGroupSchema, conditionIssues, conditionRuleSchema, conditionValueSchema, connectStorefrontGitRequestSchema, consentActionSchema, consentKindSchema, consentSourceSchema, couponAudienceMatches, couponBenefitOfReward, couponBenefitSchema, couponClaimFactsOf, couponConditionTreeSchema, couponConditionsInputSchema, couponConditionsSchema, couponCustomerFactNames, couponDiscountOf, couponDistributionSchema, couponFactsSchema, couponIssueListQuerySchema, couponIssueMethodSchema, couponIssueSchema, couponIssueStatusSchema, couponKindSchema, couponLineContextOf, couponLineMatches, couponListQuerySchema, couponPointRewardOf, couponRedemptionListQuerySchema, couponRedemptionSchema, couponRejectReasonSchema, couponRequestRuleIssues, couponRequirementsOf, couponRewardSchema, couponRuleDiscountOf, couponRuleIssues, couponRuleSchema, couponRulesFromLegacy, couponSchema, couponStackingOf, couponStackingSchema, couponStatsSchema, couponStatusSchema, couponTargetInputSchema, couponTargetRulesFromTree, couponTargetRulesSchema, couponTargetSchema, couponTargetTreeFromRules, couponTargetTreeMatches, couponTargetTreeOf, couponTargetTreeSchema, couponTierOf, couponTimeFactsAt, couponTodayAt, couponTreesOf, couponVoucherCodesSchema, couponVoucherInputSchema, couponsCombinable, createAiConversationRequestSchema, createAiConversationResponseSchema, createCommerceFlowRequestSchema, createCouponRequestSchema, createMarketRequestSchema, createOrderRequestSchema, createPkcePair, createSellerCheckoutRequestSchema, createStoreClient, createStoreDraftRequestSchema, createStoreDraftResponseSchema, createStoreSession, createStorefrontEditPreviewLinkRequestSchema, createStorefrontPreviewLinkRequestSchema, createStorefrontSiteRequestSchema, createStorefrontSourceUploadsRequestSchema, createStorefrontVersionRequestSchema, createdOrderSchema, currencyCodeSchema, currencyRefundFeesSchema, currencyShippingPolicySchema, currencySpecOf, customInputLabelForbiddenWord, customInputRequestSchema, customInputSchema, customInputValueSchema, customerAddressSchema, customerConsentListQuerySchema, customerConsentSchema, customerConsentStateSchema, customerConsentsSchema, customerCouponSchema, customerDelegationRequestSchema, customerDelegationSchema, customerDetailSchema, customerInquiryCategorySchema, customerInquiryListQuerySchema, customerListQuerySchema, customerOrderSchema, customerPointsSchema, customerSortSchema, customerStatsSchema, customerSummarySchema, customerUserinfoAddressSchema, customerUserinfoInputSchema, customerUserinfoSchema, customerWithdrawalBlockedDetailsSchema, daysBetween, defaultFulfillmentMethodOf, deleteStorefrontFileRequestSchema, deliveryBundleKeyOf, deliveryFeeWaiverSchema, deliveryInfoSchema, deliveryMethodSchema, deliveryStatusSchema, deliveryTypeSchema, descendantCategoryIdsOf, describeCouponGroup, describeCouponRule, describeCouponTargetRules, describeCouponTargetTree, describeScope, devStoreSchema, developerAppCreateSchema, developerAppSchema, developerInstallationSchema, developerOrgSchema, developerStoreSchema, directOrderShippingAddressSchema, disableStorefrontHostingRequestSchema, discountRequestSchema, discountSchema, dispatchRequestSchema, easyPayProviderResponseSchema, easyPayProviderSchema, evaluateCondition, evaluateConditionNode, evaluateCouponEligibility, eventTypeSchema, exchangeAuthorizationCode, floorToSaleUnit, flowActionRequestSchema, flowActionResultSchema, flowActionSchema, flowAuthoringGuideSchema, flowDraftEdgesSchema, flowDraftNodeSchema, flowDraftNodesSchema, flowDraftOperationSchema, flowEditSessionViewSchema, flowFieldValueSchema, flowInputFieldSchema, flowIssueSchema, flowNodeIdSchema, flowNodeTypeDetailSchema, flowNodeTypesSchema, flowNotificationWebhookEventDataSchema, flowNotificationWebhookEventSchema, flowOperationsResultSchema, flowPresetDetailSchema, flowPresetSummarySchema, flowRunSchema, flowRunStepSchema, flowSecretNameSchema, flowSecretSchema, flowStateChangedWebhookEventDataSchema, flowStateChangedWebhookEventSchema, flowStateSchema, formatOrderNo, fromDecimalString, fulfillBulkRequestSchema, fulfillRequestSchema, fulfillmentMethodOf, fulfillmentMethodSchema, fulfillmentMethodsOf, fulfillmentRuleOf, fulfillmentTypeOf, fulfillmentTypeResponseSchema, fulfillmentTypeSchema, holdOrderItemRequestSchema, infoFieldSourceSchema, infoSchemaFieldSchema, infoSchemaSchema, infoSectionLocalizationRequestSchema, infoSectionLocalizationSchema, infoSectionRequestSchema, infoSectionSchema, inquiryListQuerySchema, inquirySchema, inquiryWebhookEventDataSchema, inquiryWebhookEventSchema, inventoryAdjustmentLineSchema, inventoryAdjustmentReasonSchema, inventoryAdjustmentRequestSchema, inventoryChangedWebhookEventDataSchema, inventoryChangedWebhookEventSchema, inventoryLevelListQuerySchema, inventoryLevelPageSchema, inventoryLevelSchema, inventoryLocationRequestSchema, inventoryLocationSchema, inventoryModeSchema, inventoryMovementKindSchema, inventoryMovementListQuerySchema, inventoryMovementPageSchema, inventoryMovementSchema, inventoryOperationResultSchema, inventoryTransferRequestSchema, invitationDeliveryStatusSchema, invitationListQuerySchema, invitationSchema, inviteMemberRequestSchema, isAiAgentNotesPath, isAiChoiceAnswer, isAiDesignPath, isAiWorkspaceDocPath, isConditionGroup, isCouponTargetLine, isCurrencyCode, isEditableStorefrontPath, isInstallableScope, isReservedStoreCode, isReservedStorefrontSlug, isSaleUnitPrice, isStoreScope, isWebOrigin, issueCouponRequestSchema, issueCouponResultSchema, kakaoPayCredentialsInputSchema, legacyFromCouponRules, linkStorefrontGitInstallationRequestSchema, liveGateConditionCodeSchema, liveGateConditionSchema, liveGateErrorDetailsSchema, liveGateSchema, localeCodeSchema, loginProviderSchema, loginProviderStatusSchema, loginProviderTestSchema, loginSettingsSchema, marketSchema, maskedSecretSchema, matchesCollectionRules, maxWeightAssignment, mcpRuleResultSchema, mcpToolEventSchema, migrateFlowVersionRequestSchema, migrateFlowVersionResultSchema, minPaymentOf, minorToMajor, moneyRulesOf, moveFlowStateRequestSchema, moveStorefrontFileRequestSchema, myAccountSchema, myStoreSchema, naverPayCredentialsInputSchema, nightsOf, normalizeBusinessNumber, normalizeCouponCode, normalizeLocale, normalizeStorefrontHostname, normalizeStorefrontPath, noticeTemplateRequestSchema, noticeTemplateSchema, oauthTokenResponseSchema, openFulfillmentUnion, optionGroupKindSchema, optionGroupRequestSchema, optionGroupSchema, optionModelRequestSchema, optionModelSchema, optionSelectionSchema, optionSortSchema, optionValueRequestSchema, optionValueSchema, orderCanceledWebhookEventDataSchema, orderCanceledWebhookEventSchema, orderDiscountSchema, orderFlowActionResultSchema, orderFulfilledWebhookEventDataSchema, orderFulfilledWebhookEventSchema, orderItemFlowSchema, orderItemFulfillmentSchema, orderItemFulfillmentSnapshotResponseSchema, orderItemFulfillmentSnapshotSchema, orderItemListQuerySchema, orderItemMemoResultSchema, orderItemPageSchema, orderItemSchema, orderItemStatusSchema, orderListQuerySchema, orderPaymentAddedWebhookEventDataSchema, orderPaymentAddedWebhookEventSchema, orderPaymentRequestedWebhookEventDataSchema, orderPaymentRequestedWebhookEventSchema, orderPaymentSchema, orderSchema, orderSummaryPageSchema, orderSummarySchema, orderWebhookEventDataSchema, orderWebhookEventSchema, pageInfoSchema, pageQueryShape, pageSchema, parseOrderNo, parseWebhookEvent, payPalCredentialsInputSchema, paymentAttemptRecordSchema, paymentAttemptStatusSchema, paymentCredentialSetSchema, paymentFailureWarningSchema, paymentListQuerySchema, paymentProviderSchema, paymentProviderVerificationSchema, paymentRecordDetailSchema, paymentRecordPageSchema, paymentRecordSchema, paymentRecordStatusSchema, paymentRefundRecordSchema, paymentSettingsSchema, paymentStatusProviderSchema, paymentStatusSchema, pgEnvironmentSchema, pgPaymentMethodSchema, pgProviderResponseSchema, pgProviderSchema, pgVerificationResultSchema, pickCouponFacts, pickupLocationRequestSchema, pickupLocationSchema, pickupLocationSnapshotSchema, planCodeSchema, planEntitlementsSchema, planErrorDetailsSchema, platformCodeSchema, pointAdjustmentRequestSchema, pointAdjustmentResultSchema, pointEarnOf, pointEarnRateBpSchema, pointEarningEnabled, pointEntrySchema, pointExpiresAtOf, pointHistoryQuerySchema, pointLotSchema, pointPolicyNoticeSchema, pointPolicySchema, pointRestoreExpiresAtOf, pointUseOf, pointUsePolicySchema, policyDocumentUrlSchema, policyVersionSchema, portOneChannelSchema, portOneCredentialsInputSchema, productCertificationsRequestSchema, productCertificationsSchema, productCreateRequestSchema, productCurrencyPriceSchema, productCurrencyPricesSchema, productFulfillmentCreateSchema, productFulfillmentResponseSchema, productFulfillmentSchema, productFulfillmentUpdateSchema, productImageRejection, productImageUrlSchema, productImportErrorSchema, productImportItemSchema, productImportItemsRequestSchema, productImportSchema, productImportStatusSchema, productListQuerySchema, productLocalizationNeedsTranslation, productLocalizationRequestSchema, productLocalizationSchema, productLookupRequestSchema, productNoticeRequestSchema, productNoticeSchema, productOutOfStockWebhookEventDataSchema, productOutOfStockWebhookEventSchema, productPatchRequestSchema, productRefundPolicyOverride, productRefundPolicyPatchSchema, productReplaceRequestSchema, productSchema, productSortSchema, productStatusSchema, productSummarySchema, productVariantRequestSchema, productVariantSchema, proratedPaidRefundBase, proratedPointRefund, proratedRefundBase, publicPlanSchema, publicPlansSchema, publishStorefrontVersionRequestSchema, purchaseDecisionExtendResultSchema, purchaseDecisionRequestResultSchema, purchaseEarnPolicySchema, purchaseEarnRateOf, putBrandBriefRequestSchema, putStorefrontSiteVarRequestSchema, quoteDelivery, quotePricing, rankBestSelling, recomputeOrderCoupons, refreshUserToken, refundPolicyPatchSchema, refundPolicySchema, rejectClaimRequestSchema, remoteAreaLabelOf, remoteAreaOf, remoteAreaSchema, remoteSurchargeOf, replaceStorefrontSourceRequestSchema, replayFlowRequestSchema, replayFlowResultSchema, requiresCollection, requiresShipping, resolvePointPolicy, resolveRefundPolicy, resolveShippingPolicy, resolveStorefrontDeployProduction, resolvedFlowSchema, responsePlanCodeSchema, responsePointEntryTypeSchema, reviewListQuerySchema, reviewReportResultSchema, reviewRewardPointOf, reviewRewardPolicySchema, reviewSchema, reviewSortSchema, reviewWebhookEventDataSchema, reviewWebhookEventSchema, rollbackStorefrontRequestSchema, runStorefrontCheckRequestSchema, salesReportCurrencySchema, salesReportGroupBySchema, salesReportQuerySchema, salesReportRowSchema, salesReportSchema, salesTotalsSchema, saveFlowDraftRequestSchema, saveFlowSecretRequestSchema, saveLoginProviderRequestSchema, savedCustomInputRequestSchema, savedCustomInputSchema, savedOptionGroupRequestSchema, savedOptionGroupSchema, savedOptionSetCompositionSchema, savedOptionSetFromProductRequestSchema, savedOptionSetFromProductResultSchema, savedOptionSetListQuerySchema, savedOptionSetLocalizationRequestSchema, savedOptionSetLocalizationSchema, savedOptionSetRequestSchema, savedOptionSetSchema, savedOptionSetSortSchema, savedOptionValueRequestSchema, savedOptionValueSchema, scopeAccessSchema, scopesCoverEvent, searchStorefrontFilesRequestSchema, sellerAddressListQuerySchema, sellerAddressRequestSchema, sellerAddressSchema, sellerCancelPreviewSchema, sellerCheckoutLineSchema, sellerCheckoutPageSchema, sellerCheckoutSchema, sellerCustomerInquirySchema, sendAiMessageRequestSchema, sendAiMessageResponseSchema, setCalendarRequestSchema, setPlatformTestKeysRequestSchema, setStorefrontAutoPublishRequestSchema, setStorefrontDeployApprovalRequestSchema, setStorefrontVisibilityRequestSchema, settleCouponShortfall, settlementDetailQuerySchema, settlementDetailSchema, settlementListQuerySchema, settlementStatusSchema, settlementSummarySchema, settlementWithDetailsSchema, shippingAddressSchema, shippingCurrencyPriceSchema, shippingCurrencyPricesSchema, shippingOrderItemListQuerySchema, shippingOrderItemPageSchema, shippingOrderItemSchema, shippingPolicyPatchSchema, shippingPolicySchema, simulateFlowRequestSchema, simulateFlowResultSchema, simulationStepSchema, splitRefund, starterSellerTaskSchema, starterStageSchema, starterStatusSchema, starterStoreInfoFieldSchema, stayRangeSchema, staySnapshotSchema, storeAppDetailSchema, storeAppSchema, storeCodeSchema, storeDraftPreviewSchema, storeDraftSchema, storeIndustrySchema, storeMemberRoleUpdatedSchema, storeMemberSchema, storePointPolicySchema, storeRoleSchema, storeSchema, storeScopeResourceSchema, storeSetupBriefSchema, storeShopTypeSchema, storeSubscriptionSchema, storedAdditionalCurrencyPriceSchema, storedProductCurrencyPriceSchema, storedShippingCurrencyPriceSchema, storefrontBuildDependenciesSchema, storefrontBuildListQuerySchema, storefrontBuildSchema, storefrontBuildStatusSchema, storefrontCheckSchema, storefrontCheckStatusSchema, storefrontCustomDomainStatusSchema, storefrontCustomHostnameProblem, storefrontDependencyFindingSchema, storefrontDeploymentLogSchema, storefrontDeploymentSchema, storefrontDeploymentStepSchema, storefrontDevLogsSchema, storefrontDnsRecordSchema, storefrontDomainSchema, storefrontDomainTxtNameOf, storefrontEditFailureSchema, storefrontEditPreviewLabelOf, storefrontEditPreviewSchema, storefrontEditSessionSchema, storefrontEditSessionStatusSchema, storefrontEditingSchema, storefrontFileConflictDetailsSchema, storefrontFileContentQuerySchema, storefrontFileContentSchema, storefrontFileDeleteResultSchema, storefrontFileEncodingSchema, storefrontFileEntrySchema, storefrontFileHashSchema, storefrontFileListQuerySchema, storefrontFileListSchema, storefrontFileMoveResultSchema, storefrontFilePathSchema, storefrontFileSearchResultSchema, storefrontFileWriteResultSchema, storefrontGitConnectStateSchema, storefrontGitMergeRequestSchema, storefrontGitMergeSchema, storefrontGitRepositorySchema, storefrontGitStatusSchema, storefrontHostingSchema, storefrontInitialSourceSchema, storefrontPreviewLinkSchema, storefrontProvisioningSchema, storefrontRuleResultSchema, storefrontRuleSeveritySchema, storefrontSiteDomainSchema, storefrontSiteDomainsSchema, storefrontSiteSchema, storefrontSiteSnapshotSchema, storefrontSiteStatusSchema, storefrontSiteVarKeyProblem, storefrontSiteVarSchema, storefrontSiteVarsSchema, storefrontSlugAvailabilityQuerySchema, storefrontSlugAvailabilitySchema, storefrontSlugSchema, storefrontSourceArchivePartSchema, storefrontSourceArchiveQuerySchema, storefrontSourcePackSchema, storefrontSourceRefSchema, storefrontSourceReplacedSchema, storefrontSourceSchema, storefrontSourceUploadsSchema, storefrontSuspensionSchema, storefrontVerifyReportSchema, storefrontVersionCreatedSchema, storefrontVersionPreviewLabelOf, storefrontVersionSchema, storefrontVersionStatusSchema, storefrontVisibilitySchema, subscriptionLimitsSchema, subscriptionStatusSchema, subscriptionUsageSchema, toDecimalString, toMinor, tossPaymentsCredentialsInputSchema, trackingStageResponseSchema, trackingUpdateResultSchema, unknownWebhookEventSchema, updateCouponRequestSchema, updateCustomerRequestSchema, updateLoginProviderRequestSchema, updateLoginSettingsRequestSchema, updateMarketRequestSchema, updateMemberRoleRequestSchema, updatePaymentProviderRequestSchema, updatePaymentSettingsRequestSchema, updatePointPolicyRequestSchema, updateStoreRequestSchema, uploadExtensionOf, uploadPurposeSchema, uploadRejection, uploadRequestSchema, uploadStorefrontSourcePackRequestSchema, uploadTicketSchema, upsertKakaoPayProviderRequestSchema, upsertNaverPayProviderRequestSchema, upsertPayPalProviderRequestSchema, upsertPortOneProviderRequestSchema, upsertTossPaymentsProviderRequestSchema, variantStockRequestSchema, variantStockSchema, verifyPaymentProviderRequestSchema, webhookCreatedSchema, webhookDeliveryDetailSchema, webhookDeliveryErrorCodeSchema, webhookDeliveryListQuerySchema, webhookDeliveryResourceSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEventSchema, webhookFailureReasonSchema, webhookRedeliverFailedResultSchema, webhookRequestHeaderSchema, webhookRequestSchema, webhookResourceTypeSchema, webhookSchema, webhookSecretRotatedSchema, webhookStatusSchema, webhookTestRequestSchema, webhookTestResultSchema, withdrawCustomerRequestSchema, writeDryRunResultSchema, writePreviewSchema, writeStorefrontFilesRequestSchema };
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -446,9 +446,11 @@ import {
|
|
|
446
446
|
rollbackStorefrontRequestSchema,
|
|
447
447
|
runStorefrontCheckRequestSchema,
|
|
448
448
|
type SearchStorefrontFilesRequest,
|
|
449
|
+
type SetStorefrontAutoPublishRequest,
|
|
449
450
|
type SetStorefrontDeployApprovalRequest,
|
|
450
451
|
type SetStorefrontVisibilityRequest,
|
|
451
452
|
searchStorefrontFilesRequestSchema,
|
|
453
|
+
setStorefrontAutoPublishRequestSchema,
|
|
452
454
|
setStorefrontDeployApprovalRequestSchema,
|
|
453
455
|
setStorefrontVisibilityRequestSchema,
|
|
454
456
|
storefrontBuildSchema,
|
|
@@ -2561,6 +2563,11 @@ export function createStoreClient(options: StoreClientOptions) {
|
|
|
2561
2563
|
storeHttp.request("PUT", "/storefront/site/source", storefrontSourceReplacedSchema, {
|
|
2562
2564
|
body: replaceStorefrontSourceRequestSchema.parse(body),
|
|
2563
2565
|
}),
|
|
2566
|
+
/** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(상점 플랫폼 OWNER·ADMIN 전용, #356) */
|
|
2567
|
+
setAutoPublish: (body: SetStorefrontAutoPublishRequest) =>
|
|
2568
|
+
storeHttp.request("PUT", "/storefront/site/auto-publish", storefrontSiteSchema, {
|
|
2569
|
+
body: setStorefrontAutoPublishRequestSchema.parse(body),
|
|
2570
|
+
}),
|
|
2564
2571
|
/** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(상점 플랫폼 OWNER·ADMIN 전용) */
|
|
2565
2572
|
setDeployApproval: (body: SetStorefrontDeployApprovalRequest) =>
|
|
2566
2573
|
storeHttp.request("PUT", "/storefront/site/deploy-approval", storefrontSiteSchema, {
|
|
@@ -290,6 +290,13 @@ export type StorefrontSiteSnapshot = z.infer<typeof storefrontSiteSnapshotSchema
|
|
|
290
290
|
|
|
291
291
|
export const storefrontSiteSchema = z.object({
|
|
292
292
|
siteId: z.string(),
|
|
293
|
+
autoPublish: z
|
|
294
|
+
.boolean()
|
|
295
|
+
.nullable()
|
|
296
|
+
.optional()
|
|
297
|
+
.describe(
|
|
298
|
+
"배포 뒤 바로 게시 — CLI `sayren deploy`·Git 운영 브랜치 push가 만든 버전을 곧바로 게시한다. null이면 소스의 `sayren.json` `deploy.production`, 그것도 없으면 저장만. 상점 플랫폼에서 OWNER·ADMIN만 바꾼다",
|
|
299
|
+
),
|
|
293
300
|
deployWithoutApproval: z
|
|
294
301
|
.boolean()
|
|
295
302
|
.optional()
|
|
@@ -1784,6 +1791,25 @@ export const connectStorefrontGitRequestSchema = strictRequest(
|
|
|
1784
1791
|
);
|
|
1785
1792
|
export type ConnectStorefrontGitRequest = z.infer<typeof connectStorefrontGitRequestSchema>;
|
|
1786
1793
|
|
|
1794
|
+
/** `PUT /v1/storefront/site/auto-publish` — 배포 뒤 바로 게시(#356). null이면 `sayren.json` `deploy.production`을 따른다 */
|
|
1795
|
+
export const setStorefrontAutoPublishRequestSchema = strictRequest(
|
|
1796
|
+
z.object({
|
|
1797
|
+
autoPublish: z.boolean().nullable(),
|
|
1798
|
+
}),
|
|
1799
|
+
);
|
|
1800
|
+
export type SetStorefrontAutoPublishRequest = z.infer<typeof setStorefrontAutoPublishRequestSchema>;
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* 배포(CLI `sayren deploy`·Git 운영 브랜치 push)가 만든 버전을 바로 게시하는가(#356) — 사이트 설정(`autoPublish`)이 있으면 그것,
|
|
1804
|
+
* 없으면 소스의 `sayren.json` `deploy.production`, 그것도 없으면 저장만. CLI `--production`은 이 판정과 무관하게 게시한다
|
|
1805
|
+
*/
|
|
1806
|
+
export function resolveStorefrontDeployProduction(
|
|
1807
|
+
siteSetting: boolean | null | undefined,
|
|
1808
|
+
projectSetting: boolean | null | undefined,
|
|
1809
|
+
): boolean {
|
|
1810
|
+
return siteSetting ?? projectSetting ?? false;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1787
1813
|
/** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(#138) */
|
|
1788
1814
|
export const setStorefrontDeployApprovalRequestSchema = strictRequest(
|
|
1789
1815
|
z.object({
|