@devopness/sdk-js 1.103.0 → 1.104.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.
@@ -13,7 +13,6 @@ import { SslCertificateService } from './services/SslCertificateService';
13
13
  import { UserService } from './services/UserService';
14
14
  import { CronJobService } from './services/CronJobService';
15
15
  import { StaticService } from './services/StaticService';
16
- import { ActionsApiService } from './api/generated/apis/actions-api';
17
16
  import { SocialAccountService } from './services/SocialAccountService';
18
17
  import { LogService } from './services/LogService';
19
18
  import { VariableService } from './services/VariableService';
@@ -24,8 +23,9 @@ import { CloudProviderService } from './services/CloudProviderService';
24
23
  import { InvitationService } from './services/InvitationService';
25
24
  import { TeamService } from './services/TeamService';
26
25
  import { ResourceEventService } from './services/ResourceEventService';
26
+ import { ActionService } from './services/ActionService';
27
27
  export declare class DevopnessApiClient {
28
- actions: ActionsApiService;
28
+ actions: ActionService;
29
29
  applications: ApplicationService;
30
30
  cloudProviders: CloudProviderService;
31
31
  cronjobs: CronJobService;
@@ -16,7 +16,6 @@ const SslCertificateService_1 = require("./services/SslCertificateService");
16
16
  const UserService_1 = require("./services/UserService");
17
17
  const CronJobService_1 = require("./services/CronJobService");
18
18
  const StaticService_1 = require("./services/StaticService");
19
- const actions_api_1 = require("./api/generated/apis/actions-api");
20
19
  const SocialAccountService_1 = require("./services/SocialAccountService");
21
20
  const LogService_1 = require("./services/LogService");
22
21
  const VariableService_1 = require("./services/VariableService");
@@ -27,13 +26,14 @@ const CloudProviderService_1 = require("./services/CloudProviderService");
27
26
  const InvitationService_1 = require("./services/InvitationService");
28
27
  const TeamService_1 = require("./services/TeamService");
29
28
  const ResourceEventService_1 = require("./services/ResourceEventService");
29
+ const ActionService_1 = require("./services/ActionService");
30
30
  class DevopnessApiClient {
31
31
  constructor(options) {
32
32
  ApiBaseService_1.ApiBaseService.configuration = new ApiBaseService_1.Configuration(options || {});
33
33
  // we initialize the services explicitly, instead of auto initialize them on property declaration in the beginning of the class,
34
34
  // cause some (or all) of them depend on `ApiBaseService.configuration` property be set. Furthermore, we ensure all assertions
35
35
  // for non provided required parameters are quickly returned to the end user before spending time loading extra resources
36
- this.actions = new actions_api_1.ActionsApiService();
36
+ this.actions = new ActionService_1.ActionService();
37
37
  this.applications = new ApplicationService_1.ApplicationService();
38
38
  this.cloudProviders = new CloudProviderService_1.CloudProviderService();
39
39
  this.cronjobs = new CronJobService_1.CronJobService();
@@ -0,0 +1,18 @@
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 { ActionDeploymentData } from './action-deployment-data';
13
+ /**
14
+ * @type ActionData
15
+ * Data related to action resource.
16
+ * @export
17
+ */
18
+ export declare type ActionData = ActionDeploymentData;
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,90 @@
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
+ * Informations about the commit used on this deployment
14
+ * @export
15
+ * @interface ActionDeploymentCommit
16
+ */
17
+ export interface ActionDeploymentCommit {
18
+ /**
19
+ * The ID of the source provider
20
+ * @type {number}
21
+ * @memberof ActionDeploymentCommit
22
+ */
23
+ source_provider_id: number;
24
+ /**
25
+ * The source provider\'s name
26
+ * @type {string}
27
+ * @memberof ActionDeploymentCommit
28
+ */
29
+ provider: string;
30
+ /**
31
+ * The repository of the deployed application
32
+ * @type {string}
33
+ * @memberof ActionDeploymentCommit
34
+ */
35
+ repository: string;
36
+ /**
37
+ * The branch used on deployment
38
+ * @type {string}
39
+ * @memberof ActionDeploymentCommit
40
+ */
41
+ branch: string;
42
+ /**
43
+ * The commit hash used on deployment
44
+ * @type {string}
45
+ * @memberof ActionDeploymentCommit
46
+ */
47
+ hash: string;
48
+ /**
49
+ * The commit message
50
+ * @type {string}
51
+ * @memberof ActionDeploymentCommit
52
+ */
53
+ message: string;
54
+ /**
55
+ * The author of the commit
56
+ * @type {string}
57
+ * @memberof ActionDeploymentCommit
58
+ */
59
+ author_name: string;
60
+ /**
61
+ * The commit author\'s email
62
+ * @type {string}
63
+ * @memberof ActionDeploymentCommit
64
+ */
65
+ author_email: string;
66
+ /**
67
+ * The date and time when the commit was created
68
+ * @type {string}
69
+ * @memberof ActionDeploymentCommit
70
+ */
71
+ committed_at: string;
72
+ /**
73
+ * The commit URL on the source provider
74
+ * @type {string}
75
+ * @memberof ActionDeploymentCommit
76
+ */
77
+ url: string;
78
+ /**
79
+ * The URL to clone the repository on the specific commit
80
+ * @type {string}
81
+ * @memberof ActionDeploymentCommit
82
+ */
83
+ clone_url: string;
84
+ /**
85
+ * The URL to download the commit source code
86
+ * @type {string}
87
+ * @memberof ActionDeploymentCommit
88
+ */
89
+ download_url: string;
90
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,55 @@
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 ActionDeploymentContent
17
+ */
18
+ export interface ActionDeploymentContent {
19
+ /**
20
+ * The ID of the source provider
21
+ * @type {number}
22
+ * @memberof ActionDeploymentContent
23
+ */
24
+ provider_id: number;
25
+ /**
26
+ * The source provider\'s name
27
+ * @type {string}
28
+ * @memberof ActionDeploymentContent
29
+ */
30
+ provider_name: string;
31
+ /**
32
+ *
33
+ * @type {DeploymentType}
34
+ * @memberof ActionDeploymentContent
35
+ */
36
+ type: DeploymentType;
37
+ /**
38
+ * The repository of the deployed application
39
+ * @type {string}
40
+ * @memberof ActionDeploymentContent
41
+ */
42
+ repository: string;
43
+ /**
44
+ * The branch used on deployment
45
+ * @type {string}
46
+ * @memberof ActionDeploymentContent
47
+ */
48
+ branch: string;
49
+ /**
50
+ * The commit hash defined to be used on deployment
51
+ * @type {string}
52
+ * @memberof ActionDeploymentContent
53
+ */
54
+ hash: string | null;
55
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,38 @@
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 { ActionDeploymentCommit } from './action-deployment-commit';
13
+ import { ActionDeploymentContent } from './action-deployment-content';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ActionDeploymentData
18
+ */
19
+ export interface ActionDeploymentData {
20
+ /**
21
+ * The name generated to release created by this deployment
22
+ * @type {string}
23
+ * @memberof ActionDeploymentData
24
+ */
25
+ release_name: string;
26
+ /**
27
+ *
28
+ * @type {ActionDeploymentCommit}
29
+ * @memberof ActionDeploymentData
30
+ */
31
+ commit: ActionDeploymentCommit;
32
+ /**
33
+ *
34
+ * @type {ActionDeploymentContent}
35
+ * @memberof ActionDeploymentData
36
+ */
37
+ deployment: ActionDeploymentContent;
38
+ }
@@ -0,0 +1,14 @@
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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ActionData } from './action-data';
12
13
  import { ActionHookRequest } from './action-hook-request';
13
14
  import { ActionStatus } from './action-status';
14
15
  import { ActionSummary } from './action-summary';
@@ -61,6 +62,12 @@ export interface Action {
61
62
  * @memberof Action
62
63
  */
63
64
  url_web_permalink: string;
65
+ /**
66
+ *
67
+ * @type {ActionData}
68
+ * @memberof Action
69
+ */
70
+ action_data: ActionData | null;
64
71
  /**
65
72
  * List of actions dispatched to servers
66
73
  * @type {Array<ServerAction>}
@@ -1,5 +1,9 @@
1
1
  export * from './accepted-response-message';
2
2
  export * from './action';
3
+ export * from './action-data';
4
+ export * from './action-deployment-commit';
5
+ export * from './action-deployment-content';
6
+ export * from './action-deployment-data';
3
7
  export * from './action-hook-request';
4
8
  export * from './action-list-item';
5
9
  export * from './action-list-item-params';
@@ -16,6 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./accepted-response-message"), exports);
18
18
  __exportStar(require("./action"), exports);
19
+ __exportStar(require("./action-data"), exports);
20
+ __exportStar(require("./action-deployment-commit"), exports);
21
+ __exportStar(require("./action-deployment-content"), exports);
22
+ __exportStar(require("./action-deployment-data"), exports);
19
23
  __exportStar(require("./action-hook-request"), exports);
20
24
  __exportStar(require("./action-list-item"), exports);
21
25
  __exportStar(require("./action-list-item-params"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "1.103.0",
3
+ "version": "1.104.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },