@devopness/sdk-js 2.148.0 → 2.149.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.
- package/dist/api/generated/models/action-type.d.ts +2 -6
- package/dist/api/generated/models/action-type.js +2 -6
- package/dist/api/generated/models/cron-job-relation.d.ts +1 -1
- package/dist/api/generated/models/cron-job.d.ts +1 -1
- package/dist/api/generated/models/daemon-relation.d.ts +1 -1
- package/dist/api/generated/models/daemon.d.ts +1 -1
- package/dist/api/generated/models/hook-pipeline-create.d.ts +0 -7
- package/dist/api/generated/models/hook-relation.d.ts +1 -1
- package/dist/api/generated/models/hook-update.d.ts +0 -7
- package/dist/api/generated/models/hook.d.ts +1 -1
- package/dist/api/generated/models/network-rule-relation.d.ts +1 -1
- package/dist/api/generated/models/network-rule.d.ts +1 -1
- package/dist/api/generated/models/service-relation.d.ts +1 -1
- package/dist/api/generated/models/service.d.ts +1 -1
- package/dist/services/index.d.ts +5 -0
- package/dist/services/index.js +5 -0
- package/package.json +3 -3
|
@@ -17,17 +17,13 @@
|
|
|
17
17
|
export declare enum ActionType {
|
|
18
18
|
Add = "add",
|
|
19
19
|
CheckProvisioned = "check_provisioned",
|
|
20
|
+
Delete = "delete",
|
|
20
21
|
Deploy = "deploy",
|
|
21
|
-
Disable = "disable",
|
|
22
|
-
Enable = "enable",
|
|
23
22
|
GetStatus = "get_status",
|
|
24
23
|
Provision = "provision",
|
|
25
|
-
Redeploy = "redeploy",
|
|
26
24
|
Reload = "reload",
|
|
27
|
-
Remove = "remove",
|
|
28
25
|
Restart = "restart",
|
|
29
|
-
|
|
26
|
+
Setup = "setup",
|
|
30
27
|
Start = "start",
|
|
31
|
-
Status = "status",
|
|
32
28
|
Stop = "stop"
|
|
33
29
|
}
|
|
@@ -22,17 +22,13 @@ var ActionType;
|
|
|
22
22
|
(function (ActionType) {
|
|
23
23
|
ActionType["Add"] = "add";
|
|
24
24
|
ActionType["CheckProvisioned"] = "check_provisioned";
|
|
25
|
+
ActionType["Delete"] = "delete";
|
|
25
26
|
ActionType["Deploy"] = "deploy";
|
|
26
|
-
ActionType["Disable"] = "disable";
|
|
27
|
-
ActionType["Enable"] = "enable";
|
|
28
27
|
ActionType["GetStatus"] = "get_status";
|
|
29
28
|
ActionType["Provision"] = "provision";
|
|
30
|
-
ActionType["Redeploy"] = "redeploy";
|
|
31
29
|
ActionType["Reload"] = "reload";
|
|
32
|
-
ActionType["Remove"] = "remove";
|
|
33
30
|
ActionType["Restart"] = "restart";
|
|
34
|
-
ActionType["
|
|
31
|
+
ActionType["Setup"] = "setup";
|
|
35
32
|
ActionType["Start"] = "start";
|
|
36
|
-
ActionType["Status"] = "status";
|
|
37
33
|
ActionType["Stop"] = "stop";
|
|
38
34
|
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ActionType } from './action-type';
|
|
13
12
|
import { HookIncomingSettings } from './hook-incoming-settings';
|
|
14
13
|
import { HookOutgoingSettings } from './hook-outgoing-settings';
|
|
15
14
|
import { HookTriggerWhen } from './hook-trigger-when';
|
|
@@ -25,12 +24,6 @@ export interface HookPipelineCreate {
|
|
|
25
24
|
* @memberof HookPipelineCreate
|
|
26
25
|
*/
|
|
27
26
|
name: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {ActionType}
|
|
31
|
-
* @memberof HookPipelineCreate
|
|
32
|
-
*/
|
|
33
|
-
action_type: ActionType;
|
|
34
27
|
/**
|
|
35
28
|
* Determines if the hook is currently active.
|
|
36
29
|
* @type {boolean}
|
|
@@ -62,7 +62,7 @@ export interface HookRelation {
|
|
|
62
62
|
* @type {boolean}
|
|
63
63
|
* @memberof HookRelation
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
is_auto_generated: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* Tells if requests to this hook must only be accepted when a HTTP header is sent with a message authentication code ([HMAC](https://en.wikipedia.org/wiki/HMAC)) generated based on the secret provided by Devopness and shared by user with external sources
|
|
68
68
|
* @type {boolean}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ActionType } from './action-type';
|
|
13
12
|
import { HookIncomingSettings } from './hook-incoming-settings';
|
|
14
13
|
import { HookOutgoingSettings } from './hook-outgoing-settings';
|
|
15
14
|
import { HookTriggerWhen } from './hook-trigger-when';
|
|
@@ -31,12 +30,6 @@ export interface HookUpdate {
|
|
|
31
30
|
* @memberof HookUpdate
|
|
32
31
|
*/
|
|
33
32
|
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {ActionType}
|
|
37
|
-
* @memberof HookUpdate
|
|
38
|
-
*/
|
|
39
|
-
action_type?: ActionType;
|
|
40
33
|
/**
|
|
41
34
|
* Determines if the hook is currently active.
|
|
42
35
|
* @type {boolean}
|
|
@@ -63,7 +63,7 @@ export interface Hook {
|
|
|
63
63
|
* @type {boolean}
|
|
64
64
|
* @memberof Hook
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
is_auto_generated: boolean;
|
|
67
67
|
/**
|
|
68
68
|
* Tells if requests to this hook must only be accepted when a HTTP header is sent with a message authentication code ([HMAC](https://en.wikipedia.org/wiki/HMAC)) generated based on the secret provided by Devopness and shared by user with external sources
|
|
69
69
|
* @type {boolean}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './ActionService';
|
|
2
2
|
export * from './ApiBaseService';
|
|
3
3
|
export * from './ApplicationService';
|
|
4
|
+
export * from './CredentialService';
|
|
4
5
|
export * from './CronJobService';
|
|
5
6
|
export * from './DaemonService';
|
|
6
7
|
export * from './EnvironmentService';
|
|
@@ -8,9 +9,11 @@ export * from './HookRequestService';
|
|
|
8
9
|
export * from './HookService';
|
|
9
10
|
export * from './LogService';
|
|
10
11
|
export * from './NetworkRuleService';
|
|
12
|
+
export * from './NetworkService';
|
|
11
13
|
export * from './PipelineService';
|
|
12
14
|
export * from './ProjectService';
|
|
13
15
|
export * from './ResourceEventService';
|
|
16
|
+
export * from './ResourceLinkService';
|
|
14
17
|
export * from './RoleService';
|
|
15
18
|
export * from './ServerService';
|
|
16
19
|
export * from './ServiceService';
|
|
@@ -18,7 +21,9 @@ export * from './SocialAccountService';
|
|
|
18
21
|
export * from './SshKeyService';
|
|
19
22
|
export * from './SslCertificateService';
|
|
20
23
|
export * from './StaticService';
|
|
24
|
+
export * from './SubnetService';
|
|
21
25
|
export * from './TeamInvitationService';
|
|
22
26
|
export * from './TeamService';
|
|
23
27
|
export * from './UserService';
|
|
24
28
|
export * from './VariableService';
|
|
29
|
+
export * from './VirtualHostService';
|
package/dist/services/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ActionService"), exports);
|
|
18
18
|
__exportStar(require("./ApiBaseService"), exports);
|
|
19
19
|
__exportStar(require("./ApplicationService"), exports);
|
|
20
|
+
__exportStar(require("./CredentialService"), exports);
|
|
20
21
|
__exportStar(require("./CronJobService"), exports);
|
|
21
22
|
__exportStar(require("./DaemonService"), exports);
|
|
22
23
|
__exportStar(require("./EnvironmentService"), exports);
|
|
@@ -24,9 +25,11 @@ __exportStar(require("./HookRequestService"), exports);
|
|
|
24
25
|
__exportStar(require("./HookService"), exports);
|
|
25
26
|
__exportStar(require("./LogService"), exports);
|
|
26
27
|
__exportStar(require("./NetworkRuleService"), exports);
|
|
28
|
+
__exportStar(require("./NetworkService"), exports);
|
|
27
29
|
__exportStar(require("./PipelineService"), exports);
|
|
28
30
|
__exportStar(require("./ProjectService"), exports);
|
|
29
31
|
__exportStar(require("./ResourceEventService"), exports);
|
|
32
|
+
__exportStar(require("./ResourceLinkService"), exports);
|
|
30
33
|
__exportStar(require("./RoleService"), exports);
|
|
31
34
|
__exportStar(require("./ServerService"), exports);
|
|
32
35
|
__exportStar(require("./ServiceService"), exports);
|
|
@@ -34,7 +37,9 @@ __exportStar(require("./SocialAccountService"), exports);
|
|
|
34
37
|
__exportStar(require("./SshKeyService"), exports);
|
|
35
38
|
__exportStar(require("./SslCertificateService"), exports);
|
|
36
39
|
__exportStar(require("./StaticService"), exports);
|
|
40
|
+
__exportStar(require("./SubnetService"), exports);
|
|
37
41
|
__exportStar(require("./TeamInvitationService"), exports);
|
|
38
42
|
__exportStar(require("./TeamService"), exports);
|
|
39
43
|
__exportStar(require("./UserService"), exports);
|
|
40
44
|
__exportStar(require("./VariableService"), exports);
|
|
45
|
+
__exportStar(require("./VirtualHostService"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devopness/sdk-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.149.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://github.com/devopness/devopness#readme",
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.15.3",
|
|
56
56
|
"@types/jest": "^29.5.12",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
58
|
-
"axios-mock-adapter": "^1.
|
|
58
|
+
"axios-mock-adapter": "^2.1.0",
|
|
59
59
|
"eslint": "^7.32.0",
|
|
60
60
|
"eslint-plugin-import": "^2.29.1",
|
|
61
61
|
"eslint-plugin-node": "^11.1.0",
|