hcloud-sdk 22.46.0 → 22.47.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/changelog.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
## [22.
|
|
1
|
+
## [22.47.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.46.0...v22.47.0) (2026-10-05)
|
|
2
2
|
|
|
3
3
|
### Features
|
|
4
4
|
|
|
5
|
-
* add
|
|
5
|
+
* add pool execute subject ([9024875](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/9024875f030bd8ef190b1f9f8aa3fb9fb7efc697))
|
|
@@ -28,6 +28,7 @@ declare enum NatsSubject {
|
|
|
28
28
|
HIGH5_SPACES = "hcloud.high5.organization.${base64orgName}.spaces",
|
|
29
29
|
HIGH5_SPACE_PERMISSIONS = "hcloud.high5.organization.${base64orgName}.spaces.${base64spaceName}.permissions",
|
|
30
30
|
HIGH5_STREAM_EXECUTE = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}",
|
|
31
|
+
HIGH5_STREAM_EXECUTE_POOL = "hcloud.high5.organization.${organizationId}.spaces.${spaceId}.stream.execute.pool.${base64poolName}",
|
|
31
32
|
HIGH5_STREAM_CANCEL = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}",// eslint-disable-line @typescript-eslint/no-duplicate-enum-values
|
|
32
33
|
HIGH5_STREAM_DEBUG_STOPPED = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}.${executionId}.stopped",
|
|
33
34
|
HIGH5_STREAM_DEBUG_COMMAND = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}.${executionSecret}.command",
|
|
@@ -154,6 +155,7 @@ interface NatsObject extends NatsNameObject, NatsIdObject, NatsMemberObject, Nat
|
|
|
154
155
|
[NatsSubject.HIGH5_SPACES]: NatsNameObject;
|
|
155
156
|
[NatsSubject.HIGH5_SPACE_PERMISSIONS]: NatsIdObject;
|
|
156
157
|
[NatsSubject.HIGH5_STREAM_EXECUTE]: High5ExecuteOnAgentRequest | High5ExecutionCancelRequest;
|
|
158
|
+
[NatsSubject.HIGH5_STREAM_EXECUTE_POOL]: High5ExecuteOnAgentRequest | High5ExecutionCancelRequest;
|
|
157
159
|
[NatsSubject.HIGH5_STREAM_CANCEL]: High5ExecuteOnAgentRequest | High5ExecutionCancelRequest;
|
|
158
160
|
[NatsSubject.HIGH5_EVENTS]: NatsNameObject;
|
|
159
161
|
[NatsSubject.HIGH5_STREAMS]: NatsIdObject;
|
|
@@ -304,6 +306,7 @@ declare class NatsSubjects {
|
|
|
304
306
|
Execution: {
|
|
305
307
|
new (): {};
|
|
306
308
|
EXECUTE: (organizationId: string, email: string) => string;
|
|
309
|
+
EXECUTE_POOL: (organizationId: string, spaceId: string, poolName: string) => string;
|
|
307
310
|
CANCEL: (organizationId: string, email: string) => string;
|
|
308
311
|
DEBUG: (organizationId: string, email: string) => {
|
|
309
312
|
STOPPED: (executionId: string) => string;
|
|
@@ -31,6 +31,7 @@ var NatsSubject;
|
|
|
31
31
|
NatsSubject["HIGH5_SPACES"] = "hcloud.high5.organization.${base64orgName}.spaces";
|
|
32
32
|
NatsSubject["HIGH5_SPACE_PERMISSIONS"] = "hcloud.high5.organization.${base64orgName}.spaces.${base64spaceName}.permissions";
|
|
33
33
|
NatsSubject["HIGH5_STREAM_EXECUTE"] = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}";
|
|
34
|
+
NatsSubject["HIGH5_STREAM_EXECUTE_POOL"] = "hcloud.high5.organization.${organizationId}.spaces.${spaceId}.stream.execute.pool.${base64poolName}";
|
|
34
35
|
NatsSubject["HIGH5_STREAM_CANCEL"] = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}";
|
|
35
36
|
NatsSubject["HIGH5_STREAM_DEBUG_STOPPED"] = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}.${executionId}.stopped";
|
|
36
37
|
NatsSubject["HIGH5_STREAM_DEBUG_COMMAND"] = "hcloud.high5.organization.${organizationId}.stream.execute.${base64email}.${executionSecret}.command";
|
|
@@ -248,6 +249,9 @@ NatsSubjects.High5 = (_f = class {
|
|
|
248
249
|
_g.EXECUTE = (organizationId, email) => {
|
|
249
250
|
return NatsSubjects.replace(NatsSubject.HIGH5_STREAM_EXECUTE, { organizationId, email });
|
|
250
251
|
},
|
|
252
|
+
_g.EXECUTE_POOL = (organizationId, spaceId, poolName) => {
|
|
253
|
+
return NatsSubjects.replace(NatsSubject.HIGH5_STREAM_EXECUTE_POOL, { organizationId, spaceId, poolName });
|
|
254
|
+
},
|
|
251
255
|
_g.CANCEL = (organizationId, email) => {
|
|
252
256
|
return NatsSubjects.replace(NatsSubject.HIGH5_STREAM_CANCEL, { organizationId, email });
|
|
253
257
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hcloud-sdk",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.47.0",
|
|
4
4
|
"description": "hcloud platform sdk",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"typescript": "^5.8.3"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"axios": "^1.
|
|
55
|
+
"axios": "^1.20.0",
|
|
56
56
|
"nats": "^2.29.3",
|
|
57
57
|
"nats.ws": "^1.30.3"
|
|
58
58
|
}
|