@northflank/js-client 0.7.0 → 0.7.1-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 +7267 -2476
  2. package/dist/cjs/api-client.js +1 -1
  3. package/dist/esm/api-client.d.ts +7267 -2476
  4. package/dist/esm/api-client.js +1 -15
  5. package/package.json +1 -1
  6. package/dist/cjs/api-endpoint.d.ts +0 -57
  7. package/dist/cjs/api-error.d.ts +0 -16
  8. package/dist/cjs/context/api-client-context-provider.d.ts +0 -47
  9. package/dist/cjs/context/api-client-file-context-provider.d.ts +0 -11
  10. package/dist/cjs/context/api-client-in-memory-context-provider.d.ts +0 -6
  11. package/dist/cjs/context/index.d.ts +0 -3
  12. package/dist/cjs/endpoints/abort/addon/backup.d.ts +0 -21
  13. package/dist/cjs/endpoints/abort/addon/restore.d.ts +0 -26
  14. package/dist/cjs/endpoints/abort/job/build.d.ts +0 -21
  15. package/dist/cjs/endpoints/abort/job/run.d.ts +0 -21
  16. package/dist/cjs/endpoints/abort/service/build.d.ts +0 -21
  17. package/dist/cjs/endpoints/add/domain/subdomain.d.ts +0 -33
  18. package/dist/cjs/endpoints/add/registry.d.ts +0 -47
  19. package/dist/cjs/endpoints/assign/subdomain/service.d.ts +0 -28
  20. package/dist/cjs/endpoints/attach/volume.d.ts +0 -29
  21. package/dist/cjs/endpoints/backup/addon.d.ts +0 -51
  22. package/dist/cjs/endpoints/create/addon/backupSchedule.d.ts +0 -40
  23. package/dist/cjs/endpoints/create/addon.d.ts +0 -101
  24. package/dist/cjs/endpoints/create/cluster.d.ts +0 -97
  25. package/dist/cjs/endpoints/create/domain.d.ts +0 -27
  26. package/dist/cjs/endpoints/create/integration.d.ts +0 -58
  27. package/dist/cjs/endpoints/create/job/cron.d.ts +0 -247
  28. package/dist/cjs/endpoints/create/job/manual.d.ts +0 -237
  29. package/dist/cjs/endpoints/create/project.d.ts +0 -31
  30. package/dist/cjs/endpoints/create/secret.d.ts +0 -83
  31. package/dist/cjs/endpoints/create/service/build.d.ts +0 -161
  32. package/dist/cjs/endpoints/create/service/combined.d.ts +0 -255
  33. package/dist/cjs/endpoints/create/service/deployment.d.ts +0 -242
  34. package/dist/cjs/endpoints/create/template.d.ts +0 -132
  35. package/dist/cjs/endpoints/create/volume.d.ts +0 -78
  36. package/dist/cjs/endpoints/delete/addon/backupSchedule.d.ts +0 -21
  37. package/dist/cjs/endpoints/delete/addon.d.ts +0 -19
  38. package/dist/cjs/endpoints/delete/backup.d.ts +0 -21
  39. package/dist/cjs/endpoints/delete/cluster.d.ts +0 -17
  40. package/dist/cjs/endpoints/delete/domain.d.ts +0 -17
  41. package/dist/cjs/endpoints/delete/integration.d.ts +0 -17
  42. package/dist/cjs/endpoints/delete/job.d.ts +0 -19
  43. package/dist/cjs/endpoints/delete/project.d.ts +0 -17
  44. package/dist/cjs/endpoints/delete/registry.d.ts +0 -17
  45. package/dist/cjs/endpoints/delete/secret.d.ts +0 -19
  46. package/dist/cjs/endpoints/delete/secretLink.d.ts +0 -21
  47. package/dist/cjs/endpoints/delete/service.d.ts +0 -19
  48. package/dist/cjs/endpoints/delete/subdomain.d.ts +0 -19
  49. package/dist/cjs/endpoints/delete/template.d.ts +0 -17
  50. package/dist/cjs/endpoints/delete/volume.d.ts +0 -19
  51. package/dist/cjs/endpoints/detach/volume.d.ts +0 -21
  52. package/dist/cjs/endpoints/get/addon/backup/download.d.ts +0 -24
  53. package/dist/cjs/endpoints/get/addon/backup.d.ts +0 -46
  54. package/dist/cjs/endpoints/get/addon/backupSchedules.d.ts +0 -52
  55. package/dist/cjs/endpoints/get/addon/backups.d.ts +0 -54
  56. package/dist/cjs/endpoints/get/addon/containers.d.ts +0 -40
  57. package/dist/cjs/endpoints/get/addon/credentials.d.ts +0 -24
  58. package/dist/cjs/endpoints/get/addon/types.d.ts +0 -48
  59. package/dist/cjs/endpoints/get/addon/version.d.ts +0 -53
  60. package/dist/cjs/endpoints/get/addon.d.ts +0 -71
  61. package/dist/cjs/endpoints/get/cluster.d.ts +0 -55
  62. package/dist/cjs/endpoints/get/dnsId.d.ts +0 -15
  63. package/dist/cjs/endpoints/get/domain.d.ts +0 -33
  64. package/dist/cjs/endpoints/get/integration.d.ts +0 -37
  65. package/dist/cjs/endpoints/get/invoice/details.d.ts +0 -139
  66. package/dist/cjs/endpoints/get/job/branches.d.ts +0 -49
  67. package/dist/cjs/endpoints/get/job/build.d.ts +0 -42
  68. package/dist/cjs/endpoints/get/job/buildArgumentDetails.d.ts +0 -71
  69. package/dist/cjs/endpoints/get/job/buildArguments.d.ts +0 -29
  70. package/dist/cjs/endpoints/get/job/builds.d.ts +0 -52
  71. package/dist/cjs/endpoints/get/job/containers.d.ts +0 -40
  72. package/dist/cjs/endpoints/get/job/deployment.d.ts +0 -55
  73. package/dist/cjs/endpoints/get/job/healthChecks.d.ts +0 -45
  74. package/dist/cjs/endpoints/get/job/pullRequests.d.ts +0 -49
  75. package/dist/cjs/endpoints/get/job/run.d.ts +0 -44
  76. package/dist/cjs/endpoints/get/job/runs.d.ts +0 -54
  77. package/dist/cjs/endpoints/get/job/runtimeEnvironment.d.ts +0 -29
  78. package/dist/cjs/endpoints/get/job/runtimeEnvironmentDetails.d.ts +0 -71
  79. package/dist/cjs/endpoints/get/job.d.ts +0 -128
  80. package/dist/cjs/endpoints/get/project.d.ts +0 -72
  81. package/dist/cjs/endpoints/get/registry.d.ts +0 -34
  82. package/dist/cjs/endpoints/get/secret.d.ts +0 -55
  83. package/dist/cjs/endpoints/get/secretDetails.d.ts +0 -63
  84. package/dist/cjs/endpoints/get/secretLink.d.ts +0 -44
  85. package/dist/cjs/endpoints/get/service/branches.d.ts +0 -49
  86. package/dist/cjs/endpoints/get/service/build.d.ts +0 -42
  87. package/dist/cjs/endpoints/get/service/buildArgumentDetails.d.ts +0 -71
  88. package/dist/cjs/endpoints/get/service/buildArguments.d.ts +0 -29
  89. package/dist/cjs/endpoints/get/service/builds.d.ts +0 -52
  90. package/dist/cjs/endpoints/get/service/containers.d.ts +0 -40
  91. package/dist/cjs/endpoints/get/service/deployment.d.ts +0 -55
  92. package/dist/cjs/endpoints/get/service/healthChecks.d.ts +0 -45
  93. package/dist/cjs/endpoints/get/service/ports.d.ts +0 -70
  94. package/dist/cjs/endpoints/get/service/pullRequests.d.ts +0 -49
  95. package/dist/cjs/endpoints/get/service/runtimeEnvironment.d.ts +0 -29
  96. package/dist/cjs/endpoints/get/service/runtimeEnvironmentDetails.d.ts +0 -71
  97. package/dist/cjs/endpoints/get/service.d.ts +0 -211
  98. package/dist/cjs/endpoints/get/subdomain.d.ts +0 -30
  99. package/dist/cjs/endpoints/get/template.d.ts +0 -61
  100. package/dist/cjs/endpoints/get/templateRun.d.ts +0 -73
  101. package/dist/cjs/endpoints/get/volume.d.ts +0 -49
  102. package/dist/cjs/endpoints/import/addon/backup.d.ts +0 -31
  103. package/dist/cjs/endpoints/list/addons.d.ts +0 -45
  104. package/dist/cjs/endpoints/list/branches.d.ts +0 -51
  105. package/dist/cjs/endpoints/list/clusters.d.ts +0 -63
  106. package/dist/cjs/endpoints/list/domains.d.ts +0 -34
  107. package/dist/cjs/endpoints/list/integrations.d.ts +0 -36
  108. package/dist/cjs/endpoints/list/invoices.d.ts +0 -40
  109. package/dist/cjs/endpoints/list/jobs.d.ts +0 -46
  110. package/dist/cjs/endpoints/list/plans.d.ts +0 -30
  111. package/dist/cjs/endpoints/list/projects.d.ts +0 -32
  112. package/dist/cjs/endpoints/list/providers.d.ts +0 -37
  113. package/dist/cjs/endpoints/list/regions.d.ts +0 -18
  114. package/dist/cjs/endpoints/list/registries.d.ts +0 -41
  115. package/dist/cjs/endpoints/list/repos.d.ts +0 -51
  116. package/dist/cjs/endpoints/list/secrets.d.ts +0 -54
  117. package/dist/cjs/endpoints/list/services.d.ts +0 -65
  118. package/dist/cjs/endpoints/list/templateRuns.d.ts +0 -54
  119. package/dist/cjs/endpoints/list/templates.d.ts +0 -41
  120. package/dist/cjs/endpoints/list/vcs.d.ts +0 -32
  121. package/dist/cjs/endpoints/list/volumes.d.ts +0 -47
  122. package/dist/cjs/endpoints/pause/addon.d.ts +0 -19
  123. package/dist/cjs/endpoints/pause/job.d.ts +0 -19
  124. package/dist/cjs/endpoints/pause/service.d.ts +0 -19
  125. package/dist/cjs/endpoints/restart/addon.d.ts +0 -19
  126. package/dist/cjs/endpoints/restart/service.d.ts +0 -19
  127. package/dist/cjs/endpoints/restore/addon/backup.d.ts +0 -24
  128. package/dist/cjs/endpoints/resume/addon.d.ts +0 -19
  129. package/dist/cjs/endpoints/resume/job.d.ts +0 -28
  130. package/dist/cjs/endpoints/resume/service.d.ts +0 -28
  131. package/dist/cjs/endpoints/retain/addon/backup.d.ts +0 -21
  132. package/dist/cjs/endpoints/run/template.d.ts +0 -62
  133. package/dist/cjs/endpoints/scale/addon.d.ts +0 -28
  134. package/dist/cjs/endpoints/scale/job.d.ts +0 -30
  135. package/dist/cjs/endpoints/scale/service.d.ts +0 -32
  136. package/dist/cjs/endpoints/start/job/build.d.ts +0 -47
  137. package/dist/cjs/endpoints/start/job/run.d.ts +0 -74
  138. package/dist/cjs/endpoints/start/service/build.d.ts +0 -55
  139. package/dist/cjs/endpoints/suspend/job.d.ts +0 -24
  140. package/dist/cjs/endpoints/unassign/subdomain.d.ts +0 -19
  141. package/dist/cjs/endpoints/update/addon/networkSettings.d.ts +0 -26
  142. package/dist/cjs/endpoints/update/addon/security.d.ts +0 -29
  143. package/dist/cjs/endpoints/update/addon/version.d.ts +0 -24
  144. package/dist/cjs/endpoints/update/cluster.d.ts +0 -76
  145. package/dist/cjs/endpoints/update/integration.d.ts +0 -53
  146. package/dist/cjs/endpoints/update/job/buildArguments.d.ts +0 -29
  147. package/dist/cjs/endpoints/update/job/buildOptions.d.ts +0 -50
  148. package/dist/cjs/endpoints/update/job/buildSource.d.ts +0 -32
  149. package/dist/cjs/endpoints/update/job/cmdOverride.d.ts +0 -24
  150. package/dist/cjs/endpoints/update/job/deployment.d.ts +0 -39
  151. package/dist/cjs/endpoints/update/job/entrypointOverride.d.ts +0 -24
  152. package/dist/cjs/endpoints/update/job/healthChecks.d.ts +0 -45
  153. package/dist/cjs/endpoints/update/job/runtimeEnvironment.d.ts +0 -29
  154. package/dist/cjs/endpoints/update/job/settings.d.ts +0 -32
  155. package/dist/cjs/endpoints/update/registry.d.ts +0 -31
  156. package/dist/cjs/endpoints/update/secret.d.ts +0 -58
  157. package/dist/cjs/endpoints/update/secretLink.d.ts +0 -40
  158. package/dist/cjs/endpoints/update/service/buildArguments.d.ts +0 -29
  159. package/dist/cjs/endpoints/update/service/buildOptions.d.ts +0 -62
  160. package/dist/cjs/endpoints/update/service/buildSource.d.ts +0 -32
  161. package/dist/cjs/endpoints/update/service/cmdOverride.d.ts +0 -24
  162. package/dist/cjs/endpoints/update/service/deployment.d.ts +0 -39
  163. package/dist/cjs/endpoints/update/service/entrypointOverride.d.ts +0 -24
  164. package/dist/cjs/endpoints/update/service/healthChecks.d.ts +0 -45
  165. package/dist/cjs/endpoints/update/service/ports.d.ts +0 -57
  166. package/dist/cjs/endpoints/update/service/runtimeEnvironment.d.ts +0 -34
  167. package/dist/cjs/endpoints/update/template.d.ts +0 -81
  168. package/dist/cjs/endpoints/update/volume.d.ts +0 -33
  169. package/dist/cjs/endpoints/verify/domain.d.ts +0 -17
  170. package/dist/cjs/endpoints/verify/subdomain.d.ts +0 -19
  171. package/dist/cjs/exec-command/client/exec-command-runner.d.ts +0 -70
  172. package/dist/cjs/exec-command/client/exec-command-standard.d.ts +0 -42
  173. package/dist/cjs/port-forward/client/api-helper.d.ts +0 -30
  174. package/dist/cjs/port-forward/client/atomic-write.d.ts +0 -2
  175. package/dist/cjs/port-forward/client/host-file-ast.d.ts +0 -52
  176. package/dist/cjs/port-forward/client/host-file.d.ts +0 -26
  177. package/dist/cjs/port-forward/client/loopback.d.ts +0 -4
  178. package/dist/cjs/port-forward/client/port-forwarder.d.ts +0 -87
  179. package/dist/cjs/port-forward/client/port-tunnel-tcp.d.ts +0 -36
  180. package/dist/cjs/port-forward/client/port-tunnel-udp.d.ts +0 -27
  181. package/dist/cjs/port-forward/client/promise-mutex.d.ts +0 -4
  182. package/dist/cjs/utils.d.ts +0 -21
  183. package/dist/esm/api-endpoint.d.ts +0 -57
  184. package/dist/esm/api-error.d.ts +0 -16
  185. package/dist/esm/context/api-client-context-provider.d.ts +0 -47
  186. package/dist/esm/context/api-client-file-context-provider.d.ts +0 -11
  187. package/dist/esm/context/api-client-in-memory-context-provider.d.ts +0 -6
  188. package/dist/esm/context/index.d.ts +0 -3
  189. package/dist/esm/endpoints/abort/addon/backup.d.ts +0 -21
  190. package/dist/esm/endpoints/abort/addon/restore.d.ts +0 -26
  191. package/dist/esm/endpoints/abort/job/build.d.ts +0 -21
  192. package/dist/esm/endpoints/abort/job/run.d.ts +0 -21
  193. package/dist/esm/endpoints/abort/service/build.d.ts +0 -21
  194. package/dist/esm/endpoints/add/domain/subdomain.d.ts +0 -33
  195. package/dist/esm/endpoints/add/registry.d.ts +0 -47
  196. package/dist/esm/endpoints/assign/subdomain/service.d.ts +0 -28
  197. package/dist/esm/endpoints/attach/volume.d.ts +0 -29
  198. package/dist/esm/endpoints/backup/addon.d.ts +0 -51
  199. package/dist/esm/endpoints/create/addon/backupSchedule.d.ts +0 -40
  200. package/dist/esm/endpoints/create/addon.d.ts +0 -101
  201. package/dist/esm/endpoints/create/cluster.d.ts +0 -97
  202. package/dist/esm/endpoints/create/domain.d.ts +0 -27
  203. package/dist/esm/endpoints/create/integration.d.ts +0 -58
  204. package/dist/esm/endpoints/create/job/cron.d.ts +0 -247
  205. package/dist/esm/endpoints/create/job/manual.d.ts +0 -237
  206. package/dist/esm/endpoints/create/project.d.ts +0 -31
  207. package/dist/esm/endpoints/create/secret.d.ts +0 -83
  208. package/dist/esm/endpoints/create/service/build.d.ts +0 -161
  209. package/dist/esm/endpoints/create/service/combined.d.ts +0 -255
  210. package/dist/esm/endpoints/create/service/deployment.d.ts +0 -242
  211. package/dist/esm/endpoints/create/template.d.ts +0 -132
  212. package/dist/esm/endpoints/create/volume.d.ts +0 -78
  213. package/dist/esm/endpoints/delete/addon/backupSchedule.d.ts +0 -21
  214. package/dist/esm/endpoints/delete/addon.d.ts +0 -19
  215. package/dist/esm/endpoints/delete/backup.d.ts +0 -21
  216. package/dist/esm/endpoints/delete/cluster.d.ts +0 -17
  217. package/dist/esm/endpoints/delete/domain.d.ts +0 -17
  218. package/dist/esm/endpoints/delete/integration.d.ts +0 -17
  219. package/dist/esm/endpoints/delete/job.d.ts +0 -19
  220. package/dist/esm/endpoints/delete/project.d.ts +0 -17
  221. package/dist/esm/endpoints/delete/registry.d.ts +0 -17
  222. package/dist/esm/endpoints/delete/secret.d.ts +0 -19
  223. package/dist/esm/endpoints/delete/secretLink.d.ts +0 -21
  224. package/dist/esm/endpoints/delete/service.d.ts +0 -19
  225. package/dist/esm/endpoints/delete/subdomain.d.ts +0 -19
  226. package/dist/esm/endpoints/delete/template.d.ts +0 -17
  227. package/dist/esm/endpoints/delete/volume.d.ts +0 -19
  228. package/dist/esm/endpoints/detach/volume.d.ts +0 -21
  229. package/dist/esm/endpoints/get/addon/backup/download.d.ts +0 -24
  230. package/dist/esm/endpoints/get/addon/backup.d.ts +0 -46
  231. package/dist/esm/endpoints/get/addon/backupSchedules.d.ts +0 -52
  232. package/dist/esm/endpoints/get/addon/backups.d.ts +0 -54
  233. package/dist/esm/endpoints/get/addon/containers.d.ts +0 -40
  234. package/dist/esm/endpoints/get/addon/credentials.d.ts +0 -24
  235. package/dist/esm/endpoints/get/addon/types.d.ts +0 -48
  236. package/dist/esm/endpoints/get/addon/version.d.ts +0 -53
  237. package/dist/esm/endpoints/get/addon.d.ts +0 -71
  238. package/dist/esm/endpoints/get/cluster.d.ts +0 -55
  239. package/dist/esm/endpoints/get/dnsId.d.ts +0 -15
  240. package/dist/esm/endpoints/get/domain.d.ts +0 -33
  241. package/dist/esm/endpoints/get/integration.d.ts +0 -37
  242. package/dist/esm/endpoints/get/invoice/details.d.ts +0 -139
  243. package/dist/esm/endpoints/get/job/branches.d.ts +0 -49
  244. package/dist/esm/endpoints/get/job/build.d.ts +0 -42
  245. package/dist/esm/endpoints/get/job/buildArgumentDetails.d.ts +0 -71
  246. package/dist/esm/endpoints/get/job/buildArguments.d.ts +0 -29
  247. package/dist/esm/endpoints/get/job/builds.d.ts +0 -52
  248. package/dist/esm/endpoints/get/job/containers.d.ts +0 -40
  249. package/dist/esm/endpoints/get/job/deployment.d.ts +0 -55
  250. package/dist/esm/endpoints/get/job/healthChecks.d.ts +0 -45
  251. package/dist/esm/endpoints/get/job/pullRequests.d.ts +0 -49
  252. package/dist/esm/endpoints/get/job/run.d.ts +0 -44
  253. package/dist/esm/endpoints/get/job/runs.d.ts +0 -54
  254. package/dist/esm/endpoints/get/job/runtimeEnvironment.d.ts +0 -29
  255. package/dist/esm/endpoints/get/job/runtimeEnvironmentDetails.d.ts +0 -71
  256. package/dist/esm/endpoints/get/job.d.ts +0 -128
  257. package/dist/esm/endpoints/get/project.d.ts +0 -72
  258. package/dist/esm/endpoints/get/registry.d.ts +0 -34
  259. package/dist/esm/endpoints/get/secret.d.ts +0 -55
  260. package/dist/esm/endpoints/get/secretDetails.d.ts +0 -63
  261. package/dist/esm/endpoints/get/secretLink.d.ts +0 -44
  262. package/dist/esm/endpoints/get/service/branches.d.ts +0 -49
  263. package/dist/esm/endpoints/get/service/build.d.ts +0 -42
  264. package/dist/esm/endpoints/get/service/buildArgumentDetails.d.ts +0 -71
  265. package/dist/esm/endpoints/get/service/buildArguments.d.ts +0 -29
  266. package/dist/esm/endpoints/get/service/builds.d.ts +0 -52
  267. package/dist/esm/endpoints/get/service/containers.d.ts +0 -40
  268. package/dist/esm/endpoints/get/service/deployment.d.ts +0 -55
  269. package/dist/esm/endpoints/get/service/healthChecks.d.ts +0 -45
  270. package/dist/esm/endpoints/get/service/ports.d.ts +0 -70
  271. package/dist/esm/endpoints/get/service/pullRequests.d.ts +0 -49
  272. package/dist/esm/endpoints/get/service/runtimeEnvironment.d.ts +0 -29
  273. package/dist/esm/endpoints/get/service/runtimeEnvironmentDetails.d.ts +0 -71
  274. package/dist/esm/endpoints/get/service.d.ts +0 -211
  275. package/dist/esm/endpoints/get/subdomain.d.ts +0 -30
  276. package/dist/esm/endpoints/get/template.d.ts +0 -61
  277. package/dist/esm/endpoints/get/templateRun.d.ts +0 -73
  278. package/dist/esm/endpoints/get/volume.d.ts +0 -49
  279. package/dist/esm/endpoints/import/addon/backup.d.ts +0 -31
  280. package/dist/esm/endpoints/list/addons.d.ts +0 -45
  281. package/dist/esm/endpoints/list/branches.d.ts +0 -51
  282. package/dist/esm/endpoints/list/clusters.d.ts +0 -63
  283. package/dist/esm/endpoints/list/domains.d.ts +0 -34
  284. package/dist/esm/endpoints/list/integrations.d.ts +0 -36
  285. package/dist/esm/endpoints/list/invoices.d.ts +0 -40
  286. package/dist/esm/endpoints/list/jobs.d.ts +0 -46
  287. package/dist/esm/endpoints/list/plans.d.ts +0 -30
  288. package/dist/esm/endpoints/list/projects.d.ts +0 -32
  289. package/dist/esm/endpoints/list/providers.d.ts +0 -37
  290. package/dist/esm/endpoints/list/regions.d.ts +0 -18
  291. package/dist/esm/endpoints/list/registries.d.ts +0 -41
  292. package/dist/esm/endpoints/list/repos.d.ts +0 -51
  293. package/dist/esm/endpoints/list/secrets.d.ts +0 -54
  294. package/dist/esm/endpoints/list/services.d.ts +0 -65
  295. package/dist/esm/endpoints/list/templateRuns.d.ts +0 -54
  296. package/dist/esm/endpoints/list/templates.d.ts +0 -41
  297. package/dist/esm/endpoints/list/vcs.d.ts +0 -32
  298. package/dist/esm/endpoints/list/volumes.d.ts +0 -47
  299. package/dist/esm/endpoints/pause/addon.d.ts +0 -19
  300. package/dist/esm/endpoints/pause/job.d.ts +0 -19
  301. package/dist/esm/endpoints/pause/service.d.ts +0 -19
  302. package/dist/esm/endpoints/restart/addon.d.ts +0 -19
  303. package/dist/esm/endpoints/restart/service.d.ts +0 -19
  304. package/dist/esm/endpoints/restore/addon/backup.d.ts +0 -24
  305. package/dist/esm/endpoints/resume/addon.d.ts +0 -19
  306. package/dist/esm/endpoints/resume/job.d.ts +0 -28
  307. package/dist/esm/endpoints/resume/service.d.ts +0 -28
  308. package/dist/esm/endpoints/retain/addon/backup.d.ts +0 -21
  309. package/dist/esm/endpoints/run/template.d.ts +0 -62
  310. package/dist/esm/endpoints/scale/addon.d.ts +0 -28
  311. package/dist/esm/endpoints/scale/job.d.ts +0 -30
  312. package/dist/esm/endpoints/scale/service.d.ts +0 -32
  313. package/dist/esm/endpoints/start/job/build.d.ts +0 -47
  314. package/dist/esm/endpoints/start/job/run.d.ts +0 -74
  315. package/dist/esm/endpoints/start/service/build.d.ts +0 -55
  316. package/dist/esm/endpoints/suspend/job.d.ts +0 -24
  317. package/dist/esm/endpoints/unassign/subdomain.d.ts +0 -19
  318. package/dist/esm/endpoints/update/addon/networkSettings.d.ts +0 -26
  319. package/dist/esm/endpoints/update/addon/security.d.ts +0 -29
  320. package/dist/esm/endpoints/update/addon/version.d.ts +0 -24
  321. package/dist/esm/endpoints/update/cluster.d.ts +0 -76
  322. package/dist/esm/endpoints/update/integration.d.ts +0 -53
  323. package/dist/esm/endpoints/update/job/buildArguments.d.ts +0 -29
  324. package/dist/esm/endpoints/update/job/buildOptions.d.ts +0 -50
  325. package/dist/esm/endpoints/update/job/buildSource.d.ts +0 -32
  326. package/dist/esm/endpoints/update/job/cmdOverride.d.ts +0 -24
  327. package/dist/esm/endpoints/update/job/deployment.d.ts +0 -39
  328. package/dist/esm/endpoints/update/job/entrypointOverride.d.ts +0 -24
  329. package/dist/esm/endpoints/update/job/healthChecks.d.ts +0 -45
  330. package/dist/esm/endpoints/update/job/runtimeEnvironment.d.ts +0 -29
  331. package/dist/esm/endpoints/update/job/settings.d.ts +0 -32
  332. package/dist/esm/endpoints/update/registry.d.ts +0 -31
  333. package/dist/esm/endpoints/update/secret.d.ts +0 -58
  334. package/dist/esm/endpoints/update/secretLink.d.ts +0 -40
  335. package/dist/esm/endpoints/update/service/buildArguments.d.ts +0 -29
  336. package/dist/esm/endpoints/update/service/buildOptions.d.ts +0 -62
  337. package/dist/esm/endpoints/update/service/buildSource.d.ts +0 -32
  338. package/dist/esm/endpoints/update/service/cmdOverride.d.ts +0 -24
  339. package/dist/esm/endpoints/update/service/deployment.d.ts +0 -39
  340. package/dist/esm/endpoints/update/service/entrypointOverride.d.ts +0 -24
  341. package/dist/esm/endpoints/update/service/healthChecks.d.ts +0 -45
  342. package/dist/esm/endpoints/update/service/ports.d.ts +0 -57
  343. package/dist/esm/endpoints/update/service/runtimeEnvironment.d.ts +0 -34
  344. package/dist/esm/endpoints/update/template.d.ts +0 -81
  345. package/dist/esm/endpoints/update/volume.d.ts +0 -33
  346. package/dist/esm/endpoints/verify/domain.d.ts +0 -17
  347. package/dist/esm/endpoints/verify/subdomain.d.ts +0 -19
  348. package/dist/esm/exec-command/client/exec-command-runner.d.ts +0 -70
  349. package/dist/esm/exec-command/client/exec-command-standard.d.ts +0 -42
  350. package/dist/esm/port-forward/client/api-helper.d.ts +0 -30
  351. package/dist/esm/port-forward/client/atomic-write.d.ts +0 -2
  352. package/dist/esm/port-forward/client/host-file-ast.d.ts +0 -52
  353. package/dist/esm/port-forward/client/host-file.d.ts +0 -26
  354. package/dist/esm/port-forward/client/loopback.d.ts +0 -4
  355. package/dist/esm/port-forward/client/port-forwarder.d.ts +0 -87
  356. package/dist/esm/port-forward/client/port-tunnel-tcp.d.ts +0 -36
  357. package/dist/esm/port-forward/client/port-tunnel-udp.d.ts +0 -27
  358. package/dist/esm/port-forward/client/promise-mutex.d.ts +0 -4
  359. package/dist/esm/utils.d.ts +0 -21
