@vercel/sdk 1.11.1 → 1.11.4

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 (194) hide show
  1. package/README.md +45 -52
  2. package/bin/mcp-server.js +1830 -1660
  3. package/bin/mcp-server.js.map +36 -36
  4. package/docs/sdks/integrations/README.md +83 -0
  5. package/docs/sdks/vercel/README.md +0 -74
  6. package/esm/__tests__/accessgroups.test.js +1 -3
  7. package/esm/__tests__/accessgroups.test.js.map +1 -1
  8. package/esm/__tests__/checks.test.js +1 -1
  9. package/esm/__tests__/checks.test.js.map +1 -1
  10. package/esm/__tests__/integrations.test.js +28 -1
  11. package/esm/__tests__/integrations.test.js.map +1 -1
  12. package/esm/__tests__/rollingrelease.test.js +1 -1
  13. package/esm/__tests__/vercel.test.js +3 -27
  14. package/esm/__tests__/vercel.test.js.map +1 -1
  15. package/esm/funcs/deploymentsUploadFile.js +0 -1
  16. package/esm/funcs/deploymentsUploadFile.js.map +1 -1
  17. package/esm/funcs/domainsGetDomainTransfer.js +2 -2
  18. package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
  19. package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
  20. package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
  21. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
  22. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
  23. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  24. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  25. package/esm/lib/config.d.ts +3 -3
  26. package/esm/lib/config.js +3 -3
  27. package/esm/mcp-server/mcp-server.js +1 -1
  28. package/esm/mcp-server/server.d.ts.map +1 -1
  29. package/esm/mcp-server/server.js +3 -3
  30. package/esm/mcp-server/server.js.map +1 -1
  31. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
  32. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
  33. package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
  34. package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
  35. package/esm/models/approverollingreleasestageop.d.ts +15 -0
  36. package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
  37. package/esm/models/approverollingreleasestageop.js +6 -0
  38. package/esm/models/approverollingreleasestageop.js.map +1 -1
  39. package/esm/models/canceldeploymentop.d.ts +9 -6
  40. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  41. package/esm/models/canceldeploymentop.js +3 -2
  42. package/esm/models/canceldeploymentop.js.map +1 -1
  43. package/esm/models/completerollingreleaseop.d.ts +15 -0
  44. package/esm/models/completerollingreleaseop.d.ts.map +1 -1
  45. package/esm/models/completerollingreleaseop.js +6 -0
  46. package/esm/models/completerollingreleaseop.js.map +1 -1
  47. package/esm/models/createdeploymentop.d.ts +12 -6
  48. package/esm/models/createdeploymentop.d.ts.map +1 -1
  49. package/esm/models/createdeploymentop.js +4 -2
  50. package/esm/models/createdeploymentop.js.map +1 -1
  51. package/esm/models/createintegrationstoredirectop.d.ts +276 -246
  52. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  53. package/esm/models/createintegrationstoredirectop.js +318 -296
  54. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  55. package/esm/models/createprojectenvop.d.ts +6 -6
  56. package/esm/models/createprojectenvop.js +2 -2
  57. package/esm/models/createprojectenvop.js.map +1 -1
  58. package/esm/models/createprojectop.d.ts +173 -164
  59. package/esm/models/createprojectop.d.ts.map +1 -1
  60. package/esm/models/createprojectop.js +158 -156
  61. package/esm/models/createprojectop.js.map +1 -1
  62. package/esm/models/editprojectenvop.d.ts +3 -3
  63. package/esm/models/editprojectenvop.js +1 -1
  64. package/esm/models/editprojectenvop.js.map +1 -1
  65. package/esm/models/getbillingplansop.d.ts +257 -0
  66. package/esm/models/getbillingplansop.d.ts.map +1 -0
  67. package/esm/models/getbillingplansop.js +244 -0
  68. package/esm/models/getbillingplansop.js.map +1 -0
  69. package/esm/models/getconfigurationproductsop.d.ts +330 -330
  70. package/esm/models/getconfigurationproductsop.js +408 -408
  71. package/esm/models/getdeploymentop.d.ts +9 -6
  72. package/esm/models/getdeploymentop.d.ts.map +1 -1
  73. package/esm/models/getdeploymentop.js +3 -2
  74. package/esm/models/getdeploymentop.js.map +1 -1
  75. package/esm/models/getdeploymentsop.d.ts +3 -0
  76. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  77. package/esm/models/getdeploymentsop.js +1 -0
  78. package/esm/models/getdeploymentsop.js.map +1 -1
  79. package/esm/models/getdomaintransferop.d.ts +99 -25
  80. package/esm/models/getdomaintransferop.d.ts.map +1 -1
  81. package/esm/models/getdomaintransferop.js +101 -25
  82. package/esm/models/getdomaintransferop.js.map +1 -1
  83. package/esm/models/getprojectsop.d.ts +8 -2
  84. package/esm/models/getprojectsop.d.ts.map +1 -1
  85. package/esm/models/getprojectsop.js +3 -2
  86. package/esm/models/getprojectsop.js.map +1 -1
  87. package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
  88. package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
  89. package/esm/models/getrollingreleaseconfigop.js +2 -0
  90. package/esm/models/getrollingreleaseconfigop.js.map +1 -1
  91. package/esm/models/getrollingreleaseop.d.ts +15 -0
  92. package/esm/models/getrollingreleaseop.d.ts.map +1 -1
  93. package/esm/models/getrollingreleaseop.js +6 -0
  94. package/esm/models/getrollingreleaseop.js.map +1 -1
  95. package/esm/models/getwebhooksop.d.ts +3 -0
  96. package/esm/models/getwebhooksop.d.ts.map +1 -1
  97. package/esm/models/getwebhooksop.js +1 -0
  98. package/esm/models/getwebhooksop.js.map +1 -1
  99. package/esm/models/importresourceop.d.ts +15 -15
  100. package/esm/models/importresourceop.d.ts.map +1 -1
  101. package/esm/models/importresourceop.js +17 -15
  102. package/esm/models/importresourceop.js.map +1 -1
  103. package/esm/models/patchteamop.d.ts +12 -0
  104. package/esm/models/patchteamop.d.ts.map +1 -1
  105. package/esm/models/patchteamop.js +4 -0
  106. package/esm/models/patchteamop.js.map +1 -1
  107. package/esm/models/removeprojectenvop.d.ts +9 -9
  108. package/esm/models/removeprojectenvop.js +3 -3
  109. package/esm/models/removeprojectenvop.js.map +1 -1
  110. package/esm/models/updateprojectdatacacheop.d.ts +8 -2
  111. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  112. package/esm/models/updateprojectdatacacheop.js +3 -2
  113. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  114. package/esm/models/updateprojectop.d.ts +173 -164
  115. package/esm/models/updateprojectop.d.ts.map +1 -1
  116. package/esm/models/updateprojectop.js +158 -156
  117. package/esm/models/updateprojectop.js.map +1 -1
  118. package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
  119. package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
  120. package/esm/models/updaterollingreleaseconfigop.js +2 -0
  121. package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
  122. package/esm/models/uploadfileop.d.ts +0 -5
  123. package/esm/models/uploadfileop.d.ts.map +1 -1
  124. package/esm/models/uploadfileop.js +0 -4
  125. package/esm/models/uploadfileop.js.map +1 -1
  126. package/esm/models/userevent.d.ts +960 -770
  127. package/esm/models/userevent.d.ts.map +1 -1
  128. package/esm/models/userevent.js +1102 -974
  129. package/esm/models/userevent.js.map +1 -1
  130. package/esm/sdk/integrations.d.ts +8 -0
  131. package/esm/sdk/integrations.d.ts.map +1 -1
  132. package/esm/sdk/integrations.js +10 -0
  133. package/esm/sdk/integrations.js.map +1 -1
  134. package/esm/sdk/sdk.d.ts +1 -3
  135. package/esm/sdk/sdk.d.ts.map +1 -1
  136. package/esm/sdk/sdk.js +0 -5
  137. package/esm/sdk/sdk.js.map +1 -1
  138. package/examples/package-lock.json +1 -1
  139. package/jsr.json +1 -1
  140. package/package.json +1 -1
  141. package/src/__tests__/accessgroups.test.ts +1 -3
  142. package/src/__tests__/checks.test.ts +1 -1
  143. package/src/__tests__/integrations.test.ts +32 -1
  144. package/src/__tests__/rollingrelease.test.ts +1 -1
  145. package/src/__tests__/vercel.test.ts +4 -33
  146. package/src/funcs/deploymentsUploadFile.ts +0 -5
  147. package/src/funcs/domainsGetDomainTransfer.ts +2 -2
  148. package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
  149. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  150. package/src/lib/config.ts +3 -3
  151. package/src/mcp-server/mcp-server.ts +1 -1
  152. package/src/mcp-server/server.ts +3 -5
  153. package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
  154. package/src/models/approverollingreleasestageop.ts +21 -0
  155. package/src/models/canceldeploymentop.ts +5 -4
  156. package/src/models/completerollingreleaseop.ts +21 -0
  157. package/src/models/createdeploymentop.ts +6 -4
  158. package/src/models/createintegrationstoredirectop.ts +544 -507
  159. package/src/models/createprojectenvop.ts +2 -2
  160. package/src/models/createprojectop.ts +347 -342
  161. package/src/models/editprojectenvop.ts +1 -1
  162. package/src/models/getbillingplansop.ts +508 -0
  163. package/src/models/getconfigurationproductsop.ts +703 -703
  164. package/src/models/getdeploymentop.ts +5 -4
  165. package/src/models/getdeploymentsop.ts +1 -0
  166. package/src/models/getdomaintransferop.ts +203 -39
  167. package/src/models/getprojectsop.ts +8 -4
  168. package/src/models/getrollingreleaseconfigop.ts +7 -0
  169. package/src/models/getrollingreleaseop.ts +21 -0
  170. package/src/models/getwebhooksop.ts +1 -0
  171. package/src/models/importresourceop.ts +27 -29
  172. package/src/models/patchteamop.ts +4 -0
  173. package/src/models/removeprojectenvop.ts +3 -3
  174. package/src/models/updateprojectdatacacheop.ts +8 -4
  175. package/src/models/updateprojectop.ts +347 -342
  176. package/src/models/updaterollingreleaseconfigop.ts +7 -0
  177. package/src/models/uploadfileop.ts +0 -9
  178. package/src/models/userevent.ts +2219 -1917
  179. package/src/sdk/integrations.ts +22 -0
  180. package/src/sdk/sdk.ts +1 -23
  181. package/vercel-spec.json +1401 -1170
  182. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -14
  183. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  184. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  185. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
  186. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  187. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
  188. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  189. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
  190. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
  191. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
  192. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
  193. package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
  194. package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
