@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,48 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetAddonTypesResult = {
3
- /** A list of available addon types. */
4
- 'addonTypes': {
5
- /** The identifier for the addon type. Example: "redis" */
6
- 'type': string;
7
- /** The name of the addon type. Example: "Redis" */
8
- 'name': string;
9
- /** A description of the addon. Example: "Redis implements a distributed, in-memory key-value database with optional durability." */
10
- 'description': string;
11
- /** A list of available versions of the addon type. */
12
- 'versions': string[];
13
- /** Features supported by this addon type. */
14
- 'features'?: {
15
- /** Whether this addon supports connection via TLS. */
16
- 'tls': boolean;
17
- /** Whether this addon supports external connection. */
18
- 'externalAccess': boolean;
19
- };
20
- /** Details about resource options for the addon type. */
21
- 'resources': {
22
- /** Details about storage size options for this addon. */
23
- 'storage': {
24
- /** Available options for storage size for this addon, in MB. */
25
- 'options': number[];
26
- /** The default storage value for this addon. Example: 1024 */
27
- 'default': number;
28
- };
29
- /** Details about replica count options for this addon. */
30
- 'replicas': {
31
- /** Available options for replica counts for this addon. */
32
- 'options': number[];
33
- /** The default replica count for this addon. Example: 1 */
34
- 'default': number;
35
- };
36
- };
37
- }[];
38
- };
39
- export declare type GetAddonTypesCall = (opts: GetAddonTypesRequest) => Promise<ApiCallResponse<GetAddonTypesResult>>;
40
- export declare type GetAddonTypesRequest = {};
41
- /** Gets information about the available addon types */
42
- export declare class GetAddonTypesEndpoint extends GetApiEndpoint<GetAddonTypesRequest, GetAddonTypesResult> {
43
- description: string;
44
- withAuth: boolean;
45
- requiredPermissions: string;
46
- endpointUrl: (opts: GetAddonTypesRequest) => string;
47
- body: () => undefined;
48
- }
@@ -1,53 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetAddonVersionResult = {
3
- /** The version of the addon running. Example: "4.2.14" */
4
- 'version': string;
5
- /** Available versions that the addon can be upgraded to. */
6
- 'upgradeTo': {
7
- /** The version of the addon to upgrade to. Example: "4.2.15" */
8
- 'version': string;
9
- /** Whether the version is a major or minor version. Example: "minor" */
10
- 'type': 'major' | 'minor' | 'patch';
11
- }[];
12
- /** The support status of the current addon version. Example: "deprecated" */
13
- 'lifecycleStatus': 'active' | 'deprecated' | 'discontinued';
14
- /** The date that the current addon version will be discontinued. Example: "01.08.2021" */
15
- 'discontinuedBy'?: string;
16
- /** Data about the upgrade history of this addon. */
17
- 'upgradeHistory': {
18
- /** The unique identifier of the addon upgrade. Example: "611d0da52cd838bbdeec4792" */
19
- 'upgradeId': string;
20
- /** Details about the upgrade status. */
21
- 'status': {
22
- /** The status of the addon upgrade. Example: "completed" */
23
- 'status': 'scheduled' | 'in-progress' | 'completed' | 'aborting' | 'aborted' | 'failed' | 'not-supported';
24
- };
25
- /** The time the upgrade was initiated. Example: "2021-08-18 13:39:49.475Z" */
26
- 'createdAt': string;
27
- /** Whether the version updated to is a major or minor version. Example: "minor" */
28
- 'upgradeType': 'major' | 'minor' | 'patch';
29
- /** The version upgraded from. Example: "4.2.14" */
30
- 'previousVersion': string;
31
- /** The version upgraded to. Example: "4.2.15" */
32
- 'newVersion': string;
33
- /** The time the upgrade was completed. Example: "2021-08-18T13:40:51.685Z" */
34
- 'completedAt'?: string;
35
- }[];
36
- };
37
- export declare type GetAddonVersionCall = (opts: GetAddonVersionRequest) => Promise<ApiCallResponse<GetAddonVersionResult>>;
38
- export declare type GetAddonVersionRequest = {
39
- parameters: GetAddonVersionParameters;
40
- };
41
- export declare type GetAddonVersionParameters = {
42
- /** ID of the project */ 'projectId': string;
43
- /** ID of the addon */
44
- 'addonId': string;
45
- };
46
- /** Gets details about the current addon version including available upgrades and upgrade history. */
47
- export declare class GetAddonVersionEndpoint extends GetApiEndpoint<GetAddonVersionRequest, GetAddonVersionResult> {
48
- description: string;
49
- withAuth: boolean;
50
- requiredPermissions: string;
51
- endpointUrl: (opts: GetAddonVersionRequest) => string;
52
- body: () => undefined;
53
- }
@@ -1,71 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetAddonResult = {
3
- /** Identifier for the addon. Example: "example-addon" */
4
- 'id': string;
5
- /** Addon name. Example: "Example Addon" */
6
- 'name': string;
7
- /** Full identifier for the addon. Example: "/example-user/default-project/example-addon" */
8
- 'appId': string;
9
- /** A short description of the addon. Example: "This is the addon description" */
10
- 'description'?: string;
11
- /** The time the addon was created. Example: "2021-01-20T11:19:53.175Z" */
12
- 'createdAt': string;
13
- /** The current state of the addon. Example: "running" */
14
- 'status': 'preDeployment' | 'triggerAllocation' | 'allocating' | 'postDeployment' | 'running' | 'paused' | 'scaling' | 'upgrading' | 'backup' | 'restore' | 'failed' | 'deleting' | 'deleted';
15
- /** Details about the addon's specifications. */
16
- 'spec': {
17
- /** The type of the addon Example: "mongodb" */
18
- 'type': string;
19
- /** Details about the addon configuration. */
20
- 'config': {
21
- /** The version of the addon running. Example: "4.2.14" */
22
- 'versionTag': string;
23
- /** The support status of the current addon version. Example: "active" */
24
- 'lifecycleStatus': 'active' | 'deprecated' | 'discontinued';
25
- /** Details about the addon deployment. */
26
- 'deployment': {
27
- /** The number of replicas running for this addon. Example: 1 */
28
- 'replicas': number;
29
- /** The type of storage used by the addon. Example: "ssd" */
30
- 'storageClass': string;
31
- /** The size of the addon storage, in MB. Example: 4096 */
32
- 'storageSize': number;
33
- /** The deployment plan used by the addon. Example: "nf-compute-20" */
34
- 'planId': string;
35
- /** The region where the addon is deployed. Example: "europe-west" */
36
- 'region': string;
37
- };
38
- /** Details about the addon networking settings. */
39
- 'networking': {
40
- /** Whether this addon is provisioned with a TLS certificate. Example: true */
41
- 'tlsEnabled': boolean;
42
- /** Whether this addon is publicly accessible via the internet. Example: true */
43
- 'externalAccessEnabled': boolean;
44
- /** An array of IP policy rules. */
45
- 'ipPolicies'?: {
46
- /** An IP address used by this rule. Example: "127.0.0.1" */
47
- 'address': string;
48
- /** The action for this rule. Example: "ALLOW" */
49
- 'action': 'DENY' | 'ALLOW';
50
- }[];
51
- };
52
- };
53
- };
54
- };
55
- export declare type GetAddonCall = (opts: GetAddonRequest) => Promise<ApiCallResponse<GetAddonResult>>;
56
- export declare type GetAddonRequest = {
57
- parameters: GetAddonParameters;
58
- };
59
- export declare type GetAddonParameters = {
60
- /** ID of the project */ 'projectId': string;
61
- /** ID of the addon */
62
- 'addonId': string;
63
- };
64
- /** Gets information about the given addon */
65
- export declare class GetAddonEndpoint extends GetApiEndpoint<GetAddonRequest, GetAddonResult> {
66
- description: string;
67
- withAuth: boolean;
68
- requiredPermissions: string;
69
- endpointUrl: (opts: GetAddonRequest) => string;
70
- body: () => undefined;
71
- }
@@ -1,55 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetClusterResult = {
3
- /** Identifier for the cluster. Example: "gcp-cluster-1" */
4
- 'id': string;
5
- /** The name of the cluster. Example: "GCP Cluster 1" */
6
- 'name': string;
7
- /** A short description of the cluster. Example: "The cluster description" */
8
- 'description'?: string;
9
- /** The cloud provider to which this cluster belongs to. Example: "gcp" */
10
- 'provider'?: string;
11
- /** ID of the provider integration used by this cluster. Example: "gcp-integration" */
12
- 'integrationId': string;
13
- 'nodePools': {
14
- 'availabilityZones'?: string[];
15
- 'nodeTypes': string[];
16
- 'nodeCount': number;
17
- 'autoscaling'?: {
18
- 'enabled'?: boolean;
19
- 'min'?: number;
20
- 'max'?: number;
21
- };
22
- /** Configures node pool with preemptible / spot instances if enabled. */
23
- 'preemptible'?: boolean;
24
- 'diskType'?: string;
25
- 'diskSize': number;
26
- /** 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" */
27
- 'id'?: string;
28
- };
29
- 'status'?: {
30
- 'state'?: {
31
- 'state'?: string;
32
- 'transitionTime'?: string;
33
- };
34
- 'nextUpdateAfter'?: string;
35
- };
36
- /** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
37
- 'createdAt': string;
38
- /** Indicates if provider resource deletion has been requested by the user. */
39
- 'deletionRequested': boolean;
40
- };
41
- export declare type GetClusterCall = (opts: GetClusterRequest) => Promise<ApiCallResponse<GetClusterResult>>;
42
- export declare type GetClusterRequest = {
43
- parameters: GetClusterParameters;
44
- };
45
- export declare type GetClusterParameters = {
46
- /** ID of the cluster */ 'clusterId': string;
47
- };
48
- /** Get information about the given cluster */
49
- export declare class GetClusterEndpoint extends GetApiEndpoint<GetClusterRequest, GetClusterResult> {
50
- description: string;
51
- withAuth: boolean;
52
- requiredPermissions: string;
53
- endpointUrl: (opts: GetClusterRequest) => string;
54
- body: () => undefined;
55
- }
@@ -1,15 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetDnsidResult = {
3
- /** The partially random string associated with the authenticated account, used for generating DNS entries. Example: "exam-1234" */
4
- 'dns': string;
5
- };
6
- export declare type GetDnsidCall = (opts: GetDnsidRequest) => Promise<ApiCallResponse<GetDnsidResult>>;
7
- export declare type GetDnsidRequest = {};
8
- /** Returns the partially random string used when generating host names for the authenticated account. */
9
- export declare class GetDnsidEndpoint extends GetApiEndpoint<GetDnsidRequest, GetDnsidResult> {
10
- description: string;
11
- withAuth: boolean;
12
- requiredPermissions: string;
13
- endpointUrl: (opts: GetDnsidRequest) => string;
14
- body: () => undefined;
15
- }
@@ -1,33 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetDomainResult = {
3
- /** The domain name. Example: "example.com" */
4
- 'name': string;
5
- /** The status of the domain verification. Example: "verified" */
6
- 'status': 'pending' | 'verified';
7
- /** The hostname to add to your domain's DNS records as a TXT record to verify the domain. Example: "nfverify1608026055" */
8
- 'hostname': string;
9
- /** The token to add as the content of the TXT record to verify the domain. Example: "e596987b52855a4a773ef580ce2985d7746b37ce8b2a443d20fa27b913d8f57" */
10
- 'token': string;
11
- /** A list of subdomains added to this domain. */
12
- 'subdomains': {
13
- /** The subdomain added, or -default for the empty subdomain. Example: "app" */
14
- 'name': string;
15
- /** The full domain including the subdomain. Example: "app.example.com" */
16
- 'fullName': string;
17
- }[];
18
- };
19
- export declare type GetDomainCall = (opts: GetDomainRequest) => Promise<ApiCallResponse<GetDomainResult>>;
20
- export declare type GetDomainRequest = {
21
- parameters: GetDomainParameters;
22
- };
23
- export declare type GetDomainParameters = {
24
- /** Name of the domain */ 'domain': string;
25
- };
26
- /** Gets details about domain */
27
- export declare class GetDomainEndpoint extends GetApiEndpoint<GetDomainRequest, GetDomainResult> {
28
- description: string;
29
- withAuth: boolean;
30
- requiredPermissions: string;
31
- endpointUrl: (opts: GetDomainRequest) => string;
32
- body: () => undefined;
33
- }
@@ -1,37 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetIntegrationResult = {
3
- /** Identifier for the integration. Example: "gcp-integration" */
4
- 'id': string;
5
- /** The name of the integration. Example: "GCP integration" */
6
- 'name': string;
7
- /** A short description of the integration. Example: "The integration description" */
8
- 'description'?: string;
9
- /** Cloud provider credential input, required fields dependent on which provider is chosen. */
10
- 'credentials': {
11
- /** Contents of a GCP key file. */
12
- 'keyfileJson'?: string;
13
- /** AWS access key. */
14
- 'accessKey'?: string;
15
- /** AWS secret key. */
16
- 'secretKey'?: string;
17
- /** DO API key. */
18
- 'apiKey'?: string;
19
- };
20
- /** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
21
- 'createdAt': string;
22
- };
23
- export declare type GetIntegrationCall = (opts: GetIntegrationRequest) => Promise<ApiCallResponse<GetIntegrationResult>>;
24
- export declare type GetIntegrationRequest = {
25
- parameters: GetIntegrationParameters;
26
- };
27
- export declare type GetIntegrationParameters = {
28
- /** ID of the provider integration */ 'integrationId': string;
29
- };
30
- /** Get information about the given integration */
31
- export declare class GetIntegrationEndpoint extends GetApiEndpoint<GetIntegrationRequest, GetIntegrationResult> {
32
- description: string;
33
- withAuth: boolean;
34
- requiredPermissions: string;
35
- endpointUrl: (opts: GetIntegrationRequest) => string;
36
- body: () => undefined;
37
- }
@@ -1,139 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetInvoiceDetailsResult = {
3
- /** Information about the billing period of the invoice. */
4
- 'period': {
5
- /** Unix timestamp of the start of the billing period. Example: 1655823815 */
6
- 'start': number;
7
- /** Unix timestamp of the end of the billing period. Example: 1655910214 */
8
- 'end': number;
9
- };
10
- /** Currency code for the currency the invoice is billed in. Example: "usd" */
11
- 'currency': string;
12
- /** Total cost of the invoice, in cents, including tax. Example: 1200 */
13
- 'total': number;
14
- /** Total cost of the invoice, in cents, excluding tax. Example: 1000 */
15
- 'subTotal': number;
16
- /** If `timestamp` is passed in, whether the invoice has been paid. */
17
- 'paid'?: boolean;
18
- /** Details about the tax on the invoice. */
19
- 'tax': {
20
- /** Percentage of subtotal to be applied as tax. Example: 20 */
21
- 'percent': number;
22
- /** Value of the tax on the invoice. Example: 200 */
23
- 'value': number;
24
- };
25
- /** An array of projects billed in this invoice. If `projectId` is passed in, only projects with a `projectId` matching the value will be returned. */
26
- 'projects': {
27
- /** ID of the project. Example: "default-project" */
28
- 'projectId': string;
29
- /** Name of the project Example: "Default Project" */
30
- 'projectName': string;
31
- /** Duration the project has been running in this billing period, in seconds. Example: 259200 */
32
- 'duration': string;
33
- /** 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. */
34
- 'items': {
35
- /** Duration the object has been running in this billing period, in seconds. Example: 172800 */
36
- 'duration': string;
37
- /** Details about the price of a object, broken down by resource type. */
38
- 'price': {
39
- /** Price of CPU usage for this object, in cents. Example: 200 */
40
- 'cpu': number;
41
- /** Price of memory usage for this object, in cents. Example: 200 */
42
- 'memory': number;
43
- /** Price of storage usage for this object, in cents. Example: 200 */
44
- 'storage': number;
45
- /** Total price for this object, in cents. Example: 600 */
46
- 'total': number;
47
- };
48
- /** The ID of the object. Example: "example-service" */
49
- 'nfObjectId': string;
50
- /** The name of the object. Example: "Example Service" */
51
- 'nfObjectName': string;
52
- /** The type of the object. Example: "service" */
53
- 'nfObjectType': 'job' | 'service' | 'addon' | 'volume';
54
- }[];
55
- /** Details about the price of a project, broken down by resource type. */
56
- 'price': {
57
- /** Price of CPU usage for this project, in cents. Example: 200 */
58
- 'cpu': number;
59
- /** Price of memory usage for this project, in cents. Example: 200 */
60
- 'memory': number;
61
- /** Price of storage usage for this project, in cents. Example: 200 */
62
- 'storage': number;
63
- /** Total price for this project, in cents. Example: 600 */
64
- 'total': number;
65
- };
66
- /** Details about the price of a project, broken down by object type. */
67
- 'objectTypeTotals': {
68
- 'addon'?: {
69
- /** Details about the price for all addons in this project, broken down by resource type. */
70
- 'price'?: {
71
- /** Price of CPU usage for all addons in this project, in cents. Example: 200 */
72
- 'cpu': number;
73
- /** Price of memory usage for all addons in this project, in cents. Example: 200 */
74
- 'memory': number;
75
- /** Price of storage usage for all addons in this project, in cents. Example: 200 */
76
- 'storage': number;
77
- /** Total price for all addons in this project, in cents. Example: 600 */
78
- 'total': number;
79
- };
80
- /** Duration addons have been running in this billing period, in seconds. Example: 172800 */
81
- 'duration': number;
82
- };
83
- 'service'?: {
84
- /** Details about the price for all services in this project, broken down by resource type. */
85
- 'price'?: {
86
- /** Price of CPU usage for all services in this project, in cents. Example: 200 */
87
- 'cpu': number;
88
- /** Price of memory usage for all services in this project, in cents. Example: 200 */
89
- 'memory': number;
90
- /** Price of storage usage for all services in this project, in cents. Example: 200 */
91
- 'storage': number;
92
- /** Total price for all services in this project, in cents. Example: 600 */
93
- 'total': number;
94
- };
95
- /** Duration services have been running in this billing period, in seconds. Example: 172800 */
96
- 'duration': number;
97
- };
98
- 'job'?: {
99
- /** Details about the price for all jobs in this project, broken down by resource type. */
100
- 'price'?: {
101
- /** Price of CPU usage for all jobs in this project, in cents. Example: 200 */
102
- 'cpu': number;
103
- /** Price of memory usage for all jobs in this project, in cents. Example: 200 */
104
- 'memory': number;
105
- /** Price of storage usage for all jobs in this project, in cents. Example: 200 */
106
- 'storage': number;
107
- /** Total price for all jobs in this project, in cents. Example: 600 */
108
- 'total': number;
109
- };
110
- /** Duration jobs have been running in this billing period, in seconds. Example: 172800 */
111
- 'duration': number;
112
- };
113
- };
114
- }[];
115
- };
116
- export declare type GetInvoiceDetailsCall = (opts: GetInvoiceDetailsRequest) => Promise<ApiCallResponse<GetInvoiceDetailsResult>>;
117
- export declare type GetInvoiceDetailsRequest = {
118
- options?: GetInvoiceDetailsOptions;
119
- };
120
- export declare type GetInvoiceDetailsOptions = {
121
- /** Timestamp of an invoice. If passed in, this endpoint will return details about the invoice that time belongs to. */
122
- 'timestamp'?: number;
123
- /** ID of a project. If passed in, only details about that project will be returned. */
124
- 'projectId'?: string;
125
- /** ID of a addon. If passed in, only details about that addon will be returned. */
126
- 'addonId'?: string;
127
- /** ID of a service. If passed in, only details about that service will be returned. */
128
- 'serviceId'?: string;
129
- /** ID of a job. If passed in, only details about that job will be returned. */
130
- 'jobId'?: string;
131
- };
132
- /** 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. */
133
- export declare class GetInvoiceDetailsEndpoint extends GetApiEndpoint<GetInvoiceDetailsRequest, GetInvoiceDetailsResult> {
134
- description: string;
135
- withAuth: boolean;
136
- requiredPermissions: string;
137
- endpointUrl: (opts: GetInvoiceDetailsRequest) => string;
138
- body: () => undefined;
139
- }
@@ -1,49 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetJobBranchesResult = {
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 GetJobBranchesCall = (opts: GetJobBranchesRequest) => Promise<ApiCallResponse<GetJobBranchesResult>>;
25
- export declare type GetJobBranchesRequest = {
26
- parameters: GetJobBranchesParameters;
27
- options?: GetJobBranchesOptions;
28
- };
29
- export declare type GetJobBranchesParameters = {
30
- /** ID of the project */ 'projectId': string;
31
- /** ID of the job */
32
- 'jobId': string;
33
- };
34
- export declare type GetJobBranchesOptions = {
35
- /** The number of results to display per request. Maximum of 100 results per page. */
36
- 'per_page'?: number;
37
- /** The page number to access. */
38
- 'page'?: number;
39
- /** The cursor returned from the previous page of results, used to request the next page. */
40
- 'cursor'?: string;
41
- };
42
- /** Gets information about the branches of the given job. */
43
- export declare class GetJobBranchesEndpoint extends GetApiEndpoint<GetJobBranchesRequest, GetJobBranchesResult> {
44
- description: string;
45
- withAuth: boolean;
46
- requiredPermissions: string;
47
- endpointUrl: (opts: GetJobBranchesRequest) => string;
48
- body: () => undefined;
49
- }
@@ -1,42 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetJobBuildResult = {
3
- /** ID of the build. Example: "joyous-view-6290" */
4
- 'id': string;
5
- /** Name of the branch the built commit belongs to. Example: "main" */
6
- 'branch'?: string;
7
- /** ID of the pull request the commit belongs to. */
8
- 'pullRequestId'?: number;
9
- /** The status of the build. Example: "SUCCESS" */
10
- 'status'?: 'PENDING' | 'STARTING' | 'CLONING' | 'BUILDING' | 'UPLOADING' | 'ABORTED' | 'FAILURE' | 'SUCCESS' | 'CRASHED';
11
- /** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
12
- 'sha'?: string;
13
- /** Whether the build has finished. Example: true */
14
- 'concluded'?: boolean;
15
- /** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
16
- 'createdAt'?: string;
17
- /** Whether the build was successful. Example: true */
18
- 'success'?: boolean;
19
- /** Description of the build status. Example: "Image successfully built" */
20
- 'message'?: string;
21
- /** Timestamp of the build concluding. Example: 1606237973 */
22
- 'buildConcludedAt'?: number;
23
- };
24
- export declare type GetJobBuildCall = (opts: GetJobBuildRequest) => Promise<ApiCallResponse<GetJobBuildResult>>;
25
- export declare type GetJobBuildRequest = {
26
- parameters: GetJobBuildParameters;
27
- };
28
- export declare type GetJobBuildParameters = {
29
- /** ID of the project */ 'projectId': string;
30
- /** ID of the job */
31
- 'jobId': string;
32
- /** ID of the job build */
33
- 'buildId': string;
34
- };
35
- /** Gets information about a build for the job */
36
- export declare class GetJobBuildEndpoint extends GetApiEndpoint<GetJobBuildRequest, GetJobBuildResult> {
37
- description: string;
38
- withAuth: boolean;
39
- requiredPermissions: string;
40
- endpointUrl: (opts: GetJobBuildRequest) => string;
41
- body: () => undefined;
42
- }
@@ -1,71 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetJobBuildargumentdetailsResult = {
3
- /** Details about all the secrets accessible by the service. */
4
- 'buildArguments': {
5
- /** A stored secret and details about it and its value. This can have the name of any saved secret. */
6
- 'MY_VARIABLE_NAME'?: {
7
- /** The value of the secret. Example: "abcdef123456" */
8
- 'value': any;
9
- /** The ID of the secret group the secret is inherited from, if applicable. Example: "example-secret" */
10
- 'inheritedFrom'?: string;
11
- /** The ID of the addon the secret is inherited from, if applicable. Example: "example-addon" */
12
- 'addonId'?: string;
13
- /** The priority of the secret group the secret is inherited from, if applicable. Example: 10 */
14
- 'priority'?: number;
15
- /** An array containing data about other places the secret has been inherited from, but that are not being used as a secret with the same key exists with a higher priority. */
16
- 'overriding': {
17
- /** The value of the secret. Example: "ffffffffffff" */
18
- 'value': any;
19
- /** The ID of the secret group the secret is inherited from. Example: "secret-2" */
20
- 'inheritedFrom': string;
21
- /** The ID of the addon the secret is inherited from, if applicable. Example: "addon-2" */
22
- 'addonId'?: string;
23
- /** The priority of the secret group the secret is inherited from. */
24
- 'priority': number;
25
- }[];
26
- };
27
- };
28
- /** Details about all the secrets accessible by the service. */
29
- 'buildFiles': {
30
- /** A stored secret and details about it and its value. This can have the name of any saved secret. */
31
- '/dir/fileName'?: {
32
- /** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
33
- 'value': {
34
- /** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=" */
35
- 'data'?: string;
36
- /** Original encoding of the file Example: "utf-8" */
37
- 'encoding'?: string;
38
- };
39
- /** The ID of the secret group the secret is inherited from, if applicable. Example: "example-secret" */
40
- 'inheritedFrom'?: string;
41
- /** The priority of the secret group the secret is inherited from, if applicable. Example: 10 */
42
- 'priority'?: number;
43
- /** An array containing data about other places the file has been inherited from, but that are not being used as a secret with the same file path exists with a higher priority. */
44
- 'overriding': {
45
- /** The value of the secret. Example: "ffffffffffff" */
46
- 'value': any;
47
- /** The ID of the secret group the secret is inherited from. Example: "secret-2" */
48
- 'inheritedFrom': string;
49
- /** The priority of the secret group the secret is inherited from. */
50
- 'priority': number;
51
- }[];
52
- };
53
- };
54
- };
55
- export declare type GetJobBuildargumentdetailsCall = (opts: GetJobBuildargumentdetailsRequest) => Promise<ApiCallResponse<GetJobBuildargumentdetailsResult>>;
56
- export declare type GetJobBuildargumentdetailsRequest = {
57
- parameters: GetJobBuildargumentdetailsParameters;
58
- };
59
- export declare type GetJobBuildargumentdetailsParameters = {
60
- /** ID of the project */ 'projectId': string;
61
- /** ID of the job */
62
- 'jobId': string;
63
- };
64
- /** Get details about the build arguments accessible by the given job. Also requires the permission 'Project > Secrets > General > Read' */
65
- export declare class GetJobBuildargumentdetailsEndpoint extends GetApiEndpoint<GetJobBuildargumentdetailsRequest, GetJobBuildargumentdetailsResult> {
66
- description: string;
67
- withAuth: boolean;
68
- requiredPermissions: string;
69
- endpointUrl: (opts: GetJobBuildargumentdetailsRequest) => string;
70
- body: () => undefined;
71
- }
@@ -1,29 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetJobBuildargumentsResult = {
3
- /** The build arguments, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain secrets saved to this entity. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked secret groups. Otherwise, this will contain both. Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
4
- 'buildArguments': any;
5
- /** The build secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
6
- 'buildFiles': any;
7
- };
8
- export declare type GetJobBuildargumentsCall = (opts: GetJobBuildargumentsRequest) => Promise<ApiCallResponse<GetJobBuildargumentsResult>>;
9
- export declare type GetJobBuildargumentsRequest = {
10
- parameters: GetJobBuildargumentsParameters;
11
- options?: GetJobBuildargumentsOptions;
12
- };
13
- export declare type GetJobBuildargumentsParameters = {
14
- /** ID of the project */ 'projectId': string;
15
- /** ID of the job */
16
- 'jobId': string;
17
- };
18
- export declare type GetJobBuildargumentsOptions = {
19
- /** Which secrets to display - if set to `this` only the group's secrets are displayed, if set to `inherited` only secrets from linked addons are displayed, if set to `all` or not provided, both are displayed. */
20
- 'show'?: string;
21
- };
22
- /** Gets the build arguments of the given job. If the API key does not have the permission 'Project > Secrets > General > Read', secrets inherited from secret groups will not be displayed. */
23
- export declare class GetJobBuildargumentsEndpoint extends GetApiEndpoint<GetJobBuildargumentsRequest, GetJobBuildargumentsResult> {
24
- description: string;
25
- withAuth: boolean;
26
- requiredPermissions: string;
27
- endpointUrl: (opts: GetJobBuildargumentsRequest) => string;
28
- body: () => undefined;
29
- }