@@ -1,61 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetTemplateResult = {
3
- /** ID of the template. Example: "example-template" */
4
- 'id': string;
5
- /** Timestamp of when the template was created. Example: "2022-06-14 15:10:42.842Z" */
6
- 'createdAt': string;
7
- /** Timestamp of when the template was last updated. Example: "2022-06-14 15:10:42.842Z" */
8
- 'updatedAt': string;
9
- 'content'?: {
10
- /** Name of the template. Example: "Example Template" */
11
- 'name': string;
12
- /** Description of the template. Example: "This is a sample template." */
13
- 'description'?: string;
14
- /** The version of the Northflank API to run the template against. Example: "v1" */
15
- 'apiVersion': 'v1';
16
- /** Details of the project the template will run in. */
17
- 'project': {
18
- /** The ID of the project to use. */
19
- 'id': string;
20
- } | {
21
- /** Details about the project to create. */
22
- 'spec': {
23
- /** The name of the project. Example: "New Project" */
24
- 'name': string;
25
- /** The description of the project. Example: "This is a new project." */
26
- 'description'?: string;
27
- /** The region the project will be hosted in. Example: "europe-west" */
28
- 'region'?: string;
29
- /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
30
- 'clusterId'?: string;
31
- /** The color of the project in the Northflank App. Example: "#EF233C" */
32
- 'color'?: string;
33
- };
34
- };
35
- 'spec': any;
36
- };
37
- };
38
- export declare type GetTemplateCall = (opts: GetTemplateRequest) => Promise<ApiCallResponse<GetTemplateResult>>;
39
- export declare type GetTemplateRequest = {
40
- parameters: GetTemplateParameters;
41
- options?: GetTemplateOptions;
42
- };
43
- export declare type GetTemplateParameters = {
44
- /** ID of the template */ 'templateId': string;
45
- };
46
- export declare type GetTemplateOptions = {
47
- /** The number of results to display per request. Maximum of 100 results per page. */
48
- 'per_page'?: number;
49
- /** The page number to access. */
50
- 'page'?: number;
51
- /** The cursor returned from the previous page of results, used to request the next page. */
52
- 'cursor'?: string;
53
- };
54
- /** Get information about the given template. */
55
- export declare class GetTemplateEndpoint extends GetApiEndpoint<GetTemplateRequest, GetTemplateResult> {
56
- description: string;
57
- withAuth: boolean;
58
- requiredPermissions: string;
59
- endpointUrl: (opts: GetTemplateRequest) => string;
60
- body: () => undefined;
61
- }
@@ -1,73 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetTemplaterunResult = {
3
- /** ID of the template run. Example: "501c1e03-a021-4659-9048-85f8f6ee2bc7" */
4
- 'id': string;
5
- /** Timestamp of when the run was initiated. Example: "2022-06-14 15:10:42.842Z" */
6
- 'createdAt': string;
7
- /** Timestamp of when the run was last updated. Example: "2022-06-14 15:10:42.842Z" */
8
- 'updatedAt': string;
9
- /** Details about the template being run. */
10
- 'template': {
11
- /** ID of the template Example: "example-template" */
12
- 'id': string;
13
- /** The name of the template Example: "Example Template" */
14
- 'name': string;
15
- };
16
- /** Status of the template run. Example: "success" */
17
- 'status': 'waiting' | 'failure' | 'retrying' | 'success' | 'unknown';
18
- /** Details about the template run. */
19
- 'content': {
20
- /** Name of the template. Example: "Example Template" */
21
- 'name': string;
22
- /** Description of the template. Example: "This is a sample template." */
23
- 'description'?: string;
24
- /** The version of the Northflank API to run the template against. Example: "v1" */
25
- 'apiVersion': 'v1';
26
- /** Details of the project the template will run in. */
27
- 'project': {
28
- /** The ID of the project to use. */
29
- 'id': string;
30
- } | {
31
- /** Details about the project to create. */
32
- 'spec': {
33
- /** The name of the project. Example: "New Project" */
34
- 'name': string;
35
- /** The description of the project. Example: "This is a new project." */
36
- 'description'?: string;
37
- /** The region the project will be hosted in. Example: "europe-west" */
38
- 'region'?: string;
39
- /** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
40
- 'clusterId'?: string;
41
- /** The color of the project in the Northflank App. Example: "#EF233C" */
42
- 'color'?: string;
43
- };
44
- };
45
- 'spec': any;
46
- };
47
- };
48
- export declare type GetTemplaterunCall = (opts: GetTemplaterunRequest) => Promise<ApiCallResponse<GetTemplaterunResult>>;
49
- export declare type GetTemplaterunRequest = {
50
- parameters: GetTemplaterunParameters;
51
- options?: GetTemplaterunOptions;
52
- };
53
- export declare type GetTemplaterunParameters = {
54
- /** ID of the template */ 'templateId': string;
55
- /** ID of the template run */
56
- 'templateRunId': string;
57
- };
58
- export declare type GetTemplaterunOptions = {
59
- /** The number of results to display per request. Maximum of 100 results per page. */
60
- 'per_page'?: number;
61
- /** The page number to access. */
62
- 'page'?: number;
63
- /** The cursor returned from the previous page of results, used to request the next page. */
64
- 'cursor'?: string;
65
- };
66
- /** Get information about the given template run. */
67
- export declare class GetTemplaterunEndpoint extends GetApiEndpoint<GetTemplaterunRequest, GetTemplaterunResult> {
68
- description: string;
69
- withAuth: boolean;
70
- requiredPermissions: string;
71
- endpointUrl: (opts: GetTemplaterunRequest) => string;
72
- body: () => undefined;
73
- }
@@ -1,49 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetVolumeResult = {
3
- /** Identifier for the volume Example: "example-volume" */
4
- 'id': string;
5
- /** Volume name Example: "Example Volume" */
6
- 'name': string;
7
- /** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account. */
8
- 'spec': {
9
- /** The type of the storage. Example: "ssd" */
10
- 'storageClassName'?: 'ssd';
11
- /** Storage size of the SSD. Example: 4096 */
12
- 'storageSize': number;
13
- } | {
14
- /** The type of the storage. Example: "hdd" */
15
- 'storageClassName': 'hdd';
16
- /** Storage size of the HDD. Example: 40960 */
17
- 'storageSize': number;
18
- };
19
- /** The object to attach this volume to. */
20
- 'owningObject'?: {
21
- /** The internal id of object to attach this volume to. Example: "example-service" */
22
- 'id': string;
23
- /** The type of the object to attach this volume to. Example: "service" */
24
- 'type': 'service';
25
- };
26
- /** Status the volume is in on the cluster Example: "BOUND" */
27
- 'status': string;
28
- /** The timestamp the volume was created at Example: "2021-01-01 12:00:00.000Z" */
29
- 'createdAt': string;
30
- /** The timestamp the volume was last updated at Example: "2021-01-01 12:00:00.000Z" */
31
- 'updatedAt': string;
32
- };
33
- export declare type GetVolumeCall = (opts: GetVolumeRequest) => Promise<ApiCallResponse<GetVolumeResult>>;
34
- export declare type GetVolumeRequest = {
35
- parameters: GetVolumeParameters;
36
- };
37
- export declare type GetVolumeParameters = {
38
- /** ID of the project */ 'projectId': string;
39
- /** ID of the volume */
40
- 'volumeId': string;
41
- };
42
- /** Retrieve a volume */
43
- export declare class GetVolumeEndpoint extends GetApiEndpoint<GetVolumeRequest, GetVolumeResult> {
44
- description: string;
45
- withAuth: boolean;
46
- requiredPermissions: string;
47
- endpointUrl: (opts: GetVolumeRequest) => string;
48
- body: () => undefined;
49
- }
@@ -1,31 +0,0 @@
1
- import { ApiCallResponse, PostApiEndpoint } from '../../../api-endpoint';
2
- export declare type ImportAddonBackupResult = any;
3
- export declare type ImportAddonBackupCall = (opts: ImportAddonBackupRequest) => Promise<ApiCallResponse<ImportAddonBackupResult>>;
4
- export declare type ImportAddonBackupRequest = {
5
- parameters: ImportAddonBackupParameters;
6
- data: ImportAddonBackupData;
7
- };
8
- export declare type ImportAddonBackupParameters = {
9
- /** ID of the project */ 'projectId': string;
10
- /** ID of the addon */
11
- 'addonId': string;
12
- };
13
- export declare type ImportAddonBackupData = {
14
- /** The name of the backup. If not provided, a default name will be generated containing the current date. Example: "Example Backup" */
15
- 'name'?: string;
16
- /** A database connection string. Example: "mongodb://mongodb0.example.com:27017" */
17
- 'connectionString': string;
18
- } | {
19
- /** The name of the backup. If not provided, a default name will be generated containing the current date. Example: "Example Backup" */
20
- 'name'?: string;
21
- /** A url pointing to an existing backup stored as a GNU zip (.gz) file. Example: "https://example.com/backup.db.gz" */
22
- 'importUrl': string;
23
- };
24
- /** Imports a database from an external archive or existing live database. */
25
- export declare class ImportAddonBackupEndpoint extends PostApiEndpoint<ImportAddonBackupRequest, ImportAddonBackupResult> {
26
- description: string;
27
- withAuth: boolean;
28
- requiredPermissions: string;
29
- endpointUrl: (opts: ImportAddonBackupRequest) => string;
30
- body: (payload: ImportAddonBackupRequest) => string;
31
- }
@@ -1,45 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListAddonsResult = {
3
- /** An array of addons. */
4
- 'addons': {
5
- /** Identifier for the addon. Example: "example-addon" */
6
- 'id': string;
7
- /** Addon name. Example: "Example Addon" */
8
- 'name': string;
9
- /** Full identifier for the addon. Example: "/example-user/default-project/example-job" */
10
- 'appId': string;
11
- /** A short description of the addon. Example: "This is the addon description" */
12
- 'description'?: string;
13
- /** Details about the addon's specifications. */
14
- 'spec': {
15
- /** The type of the addon Example: "mongodb" */
16
- 'type': string;
17
- };
18
- /** The current state of the addon. Example: "running" */
19
- 'status': 'preDeployment' | 'triggerAllocation' | 'allocating' | 'postDeployment' | 'running' | 'paused' | 'scaling' | 'upgrading' | 'backup' | 'restore' | 'failed' | 'deleting' | 'deleted';
20
- }[];
21
- };
22
- export declare type ListAddonsCall = (opts: ListAddonsRequest) => Promise<ApiCallResponse<ListAddonsResult>>;
23
- export declare type ListAddonsRequest = {
24
- parameters: ListAddonsParameters;
25
- options?: ListAddonsOptions;
26
- };
27
- export declare type ListAddonsParameters = {
28
- /** ID of the project */ 'projectId': string;
29
- };
30
- export declare type ListAddonsOptions = {
31
- /** The number of results to display per request. Maximum of 100 results per page. */
32
- 'per_page'?: number;
33
- /** The page number to access. */
34
- 'page'?: number;
35
- /** The cursor returned from the previous page of results, used to request the next page. */
36
- 'cursor'?: string;
37
- };
38
- /** Gets a list of addons belonging to the project */
39
- export declare class ListAddonsEndpoint extends GetApiEndpoint<ListAddonsRequest, ListAddonsResult> {
40
- description: string;
41
- withAuth: boolean;
42
- requiredPermissions: string;
43
- endpointUrl: (opts: ListAddonsRequest) => string;
44
- body: () => undefined;
45
- }
@@ -1,51 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListBranchesResult = {
3
- /** A list of branches for this repository. */
4
- 'branches'?: {
5
- /** Name of the branch. Example: "main" */
6
- 'name': string;
7
- 'id': string;
8
- /** Details about the most recent commit on the branch. */
9
- 'commit': {
10
- /** SHA identifier of the commit. Example: "f8aca180e989be62cba71db629d2ede05f2d10c4" */
11
- 'sha': string;
12
- /** Details about the commit author. */
13
- 'author': {
14
- /** The login of the commit author. Example: "northflank" */
15
- 'login': string;
16
- };
17
- /** Commit message of the commit. Example: "Initial commit" */
18
- 'message'?: string;
19
- /** Timestamp of the commit. Example: "2021-09-17T14:04:39.000Z" */
20
- 'date'?: string;
21
- };
22
- }[];
23
- };
24
- export declare type ListBranchesCall = (opts: ListBranchesRequest) => Promise<ApiCallResponse<ListBranchesResult>>;
25
- export declare type ListBranchesRequest = {
26
- parameters: ListBranchesParameters;
27
- options?: ListBranchesOptions;
28
- };
29
- export declare type ListBranchesParameters = {
30
- /** Version control provider of the repository */ 'vcsService': string;
31
- /** Name of the owner of the repository */
32
- 'repositoryOwner': string;
33
- /** Name of the repository */
34
- 'repositoryName': string;
35
- };
36
- export declare type ListBranchesOptions = {
37
- /** The number of results to display per request. Maximum of 100 results per page. */
38
- 'per_page'?: number;
39
- /** The page number to access. */
40
- 'page'?: number;
41
- /** The cursor returned from the previous page of results, used to request the next page. */
42
- 'cursor'?: string;
43
- };
44
- /** Gets a list of branches for the repo */
45
- export declare class ListBranchesEndpoint extends GetApiEndpoint<ListBranchesRequest, ListBranchesResult> {
46
- description: string;
47
- withAuth: boolean;
48
- requiredPermissions: string;
49
- endpointUrl: (opts: ListBranchesRequest) => string;
50
- body: () => undefined;
51
- }
@@ -1,63 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListClustersResult = {
3
- /** An array of clusters. */
4
- 'clusters': {
5
- /** Identifier for the cluster. Example: "gcp-cluster-1" */
6
- 'id': string;
7
- /** The name of the cluster. Example: "GCP Cluster 1" */
8
- 'name': string;
9
- /** A short description of the cluster. Example: "The cluster description" */
10
- 'description'?: string;
11
- /** The cloud provider to which this cluster belongs to. Example: "gcp" */
12
- 'provider'?: string;
13
- /** ID of the provider integration used by this cluster. Example: "gcp-integration" */
14
- 'integrationId': string;
15
- 'nodePools': {
16
- 'availabilityZones'?: string[];
17
- 'nodeTypes': string[];
18
- 'nodeCount': number;
19
- 'autoscaling'?: {
20
- 'enabled'?: boolean;
21
- 'min'?: number;
22
- 'max'?: number;
23
- };
24
- /** Configures node pool with preemptible / spot instances if enabled. */
25
- 'preemptible'?: boolean;
26
- 'diskType'?: string;
27
- 'diskSize': number;
28
- /** 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" */
29
- 'id'?: string;
30
- };
31
- 'status'?: {
32
- 'state'?: {
33
- 'state'?: string;
34
- 'transitionTime'?: string;
35
- };
36
- 'nextUpdateAfter'?: string;
37
- };
38
- /** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
39
- 'createdAt': string;
40
- /** Indicates if provider resource deletion has been requested by the user. */
41
- 'deletionRequested': boolean;
42
- }[];
43
- };
44
- export declare type ListClustersCall = (opts: ListClustersRequest) => Promise<ApiCallResponse<ListClustersResult>>;
45
- export declare type ListClustersRequest = {
46
- options?: ListClustersOptions;
47
- };
48
- export declare type ListClustersOptions = {
49
- /** The number of results to display per request. Maximum of 100 results per page. */
50
- 'per_page'?: number;
51
- /** The page number to access. */
52
- 'page'?: number;
53
- /** The cursor returned from the previous page of results, used to request the next page. */
54
- 'cursor'?: string;
55
- };
56
- /** Lists clusters for the authenticated user or team. */
57
- export declare class ListClustersEndpoint extends GetApiEndpoint<ListClustersRequest, ListClustersResult> {
58
- description: string;
59
- withAuth: boolean;
60
- requiredPermissions: string;
61
- endpointUrl: (opts: ListClustersRequest) => string;
62
- body: () => undefined;
63
- }
@@ -1,34 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListDomainsResult = {
3
- /** A list of domains registered to this account. */
4
- 'domains': {
5
- /** The domain name. Example: "example.com" */
6
- 'name': string;
7
- /** The status of the domain verification. Example: "verified" */
8
- 'status': 'pending' | 'verified';
9
- /** The hostname to add to your domain's DNS records as a TXT record to verify the domain. Example: "nfverify1608026055" */
10
- 'hostname': string;
11
- /** The token to add as the content of the TXT record to verify the domain. Example: "e596987b52855a4a773ef580ce2985d7746b37ce8b2a443d20fa27b913d8f57" */
12
- 'token': string;
13
- }[];
14
- };
15
- export declare type ListDomainsCall = (opts: ListDomainsRequest) => Promise<ApiCallResponse<ListDomainsResult>>;
16
- export declare type ListDomainsRequest = {
17
- options?: ListDomainsOptions;
18
- };
19
- export declare type ListDomainsOptions = {
20
- /** The number of results to display per request. Maximum of 100 results per page. */
21
- 'per_page'?: number;
22
- /** The page number to access. */
23
- 'page'?: number;
24
- /** The cursor returned from the previous page of results, used to request the next page. */
25
- 'cursor'?: string;
26
- };
27
- /** Lists available domains */
28
- export declare class ListDomainsEndpoint extends GetApiEndpoint<ListDomainsRequest, ListDomainsResult> {
29
- description: string;
30
- withAuth: boolean;
31
- requiredPermissions: string;
32
- endpointUrl: (opts: ListDomainsRequest) => string;
33
- body: () => undefined;
34
- }
@@ -1,36 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListIntegrationsResult = {
3
- /** An array of integrations. */
4
- 'integrations': {
5
- /** Identifier for the integration. Example: "gcp-integration" */
6
- 'id': string;
7
- /** The name of the integration. Example: "GCP integration" */
8
- 'name': string;
9
- /** A short description of the integration. Example: "The integration description" */
10
- 'description'?: string;
11
- /** The cloud provider to which this integration belongs to. Example: "gcp" */
12
- 'provider'?: string;
13
- /** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
14
- 'createdAt': string;
15
- }[];
16
- };
17
- export declare type ListIntegrationsCall = (opts: ListIntegrationsRequest) => Promise<ApiCallResponse<ListIntegrationsResult>>;
18
- export declare type ListIntegrationsRequest = {
19
- options?: ListIntegrationsOptions;
20
- };
21
- export declare type ListIntegrationsOptions = {
22
- /** The number of results to display per request. Maximum of 100 results per page. */
23
- 'per_page'?: number;
24
- /** The page number to access. */
25
- 'page'?: number;
26
- /** The cursor returned from the previous page of results, used to request the next page. */
27
- 'cursor'?: string;
28
- };
29
- /** Lists integrations for the authenticated user or team. */
30
- export declare class ListIntegrationsEndpoint extends GetApiEndpoint<ListIntegrationsRequest, ListIntegrationsResult> {
31
- description: string;
32
- withAuth: boolean;
33
- requiredPermissions: string;
34
- endpointUrl: (opts: ListIntegrationsRequest) => string;
35
- body: () => undefined;
36
- }
@@ -1,40 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListInvoicesResult = {
3
- 'invoices'?: {
4
- /** Information about the billing period of the invoice. */
5
- 'period': {
6
- /** Unix timestamp of the start of the billing period. Example: 1655823815 */
7
- 'start': number;
8
- /** Unix timestamp of the end of the billing period. Example: 1655910214 */
9
- 'end': number;
10
- };
11
- /** Currency code for the currency the invoice is billed in. Example: "usd" */
12
- 'currency': string;
13
- /** Total cost of the invoice, in cents, including tax. Example: 1200 */
14
- 'total': number;
15
- /** Total cost of the invoice, in cents, excluding tax. Example: 1000 */
16
- 'subTotal': number;
17
- /** If `timestamp` is passed in, whether the invoice has been paid. */
18
- 'paid'?: boolean;
19
- };
20
- };
21
- export declare type ListInvoicesCall = (opts: ListInvoicesRequest) => Promise<ApiCallResponse<ListInvoicesResult>>;
22
- export declare type ListInvoicesRequest = {
23
- options?: ListInvoicesOptions;
24
- };
25
- export declare type ListInvoicesOptions = {
26
- /** The number of results to display per request. Maximum of 100 results per page. */
27
- 'per_page'?: number;
28
- /** The page number to access. */
29
- 'page'?: number;
30
- /** The cursor returned from the previous page of results, used to request the next page. */
31
- 'cursor'?: string;
32
- };
33
- /** Get a list of past invoices */
34
- export declare class ListInvoicesEndpoint extends GetApiEndpoint<ListInvoicesRequest, ListInvoicesResult> {
35
- description: string;
36
- withAuth: boolean;
37
- requiredPermissions: string;
38
- endpointUrl: (opts: ListInvoicesRequest) => string;
39
- body: () => undefined;
40
- }
@@ -1,46 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListJobsResult = {
3
- /** An array of job objects. */
4
- 'jobs': {
5
- /** Identifier for the job Example: "example-job" */
6
- 'id': string;
7
- /** ID of the project that the job belongs to Example: "default-project" */
8
- 'projectId': string;
9
- /** Full identifier used for job deployment Example: "/example-user/default-project/example-job" */
10
- 'appId': string;
11
- /** Job name Example: "Example Job" */
12
- 'name': string;
13
- /** A short description of the job Example: "This is the job description" */
14
- 'description'?: string;
15
- /** Type of the job (manual or cron) Example: "cron" */
16
- 'jobType': 'manual' | 'cron';
17
- /** Whether Continuous Integration is disabled */
18
- 'disabledCI': boolean;
19
- /** Whether Continuous Deployment is disabled */
20
- 'disabledCD': boolean;
21
- }[];
22
- };
23
- export declare type ListJobsCall = (opts: ListJobsRequest) => Promise<ApiCallResponse<ListJobsResult>>;
24
- export declare type ListJobsRequest = {
25
- parameters: ListJobsParameters;
26
- options?: ListJobsOptions;
27
- };
28
- export declare type ListJobsParameters = {
29
- /** ID of the project */ 'projectId': string;
30
- };
31
- export declare type ListJobsOptions = {
32
- /** The number of results to display per request. Maximum of 100 results per page. */
33
- 'per_page'?: number;
34
- /** The page number to access. */
35
- 'page'?: number;
36
- /** The cursor returned from the previous page of results, used to request the next page. */
37
- 'cursor'?: string;
38
- };
39
- /** Gets a list of jobs belonging to the project */
40
- export declare class ListJobsEndpoint extends GetApiEndpoint<ListJobsRequest, ListJobsResult> {
41
- description: string;
42
- withAuth: boolean;
43
- requiredPermissions: string;
44
- endpointUrl: (opts: ListJobsRequest) => string;
45
- body: () => undefined;
46
- }
@@ -1,30 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListPlansResult = {
3
- /** An array of available plans */
4
- 'plans': {
5
- /** The ID of the plan. Example: "nf-compute-20" */
6
- 'id': string;
7
- /** The name of the plan. Example: "nf-compute-20" */
8
- 'name': string;
9
- /** The currency code of the currency used by this plan. Example: "usd" */
10
- 'currency': string;
11
- /** The approximate monthly (30 days) cost of the plan. Example: 4.4 */
12
- 'amountPerMonth': number;
13
- /** The hourly cost of the plan. Example: 0.0061 */
14
- 'amountPerHour': number;
15
- /** The CPU resource of the plan, in vCPUs. Example: 0.2 */
16
- 'cpuResource': number;
17
- /** The memory resource of the plan, in megabytes Example: 512 */
18
- 'ramResource': number;
19
- }[];
20
- };
21
- export declare type ListPlansCall = (opts: ListPlansRequest) => Promise<ApiCallResponse<ListPlansResult>>;
22
- export declare type ListPlansRequest = {};
23
- /** Lists available billing plans */
24
- export declare class ListPlansEndpoint extends GetApiEndpoint<ListPlansRequest, ListPlansResult> {
25
- description: string;
26
- withAuth: boolean;
27
- requiredPermissions: string;
28
- endpointUrl: (opts: ListPlansRequest) => string;
29
- body: () => undefined;
30
- }
@@ -1,32 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListProjectsResult = {
3
- /** An array of projects. */
4
- 'projects': {
5
- /** Identifier for the project. Example: "default-project" */
6
- 'id': string;
7
- /** The name of the project. Example: "Default Project" */
8
- 'name': string;
9
- /** A short description of the project. Example: "The project description" */
10
- 'description'?: string;
11
- }[];
12
- };
13
- export declare type ListProjectsCall = (opts: ListProjectsRequest) => Promise<ApiCallResponse<ListProjectsResult>>;
14
- export declare type ListProjectsRequest = {
15
- options?: ListProjectsOptions;
16
- };
17
- export declare type ListProjectsOptions = {
18
- /** The number of results to display per request. Maximum of 100 results per page. */
19
- 'per_page'?: number;
20
- /** The page number to access. */
21
- 'page'?: number;
22
- /** The cursor returned from the previous page of results, used to request the next page. */
23
- 'cursor'?: string;
24
- };
25
- /** Lists projects for the authenticated user or team. */
26
- export declare class ListProjectsEndpoint extends GetApiEndpoint<ListProjectsRequest, ListProjectsResult> {
27
- description: string;
28
- withAuth: boolean;
29
- requiredPermissions: string;
30
- endpointUrl: (opts: ListProjectsRequest) => string;
31
- body: () => undefined;
32
- }
@@ -1,37 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListProvidersResult = {
3
- /** An array of supported cloud providers */
4
- 'providers': {
5
- /** The ID of the provider. Example: "aws" */
6
- 'id': string;
7
- /** The name of the provider. Example: "Amazon Web Services" */
8
- 'name': string;
9
- /** The kubernetes engine used. Example: "Elastic Kubernetes Service (EKS)" */
10
- 'engine': string;
11
- /** An array of available regions */
12
- 'regions': string[];
13
- /** An array of available kubernetes versions */
14
- 'kubernetesVersions': string[];
15
- /** An array of supported node types */
16
- 'nodeTypes': string[];
17
- /** An array of supported node disk sizes */
18
- 'diskSizes': number[];
19
- /** An object with feature flags to indicate (un)supported features */
20
- 'flags': {
21
- /** Preemptible/Spot node pool support Example: true */
22
- 'preemptible'?: boolean;
23
- /** Node pool autoscaling support Example: true */
24
- 'autoscaling'?: boolean;
25
- };
26
- }[];
27
- };
28
- export declare type ListProvidersCall = (opts: ListProvidersRequest) => Promise<ApiCallResponse<ListProvidersResult>>;
29
- export declare type ListProvidersRequest = {};
30
- /** Lists supported cloud providers */
31
- export declare class ListProvidersEndpoint extends GetApiEndpoint<ListProvidersRequest, ListProvidersResult> {
32
- description: string;
33
- withAuth: boolean;
34
- requiredPermissions: string;
35
- endpointUrl: (opts: ListProvidersRequest) => string;
36
- body: () => undefined;
37
- }
@@ -1,18 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type ListRegionsResult = {
3
- /** An array of regions */
4
- 'regions': {
5
- /** The ID of the region. Example: "europe-west" */
6
- 'id': string;
7
- }[];
8
- };
9
- export declare type ListRegionsCall = (opts: ListRegionsRequest) => Promise<ApiCallResponse<ListRegionsResult>>;
10
- export declare type ListRegionsRequest = {};
11
- /** Lists available project regions */
12
- export declare class ListRegionsEndpoint extends GetApiEndpoint<ListRegionsRequest, ListRegionsResult> {
13
- description: string;
14
- withAuth: boolean;
15
- requiredPermissions: string;
16
- endpointUrl: (opts: ListRegionsRequest) => string;
17
- body: () => undefined;
18
- }