@@ -814,6 +814,7 @@ export const ResponseBodyFramework = {
814
814
  Nitro: "nitro",
815
815
  Hono: "hono",
816
816
  Express: "express",
817
+ H3: "h3",
817
818
  Xmcp: "xmcp",
818
819
  } as const;
819
820
  export type ResponseBodyFramework = ClosedEnum<typeof ResponseBodyFramework>;
@@ -2010,15 +2011,15 @@ export type GetDeploymentMicrofrontendsApplications = {
2010
2011
  };
2011
2012
 
2012
2013
  /**
2013
- * 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.
2014
+ * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
2014
2015
  */
2015
2016
  export const GetDeploymentMicrofrontendsMfeConfigUploadState = {
2016
- Error: "error",
2017
2017
  Success: "success",
2018
+ WaitingOnBuild: "waiting_on_build",
2018
2019
  NoConfig: "no_config",
2019
2020
  } as const;
2020
2021
  /**
2021
- * 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.
2022
+ * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
2022
2023
  */
2023
2024
  export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<
2024
2025
  typeof GetDeploymentMicrofrontendsMfeConfigUploadState
@@ -2033,7 +2034,7 @@ export type GetDeploymentMicrofrontends2 = {
2033
2034
  | { [k: string]: GetDeploymentMicrofrontendsApplications }
2034
2035
  | undefined;
2035
2036
  /**
2036
- * 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.
2037
+ * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
2037
2038
  */
2038
2039
  mfeConfigUploadState?:
2039
2040
  | GetDeploymentMicrofrontendsMfeConfigUploadState
@@ -329,6 +329,7 @@ export const GetDeploymentsFramework = {
329
329
  Nitro: "nitro",
330
330
  Hono: "hono",
331
331
  Express: "express",
332
+ H3: "h3",
332
333
  Xmcp: "xmcp",
333
334
  } as const;
334
335
  export type GetDeploymentsFramework = ClosedEnum<
@@ -23,7 +23,7 @@ export type GetDomainTransferRequest = {
23
23
  /**
24
24
  * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.
25
25
  */
26
- export const TransferPolicy = {
26
+ export const ResponseBodyTransferPolicy = {
27
27
  ChargeAndRenew: "charge-and-renew",
28
28
  NoChargeNoChange: "no-charge-no-change",
29
29
  NoChange: "no-change",
@@ -33,28 +33,30 @@ export const TransferPolicy = {
33
33
  /**
34
34
  * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.
35
35
  */
36
- export type TransferPolicy = ClosedEnum<typeof TransferPolicy>;
36
+ export type ResponseBodyTransferPolicy = ClosedEnum<
37
+ typeof ResponseBodyTransferPolicy
38
+ >;
37
39
 
38
40
  /**
39
41
  * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.
40
42
  */
41
- export const GetDomainTransferStatus = {
43
+ export const GetDomainTransferResponseBodyStatus = {
44
+ Completed: "completed",
45
+ Undef: "undef",
42
46
  PendingOwner: "pending_owner",
43
47
  PendingAdmin: "pending_admin",
44
48
  PendingRegistry: "pending_registry",
45
- Completed: "completed",
46
49
  Cancelled: "cancelled",
47
- Undef: "undef",
48
50
  Unknown: "unknown",
49
51
  } as const;
50
52
  /**
51
53
  * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.
52
54
  */
53
- export type GetDomainTransferStatus = ClosedEnum<
54
- typeof GetDomainTransferStatus
55
+ export type GetDomainTransferResponseBodyStatus = ClosedEnum<
56
+ typeof GetDomainTransferResponseBodyStatus
55
57
  >;
56
58
 
57
- export type GetDomainTransferResponseBody = {
59
+ export type GetDomainTransferResponseBody2 = {
58
60
  /**
59
61
  * Whether or not the domain is transferable
60
62
  */
@@ -62,7 +64,7 @@ export type GetDomainTransferResponseBody = {
62
64
  /**
63
65
  * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.
64
66
  */
65
- transferPolicy: TransferPolicy | null;
67
+ transferPolicy: ResponseBodyTransferPolicy | null;
66
68
  /**
67
69
  * Description associated with transferable state.
68
70
  */
@@ -70,9 +72,25 @@ export type GetDomainTransferResponseBody = {
70
72
  /**
71
73
  * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.
72
74
  */
73
- status: GetDomainTransferStatus;
75
+ status: GetDomainTransferResponseBodyStatus;
76
+ };
77
+
78
+ export const TransferPolicy = {
79
+ ChargeAndRenew: "charge-and-renew",
80
+ } as const;
81
+ export type TransferPolicy = ClosedEnum<typeof TransferPolicy>;
82
+
83
+ export type GetDomainTransferResponseBody1 = {
84
+ reason: string;
85
+ status: string;
86
+ transferable: boolean;
87
+ transferPolicy: TransferPolicy;
74
88
  };
75
89
 
90
+ export type GetDomainTransferResponseBody =
91
+ | GetDomainTransferResponseBody1
92
+ | GetDomainTransferResponseBody2;
93
+
76
94
  /** @internal */
77
95
  export const GetDomainTransferRequest$inboundSchema: z.ZodType<
78
96
  GetDomainTransferRequest,
@@ -133,6 +151,115 @@ export function getDomainTransferRequestFromJSON(
133
151
  );
134
152
  }
135
153
 
154
+ /** @internal */
155
+ export const ResponseBodyTransferPolicy$inboundSchema: z.ZodNativeEnum<
156
+ typeof ResponseBodyTransferPolicy
157
+ > = z.nativeEnum(ResponseBodyTransferPolicy);
158
+
159
+ /** @internal */
160
+ export const ResponseBodyTransferPolicy$outboundSchema: z.ZodNativeEnum<
161
+ typeof ResponseBodyTransferPolicy
162
+ > = ResponseBodyTransferPolicy$inboundSchema;
163
+
164
+ /**
165
+ * @internal
166
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
167
+ */
168
+ export namespace ResponseBodyTransferPolicy$ {
169
+ /** @deprecated use `ResponseBodyTransferPolicy$inboundSchema` instead. */
170
+ export const inboundSchema = ResponseBodyTransferPolicy$inboundSchema;
171
+ /** @deprecated use `ResponseBodyTransferPolicy$outboundSchema` instead. */
172
+ export const outboundSchema = ResponseBodyTransferPolicy$outboundSchema;
173
+ }
174
+
175
+ /** @internal */
176
+ export const GetDomainTransferResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
177
+ typeof GetDomainTransferResponseBodyStatus
178
+ > = z.nativeEnum(GetDomainTransferResponseBodyStatus);
179
+
180
+ /** @internal */
181
+ export const GetDomainTransferResponseBodyStatus$outboundSchema:
182
+ z.ZodNativeEnum<typeof GetDomainTransferResponseBodyStatus> =
183
+ GetDomainTransferResponseBodyStatus$inboundSchema;
184
+
185
+ /**
186
+ * @internal
187
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
188
+ */
189
+ export namespace GetDomainTransferResponseBodyStatus$ {
190
+ /** @deprecated use `GetDomainTransferResponseBodyStatus$inboundSchema` instead. */
191
+ export const inboundSchema =
192
+ GetDomainTransferResponseBodyStatus$inboundSchema;
193
+ /** @deprecated use `GetDomainTransferResponseBodyStatus$outboundSchema` instead. */
194
+ export const outboundSchema =
195
+ GetDomainTransferResponseBodyStatus$outboundSchema;
196
+ }
197
+
198
+ /** @internal */
199
+ export const GetDomainTransferResponseBody2$inboundSchema: z.ZodType<
200
+ GetDomainTransferResponseBody2,
201
+ z.ZodTypeDef,
202
+ unknown
203
+ > = z.object({
204
+ transferable: z.boolean(),
205
+ transferPolicy: z.nullable(ResponseBodyTransferPolicy$inboundSchema),
206
+ reason: z.string(),
207
+ status: GetDomainTransferResponseBodyStatus$inboundSchema,
208
+ });
209
+
210
+ /** @internal */
211
+ export type GetDomainTransferResponseBody2$Outbound = {
212
+ transferable: boolean;
213
+ transferPolicy: string | null;
214
+ reason: string;
215
+ status: string;
216
+ };
217
+
218
+ /** @internal */
219
+ export const GetDomainTransferResponseBody2$outboundSchema: z.ZodType<
220
+ GetDomainTransferResponseBody2$Outbound,
221
+ z.ZodTypeDef,
222
+ GetDomainTransferResponseBody2
223
+ > = z.object({
224
+ transferable: z.boolean(),
225
+ transferPolicy: z.nullable(ResponseBodyTransferPolicy$outboundSchema),
226
+ reason: z.string(),
227
+ status: GetDomainTransferResponseBodyStatus$outboundSchema,
228
+ });
229
+
230
+ /**
231
+ * @internal
232
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
233
+ */
234
+ export namespace GetDomainTransferResponseBody2$ {
235
+ /** @deprecated use `GetDomainTransferResponseBody2$inboundSchema` instead. */
236
+ export const inboundSchema = GetDomainTransferResponseBody2$inboundSchema;
237
+ /** @deprecated use `GetDomainTransferResponseBody2$outboundSchema` instead. */
238
+ export const outboundSchema = GetDomainTransferResponseBody2$outboundSchema;
239
+ /** @deprecated use `GetDomainTransferResponseBody2$Outbound` instead. */
240
+ export type Outbound = GetDomainTransferResponseBody2$Outbound;
241
+ }
242
+
243
+ export function getDomainTransferResponseBody2ToJSON(
244
+ getDomainTransferResponseBody2: GetDomainTransferResponseBody2,
245
+ ): string {
246
+ return JSON.stringify(
247
+ GetDomainTransferResponseBody2$outboundSchema.parse(
248
+ getDomainTransferResponseBody2,
249
+ ),
250
+ );
251
+ }
252
+
253
+ export function getDomainTransferResponseBody2FromJSON(
254
+ jsonString: string,
255
+ ): SafeParseResult<GetDomainTransferResponseBody2, SDKValidationError> {
256
+ return safeParse(
257
+ jsonString,
258
+ (x) => GetDomainTransferResponseBody2$inboundSchema.parse(JSON.parse(x)),
259
+ `Failed to parse 'GetDomainTransferResponseBody2' from JSON`,
260
+ );
261
+ }
262
+
136
263
  /** @internal */
137
264
  export const TransferPolicy$inboundSchema: z.ZodNativeEnum<
138
265
  typeof TransferPolicy
@@ -155,24 +282,68 @@ export namespace TransferPolicy$ {
155
282
  }
156
283
 
157
284
  /** @internal */
158
- export const GetDomainTransferStatus$inboundSchema: z.ZodNativeEnum<
159
- typeof GetDomainTransferStatus
160
- > = z.nativeEnum(GetDomainTransferStatus);
285
+ export const GetDomainTransferResponseBody1$inboundSchema: z.ZodType<
286
+ GetDomainTransferResponseBody1,
287
+ z.ZodTypeDef,
288
+ unknown
289
+ > = z.object({
290
+ reason: z.string(),
291
+ status: z.string(),
292
+ transferable: z.boolean(),
293
+ transferPolicy: TransferPolicy$inboundSchema,
294
+ });
295
+
296
+ /** @internal */
297
+ export type GetDomainTransferResponseBody1$Outbound = {
298
+ reason: string;
299
+ status: string;
300
+ transferable: boolean;
301
+ transferPolicy: string;
302
+ };
161
303
 
162
304
  /** @internal */
163
- export const GetDomainTransferStatus$outboundSchema: z.ZodNativeEnum<
164
- typeof GetDomainTransferStatus
165
- > = GetDomainTransferStatus$inboundSchema;
305
+ export const GetDomainTransferResponseBody1$outboundSchema: z.ZodType<
306
+ GetDomainTransferResponseBody1$Outbound,
307
+ z.ZodTypeDef,
308
+ GetDomainTransferResponseBody1
309
+ > = z.object({
310
+ reason: z.string(),
311
+ status: z.string(),
312
+ transferable: z.boolean(),
313
+ transferPolicy: TransferPolicy$outboundSchema,
314
+ });
166
315
 
167
316
  /**
168
317
  * @internal
169
318
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
170
319
  */
171
- export namespace GetDomainTransferStatus$ {
172
- /** @deprecated use `GetDomainTransferStatus$inboundSchema` instead. */
173
- export const inboundSchema = GetDomainTransferStatus$inboundSchema;
174
- /** @deprecated use `GetDomainTransferStatus$outboundSchema` instead. */
175
- export const outboundSchema = GetDomainTransferStatus$outboundSchema;
320
+ export namespace GetDomainTransferResponseBody1$ {
321
+ /** @deprecated use `GetDomainTransferResponseBody1$inboundSchema` instead. */
322
+ export const inboundSchema = GetDomainTransferResponseBody1$inboundSchema;
323
+ /** @deprecated use `GetDomainTransferResponseBody1$outboundSchema` instead. */
324
+ export const outboundSchema = GetDomainTransferResponseBody1$outboundSchema;
325
+ /** @deprecated use `GetDomainTransferResponseBody1$Outbound` instead. */
326
+ export type Outbound = GetDomainTransferResponseBody1$Outbound;
327
+ }
328
+
329
+ export function getDomainTransferResponseBody1ToJSON(
330
+ getDomainTransferResponseBody1: GetDomainTransferResponseBody1,
331
+ ): string {
332
+ return JSON.stringify(
333
+ GetDomainTransferResponseBody1$outboundSchema.parse(
334
+ getDomainTransferResponseBody1,
335
+ ),
336
+ );
337
+ }
338
+
339
+ export function getDomainTransferResponseBody1FromJSON(
340
+ jsonString: string,
341
+ ): SafeParseResult<GetDomainTransferResponseBody1, SDKValidationError> {
342
+ return safeParse(
343
+ jsonString,
344
+ (x) => GetDomainTransferResponseBody1$inboundSchema.parse(JSON.parse(x)),
345
+ `Failed to parse 'GetDomainTransferResponseBody1' from JSON`,
346
+ );
176
347
  }
177
348
 
178
349
  /** @internal */
@@ -180,32 +351,25 @@ export const GetDomainTransferResponseBody$inboundSchema: z.ZodType<
180
351
  GetDomainTransferResponseBody,
181
352
  z.ZodTypeDef,
182
353
  unknown
183
- > = z.object({
184
- transferable: z.boolean(),
185
- transferPolicy: z.nullable(TransferPolicy$inboundSchema),
186
- reason: z.string(),
187
- status: GetDomainTransferStatus$inboundSchema,
188
- });
354
+ > = z.union([
355
+ z.lazy(() => GetDomainTransferResponseBody1$inboundSchema),
356
+ z.lazy(() => GetDomainTransferResponseBody2$inboundSchema),
357
+ ]);
189
358
 
190
359
  /** @internal */
191
- export type GetDomainTransferResponseBody$Outbound = {
192
- transferable: boolean;
193
- transferPolicy: string | null;
194
- reason: string;
195
- status: string;
196
- };
360
+ export type GetDomainTransferResponseBody$Outbound =
361
+ | GetDomainTransferResponseBody1$Outbound
362
+ | GetDomainTransferResponseBody2$Outbound;
197
363
 
198
364
  /** @internal */
199
365
  export const GetDomainTransferResponseBody$outboundSchema: z.ZodType<
200
366
  GetDomainTransferResponseBody$Outbound,
201
367
  z.ZodTypeDef,
202
368
  GetDomainTransferResponseBody
203
- > = z.object({
204
- transferable: z.boolean(),
205
- transferPolicy: z.nullable(TransferPolicy$outboundSchema),
206
- reason: z.string(),
207
- status: GetDomainTransferStatus$outboundSchema,
208
- });
369
+ > = z.union([
370
+ z.lazy(() => GetDomainTransferResponseBody1$outboundSchema),
371
+ z.lazy(() => GetDomainTransferResponseBody2$outboundSchema),
372
+ ]);
209
373
 
210
374
  /**
211
375
  * @internal
@@ -721,6 +721,7 @@ export const GetProjectsFramework = {
721
721
  Nitro: "nitro",
722
722
  Hono: "hono",
723
723
  Express: "express",
724
+ H3: "h3",
724
725
  Xmcp: "xmcp",
725
726
  } as const;
726
727
  export type GetProjectsFramework = ClosedEnum<typeof GetProjectsFramework>;
@@ -1177,6 +1178,10 @@ export type GetProjectsStages = {
1177
1178
  * Duration in minutes for automatic advancement to the next stage
1178
1179
  */
1179
1180
  duration?: number | undefined;
1181
+ /**
1182
+ * Whether to linearly shift traffic over the duration of this stage
1183
+ */
1184
+ linearShift?: boolean | undefined;
1180
1185
  };
1181
1186
 
1182
1187
  /**
@@ -1534,7 +1539,6 @@ export type GetProjectsPermissions = {
1534
1539
  jobGlobal?: Array<ACLAction> | undefined;
1535
1540
  drain?: Array<ACLAction> | undefined;
1536
1541
  logDrain?: Array<ACLAction> | undefined;
1537
- traceDrain?: Array<ACLAction> | undefined;
1538
1542
  monitoring?: Array<ACLAction> | undefined;
1539
1543
  monitoringSettings?: Array<ACLAction> | undefined;
1540
1544
  monitoringQuery?: Array<ACLAction> | undefined;
@@ -7501,6 +7505,7 @@ export const GetProjectsStages$inboundSchema: z.ZodType<
7501
7505
  targetPercentage: z.number(),
7502
7506
  requireApproval: z.boolean().optional(),
7503
7507
  duration: z.number().optional(),
7508
+ linearShift: z.boolean().optional(),
7504
7509
  });
7505
7510
 
7506
7511
  /** @internal */
@@ -7508,6 +7513,7 @@ export type GetProjectsStages$Outbound = {
7508
7513
  targetPercentage: number;
7509
7514
  requireApproval?: boolean | undefined;
7510
7515
  duration?: number | undefined;
7516
+ linearShift?: boolean | undefined;
7511
7517
  };
7512
7518
 
7513
7519
  /** @internal */
@@ -7519,6 +7525,7 @@ export const GetProjectsStages$outboundSchema: z.ZodType<
7519
7525
  targetPercentage: z.number(),
7520
7526
  requireApproval: z.boolean().optional(),
7521
7527
  duration: z.number().optional(),
7528
+ linearShift: z.boolean().optional(),
7522
7529
  });
7523
7530
 
7524
7531
  /**
@@ -8689,7 +8696,6 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
8689
8696
  jobGlobal: z.array(ACLAction$inboundSchema).optional(),
8690
8697
  drain: z.array(ACLAction$inboundSchema).optional(),
8691
8698
  logDrain: z.array(ACLAction$inboundSchema).optional(),
8692
- traceDrain: z.array(ACLAction$inboundSchema).optional(),
8693
8699
  Monitoring: z.array(ACLAction$inboundSchema).optional(),
8694
8700
  monitoringSettings: z.array(ACLAction$inboundSchema).optional(),
8695
8701
  monitoringQuery: z.array(ACLAction$inboundSchema).optional(),
@@ -8913,7 +8919,6 @@ export type GetProjectsPermissions$Outbound = {
8913
8919
  jobGlobal?: Array<string> | undefined;
8914
8920
  drain?: Array<string> | undefined;
8915
8921
  logDrain?: Array<string> | undefined;
8916
- traceDrain?: Array<string> | undefined;
8917
8922
  Monitoring?: Array<string> | undefined;
8918
8923
  monitoringSettings?: Array<string> | undefined;
8919
8924
  monitoringQuery?: Array<string> | undefined;
@@ -9142,7 +9147,6 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
9142
9147
  jobGlobal: z.array(ACLAction$outboundSchema).optional(),
9143
9148
  drain: z.array(ACLAction$outboundSchema).optional(),
9144
9149
  logDrain: z.array(ACLAction$outboundSchema).optional(),
9145
- traceDrain: z.array(ACLAction$outboundSchema).optional(),
9146
9150
  monitoring: z.array(ACLAction$outboundSchema).optional(),
9147
9151
  monitoringSettings: z.array(ACLAction$outboundSchema).optional(),
9148
9152
  monitoringQuery: z.array(ACLAction$outboundSchema).optional(),
@@ -38,6 +38,10 @@ export type GetRollingReleaseConfigStages = {
38
38
  * Duration in minutes for automatic advancement to the next stage
39
39
  */
40
40
  duration?: number | undefined;
41
+ /**
42
+ * Whether to linearly shift traffic over the duration of this stage
43
+ */
44
+ linearShift?: boolean | undefined;
41
45
  };
42
46
 
43
47
  /**
@@ -136,6 +140,7 @@ export const GetRollingReleaseConfigStages$inboundSchema: z.ZodType<
136
140
  targetPercentage: z.number(),
137
141
  requireApproval: z.boolean().optional(),
138
142
  duration: z.number().optional(),
143
+ linearShift: z.boolean().optional(),
139
144
  });
140
145
 
141
146
  /** @internal */
@@ -143,6 +148,7 @@ export type GetRollingReleaseConfigStages$Outbound = {
143
148
  targetPercentage: number;
144
149
  requireApproval?: boolean | undefined;
145
150
  duration?: number | undefined;
151
+ linearShift?: boolean | undefined;
146
152
  };
147
153
 
148
154
  /** @internal */
@@ -154,6 +160,7 @@ export const GetRollingReleaseConfigStages$outboundSchema: z.ZodType<
154
160
  targetPercentage: z.number(),
155
161
  requireApproval: z.boolean().optional(),
156
162
  duration: z.number().optional(),
163
+ linearShift: z.boolean().optional(),
157
164
  });
158
165
 
159
166
  /**
@@ -185,6 +185,10 @@ export type GetRollingReleaseStages = {
185
185
  * Duration in seconds for automatic advancement, null for manual stages or the final stage
186
186
  */
187
187
  duration: number | null;
188
+ /**
189
+ * Whether to linearly shift traffic over the duration of this stage
190
+ */
191
+ linearShift?: boolean | undefined;
188
192
  };
189
193
 
190
194
  /**
@@ -211,6 +215,10 @@ export type ActiveStage = {
211
215
  * Duration in seconds for automatic advancement, null for manual stages or the final stage
212
216
  */
213
217
  duration: number | null;
218
+ /**
219
+ * Whether to linearly shift traffic over the duration of this stage
220
+ */
221
+ linearShift?: boolean | undefined;
214
222
  };
215
223
 
216
224
  /**
@@ -237,6 +245,10 @@ export type NextStage = {
237
245
  * Duration in seconds for automatic advancement, null for manual stages or the final stage
238
246
  */
239
247
  duration: number | null;
248
+ /**
249
+ * Whether to linearly shift traffic over the duration of this stage
250
+ */
251
+ linearShift?: boolean | undefined;
240
252
  };
241
253
 
242
254
  /**
@@ -717,6 +729,7 @@ export const GetRollingReleaseStages$inboundSchema: z.ZodType<
717
729
  targetPercentage: z.number(),
718
730
  requireApproval: z.boolean(),
719
731
  duration: z.nullable(z.number()),
732
+ linearShift: z.boolean().optional(),
720
733
  });
721
734
 
722
735
  /** @internal */
@@ -726,6 +739,7 @@ export type GetRollingReleaseStages$Outbound = {
726
739
  targetPercentage: number;
727
740
  requireApproval: boolean;
728
741
  duration: number | null;
742
+ linearShift?: boolean | undefined;
729
743
  };
730
744
 
731
745
  /** @internal */
@@ -739,6 +753,7 @@ export const GetRollingReleaseStages$outboundSchema: z.ZodType<
739
753
  targetPercentage: z.number(),
740
754
  requireApproval: z.boolean(),
741
755
  duration: z.nullable(z.number()),
756
+ linearShift: z.boolean().optional(),
742
757
  });
743
758
 
744
759
  /**
@@ -783,6 +798,7 @@ export const ActiveStage$inboundSchema: z.ZodType<
783
798
  targetPercentage: z.number(),
784
799
  requireApproval: z.boolean(),
785
800
  duration: z.nullable(z.number()),
801
+ linearShift: z.boolean().optional(),
786
802
  });
787
803
 
788
804
  /** @internal */
@@ -792,6 +808,7 @@ export type ActiveStage$Outbound = {
792
808
  targetPercentage: number;
793
809
  requireApproval: boolean;
794
810
  duration: number | null;
811
+ linearShift?: boolean | undefined;
795
812
  };
796
813
 
797
814
  /** @internal */
@@ -805,6 +822,7 @@ export const ActiveStage$outboundSchema: z.ZodType<
805
822
  targetPercentage: z.number(),
806
823
  requireApproval: z.boolean(),
807
824
  duration: z.nullable(z.number()),
825
+ linearShift: z.boolean().optional(),
808
826
  });
809
827
 
810
828
  /**
@@ -845,6 +863,7 @@ export const NextStage$inboundSchema: z.ZodType<
845
863
  targetPercentage: z.number(),
846
864
  requireApproval: z.boolean(),
847
865
  duration: z.nullable(z.number()),
866
+ linearShift: z.boolean().optional(),
848
867
  });
849
868
 
850
869
  /** @internal */
@@ -854,6 +873,7 @@ export type NextStage$Outbound = {
854
873
  targetPercentage: number;
855
874
  requireApproval: boolean;
856
875
  duration: number | null;
876
+ linearShift?: boolean | undefined;
857
877
  };
858
878
 
859
879
  /** @internal */
@@ -867,6 +887,7 @@ export const NextStage$outboundSchema: z.ZodType<
867
887
  targetPercentage: z.number(),
868
888
  requireApproval: z.boolean(),
869
889
  duration: z.nullable(z.number()),
890
+ linearShift: z.boolean().optional(),
870
891
  });
871
892
 
872
893
  /**
@@ -191,6 +191,7 @@ export const GetWebhooksResponseBodyFramework = {
191
191
  Nitro: "nitro",
192
192
  Hono: "hono",
193
193
  Express: "express",
194
+ H3: "h3",
194
195
  Xmcp: "xmcp",
195
196
  } as const;
196
197
  export type GetWebhooksResponseBodyFramework = ClosedEnum<