@devopness/sdk-js 2.142.2 → 2.144.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 (34) hide show
  1. package/dist/api/generated/models/application-environment-create.d.ts +15 -1
  2. package/dist/api/generated/models/application-update.d.ts +2 -2
  3. package/dist/api/generated/models/cloud-provider-code.d.ts +1 -0
  4. package/dist/api/generated/models/cloud-provider-code.js +1 -0
  5. package/dist/api/generated/models/credential-update.d.ts +1 -1
  6. package/dist/api/generated/models/cron-job-environment-create.d.ts +7 -0
  7. package/dist/api/generated/models/cron-job-update.d.ts +1 -1
  8. package/dist/api/generated/models/daemon-environment-create.d.ts +7 -0
  9. package/dist/api/generated/models/daemon-update.d.ts +1 -1
  10. package/dist/api/generated/models/environment-update.d.ts +1 -1
  11. package/dist/api/generated/models/hook-update.d.ts +6 -0
  12. package/dist/api/generated/models/index.d.ts +1 -0
  13. package/dist/api/generated/models/index.js +1 -0
  14. package/dist/api/generated/models/network-rule-environment-create.d.ts +8 -1
  15. package/dist/api/generated/models/network-rule-update.d.ts +1 -1
  16. package/dist/api/generated/models/network-update.d.ts +1 -1
  17. package/dist/api/generated/models/pipeline-update.d.ts +1 -1
  18. package/dist/api/generated/models/project-update.d.ts +1 -1
  19. package/dist/api/generated/models/resource-to-be-linked.d.ts +30 -0
  20. package/dist/api/generated/models/resource-to-be-linked.js +14 -0
  21. package/dist/api/generated/models/role-update.d.ts +6 -0
  22. package/dist/api/generated/models/server-relation.d.ts +14 -1
  23. package/dist/api/generated/models/server-update.d.ts +1 -1
  24. package/dist/api/generated/models/service-environment-create.d.ts +7 -0
  25. package/dist/api/generated/models/service-update.d.ts +1 -1
  26. package/dist/api/generated/models/ssh-key-environment-create.d.ts +7 -0
  27. package/dist/api/generated/models/ssh-key-update.d.ts +1 -1
  28. package/dist/api/generated/models/step-pipeline-update.d.ts +1 -1
  29. package/dist/api/generated/models/team-update.d.ts +1 -1
  30. package/dist/api/generated/models/user-update.d.ts +1 -1
  31. package/dist/api/generated/models/variable-update.d.ts +3 -3
  32. package/dist/api/generated/models/virtual-host-environment-create.d.ts +7 -0
  33. package/dist/api/generated/models/virtual-host-update.d.ts +2 -2
  34. package/package.json +1 -1
@@ -9,12 +9,20 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { EnvironmentLink } from './environment-link';
13
+ import { ResourceToBeLinked } from './resource-to-be-linked';
12
14
  /**
13
15
  *
14
16
  * @export
15
17
  * @interface ApplicationEnvironmentCreate
16
18
  */
17
19
  export interface ApplicationEnvironmentCreate {
20
+ /**
21
+ * The resources to be linked with this resource
22
+ * @type {Array<ResourceToBeLinked>}
23
+ * @memberof ApplicationEnvironmentCreate
24
+ */
25
+ linked_resources?: Array<ResourceToBeLinked>;
18
26
  /**
19
27
  * The application\'s unique name. Must not be greater than 60 characters.
20
28
  * @type {string}
@@ -34,7 +42,7 @@ export interface ApplicationEnvironmentCreate {
34
42
  */
35
43
  engine_version: string;
36
44
  /**
37
- * The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must not be greater than 30 characters.
45
+ * The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must be one of <code></code> Must not be greater than 30 characters.
38
46
  * @type {string}
39
47
  * @memberof ApplicationEnvironmentCreate
40
48
  */
@@ -81,4 +89,10 @@ export interface ApplicationEnvironmentCreate {
81
89
  * @memberof ApplicationEnvironmentCreate
82
90
  */
83
91
  install_dependencies_command?: string;
92
+ /**
93
+ *
94
+ * @type {Array<EnvironmentLink>}
95
+ * @memberof ApplicationEnvironmentCreate
96
+ */
97
+ environments?: Array<EnvironmentLink>;
84
98
  }
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ApplicationUpdate {
18
18
  /**
19
- * The unique id of the given application.
19
+ * The unique ID of the given Application.
20
20
  * @type {number}
21
21
  * @memberof ApplicationUpdate
22
22
  */
@@ -40,7 +40,7 @@ export interface ApplicationUpdate {
40
40
  */
41
41
  engine_version: string;
42
42
  /**
43
- * The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must not be greater than 30 characters.
43
+ * The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must be one of <code></code> Must not be greater than 30 characters.
44
44
  * @type {string}
45
45
  * @memberof ApplicationUpdate
46
46
  */
@@ -16,6 +16,7 @@
16
16
  */
17
17
  export declare enum CloudProviderCode {
18
18
  Aws = "aws",
19
+ Azure = "azure",
19
20
  Digitalocean = "digitalocean",
20
21
  Gcp = "gcp"
21
22
  }
@@ -21,6 +21,7 @@ exports.CloudProviderCode = void 0;
21
21
  var CloudProviderCode;
22
22
  (function (CloudProviderCode) {
23
23
  CloudProviderCode["Aws"] = "aws";
24
+ CloudProviderCode["Azure"] = "azure";
24
25
  CloudProviderCode["Digitalocean"] = "digitalocean";
25
26
  CloudProviderCode["Gcp"] = "gcp";
26
27
  })(CloudProviderCode || (exports.CloudProviderCode = CloudProviderCode = {}));
@@ -17,7 +17,7 @@ import { CredentialInputSettings } from './credential-input-settings';
17
17
  */
18
18
  export interface CredentialUpdate {
19
19
  /**
20
- * The unique ID of the given credential.
20
+ * The unique ID of the given Credential.
21
21
  * @type {number}
22
22
  * @memberof CredentialUpdate
23
23
  */
@@ -9,12 +9,19 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceToBeLinked } from './resource-to-be-linked';
12
13
  /**
13
14
  *
14
15
  * @export
15
16
  * @interface CronJobEnvironmentCreate
16
17
  */
17
18
  export interface CronJobEnvironmentCreate {
19
+ /**
20
+ * The resources to be linked with this resource
21
+ * @type {Array<ResourceToBeLinked>}
22
+ * @memberof CronJobEnvironmentCreate
23
+ */
24
+ linked_resources?: Array<ResourceToBeLinked>;
18
25
  /**
19
26
  * The name of the cron job. Must not be greater than 60 characters.
20
27
  * @type {string}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface CronJobUpdate {
18
18
  /**
19
- * The unique ID of the given cron job.
19
+ * The unique ID of the given Cron Job.
20
20
  * @type {number}
21
21
  * @memberof CronJobUpdate
22
22
  */
@@ -9,12 +9,19 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceToBeLinked } from './resource-to-be-linked';
12
13
  /**
13
14
  *
14
15
  * @export
15
16
  * @interface DaemonEnvironmentCreate
16
17
  */
17
18
  export interface DaemonEnvironmentCreate {
19
+ /**
20
+ * The resources to be linked with this resource
21
+ * @type {Array<ResourceToBeLinked>}
22
+ * @memberof DaemonEnvironmentCreate
23
+ */
24
+ linked_resources?: Array<ResourceToBeLinked>;
18
25
  /**
19
26
  * The command line to be executed to start the daemon. Must not be greater than 255 characters.
20
27
  * @type {string}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface DaemonUpdate {
18
18
  /**
19
- * The unique ID of the given daemon.
19
+ * The unique ID of the given Daemon.
20
20
  * @type {number}
21
21
  * @memberof DaemonUpdate
22
22
  */
@@ -17,7 +17,7 @@ import { EnvironmentType } from './environment-type';
17
17
  */
18
18
  export interface EnvironmentUpdate {
19
19
  /**
20
- * Environment\'s unique ID.
20
+ * The unique ID of the given Environment.
21
21
  * @type {number}
22
22
  * @memberof EnvironmentUpdate
23
23
  */
@@ -19,6 +19,12 @@ import { HookTriggerWhen } from './hook-trigger-when';
19
19
  * @interface HookUpdate
20
20
  */
21
21
  export interface HookUpdate {
22
+ /**
23
+ * The unique ID of the given Hook. Must be a valid UUID.
24
+ * @type {string}
25
+ * @memberof HookUpdate
26
+ */
27
+ id: string;
22
28
  /**
23
29
  * The name of the outgoing hook. Must not be greater than 60 characters.
24
30
  * @type {string}
@@ -172,6 +172,7 @@ export * from './resource-event';
172
172
  export * from './resource-event-relation';
173
173
  export * from './resource-link-relation';
174
174
  export * from './resource-operation';
175
+ export * from './resource-to-be-linked';
175
176
  export * from './resource-type';
176
177
  export * from './resource-type-related';
177
178
  export * from './resource-type-relation';
@@ -188,6 +188,7 @@ __exportStar(require("./resource-event"), exports);
188
188
  __exportStar(require("./resource-event-relation"), exports);
189
189
  __exportStar(require("./resource-link-relation"), exports);
190
190
  __exportStar(require("./resource-operation"), exports);
191
+ __exportStar(require("./resource-to-be-linked"), exports);
191
192
  __exportStar(require("./resource-type"), exports);
192
193
  __exportStar(require("./resource-type-related"), exports);
193
194
  __exportStar(require("./resource-type-relation"), exports);
@@ -11,12 +11,19 @@
11
11
  */
12
12
  import { NetworkRuleDirection } from './network-rule-direction';
13
13
  import { NetworkRuleProtocol } from './network-rule-protocol';
14
+ import { ResourceToBeLinked } from './resource-to-be-linked';
14
15
  /**
15
16
  *
16
17
  * @export
17
18
  * @interface NetworkRuleEnvironmentCreate
18
19
  */
19
20
  export interface NetworkRuleEnvironmentCreate {
21
+ /**
22
+ * The resources to be linked with this resource
23
+ * @type {Array<ResourceToBeLinked>}
24
+ * @memberof NetworkRuleEnvironmentCreate
25
+ */
26
+ linked_resources?: Array<ResourceToBeLinked>;
20
27
  /**
21
28
  * The rule\'s name/description/reminder. Must be at least 3 characters. Must not be greater than 60 characters.
22
29
  * @type {string}
@@ -34,7 +41,7 @@ export interface NetworkRuleEnvironmentCreate {
34
41
  * @type {NetworkRuleProtocol}
35
42
  * @memberof NetworkRuleEnvironmentCreate
36
43
  */
37
- protocol?: NetworkRuleProtocol;
44
+ protocol: NetworkRuleProtocol;
38
45
  /**
39
46
  * IP address range this rule applies for, defined using CIDR notation.
40
47
  * @type {string}
@@ -18,7 +18,7 @@ import { NetworkRuleProtocol } from './network-rule-protocol';
18
18
  */
19
19
  export interface NetworkRuleUpdate {
20
20
  /**
21
- * The unique ID of the given network rule.
21
+ * The unique ID of the given Network Rule.
22
22
  * @type {number}
23
23
  * @memberof NetworkRuleUpdate
24
24
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface NetworkUpdate {
18
18
  /**
19
- * The ID of the network.
19
+ * The unique ID of the given Network.
20
20
  * @type {number}
21
21
  * @memberof NetworkUpdate
22
22
  */
@@ -17,7 +17,7 @@ import { PipelineTriggerWhen } from './pipeline-trigger-when';
17
17
  */
18
18
  export interface PipelineUpdate {
19
19
  /**
20
- * The unique ID of the given pipeline.
20
+ * The unique ID of the given Pipeline.
21
21
  * @type {number}
22
22
  * @memberof PipelineUpdate
23
23
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ProjectUpdate {
18
18
  /**
19
- * The ID of the project.
19
+ * The unique ID of the given Project.
20
20
  * @type {number}
21
21
  * @memberof ProjectUpdate
22
22
  */
@@ -0,0 +1,30 @@
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 ResourceToBeLinked
16
+ */
17
+ export interface ResourceToBeLinked {
18
+ /**
19
+ * The type of the resource to be linked
20
+ * @type {string}
21
+ * @memberof ResourceToBeLinked
22
+ */
23
+ resource_type: string;
24
+ /**
25
+ * The ID of the resource to be linked
26
+ * @type {number}
27
+ * @memberof ResourceToBeLinked
28
+ */
29
+ resource_id: number;
30
+ }
@@ -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 });
@@ -15,6 +15,12 @@
15
15
  * @interface RoleUpdate
16
16
  */
17
17
  export interface RoleUpdate {
18
+ /**
19
+ * The unique ID of the given Role.
20
+ * @type {number}
21
+ * @memberof RoleUpdate
22
+ */
23
+ id: number;
18
24
  /**
19
25
  * The role\'s name. Must be at least 2 characters. Must not be greater than 60 characters.
20
26
  * @type {string}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ActionRelation } from './action-relation';
13
13
  import { ActionStatus } from './action-status';
14
+ import { Credential } from './credential';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -42,7 +43,7 @@ export interface ServerRelation {
42
43
  */
43
44
  hostname: string;
44
45
  /**
45
- * strubg The name of the server\'s provider.
46
+ * The name of the server\'s provider.
46
47
  * @type {string}
47
48
  * @memberof ServerRelation
48
49
  */
@@ -53,6 +54,18 @@ export interface ServerRelation {
53
54
  * @memberof ServerRelation
54
55
  */
55
56
  provider_name_human_readable: string;
57
+ /**
58
+ *
59
+ * @type {Credential}
60
+ * @memberof ServerRelation
61
+ */
62
+ credential?: Credential;
63
+ /**
64
+ * The region in which the server is located
65
+ * @type {string}
66
+ * @memberof ServerRelation
67
+ */
68
+ region: string;
56
69
  /**
57
70
  * Public ipv4 address for server access
58
71
  * @type {string}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ServerUpdate {
18
18
  /**
19
- * The unique ID of the given server.
19
+ * The unique ID of the given Server.
20
20
  * @type {number}
21
21
  * @memberof ServerUpdate
22
22
  */
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceToBeLinked } from './resource-to-be-linked';
12
13
  import { ServiceInitialState } from './service-initial-state';
13
14
  import { ServiceType } from './service-type';
14
15
  /**
@@ -17,6 +18,12 @@ import { ServiceType } from './service-type';
17
18
  * @interface ServiceEnvironmentCreate
18
19
  */
19
20
  export interface ServiceEnvironmentCreate {
21
+ /**
22
+ * The resources to be linked with this resource
23
+ * @type {Array<ResourceToBeLinked>}
24
+ * @memberof ServiceEnvironmentCreate
25
+ */
26
+ linked_resources?: Array<ResourceToBeLinked>;
20
27
  /**
21
28
  * Tells if the service should start automatically on operating system boot.
22
29
  * @type {boolean}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ServiceUpdate {
18
18
  /**
19
- * The unique ID of the service.
19
+ * The unique ID of the given Service.
20
20
  * @type {number}
21
21
  * @memberof ServiceUpdate
22
22
  */
@@ -9,12 +9,19 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceToBeLinked } from './resource-to-be-linked';
12
13
  /**
13
14
  *
14
15
  * @export
15
16
  * @interface SshKeyEnvironmentCreate
16
17
  */
17
18
  export interface SshKeyEnvironmentCreate {
19
+ /**
20
+ * The resources to be linked with this resource
21
+ * @type {Array<ResourceToBeLinked>}
22
+ * @memberof SshKeyEnvironmentCreate
23
+ */
24
+ linked_resources?: Array<ResourceToBeLinked>;
18
25
  /**
19
26
  * The ssh key\'s name. Must not be greater than 60 characters.
20
27
  * @type {string}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface SshKeyUpdate {
18
18
  /**
19
- * The ssh key\'s ID.
19
+ * The unique ID of the given SSH Key.
20
20
  * @type {number}
21
21
  * @memberof SshKeyUpdate
22
22
  */
@@ -17,7 +17,7 @@ import { PipelineStepRunnerName } from './pipeline-step-runner-name';
17
17
  */
18
18
  export interface StepPipelineUpdate {
19
19
  /**
20
- * The unique ID of the given pipeline step.
20
+ * The unique ID of the given Pipeline Step.
21
21
  * @type {number}
22
22
  * @memberof StepPipelineUpdate
23
23
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface TeamUpdate {
18
18
  /**
19
- * The unique ID of the given team.
19
+ * The unique ID of the given Team.
20
20
  * @type {number}
21
21
  * @memberof TeamUpdate
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface UserUpdate {
18
18
  /**
19
- * The unique ID of the given user.
19
+ * The unique ID of the given User.
20
20
  * @type {number}
21
21
  * @memberof UserUpdate
22
22
  */
@@ -18,19 +18,19 @@ import { VariableType } from './variable-type';
18
18
  */
19
19
  export interface VariableUpdate {
20
20
  /**
21
- * The unique ID of the variable.
21
+ * The unique ID of the given Variable.
22
22
  * @type {number}
23
23
  * @memberof VariableUpdate
24
24
  */
25
25
  id: number;
26
26
  /**
27
- * The unique key used to identify the variable on the target. When variable is of type `file`, this is the relative path to the file within the application directory. Must not be greater than 100 characters.
27
+ * The unique key used to identify the variable on the target. When variable is of type `file`, this is the relative path to the file within the application directory. Must not be greater than 100 characters.
28
28
  * @type {string}
29
29
  * @memberof VariableUpdate
30
30
  */
31
31
  key: string;
32
32
  /**
33
- * The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
33
+ * The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
34
34
  * @type {string}
35
35
  * @memberof VariableUpdate
36
36
  */
@@ -9,12 +9,19 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceToBeLinked } from './resource-to-be-linked';
12
13
  /**
13
14
  *
14
15
  * @export
15
16
  * @interface VirtualHostEnvironmentCreate
16
17
  */
17
18
  export interface VirtualHostEnvironmentCreate {
19
+ /**
20
+ * The resources to be linked with this resource
21
+ * @type {Array<ResourceToBeLinked>}
22
+ * @memberof VirtualHostEnvironmentCreate
23
+ */
24
+ linked_resources?: Array<ResourceToBeLinked>;
18
25
  /**
19
26
  * The type of virtual host to be created. Must be one of <code>ip-based</code> or <code>name-based</code>.
20
27
  * @type {string}
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface VirtualHostUpdate {
18
18
  /**
19
- * The unique ID of the given virtual host.
19
+ * The unique ID of the given Virtual Host.
20
20
  * @type {number}
21
21
  * @memberof VirtualHostUpdate
22
22
  */
@@ -26,7 +26,7 @@ export interface VirtualHostUpdate {
26
26
  * @type {string}
27
27
  * @memberof VirtualHostUpdate
28
28
  */
29
- name?: string;
29
+ name: string;
30
30
  /**
31
31
  * The document root location, within the application directory, that contains the public files to be served when a user visits the domain name associated with this virtual host. Must not be greater than 255 characters.
32
32
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.142.2",
3
+ "version": "2.144.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },