@devopness/sdk-js 2.148.0 → 2.150.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 (40) hide show
  1. package/dist/api/generated/models/action-type.d.ts +2 -6
  2. package/dist/api/generated/models/action-type.js +2 -6
  3. package/dist/api/generated/models/application-options.d.ts +7 -0
  4. package/dist/api/generated/models/cloud-service-settings-aws-ec2.d.ts +6 -0
  5. package/dist/api/generated/models/cloud-service-settings-azure-rm.d.ts +49 -0
  6. package/dist/api/generated/models/cloud-service-settings-azure-rm.js +14 -0
  7. package/dist/api/generated/models/cloud-service-settings-digital-ocean-droplet.d.ts +6 -0
  8. package/dist/api/generated/models/cloud-service-settings-gcp-gce.d.ts +6 -0
  9. package/dist/api/generated/models/credential-aws.d.ts +2 -2
  10. package/dist/api/generated/models/cron-job-relation.d.ts +2 -2
  11. package/dist/api/generated/models/cron-job.d.ts +2 -2
  12. package/dist/api/generated/models/daemon-relation.d.ts +2 -2
  13. package/dist/api/generated/models/daemon.d.ts +2 -2
  14. package/dist/api/generated/models/hook-pipeline-create.d.ts +0 -7
  15. package/dist/api/generated/models/hook-relation.d.ts +2 -2
  16. package/dist/api/generated/models/hook-update.d.ts +0 -7
  17. package/dist/api/generated/models/hook.d.ts +2 -2
  18. package/dist/api/generated/models/index.d.ts +2 -0
  19. package/dist/api/generated/models/index.js +2 -0
  20. package/dist/api/generated/models/network-provision-input-settings-aws.d.ts +6 -0
  21. package/dist/api/generated/models/network-provision-input-settings-azure.d.ts +36 -0
  22. package/dist/api/generated/models/network-provision-input-settings-azure.js +14 -0
  23. package/dist/api/generated/models/network-provision-input-settings-digital-ocean.d.ts +6 -0
  24. package/dist/api/generated/models/network-provision-input-settings-gcp.d.ts +6 -0
  25. package/dist/api/generated/models/network-provision-input-settings.d.ts +2 -1
  26. package/dist/api/generated/models/network-rule-relation.d.ts +2 -2
  27. package/dist/api/generated/models/network-rule.d.ts +2 -2
  28. package/dist/api/generated/models/pipeline-relation.d.ts +6 -0
  29. package/dist/api/generated/models/pipeline.d.ts +6 -0
  30. package/dist/api/generated/models/server-provision-input.d.ts +3 -2
  31. package/dist/api/generated/models/server-relation.d.ts +7 -1
  32. package/dist/api/generated/models/service-relation.d.ts +2 -2
  33. package/dist/api/generated/models/service.d.ts +2 -2
  34. package/dist/api/generated/models/variable-relation.d.ts +1 -1
  35. package/dist/api/generated/models/variable-target.d.ts +3 -4
  36. package/dist/api/generated/models/variable-target.js +3 -4
  37. package/dist/api/generated/models/variable.d.ts +1 -1
  38. package/dist/services/index.d.ts +5 -0
  39. package/dist/services/index.js +5 -0
  40. package/package.json +4 -4
@@ -17,17 +17,13 @@
17
17
  export declare enum ActionType {
18
18
  Add = "add",
19
19
  CheckProvisioned = "check_provisioned",
20
+ Delete = "delete",
20
21
  Deploy = "deploy",
21
- Disable = "disable",
22
- Enable = "enable",
23
22
  GetStatus = "get_status",
24
23
  Provision = "provision",
25
- Redeploy = "redeploy",
26
24
  Reload = "reload",
27
- Remove = "remove",
28
25
  Restart = "restart",
29
- Rollback = "rollback",
26
+ Setup = "setup",
30
27
  Start = "start",
31
- Status = "status",
32
28
  Stop = "stop"
33
29
  }
@@ -22,17 +22,13 @@ var ActionType;
22
22
  (function (ActionType) {
23
23
  ActionType["Add"] = "add";
24
24
  ActionType["CheckProvisioned"] = "check_provisioned";
25
+ ActionType["Delete"] = "delete";
25
26
  ActionType["Deploy"] = "deploy";
26
- ActionType["Disable"] = "disable";
27
- ActionType["Enable"] = "enable";
28
27
  ActionType["GetStatus"] = "get_status";
29
28
  ActionType["Provision"] = "provision";
30
- ActionType["Redeploy"] = "redeploy";
31
29
  ActionType["Reload"] = "reload";
32
- ActionType["Remove"] = "remove";
33
30
  ActionType["Restart"] = "restart";
34
- ActionType["Rollback"] = "rollback";
31
+ ActionType["Setup"] = "setup";
35
32
  ActionType["Start"] = "start";
36
- ActionType["Status"] = "status";
37
33
  ActionType["Stop"] = "stop";
38
34
  })(ActionType || (exports.ActionType = ActionType = {}));
@@ -11,12 +11,19 @@
11
11
  */
12
12
  import { LanguageRuntime } from './language-runtime';
13
13
  import { ScriptRunner } from './script-runner';
14
+ import { VariableTargets } from './variable-targets';
14
15
  /**
15
16
  *
16
17
  * @export
17
18
  * @interface ApplicationOptions
18
19
  */
19
20
  export interface ApplicationOptions {
21
+ /**
22
+ * The list of VariableTarget
23
+ * @type {Array<VariableTargets>}
24
+ * @memberof ApplicationOptions
25
+ */
26
+ variable_targets: Array<VariableTargets>;
20
27
  /**
21
28
  *
22
29
  * @type {Array<LanguageRuntime>}
@@ -28,6 +28,12 @@ export interface CloudServiceSettingsAwsEc2 {
28
28
  * @memberof CloudServiceSettingsAwsEc2
29
29
  */
30
30
  region: string;
31
+ /**
32
+ * Human readable version of the server region
33
+ * @type {string}
34
+ * @memberof CloudServiceSettingsAwsEc2
35
+ */
36
+ region_human_readable?: string;
31
37
  /**
32
38
  * The storage\'s size of the cloud instance
33
39
  * @type {number}
@@ -0,0 +1,49 @@
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 { CloudOsVersionCode } from './cloud-os-version-code';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CloudServiceSettingsAzureRm
17
+ */
18
+ export interface CloudServiceSettingsAzureRm {
19
+ /**
20
+ * The instance type to be launched on the cloud provider
21
+ * @type {string}
22
+ * @memberof CloudServiceSettingsAzureRm
23
+ */
24
+ instance_type: string;
25
+ /**
26
+ * Datacenter region where the cloud instance will be launched
27
+ * @type {string}
28
+ * @memberof CloudServiceSettingsAzureRm
29
+ */
30
+ region: string;
31
+ /**
32
+ * Human readable version of the server region
33
+ * @type {string}
34
+ * @memberof CloudServiceSettingsAzureRm
35
+ */
36
+ region_human_readable?: string;
37
+ /**
38
+ * The storage\'s size of the cloud instance
39
+ * @type {number}
40
+ * @memberof CloudServiceSettingsAzureRm
41
+ */
42
+ storage_size: number;
43
+ /**
44
+ *
45
+ * @type {CloudOsVersionCode}
46
+ * @memberof CloudServiceSettingsAzureRm
47
+ */
48
+ os_version_code: CloudOsVersionCode | null;
49
+ }
@@ -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 });
@@ -28,6 +28,12 @@ export interface CloudServiceSettingsDigitalOceanDroplet {
28
28
  * @memberof CloudServiceSettingsDigitalOceanDroplet
29
29
  */
30
30
  region: string;
31
+ /**
32
+ * Human readable version of the server region
33
+ * @type {string}
34
+ * @memberof CloudServiceSettingsDigitalOceanDroplet
35
+ */
36
+ region_human_readable?: string;
31
37
  /**
32
38
  *
33
39
  * @type {CloudOsVersionCode}
@@ -28,6 +28,12 @@ export interface CloudServiceSettingsGcpGce {
28
28
  * @memberof CloudServiceSettingsGcpGce
29
29
  */
30
30
  region: string;
31
+ /**
32
+ * Human readable version of the server region
33
+ * @type {string}
34
+ * @memberof CloudServiceSettingsGcpGce
35
+ */
36
+ region_human_readable?: string;
31
37
  /**
32
38
  *
33
39
  * @type {CloudOsVersionCode}
@@ -20,11 +20,11 @@ export interface CredentialAws {
20
20
  * @type {string}
21
21
  * @memberof CredentialAws
22
22
  */
23
- access_key: string;
23
+ access_key_id: string;
24
24
  /**
25
25
  * The secret used to authenticate on AWS cloud provider
26
26
  * @type {string}
27
27
  * @memberof CredentialAws
28
28
  */
29
- secret: string;
29
+ secret_access_key: string;
30
30
  }
@@ -56,11 +56,11 @@ export interface CronJobRelation {
56
56
  */
57
57
  pattern_human_readable: CronJobPattern;
58
58
  /**
59
- * Indicates if the cron job was auto_generated by `devopness` itself
59
+ * Indicates if the cron job was auto_generated by `Devopness` itself
60
60
  * @type {boolean}
61
61
  * @memberof CronJobRelation
62
62
  */
63
- auto_generated: boolean;
63
+ is_auto_generated: boolean;
64
64
  /**
65
65
  *
66
66
  * @type {ActionRelation}
@@ -59,11 +59,11 @@ export interface CronJob {
59
59
  */
60
60
  pattern_human_readable: CronJobPattern;
61
61
  /**
62
- * Indicates if the cron job was auto_generated by `devopness` itself
62
+ * Indicates if the cron job was auto_generated by `Devopness` itself
63
63
  * @type {boolean}
64
64
  * @memberof CronJob
65
65
  */
66
- auto_generated: boolean;
66
+ is_auto_generated: boolean;
67
67
  /**
68
68
  *
69
69
  * @type {ActionRelation}
@@ -55,11 +55,11 @@ export interface DaemonRelation {
55
55
  */
56
56
  process_count: number;
57
57
  /**
58
- * Indicates if the daemon was auto_generated by `devopness` itself
58
+ * Indicates if the daemon was auto_generated by `Devopness` itself
59
59
  * @type {boolean}
60
60
  * @memberof DaemonRelation
61
61
  */
62
- auto_generated: boolean;
62
+ is_auto_generated: boolean;
63
63
  /**
64
64
  *
65
65
  * @type {ActionRelation}
@@ -58,11 +58,11 @@ export interface Daemon {
58
58
  */
59
59
  process_count: number;
60
60
  /**
61
- * Indicates if the daemon was auto_generated by `devopness` itself
61
+ * Indicates if the daemon was auto_generated by `Devopness` itself
62
62
  * @type {boolean}
63
63
  * @memberof Daemon
64
64
  */
65
- auto_generated: boolean;
65
+ is_auto_generated: boolean;
66
66
  /**
67
67
  *
68
68
  * @type {ProjectRelation}
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionType } from './action-type';
13
12
  import { HookIncomingSettings } from './hook-incoming-settings';
14
13
  import { HookOutgoingSettings } from './hook-outgoing-settings';
15
14
  import { HookTriggerWhen } from './hook-trigger-when';
@@ -25,12 +24,6 @@ export interface HookPipelineCreate {
25
24
  * @memberof HookPipelineCreate
26
25
  */
27
26
  name: string;
28
- /**
29
- *
30
- * @type {ActionType}
31
- * @memberof HookPipelineCreate
32
- */
33
- action_type: ActionType;
34
27
  /**
35
28
  * Determines if the hook is currently active.
36
29
  * @type {boolean}
@@ -58,11 +58,11 @@ export interface HookRelation {
58
58
  */
59
59
  target_url: string | null;
60
60
  /**
61
- * Indicates if the record was auto_generated by `devopness` itself
61
+ * Indicates if the record was auto_generated by `Devopness` itself
62
62
  * @type {boolean}
63
63
  * @memberof HookRelation
64
64
  */
65
- auto_generated: boolean;
65
+ is_auto_generated: boolean;
66
66
  /**
67
67
  * Tells if requests to this hook must only be accepted when a HTTP header is sent with a message authentication code ([HMAC](https://en.wikipedia.org/wiki/HMAC)) generated based on the secret provided by Devopness and shared by user with external sources
68
68
  * @type {boolean}
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionType } from './action-type';
13
12
  import { HookIncomingSettings } from './hook-incoming-settings';
14
13
  import { HookOutgoingSettings } from './hook-outgoing-settings';
15
14
  import { HookTriggerWhen } from './hook-trigger-when';
@@ -31,12 +30,6 @@ export interface HookUpdate {
31
30
  * @memberof HookUpdate
32
31
  */
33
32
  name: string;
34
- /**
35
- *
36
- * @type {ActionType}
37
- * @memberof HookUpdate
38
- */
39
- action_type?: ActionType;
40
33
  /**
41
34
  * Determines if the hook is currently active.
42
35
  * @type {boolean}
@@ -59,11 +59,11 @@ export interface Hook {
59
59
  */
60
60
  target_url: string | null;
61
61
  /**
62
- * Indicates if the record was auto_generated by `devopness` itself
62
+ * Indicates if the record was auto_generated by `Devopness` itself
63
63
  * @type {boolean}
64
64
  * @memberof Hook
65
65
  */
66
- auto_generated: boolean;
66
+ is_auto_generated: boolean;
67
67
  /**
68
68
  * Tells if requests to this hook must only be accepted when a HTTP header is sent with a message authentication code ([HMAC](https://en.wikipedia.org/wiki/HMAC)) generated based on the secret provided by Devopness and shared by user with external sources
69
69
  * @type {boolean}
@@ -49,6 +49,7 @@ export * from './cloud-provider-service-resource-type-scope';
49
49
  export * from './cloud-provider-settings-list';
50
50
  export * from './cloud-resource-type';
51
51
  export * from './cloud-service-settings-aws-ec2';
52
+ export * from './cloud-service-settings-azure-rm';
52
53
  export * from './cloud-service-settings-digital-ocean-droplet';
53
54
  export * from './cloud-service-settings-gcp-gce';
54
55
  export * from './cloud-service-settings-self-hosted-custom';
@@ -125,6 +126,7 @@ export * from './network-environment-create';
125
126
  export * from './network-provision-input';
126
127
  export * from './network-provision-input-settings';
127
128
  export * from './network-provision-input-settings-aws';
129
+ export * from './network-provision-input-settings-azure';
128
130
  export * from './network-provision-input-settings-digital-ocean';
129
131
  export * from './network-provision-input-settings-gcp';
130
132
  export * from './network-relation';
@@ -65,6 +65,7 @@ __exportStar(require("./cloud-provider-service-resource-type-scope"), exports);
65
65
  __exportStar(require("./cloud-provider-settings-list"), exports);
66
66
  __exportStar(require("./cloud-resource-type"), exports);
67
67
  __exportStar(require("./cloud-service-settings-aws-ec2"), exports);
68
+ __exportStar(require("./cloud-service-settings-azure-rm"), exports);
68
69
  __exportStar(require("./cloud-service-settings-digital-ocean-droplet"), exports);
69
70
  __exportStar(require("./cloud-service-settings-gcp-gce"), exports);
70
71
  __exportStar(require("./cloud-service-settings-self-hosted-custom"), exports);
@@ -141,6 +142,7 @@ __exportStar(require("./network-environment-create"), exports);
141
142
  __exportStar(require("./network-provision-input"), exports);
142
143
  __exportStar(require("./network-provision-input-settings"), exports);
143
144
  __exportStar(require("./network-provision-input-settings-aws"), exports);
145
+ __exportStar(require("./network-provision-input-settings-azure"), exports);
144
146
  __exportStar(require("./network-provision-input-settings-digital-ocean"), exports);
145
147
  __exportStar(require("./network-provision-input-settings-gcp"), exports);
146
148
  __exportStar(require("./network-relation"), exports);
@@ -21,6 +21,12 @@ export interface NetworkProvisionInputSettingsAws {
21
21
  * @memberof NetworkProvisionInputSettingsAws
22
22
  */
23
23
  region: string;
24
+ /**
25
+ * Human readable version of the network region
26
+ * @type {string}
27
+ * @memberof NetworkProvisionInputSettingsAws
28
+ */
29
+ region_human_readable?: string;
24
30
  /**
25
31
  * The IP CIDR range of the network
26
32
  * @type {string}
@@ -0,0 +1,36 @@
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 NetworkProvisionInputSettingsAzure
16
+ */
17
+ export interface NetworkProvisionInputSettingsAzure {
18
+ /**
19
+ * The cloud provider region where the network will be created
20
+ * @type {string}
21
+ * @memberof NetworkProvisionInputSettingsAzure
22
+ */
23
+ region: string;
24
+ /**
25
+ * Human readable version of the network region
26
+ * @type {string}
27
+ * @memberof NetworkProvisionInputSettingsAzure
28
+ */
29
+ region_human_readable?: string;
30
+ /**
31
+ * The IP CIDR range of the network
32
+ * @type {string}
33
+ * @memberof NetworkProvisionInputSettingsAzure
34
+ */
35
+ cidr_block: string;
36
+ }
@@ -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 });
@@ -21,6 +21,12 @@ export interface NetworkProvisionInputSettingsDigitalOcean {
21
21
  * @memberof NetworkProvisionInputSettingsDigitalOcean
22
22
  */
23
23
  region: string;
24
+ /**
25
+ * Human readable version of the network region
26
+ * @type {string}
27
+ * @memberof NetworkProvisionInputSettingsDigitalOcean
28
+ */
29
+ region_human_readable?: string;
24
30
  /**
25
31
  * The IP CIDR range of the network
26
32
  * @type {string}
@@ -21,4 +21,10 @@ export interface NetworkProvisionInputSettingsGcp {
21
21
  * @memberof NetworkProvisionInputSettingsGcp
22
22
  */
23
23
  region: string;
24
+ /**
25
+ * Human readable version of the network region
26
+ * @type {string}
27
+ * @memberof NetworkProvisionInputSettingsGcp
28
+ */
29
+ region_human_readable?: string;
24
30
  }
@@ -10,10 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { NetworkProvisionInputSettingsAws } from './network-provision-input-settings-aws';
13
+ import { NetworkProvisionInputSettingsAzure } from './network-provision-input-settings-azure';
13
14
  import { NetworkProvisionInputSettingsDigitalOcean } from './network-provision-input-settings-digital-ocean';
14
15
  import { NetworkProvisionInputSettingsGcp } from './network-provision-input-settings-gcp';
15
16
  /**
16
17
  * @type NetworkProvisionInputSettings
17
18
  * @export
18
19
  */
19
- export type NetworkProvisionInputSettings = NetworkProvisionInputSettingsAws | NetworkProvisionInputSettingsDigitalOcean | NetworkProvisionInputSettingsGcp;
20
+ export type NetworkProvisionInputSettings = NetworkProvisionInputSettingsAws | NetworkProvisionInputSettingsAzure | NetworkProvisionInputSettingsDigitalOcean | NetworkProvisionInputSettingsGcp;
@@ -55,11 +55,11 @@ export interface NetworkRuleRelation {
55
55
  */
56
56
  cidr_block: string;
57
57
  /**
58
- * Indicates if the network rule was auto_generated by `devopness` itself
58
+ * Indicates if the network rule was auto_generated by `Devopness` itself
59
59
  * @type {boolean}
60
60
  * @memberof NetworkRuleRelation
61
61
  */
62
- auto_generated: boolean;
62
+ is_auto_generated: boolean;
63
63
  /**
64
64
  *
65
65
  * @type {ActionRelation}
@@ -58,11 +58,11 @@ export interface NetworkRule {
58
58
  */
59
59
  cidr_block: string;
60
60
  /**
61
- * Indicates if the network rule was auto_generated by `devopness` itself
61
+ * Indicates if the network rule was auto_generated by `Devopness` itself
62
62
  * @type {boolean}
63
63
  * @memberof NetworkRule
64
64
  */
65
- auto_generated: boolean;
65
+ is_auto_generated: boolean;
66
66
  /**
67
67
  *
68
68
  * @type {ActionRelation}
@@ -71,6 +71,12 @@ export interface PipelineRelation {
71
71
  * @memberof PipelineRelation
72
72
  */
73
73
  operation_human_readable: string;
74
+ /**
75
+ * Indicates if the pipeline was auto_generated by `Devopness` itself
76
+ * @type {boolean}
77
+ * @memberof PipelineRelation
78
+ */
79
+ is_auto_generated: boolean;
74
80
  /**
75
81
  * Maximum number of actions that can run in parallel for this pipeline. `0` means no limit of simultaneous actions. `1` means just a single action will be started at a time to run this pipeline.
76
82
  * @type {number}
@@ -73,6 +73,12 @@ export interface Pipeline {
73
73
  * @memberof Pipeline
74
74
  */
75
75
  operation_human_readable: string;
76
+ /**
77
+ * Indicates if the pipeline was auto_generated by `Devopness` itself
78
+ * @type {boolean}
79
+ * @memberof Pipeline
80
+ */
81
+ is_auto_generated: boolean;
76
82
  /**
77
83
  * Maximum number of actions that can run in parallel for this pipeline. `0` means no limit of simultaneous actions. `1` means just a single action will be started at a time to run this pipeline.
78
84
  * @type {number}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CloudServiceSettingsAwsEc2 } from './cloud-service-settings-aws-ec2';
13
+ import { CloudServiceSettingsAzureRm } from './cloud-service-settings-azure-rm';
13
14
  import { CloudServiceSettingsDigitalOceanDroplet } from './cloud-service-settings-digital-ocean-droplet';
14
15
  import { CloudServiceSettingsGcpGce } from './cloud-service-settings-gcp-gce';
15
16
  import { CloudServiceSettingsSelfHostedCustom } from './cloud-service-settings-self-hosted-custom';
@@ -34,8 +35,8 @@ export interface ServerProvisionInput {
34
35
  cloud_service_code: ServerCloudServiceCode;
35
36
  /**
36
37
  * The configurations used to cloud service
37
- * @type {CloudServiceSettingsAwsEc2 | CloudServiceSettingsDigitalOceanDroplet | CloudServiceSettingsGcpGce | CloudServiceSettingsSelfHostedCustom}
38
+ * @type {CloudServiceSettingsAwsEc2 | CloudServiceSettingsAzureRm | CloudServiceSettingsDigitalOceanDroplet | CloudServiceSettingsGcpGce | CloudServiceSettingsSelfHostedCustom}
38
39
  * @memberof ServerProvisionInput
39
40
  */
40
- settings?: CloudServiceSettingsAwsEc2 | CloudServiceSettingsDigitalOceanDroplet | CloudServiceSettingsGcpGce | CloudServiceSettingsSelfHostedCustom;
41
+ settings?: CloudServiceSettingsAwsEc2 | CloudServiceSettingsAzureRm | CloudServiceSettingsDigitalOceanDroplet | CloudServiceSettingsGcpGce | CloudServiceSettingsSelfHostedCustom;
41
42
  }
