@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,24 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
3
- export declare type GetAddonCredentialsResult = {
4
- /** An object containing secrets for connecting to the addon. Secrets are dependent on the addon type. Example: {"username":"1720747439245d49","password":"f1ba286ee2465e80b0fd4af31276f3e33a"} */
5
- 'secrets': any;
6
- /** An object containing data such as connection strings. Dependent on the addon type. Example: {} */
7
- 'envs': any;
8
- };
9
- export declare type GetAddonCredentialsCall = (opts: GetAddonCredentialsRequest) => Promise<ApiCallResponse<GetAddonCredentialsResult>>;
10
- export declare type GetAddonCredentialsRequest = {
11
- parameters: GetAddonCredentialsParameters;
12
- };
13
- export declare type GetAddonCredentialsParameters = {
14
- /** ID of the project */ 'projectId': string;
15
- /** ID of the addon */
16
- 'addonId': string;
17
- };
18
- /** Returns the credentials for connecting to the given addon. */
19
- export declare class GetAddonCredentialsEndpoint extends GetApiEndpoint<GetAddonCredentialsRequest, GetAddonCredentialsResult> {
20
- description: string;
21
- withAuth: boolean;
22
- endpointUrl: (opts: GetAddonCredentialsRequest) => string;
23
- body: () => undefined;
24
- }
@@ -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.GetAddonCredentialsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../../api-endpoint");
21
- /** Returns the credentials for connecting to the given addon. */
22
- var GetAddonCredentialsEndpoint = /** @class */ (function (_super) {
23
- __extends(GetAddonCredentialsEndpoint, _super);
24
- function GetAddonCredentialsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Returns the credentials for connecting to the given addon.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/projects/" + opts.parameters.projectId + "/addons/" + opts.parameters.addonId + "/credentials";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return GetAddonCredentialsEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.GetAddonCredentialsEndpoint = GetAddonCredentialsEndpoint;
@@ -1,48 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
3
- export declare type GetAddonTypesResult = {
4
- /** A list of available addon types. */
5
- 'addonTypes': {
6
- /** The identifier for the addon type. Example: "redis" */
7
- 'type': string;
8
- /** The name of the addon type. Example: "Redis" */
9
- 'name': string;
10
- /** A description of the addon. Example: "Redis implements a distributed, in-memory key-value database with optional durability." */
11
- 'description': string;
12
- /** A list of available versions of the addon type. */
13
- 'versions': string[];
14
- /** Features supported by this addon type. */
15
- 'features'?: {
16
- /** Whether this addon supports connection via TLS. */
17
- 'tls': boolean;
18
- /** Whether this addon supports external connection. */
19
- 'externalAccess': boolean;
20
- };
21
- /** Details about resource options for the addon type. */
22
- 'resources': {
23
- /** Details about storage size options for this addon. */
24
- 'storage': {
25
- /** Available options for storage size for this addon, in MB. */
26
- 'options': number[];
27
- /** The default storage value for this addon. Example: 1024 */
28
- 'default': number;
29
- };
30
- /** Details about replica count options for this addon. */
31
- 'replicas': {
32
- /** Available options for replica counts for this addon. */
33
- 'options': number[];
34
- /** The default replica count for this addon. Example: 1 */
35
- 'default': number;
36
- };
37
- };
38
- }[];
39
- };
40
- export declare type GetAddonTypesCall = (opts: GetAddonTypesRequest) => Promise<ApiCallResponse<GetAddonTypesResult>>;
41
- export declare type GetAddonTypesRequest = {};
42
- /** Gets information about the available addon types */
43
- export declare class GetAddonTypesEndpoint extends GetApiEndpoint<GetAddonTypesRequest, GetAddonTypesResult> {
44
- description: string;
45
- withAuth: boolean;
46
- endpointUrl: (opts: GetAddonTypesRequest) => string;
47
- body: () => undefined;
48
- }
@@ -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.GetAddonTypesEndpoint = void 0;
20
- var api_endpoint_1 = require("../../../api-endpoint");
21
- /** Gets information about the available addon types */
22
- var GetAddonTypesEndpoint = /** @class */ (function (_super) {
23
- __extends(GetAddonTypesEndpoint, _super);
24
- function GetAddonTypesEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Gets information about the available addon types';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/addon-types";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return GetAddonTypesEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.GetAddonTypesEndpoint = GetAddonTypesEndpoint;
@@ -1,53 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
3
- export declare type GetAddonVersionResult = {
4
- /** The version of the addon running. Example: "4.2.14" */
5
- 'version': string;
6
- /** Available versions that the addon can be upgraded to. */
7
- 'upgradeTo': {
8
- /** The version of the addon to upgrade to. Example: "4.2.15" */
9
- 'version': string;
10
- /** Whether the version is a major or minor version. Example: "minor" */
11
- 'type': 'major' | 'minor' | 'patch';
12
- }[];
13
- /** The support status of the current addon version. Example: "deprecated" */
14
- 'lifecycleStatus': 'active' | 'deprecated' | 'discontinued';
15
- /** The date that the current addon version will be discontinued. Example: "01.08.2021" */
16
- 'discontinuedBy'?: string;
17
- /** Data about the upgrade history of this addon. */
18
- 'upgradeHistory': {
19
- /** The unique identifier of the addon upgrade. Example: "611d0da52cd838bbdeec4792" */
20
- 'upgradeId': string;
21
- /** Details about the upgrade status. */
22
- 'status': {
23
- /** The status of the addon upgrade. Example: "completed" */
24
- 'status': 'scheduled' | 'in-progress' | 'completed' | 'aborting' | 'aborted' | 'failed' | 'not-supported';
25
- };
26
- /** The time the upgrade was initiated. Example: "2021-08-18 13:39:49.475Z" */
27
- 'createdAt': string;
28
- /** Whether the version updated to is a major or minor version. Example: "minor" */
29
- 'type': 'major' | 'minor' | 'patch';
30
- /** The version upgraded from. Example: "4.2.14" */
31
- 'previousVersion': string;
32
- /** The version upgraded to. Example: "4.2.15" */
33
- 'newVersion': string;
34
- /** The time the upgrade was completed. Example: "2021-08-18T13:40:51.685Z" */
35
- 'completedAt'?: string;
36
- }[];
37
- };
38
- export declare type GetAddonVersionCall = (opts: GetAddonVersionRequest) => Promise<ApiCallResponse<GetAddonVersionResult>>;
39
- export declare type GetAddonVersionRequest = {
40
- parameters: GetAddonVersionParameters;
41
- };
42
- export declare type GetAddonVersionParameters = {
43
- /** ID of the project */ 'projectId': string;
44
- /** ID of the addon */
45
- 'addonId': string;
46
- };
47
- /** Gets details about the current addon version including available upgrades and upgrade history. */
48
- export declare class GetAddonVersionEndpoint extends GetApiEndpoint<GetAddonVersionRequest, GetAddonVersionResult> {
49
- description: string;
50
- withAuth: boolean;
51
- endpointUrl: (opts: GetAddonVersionRequest) => string;
52
- body: () => undefined;
53
- }
@@ -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.GetAddonVersionEndpoint = void 0;
20
- var api_endpoint_1 = require("../../../api-endpoint");
21
- /** Gets details about the current addon version including available upgrades and upgrade history. */
22
- var GetAddonVersionEndpoint = /** @class */ (function (_super) {
23
- __extends(GetAddonVersionEndpoint, _super);
24
- function GetAddonVersionEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Gets details about the current addon version including available upgrades and upgrade history.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/projects/" + opts.parameters.projectId + "/addons/" + opts.parameters.addonId + "/version";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return GetAddonVersionEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.GetAddonVersionEndpoint = GetAddonVersionEndpoint;
@@ -1,69 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type GetAddonResult = {
4
- /** Identifier for the addon. Example: "example-addon" */
5
- 'id': string;
6
- /** Addon name. Example: "Example Addon" */
7
- 'name': string;
8
- /** Full identifier for the addon. Example: "/example-user/default-project/example-addon" */
9
- 'appId': string;
10
- /** A short description of the addon. Example: "This is the addon description" */
11
- 'description'?: string;
12
- /** The time the addon was created. Example: "2021-01-20T11:19:53.175Z" */
13
- 'createdAt': string;
14
- /** The current state of the addon. Example: "running" */
15
- 'status': 'preDeployment' | 'triggerAllocation' | 'allocating' | 'postDeployment' | 'running' | 'paused' | 'scaling' | 'upgrading' | 'backup' | 'restore' | 'failed' | 'deleting' | 'deleted';
16
- /** Details about the addon's specifications. */
17
- 'spec': {
18
- /** The type of the addon Example: "mongodb" */
19
- 'type': string;
20
- /** Details about the addon configuration. */
21
- 'config': {
22
- /** The version of the addon running. Example: "4.2.14" */
23
- 'versionTag': string;
24
- /** The support status of the current addon version. Example: "active" */
25
- 'lifecycleStatus': 'active' | 'deprecated' | 'discontinued';
26
- /** Details about the addon deployment. */
27
- 'deployment': {
28
- /** The number of replicas running for this addon. Example: 1 */
29
- 'replicas': number;
30
- /** The size of the addon storage, in MB. Example: 1024 */
31
- 'storageSize': number;
32
- /** The deployment plan used by the addon. Example: "nf-compute-20" */
33
- 'planId': string;
34
- /** The region where the addon is deployed. Example: "europe-west" */
35
- 'region': string;
36
- };
37
- /** Details about the addon networking settings. */
38
- 'networking': {
39
- /** Whether this addon is provisioned with a TLS certificate. Example: true */
40
- 'tlsEnabled': boolean;
41
- /** Whether this addon is publicly accessible via the internet. Example: true */
42
- 'externalAccessEnabled': boolean;
43
- /** An array of IP policy rules. */
44
- 'ipPolicies'?: {
45
- /** An IP address used by this rule. Example: "127.0.0.1" */
46
- 'address': string;
47
- /** The action for this rule. Example: "ALLOW" */
48
- 'action': 'DENY' | 'ALLOW';
49
- }[];
50
- };
51
- };
52
- };
53
- };
54
- export declare type GetAddonCall = (opts: GetAddonRequest) => Promise<ApiCallResponse<GetAddonResult>>;
55
- export declare type GetAddonRequest = {
56
- parameters: GetAddonParameters;
57
- };
58
- export declare type GetAddonParameters = {
59
- /** ID of the project */ 'projectId': string;
60
- /** ID of the addon */
61
- 'addonId': string;
62
- };
63
- /** Gets information about the given addon */
64
- export declare class GetAddonEndpoint extends GetApiEndpoint<GetAddonRequest, GetAddonResult> {
65
- description: string;
66
- withAuth: boolean;
67
- endpointUrl: (opts: GetAddonRequest) => string;
68
- body: () => undefined;
69
- }
@@ -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.GetAddonEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Gets information about the given addon */
22
- var GetAddonEndpoint = /** @class */ (function (_super) {
23
- __extends(GetAddonEndpoint, _super);
24
- function GetAddonEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Gets information about the given addon';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/projects/" + opts.parameters.projectId + "/addons/" + opts.parameters.addonId;
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return GetAddonEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.GetAddonEndpoint = GetAddonEndpoint;
@@ -1,15 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type GetDnsidResult = {
4
- /** The partially random string associated with the authenticated account, used for generating DNS entries. Example: "exam-1234" */
5
- 'dns': string;
6
- };
7
- export declare type GetDnsidCall = (opts: GetDnsidRequest) => Promise<ApiCallResponse<GetDnsidResult>>;
8
- export declare type GetDnsidRequest = {};
9
- /** Returns the partially random string used when generating host names for the authenticated account. */
10
- export declare class GetDnsidEndpoint extends GetApiEndpoint<GetDnsidRequest, GetDnsidResult> {
11
- description: string;
12
- withAuth: boolean;
13
- endpointUrl: (opts: GetDnsidRequest) => string;
14
- body: () => undefined;
15
- }
@@ -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.GetDnsidEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Returns the partially random string used when generating host names for the authenticated account. */
22
- var GetDnsidEndpoint = /** @class */ (function (_super) {
23
- __extends(GetDnsidEndpoint, _super);
24
- function GetDnsidEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Returns the partially random string used when generating host names for the authenticated account.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/dns-id";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return GetDnsidEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.GetDnsidEndpoint = GetDnsidEndpoint;
@@ -1,33 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
3
- export declare type GetDomainResult = {
4
- /** The domain name. Example: "example.com" */
5
- 'name': string;
6
- /** The status of the domain verification. Example: "verified" */
7
- 'status': 'pending' | 'verified';
8
- /** The hostname to add to your domain's DNS records as a TXT record to verify the domain. Example: "nfverify1608026055" */
9
- 'hostname': string;
10
- /** The token to add as the content of the TXT record to verify the domain. Example: "e596987b52855a4a773ef580ce2985d7746b37ce8b2a443d20fa27b913d8f57" */
11
- 'token': string;
12
- /** A list of subdomains added to this domain. */
13
- 'subdomains': {
14
- /** The subdomain added, or -default for the empty subdomain. Example: "app" */
15
- 'name': string;
16
- /** The full domain including the subdomain. Example: "app.example.com" */
17
- 'fullName': string;
18
- }[];
19
- };
20
- export declare type GetDomainCall = (opts: GetDomainRequest) => Promise<ApiCallResponse<GetDomainResult>>;
21
- export declare type GetDomainRequest = {
22
- parameters: GetDomainParameters;
23
- };
24
- export declare type GetDomainParameters = {
25
- /** Name of the domain */ 'domain': string;
26
- };
27
- /** Gets details about domain */
28
- export declare class GetDomainEndpoint extends GetApiEndpoint<GetDomainRequest, GetDomainResult> {
29
- description: string;
30
- withAuth: boolean;
31
- endpointUrl: (opts: GetDomainRequest) => string;
32
- body: () => undefined;
33
- }
@@ -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.GetDomainEndpoint = void 0;
20
- var api_endpoint_1 = require("../../api-endpoint");
21
- /** Gets details about domain */
22
- var GetDomainEndpoint = /** @class */ (function (_super) {
23
- __extends(GetDomainEndpoint, _super);
24
- function GetDomainEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Gets details about domain';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/domains/" + opts.parameters.domain;
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return GetDomainEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.GetDomainEndpoint = GetDomainEndpoint;
@@ -1,19 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
3
- export declare type GetJobBuildargumentsResult = any;
4
- export declare type GetJobBuildargumentsCall = (opts: GetJobBuildargumentsRequest) => Promise<ApiCallResponse<GetJobBuildargumentsResult>>;
5
- export declare type GetJobBuildargumentsRequest = {
6
- parameters: GetJobBuildargumentsParameters;
7
- };
8
- export declare type GetJobBuildargumentsParameters = {
9
- /** ID of the project */ 'projectId': string;
10
- /** ID of the job */
11
- 'jobId': string;
12
- };
13
- /** Returns build arguments for the given job. */
14
- export declare class GetJobBuildargumentsEndpoint extends GetApiEndpoint<GetJobBuildargumentsRequest, GetJobBuildargumentsResult> {
15
- description: string;
16
- withAuth: boolean;
17
- endpointUrl: (opts: GetJobBuildargumentsRequest) => 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.GetJobBuildargumentsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../../api-endpoint");
21
- /** Returns build arguments for the given job. */
22
- var GetJobBuildargumentsEndpoint = /** @class */ (function (_super) {
23
- __extends(GetJobBuildargumentsEndpoint, _super);
24
- function GetJobBuildargumentsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Returns build arguments for the given job.';
27
- _this.withAuth = true;
28
- _this.endpointUrl = function (opts) {
29
- return "/v1/projects/" + opts.parameters.projectId + "/jobs/" + opts.parameters.jobId + "/build-arguments";
30
- };
31
- _this.body = function () { return undefined; };
32
- return _this;
33
- }
34
- return GetJobBuildargumentsEndpoint;
35
- }(api_endpoint_1.GetApiEndpoint));
36
- exports.GetJobBuildargumentsEndpoint = GetJobBuildargumentsEndpoint;
@@ -1,50 +0,0 @@
1
- /** WARNING: Autogenerated Code - do not modify! */
2
- import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
3
- export declare type GetJobBuildsResult = {
4
- /** An array of builds. */
5
- 'builds': {
6
- /** Name of the branch the built commit belongs to. Example: "main" */
7
- 'branch'?: string;
8
- /** ID of the pull request the commit belongs to. */
9
- 'pullRequestId'?: number;
10
- /** The status of the build. Example: "SUCCESS" */
11
- 'status'?: 'PENDING' | 'STARTING' | 'CLONING' | 'BUILDING' | 'UPLOADING' | 'ABORTED' | 'FAILURE' | 'SUCCESS' | 'CRASHED';
12
- /** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
13
- 'sha'?: string;
14
- /** Whether the build has finished. Example: true */
15
- 'concluded'?: boolean;
16
- /** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
17
- 'createdAt'?: string;
18
- /** Whether the build was successful. Example: true */
19
- 'success'?: boolean;
20
- /** Description of the build status. Example: "Image successfully built" */
21
- 'message'?: string;
22
- /** Timestamp of the build concluding. Example: 1606237973 */
23
- 'buildConcludedAt'?: number;
24
- }[];
25
- };
26
- export declare type GetJobBuildsCall = (opts: GetJobBuildsRequest) => Promise<ApiCallResponse<GetJobBuildsResult>>;
27
- export declare type GetJobBuildsRequest = {
28
- parameters: GetJobBuildsParameters;
29
- options?: GetJobBuildsOptions;
30
- };
31
- export declare type GetJobBuildsParameters = {
32
- /** ID of the project */ 'projectId': string;
33
- /** ID of the job */
34
- 'jobId': string;
35
- };
36
- export declare type GetJobBuildsOptions = {
37
- /** The number of results to display per request. Maximum of 100 results per page. */
38
- 'per_page'?: number;
39
- /** The page number to access. */
40
- 'page'?: number;
41
- /** The cursor returned from the previous page of results, used to request the next page. */
42
- 'cursor'?: string;
43
- };
44
- /** Lists builds for the given job. */
45
- export declare class GetJobBuildsEndpoint extends GetApiEndpoint<GetJobBuildsRequest, GetJobBuildsResult> {
46
- description: string;
47
- withAuth: boolean;
48
- endpointUrl: (opts: GetJobBuildsRequest) => string;
49
- body: () => undefined;
50
- }
@@ -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.GetJobBuildsEndpoint = void 0;
20
- var api_endpoint_1 = require("../../../api-endpoint");
21
- /** Lists builds for the given job. */
22
- var GetJobBuildsEndpoint = /** @class */ (function (_super) {
23
- __extends(GetJobBuildsEndpoint, _super);
24
- function GetJobBuildsEndpoint() {
25
- var _this = _super !== null && _super.apply(this, arguments) || this;
26
- _this.description = 'Lists builds for the given job.';
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 + "/jobs/" + opts.parameters.jobId + "/build" + optionStr);
33
- };
34
- _this.body = function () { return undefined; };
35
- return _this;
36
- }
37
- return GetJobBuildsEndpoint;
38
- }(api_endpoint_1.GetApiEndpoint));
39
- exports.GetJobBuildsEndpoint = GetJobBuildsEndpoint;