@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,70 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetServicePortsResult = {
3
- /** An array of ports of the service. */
4
- 'ports': {
5
- /** The id used to identify the port across requests. Example: "eonyui" */
6
- 'id': string;
7
- /** The name of the port used in the public url and UI. Example: "port-1" */
8
- 'name': string;
9
- /** The port number. Example: 8080 */
10
- 'internalPort': number;
11
- /** The protocol used by the port. Example: "HTTP" */
12
- 'protocol': 'HTTP' | 'HTTP/2' | 'TCP' | 'UDP';
13
- /** If true, the port is exposed publicly. Example: true */
14
- 'public': boolean;
15
- /** DNS entry for this port. Example: "port-1--example-service--default-service--user-abc1.salvo.code.run" */
16
- 'dns'?: string;
17
- /** An array of domains that redirect to this port. */
18
- 'domains': {
19
- /** The custom domain redirecting to this port. Example: "app.example.com" */
20
- 'name': string;
21
- /** Details about the TLS certificate generation for this domain. */
22
- 'certificate': {
23
- /** Is the certificate in the process of being generated? */
24
- 'inProgress'?: boolean;
25
- /** The timestamp when the TLS certificate will expire. Example: "2022-04-26T09:25:02.000Z" */
26
- 'expiryDate'?: string;
27
- /** The timestamp when a new TLS certificate will be generated. Example: "2022-03-27T09:25:02.000Z" */
28
- 'refreshDate'?: string;
29
- };
30
- }[];
31
- /** Details about security settings for this port. */
32
- 'security'?: {
33
- /** An array of credentials to access the service. */
34
- 'credentials'?: {
35
- /** The username to access the service Example: "admin" */
36
- 'username': string;
37
- /** The password to access the service with this username. Example: "password123" */
38
- 'password': string;
39
- /** The type of authentication used Example: "basic-auth" */
40
- 'type': 'basic-auth';
41
- }[];
42
- /** An array of IP address policies. */
43
- 'policies'?: {
44
- /** An array of IP addresses used for this rule */
45
- 'addresses': string[];
46
- /** The action for this rule. Example: "DENY" */
47
- 'action': 'ALLOW' | 'DENY';
48
- }[];
49
- };
50
- /** Disable routing on the default code.run domain for public HTTP ports with custom domains. */
51
- 'disableNfDomain'?: boolean;
52
- }[];
53
- };
54
- export declare type GetServicePortsCall = (opts: GetServicePortsRequest) => Promise<ApiCallResponse<GetServicePortsResult>>;
55
- export declare type GetServicePortsRequest = {
56
- parameters: GetServicePortsParameters;
57
- };
58
- export declare type GetServicePortsParameters = {
59
- /** ID of the project */ 'projectId': string;
60
- /** ID of the service */
61
- 'serviceId': string;
62
- };
63
- /** Lists the ports for the given service. */
64
- export declare class GetServicePortsEndpoint extends GetApiEndpoint<GetServicePortsRequest, GetServicePortsResult> {
65
- description: string;
66
- withAuth: boolean;
67
- requiredPermissions: string;
68
- endpointUrl: (opts: GetServicePortsRequest) => string;
69
- body: () => undefined;
70
- }
@@ -1,49 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetServicePullrequestsResult = {
3
- /** A list of pull requests for this repository. */
4
- 'pullRequests'?: {
5
- /** ID number of the pull request. Example: 1 */
6
- 'id': number;
7
- /** Status of the pull request. Example: "OPEN" */
8
- 'state': string;
9
- /** Title of the pull request. Example: "Add new feature handling" */
10
- 'title': string;
11
- /** Name of the branch the pull request is merging from. Example: "feature/new-feature" */
12
- 'source': string;
13
- /** Name of the branch the pull request is being merged into. Example: "main" */
14
- 'destination': string;
15
- /** SHA of the most recent commit of the pull request. Example: "4f101d8821aeb3e4f81f95f3e886a2759ba7b9db" */
16
- 'sha': string;
17
- /** The timestamp the pull request was opened. Example: "2021-03-22T11:05:52.000Z" */
18
- 'created_at': string;
19
- /** The timestamp the pull request was last updated at. Example: "2021-05-11T16:05:43.000Z" */
20
- 'updated_at': string;
21
- 'html_url': string;
22
- }[];
23
- };
24
- export declare type GetServicePullrequestsCall = (opts: GetServicePullrequestsRequest) => Promise<ApiCallResponse<GetServicePullrequestsResult>>;
25
- export declare type GetServicePullrequestsRequest = {
26
- parameters: GetServicePullrequestsParameters;
27
- options?: GetServicePullrequestsOptions;
28
- };
29
- export declare type GetServicePullrequestsParameters = {
30
- /** ID of the project */ 'projectId': string;
31
- /** ID of the service */
32
- 'serviceId': string;
33
- };
34
- export declare type GetServicePullrequestsOptions = {
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 pull-requests of the given service. */
43
- export declare class GetServicePullrequestsEndpoint extends GetApiEndpoint<GetServicePullrequestsRequest, GetServicePullrequestsResult> {
44
- description: string;
45
- withAuth: boolean;
46
- requiredPermissions: string;
47
- endpointUrl: (opts: GetServicePullrequestsRequest) => string;
48
- body: () => undefined;
49
- }
@@ -1,29 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetServiceRuntimeenvironmentResult = {
3
- /** The runtime environment variables, 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: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
4
- 'runtimeEnvironment': any;
5
- /** The runtime 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
- 'runtimeFiles': any;
7
- };
8
- export declare type GetServiceRuntimeenvironmentCall = (opts: GetServiceRuntimeenvironmentRequest) => Promise<ApiCallResponse<GetServiceRuntimeenvironmentResult>>;
9
- export declare type GetServiceRuntimeenvironmentRequest = {
10
- parameters: GetServiceRuntimeenvironmentParameters;
11
- options?: GetServiceRuntimeenvironmentOptions;
12
- };
13
- export declare type GetServiceRuntimeenvironmentParameters = {
14
- /** ID of the project */ 'projectId': string;
15
- /** ID of the service */
16
- 'serviceId': string;
17
- };
18
- export declare type GetServiceRuntimeenvironmentOptions = {
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 runtime environment of the given service. 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 GetServiceRuntimeenvironmentEndpoint extends GetApiEndpoint<GetServiceRuntimeenvironmentRequest, GetServiceRuntimeenvironmentResult> {
24
- description: string;
25
- withAuth: boolean;
26
- requiredPermissions: string;
27
- endpointUrl: (opts: GetServiceRuntimeenvironmentRequest) => string;
28
- body: () => undefined;
29
- }
@@ -1,71 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
2
- export declare type GetServiceRuntimeenvironmentdetailsResult = {
3
- /** Details about all the secrets accessible by the service. */
4
- 'runtimeEnvironment': {
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
- 'runtimeFiles': {
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 GetServiceRuntimeenvironmentdetailsCall = (opts: GetServiceRuntimeenvironmentdetailsRequest) => Promise<ApiCallResponse<GetServiceRuntimeenvironmentdetailsResult>>;
56
- export declare type GetServiceRuntimeenvironmentdetailsRequest = {
57
- parameters: GetServiceRuntimeenvironmentdetailsParameters;
58
- };
59
- export declare type GetServiceRuntimeenvironmentdetailsParameters = {
60
- /** ID of the project */ 'projectId': string;
61
- /** ID of the service */
62
- 'serviceId': string;
63
- };
64
- /** Get details about the runtime environment accessible by the given service. Also requires the permission 'Project > Secrets > General > Read' */
65
- export declare class GetServiceRuntimeenvironmentdetailsEndpoint extends GetApiEndpoint<GetServiceRuntimeenvironmentdetailsRequest, GetServiceRuntimeenvironmentdetailsResult> {
66
- description: string;
67
- withAuth: boolean;
68
- requiredPermissions: string;
69
- endpointUrl: (opts: GetServiceRuntimeenvironmentdetailsRequest) => string;
70
- body: () => undefined;
71
- }
@@ -1,211 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetServiceResult = {
3
- /** Identifier for the service Example: "example-service" */
4
- 'id': string;
5
- /** Full identifier used for service deployment Example: "/example-user/default-project/example-service" */
6
- 'appId': string;
7
- /** Service name Example: "Example Service" */
8
- 'name': string;
9
- /** A short description of the service Example: "This is the service description" */
10
- 'description'?: string;
11
- /** ID of the project that the service belongs to Example: "default-project" */
12
- 'projectId': string;
13
- /** Type of the service (combined, build or deployment) Example: "combined" */
14
- 'serviceType': 'combined' | 'build' | 'deployment';
15
- /** The time the service was created. Example: "2021-01-20T11:19:53.175Z" */
16
- 'createdAt': string;
17
- /** Whether Continuous Integration is disabled */
18
- 'disabledCI': boolean;
19
- /** Whether Continuous Deployment is disabled */
20
- 'disabledCD': boolean;
21
- 'billing': {
22
- /** ID of the billing plan used by this service Example: "nf-compute-20" */
23
- 'deploymentPlan': string;
24
- };
25
- /** Details about the current service status. */
26
- 'status': {
27
- /** Details about the status of the most recent build. */
28
- 'build'?: {
29
- /** The current status of the build. Example: "SUCCESS" */
30
- 'status': 'PENDING' | 'STARTING' | 'CLONING' | 'BUILDING' | 'UPLOADING' | 'ABORTED' | 'FAILURE' | 'SUCCESS' | 'CRASHED';
31
- /** The timestamp of when the build reached this status. Example: "2021-11-29T11:47:16.624Z" */
32
- 'lastTransitionTime'?: string;
33
- };
34
- /** Details about the current deployment status. */
35
- 'deployment'?: {
36
- /** The current status of the deployment. Example: "COMPLETED" */
37
- 'status': 'IN_PROGRESS' | 'COMPLETED';
38
- /** The reason the current deployment was started. Example: "DEPLOYING" */
39
- 'reason': 'SCALING' | 'DEPLOYING';
40
- /** The timestamp of when the deployment reached this status. Example: "2021-11-29T11:47:16.624Z" */
41
- 'lastTransitionTime'?: string;
42
- };
43
- };
44
- /** Is the service paused? */
45
- 'servicePaused': boolean;
46
- 'vcsData'?: {
47
- /** URL of the repository being built Example: "https://github.com/northflank/gatsby-with-northflank" */
48
- 'projectUrl': string;
49
- /** VCS provider for the repo being built Example: "github" */
50
- 'projectType': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted';
51
- /** ID of the self-hosted VCS, if applicable. Example: "example-team/self-hosted-vcs" */
52
- 'selfHostedVcsId'?: string;
53
- /** Branch of the repo being built Example: "master" */
54
- 'projectBranch'?: string;
55
- /** Whether the repo is being accessed without authentication. */
56
- 'publicRepo'?: boolean;
57
- /** Working directory used by the dockerfile Example: "/" */
58
- 'dockerWorkDir': string;
59
- /** File path of the Dockerfile Example: "/Dockerfile" */
60
- 'dockerFilePath': string;
61
- };
62
- 'deployment'?: {
63
- /** Region where this service is deployed and/or built Example: "europe-west" */
64
- 'region'?: string;
65
- /** Number of instances/replicas running Example: 1 */
66
- 'instances'?: number;
67
- /** Data about a deployment from an external registry. */
68
- 'external'?: {
69
- /** Path of the external image excluding the hostname */
70
- 'imagePath': string;
71
- /** Registry provider hosting the external image */
72
- 'registryProvider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
73
- /** Does the image require authentication */
74
- 'privateImage': boolean;
75
- };
76
- 'internal'?: {
77
- /** Database ID of deployed entity Example: "example-service" */
78
- 'nfObjectId': string;
79
- /** Type of deployed entity Example: "service" */
80
- 'nfObjectType': 'service';
81
- /** URL of the repository being deployed Example: "https://github.com/northflank/gatsby-with-northflank" */
82
- 'repository': string;
83
- /** Branch of the repo being deployed Example: "master" */
84
- 'branch': string;
85
- /** Commit SHA to be deployed. `latest` means the latest commit is automatically being deployed. Example: "latest" */
86
- 'buildSHA': string;
87
- /** Currently deployed commit SHA. If buildSHA is set to `latest`, this will show the SHA of the latest commit. Example: "262ed9817b3cad5142fbceabe0c9e371e390d616" */
88
- 'deployedSHA'?: string;
89
- };
90
- /** Details about the Docker overrides for this deployment. */
91
- 'docker'?: {
92
- /** Details about the CMD override for this deployment. */
93
- 'cmd': {
94
- /** Whether the CMD override is enabled. Example: true */
95
- 'enabled': boolean;
96
- /** The CMD to run instead of the default if CMD override is enabled. Example: "nginx -g" */
97
- 'value': string;
98
- };
99
- /** Details about the entrypoint override for this deployment. */
100
- 'entrypoint': {
101
- /** Whether the entrypoint override is enabled. Example: true */
102
- 'enabled': boolean;
103
- /** The CMD to run instead of the default if entrypoint override is enabled. Example: "/docker-entrypoint.sh" */
104
- 'value': string;
105
- };
106
- };
107
- /** Details about storage settings for this deployment. */
108
- 'storage'?: {
109
- /** Details about ephemeral storage settings for this deployment. */
110
- 'ephemeralStorage'?: {
111
- /** Ephemeral storage per container in MB Example: 1024 */
112
- 'storageSize': number;
113
- };
114
- };
115
- };
116
- 'buildConfiguration'?: {
117
- 'branchRestrictions'?: string[];
118
- 'prRestrictions'?: string[];
119
- 'pathIgnoreRules': string[];
120
- };
121
- 'buildEngineConfiguration'?: {
122
- /** The build engine used. Example: "buildpack" */
123
- 'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
124
- /** Details about Buildpack settings. */
125
- 'buildpack'?: {
126
- /** The Buildpack stack used. Example: "HEROKU_20" */
127
- 'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
128
- /** Array of custom Buildpacks used. */
129
- 'buildpackLocators'?: string[];
130
- /** Should build dependencies be cached? */
131
- 'useCache'?: boolean;
132
- };
133
- /** Details about Buildkit settings. */
134
- 'buildkit'?: {
135
- /** Should intermediate image layers be cached? */
136
- 'useCache'?: boolean;
137
- };
138
- /** Details about Kaniko settings. */
139
- 'kaniko'?: {
140
- /** Should intermediate image layers be cached? */
141
- 'useCache'?: boolean;
142
- };
143
- };
144
- /** An array of ports of the service. */
145
- 'ports': {
146
- /** The id used to identify the port across requests. Example: "eonyui" */
147
- 'id': string;
148
- /** The name of the port used in the public url and UI. Example: "port-1" */
149
- 'name': string;
150
- /** The port number. Example: 8080 */
151
- 'internalPort': number;
152
- /** The protocol used by the port. Example: "HTTP" */
153
- 'protocol': 'HTTP' | 'HTTP/2' | 'TCP' | 'UDP';
154
- /** If true, the port is exposed publicly. Example: true */
155
- 'public': boolean;
156
- /** DNS entry for this port. Example: "port-1--example-service--default-service--user-abc1.salvo.code.run" */
157
- 'dns'?: string;
158
- /** An array of domains that redirect to this port. */
159
- 'domains': {
160
- /** The custom domain redirecting to this port. Example: "app.example.com" */
161
- 'name': string;
162
- /** Details about the TLS certificate generation for this domain. */
163
- 'certificate': {
164
- /** Is the certificate in the process of being generated? */
165
- 'inProgress'?: boolean;
166
- /** The timestamp when the TLS certificate will expire. Example: "2022-04-26T09:25:02.000Z" */
167
- 'expiryDate'?: string;
168
- /** The timestamp when a new TLS certificate will be generated. Example: "2022-03-27T09:25:02.000Z" */
169
- 'refreshDate'?: string;
170
- };
171
- }[];
172
- /** Details about security settings for this port. */
173
- 'security'?: {
174
- /** An array of credentials to access the service. */
175
- 'credentials'?: {
176
- /** The username to access the service Example: "admin" */
177
- 'username': string;
178
- /** The password to access the service with this username. Example: "password123" */
179
- 'password': string;
180
- /** The type of authentication used Example: "basic-auth" */
181
- 'type': 'basic-auth';
182
- }[];
183
- /** An array of IP address policies. */
184
- 'policies'?: {
185
- /** An array of IP addresses used for this rule */
186
- 'addresses': string[];
187
- /** The action for this rule. Example: "DENY" */
188
- 'action': 'ALLOW' | 'DENY';
189
- }[];
190
- };
191
- /** Disable routing on the default code.run domain for public HTTP ports with custom domains. */
192
- 'disableNfDomain'?: boolean;
193
- }[];
194
- };
195
- export declare type GetServiceCall = (opts: GetServiceRequest) => Promise<ApiCallResponse<GetServiceResult>>;
196
- export declare type GetServiceRequest = {
197
- parameters: GetServiceParameters;
198
- };
199
- export declare type GetServiceParameters = {
200
- /** ID of the project */ 'projectId': string;
201
- /** ID of the service */
202
- 'serviceId': string;
203
- };
204
- /** Gets information about the given service. */
205
- export declare class GetServiceEndpoint extends GetApiEndpoint<GetServiceRequest, GetServiceResult> {
206
- description: string;
207
- withAuth: boolean;
208
- requiredPermissions: string;
209
- endpointUrl: (opts: GetServiceRequest) => string;
210
- body: () => undefined;
211
- }
@@ -1,30 +0,0 @@
1
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
2
- export declare type GetSubdomainResult = {
3
- /** The record type to use for the DNS record to verify the subdomain - always CNAME for subdomains. Example: "CNAME" */
4
- 'recordType': string;
5
- /** The subdomain. Example: "site" */
6
- 'name': string;
7
- /** The full domain name with subdomain Example: "site.example.com" */
8
- 'fullName': string;
9
- /** The content to set the DNS record to Example: "site.example.com.user-1234.dns.northflank.app" */
10
- 'content': string;
11
- /** Whether the subdomain has been verified successfully and can be used. Example: true */
12
- 'verified': boolean;
13
- };
14
- export declare type GetSubdomainCall = (opts: GetSubdomainRequest) => Promise<ApiCallResponse<GetSubdomainResult>>;
15
- export declare type GetSubdomainRequest = {
16
- parameters: GetSubdomainParameters;
17
- };
18
- export declare type GetSubdomainParameters = {
19
- /** Name of the domain */ 'domain': string;
20
- /** Name of the subdomain */
21
- 'subdomain': string;
22
- };
23
- /** Gets details about the given subdomain */
24
- export declare class GetSubdomainEndpoint extends GetApiEndpoint<GetSubdomainRequest, GetSubdomainResult> {
25
- description: string;
26
- withAuth: boolean;
27
- requiredPermissions: string;
28
- endpointUrl: (opts: GetSubdomainRequest) => string;
29
- body: () => undefined;
30
- }
@@ -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
- }