@northflank/js-client 0.4.1 → 0.5.0-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 (257) hide show
  1. package/dist/cjs/api-client.d.ts +6013 -0
  2. package/dist/cjs/api-client.js +1 -0
  3. package/dist/cjs/package.json +3 -0
  4. package/dist/esm/api-client.d.ts +6013 -0
  5. package/dist/esm/api-client.js +15 -0
  6. package/dist/esm/package.json +3 -0
  7. package/package.json +12 -19
  8. package/dist/api-client.d.ts +0 -481
  9. package/dist/api-client.js +0 -748
  10. package/dist/api-endpoint.d.ts +0 -63
  11. package/dist/api-endpoint.js +0 -216
  12. package/dist/context/api-client-context-provider.d.ts +0 -47
  13. package/dist/context/api-client-context-provider.js +0 -332
  14. package/dist/context/api-client-file-context-provider.d.ts +0 -11
  15. package/dist/context/api-client-file-context-provider.js +0 -138
  16. package/dist/context/api-client-in-memory-context-provider.d.ts +0 -6
  17. package/dist/context/api-client-in-memory-context-provider.js +0 -82
  18. package/dist/context/index.d.ts +0 -3
  19. package/dist/context/index.js +0 -15
  20. package/dist/endpoints/abort/addon/backup.d.ts +0 -21
  21. package/dist/endpoints/abort/addon/backup.js +0 -36
  22. package/dist/endpoints/abort/addon/restore.d.ts +0 -26
  23. package/dist/endpoints/abort/addon/restore.js +0 -36
  24. package/dist/endpoints/abort/job/build.d.ts +0 -21
  25. package/dist/endpoints/abort/job/build.js +0 -36
  26. package/dist/endpoints/abort/job/run.d.ts +0 -21
  27. package/dist/endpoints/abort/job/run.js +0 -36
  28. package/dist/endpoints/abort/service/build.d.ts +0 -21
  29. package/dist/endpoints/abort/service/build.js +0 -36
  30. package/dist/endpoints/add/domain/subdomain.d.ts +0 -33
  31. package/dist/endpoints/add/domain/subdomain.js +0 -36
  32. package/dist/endpoints/add/registryCredentials.d.ts +0 -47
  33. package/dist/endpoints/add/registryCredentials.js +0 -36
  34. package/dist/endpoints/assign/subdomain/service.d.ts +0 -28
  35. package/dist/endpoints/assign/subdomain/service.js +0 -36
  36. package/dist/endpoints/backup/addon.d.ts +0 -51
  37. package/dist/endpoints/backup/addon.js +0 -36
  38. package/dist/endpoints/create/addon.d.ts +0 -90
  39. package/dist/endpoints/create/addon.js +0 -36
  40. package/dist/endpoints/create/domain.d.ts +0 -27
  41. package/dist/endpoints/create/domain.js +0 -36
  42. package/dist/endpoints/create/job/cron.d.ts +0 -157
  43. package/dist/endpoints/create/job/cron.js +0 -36
  44. package/dist/endpoints/create/job/manual.d.ts +0 -147
  45. package/dist/endpoints/create/job/manual.js +0 -36
  46. package/dist/endpoints/create/project.d.ts +0 -29
  47. package/dist/endpoints/create/project.js +0 -36
  48. package/dist/endpoints/create/secret.d.ts +0 -79
  49. package/dist/endpoints/create/secret.js +0 -36
  50. package/dist/endpoints/create/service/build.d.ts +0 -116
  51. package/dist/endpoints/create/service/build.js +0 -36
  52. package/dist/endpoints/create/service/combined.d.ts +0 -166
  53. package/dist/endpoints/create/service/combined.js +0 -36
  54. package/dist/endpoints/create/service/deployment.d.ts +0 -137
  55. package/dist/endpoints/create/service/deployment.js +0 -36
  56. package/dist/endpoints/delete/addon.d.ts +0 -19
  57. package/dist/endpoints/delete/addon.js +0 -36
  58. package/dist/endpoints/delete/backup.d.ts +0 -21
  59. package/dist/endpoints/delete/backup.js +0 -36
  60. package/dist/endpoints/delete/domain.d.ts +0 -17
  61. package/dist/endpoints/delete/domain.js +0 -36
  62. package/dist/endpoints/delete/job.d.ts +0 -19
  63. package/dist/endpoints/delete/job.js +0 -36
  64. package/dist/endpoints/delete/project.d.ts +0 -17
  65. package/dist/endpoints/delete/project.js +0 -36
  66. package/dist/endpoints/delete/registryCredentials.d.ts +0 -17
  67. package/dist/endpoints/delete/registryCredentials.js +0 -36
  68. package/dist/endpoints/delete/secret.d.ts +0 -19
  69. package/dist/endpoints/delete/secret.js +0 -36
  70. package/dist/endpoints/delete/secretLink.d.ts +0 -21
  71. package/dist/endpoints/delete/secretLink.js +0 -36
  72. package/dist/endpoints/delete/service.d.ts +0 -19
  73. package/dist/endpoints/delete/service.js +0 -36
  74. package/dist/endpoints/delete/subdomain.d.ts +0 -19
  75. package/dist/endpoints/delete/subdomain.js +0 -36
  76. package/dist/endpoints/get/addon/backup/download.d.ts +0 -24
  77. package/dist/endpoints/get/addon/backup/download.js +0 -36
  78. package/dist/endpoints/get/addon/backup.d.ts +0 -46
  79. package/dist/endpoints/get/addon/backup.js +0 -36
  80. package/dist/endpoints/get/addon/backups.d.ts +0 -54
  81. package/dist/endpoints/get/addon/backups.js +0 -40
  82. package/dist/endpoints/get/addon/containers.d.ts +0 -40
  83. package/dist/endpoints/get/addon/containers.js +0 -40
  84. package/dist/endpoints/get/addon/credentials.d.ts +0 -24
  85. package/dist/endpoints/get/addon/credentials.js +0 -36
  86. package/dist/endpoints/get/addon/types.d.ts +0 -48
  87. package/dist/endpoints/get/addon/types.js +0 -36
  88. package/dist/endpoints/get/addon/version.d.ts +0 -53
  89. package/dist/endpoints/get/addon/version.js +0 -36
  90. package/dist/endpoints/get/addon.d.ts +0 -69
  91. package/dist/endpoints/get/addon.js +0 -36
  92. package/dist/endpoints/get/dnsId.d.ts +0 -15
  93. package/dist/endpoints/get/dnsId.js +0 -36
  94. package/dist/endpoints/get/domain.d.ts +0 -33
  95. package/dist/endpoints/get/domain.js +0 -36
  96. package/dist/endpoints/get/job/buildArguments.d.ts +0 -19
  97. package/dist/endpoints/get/job/buildArguments.js +0 -36
  98. package/dist/endpoints/get/job/builds.d.ts +0 -50
  99. package/dist/endpoints/get/job/builds.js +0 -39
  100. package/dist/endpoints/get/job/containers.d.ts +0 -40
  101. package/dist/endpoints/get/job/containers.js +0 -40
  102. package/dist/endpoints/get/job/deployment.d.ts +0 -51
  103. package/dist/endpoints/get/job/deployment.js +0 -36
  104. package/dist/endpoints/get/job/environment.d.ts +0 -24
  105. package/dist/endpoints/get/job/environment.js +0 -40
  106. package/dist/endpoints/get/job/environmentDetails.d.ts +0 -42
  107. package/dist/endpoints/get/job/environmentDetails.js +0 -36
  108. package/dist/endpoints/get/job/healthChecks.d.ts +0 -44
  109. package/dist/endpoints/get/job/healthChecks.js +0 -36
  110. package/dist/endpoints/get/job/run.d.ts +0 -42
  111. package/dist/endpoints/get/job/run.js +0 -36
  112. package/dist/endpoints/get/job/runs.d.ts +0 -52
  113. package/dist/endpoints/get/job/runs.js +0 -39
  114. package/dist/endpoints/get/job.d.ts +0 -86
  115. package/dist/endpoints/get/job.js +0 -36
  116. package/dist/endpoints/get/project.d.ts +0 -72
  117. package/dist/endpoints/get/project.js +0 -36
  118. package/dist/endpoints/get/registryCredentials.d.ts +0 -34
  119. package/dist/endpoints/get/registryCredentials.js +0 -36
  120. package/dist/endpoints/get/secret.d.ts +0 -55
  121. package/dist/endpoints/get/secret.js +0 -39
  122. package/dist/endpoints/get/secretDetails.d.ts +0 -63
  123. package/dist/endpoints/get/secretDetails.js +0 -36
  124. package/dist/endpoints/get/secretLink.d.ts +0 -44
  125. package/dist/endpoints/get/secretLink.js +0 -36
  126. package/dist/endpoints/get/service/buildArguments.d.ts +0 -19
  127. package/dist/endpoints/get/service/buildArguments.js +0 -36
  128. package/dist/endpoints/get/service/builds.d.ts +0 -50
  129. package/dist/endpoints/get/service/builds.js +0 -40
  130. package/dist/endpoints/get/service/containers.d.ts +0 -40
  131. package/dist/endpoints/get/service/containers.js +0 -40
  132. package/dist/endpoints/get/service/deployment.d.ts +0 -51
  133. package/dist/endpoints/get/service/deployment.js +0 -36
  134. package/dist/endpoints/get/service/environmentVariableDetails.d.ts +0 -42
  135. package/dist/endpoints/get/service/environmentVariableDetails.js +0 -36
  136. package/dist/endpoints/get/service/environmentVariables.d.ts +0 -24
  137. package/dist/endpoints/get/service/environmentVariables.js +0 -40
  138. package/dist/endpoints/get/service/healthChecks.d.ts +0 -44
  139. package/dist/endpoints/get/service/healthChecks.js +0 -36
  140. package/dist/endpoints/get/service/ports.d.ts +0 -35
  141. package/dist/endpoints/get/service/ports.js +0 -36
  142. package/dist/endpoints/get/service.d.ts +0 -103
  143. package/dist/endpoints/get/service.js +0 -36
  144. package/dist/endpoints/get/subdomain.d.ts +0 -30
  145. package/dist/endpoints/get/subdomain.js +0 -36
  146. package/dist/endpoints/import/addon/backup.d.ts +0 -31
  147. package/dist/endpoints/import/addon/backup.js +0 -36
  148. package/dist/endpoints/list/addons.d.ts +0 -45
  149. package/dist/endpoints/list/addons.js +0 -39
  150. package/dist/endpoints/list/domains.d.ts +0 -34
  151. package/dist/endpoints/list/domains.js +0 -39
  152. package/dist/endpoints/list/jobs.d.ts +0 -44
  153. package/dist/endpoints/list/jobs.js +0 -39
  154. package/dist/endpoints/list/plans.d.ts +0 -30
  155. package/dist/endpoints/list/plans.js +0 -36
  156. package/dist/endpoints/list/projects.d.ts +0 -32
  157. package/dist/endpoints/list/projects.js +0 -39
  158. package/dist/endpoints/list/regions.d.ts +0 -18
  159. package/dist/endpoints/list/regions.js +0 -36
  160. package/dist/endpoints/list/registryCredentials.d.ts +0 -41
  161. package/dist/endpoints/list/registryCredentials.js +0 -39
  162. package/dist/endpoints/list/secrets.d.ts +0 -52
  163. package/dist/endpoints/list/secrets.js +0 -39
  164. package/dist/endpoints/list/services.d.ts +0 -44
  165. package/dist/endpoints/list/services.js +0 -39
  166. package/dist/endpoints/list/vcs.d.ts +0 -51
  167. package/dist/endpoints/list/vcs.js +0 -36
  168. package/dist/endpoints/pause/addon.d.ts +0 -19
  169. package/dist/endpoints/pause/addon.js +0 -36
  170. package/dist/endpoints/pause/service.d.ts +0 -19
  171. package/dist/endpoints/pause/service.js +0 -36
  172. package/dist/endpoints/restart/addon.d.ts +0 -19
  173. package/dist/endpoints/restart/addon.js +0 -36
  174. package/dist/endpoints/restart/service.d.ts +0 -19
  175. package/dist/endpoints/restart/service.js +0 -36
  176. package/dist/endpoints/restore/addon/backup.d.ts +0 -21
  177. package/dist/endpoints/restore/addon/backup.js +0 -36
  178. package/dist/endpoints/resume/addon.d.ts +0 -19
  179. package/dist/endpoints/resume/addon.js +0 -36
  180. package/dist/endpoints/resume/service.d.ts +0 -24
  181. package/dist/endpoints/resume/service.js +0 -36
  182. package/dist/endpoints/scale/addon.d.ts +0 -28
  183. package/dist/endpoints/scale/addon.js +0 -36
  184. package/dist/endpoints/scale/service.d.ts +0 -26
  185. package/dist/endpoints/scale/service.js +0 -36
  186. package/dist/endpoints/start/job/build.d.ts +0 -37
  187. package/dist/endpoints/start/job/build.js +0 -36
  188. package/dist/endpoints/start/job/run.d.ts +0 -37
  189. package/dist/endpoints/start/job/run.js +0 -36
  190. package/dist/endpoints/start/service/build.d.ts +0 -41
  191. package/dist/endpoints/start/service/build.js +0 -36
  192. package/dist/endpoints/unassign/subdomain.d.ts +0 -19
  193. package/dist/endpoints/unassign/subdomain.js +0 -36
  194. package/dist/endpoints/update/addon/networkSettings.d.ts +0 -26
  195. package/dist/endpoints/update/addon/networkSettings.js +0 -36
  196. package/dist/endpoints/update/addon/security.d.ts +0 -29
  197. package/dist/endpoints/update/addon/security.js +0 -36
  198. package/dist/endpoints/update/addon/version.d.ts +0 -24
  199. package/dist/endpoints/update/addon/version.js +0 -36
  200. package/dist/endpoints/update/job/buildArguments.d.ts +0 -24
  201. package/dist/endpoints/update/job/buildArguments.js +0 -36
  202. package/dist/endpoints/update/job/cmdOverride.d.ts +0 -24
  203. package/dist/endpoints/update/job/cmdOverride.js +0 -36
  204. package/dist/endpoints/update/job/deployment.d.ts +0 -37
  205. package/dist/endpoints/update/job/deployment.js +0 -36
  206. package/dist/endpoints/update/job/environment.d.ts +0 -24
  207. package/dist/endpoints/update/job/environment.js +0 -36
  208. package/dist/endpoints/update/job/healthChecks.d.ts +0 -45
  209. package/dist/endpoints/update/job/healthChecks.js +0 -36
  210. package/dist/endpoints/update/job/settings.d.ts +0 -30
  211. package/dist/endpoints/update/job/settings.js +0 -36
  212. package/dist/endpoints/update/registryCredentials.d.ts +0 -31
  213. package/dist/endpoints/update/registryCredentials.js +0 -36
  214. package/dist/endpoints/update/secret.d.ts +0 -54
  215. package/dist/endpoints/update/secret.js +0 -36
  216. package/dist/endpoints/update/secretLink.d.ts +0 -40
  217. package/dist/endpoints/update/secretLink.js +0 -36
  218. package/dist/endpoints/update/service/buildArguments.d.ts +0 -24
  219. package/dist/endpoints/update/service/buildArguments.js +0 -36
  220. package/dist/endpoints/update/service/buildOptions.d.ts +0 -52
  221. package/dist/endpoints/update/service/buildOptions.js +0 -36
  222. package/dist/endpoints/update/service/cmdOverride.d.ts +0 -24
  223. package/dist/endpoints/update/service/cmdOverride.js +0 -36
  224. package/dist/endpoints/update/service/deployment.d.ts +0 -37
  225. package/dist/endpoints/update/service/deployment.js +0 -36
  226. package/dist/endpoints/update/service/environmentVariables.d.ts +0 -29
  227. package/dist/endpoints/update/service/environmentVariables.js +0 -36
  228. package/dist/endpoints/update/service/healthChecks.d.ts +0 -45
  229. package/dist/endpoints/update/service/healthChecks.js +0 -36
  230. package/dist/endpoints/update/service/ports.d.ts +0 -55
  231. package/dist/endpoints/update/service/ports.js +0 -36
  232. package/dist/endpoints/verify/domain.d.ts +0 -17
  233. package/dist/endpoints/verify/domain.js +0 -36
  234. package/dist/endpoints/verify/subdomain.d.ts +0 -19
  235. package/dist/endpoints/verify/subdomain.js +0 -36
  236. package/dist/port-forward/client/api-helper.d.ts +0 -30
  237. package/dist/port-forward/client/api-helper.js +0 -102
  238. package/dist/port-forward/client/atomic-write.d.ts +0 -3
  239. package/dist/port-forward/client/atomic-write.js +0 -95
  240. package/dist/port-forward/client/host-file-ast.d.ts +0 -52
  241. package/dist/port-forward/client/host-file-ast.js +0 -279
  242. package/dist/port-forward/client/host-file.d.ts +0 -26
  243. package/dist/port-forward/client/host-file.js +0 -226
  244. package/dist/port-forward/client/loopback.d.ts +0 -4
  245. package/dist/port-forward/client/loopback.js +0 -219
  246. package/dist/port-forward/client/port-forwarder.d.ts +0 -86
  247. package/dist/port-forward/client/port-forwarder.js +0 -593
  248. package/dist/port-forward/client/port-tunnel-tcp.d.ts +0 -34
  249. package/dist/port-forward/client/port-tunnel-tcp.js +0 -209
  250. package/dist/port-forward/client/port-tunnel-udp.d.ts +0 -25
  251. package/dist/port-forward/client/port-tunnel-udp.js +0 -147
  252. package/dist/port-forward/client/port-tunnel.d.ts +0 -32
  253. package/dist/port-forward/client/port-tunnel.js +0 -2
  254. package/dist/port-forward/client/promise-mutex.d.ts +0 -4
  255. package/dist/port-forward/client/promise-mutex.js +0 -62
  256. package/dist/utils.d.ts +0 -8
  257. package/dist/utils.js +0 -97
