@devopness/sdk-js 2.150.0 → 2.151.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.
@@ -16,6 +16,7 @@
16
16
  */
17
17
  export declare enum CloudProviderServiceCode {
18
18
  AwsEc2 = "aws-ec2",
19
+ AzureRm = "azure-rm",
19
20
  DigitaloceanDroplet = "digitalocean-droplet",
20
21
  GcpGce = "gcp-gce",
21
22
  SelfHostedCustom = "self-hosted-custom"
@@ -21,6 +21,7 @@ exports.CloudProviderServiceCode = void 0;
21
21
  var CloudProviderServiceCode;
22
22
  (function (CloudProviderServiceCode) {
23
23
  CloudProviderServiceCode["AwsEc2"] = "aws-ec2";
24
+ CloudProviderServiceCode["AzureRm"] = "azure-rm";
24
25
  CloudProviderServiceCode["DigitaloceanDroplet"] = "digitalocean-droplet";
25
26
  CloudProviderServiceCode["GcpGce"] = "gcp-gce";
26
27
  CloudProviderServiceCode["SelfHostedCustom"] = "self-hosted-custom";
@@ -244,6 +244,7 @@ export * from './subnet-network-create';
244
244
  export * from './subnet-provision-input';
245
245
  export * from './subnet-provision-input-settings';
246
246
  export * from './subnet-provision-input-settings-aws';
247
+ export * from './subnet-provision-input-settings-azure';
247
248
  export * from './subnet-provision-input-settings-digital-ocean';
248
249
  export * from './subnet-provision-input-settings-gcp';
249
250
  export * from './subnet-relation';
@@ -260,6 +260,7 @@ __exportStar(require("./subnet-network-create"), exports);
260
260
  __exportStar(require("./subnet-provision-input"), exports);
261
261
  __exportStar(require("./subnet-provision-input-settings"), exports);
262
262
  __exportStar(require("./subnet-provision-input-settings-aws"), exports);
263
+ __exportStar(require("./subnet-provision-input-settings-azure"), exports);
263
264
  __exportStar(require("./subnet-provision-input-settings-digital-ocean"), exports);
264
265
  __exportStar(require("./subnet-provision-input-settings-gcp"), exports);
265
266
  __exportStar(require("./subnet-relation"), exports);
@@ -21,7 +21,13 @@ export interface StepPipelineCreate {
21
21
  * @type {string}
22
22
  * @memberof StepPipelineCreate
23
23
  */
24
- name: string;
24
+ name?: string;
25
+ /**
26
+ * A short text describing the command. Can be helpful for other team members to understand why a pipeline step is needed. Must not be greater than 255 characters.
27
+ * @type {string}
28
+ * @memberof StepPipelineCreate
29
+ */
30
+ description?: string;
25
31
  /**
26
32
  * The pipeline step\'s type. Must not be greater than 20 characters.
27
33
  * @type {string}
@@ -27,7 +27,13 @@ export interface StepPipelineUpdate {
27
27
  * @type {string}
28
28
  * @memberof StepPipelineUpdate
29
29
  */
30
- name: string;
30
+ name?: string;
31
+ /**
32
+ * A short text describing the command. Can be helpful for other team members to understand why a pipeline step is needed. Must not be greater than 255 characters.
33
+ * @type {string}
34
+ * @memberof StepPipelineUpdate
35
+ */
36
+ description?: string;
31
37
  /**
32
38
  * The pipeline step\'s type. Must not be greater than 20 characters.
33
39
  * @type {string}
@@ -27,7 +27,13 @@ export interface Step {
27
27
  * @type {string}
28
28
  * @memberof Step
29
29
  */
30
- name: string;
30
+ name?: string | null;
31
+ /**
32
+ * The pipeline step\'s description
33
+ * @type {string}
34
+ * @memberof Step
35
+ */
36
+ description?: string | null;
31
37
  /**
32
38
  * The pipeline step\'s type
33
39
  * @type {string}
@@ -15,6 +15,18 @@
15
15
  * @interface SubnetProvisionInputSettingsAws
16
16
  */
17
17
  export interface SubnetProvisionInputSettingsAws {
18
+ /**
19
+ * The cloud provider region where the subnet will be created
20
+ * @type {string}
21
+ * @memberof SubnetProvisionInputSettingsAws
22
+ */
23
+ region?: string;
24
+ /**
25
+ * Human readable version of the subnet region
26
+ * @type {string}
27
+ * @memberof SubnetProvisionInputSettingsAws
28
+ */
29
+ region_human_readable?: string;
18
30
  /**
19
31
  * The cloud provider availability zone where the subnet will be created
20
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 SubnetProvisionInputSettingsAzure
16
+ */
17
+ export interface SubnetProvisionInputSettingsAzure {
18
+ /**
19
+ * The cloud provider region where the subnet will be created
20
+ * @type {string}
21
+ * @memberof SubnetProvisionInputSettingsAzure
22
+ */
23
+ region?: string;
24
+ /**
25
+ * Human readable version of the subnet region
26
+ * @type {string}
27
+ * @memberof SubnetProvisionInputSettingsAzure
28
+ */
29
+ region_human_readable?: string;
30
+ /**
31
+ * The IP CIDR range of the subnet
32
+ * @type {string}
33
+ * @memberof SubnetProvisionInputSettingsAzure
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 SubnetProvisionInputSettingsDigitalOcean {
21
21
  * @memberof SubnetProvisionInputSettingsDigitalOcean
22
22
  */
23
23
  region: string;
24
+ /**
25
+ * Human readable version of the subnet region
26
+ * @type {string}
27
+ * @memberof SubnetProvisionInputSettingsDigitalOcean
28
+ */
29
+ region_human_readable?: string;
24
30
  /**
25
31
  * The IP CIDR range of the subnet
26
32
  * @type {string}
@@ -21,6 +21,12 @@ export interface SubnetProvisionInputSettingsGcp {
21
21
  * @memberof SubnetProvisionInputSettingsGcp
22
22
  */
23
23
  region: string;
24
+ /**
25
+ * Human readable version of the subnet region
26
+ * @type {string}
27
+ * @memberof SubnetProvisionInputSettingsGcp
28
+ */
29
+ region_human_readable?: string;
24
30
  /**
25
31
  * The IP CIDR range of the subnet
26
32
  * @type {string}
@@ -10,10 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { SubnetProvisionInputSettingsAws } from './subnet-provision-input-settings-aws';
13
+ import { SubnetProvisionInputSettingsAzure } from './subnet-provision-input-settings-azure';
13
14
  import { SubnetProvisionInputSettingsDigitalOcean } from './subnet-provision-input-settings-digital-ocean';
14
15
  import { SubnetProvisionInputSettingsGcp } from './subnet-provision-input-settings-gcp';
15
16
  /**
16
17
  * @type SubnetProvisionInputSettings
17
18
  * @export
18
19
  */
19
- export type SubnetProvisionInputSettings = SubnetProvisionInputSettingsAws | SubnetProvisionInputSettingsDigitalOcean | SubnetProvisionInputSettingsGcp;
20
+ export type SubnetProvisionInputSettings = SubnetProvisionInputSettingsAws | SubnetProvisionInputSettingsAzure | SubnetProvisionInputSettingsDigitalOcean | SubnetProvisionInputSettingsGcp;
package/dist/index.js CHANGED
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
20
  };
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.SdkServices = exports.SdkModels = exports.SdkExceptions = void 0;
30
40
  __exportStar(require("./DevopnessApiClient"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.150.0",
3
+ "version": "2.151.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -59,12 +59,12 @@
59
59
  "eslint": "^7.32.0",
60
60
  "eslint-plugin-import": "^2.29.1",
61
61
  "eslint-plugin-node": "^11.1.0",
62
- "eslint-plugin-promise": "^6.4.0",
62
+ "eslint-plugin-promise": "^7.2.1",
63
63
  "husky": "9.1.1",
64
64
  "jest": "^29.7.0",
65
65
  "ts-jest": "^29.2.3",
66
- "typedoc": "^0.26.4",
67
- "typescript": "^5.5.3"
66
+ "typedoc": "^0.27.3",
67
+ "typescript": "^5.7.2"
68
68
  },
69
69
  "dependencies": {
70
70
  "@types/parse-link-header": "^2.0.3",