@devopness/sdk-js 2.144.0 → 2.147.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.
@@ -12,6 +12,7 @@
12
12
  import { ActionData } from './action-data';
13
13
  import { ActionResource } from './action-resource';
14
14
  import { ActionStatus } from './action-status';
15
+ import { ActionStatusReasonCode } from './action-status-reason-code';
15
16
  import { ActionSummary } from './action-summary';
16
17
  import { ActionTarget } from './action-target';
17
18
  import { ActionTriggeredFrom } from './action-triggered-from';
@@ -35,11 +36,23 @@ export interface ActionRelation {
35
36
  */
36
37
  status: ActionStatus;
37
38
  /**
38
- * Current item status human readable
39
+ * Human readable version of action status
39
40
  * @type {string}
40
41
  * @memberof ActionRelation
41
42
  */
42
43
  status_human_readable: string;
44
+ /**
45
+ *
46
+ * @type {ActionStatusReasonCode}
47
+ * @memberof ActionRelation
48
+ */
49
+ status_reason_code: ActionStatusReasonCode;
50
+ /**
51
+ * Human readable version of the status reason code
52
+ * @type {string}
53
+ * @memberof ActionRelation
54
+ */
55
+ status_reason_human_readable: string;
43
56
  /**
44
57
  *
45
58
  * @type {ActionType}
@@ -13,6 +13,7 @@ import { ActionData } from './action-data';
13
13
  import { ActionHookRequest } from './action-hook-request';
14
14
  import { ActionResource } from './action-resource';
15
15
  import { ActionStatus } from './action-status';
16
+ import { ActionStatusReasonCode } from './action-status-reason-code';
16
17
  import { ActionSummary } from './action-summary';
17
18
  import { ActionTarget } from './action-target';
18
19
  import { ActionTriggeredFrom } from './action-triggered-from';
@@ -52,11 +53,23 @@ export interface ActionRetryResponse {
52
53
  */
53
54
  status: ActionStatus;
54
55
  /**
55
- * Current item status human readable
56
+ * Human readable version of action status
56
57
  * @type {string}
57
58
  * @memberof ActionRetryResponse
58
59
  */
59
60
  status_human_readable: string;
61
+ /**
62
+ *
63
+ * @type {ActionStatusReasonCode}
64
+ * @memberof ActionRetryResponse
65
+ */
66
+ status_reason_code: ActionStatusReasonCode;
67
+ /**
68
+ * Human readable version of the status reason code
69
+ * @type {string}
70
+ * @memberof ActionRetryResponse
71
+ */
72
+ status_reason_human_readable: string;
60
73
  /**
61
74
  *
62
75
  * @type {ActionType}
@@ -0,0 +1,27 @@
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
+ * The reason code of the action status
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum ActionStatusReasonCode {
18
+ COMPLETED = "COMPLETED",
19
+ FAILEDINSUFFICIENTCREDITS = "FAILED_INSUFFICIENT_CREDITS",
20
+ FAILED = "FAILED",
21
+ INPROGRESS = "IN_PROGRESS",
22
+ PENDING = "PENDING",
23
+ QUEUED = "QUEUED",
24
+ SKIPPED = "SKIPPED",
25
+ WAITINGCONCURRENCYPIPELINE = "WAITING_CONCURRENCY_PIPELINE",
26
+ WAITINGCONCURRENCYTARGET = "WAITING_CONCURRENCY_TARGET"
27
+ }
@@ -0,0 +1,32 @@
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
+ exports.ActionStatusReasonCode = void 0;
16
+ /**
17
+ * The reason code of the action status
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var ActionStatusReasonCode;
22
+ (function (ActionStatusReasonCode) {
23
+ ActionStatusReasonCode["COMPLETED"] = "COMPLETED";
24
+ ActionStatusReasonCode["FAILEDINSUFFICIENTCREDITS"] = "FAILED_INSUFFICIENT_CREDITS";
25
+ ActionStatusReasonCode["FAILED"] = "FAILED";
26
+ ActionStatusReasonCode["INPROGRESS"] = "IN_PROGRESS";
27
+ ActionStatusReasonCode["PENDING"] = "PENDING";
28
+ ActionStatusReasonCode["QUEUED"] = "QUEUED";
29
+ ActionStatusReasonCode["SKIPPED"] = "SKIPPED";
30
+ ActionStatusReasonCode["WAITINGCONCURRENCYPIPELINE"] = "WAITING_CONCURRENCY_PIPELINE";
31
+ ActionStatusReasonCode["WAITINGCONCURRENCYTARGET"] = "WAITING_CONCURRENCY_TARGET";
32
+ })(ActionStatusReasonCode || (exports.ActionStatusReasonCode = ActionStatusReasonCode = {}));
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ActionStatus } from './action-status';
13
+ import { ActionStatusReasonCode } from './action-status-reason-code';
13
14
  /**
14
15
  * Action step executed on server
15
16
  * @export
@@ -58,6 +59,18 @@ export interface ActionStep {
58
59
  * @memberof ActionStep
59
60
  */
60
61
  status_human_readable?: string;
62
+ /**
63
+ *
64
+ * @type {ActionStatusReasonCode}
65
+ * @memberof ActionStep
66
+ */
67
+ status_reason_code?: ActionStatusReasonCode;
68
+ /**
69
+ * Human readable version of the status reason code
70
+ * @type {string}
71
+ * @memberof ActionStep
72
+ */
73
+ status_reason_human_readable?: string;
61
74
  /**
62
75
  * The date and time when the action started execution (i.e., left the `pending/queued` status)
63
76
  * @type {string}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ActionStatus } from './action-status';
13
+ import { ActionStatusReasonCode } from './action-status-reason-code';
13
14
  import { ActionStep } from './action-step';
14
15
  import { ActionTargetData } from './action-target-data';
15
16
  /**
@@ -48,6 +49,18 @@ export interface ActionTarget {
48
49
  * @memberof ActionTarget
49
50
  */
50
51
  status_human_readable?: string;
52
+ /**
53
+ *
54
+ * @type {ActionStatusReasonCode}
55
+ * @memberof ActionTarget
56
+ */
57
+ status_reason_code?: ActionStatusReasonCode;
58
+ /**
59
+ * Human readable version of the status reason code
60
+ * @type {string}
61
+ * @memberof ActionTarget
62
+ */
63
+ status_reason_human_readable?: string;
51
64
  /**
52
65
  * The total number of steps to complete the action
53
66
  * @type {number}
@@ -13,6 +13,7 @@ import { ActionData } from './action-data';
13
13
  import { ActionHookRequest } from './action-hook-request';
14
14
  import { ActionResource } from './action-resource';
15
15
  import { ActionStatus } from './action-status';
16
+ import { ActionStatusReasonCode } from './action-status-reason-code';
16
17
  import { ActionSummary } from './action-summary';
17
18
  import { ActionTarget } from './action-target';
18
19
  import { ActionTriggeredFrom } from './action-triggered-from';
@@ -52,11 +53,23 @@ export interface Action {
52
53
  */
53
54
  status: ActionStatus;
54
55
  /**
55
- * Current item status human readable
56
+ * Human readable version of action status
56
57
  * @type {string}
57
58
  * @memberof Action
58
59
  */
59
60
  status_human_readable: string;
61
+ /**
62
+ *
63
+ * @type {ActionStatusReasonCode}
64
+ * @memberof Action
65
+ */
66
+ status_reason_code: ActionStatusReasonCode;
67
+ /**
68
+ * Human readable version of the status reason code
69
+ * @type {string}
70
+ * @memberof Action
71
+ */
72
+ status_reason_human_readable: string;
60
73
  /**
61
74
  *
62
75
  * @type {ActionType}
@@ -36,19 +36,19 @@ export interface ApplicationEnvironmentCreate {
36
36
  */
37
37
  build_command?: string;
38
38
  /**
39
- * The language runtime engine version to be used to execute this application on the deployed servers. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
39
+ * The language runtime engine version to be used to execute this application on the deployed servers. Must be at least 1 character. Must not be greater than 10 characters.
40
40
  * @type {string}
41
41
  * @memberof ApplicationEnvironmentCreate
42
42
  */
43
43
  engine_version: string;
44
44
  /**
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.
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 not be greater than 30 characters.
46
46
  * @type {string}
47
47
  * @memberof ApplicationEnvironmentCreate
48
48
  */
49
49
  framework: string;
50
50
  /**
51
- * The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must be one of <code>docker</code>, <code>dotnetcore</code>, <code>html</code>, <code>java</code>, <code>nodejs</code>, <code>php</code>, <code>python</code>, or <code>ruby</code> Must not be greater than 30 characters.
51
+ * The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must not be greater than 30 characters.
52
52
  * @type {string}
53
53
  * @memberof ApplicationEnvironmentCreate
54
54
  */
@@ -34,19 +34,19 @@ export interface ApplicationUpdate {
34
34
  */
35
35
  build_command?: string;
36
36
  /**
37
- * The language runtime engine version to be used to execute this application on the deployed servers. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
37
+ * The language runtime engine version to be used to execute this application on the deployed servers. Must be at least 1 character. Must not be greater than 10 characters.
38
38
  * @type {string}
39
39
  * @memberof 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 be one of <code></code> 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 not be greater than 30 characters.
44
44
  * @type {string}
45
45
  * @memberof ApplicationUpdate
46
46
  */
47
47
  framework: string;
48
48
  /**
49
- * The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must be one of <code>docker</code>, <code>dotnetcore</code>, <code>html</code>, <code>java</code>, <code>nodejs</code>, <code>php</code>, <code>python</code>, or <code>ruby</code> Must not be greater than 30 characters.
49
+ * The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must not be greater than 30 characters.
50
50
  * @type {string}
51
51
  * @memberof ApplicationUpdate
52
52
  */
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CredentialInputSettings } from './credential-input-settings';
13
+ import { ProviderCode } from './provider-code';
14
+ import { ProviderType } from './provider-type';
13
15
  /**
14
16
  *
15
17
  * @export
@@ -23,17 +25,17 @@ export interface CredentialEnvironmentCreate {
23
25
  */
24
26
  name: string;
25
27
  /**
26
- * Must not be one of <code>self-hosted</code> Must not be greater than 20 characters.
27
- * @type {string}
28
+ *
29
+ * @type {ProviderCode}
28
30
  * @memberof CredentialEnvironmentCreate
29
31
  */
30
- provider_code: string;
32
+ provider_code: ProviderCode;
31
33
  /**
32
- * Must be one of <code>cloud_provider</code> or <code>source_provider</code>.
33
- * @type {string}
34
+ *
35
+ * @type {ProviderType}
34
36
  * @memberof CredentialEnvironmentCreate
35
37
  */
36
- provider_type: string;
38
+ provider_type: ProviderType;
37
39
  /**
38
40
  * If this credential is active or not.
39
41
  * @type {boolean}
@@ -17,7 +17,7 @@ import { DeploymentType } from './deployment-type';
17
17
  */
18
18
  export interface DeploymentApplicationCreate {
19
19
  /**
20
- * The environment type of the deployment. Must be one of <code>development</code>, <code>testing</code>, <code>staging</code>, or <code>production</code>.
20
+ * The environment type of the deployment.
21
21
  * @type {string}
22
22
  * @memberof DeploymentApplicationCreate
23
23
  */
@@ -29,7 +29,7 @@ export interface DeploymentApplicationCreate {
29
29
  */
30
30
  type: DeploymentType;
31
31
  /**
32
- * The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. This field is required when <code>source_ref</code> is present. Must be one of <code>branch</code>, <code>tag</code>, or <code>commit</code>.
32
+ * The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. This field is required when <code>source_ref</code> is present.
33
33
  * @type {string}
34
34
  * @memberof DeploymentApplicationCreate
35
35
  */
@@ -44,7 +44,7 @@ export interface HookPipelineCreate {
44
44
  */
45
45
  requires_secret?: boolean;
46
46
  /**
47
- * The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>. Must be one of <code>sha256</code> Must not be greater than 20 characters.
47
+ * The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>. Must not be greater than 20 characters.
48
48
  * @type {string}
49
49
  * @memberof HookPipelineCreate
50
50
  */
@@ -50,7 +50,7 @@ export interface HookUpdate {
50
50
  */
51
51
  requires_secret?: boolean;
52
52
  /**
53
- * The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>. Must be one of <code>sha256</code> Must not be greater than 20 characters.
53
+ * The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation. This field is required when <code>requires_secret</code> is <code>true</code>. Must not be greater than 20 characters.
54
54
  * @type {string}
55
55
  * @memberof HookUpdate
56
56
  */
@@ -9,6 +9,7 @@ export * from './action-relation';
9
9
  export * from './action-resource';
10
10
  export * from './action-retry-response';
11
11
  export * from './action-status';
12
+ export * from './action-status-reason-code';
12
13
  export * from './action-step';
13
14
  export * from './action-summary';
14
15
  export * from './action-summary-target';
@@ -25,6 +25,7 @@ __exportStar(require("./action-relation"), exports);
25
25
  __exportStar(require("./action-resource"), exports);
26
26
  __exportStar(require("./action-retry-response"), exports);
27
27
  __exportStar(require("./action-status"), exports);
28
+ __exportStar(require("./action-status-reason-code"), exports);
28
29
  __exportStar(require("./action-step"), exports);
29
30
  __exportStar(require("./action-summary"), exports);
30
31
  __exportStar(require("./action-summary-target"), exports);
@@ -43,7 +43,7 @@ export interface ServiceEnvironmentCreate {
43
43
  */
44
44
  type: ServiceType;
45
45
  /**
46
- * The service version to be installed. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 30 characters.
46
+ * The service version to be installed. Must be at least 1 character. Must not be greater than 30 characters.
47
47
  * @type {string}
48
48
  * @memberof ServiceEnvironmentCreate
49
49
  */
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { Language } from './language';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -34,9 +35,9 @@ export interface UserUpdate {
34
35
  */
35
36
  email: string;
36
37
  /**
37
- * Must be one of <code>en</code> or <code>pt</code>.
38
- * @type {string}
38
+ *
39
+ * @type {Language}
39
40
  * @memberof UserUpdate
40
41
  */
41
- language?: string;
42
+ language?: Language | null;
42
43
  }
@@ -23,7 +23,7 @@ export interface VirtualHostEnvironmentCreate {
23
23
  */
24
24
  linked_resources?: Array<ResourceToBeLinked>;
25
25
  /**
26
- * The type of virtual host to be created. Must be one of <code>ip-based</code> or <code>name-based</code>.
26
+ * The type of virtual host to be created.
27
27
  * @type {string}
28
28
  * @memberof VirtualHostEnvironmentCreate
29
29
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.144.0",
3
+ "version": "2.147.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },