@devopness/sdk-js 2.71.0 → 2.72.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,31 +13,31 @@ import { CloudOsVersionCode } from './cloud-os-version-code';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface CloudAwsEc2Settings
16
+ * @interface CloudServiceSettingsAwsEc2
17
17
  */
18
- export interface CloudAwsEc2Settings {
18
+ export interface CloudServiceSettingsAwsEc2 {
19
19
  /**
20
20
  * The instance type to be launched on the cloud provider
21
21
  * @type {string}
22
- * @memberof CloudAwsEc2Settings
22
+ * @memberof CloudServiceSettingsAwsEc2
23
23
  */
24
24
  instance_type: string;
25
25
  /**
26
26
  * Datacenter region where the cloud instance will be launched
27
27
  * @type {string}
28
- * @memberof CloudAwsEc2Settings
28
+ * @memberof CloudServiceSettingsAwsEc2
29
29
  */
30
30
  region: string;
31
31
  /**
32
32
  * The storage\'s size of the cloud instance
33
33
  * @type {number}
34
- * @memberof CloudAwsEc2Settings
34
+ * @memberof CloudServiceSettingsAwsEc2
35
35
  */
36
36
  storage_size: number;
37
37
  /**
38
38
  *
39
39
  * @type {CloudOsVersionCode}
40
- * @memberof CloudAwsEc2Settings
40
+ * @memberof CloudServiceSettingsAwsEc2
41
41
  */
42
42
  os_version_code: CloudOsVersionCode | null;
43
43
  }
@@ -13,25 +13,25 @@ import { CloudOsVersionCode } from './cloud-os-version-code';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface CloudDigitalOceanDropletSettings
16
+ * @interface CloudServiceSettingsDigitalOceanDroplet
17
17
  */
18
- export interface CloudDigitalOceanDropletSettings {
18
+ export interface CloudServiceSettingsDigitalOceanDroplet {
19
19
  /**
20
20
  * The instance type to be launched on the cloud provider
21
21
  * @type {string}
22
- * @memberof CloudDigitalOceanDropletSettings
22
+ * @memberof CloudServiceSettingsDigitalOceanDroplet
23
23
  */
24
24
  instance_type: string;
25
25
  /**
26
26
  * Datacenter region where the cloud instance will be launched
27
27
  * @type {string}
28
- * @memberof CloudDigitalOceanDropletSettings
28
+ * @memberof CloudServiceSettingsDigitalOceanDroplet
29
29
  */
30
30
  region: string;
31
31
  /**
32
32
  *
33
33
  * @type {CloudOsVersionCode}
34
- * @memberof CloudDigitalOceanDropletSettings
34
+ * @memberof CloudServiceSettingsDigitalOceanDroplet
35
35
  */
36
36
  os_version_code: CloudOsVersionCode | null;
37
37
  }
@@ -13,25 +13,25 @@ import { CloudOsVersionCode } from './cloud-os-version-code';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface CloudGcpSettings
16
+ * @interface CloudServiceSettingsGcpGce
17
17
  */
18
- export interface CloudGcpSettings {
18
+ export interface CloudServiceSettingsGcpGce {
19
19
  /**
20
20
  * The instance type to be launched on the cloud provider
21
21
  * @type {string}
22
- * @memberof CloudGcpSettings
22
+ * @memberof CloudServiceSettingsGcpGce
23
23
  */
24
24
  instance_type: string;
25
25
  /**
26
26
  * Datacenter region where the cloud instance will be launched
27
27
  * @type {string}
28
- * @memberof CloudGcpSettings
28
+ * @memberof CloudServiceSettingsGcpGce
29
29
  */
30
30
  region: string;
31
31
  /**
32
32
  *
33
33
  * @type {CloudOsVersionCode}
34
- * @memberof CloudGcpSettings
34
+ * @memberof CloudServiceSettingsGcpGce
35
35
  */
36
36
  os_version_code: CloudOsVersionCode | null;
37
37
  }
@@ -0,0 +1,25 @@
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 CloudServiceSettingsSelfHostedCustom
17
+ */
18
+ export interface CloudServiceSettingsSelfHostedCustom {
19
+ /**
20
+ *
21
+ * @type {CloudOsVersionCode}
22
+ * @memberof CloudServiceSettingsSelfHostedCustom
23
+ */
24
+ os_version_code: CloudOsVersionCode | null;
25
+ }
@@ -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,9 +28,6 @@ export * from './application-type';
28
28
  export * from './application-update';
29
29
  export * from './archived-environment-relation';
30
30
  export * from './blueprint-service';
31
- export * from './cloud-aws-ec2-settings';
32
- export * from './cloud-digital-ocean-droplet-settings';
33
- export * from './cloud-gcp-settings';
34
31
  export * from './cloud-instance-relation';
35
32
  export * from './cloud-os-version-code';
36
33
  export * from './cloud-provider';
@@ -43,6 +40,10 @@ export * from './cloud-provider-service';
43
40
  export * from './cloud-provider-service-code';
44
41
  export * from './cloud-provider-service-region';
45
42
  export * from './cloud-provider-settings-list';
43
+ export * from './cloud-service-settings-aws-ec2';
44
+ export * from './cloud-service-settings-digital-ocean-droplet';
45
+ export * from './cloud-service-settings-gcp-gce';
46
+ export * from './cloud-service-settings-self-hosted-custom';
46
47
  export * from './commit';
47
48
  export * from './credential';
48
49
  export * from './credential-aws';
@@ -44,9 +44,6 @@ __exportStar(require("./application-type"), exports);
44
44
  __exportStar(require("./application-update"), exports);
45
45
  __exportStar(require("./archived-environment-relation"), exports);
46
46
  __exportStar(require("./blueprint-service"), exports);
47
- __exportStar(require("./cloud-aws-ec2-settings"), exports);
48
- __exportStar(require("./cloud-digital-ocean-droplet-settings"), exports);
49
- __exportStar(require("./cloud-gcp-settings"), exports);
50
47
  __exportStar(require("./cloud-instance-relation"), exports);
51
48
  __exportStar(require("./cloud-os-version-code"), exports);
52
49
  __exportStar(require("./cloud-provider"), exports);
@@ -59,6 +56,10 @@ __exportStar(require("./cloud-provider-service"), exports);
59
56
  __exportStar(require("./cloud-provider-service-code"), exports);
60
57
  __exportStar(require("./cloud-provider-service-region"), exports);
61
58
  __exportStar(require("./cloud-provider-settings-list"), exports);
59
+ __exportStar(require("./cloud-service-settings-aws-ec2"), exports);
60
+ __exportStar(require("./cloud-service-settings-digital-ocean-droplet"), exports);
61
+ __exportStar(require("./cloud-service-settings-gcp-gce"), exports);
62
+ __exportStar(require("./cloud-service-settings-self-hosted-custom"), exports);
62
63
  __exportStar(require("./commit"), exports);
63
64
  __exportStar(require("./credential"), exports);
64
65
  __exportStar(require("./credential-aws"), exports);
@@ -9,9 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CloudAwsEc2Settings } from './cloud-aws-ec2-settings';
13
- import { CloudDigitalOceanDropletSettings } from './cloud-digital-ocean-droplet-settings';
14
- import { CloudGcpSettings } from './cloud-gcp-settings';
12
+ import { CloudServiceSettingsAwsEc2 } from './cloud-service-settings-aws-ec2';
13
+ import { CloudServiceSettingsDigitalOceanDroplet } from './cloud-service-settings-digital-ocean-droplet';
14
+ import { CloudServiceSettingsGcpGce } from './cloud-service-settings-gcp-gce';
15
+ import { CloudServiceSettingsSelfHostedCustom } from './cloud-service-settings-self-hosted-custom';
15
16
  import { ServerCloudServiceName } from './server-cloud-service-name';
16
17
  /**
17
18
  *
@@ -24,11 +25,11 @@ export interface ServerCloudService {
24
25
  * @type {ServerCloudServiceName}
25
26
  * @memberof ServerCloudService
26
27
  */
27
- name?: ServerCloudServiceName;
28
+ name: ServerCloudServiceName;
28
29
  /**
29
30
  * The configurations used to cloud service
30
- * @type {CloudAwsEc2Settings | CloudDigitalOceanDropletSettings | CloudGcpSettings}
31
+ * @type {CloudServiceSettingsAwsEc2 | CloudServiceSettingsDigitalOceanDroplet | CloudServiceSettingsGcpGce | CloudServiceSettingsSelfHostedCustom}
31
32
  * @memberof ServerCloudService
32
33
  */
33
- settings?: CloudAwsEc2Settings | CloudDigitalOceanDropletSettings | CloudGcpSettings;
34
+ settings: CloudServiceSettingsAwsEc2 | CloudServiceSettingsDigitalOceanDroplet | CloudServiceSettingsGcpGce | CloudServiceSettingsSelfHostedCustom;
34
35
  }
@@ -33,5 +33,5 @@ export interface ServerProvisionSettings {
33
33
  * @type {ServerCloudService}
34
34
  * @memberof ServerProvisionSettings
35
35
  */
36
- cloud_service?: ServerCloudService;
36
+ cloud_service: ServerCloudService;
37
37
  }
@@ -88,6 +88,12 @@ export interface Subscription {
88
88
  * @memberof Subscription
89
89
  */
90
90
  updated_at?: string;
91
+ /**
92
+ *
93
+ * @type {SubscriptionBalance}
94
+ * @memberof Subscription
95
+ */
96
+ current_balance?: SubscriptionBalance | null;
91
97
  /**
92
98
  * The list of subscription balances
93
99
  * @type {Array<SubscriptionBalance>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.71.0",
3
+ "version": "2.72.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },