@devopness/sdk-js 2.162.0 → 2.162.2

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,121 @@
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 { ActionData } from './action-data';
13
+ import { ActionStatus } from './action-status';
14
+ import { ActionStatusReasonCode } from './action-status-reason-code';
15
+ import { ActionSummary } from './action-summary';
16
+ import { ActionTarget } from './action-target';
17
+ import { ActionTriggeredFrom } from './action-triggered-from';
18
+ import { ActionType } from './action-type';
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface ActionRelationShallow
23
+ */
24
+ export interface ActionRelationShallow {
25
+ /**
26
+ * The Id of the action
27
+ * @type {number}
28
+ * @memberof ActionRelationShallow
29
+ */
30
+ id: number;
31
+ /**
32
+ *
33
+ * @type {ActionStatus}
34
+ * @memberof ActionRelationShallow
35
+ */
36
+ status: ActionStatus;
37
+ /**
38
+ * Human readable version of the action status
39
+ * @type {string}
40
+ * @memberof ActionRelationShallow
41
+ */
42
+ status_human_readable: string;
43
+ /**
44
+ *
45
+ * @type {ActionStatusReasonCode}
46
+ * @memberof ActionRelationShallow
47
+ */
48
+ status_reason_code: ActionStatusReasonCode;
49
+ /**
50
+ * Human readable version of the status reason code
51
+ * @type {string}
52
+ * @memberof ActionRelationShallow
53
+ */
54
+ status_reason_human_readable: string;
55
+ /**
56
+ *
57
+ * @type {ActionType}
58
+ * @memberof ActionRelationShallow
59
+ */
60
+ type: ActionType;
61
+ /**
62
+ * Human readable version of the action type
63
+ * @type {string}
64
+ * @memberof ActionRelationShallow
65
+ */
66
+ type_human_readable: string;
67
+ /**
68
+ * Permalink to view the action on Devopness web
69
+ * @type {string}
70
+ * @memberof ActionRelationShallow
71
+ */
72
+ url_web_permalink: string;
73
+ /**
74
+ *
75
+ * @type {ActionData}
76
+ * @memberof ActionRelationShallow
77
+ */
78
+ action_data?: ActionData | null;
79
+ /**
80
+ *
81
+ * @type {ActionTriggeredFrom}
82
+ * @memberof ActionRelationShallow
83
+ */
84
+ triggered_from?: ActionTriggeredFrom;
85
+ /**
86
+ *
87
+ * @type {ActionSummary}
88
+ * @memberof ActionRelationShallow
89
+ */
90
+ summary?: ActionSummary;
91
+ /**
92
+ * List of actions dispatched to cloud resource targets
93
+ * @type {Array<ActionTarget>}
94
+ * @memberof ActionRelationShallow
95
+ */
96
+ targets?: Array<ActionTarget>;
97
+ /**
98
+ * When the action started
99
+ * @type {string}
100
+ * @memberof ActionRelationShallow
101
+ */
102
+ started_at: string | null;
103
+ /**
104
+ * When the action completed
105
+ * @type {string}
106
+ * @memberof ActionRelationShallow
107
+ */
108
+ completed_at: string | null;
109
+ /**
110
+ * When the action was created
111
+ * @type {string}
112
+ * @memberof ActionRelationShallow
113
+ */
114
+ created_at: string;
115
+ /**
116
+ * When the action was last updated
117
+ * @type {string}
118
+ * @memberof ActionRelationShallow
119
+ */
120
+ updated_at: string;
121
+ }
@@ -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 });
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  /**
14
14
  * Latest deployment created to application and the more recent completed deployment
15
15
  * @export
@@ -18,14 +18,14 @@ import { ActionRelation } from './action-relation';
18
18
  export interface ApplicationLastDeployments {
19
19
  /**
20
20
  *
21
- * @type {ActionRelation}
21
+ * @type {ActionRelationShallow}
22
22
  * @memberof ApplicationLastDeployments
23
23
  */
24
- latest?: ActionRelation | null;
24
+ latest?: ActionRelationShallow | null;
25
25
  /**
26
26
  *
27
- * @type {ActionRelation}
27
+ * @type {ActionRelationShallow}
28
28
  * @memberof ApplicationLastDeployments
29
29
  */
30
- live?: ActionRelation | null;
30
+ live?: ActionRelationShallow | null;
31
31
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { ApplicationRelation } from './application-relation';
14
14
  import { CronJobPattern } from './cron-job-pattern';
15
15
  import { UserRelation } from './user-relation';
@@ -63,10 +63,10 @@ export interface CronJobRelation {
63
63
  is_auto_generated: boolean;
64
64
  /**
65
65
  *
66
- * @type {ActionRelation}
66
+ * @type {ActionRelationShallow}
67
67
  * @memberof CronJobRelation
68
68
  */
69
- last_action: ActionRelation | null;
69
+ last_action: ActionRelationShallow | null;
70
70
  /**
71
71
  *
72
72
  * @type {UserRelation}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { ApplicationRelation } from './application-relation';
14
14
  import { UserRelation } from './user-relation';
15
15
  /**
@@ -62,10 +62,10 @@ export interface DaemonRelation {
62
62
  is_auto_generated: boolean;
63
63
  /**
64
64
  *
65
- * @type {ActionRelation}
65
+ * @type {ActionRelationShallow}
66
66
  * @memberof DaemonRelation
67
67
  */
68
- last_action: ActionRelation | null;
68
+ last_action: ActionRelationShallow | null;
69
69
  /**
70
70
  *
71
71
  * @type {ApplicationRelation}
@@ -6,6 +6,7 @@ export * from './action-deployment-data';
6
6
  export * from './action-hook-request';
7
7
  export * from './action-pipeline-create';
8
8
  export * from './action-relation';
9
+ export * from './action-relation-shallow';
9
10
  export * from './action-resource';
10
11
  export * from './action-retry-response';
11
12
  export * from './action-status';
@@ -178,6 +179,7 @@ export * from './repository-tag-commit';
178
179
  export * from './request-relation';
179
180
  export * from './resource-event';
180
181
  export * from './resource-event-relation';
182
+ export * from './resource-link-child';
181
183
  export * from './resource-link-relation';
182
184
  export * from './resource-operation';
183
185
  export * from './resource-summary-item';
@@ -22,6 +22,7 @@ __exportStar(require("./action-deployment-data"), exports);
22
22
  __exportStar(require("./action-hook-request"), exports);
23
23
  __exportStar(require("./action-pipeline-create"), exports);
24
24
  __exportStar(require("./action-relation"), exports);
25
+ __exportStar(require("./action-relation-shallow"), exports);
25
26
  __exportStar(require("./action-resource"), exports);
26
27
  __exportStar(require("./action-retry-response"), exports);
27
28
  __exportStar(require("./action-status"), exports);
@@ -194,6 +195,7 @@ __exportStar(require("./repository-tag-commit"), exports);
194
195
  __exportStar(require("./request-relation"), exports);
195
196
  __exportStar(require("./resource-event"), exports);
196
197
  __exportStar(require("./resource-event-relation"), exports);
198
+ __exportStar(require("./resource-link-child"), exports);
197
199
  __exportStar(require("./resource-link-relation"), exports);
198
200
  __exportStar(require("./resource-operation"), exports);
199
201
  __exportStar(require("./resource-summary-item"), exports);
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { Credential } from './credential';
14
14
  import { NetworkProvisionInput } from './network-provision-input';
15
15
  /**
@@ -80,10 +80,10 @@ export interface NetworkRelation {
80
80
  provision_input: NetworkProvisionInput;
81
81
  /**
82
82
  *
83
- * @type {ActionRelation}
83
+ * @type {ActionRelationShallow}
84
84
  * @memberof NetworkRelation
85
85
  */
86
- last_action: ActionRelation | null;
86
+ last_action: ActionRelationShallow | null;
87
87
  /**
88
88
  * The date and time when the record was created
89
89
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { NetworkRuleDirection } from './network-rule-direction';
14
14
  import { NetworkRuleProtocol } from './network-rule-protocol';
15
15
  /**
@@ -62,10 +62,10 @@ export interface NetworkRuleRelation {
62
62
  is_auto_generated: boolean;
63
63
  /**
64
64
  *
65
- * @type {ActionRelation}
65
+ * @type {ActionRelationShallow}
66
66
  * @memberof NetworkRuleRelation
67
67
  */
68
- last_action: ActionRelation | null;
68
+ last_action: ActionRelationShallow | null;
69
69
  /**
70
70
  * The date and time when the record was created
71
71
  * @type {string}
@@ -0,0 +1,55 @@
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 { LinkedResourceData } from './linked-resource-data';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ResourceLinkChild
17
+ */
18
+ export interface ResourceLinkChild {
19
+ /**
20
+ * The link type to related resource (`child` or `parent`)
21
+ * @type {string}
22
+ * @memberof ResourceLinkChild
23
+ */
24
+ link_type: string;
25
+ /**
26
+ * The linked resource ID
27
+ * @type {number}
28
+ * @memberof ResourceLinkChild
29
+ */
30
+ resource_id: number;
31
+ /**
32
+ * The linked resource type
33
+ * @type {string}
34
+ * @memberof ResourceLinkChild
35
+ */
36
+ resource_type: string;
37
+ /**
38
+ * Human readable resource type
39
+ * @type {string}
40
+ * @memberof ResourceLinkChild
41
+ */
42
+ resource_type_human_readable: string;
43
+ /**
44
+ * If false, the link cannot be manually removed
45
+ * @type {boolean}
46
+ * @memberof ResourceLinkChild
47
+ */
48
+ can_be_unlinked: boolean;
49
+ /**
50
+ *
51
+ * @type {LinkedResourceData}
52
+ * @memberof ResourceLinkChild
53
+ */
54
+ linked_resource_data: LinkedResourceData;
55
+ }
@@ -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 { LinkedResourceData } from './linked-resource-data';
13
+ import { ResourceLinkChild } from './resource-link-child';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -54,8 +55,8 @@ export interface ResourceLinkRelation {
54
55
  linked_resource_data: LinkedResourceData;
55
56
  /**
56
57
  *
57
- * @type {Array<ResourceLinkRelation>}
58
+ * @type {Array<ResourceLinkChild>}
58
59
  * @memberof ResourceLinkRelation
59
60
  */
60
- children?: Array<ResourceLinkRelation>;
61
+ children?: Array<ResourceLinkChild>;
61
62
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { ActionStatus } from './action-status';
14
14
  import { CredentialRelation } from './credential-relation';
15
15
  /**
@@ -98,10 +98,10 @@ export interface ServerRelation {
98
98
  status: ActionStatus;
99
99
  /**
100
100
  *
101
- * @type {ActionRelation}
101
+ * @type {ActionRelationShallow}
102
102
  * @memberof ServerRelation
103
103
  */
104
- last_action: ActionRelation | null;
104
+ last_action: ActionRelationShallow | null;
105
105
  /**
106
106
  * The date and time when the record was created
107
107
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { ServiceInitialState } from './service-initial-state';
14
14
  /**
15
15
  *
@@ -73,10 +73,10 @@ export interface ServiceRelation {
73
73
  description: string | null;
74
74
  /**
75
75
  *
76
- * @type {ActionRelation}
76
+ * @type {ActionRelationShallow}
77
77
  * @memberof ServiceRelation
78
78
  */
79
- last_action: ActionRelation | null;
79
+ last_action: ActionRelationShallow | null;
80
80
  /**
81
81
  * The date and time when the record was created
82
82
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -54,10 +54,10 @@ export interface SshKeyRelation {
54
54
  fingerprint: string;
55
55
  /**
56
56
  *
57
- * @type {ActionRelation}
57
+ * @type {ActionRelationShallow}
58
58
  * @memberof SshKeyRelation
59
59
  */
60
- last_action?: ActionRelation | null;
60
+ last_action?: ActionRelationShallow | null;
61
61
  /**
62
62
  * The date and time when the record was created
63
63
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { SslCertificateIssuer } from './ssl-certificate-issuer';
14
14
  import { SslCertificateType } from './ssl-certificate-type';
15
15
  import { SslCertificateValidationLevel } from './ssl-certificate-validation-level';
@@ -57,10 +57,10 @@ export interface SslCertificateRelation {
57
57
  active: boolean;
58
58
  /**
59
59
  *
60
- * @type {ActionRelation}
60
+ * @type {ActionRelationShallow}
61
61
  * @memberof SslCertificateRelation
62
62
  */
63
- last_action: ActionRelation | null;
63
+ last_action: ActionRelationShallow | null;
64
64
  /**
65
65
  * The date and time when this certificate will no longer be valid, down to minute precision
66
66
  * @type {string}
@@ -34,6 +34,12 @@ export interface UserRelation {
34
34
  * @memberof UserRelation
35
35
  */
36
36
  email: string;
37
+ /**
38
+ * The URL Slug of the user
39
+ * @type {string}
40
+ * @memberof UserRelation
41
+ */
42
+ url_slug?: string;
37
43
  /**
38
44
  *
39
45
  * @type {Language}
@@ -18,10 +18,10 @@ import { Language } from './language';
18
18
  export interface UserUpdate {
19
19
  /**
20
20
  * The unique ID of the given User.
21
- * @type {number}
21
+ * @type {string}
22
22
  * @memberof UserUpdate
23
23
  */
24
- id: number;
24
+ id: string;
25
25
  /**
26
26
  * User\'s full name. Must be at least 5 characters. Must not be greater than 60 characters.
27
27
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ActionRelation } from './action-relation';
12
+ import { ActionRelationShallow } from './action-relation-shallow';
13
13
  import { ApplicationRelation } from './application-relation';
14
14
  import { SslCertificateRelation } from './ssl-certificate-relation';
15
15
  import { UserRelation } from './user-relation';
@@ -70,10 +70,10 @@ export interface VirtualHostRelation {
70
70
  ssl_certificate: SslCertificateRelation | null;
71
71
  /**
72
72
  *
73
- * @type {ActionRelation}
73
+ * @type {ActionRelationShallow}
74
74
  * @memberof VirtualHostRelation
75
75
  */
76
- last_action: ActionRelation | null;
76
+ last_action: ActionRelationShallow | null;
77
77
  /**
78
78
  *
79
79
  * @type {UserRelation}
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.162.0",
4
+ "version": "2.162.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -56,17 +56,17 @@
56
56
  "@types/jest": "^29.5.12",
57
57
  "@typescript-eslint/parser": "^8.29.0",
58
58
  "axios-mock-adapter": "^2.1.0",
59
- "eslint": "^9.23.0",
60
- "eslint-import-resolver-typescript": "^4.3.1",
59
+ "eslint": "^9.24.0",
60
+ "eslint-import-resolver-typescript": "^4.3.2",
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.1",
67
- "typedoc": "^0.28.1",
68
- "typescript": "^5.8.2",
69
- "typescript-eslint": "^8.29.0"
67
+ "typedoc": "^0.28.2",
68
+ "typescript": "^5.8.3",
69
+ "typescript-eslint": "^8.29.1"
70
70
  },
71
71
  "dependencies": {
72
72
  "@types/parse-link-header": "^2.0.3",