@vercel/sdk 1.10.5 → 1.10.7

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.
Files changed (226) hide show
  1. package/README.md +58 -45
  2. package/bin/mcp-server.js +5829 -1512
  3. package/bin/mcp-server.js.map +44 -35
  4. package/docs/sdks/integrations/README.md +209 -0
  5. package/docs/sdks/projects/README.md +4 -0
  6. package/docs/sdks/teams/README.md +12 -0
  7. package/docs/sdks/vercel/README.md +74 -0
  8. package/esm/__tests__/domains.test.js +7 -2
  9. package/esm/__tests__/domains.test.js.map +1 -1
  10. package/esm/__tests__/edgeconfig.test.js +6 -6
  11. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  12. package/esm/__tests__/integrations.test.js +62 -0
  13. package/esm/__tests__/integrations.test.js.map +1 -1
  14. package/esm/__tests__/rollingrelease.test.js +1 -1
  15. package/esm/__tests__/security.test.js +1 -11
  16. package/esm/__tests__/security.test.js.map +1 -1
  17. package/esm/__tests__/vercel.test.js +28 -1
  18. package/esm/__tests__/vercel.test.js.map +1 -1
  19. package/esm/funcs/domainsCheckDomainPrice.js +2 -2
  20. package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
  21. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +14 -0
  22. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
  23. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +84 -0
  24. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
  25. package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts +20 -0
  26. package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
  27. package/esm/funcs/integrationsConnectIntegrationResourceToProject.js +97 -0
  28. package/esm/funcs/integrationsConnectIntegrationResourceToProject.js.map +1 -0
  29. package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts +21 -0
  30. package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
  31. package/esm/funcs/integrationsCreateIntegrationStoreDirect.js +90 -0
  32. package/esm/funcs/integrationsCreateIntegrationStoreDirect.js.map +1 -0
  33. package/esm/funcs/marketplaceExchangeSsoToken.js +2 -2
  34. package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
  35. package/esm/funcs/marketplaceSubmitInvoice.js +2 -2
  36. package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
  37. package/esm/funcs/marketplaceUpdateInvoice.js +2 -2
  38. package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
  39. package/esm/funcs/projectsGetProjects.js +2 -0
  40. package/esm/funcs/projectsGetProjects.js.map +1 -1
  41. package/esm/lib/config.d.ts +3 -3
  42. package/esm/lib/config.js +3 -3
  43. package/esm/mcp-server/mcp-server.js +1 -1
  44. package/esm/mcp-server/server.d.ts.map +1 -1
  45. package/esm/mcp-server/server.js +7 -1
  46. package/esm/mcp-server/server.js.map +1 -1
  47. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +7 -0
  48. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
  49. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +26 -0
  50. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
  51. package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts +7 -0
  52. package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
  53. package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js +27 -0
  54. package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js.map +1 -0
  55. package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts +7 -0
  56. package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
  57. package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js +28 -0
  58. package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js.map +1 -0
  59. package/esm/models/acceptprojecttransferrequestop.d.ts +37 -0
  60. package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
  61. package/esm/models/acceptprojecttransferrequestop.js +40 -1
  62. package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
  63. package/esm/models/authuser.d.ts +3 -3
  64. package/esm/models/authuser.js +1 -1
  65. package/esm/models/authuser.js.map +1 -1
  66. package/esm/models/canceldeploymentop.d.ts +45 -7
  67. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  68. package/esm/models/canceldeploymentop.js +31 -2
  69. package/esm/models/canceldeploymentop.js.map +1 -1
  70. package/esm/models/connectintegrationresourcetoprojectop.d.ts +68 -0
  71. package/esm/models/connectintegrationresourcetoprojectop.d.ts.map +1 -0
  72. package/esm/models/connectintegrationresourcetoprojectop.js +73 -0
  73. package/esm/models/connectintegrationresourcetoprojectop.js.map +1 -0
  74. package/esm/models/createdeploymentop.d.ts +259 -221
  75. package/esm/models/createdeploymentop.d.ts.map +1 -1
  76. package/esm/models/createdeploymentop.js +233 -206
  77. package/esm/models/createdeploymentop.js.map +1 -1
  78. package/esm/models/createintegrationstoredirectop.d.ts +5995 -0
  79. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -0
  80. package/esm/models/createintegrationstoredirectop.js +6597 -0
  81. package/esm/models/createintegrationstoredirectop.js.map +1 -0
  82. package/esm/models/createprojectop.d.ts +31 -4
  83. package/esm/models/createprojectop.d.ts.map +1 -1
  84. package/esm/models/createprojectop.js +10 -4
  85. package/esm/models/createprojectop.js.map +1 -1
  86. package/esm/models/createwebhookop.d.ts +12 -0
  87. package/esm/models/createwebhookop.d.ts.map +1 -1
  88. package/esm/models/createwebhookop.js +4 -0
  89. package/esm/models/createwebhookop.js.map +1 -1
  90. package/esm/models/getconfigurationop.d.ts +6 -0
  91. package/esm/models/getconfigurationop.d.ts.map +1 -1
  92. package/esm/models/getconfigurationop.js +2 -0
  93. package/esm/models/getconfigurationop.js.map +1 -1
  94. package/esm/models/getconfigurationproductsop.d.ts +533 -533
  95. package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
  96. package/esm/models/getconfigurationproductsop.js +666 -665
  97. package/esm/models/getconfigurationproductsop.js.map +1 -1
  98. package/esm/models/getconfigurationsop.d.ts +6 -0
  99. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  100. package/esm/models/getconfigurationsop.js +2 -0
  101. package/esm/models/getconfigurationsop.js.map +1 -1
  102. package/esm/models/getdeploymentop.d.ts +45 -7
  103. package/esm/models/getdeploymentop.d.ts.map +1 -1
  104. package/esm/models/getdeploymentop.js +30 -2
  105. package/esm/models/getdeploymentop.js.map +1 -1
  106. package/esm/models/getintegrationresourceop.d.ts +13 -13
  107. package/esm/models/getintegrationresourceop.d.ts.map +1 -1
  108. package/esm/models/getintegrationresourceop.js +13 -13
  109. package/esm/models/getintegrationresourceop.js.map +1 -1
  110. package/esm/models/getprojectsop.d.ts +101 -4
  111. package/esm/models/getprojectsop.d.ts.map +1 -1
  112. package/esm/models/getprojectsop.js +57 -4
  113. package/esm/models/getprojectsop.js.map +1 -1
  114. package/esm/models/getteammembersop.d.ts +102 -9
  115. package/esm/models/getteammembersop.d.ts.map +1 -1
  116. package/esm/models/getteammembersop.js +60 -3
  117. package/esm/models/getteammembersop.js.map +1 -1
  118. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +247 -0
  119. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +1 -0
  120. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +246 -0
  121. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +1 -0
  122. package/esm/models/getwebhookop.d.ts +6 -0
  123. package/esm/models/getwebhookop.d.ts.map +1 -1
  124. package/esm/models/getwebhookop.js +2 -0
  125. package/esm/models/getwebhookop.js.map +1 -1
  126. package/esm/models/getwebhooksop.d.ts +27 -15
  127. package/esm/models/getwebhooksop.d.ts.map +1 -1
  128. package/esm/models/getwebhooksop.js +19 -15
  129. package/esm/models/getwebhooksop.js.map +1 -1
  130. package/esm/models/inviteusertoteamop.d.ts +3 -0
  131. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  132. package/esm/models/inviteusertoteamop.js +1 -0
  133. package/esm/models/inviteusertoteamop.js.map +1 -1
  134. package/esm/models/patchteamop.d.ts +253 -0
  135. package/esm/models/patchteamop.d.ts.map +1 -1
  136. package/esm/models/patchteamop.js +150 -0
  137. package/esm/models/patchteamop.js.map +1 -1
  138. package/esm/models/team.d.ts +47 -0
  139. package/esm/models/team.d.ts.map +1 -1
  140. package/esm/models/team.js +36 -0
  141. package/esm/models/team.js.map +1 -1
  142. package/esm/models/teamlimited.d.ts +3 -0
  143. package/esm/models/teamlimited.d.ts.map +1 -1
  144. package/esm/models/teamlimited.js +1 -0
  145. package/esm/models/teamlimited.js.map +1 -1
  146. package/esm/models/updatefirewallconfigop.d.ts +32 -32
  147. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  148. package/esm/models/updatefirewallconfigop.js +49 -49
  149. package/esm/models/updatefirewallconfigop.js.map +1 -1
  150. package/esm/models/updateinvoiceop.d.ts +36 -15
  151. package/esm/models/updateinvoiceop.d.ts.map +1 -1
  152. package/esm/models/updateinvoiceop.js +37 -16
  153. package/esm/models/updateinvoiceop.js.map +1 -1
  154. package/esm/models/updateprojectdatacacheop.d.ts +25 -0
  155. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  156. package/esm/models/updateprojectdatacacheop.js +4 -0
  157. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  158. package/esm/models/updateprojectop.d.ts +31 -4
  159. package/esm/models/updateprojectop.d.ts.map +1 -1
  160. package/esm/models/updateprojectop.js +10 -4
  161. package/esm/models/updateprojectop.js.map +1 -1
  162. package/esm/models/userevent.d.ts +406 -305
  163. package/esm/models/userevent.d.ts.map +1 -1
  164. package/esm/models/userevent.js +467 -365
  165. package/esm/models/userevent.js.map +1 -1
  166. package/esm/sdk/integrations.d.ts +16 -0
  167. package/esm/sdk/integrations.d.ts.map +1 -1
  168. package/esm/sdk/integrations.js +20 -0
  169. package/esm/sdk/integrations.js.map +1 -1
  170. package/esm/sdk/sdk.d.ts +3 -1
  171. package/esm/sdk/sdk.d.ts.map +1 -1
  172. package/esm/sdk/sdk.js +5 -0
  173. package/esm/sdk/sdk.js.map +1 -1
  174. package/examples/package-lock.json +1 -1
  175. package/jsr.json +1 -1
  176. package/package.json +1 -1
  177. package/src/__tests__/domains.test.ts +7 -2
  178. package/src/__tests__/edgeconfig.test.ts +6 -6
  179. package/src/__tests__/integrations.test.ts +65 -0
  180. package/src/__tests__/rollingrelease.test.ts +1 -1
  181. package/src/__tests__/security.test.ts +1 -11
  182. package/src/__tests__/vercel.test.ts +36 -1
  183. package/src/funcs/domainsCheckDomainPrice.ts +2 -2
  184. package/src/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +207 -0
  185. package/src/funcs/integrationsConnectIntegrationResourceToProject.ts +213 -0
  186. package/src/funcs/integrationsCreateIntegrationStoreDirect.ts +207 -0
  187. package/src/funcs/marketplaceExchangeSsoToken.ts +2 -2
  188. package/src/funcs/marketplaceSubmitInvoice.ts +2 -2
  189. package/src/funcs/marketplaceUpdateInvoice.ts +2 -2
  190. package/src/funcs/projectsGetProjects.ts +2 -0
  191. package/src/lib/config.ts +3 -3
  192. package/src/mcp-server/mcp-server.ts +1 -1
  193. package/src/mcp-server/server.ts +9 -1
  194. package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +41 -0
  195. package/src/mcp-server/tools/integrationsConnectIntegrationResourceToProject.ts +37 -0
  196. package/src/mcp-server/tools/integrationsCreateIntegrationStoreDirect.ts +39 -0
  197. package/src/models/acceptprojecttransferrequestop.ts +88 -1
  198. package/src/models/authuser.ts +1 -1
  199. package/src/models/canceldeploymentop.ts +56 -9
  200. package/src/models/connectintegrationresourcetoprojectop.ts +185 -0
  201. package/src/models/createdeploymentop.ts +540 -498
  202. package/src/models/createintegrationstoredirectop.ts +15739 -0
  203. package/src/models/createprojectop.ts +41 -8
  204. package/src/models/createwebhookop.ts +4 -0
  205. package/src/models/getconfigurationop.ts +2 -0
  206. package/src/models/getconfigurationproductsop.ts +1326 -1163
  207. package/src/models/getconfigurationsop.ts +2 -0
  208. package/src/models/getdeploymentop.ts +59 -9
  209. package/src/models/getintegrationresourceop.ts +26 -20
  210. package/src/models/getprojectsop.ts +122 -8
  211. package/src/models/getteammembersop.ts +84 -3
  212. package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +575 -0
  213. package/src/models/getwebhookop.ts +2 -0
  214. package/src/models/getwebhooksop.ts +31 -25
  215. package/src/models/inviteusertoteamop.ts +1 -0
  216. package/src/models/patchteamop.ts +254 -0
  217. package/src/models/team.ts +92 -0
  218. package/src/models/teamlimited.ts +1 -0
  219. package/src/models/updatefirewallconfigop.ts +74 -68
  220. package/src/models/updateinvoiceop.ts +78 -27
  221. package/src/models/updateprojectdatacacheop.ts +29 -0
  222. package/src/models/updateprojectop.ts +41 -8
  223. package/src/models/userevent.ts +918 -682
  224. package/src/sdk/integrations.ts +41 -0
  225. package/src/sdk/sdk.ts +23 -1
  226. package/vercel-spec.json +3689 -540
@@ -937,29 +937,40 @@ export declare const CreateDeploymentTarget: {
937
937
  readonly Staging: "staging";
938
938
  };
939
939
  export type CreateDeploymentTarget = ClosedEnum<typeof CreateDeploymentTarget>;
940
+ export type AliasError = {
941
+ code: string;
942
+ message: string;
943
+ };
940
944
  export type AliasWarning = {
941
945
  code: string;
942
946
  message: string;
943
947
  link?: string | undefined;
944
948
  action?: string | undefined;
945
949
  };
946
- export type AliasError = {
947
- code: string;
948
- message: string;
950
+ export declare const ChecksConclusion: {
951
+ readonly Succeeded: "succeeded";
952
+ readonly Failed: "failed";
953
+ readonly Skipped: "skipped";
954
+ readonly Canceled: "canceled";
949
955
  };
956
+ export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
950
957
  export declare const ChecksState: {
951
958
  readonly Registered: "registered";
952
959
  readonly Running: "running";
953
960
  readonly Completed: "completed";
954
961
  };
955
962
  export type ChecksState = ClosedEnum<typeof ChecksState>;
956
- export declare const ChecksConclusion: {
957
- readonly Succeeded: "succeeded";
958
- readonly Failed: "failed";
959
- readonly Skipped: "skipped";
960
- readonly Canceled: "canceled";
963
+ export type OidcTokenClaims = {
964
+ iss: string;
965
+ sub: string;
966
+ scope: string;
967
+ aud: string;
968
+ owner: string;
969
+ ownerId: string;
970
+ project: string;
971
+ projectId: string;
972
+ environment: string;
961
973
  };
962
- export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
963
974
  /**
964
975
  * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
965
976
  */
@@ -972,17 +983,6 @@ export declare const ReadySubstate: {
972
983
  * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
973
984
  */
974
985
  export type ReadySubstate = ClosedEnum<typeof ReadySubstate>;
975
- export type OidcTokenClaims = {
976
- iss: string;
977
- sub: string;
978
- scope: string;
979
- aud: string;
980
- owner: string;
981
- ownerId: string;
982
- project: string;
983
- projectId: string;
984
- environment: string;
985
- };
986
986
  export declare const CreateDeploymentPlan: {
987
987
  readonly Hobby: "hobby";
988
988
  readonly Pro: "pro";
@@ -1064,6 +1064,7 @@ export type Functions = {
1064
1064
  includeFiles?: string | undefined;
1065
1065
  excludeFiles?: string | undefined;
1066
1066
  experimentalTriggers?: Array<ExperimentalTriggers> | undefined;
1067
+ supportsCancellation?: boolean | undefined;
1067
1068
  };
1068
1069
  export type Routes3 = {
1069
1070
  src: string;
@@ -1292,7 +1293,7 @@ export type CreateDeploymentChecks = {
1292
1293
  deploymentAlias: DeploymentAlias;
1293
1294
  };
1294
1295
  /**
1295
- * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1296
+ * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
1296
1297
  */
1297
1298
  export type CreateDeploymentMicrofrontendsApplications = {
1298
1299
  isDefaultApp?: boolean | undefined;
@@ -1306,14 +1307,30 @@ export type CreateDeploymentMicrofrontendsApplications = {
1306
1307
  deploymentAlias?: string | undefined;
1307
1308
  deploymentHost?: string | undefined;
1308
1309
  };
1310
+ /**
1311
+ * The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
1312
+ */
1313
+ export declare const MfeConfigUploadState: {
1314
+ readonly Error: "error";
1315
+ readonly Success: "success";
1316
+ readonly NoConfig: "no_config";
1317
+ };
1318
+ /**
1319
+ * The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
1320
+ */
1321
+ export type MfeConfigUploadState = ClosedEnum<typeof MfeConfigUploadState>;
1309
1322
  export type CreateDeploymentMicrofrontends2 = {
1323
+ isDefaultApp: boolean;
1310
1324
  /**
1311
- * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1325
+ * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment. Note: this field will be removed when MFE alias routing is fully rolled out.
1312
1326
  */
1313
1327
  applications?: {
1314
1328
  [k: string]: CreateDeploymentMicrofrontendsApplications;
1315
1329
  } | undefined;
1316
- isDefaultApp: boolean;
1330
+ /**
1331
+ * The result of the microfrontends config upload during deployment creation. Only set for default app deployments. - `success` - The config was uploaded successfully. - `error` - The config upload failed. - `no_config` - No config was found to upload. - `undefined` - The config upload has not been attempted yet.
1332
+ */
1333
+ mfeConfigUploadState?: MfeConfigUploadState | undefined;
1317
1334
  /**
1318
1335
  * The project name of the default app of this deployment's microfrontends group.
1319
1336
  */
@@ -1332,9 +1349,6 @@ export type CreateDeploymentMicrofrontends2 = {
1332
1349
  microfrontendsAlias2Enabled?: boolean | undefined;
1333
1350
  };
1334
1351
  export type CreateDeploymentMicrofrontends1 = {
1335
- /**
1336
- * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
1337
- */
1338
1352
  isDefaultApp?: boolean | undefined;
1339
1353
  /**
1340
1354
  * The project name of the default app of this deployment's microfrontends group.
@@ -1354,6 +1368,28 @@ export type CreateDeploymentMicrofrontends1 = {
1354
1368
  microfrontendsAlias2Enabled?: boolean | undefined;
1355
1369
  };
1356
1370
  export type CreateDeploymentMicrofrontends = CreateDeploymentMicrofrontends2 | CreateDeploymentMicrofrontends1;
1371
+ /**
1372
+ * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
1373
+ */
1374
+ export type Flags2 = {};
1375
+ export type Options = {
1376
+ value: FlagJSONValue | null;
1377
+ label?: string | undefined;
1378
+ };
1379
+ export type FlagsDefinitions = {
1380
+ options?: Array<Options> | undefined;
1381
+ url?: string | undefined;
1382
+ description?: string | undefined;
1383
+ };
1384
+ /**
1385
+ * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
1386
+ */
1387
+ export type Flags1 = {
1388
+ definitions: {
1389
+ [k: string]: FlagsDefinitions;
1390
+ };
1391
+ };
1392
+ export type Flags = Flags1 | Array<Flags2>;
1357
1393
  export declare const CreateDeploymentGitRepoDeploymentsType: {
1358
1394
  readonly Bitbucket: "bitbucket";
1359
1395
  };
@@ -1417,28 +1453,6 @@ export type GitRepo1 = {
1417
1453
  ownerType: OwnerType;
1418
1454
  };
1419
1455
  export type GitRepo = GitRepo2 | GitRepo3 | GitRepo1;
1420
- /**
1421
- * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
1422
- */
1423
- export type Flags2 = {};
1424
- export type Options = {
1425
- value: FlagJSONValue | null;
1426
- label?: string | undefined;
1427
- };
1428
- export type FlagsDefinitions = {
1429
- options?: Array<Options> | undefined;
1430
- url?: string | undefined;
1431
- description?: string | undefined;
1432
- };
1433
- /**
1434
- * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
1435
- */
1436
- export type Flags1 = {
1437
- definitions: {
1438
- [k: string]: FlagsDefinitions;
1439
- };
1440
- };
1441
- export type Flags = Flags1 | Array<Flags2>;
1442
1456
  /**
1443
1457
  * The successfully created deployment
1444
1458
  */
@@ -1506,22 +1520,23 @@ export type CreateDeploymentResponseBody = {
1506
1520
  */
1507
1521
  passiveRegions?: Array<string> | undefined;
1508
1522
  regions: Array<string>;
1509
- aliasWarning?: AliasWarning | null | undefined;
1510
1523
  aliasError?: AliasError | null | undefined;
1511
1524
  aliasFinal?: string | null | undefined;
1525
+ aliasWarning?: AliasWarning | null | undefined;
1512
1526
  automaticAliases?: Array<string> | undefined;
1513
1527
  buildErrorAt?: number | undefined;
1514
- checksState?: ChecksState | undefined;
1528
+ canceledAt?: number | undefined;
1515
1529
  checksConclusion?: ChecksConclusion | undefined;
1530
+ checksState?: ChecksState | undefined;
1516
1531
  /**
1517
1532
  * Computed field that is only available for deployments with a microfrontend configuration.
1518
1533
  */
1519
1534
  defaultRoute?: string | undefined;
1520
- canceledAt?: number | undefined;
1521
1535
  errorCode?: string | undefined;
1522
1536
  errorLink?: string | undefined;
1523
1537
  errorStep?: string | undefined;
1524
1538
  originCacheRegion?: string | undefined;
1539
+ oidcTokenClaims?: OidcTokenClaims | undefined;
1525
1540
  /**
1526
1541
  * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
1527
1542
  */
@@ -1529,7 +1544,6 @@ export type CreateDeploymentResponseBody = {
1529
1544
  softDeletedByRetention?: boolean | undefined;
1530
1545
  undeletedAt?: number | undefined;
1531
1546
  url: string;
1532
- oidcTokenClaims?: OidcTokenClaims | undefined;
1533
1547
  projectId: string;
1534
1548
  ownerId: string;
1535
1549
  monorepoManager?: string | null | undefined;
@@ -1552,8 +1566,8 @@ export type CreateDeploymentResponseBody = {
1552
1566
  * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
1553
1567
  */
1554
1568
  passiveConnectConfigurationId?: string | undefined;
1555
- gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined;
1556
1569
  flags?: Flags1 | Array<Flags2> | undefined;
1570
+ gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined;
1557
1571
  };
1558
1572
  /** @internal */
1559
1573
  export declare const ForceNew$inboundSchema: z.ZodNativeEnum<typeof ForceNew>;
@@ -3983,31 +3997,6 @@ export declare namespace CreateDeploymentTarget$ {
3983
3997
  }>;
3984
3998
  }
3985
3999
  /** @internal */
3986
- export declare const AliasWarning$inboundSchema: z.ZodType<AliasWarning, z.ZodTypeDef, unknown>;
3987
- /** @internal */
3988
- export type AliasWarning$Outbound = {
3989
- code: string;
3990
- message: string;
3991
- link?: string | undefined;
3992
- action?: string | undefined;
3993
- };
3994
- /** @internal */
3995
- export declare const AliasWarning$outboundSchema: z.ZodType<AliasWarning$Outbound, z.ZodTypeDef, AliasWarning>;
3996
- /**
3997
- * @internal
3998
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3999
- */
4000
- export declare namespace AliasWarning$ {
4001
- /** @deprecated use `AliasWarning$inboundSchema` instead. */
4002
- const inboundSchema: z.ZodType<AliasWarning, z.ZodTypeDef, unknown>;
4003
- /** @deprecated use `AliasWarning$outboundSchema` instead. */
4004
- const outboundSchema: z.ZodType<AliasWarning$Outbound, z.ZodTypeDef, AliasWarning>;
4005
- /** @deprecated use `AliasWarning$Outbound` instead. */
4006
- type Outbound = AliasWarning$Outbound;
4007
- }
4008
- export declare function aliasWarningToJSON(aliasWarning: AliasWarning): string;
4009
- export declare function aliasWarningFromJSON(jsonString: string): SafeParseResult<AliasWarning, SDKValidationError>;
4010
- /** @internal */
4011
4000
  export declare const AliasError$inboundSchema: z.ZodType<AliasError, z.ZodTypeDef, unknown>;
4012
4001
  /** @internal */
4013
4002
  export type AliasError$Outbound = {
@@ -4031,27 +4020,30 @@ export declare namespace AliasError$ {
4031
4020
  export declare function aliasErrorToJSON(aliasError: AliasError): string;
4032
4021
  export declare function aliasErrorFromJSON(jsonString: string): SafeParseResult<AliasError, SDKValidationError>;
4033
4022
  /** @internal */
4034
- export declare const ChecksState$inboundSchema: z.ZodNativeEnum<typeof ChecksState>;
4023
+ export declare const AliasWarning$inboundSchema: z.ZodType<AliasWarning, z.ZodTypeDef, unknown>;
4035
4024
  /** @internal */
4036
- export declare const ChecksState$outboundSchema: z.ZodNativeEnum<typeof ChecksState>;
4025
+ export type AliasWarning$Outbound = {
4026
+ code: string;
4027
+ message: string;
4028
+ link?: string | undefined;
4029
+ action?: string | undefined;
4030
+ };
4031
+ /** @internal */
4032
+ export declare const AliasWarning$outboundSchema: z.ZodType<AliasWarning$Outbound, z.ZodTypeDef, AliasWarning>;
4037
4033
  /**
4038
4034
  * @internal
4039
4035
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4040
4036
  */
4041
- export declare namespace ChecksState$ {
4042
- /** @deprecated use `ChecksState$inboundSchema` instead. */
4043
- const inboundSchema: z.ZodNativeEnum<{
4044
- readonly Registered: "registered";
4045
- readonly Running: "running";
4046
- readonly Completed: "completed";
4047
- }>;
4048
- /** @deprecated use `ChecksState$outboundSchema` instead. */
4049
- const outboundSchema: z.ZodNativeEnum<{
4050
- readonly Registered: "registered";
4051
- readonly Running: "running";
4052
- readonly Completed: "completed";
4053
- }>;
4037
+ export declare namespace AliasWarning$ {
4038
+ /** @deprecated use `AliasWarning$inboundSchema` instead. */
4039
+ const inboundSchema: z.ZodType<AliasWarning, z.ZodTypeDef, unknown>;
4040
+ /** @deprecated use `AliasWarning$outboundSchema` instead. */
4041
+ const outboundSchema: z.ZodType<AliasWarning$Outbound, z.ZodTypeDef, AliasWarning>;
4042
+ /** @deprecated use `AliasWarning$Outbound` instead. */
4043
+ type Outbound = AliasWarning$Outbound;
4054
4044
  }
4045
+ export declare function aliasWarningToJSON(aliasWarning: AliasWarning): string;
4046
+ export declare function aliasWarningFromJSON(jsonString: string): SafeParseResult<AliasWarning, SDKValidationError>;
4055
4047
  /** @internal */
4056
4048
  export declare const ChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof ChecksConclusion>;
4057
4049
  /** @internal */
@@ -4077,25 +4069,25 @@ export declare namespace ChecksConclusion$ {
4077
4069
  }>;
4078
4070
  }
4079
4071
  /** @internal */
4080
- export declare const ReadySubstate$inboundSchema: z.ZodNativeEnum<typeof ReadySubstate>;
4072
+ export declare const ChecksState$inboundSchema: z.ZodNativeEnum<typeof ChecksState>;
4081
4073
  /** @internal */
4082
- export declare const ReadySubstate$outboundSchema: z.ZodNativeEnum<typeof ReadySubstate>;
4074
+ export declare const ChecksState$outboundSchema: z.ZodNativeEnum<typeof ChecksState>;
4083
4075
  /**
4084
4076
  * @internal
4085
4077
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4086
4078
  */
4087
- export declare namespace ReadySubstate$ {
4088
- /** @deprecated use `ReadySubstate$inboundSchema` instead. */
4079
+ export declare namespace ChecksState$ {
4080
+ /** @deprecated use `ChecksState$inboundSchema` instead. */
4089
4081
  const inboundSchema: z.ZodNativeEnum<{
4090
- readonly Staged: "STAGED";
4091
- readonly Rolling: "ROLLING";
4092
- readonly Promoted: "PROMOTED";
4082
+ readonly Registered: "registered";
4083
+ readonly Running: "running";
4084
+ readonly Completed: "completed";
4093
4085
  }>;
4094
- /** @deprecated use `ReadySubstate$outboundSchema` instead. */
4086
+ /** @deprecated use `ChecksState$outboundSchema` instead. */
4095
4087
  const outboundSchema: z.ZodNativeEnum<{
4096
- readonly Staged: "STAGED";
4097
- readonly Rolling: "ROLLING";
4098
- readonly Promoted: "PROMOTED";
4088
+ readonly Registered: "registered";
4089
+ readonly Running: "running";
4090
+ readonly Completed: "completed";
4099
4091
  }>;
4100
4092
  }
4101
4093
  /** @internal */
@@ -4129,6 +4121,28 @@ export declare namespace OidcTokenClaims$ {
4129
4121
  export declare function oidcTokenClaimsToJSON(oidcTokenClaims: OidcTokenClaims): string;
4130
4122
  export declare function oidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<OidcTokenClaims, SDKValidationError>;
4131
4123
  /** @internal */
4124
+ export declare const ReadySubstate$inboundSchema: z.ZodNativeEnum<typeof ReadySubstate>;
4125
+ /** @internal */
4126
+ export declare const ReadySubstate$outboundSchema: z.ZodNativeEnum<typeof ReadySubstate>;
4127
+ /**
4128
+ * @internal
4129
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4130
+ */
4131
+ export declare namespace ReadySubstate$ {
4132
+ /** @deprecated use `ReadySubstate$inboundSchema` instead. */
4133
+ const inboundSchema: z.ZodNativeEnum<{
4134
+ readonly Staged: "STAGED";
4135
+ readonly Rolling: "ROLLING";
4136
+ readonly Promoted: "PROMOTED";
4137
+ }>;
4138
+ /** @deprecated use `ReadySubstate$outboundSchema` instead. */
4139
+ const outboundSchema: z.ZodNativeEnum<{
4140
+ readonly Staged: "STAGED";
4141
+ readonly Rolling: "ROLLING";
4142
+ readonly Promoted: "PROMOTED";
4143
+ }>;
4144
+ }
4145
+ /** @internal */
4132
4146
  export declare const CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentPlan>;
4133
4147
  /** @internal */
4134
4148
  export declare const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentPlan>;
@@ -4296,6 +4310,7 @@ export type Functions$Outbound = {
4296
4310
  includeFiles?: string | undefined;
4297
4311
  excludeFiles?: string | undefined;
4298
4312
  experimentalTriggers?: Array<ExperimentalTriggers$Outbound> | undefined;
4313
+ supportsCancellation?: boolean | undefined;
4299
4314
  };
4300
4315
  /** @internal */
4301
4316
  export declare const Functions$outboundSchema: z.ZodType<Functions$Outbound, z.ZodTypeDef, Functions>;
@@ -5319,13 +5334,36 @@ export declare namespace CreateDeploymentMicrofrontendsApplications$ {
5319
5334
  export declare function createDeploymentMicrofrontendsApplicationsToJSON(createDeploymentMicrofrontendsApplications: CreateDeploymentMicrofrontendsApplications): string;
5320
5335
  export declare function createDeploymentMicrofrontendsApplicationsFromJSON(jsonString: string): SafeParseResult<CreateDeploymentMicrofrontendsApplications, SDKValidationError>;
5321
5336
  /** @internal */
5337
+ export declare const MfeConfigUploadState$inboundSchema: z.ZodNativeEnum<typeof MfeConfigUploadState>;
5338
+ /** @internal */
5339
+ export declare const MfeConfigUploadState$outboundSchema: z.ZodNativeEnum<typeof MfeConfigUploadState>;
5340
+ /**
5341
+ * @internal
5342
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5343
+ */
5344
+ export declare namespace MfeConfigUploadState$ {
5345
+ /** @deprecated use `MfeConfigUploadState$inboundSchema` instead. */
5346
+ const inboundSchema: z.ZodNativeEnum<{
5347
+ readonly Error: "error";
5348
+ readonly Success: "success";
5349
+ readonly NoConfig: "no_config";
5350
+ }>;
5351
+ /** @deprecated use `MfeConfigUploadState$outboundSchema` instead. */
5352
+ const outboundSchema: z.ZodNativeEnum<{
5353
+ readonly Error: "error";
5354
+ readonly Success: "success";
5355
+ readonly NoConfig: "no_config";
5356
+ }>;
5357
+ }
5358
+ /** @internal */
5322
5359
  export declare const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType<CreateDeploymentMicrofrontends2, z.ZodTypeDef, unknown>;
5323
5360
  /** @internal */
5324
5361
  export type CreateDeploymentMicrofrontends2$Outbound = {
5362
+ isDefaultApp: boolean;
5325
5363
  applications?: {
5326
5364
  [k: string]: CreateDeploymentMicrofrontendsApplications$Outbound;
5327
5365
  } | undefined;
5328
- isDefaultApp: boolean;
5366
+ mfeConfigUploadState?: string | undefined;
5329
5367
  defaultAppProjectName: string;
5330
5368
  defaultRoute?: string | undefined;
5331
5369
  groupIds: Array<string>;
@@ -5394,6 +5432,117 @@ export declare namespace CreateDeploymentMicrofrontends$ {
5394
5432
  export declare function createDeploymentMicrofrontendsToJSON(createDeploymentMicrofrontends: CreateDeploymentMicrofrontends): string;
5395
5433
  export declare function createDeploymentMicrofrontendsFromJSON(jsonString: string): SafeParseResult<CreateDeploymentMicrofrontends, SDKValidationError>;
5396
5434
  /** @internal */
5435
+ export declare const Flags2$inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown>;
5436
+ /** @internal */
5437
+ export type Flags2$Outbound = {};
5438
+ /** @internal */
5439
+ export declare const Flags2$outboundSchema: z.ZodType<Flags2$Outbound, z.ZodTypeDef, Flags2>;
5440
+ /**
5441
+ * @internal
5442
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5443
+ */
5444
+ export declare namespace Flags2$ {
5445
+ /** @deprecated use `Flags2$inboundSchema` instead. */
5446
+ const inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown>;
5447
+ /** @deprecated use `Flags2$outboundSchema` instead. */
5448
+ const outboundSchema: z.ZodType<Flags2$Outbound, z.ZodTypeDef, Flags2>;
5449
+ /** @deprecated use `Flags2$Outbound` instead. */
5450
+ type Outbound = Flags2$Outbound;
5451
+ }
5452
+ export declare function flags2ToJSON(flags2: Flags2): string;
5453
+ export declare function flags2FromJSON(jsonString: string): SafeParseResult<Flags2, SDKValidationError>;
5454
+ /** @internal */
5455
+ export declare const Options$inboundSchema: z.ZodType<Options, z.ZodTypeDef, unknown>;
5456
+ /** @internal */
5457
+ export type Options$Outbound = {
5458
+ value: FlagJSONValue$Outbound | null;
5459
+ label?: string | undefined;
5460
+ };
5461
+ /** @internal */
5462
+ export declare const Options$outboundSchema: z.ZodType<Options$Outbound, z.ZodTypeDef, Options>;
5463
+ /**
5464
+ * @internal
5465
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5466
+ */
5467
+ export declare namespace Options$ {
5468
+ /** @deprecated use `Options$inboundSchema` instead. */
5469
+ const inboundSchema: z.ZodType<Options, z.ZodTypeDef, unknown>;
5470
+ /** @deprecated use `Options$outboundSchema` instead. */
5471
+ const outboundSchema: z.ZodType<Options$Outbound, z.ZodTypeDef, Options>;
5472
+ /** @deprecated use `Options$Outbound` instead. */
5473
+ type Outbound = Options$Outbound;
5474
+ }
5475
+ export declare function optionsToJSON(options: Options): string;
5476
+ export declare function optionsFromJSON(jsonString: string): SafeParseResult<Options, SDKValidationError>;
5477
+ /** @internal */
5478
+ export declare const FlagsDefinitions$inboundSchema: z.ZodType<FlagsDefinitions, z.ZodTypeDef, unknown>;
5479
+ /** @internal */
5480
+ export type FlagsDefinitions$Outbound = {
5481
+ options?: Array<Options$Outbound> | undefined;
5482
+ url?: string | undefined;
5483
+ description?: string | undefined;
5484
+ };
5485
+ /** @internal */
5486
+ export declare const FlagsDefinitions$outboundSchema: z.ZodType<FlagsDefinitions$Outbound, z.ZodTypeDef, FlagsDefinitions>;
5487
+ /**
5488
+ * @internal
5489
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5490
+ */
5491
+ export declare namespace FlagsDefinitions$ {
5492
+ /** @deprecated use `FlagsDefinitions$inboundSchema` instead. */
5493
+ const inboundSchema: z.ZodType<FlagsDefinitions, z.ZodTypeDef, unknown>;
5494
+ /** @deprecated use `FlagsDefinitions$outboundSchema` instead. */
5495
+ const outboundSchema: z.ZodType<FlagsDefinitions$Outbound, z.ZodTypeDef, FlagsDefinitions>;
5496
+ /** @deprecated use `FlagsDefinitions$Outbound` instead. */
5497
+ type Outbound = FlagsDefinitions$Outbound;
5498
+ }
5499
+ export declare function flagsDefinitionsToJSON(flagsDefinitions: FlagsDefinitions): string;
5500
+ export declare function flagsDefinitionsFromJSON(jsonString: string): SafeParseResult<FlagsDefinitions, SDKValidationError>;
5501
+ /** @internal */
5502
+ export declare const Flags1$inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown>;
5503
+ /** @internal */
5504
+ export type Flags1$Outbound = {
5505
+ definitions: {
5506
+ [k: string]: FlagsDefinitions$Outbound;
5507
+ };
5508
+ };
5509
+ /** @internal */
5510
+ export declare const Flags1$outboundSchema: z.ZodType<Flags1$Outbound, z.ZodTypeDef, Flags1>;
5511
+ /**
5512
+ * @internal
5513
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5514
+ */
5515
+ export declare namespace Flags1$ {
5516
+ /** @deprecated use `Flags1$inboundSchema` instead. */
5517
+ const inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown>;
5518
+ /** @deprecated use `Flags1$outboundSchema` instead. */
5519
+ const outboundSchema: z.ZodType<Flags1$Outbound, z.ZodTypeDef, Flags1>;
5520
+ /** @deprecated use `Flags1$Outbound` instead. */
5521
+ type Outbound = Flags1$Outbound;
5522
+ }
5523
+ export declare function flags1ToJSON(flags1: Flags1): string;
5524
+ export declare function flags1FromJSON(jsonString: string): SafeParseResult<Flags1, SDKValidationError>;
5525
+ /** @internal */
5526
+ export declare const Flags$inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown>;
5527
+ /** @internal */
5528
+ export type Flags$Outbound = Flags1$Outbound | Array<Flags2$Outbound>;
5529
+ /** @internal */
5530
+ export declare const Flags$outboundSchema: z.ZodType<Flags$Outbound, z.ZodTypeDef, Flags>;
5531
+ /**
5532
+ * @internal
5533
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5534
+ */
5535
+ export declare namespace Flags$ {
5536
+ /** @deprecated use `Flags$inboundSchema` instead. */
5537
+ const inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown>;
5538
+ /** @deprecated use `Flags$outboundSchema` instead. */
5539
+ const outboundSchema: z.ZodType<Flags$Outbound, z.ZodTypeDef, Flags>;
5540
+ /** @deprecated use `Flags$Outbound` instead. */
5541
+ type Outbound = Flags$Outbound;
5542
+ }
5543
+ export declare function flagsToJSON(flags: Flags): string;
5544
+ export declare function flagsFromJSON(jsonString: string): SafeParseResult<Flags, SDKValidationError>;
5545
+ /** @internal */
5397
5546
  export declare const CreateDeploymentGitRepoDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitRepoDeploymentsType>;
5398
5547
  /** @internal */
5399
5548
  export declare const CreateDeploymentGitRepoDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof CreateDeploymentGitRepoDeploymentsType>;
@@ -5620,117 +5769,6 @@ export declare namespace GitRepo$ {
5620
5769
  export declare function gitRepoToJSON(gitRepo: GitRepo): string;
5621
5770
  export declare function gitRepoFromJSON(jsonString: string): SafeParseResult<GitRepo, SDKValidationError>;
5622
5771
  /** @internal */
5623
- export declare const Flags2$inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown>;
5624
- /** @internal */
5625
- export type Flags2$Outbound = {};
5626
- /** @internal */
5627
- export declare const Flags2$outboundSchema: z.ZodType<Flags2$Outbound, z.ZodTypeDef, Flags2>;
5628
- /**
5629
- * @internal
5630
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5631
- */
5632
- export declare namespace Flags2$ {
5633
- /** @deprecated use `Flags2$inboundSchema` instead. */
5634
- const inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown>;
5635
- /** @deprecated use `Flags2$outboundSchema` instead. */
5636
- const outboundSchema: z.ZodType<Flags2$Outbound, z.ZodTypeDef, Flags2>;
5637
- /** @deprecated use `Flags2$Outbound` instead. */
5638
- type Outbound = Flags2$Outbound;
5639
- }
5640
- export declare function flags2ToJSON(flags2: Flags2): string;
5641
- export declare function flags2FromJSON(jsonString: string): SafeParseResult<Flags2, SDKValidationError>;
5642
- /** @internal */
5643
- export declare const Options$inboundSchema: z.ZodType<Options, z.ZodTypeDef, unknown>;
5644
- /** @internal */
5645
- export type Options$Outbound = {
5646
- value: FlagJSONValue$Outbound | null;
5647
- label?: string | undefined;
5648
- };
5649
- /** @internal */
5650
- export declare const Options$outboundSchema: z.ZodType<Options$Outbound, z.ZodTypeDef, Options>;
5651
- /**
5652
- * @internal
5653
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5654
- */
5655
- export declare namespace Options$ {
5656
- /** @deprecated use `Options$inboundSchema` instead. */
5657
- const inboundSchema: z.ZodType<Options, z.ZodTypeDef, unknown>;
5658
- /** @deprecated use `Options$outboundSchema` instead. */
5659
- const outboundSchema: z.ZodType<Options$Outbound, z.ZodTypeDef, Options>;
5660
- /** @deprecated use `Options$Outbound` instead. */
5661
- type Outbound = Options$Outbound;
5662
- }
5663
- export declare function optionsToJSON(options: Options): string;
5664
- export declare function optionsFromJSON(jsonString: string): SafeParseResult<Options, SDKValidationError>;
5665
- /** @internal */
5666
- export declare const FlagsDefinitions$inboundSchema: z.ZodType<FlagsDefinitions, z.ZodTypeDef, unknown>;
5667
- /** @internal */
5668
- export type FlagsDefinitions$Outbound = {
5669
- options?: Array<Options$Outbound> | undefined;
5670
- url?: string | undefined;
5671
- description?: string | undefined;
5672
- };
5673
- /** @internal */
5674
- export declare const FlagsDefinitions$outboundSchema: z.ZodType<FlagsDefinitions$Outbound, z.ZodTypeDef, FlagsDefinitions>;
5675
- /**
5676
- * @internal
5677
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5678
- */
5679
- export declare namespace FlagsDefinitions$ {
5680
- /** @deprecated use `FlagsDefinitions$inboundSchema` instead. */
5681
- const inboundSchema: z.ZodType<FlagsDefinitions, z.ZodTypeDef, unknown>;
5682
- /** @deprecated use `FlagsDefinitions$outboundSchema` instead. */
5683
- const outboundSchema: z.ZodType<FlagsDefinitions$Outbound, z.ZodTypeDef, FlagsDefinitions>;
5684
- /** @deprecated use `FlagsDefinitions$Outbound` instead. */
5685
- type Outbound = FlagsDefinitions$Outbound;
5686
- }
5687
- export declare function flagsDefinitionsToJSON(flagsDefinitions: FlagsDefinitions): string;
5688
- export declare function flagsDefinitionsFromJSON(jsonString: string): SafeParseResult<FlagsDefinitions, SDKValidationError>;
5689
- /** @internal */
5690
- export declare const Flags1$inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown>;
5691
- /** @internal */
5692
- export type Flags1$Outbound = {
5693
- definitions: {
5694
- [k: string]: FlagsDefinitions$Outbound;
5695
- };
5696
- };
5697
- /** @internal */
5698
- export declare const Flags1$outboundSchema: z.ZodType<Flags1$Outbound, z.ZodTypeDef, Flags1>;
5699
- /**
5700
- * @internal
5701
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5702
- */
5703
- export declare namespace Flags1$ {
5704
- /** @deprecated use `Flags1$inboundSchema` instead. */
5705
- const inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown>;
5706
- /** @deprecated use `Flags1$outboundSchema` instead. */
5707
- const outboundSchema: z.ZodType<Flags1$Outbound, z.ZodTypeDef, Flags1>;
5708
- /** @deprecated use `Flags1$Outbound` instead. */
5709
- type Outbound = Flags1$Outbound;
5710
- }
5711
- export declare function flags1ToJSON(flags1: Flags1): string;
5712
- export declare function flags1FromJSON(jsonString: string): SafeParseResult<Flags1, SDKValidationError>;
5713
- /** @internal */
5714
- export declare const Flags$inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown>;
5715
- /** @internal */
5716
- export type Flags$Outbound = Flags1$Outbound | Array<Flags2$Outbound>;
5717
- /** @internal */
5718
- export declare const Flags$outboundSchema: z.ZodType<Flags$Outbound, z.ZodTypeDef, Flags>;
5719
- /**
5720
- * @internal
5721
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5722
- */
5723
- export declare namespace Flags$ {
5724
- /** @deprecated use `Flags$inboundSchema` instead. */
5725
- const inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown>;
5726
- /** @deprecated use `Flags$outboundSchema` instead. */
5727
- const outboundSchema: z.ZodType<Flags$Outbound, z.ZodTypeDef, Flags>;
5728
- /** @deprecated use `Flags$Outbound` instead. */
5729
- type Outbound = Flags$Outbound;
5730
- }
5731
- export declare function flagsToJSON(flags: Flags): string;
5732
- export declare function flagsFromJSON(jsonString: string): SafeParseResult<Flags, SDKValidationError>;
5733
- /** @internal */
5734
5772
  export declare const CreateDeploymentResponseBody$inboundSchema: z.ZodType<CreateDeploymentResponseBody, z.ZodTypeDef, unknown>;
5735
5773
  /** @internal */
5736
5774
  export type CreateDeploymentResponseBody$Outbound = {
@@ -5785,24 +5823,24 @@ export type CreateDeploymentResponseBody$Outbound = {
5785
5823
  errorMessage?: string | null | undefined;
5786
5824
  passiveRegions?: Array<string> | undefined;
5787
5825
  regions: Array<string>;
5788
- aliasWarning?: AliasWarning$Outbound | null | undefined;
5789
5826
  aliasError?: AliasError$Outbound | null | undefined;
5790
5827
  aliasFinal?: string | null | undefined;
5828
+ aliasWarning?: AliasWarning$Outbound | null | undefined;
5791
5829
  automaticAliases?: Array<string> | undefined;
5792
5830
  buildErrorAt?: number | undefined;
5793
- checksState?: string | undefined;
5831
+ canceledAt?: number | undefined;
5794
5832
  checksConclusion?: string | undefined;
5833
+ checksState?: string | undefined;
5795
5834
  defaultRoute?: string | undefined;
5796
- canceledAt?: number | undefined;
5797
5835
  errorCode?: string | undefined;
5798
5836
  errorLink?: string | undefined;
5799
5837
  errorStep?: string | undefined;
5800
5838
  originCacheRegion?: string | undefined;
5839
+ oidcTokenClaims?: OidcTokenClaims$Outbound | undefined;
5801
5840
  readySubstate?: string | undefined;
5802
5841
  softDeletedByRetention?: boolean | undefined;
5803
5842
  undeletedAt?: number | undefined;
5804
5843
  url: string;
5805
- oidcTokenClaims?: OidcTokenClaims$Outbound | undefined;
5806
5844
  projectId: string;
5807
5845
  ownerId: string;
5808
5846
  monorepoManager?: string | null | undefined;
@@ -5819,8 +5857,8 @@ export type CreateDeploymentResponseBody$Outbound = {
5819
5857
  connectConfigurationId?: string | undefined;
5820
5858
  createdIn: string;
5821
5859
  passiveConnectConfigurationId?: string | undefined;
5822
- gitRepo?: GitRepo2$Outbound | GitRepo3$Outbound | GitRepo1$Outbound | null | undefined;
5823
5860
  flags?: Flags1$Outbound | Array<Flags2$Outbound> | undefined;
5861
+ gitRepo?: GitRepo2$Outbound | GitRepo3$Outbound | GitRepo1$Outbound | null | undefined;
5824
5862
  };
5825
5863
  /** @internal */
5826
5864
  export declare const CreateDeploymentResponseBody$outboundSchema: z.ZodType<CreateDeploymentResponseBody$Outbound, z.ZodTypeDef, CreateDeploymentResponseBody>;