@@ -1,39 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ListProjectsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Lists projects for the authenticated user or team. */
22
- var ListProjectsEndpoint = /** @class */ (function (_super) {
23
- __extends(ListProjectsEndpoint, _super);
24
- function ListProjectsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Lists projects for the authenticated user or team.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- var _a;
30
- var optionEntries = Object.entries((_a = opts === null || opts === void 0 ? void 0 : opts.options) !== null && _a !== void 0 ? _a : {});
31
- var optionStr = optionEntries.length > 0 ? '?' + optionEntries.map(function (a) { return a[0] + '=' + a[1]; }).join('&') : '';
32
- return "/v1/projects" + optionStr;
33
- };
34
- _this.body = function () { return undefined; };
35
- return _this;
36
- }
37
- return ListProjectsEndpoint;
38
- }(api_endpoint_1.GetApiEndpoint));
39
- exports.ListProjectsEndpoint = ListProjectsEndpoint;
@@ -1,18 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type ListRegionsResult = {
4
- /** An array of regions */
5
- 'regions': {
6
- /** The ID of the region. Example: "europe-west" */
7
- 'id': string;
8
- }[];
9
- };
10
- export declare type ListRegionsCall = (opts: ListRegionsRequest) => Promise<ApiCallResponse<ListRegionsResult>>;
11
- export declare type ListRegionsRequest = {};
12
- /** Lists available project regions */
13
- export declare class ListRegionsEndpoint extends GetApiEndpoint<ListRegionsRequest, ListRegionsResult> {
14
- description: string;
15
- withAuth: boolean;
16
- endpointUrl: (opts: ListRegionsRequest) => string;
17
- body: () => undefined;
18
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ListRegionsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Lists available project regions */
22
- var ListRegionsEndpoint = /** @class */ (function (_super) {
23
- __extends(ListRegionsEndpoint, _super);
24
- function ListRegionsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Lists available project regions';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/regions";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return ListRegionsEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.ListRegionsEndpoint = ListRegionsEndpoint;
@@ -1,41 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type ListRegistrycredentialsResult = {
4
- /** An array of credentials saved to this account. */
5
- 'credentials': {
6
- /** Identifier for the credentials. Example: "example-credentials" */
7
- 'id': string;
8
- /** Name of the saved credentials. Example: "Example Credentials" */
9
- 'name': string;
10
- /** Description of the saved credentials. Example: "This is a set of saved credentials." */
11
- 'description': string;
12
- /** Data about whether the credentials are restricted to certain projects. */
13
- 'restrictions': {
14
- /** Whether the credentials are restricted to specific projects. Example: true */
15
- 'restricted': boolean;
16
- /** An array of projects the credentials are restricted to, if applicable. */
17
- 'projects': string[];
18
- };
19
- /** The registry provider associated with this set of credentials. Example: "dockerhub" */
20
- 'provider': 'dockerhub' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
21
- }[];
22
- };
23
- export declare type ListRegistrycredentialsCall = (opts: ListRegistrycredentialsRequest) => Promise<ApiCallResponse<ListRegistrycredentialsResult>>;
24
- export declare type ListRegistrycredentialsRequest = {
25
- options?: ListRegistrycredentialsOptions;
26
- };
27
- export declare type ListRegistrycredentialsOptions = {
28
- /** The number of results to display per request. Maximum of 100 results per page. */
29
- 'per_page'?: number;
30
- /** The page number to access. */
31
- 'page'?: number;
32
- /** The cursor returned from the previous page of results, used to request the next page. */
33
- 'cursor'?: string;
34
- };
35
- /** Lists the container registry credentials saved to this account. Does not display secrets. */
36
- export declare class ListRegistrycredentialsEndpoint extends GetApiEndpoint<ListRegistrycredentialsRequest, ListRegistrycredentialsResult> {
37
- description: string;
38
- withAuth: boolean;
39
- endpointUrl: (opts: ListRegistrycredentialsRequest) => string;
40
- body: () => undefined;
41
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ListRegistrycredentialsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Lists the container registry credentials saved to this account. Does not display secrets. */
22
- var ListRegistrycredentialsEndpoint = /** @class */ (function (_super) {
23
- __extends(ListRegistrycredentialsEndpoint, _super);
24
- function ListRegistrycredentialsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Lists the container registry credentials saved to this account. Does not display secrets.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- var _a;
30
- var optionEntries = Object.entries((_a = opts === null || opts === void 0 ? void 0 : opts.options) !== null && _a !== void 0 ? _a : {});
31
- var optionStr = optionEntries.length > 0 ? '?' + optionEntries.map(function (a) { return a[0] + '=' + a[1]; }).join('&') : '';
32
- return "/v1/registry-credentials" + optionStr;
33
- };
34
- _this.body = function () { return undefined; };
35
- return _this;
36
- }
37
- return ListRegistrycredentialsEndpoint;
38
- }(api_endpoint_1.GetApiEndpoint));
39
- exports.ListRegistrycredentialsEndpoint = ListRegistrycredentialsEndpoint;
@@ -1,52 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type ListSecretsResult = {
4
- /** An array of secret groups */
5
- 'secrets': {
6
- /** Identifier for the secret group Example: "example-secret-group" */
7
- 'id': string;
8
- /** Secret group name Example: "Example secret group" */
9
- 'name': string;
10
- /** A short description of the secret group Example: "This is the secret group description" */
11
- 'description'?: string;
12
- /** The type of the created secret group Example: "environment" */
13
- 'secretType': 'environment' | 'arguments';
14
- /** The priority with which different secret groups will be merged Example: 10 */
15
- 'priority': number;
16
- /** Restriction settings of the secret */
17
- 'restrictions': {
18
- /** Is the secret restricted Example: true */
19
- 'restricted'?: boolean;
20
- /** List of Northflank services & jobs the secret is restricted to */
21
- 'nfObjects'?: {
22
- /** ID of the entity the secret is restricted to. Example: "example-service" */
23
- 'id': string;
24
- /** Type of the entity the secret is restricted to. Example: "service" */
25
- 'type': 'service' | 'job';
26
- }[];
27
- };
28
- }[];
29
- };
30
- export declare type ListSecretsCall = (opts: ListSecretsRequest) => Promise<ApiCallResponse<ListSecretsResult>>;
31
- export declare type ListSecretsRequest = {
32
- parameters: ListSecretsParameters;
33
- options?: ListSecretsOptions;
34
- };
35
- export declare type ListSecretsParameters = {
36
- /** ID of the project */ 'projectId': string;
37
- };
38
- export declare type ListSecretsOptions = {
39
- /** The number of results to display per request. Maximum of 100 results per page. */
40
- 'per_page'?: number;
41
- /** The page number to access. */
42
- 'page'?: number;
43
- /** The cursor returned from the previous page of results, used to request the next page. */
44
- 'cursor'?: string;
45
- };
46
- /** Gets a list of secrets belonging to the project */
47
- export declare class ListSecretsEndpoint extends GetApiEndpoint<ListSecretsRequest, ListSecretsResult> {
48
- description: string;
49
- withAuth: boolean;
50
- endpointUrl: (opts: ListSecretsRequest) => string;
51
- body: () => undefined;
52
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ListSecretsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Gets a list of secrets belonging to the project */
22
- var ListSecretsEndpoint = /** @class */ (function (_super) {
23
- __extends(ListSecretsEndpoint, _super);
24
- function ListSecretsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Gets a list of secrets belonging to the project';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- var _a;
30
- var optionEntries = Object.entries((_a = opts === null || opts === void 0 ? void 0 : opts.options) !== null && _a !== void 0 ? _a : {});
31
- var optionStr = optionEntries.length > 0 ? '?' + optionEntries.map(function (a) { return a[0] + '=' + a[1]; }).join('&') : '';
32
- return "/v1/projects/" + opts.parameters.projectId + "/secrets" + optionStr;
33
- };
34
- _this.body = function () { return undefined; };
35
- return _this;
36
- }
37
- return ListSecretsEndpoint;
38
- }(api_endpoint_1.GetApiEndpoint));
39
- exports.ListSecretsEndpoint = ListSecretsEndpoint;
@@ -1,44 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type ListServicesResult = {
4
- /** An array of services. */
5
- 'services': {
6
- /** Identifier for the service Example: "example-service" */
7
- 'id': string;
8
- /** Full identifier used for service deployment Example: "/example-user/default-project/example-service" */
9
- 'appId': string;
10
- /** Service name Example: "Example Service" */
11
- 'name': string;
12
- /** A short description of the service Example: "This is the service description" */
13
- 'description'?: string;
14
- /** Type of the service (combined, build or deployment) Example: "combined" */
15
- 'serviceType': 'combined' | 'build' | 'deployment';
16
- /** Whether Continuous Integration is disabled */
17
- 'disabledCI': boolean;
18
- /** Whether Continuous Deployment is disabled */
19
- 'disabledCD': boolean;
20
- }[];
21
- };
22
- export declare type ListServicesCall = (opts: ListServicesRequest) => Promise<ApiCallResponse<ListServicesResult>>;
23
- export declare type ListServicesRequest = {
24
- parameters: ListServicesParameters;
25
- options?: ListServicesOptions;
26
- };
27
- export declare type ListServicesParameters = {
28
- /** ID of the project */ 'projectId': string;
29
- };
30
- export declare type ListServicesOptions = {
31
- /** The number of results to display per request. Maximum of 100 results per page. */
32
- 'per_page'?: number;
33
- /** The page number to access. */
34
- 'page'?: number;
35
- /** The cursor returned from the previous page of results, used to request the next page. */
36
- 'cursor'?: string;
37
- };
38
- /** Gets a list of services belonging to the project */
39
- export declare class ListServicesEndpoint extends GetApiEndpoint<ListServicesRequest, ListServicesResult> {
40
- description: string;
41
- withAuth: boolean;
42
- endpointUrl: (opts: ListServicesRequest) => string;
43
- body: () => undefined;
44
- }
@@ -1,39 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ListServicesEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Gets a list of services belonging to the project */
22
- var ListServicesEndpoint = /** @class */ (function (_super) {
23
- __extends(ListServicesEndpoint, _super);
24
- function ListServicesEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Gets a list of services belonging to the project';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- var _a;
30
- var optionEntries = Object.entries((_a = opts === null || opts === void 0 ? void 0 : opts.options) !== null && _a !== void 0 ? _a : {});
31
- var optionStr = optionEntries.length > 0 ? '?' + optionEntries.map(function (a) { return a[0] + '=' + a[1]; }).join('&') : '';
32
- return "/v1/projects/" + opts.parameters.projectId + "/services" + optionStr;
33
- };
34
- _this.body = function () { return undefined; };
35
- return _this;
36
- }
37
- return ListServicesEndpoint;
38
- }(api_endpoint_1.GetApiEndpoint));
39
- exports.ListServicesEndpoint = ListServicesEndpoint;
@@ -1,51 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type ListVcsResult = {
4
- /** Details about the linked GitHub account. */
5
- 'github'?: {
6
- /** The email of the account linked with this provider. Example: "email@example.com" */
7
- 'email': string;
8
- /** The username of the account linked with this provider. Example: "vcs-user" */
9
- 'login': string;
10
- };
11
- /** Details about the linked GitLab account. */
12
- 'gitlab'?: {
13
- /** The email of the account linked with this provider. Example: "email@example.com" */
14
- 'email': string;
15
- /** The username of the account linked with this provider. Example: "vcs-user" */
16
- 'login': string;
17
- };
18
- /** Details about the linked Bitbucket account. */
19
- 'bitbucket'?: {
20
- /** The email of the account linked with this provider. Example: "email@example.com" */
21
- 'email': string;
22
- /** The username of the account linked with this provider. Example: "vcs-user" */
23
- 'login': string;
24
- };
25
- /** The self-hosted version control providers linked to this account. */
26
- 'selfHosted': {
27
- /** The email of the account linked with this provider. Example: "email@example.com" */
28
- 'email': string;
29
- /** The username of the account linked with this provider. Example: "vcs-user" */
30
- 'login': string;
31
- /** The name of the self-hosted vcs provider. Example: "Self-hosted VCS" */
32
- 'name': string;
33
- /** The url of the self-hosted vcs provider. Example: "https://git.example.com" */
34
- 'vcsUrl': string;
35
- /** The type of the self-hosted vcs provider. Example: "gitlab-ee" */
36
- 'vcsType': 'gitlab-ee';
37
- /** The ID of the self-hosted vcs provider. Example: "example-team/self-hosted-vcs" */
38
- 'internalId': string;
39
- /** The name of the team the self-hosted vcs belongs to. Example: "Example Team" */
40
- 'entityName': string;
41
- }[];
42
- };
43
- export declare type ListVcsCall = (opts: ListVcsRequest) => Promise<ApiCallResponse<ListVcsResult>>;
44
- export declare type ListVcsRequest = {};
45
- /** Lists linked version control providers */
46
- export declare class ListVcsEndpoint extends GetApiEndpoint<ListVcsRequest, ListVcsResult> {
47
- description: string;
48
- withAuth: boolean;
49
- endpointUrl: (opts: ListVcsRequest) => string;
50
- body: () => undefined;
51
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ListVcsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Lists linked version control providers */
22
- var ListVcsEndpoint = /** @class */ (function (_super) {
23
- __extends(ListVcsEndpoint, _super);
24
- function ListVcsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Lists linked version control providers';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/vcs";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return ListVcsEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.ListVcsEndpoint = ListVcsEndpoint;
@@ -1,19 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
3
- export declare type PauseAddonResult = any;
4
- export declare type PauseAddonCall = (opts: PauseAddonRequest) => Promise<ApiCallResponse<PauseAddonResult>>;
5
- export declare type PauseAddonRequest = {
6
- parameters: PauseAddonParameters;
7
- };
8
- export declare type PauseAddonParameters = {
9
- /** ID of the project */ 'projectId': string;
10
- /** ID of the addon */
11
- 'addonId': string;
12
- };
13
- /** Pause the given addon. */
14
- export declare class PauseAddonEndpoint extends PostApiEndpoint<PauseAddonRequest, PauseAddonResult> {
15
- description: string;
16
- withAuth: boolean;
17
- endpointUrl: (opts: PauseAddonRequest) => string;
18
- body: () => undefined;
19
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.PauseAddonEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Pause the given addon. */
22
- var PauseAddonEndpoint = /** @class */ (function (_super) {
23
- __extends(PauseAddonEndpoint, _super);
24
- function PauseAddonEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Pause the given addon.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/projects/" + opts.parameters.projectId + "/addons/" + opts.parameters.addonId + "/pause";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return PauseAddonEndpoint;
35
- }(api_endpoint_1.PostApiEndpoint));
36
- exports.PauseAddonEndpoint = PauseAddonEndpoint;
@@ -1,19 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
3
- export declare type PauseServiceResult = any;
4
- export declare type PauseServiceCall = (opts: PauseServiceRequest) => Promise<ApiCallResponse<PauseServiceResult>>;
5
- export declare type PauseServiceRequest = {
6
- parameters: PauseServiceParameters;
7
- };
8
- export declare type PauseServiceParameters = {
9
- /** ID of the project */ 'projectId': string;
10
- /** ID of the service */
11
- 'serviceId': string;
12
- };
13
- /** Pause the given service. */
14
- export declare class PauseServiceEndpoint extends PostApiEndpoint<PauseServiceRequest, PauseServiceResult> {
15
- description: string;
16
- withAuth: boolean;
17
- endpointUrl: (opts: PauseServiceRequest) => string;
18
- body: () => undefined;
19
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.PauseServiceEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Pause the given service. */
22
- var PauseServiceEndpoint = /** @class */ (function (_super) {
23
- __extends(PauseServiceEndpoint, _super);
24
- function PauseServiceEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Pause the given service.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/projects/" + opts.parameters.projectId + "/services/" + opts.parameters.serviceId + "/pause";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return PauseServiceEndpoint;
35
- }(api_endpoint_1.PostApiEndpoint));
36
- exports.PauseServiceEndpoint = PauseServiceEndpoint;
@@ -1,19 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
3
- export declare type RestartAddonResult = any;
4
- export declare type RestartAddonCall = (opts: RestartAddonRequest) => Promise<ApiCallResponse<RestartAddonResult>>;
5
- export declare type RestartAddonRequest = {
6
- parameters: RestartAddonParameters;
7
- };
8
- export declare type RestartAddonParameters = {
9
- /** ID of the project */ 'projectId': string;
10
- /** ID of the addon */
11
- 'addonId': string;
12
- };
13
- /** Restart the given addon. */
14
- export declare class RestartAddonEndpoint extends PostApiEndpoint<RestartAddonRequest, RestartAddonResult> {
15
- description: string;
16
- withAuth: boolean;
17
- endpointUrl: (opts: RestartAddonRequest) => string;
18
- body: () => undefined;
19
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /** WARNING: Autogenerated Code - do not modify! */
3
- var __extends = (this && this.__extends) || (function () {
4
- var extendStatics = function (d, b) {
5
- extendStatics = Object.setPrototypeOf ||
6
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8
- return extendStatics(d, b);
9
- };
10
- return function (d, b) {
11
- if (typeof b !== "function" && b !== null)
12
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
13
- extendStatics(d, b);
14
- function __() { this.constructor = d; }
15
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16
- };
17
- })();
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.RestartAddonEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Restart the given addon. */
22
- var RestartAddonEndpoint = /** @class */ (function (_super) {
23
- __extends(RestartAddonEndpoint, _super);
24
- function RestartAddonEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Restart the given addon.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/projects/" + opts.parameters.projectId + "/addons/" + opts.parameters.addonId + "/restart";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return RestartAddonEndpoint;
35
- }(api_endpoint_1.PostApiEndpoint));
36
- exports.RestartAddonEndpoint = RestartAddonEndpoint;
@@ -1,19 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
3
- export declare type RestartServiceResult = any;
4
- export declare type RestartServiceCall = (opts: RestartServiceRequest) => Promise<ApiCallResponse<RestartServiceResult>>;
5
- export declare type RestartServiceRequest = {
6
- parameters: RestartServiceParameters;
7
- };
8
- export declare type RestartServiceParameters = {
9
- /** ID of the project */ 'projectId': string;
10
- /** ID of the service */
11
- 'serviceId': string;
12
- };
13
- /** Restarts the given service. */
14
- export declare class RestartServiceEndpoint extends PostApiEndpoint<RestartServiceRequest, RestartServiceResult> {
15
- description: string;
16
- withAuth: boolean;
17
- endpointUrl: (opts: RestartServiceRequest) => string;
18
- body: () => undefined;
19
- }