@@ -65,7 +65,13 @@ export interface ServerRelation {
65
65
  * @type {string}
66
66
  * @memberof ServerRelation
67
67
  */
68
- region: string;
68
+ region: string | null;
69
+ /**
70
+ * The human readable version of the region
71
+ * @type {string}
72
+ * @memberof ServerRelation
73
+ */
74
+ region_human_readable: string | null;
69
75
  /**
70
76
  * Public ipv4 address for server access
71
77
  * @type {string}
@@ -48,11 +48,11 @@ export interface ServiceRelation {
48
48
  */
49
49
  version: string | null;
50
50
  /**
51
- * Indicates if the service was auto_generated by `devopness` itself
51
+ * Indicates if the service was auto_generated by `Devopness` itself
52
52
  * @type {boolean}
53
53
  * @memberof ServiceRelation
54
54
  */
55
- auto_generated: boolean;
55
+ is_auto_generated: boolean;
56
56
  /**
57
57
  * Indicates if the service will start automatically on operating system boot
58
58
  * @type {boolean}
@@ -52,11 +52,11 @@ export interface Service {
52
52
  */
53
53
  version: string | null;
54
54
  /**
55
- * Indicates if the service was auto_generated by `devopness` itself
55
+ * Indicates if the service was auto_generated by `Devopness` itself
56
56
  * @type {boolean}
57
57
  * @memberof Service
58
58
  */
59
- auto_generated: boolean;
59
+ is_auto_generated: boolean;
60
60
  /**
61
61
  * Indicates if the service will start automatically on operating system boot
62
62
  * @type {boolean}
@@ -47,7 +47,7 @@ export interface VariableRelation {
47
47
  * @type {string}
48
48
  * @memberof VariableRelation
49
49
  */
50
- value: string;
50
+ value: string | null;
51
51
  /**
52
52
  *
53
53
  * @type {VariableTarget}
@@ -15,19 +15,18 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum VariableTarget {
18
- ResourceConfigFile = "resource-config-file",
19
- NginxHttpServer = "nginx-http-server",
20
18
  MyCnf = "my-cnf",
21
19
  NewrelicInfraYml = "newrelic-infra-yml",
22
- NginxConf = "nginx-conf",
23
- NginxMain = "nginx-main",
20
+ NginxHttpServer = "nginx-http-server",
24
21
  NginxHttp = "nginx-http",
22
+ NginxMain = "nginx-main",
25
23
  OsEnvVar = "os-env-var",
26
24
  PhpCliPhpIni = "php-cli_php-ini",
27
25
  PhpFpmPhpFpmConf = "php-fpm_php-fpm-conf",
28
26
  PhpFpmPhpIni = "php-fpm_php-ini",
29
27
  PhpFpmPoolDWwwConf = "php-fpm_pool-d-www-conf",
30
28
  RedisConf = "redis-conf",
29
+ ResourceConfigFile = "resource-config-file",
31
30
  SupervisordConf = "supervisord-conf",
32
31
  SysctlConf = "sysctl-conf"
33
32
  }
@@ -20,19 +20,18 @@ exports.VariableTarget = void 0;
20
20
  */
21
21
  var VariableTarget;
22
22
  (function (VariableTarget) {
23
- VariableTarget["ResourceConfigFile"] = "resource-config-file";
24
- VariableTarget["NginxHttpServer"] = "nginx-http-server";
25
23
  VariableTarget["MyCnf"] = "my-cnf";
26
24
  VariableTarget["NewrelicInfraYml"] = "newrelic-infra-yml";
27
- VariableTarget["NginxConf"] = "nginx-conf";
28
- VariableTarget["NginxMain"] = "nginx-main";
25
+ VariableTarget["NginxHttpServer"] = "nginx-http-server";
29
26
  VariableTarget["NginxHttp"] = "nginx-http";
27
+ VariableTarget["NginxMain"] = "nginx-main";
30
28
  VariableTarget["OsEnvVar"] = "os-env-var";
31
29
  VariableTarget["PhpCliPhpIni"] = "php-cli_php-ini";
32
30
  VariableTarget["PhpFpmPhpFpmConf"] = "php-fpm_php-fpm-conf";
33
31
  VariableTarget["PhpFpmPhpIni"] = "php-fpm_php-ini";
34
32
  VariableTarget["PhpFpmPoolDWwwConf"] = "php-fpm_pool-d-www-conf";
35
33
  VariableTarget["RedisConf"] = "redis-conf";
34
+ VariableTarget["ResourceConfigFile"] = "resource-config-file";
36
35
  VariableTarget["SupervisordConf"] = "supervisord-conf";
37
36
  VariableTarget["SysctlConf"] = "sysctl-conf";
38
37
  })(VariableTarget || (exports.VariableTarget = VariableTarget = {}));
@@ -47,7 +47,7 @@ export interface Variable {
47
47
  * @type {string}
48
48
  * @memberof Variable
49
49
  */
50
- value: string;
50
+ value: string | null;
51
51
  /**
52
52
  *
53
53
  * @type {VariableTarget}
@@ -1,6 +1,7 @@
1
1
  export * from './ActionService';
2
2
  export * from './ApiBaseService';
3
3
  export * from './ApplicationService';
4
+ export * from './CredentialService';
4
5
  export * from './CronJobService';
5
6
  export * from './DaemonService';
6
7
  export * from './EnvironmentService';
@@ -8,9 +9,11 @@ export * from './HookRequestService';
8
9
  export * from './HookService';
9
10
  export * from './LogService';
10
11
  export * from './NetworkRuleService';
12
+ export * from './NetworkService';
11
13
  export * from './PipelineService';
12
14
  export * from './ProjectService';
13
15
  export * from './ResourceEventService';
16
+ export * from './ResourceLinkService';
14
17
  export * from './RoleService';
15
18
  export * from './ServerService';
16
19
  export * from './ServiceService';
@@ -18,7 +21,9 @@ export * from './SocialAccountService';
18
21
  export * from './SshKeyService';
19
22
  export * from './SslCertificateService';
20
23
  export * from './StaticService';
24
+ export * from './SubnetService';
21
25
  export * from './TeamInvitationService';
22
26
  export * from './TeamService';
23
27
  export * from './UserService';
24
28
  export * from './VariableService';
29
+ export * from './VirtualHostService';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ActionService"), exports);
18
18
  __exportStar(require("./ApiBaseService"), exports);
19
19
  __exportStar(require("./ApplicationService"), exports);
20
+ __exportStar(require("./CredentialService"), exports);
20
21
  __exportStar(require("./CronJobService"), exports);
21
22
  __exportStar(require("./DaemonService"), exports);
22
23
  __exportStar(require("./EnvironmentService"), exports);
@@ -24,9 +25,11 @@ __exportStar(require("./HookRequestService"), exports);
24
25
  __exportStar(require("./HookService"), exports);
25
26
  __exportStar(require("./LogService"), exports);
26
27
  __exportStar(require("./NetworkRuleService"), exports);
28
+ __exportStar(require("./NetworkService"), exports);
27
29
  __exportStar(require("./PipelineService"), exports);
28
30
  __exportStar(require("./ProjectService"), exports);
29
31
  __exportStar(require("./ResourceEventService"), exports);
32
+ __exportStar(require("./ResourceLinkService"), exports);
30
33
  __exportStar(require("./RoleService"), exports);
31
34
  __exportStar(require("./ServerService"), exports);
32
35
  __exportStar(require("./ServiceService"), exports);
@@ -34,7 +37,9 @@ __exportStar(require("./SocialAccountService"), exports);
34
37
  __exportStar(require("./SshKeyService"), exports);
35
38
  __exportStar(require("./SslCertificateService"), exports);
36
39
  __exportStar(require("./StaticService"), exports);
40
+ __exportStar(require("./SubnetService"), exports);
37
41
  __exportStar(require("./TeamInvitationService"), exports);
38
42
  __exportStar(require("./TeamService"), exports);
39
43
  __exportStar(require("./UserService"), exports);
40
44
  __exportStar(require("./VariableService"), exports);
45
+ __exportStar(require("./VirtualHostService"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.148.0",
3
+ "version": "2.150.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,10 +52,10 @@
52
52
  },
53
53
  "homepage": "https://github.com/devopness/devopness#readme",
54
54
  "devDependencies": {
55
- "@openapitools/openapi-generator-cli": "^2.13.4",
55
+ "@openapitools/openapi-generator-cli": "^2.15.3",
56
56
  "@types/jest": "^29.5.12",
57
57
  "@typescript-eslint/eslint-plugin": "^5.31.0",
58
- "axios-mock-adapter": "^1.22.0",
58
+ "axios-mock-adapter": "^2.1.0",
59
59
  "eslint": "^7.32.0",
60
60
  "eslint-plugin-import": "^2.29.1",
61
61
  "eslint-plugin-node": "^11.1.0",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@types/parse-link-header": "^2.0.3",
71
- "axios": "^1.7.2",
71
+ "axios": "^1.7.9",
72
72
  "parse-link-header": "^2.0.0"
73
73
  }
74
74
  }