@devopness/sdk-js 2.37.0 → 2.38.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 (52) hide show
  1. package/dist/api/generated/apis/environments-applications-api.d.ts +2 -2
  2. package/dist/api/generated/apis/environments-applications-api.js +2 -2
  3. package/dist/api/generated/apis/social-accounts-api.d.ts +4 -4
  4. package/dist/api/generated/apis/social-accounts-api.js +12 -12
  5. package/dist/api/generated/models/action-retry-response.d.ts +1 -1
  6. package/dist/api/generated/models/action-trigger-type.d.ts +1 -1
  7. package/dist/api/generated/models/action-trigger-type.js +1 -1
  8. package/dist/api/generated/models/action.d.ts +1 -1
  9. package/dist/api/generated/models/application.d.ts +1 -1
  10. package/dist/api/generated/models/cron-job.d.ts +1 -1
  11. package/dist/api/generated/models/daemon.d.ts +1 -1
  12. package/dist/api/generated/models/{environment-link-item.d.ts → environment-link.d.ts} +5 -5
  13. package/dist/api/generated/models/{action-list-item-params.js → environment-link.js} +0 -0
  14. package/dist/api/generated/models/environment-relation.d.ts +2 -2
  15. package/dist/api/generated/models/environment-type.d.ts +2 -2
  16. package/dist/api/generated/models/environment-type.js +1 -1
  17. package/dist/api/generated/models/environment-update.d.ts +7 -7
  18. package/dist/api/generated/models/index.d.ts +1 -14
  19. package/dist/api/generated/models/index.js +1 -14
  20. package/dist/api/generated/models/network-rule.d.ts +1 -1
  21. package/dist/api/generated/models/server.d.ts +1 -1
  22. package/dist/api/generated/models/service.d.ts +1 -1
  23. package/dist/api/generated/models/social-account-relation.d.ts +1 -1
  24. package/dist/api/generated/models/social-account.d.ts +1 -1
  25. package/dist/api/generated/models/ssh-key.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/dist/api/generated/models/action-list-item-params.d.ts +0 -25
  28. package/dist/api/generated/models/action-list-item.d.ts +0 -18
  29. package/dist/api/generated/models/action-list-item.js +0 -14
  30. package/dist/api/generated/models/action-step-log.d.ts +0 -38
  31. package/dist/api/generated/models/action-step-log.js +0 -14
  32. package/dist/api/generated/models/application-deployment.d.ts +0 -49
  33. package/dist/api/generated/models/application-deployment.js +0 -14
  34. package/dist/api/generated/models/deployment-origin.d.ts +0 -20
  35. package/dist/api/generated/models/deployment-origin.js +0 -25
  36. package/dist/api/generated/models/deployment-source.d.ts +0 -49
  37. package/dist/api/generated/models/deployment-source.js +0 -14
  38. package/dist/api/generated/models/environment-id-request.d.ts +0 -24
  39. package/dist/api/generated/models/environment-id-request.js +0 -14
  40. package/dist/api/generated/models/environment-link-item.js +0 -14
  41. package/dist/api/generated/models/environment-link-server.d.ts +0 -24
  42. package/dist/api/generated/models/environment-link-server.js +0 -14
  43. package/dist/api/generated/models/environment-member-profile.d.ts +0 -49
  44. package/dist/api/generated/models/environment-member-profile.js +0 -14
  45. package/dist/api/generated/models/environment-member.d.ts +0 -36
  46. package/dist/api/generated/models/environment-member.js +0 -14
  47. package/dist/api/generated/models/environment-option-type.d.ts +0 -36
  48. package/dist/api/generated/models/environment-option-type.js +0 -14
  49. package/dist/api/generated/models/environment-team-link.d.ts +0 -24
  50. package/dist/api/generated/models/environment-team-link.js +0 -14
  51. package/dist/api/generated/models/environment-team.d.ts +0 -55
  52. package/dist/api/generated/models/environment-team.js +0 -14
@@ -27,8 +27,8 @@ export declare class EnvironmentsApplicationsApiService extends ApiBaseService {
27
27
  addEnvironmentApplication(environmentId: number, applicationEnvironmentCreate: ApplicationEnvironmentCreate): Promise<ApiResponse<Application>>;
28
28
  /**
29
29
  *
30
- * @summary Returns a list of all applications belonging to a environment
31
- * @param {number} environmentId Numeric ID of the environment to get applications from
30
+ * @summary Return a list of all Applications belonging to an environment
31
+ * @param {number} environmentId The ID of the environment.
32
32
  * @param {number} [page] Number of the page to be retrieved
33
33
  * @param {number} [perPage] Number of items returned per page
34
34
  */
@@ -51,8 +51,8 @@ class EnvironmentsApplicationsApiService extends ApiBaseService_1.ApiBaseService
51
51
  }
52
52
  /**
53
53
  *
54
- * @summary Returns a list of all applications belonging to a environment
55
- * @param {number} environmentId Numeric ID of the environment to get applications from
54
+ * @summary Return a list of all Applications belonging to an environment
55
+ * @param {number} environmentId The ID of the environment.
56
56
  * @param {number} [page] Number of the page to be retrieved
57
57
  * @param {number} [perPage] Number of items returned per page
58
58
  */
@@ -34,15 +34,15 @@ export declare class SocialAccountsApiService extends ApiBaseService {
34
34
  /**
35
35
  *
36
36
  * @summary Get a social account by provider name
37
- * @param {string} provider The provider name.
37
+ * @param {string} socialAccountProvider The social account provider name.
38
38
  */
39
- getSocialAccount(provider: string): Promise<ApiResponse<SocialAccount>>;
39
+ getSocialAccount(socialAccountProvider: string): Promise<ApiResponse<SocialAccount>>;
40
40
  /**
41
41
  *
42
42
  * @summary Get status of a social account
43
- * @param {string} provider The provider name.
43
+ * @param {string} socialAccountProvider The social account provider name.
44
44
  */
45
- getSocialAccountStatus(provider: string): Promise<ApiResponse<SocialAccountStatus>>;
45
+ getSocialAccountStatus(socialAccountProvider: string): Promise<ApiResponse<SocialAccountStatus>>;
46
46
  /**
47
47
  *
48
48
  * @summary Return a list of all social accounts of the current user
@@ -64,32 +64,32 @@ class SocialAccountsApiService extends ApiBaseService_1.ApiBaseService {
64
64
  /**
65
65
  *
66
66
  * @summary Get a social account by provider name
67
- * @param {string} provider The provider name.
67
+ * @param {string} socialAccountProvider The social account provider name.
68
68
  */
69
- getSocialAccount(provider) {
69
+ getSocialAccount(socialAccountProvider) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
- if (provider === null || provider === undefined) {
72
- throw new Exceptions_1.ArgumentNullException('provider', 'getSocialAccount');
71
+ if (socialAccountProvider === null || socialAccountProvider === undefined) {
72
+ throw new Exceptions_1.ArgumentNullException('socialAccountProvider', 'getSocialAccount');
73
73
  }
74
74
  let queryString = '';
75
- const requestUrl = '/social-accounts/{provider}' + (queryString ? `?${queryString}` : '');
76
- const response = yield this.get(requestUrl.replace(`{${"provider"}}`, encodeURIComponent(String(provider))));
75
+ const requestUrl = '/social-accounts/{social_account_provider}' + (queryString ? `?${queryString}` : '');
76
+ const response = yield this.get(requestUrl.replace(`{${"social_account_provider"}}`, encodeURIComponent(String(socialAccountProvider))));
77
77
  return new ApiResponse_1.ApiResponse(response);
78
78
  });
79
79
  }
80
80
  /**
81
81
  *
82
82
  * @summary Get status of a social account
83
- * @param {string} provider The provider name.
83
+ * @param {string} socialAccountProvider The social account provider name.
84
84
  */
