@northflank/js-client 0.6.2 → 0.6.3-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/dist/cjs/api-client.d.ts +1862 -87
  2. package/dist/cjs/api-client.js +1 -1
  3. package/dist/cjs/api-endpoint.d.ts +57 -0
  4. package/dist/cjs/api-error.d.ts +16 -0
  5. package/dist/cjs/context/api-client-context-provider.d.ts +47 -0
  6. package/dist/cjs/context/api-client-file-context-provider.d.ts +11 -0
  7. package/dist/cjs/context/api-client-in-memory-context-provider.d.ts +6 -0
  8. package/dist/cjs/context/index.d.ts +3 -0
  9. package/dist/cjs/endpoints/abort/addon/backup.d.ts +21 -0
  10. package/dist/cjs/endpoints/abort/addon/restore.d.ts +26 -0
  11. package/dist/cjs/endpoints/abort/job/build.d.ts +21 -0
  12. package/dist/cjs/endpoints/abort/job/run.d.ts +21 -0
  13. package/dist/cjs/endpoints/abort/service/build.d.ts +21 -0
  14. package/dist/cjs/endpoints/add/domain/subdomain.d.ts +33 -0
  15. package/dist/cjs/endpoints/add/registry.d.ts +47 -0
  16. package/dist/cjs/endpoints/assign/subdomain/service.d.ts +28 -0
  17. package/dist/cjs/endpoints/attach/volume.d.ts +29 -0
  18. package/dist/cjs/endpoints/backup/addon.d.ts +51 -0
  19. package/dist/cjs/endpoints/create/addon/backupSchedule.d.ts +40 -0
  20. package/dist/cjs/endpoints/create/addon.d.ts +101 -0
  21. package/dist/cjs/endpoints/create/cluster.d.ts +97 -0
  22. package/dist/cjs/endpoints/create/domain.d.ts +27 -0
  23. package/dist/cjs/endpoints/create/integration.d.ts +58 -0
  24. package/dist/cjs/endpoints/create/job/cron.d.ts +247 -0
  25. package/dist/cjs/endpoints/create/job/manual.d.ts +237 -0
  26. package/dist/cjs/endpoints/create/project.d.ts +31 -0
  27. package/dist/cjs/endpoints/create/secret.d.ts +83 -0
  28. package/dist/cjs/endpoints/create/service/build.d.ts +161 -0
  29. package/dist/cjs/endpoints/create/service/combined.d.ts +232 -0
  30. package/dist/cjs/endpoints/create/service/deployment.d.ts +219 -0
  31. package/dist/cjs/endpoints/create/template.d.ts +132 -0
  32. package/dist/cjs/endpoints/create/volume.d.ts +78 -0
  33. package/dist/cjs/endpoints/delete/addon/backupSchedule.d.ts +21 -0
  34. package/dist/cjs/endpoints/delete/addon.d.ts +19 -0
  35. package/dist/cjs/endpoints/delete/backup.d.ts +21 -0
  36. package/dist/cjs/endpoints/delete/cluster.d.ts +17 -0
  37. package/dist/cjs/endpoints/delete/domain.d.ts +17 -0
  38. package/dist/cjs/endpoints/delete/integration.d.ts +17 -0
  39. package/dist/cjs/endpoints/delete/job.d.ts +19 -0
  40. package/dist/cjs/endpoints/delete/project.d.ts +17 -0
  41. package/dist/cjs/endpoints/delete/registry.d.ts +17 -0
  42. package/dist/cjs/endpoints/delete/secret.d.ts +19 -0
  43. package/dist/cjs/endpoints/delete/secretLink.d.ts +21 -0
  44. package/dist/cjs/endpoints/delete/service.d.ts +19 -0
  45. package/dist/cjs/endpoints/delete/subdomain.d.ts +19 -0
  46. package/dist/cjs/endpoints/delete/template.d.ts +17 -0
  47. package/dist/cjs/endpoints/delete/volume.d.ts +19 -0
  48. package/dist/cjs/endpoints/detach/volume.d.ts +21 -0
  49. package/dist/cjs/endpoints/get/addon/backup/download.d.ts +24 -0
  50. package/dist/cjs/endpoints/get/addon/backup.d.ts +46 -0
  51. package/dist/cjs/endpoints/get/addon/backupSchedules.d.ts +52 -0
  52. package/dist/cjs/endpoints/get/addon/backups.d.ts +54 -0
  53. package/dist/cjs/endpoints/get/addon/containers.d.ts +40 -0
  54. package/dist/cjs/endpoints/get/addon/credentials.d.ts +24 -0
  55. package/dist/cjs/endpoints/get/addon/types.d.ts +48 -0
  56. package/dist/cjs/endpoints/get/addon/version.d.ts +53 -0
  57. package/dist/cjs/endpoints/get/addon.d.ts +71 -0
  58. package/dist/cjs/endpoints/get/cluster.d.ts +55 -0
  59. package/dist/cjs/endpoints/get/dnsId.d.ts +15 -0
  60. package/dist/cjs/endpoints/get/domain.d.ts +33 -0
  61. package/dist/cjs/endpoints/get/integration.d.ts +37 -0
  62. package/dist/cjs/endpoints/get/invoice/details.d.ts +139 -0
  63. package/dist/cjs/endpoints/get/job/branches.d.ts +49 -0
  64. package/dist/cjs/endpoints/get/job/build.d.ts +42 -0
  65. package/dist/cjs/endpoints/get/job/buildArgumentDetails.d.ts +71 -0
  66. package/dist/cjs/endpoints/get/job/buildArguments.d.ts +29 -0
  67. package/dist/cjs/endpoints/get/job/builds.d.ts +52 -0
  68. package/dist/cjs/endpoints/get/job/containers.d.ts +40 -0
  69. package/dist/cjs/endpoints/get/job/deployment.d.ts +55 -0
  70. package/dist/cjs/endpoints/get/job/healthChecks.d.ts +45 -0
  71. package/dist/cjs/endpoints/get/job/pullRequests.d.ts +49 -0
  72. package/dist/cjs/endpoints/get/job/run.d.ts +44 -0
  73. package/dist/cjs/endpoints/get/job/runs.d.ts +54 -0
  74. package/dist/cjs/endpoints/get/job/runtimeEnvironment.d.ts +29 -0
  75. package/dist/cjs/endpoints/get/job/runtimeEnvironmentDetails.d.ts +71 -0
  76. package/dist/cjs/endpoints/get/job.d.ts +128 -0
  77. package/dist/cjs/endpoints/get/project.d.ts +72 -0
  78. package/dist/cjs/endpoints/get/registry.d.ts +34 -0
  79. package/dist/cjs/endpoints/get/secret.d.ts +55 -0
  80. package/dist/cjs/endpoints/get/secretDetails.d.ts +63 -0
  81. package/dist/cjs/endpoints/get/secretLink.d.ts +44 -0
  82. package/dist/cjs/endpoints/get/service/branches.d.ts +49 -0
  83. package/dist/cjs/endpoints/get/service/build.d.ts +42 -0
  84. package/dist/cjs/endpoints/get/service/buildArgumentDetails.d.ts +71 -0
  85. package/dist/cjs/endpoints/get/service/buildArguments.d.ts +29 -0
  86. package/dist/cjs/endpoints/get/service/builds.d.ts +52 -0
  87. package/dist/cjs/endpoints/get/service/containers.d.ts +40 -0
  88. package/dist/cjs/endpoints/get/service/deployment.d.ts +55 -0
  89. package/dist/cjs/endpoints/get/service/healthChecks.d.ts +45 -0
  90. package/dist/cjs/endpoints/get/service/ports.d.ts +70 -0
  91. package/dist/cjs/endpoints/get/service/pullRequests.d.ts +49 -0
  92. package/dist/cjs/endpoints/get/service/runtimeEnvironment.d.ts +29 -0
  93. package/dist/cjs/endpoints/get/service/runtimeEnvironmentDetails.d.ts +71 -0
  94. package/dist/cjs/endpoints/get/service.d.ts +211 -0
  95. package/dist/cjs/endpoints/get/subdomain.d.ts +30 -0
  96. package/dist/cjs/endpoints/get/template.d.ts +61 -0
  97. package/dist/cjs/endpoints/get/templateRun.d.ts +73 -0
  98. package/dist/cjs/endpoints/get/volume.d.ts +49 -0
  99. package/dist/cjs/endpoints/import/addon/backup.d.ts +31 -0
  100. package/dist/cjs/endpoints/list/addons.d.ts +45 -0
  101. package/dist/cjs/endpoints/list/branches.d.ts +51 -0
  102. package/dist/cjs/endpoints/list/clusters.d.ts +63 -0
  103. package/dist/cjs/endpoints/list/domains.d.ts +34 -0
  104. package/dist/cjs/endpoints/list/integrations.d.ts +36 -0
  105. package/dist/cjs/endpoints/list/invoices.d.ts +40 -0
  106. package/dist/cjs/endpoints/list/jobs.d.ts +46 -0
  107. package/dist/cjs/endpoints/list/plans.d.ts +30 -0
  108. package/dist/cjs/endpoints/list/projects.d.ts +32 -0
  109. package/dist/cjs/endpoints/list/providers.d.ts +37 -0
  110. package/dist/cjs/endpoints/list/regions.d.ts +18 -0
  111. package/dist/cjs/endpoints/list/registries.d.ts +41 -0
  112. package/dist/cjs/endpoints/list/repos.d.ts +51 -0
  113. package/dist/cjs/endpoints/list/secrets.d.ts +54 -0
  114. package/dist/cjs/endpoints/list/services.d.ts +65 -0
  115. package/dist/cjs/endpoints/list/templateRuns.d.ts +54 -0
  116. package/dist/cjs/endpoints/list/templates.d.ts +41 -0
  117. package/dist/cjs/endpoints/list/vcs.d.ts +32 -0
  118. package/dist/cjs/endpoints/list/volumes.d.ts +47 -0
  119. package/dist/cjs/endpoints/pause/addon.d.ts +19 -0
  120. package/dist/cjs/endpoints/pause/job.d.ts +19 -0
  121. package/dist/cjs/endpoints/pause/service.d.ts +19 -0
  122. package/dist/cjs/endpoints/restart/addon.d.ts +19 -0
  123. package/dist/cjs/endpoints/restart/service.d.ts +19 -0
  124. package/dist/cjs/endpoints/restore/addon/backup.d.ts +24 -0
  125. package/dist/cjs/endpoints/resume/addon.d.ts +19 -0
  126. package/dist/cjs/endpoints/resume/job.d.ts +28 -0
  127. package/dist/cjs/endpoints/resume/service.d.ts +28 -0
  128. package/dist/cjs/endpoints/retain/addon/backup.d.ts +21 -0
  129. package/dist/cjs/endpoints/run/template.d.ts +62 -0
  130. package/dist/cjs/endpoints/scale/addon.d.ts +28 -0
  131. package/dist/cjs/endpoints/scale/job.d.ts +30 -0
  132. package/dist/cjs/endpoints/scale/service.d.ts +32 -0
  133. package/dist/cjs/endpoints/start/job/build.d.ts +47 -0
  134. package/dist/cjs/endpoints/start/job/run.d.ts +74 -0
  135. package/dist/cjs/endpoints/start/service/build.d.ts +55 -0
  136. package/dist/cjs/endpoints/suspend/job.d.ts +24 -0
  137. package/dist/cjs/endpoints/unassign/subdomain.d.ts +19 -0
  138. package/dist/cjs/endpoints/update/addon/networkSettings.d.ts +26 -0
  139. package/dist/cjs/endpoints/update/addon/security.d.ts +29 -0
  140. package/dist/cjs/endpoints/update/addon/version.d.ts +24 -0
  141. package/dist/cjs/endpoints/update/cluster.d.ts +76 -0
  142. package/dist/cjs/endpoints/update/integration.d.ts +53 -0
  143. package/dist/cjs/endpoints/update/job/buildArguments.d.ts +29 -0
  144. package/dist/cjs/endpoints/update/job/buildOptions.d.ts +50 -0
  145. package/dist/cjs/endpoints/update/job/buildSource.d.ts +32 -0
  146. package/dist/cjs/endpoints/update/job/cmdOverride.d.ts +24 -0
  147. package/dist/cjs/endpoints/update/job/deployment.d.ts +39 -0
  148. package/dist/cjs/endpoints/update/job/entrypointOverride.d.ts +24 -0
  149. package/dist/cjs/endpoints/update/job/healthChecks.d.ts +45 -0
  150. package/dist/cjs/endpoints/update/job/runtimeEnvironment.d.ts +29 -0
  151. package/dist/cjs/endpoints/update/job/settings.d.ts +32 -0
  152. package/dist/cjs/endpoints/update/registry.d.ts +31 -0
  153. package/dist/cjs/endpoints/update/secret.d.ts +58 -0
  154. package/dist/cjs/endpoints/update/secretLink.d.ts +40 -0
  155. package/dist/cjs/endpoints/update/service/buildArguments.d.ts +29 -0
  156. package/dist/cjs/endpoints/update/service/buildOptions.d.ts +62 -0
  157. package/dist/cjs/endpoints/update/service/buildSource.d.ts +32 -0
  158. package/dist/cjs/endpoints/update/service/cmdOverride.d.ts +24 -0
  159. package/dist/cjs/endpoints/update/service/deployment.d.ts +39 -0
  160. package/dist/cjs/endpoints/update/service/entrypointOverride.d.ts +24 -0
  161. package/dist/cjs/endpoints/update/service/healthChecks.d.ts +45 -0
  162. package/dist/cjs/endpoints/update/service/ports.d.ts +57 -0
  163. package/dist/cjs/endpoints/update/service/runtimeEnvironment.d.ts +34 -0
  164. package/dist/cjs/endpoints/update/template.d.ts +81 -0
  165. package/dist/cjs/endpoints/update/volume.d.ts +33 -0
  166. package/dist/cjs/endpoints/verify/domain.d.ts +17 -0
  167. package/dist/cjs/endpoints/verify/subdomain.d.ts +19 -0
  168. package/dist/cjs/exec-command/client/exec-command-runner.d.ts +70 -0
  169. package/dist/cjs/exec-command/client/exec-command-standard.d.ts +42 -0
  170. package/dist/cjs/port-forward/client/api-helper.d.ts +30 -0
  171. package/dist/cjs/port-forward/client/atomic-write.d.ts +2 -0
  172. package/dist/cjs/port-forward/client/host-file-ast.d.ts +52 -0
  173. package/dist/cjs/port-forward/client/host-file.d.ts +26 -0
  174. package/dist/cjs/port-forward/client/loopback.d.ts +4 -0
  175. package/dist/cjs/port-forward/client/port-forwarder.d.ts +87 -0
  176. package/dist/cjs/port-forward/client/port-tunnel-tcp.d.ts +36 -0
  177. package/dist/cjs/port-forward/client/port-tunnel-udp.d.ts +27 -0
  178. package/dist/cjs/port-forward/client/promise-mutex.d.ts +4 -0
  179. package/dist/cjs/utils.d.ts +21 -0
  180. package/dist/esm/api-client.d.ts +1862 -87
  181. package/dist/esm/api-client.js +2 -2
  182. package/dist/esm/api-endpoint.d.ts +57 -0
  183. package/dist/esm/api-error.d.ts +16 -0
  184. package/dist/esm/context/api-client-context-provider.d.ts +47 -0
  185. package/dist/esm/context/api-client-file-context-provider.d.ts +11 -0
  186. package/dist/esm/context/api-client-in-memory-context-provider.d.ts +6 -0
  187. package/dist/esm/context/index.d.ts +3 -0
  188. package/dist/esm/endpoints/abort/addon/backup.d.ts +21 -0
  189. package/dist/esm/endpoints/abort/addon/restore.d.ts +26 -0
  190. package/dist/esm/endpoints/abort/job/build.d.ts +21 -0
  191. package/dist/esm/endpoints/abort/job/run.d.ts +21 -0
  192. package/dist/esm/endpoints/abort/service/build.d.ts +21 -0
  193. package/dist/esm/endpoints/add/domain/subdomain.d.ts +33 -0
  194. package/dist/esm/endpoints/add/registry.d.ts +47 -0
  195. package/dist/esm/endpoints/assign/subdomain/service.d.ts +28 -0
  196. package/dist/esm/endpoints/attach/volume.d.ts +29 -0
  197. package/dist/esm/endpoints/backup/addon.d.ts +51 -0
  198. package/dist/esm/endpoints/create/addon/backupSchedule.d.ts +40 -0
  199. package/dist/esm/endpoints/create/addon.d.ts +101 -0
  200. package/dist/esm/endpoints/create/cluster.d.ts +97 -0
  201. package/dist/esm/endpoints/create/domain.d.ts +27 -0
  202. package/dist/esm/endpoints/create/integration.d.ts +58 -0
  203. package/dist/esm/endpoints/create/job/cron.d.ts +247 -0
  204. package/dist/esm/endpoints/create/job/manual.d.ts +237 -0
  205. package/dist/esm/endpoints/create/project.d.ts +31 -0
  206. package/dist/esm/endpoints/create/secret.d.ts +83 -0
  207. package/dist/esm/endpoints/create/service/build.d.ts +161 -0
  208. package/dist/esm/endpoints/create/service/combined.d.ts +232 -0
  209. package/dist/esm/endpoints/create/service/deployment.d.ts +219 -0
  210. package/dist/esm/endpoints/create/template.d.ts +132 -0
  211. package/dist/esm/endpoints/create/volume.d.ts +78 -0
  212. package/dist/esm/endpoints/delete/addon/backupSchedule.d.ts +21 -0
  213. package/dist/esm/endpoints/delete/addon.d.ts +19 -0
  214. package/dist/esm/endpoints/delete/backup.d.ts +21 -0
  215. package/dist/esm/endpoints/delete/cluster.d.ts +17 -0
  216. package/dist/esm/endpoints/delete/domain.d.ts +17 -0
  217. package/dist/esm/endpoints/delete/integration.d.ts +17 -0
  218. package/dist/esm/endpoints/delete/job.d.ts +19 -0
  219. package/dist/esm/endpoints/delete/project.d.ts +17 -0
  220. package/dist/esm/endpoints/delete/registry.d.ts +17 -0
  221. package/dist/esm/endpoints/delete/secret.d.ts +19 -0
  222. package/dist/esm/endpoints/delete/secretLink.d.ts +21 -0
  223. package/dist/esm/endpoints/delete/service.d.ts +19 -0
  224. package/dist/esm/endpoints/delete/subdomain.d.ts +19 -0
  225. package/dist/esm/endpoints/delete/template.d.ts +17 -0
  226. package/dist/esm/endpoints/delete/volume.d.ts +19 -0
  227. package/dist/esm/endpoints/detach/volume.d.ts +21 -0
  228. package/dist/esm/endpoints/get/addon/backup/download.d.ts +24 -0
  229. package/dist/esm/endpoints/get/addon/backup.d.ts +46 -0
  230. package/dist/esm/endpoints/get/addon/backupSchedules.d.ts +52 -0
  231. package/dist/esm/endpoints/get/addon/backups.d.ts +54 -0
  232. package/dist/esm/endpoints/get/addon/containers.d.ts +40 -0
  233. package/dist/esm/endpoints/get/addon/credentials.d.ts +24 -0
  234. package/dist/esm/endpoints/get/addon/types.d.ts +48 -0
  235. package/dist/esm/endpoints/get/addon/version.d.ts +53 -0
  236. package/dist/esm/endpoints/get/addon.d.ts +71 -0
  237. package/dist/esm/endpoints/get/cluster.d.ts +55 -0
  238. package/dist/esm/endpoints/get/dnsId.d.ts +15 -0
  239. package/dist/esm/endpoints/get/domain.d.ts +33 -0
  240. package/dist/esm/endpoints/get/integration.d.ts +37 -0
  241. package/dist/esm/endpoints/get/invoice/details.d.ts +139 -0
  242. package/dist/esm/endpoints/get/job/branches.d.ts +49 -0
  243. package/dist/esm/endpoints/get/job/build.d.ts +42 -0
  244. package/dist/esm/endpoints/get/job/buildArgumentDetails.d.ts +71 -0
  245. package/dist/esm/endpoints/get/job/buildArguments.d.ts +29 -0
  246. package/dist/esm/endpoints/get/job/builds.d.ts +52 -0
  247. package/dist/esm/endpoints/get/job/containers.d.ts +40 -0
  248. package/dist/esm/endpoints/get/job/deployment.d.ts +55 -0
  249. package/dist/esm/endpoints/get/job/healthChecks.d.ts +45 -0
  250. package/dist/esm/endpoints/get/job/pullRequests.d.ts +49 -0
  251. package/dist/esm/endpoints/get/job/run.d.ts +44 -0
  252. package/dist/esm/endpoints/get/job/runs.d.ts +54 -0
  253. package/dist/esm/endpoints/get/job/runtimeEnvironment.d.ts +29 -0
  254. package/dist/esm/endpoints/get/job/runtimeEnvironmentDetails.d.ts +71 -0
  255. package/dist/esm/endpoints/get/job.d.ts +128 -0
  256. package/dist/esm/endpoints/get/project.d.ts +72 -0
  257. package/dist/esm/endpoints/get/registry.d.ts +34 -0
  258. package/dist/esm/endpoints/get/secret.d.ts +55 -0
  259. package/dist/esm/endpoints/get/secretDetails.d.ts +63 -0
  260. package/dist/esm/endpoints/get/secretLink.d.ts +44 -0
  261. package/dist/esm/endpoints/get/service/branches.d.ts +49 -0
  262. package/dist/esm/endpoints/get/service/build.d.ts +42 -0
  263. package/dist/esm/endpoints/get/service/buildArgumentDetails.d.ts +71 -0
  264. package/dist/esm/endpoints/get/service/buildArguments.d.ts +29 -0
  265. package/dist/esm/endpoints/get/service/builds.d.ts +52 -0
  266. package/dist/esm/endpoints/get/service/containers.d.ts +40 -0
  267. package/dist/esm/endpoints/get/service/deployment.d.ts +55 -0
  268. package/dist/esm/endpoints/get/service/healthChecks.d.ts +45 -0
  269. package/dist/esm/endpoints/get/service/ports.d.ts +70 -0
  270. package/dist/esm/endpoints/get/service/pullRequests.d.ts +49 -0
  271. package/dist/esm/endpoints/get/service/runtimeEnvironment.d.ts +29 -0
  272. package/dist/esm/endpoints/get/service/runtimeEnvironmentDetails.d.ts +71 -0
  273. package/dist/esm/endpoints/get/service.d.ts +211 -0
  274. package/dist/esm/endpoints/get/subdomain.d.ts +30 -0
  275. package/dist/esm/endpoints/get/template.d.ts +61 -0
  276. package/dist/esm/endpoints/get/templateRun.d.ts +73 -0
  277. package/dist/esm/endpoints/get/volume.d.ts +49 -0
  278. package/dist/esm/endpoints/import/addon/backup.d.ts +31 -0
  279. package/dist/esm/endpoints/list/addons.d.ts +45 -0
  280. package/dist/esm/endpoints/list/branches.d.ts +51 -0
  281. package/dist/esm/endpoints/list/clusters.d.ts +63 -0
  282. package/dist/esm/endpoints/list/domains.d.ts +34 -0
  283. package/dist/esm/endpoints/list/integrations.d.ts +36 -0
  284. package/dist/esm/endpoints/list/invoices.d.ts +40 -0
  285. package/dist/esm/endpoints/list/jobs.d.ts +46 -0
  286. package/dist/esm/endpoints/list/plans.d.ts +30 -0
  287. package/dist/esm/endpoints/list/projects.d.ts +32 -0
  288. package/dist/esm/endpoints/list/providers.d.ts +37 -0
  289. package/dist/esm/endpoints/list/regions.d.ts +18 -0
  290. package/dist/esm/endpoints/list/registries.d.ts +41 -0
  291. package/dist/esm/endpoints/list/repos.d.ts +51 -0
  292. package/dist/esm/endpoints/list/secrets.d.ts +54 -0
  293. package/dist/esm/endpoints/list/services.d.ts +65 -0
  294. package/dist/esm/endpoints/list/templateRuns.d.ts +54 -0
  295. package/dist/esm/endpoints/list/templates.d.ts +41 -0
  296. package/dist/esm/endpoints/list/vcs.d.ts +32 -0
  297. package/dist/esm/endpoints/list/volumes.d.ts +47 -0
  298. package/dist/esm/endpoints/pause/addon.d.ts +19 -0
  299. package/dist/esm/endpoints/pause/job.d.ts +19 -0
  300. package/dist/esm/endpoints/pause/service.d.ts +19 -0
  301. package/dist/esm/endpoints/restart/addon.d.ts +19 -0
  302. package/dist/esm/endpoints/restart/service.d.ts +19 -0
  303. package/dist/esm/endpoints/restore/addon/backup.d.ts +24 -0
  304. package/dist/esm/endpoints/resume/addon.d.ts +19 -0
  305. package/dist/esm/endpoints/resume/job.d.ts +28 -0
  306. package/dist/esm/endpoints/resume/service.d.ts +28 -0
  307. package/dist/esm/endpoints/retain/addon/backup.d.ts +21 -0
  308. package/dist/esm/endpoints/run/template.d.ts +62 -0
  309. package/dist/esm/endpoints/scale/addon.d.ts +28 -0
  310. package/dist/esm/endpoints/scale/job.d.ts +30 -0
  311. package/dist/esm/endpoints/scale/service.d.ts +32 -0
  312. package/dist/esm/endpoints/start/job/build.d.ts +47 -0
  313. package/dist/esm/endpoints/start/job/run.d.ts +74 -0
  314. package/dist/esm/endpoints/start/service/build.d.ts +55 -0
  315. package/dist/esm/endpoints/suspend/job.d.ts +24 -0
  316. package/dist/esm/endpoints/unassign/subdomain.d.ts +19 -0
  317. package/dist/esm/endpoints/update/addon/networkSettings.d.ts +26 -0
  318. package/dist/esm/endpoints/update/addon/security.d.ts +29 -0
  319. package/dist/esm/endpoints/update/addon/version.d.ts +24 -0
  320. package/dist/esm/endpoints/update/cluster.d.ts +76 -0
  321. package/dist/esm/endpoints/update/integration.d.ts +53 -0
  322. package/dist/esm/endpoints/update/job/buildArguments.d.ts +29 -0
  323. package/dist/esm/endpoints/update/job/buildOptions.d.ts +50 -0
  324. package/dist/esm/endpoints/update/job/buildSource.d.ts +32 -0
  325. package/dist/esm/endpoints/update/job/cmdOverride.d.ts +24 -0
  326. package/dist/esm/endpoints/update/job/deployment.d.ts +39 -0
  327. package/dist/esm/endpoints/update/job/entrypointOverride.d.ts +24 -0
  328. package/dist/esm/endpoints/update/job/healthChecks.d.ts +45 -0
  329. package/dist/esm/endpoints/update/job/runtimeEnvironment.d.ts +29 -0
  330. package/dist/esm/endpoints/update/job/settings.d.ts +32 -0
  331. package/dist/esm/endpoints/update/registry.d.ts +31 -0
  332. package/dist/esm/endpoints/update/secret.d.ts +58 -0
  333. package/dist/esm/endpoints/update/secretLink.d.ts +40 -0
  334. package/dist/esm/endpoints/update/service/buildArguments.d.ts +29 -0
  335. package/dist/esm/endpoints/update/service/buildOptions.d.ts +62 -0
  336. package/dist/esm/endpoints/update/service/buildSource.d.ts +32 -0
  337. package/dist/esm/endpoints/update/service/cmdOverride.d.ts +24 -0
  338. package/dist/esm/endpoints/update/service/deployment.d.ts +39 -0
  339. package/dist/esm/endpoints/update/service/entrypointOverride.d.ts +24 -0
  340. package/dist/esm/endpoints/update/service/healthChecks.d.ts +45 -0
  341. package/dist/esm/endpoints/update/service/ports.d.ts +57 -0
  342. package/dist/esm/endpoints/update/service/runtimeEnvironment.d.ts +34 -0
  343. package/dist/esm/endpoints/update/template.d.ts +81 -0
  344. package/dist/esm/endpoints/update/volume.d.ts +33 -0
  345. package/dist/esm/endpoints/verify/domain.d.ts +17 -0
  346. package/dist/esm/endpoints/verify/subdomain.d.ts +19 -0
  347. package/dist/esm/exec-command/client/exec-command-runner.d.ts +70 -0
  348. package/dist/esm/exec-command/client/exec-command-standard.d.ts +42 -0
  349. package/dist/esm/port-forward/client/api-helper.d.ts +30 -0
  350. package/dist/esm/port-forward/client/atomic-write.d.ts +2 -0
  351. package/dist/esm/port-forward/client/host-file-ast.d.ts +52 -0
  352. package/dist/esm/port-forward/client/host-file.d.ts +26 -0
  353. package/dist/esm/port-forward/client/loopback.d.ts +4 -0
  354. package/dist/esm/port-forward/client/port-forwarder.d.ts +87 -0
  355. package/dist/esm/port-forward/client/port-tunnel-tcp.d.ts +36 -0
  356. package/dist/esm/port-forward/client/port-tunnel-udp.d.ts +27 -0
  357. package/dist/esm/port-forward/client/promise-mutex.d.ts +4 -0
  358. package/dist/esm/utils.d.ts +21 -0
  359. package/package.json +1 -1
@@ -98,7 +98,13 @@ declare class ApiClientInMemoryContextProvider extends ApiClientContextProvider
98
98
  protected writeContext(context: ApiClientContextWrapper): Promise<void>;
99
99
  }
100
100
 
101
- declare type ApiCallError = {
101
+ declare class NorthflankApiCallError extends Error implements ApiCallError {
102
+ id?: any;
103
+ details?: any;
104
+ status: number;
105
+ constructor(callError: ApiCallError);
106
+ }
107
+ interface ApiCallError {
102
108
  /** Http status response code */
103
109
  status: number;
104
110
  /** Error message */
@@ -107,7 +113,8 @@ declare type ApiCallError = {
107
113
  id?: string;
108
114
  /** Error details */
109
115
  details?: any;
110
- };
116
+ }
117
+
111
118
  interface ApiCallResponse<R> {
112
119
  data: R;
113
120
  rawResponse: Response;
@@ -127,6 +134,9 @@ interface ApiCallResponse<R> {
127
134
  'count': number;
128
135
  };
129
136
  }
137
+ interface ApiEndpoint<T, R> {
138
+ requiredPermissions?: string | undefined;
139
+ }
130
140
  declare abstract class ApiEndpoint<T, R> {
131
141
  protected readonly opts: ApiClientOpts;
132
142
  protected contextProvider: ApiClientContextProvider;
@@ -218,6 +228,7 @@ declare type ListServicesOptions = {
218
228
  declare class ListServicesEndpoint extends GetApiEndpoint<ListServicesRequest, ListServicesResult> {
219
229
  description: string;
220
230
  withAuth: boolean;
231
+ requiredPermissions: string;
221
232
  endpointUrl: (opts: ListServicesRequest) => string;
222
233
  body: () => undefined;
223
234
  }
@@ -262,6 +273,7 @@ declare type ListAddonsOptions = {
262
273
  declare class ListAddonsEndpoint extends GetApiEndpoint<ListAddonsRequest, ListAddonsResult> {
263
274
  description: string;
264
275
  withAuth: boolean;
276
+ requiredPermissions: string;
265
277
  endpointUrl: (opts: ListAddonsRequest) => string;
266
278
  body: () => undefined;
267
279
  }
@@ -491,6 +503,7 @@ declare type ListProjectsOptions = {
491
503
  declare class ListProjectsEndpoint extends GetApiEndpoint<ListProjectsRequest, ListProjectsResult> {
492
504
  description: string;
493
505
  withAuth: boolean;
506
+ requiredPermissions: string;
494
507
  endpointUrl: (opts: ListProjectsRequest) => string;
495
508
  body: () => undefined;
496
509
  }
@@ -511,7 +524,9 @@ declare type CreateProjectData = {
511
524
  /** The description of the project. Example: "This is a new project." */
512
525
  'description'?: string;
513
526
  /** The region the project will be hosted in. Example: "europe-west" */
514
- 'region': string;
527
+ 'region'?: string;
528
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
529
+ 'clusterId'?: string;
515
530
  /** The color of the project in the Northflank App. Example: "#EF233C" */
516
531
  'color'?: string;
517
532
  };
@@ -519,6 +534,7 @@ declare type CreateProjectData = {
519
534
  declare class CreateProjectEndpoint extends PostApiEndpoint<CreateProjectRequest, CreateProjectResult> {
520
535
  description: string;
521
536
  withAuth: boolean;
537
+ requiredPermissions: string;
522
538
  endpointUrl: (opts: CreateProjectRequest) => string;
523
539
  body: (payload: CreateProjectRequest) => string;
524
540
  }
@@ -590,6 +606,7 @@ declare type GetProjectParameters = {
590
606
  declare class GetProjectEndpoint extends GetApiEndpoint<GetProjectRequest, GetProjectResult> {
591
607
  description: string;
592
608
  withAuth: boolean;
609
+ requiredPermissions: string;
593
610
  endpointUrl: (opts: GetProjectRequest) => string;
594
611
  body: () => undefined;
595
612
  }
@@ -606,6 +623,7 @@ declare type DeleteProjectParameters = {
606
623
  declare class DeleteProjectEndpoint extends DeleteApiEndpoint<DeleteProjectRequest, DeleteProjectResult> {
607
624
  description: string;
608
625
  withAuth: boolean;
626
+ requiredPermissions: string;
609
627
  endpointUrl: (opts: DeleteProjectRequest) => string;
610
628
  body: () => undefined;
611
629
  }
@@ -683,13 +701,20 @@ declare type CreateAddonData = {
683
701
  'billing': {
684
702
  /** The ID of the deployment plan to use. Example: "nf-compute-20" */
685
703
  'deploymentPlan': string;
686
- /** The type of storage. Only configurable if the relevant feature flag is enabled for you account */
704
+ /** The type of storage. Only configurable if the relevant feature flag is enabled for you account Example: "ssd" */
687
705
  'storageClass'?: 'ssd' | 'hdd';
688
706
  /** The size of the addon storage, in megabytes. Example: 4096 */
689
707
  'storage': number;
690
708
  /** The number of addon replicas to run. Example: 1 */
691
709
  'replicas': number;
692
710
  };
711
+ /** Optional object containing data about an existing addon to fork. If provided, the addon will be created from that existing addon backup. */
712
+ 'source'?: {
713
+ /** ID of the addon to fork. Example: "existing-addon" */
714
+ 'addonId': string;
715
+ /** ID of a backup belonging to that addon to use for the fork. Example: "existing-backup" */
716
+ 'backupId': string;
717
+ };
693
718
  /** Enables access to the addon via TLS (if supported by the addon type). */
694
719
  'tlsEnabled'?: boolean;
695
720
  /** Enables external access to the addon via TLS (if supported by the addon type). */
@@ -699,6 +724,7 @@ declare type CreateAddonData = {
699
724
  declare class CreateAddonEndpoint extends PostApiEndpoint<CreateAddonRequest, CreateAddonResult> {
700
725
  description: string;
701
726
  withAuth: boolean;
727
+ requiredPermissions: string;
702
728
  endpointUrl: (opts: CreateAddonRequest) => string;
703
729
  body: (payload: CreateAddonRequest) => string;
704
730
  }
@@ -769,6 +795,7 @@ declare type GetAddonParameters = {
769
795
  declare class GetAddonEndpoint extends GetApiEndpoint<GetAddonRequest, GetAddonResult> {
770
796
  description: string;
771
797
  withAuth: boolean;
798
+ requiredPermissions: string;
772
799
  endpointUrl: (opts: GetAddonRequest) => string;
773
800
  body: () => undefined;
774
801
  }
@@ -787,6 +814,7 @@ declare type DeleteAddonParameters = {
787
814
  declare class DeleteAddonEndpoint extends DeleteApiEndpoint<DeleteAddonRequest, DeleteAddonResult> {
788
815
  description: string;
789
816
  withAuth: boolean;
817
+ requiredPermissions: string;
790
818
  endpointUrl: (opts: DeleteAddonRequest) => string;
791
819
  body: () => undefined;
792
820
  }
@@ -810,6 +838,7 @@ declare type GetAddonCredentialsParameters = {
810
838
  declare class GetAddonCredentialsEndpoint extends GetApiEndpoint<GetAddonCredentialsRequest, GetAddonCredentialsResult> {
811
839
  description: string;
812
840
  withAuth: boolean;
841
+ requiredPermissions: string;
813
842
  endpointUrl: (opts: GetAddonCredentialsRequest) => string;
814
843
  body: () => undefined;
815
844
  }
@@ -857,6 +886,7 @@ declare type GetAddonTypesRequest = {};
857
886
  declare class GetAddonTypesEndpoint extends GetApiEndpoint<GetAddonTypesRequest, GetAddonTypesResult> {
858
887
  description: string;
859
888
  withAuth: boolean;
889
+ requiredPermissions: string;
860
890
  endpointUrl: (opts: GetAddonTypesRequest) => string;
861
891
  body: () => undefined;
862
892
  }
@@ -884,6 +914,7 @@ declare type ScaleAddonData = {
884
914
  declare class ScaleAddonEndpoint extends PostApiEndpoint<ScaleAddonRequest, ScaleAddonResult> {
885
915
  description: string;
886
916
  withAuth: boolean;
917
+ requiredPermissions: string;
887
918
  endpointUrl: (opts: ScaleAddonRequest) => string;
888
919
  body: (payload: ScaleAddonRequest) => string;
889
920
  }
@@ -936,6 +967,7 @@ declare type GetAddonVersionParameters = {
936
967
  declare class GetAddonVersionEndpoint extends GetApiEndpoint<GetAddonVersionRequest, GetAddonVersionResult> {
937
968
  description: string;
938
969
  withAuth: boolean;
970
+ requiredPermissions: string;
939
971
  endpointUrl: (opts: GetAddonVersionRequest) => string;
940
972
  body: () => undefined;
941
973
  }
@@ -959,6 +991,7 @@ declare type UpdateAddonVersionData = {
959
991
  declare class UpdateAddonVersionEndpoint extends PostApiEndpoint<UpdateAddonVersionRequest, UpdateAddonVersionResult> {
960
992
  description: string;
961
993
  withAuth: boolean;
994
+ requiredPermissions: string;
962
995
  endpointUrl: (opts: UpdateAddonVersionRequest) => string;
963
996
  body: (payload: UpdateAddonVersionRequest) => string;
964
997
  }
@@ -984,6 +1017,7 @@ declare type UpdateAddonNetworksettingsData = {
984
1017
  declare class UpdateAddonNetworksettingsEndpoint extends PostApiEndpoint<UpdateAddonNetworksettingsRequest, UpdateAddonNetworksettingsResult> {
985
1018
  description: string;
986
1019
  withAuth: boolean;
1020
+ requiredPermissions: string;
987
1021
  endpointUrl: (opts: UpdateAddonNetworksettingsRequest) => string;
988
1022
  body: (payload: UpdateAddonNetworksettingsRequest) => string;
989
1023
  }
@@ -1012,6 +1046,7 @@ declare type UpdateAddonSecurityData = {
1012
1046
  declare class UpdateAddonSecurityEndpoint extends PostApiEndpoint<UpdateAddonSecurityRequest, UpdateAddonSecurityResult> {
1013
1047
  description: string;
1014
1048
  withAuth: boolean;
1049
+ requiredPermissions: string;
1015
1050
  endpointUrl: (opts: UpdateAddonSecurityRequest) => string;
1016
1051
  body: (payload: UpdateAddonSecurityRequest) => string;
1017
1052
  }
@@ -1065,6 +1100,7 @@ declare type GetAddonBackupsOptions = {
1065
1100
  declare class GetAddonBackupsEndpoint extends GetApiEndpoint<GetAddonBackupsRequest, GetAddonBackupsResult> {
1066
1101
  description: string;
1067
1102
  withAuth: boolean;
1103
+ requiredPermissions: string;
1068
1104
  endpointUrl: (opts: GetAddonBackupsRequest) => string;
1069
1105
  body: () => undefined;
1070
1106
  }
@@ -1115,6 +1151,7 @@ declare type BackupAddonData = {
1115
1151
  declare class BackupAddonEndpoint extends PostApiEndpoint<BackupAddonRequest, BackupAddonResult> {
1116
1152
  description: string;
1117
1153
  withAuth: boolean;
1154
+ requiredPermissions: string;
1118
1155
  endpointUrl: (opts: BackupAddonRequest) => string;
1119
1156
  body: (payload: BackupAddonRequest) => string;
1120
1157
  }
@@ -1160,6 +1197,7 @@ declare type GetAddonBackupParameters = {
1160
1197
  declare class GetAddonBackupEndpoint extends GetApiEndpoint<GetAddonBackupRequest, GetAddonBackupResult> {
1161
1198
  description: string;
1162
1199
  withAuth: boolean;
1200
+ requiredPermissions: string;
1163
1201
  endpointUrl: (opts: GetAddonBackupRequest) => string;
1164
1202
  body: () => undefined;
1165
1203
  }
@@ -1180,6 +1218,7 @@ declare type DeleteBackupParameters = {
1180
1218
  declare class DeleteBackupEndpoint extends DeleteApiEndpoint<DeleteBackupRequest, DeleteBackupResult> {
1181
1219
  description: string;
1182
1220
  withAuth: boolean;
1221
+ requiredPermissions: string;
1183
1222
  endpointUrl: (opts: DeleteBackupRequest) => string;
1184
1223
  body: () => undefined;
1185
1224
  }
@@ -1203,6 +1242,7 @@ declare type RestoreAddonBackupParameters = {
1203
1242
  declare class RestoreAddonBackupEndpoint extends PostApiEndpoint<RestoreAddonBackupRequest, RestoreAddonBackupResult> {
1204
1243
  description: string;
1205
1244
  withAuth: boolean;
1245
+ requiredPermissions: string;
1206
1246
  endpointUrl: (opts: RestoreAddonBackupRequest) => string;
1207
1247
  body: () => undefined;
1208
1248
  }
@@ -1233,6 +1273,7 @@ declare type ImportAddonBackupData = {
1233
1273
  declare class ImportAddonBackupEndpoint extends PostApiEndpoint<ImportAddonBackupRequest, ImportAddonBackupResult> {
1234
1274
  description: string;
1235
1275
  withAuth: boolean;
1276
+ requiredPermissions: string;
1236
1277
  endpointUrl: (opts: ImportAddonBackupRequest) => string;
1237
1278
  body: (payload: ImportAddonBackupRequest) => string;
1238
1279
  }
@@ -1272,6 +1313,7 @@ declare type GetAddonContainersOptions = {
1272
1313
  declare class GetAddonContainersEndpoint extends GetApiEndpoint<GetAddonContainersRequest, GetAddonContainersResult> {
1273
1314
  description: string;
1274
1315
  withAuth: boolean;
1316
+ requiredPermissions: string;
1275
1317
  endpointUrl: (opts: GetAddonContainersRequest) => string;
1276
1318
  body: () => undefined;
1277
1319
  }
@@ -1290,6 +1332,7 @@ declare type PauseAddonParameters = {
1290
1332
  declare class PauseAddonEndpoint extends PostApiEndpoint<PauseAddonRequest, PauseAddonResult> {
1291
1333
  description: string;
1292
1334
  withAuth: boolean;
1335
+ requiredPermissions: string;
1293
1336
  endpointUrl: (opts: PauseAddonRequest) => string;
1294
1337
  body: () => undefined;
1295
1338
  }
@@ -1308,6 +1351,7 @@ declare type ResumeAddonParameters = {
1308
1351
  declare class ResumeAddonEndpoint extends PostApiEndpoint<ResumeAddonRequest, ResumeAddonResult> {
1309
1352
  description: string;
1310
1353
  withAuth: boolean;
1354
+ requiredPermissions: string;
1311
1355
  endpointUrl: (opts: ResumeAddonRequest) => string;
1312
1356
  body: () => undefined;
1313
1357
  }
@@ -1326,6 +1370,7 @@ declare type RestartAddonParameters = {
1326
1370
  declare class RestartAddonEndpoint extends PostApiEndpoint<RestartAddonRequest, RestartAddonResult> {
1327
1371
  description: string;
1328
1372
  withAuth: boolean;
1373
+ requiredPermissions: string;
1329
1374
  endpointUrl: (opts: RestartAddonRequest) => string;
1330
1375
  body: () => undefined;
1331
1376
  }
@@ -1346,10 +1391,32 @@ declare type AbortAddonBackupParameters = {
1346
1391
  declare class AbortAddonBackupEndpoint extends PostApiEndpoint<AbortAddonBackupRequest, AbortAddonBackupResult> {
1347
1392
  description: string;
1348
1393
  withAuth: boolean;
1394
+ requiredPermissions: string;
1349
1395
  endpointUrl: (opts: AbortAddonBackupRequest) => string;
1350
1396
  body: () => undefined;
1351
1397
  }
1352
1398
 
1399
+ declare type RetainAddonBackupResult = any;
1400
+ declare type RetainAddonBackupCall = (opts: RetainAddonBackupRequest) => Promise<ApiCallResponse<RetainAddonBackupResult>>;
1401
+ declare type RetainAddonBackupRequest = {
1402
+ parameters: RetainAddonBackupParameters;
1403
+ };
1404
+ declare type RetainAddonBackupParameters = {
1405
+ /** ID of the project */ 'projectId': string;
1406
+ /** ID of the addon */
1407
+ 'addonId': string;
1408
+ /** ID of the backup */
1409
+ 'backupId': string;
1410
+ };
1411
+ /** Flags a temporary backup generated by a backup schedule to be retained indefinitely rather than being deleted after the expiry date. */
1412
+ declare class RetainAddonBackupEndpoint extends PostApiEndpoint<RetainAddonBackupRequest, RetainAddonBackupResult> {
1413
+ description: string;
1414
+ withAuth: boolean;
1415
+ requiredPermissions: string;
1416
+ endpointUrl: (opts: RetainAddonBackupRequest) => string;
1417
+ body: () => undefined;
1418
+ }
1419
+
1353
1420
  declare type GetAddonBackupDownloadResult = {
1354
1421
  /** The url to download the backup from. Example: "https://storage.googleapis.com/..." */
1355
1422
  'downloadLink': string;
@@ -1369,6 +1436,7 @@ declare type GetAddonBackupDownloadParameters = {
1369
1436
  declare class GetAddonBackupDownloadEndpoint extends GetApiEndpoint<GetAddonBackupDownloadRequest, GetAddonBackupDownloadResult> {
1370
1437
  description: string;
1371
1438
  withAuth: boolean;
1439
+ requiredPermissions: string;
1372
1440
  endpointUrl: (opts: GetAddonBackupDownloadRequest) => string;
1373
1441
  body: () => undefined;
1374
1442
  }
@@ -1394,10 +1462,849 @@ declare type AbortAddonRestoreData = {
1394
1462
  declare class AbortAddonRestoreEndpoint extends PostApiEndpoint<AbortAddonRestoreRequest, AbortAddonRestoreResult> {
1395
1463
  description: string;
1396
1464
  withAuth: boolean;
1465
+ requiredPermissions: string;
1397
1466
  endpointUrl: (opts: AbortAddonRestoreRequest) => string;
1398
1467
  body: (payload: AbortAddonRestoreRequest) => string;
1399
1468
  }
1400
1469
 
1470
+ declare type GetAddonBackupschedulesResult = {
1471
+ 'schedules'?: {
1472
+ /** ID of the schedule. Example: "62cc20b90956ab62a58e8474" */
1473
+ 'id': string;
1474
+ /** The type of backup being performed. Example: "snapshot" */
1475
+ 'backupType': 'dump' | 'snapshot';
1476
+ /** Information about the scheduling for the backup schedule. */
1477
+ 'scheduling': {
1478
+ /** The interval between backups. Each addon can only have one backup schedule of each interval for each backup type. Example: "weekly" */
1479
+ 'interval': 'hourly' | 'daily' | 'weekly';
1480
+ /** An array of minutes when the backup should be performed. */
1481
+ 'minute': number[];
1482
+ /** An array of hours in 24 hour format when the backup should be performed. At these hours, a backup will be performed at each of the minutes provided in the `minute` field. Required for `daily` and `weekly` intervals and unavailable for `hourly` intervals. */
1483
+ 'hour'?: number[];
1484
+ /** An array of days of the week when the backup should be performed, where `0` represents Monday and `6` represents Sunday. On these days, a backup will be performed at each of the minutes provided in the `minute` field whenever it is an hour from the `hour` field. Required for `weekly` intervals and unavailable for `hourly` and `daily` intervals. */
1485
+ 'day'?: number[];
1486
+ };
1487
+ /** The time, in days, that the backups are retained for. Example: 7 */
1488
+ 'retentionTime': number;
1489
+ /** The timestamp the backup schedule was created. Example: "2022-07-11T13:08:09.626Z" */
1490
+ 'createdAt': string;
1491
+ /** The timestamp the backup schedule was last updated. Example: "2022-07-11T13:08:09.626Z" */
1492
+ 'updatedAt': string;
1493
+ }[];
1494
+ };
1495
+ declare type GetAddonBackupschedulesCall = (opts: GetAddonBackupschedulesRequest) => Promise<ApiCallResponse<GetAddonBackupschedulesResult>>;
1496
+ declare type GetAddonBackupschedulesRequest = {
1497
+ parameters: GetAddonBackupschedulesParameters;
1498
+ options?: GetAddonBackupschedulesOptions;
1499
+ };
1500
+ declare type GetAddonBackupschedulesParameters = {
1501
+ /** ID of the project */ 'projectId': string;
1502
+ /** ID of the addon */
1503
+ 'addonId': string;
1504
+ };
1505
+ declare type GetAddonBackupschedulesOptions = {
1506
+ /** The number of results to display per request. Maximum of 100 results per page. */
1507
+ 'per_page'?: number;
1508
+ /** The page number to access. */
1509
+ 'page'?: number;
1510
+ /** The cursor returned from the previous page of results, used to request the next page. */
1511
+ 'cursor'?: string;
1512
+ };
1513
+ /** Gets details about an addon's backup schedules */
1514
+ declare class GetAddonBackupschedulesEndpoint extends GetApiEndpoint<GetAddonBackupschedulesRequest, GetAddonBackupschedulesResult> {
1515
+ description: string;
1516
+ withAuth: boolean;
1517
+ requiredPermissions: string;
1518
+ endpointUrl: (opts: GetAddonBackupschedulesRequest) => string;
1519
+ body: () => undefined;
1520
+ }
1521
+
1522
+ declare type CreateAddonBackupscheduleResult = {
1523
+ /** ID of the schedule. Example: "62cc20b90956ab62a58e8474" */
1524
+ 'id': string;
1525
+ };
1526
+ declare type CreateAddonBackupscheduleCall = (opts: CreateAddonBackupscheduleRequest) => Promise<ApiCallResponse<CreateAddonBackupscheduleResult>>;
1527
+ declare type CreateAddonBackupscheduleRequest = {
1528
+ parameters: CreateAddonBackupscheduleParameters;
1529
+ data: CreateAddonBackupscheduleData;
1530
+ };
1531
+ declare type CreateAddonBackupscheduleParameters = {
1532
+ /** ID of the project */ 'projectId': string;
1533
+ /** ID of the addon */
1534
+ 'addonId': string;
1535
+ };
1536
+ declare type CreateAddonBackupscheduleData = {
1537
+ /** Schedule for the backup. */
1538
+ 'scheduling': {
1539
+ /** The interval between backups. Each addon can only have one backup schedule of each interval for each backup type. Example: "weekly" */
1540
+ 'interval': 'hourly' | 'daily' | 'weekly';
1541
+ /** An array of minutes when the backup should be performed. */
1542
+ 'minute': number[];
1543
+ /** An array of hours in 24 hour format when the backup should be performed. At these hours, a backup will be performed at each of the minutes provided in the `minute` field. Required for `daily` and `weekly` intervals and unavailable for `hourly` intervals. */
1544
+ 'hour'?: number[];
1545
+ /** An array of days of the week when the backup should be performed, where `0` represents Monday and `6` represents Sunday. On these days, a backup will be performed at each of the minutes provided in the `minute` field whenever it is an hour from the `hour` field. Required for `weekly` intervals and unavailable for `hourly` and `daily` intervals. */
1546
+ 'day'?: number[];
1547
+ };
1548
+ /** The type of the backup to be performed. Example: "snapshot" */
1549
+ 'backupType': 'dump' | 'snapshot';
1550
+ /** The time the backup is retained for, in days. `hourly` backups have a maximum retention of 7 days, `daily` backups have a maximum retention of 60 days and `weekly` backups have a maximum retention of 120 days. Example: 7 */
1551
+ 'retentionTime': number;
1552
+ };
1553
+ /** Create a new backup schedule for an addon. */
1554
+ declare class CreateAddonBackupscheduleEndpoint extends PostApiEndpoint<CreateAddonBackupscheduleRequest, CreateAddonBackupscheduleResult> {
1555
+ description: string;
1556
+ withAuth: boolean;
1557
+ requiredPermissions: string;
1558
+ endpointUrl: (opts: CreateAddonBackupscheduleRequest) => string;
1559
+ body: (payload: CreateAddonBackupscheduleRequest) => string;
1560
+ }
1561
+
1562
+ declare type DeleteAddonBackupscheduleResult = any;
1563
+ declare type DeleteAddonBackupscheduleCall = (opts: DeleteAddonBackupscheduleRequest) => Promise<ApiCallResponse<DeleteAddonBackupscheduleResult>>;
1564
+ declare type DeleteAddonBackupscheduleRequest = {
1565
+ parameters: DeleteAddonBackupscheduleParameters;
1566
+ };
1567
+ declare type DeleteAddonBackupscheduleParameters = {
1568
+ /** ID of the project */ 'projectId': string;
1569
+ /** ID of the addon */
1570
+ 'addonId': string;
1571
+ /** ID of the backup schedule */
1572
+ 'scheduleId': string;
1573
+ };
1574
+ /** Deletes a backup schedule for an addon. */
1575
+ declare class DeleteAddonBackupscheduleEndpoint extends DeleteApiEndpoint<DeleteAddonBackupscheduleRequest, DeleteAddonBackupscheduleResult> {
1576
+ description: string;
1577
+ withAuth: boolean;
1578
+ requiredPermissions: string;
1579
+ endpointUrl: (opts: DeleteAddonBackupscheduleRequest) => string;
1580
+ body: () => undefined;
1581
+ }
1582
+
1583
+ declare type ListInvoicesResult = {
1584
+ 'invoices'?: {
1585
+ /** Information about the billing period of the invoice. */
1586
+ 'period': {
1587
+ /** Unix timestamp of the start of the billing period. Example: 1655823815 */
1588
+ 'start': number;
1589
+ /** Unix timestamp of the end of the billing period. Example: 1655910214 */
1590
+ 'end': number;
1591
+ };
1592
+ /** Currency code for the currency the invoice is billed in. Example: "usd" */
1593
+ 'currency': string;
1594
+ /** Total cost of the invoice, in cents, including tax. Example: 1200 */
1595
+ 'total': number;
1596
+ /** Total cost of the invoice, in cents, excluding tax. Example: 1000 */
1597
+ 'subTotal': number;
1598
+ /** If `timestamp` is passed in, whether the invoice has been paid. */
1599
+ 'paid'?: boolean;
1600
+ };
1601
+ };
1602
+ declare type ListInvoicesCall = (opts: ListInvoicesRequest) => Promise<ApiCallResponse<ListInvoicesResult>>;
1603
+ declare type ListInvoicesRequest = {
1604
+ options?: ListInvoicesOptions;
1605
+ };
1606
+ declare type ListInvoicesOptions = {
1607
+ /** The number of results to display per request. Maximum of 100 results per page. */
1608
+ 'per_page'?: number;
1609
+ /** The page number to access. */
1610
+ 'page'?: number;
1611
+ /** The cursor returned from the previous page of results, used to request the next page. */
1612
+ 'cursor'?: string;
1613
+ };
1614
+ /** Get a list of past invoices */
1615
+ declare class ListInvoicesEndpoint extends GetApiEndpoint<ListInvoicesRequest, ListInvoicesResult> {
1616
+ description: string;
1617
+ withAuth: boolean;
1618
+ requiredPermissions: string;
1619
+ endpointUrl: (opts: ListInvoicesRequest) => string;
1620
+ body: () => undefined;
1621
+ }
1622
+
1623
+ declare type GetInvoiceDetailsResult = {
1624
+ /** Information about the billing period of the invoice. */
1625
+ 'period': {
1626
+ /** Unix timestamp of the start of the billing period. Example: 1655823815 */
1627
+ 'start': number;
1628
+ /** Unix timestamp of the end of the billing period. Example: 1655910214 */
1629
+ 'end': number;
1630
+ };
1631
+ /** Currency code for the currency the invoice is billed in. Example: "usd" */
1632
+ 'currency': string;
1633
+ /** Total cost of the invoice, in cents, including tax. Example: 1200 */
1634
+ 'total': number;
1635
+ /** Total cost of the invoice, in cents, excluding tax. Example: 1000 */
1636
+ 'subTotal': number;
1637
+ /** If `timestamp` is passed in, whether the invoice has been paid. */
1638
+ 'paid'?: boolean;
1639
+ /** Details about the tax on the invoice. */
1640
+ 'tax': {
1641
+ /** Percentage of subtotal to be applied as tax. Example: 20 */
1642
+ 'percent': number;
1643
+ /** Value of the tax on the invoice. Example: 200 */
1644
+ 'value': number;
1645
+ };
1646
+ /** An array of projects billed in this invoice. If `projectId` is passed in, only projects with a `projectId` matching the value will be returned. */
1647
+ 'projects': {
1648
+ /** ID of the project. Example: "default-project" */
1649
+ 'projectId': string;
1650
+ /** Name of the project Example: "Default Project" */
1651
+ 'projectName': string;
1652
+ /** Duration the project has been running in this billing period, in seconds. Example: 259200 */
1653
+ 'duration': string;
1654
+ /** An array of objects belonging to this project that are billed in this invoice. If `addonId`, `serviceId` or `jobId` are passed in, only objects matching that ID will be returned. */
1655
+ 'items': {
1656
+ /** Duration the object has been running in this billing period, in seconds. Example: 172800 */
1657
+ 'duration': string;
1658
+ /** Details about the price of a object, broken down by resource type. */
1659
+ 'price': {
1660
+ /** Price of CPU usage for this object, in cents. Example: 200 */
1661
+ 'cpu': number;
1662
+ /** Price of memory usage for this object, in cents. Example: 200 */
1663
+ 'memory': number;
1664
+ /** Price of storage usage for this object, in cents. Example: 200 */
1665
+ 'storage': number;
1666
+ /** Total price for this object, in cents. Example: 600 */
1667
+ 'total': number;
1668
+ };
1669
+ /** The ID of the object. Example: "example-service" */
1670
+ 'nfObjectId': string;
1671
+ /** The name of the object. Example: "Example Service" */
1672
+ 'nfObjectName': string;
1673
+ /** The type of the object. Example: "service" */
1674
+ 'nfObjectType': 'job' | 'service' | 'addon' | 'volume';
1675
+ }[];
1676
+ /** Details about the price of a project, broken down by resource type. */
1677
+ 'price': {
1678
+ /** Price of CPU usage for this project, in cents. Example: 200 */
1679
+ 'cpu': number;
1680
+ /** Price of memory usage for this project, in cents. Example: 200 */
1681
+ 'memory': number;
1682
+ /** Price of storage usage for this project, in cents. Example: 200 */
1683
+ 'storage': number;
1684
+ /** Total price for this project, in cents. Example: 600 */
1685
+ 'total': number;
1686
+ };
1687
+ /** Details about the price of a project, broken down by object type. */
1688
+ 'objectTypeTotals': {
1689
+ 'addon'?: {
1690
+ /** Details about the price for all addons in this project, broken down by resource type. */
1691
+ 'price'?: {
1692
+ /** Price of CPU usage for all addons in this project, in cents. Example: 200 */
1693
+ 'cpu': number;
1694
+ /** Price of memory usage for all addons in this project, in cents. Example: 200 */
1695
+ 'memory': number;
1696
+ /** Price of storage usage for all addons in this project, in cents. Example: 200 */
1697
+ 'storage': number;
1698
+ /** Total price for all addons in this project, in cents. Example: 600 */
1699
+ 'total': number;
1700
+ };
1701
+ /** Duration addons have been running in this billing period, in seconds. Example: 172800 */
1702
+ 'duration': number;
1703
+ };
1704
+ 'service'?: {
1705
+ /** Details about the price for all services in this project, broken down by resource type. */
1706
+ 'price'?: {
1707
+ /** Price of CPU usage for all services in this project, in cents. Example: 200 */
1708
+ 'cpu': number;
1709
+ /** Price of memory usage for all services in this project, in cents. Example: 200 */
1710
+ 'memory': number;
1711
+ /** Price of storage usage for all services in this project, in cents. Example: 200 */
1712
+ 'storage': number;
1713
+ /** Total price for all services in this project, in cents. Example: 600 */
1714
+ 'total': number;
1715
+ };
1716
+ /** Duration services have been running in this billing period, in seconds. Example: 172800 */
1717
+ 'duration': number;
1718
+ };
1719
+ 'job'?: {
1720
+ /** Details about the price for all jobs in this project, broken down by resource type. */
1721
+ 'price'?: {
1722
+ /** Price of CPU usage for all jobs in this project, in cents. Example: 200 */
1723
+ 'cpu': number;
1724
+ /** Price of memory usage for all jobs in this project, in cents. Example: 200 */
1725
+ 'memory': number;
1726
+ /** Price of storage usage for all jobs in this project, in cents. Example: 200 */
1727
+ 'storage': number;
1728
+ /** Total price for all jobs in this project, in cents. Example: 600 */
1729
+ 'total': number;
1730
+ };
1731
+ /** Duration jobs have been running in this billing period, in seconds. Example: 172800 */
1732
+ 'duration': number;
1733
+ };
1734
+ };
1735
+ }[];
1736
+ };
1737
+ declare type GetInvoiceDetailsCall = (opts: GetInvoiceDetailsRequest) => Promise<ApiCallResponse<GetInvoiceDetailsResult>>;
1738
+ declare type GetInvoiceDetailsRequest = {
1739
+ options?: GetInvoiceDetailsOptions;
1740
+ };
1741
+ declare type GetInvoiceDetailsOptions = {
1742
+ /** Timestamp of an invoice. If passed in, this endpoint will return details about the invoice that time belongs to. */
1743
+ 'timestamp'?: number;
1744
+ /** ID of a project. If passed in, only details about that project will be returned. */
1745
+ 'projectId'?: string;
1746
+ /** ID of a addon. If passed in, only details about that addon will be returned. */
1747
+ 'addonId'?: string;
1748
+ /** ID of a service. If passed in, only details about that service will be returned. */
1749
+ 'serviceId'?: string;
1750
+ /** ID of a job. If passed in, only details about that job will be returned. */
1751
+ 'jobId'?: string;
1752
+ };
1753
+ /** Get details about an invoice. If `timestamp` is passed in as a query parameter, this endpoint returns details about the invoice containing that timestamp. Otherwise, returns a preview invoice displaying billing data from after the most recent invoice. */
1754
+ declare class GetInvoiceDetailsEndpoint extends GetApiEndpoint<GetInvoiceDetailsRequest, GetInvoiceDetailsResult> {
1755
+ description: string;
1756
+ withAuth: boolean;
1757
+ requiredPermissions: string;
1758
+ endpointUrl: (opts: GetInvoiceDetailsRequest) => string;
1759
+ body: () => undefined;
1760
+ }
1761
+
1762
+ declare type ListProvidersResult = {
1763
+ /** An array of supported cloud providers */
1764
+ 'providers': {
1765
+ /** The ID of the provider. Example: "aws" */
1766
+ 'id': string;
1767
+ /** The name of the provider. Example: "Amazon Web Services" */
1768
+ 'name': string;
1769
+ /** The kubernetes engine used. Example: "Elastic Kubernetes Service (EKS)" */
1770
+ 'engine': string;
1771
+ /** An array of available regions */
1772
+ 'regions': string[];
1773
+ /** An array of available kubernetes versions */
1774
+ 'kubernetesVersions': string[];
1775
+ /** An array of supported node types */
1776
+ 'nodeTypes': string[];
1777
+ /** An array of supported node disk sizes */
1778
+ 'diskSizes': number[];
1779
+ /** An object with feature flags to indicate (un)supported features */
1780
+ 'flags': {
1781
+ /** Preemptible/Spot node pool support Example: true */
1782
+ 'preemptible'?: boolean;
1783
+ /** Node pool autoscaling support Example: true */
1784
+ 'autoscaling'?: boolean;
1785
+ };
1786
+ }[];
1787
+ };
1788
+ declare type ListProvidersCall = (opts: ListProvidersRequest) => Promise<ApiCallResponse<ListProvidersResult>>;
1789
+ declare type ListProvidersRequest = {};
1790
+ /** Lists supported cloud providers */
1791
+ declare class ListProvidersEndpoint extends GetApiEndpoint<ListProvidersRequest, ListProvidersResult> {
1792
+ description: string;
1793
+ withAuth: boolean;
1794
+ requiredPermissions: string;
1795
+ endpointUrl: (opts: ListProvidersRequest) => string;
1796
+ body: () => undefined;
1797
+ }
1798
+
1799
+ declare type ListIntegrationsResult = {
1800
+ /** An array of integrations. */
1801
+ 'integrations': {
1802
+ /** Identifier for the integration. Example: "gcp-integration" */
1803
+ 'id': string;
1804
+ /** The name of the integration. Example: "GCP integration" */
1805
+ 'name': string;
1806
+ /** A short description of the integration. Example: "The integration description" */
1807
+ 'description'?: string;
1808
+ /** The cloud provider to which this integration belongs to. Example: "gcp" */
1809
+ 'provider'?: string;
1810
+ /** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
1811
+ 'createdAt': string;
1812
+ }[];
1813
+ };
1814
+ declare type ListIntegrationsCall = (opts: ListIntegrationsRequest) => Promise<ApiCallResponse<ListIntegrationsResult>>;
1815
+ declare type ListIntegrationsRequest = {
1816
+ options?: ListIntegrationsOptions;
1817
+ };
1818
+ declare type ListIntegrationsOptions = {
1819
+ /** The number of results to display per request. Maximum of 100 results per page. */
1820
+ 'per_page'?: number;
1821
+ /** The page number to access. */
1822
+ 'page'?: number;
1823
+ /** The cursor returned from the previous page of results, used to request the next page. */
1824
+ 'cursor'?: string;
1825
+ };
1826
+ /** Lists integrations for the authenticated user or team. */
1827
+ declare class ListIntegrationsEndpoint extends GetApiEndpoint<ListIntegrationsRequest, ListIntegrationsResult> {
1828
+ description: string;
1829
+ withAuth: boolean;
1830
+ requiredPermissions: string;
1831
+ endpointUrl: (opts: ListIntegrationsRequest) => string;
1832
+ body: () => undefined;
1833
+ }
1834
+
1835
+ declare type CreateIntegrationResult = {
1836
+ /** Identifier for the integration. Example: "gcp-integration" */
1837
+ 'id': string;
1838
+ /** The name of the integration. Example: "GCP integration" */
1839
+ 'name': string;
1840
+ /** A short description of the integration. Example: "The integration description" */
1841
+ 'description'?: string;
1842
+ /** Cloud provider credential input, required fields dependent on which provider is chosen. */
1843
+ 'credentials': {
1844
+ /** Contents of a GCP key file. */
1845
+ 'keyfileJson'?: string;
1846
+ /** AWS access key. */
1847
+ 'accessKey'?: string;
1848
+ /** AWS secret key. */
1849
+ 'secretKey'?: string;
1850
+ /** DO API key. */
1851
+ 'apiKey'?: string;
1852
+ };
1853
+ /** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
1854
+ 'createdAt': string;
1855
+ };
1856
+ declare type CreateIntegrationCall = (opts: CreateIntegrationRequest) => Promise<ApiCallResponse<CreateIntegrationResult>>;
1857
+ declare type CreateIntegrationRequest = {
1858
+ data: CreateIntegrationData;
1859
+ };
1860
+ declare type CreateIntegrationData = {
1861
+ /** The name of the cloud provider integration. Example: "New Integration" */
1862
+ 'name': string;
1863
+ /** The description of the integration. Example: "This is a new cloud provider integration." */
1864
+ 'description'?: string;
1865
+ /** Cloud provider to be used for the selected resource Example: "gcp" */
1866
+ 'provider': 'gcp' | 'aws' | 'azure' | 'do';
1867
+ /** Cloud provider credential input, required fields dependent on which provider is chosen. */
1868
+ 'credentials': {
1869
+ /** Contents of a GCP key file. */
1870
+ 'keyfileJson'?: string;
1871
+ /** AWS access key. */
1872
+ 'accessKey'?: string;
1873
+ /** AWS secret key. */
1874
+ 'secretKey'?: string;
1875
+ /** DO API key. */
1876
+ 'apiKey'?: string;
1877
+ };
1878
+ /** GCP specific data. Required when `provider` is `gcp`. */
1879
+ 'gcp'?: {
1880
+ /** Project ID */
1881
+ 'projectId': string;
1882
+ };
1883
+ };
1884
+ /** Creates a new integration. */
1885
+ declare class CreateIntegrationEndpoint extends PostApiEndpoint<CreateIntegrationRequest, CreateIntegrationResult> {
1886
+ description: string;
1887
+ withAuth: boolean;
1888
+ requiredPermissions: string;
1889
+ endpointUrl: (opts: CreateIntegrationRequest) => string;
1890
+ body: (payload: CreateIntegrationRequest) => string;
1891
+ }
1892
+
1893
+ declare type GetIntegrationResult = {
1894
+ /** Identifier for the integration. Example: "gcp-integration" */
1895
+ 'id': string;
1896
+ /** The name of the integration. Example: "GCP integration" */
1897
+ 'name': string;
1898
+ /** A short description of the integration. Example: "The integration description" */
1899
+ 'description'?: string;
1900
+ /** Cloud provider credential input, required fields dependent on which provider is chosen. */
1901
+ 'credentials': {
1902
+ /** Contents of a GCP key file. */
1903
+ 'keyfileJson'?: string;
1904
+ /** AWS access key. */
1905
+ 'accessKey'?: string;
1906
+ /** AWS secret key. */
1907
+ 'secretKey'?: string;
1908
+ /** DO API key. */
1909
+ 'apiKey'?: string;
1910
+ };
1911
+ /** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
1912
+ 'createdAt': string;
1913
+ };
1914
+ declare type GetIntegrationCall = (opts: GetIntegrationRequest) => Promise<ApiCallResponse<GetIntegrationResult>>;
1915
+ declare type GetIntegrationRequest = {
1916
+ parameters: GetIntegrationParameters;
1917
+ };
1918
+ declare type GetIntegrationParameters = {
1919
+ /** ID of the provider integration */ 'integrationId': string;
1920
+ };
1921
+ /** Get information about the given integration */
1922
+ declare class GetIntegrationEndpoint extends GetApiEndpoint<GetIntegrationRequest, GetIntegrationResult> {
1923
+ description: string;
1924
+ withAuth: boolean;
1925
+ requiredPermissions: string;
1926
+ endpointUrl: (opts: GetIntegrationRequest) => string;
1927
+ body: () => undefined;
1928
+ }
1929
+
1930
+ declare type UpdateIntegrationResult = {
1931
+ /** Identifier for the integration. Example: "gcp-integration" */
1932
+ 'id': string;
1933
+ /** The name of the integration. Example: "GCP integration" */
1934
+ 'name': string;
1935
+ /** A short description of the integration. Example: "The integration description" */
1936
+ 'description'?: string;
1937
+ /** Cloud provider credential input, required fields dependent on which provider is chosen. */
1938
+ 'credentials': {
1939
+ /** Contents of a GCP key file. */
1940
+ 'keyfileJson'?: string;
1941
+ /** AWS access key. */
1942
+ 'accessKey'?: string;
1943
+ /** AWS secret key. */
1944
+ 'secretKey'?: string;
1945
+ /** DO API key. */
1946
+ 'apiKey'?: string;
1947
+ };
1948
+ /** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
1949
+ 'createdAt': string;
1950
+ };
1951
+ declare type UpdateIntegrationCall = (opts: UpdateIntegrationRequest) => Promise<ApiCallResponse<UpdateIntegrationResult>>;
1952
+ declare type UpdateIntegrationRequest = {
1953
+ parameters: UpdateIntegrationParameters;
1954
+ data: UpdateIntegrationData;
1955
+ };
1956
+ declare type UpdateIntegrationParameters = {
1957
+ /** ID of the provider integration */ 'integrationId': string;
1958
+ };
1959
+ declare type UpdateIntegrationData = {
1960
+ /** The description of the integration. Example: "This is a new description." */
1961
+ 'description'?: string;
1962
+ /** Cloud provider credential input, required fields dependent on which provider is chosen. */
1963
+ 'credentials': {
1964
+ /** Contents of a GCP key file. */
1965
+ 'keyfileJson'?: string;
1966
+ /** AWS access key. */
1967
+ 'accessKey'?: string;
1968
+ /** AWS secret key. */
1969
+ 'secretKey'?: string;
1970
+ /** DO API key. */
1971
+ 'apiKey'?: string;
1972
+ };
1973
+ };
1974
+ /** Update information about the given integration */
1975
+ declare class UpdateIntegrationEndpoint extends PostApiEndpoint<UpdateIntegrationRequest, UpdateIntegrationResult> {
1976
+ description: string;
1977
+ withAuth: boolean;
1978
+ requiredPermissions: string;
1979
+ endpointUrl: (opts: UpdateIntegrationRequest) => string;
1980
+ body: (payload: UpdateIntegrationRequest) => string;
1981
+ }
1982
+
1983
+ declare type DeleteIntegrationResult = any | any;
1984
+ declare type DeleteIntegrationCall = (opts: DeleteIntegrationRequest) => Promise<ApiCallResponse<DeleteIntegrationResult>>;
1985
+ declare type DeleteIntegrationRequest = {
1986
+ parameters: DeleteIntegrationParameters;
1987
+ };
1988
+ declare type DeleteIntegrationParameters = {
1989
+ /** ID of the provider integration */ 'integrationId': string;
1990
+ };
1991
+ /** Delete the given integration. Fails if the integration is associated with existing clusters. */
1992
+ declare class DeleteIntegrationEndpoint extends DeleteApiEndpoint<DeleteIntegrationRequest, DeleteIntegrationResult> {
1993
+ description: string;
1994
+ withAuth: boolean;
1995
+ requiredPermissions: string;
1996
+ endpointUrl: (opts: DeleteIntegrationRequest) => string;
1997
+ body: () => undefined;
1998
+ }
1999
+
2000
+ declare type ListClustersResult = {
2001
+ /** An array of clusters. */
2002
+ 'clusters': {
2003
+ /** Identifier for the cluster. Example: "gcp-cluster-1" */
2004
+ 'id': string;
2005
+ /** The name of the cluster. Example: "GCP Cluster 1" */
2006
+ 'name': string;
2007
+ /** A short description of the cluster. Example: "The cluster description" */
2008
+ 'description'?: string;
2009
+ /** The cloud provider to which this cluster belongs to. Example: "gcp" */
2010
+ 'provider'?: string;
2011
+ /** ID of the provider integration used by this cluster. Example: "gcp-integration" */
2012
+ 'integrationId': string;
2013
+ 'nodePools': {
2014
+ 'availabilityZones'?: string[];
2015
+ 'nodeTypes': string[];
2016
+ 'nodeCount': number;
2017
+ 'autoscaling'?: {
2018
+ 'enabled'?: boolean;
2019
+ 'min'?: number;
2020
+ 'max'?: number;
2021
+ };
2022
+ /** Configures node pool with preemptible / spot instances if enabled. */
2023
+ 'preemptible'?: boolean;
2024
+ 'diskType'?: string;
2025
+ 'diskSize': number;
2026
+ /** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
2027
+ 'id'?: string;
2028
+ };
2029
+ 'status'?: {
2030
+ 'state'?: {
2031
+ 'state'?: string;
2032
+ 'transitionTime'?: string;
2033
+ };
2034
+ 'nextUpdateAfter'?: string;
2035
+ };
2036
+ /** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
2037
+ 'createdAt': string;
2038
+ /** Indicates if provider resource deletion has been requested by the user. */
2039
+ 'deletionRequested': boolean;
2040
+ }[];
2041
+ };
2042
+ declare type ListClustersCall = (opts: ListClustersRequest) => Promise<ApiCallResponse<ListClustersResult>>;
2043
+ declare type ListClustersRequest = {
2044
+ options?: ListClustersOptions;
2045
+ };
2046
+ declare type ListClustersOptions = {
2047
+ /** The number of results to display per request. Maximum of 100 results per page. */
2048
+ 'per_page'?: number;
2049
+ /** The page number to access. */
2050
+ 'page'?: number;
2051
+ /** The cursor returned from the previous page of results, used to request the next page. */
2052
+ 'cursor'?: string;
2053
+ };
2054
+ /** Lists clusters for the authenticated user or team. */
2055
+ declare class ListClustersEndpoint extends GetApiEndpoint<ListClustersRequest, ListClustersResult> {
2056
+ description: string;
2057
+ withAuth: boolean;
2058
+ requiredPermissions: string;
2059
+ endpointUrl: (opts: ListClustersRequest) => string;
2060
+ body: () => undefined;
2061
+ }
2062
+
2063
+ declare type CreateClusterResult = {
2064
+ /** Identifier for the cluster. Example: "gcp-cluster-1" */
2065
+ 'id': string;
2066
+ /** The name of the cluster. Example: "GCP Cluster 1" */
2067
+ 'name': string;
2068
+ /** A short description of the cluster. Example: "The cluster description" */
2069
+ 'description'?: string;
2070
+ /** The cloud provider to which this cluster belongs to. Example: "gcp" */
2071
+ 'provider'?: string;
2072
+ /** ID of the provider integration used by this cluster. Example: "gcp-integration" */
2073
+ 'integrationId': string;
2074
+ 'nodePools': {
2075
+ 'availabilityZones'?: string[];
2076
+ 'nodeTypes': string[];
2077
+ 'nodeCount': number;
2078
+ 'autoscaling'?: {
2079
+ 'enabled'?: boolean;
2080
+ 'min'?: number;
2081
+ 'max'?: number;
2082
+ };
2083
+ /** Configures node pool with preemptible / spot instances if enabled. */
2084
+ 'preemptible'?: boolean;
2085
+ 'diskType'?: string;
2086
+ 'diskSize': number;
2087
+ /** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
2088
+ 'id'?: string;
2089
+ };
2090
+ 'status'?: {
2091
+ 'state'?: {
2092
+ 'state'?: string;
2093
+ 'transitionTime'?: string;
2094
+ };
2095
+ 'nextUpdateAfter'?: string;
2096
+ };
2097
+ /** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
2098
+ 'createdAt': string;
2099
+ /** Indicates if provider resource deletion has been requested by the user. */
2100
+ 'deletionRequested': boolean;
2101
+ };
2102
+ declare type CreateClusterCall = (opts: CreateClusterRequest) => Promise<ApiCallResponse<CreateClusterResult>>;
2103
+ declare type CreateClusterRequest = {
2104
+ data: CreateClusterData;
2105
+ };
2106
+ declare type CreateClusterData = {
2107
+ /** The name of the cluster. Example: "GCP Cluster 1" */
2108
+ 'name': string;
2109
+ /** The description of the cluster. Example: "This is a new cluster." */
2110
+ 'description'?: string;
2111
+ /** Cloud provider to be used for the selected resource Example: "gcp" */
2112
+ 'provider': 'gcp' | 'aws' | 'azure' | 'do';
2113
+ /** Region of the cluster. */
2114
+ 'region': string;
2115
+ /** Kubernetes version of the cluster. */
2116
+ 'kubernetesVersion': string;
2117
+ /** Existing integration to use for this cluster. Example: "gcp-integration" */
2118
+ 'integrationId'?: string;
2119
+ /** Cloud provider credential input, required fields dependent on which provider is chosen. */
2120
+ 'integration'?: {
2121
+ /** Contents of a GCP key file. */
2122
+ 'keyfileJson'?: string;
2123
+ /** AWS access key. */
2124
+ 'accessKey'?: string;
2125
+ /** AWS secret key. */
2126
+ 'secretKey'?: string;
2127
+ /** DO API key. */
2128
+ 'apiKey'?: string;
2129
+ };
2130
+ /** An array of node pools. */
2131
+ 'nodePools': {
2132
+ 'availabilityZones'?: string[];
2133
+ 'nodeTypes': string[];
2134
+ 'nodeCount': number;
2135
+ 'autoscaling'?: {
2136
+ 'enabled'?: boolean;
2137
+ 'min'?: number;
2138
+ 'max'?: number;
2139
+ };
2140
+ /** Configures node pool with preemptible / spot instances if enabled. */
2141
+ 'preemptible'?: boolean;
2142
+ 'diskType'?: string;
2143
+ 'diskSize': number;
2144
+ }[];
2145
+ /** GCP specific data. Required when `provider` is `gcp`. */
2146
+ 'gcp'?: {
2147
+ /** Project ID */
2148
+ 'projectId': string;
2149
+ };
2150
+ };
2151
+ /** Creates a new cluster. */
2152
+ declare class CreateClusterEndpoint extends PostApiEndpoint<CreateClusterRequest, CreateClusterResult> {
2153
+ description: string;
2154
+ withAuth: boolean;
2155
+ requiredPermissions: string;
2156
+ endpointUrl: (opts: CreateClusterRequest) => string;
2157
+ body: (payload: CreateClusterRequest) => string;
2158
+ }
2159
+
2160
+ declare type GetClusterResult = {
2161
+ /** Identifier for the cluster. Example: "gcp-cluster-1" */
2162
+ 'id': string;
2163
+ /** The name of the cluster. Example: "GCP Cluster 1" */
2164
+ 'name': string;
2165
+ /** A short description of the cluster. Example: "The cluster description" */
2166
+ 'description'?: string;
2167
+ /** The cloud provider to which this cluster belongs to. Example: "gcp" */
2168
+ 'provider'?: string;
2169
+ /** ID of the provider integration used by this cluster. Example: "gcp-integration" */
2170
+ 'integrationId': string;
2171
+ 'nodePools': {
2172
+ 'availabilityZones'?: string[];
2173
+ 'nodeTypes': string[];
2174
+ 'nodeCount': number;
2175
+ 'autoscaling'?: {
2176
+ 'enabled'?: boolean;
2177
+ 'min'?: number;
2178
+ 'max'?: number;
2179
+ };
2180
+ /** Configures node pool with preemptible / spot instances if enabled. */
2181
+ 'preemptible'?: boolean;
2182
+ 'diskType'?: string;
2183
+ 'diskSize': number;
2184
+ /** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
2185
+ 'id'?: string;
2186
+ };
2187
+ 'status'?: {
2188
+ 'state'?: {
2189
+ 'state'?: string;
2190
+ 'transitionTime'?: string;
2191
+ };
2192
+ 'nextUpdateAfter'?: string;
2193
+ };
2194
+ /** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
2195
+ 'createdAt': string;
2196
+ /** Indicates if provider resource deletion has been requested by the user. */
2197
+ 'deletionRequested': boolean;
2198
+ };
2199
+ declare type GetClusterCall = (opts: GetClusterRequest) => Promise<ApiCallResponse<GetClusterResult>>;
2200
+ declare type GetClusterRequest = {
2201
+ parameters: GetClusterParameters;
2202
+ };
2203
+ declare type GetClusterParameters = {
2204
+ /** ID of the cluster */ 'clusterId': string;
2205
+ };
2206
+ /** Get information about the given cluster */
2207
+ declare class GetClusterEndpoint extends GetApiEndpoint<GetClusterRequest, GetClusterResult> {
2208
+ description: string;
2209
+ withAuth: boolean;
2210
+ requiredPermissions: string;
2211
+ endpointUrl: (opts: GetClusterRequest) => string;
2212
+ body: () => undefined;
2213
+ }
2214
+
2215
+ declare type UpdateClusterResult = {
2216
+ /** Identifier for the cluster. Example: "gcp-cluster-1" */
2217
+ 'id': string;
2218
+ /** The name of the cluster. Example: "GCP Cluster 1" */
2219
+ 'name': string;
2220
+ /** A short description of the cluster. Example: "The cluster description" */
2221
+ 'description'?: string;
2222
+ /** The cloud provider to which this cluster belongs to. Example: "gcp" */
2223
+ 'provider'?: string;
2224
+ /** ID of the provider integration used by this cluster. Example: "gcp-integration" */
2225
+ 'integrationId': string;
2226
+ 'nodePools': {
2227
+ 'availabilityZones'?: string[];
2228
+ 'nodeTypes': string[];
2229
+ 'nodeCount': number;
2230
+ 'autoscaling'?: {
2231
+ 'enabled'?: boolean;
2232
+ 'min'?: number;
2233
+ 'max'?: number;
2234
+ };
2235
+ /** Configures node pool with preemptible / spot instances if enabled. */
2236
+ 'preemptible'?: boolean;
2237
+ 'diskType'?: string;
2238
+ 'diskSize': number;
2239
+ /** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
2240
+ 'id'?: string;
2241
+ };
2242
+ 'status'?: {
2243
+ 'state'?: {
2244
+ 'state'?: string;
2245
+ 'transitionTime'?: string;
2246
+ };
2247
+ 'nextUpdateAfter'?: string;
2248
+ };
2249
+ /** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
2250
+ 'createdAt': string;
2251
+ /** Indicates if provider resource deletion has been requested by the user. */
2252
+ 'deletionRequested': boolean;
2253
+ };
2254
+ declare type UpdateClusterCall = (opts: UpdateClusterRequest) => Promise<ApiCallResponse<UpdateClusterResult>>;
2255
+ declare type UpdateClusterRequest = {
2256
+ parameters: UpdateClusterParameters;
2257
+ data: UpdateClusterData;
2258
+ };
2259
+ declare type UpdateClusterParameters = {
2260
+ /** ID of the cluster */ 'clusterId': string;
2261
+ };
2262
+ declare type UpdateClusterData = {
2263
+ /** The description of the cluster. Example: "This is an updated description." */
2264
+ 'description'?: string;
2265
+ 'nodePools': {
2266
+ 'availabilityZones'?: string[];
2267
+ 'nodeTypes': string[];
2268
+ 'nodeCount': number;
2269
+ 'autoscaling'?: {
2270
+ 'enabled'?: boolean;
2271
+ 'min'?: number;
2272
+ 'max'?: number;
2273
+ };
2274
+ /** Configures node pool with preemptible / spot instances if enabled. */
2275
+ 'preemptible'?: boolean;
2276
+ 'diskType'?: string;
2277
+ 'diskSize': number;
2278
+ /** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
2279
+ 'id'?: string;
2280
+ }[];
2281
+ };
2282
+ /** Update an existing cluster. */
2283
+ declare class UpdateClusterEndpoint extends PostApiEndpoint<UpdateClusterRequest, UpdateClusterResult> {
2284
+ description: string;
2285
+ withAuth: boolean;
2286
+ requiredPermissions: string;
2287
+ endpointUrl: (opts: UpdateClusterRequest) => string;
2288
+ body: (payload: UpdateClusterRequest) => string;
2289
+ }
2290
+
2291
+ declare type DeleteClusterResult = any | any;
2292
+ declare type DeleteClusterCall = (opts: DeleteClusterRequest) => Promise<ApiCallResponse<DeleteClusterResult>>;
2293
+ declare type DeleteClusterRequest = {
2294
+ parameters: DeleteClusterParameters;
2295
+ };
2296
+ declare type DeleteClusterParameters = {
2297
+ /** ID of the cluster */ 'clusterId': string;
2298
+ };
2299
+ /** Delete the given cluster. Fails if the cluster has associated projects. */
2300
+ declare class DeleteClusterEndpoint extends DeleteApiEndpoint<DeleteClusterRequest, DeleteClusterResult> {
2301
+ description: string;
2302
+ withAuth: boolean;
2303
+ requiredPermissions: string;
2304
+ endpointUrl: (opts: DeleteClusterRequest) => string;
2305
+ body: () => undefined;
2306
+ }
2307
+
1401
2308
  declare type ListJobsResult = {
1402
2309
  /** An array of job objects. */
1403
2310
  'jobs': {
@@ -1439,6 +2346,7 @@ declare type ListJobsOptions = {
1439
2346
  declare class ListJobsEndpoint extends GetApiEndpoint<ListJobsRequest, ListJobsResult> {
1440
2347
  description: string;
1441
2348
  withAuth: boolean;
2349
+ requiredPermissions: string;
1442
2350
  endpointUrl: (opts: ListJobsRequest) => string;
1443
2351
  body: () => undefined;
1444
2352
  }
@@ -1487,6 +2395,13 @@ declare type GetJobResult = {
1487
2395
  'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
1488
2396
  /** Array of custom Buildpacks used. */
1489
2397
  'buildpackLocators'?: string[];
2398
+ /** Should build dependencies be cached? */
2399
+ 'useCache'?: boolean;
2400
+ };
2401
+ /** Details about Buildkit settings. */
2402
+ 'buildkit'?: {
2403
+ /** Should intermediate image layers be cached? */
2404
+ 'useCache'?: boolean;
1490
2405
  };
1491
2406
  /** Details about Kaniko settings. */
1492
2407
  'kaniko'?: {
@@ -1559,6 +2474,7 @@ declare type GetJobParameters = {
1559
2474
  declare class GetJobEndpoint extends GetApiEndpoint<GetJobRequest, GetJobResult> {
1560
2475
  description: string;
1561
2476
  withAuth: boolean;
2477
+ requiredPermissions: string;
1562
2478
  endpointUrl: (opts: GetJobRequest) => string;
1563
2479
  body: () => undefined;
1564
2480
  }
@@ -1577,6 +2493,7 @@ declare type DeleteJobParameters = {
1577
2493
  declare class DeleteJobEndpoint extends DeleteApiEndpoint<DeleteJobRequest, DeleteJobResult> {
1578
2494
  description: string;
1579
2495
  withAuth: boolean;
2496
+ requiredPermissions: string;
1580
2497
  endpointUrl: (opts: DeleteJobRequest) => string;
1581
2498
  body: () => undefined;
1582
2499
  }
@@ -1623,6 +2540,13 @@ declare type CreateJobManualResult = {
1623
2540
  'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
1624
2541
  /** Array of custom Buildpacks used. */
1625
2542
  'buildpackLocators'?: string[];
2543
+ /** Should build dependencies be cached? */
2544
+ 'useCache'?: boolean;
2545
+ };
2546
+ /** Details about Buildkit settings. */
2547
+ 'buildkit'?: {
2548
+ /** Should intermediate image layers be cached? */
2549
+ 'useCache'?: boolean;
1626
2550
  };
1627
2551
  /** Details about Kaniko settings. */
1628
2552
  'kaniko'?: {
@@ -1774,7 +2698,7 @@ declare type CreateJobManualData = {
1774
2698
  'dockerfile': {
1775
2699
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
1776
2700
  'buildEngine'?: 'kaniko' | 'buildkit';
1777
- /** Should intermediate image layers be cached? Only supported by Kaniko. */
2701
+ /** Should intermediate image layers be cached? */
1778
2702
  'useCache'?: boolean;
1779
2703
  /** The file path of the Dockerfile. Example: "/Dockerfile" */
1780
2704
  'dockerFilePath': string;
@@ -1789,6 +2713,8 @@ declare type CreateJobManualData = {
1789
2713
  'buildpackLocators'?: string[];
1790
2714
  /** The working directory to build in. Example: "/" */
1791
2715
  'buildContext'?: string;
2716
+ /** Should build dependencies be cached? */
2717
+ 'useCache'?: boolean;
1792
2718
  };
1793
2719
  };
1794
2720
  /** An object containing the runtime environment to set for the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"variable1":"abcdef","variable2":"12345"} */
@@ -1804,6 +2730,7 @@ declare type CreateJobManualData = {
1804
2730
  declare class CreateJobManualEndpoint extends PostApiEndpoint<CreateJobManualRequest, CreateJobManualResult> {
1805
2731
  description: string;
1806
2732
  withAuth: boolean;
2733
+ requiredPermissions: string;
1807
2734
  endpointUrl: (opts: CreateJobManualRequest) => string;
1808
2735
  body: (payload: CreateJobManualRequest) => string;
1809
2736
  }
@@ -1850,6 +2777,13 @@ declare type CreateJobCronResult = {
1850
2777
  'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
1851
2778
  /** Array of custom Buildpacks used. */
1852
2779
  'buildpackLocators'?: string[];
2780
+ /** Should build dependencies be cached? */
2781
+ 'useCache'?: boolean;
2782
+ };
2783
+ /** Details about Buildkit settings. */
2784
+ 'buildkit'?: {
2785
+ /** Should intermediate image layers be cached? */
2786
+ 'useCache'?: boolean;
1853
2787
  };
1854
2788
  /** Details about Kaniko settings. */
1855
2789
  'kaniko'?: {
@@ -2007,7 +2941,7 @@ declare type CreateJobCronData = {
2007
2941
  'dockerfile': {
2008
2942
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
2009
2943
  'buildEngine'?: 'kaniko' | 'buildkit';
2010
- /** Should intermediate image layers be cached? Only supported by Kaniko. */
2944
+ /** Should intermediate image layers be cached? */
2011
2945
  'useCache'?: boolean;
2012
2946
  /** The file path of the Dockerfile. Example: "/Dockerfile" */
2013
2947
  'dockerFilePath': string;
@@ -2022,6 +2956,8 @@ declare type CreateJobCronData = {
2022
2956
  'buildpackLocators'?: string[];
2023
2957
  /** The working directory to build in. Example: "/" */
2024
2958
  'buildContext'?: string;
2959
+ /** Should build dependencies be cached? */
2960
+ 'useCache'?: boolean;
2025
2961
  };
2026
2962
  };
2027
2963
  /** An object containing the runtime environment to set for the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"variable1":"abcdef","variable2":"12345"} */
@@ -2041,6 +2977,7 @@ declare type CreateJobCronData = {
2041
2977
  declare class CreateJobCronEndpoint extends PostApiEndpoint<CreateJobCronRequest, CreateJobCronResult> {
2042
2978
  description: string;
2043
2979
  withAuth: boolean;
2980
+ requiredPermissions: string;
2044
2981
  endpointUrl: (opts: CreateJobCronRequest) => string;
2045
2982
  body: (payload: CreateJobCronRequest) => string;
2046
2983
  }
@@ -2070,10 +3007,82 @@ declare type ScaleJobData = {
2070
3007
  declare class ScaleJobEndpoint extends PostApiEndpoint<ScaleJobRequest, ScaleJobResult> {
2071
3008
  description: string;
2072
3009
  withAuth: boolean;
3010
+ requiredPermissions: string;
2073
3011
  endpointUrl: (opts: ScaleJobRequest) => string;
2074
3012
  body: (payload: ScaleJobRequest) => string;
2075
3013
  }
2076
3014
 
3015
+ declare type SuspendJobResult = any | any;
3016
+ declare type SuspendJobCall = (opts: SuspendJobRequest) => Promise<ApiCallResponse<SuspendJobResult>>;
3017
+ declare type SuspendJobRequest = {
3018
+ parameters: SuspendJobParameters;
3019
+ data: SuspendJobData;
3020
+ };
3021
+ declare type SuspendJobParameters = {
3022
+ /** ID of the project */ 'projectId': string;
3023
+ /** ID of the job */
3024
+ 'jobId': string;
3025
+ };
3026
+ declare type SuspendJobData = {
3027
+ /** In the case of cron jobs, whether scheduling should be paused. Example: true */
3028
+ 'suspended'?: boolean;
3029
+ };
3030
+ /** Modify cron job to toggle suspending of its schedule. */
3031
+ declare class SuspendJobEndpoint extends PostApiEndpoint<SuspendJobRequest, SuspendJobResult> {
3032
+ description: string;
3033
+ withAuth: boolean;
3034
+ requiredPermissions: string;
3035
+ endpointUrl: (opts: SuspendJobRequest) => string;
3036
+ body: (payload: SuspendJobRequest) => string;
3037
+ }
3038
+
3039
+ declare type PauseJobResult = any;
3040
+ declare type PauseJobCall = (opts: PauseJobRequest) => Promise<ApiCallResponse<PauseJobResult>>;
3041
+ declare type PauseJobRequest = {
3042
+ parameters: PauseJobParameters;
3043
+ };
3044
+ declare type PauseJobParameters = {
3045
+ /** ID of the project */ 'projectId': string;
3046
+ /** ID of the job */
3047
+ 'jobId': string;
3048
+ };
3049
+ /** Pause the given job. */
3050
+ declare class PauseJobEndpoint extends PostApiEndpoint<PauseJobRequest, PauseJobResult> {
3051
+ description: string;
3052
+ withAuth: boolean;
3053
+ requiredPermissions: string;
3054
+ endpointUrl: (opts: PauseJobRequest) => string;
3055
+ body: () => undefined;
3056
+ }
3057
+
3058
+ declare type ResumeJobResult = any | any;
3059
+ declare type ResumeJobCall = (opts: ResumeJobRequest) => Promise<ApiCallResponse<ResumeJobResult>>;
3060
+ declare type ResumeJobRequest = {
3061
+ parameters: ResumeJobParameters;
3062
+ data: ResumeJobData;
3063
+ };
3064
+ declare type ResumeJobParameters = {
3065
+ /** ID of the project */ 'projectId': string;
3066
+ /** ID of the job */
3067
+ 'jobId': string;
3068
+ };
3069
+ declare type ResumeJobData = {
3070
+ /** In the case of cron jobs, whether scheduling should be paused. */
3071
+ 'suspended'?: boolean;
3072
+ /** Whether CI should be disabled */
3073
+ 'disabledCI'?: boolean;
3074
+ /** Whether CD should be disabled */
3075
+ 'disabledCD'?: boolean;
3076
+ };
3077
+ /** Resumes the given job. Optionally takes several arguments to override resumed settings. */
3078
+ declare class ResumeJobEndpoint extends PostApiEndpoint<ResumeJobRequest, ResumeJobResult> {
3079
+ description: string;
3080
+ withAuth: boolean;
3081
+ requiredPermissions: string;
3082
+ endpointUrl: (opts: ResumeJobRequest) => string;
3083
+ body: (payload: ResumeJobRequest) => string;
3084
+ }
3085
+
2077
3086
  declare type GetJobRunsResult = {
2078
3087
  /** An array of job run objects. */
2079
3088
  'runs': {
@@ -2123,6 +3132,7 @@ declare type GetJobRunsOptions = {
2123
3132
  declare class GetJobRunsEndpoint extends GetApiEndpoint<GetJobRunsRequest, GetJobRunsResult> {
2124
3133
  description: string;
2125
3134
  withAuth: boolean;
3135
+ requiredPermissions: string;
2126
3136
  endpointUrl: (opts: GetJobRunsRequest) => string;
2127
3137
  body: () => undefined;
2128
3138
  }
@@ -2196,6 +3206,7 @@ declare type StartJobRunData = {
2196
3206
  declare class StartJobRunEndpoint extends PostApiEndpoint<StartJobRunRequest, StartJobRunResult> {
2197
3207
  description: string;
2198
3208
  withAuth: boolean;
3209
+ requiredPermissions: string;
2199
3210
  endpointUrl: (opts: StartJobRunRequest) => string;
2200
3211
  body: (payload: StartJobRunRequest) => string;
2201
3212
  }
@@ -2239,6 +3250,7 @@ declare type GetJobRunParameters = {
2239
3250
  declare class GetJobRunEndpoint extends GetApiEndpoint<GetJobRunRequest, GetJobRunResult> {
2240
3251
  description: string;
2241
3252
  withAuth: boolean;
3253
+ requiredPermissions: string;
2242
3254
  endpointUrl: (opts: GetJobRunRequest) => string;
2243
3255
  body: () => undefined;
2244
3256
  }
@@ -2259,6 +3271,7 @@ declare type AbortJobRunParameters = {
2259
3271
  declare class AbortJobRunEndpoint extends DeleteApiEndpoint<AbortJobRunRequest, AbortJobRunResult> {
2260
3272
  description: string;
2261
3273
  withAuth: boolean;
3274
+ requiredPermissions: string;
2262
3275
  endpointUrl: (opts: AbortJobRunRequest) => string;
2263
3276
  body: () => undefined;
2264
3277
  }
@@ -2290,6 +3303,7 @@ declare type UpdateJobSettingsData = {
2290
3303
  declare class UpdateJobSettingsEndpoint extends PostApiEndpoint<UpdateJobSettingsRequest, UpdateJobSettingsResult> {
2291
3304
  description: string;
2292
3305
  withAuth: boolean;
3306
+ requiredPermissions: string;
2293
3307
  endpointUrl: (opts: UpdateJobSettingsRequest) => string;
2294
3308
  body: (payload: UpdateJobSettingsRequest) => string;
2295
3309
  }
@@ -2334,6 +3348,7 @@ declare type GetJobHealthchecksParameters = {
2334
3348
  declare class GetJobHealthchecksEndpoint extends GetApiEndpoint<GetJobHealthchecksRequest, GetJobHealthchecksResult> {
2335
3349
  description: string;
2336
3350
  withAuth: boolean;
3351
+ requiredPermissions: string;
2337
3352
  endpointUrl: (opts: GetJobHealthchecksRequest) => string;
2338
3353
  body: () => undefined;
2339
3354
  }
@@ -2378,6 +3393,7 @@ declare type UpdateJobHealthchecksData = {
2378
3393
  declare class UpdateJobHealthchecksEndpoint extends PostApiEndpoint<UpdateJobHealthchecksRequest, UpdateJobHealthchecksResult> {
2379
3394
  description: string;
2380
3395
  withAuth: boolean;
3396
+ requiredPermissions: string;
2381
3397
  endpointUrl: (opts: UpdateJobHealthchecksRequest) => string;
2382
3398
  body: (payload: UpdateJobHealthchecksRequest) => string;
2383
3399
  }
@@ -2429,6 +3445,7 @@ declare type GetJobBuildsOptions = {
2429
3445
  declare class GetJobBuildsEndpoint extends GetApiEndpoint<GetJobBuildsRequest, GetJobBuildsResult> {
2430
3446
  description: string;
2431
3447
  withAuth: boolean;
3448
+ requiredPermissions: string;
2432
3449
  endpointUrl: (opts: GetJobBuildsRequest) => string;
2433
3450
  body: () => undefined;
2434
3451
  }
@@ -2475,6 +3492,7 @@ declare type StartJobBuildData = {
2475
3492
  declare class StartJobBuildEndpoint extends PostApiEndpoint<StartJobBuildRequest, StartJobBuildResult> {
2476
3493
  description: string;
2477
3494
  withAuth: boolean;
3495
+ requiredPermissions: string;
2478
3496
  endpointUrl: (opts: StartJobBuildRequest) => string;
2479
3497
  body: (payload: StartJobBuildRequest) => string;
2480
3498
  }
@@ -2516,6 +3534,7 @@ declare type GetJobBuildParameters = {
2516
3534
  declare class GetJobBuildEndpoint extends GetApiEndpoint<GetJobBuildRequest, GetJobBuildResult> {
2517
3535
  description: string;
2518
3536
  withAuth: boolean;
3537
+ requiredPermissions: string;
2519
3538
  endpointUrl: (opts: GetJobBuildRequest) => string;
2520
3539
  body: () => undefined;
2521
3540
  }
@@ -2536,6 +3555,7 @@ declare type AbortJobBuildParameters = {
2536
3555
  declare class AbortJobBuildEndpoint extends DeleteApiEndpoint<AbortJobBuildRequest, AbortJobBuildResult> {
2537
3556
  description: string;
2538
3557
  withAuth: boolean;
3558
+ requiredPermissions: string;
2539
3559
  endpointUrl: (opts: AbortJobBuildRequest) => string;
2540
3560
  body: () => undefined;
2541
3561
  }
@@ -2555,7 +3575,7 @@ declare type UpdateJobBuildoptionsData = {
2555
3575
  'dockerfile': {
2556
3576
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
2557
3577
  'buildEngine'?: 'kaniko' | 'buildkit';
2558
- /** Should intermediate image layers be cached? Only supported by Kaniko. */
3578
+ /** Should intermediate image layers be cached? */
2559
3579
  'useCache'?: boolean;
2560
3580
  /** The file path of the Dockerfile. Example: "/Dockerfile" */
2561
3581
  'dockerFilePath'?: string;
@@ -2572,6 +3592,8 @@ declare type UpdateJobBuildoptionsData = {
2572
3592
  'buildpackLocators'?: string[];
2573
3593
  /** The working directory to build in. Example: "/" */
2574
3594
  'buildContext'?: string;
3595
+ /** Should build dependencies be cached? */
3596
+ 'useCache'?: boolean;
2575
3597
  };
2576
3598
  /** An array of path ignore rules. A commit will only be built if a file has been changed that does not match any of the ignore rules. Path ignore rules follow `.gitignore` syntax. */
2577
3599
  'pathIgnoreRules'?: string[];
@@ -2583,6 +3605,7 @@ declare type UpdateJobBuildoptionsData = {
2583
3605
  declare class UpdateJobBuildoptionsEndpoint extends PostApiEndpoint<UpdateJobBuildoptionsRequest, UpdateJobBuildoptionsResult> {
2584
3606
  description: string;
2585
3607
  withAuth: boolean;
3608
+ requiredPermissions: string;
2586
3609
  endpointUrl: (opts: UpdateJobBuildoptionsRequest) => string;
2587
3610
  body: (payload: UpdateJobBuildoptionsRequest) => string;
2588
3611
  }
@@ -2614,6 +3637,7 @@ declare type UpdateJobBuildsourceData = {
2614
3637
  declare class UpdateJobBuildsourceEndpoint extends PostApiEndpoint<UpdateJobBuildsourceRequest, UpdateJobBuildsourceResult> {
2615
3638
  description: string;
2616
3639
  withAuth: boolean;
3640
+ requiredPermissions: string;
2617
3641
  endpointUrl: (opts: UpdateJobBuildsourceRequest) => string;
2618
3642
  body: (payload: UpdateJobBuildsourceRequest) => string;
2619
3643
  }
@@ -2637,6 +3661,7 @@ declare type UpdateJobCmdoverrideData = {
2637
3661
  declare class UpdateJobCmdoverrideEndpoint extends PostApiEndpoint<UpdateJobCmdoverrideRequest, UpdateJobCmdoverrideResult> {
2638
3662
  description: string;
2639
3663
  withAuth: boolean;
3664
+ requiredPermissions: string;
2640
3665
  endpointUrl: (opts: UpdateJobCmdoverrideRequest) => string;
2641
3666
  body: (payload: UpdateJobCmdoverrideRequest) => string;
2642
3667
  }
@@ -2660,6 +3685,7 @@ declare type UpdateJobEntrypointoverrideData = {
2660
3685
  declare class UpdateJobEntrypointoverrideEndpoint extends PostApiEndpoint<UpdateJobEntrypointoverrideRequest, UpdateJobEntrypointoverrideResult> {
2661
3686
  description: string;
2662
3687
  withAuth: boolean;
3688
+ requiredPermissions: string;
2663
3689
  endpointUrl: (opts: UpdateJobEntrypointoverrideRequest) => string;
2664
3690
  body: (payload: UpdateJobEntrypointoverrideRequest) => string;
2665
3691
  }
@@ -2688,6 +3714,7 @@ declare type GetJobBuildargumentsOptions = {
2688
3714
  declare class GetJobBuildargumentsEndpoint extends GetApiEndpoint<GetJobBuildargumentsRequest, GetJobBuildargumentsResult> {
2689
3715
  description: string;
2690
3716
  withAuth: boolean;
3717
+ requiredPermissions: string;
2691
3718
  endpointUrl: (opts: GetJobBuildargumentsRequest) => string;
2692
3719
  body: () => undefined;
2693
3720
  }
@@ -2716,6 +3743,7 @@ declare type UpdateJobBuildargumentsData = {
2716
3743
  declare class UpdateJobBuildargumentsEndpoint extends PostApiEndpoint<UpdateJobBuildargumentsRequest, UpdateJobBuildargumentsResult> {
2717
3744
  description: string;
2718
3745
  withAuth: boolean;
3746
+ requiredPermissions: string;
2719
3747
  endpointUrl: (opts: UpdateJobBuildargumentsRequest) => string;
2720
3748
  body: (payload: UpdateJobBuildargumentsRequest) => string;
2721
3749
  }
@@ -2786,6 +3814,7 @@ declare type GetJobBuildargumentdetailsParameters = {
2786
3814
  declare class GetJobBuildargumentdetailsEndpoint extends GetApiEndpoint<GetJobBuildargumentdetailsRequest, GetJobBuildargumentdetailsResult> {
2787
3815
  description: string;
2788
3816
  withAuth: boolean;
3817
+ requiredPermissions: string;
2789
3818
  endpointUrl: (opts: GetJobBuildargumentdetailsRequest) => string;
2790
3819
  body: () => undefined;
2791
3820
  }
@@ -2814,6 +3843,7 @@ declare type GetJobRuntimeenvironmentOptions = {
2814
3843
  declare class GetJobRuntimeenvironmentEndpoint extends GetApiEndpoint<GetJobRuntimeenvironmentRequest, GetJobRuntimeenvironmentResult> {
2815
3844
  description: string;
2816
3845
  withAuth: boolean;
3846
+ requiredPermissions: string;
2817
3847
  endpointUrl: (opts: GetJobRuntimeenvironmentRequest) => string;
2818
3848
  body: () => undefined;
2819
3849
  }
@@ -2842,6 +3872,7 @@ declare type UpdateJobRuntimeenvironmentData = {
2842
3872
  declare class UpdateJobRuntimeenvironmentEndpoint extends PostApiEndpoint<UpdateJobRuntimeenvironmentRequest, UpdateJobRuntimeenvironmentResult> {
2843
3873
  description: string;
2844
3874
  withAuth: boolean;
3875
+ requiredPermissions: string;
2845
3876
  endpointUrl: (opts: UpdateJobRuntimeenvironmentRequest) => string;
2846
3877
  body: (payload: UpdateJobRuntimeenvironmentRequest) => string;
2847
3878
  }
@@ -2912,6 +3943,7 @@ declare type GetJobRuntimeenvironmentdetailsParameters = {
2912
3943
  declare class GetJobRuntimeenvironmentdetailsEndpoint extends GetApiEndpoint<GetJobRuntimeenvironmentdetailsRequest, GetJobRuntimeenvironmentdetailsResult> {
2913
3944
  description: string;
2914
3945
  withAuth: boolean;
3946
+ requiredPermissions: string;
2915
3947
  endpointUrl: (opts: GetJobRuntimeenvironmentdetailsRequest) => string;
2916
3948
  body: () => undefined;
2917
3949
  }
@@ -2930,8 +3962,12 @@ declare type GetJobDeploymentResult = {
2930
3962
  'repository': string;
2931
3963
  /** Branch of the repo being deployed Example: "master" */
2932
3964
  'branch': string;
2933
- /** Commit SHA being deployed. 'latest' means the latest commit is automatically being deployed. Example: "latest" */
3965
+ /** ID of the build currently deployed. Example: "incredible-land-3266" */
3966
+ 'buildId': string;
3967
+ /** Commit SHA being deployed. `latest` means the latest commit is automatically being deployed. Example: "latest" */
2934
3968
  'buildSHA': string;
3969
+ /** Currently deployed commit SHA. If buildSHA is set to `latest`, this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
3970
+ 'deployedSHA'?: string;
2935
3971
  /** Type of deployed entity Example: "service" */
2936
3972
  'nfObjectType': 'service' | 'job';
2937
3973
  };
@@ -2962,6 +3998,7 @@ declare type GetJobDeploymentParameters = {
2962
3998
  declare class GetJobDeploymentEndpoint extends GetApiEndpoint<GetJobDeploymentRequest, GetJobDeploymentResult> {
2963
3999
  description: string;
2964
4000
  withAuth: boolean;
4001
+ requiredPermissions: string;
2965
4002
  endpointUrl: (opts: GetJobDeploymentRequest) => string;
2966
4003
  body: () => undefined;
2967
4004
  }
@@ -3000,6 +4037,7 @@ declare type UpdateJobDeploymentData = {
3000
4037
  declare class UpdateJobDeploymentEndpoint extends PostApiEndpoint<UpdateJobDeploymentRequest, UpdateJobDeploymentResult> {
3001
4038
  description: string;
3002
4039
  withAuth: boolean;
4040
+ requiredPermissions: string;
3003
4041
  endpointUrl: (opts: UpdateJobDeploymentRequest) => string;
3004
4042
  body: (payload: UpdateJobDeploymentRequest) => string;
3005
4043
  }
@@ -3039,6 +4077,7 @@ declare type GetJobContainersOptions = {
3039
4077
  declare class GetJobContainersEndpoint extends GetApiEndpoint<GetJobContainersRequest, GetJobContainersResult> {
3040
4078
  description: string;
3041
4079
  withAuth: boolean;
4080
+ requiredPermissions: string;
3042
4081
  endpointUrl: (opts: GetJobContainersRequest) => string;
3043
4082
  body: () => undefined;
3044
4083
  }
@@ -3087,6 +4126,7 @@ declare type GetJobBranchesOptions = {
3087
4126
  declare class GetJobBranchesEndpoint extends GetApiEndpoint<GetJobBranchesRequest, GetJobBranchesResult> {
3088
4127
  description: string;
3089
4128
  withAuth: boolean;
4129
+ requiredPermissions: string;
3090
4130
  endpointUrl: (opts: GetJobBranchesRequest) => string;
3091
4131
  body: () => undefined;
3092
4132
  }
@@ -3135,11 +4175,12 @@ declare type GetJobPullrequestsOptions = {
3135
4175
  declare class GetJobPullrequestsEndpoint extends GetApiEndpoint<GetJobPullrequestsRequest, GetJobPullrequestsResult> {
3136
4176
  description: string;
3137
4177
  withAuth: boolean;
4178
+ requiredPermissions: string;
3138
4179
  endpointUrl: (opts: GetJobPullrequestsRequest) => string;
3139
4180
  body: () => undefined;
3140
4181
  }
3141
4182
 
3142
- declare type ListRegistrycredentialsResult = {
4183
+ declare type ListRegistriesResult = {
3143
4184
  /** An array of credentials saved to this account. */
3144
4185
  'credentials': {
3145
4186
  /** Identifier for the credentials. Example: "example-credentials" */
@@ -3159,11 +4200,11 @@ declare type ListRegistrycredentialsResult = {
3159
4200
  'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
3160
4201
  }[];
3161
4202
  };
3162
- declare type ListRegistrycredentialsCall = (opts: ListRegistrycredentialsRequest) => Promise<ApiCallResponse<ListRegistrycredentialsResult>>;
3163
- declare type ListRegistrycredentialsRequest = {
3164
- options?: ListRegistrycredentialsOptions;
4203
+ declare type ListRegistriesCall = (opts: ListRegistriesRequest) => Promise<ApiCallResponse<ListRegistriesResult>>;
4204
+ declare type ListRegistriesRequest = {
4205
+ options?: ListRegistriesOptions;
3165
4206
  };
3166
- declare type ListRegistrycredentialsOptions = {
4207
+ declare type ListRegistriesOptions = {
3167
4208
  /** The number of results to display per request. Maximum of 100 results per page. */
3168
4209
  'per_page'?: number;
3169
4210
  /** The page number to access. */
@@ -3172,14 +4213,15 @@ declare type ListRegistrycredentialsOptions = {
3172
4213
  'cursor'?: string;
3173
4214
  };
3174
4215
  /** Lists the container registry credentials saved to this account. Does not display secrets. */
3175
- declare class ListRegistrycredentialsEndpoint extends GetApiEndpoint<ListRegistrycredentialsRequest, ListRegistrycredentialsResult> {
4216
+ declare class ListRegistriesEndpoint extends GetApiEndpoint<ListRegistriesRequest, ListRegistriesResult> {
3176
4217
  description: string;
3177
4218
  withAuth: boolean;
3178
- endpointUrl: (opts: ListRegistrycredentialsRequest) => string;
4219
+ requiredPermissions: string;
4220
+ endpointUrl: (opts: ListRegistriesRequest) => string;
3179
4221
  body: () => undefined;
3180
4222
  }
3181
4223
 
3182
- declare type AddRegistrycredentialsResult = {
4224
+ declare type AddRegistryResult = {
3183
4225
  /** Identifier for the credentials. Example: "example-credentials" */
3184
4226
  'id': string;
3185
4227
  /** Name of the saved credentials. Example: "Example Credentials" */
@@ -3196,11 +4238,11 @@ declare type AddRegistrycredentialsResult = {
3196
4238
  /** The registry provider associated with this set of credentials. Example: "dockerhub" */
3197
4239
  'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
3198
4240
  };
3199
- declare type AddRegistrycredentialsCall = (opts: AddRegistrycredentialsRequest) => Promise<ApiCallResponse<AddRegistrycredentialsResult>>;
3200
- declare type AddRegistrycredentialsRequest = {
3201
- data: AddRegistrycredentialsData;
4241
+ declare type AddRegistryCall = (opts: AddRegistryRequest) => Promise<ApiCallResponse<AddRegistryResult>>;
4242
+ declare type AddRegistryRequest = {
4243
+ data: AddRegistryData;
3202
4244
  };
3203
- declare type AddRegistrycredentialsData = {
4245
+ declare type AddRegistryData = {
3204
4246
  /** Name of the credentials. Example: "Example Credentials" */
3205
4247
  'name': string;
3206
4248
  /** Description of the credentials. Example: "This is a set of saved credentials." */
@@ -3218,14 +4260,15 @@ declare type AddRegistrycredentialsData = {
3218
4260
  'data': any;
3219
4261
  };
3220
4262
  /** Adds a new set of container registry credentials to this account. */
3221
- declare class AddRegistrycredentialsEndpoint extends PostApiEndpoint<AddRegistrycredentialsRequest, AddRegistrycredentialsResult> {
4263
+ declare class AddRegistryEndpoint extends PostApiEndpoint<AddRegistryRequest, AddRegistryResult> {
3222
4264
  description: string;
3223
4265
  withAuth: boolean;
3224
- endpointUrl: (opts: AddRegistrycredentialsRequest) => string;
3225
- body: (payload: AddRegistrycredentialsRequest) => string;
4266
+ requiredPermissions: string;
4267
+ endpointUrl: (opts: AddRegistryRequest) => string;
4268
+ body: (payload: AddRegistryRequest) => string;
3226
4269
  }
3227
4270
 
3228
- declare type GetRegistrycredentialsResult = {
4271
+ declare type GetRegistryResult = {
3229
4272
  /** Identifier for the credentials. Example: "example-credentials" */
3230
4273
  'id': string;
3231
4274
  /** Name of the saved credentials. Example: "Example Credentials" */
@@ -3243,47 +4286,49 @@ declare type GetRegistrycredentialsResult = {
3243
4286
  'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
3244
4287
  'data'?: any;
3245
4288
  };
3246
- declare type GetRegistrycredentialsCall = (opts: GetRegistrycredentialsRequest) => Promise<ApiCallResponse<GetRegistrycredentialsResult>>;
3247
- declare type GetRegistrycredentialsRequest = {
3248
- parameters: GetRegistrycredentialsParameters;
4289
+ declare type GetRegistryCall = (opts: GetRegistryRequest) => Promise<ApiCallResponse<GetRegistryResult>>;
4290
+ declare type GetRegistryRequest = {
4291
+ parameters: GetRegistryParameters;
3249
4292
  };
3250
- declare type GetRegistrycredentialsParameters = {
4293
+ declare type GetRegistryParameters = {
3251
4294
  /** ID of the registry credential */ 'credentialId': string;
3252
4295
  };
3253
4296
  /** Views a set of registry credential data. */
3254
- declare class GetRegistrycredentialsEndpoint extends GetApiEndpoint<GetRegistrycredentialsRequest, GetRegistrycredentialsResult> {
4297
+ declare class GetRegistryEndpoint extends GetApiEndpoint<GetRegistryRequest, GetRegistryResult> {
3255
4298
  description: string;
3256
4299
  withAuth: boolean;
3257
- endpointUrl: (opts: GetRegistrycredentialsRequest) => string;
4300
+ requiredPermissions: string;
4301
+ endpointUrl: (opts: GetRegistryRequest) => string;
3258
4302
  body: () => undefined;
3259
4303
  }
3260
4304
 
3261
- declare type DeleteRegistrycredentialsResult = any;
3262
- declare type DeleteRegistrycredentialsCall = (opts: DeleteRegistrycredentialsRequest) => Promise<ApiCallResponse<DeleteRegistrycredentialsResult>>;
3263
- declare type DeleteRegistrycredentialsRequest = {
3264
- parameters: DeleteRegistrycredentialsParameters;
4305
+ declare type DeleteRegistryResult = any;
4306
+ declare type DeleteRegistryCall = (opts: DeleteRegistryRequest) => Promise<ApiCallResponse<DeleteRegistryResult>>;
4307
+ declare type DeleteRegistryRequest = {
4308
+ parameters: DeleteRegistryParameters;
3265
4309
  };
3266
- declare type DeleteRegistrycredentialsParameters = {
4310
+ declare type DeleteRegistryParameters = {
3267
4311
  /** ID of the registry credential */ 'credentialId': string;
3268
4312
  };
3269
4313
  /** Deletes a set of registry credential data. */
3270
- declare class DeleteRegistrycredentialsEndpoint extends DeleteApiEndpoint<DeleteRegistrycredentialsRequest, DeleteRegistrycredentialsResult> {
4314
+ declare class DeleteRegistryEndpoint extends DeleteApiEndpoint<DeleteRegistryRequest, DeleteRegistryResult> {
3271
4315
  description: string;
3272
4316
  withAuth: boolean;
3273
- endpointUrl: (opts: DeleteRegistrycredentialsRequest) => string;
4317
+ requiredPermissions: string;
4318
+ endpointUrl: (opts: DeleteRegistryRequest) => string;
3274
4319
  body: () => undefined;
3275
4320
  }
3276
4321
 
3277
- declare type UpdateRegistrycredentialsResult = any;
3278
- declare type UpdateRegistrycredentialsCall = (opts: UpdateRegistrycredentialsRequest) => Promise<ApiCallResponse<UpdateRegistrycredentialsResult>>;
3279
- declare type UpdateRegistrycredentialsRequest = {
3280
- parameters: UpdateRegistrycredentialsParameters;
3281
- data: UpdateRegistrycredentialsData;
4322
+ declare type UpdateRegistryResult = any;
4323
+ declare type UpdateRegistryCall = (opts: UpdateRegistryRequest) => Promise<ApiCallResponse<UpdateRegistryResult>>;
4324
+ declare type UpdateRegistryRequest = {
4325
+ parameters: UpdateRegistryParameters;
4326
+ data: UpdateRegistryData;
3282
4327
  };
3283
- declare type UpdateRegistrycredentialsParameters = {
4328
+ declare type UpdateRegistryParameters = {
3284
4329
  /** ID of the registry credential */ 'credentialId': string;
3285
4330
  };
3286
- declare type UpdateRegistrycredentialsData = {
4331
+ declare type UpdateRegistryData = {
3287
4332
  /** Description of the credentials. Example: "This is a set of saved credentials." */
3288
4333
  'description'?: string;
3289
4334
  /** Data about whether the credentials are restricted to certain projects. */
@@ -3297,11 +4342,12 @@ declare type UpdateRegistrycredentialsData = {
3297
4342
  'data'?: any;
3298
4343
  };
3299
4344
  /** Updates a set of registry credential data. */
3300
- declare class UpdateRegistrycredentialsEndpoint extends PostApiEndpoint<UpdateRegistrycredentialsRequest, UpdateRegistrycredentialsResult> {
4345
+ declare class UpdateRegistryEndpoint extends PostApiEndpoint<UpdateRegistryRequest, UpdateRegistryResult> {
3301
4346
  description: string;
3302
4347
  withAuth: boolean;
3303
- endpointUrl: (opts: UpdateRegistrycredentialsRequest) => string;
3304
- body: (payload: UpdateRegistrycredentialsRequest) => string;
4348
+ requiredPermissions: string;
4349
+ endpointUrl: (opts: UpdateRegistryRequest) => string;
4350
+ body: (payload: UpdateRegistryRequest) => string;
3305
4351
  }
3306
4352
 
3307
4353
  declare type ListDomainsResult = {
@@ -3333,6 +4379,7 @@ declare type ListDomainsOptions = {
3333
4379
  declare class ListDomainsEndpoint extends GetApiEndpoint<ListDomainsRequest, ListDomainsResult> {
3334
4380
  description: string;
3335
4381
  withAuth: boolean;
4382
+ requiredPermissions: string;
3336
4383
  endpointUrl: (opts: ListDomainsRequest) => string;
3337
4384
  body: () => undefined;
3338
4385
  }
@@ -3359,6 +4406,7 @@ declare type CreateDomainData = {
3359
4406
  declare class CreateDomainEndpoint extends PostApiEndpoint<CreateDomainRequest, CreateDomainResult> {
3360
4407
  description: string;
3361
4408
  withAuth: boolean;
4409
+ requiredPermissions: string;
3362
4410
  endpointUrl: (opts: CreateDomainRequest) => string;
3363
4411
  body: (payload: CreateDomainRequest) => string;
3364
4412
  }
@@ -3391,6 +4439,7 @@ declare type GetDomainParameters = {
3391
4439
  declare class GetDomainEndpoint extends GetApiEndpoint<GetDomainRequest, GetDomainResult> {
3392
4440
  description: string;
3393
4441
  withAuth: boolean;
4442
+ requiredPermissions: string;
3394
4443
  endpointUrl: (opts: GetDomainRequest) => string;
3395
4444
  body: () => undefined;
3396
4445
  }
@@ -3407,6 +4456,7 @@ declare type DeleteDomainParameters = {
3407
4456
  declare class DeleteDomainEndpoint extends DeleteApiEndpoint<DeleteDomainRequest, DeleteDomainResult> {
3408
4457
  description: string;
3409
4458
  withAuth: boolean;
4459
+ requiredPermissions: string;
3410
4460
  endpointUrl: (opts: DeleteDomainRequest) => string;
3411
4461
  body: () => undefined;
3412
4462
  }
@@ -3423,6 +4473,7 @@ declare type VerifyDomainParameters = {
3423
4473
  declare class VerifyDomainEndpoint extends PostApiEndpoint<VerifyDomainRequest, VerifyDomainResult> {
3424
4474
  description: string;
3425
4475
  withAuth: boolean;
4476
+ requiredPermissions: string;
3426
4477
  endpointUrl: (opts: VerifyDomainRequest) => string;
3427
4478
  body: () => undefined;
3428
4479
  }
@@ -3455,6 +4506,7 @@ declare type AddDomainSubdomainData = {
3455
4506
  declare class AddDomainSubdomainEndpoint extends PostApiEndpoint<AddDomainSubdomainRequest, AddDomainSubdomainResult> {
3456
4507
  description: string;
3457
4508
  withAuth: boolean;
4509
+ requiredPermissions: string;
3458
4510
  endpointUrl: (opts: AddDomainSubdomainRequest) => string;
3459
4511
  body: (payload: AddDomainSubdomainRequest) => string;
3460
4512
  }
@@ -3484,6 +4536,7 @@ declare type GetSubdomainParameters = {
3484
4536
  declare class GetSubdomainEndpoint extends GetApiEndpoint<GetSubdomainRequest, GetSubdomainResult> {
3485
4537
  description: string;
3486
4538
  withAuth: boolean;
4539
+ requiredPermissions: string;
3487
4540
  endpointUrl: (opts: GetSubdomainRequest) => string;
3488
4541
  body: () => undefined;
3489
4542
  }
@@ -3502,6 +4555,7 @@ declare type DeleteSubdomainParameters = {
3502
4555
  declare class DeleteSubdomainEndpoint extends DeleteApiEndpoint<DeleteSubdomainRequest, DeleteSubdomainResult> {
3503
4556
  description: string;
3504
4557
  withAuth: boolean;
4558
+ requiredPermissions: string;
3505
4559
  endpointUrl: (opts: DeleteSubdomainRequest) => string;
3506
4560
  body: () => undefined;
3507
4561
  }
@@ -3520,6 +4574,7 @@ declare type VerifySubdomainParameters = {
3520
4574
  declare class VerifySubdomainEndpoint extends PostApiEndpoint<VerifySubdomainRequest, VerifySubdomainResult> {
3521
4575
  description: string;
3522
4576
  withAuth: boolean;
4577
+ requiredPermissions: string;
3523
4578
  endpointUrl: (opts: VerifySubdomainRequest) => string;
3524
4579
  body: () => undefined;
3525
4580
  }
@@ -3547,6 +4602,7 @@ declare type AssignSubdomainServiceData = {
3547
4602
  declare class AssignSubdomainServiceEndpoint extends PostApiEndpoint<AssignSubdomainServiceRequest, AssignSubdomainServiceResult> {
3548
4603
  description: string;
3549
4604
  withAuth: boolean;
4605
+ requiredPermissions: string;
3550
4606
  endpointUrl: (opts: AssignSubdomainServiceRequest) => string;
3551
4607
  body: (payload: AssignSubdomainServiceRequest) => string;
3552
4608
  }
@@ -3565,6 +4621,7 @@ declare type UnassignSubdomainParameters = {
3565
4621
  declare class UnassignSubdomainEndpoint extends DeleteApiEndpoint<UnassignSubdomainRequest, UnassignSubdomainResult> {
3566
4622
  description: string;
3567
4623
  withAuth: boolean;
4624
+ requiredPermissions: string;
3568
4625
  endpointUrl: (opts: UnassignSubdomainRequest) => string;
3569
4626
  body: () => undefined;
3570
4627
  }
@@ -3594,6 +4651,7 @@ declare type ListPlansRequest = {};
3594
4651
  declare class ListPlansEndpoint extends GetApiEndpoint<ListPlansRequest, ListPlansResult> {
3595
4652
  description: string;
3596
4653
  withAuth: boolean;
4654
+ requiredPermissions: string;
3597
4655
  endpointUrl: (opts: ListPlansRequest) => string;
3598
4656
  body: () => undefined;
3599
4657
  }
@@ -3611,6 +4669,7 @@ declare type ListRegionsRequest = {};
3611
4669
  declare class ListRegionsEndpoint extends GetApiEndpoint<ListRegionsRequest, ListRegionsResult> {
3612
4670
  description: string;
3613
4671
  withAuth: boolean;
4672
+ requiredPermissions: string;
3614
4673
  endpointUrl: (opts: ListRegionsRequest) => string;
3615
4674
  body: () => undefined;
3616
4675
  }
@@ -3625,6 +4684,7 @@ declare type GetDnsidRequest = {};
3625
4684
  declare class GetDnsidEndpoint extends GetApiEndpoint<GetDnsidRequest, GetDnsidResult> {
3626
4685
  description: string;
3627
4686
  withAuth: boolean;
4687
+ requiredPermissions: string;
3628
4688
  endpointUrl: (opts: GetDnsidRequest) => string;
3629
4689
  body: () => undefined;
3630
4690
  }
@@ -3656,6 +4716,7 @@ declare type ListVcsRequest = {};
3656
4716
  declare class ListVcsEndpoint extends GetApiEndpoint<ListVcsRequest, ListVcsResult> {
3657
4717
  description: string;
3658
4718
  withAuth: boolean;
4719
+ requiredPermissions: string;
3659
4720
  endpointUrl: (opts: ListVcsRequest) => string;
3660
4721
  body: () => undefined;
3661
4722
  }
@@ -3709,6 +4770,7 @@ declare type ListSecretsOptions = {
3709
4770
  declare class ListSecretsEndpoint extends GetApiEndpoint<ListSecretsRequest, ListSecretsResult> {
3710
4771
  description: string;
3711
4772
  withAuth: boolean;
4773
+ requiredPermissions: string;
3712
4774
  endpointUrl: (opts: ListSecretsRequest) => string;
3713
4775
  body: () => undefined;
3714
4776
  }
@@ -3791,6 +4853,7 @@ declare type CreateSecretData = {
3791
4853
  declare class CreateSecretEndpoint extends PostApiEndpoint<CreateSecretRequest, CreateSecretResult> {
3792
4854
  description: string;
3793
4855
  withAuth: boolean;
4856
+ requiredPermissions: string;
3794
4857
  endpointUrl: (opts: CreateSecretRequest) => string;
3795
4858
  body: (payload: CreateSecretRequest) => string;
3796
4859
  }
@@ -3845,6 +4908,7 @@ declare type GetSecretOptions = {
3845
4908
  declare class GetSecretEndpoint extends GetApiEndpoint<GetSecretRequest, GetSecretResult> {
3846
4909
  description: string;
3847
4910
  withAuth: boolean;
4911
+ requiredPermissions: string;
3848
4912
  endpointUrl: (opts: GetSecretRequest) => string;
3849
4913
  body: () => undefined;
3850
4914
  }
@@ -3863,6 +4927,7 @@ declare type DeleteSecretParameters = {
3863
4927
  declare class DeleteSecretEndpoint extends DeleteApiEndpoint<DeleteSecretRequest, DeleteSecretResult> {
3864
4928
  description: string;
3865
4929
  withAuth: boolean;
4930
+ requiredPermissions: string;
3866
4931
  endpointUrl: (opts: DeleteSecretRequest) => string;
3867
4932
  body: () => undefined;
3868
4933
  }
@@ -3920,6 +4985,7 @@ declare type UpdateSecretData = {
3920
4985
  declare class UpdateSecretEndpoint extends PostApiEndpoint<UpdateSecretRequest, UpdateSecretResult> {
3921
4986
  description: string;
3922
4987
  withAuth: boolean;
4988
+ requiredPermissions: string;
3923
4989
  endpointUrl: (opts: UpdateSecretRequest) => string;
3924
4990
  body: (payload: UpdateSecretRequest) => string;
3925
4991
  }
@@ -3982,6 +5048,7 @@ declare type GetSecretdetailsParameters = {
3982
5048
  declare class GetSecretdetailsEndpoint extends GetApiEndpoint<GetSecretdetailsRequest, GetSecretdetailsResult> {
3983
5049
  description: string;
3984
5050
  withAuth: boolean;
5051
+ requiredPermissions: string;
3985
5052
  endpointUrl: (opts: GetSecretdetailsRequest) => string;
3986
5053
  body: () => undefined;
3987
5054
  }
@@ -4021,6 +5088,7 @@ declare type UpdateSecretlinkData = {
4021
5088
  declare class UpdateSecretlinkEndpoint extends PostApiEndpoint<UpdateSecretlinkRequest, UpdateSecretlinkResult> {
4022
5089
  description: string;
4023
5090
  withAuth: boolean;
5091
+ requiredPermissions: string;
4024
5092
  endpointUrl: (opts: UpdateSecretlinkRequest) => string;
4025
5093
  body: (payload: UpdateSecretlinkRequest) => string;
4026
5094
  }
@@ -4064,6 +5132,7 @@ declare type GetSecretlinkParameters = {
4064
5132
  declare class GetSecretlinkEndpoint extends GetApiEndpoint<GetSecretlinkRequest, GetSecretlinkResult> {
4065
5133
  description: string;
4066
5134
  withAuth: boolean;
5135
+ requiredPermissions: string;
4067
5136
  endpointUrl: (opts: GetSecretlinkRequest) => string;
4068
5137
  body: () => undefined;
4069
5138
  }
@@ -4084,6 +5153,7 @@ declare type DeleteSecretlinkParameters = {
4084
5153
  declare class DeleteSecretlinkEndpoint extends DeleteApiEndpoint<DeleteSecretlinkRequest, DeleteSecretlinkResult> {
4085
5154
  description: string;
4086
5155
  withAuth: boolean;
5156
+ requiredPermissions: string;
4087
5157
  endpointUrl: (opts: DeleteSecretlinkRequest) => string;
4088
5158
  body: () => undefined;
4089
5159
  }
@@ -4154,7 +5224,7 @@ declare type CreateServiceCombinedResult = {
4154
5224
  /** Number of instances/replicas running Example: 1 */
4155
5225
  'instances'?: number;
4156
5226
  'internal'?: {
4157
- /** Database ID of deployed entity Example: "5f3bd676b84798d54472d1cc" */
5227
+ /** Database ID of deployed entity Example: "example-service" */
4158
5228
  'nfObjectId': string;
4159
5229
  /** Type of deployed entity Example: "service" */
4160
5230
  'nfObjectType': 'service';
@@ -4162,10 +5232,10 @@ declare type CreateServiceCombinedResult = {
4162
5232
  'repository': string;
4163
5233
  /** Branch of the repo being deployed Example: "master" */
4164
5234
  'branch': string;
4165
- /** Commit SHA to be deployed. 'latest' means the latest commit is automatically being deployed. Example: "latest" */
5235
+ /** Commit SHA to be deployed. `latest` means the latest commit is automatically being deployed. Example: "latest" */
4166
5236
  'buildSHA': string;
4167
- /** Currently deployed commit SHA. If buildSHA is set to 'latest', this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
4168
- 'deployedSHA': string;
5237
+ /** Currently deployed commit SHA. If buildSHA is set to `latest`, this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
5238
+ 'deployedSHA'?: string;
4169
5239
  };
4170
5240
  };
4171
5241
  'buildConfiguration': {
@@ -4181,6 +5251,13 @@ declare type CreateServiceCombinedResult = {
4181
5251
  'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
4182
5252
  /** Array of custom Buildpacks used. */
4183
5253
  'buildpackLocators'?: string[];
5254
+ /** Should build dependencies be cached? */
5255
+ 'useCache'?: boolean;
5256
+ };
5257
+ /** Details about Buildkit settings. */
5258
+ 'buildkit'?: {
5259
+ /** Should intermediate image layers be cached? */
5260
+ 'useCache'?: boolean;
4184
5261
  };
4185
5262
  /** Details about Kaniko settings. */
4186
5263
  'kaniko'?: {
@@ -4272,7 +5349,7 @@ declare type CreateServiceCombinedData = {
4272
5349
  'dockerfile': {
4273
5350
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
4274
5351
  'buildEngine'?: 'kaniko' | 'buildkit';
4275
- /** Should intermediate image layers be cached? Only supported by Kaniko. */
5352
+ /** Should intermediate image layers be cached? */
4276
5353
  'useCache'?: boolean;
4277
5354
  /** The file path of the Dockerfile. Example: "/Dockerfile" */
4278
5355
  'dockerFilePath': string;
@@ -4287,6 +5364,8 @@ declare type CreateServiceCombinedData = {
4287
5364
  'buildpackLocators'?: string[];
4288
5365
  /** The working directory to build in. Example: "/" */
4289
5366
  'buildContext'?: string;
5367
+ /** Should build dependencies be cached? */
5368
+ 'useCache'?: boolean;
4290
5369
  };
4291
5370
  };
4292
5371
  'buildConfiguration'?: {
@@ -4306,6 +5385,7 @@ declare type CreateServiceCombinedData = {
4306
5385
  declare class CreateServiceCombinedEndpoint extends PostApiEndpoint<CreateServiceCombinedRequest, CreateServiceCombinedResult> {
4307
5386
  description: string;
4308
5387
  withAuth: boolean;
5388
+ requiredPermissions: string;
4309
5389
  endpointUrl: (opts: CreateServiceCombinedRequest) => string;
4310
5390
  body: (payload: CreateServiceCombinedRequest) => string;
4311
5391
  }
@@ -4369,7 +5449,7 @@ declare type CreateServiceDeploymentResult = {
4369
5449
  'privateImage': boolean;
4370
5450
  };
4371
5451
  'internal'?: {
4372
- /** Database ID of deployed entity Example: "5f3bd676b84798d54472d1cc" */
5452
+ /** Database ID of deployed entity Example: "example-service" */
4373
5453
  'nfObjectId': string;
4374
5454
  /** Type of deployed entity Example: "service" */
4375
5455
  'nfObjectType': 'service';
@@ -4377,10 +5457,10 @@ declare type CreateServiceDeploymentResult = {
4377
5457
  'repository': string;
4378
5458
  /** Branch of the repo being deployed Example: "master" */
4379
5459
  'branch': string;
4380
- /** Commit SHA to be deployed. 'latest' means the latest commit is automatically being deployed. Example: "latest" */
5460
+ /** Commit SHA to be deployed. `latest` means the latest commit is automatically being deployed. Example: "latest" */
4381
5461
  'buildSHA': string;
4382
- /** Currently deployed commit SHA. If buildSHA is set to 'latest', this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
4383
- 'deployedSHA': string;
5462
+ /** Currently deployed commit SHA. If buildSHA is set to `latest`, this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
5463
+ 'deployedSHA'?: string;
4384
5464
  };
4385
5465
  /** Details about the Docker overrides for this deployment. */
4386
5466
  'docker'?: {
@@ -4524,6 +5604,7 @@ declare type CreateServiceDeploymentData = {
4524
5604
  declare class CreateServiceDeploymentEndpoint extends PostApiEndpoint<CreateServiceDeploymentRequest, CreateServiceDeploymentResult> {
4525
5605
  description: string;
4526
5606
  withAuth: boolean;
5607
+ requiredPermissions: string;
4527
5608
  endpointUrl: (opts: CreateServiceDeploymentRequest) => string;
4528
5609
  body: (payload: CreateServiceDeploymentRequest) => string;
4529
5610
  }
@@ -4602,6 +5683,13 @@ declare type CreateServiceBuildResult = {
4602
5683
  'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
4603
5684
  /** Array of custom Buildpacks used. */
4604
5685
  'buildpackLocators'?: string[];
5686
+ /** Should build dependencies be cached? */
5687
+ 'useCache'?: boolean;
5688
+ };
5689
+ /** Details about Buildkit settings. */
5690
+ 'buildkit'?: {
5691
+ /** Should intermediate image layers be cached? */
5692
+ 'useCache'?: boolean;
4605
5693
  };
4606
5694
  /** Details about Kaniko settings. */
4607
5695
  'kaniko'?: {
@@ -4641,7 +5729,7 @@ declare type CreateServiceBuildData = {
4641
5729
  'dockerfile': {
4642
5730
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
4643
5731
  'buildEngine'?: 'kaniko' | 'buildkit';
4644
- /** Should intermediate image layers be cached? Only supported by Kaniko. */
5732
+ /** Should intermediate image layers be cached? */
4645
5733
  'useCache'?: boolean;
4646
5734
  /** The file path of the Dockerfile. Example: "/Dockerfile" */
4647
5735
  'dockerFilePath': string;
@@ -4656,6 +5744,8 @@ declare type CreateServiceBuildData = {
4656
5744
  'buildpackLocators'?: string[];
4657
5745
  /** The working directory to build in. Example: "/" */
4658
5746
  'buildContext'?: string;
5747
+ /** Should build dependencies be cached? */
5748
+ 'useCache'?: boolean;
4659
5749
  };
4660
5750
  };
4661
5751
  'buildConfiguration'?: {
@@ -4675,6 +5765,7 @@ declare type CreateServiceBuildData = {
4675
5765
  declare class CreateServiceBuildEndpoint extends PostApiEndpoint<CreateServiceBuildRequest, CreateServiceBuildResult> {
4676
5766
  description: string;
4677
5767
  withAuth: boolean;
5768
+ requiredPermissions: string;
4678
5769
  endpointUrl: (opts: CreateServiceBuildRequest) => string;
4679
5770
  body: (payload: CreateServiceBuildRequest) => string;
4680
5771
  }
@@ -4754,7 +5845,7 @@ declare type GetServiceResult = {
4754
5845
  'privateImage': boolean;
4755
5846
  };
4756
5847
  'internal'?: {
4757
- /** Database ID of deployed entity Example: "5f3bd676b84798d54472d1cc" */
5848
+ /** Database ID of deployed entity Example: "example-service" */
4758
5849
  'nfObjectId': string;
4759
5850
  /** Type of deployed entity Example: "service" */
4760
5851
  'nfObjectType': 'service';
@@ -4762,10 +5853,10 @@ declare type GetServiceResult = {
4762
5853
  'repository': string;
4763
5854
  /** Branch of the repo being deployed Example: "master" */
4764
5855
  'branch': string;
4765
- /** Commit SHA to be deployed. 'latest' means the latest commit is automatically being deployed. Example: "latest" */
5856
+ /** Commit SHA to be deployed. `latest` means the latest commit is automatically being deployed. Example: "latest" */
4766
5857
  'buildSHA': string;
4767
- /** Currently deployed commit SHA. If buildSHA is set to 'latest', this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
4768
- 'deployedSHA': string;
5858
+ /** Currently deployed commit SHA. If buildSHA is set to `latest`, this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
5859
+ 'deployedSHA'?: string;
4769
5860
  };
4770
5861
  /** Details about the Docker overrides for this deployment. */
4771
5862
  'docker'?: {
@@ -4807,6 +5898,13 @@ declare type GetServiceResult = {
4807
5898
  'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
4808
5899
  /** Array of custom Buildpacks used. */
4809
5900
  'buildpackLocators'?: string[];
5901
+ /** Should build dependencies be cached? */
5902
+ 'useCache'?: boolean;
5903
+ };
5904
+ /** Details about Buildkit settings. */
5905
+ 'buildkit'?: {
5906
+ /** Should intermediate image layers be cached? */
5907
+ 'useCache'?: boolean;
4810
5908
  };
4811
5909
  /** Details about Kaniko settings. */
4812
5910
  'kaniko'?: {
@@ -4878,6 +5976,7 @@ declare type GetServiceParameters = {
4878
5976
  declare class GetServiceEndpoint extends GetApiEndpoint<GetServiceRequest, GetServiceResult> {
4879
5977
  description: string;
4880
5978
  withAuth: boolean;
5979
+ requiredPermissions: string;
4881
5980
  endpointUrl: (opts: GetServiceRequest) => string;
4882
5981
  body: () => undefined;
4883
5982
  }
@@ -4896,6 +5995,7 @@ declare type DeleteServiceParameters = {
4896
5995
  declare class DeleteServiceEndpoint extends DeleteApiEndpoint<DeleteServiceRequest, DeleteServiceResult> {
4897
5996
  description: string;
4898
5997
  withAuth: boolean;
5998
+ requiredPermissions: string;
4899
5999
  endpointUrl: (opts: DeleteServiceRequest) => string;
4900
6000
  body: () => undefined;
4901
6001
  }
@@ -4927,6 +6027,7 @@ declare type ScaleServiceData = {
4927
6027
  declare class ScaleServiceEndpoint extends PostApiEndpoint<ScaleServiceRequest, ScaleServiceResult> {
4928
6028
  description: string;
4929
6029
  withAuth: boolean;
6030
+ requiredPermissions: string;
4930
6031
  endpointUrl: (opts: ScaleServiceRequest) => string;
4931
6032
  body: (payload: ScaleServiceRequest) => string;
4932
6033
  }
@@ -4947,8 +6048,12 @@ declare type GetServiceDeploymentResult = {
4947
6048
  'repository': string;
4948
6049
  /** Branch of the repo being deployed Example: "master" */
4949
6050
  'branch': string;
4950
- /** Commit SHA being deployed. 'latest' means the latest commit is automatically being deployed. Example: "latest" */
6051
+ /** ID of the build currently deployed. Example: "incredible-land-3266" */
6052
+ 'buildId': string;
6053
+ /** Commit SHA being deployed. `latest` means the latest commit is automatically being deployed. Example: "latest" */
4951
6054
  'buildSHA': string;
6055
+ /** Currently deployed commit SHA. If buildSHA is set to `latest`, this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
6056
+ 'deployedSHA'?: string;
4952
6057
  };
4953
6058
  } | {
4954
6059
  /** Region where this service is deployed and/or built Example: "europe-west" */
@@ -4977,6 +6082,7 @@ declare type GetServiceDeploymentParameters = {
4977
6082
  declare class GetServiceDeploymentEndpoint extends GetApiEndpoint<GetServiceDeploymentRequest, GetServiceDeploymentResult> {
4978
6083
  description: string;
4979
6084
  withAuth: boolean;
6085
+ requiredPermissions: string;
4980
6086
  endpointUrl: (opts: GetServiceDeploymentRequest) => string;
4981
6087
  body: () => undefined;
4982
6088
  }
@@ -5015,6 +6121,7 @@ declare type UpdateServiceDeploymentData = {
5015
6121
  declare class UpdateServiceDeploymentEndpoint extends PostApiEndpoint<UpdateServiceDeploymentRequest, UpdateServiceDeploymentResult> {
5016
6122
  description: string;
5017
6123
  withAuth: boolean;
6124
+ requiredPermissions: string;
5018
6125
  endpointUrl: (opts: UpdateServiceDeploymentRequest) => string;
5019
6126
  body: (payload: UpdateServiceDeploymentRequest) => string;
5020
6127
  }
@@ -5033,6 +6140,7 @@ declare type RestartServiceParameters = {
5033
6140
  declare class RestartServiceEndpoint extends PostApiEndpoint<RestartServiceRequest, RestartServiceResult> {
5034
6141
  description: string;
5035
6142
  withAuth: boolean;
6143
+ requiredPermissions: string;
5036
6144
  endpointUrl: (opts: RestartServiceRequest) => string;
5037
6145
  body: () => undefined;
5038
6146
  }
@@ -5051,6 +6159,7 @@ declare type PauseServiceParameters = {
5051
6159
  declare class PauseServiceEndpoint extends PostApiEndpoint<PauseServiceRequest, PauseServiceResult> {
5052
6160
  description: string;
5053
6161
  withAuth: boolean;
6162
+ requiredPermissions: string;
5054
6163
  endpointUrl: (opts: PauseServiceRequest) => string;
5055
6164
  body: () => undefined;
5056
6165
  }
@@ -5069,11 +6178,16 @@ declare type ResumeServiceParameters = {
5069
6178
  declare type ResumeServiceData = {
5070
6179
  /** The number of instances to scale the service to upon resuming Example: 1 */
5071
6180
  'instances'?: number;
6181
+ /** Whether CI should be disabled */
6182
+ 'disabledCI'?: boolean;
6183
+ /** Whether CD should be disabled */
6184
+ 'disabledCD'?: boolean;
5072
6185
  };
5073
- /** Resumes the given service. Optionally takes `instances` to resume with a given number of instances. */
6186
+ /** Resumes the given service. Optionally takes several arguments to override resumed settings. */
5074
6187
  declare class ResumeServiceEndpoint extends PostApiEndpoint<ResumeServiceRequest, ResumeServiceResult> {
5075
6188
  description: string;
5076
6189
  withAuth: boolean;
6190
+ requiredPermissions: string;
5077
6191
  endpointUrl: (opts: ResumeServiceRequest) => string;
5078
6192
  body: (payload: ResumeServiceRequest) => string;
5079
6193
  }
@@ -5143,6 +6257,7 @@ declare type GetServicePortsParameters = {
5143
6257
  declare class GetServicePortsEndpoint extends GetApiEndpoint<GetServicePortsRequest, GetServicePortsResult> {
5144
6258
  description: string;
5145
6259
  withAuth: boolean;
6260
+ requiredPermissions: string;
5146
6261
  endpointUrl: (opts: GetServicePortsRequest) => string;
5147
6262
  body: () => undefined;
5148
6263
  }
@@ -5199,6 +6314,7 @@ declare type UpdateServicePortsData = {
5199
6314
  declare class UpdateServicePortsEndpoint extends PostApiEndpoint<UpdateServicePortsRequest, UpdateServicePortsResult> {
5200
6315
  description: string;
5201
6316
  withAuth: boolean;
6317
+ requiredPermissions: string;
5202
6318
  endpointUrl: (opts: UpdateServicePortsRequest) => string;
5203
6319
  body: (payload: UpdateServicePortsRequest) => string;
5204
6320
  }
@@ -5218,7 +6334,7 @@ declare type UpdateServiceBuildoptionsData = {
5218
6334
  'dockerfile': {
5219
6335
  /** Build engine to use. Defaults to recommended build engine `kaniko` Example: "kaniko" */
5220
6336
  'buildEngine'?: 'kaniko' | 'buildkit';
5221
- /** Should intermediate image layers be cached? Only supported by Kaniko. */
6337
+ /** Should intermediate image layers be cached? */
5222
6338
  'useCache'?: boolean;
5223
6339
  /** The file path of the Dockerfile. Example: "/Dockerfile" */
5224
6340
  'dockerFilePath'?: string;
@@ -5239,6 +6355,8 @@ declare type UpdateServiceBuildoptionsData = {
5239
6355
  'buildpackLocators'?: string[];
5240
6356
  /** The working directory to build in. Example: "/" */
5241
6357
  'buildContext'?: string;
6358
+ /** Should build dependencies be cached? */
6359
+ 'useCache'?: boolean;
5242
6360
  };
5243
6361
  /** An array of pull request build rules. Only supported for build services. Each commit belonging to a pull request on a branch that matches one of the provided build rules will be built automatically. */
5244
6362
  'prRestrictions'?: string[];
@@ -5258,6 +6376,7 @@ declare type UpdateServiceBuildoptionsData = {
5258
6376
  declare class UpdateServiceBuildoptionsEndpoint extends PostApiEndpoint<UpdateServiceBuildoptionsRequest, UpdateServiceBuildoptionsResult> {
5259
6377
  description: string;
5260
6378
  withAuth: boolean;
6379
+ requiredPermissions: string;
5261
6380
  endpointUrl: (opts: UpdateServiceBuildoptionsRequest) => string;
5262
6381
  body: (payload: UpdateServiceBuildoptionsRequest) => string;
5263
6382
  }
@@ -5289,6 +6408,7 @@ declare type UpdateServiceBuildsourceData = {
5289
6408
  declare class UpdateServiceBuildsourceEndpoint extends PostApiEndpoint<UpdateServiceBuildsourceRequest, UpdateServiceBuildsourceResult> {
5290
6409
  description: string;
5291
6410
  withAuth: boolean;
6411
+ requiredPermissions: string;
5292
6412
  endpointUrl: (opts: UpdateServiceBuildsourceRequest) => string;
5293
6413
  body: (payload: UpdateServiceBuildsourceRequest) => string;
5294
6414
  }
@@ -5312,6 +6432,7 @@ declare type UpdateServiceCmdoverrideData = {
5312
6432
  declare class UpdateServiceCmdoverrideEndpoint extends PostApiEndpoint<UpdateServiceCmdoverrideRequest, UpdateServiceCmdoverrideResult> {
5313
6433
  description: string;
5314
6434
  withAuth: boolean;
6435
+ requiredPermissions: string;
5315
6436
  endpointUrl: (opts: UpdateServiceCmdoverrideRequest) => string;
5316
6437
  body: (payload: UpdateServiceCmdoverrideRequest) => string;
5317
6438
  }
@@ -5335,6 +6456,7 @@ declare type UpdateServiceEntrypointoverrideData = {
5335
6456
  declare class UpdateServiceEntrypointoverrideEndpoint extends PostApiEndpoint<UpdateServiceEntrypointoverrideRequest, UpdateServiceEntrypointoverrideResult> {
5336
6457
  description: string;
5337
6458
  withAuth: boolean;
6459
+ requiredPermissions: string;
5338
6460
  endpointUrl: (opts: UpdateServiceEntrypointoverrideRequest) => string;
5339
6461
  body: (payload: UpdateServiceEntrypointoverrideRequest) => string;
5340
6462
  }
@@ -5379,6 +6501,7 @@ declare type GetServiceHealthchecksParameters = {
5379
6501
  declare class GetServiceHealthchecksEndpoint extends GetApiEndpoint<GetServiceHealthchecksRequest, GetServiceHealthchecksResult> {
5380
6502
  description: string;
5381
6503
  withAuth: boolean;
6504
+ requiredPermissions: string;
5382
6505
  endpointUrl: (opts: GetServiceHealthchecksRequest) => string;
5383
6506
  body: () => undefined;
5384
6507
  }
@@ -5423,6 +6546,7 @@ declare type UpdateServiceHealthchecksData = {
5423
6546
  declare class UpdateServiceHealthchecksEndpoint extends PostApiEndpoint<UpdateServiceHealthchecksRequest, UpdateServiceHealthchecksResult> {
5424
6547
  description: string;
5425
6548
  withAuth: boolean;
6549
+ requiredPermissions: string;
5426
6550
  endpointUrl: (opts: UpdateServiceHealthchecksRequest) => string;
5427
6551
  body: (payload: UpdateServiceHealthchecksRequest) => string;
5428
6552
  }
@@ -5474,6 +6598,7 @@ declare type GetServiceBuildsOptions = {
5474
6598
  declare class GetServiceBuildsEndpoint extends GetApiEndpoint<GetServiceBuildsRequest, GetServiceBuildsResult> {
5475
6599
  description: string;
5476
6600
  withAuth: boolean;
6601
+ requiredPermissions: string;
5477
6602
  endpointUrl: (opts: GetServiceBuildsRequest) => string;
5478
6603
  body: () => undefined;
5479
6604
  }
@@ -5528,6 +6653,7 @@ declare type StartServiceBuildData = {
5528
6653
  declare class StartServiceBuildEndpoint extends PostApiEndpoint<StartServiceBuildRequest, StartServiceBuildResult> {
5529
6654
  description: string;
5530
6655
  withAuth: boolean;
6656
+ requiredPermissions: string;
5531
6657
  endpointUrl: (opts: StartServiceBuildRequest) => string;
5532
6658
  body: (payload: StartServiceBuildRequest) => string;
5533
6659
  }
@@ -5569,6 +6695,7 @@ declare type GetServiceBuildParameters = {
5569
6695
  declare class GetServiceBuildEndpoint extends GetApiEndpoint<GetServiceBuildRequest, GetServiceBuildResult> {
5570
6696
  description: string;
5571
6697
  withAuth: boolean;
6698
+ requiredPermissions: string;
5572
6699
  endpointUrl: (opts: GetServiceBuildRequest) => string;
5573
6700
  body: () => undefined;
5574
6701
  }
@@ -5589,6 +6716,7 @@ declare type AbortServiceBuildParameters = {
5589
6716
  declare class AbortServiceBuildEndpoint extends DeleteApiEndpoint<AbortServiceBuildRequest, AbortServiceBuildResult> {
5590
6717
  description: string;
5591
6718
  withAuth: boolean;
6719
+ requiredPermissions: string;
5592
6720
  endpointUrl: (opts: AbortServiceBuildRequest) => string;
5593
6721
  body: () => undefined;
5594
6722
  }
@@ -5628,6 +6756,7 @@ declare type GetServiceContainersOptions = {
5628
6756
  declare class GetServiceContainersEndpoint extends GetApiEndpoint<GetServiceContainersRequest, GetServiceContainersResult> {
5629
6757
  description: string;
5630
6758
  withAuth: boolean;
6759
+ requiredPermissions: string;
5631
6760
  endpointUrl: (opts: GetServiceContainersRequest) => string;
5632
6761
  body: () => undefined;
5633
6762
  }
@@ -5676,6 +6805,7 @@ declare type GetServiceBranchesOptions = {
5676
6805
  declare class GetServiceBranchesEndpoint extends GetApiEndpoint<GetServiceBranchesRequest, GetServiceBranchesResult> {
5677
6806
  description: string;
5678
6807
  withAuth: boolean;
6808
+ requiredPermissions: string;
5679
6809
  endpointUrl: (opts: GetServiceBranchesRequest) => string;
5680
6810
  body: () => undefined;
5681
6811
  }
@@ -5724,10 +6854,532 @@ declare type GetServicePullrequestsOptions = {
5724
6854
  declare class GetServicePullrequestsEndpoint extends GetApiEndpoint<GetServicePullrequestsRequest, GetServicePullrequestsResult> {
5725
6855
  description: string;
5726
6856
  withAuth: boolean;
6857
+ requiredPermissions: string;
5727
6858
  endpointUrl: (opts: GetServicePullrequestsRequest) => string;
5728
6859
  body: () => undefined;
5729
6860
  }
5730
6861
 
6862
+ declare type ListTemplatesResult = {
6863
+ /** An array of template objects. */
6864
+ 'templates': {
6865
+ /** ID of the template. Example: "example-template" */
6866
+ 'id': string;
6867
+ /** Timestamp of when the template was created. Example: "2022-06-14 15:10:42.842Z" */
6868
+ 'createdAt': string;
6869
+ /** Timestamp of when the template was last updated. Example: "2022-06-14 15:10:42.842Z" */
6870
+ 'updatedAt': string;
6871
+ /** Details about the template. */
6872
+ 'content': {
6873
+ /** Name of the template. Example: "Example Template" */
6874
+ 'name': string;
6875
+ /** Description of the template. Example: "This is a sample template." */
6876
+ 'description'?: string;
6877
+ /** The version of the Northflank API to run the template against. Example: "v1" */
6878
+ 'apiVersion': 'v1';
6879
+ };
6880
+ }[];
6881
+ };
6882
+ declare type ListTemplatesCall = (opts: ListTemplatesRequest) => Promise<ApiCallResponse<ListTemplatesResult>>;
6883
+ declare type ListTemplatesRequest = {
6884
+ options?: ListTemplatesOptions;
6885
+ };
6886
+ declare type ListTemplatesOptions = {
6887
+ /** The number of results to display per request. Maximum of 100 results per page. */
6888
+ 'per_page'?: number;
6889
+ /** The page number to access. */
6890
+ 'page'?: number;
6891
+ /** The cursor returned from the previous page of results, used to request the next page. */
6892
+ 'cursor'?: string;
6893
+ };
6894
+ /** Get a list of templates */
6895
+ declare class ListTemplatesEndpoint extends GetApiEndpoint<ListTemplatesRequest, ListTemplatesResult> {
6896
+ description: string;
6897
+ withAuth: boolean;
6898
+ requiredPermissions: string;
6899
+ endpointUrl: (opts: ListTemplatesRequest) => string;
6900
+ body: () => undefined;
6901
+ }
6902
+
6903
+ declare type CreateTemplateResult = {
6904
+ /** Details about the newly created template. */
6905
+ 'template': {
6906
+ /** ID of the template. Example: "example-template" */
6907
+ 'id': string;
6908
+ /** Timestamp of when the template was created. Example: "2022-06-14 15:10:42.842Z" */
6909
+ 'createdAt': string;
6910
+ /** Timestamp of when the template was last updated. Example: "2022-06-14 15:10:42.842Z" */
6911
+ 'updatedAt': string;
6912
+ 'content'?: {
6913
+ /** Name of the template. Example: "Example Template" */
6914
+ 'name': string;
6915
+ /** Description of the template. Example: "This is a sample template." */
6916
+ 'description'?: string;
6917
+ /** The version of the Northflank API to run the template against. Example: "v1" */
6918
+ 'apiVersion': 'v1';
6919
+ /** Details of the project the template will run in. */
6920
+ 'project': {
6921
+ /** The ID of the project to use. */
6922
+ 'id': string;
6923
+ } | {
6924
+ /** Details about the project to create. */
6925
+ 'spec': {
6926
+ /** The name of the project. Example: "New Project" */
6927
+ 'name': string;
6928
+ /** The description of the project. Example: "This is a new project." */
6929
+ 'description'?: string;
6930
+ /** The region the project will be hosted in. Example: "europe-west" */
6931
+ 'region'?: string;
6932
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
6933
+ 'clusterId'?: string;
6934
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
6935
+ 'color'?: string;
6936
+ };
6937
+ };
6938
+ 'spec': any;
6939
+ };
6940
+ };
6941
+ /** Details about the newly created template run. */
6942
+ 'templateRun'?: {
6943
+ /** ID of the template run. Example: "501c1e03-a021-4659-9048-85f8f6ee2bc7" */
6944
+ 'id': string;
6945
+ /** Timestamp of when the run was initiated. Example: "2022-06-14 15:10:42.842Z" */
6946
+ 'createdAt': string;
6947
+ /** Timestamp of when the run was last updated. Example: "2022-06-14 15:10:42.842Z" */
6948
+ 'updatedAt': string;
6949
+ /** Details about the template being run. */
6950
+ 'template': {
6951
+ /** ID of the template Example: "example-template" */
6952
+ 'id': string;
6953
+ /** The name of the template Example: "Example Template" */
6954
+ 'name': string;
6955
+ };
6956
+ /** Status of the template run. Example: "success" */
6957
+ 'status': 'waiting' | 'failure' | 'retrying' | 'success' | 'unknown';
6958
+ /** Details about the template run. */
6959
+ 'content': {
6960
+ /** Name of the template. Example: "Example Template" */
6961
+ 'name': string;
6962
+ /** Description of the template. Example: "This is a sample template." */
6963
+ 'description'?: string;
6964
+ /** The version of the Northflank API to run the template against. Example: "v1" */
6965
+ 'apiVersion': 'v1';
6966
+ /** Details of the project the template will run in. */
6967
+ 'project': {
6968
+ /** The ID of the project to use. */
6969
+ 'id': string;
6970
+ } | {
6971
+ /** Details about the project to create. */
6972
+ 'spec': {
6973
+ /** The name of the project. Example: "New Project" */
6974
+ 'name': string;
6975
+ /** The description of the project. Example: "This is a new project." */
6976
+ 'description'?: string;
6977
+ /** The region the project will be hosted in. Example: "europe-west" */
6978
+ 'region'?: string;
6979
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
6980
+ 'clusterId'?: string;
6981
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
6982
+ 'color'?: string;
6983
+ };
6984
+ };
6985
+ 'spec': any;
6986
+ };
6987
+ };
6988
+ };
6989
+ declare type CreateTemplateCall = (opts: CreateTemplateRequest) => Promise<ApiCallResponse<CreateTemplateResult>>;
6990
+ declare type CreateTemplateRequest = {
6991
+ data: CreateTemplateData;
6992
+ };
6993
+ declare type CreateTemplateData = {
6994
+ /** Name of the template. Example: "Example Template" */
6995
+ 'name': string;
6996
+ /** Description of the template. Example: "This is a sample template." */
6997
+ 'description'?: string;
6998
+ /** The version of the Northflank API to run the template against. Example: "v1" */
6999
+ 'apiVersion': 'v1';
7000
+ /** Details of the project the template will run in. */
7001
+ 'project': {
7002
+ /** The ID of the project to use. */
7003
+ 'id': string;
7004
+ } | {
7005
+ /** Details about the project to create. */
7006
+ 'spec': {
7007
+ /** The name of the project. Example: "New Project" */
7008
+ 'name': string;
7009
+ /** The description of the project. Example: "This is a new project." */
7010
+ 'description'?: string;
7011
+ /** The region the project will be hosted in. Example: "europe-west" */
7012
+ 'region'?: string;
7013
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
7014
+ 'clusterId'?: string;
7015
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
7016
+ 'color'?: string;
7017
+ };
7018
+ };
7019
+ 'spec': any;
7020
+ /** Additional options for the template creation. */
7021
+ 'options'?: {
7022
+ /** If true, the template will be ran immediately after creation. Example: true */
7023
+ 'runOnCreation'?: boolean;
7024
+ };
7025
+ };
7026
+ /** Create a template */
7027
+ declare class CreateTemplateEndpoint extends PostApiEndpoint<CreateTemplateRequest, CreateTemplateResult> {
7028
+ description: string;
7029
+ withAuth: boolean;
7030
+ requiredPermissions: string;
7031
+ endpointUrl: (opts: CreateTemplateRequest) => string;
7032
+ body: (payload: CreateTemplateRequest) => string;
7033
+ }
7034
+
7035
+ declare type GetTemplateResult = {
7036
+ /** ID of the template. Example: "example-template" */
7037
+ 'id': string;
7038
+ /** Timestamp of when the template was created. Example: "2022-06-14 15:10:42.842Z" */
7039
+ 'createdAt': string;
7040
+ /** Timestamp of when the template was last updated. Example: "2022-06-14 15:10:42.842Z" */
7041
+ 'updatedAt': string;
7042
+ 'content'?: {
7043
+ /** Name of the template. Example: "Example Template" */
7044
+ 'name': string;
7045
+ /** Description of the template. Example: "This is a sample template." */
7046
+ 'description'?: string;
7047
+ /** The version of the Northflank API to run the template against. Example: "v1" */
7048
+ 'apiVersion': 'v1';
7049
+ /** Details of the project the template will run in. */
7050
+ 'project': {
7051
+ /** The ID of the project to use. */
7052
+ 'id': string;
7053
+ } | {
7054
+ /** Details about the project to create. */
7055
+ 'spec': {
7056
+ /** The name of the project. Example: "New Project" */
7057
+ 'name': string;
7058
+ /** The description of the project. Example: "This is a new project." */
7059
+ 'description'?: string;
7060
+ /** The region the project will be hosted in. Example: "europe-west" */
7061
+ 'region'?: string;
7062
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
7063
+ 'clusterId'?: string;
7064
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
7065
+ 'color'?: string;
7066
+ };
7067
+ };
7068
+ 'spec': any;
7069
+ };
7070
+ };
7071
+ declare type GetTemplateCall = (opts: GetTemplateRequest) => Promise<ApiCallResponse<GetTemplateResult>>;
7072
+ declare type GetTemplateRequest = {
7073
+ parameters: GetTemplateParameters;
7074
+ options?: GetTemplateOptions;
7075
+ };
7076
+ declare type GetTemplateParameters = {
7077
+ /** ID of the template */ 'templateId': string;
7078
+ };
7079
+ declare type GetTemplateOptions = {
7080
+ /** The number of results to display per request. Maximum of 100 results per page. */
7081
+ 'per_page'?: number;
7082
+ /** The page number to access. */
7083
+ 'page'?: number;
7084
+ /** The cursor returned from the previous page of results, used to request the next page. */
7085
+ 'cursor'?: string;
7086
+ };
7087
+ /** Get information about the given template. */
7088
+ declare class GetTemplateEndpoint extends GetApiEndpoint<GetTemplateRequest, GetTemplateResult> {
7089
+ description: string;
7090
+ withAuth: boolean;
7091
+ requiredPermissions: string;
7092
+ endpointUrl: (opts: GetTemplateRequest) => string;
7093
+ body: () => undefined;
7094
+ }
7095
+
7096
+ declare type UpdateTemplateResult = {
7097
+ /** ID of the template. Example: "example-template" */
7098
+ 'id': string;
7099
+ /** Timestamp of when the template was created. Example: "2022-06-14 15:10:42.842Z" */
7100
+ 'createdAt': string;
7101
+ /** Timestamp of when the template was last updated. Example: "2022-06-14 15:10:42.842Z" */
7102
+ 'updatedAt': string;
7103
+ 'content'?: {
7104
+ /** Name of the template. Example: "Example Template" */
7105
+ 'name': string;
7106
+ /** Description of the template. Example: "This is a sample template." */
7107
+ 'description'?: string;
7108
+ /** The version of the Northflank API to run the template against. Example: "v1" */
7109
+ 'apiVersion': 'v1';
7110
+ /** Details of the project the template will run in. */
7111
+ 'project': {
7112
+ /** The ID of the project to use. */
7113
+ 'id': string;
7114
+ } | {
7115
+ /** Details about the project to create. */
7116
+ 'spec': {
7117
+ /** The name of the project. Example: "New Project" */
7118
+ 'name': string;
7119
+ /** The description of the project. Example: "This is a new project." */
7120
+ 'description'?: string;
7121
+ /** The region the project will be hosted in. Example: "europe-west" */
7122
+ 'region'?: string;
7123
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
7124
+ 'clusterId'?: string;
7125
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
7126
+ 'color'?: string;
7127
+ };
7128
+ };
7129
+ 'spec': any;
7130
+ };
7131
+ };
7132
+ declare type UpdateTemplateCall = (opts: UpdateTemplateRequest) => Promise<ApiCallResponse<UpdateTemplateResult>>;
7133
+ declare type UpdateTemplateRequest = {
7134
+ parameters: UpdateTemplateParameters;
7135
+ data: UpdateTemplateData;
7136
+ };
7137
+ declare type UpdateTemplateParameters = {
7138
+ /** ID of the template */ 'templateId': string;
7139
+ };
7140
+ declare type UpdateTemplateData = {
7141
+ /** Name of the template. Example: "Example Template" */
7142
+ 'name': string;
7143
+ /** Description of the template. Example: "This is a sample template." */
7144
+ 'description'?: string;
7145
+ /** The version of the Northflank API to run the template against. Example: "v1" */
7146
+ 'apiVersion': 'v1';
7147
+ /** Details of the project the template will run in. */
7148
+ 'project': {
7149
+ /** The ID of the project to use. */
7150
+ 'id': string;
7151
+ } | {
7152
+ /** Details about the project to create. */
7153
+ 'spec': {
7154
+ /** The name of the project. Example: "New Project" */
7155
+ 'name': string;
7156
+ /** The description of the project. Example: "This is a new project." */
7157
+ 'description'?: string;
7158
+ /** The region the project will be hosted in. Example: "europe-west" */
7159
+ 'region'?: string;
7160
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
7161
+ 'clusterId'?: string;
7162
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
7163
+ 'color'?: string;
7164
+ };
7165
+ };
7166
+ 'spec': any;
7167
+ };
7168
+ /** Update a template */
7169
+ declare class UpdateTemplateEndpoint extends PostApiEndpoint<UpdateTemplateRequest, UpdateTemplateResult> {
7170
+ description: string;
7171
+ withAuth: boolean;
7172
+ requiredPermissions: string;
7173
+ endpointUrl: (opts: UpdateTemplateRequest) => string;
7174
+ body: (payload: UpdateTemplateRequest) => string;
7175
+ }
7176
+
7177
+ declare type DeleteTemplateResult = any;
7178
+ declare type DeleteTemplateCall = (opts: DeleteTemplateRequest) => Promise<ApiCallResponse<DeleteTemplateResult>>;
7179
+ declare type DeleteTemplateRequest = {
7180
+ parameters: DeleteTemplateParameters;
7181
+ };
7182
+ declare type DeleteTemplateParameters = {
7183
+ /** ID of the template */ 'templateId': string;
7184
+ };
7185
+ /** Delete a template */
7186
+ declare class DeleteTemplateEndpoint extends DeleteApiEndpoint<DeleteTemplateRequest, DeleteTemplateResult> {
7187
+ description: string;
7188
+ withAuth: boolean;
7189
+ requiredPermissions: string;
7190
+ endpointUrl: (opts: DeleteTemplateRequest) => string;
7191
+ body: () => undefined;
7192
+ }
7193
+
7194
+ declare type RunTemplateResult = {
7195
+ /** ID of the template run. Example: "501c1e03-a021-4659-9048-85f8f6ee2bc7" */
7196
+ 'id': string;
7197
+ /** Timestamp of when the run was initiated. Example: "2022-06-14 15:10:42.842Z" */
7198
+ 'createdAt': string;
7199
+ /** Timestamp of when the run was last updated. Example: "2022-06-14 15:10:42.842Z" */
7200
+ 'updatedAt': string;
7201
+ /** Details about the template being run. */
7202
+ 'template': {
7203
+ /** ID of the template Example: "example-template" */
7204
+ 'id': string;
7205
+ /** The name of the template Example: "Example Template" */
7206
+ 'name': string;
7207
+ };
7208
+ /** Status of the template run. Example: "success" */
7209
+ 'status': 'waiting' | 'failure' | 'retrying' | 'success' | 'unknown';
7210
+ /** Details about the template run. */
7211
+ 'content': {
7212
+ /** Name of the template. Example: "Example Template" */
7213
+ 'name': string;
7214
+ /** Description of the template. Example: "This is a sample template." */
7215
+ 'description'?: string;
7216
+ /** The version of the Northflank API to run the template against. Example: "v1" */
7217
+ 'apiVersion': 'v1';
7218
+ /** Details of the project the template will run in. */
7219
+ 'project': {
7220
+ /** The ID of the project to use. */
7221
+ 'id': string;
7222
+ } | {
7223
+ /** Details about the project to create. */
7224
+ 'spec': {
7225
+ /** The name of the project. Example: "New Project" */
7226
+ 'name': string;
7227
+ /** The description of the project. Example: "This is a new project." */
7228
+ 'description'?: string;
7229
+ /** The region the project will be hosted in. Example: "europe-west" */
7230
+ 'region'?: string;
7231
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
7232
+ 'clusterId'?: string;
7233
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
7234
+ 'color'?: string;
7235
+ };
7236
+ };
7237
+ 'spec': any;
7238
+ };
7239
+ };
7240
+ declare type RunTemplateCall = (opts: RunTemplateRequest) => Promise<ApiCallResponse<RunTemplateResult>>;
7241
+ declare type RunTemplateRequest = {
7242
+ parameters: RunTemplateParameters;
7243
+ };
7244
+ declare type RunTemplateParameters = {
7245
+ /** ID of the template */ 'templateId': string;
7246
+ };
7247
+ /** Run a template */
7248
+ declare class RunTemplateEndpoint extends PostApiEndpoint<RunTemplateRequest, RunTemplateResult> {
7249
+ description: string;
7250
+ withAuth: boolean;
7251
+ requiredPermissions: string;
7252
+ endpointUrl: (opts: RunTemplateRequest) => string;
7253
+ body: () => undefined;
7254
+ }
7255
+
7256
+ declare type ListTemplaterunsResult = {
7257
+ /** An array of template run objects. */
7258
+ 'templateRuns': {
7259
+ /** ID of the template run. Example: "501c1e03-a021-4659-9048-85f8f6ee2bc7" */
7260
+ 'id': string;
7261
+ /** Timestamp of when the run was initiated. Example: "2022-06-14 15:10:42.842Z" */
7262
+ 'createdAt': string;
7263
+ /** Timestamp of when the run was last updated. Example: "2022-06-14 15:10:42.842Z" */
7264
+ 'updatedAt': string;
7265
+ /** Details about the template being run. */
7266
+ 'template': {
7267
+ /** ID of the template Example: "example-template" */
7268
+ 'id': string;
7269
+ /** The name of the template Example: "Example Template" */
7270
+ 'name': string;
7271
+ };
7272
+ /** Details about the template run. */
7273
+ 'content': {
7274
+ /** Name of the template. Example: "Example Template" */
7275
+ 'name': string;
7276
+ /** Description of the template. Example: "This is a sample template." */
7277
+ 'description'?: string;
7278
+ /** The version of the Northflank API to run the template against. Example: "v1" */
7279
+ 'apiVersion': 'v1';
7280
+ };
7281
+ /** Status of the template run. Example: "success" */
7282
+ 'status': 'waiting' | 'failure' | 'retrying' | 'success' | 'unknown';
7283
+ }[];
7284
+ };
7285
+ declare type ListTemplaterunsCall = (opts: ListTemplaterunsRequest) => Promise<ApiCallResponse<ListTemplaterunsResult>>;
7286
+ declare type ListTemplaterunsRequest = {
7287
+ parameters: ListTemplaterunsParameters;
7288
+ options?: ListTemplaterunsOptions;
7289
+ };
7290
+ declare type ListTemplaterunsParameters = {
7291
+ /** ID of the template */ 'templateId': string;
7292
+ };
7293
+ declare type ListTemplaterunsOptions = {
7294
+ /** The number of results to display per request. Maximum of 100 results per page. */
7295
+ 'per_page'?: number;
7296
+ /** The page number to access. */
7297
+ 'page'?: number;
7298
+ /** The cursor returned from the previous page of results, used to request the next page. */
7299
+ 'cursor'?: string;
7300
+ };
7301
+ /** Get a list of template runs */
7302
+ declare class ListTemplaterunsEndpoint extends GetApiEndpoint<ListTemplaterunsRequest, ListTemplaterunsResult> {
7303
+ description: string;
7304
+ withAuth: boolean;
7305
+ requiredPermissions: string;
7306
+ endpointUrl: (opts: ListTemplaterunsRequest) => string;
7307
+ body: () => undefined;
7308
+ }
7309
+
7310
+ declare type GetTemplaterunResult = {
7311
+ /** ID of the template run. Example: "501c1e03-a021-4659-9048-85f8f6ee2bc7" */
7312
+ 'id': string;
7313
+ /** Timestamp of when the run was initiated. Example: "2022-06-14 15:10:42.842Z" */
7314
+ 'createdAt': string;
7315
+ /** Timestamp of when the run was last updated. Example: "2022-06-14 15:10:42.842Z" */
7316
+ 'updatedAt': string;
7317
+ /** Details about the template being run. */
7318
+ 'template': {
7319
+ /** ID of the template Example: "example-template" */
7320
+ 'id': string;
7321
+ /** The name of the template Example: "Example Template" */
7322
+ 'name': string;
7323
+ };
7324
+ /** Status of the template run. Example: "success" */
7325
+ 'status': 'waiting' | 'failure' | 'retrying' | 'success' | 'unknown';
7326
+ /** Details about the template run. */
7327
+ 'content': {
7328
+ /** Name of the template. Example: "Example Template" */
7329
+ 'name': string;
7330
+ /** Description of the template. Example: "This is a sample template." */
7331
+ 'description'?: string;
7332
+ /** The version of the Northflank API to run the template against. Example: "v1" */
7333
+ 'apiVersion': 'v1';
7334
+ /** Details of the project the template will run in. */
7335
+ 'project': {
7336
+ /** The ID of the project to use. */
7337
+ 'id': string;
7338
+ } | {
7339
+ /** Details about the project to create. */
7340
+ 'spec': {
7341
+ /** The name of the project. Example: "New Project" */
7342
+ 'name': string;
7343
+ /** The description of the project. Example: "This is a new project." */
7344
+ 'description'?: string;
7345
+ /** The region the project will be hosted in. Example: "europe-west" */
7346
+ 'region'?: string;
7347
+ /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
7348
+ 'clusterId'?: string;
7349
+ /** The color of the project in the Northflank App. Example: "#EF233C" */
7350
+ 'color'?: string;
7351
+ };
7352
+ };
7353
+ 'spec': any;
7354
+ };
7355
+ };
7356
+ declare type GetTemplaterunCall = (opts: GetTemplaterunRequest) => Promise<ApiCallResponse<GetTemplaterunResult>>;
7357
+ declare type GetTemplaterunRequest = {
7358
+ parameters: GetTemplaterunParameters;
7359
+ options?: GetTemplaterunOptions;
7360
+ };
7361
+ declare type GetTemplaterunParameters = {
7362
+ /** ID of the template */ 'templateId': string;
7363
+ /** ID of the template run */
7364
+ 'templateRunId': string;
7365
+ };
7366
+ declare type GetTemplaterunOptions = {
7367
+ /** The number of results to display per request. Maximum of 100 results per page. */
7368
+ 'per_page'?: number;
7369
+ /** The page number to access. */
7370
+ 'page'?: number;
7371
+ /** The cursor returned from the previous page of results, used to request the next page. */
7372
+ 'cursor'?: string;
7373
+ };
7374
+ /** Get information about the given template run. */
7375
+ declare class GetTemplaterunEndpoint extends GetApiEndpoint<GetTemplaterunRequest, GetTemplaterunResult> {
7376
+ description: string;
7377
+ withAuth: boolean;
7378
+ requiredPermissions: string;
7379
+ endpointUrl: (opts: GetTemplaterunRequest) => string;
7380
+ body: () => undefined;
7381
+ }
7382
+
5731
7383
  declare type ListReposResult = {
5732
7384
  /** A list of accessible repositories. */
5733
7385
  'repos'?: {
@@ -5774,6 +7426,7 @@ declare type ListReposOptions = {
5774
7426
  declare class ListReposEndpoint extends GetApiEndpoint<ListReposRequest, ListReposResult> {
5775
7427
  description: string;
5776
7428
  withAuth: boolean;
7429
+ requiredPermissions: string;
5777
7430
  endpointUrl: (opts: ListReposRequest) => string;
5778
7431
  body: () => undefined;
5779
7432
  }
@@ -5824,6 +7477,7 @@ declare type ListBranchesOptions = {
5824
7477
  declare class ListBranchesEndpoint extends GetApiEndpoint<ListBranchesRequest, ListBranchesResult> {
5825
7478
  description: string;
5826
7479
  withAuth: boolean;
7480
+ requiredPermissions: string;
5827
7481
  endpointUrl: (opts: ListBranchesRequest) => string;
5828
7482
  body: () => undefined;
5829
7483
  }
@@ -5833,9 +7487,16 @@ declare type ListVolumesResult = {
5833
7487
  'id': string;
5834
7488
  /** Volume name Example: "Example Volume" */
5835
7489
  'name': string;
5836
- /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
7490
+ /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account. */
5837
7491
  'spec': {
5838
- 'storageClassName'?: 'ssd' | 'hdd';
7492
+ /** The type of the storage. Example: "ssd" */
7493
+ 'storageClassName'?: 'ssd';
7494
+ /** Storage size of the SSD. Example: 4096 */
7495
+ 'storageSize': number;
7496
+ } | {
7497
+ /** The type of the storage. Example: "hdd" */
7498
+ 'storageClassName': 'hdd';
7499
+ /** Storage size of the HDD. Example: 40960 */
5839
7500
  'storageSize': number;
5840
7501
  };
5841
7502
  /** The object to attach this volume to. */
@@ -5863,6 +7524,7 @@ declare type ListVolumesParameters = {
5863
7524
  declare class ListVolumesEndpoint extends GetApiEndpoint<ListVolumesRequest, ListVolumesResult> {
5864
7525
  description: string;
5865
7526
  withAuth: boolean;
7527
+ requiredPermissions: string;
5866
7528
  endpointUrl: (opts: ListVolumesRequest) => string;
5867
7529
  body: () => undefined;
5868
7530
  }
@@ -5872,9 +7534,16 @@ declare type CreateVolumeResult = {
5872
7534
  'id': string;
5873
7535
  /** Volume name Example: "Example Volume" */
5874
7536
  'name': string;
5875
- /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
7537
+ /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account. */
5876
7538
  'spec': {
5877
- 'storageClassName'?: 'ssd' | 'hdd';
7539
+ /** The type of the storage. Example: "ssd" */
7540
+ 'storageClassName'?: 'ssd';
7541
+ /** Storage size of the SSD. Example: 4096 */
7542
+ 'storageSize': number;
7543
+ } | {
7544
+ /** The type of the storage. Example: "hdd" */
7545
+ 'storageClassName': 'hdd';
7546
+ /** Storage size of the HDD. Example: 40960 */
5878
7547
  'storageSize': number;
5879
7548
  };
5880
7549
  /** The object to attach this volume to. */
@@ -5909,9 +7578,16 @@ declare type CreateVolumeData = {
5909
7578
  /** Specify the path into which the volume should be mounted Example: "/container" */
5910
7579
  'containerMountPath': string;
5911
7580
  }[];
5912
- /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
7581
+ /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account. */
5913
7582
  'spec': {
5914
- 'storageClassName'?: 'ssd' | 'hdd';
7583
+ /** The type of the storage. Example: "ssd" */
7584
+ 'storageClassName'?: 'ssd';
7585
+ /** Storage size of the SSD. Example: 4096 */
7586
+ 'storageSize': number;
7587
+ } | {
7588
+ /** The type of the storage. Example: "hdd" */
7589
+ 'storageClassName': 'hdd';
7590
+ /** Storage size of the HDD. Example: 40960 */
5915
7591
  'storageSize': number;
5916
7592
  };
5917
7593
  /** The object to attach this volume to. */
@@ -5926,6 +7602,7 @@ declare type CreateVolumeData = {
5926
7602
  declare class CreateVolumeEndpoint extends PostApiEndpoint<CreateVolumeRequest, CreateVolumeResult> {
5927
7603
  description: string;
5928
7604
  withAuth: boolean;
7605
+ requiredPermissions: string;
5929
7606
  endpointUrl: (opts: CreateVolumeRequest) => string;
5930
7607
  body: (payload: CreateVolumeRequest) => string;
5931
7608
  }
@@ -5935,9 +7612,16 @@ declare type GetVolumeResult = {
5935
7612
  'id': string;
5936
7613
  /** Volume name Example: "Example Volume" */
5937
7614
  'name': string;
5938
- /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account, */
7615
+ /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account. */
5939
7616
  'spec': {
5940
- 'storageClassName'?: 'ssd' | 'hdd';
7617
+ /** The type of the storage. Example: "ssd" */
7618
+ 'storageClassName'?: 'ssd';
7619
+ /** Storage size of the SSD. Example: 4096 */
7620
+ 'storageSize': number;
7621
+ } | {
7622
+ /** The type of the storage. Example: "hdd" */
7623
+ 'storageClassName': 'hdd';
7624
+ /** Storage size of the HDD. Example: 40960 */
5941
7625
  'storageSize': number;
5942
7626
  };
5943
7627
  /** The object to attach this volume to. */
@@ -5967,6 +7651,7 @@ declare type GetVolumeParameters = {
5967
7651
  declare class GetVolumeEndpoint extends GetApiEndpoint<GetVolumeRequest, GetVolumeResult> {
5968
7652
  description: string;
5969
7653
  withAuth: boolean;
7654
+ requiredPermissions: string;
5970
7655
  endpointUrl: (opts: GetVolumeRequest) => string;
5971
7656
  body: () => undefined;
5972
7657
  }
@@ -5999,6 +7684,7 @@ declare type UpdateVolumeData = {
5999
7684
  declare class UpdateVolumeEndpoint extends PostApiEndpoint<UpdateVolumeRequest, UpdateVolumeResult> {
6000
7685
  description: string;
6001
7686
  withAuth: boolean;
7687
+ requiredPermissions: string;
6002
7688
  endpointUrl: (opts: UpdateVolumeRequest) => string;
6003
7689
  body: (payload: UpdateVolumeRequest) => string;
6004
7690
  }
@@ -6017,6 +7703,7 @@ declare type DeleteVolumeParameters = {
6017
7703
  declare class DeleteVolumeEndpoint extends DeleteApiEndpoint<DeleteVolumeRequest, DeleteVolumeResult> {
6018
7704
  description: string;
6019
7705
  withAuth: boolean;
7706
+ requiredPermissions: string;
6020
7707
  endpointUrl: (opts: DeleteVolumeRequest) => string;
6021
7708
  body: () => undefined;
6022
7709
  }
@@ -6045,6 +7732,7 @@ declare type AttachVolumeData = {
6045
7732
  declare class AttachVolumeEndpoint extends PostApiEndpoint<AttachVolumeRequest, AttachVolumeResult> {
6046
7733
  description: string;
6047
7734
  withAuth: boolean;
7735
+ requiredPermissions: string;
6048
7736
  endpointUrl: (opts: AttachVolumeRequest) => string;
6049
7737
  body: (payload: AttachVolumeRequest) => string;
6050
7738
  }
@@ -6065,6 +7753,7 @@ declare type DetachVolumeData = any;
6065
7753
  declare class DetachVolumeEndpoint extends PostApiEndpoint<DetachVolumeRequest, DetachVolumeResult> {
6066
7754
  description: string;
6067
7755
  withAuth: boolean;
7756
+ requiredPermissions: string;
6068
7757
  endpointUrl: (opts: DetachVolumeRequest) => string;
6069
7758
  body: (payload: DetachVolumeRequest) => string;
6070
7759
  }
@@ -6093,6 +7782,7 @@ declare type GetServiceBuildargumentsOptions = {
6093
7782
  declare class GetServiceBuildargumentsEndpoint extends GetApiEndpoint<GetServiceBuildargumentsRequest, GetServiceBuildargumentsResult> {
6094
7783
  description: string;
6095
7784
  withAuth: boolean;
7785
+ requiredPermissions: string;
6096
7786
  endpointUrl: (opts: GetServiceBuildargumentsRequest) => string;
6097
7787
  body: () => undefined;
6098
7788
  }
@@ -6121,6 +7811,7 @@ declare type UpdateServiceBuildargumentsData = {
6121
7811
  declare class UpdateServiceBuildargumentsEndpoint extends PostApiEndpoint<UpdateServiceBuildargumentsRequest, UpdateServiceBuildargumentsResult> {
6122
7812
  description: string;
6123
7813
  withAuth: boolean;
7814
+ requiredPermissions: string;
6124
7815
  endpointUrl: (opts: UpdateServiceBuildargumentsRequest) => string;
6125
7816
  body: (payload: UpdateServiceBuildargumentsRequest) => string;
6126
7817
  }
@@ -6191,6 +7882,7 @@ declare type GetServiceBuildargumentdetailsParameters = {
6191
7882
  declare class GetServiceBuildargumentdetailsEndpoint extends GetApiEndpoint<GetServiceBuildargumentdetailsRequest, GetServiceBuildargumentdetailsResult> {
6192
7883
  description: string;
6193
7884
  withAuth: boolean;
7885
+ requiredPermissions: string;
6194
7886
  endpointUrl: (opts: GetServiceBuildargumentdetailsRequest) => string;
6195
7887
  body: () => undefined;
6196
7888
  }
@@ -6219,6 +7911,7 @@ declare type GetServiceRuntimeenvironmentOptions = {
6219
7911
  declare class GetServiceRuntimeenvironmentEndpoint extends GetApiEndpoint<GetServiceRuntimeenvironmentRequest, GetServiceRuntimeenvironmentResult> {
6220
7912
  description: string;
6221
7913
  withAuth: boolean;
7914
+ requiredPermissions: string;
6222
7915
  endpointUrl: (opts: GetServiceRuntimeenvironmentRequest) => string;
6223
7916
  body: () => undefined;
6224
7917
  }
@@ -6252,6 +7945,7 @@ declare type UpdateServiceRuntimeenvironmentData = {
6252
7945
  declare class UpdateServiceRuntimeenvironmentEndpoint extends PostApiEndpoint<UpdateServiceRuntimeenvironmentRequest, UpdateServiceRuntimeenvironmentResult> {
6253
7946
  description: string;
6254
7947
  withAuth: boolean;
7948
+ requiredPermissions: string;
6255
7949
  endpointUrl: (opts: UpdateServiceRuntimeenvironmentRequest) => string;
6256
7950
  body: (payload: UpdateServiceRuntimeenvironmentRequest) => string;
6257
7951
  }
@@ -6322,6 +8016,7 @@ declare type GetServiceRuntimeenvironmentdetailsParameters = {
6322
8016
  declare class GetServiceRuntimeenvironmentdetailsEndpoint extends GetApiEndpoint<GetServiceRuntimeenvironmentdetailsRequest, GetServiceRuntimeenvironmentdetailsResult> {
6323
8017
  description: string;
6324
8018
  withAuth: boolean;
8019
+ requiredPermissions: string;
6325
8020
  endpointUrl: (opts: GetServiceRuntimeenvironmentdetailsRequest) => string;
6326
8021
  body: () => undefined;
6327
8022
  }
@@ -6335,21 +8030,31 @@ declare class ApiClient {
6335
8030
  list: {
6336
8031
  projects: ListProjectsCall;
6337
8032
  addons: ListAddonsCall;
8033
+ invoices: ListInvoicesCall;
8034
+ providers: ListProvidersCall;
8035
+ integrations: ListIntegrationsCall;
8036
+ clusters: ListClustersCall;
6338
8037
  jobs: ListJobsCall;
6339
- registryCredentials: ListRegistrycredentialsCall;
8038
+ registries: ListRegistriesCall;
6340
8039
  domains: ListDomainsCall;
6341
8040
  plans: ListPlansCall;
6342
8041
  regions: ListRegionsCall;
6343
8042
  vcs: ListVcsCall;
6344
8043
  secrets: ListSecretsCall;
6345
8044
  services: ListServicesCall;
8045
+ templates: ListTemplatesCall;
8046
+ templateRuns: ListTemplaterunsCall;
6346
8047
  repos: ListReposCall;
6347
8048
  branches: ListBranchesCall;
6348
8049
  volumes: ListVolumesCall;
6349
8050
  };
6350
8051
  create: {
6351
8052
  project: CreateProjectCall;
6352
- addon: CreateAddonCall;
8053
+ addon: CreateAddonCall & {
8054
+ backupSchedule: CreateAddonBackupscheduleCall;
8055
+ };
8056
+ integration: CreateIntegrationCall;
8057
+ cluster: CreateClusterCall;
6353
8058
  job: {
6354
8059
  manual: CreateJobManualCall;
6355
8060
  cron: CreateJobCronCall;
@@ -6361,6 +8066,7 @@ declare class ApiClient {
6361
8066
  deployment: CreateServiceDeploymentCall;
6362
8067
  build: CreateServiceBuildCall;
6363
8068
  };
8069
+ template: CreateTemplateCall;
6364
8070
  volume: CreateVolumeCall;
6365
8071
  };
6366
8072
  get: {
@@ -6374,7 +8080,13 @@ declare class ApiClient {
6374
8080
  download: GetAddonBackupDownloadCall;
6375
8081
  };
6376
8082
  containers: GetAddonContainersCall;
8083
+ backupSchedules: GetAddonBackupschedulesCall;
8084
+ };
8085
+ invoice: {
8086
+ details: GetInvoiceDetailsCall;
6377
8087
  };
8088
+ integration: GetIntegrationCall;
8089
+ cluster: GetClusterCall;
6378
8090
  job: GetJobCall & {
6379
8091
  runs: GetJobRunsCall;
6380
8092
  run: GetJobRunCall;
@@ -6390,7 +8102,7 @@ declare class ApiClient {
6390
8102
  branches: GetJobBranchesCall;
6391
8103
  pullRequests: GetJobPullrequestsCall;
6392
8104
  };
6393
- registryCredentials: GetRegistrycredentialsCall;
8105
+ registry: GetRegistryCall;
6394
8106
  domain: GetDomainCall;
6395
8107
  subdomain: GetSubdomainCall;
6396
8108
  dnsId: GetDnsidCall;
@@ -6411,19 +8123,26 @@ declare class ApiClient {
6411
8123
  runtimeEnvironment: GetServiceRuntimeenvironmentCall;
6412
8124
  runtimeEnvironmentDetails: GetServiceRuntimeenvironmentdetailsCall;
6413
8125
  };
8126
+ template: GetTemplateCall;
8127
+ templateRun: GetTemplaterunCall;
6414
8128
  volume: GetVolumeCall;
6415
8129
  };
6416
8130
  delete: {
6417
8131
  project: DeleteProjectCall;
6418
- addon: DeleteAddonCall;
8132
+ addon: DeleteAddonCall & {
8133
+ backupSchedule: DeleteAddonBackupscheduleCall;
8134
+ };
6419
8135
  backup: DeleteBackupCall;
8136
+ integration: DeleteIntegrationCall;
8137
+ cluster: DeleteClusterCall;
6420
8138
  job: DeleteJobCall;
6421
- registryCredentials: DeleteRegistrycredentialsCall;
8139
+ registry: DeleteRegistryCall;
6422
8140
  domain: DeleteDomainCall;
6423
8141
  subdomain: DeleteSubdomainCall;
6424
8142
  secret: DeleteSecretCall;
6425
8143
  secretLink: DeleteSecretlinkCall;
6426
8144
  service: DeleteServiceCall;
8145
+ template: DeleteTemplateCall;
6427
8146
  volume: DeleteVolumeCall;
6428
8147
  };
6429
8148
  scale: {
@@ -6437,6 +8156,8 @@ declare class ApiClient {
6437
8156
  networkSettings: UpdateAddonNetworksettingsCall;
6438
8157
  security: UpdateAddonSecurityCall;
6439
8158
  };
8159
+ integration: UpdateIntegrationCall;
8160
+ cluster: UpdateClusterCall;
6440
8161
  job: {
6441
8162
  settings: UpdateJobSettingsCall;
6442
8163
  healthChecks: UpdateJobHealthchecksCall;
@@ -6448,7 +8169,7 @@ declare class ApiClient {
6448
8169
  runtimeEnvironment: UpdateJobRuntimeenvironmentCall;
6449
8170
  deployment: UpdateJobDeploymentCall;
6450
8171
  };
6451
- registryCredentials: UpdateRegistrycredentialsCall;
8172
+ registry: UpdateRegistryCall;
6452
8173
  secret: UpdateSecretCall;
6453
8174
  secretLink: UpdateSecretlinkCall;
6454
8175
  service: {
@@ -6462,6 +8183,7 @@ declare class ApiClient {
6462
8183
  buildArguments: UpdateServiceBuildargumentsCall;
6463
8184
  runtimeEnvironment: UpdateServiceRuntimeenvironmentCall;
6464
8185
  };
8186
+ template: UpdateTemplateCall;
6465
8187
  volume: UpdateVolumeCall;
6466
8188
  };
6467
8189
  backup: {
@@ -6479,10 +8201,12 @@ declare class ApiClient {
6479
8201
  };
6480
8202
  pause: {
6481
8203
  addon: PauseAddonCall;
8204
+ job: PauseJobCall;
6482
8205
  service: PauseServiceCall;
6483
8206
  };
6484
8207
  resume: {
6485
8208
  addon: ResumeAddonCall;
8209
+ job: ResumeJobCall;
6486
8210
  service: ResumeServiceCall;
6487
8211
  };
6488
8212
  restart: {
@@ -6502,6 +8226,14 @@ declare class ApiClient {
6502
8226
  build: AbortServiceBuildCall;
6503
8227
  };
6504
8228
  };
8229
+ retain: {
8230
+ addon: {
8231
+ backup: RetainAddonBackupCall;
8232
+ };
8233
+ };
8234
+ suspend: {
8235
+ job: SuspendJobCall;
8236
+ };
6505
8237
  start: {
6506
8238
  job: {
6507
8239
  run: StartJobRunCall;
@@ -6512,7 +8244,7 @@ declare class ApiClient {
6512
8244
  };
6513
8245
  };
6514
8246
  add: {
6515
- registryCredentials: AddRegistrycredentialsCall;
8247
+ registry: AddRegistryCall;
6516
8248
  domain: {
6517
8249
  subdomain: AddDomainSubdomainCall;
6518
8250
  };
@@ -6529,6 +8261,9 @@ declare class ApiClient {
6529
8261
  unassign: {
6530
8262
  subdomain: UnassignSubdomainCall;
6531
8263
  };
8264
+ run: {
8265
+ template: RunTemplateCall;
8266
+ };
6532
8267
  attach: {
6533
8268
  volume: AttachVolumeCall;
6534
8269
  };
@@ -6539,21 +8274,31 @@ declare class ApiClient {
6539
8274
  list: {
6540
8275
  projects: ListProjectsEndpoint;
6541
8276
  addons: ListAddonsEndpoint;
8277
+ invoices: ListInvoicesEndpoint;
8278
+ providers: ListProvidersEndpoint;
8279
+ integrations: ListIntegrationsEndpoint;
8280
+ clusters: ListClustersEndpoint;
6542
8281
  jobs: ListJobsEndpoint;
6543
- registryCredentials: ListRegistrycredentialsEndpoint;
8282
+ registries: ListRegistriesEndpoint;
6544
8283
  domains: ListDomainsEndpoint;
6545
8284
  plans: ListPlansEndpoint;
6546
8285
  regions: ListRegionsEndpoint;
6547
8286
  vcs: ListVcsEndpoint;
6548
8287
  secrets: ListSecretsEndpoint;
6549
8288
  services: ListServicesEndpoint;
8289
+ templates: ListTemplatesEndpoint;
8290
+ templateRuns: ListTemplaterunsEndpoint;
6550
8291
  repos: ListReposEndpoint;
6551
8292
  branches: ListBranchesEndpoint;
6552
8293
  volumes: ListVolumesEndpoint;
6553
8294
  };
6554
8295
  create: {
6555
8296
  project: CreateProjectEndpoint;
6556
- addon: CreateAddonEndpoint;
8297
+ addon: CreateAddonEndpoint & {
8298
+ backupSchedule: CreateAddonBackupscheduleEndpoint;
8299
+ };
8300
+ integration: CreateIntegrationEndpoint;
8301
+ cluster: CreateClusterEndpoint;
6557
8302
  job: {
6558
8303
  manual: CreateJobManualEndpoint;
6559
8304
  cron: CreateJobCronEndpoint;
@@ -6565,6 +8310,7 @@ declare class ApiClient {
6565
8310
  deployment: CreateServiceDeploymentEndpoint;
6566
8311
  build: CreateServiceBuildEndpoint;
6567
8312
  };
8313
+ template: CreateTemplateEndpoint;
6568
8314
  volume: CreateVolumeEndpoint;
6569
8315
  };
6570
8316
  get: {
@@ -6578,7 +8324,13 @@ declare class ApiClient {
6578
8324
  download: GetAddonBackupDownloadEndpoint;
6579
8325
  };
6580
8326
  containers: GetAddonContainersEndpoint;
8327
+ backupSchedules: GetAddonBackupschedulesEndpoint;
8328
+ };
8329
+ invoice: {
8330
+ details: GetInvoiceDetailsEndpoint;
6581
8331
  };
8332
+ integration: GetIntegrationEndpoint;
8333
+ cluster: GetClusterEndpoint;
6582
8334
  job: GetJobEndpoint & {
6583
8335
  runs: GetJobRunsEndpoint;
6584
8336
  run: GetJobRunEndpoint;
@@ -6594,7 +8346,7 @@ declare class ApiClient {
6594
8346
  branches: GetJobBranchesEndpoint;
6595
8347
  pullRequests: GetJobPullrequestsEndpoint;
6596
8348
  };
6597
- registryCredentials: GetRegistrycredentialsEndpoint;
8349
+ registry: GetRegistryEndpoint;
6598
8350
  domain: GetDomainEndpoint;
6599
8351
  subdomain: GetSubdomainEndpoint;
6600
8352
  dnsId: GetDnsidEndpoint;
@@ -6615,19 +8367,26 @@ declare class ApiClient {
6615
8367
  runtimeEnvironment: GetServiceRuntimeenvironmentEndpoint;
6616
8368
  runtimeEnvironmentDetails: GetServiceRuntimeenvironmentdetailsEndpoint;
6617
8369
  };
8370
+ template: GetTemplateEndpoint;
8371
+ templateRun: GetTemplaterunEndpoint;
6618
8372
  volume: GetVolumeEndpoint;
6619
8373
  };
6620
8374
  delete: {
6621
8375
  project: DeleteProjectEndpoint;
6622
- addon: DeleteAddonEndpoint;
8376
+ addon: DeleteAddonEndpoint & {
8377
+ backupSchedule: DeleteAddonBackupscheduleEndpoint;
8378
+ };
6623
8379
  backup: DeleteBackupEndpoint;
8380
+ integration: DeleteIntegrationEndpoint;
8381
+ cluster: DeleteClusterEndpoint;
6624
8382
  job: DeleteJobEndpoint;
6625
- registryCredentials: DeleteRegistrycredentialsEndpoint;
8383
+ registry: DeleteRegistryEndpoint;
6626
8384
  domain: DeleteDomainEndpoint;
6627
8385
  subdomain: DeleteSubdomainEndpoint;
6628
8386
  secret: DeleteSecretEndpoint;
6629
8387
  secretLink: DeleteSecretlinkEndpoint;
6630
8388
  service: DeleteServiceEndpoint;
8389
+ template: DeleteTemplateEndpoint;
6631
8390
  volume: DeleteVolumeEndpoint;
6632
8391
  };
6633
8392
  scale: {
@@ -6641,6 +8400,8 @@ declare class ApiClient {
6641
8400
  networkSettings: UpdateAddonNetworksettingsEndpoint;
6642
8401
  security: UpdateAddonSecurityEndpoint;
6643
8402
  };
8403
+ integration: UpdateIntegrationEndpoint;
8404
+ cluster: UpdateClusterEndpoint;
6644
8405
  job: {
6645
8406
  settings: UpdateJobSettingsEndpoint;
6646
8407
  healthChecks: UpdateJobHealthchecksEndpoint;
@@ -6652,7 +8413,7 @@ declare class ApiClient {
6652
8413
  runtimeEnvironment: UpdateJobRuntimeenvironmentEndpoint;
6653
8414
  deployment: UpdateJobDeploymentEndpoint;
6654
8415
  };
6655
- registryCredentials: UpdateRegistrycredentialsEndpoint;
8416
+ registry: UpdateRegistryEndpoint;
6656
8417
  secret: UpdateSecretEndpoint;
6657
8418
  secretLink: UpdateSecretlinkEndpoint;
6658
8419
  service: {
@@ -6666,6 +8427,7 @@ declare class ApiClient {
6666
8427
  buildArguments: UpdateServiceBuildargumentsEndpoint;
6667
8428
  runtimeEnvironment: UpdateServiceRuntimeenvironmentEndpoint;
6668
8429
  };
8430
+ template: UpdateTemplateEndpoint;
6669
8431
  volume: UpdateVolumeEndpoint;
6670
8432
  };
6671
8433
  backup: {
@@ -6683,10 +8445,12 @@ declare class ApiClient {
6683
8445
  };
6684
8446
  pause: {
6685
8447
  addon: PauseAddonEndpoint;
8448
+ job: PauseJobEndpoint;
6686
8449
  service: PauseServiceEndpoint;
6687
8450
  };
6688
8451
  resume: {
6689
8452
  addon: ResumeAddonEndpoint;
8453
+ job: ResumeJobEndpoint;
6690
8454
  service: ResumeServiceEndpoint;
6691
8455
  };
6692
8456
  restart: {
@@ -6706,6 +8470,14 @@ declare class ApiClient {
6706
8470
  build: AbortServiceBuildEndpoint;
6707
8471
  };
6708
8472
  };
8473
+ retain: {
8474
+ addon: {
8475
+ backup: RetainAddonBackupEndpoint;
8476
+ };
8477
+ };
8478
+ suspend: {
8479
+ job: SuspendJobEndpoint;
8480
+ };
6709
8481
  start: {
6710
8482
  job: {
6711
8483
  run: StartJobRunEndpoint;
@@ -6716,7 +8488,7 @@ declare class ApiClient {
6716
8488
  };
6717
8489
  };
6718
8490
  add: {
6719
- registryCredentials: AddRegistrycredentialsEndpoint;
8491
+ registry: AddRegistryEndpoint;
6720
8492
  domain: {
6721
8493
  subdomain: AddDomainSubdomainEndpoint;
6722
8494
  };
@@ -6733,6 +8505,9 @@ declare class ApiClient {
6733
8505
  unassign: {
6734
8506
  subdomain: UnassignSubdomainEndpoint;
6735
8507
  };
8508
+ run: {
8509
+ template: RunTemplateEndpoint;
8510
+ };
6736
8511
  attach: {
6737
8512
  volume: AttachVolumeEndpoint;
6738
8513
  };
@@ -6748,4 +8523,4 @@ declare type ApiClientOpts = {
6748
8523
  customUserAgent?: string;
6749
8524
  };
6750
8525
 
6751
- export { AbortAddonBackupCall, AbortAddonBackupEndpoint, AbortAddonBackupParameters, AbortAddonBackupRequest, AbortAddonBackupResult, AbortAddonRestoreCall, AbortAddonRestoreData, AbortAddonRestoreEndpoint, AbortAddonRestoreParameters, AbortAddonRestoreRequest, AbortAddonRestoreResult, AbortJobBuildCall, AbortJobBuildEndpoint, AbortJobBuildParameters, AbortJobBuildRequest, AbortJobBuildResult, AbortJobRunCall, AbortJobRunEndpoint, AbortJobRunParameters, AbortJobRunRequest, AbortJobRunResult, AbortServiceBuildCall, AbortServiceBuildEndpoint, AbortServiceBuildParameters, AbortServiceBuildRequest, AbortServiceBuildResult, AddDomainSubdomainCall, AddDomainSubdomainData, AddDomainSubdomainEndpoint, AddDomainSubdomainParameters, AddDomainSubdomainRequest, AddDomainSubdomainResult, AddRegistrycredentialsCall, AddRegistrycredentialsData, AddRegistrycredentialsEndpoint, AddRegistrycredentialsRequest, AddRegistrycredentialsResult, ApiCallError, ApiCallResponse, ApiClient, ApiClientContext, ApiClientContextProvider, ApiClientContextWrapper, ApiClientFileContextProvider, ApiClientInMemoryContextProvider, ApiClientOpts, ApiEndpoint, AssignSubdomainServiceCall, AssignSubdomainServiceData, AssignSubdomainServiceEndpoint, AssignSubdomainServiceParameters, AssignSubdomainServiceRequest, AssignSubdomainServiceResult, AttachVolumeCall, AttachVolumeData, AttachVolumeEndpoint, AttachVolumeParameters, AttachVolumeRequest, AttachVolumeResult, BackupAddonCall, BackupAddonData, BackupAddonEndpoint, BackupAddonParameters, BackupAddonRequest, BackupAddonResult, CommandResult, CreateAddonCall, CreateAddonData, CreateAddonEndpoint, CreateAddonParameters, CreateAddonRequest, CreateAddonResult, CreateDomainCall, CreateDomainData, CreateDomainEndpoint, CreateDomainRequest, CreateDomainResult, CreateJobCronCall, CreateJobCronData, CreateJobCronEndpoint, CreateJobCronParameters, CreateJobCronRequest, CreateJobCronResult, CreateJobManualCall, CreateJobManualData, CreateJobManualEndpoint, CreateJobManualParameters, CreateJobManualRequest, CreateJobManualResult, CreateProjectCall, CreateProjectData, CreateProjectEndpoint, CreateProjectRequest, CreateProjectResult, CreateSecretCall, CreateSecretData, CreateSecretEndpoint, CreateSecretParameters, CreateSecretRequest, CreateSecretResult, CreateServiceBuildCall, CreateServiceBuildData, CreateServiceBuildEndpoint, CreateServiceBuildParameters, CreateServiceBuildRequest, CreateServiceBuildResult, CreateServiceCombinedCall, CreateServiceCombinedData, CreateServiceCombinedEndpoint, CreateServiceCombinedParameters, CreateServiceCombinedRequest, CreateServiceCombinedResult, CreateServiceDeploymentCall, CreateServiceDeploymentData, CreateServiceDeploymentEndpoint, CreateServiceDeploymentParameters, CreateServiceDeploymentRequest, CreateServiceDeploymentResult, CreateVolumeCall, CreateVolumeData, CreateVolumeEndpoint, CreateVolumeParameters, CreateVolumeRequest, CreateVolumeResult, DeleteAddonCall, DeleteAddonEndpoint, DeleteAddonParameters, DeleteAddonRequest, DeleteAddonResult, DeleteApiEndpoint, DeleteBackupCall, DeleteBackupEndpoint, DeleteBackupParameters, DeleteBackupRequest, DeleteBackupResult, DeleteDomainCall, DeleteDomainEndpoint, DeleteDomainParameters, DeleteDomainRequest, DeleteDomainResult, DeleteJobCall, DeleteJobEndpoint, DeleteJobParameters, DeleteJobRequest, DeleteJobResult, DeleteProjectCall, DeleteProjectEndpoint, DeleteProjectParameters, DeleteProjectRequest, DeleteProjectResult, DeleteRegistrycredentialsCall, DeleteRegistrycredentialsEndpoint, DeleteRegistrycredentialsParameters, DeleteRegistrycredentialsRequest, DeleteRegistrycredentialsResult, DeleteSecretCall, DeleteSecretEndpoint, DeleteSecretParameters, DeleteSecretRequest, DeleteSecretResult, DeleteSecretlinkCall, DeleteSecretlinkEndpoint, DeleteSecretlinkParameters, DeleteSecretlinkRequest, DeleteSecretlinkResult, DeleteServiceCall, DeleteServiceEndpoint, DeleteServiceParameters, DeleteServiceRequest, DeleteServiceResult, DeleteSubdomainCall, DeleteSubdomainEndpoint, DeleteSubdomainParameters, DeleteSubdomainRequest, DeleteSubdomainResult, DeleteVolumeCall, DeleteVolumeEndpoint, DeleteVolumeParameters, DeleteVolumeRequest, DeleteVolumeResult, DetachVolumeCall, DetachVolumeData, DetachVolumeEndpoint, DetachVolumeParameters, DetachVolumeRequest, DetachVolumeResult, ExecCommand, ExecCommandData, ExecCommandStandard, ExecSessionData, GetAddonBackupCall, GetAddonBackupDownloadCall, GetAddonBackupDownloadEndpoint, GetAddonBackupDownloadParameters, GetAddonBackupDownloadRequest, GetAddonBackupDownloadResult, GetAddonBackupEndpoint, GetAddonBackupParameters, GetAddonBackupRequest, GetAddonBackupResult, GetAddonBackupsCall, GetAddonBackupsEndpoint, GetAddonBackupsOptions, GetAddonBackupsParameters, GetAddonBackupsRequest, GetAddonBackupsResult, GetAddonCall, GetAddonContainersCall, GetAddonContainersEndpoint, GetAddonContainersOptions, GetAddonContainersParameters, GetAddonContainersRequest, GetAddonContainersResult, GetAddonCredentialsCall, GetAddonCredentialsEndpoint, GetAddonCredentialsParameters, GetAddonCredentialsRequest, GetAddonCredentialsResult, GetAddonEndpoint, GetAddonParameters, GetAddonRequest, GetAddonResult, GetAddonTypesCall, GetAddonTypesEndpoint, GetAddonTypesRequest, GetAddonTypesResult, GetAddonVersionCall, GetAddonVersionEndpoint, GetAddonVersionParameters, GetAddonVersionRequest, GetAddonVersionResult, GetApiEndpoint, GetDnsidCall, GetDnsidEndpoint, GetDnsidRequest, GetDnsidResult, GetDomainCall, GetDomainEndpoint, GetDomainParameters, GetDomainRequest, GetDomainResult, GetJobBranchesCall, GetJobBranchesEndpoint, GetJobBranchesOptions, GetJobBranchesParameters, GetJobBranchesRequest, GetJobBranchesResult, GetJobBuildCall, GetJobBuildEndpoint, GetJobBuildParameters, GetJobBuildRequest, GetJobBuildResult, GetJobBuildargumentdetailsCall, GetJobBuildargumentdetailsEndpoint, GetJobBuildargumentdetailsParameters, GetJobBuildargumentdetailsRequest, GetJobBuildargumentdetailsResult, GetJobBuildargumentsCall, GetJobBuildargumentsEndpoint, GetJobBuildargumentsOptions, GetJobBuildargumentsParameters, GetJobBuildargumentsRequest, GetJobBuildargumentsResult, GetJobBuildsCall, GetJobBuildsEndpoint, GetJobBuildsOptions, GetJobBuildsParameters, GetJobBuildsRequest, GetJobBuildsResult, GetJobCall, GetJobContainersCall, GetJobContainersEndpoint, GetJobContainersOptions, GetJobContainersParameters, GetJobContainersRequest, GetJobContainersResult, GetJobDeploymentCall, GetJobDeploymentEndpoint, GetJobDeploymentParameters, GetJobDeploymentRequest, GetJobDeploymentResult, GetJobEndpoint, GetJobHealthchecksCall, GetJobHealthchecksEndpoint, GetJobHealthchecksParameters, GetJobHealthchecksRequest, GetJobHealthchecksResult, GetJobParameters, GetJobPullrequestsCall, GetJobPullrequestsEndpoint, GetJobPullrequestsOptions, GetJobPullrequestsParameters, GetJobPullrequestsRequest, GetJobPullrequestsResult, GetJobRequest, GetJobResult, GetJobRunCall, GetJobRunEndpoint, GetJobRunParameters, GetJobRunRequest, GetJobRunResult, GetJobRunsCall, GetJobRunsEndpoint, GetJobRunsOptions, GetJobRunsParameters, GetJobRunsRequest, GetJobRunsResult, GetJobRuntimeenvironmentCall, GetJobRuntimeenvironmentEndpoint, GetJobRuntimeenvironmentOptions, GetJobRuntimeenvironmentParameters, GetJobRuntimeenvironmentRequest, GetJobRuntimeenvironmentResult, GetJobRuntimeenvironmentdetailsCall, GetJobRuntimeenvironmentdetailsEndpoint, GetJobRuntimeenvironmentdetailsParameters, GetJobRuntimeenvironmentdetailsRequest, GetJobRuntimeenvironmentdetailsResult, GetProjectCall, GetProjectEndpoint, GetProjectParameters, GetProjectRequest, GetProjectResult, GetRegistrycredentialsCall, GetRegistrycredentialsEndpoint, GetRegistrycredentialsParameters, GetRegistrycredentialsRequest, GetRegistrycredentialsResult, GetSecretCall, GetSecretEndpoint, GetSecretOptions, GetSecretParameters, GetSecretRequest, GetSecretResult, GetSecretdetailsCall, GetSecretdetailsEndpoint, GetSecretdetailsParameters, GetSecretdetailsRequest, GetSecretdetailsResult, GetSecretlinkCall, GetSecretlinkEndpoint, GetSecretlinkParameters, GetSecretlinkRequest, GetSecretlinkResult, GetServiceBranchesCall, GetServiceBranchesEndpoint, GetServiceBranchesOptions, GetServiceBranchesParameters, GetServiceBranchesRequest, GetServiceBranchesResult, GetServiceBuildCall, GetServiceBuildEndpoint, GetServiceBuildParameters, GetServiceBuildRequest, GetServiceBuildResult, GetServiceBuildargumentdetailsCall, GetServiceBuildargumentdetailsEndpoint, GetServiceBuildargumentdetailsParameters, GetServiceBuildargumentdetailsRequest, GetServiceBuildargumentdetailsResult, GetServiceBuildargumentsCall, GetServiceBuildargumentsEndpoint, GetServiceBuildargumentsOptions, GetServiceBuildargumentsParameters, GetServiceBuildargumentsRequest, GetServiceBuildargumentsResult, GetServiceBuildsCall, GetServiceBuildsEndpoint, GetServiceBuildsOptions, GetServiceBuildsParameters, GetServiceBuildsRequest, GetServiceBuildsResult, GetServiceCall, GetServiceContainersCall, GetServiceContainersEndpoint, GetServiceContainersOptions, GetServiceContainersParameters, GetServiceContainersRequest, GetServiceContainersResult, GetServiceDeploymentCall, GetServiceDeploymentEndpoint, GetServiceDeploymentParameters, GetServiceDeploymentRequest, GetServiceDeploymentResult, GetServiceEndpoint, GetServiceHealthchecksCall, GetServiceHealthchecksEndpoint, GetServiceHealthchecksParameters, GetServiceHealthchecksRequest, GetServiceHealthchecksResult, GetServiceParameters, GetServicePortsCall, GetServicePortsEndpoint, GetServicePortsParameters, GetServicePortsRequest, GetServicePortsResult, GetServicePullrequestsCall, GetServicePullrequestsEndpoint, GetServicePullrequestsOptions, GetServicePullrequestsParameters, GetServicePullrequestsRequest, GetServicePullrequestsResult, GetServiceRequest, GetServiceResult, GetServiceRuntimeenvironmentCall, GetServiceRuntimeenvironmentEndpoint, GetServiceRuntimeenvironmentOptions, GetServiceRuntimeenvironmentParameters, GetServiceRuntimeenvironmentRequest, GetServiceRuntimeenvironmentResult, GetServiceRuntimeenvironmentdetailsCall, GetServiceRuntimeenvironmentdetailsEndpoint, GetServiceRuntimeenvironmentdetailsParameters, GetServiceRuntimeenvironmentdetailsRequest, GetServiceRuntimeenvironmentdetailsResult, GetSubdomainCall, GetSubdomainEndpoint, GetSubdomainParameters, GetSubdomainRequest, GetSubdomainResult, GetVolumeCall, GetVolumeEndpoint, GetVolumeParameters, GetVolumeRequest, GetVolumeResult, ImportAddonBackupCall, ImportAddonBackupData, ImportAddonBackupEndpoint, ImportAddonBackupParameters, ImportAddonBackupRequest, ImportAddonBackupResult, ListAddonsCall, ListAddonsEndpoint, ListAddonsOptions, ListAddonsParameters, ListAddonsRequest, ListAddonsResult, ListBranchesCall, ListBranchesEndpoint, ListBranchesOptions, ListBranchesParameters, ListBranchesRequest, ListBranchesResult, ListDomainsCall, ListDomainsEndpoint, ListDomainsOptions, ListDomainsRequest, ListDomainsResult, ListJobsCall, ListJobsEndpoint, ListJobsOptions, ListJobsParameters, ListJobsRequest, ListJobsResult, ListPlansCall, ListPlansEndpoint, ListPlansRequest, ListPlansResult, ListProjectsCall, ListProjectsEndpoint, ListProjectsOptions, ListProjectsRequest, ListProjectsResult, ListRegionsCall, ListRegionsEndpoint, ListRegionsRequest, ListRegionsResult, ListRegistrycredentialsCall, ListRegistrycredentialsEndpoint, ListRegistrycredentialsOptions, ListRegistrycredentialsRequest, ListRegistrycredentialsResult, ListReposCall, ListReposEndpoint, ListReposOptions, ListReposRequest, ListReposResult, ListSecretsCall, ListSecretsEndpoint, ListSecretsOptions, ListSecretsParameters, ListSecretsRequest, ListSecretsResult, ListServicesCall, ListServicesEndpoint, ListServicesOptions, ListServicesParameters, ListServicesRequest, ListServicesResult, ListVcsCall, ListVcsEndpoint, ListVcsRequest, ListVcsResult, ListVolumesCall, ListVolumesEndpoint, ListVolumesParameters, ListVolumesRequest, ListVolumesResult, NorthflankExecCommand, NorthflankPortForwarder, PauseAddonCall, PauseAddonEndpoint, PauseAddonParameters, PauseAddonRequest, PauseAddonResult, PauseServiceCall, PauseServiceEndpoint, PauseServiceParameters, PauseServiceRequest, PauseServiceResult, PortForwardingInfo, PortForwardingResult, PostApiEndpoint, RestartAddonCall, RestartAddonEndpoint, RestartAddonParameters, RestartAddonRequest, RestartAddonResult, RestartServiceCall, RestartServiceEndpoint, RestartServiceParameters, RestartServiceRequest, RestartServiceResult, RestoreAddonBackupCall, RestoreAddonBackupEndpoint, RestoreAddonBackupParameters, RestoreAddonBackupRequest, RestoreAddonBackupResult, ResumeAddonCall, ResumeAddonEndpoint, ResumeAddonParameters, ResumeAddonRequest, ResumeAddonResult, ResumeServiceCall, ResumeServiceData, ResumeServiceEndpoint, ResumeServiceParameters, ResumeServiceRequest, ResumeServiceResult, ScaleAddonCall, ScaleAddonData, ScaleAddonEndpoint, ScaleAddonParameters, ScaleAddonRequest, ScaleAddonResult, ScaleJobCall, ScaleJobData, ScaleJobEndpoint, ScaleJobParameters, ScaleJobRequest, ScaleJobResult, ScaleServiceCall, ScaleServiceData, ScaleServiceEndpoint, ScaleServiceParameters, ScaleServiceRequest, ScaleServiceResult, StartJobBuildCall, StartJobBuildData, StartJobBuildEndpoint, StartJobBuildParameters, StartJobBuildRequest, StartJobBuildResult, StartJobRunCall, StartJobRunData, StartJobRunEndpoint, StartJobRunParameters, StartJobRunRequest, StartJobRunResult, StartServiceBuildCall, StartServiceBuildData, StartServiceBuildEndpoint, StartServiceBuildParameters, StartServiceBuildRequest, StartServiceBuildResult, UnassignSubdomainCall, UnassignSubdomainEndpoint, UnassignSubdomainParameters, UnassignSubdomainRequest, UnassignSubdomainResult, UpdateAddonNetworksettingsCall, UpdateAddonNetworksettingsData, UpdateAddonNetworksettingsEndpoint, UpdateAddonNetworksettingsParameters, UpdateAddonNetworksettingsRequest, UpdateAddonNetworksettingsResult, UpdateAddonSecurityCall, UpdateAddonSecurityData, UpdateAddonSecurityEndpoint, UpdateAddonSecurityParameters, UpdateAddonSecurityRequest, UpdateAddonSecurityResult, UpdateAddonVersionCall, UpdateAddonVersionData, UpdateAddonVersionEndpoint, UpdateAddonVersionParameters, UpdateAddonVersionRequest, UpdateAddonVersionResult, UpdateJobBuildargumentsCall, UpdateJobBuildargumentsData, UpdateJobBuildargumentsEndpoint, UpdateJobBuildargumentsParameters, UpdateJobBuildargumentsRequest, UpdateJobBuildargumentsResult, UpdateJobBuildoptionsCall, UpdateJobBuildoptionsData, UpdateJobBuildoptionsEndpoint, UpdateJobBuildoptionsParameters, UpdateJobBuildoptionsRequest, UpdateJobBuildoptionsResult, UpdateJobBuildsourceCall, UpdateJobBuildsourceData, UpdateJobBuildsourceEndpoint, UpdateJobBuildsourceParameters, UpdateJobBuildsourceRequest, UpdateJobBuildsourceResult, UpdateJobCmdoverrideCall, UpdateJobCmdoverrideData, UpdateJobCmdoverrideEndpoint, UpdateJobCmdoverrideParameters, UpdateJobCmdoverrideRequest, UpdateJobCmdoverrideResult, UpdateJobDeploymentCall, UpdateJobDeploymentData, UpdateJobDeploymentEndpoint, UpdateJobDeploymentParameters, UpdateJobDeploymentRequest, UpdateJobDeploymentResult, UpdateJobEntrypointoverrideCall, UpdateJobEntrypointoverrideData, UpdateJobEntrypointoverrideEndpoint, UpdateJobEntrypointoverrideParameters, UpdateJobEntrypointoverrideRequest, UpdateJobEntrypointoverrideResult, UpdateJobHealthchecksCall, UpdateJobHealthchecksData, UpdateJobHealthchecksEndpoint, UpdateJobHealthchecksParameters, UpdateJobHealthchecksRequest, UpdateJobHealthchecksResult, UpdateJobRuntimeenvironmentCall, UpdateJobRuntimeenvironmentData, UpdateJobRuntimeenvironmentEndpoint, UpdateJobRuntimeenvironmentParameters, UpdateJobRuntimeenvironmentRequest, UpdateJobRuntimeenvironmentResult, UpdateJobSettingsCall, UpdateJobSettingsData, UpdateJobSettingsEndpoint, UpdateJobSettingsParameters, UpdateJobSettingsRequest, UpdateJobSettingsResult, UpdateRegistrycredentialsCall, UpdateRegistrycredentialsData, UpdateRegistrycredentialsEndpoint, UpdateRegistrycredentialsParameters, UpdateRegistrycredentialsRequest, UpdateRegistrycredentialsResult, UpdateSecretCall, UpdateSecretData, UpdateSecretEndpoint, UpdateSecretParameters, UpdateSecretRequest, UpdateSecretResult, UpdateSecretlinkCall, UpdateSecretlinkData, UpdateSecretlinkEndpoint, UpdateSecretlinkParameters, UpdateSecretlinkRequest, UpdateSecretlinkResult, UpdateServiceBuildargumentsCall, UpdateServiceBuildargumentsData, UpdateServiceBuildargumentsEndpoint, UpdateServiceBuildargumentsParameters, UpdateServiceBuildargumentsRequest, UpdateServiceBuildargumentsResult, UpdateServiceBuildoptionsCall, UpdateServiceBuildoptionsData, UpdateServiceBuildoptionsEndpoint, UpdateServiceBuildoptionsParameters, UpdateServiceBuildoptionsRequest, UpdateServiceBuildoptionsResult, UpdateServiceBuildsourceCall, UpdateServiceBuildsourceData, UpdateServiceBuildsourceEndpoint, UpdateServiceBuildsourceParameters, UpdateServiceBuildsourceRequest, UpdateServiceBuildsourceResult, UpdateServiceCmdoverrideCall, UpdateServiceCmdoverrideData, UpdateServiceCmdoverrideEndpoint, UpdateServiceCmdoverrideParameters, UpdateServiceCmdoverrideRequest, UpdateServiceCmdoverrideResult, UpdateServiceDeploymentCall, UpdateServiceDeploymentData, UpdateServiceDeploymentEndpoint, UpdateServiceDeploymentParameters, UpdateServiceDeploymentRequest, UpdateServiceDeploymentResult, UpdateServiceEntrypointoverrideCall, UpdateServiceEntrypointoverrideData, UpdateServiceEntrypointoverrideEndpoint, UpdateServiceEntrypointoverrideParameters, UpdateServiceEntrypointoverrideRequest, UpdateServiceEntrypointoverrideResult, UpdateServiceHealthchecksCall, UpdateServiceHealthchecksData, UpdateServiceHealthchecksEndpoint, UpdateServiceHealthchecksParameters, UpdateServiceHealthchecksRequest, UpdateServiceHealthchecksResult, UpdateServicePortsCall, UpdateServicePortsData, UpdateServicePortsEndpoint, UpdateServicePortsParameters, UpdateServicePortsRequest, UpdateServicePortsResult, UpdateServiceRuntimeenvironmentCall, UpdateServiceRuntimeenvironmentData, UpdateServiceRuntimeenvironmentEndpoint, UpdateServiceRuntimeenvironmentParameters, UpdateServiceRuntimeenvironmentRequest, UpdateServiceRuntimeenvironmentResult, UpdateVolumeCall, UpdateVolumeData, UpdateVolumeEndpoint, UpdateVolumeParameters, UpdateVolumeRequest, UpdateVolumeResult, VerifyDomainCall, VerifyDomainEndpoint, VerifyDomainParameters, VerifyDomainRequest, VerifyDomainResult, VerifySubdomainCall, VerifySubdomainEndpoint, VerifySubdomainParameters, VerifySubdomainRequest, VerifySubdomainResult };
8526
+ export { AbortAddonBackupCall, AbortAddonBackupEndpoint, AbortAddonBackupParameters, AbortAddonBackupRequest, AbortAddonBackupResult, AbortAddonRestoreCall, AbortAddonRestoreData, AbortAddonRestoreEndpoint, AbortAddonRestoreParameters, AbortAddonRestoreRequest, AbortAddonRestoreResult, AbortJobBuildCall, AbortJobBuildEndpoint, AbortJobBuildParameters, AbortJobBuildRequest, AbortJobBuildResult, AbortJobRunCall, AbortJobRunEndpoint, AbortJobRunParameters, AbortJobRunRequest, AbortJobRunResult, AbortServiceBuildCall, AbortServiceBuildEndpoint, AbortServiceBuildParameters, AbortServiceBuildRequest, AbortServiceBuildResult, AddDomainSubdomainCall, AddDomainSubdomainData, AddDomainSubdomainEndpoint, AddDomainSubdomainParameters, AddDomainSubdomainRequest, AddDomainSubdomainResult, AddRegistryCall, AddRegistryData, AddRegistryEndpoint, AddRegistryRequest, AddRegistryResult, ApiCallError, ApiCallResponse, ApiClient, ApiClientContext, ApiClientContextProvider, ApiClientContextWrapper, ApiClientFileContextProvider, ApiClientInMemoryContextProvider, ApiClientOpts, ApiEndpoint, AssignSubdomainServiceCall, AssignSubdomainServiceData, AssignSubdomainServiceEndpoint, AssignSubdomainServiceParameters, AssignSubdomainServiceRequest, AssignSubdomainServiceResult, AttachVolumeCall, AttachVolumeData, AttachVolumeEndpoint, AttachVolumeParameters, AttachVolumeRequest, AttachVolumeResult, BackupAddonCall, BackupAddonData, BackupAddonEndpoint, BackupAddonParameters, BackupAddonRequest, BackupAddonResult, CommandResult, CreateAddonBackupscheduleCall, CreateAddonBackupscheduleData, CreateAddonBackupscheduleEndpoint, CreateAddonBackupscheduleParameters, CreateAddonBackupscheduleRequest, CreateAddonBackupscheduleResult, CreateAddonCall, CreateAddonData, CreateAddonEndpoint, CreateAddonParameters, CreateAddonRequest, CreateAddonResult, CreateClusterCall, CreateClusterData, CreateClusterEndpoint, CreateClusterRequest, CreateClusterResult, CreateDomainCall, CreateDomainData, CreateDomainEndpoint, CreateDomainRequest, CreateDomainResult, CreateIntegrationCall, CreateIntegrationData, CreateIntegrationEndpoint, CreateIntegrationRequest, CreateIntegrationResult, CreateJobCronCall, CreateJobCronData, CreateJobCronEndpoint, CreateJobCronParameters, CreateJobCronRequest, CreateJobCronResult, CreateJobManualCall, CreateJobManualData, CreateJobManualEndpoint, CreateJobManualParameters, CreateJobManualRequest, CreateJobManualResult, CreateProjectCall, CreateProjectData, CreateProjectEndpoint, CreateProjectRequest, CreateProjectResult, CreateSecretCall, CreateSecretData, CreateSecretEndpoint, CreateSecretParameters, CreateSecretRequest, CreateSecretResult, CreateServiceBuildCall, CreateServiceBuildData, CreateServiceBuildEndpoint, CreateServiceBuildParameters, CreateServiceBuildRequest, CreateServiceBuildResult, CreateServiceCombinedCall, CreateServiceCombinedData, CreateServiceCombinedEndpoint, CreateServiceCombinedParameters, CreateServiceCombinedRequest, CreateServiceCombinedResult, CreateServiceDeploymentCall, CreateServiceDeploymentData, CreateServiceDeploymentEndpoint, CreateServiceDeploymentParameters, CreateServiceDeploymentRequest, CreateServiceDeploymentResult, CreateTemplateCall, CreateTemplateData, CreateTemplateEndpoint, CreateTemplateRequest, CreateTemplateResult, CreateVolumeCall, CreateVolumeData, CreateVolumeEndpoint, CreateVolumeParameters, CreateVolumeRequest, CreateVolumeResult, DeleteAddonBackupscheduleCall, DeleteAddonBackupscheduleEndpoint, DeleteAddonBackupscheduleParameters, DeleteAddonBackupscheduleRequest, DeleteAddonBackupscheduleResult, DeleteAddonCall, DeleteAddonEndpoint, DeleteAddonParameters, DeleteAddonRequest, DeleteAddonResult, DeleteApiEndpoint, DeleteBackupCall, DeleteBackupEndpoint, DeleteBackupParameters, DeleteBackupRequest, DeleteBackupResult, DeleteClusterCall, DeleteClusterEndpoint, DeleteClusterParameters, DeleteClusterRequest, DeleteClusterResult, DeleteDomainCall, DeleteDomainEndpoint, DeleteDomainParameters, DeleteDomainRequest, DeleteDomainResult, DeleteIntegrationCall, DeleteIntegrationEndpoint, DeleteIntegrationParameters, DeleteIntegrationRequest, DeleteIntegrationResult, DeleteJobCall, DeleteJobEndpoint, DeleteJobParameters, DeleteJobRequest, DeleteJobResult, DeleteProjectCall, DeleteProjectEndpoint, DeleteProjectParameters, DeleteProjectRequest, DeleteProjectResult, DeleteRegistryCall, DeleteRegistryEndpoint, DeleteRegistryParameters, DeleteRegistryRequest, DeleteRegistryResult, DeleteSecretCall, DeleteSecretEndpoint, DeleteSecretParameters, DeleteSecretRequest, DeleteSecretResult, DeleteSecretlinkCall, DeleteSecretlinkEndpoint, DeleteSecretlinkParameters, DeleteSecretlinkRequest, DeleteSecretlinkResult, DeleteServiceCall, DeleteServiceEndpoint, DeleteServiceParameters, DeleteServiceRequest, DeleteServiceResult, DeleteSubdomainCall, DeleteSubdomainEndpoint, DeleteSubdomainParameters, DeleteSubdomainRequest, DeleteSubdomainResult, DeleteTemplateCall, DeleteTemplateEndpoint, DeleteTemplateParameters, DeleteTemplateRequest, DeleteTemplateResult, DeleteVolumeCall, DeleteVolumeEndpoint, DeleteVolumeParameters, DeleteVolumeRequest, DeleteVolumeResult, DetachVolumeCall, DetachVolumeData, DetachVolumeEndpoint, DetachVolumeParameters, DetachVolumeRequest, DetachVolumeResult, ExecCommand, ExecCommandData, ExecCommandStandard, ExecSessionData, GetAddonBackupCall, GetAddonBackupDownloadCall, GetAddonBackupDownloadEndpoint, GetAddonBackupDownloadParameters, GetAddonBackupDownloadRequest, GetAddonBackupDownloadResult, GetAddonBackupEndpoint, GetAddonBackupParameters, GetAddonBackupRequest, GetAddonBackupResult, GetAddonBackupsCall, GetAddonBackupsEndpoint, GetAddonBackupsOptions, GetAddonBackupsParameters, GetAddonBackupsRequest, GetAddonBackupsResult, GetAddonBackupschedulesCall, GetAddonBackupschedulesEndpoint, GetAddonBackupschedulesOptions, GetAddonBackupschedulesParameters, GetAddonBackupschedulesRequest, GetAddonBackupschedulesResult, GetAddonCall, GetAddonContainersCall, GetAddonContainersEndpoint, GetAddonContainersOptions, GetAddonContainersParameters, GetAddonContainersRequest, GetAddonContainersResult, GetAddonCredentialsCall, GetAddonCredentialsEndpoint, GetAddonCredentialsParameters, GetAddonCredentialsRequest, GetAddonCredentialsResult, GetAddonEndpoint, GetAddonParameters, GetAddonRequest, GetAddonResult, GetAddonTypesCall, GetAddonTypesEndpoint, GetAddonTypesRequest, GetAddonTypesResult, GetAddonVersionCall, GetAddonVersionEndpoint, GetAddonVersionParameters, GetAddonVersionRequest, GetAddonVersionResult, GetApiEndpoint, GetClusterCall, GetClusterEndpoint, GetClusterParameters, GetClusterRequest, GetClusterResult, GetDnsidCall, GetDnsidEndpoint, GetDnsidRequest, GetDnsidResult, GetDomainCall, GetDomainEndpoint, GetDomainParameters, GetDomainRequest, GetDomainResult, GetIntegrationCall, GetIntegrationEndpoint, GetIntegrationParameters, GetIntegrationRequest, GetIntegrationResult, GetInvoiceDetailsCall, GetInvoiceDetailsEndpoint, GetInvoiceDetailsOptions, GetInvoiceDetailsRequest, GetInvoiceDetailsResult, GetJobBranchesCall, GetJobBranchesEndpoint, GetJobBranchesOptions, GetJobBranchesParameters, GetJobBranchesRequest, GetJobBranchesResult, GetJobBuildCall, GetJobBuildEndpoint, GetJobBuildParameters, GetJobBuildRequest, GetJobBuildResult, GetJobBuildargumentdetailsCall, GetJobBuildargumentdetailsEndpoint, GetJobBuildargumentdetailsParameters, GetJobBuildargumentdetailsRequest, GetJobBuildargumentdetailsResult, GetJobBuildargumentsCall, GetJobBuildargumentsEndpoint, GetJobBuildargumentsOptions, GetJobBuildargumentsParameters, GetJobBuildargumentsRequest, GetJobBuildargumentsResult, GetJobBuildsCall, GetJobBuildsEndpoint, GetJobBuildsOptions, GetJobBuildsParameters, GetJobBuildsRequest, GetJobBuildsResult, GetJobCall, GetJobContainersCall, GetJobContainersEndpoint, GetJobContainersOptions, GetJobContainersParameters, GetJobContainersRequest, GetJobContainersResult, GetJobDeploymentCall, GetJobDeploymentEndpoint, GetJobDeploymentParameters, GetJobDeploymentRequest, GetJobDeploymentResult, GetJobEndpoint, GetJobHealthchecksCall, GetJobHealthchecksEndpoint, GetJobHealthchecksParameters, GetJobHealthchecksRequest, GetJobHealthchecksResult, GetJobParameters, GetJobPullrequestsCall, GetJobPullrequestsEndpoint, GetJobPullrequestsOptions, GetJobPullrequestsParameters, GetJobPullrequestsRequest, GetJobPullrequestsResult, GetJobRequest, GetJobResult, GetJobRunCall, GetJobRunEndpoint, GetJobRunParameters, GetJobRunRequest, GetJobRunResult, GetJobRunsCall, GetJobRunsEndpoint, GetJobRunsOptions, GetJobRunsParameters, GetJobRunsRequest, GetJobRunsResult, GetJobRuntimeenvironmentCall, GetJobRuntimeenvironmentEndpoint, GetJobRuntimeenvironmentOptions, GetJobRuntimeenvironmentParameters, GetJobRuntimeenvironmentRequest, GetJobRuntimeenvironmentResult, GetJobRuntimeenvironmentdetailsCall, GetJobRuntimeenvironmentdetailsEndpoint, GetJobRuntimeenvironmentdetailsParameters, GetJobRuntimeenvironmentdetailsRequest, GetJobRuntimeenvironmentdetailsResult, GetProjectCall, GetProjectEndpoint, GetProjectParameters, GetProjectRequest, GetProjectResult, GetRegistryCall, GetRegistryEndpoint, GetRegistryParameters, GetRegistryRequest, GetRegistryResult, GetSecretCall, GetSecretEndpoint, GetSecretOptions, GetSecretParameters, GetSecretRequest, GetSecretResult, GetSecretdetailsCall, GetSecretdetailsEndpoint, GetSecretdetailsParameters, GetSecretdetailsRequest, GetSecretdetailsResult, GetSecretlinkCall, GetSecretlinkEndpoint, GetSecretlinkParameters, GetSecretlinkRequest, GetSecretlinkResult, GetServiceBranchesCall, GetServiceBranchesEndpoint, GetServiceBranchesOptions, GetServiceBranchesParameters, GetServiceBranchesRequest, GetServiceBranchesResult, GetServiceBuildCall, GetServiceBuildEndpoint, GetServiceBuildParameters, GetServiceBuildRequest, GetServiceBuildResult, GetServiceBuildargumentdetailsCall, GetServiceBuildargumentdetailsEndpoint, GetServiceBuildargumentdetailsParameters, GetServiceBuildargumentdetailsRequest, GetServiceBuildargumentdetailsResult, GetServiceBuildargumentsCall, GetServiceBuildargumentsEndpoint, GetServiceBuildargumentsOptions, GetServiceBuildargumentsParameters, GetServiceBuildargumentsRequest, GetServiceBuildargumentsResult, GetServiceBuildsCall, GetServiceBuildsEndpoint, GetServiceBuildsOptions, GetServiceBuildsParameters, GetServiceBuildsRequest, GetServiceBuildsResult, GetServiceCall, GetServiceContainersCall, GetServiceContainersEndpoint, GetServiceContainersOptions, GetServiceContainersParameters, GetServiceContainersRequest, GetServiceContainersResult, GetServiceDeploymentCall, GetServiceDeploymentEndpoint, GetServiceDeploymentParameters, GetServiceDeploymentRequest, GetServiceDeploymentResult, GetServiceEndpoint, GetServiceHealthchecksCall, GetServiceHealthchecksEndpoint, GetServiceHealthchecksParameters, GetServiceHealthchecksRequest, GetServiceHealthchecksResult, GetServiceParameters, GetServicePortsCall, GetServicePortsEndpoint, GetServicePortsParameters, GetServicePortsRequest, GetServicePortsResult, GetServicePullrequestsCall, GetServicePullrequestsEndpoint, GetServicePullrequestsOptions, GetServicePullrequestsParameters, GetServicePullrequestsRequest, GetServicePullrequestsResult, GetServiceRequest, GetServiceResult, GetServiceRuntimeenvironmentCall, GetServiceRuntimeenvironmentEndpoint, GetServiceRuntimeenvironmentOptions, GetServiceRuntimeenvironmentParameters, GetServiceRuntimeenvironmentRequest, GetServiceRuntimeenvironmentResult, GetServiceRuntimeenvironmentdetailsCall, GetServiceRuntimeenvironmentdetailsEndpoint, GetServiceRuntimeenvironmentdetailsParameters, GetServiceRuntimeenvironmentdetailsRequest, GetServiceRuntimeenvironmentdetailsResult, GetSubdomainCall, GetSubdomainEndpoint, GetSubdomainParameters, GetSubdomainRequest, GetSubdomainResult, GetTemplateCall, GetTemplateEndpoint, GetTemplateOptions, GetTemplateParameters, GetTemplateRequest, GetTemplateResult, GetTemplaterunCall, GetTemplaterunEndpoint, GetTemplaterunOptions, GetTemplaterunParameters, GetTemplaterunRequest, GetTemplaterunResult, GetVolumeCall, GetVolumeEndpoint, GetVolumeParameters, GetVolumeRequest, GetVolumeResult, ImportAddonBackupCall, ImportAddonBackupData, ImportAddonBackupEndpoint, ImportAddonBackupParameters, ImportAddonBackupRequest, ImportAddonBackupResult, ListAddonsCall, ListAddonsEndpoint, ListAddonsOptions, ListAddonsParameters, ListAddonsRequest, ListAddonsResult, ListBranchesCall, ListBranchesEndpoint, ListBranchesOptions, ListBranchesParameters, ListBranchesRequest, ListBranchesResult, ListClustersCall, ListClustersEndpoint, ListClustersOptions, ListClustersRequest, ListClustersResult, ListDomainsCall, ListDomainsEndpoint, ListDomainsOptions, ListDomainsRequest, ListDomainsResult, ListIntegrationsCall, ListIntegrationsEndpoint, ListIntegrationsOptions, ListIntegrationsRequest, ListIntegrationsResult, ListInvoicesCall, ListInvoicesEndpoint, ListInvoicesOptions, ListInvoicesRequest, ListInvoicesResult, ListJobsCall, ListJobsEndpoint, ListJobsOptions, ListJobsParameters, ListJobsRequest, ListJobsResult, ListPlansCall, ListPlansEndpoint, ListPlansRequest, ListPlansResult, ListProjectsCall, ListProjectsEndpoint, ListProjectsOptions, ListProjectsRequest, ListProjectsResult, ListProvidersCall, ListProvidersEndpoint, ListProvidersRequest, ListProvidersResult, ListRegionsCall, ListRegionsEndpoint, ListRegionsRequest, ListRegionsResult, ListRegistriesCall, ListRegistriesEndpoint, ListRegistriesOptions, ListRegistriesRequest, ListRegistriesResult, ListReposCall, ListReposEndpoint, ListReposOptions, ListReposRequest, ListReposResult, ListSecretsCall, ListSecretsEndpoint, ListSecretsOptions, ListSecretsParameters, ListSecretsRequest, ListSecretsResult, ListServicesCall, ListServicesEndpoint, ListServicesOptions, ListServicesParameters, ListServicesRequest, ListServicesResult, ListTemplaterunsCall, ListTemplaterunsEndpoint, ListTemplaterunsOptions, ListTemplaterunsParameters, ListTemplaterunsRequest, ListTemplaterunsResult, ListTemplatesCall, ListTemplatesEndpoint, ListTemplatesOptions, ListTemplatesRequest, ListTemplatesResult, ListVcsCall, ListVcsEndpoint, ListVcsRequest, ListVcsResult, ListVolumesCall, ListVolumesEndpoint, ListVolumesParameters, ListVolumesRequest, ListVolumesResult, NorthflankApiCallError, NorthflankExecCommand, NorthflankPortForwarder, PauseAddonCall, PauseAddonEndpoint, PauseAddonParameters, PauseAddonRequest, PauseAddonResult, PauseJobCall, PauseJobEndpoint, PauseJobParameters, PauseJobRequest, PauseJobResult, PauseServiceCall, PauseServiceEndpoint, PauseServiceParameters, PauseServiceRequest, PauseServiceResult, PortForwardingInfo, PortForwardingResult, PostApiEndpoint, RestartAddonCall, RestartAddonEndpoint, RestartAddonParameters, RestartAddonRequest, RestartAddonResult, RestartServiceCall, RestartServiceEndpoint, RestartServiceParameters, RestartServiceRequest, RestartServiceResult, RestoreAddonBackupCall, RestoreAddonBackupEndpoint, RestoreAddonBackupParameters, RestoreAddonBackupRequest, RestoreAddonBackupResult, ResumeAddonCall, ResumeAddonEndpoint, ResumeAddonParameters, ResumeAddonRequest, ResumeAddonResult, ResumeJobCall, ResumeJobData, ResumeJobEndpoint, ResumeJobParameters, ResumeJobRequest, ResumeJobResult, ResumeServiceCall, ResumeServiceData, ResumeServiceEndpoint, ResumeServiceParameters, ResumeServiceRequest, ResumeServiceResult, RetainAddonBackupCall, RetainAddonBackupEndpoint, RetainAddonBackupParameters, RetainAddonBackupRequest, RetainAddonBackupResult, RunTemplateCall, RunTemplateEndpoint, RunTemplateParameters, RunTemplateRequest, RunTemplateResult, ScaleAddonCall, ScaleAddonData, ScaleAddonEndpoint, ScaleAddonParameters, ScaleAddonRequest, ScaleAddonResult, ScaleJobCall, ScaleJobData, ScaleJobEndpoint, ScaleJobParameters, ScaleJobRequest, ScaleJobResult, ScaleServiceCall, ScaleServiceData, ScaleServiceEndpoint, ScaleServiceParameters, ScaleServiceRequest, ScaleServiceResult, StartJobBuildCall, StartJobBuildData, StartJobBuildEndpoint, StartJobBuildParameters, StartJobBuildRequest, StartJobBuildResult, StartJobRunCall, StartJobRunData, StartJobRunEndpoint, StartJobRunParameters, StartJobRunRequest, StartJobRunResult, StartServiceBuildCall, StartServiceBuildData, StartServiceBuildEndpoint, StartServiceBuildParameters, StartServiceBuildRequest, StartServiceBuildResult, SuspendJobCall, SuspendJobData, SuspendJobEndpoint, SuspendJobParameters, SuspendJobRequest, SuspendJobResult, UnassignSubdomainCall, UnassignSubdomainEndpoint, UnassignSubdomainParameters, UnassignSubdomainRequest, UnassignSubdomainResult, UpdateAddonNetworksettingsCall, UpdateAddonNetworksettingsData, UpdateAddonNetworksettingsEndpoint, UpdateAddonNetworksettingsParameters, UpdateAddonNetworksettingsRequest, UpdateAddonNetworksettingsResult, UpdateAddonSecurityCall, UpdateAddonSecurityData, UpdateAddonSecurityEndpoint, UpdateAddonSecurityParameters, UpdateAddonSecurityRequest, UpdateAddonSecurityResult, UpdateAddonVersionCall, UpdateAddonVersionData, UpdateAddonVersionEndpoint, UpdateAddonVersionParameters, UpdateAddonVersionRequest, UpdateAddonVersionResult, UpdateClusterCall, UpdateClusterData, UpdateClusterEndpoint, UpdateClusterParameters, UpdateClusterRequest, UpdateClusterResult, UpdateIntegrationCall, UpdateIntegrationData, UpdateIntegrationEndpoint, UpdateIntegrationParameters, UpdateIntegrationRequest, UpdateIntegrationResult, UpdateJobBuildargumentsCall, UpdateJobBuildargumentsData, UpdateJobBuildargumentsEndpoint, UpdateJobBuildargumentsParameters, UpdateJobBuildargumentsRequest, UpdateJobBuildargumentsResult, UpdateJobBuildoptionsCall, UpdateJobBuildoptionsData, UpdateJobBuildoptionsEndpoint, UpdateJobBuildoptionsParameters, UpdateJobBuildoptionsRequest, UpdateJobBuildoptionsResult, UpdateJobBuildsourceCall, UpdateJobBuildsourceData, UpdateJobBuildsourceEndpoint, UpdateJobBuildsourceParameters, UpdateJobBuildsourceRequest, UpdateJobBuildsourceResult, UpdateJobCmdoverrideCall, UpdateJobCmdoverrideData, UpdateJobCmdoverrideEndpoint, UpdateJobCmdoverrideParameters, UpdateJobCmdoverrideRequest, UpdateJobCmdoverrideResult, UpdateJobDeploymentCall, UpdateJobDeploymentData, UpdateJobDeploymentEndpoint, UpdateJobDeploymentParameters, UpdateJobDeploymentRequest, UpdateJobDeploymentResult, UpdateJobEntrypointoverrideCall, UpdateJobEntrypointoverrideData, UpdateJobEntrypointoverrideEndpoint, UpdateJobEntrypointoverrideParameters, UpdateJobEntrypointoverrideRequest, UpdateJobEntrypointoverrideResult, UpdateJobHealthchecksCall, UpdateJobHealthchecksData, UpdateJobHealthchecksEndpoint, UpdateJobHealthchecksParameters, UpdateJobHealthchecksRequest, UpdateJobHealthchecksResult, UpdateJobRuntimeenvironmentCall, UpdateJobRuntimeenvironmentData, UpdateJobRuntimeenvironmentEndpoint, UpdateJobRuntimeenvironmentParameters, UpdateJobRuntimeenvironmentRequest, UpdateJobRuntimeenvironmentResult, UpdateJobSettingsCall, UpdateJobSettingsData, UpdateJobSettingsEndpoint, UpdateJobSettingsParameters, UpdateJobSettingsRequest, UpdateJobSettingsResult, UpdateRegistryCall, UpdateRegistryData, UpdateRegistryEndpoint, UpdateRegistryParameters, UpdateRegistryRequest, UpdateRegistryResult, UpdateSecretCall, UpdateSecretData, UpdateSecretEndpoint, UpdateSecretParameters, UpdateSecretRequest, UpdateSecretResult, UpdateSecretlinkCall, UpdateSecretlinkData, UpdateSecretlinkEndpoint, UpdateSecretlinkParameters, UpdateSecretlinkRequest, UpdateSecretlinkResult, UpdateServiceBuildargumentsCall, UpdateServiceBuildargumentsData, UpdateServiceBuildargumentsEndpoint, UpdateServiceBuildargumentsParameters, UpdateServiceBuildargumentsRequest, UpdateServiceBuildargumentsResult, UpdateServiceBuildoptionsCall, UpdateServiceBuildoptionsData, UpdateServiceBuildoptionsEndpoint, UpdateServiceBuildoptionsParameters, UpdateServiceBuildoptionsRequest, UpdateServiceBuildoptionsResult, UpdateServiceBuildsourceCall, UpdateServiceBuildsourceData, UpdateServiceBuildsourceEndpoint, UpdateServiceBuildsourceParameters, UpdateServiceBuildsourceRequest, UpdateServiceBuildsourceResult, UpdateServiceCmdoverrideCall, UpdateServiceCmdoverrideData, UpdateServiceCmdoverrideEndpoint, UpdateServiceCmdoverrideParameters, UpdateServiceCmdoverrideRequest, UpdateServiceCmdoverrideResult, UpdateServiceDeploymentCall, UpdateServiceDeploymentData, UpdateServiceDeploymentEndpoint, UpdateServiceDeploymentParameters, UpdateServiceDeploymentRequest, UpdateServiceDeploymentResult, UpdateServiceEntrypointoverrideCall, UpdateServiceEntrypointoverrideData, UpdateServiceEntrypointoverrideEndpoint, UpdateServiceEntrypointoverrideParameters, UpdateServiceEntrypointoverrideRequest, UpdateServiceEntrypointoverrideResult, UpdateServiceHealthchecksCall, UpdateServiceHealthchecksData, UpdateServiceHealthchecksEndpoint, UpdateServiceHealthchecksParameters, UpdateServiceHealthchecksRequest, UpdateServiceHealthchecksResult, UpdateServicePortsCall, UpdateServicePortsData, UpdateServicePortsEndpoint, UpdateServicePortsParameters, UpdateServicePortsRequest, UpdateServicePortsResult, UpdateServiceRuntimeenvironmentCall, UpdateServiceRuntimeenvironmentData, UpdateServiceRuntimeenvironmentEndpoint, UpdateServiceRuntimeenvironmentParameters, UpdateServiceRuntimeenvironmentRequest, UpdateServiceRuntimeenvironmentResult, UpdateTemplateCall, UpdateTemplateData, UpdateTemplateEndpoint, UpdateTemplateParameters, UpdateTemplateRequest, UpdateTemplateResult, UpdateVolumeCall, UpdateVolumeData, UpdateVolumeEndpoint, UpdateVolumeParameters, UpdateVolumeRequest, UpdateVolumeResult, VerifyDomainCall, VerifyDomainEndpoint, VerifyDomainParameters, VerifyDomainRequest, VerifyDomainResult, VerifySubdomainCall, VerifySubdomainEndpoint, VerifySubdomainParameters, VerifySubdomainRequest, VerifySubdomainResult };