@devopness/sdk-js 2.163.0 → 2.163.1

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.
@@ -0,0 +1,42 @@
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 CredentialAzure
16
+ */
17
+ export interface CredentialAzure {
18
+ /**
19
+ * ID that identifies your company space (directory) inside Azure
20
+ * @type {string}
21
+ * @memberof CredentialAzure
22
+ */
23
+ tenant_id: string;
24
+ /**
25
+ * ID that identifies your billing account where Azure resources are stored
26
+ * @type {string}
27
+ * @memberof CredentialAzure
28
+ */
29
+ subscription_id: string;
30
+ /**
31
+ * ID that identifies the application when connecting to Azure
32
+ * @type {string}
33
+ * @memberof CredentialAzure
34
+ */
35
+ client_id: string;
36
+ /**
37
+ * Secret password used by the application to authenticate to Azure
38
+ * @type {string}
39
+ * @memberof CredentialAzure
40
+ */
41
+ client_secret: string;
42
+ }
@@ -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 });
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CredentialAws } from './credential-aws';
13
+ import { CredentialAzure } from './credential-azure';
13
14
  import { CredentialDigitalOcean } from './credential-digital-ocean';
14
15
  import { CredentialGoogleCloud } from './credential-google-cloud';
15
16
  import { CredentialSourceProvider } from './credential-source-provider';
@@ -21,8 +22,8 @@ import { CredentialSourceProvider } from './credential-source-provider';
21
22
  export interface CredentialInputSettings {
22
23
  /**
23
24
  * Cloud provider credential
24
- * @type {CredentialAws | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider}
25
+ * @type {CredentialAws | CredentialAzure | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider}
25
26
  * @memberof CredentialInputSettings
26
27
  */
27
- credential: CredentialAws | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider;
28
+ credential: CredentialAws | CredentialAzure | CredentialDigitalOcean | CredentialGoogleCloud | CredentialSourceProvider;
28
29
  }
@@ -57,6 +57,7 @@ export * from './cloud-service-settings-self-hosted-custom';
57
57
  export * from './commit';
58
58
  export * from './credential';
59
59
  export * from './credential-aws';
60
+ export * from './credential-azure';
60
61
  export * from './credential-digital-ocean';
61
62
  export * from './credential-environment-create';
62
63
  export * from './credential-google-cloud';
@@ -73,6 +73,7 @@ __exportStar(require("./cloud-service-settings-self-hosted-custom"), exports);
73
73
  __exportStar(require("./commit"), exports);
74
74
  __exportStar(require("./credential"), exports);
75
75
  __exportStar(require("./credential-aws"), exports);
76
+ __exportStar(require("./credential-azure"), exports);
76
77
  __exportStar(require("./credential-digital-ocean"), exports);
77
78
  __exportStar(require("./credential-environment-create"), exports);
78
79
  __exportStar(require("./credential-google-cloud"), exports);
@@ -16,6 +16,7 @@
16
16
  */
17
17
  export declare enum ProviderCode {
18
18
  Aws = "aws",
19
+ Azure = "azure",
19
20
  Bitbucket = "bitbucket",
20
21
  Digitalocean = "digitalocean",
21
22
  Gcp = "gcp",
@@ -21,6 +21,7 @@ exports.ProviderCode = void 0;
21
21
  var ProviderCode;
22
22
  (function (ProviderCode) {
23
23
  ProviderCode["Aws"] = "aws";
24
+ ProviderCode["Azure"] = "azure";
24
25
  ProviderCode["Bitbucket"] = "bitbucket";
25
26
  ProviderCode["Digitalocean"] = "digitalocean";
26
27
  ProviderCode["Gcp"] = "gcp";
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ProviderCode } from './provider-code';
13
+ import { ProviderType } from './provider-type';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -35,11 +36,11 @@ export interface ProviderRelation {
35
36
  */
36
37
  code_human_readable: string;
37
38
  /**
38
- * Type of provider.
39
- * @type {string}
39
+ *
40
+ * @type {ProviderType}
40
41
  * @memberof ProviderRelation
41
42
  */
42
- type: ProviderRelationTypeEnum;
43
+ type: ProviderType;
43
44
  /**
44
45
  * Human readable version of provider type
45
46
  * @type {string}
@@ -47,11 +48,3 @@ export interface ProviderRelation {
47
48
  */
48
49
  type_human_readable?: string;
49
50
  }
50
- /**
51
- * @export
52
- * @enum {string}
53
- */
54
- export declare enum ProviderRelationTypeEnum {
55
- CloudProvider = "cloud_provider",
56
- SourceProvider = "source_provider"
57
- }
@@ -12,13 +12,3 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ProviderRelationTypeEnum = void 0;
16
- /**
17
- * @export
18
- * @enum {string}
19
- */
20
- var ProviderRelationTypeEnum;
21
- (function (ProviderRelationTypeEnum) {
22
- ProviderRelationTypeEnum["CloudProvider"] = "cloud_provider";
23
- ProviderRelationTypeEnum["SourceProvider"] = "source_provider";
24
- })(ProviderRelationTypeEnum || (exports.ProviderRelationTypeEnum = ProviderRelationTypeEnum = {}));
@@ -16,6 +16,7 @@
16
16
  */
17
17
  export declare enum ServerCloudServiceCode {
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.ServerCloudServiceCode = void 0;
21
21
  var ServerCloudServiceCode;
22
22
  (function (ServerCloudServiceCode) {
23
23
  ServerCloudServiceCode["AwsEc2"] = "aws-ec2";
24
+ ServerCloudServiceCode["AzureRm"] = "azure-rm";
24
25
  ServerCloudServiceCode["DigitaloceanDroplet"] = "digitalocean-droplet";
25
26
  ServerCloudServiceCode["GcpGce"] = "gcp-gce";
26
27
  ServerCloudServiceCode["SelfHostedCustom"] = "self-hosted-custom";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@devopness/sdk-js",
4
- "version": "2.163.0",
4
+ "version": "2.163.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -51,26 +51,26 @@
51
51
  },
52
52
  "homepage": "https://github.com/devopness/devopness#readme",
53
53
  "devDependencies": {
54
- "@eslint/js": "^9.22.0",
55
- "@openapitools/openapi-generator-cli": "^2.18.4",
54
+ "@eslint/js": "^9.25.0",
55
+ "@openapitools/openapi-generator-cli": "^2.20.0",
56
56
  "@types/jest": "^29.5.12",
57
57
  "@typescript-eslint/parser": "^8.30.1",
58
58
  "axios-mock-adapter": "^2.1.0",
59
- "eslint": "^9.24.0",
60
- "eslint-import-resolver-typescript": "^4.3.2",
59
+ "eslint": "^9.25.1",
60
+ "eslint-import-resolver-typescript": "^4.3.4",
61
61
  "eslint-plugin-import": "^2.31.0",
62
62
  "eslint-plugin-n": "^17.17.0",
63
63
  "eslint-plugin-promise": "^7.2.1",
64
64
  "husky": "9.1.7",
65
65
  "jest": "^29.7.0",
66
66
  "ts-jest": "^29.3.2",
67
- "typedoc": "^0.28.2",
67
+ "typedoc": "^0.28.3",
68
68
  "typescript": "^5.8.3",
69
- "typescript-eslint": "^8.30.1"
69
+ "typescript-eslint": "^8.31.0"
70
70
  },
71
71
  "dependencies": {
72
72
  "@types/parse-link-header": "^2.0.3",
73
- "axios": "^1.8.4",
73
+ "axios": "^1.9.0",
74
74
  "parse-link-header": "^2.0.0"
75
75
  }
76
76
  }