85
- getSocialAccountStatus(provider) {
85
+ getSocialAccountStatus(socialAccountProvider) {
86
86
  return __awaiter(this, void 0, void 0, function* () {
87
- if (provider === null || provider === undefined) {
88
- throw new Exceptions_1.ArgumentNullException('provider', 'getSocialAccountStatus');
87
+ if (socialAccountProvider === null || socialAccountProvider === undefined) {
88
+ throw new Exceptions_1.ArgumentNullException('socialAccountProvider', 'getSocialAccountStatus');
89
89
  }
90
90
  let queryString = '';
91
- const requestUrl = '/social-accounts/{provider}/status' + (queryString ? `?${queryString}` : '');
92
- const response = yield this.get(requestUrl.replace(`{${"provider"}}`, encodeURIComponent(String(provider))));
91
+ const requestUrl = '/social-accounts/{social_account_provider}/status' + (queryString ? `?${queryString}` : '');
92
+ const response = yield this.get(requestUrl.replace(`{${"social_account_provider"}}`, encodeURIComponent(String(socialAccountProvider))));
93
93
  return new ApiResponse_1.ApiResponse(response);
94
94
  });
95
95
  }
@@ -110,7 +110,7 @@ export interface ActionRetryResponse {
110
110
  * @type {EnvironmentRelation}
111
111
  * @memberof ActionRetryResponse
112
112
  */
113
- environment?: EnvironmentRelation;
113
+ environment?: EnvironmentRelation | null;
114
114
  /**
115
115
  *
116
116
  * @type {ProjectRelation}
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * * `hook`: the action have been triggered by an `incoming hook`. * `manual`: the action have been manually triggered.
13
+ * * `hook`: the action have been triggered by an `incoming hook`. * `manual`: the action have been manually triggered.
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
@@ -14,7 +14,7 @@
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ActionTriggerType = void 0;
16
16
  /**
17
- * * `hook`: the action have been triggered by an `incoming hook`. * `manual`: the action have been manually triggered.
17
+ * * `hook`: the action have been triggered by an `incoming hook`. * `manual`: the action have been manually triggered.
18
18
  * @export
19
19
  * @enum {string}
20
20
  */
@@ -110,7 +110,7 @@ export interface Action {
110
110
  * @type {EnvironmentRelation}
111
111
  * @memberof Action
112
112
  */
113
- environment?: EnvironmentRelation;
113
+ environment?: EnvironmentRelation | null;
114
114
  /**
115
115
  *
116
116
  * @type {ProjectRelation}
@@ -184,7 +184,7 @@ export interface Application {
184
184
  * @type {EnvironmentRelation}
185
185
  * @memberof Application
186
186
  */
187
- environment: EnvironmentRelation;
187
+ environment: EnvironmentRelation | null;
188
188
  /**
189
189
  *
190
190
  * @type {Array<ServerRelation>}
@@ -93,7 +93,7 @@ export interface CronJob {
93
93
  * @type {EnvironmentRelation}
94
94
  * @memberof CronJob
95
95
  */
96
- environment: EnvironmentRelation;
96
+ environment: EnvironmentRelation | null;
97
97
  /**
98
98
  *
99
99
  * @type {Array<ServerRelation>}
@@ -85,7 +85,7 @@ export interface Daemon {
85
85
  * @type {EnvironmentRelation}
86
86
  * @memberof Daemon
87
87
  */
88
- environment: EnvironmentRelation;
88
+ environment: EnvironmentRelation | null;
89
89
  /**
90
90
  *
91
91
  * @type {Array<ServerRelation>}
@@ -12,25 +12,25 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface EnvironmentLinkItem
15
+ * @interface EnvironmentLink
16
16
  */
17
- export interface EnvironmentLinkItem {
17
+ export interface EnvironmentLink {
18
18
  /**
19
19
  * Environment\'s unique id
20
20
  * @type {number}
21
- * @memberof EnvironmentLinkItem
21
+ * @memberof EnvironmentLink
22
22
  */
23
23
  id: number;
24
24
  /**
25
25
  * Environment\'s name
26
26
  * @type {string}
27
- * @memberof EnvironmentLinkItem
27
+ * @memberof EnvironmentLink
28
28
  */
29
29
  name?: string | null;
30
30
  /**
31
31
  * A list of server IDs to which the item link/unlink operations must be performed
32
32
  * @type {Array<number>}
33
- * @memberof EnvironmentLinkItem
33
+ * @memberof EnvironmentLink
34
34
  */
35
35
  servers: Array<number>;
36
36
  }
@@ -45,11 +45,11 @@ export interface EnvironmentRelation {
45
45
  * @type {string}
46
46
  * @memberof EnvironmentRelation
47
47
  */
48
- created_at?: string;
48
+ created_at: string;
49
49
  /**
50
50
  * The date and time when the record was last updated
51
51
  * @type {string}
52
52
  * @memberof EnvironmentRelation
53
53
  */
54
- updated_at?: string;
54
+ updated_at: string;
55
55
  }
@@ -16,6 +16,6 @@
16
16
  */
17
17
  export declare enum EnvironmentType {
18
18
  Development = "development",
19
- Staging = "staging",
20
- Production = "production"
19
+ Production = "production",
20
+ Staging = "staging"
21
21
  }
@@ -21,6 +21,6 @@ exports.EnvironmentType = void 0;
21
21
  var EnvironmentType;
22
22
  (function (EnvironmentType) {
23
23
  EnvironmentType["Development"] = "development";
24
- EnvironmentType["Staging"] = "staging";
25
24
  EnvironmentType["Production"] = "production";
25
+ EnvironmentType["Staging"] = "staging";
26
26
  })(EnvironmentType = exports.EnvironmentType || (exports.EnvironmentType = {}));
@@ -17,21 +17,21 @@ import { EnvironmentType } from './environment-type';
17
17
  */
18
18
  export interface EnvironmentUpdate {
19
19
  /**
20
- * Environment\'s unique id
20
+ * Environment\'s unique ID.
21
21
  * @type {number}
22
22
  * @memberof EnvironmentUpdate
23
23
  */
24
24
  id: number;
25
- /**
26
- * The environment\'s name
27
- * @type {string}
28
- * @memberof EnvironmentUpdate
29
- */
30
- name: string;
31
25
  /**
32
26
  *
33
27
  * @type {EnvironmentType}
34
28
  * @memberof EnvironmentUpdate
35
29
  */
36
30
  type: EnvironmentType;
31
+ /**
32
+ * The environment\'s name. Must not be greater than 60 characters.
33
+ * @type {string}
34
+ * @memberof EnvironmentUpdate
35
+ */
36
+ name: string;
37
37
  }
@@ -5,13 +5,10 @@ export * from './action-deployment-commit';
5
5
  export * from './action-deployment-content';
6
6
  export * from './action-deployment-data';
7
7
  export * from './action-hook-request';
8
- export * from './action-list-item';
9
- export * from './action-list-item-params';
10
8
  export * from './action-relation';
11
9
  export * from './action-retry-response';
12
10
  export * from './action-status';
13
11
  export * from './action-step';
14
- export * from './action-step-log';
15
12
  export * from './action-summary';
16
13
  export * from './action-summary-server';
17
14
  export * from './action-trigger-type';
@@ -21,7 +18,6 @@ export * from './api-error';
21
18
  export * from './api-error-errors';
22
19
  export * from './api-error-errors-field-name';
23
20
  export * from './application';
24
- export * from './application-deployment';
25
21
  export * from './application-environment-create';
26
22
  export * from './application-last-deployments';
27
23
  export * from './application-options';
@@ -65,21 +61,12 @@ export * from './daemon-restart';
65
61
  export * from './daemon-update';
66
62
  export * from './deployment-application-create';
67
63
  export * from './deployment-default-step';
68
- export * from './deployment-origin';
69
- export * from './deployment-source';
70
64
  export * from './deployment-type';
71
65
  export * from './environment';
72
- export * from './environment-id-request';
73
- export * from './environment-link-item';
74
- export * from './environment-link-server';
75
- export * from './environment-member';
76
- export * from './environment-member-profile';
77
- export * from './environment-option-type';
66
+ export * from './environment-link';
78
67
  export * from './environment-options';
79
68
  export * from './environment-project-create';
80
69
  export * from './environment-relation';
81
- export * from './environment-team';
82
- export * from './environment-team-link';
83
70
  export * from './environment-type';
84
71
  export * from './environment-update';
85
72
  export * from './hook';
@@ -21,13 +21,10 @@ __exportStar(require("./action-deployment-commit"), exports);
21
21
  __exportStar(require("./action-deployment-content"), exports);
22
22
  __exportStar(require("./action-deployment-data"), exports);
23
23
  __exportStar(require("./action-hook-request"), exports);
24
- __exportStar(require("./action-list-item"), exports);
25
- __exportStar(require("./action-list-item-params"), exports);
26
24
  __exportStar(require("./action-relation"), exports);
27
25
  __exportStar(require("./action-retry-response"), exports);
28
26
  __exportStar(require("./action-status"), exports);
29
27
  __exportStar(require("./action-step"), exports);
30
- __exportStar(require("./action-step-log"), exports);
31
28
  __exportStar(require("./action-summary"), exports);
32
29
  __exportStar(require("./action-summary-server"), exports);
33
30
  __exportStar(require("./action-trigger-type"), exports);
@@ -37,7 +34,6 @@ __exportStar(require("./api-error"), exports);
37
34
  __exportStar(require("./api-error-errors"), exports);
38
35
  __exportStar(require("./api-error-errors-field-name"), exports);
39
36
  __exportStar(require("./application"), exports);
40
- __exportStar(require("./application-deployment"), exports);
41
37
  __exportStar(require("./application-environment-create"), exports);
42
38
  __exportStar(require("./application-last-deployments"), exports);
43
39
  __exportStar(require("./application-options"), exports);
@@ -81,21 +77,12 @@ __exportStar(require("./daemon-restart"), exports);
81
77
  __exportStar(require("./daemon-update"), exports);
82
78
  __exportStar(require("./deployment-application-create"), exports);
83
79
  __exportStar(require("./deployment-default-step"), exports);
84
- __exportStar(require("./deployment-origin"), exports);
85
- __exportStar(require("./deployment-source"), exports);
86
80
  __exportStar(require("./deployment-type"), exports);
87
81
  __exportStar(require("./environment"), exports);
88
- __exportStar(require("./environment-id-request"), exports);
89
- __exportStar(require("./environment-link-item"), exports);
90
- __exportStar(require("./environment-link-server"), exports);
91
- __exportStar(require("./environment-member"), exports);
92
- __exportStar(require("./environment-member-profile"), exports);
93
- __exportStar(require("./environment-option-type"), exports);
82
+ __exportStar(require("./environment-link"), exports);
94
83
  __exportStar(require("./environment-options"), exports);
95
84
  __exportStar(require("./environment-project-create"), exports);
96
85
  __exportStar(require("./environment-relation"), exports);
97
- __exportStar(require("./environment-team"), exports);
98
- __exportStar(require("./environment-team-link"), exports);
99
86
  __exportStar(require("./environment-type"), exports);
100
87
  __exportStar(require("./environment-update"), exports);
101
88
  __exportStar(require("./hook"), exports);
@@ -92,7 +92,7 @@ export interface NetworkRule {
92
92
  * @type {EnvironmentRelation}
93
93
  * @memberof NetworkRule
94
94
  */
95
- environment: EnvironmentRelation;
95
+ environment: EnvironmentRelation | null;
96
96
  /**
97
97
  *
98
98
  * @type {Array<ServerRelation>}
@@ -110,7 +110,7 @@ export interface Server {
110
110
  * @type {EnvironmentRelation}
111
111
  * @memberof Server
112
112
  */
113
- environment: EnvironmentRelation;
113
+ environment: EnvironmentRelation | null;
114
114
  /**
115
115
  * The date and time when the record was created
116
116
  * @type {string}
@@ -80,7 +80,7 @@ export interface Service {
80
80
  * @type {EnvironmentRelation}
81
81
  * @memberof Service
82
82
  */
83
- environment: EnvironmentRelation;
83
+ environment: EnvironmentRelation | null;
84
84
  /**
85
85
  *
86
86
  * @type {UserRelation}
@@ -48,7 +48,7 @@ export interface SocialAccountRelation {
48
48
  */
49
49
  provider_user_nickname: string;
50
50
  /**
51
- * If this social account is from a Version Control System (VCS)
51
+ * Tells if the social account provider is a Source Code Provider/Version Control System. e.g. false for Facebook, true for Github
52
52
  * @type {boolean}
53
53
  * @memberof SocialAccountRelation
54
54
  */
@@ -48,7 +48,7 @@ export interface SocialAccount {
48
48
  */
49
49
  provider_user_nickname: string;
50
50
  /**
51
- * If this social account is from a Version Control System (VCS)
51
+ * Tells if the social account provider is a Source Code Provider/Version Control System. e.g. false for Facebook, true for Github
52
52
  * @type {boolean}
53
53
  * @memberof SocialAccount
54
54
  */
@@ -66,7 +66,7 @@ export interface SshKey {
66
66
  * @type {EnvironmentRelation}
67
67
  * @memberof SshKey
68
68
  */
69
- environment: EnvironmentRelation;
69
+ environment: EnvironmentRelation | null;
70
70
  /**
71
71
  *
72
72
  * @type {Array<ServerRelation>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.37.0",
3
+ "version": "2.38.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,25 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ServerAction } from './server-action';
13
- /**
14
- *
15
- * @export
16
- * @interface ActionListItemParams
17
- */
18
- export interface ActionListItemParams {
19
- /**
20
- * List of actions dispatched to servers
21
- * @type {Array<ServerAction>}
22
- * @memberof ActionListItemParams
23
- */
24
- servers?: Array<ServerAction>;
25
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ActionListItemParams } from './action-list-item-params';
13
- import { ActionRelation } from './action-relation';
14
- /**
15
- * @type ActionListItem
16
- * @export
17
- */
18
- export declare type ActionListItem = ActionListItemParams & ActionRelation;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,38 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ServerActionLogStep } from './server-action-log-step';
13
- import { ServerRelation } from './server-relation';
14
- /**
15
- *
16
- * @export
17
- * @interface ActionStepLog
18
- */
19
- export interface ActionStepLog {
20
- /**
21
- * The date and time when the requested log record was last updated
22
- * @type {string}
23
- * @memberof ActionStepLog
24
- */
25
- updated_at: string | null;
26
- /**
27
- *
28
- * @type {ServerRelation}
29
- * @memberof ActionStepLog
30
- */
31
- server?: ServerRelation | null;
32
- /**
33
- *
34
- * @type {ServerActionLogStep}
35
- * @memberof ActionStepLog
36
- */
37
- step?: ServerActionLogStep | null;
38
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,49 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { DeploymentType } from './deployment-type';
13
- /**
14
- *
15
- * @export
16
- * @interface ApplicationDeployment
17
- */
18
- export interface ApplicationDeployment {
19
- /**
20
- *
21
- * @type {DeploymentType}
22
- * @memberof ApplicationDeployment
23
- */
24
- type: DeploymentType;
25
- /**
26
- * The pipeline\'s ID to use for deployment
27
- * @type {number}
28
- * @memberof ApplicationDeployment
29
- */
30
- pipeline_id?: number;
31
- /**
32
- * The name of the branch from which the application source code will be retrieved and deployed. This parameter is ignored when `hash` is provided.
33
- * @type {string}
34
- * @memberof ApplicationDeployment
35
- */
36
- branch: string;
37
- /**
38
- * The commit hash from which the application source code will be retrieved and deployed. When provided `branch` parameter is ignored
39
- * @type {string}
40
- * @memberof ApplicationDeployment
41
- */
42
- hash?: string;
43
- /**
44
- * List of servers ids that the deploy will be triggered to
45
- * @type {Array<number>}
46
- * @memberof ApplicationDeployment
47
- */
48
- servers?: Array<number>;
49
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Source/channel from which the deployment has been triggered
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare enum DeploymentOrigin {
18
- Hook = "hook",
19
- Manual = "manual"
20
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DeploymentOrigin = void 0;
16
- /**
17
- * Source/channel from which the deployment has been triggered
18
- * @export
19
- * @enum {string}
20
- */
21
- var DeploymentOrigin;
22
- (function (DeploymentOrigin) {
23
- DeploymentOrigin["Hook"] = "hook";
24
- DeploymentOrigin["Manual"] = "manual";
25
- })(DeploymentOrigin = exports.DeploymentOrigin || (exports.DeploymentOrigin = {}));
@@ -1,49 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { DeploymentOrigin } from './deployment-origin';
13
- /**
14
- * Deployment source information
15
- * @export
16
- * @interface DeploymentSource
17
- */
18
- export interface DeploymentSource {
19
- /**
20
- *
21
- * @type {DeploymentOrigin}
22
- * @memberof DeploymentSource
23
- */
24
- origin: DeploymentOrigin;
25
- /**
26
- * The IP address from the deployment has been triggered
27
- * @type {string}
28
- * @memberof DeploymentSource
29
- */
30
- ip_address: string | null;
31
- /**
32
- * The hook that has been triggered the deployment
33
- * @type {number}
34
- * @memberof DeploymentSource
35
- */
36
- hook_id: number | null;
37
- /**
38
- * The hook request\'s ID that have triggered the deployment
39
- * @type {number}
40
- * @memberof DeploymentSource
41
- */
42
- hook_request_id: number | null;
43
- /**
44
- * The pull request that have triggered the deployment
45
- * @type {number}
46
- * @memberof DeploymentSource
47
- */
48
- pull_request_id: number | null;
49
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface EnvironmentIdRequest
16
- */
17
- export interface EnvironmentIdRequest {
18
- /**
19
- * The unique environment id
20
- * @type {number}
21
- * @memberof EnvironmentIdRequest
22
- */
23
- environment_id: number;
24
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface EnvironmentLinkServer
16
- */
17
- export interface EnvironmentLinkServer {
18
- /**
19
- * Environment\'s unique id
20
- * @type {number}
21
- * @memberof EnvironmentLinkServer
22
- */
23
- id: number;
24
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,49 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { EnvironmentTeam } from './environment-team';
13
- /**
14
- *
15
- * @export
16
- * @interface EnvironmentMemberProfile
17
- */
18
- export interface EnvironmentMemberProfile {
19
- /**
20
- * The ID of the member
21
- * @type {number}
22
- * @memberof EnvironmentMemberProfile
23
- */
24
- id: number;
25
- /**
26
- * Member\'s full name
27
- * @type {string}
28
- * @memberof EnvironmentMemberProfile
29
- */
30
- name: string;
31
- /**
32
- * Member\'s email
33
- * @type {string}
34
- * @memberof EnvironmentMemberProfile
35
- */
36
- email: string;
37
- /**
38
- * Tells if the user is active or not
39
- * @type {boolean}
40
- * @memberof EnvironmentMemberProfile
41
- */
42
- active: boolean;
43
- /**
44
- *
45
- * @type {Array<EnvironmentTeam>}
46
- * @memberof EnvironmentMemberProfile
47
- */
48
- teams: Array<EnvironmentTeam>;
49
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,36 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface EnvironmentMember
16
- */
17
- export interface EnvironmentMember {
18
- /**
19
- * The ID of the member
20
- * @type {number}
21
- * @memberof EnvironmentMember
22
- */
23
- id: number;
24
- /**
25
- * Member\'s full name
26
- * @type {string}
27
- * @memberof EnvironmentMember
28
- */
29
- name: string;
30
- /**
31
- * Member\'s email
32
- * @type {string}
33
- * @memberof EnvironmentMember
34
- */
35
- email: string;
36
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,36 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface EnvironmentOptionType
16
- */
17
- export interface EnvironmentOptionType {
18
- /**
19
- * The internal name of the environment
20
- * @type {string}
21
- * @memberof EnvironmentOptionType
22
- */
23
- value: string;
24
- /**
25
- * The formatted name to be displayed in user interfaces
26
- * @type {string}
27
- * @memberof EnvironmentOptionType
28
- */
29
- human_readable: string;
30
- /**
31
- * Text describing the environment purpose
32
- * @type {string}
33
- * @memberof EnvironmentOptionType
34
- */
35
- hint: string;
36
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface EnvironmentTeamLink
16
- */
17
- export interface EnvironmentTeamLink {
18
- /**
19
- * The role\'s ID to use for this team on environment
20
- * @type {number}
21
- * @memberof EnvironmentTeamLink
22
- */
23
- role_id: number;
24
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,55 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Role } from './role';
13
- /**
14
- *
15
- * @export
16
- * @interface EnvironmentTeam
17
- */
18
- export interface EnvironmentTeam {
19
- /**
20
- * The unique id of the given team
21
- * @type {number}
22
- * @memberof EnvironmentTeam
23
- */
24
- id: number;
25
- /**
26
- * The name of the given team
27
- * @type {string}
28
- * @memberof EnvironmentTeam
29
- */
30
- name: string;
31
- /**
32
- * The URL to team\'s image
33
- * @type {string}
34
- * @memberof EnvironmentTeam
35
- */
36
- photo_url: string | null;
37
- /**
38
- *
39
- * @type {Role}
40
- * @memberof EnvironmentTeam
41
- */
42
- role: Role;
43
- /**
44
- * The date and time when the record was created
45
- * @type {string}
46
- * @memberof EnvironmentTeam
47
- */
48
- created_at?: string;
49
- /**
50
- * The date and time when the record was last updated
51
- * @type {string}
52
- * @memberof EnvironmentTeam
53
- */
54
- updated_at?: string;
55
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });