@sayren/store-sdk 0.36.0 → 0.37.1

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 CHANGED
@@ -1311,6 +1311,7 @@ export declare const aiFocusAreaSchema: z.ZodEnum<{
1311
1311
  addresses: "addresses";
1312
1312
  orders: "orders";
1313
1313
  webhooks: "webhooks";
1314
+ members: "members";
1314
1315
  categories: "categories";
1315
1316
  collections: "collections";
1316
1317
  option_sets: "option_sets";
@@ -1323,7 +1324,6 @@ export declare const aiFocusAreaSchema: z.ZodEnum<{
1323
1324
  store_settings: "store_settings";
1324
1325
  payments: "payments";
1325
1326
  login: "login";
1326
- members: "members";
1327
1327
  order_flows: "order_flows";
1328
1328
  storefront: "storefront";
1329
1329
  }>;
@@ -1335,6 +1335,7 @@ export declare const aiFocusSchema: z.ZodObject<{
1335
1335
  addresses: "addresses";
1336
1336
  orders: "orders";
1337
1337
  webhooks: "webhooks";
1338
+ members: "members";
1338
1339
  categories: "categories";
1339
1340
  collections: "collections";
1340
1341
  option_sets: "option_sets";
@@ -1347,7 +1348,6 @@ export declare const aiFocusSchema: z.ZodObject<{
1347
1348
  store_settings: "store_settings";
1348
1349
  payments: "payments";
1349
1350
  login: "login";
1350
- members: "members";
1351
1351
  order_flows: "order_flows";
1352
1352
  storefront: "storefront";
1353
1353
  }>;
@@ -1518,6 +1518,7 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1518
1518
  addresses: "addresses";
1519
1519
  orders: "orders";
1520
1520
  webhooks: "webhooks";
1521
+ members: "members";
1521
1522
  categories: "categories";
1522
1523
  collections: "collections";
1523
1524
  option_sets: "option_sets";
@@ -1530,7 +1531,6 @@ export declare const aiStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1530
1531
  store_settings: "store_settings";
1531
1532
  payments: "payments";
1532
1533
  login: "login";
1533
- members: "members";
1534
1534
  order_flows: "order_flows";
1535
1535
  storefront: "storefront";
1536
1536
  }>;
@@ -1850,6 +1850,7 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1850
1850
  addresses: "addresses";
1851
1851
  orders: "orders";
1852
1852
  webhooks: "webhooks";
1853
+ members: "members";
1853
1854
  categories: "categories";
1854
1855
  collections: "collections";
1855
1856
  option_sets: "option_sets";
@@ -1862,7 +1863,6 @@ export declare const aiStreamRecordSchema: z.ZodObject<{
1862
1863
  store_settings: "store_settings";
1863
1864
  payments: "payments";
1864
1865
  login: "login";
1865
- members: "members";
1866
1866
  order_flows: "order_flows";
1867
1867
  storefront: "storefront";
1868
1868
  }>;
@@ -13780,7 +13780,8 @@ export type SellerAddressRequest = z.infer<typeof sellerAddressRequestSchema>;
13780
13780
  * - 502 `STOREFRONT_SANDBOX_UNAVAILABLE` — 편집 Sandbox 호출이 실패했다. 잠시 뒤 다시 한다
13781
13781
  *
13782
13782
  * 소스 내려받기·올리기(#60, `/v1/storefront/site/source/**`, `sayren` CLI):
13783
- * - 409 `SOURCE_CHANGED` — 작업 트리가 내려받은 뒤(`expectedBaseRef`) 바뀌었다(상점 플랫폼·AI 편집). `error.details.currentRef`
13783
+ * - 409 `SOURCE_CHANGED` — 작업 트리가 내려받은 뒤(`expectedBaseRef`) 바뀌었고 같은 파일을 서로 다르게 고쳤다(상점 플랫폼·AI 편집). 겹치지 않으면 서버가
13784
+ * 3-way 병합한다(응답 `merged`). `error.details.currentRef`·`conflicts`(충돌 파일)
13784
13785
  * - 409 `EDIT_SESSION_OPEN` — 편집 환경이 열려 있다. `endEditSession: true`로 끄고 진행할 수 있다
13785
13786
  * - 409 `SOURCE_BLOBS_MISSING` — 올리지 않은 파일 내용이 있다(`error.details.hashes`). `POST source/blobs`로 올리고 다시 한다
13786
13787
  * - 409 `DEPENDENCY_REJECTED` — 쓸 수 없는 npm 의존성이다(`error.details.rejected: [{ name, version, reason, detail }]`)
@@ -13906,6 +13907,9 @@ export declare const storefrontVersionSchema: z.ZodObject<{
13906
13907
  buildId: z.ZodNullable<z.ZodString>;
13907
13908
  createdByType: z.ZodString;
13908
13909
  createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13910
+ gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13911
+ commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13912
+ mainChanged: z.ZodOptional<z.ZodBoolean>;
13909
13913
  createdAt: z.ZodString;
13910
13914
  previewable: z.ZodOptional<z.ZodBoolean>;
13911
13915
  }, z.core.$strip>;
@@ -13979,6 +13983,7 @@ export declare const storefrontSiteSnapshotSchema: z.ZodObject<{
13979
13983
  export type StorefrontSiteSnapshot = z.infer<typeof storefrontSiteSnapshotSchema>;
13980
13984
  export declare const storefrontSiteSchema: z.ZodObject<{
13981
13985
  siteId: z.ZodString;
13986
+ deployWithoutApproval: z.ZodOptional<z.ZodBoolean>;
13982
13987
  slug: z.ZodString;
13983
13988
  hostname: z.ZodString;
13984
13989
  url: z.ZodString;
@@ -14029,6 +14034,9 @@ export declare const storefrontSiteSchema: z.ZodObject<{
14029
14034
  buildId: z.ZodNullable<z.ZodString>;
14030
14035
  createdByType: z.ZodString;
14031
14036
  createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14037
+ gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14038
+ commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14039
+ mainChanged: z.ZodOptional<z.ZodBoolean>;
14032
14040
  createdAt: z.ZodString;
14033
14041
  previewable: z.ZodOptional<z.ZodBoolean>;
14034
14042
  }, z.core.$strip>>;
@@ -14065,6 +14073,7 @@ export declare const storefrontHostingSchema: z.ZodObject<{
14065
14073
  editingEnabled: z.ZodBoolean;
14066
14074
  site: z.ZodNullable<z.ZodObject<{
14067
14075
  siteId: z.ZodString;
14076
+ deployWithoutApproval: z.ZodOptional<z.ZodBoolean>;
14068
14077
  slug: z.ZodString;
14069
14078
  hostname: z.ZodString;
14070
14079
  url: z.ZodString;
@@ -14115,6 +14124,9 @@ export declare const storefrontHostingSchema: z.ZodObject<{
14115
14124
  buildId: z.ZodNullable<z.ZodString>;
14116
14125
  createdByType: z.ZodString;
14117
14126
  createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14127
+ gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14128
+ commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14129
+ mainChanged: z.ZodOptional<z.ZodBoolean>;
14118
14130
  createdAt: z.ZodString;
14119
14131
  previewable: z.ZodOptional<z.ZodBoolean>;
14120
14132
  }, z.core.$strip>>;
@@ -14962,6 +14974,9 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
14962
14974
  buildId: z.ZodNullable<z.ZodString>;
14963
14975
  createdByType: z.ZodString;
14964
14976
  createdVia: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14977
+ gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14978
+ commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14979
+ mainChanged: z.ZodOptional<z.ZodBoolean>;
14965
14980
  createdAt: z.ZodString;
14966
14981
  previewable: z.ZodOptional<z.ZodBoolean>;
14967
14982
  }, z.core.$strip>;
@@ -15146,6 +15161,8 @@ export declare const storefrontSourceReplacedSchema: z.ZodObject<{
15146
15161
  files: z.ZodNumber;
15147
15162
  bytes: z.ZodNumber;
15148
15163
  changed: z.ZodBoolean;
15164
+ merged: z.ZodOptional<z.ZodBoolean>;
15165
+ uploadedRef: z.ZodOptional<z.ZodString>;
15149
15166
  endedEditSession: z.ZodBoolean;
15150
15167
  dependencyWarnings: z.ZodArray<z.ZodObject<{
15151
15168
  name: z.ZodString;
@@ -15161,6 +15178,62 @@ export declare const storefrontSourceReplacedSchema: z.ZodObject<{
15161
15178
  }, z.core.$strip>>;
15162
15179
  }, z.core.$strip>;
15163
15180
  export type StorefrontSourceReplaced = z.infer<typeof storefrontSourceReplacedSchema>;
15181
+ /**
15182
+ * `GET /v1/storefront/site/git` — 사이트의 Git 원천. 발행한 소스는 GitHub 저장소 main에 있다(사내 저장소 또는 셀러가 연결한 저장소).
15183
+ * 연결 전이면 필드가 null이다
15184
+ */
15185
+ export declare const storefrontGitStatusSchema: z.ZodObject<{
15186
+ provider: z.ZodNullable<z.ZodEnum<{
15187
+ GITHUB: "GITHUB";
15188
+ }>>;
15189
+ owner: z.ZodNullable<z.ZodEnum<{
15190
+ SELLER: "SELLER";
15191
+ SAYREN: "SAYREN";
15192
+ }>>;
15193
+ repository: z.ZodNullable<z.ZodString>;
15194
+ productionBranch: z.ZodNullable<z.ZodString>;
15195
+ rootDirectory: z.ZodNullable<z.ZodString>;
15196
+ connectedAt: z.ZodNullable<z.ZodString>;
15197
+ headCommitSha: z.ZodNullable<z.ZodString>;
15198
+ mainChanged: z.ZodBoolean;
15199
+ autoPromotePaused: z.ZodBoolean;
15200
+ publishPending: z.ZodBoolean;
15201
+ publishErrorCode: z.ZodNullable<z.ZodString>;
15202
+ archivedWorkRef: z.ZodNullable<z.ZodString>;
15203
+ }, z.core.$strip>;
15204
+ export type StorefrontGitStatus = z.infer<typeof storefrontGitStatusSchema>;
15205
+ export declare const storefrontGitRepositorySchema: z.ZodObject<{
15206
+ repoId: z.ZodNumber;
15207
+ fullName: z.ZodString;
15208
+ defaultBranch: z.ZodString;
15209
+ }, z.core.$strip>;
15210
+ export type StorefrontGitRepository = z.infer<typeof storefrontGitRepositorySchema>;
15211
+ /** `POST /v1/storefront/site/git/installations` — GitHub App 설치 화면에서 돌아온 값(`installation_id`·`code`) */
15212
+ export declare const linkStorefrontGitInstallationRequestSchema: z.ZodObject<{
15213
+ installationId: z.ZodNumber;
15214
+ code: z.ZodString;
15215
+ state: z.ZodString;
15216
+ }, z.core.$strip>;
15217
+ /** `POST /v1/storefront/site/git/installations/state` — GitHub 설치 화면에 싣는 1회용 state(이 상점·사용자, 10분) */
15218
+ export declare const storefrontGitConnectStateSchema: z.ZodObject<{
15219
+ state: z.ZodString;
15220
+ expiresAt: z.ZodString;
15221
+ }, z.core.$strip>;
15222
+ export type StorefrontGitConnectState = z.infer<typeof storefrontGitConnectStateSchema>;
15223
+ export type LinkStorefrontGitInstallationRequest = z.infer<typeof linkStorefrontGitInstallationRequestSchema>;
15224
+ /** `POST /v1/storefront/site/git/connect` */
15225
+ export declare const connectStorefrontGitRequestSchema: z.ZodObject<{
15226
+ installationId: z.ZodNumber;
15227
+ repoId: z.ZodNumber;
15228
+ productionBranch: z.ZodOptional<z.ZodString>;
15229
+ rootDirectory: z.ZodOptional<z.ZodString>;
15230
+ }, z.core.$strip>;
15231
+ export type ConnectStorefrontGitRequest = z.infer<typeof connectStorefrontGitRequestSchema>;
15232
+ /** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(#138) */
15233
+ export declare const setStorefrontDeployApprovalRequestSchema: z.ZodObject<{
15234
+ deployWithoutApproval: z.ZodBoolean;
15235
+ }, z.core.$strip>;
15236
+ export type SetStorefrontDeployApprovalRequest = z.infer<typeof setStorefrontDeployApprovalRequestSchema>;
15164
15237
  //#endregion
15165
15238
  //#region src/schemas/upload.d.ts
15166
15239
  /**
@@ -22707,6 +22780,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
22707
22780
  createdByType: string;
22708
22781
  createdAt: string;
22709
22782
  createdVia?: string | null | undefined;
22783
+ gitRef?: string | null | undefined;
22784
+ commitSha?: string | null | undefined;
22785
+ mainChanged?: boolean | undefined;
22710
22786
  previewable?: boolean | undefined;
22711
22787
  } | null;
22712
22788
  provisioning: {
@@ -22720,6 +22796,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22720
22796
  slugChangesRemaining: number;
22721
22797
  createdAt: string;
22722
22798
  updatedAt: string;
22799
+ deployWithoutApproval?: boolean | undefined;
22723
22800
  suspension?: {
22724
22801
  reason: string | null;
22725
22802
  suspendedAt: string | null;
@@ -22771,6 +22848,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
22771
22848
  createdByType: string;
22772
22849
  createdAt: string;
22773
22850
  createdVia?: string | null | undefined;
22851
+ gitRef?: string | null | undefined;
22852
+ commitSha?: string | null | undefined;
22853
+ mainChanged?: boolean | undefined;
22774
22854
  previewable?: boolean | undefined;
22775
22855
  } | null;
22776
22856
  provisioning: {
@@ -22784,6 +22864,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22784
22864
  slugChangesRemaining: number;
22785
22865
  createdAt: string;
22786
22866
  updatedAt: string;
22867
+ deployWithoutApproval?: boolean | undefined;
22787
22868
  suspension?: {
22788
22869
  reason: string | null;
22789
22870
  suspendedAt: string | null;
@@ -22873,6 +22954,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
22873
22954
  createdByType: string;
22874
22955
  createdAt: string;
22875
22956
  createdVia?: string | null | undefined;
22957
+ gitRef?: string | null | undefined;
22958
+ commitSha?: string | null | undefined;
22959
+ mainChanged?: boolean | undefined;
22876
22960
  previewable?: boolean | undefined;
22877
22961
  } | null;
22878
22962
  provisioning: {
@@ -22886,6 +22970,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22886
22970
  slugChangesRemaining: number;
22887
22971
  createdAt: string;
22888
22972
  updatedAt: string;
22973
+ deployWithoutApproval?: boolean | undefined;
22889
22974
  suspension?: {
22890
22975
  reason: string | null;
22891
22976
  suspendedAt: string | null;
@@ -22911,6 +22996,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
22911
22996
  createdByType: string;
22912
22997
  createdAt: string;
22913
22998
  createdVia?: string | null | undefined;
22999
+ gitRef?: string | null | undefined;
23000
+ commitSha?: string | null | undefined;
23001
+ mainChanged?: boolean | undefined;
22914
23002
  previewable?: boolean | undefined;
22915
23003
  }[]>;
22916
23004
  /** `POST /v1/storefront/site/versions/{versionId}/publish` — 그 버전을 발행한다(이미 발행돼 있으면 그대로 200) */
@@ -22944,6 +23032,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
22944
23032
  createdByType: string;
22945
23033
  createdAt: string;
22946
23034
  createdVia?: string | null | undefined;
23035
+ gitRef?: string | null | undefined;
23036
+ commitSha?: string | null | undefined;
23037
+ mainChanged?: boolean | undefined;
22947
23038
  previewable?: boolean | undefined;
22948
23039
  } | null;
22949
23040
  provisioning: {
@@ -22957,6 +23048,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
22957
23048
  slugChangesRemaining: number;
22958
23049
  createdAt: string;
22959
23050
  updatedAt: string;
23051
+ deployWithoutApproval?: boolean | undefined;
22960
23052
  suspension?: {
22961
23053
  reason: string | null;
22962
23054
  suspendedAt: string | null;
@@ -22998,6 +23090,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
22998
23090
  createdByType: string;
22999
23091
  createdAt: string;
23000
23092
  createdVia?: string | null | undefined;
23093
+ gitRef?: string | null | undefined;
23094
+ commitSha?: string | null | undefined;
23095
+ mainChanged?: boolean | undefined;
23001
23096
  previewable?: boolean | undefined;
23002
23097
  } | null;
23003
23098
  provisioning: {
@@ -23011,6 +23106,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
23011
23106
  slugChangesRemaining: number;
23012
23107
  createdAt: string;
23013
23108
  updatedAt: string;
23109
+ deployWithoutApproval?: boolean | undefined;
23014
23110
  suspension?: {
23015
23111
  reason: string | null;
23016
23112
  suspendedAt: string | null;
@@ -23052,6 +23148,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
23052
23148
  createdByType: string;
23053
23149
  createdAt: string;
23054
23150
  createdVia?: string | null | undefined;
23151
+ gitRef?: string | null | undefined;
23152
+ commitSha?: string | null | undefined;
23153
+ mainChanged?: boolean | undefined;
23055
23154
  previewable?: boolean | undefined;
23056
23155
  } | null;
23057
23156
  provisioning: {
@@ -23065,6 +23164,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
23065
23164
  slugChangesRemaining: number;
23066
23165
  createdAt: string;
23067
23166
  updatedAt: string;
23167
+ deployWithoutApproval?: boolean | undefined;
23068
23168
  suspension?: {
23069
23169
  reason: string | null;
23070
23170
  suspendedAt: string | null;
@@ -23106,6 +23206,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
23106
23206
  createdByType: string;
23107
23207
  createdAt: string;
23108
23208
  createdVia?: string | null | undefined;
23209
+ gitRef?: string | null | undefined;
23210
+ commitSha?: string | null | undefined;
23211
+ mainChanged?: boolean | undefined;
23109
23212
  previewable?: boolean | undefined;
23110
23213
  } | null;
23111
23214
  provisioning: {
@@ -23119,6 +23222,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
23119
23222
  slugChangesRemaining: number;
23120
23223
  createdAt: string;
23121
23224
  updatedAt: string;
23225
+ deployWithoutApproval?: boolean | undefined;
23122
23226
  suspension?: {
23123
23227
  reason: string | null;
23124
23228
  suspendedAt: string | null;
@@ -23308,6 +23412,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
23308
23412
  createdByType: string;
23309
23413
  createdAt: string;
23310
23414
  createdVia?: string | null | undefined;
23415
+ gitRef?: string | null | undefined;
23416
+ commitSha?: string | null | undefined;
23417
+ mainChanged?: boolean | undefined;
23311
23418
  previewable?: boolean | undefined;
23312
23419
  } | null;
23313
23420
  provisioning: {
@@ -23321,6 +23428,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
23321
23428
  slugChangesRemaining: number;
23322
23429
  createdAt: string;
23323
23430
  updatedAt: string;
23431
+ deployWithoutApproval?: boolean | undefined;
23324
23432
  suspension?: {
23325
23433
  reason: string | null;
23326
23434
  suspendedAt: string | null;
@@ -23553,6 +23661,9 @@ export declare function createStoreClient(options: StoreClientOptions): {
23553
23661
  createdByType: string;
23554
23662
  createdAt: string;
23555
23663
  createdVia?: string | null | undefined;
23664
+ gitRef?: string | null | undefined;
23665
+ commitSha?: string | null | undefined;
23666
+ mainChanged?: boolean | undefined;
23556
23667
  previewable?: boolean | undefined;
23557
23668
  };
23558
23669
  build: {
@@ -23851,6 +23962,128 @@ export declare function createStoreClient(options: StoreClientOptions): {
23851
23962
  title: string;
23852
23963
  } | null | undefined;
23853
23964
  }[];
23965
+ merged?: boolean | undefined;
23966
+ uploadedRef?: string | undefined;
23967
+ }>;
23968
+ /** `PUT /v1/storefront/site/deploy-approval` — 승인 없이 배포(상점 플랫폼 OWNER·ADMIN 전용) */
23969
+ setDeployApproval: (body: SetStorefrontDeployApprovalRequest) => Promise<{
23970
+ siteId: string;
23971
+ slug: string;
23972
+ hostname: string;
23973
+ url: string;
23974
+ domains: {
23975
+ hostname: string;
23976
+ kind: "PLATFORM" | "CUSTOM";
23977
+ status: "ACTIVE" | "HELD";
23978
+ isPrimary: boolean;
23979
+ holdUntil: string | null;
23980
+ }[];
23981
+ templateId: string;
23982
+ sourceMode: "CUSTOM" | "MANAGED";
23983
+ status: "SUSPENDED" | "CLOSED" | "ACTIVE";
23984
+ visibility: "COMING_SOON" | "PUBLIC";
23985
+ publishedVersion: {
23986
+ versionId: string;
23987
+ number: number;
23988
+ templateId: string;
23989
+ templateVersion: string;
23990
+ status: "FAILED" | "BUILDING" | "READY";
23991
+ published: boolean;
23992
+ publishedAt: string | null;
23993
+ message: string | null;
23994
+ source: "TEMPLATE" | "EDIT";
23995
+ buildId: string | null;
23996
+ createdByType: string;
23997
+ createdAt: string;
23998
+ createdVia?: string | null | undefined;
23999
+ gitRef?: string | null | undefined;
24000
+ commitSha?: string | null | undefined;
24001
+ mainChanged?: boolean | undefined;
24002
+ previewable?: boolean | undefined;
24003
+ } | null;
24004
+ provisioning: {
24005
+ status: "PENDING" | "FAILED" | "SYNCED";
24006
+ lastErrorCode: string | null;
24007
+ syncedAt: string | null;
24008
+ };
24009
+ editPreview: {
24010
+ hostname: string | null;
24011
+ };
24012
+ slugChangesRemaining: number;
24013
+ createdAt: string;
24014
+ updatedAt: string;
24015
+ deployWithoutApproval?: boolean | undefined;
24016
+ suspension?: {
24017
+ reason: string | null;
24018
+ suspendedAt: string | null;
24019
+ } | null | undefined;
24020
+ snapshot?: {
24021
+ url: string;
24022
+ versionId: string | null;
24023
+ capturedAt: string | null;
24024
+ } | null | undefined;
24025
+ }>;
24026
+ /** `GET /v1/storefront/site/git` — Git 원천(발행 소스를 둔 저장소)과 상태(#138) */
24027
+ getGit: () => Promise<{
24028
+ provider: "GITHUB" | null;
24029
+ owner: "SELLER" | "SAYREN" | null;
24030
+ repository: string | null;
24031
+ productionBranch: string | null;
24032
+ rootDirectory: string | null;
24033
+ connectedAt: string | null;
24034
+ headCommitSha: string | null;
24035
+ mainChanged: boolean;
24036
+ autoPromotePaused: boolean;
24037
+ publishPending: boolean;
24038
+ publishErrorCode: string | null;
24039
+ archivedWorkRef: string | null;
24040
+ }>;
24041
+ /** `POST /v1/storefront/site/git/installations/state` — GitHub 설치 화면에 싣는 1회용 state(상점 플랫폼 전용) */
24042
+ createGitConnectState: () => Promise<{
24043
+ state: string;
24044
+ expiresAt: string;
24045
+ }>;
24046
+ /** `POST /v1/storefront/site/git/installations` — GitHub App 설치 확인(상점 플랫폼 전용) → 그 설치의 저장소 */
24047
+ linkGitInstallation: (body: LinkStorefrontGitInstallationRequest) => Promise<{
24048
+ repoId: number;
24049
+ fullName: string;
24050
+ defaultBranch: string;
24051
+ }[]>;
24052
+ /** `GET /v1/storefront/site/git/installations/{installationId}/repositories` — 확인한 설치의 저장소(상점 플랫폼 전용) */
24053
+ listGitRepositories: (installationId: number) => Promise<{
24054
+ repoId: number;
24055
+ fullName: string;
24056
+ defaultBranch: string;
24057
+ }[]>;
24058
+ /** `POST /v1/storefront/site/git/connect` — 셀러 GitHub 저장소 연결(상점 플랫폼 전용) */
24059
+ connectGit: (body: ConnectStorefrontGitRequest) => Promise<{
24060
+ provider: "GITHUB" | null;
24061
+ owner: "SELLER" | "SAYREN" | null;
24062
+ repository: string | null;
24063
+ productionBranch: string | null;
24064
+ rootDirectory: string | null;
24065
+ connectedAt: string | null;
24066
+ headCommitSha: string | null;
24067
+ mainChanged: boolean;
24068
+ autoPromotePaused: boolean;
24069
+ publishPending: boolean;
24070
+ publishErrorCode: string | null;
24071
+ archivedWorkRef: string | null;
24072
+ }>;
24073
+ /** `POST /v1/storefront/site/git/disconnect` — 연결 해제(sayren 저장소로 되돌림, 상점 플랫폼 전용) */
24074
+ disconnectGit: () => Promise<{
24075
+ provider: "GITHUB" | null;
24076
+ owner: "SELLER" | "SAYREN" | null;
24077
+ repository: string | null;
24078
+ productionBranch: string | null;
24079
+ rootDirectory: string | null;
24080
+ connectedAt: string | null;
24081
+ headCommitSha: string | null;
24082
+ mainChanged: boolean;
24083
+ autoPromotePaused: boolean;
24084
+ publishPending: boolean;
24085
+ publishErrorCode: string | null;
24086
+ archivedWorkRef: string | null;
23854
24087
  }>;
23855
24088
  };
23856
24089
  subscription: {
@@ -23885,12 +24118,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
23885
24118
  storefrontPreviewHoursMonthly: number | null;
23886
24119
  storefrontBuildMinutesMonthly: number | null;
23887
24120
  adminApiRequestsMonthly: number | null;
24121
+ publicApps?: number | null | undefined;
24122
+ privateApps?: number | null | undefined;
24123
+ aiCreditsMonthly?: number | null | undefined;
23888
24124
  };
23889
24125
  features: {
23890
24126
  adminApi: boolean;
23891
24127
  analytics: boolean;
23892
24128
  storeClone: boolean;
23893
24129
  removeBadge: boolean;
24130
+ members?: boolean | undefined;
23894
24131
  };
23895
24132
  usage: {
23896
24133
  liveOrders: number;
@@ -23904,6 +24141,8 @@ export declare function createStoreClient(options: StoreClientOptions): {
23904
24141
  seats: number;
23905
24142
  customDomains: number;
23906
24143
  webhooks: number;
24144
+ publicApps?: number | undefined;
24145
+ privateApps?: number | undefined;
23907
24146
  };
23908
24147
  aiActions: {
23909
24148
  limit: number | null;
@@ -23916,6 +24155,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
23916
24155
  resetsAt: string;
23917
24156
  };
23918
24157
  salesFeePercent: 0;
24158
+ aiCredits?: {
24159
+ monthly: number | null;
24160
+ granted: number;
24161
+ used: number;
24162
+ remaining: number | null;
24163
+ resetsAt: string;
24164
+ monthlyUsed?: number | undefined;
24165
+ purchased?: number | undefined;
24166
+ complimentary?: number | undefined;
24167
+ } | undefined;
23919
24168
  }>;
23920
24169
  };
23921
24170
  plans: {
@@ -23940,12 +24189,16 @@ export declare function createStoreClient(options: StoreClientOptions): {
23940
24189
  };
23941
24190
  };
23942
24191
  entitlements: {
24192
+ "features.members": boolean;
23943
24193
  "features.admin_api": boolean;
23944
24194
  "features.analytics": boolean;
23945
24195
  "limits.ai_reads_monthly": number | null;
23946
24196
  "limits.ai_actions_monthly": number | null;
23947
24197
  "limits.custom_domains": number | null;
23948
24198
  "limits.webhooks": number | null;
24199
+ "limits.public_apps": number | null;
24200
+ "limits.private_apps": number | null;
24201
+ "limits.ai_credits_monthly": number | null;
23949
24202
  "limits.storefront_preview_hours_monthly": number | null;
23950
24203
  "limits.storefront_build_minutes_monthly": number | null;
23951
24204
  "limits.storefront_requests_monthly": number | null;
@@ -24664,6 +24917,159 @@ export declare function normalizeLocale(value: string | null | undefined): strin
24664
24917
  export declare const DEFAULT_STORE_LOCALE = "ko";
24665
24918
  export declare const localeCodeSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
24666
24919
  //#endregion
24920
+ //#region src/schemas/plans.d.ts
24921
+ /**
24922
+ * 요금제 기능 키 값 — 요금제 비교표·상점 플랫폼 요금제 화면이 쓴다. 키는 서버 판정의 기능 키와 같다(추가만 한다). 상위 요금제는 하위 요금제
24923
+ * 기능을 모두 포함한다
24924
+ */
24925
+ export declare const planEntitlementsSchema: z.ZodObject<{
24926
+ "features.members": z.ZodBoolean;
24927
+ "features.admin_api": z.ZodBoolean;
24928
+ "features.analytics": z.ZodBoolean;
24929
+ "limits.ai_reads_monthly": z.ZodNullable<z.ZodNumber>;
24930
+ "limits.ai_actions_monthly": z.ZodNullable<z.ZodNumber>;
24931
+ "limits.custom_domains": z.ZodNullable<z.ZodNumber>;
24932
+ "limits.webhooks": z.ZodNullable<z.ZodNumber>;
24933
+ "limits.public_apps": z.ZodNullable<z.ZodNumber>;
24934
+ "limits.private_apps": z.ZodNullable<z.ZodNumber>;
24935
+ "limits.ai_credits_monthly": z.ZodNullable<z.ZodNumber>;
24936
+ "limits.storefront_preview_hours_monthly": z.ZodNullable<z.ZodNumber>;
24937
+ "limits.storefront_build_minutes_monthly": z.ZodNullable<z.ZodNumber>;
24938
+ "limits.storefront_requests_monthly": z.ZodNullable<z.ZodNumber>;
24939
+ "limits.admin_api_requests_monthly": z.ZodNullable<z.ZodNumber>;
24940
+ "rate_limit.admin_api": z.ZodNullable<z.ZodNumber>;
24941
+ "storefront.cpu_ms": z.ZodNumber;
24942
+ "storefront.subrequests": z.ZodNumber;
24943
+ "storefront.rate_limit_per_minute": z.ZodNumber;
24944
+ "seats.included": z.ZodNullable<z.ZodNumber>;
24945
+ "retention.analytics_days": z.ZodNumber;
24946
+ "retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
24947
+ "retention.audit_days": z.ZodNullable<z.ZodNumber>;
24948
+ "support.tier": z.ZodUnion<readonly [z.ZodEnum<{
24949
+ EMAIL: "EMAIL";
24950
+ COMMUNITY: "COMMUNITY";
24951
+ EMAIL_PRIORITY: "EMAIL_PRIORITY";
24952
+ DEDICATED: "DEDICATED";
24953
+ SLA: "SLA";
24954
+ }>, z.ZodString]>;
24955
+ }, z.core.$strip>;
24956
+ export type PlanEntitlementValues = z.infer<typeof planEntitlementsSchema>;
24957
+ /** 공개 요금제 한 줄 — `GET /v1/public/plans` */
24958
+ export declare const publicPlanSchema: z.ZodObject<{
24959
+ code: z.ZodUnion<readonly [z.ZodEnum<{
24960
+ FREE: "FREE";
24961
+ BASIC: "BASIC";
24962
+ BETA: "BETA";
24963
+ PRO: "PRO";
24964
+ BUSINESS: "BUSINESS";
24965
+ ENTERPRISE: "ENTERPRISE";
24966
+ PREMIUM: "PREMIUM";
24967
+ }>, z.ZodString]>;
24968
+ name: z.ZodString;
24969
+ version: z.ZodNumber;
24970
+ sort: z.ZodNumber;
24971
+ purchasable: z.ZodBoolean;
24972
+ prices: z.ZodObject<{
24973
+ currency: z.ZodLiteral<"KRW">;
24974
+ monthly: z.ZodNullable<z.ZodNumber>;
24975
+ startingAt: z.ZodBoolean;
24976
+ vatIncluded: z.ZodObject<{
24977
+ monthly: z.ZodNullable<z.ZodNumber>;
24978
+ }, z.core.$strip>;
24979
+ }, z.core.$strip>;
24980
+ entitlements: z.ZodObject<{
24981
+ "features.members": z.ZodBoolean;
24982
+ "features.admin_api": z.ZodBoolean;
24983
+ "features.analytics": z.ZodBoolean;
24984
+ "limits.ai_reads_monthly": z.ZodNullable<z.ZodNumber>;
24985
+ "limits.ai_actions_monthly": z.ZodNullable<z.ZodNumber>;
24986
+ "limits.custom_domains": z.ZodNullable<z.ZodNumber>;
24987
+ "limits.webhooks": z.ZodNullable<z.ZodNumber>;
24988
+ "limits.public_apps": z.ZodNullable<z.ZodNumber>;
24989
+ "limits.private_apps": z.ZodNullable<z.ZodNumber>;
24990
+ "limits.ai_credits_monthly": z.ZodNullable<z.ZodNumber>;
24991
+ "limits.storefront_preview_hours_monthly": z.ZodNullable<z.ZodNumber>;
24992
+ "limits.storefront_build_minutes_monthly": z.ZodNullable<z.ZodNumber>;
24993
+ "limits.storefront_requests_monthly": z.ZodNullable<z.ZodNumber>;
24994
+ "limits.admin_api_requests_monthly": z.ZodNullable<z.ZodNumber>;
24995
+ "rate_limit.admin_api": z.ZodNullable<z.ZodNumber>;
24996
+ "storefront.cpu_ms": z.ZodNumber;
24997
+ "storefront.subrequests": z.ZodNumber;
24998
+ "storefront.rate_limit_per_minute": z.ZodNumber;
24999
+ "seats.included": z.ZodNullable<z.ZodNumber>;
25000
+ "retention.analytics_days": z.ZodNumber;
25001
+ "retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
25002
+ "retention.audit_days": z.ZodNullable<z.ZodNumber>;
25003
+ "support.tier": z.ZodUnion<readonly [z.ZodEnum<{
25004
+ EMAIL: "EMAIL";
25005
+ COMMUNITY: "COMMUNITY";
25006
+ EMAIL_PRIORITY: "EMAIL_PRIORITY";
25007
+ DEDICATED: "DEDICATED";
25008
+ SLA: "SLA";
25009
+ }>, z.ZodString]>;
25010
+ }, z.core.$strip>;
25011
+ }, z.core.$strip>;
25012
+ export type PublicPlan = z.infer<typeof publicPlanSchema>;
25013
+ /** 요금제 비교표 — `GET /v1/public/plans`(인증 없음, 캐시 가능). 값은 서버가 관리하고 언제든 바뀔 수 있다 */
25014
+ export declare const publicPlansSchema: z.ZodObject<{
25015
+ vatPercent: z.ZodNumber;
25016
+ plans: z.ZodArray<z.ZodObject<{
25017
+ code: z.ZodUnion<readonly [z.ZodEnum<{
25018
+ FREE: "FREE";
25019
+ BASIC: "BASIC";
25020
+ BETA: "BETA";
25021
+ PRO: "PRO";
25022
+ BUSINESS: "BUSINESS";
25023
+ ENTERPRISE: "ENTERPRISE";
25024
+ PREMIUM: "PREMIUM";
25025
+ }>, z.ZodString]>;
25026
+ name: z.ZodString;
25027
+ version: z.ZodNumber;
25028
+ sort: z.ZodNumber;
25029
+ purchasable: z.ZodBoolean;
25030
+ prices: z.ZodObject<{
25031
+ currency: z.ZodLiteral<"KRW">;
25032
+ monthly: z.ZodNullable<z.ZodNumber>;
25033
+ startingAt: z.ZodBoolean;
25034
+ vatIncluded: z.ZodObject<{
25035
+ monthly: z.ZodNullable<z.ZodNumber>;
25036
+ }, z.core.$strip>;
25037
+ }, z.core.$strip>;
25038
+ entitlements: z.ZodObject<{
25039
+ "features.members": z.ZodBoolean;
25040
+ "features.admin_api": z.ZodBoolean;
25041
+ "features.analytics": z.ZodBoolean;
25042
+ "limits.ai_reads_monthly": z.ZodNullable<z.ZodNumber>;
25043
+ "limits.ai_actions_monthly": z.ZodNullable<z.ZodNumber>;
25044
+ "limits.custom_domains": z.ZodNullable<z.ZodNumber>;
25045
+ "limits.webhooks": z.ZodNullable<z.ZodNumber>;
25046
+ "limits.public_apps": z.ZodNullable<z.ZodNumber>;
25047
+ "limits.private_apps": z.ZodNullable<z.ZodNumber>;
25048
+ "limits.ai_credits_monthly": z.ZodNullable<z.ZodNumber>;
25049
+ "limits.storefront_preview_hours_monthly": z.ZodNullable<z.ZodNumber>;
25050
+ "limits.storefront_build_minutes_monthly": z.ZodNullable<z.ZodNumber>;
25051
+ "limits.storefront_requests_monthly": z.ZodNullable<z.ZodNumber>;
25052
+ "limits.admin_api_requests_monthly": z.ZodNullable<z.ZodNumber>;
25053
+ "rate_limit.admin_api": z.ZodNullable<z.ZodNumber>;
25054
+ "storefront.cpu_ms": z.ZodNumber;
25055
+ "storefront.subrequests": z.ZodNumber;
25056
+ "storefront.rate_limit_per_minute": z.ZodNumber;
25057
+ "seats.included": z.ZodNullable<z.ZodNumber>;
25058
+ "retention.analytics_days": z.ZodNumber;
25059
+ "retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
25060
+ "retention.audit_days": z.ZodNullable<z.ZodNumber>;
25061
+ "support.tier": z.ZodUnion<readonly [z.ZodEnum<{
25062
+ EMAIL: "EMAIL";
25063
+ COMMUNITY: "COMMUNITY";
25064
+ EMAIL_PRIORITY: "EMAIL_PRIORITY";
25065
+ DEDICATED: "DEDICATED";
25066
+ SLA: "SLA";
25067
+ }>, z.ZodString]>;
25068
+ }, z.core.$strip>;
25069
+ }, z.core.$strip>>;
25070
+ }, z.core.$strip>;
25071
+ export type PublicPlans = z.infer<typeof publicPlansSchema>;
25072
+ //#endregion
24667
25073
  //#region src/schemas/promotion.d.ts
24668
25074
  /** 쿠폰 종류 */
24669
25075
  export declare const couponKindSchema: z.ZodEnum<{
@@ -25802,6 +26208,9 @@ export declare const subscriptionLimitsSchema: z.ZodObject<{
25802
26208
  storefrontPreviewHoursMonthly: z.ZodNullable<z.ZodNumber>;
25803
26209
  storefrontBuildMinutesMonthly: z.ZodNullable<z.ZodNumber>;
25804
26210
  adminApiRequestsMonthly: z.ZodNullable<z.ZodNumber>;
26211
+ publicApps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26212
+ privateApps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26213
+ aiCreditsMonthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25805
26214
  }, z.core.$strip>;
25806
26215
  export type SubscriptionLimits = z.infer<typeof subscriptionLimitsSchema>;
25807
26216
  export declare const subscriptionUsageSchema: z.ZodObject<{
@@ -25816,6 +26225,8 @@ export declare const subscriptionUsageSchema: z.ZodObject<{
25816
26225
  seats: z.ZodNumber;
25817
26226
  customDomains: z.ZodNumber;
25818
26227
  webhooks: z.ZodNumber;
26228
+ publicApps: z.ZodOptional<z.ZodNumber>;
26229
+ privateApps: z.ZodOptional<z.ZodNumber>;
25819
26230
  }, z.core.$strip>;
25820
26231
  export type SubscriptionUsage = z.infer<typeof subscriptionUsageSchema>;
25821
26232
  export declare const storeSubscriptionSchema: z.ZodObject<{
@@ -25860,10 +26271,14 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
25860
26271
  storefrontPreviewHoursMonthly: z.ZodNullable<z.ZodNumber>;
25861
26272
  storefrontBuildMinutesMonthly: z.ZodNullable<z.ZodNumber>;
25862
26273
  adminApiRequestsMonthly: z.ZodNullable<z.ZodNumber>;
26274
+ publicApps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26275
+ privateApps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26276
+ aiCreditsMonthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25863
26277
  }, z.core.$strip>;
25864
26278
  features: z.ZodObject<{
25865
26279
  adminApi: z.ZodBoolean;
25866
26280
  analytics: z.ZodBoolean;
26281
+ members: z.ZodOptional<z.ZodBoolean>;
25867
26282
  storeClone: z.ZodBoolean;
25868
26283
  removeBadge: z.ZodBoolean;
25869
26284
  }, z.core.$strip>;
@@ -25879,6 +26294,8 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
25879
26294
  seats: z.ZodNumber;
25880
26295
  customDomains: z.ZodNumber;
25881
26296
  webhooks: z.ZodNumber;
26297
+ publicApps: z.ZodOptional<z.ZodNumber>;
26298
+ privateApps: z.ZodOptional<z.ZodNumber>;
25882
26299
  }, z.core.$strip>;
25883
26300
  aiActions: z.ZodObject<{
25884
26301
  limit: z.ZodNullable<z.ZodNumber>;
@@ -25890,6 +26307,16 @@ export declare const storeSubscriptionSchema: z.ZodObject<{
25890
26307
  used: z.ZodNumber;
25891
26308
  resetsAt: z.ZodString;
25892
26309
  }, z.core.$strip>;
26310
+ aiCredits: z.ZodOptional<z.ZodObject<{
26311
+ monthly: z.ZodNullable<z.ZodNumber>;
26312
+ granted: z.ZodNumber;
26313
+ used: z.ZodNumber;
26314
+ monthlyUsed: z.ZodOptional<z.ZodNumber>;
26315
+ purchased: z.ZodOptional<z.ZodNumber>;
26316
+ complimentary: z.ZodOptional<z.ZodNumber>;
26317
+ remaining: z.ZodNullable<z.ZodNumber>;
26318
+ resetsAt: z.ZodString;
26319
+ }, z.core.$strip>>;
25893
26320
  salesFeePercent: z.ZodLiteral<0>;
25894
26321
  }, z.core.$strip>;
25895
26322
  export type StoreSubscription = z.infer<typeof storeSubscriptionSchema>;
@@ -25916,145 +26343,6 @@ export declare const planErrorDetailsSchema: z.ZodObject<{
25916
26343
  reason: z.ZodOptional<z.ZodString>;
25917
26344
  }, z.core.$loose>;
25918
26345
  export type PlanErrorDetails = z.infer<typeof planErrorDetailsSchema>;
25919
- /**
25920
- * 요금제 기능 키 값 — 요금제 비교표·상점 플랫폼 요금제 화면이 쓴다. 키는 서버 판정의 기능 키와 같다(추가만 한다). 상위 요금제는 하위 요금제
25921
- * 기능을 모두 포함한다
25922
- */
25923
- export declare const planEntitlementsSchema: z.ZodObject<{
25924
- "features.admin_api": z.ZodBoolean;
25925
- "features.analytics": z.ZodBoolean;
25926
- "limits.ai_reads_monthly": z.ZodNullable<z.ZodNumber>;
25927
- "limits.ai_actions_monthly": z.ZodNullable<z.ZodNumber>;
25928
- "limits.custom_domains": z.ZodNullable<z.ZodNumber>;
25929
- "limits.webhooks": z.ZodNullable<z.ZodNumber>;
25930
- "limits.storefront_preview_hours_monthly": z.ZodNullable<z.ZodNumber>;
25931
- "limits.storefront_build_minutes_monthly": z.ZodNullable<z.ZodNumber>;
25932
- "limits.storefront_requests_monthly": z.ZodNullable<z.ZodNumber>;
25933
- "limits.admin_api_requests_monthly": z.ZodNullable<z.ZodNumber>;
25934
- "rate_limit.admin_api": z.ZodNullable<z.ZodNumber>;
25935
- "storefront.cpu_ms": z.ZodNumber;
25936
- "storefront.subrequests": z.ZodNumber;
25937
- "storefront.rate_limit_per_minute": z.ZodNumber;
25938
- "seats.included": z.ZodNullable<z.ZodNumber>;
25939
- "retention.analytics_days": z.ZodNumber;
25940
- "retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
25941
- "retention.audit_days": z.ZodNullable<z.ZodNumber>;
25942
- "support.tier": z.ZodUnion<readonly [z.ZodEnum<{
25943
- EMAIL: "EMAIL";
25944
- COMMUNITY: "COMMUNITY";
25945
- EMAIL_PRIORITY: "EMAIL_PRIORITY";
25946
- DEDICATED: "DEDICATED";
25947
- SLA: "SLA";
25948
- }>, z.ZodString]>;
25949
- }, z.core.$strip>;
25950
- export type PlanEntitlementValues = z.infer<typeof planEntitlementsSchema>;
25951
- /** 공개 요금제 한 줄 — `GET /v1/public/plans` */
25952
- export declare const publicPlanSchema: z.ZodObject<{
25953
- code: z.ZodUnion<readonly [z.ZodEnum<{
25954
- FREE: "FREE";
25955
- BASIC: "BASIC";
25956
- BETA: "BETA";
25957
- PRO: "PRO";
25958
- BUSINESS: "BUSINESS";
25959
- ENTERPRISE: "ENTERPRISE";
25960
- PREMIUM: "PREMIUM";
25961
- }>, z.ZodString]>;
25962
- name: z.ZodString;
25963
- version: z.ZodNumber;
25964
- sort: z.ZodNumber;
25965
- purchasable: z.ZodBoolean;
25966
- prices: z.ZodObject<{
25967
- currency: z.ZodLiteral<"KRW">;
25968
- monthly: z.ZodNullable<z.ZodNumber>;
25969
- startingAt: z.ZodBoolean;
25970
- vatIncluded: z.ZodObject<{
25971
- monthly: z.ZodNullable<z.ZodNumber>;
25972
- }, z.core.$strip>;
25973
- }, z.core.$strip>;
25974
- entitlements: z.ZodObject<{
25975
- "features.admin_api": z.ZodBoolean;
25976
- "features.analytics": z.ZodBoolean;
25977
- "limits.ai_reads_monthly": z.ZodNullable<z.ZodNumber>;
25978
- "limits.ai_actions_monthly": z.ZodNullable<z.ZodNumber>;
25979
- "limits.custom_domains": z.ZodNullable<z.ZodNumber>;
25980
- "limits.webhooks": z.ZodNullable<z.ZodNumber>;
25981
- "limits.storefront_preview_hours_monthly": z.ZodNullable<z.ZodNumber>;
25982
- "limits.storefront_build_minutes_monthly": z.ZodNullable<z.ZodNumber>;
25983
- "limits.storefront_requests_monthly": z.ZodNullable<z.ZodNumber>;
25984
- "limits.admin_api_requests_monthly": z.ZodNullable<z.ZodNumber>;
25985
- "rate_limit.admin_api": z.ZodNullable<z.ZodNumber>;
25986
- "storefront.cpu_ms": z.ZodNumber;
25987
- "storefront.subrequests": z.ZodNumber;
25988
- "storefront.rate_limit_per_minute": z.ZodNumber;
25989
- "seats.included": z.ZodNullable<z.ZodNumber>;
25990
- "retention.analytics_days": z.ZodNumber;
25991
- "retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
25992
- "retention.audit_days": z.ZodNullable<z.ZodNumber>;
25993
- "support.tier": z.ZodUnion<readonly [z.ZodEnum<{
25994
- EMAIL: "EMAIL";
25995
- COMMUNITY: "COMMUNITY";
25996
- EMAIL_PRIORITY: "EMAIL_PRIORITY";
25997
- DEDICATED: "DEDICATED";
25998
- SLA: "SLA";
25999
- }>, z.ZodString]>;
26000
- }, z.core.$strip>;
26001
- }, z.core.$strip>;
26002
- export type PublicPlan = z.infer<typeof publicPlanSchema>;
26003
- /** 요금제 비교표 — `GET /v1/public/plans`(인증 없음, 캐시 가능). 값은 서버가 관리하고 언제든 바뀔 수 있다 */
26004
- export declare const publicPlansSchema: z.ZodObject<{
26005
- vatPercent: z.ZodNumber;
26006
- plans: z.ZodArray<z.ZodObject<{
26007
- code: z.ZodUnion<readonly [z.ZodEnum<{
26008
- FREE: "FREE";
26009
- BASIC: "BASIC";
26010
- BETA: "BETA";
26011
- PRO: "PRO";
26012
- BUSINESS: "BUSINESS";
26013
- ENTERPRISE: "ENTERPRISE";
26014
- PREMIUM: "PREMIUM";
26015
- }>, z.ZodString]>;
26016
- name: z.ZodString;
26017
- version: z.ZodNumber;
26018
- sort: z.ZodNumber;
26019
- purchasable: z.ZodBoolean;
26020
- prices: z.ZodObject<{
26021
- currency: z.ZodLiteral<"KRW">;
26022
- monthly: z.ZodNullable<z.ZodNumber>;
26023
- startingAt: z.ZodBoolean;
26024
- vatIncluded: z.ZodObject<{
26025
- monthly: z.ZodNullable<z.ZodNumber>;
26026
- }, z.core.$strip>;
26027
- }, z.core.$strip>;
26028
- entitlements: z.ZodObject<{
26029
- "features.admin_api": z.ZodBoolean;
26030
- "features.analytics": z.ZodBoolean;
26031
- "limits.ai_reads_monthly": z.ZodNullable<z.ZodNumber>;
26032
- "limits.ai_actions_monthly": z.ZodNullable<z.ZodNumber>;
26033
- "limits.custom_domains": z.ZodNullable<z.ZodNumber>;
26034
- "limits.webhooks": z.ZodNullable<z.ZodNumber>;
26035
- "limits.storefront_preview_hours_monthly": z.ZodNullable<z.ZodNumber>;
26036
- "limits.storefront_build_minutes_monthly": z.ZodNullable<z.ZodNumber>;
26037
- "limits.storefront_requests_monthly": z.ZodNullable<z.ZodNumber>;
26038
- "limits.admin_api_requests_monthly": z.ZodNullable<z.ZodNumber>;
26039
- "rate_limit.admin_api": z.ZodNullable<z.ZodNumber>;
26040
- "storefront.cpu_ms": z.ZodNumber;
26041
- "storefront.subrequests": z.ZodNumber;
26042
- "storefront.rate_limit_per_minute": z.ZodNumber;
26043
- "seats.included": z.ZodNullable<z.ZodNumber>;
26044
- "retention.analytics_days": z.ZodNumber;
26045
- "retention.api_logs_days": z.ZodNullable<z.ZodNumber>;
26046
- "retention.audit_days": z.ZodNullable<z.ZodNumber>;
26047
- "support.tier": z.ZodUnion<readonly [z.ZodEnum<{
26048
- EMAIL: "EMAIL";
26049
- COMMUNITY: "COMMUNITY";
26050
- EMAIL_PRIORITY: "EMAIL_PRIORITY";
26051
- DEDICATED: "DEDICATED";
26052
- SLA: "SLA";
26053
- }>, z.ZodString]>;
26054
- }, z.core.$strip>;
26055
- }, z.core.$strip>>;
26056
- }, z.core.$strip>;
26057
- export type PublicPlans = z.infer<typeof publicPlansSchema>;
26058
26346
  //#endregion
26059
26347
  //#region src/schemas/telemetry.d.ts
26060
26348
  /**