hcloud-sdk 22.20.1 → 22.22.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.22.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.21.0...v22.22.0) (2026-08-25)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### Features
|
|
4
4
|
|
|
5
|
-
*
|
|
5
|
+
* update error codes ([a4056ff](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a4056ff61c23f61aea934e4b59228dfd79587591))
|
|
@@ -718,6 +718,14 @@ export declare const ErrorCodes: readonly [{
|
|
|
718
718
|
readonly code: "002.053.0002";
|
|
719
719
|
readonly error: "apikey.name.in.use";
|
|
720
720
|
readonly message: "Given API key name is already in use";
|
|
721
|
+
}, {
|
|
722
|
+
readonly code: "002.059.0001";
|
|
723
|
+
readonly error: "watchFolder.not.found";
|
|
724
|
+
readonly message: "The requested watch folder could not be found";
|
|
725
|
+
}, {
|
|
726
|
+
readonly code: "002.059.0002";
|
|
727
|
+
readonly error: "watchFolder.name.in.use";
|
|
728
|
+
readonly message: "The provided watch folder name is already in use in this space";
|
|
721
729
|
}, {
|
|
722
730
|
readonly code: "003.000.0002";
|
|
723
731
|
readonly error: "internal.server.error";
|
|
@@ -903,6 +903,16 @@ exports.ErrorCodes = [
|
|
|
903
903
|
error: "apikey.name.in.use",
|
|
904
904
|
message: "Given API key name is already in use"
|
|
905
905
|
},
|
|
906
|
+
{
|
|
907
|
+
code: "002.059.0001",
|
|
908
|
+
error: "watchFolder.not.found",
|
|
909
|
+
message: "The requested watch folder could not be found"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
code: "002.059.0002",
|
|
913
|
+
error: "watchFolder.name.in.use",
|
|
914
|
+
message: "The provided watch folder name is already in use in this space"
|
|
915
|
+
},
|
|
906
916
|
{
|
|
907
917
|
code: "003.000.0002",
|
|
908
918
|
error: "internal.server.error",
|
|
@@ -10,6 +10,7 @@ import { NatsCallback, NatsMessageType, NatsObject, NatsObjectType, RawMsg } fro
|
|
|
10
10
|
* Object.assign(global, { WebSocket: WebSocket });
|
|
11
11
|
*/
|
|
12
12
|
type ConnectParamsJwt = {
|
|
13
|
+
name?: string;
|
|
13
14
|
email: string;
|
|
14
15
|
jwt: string;
|
|
15
16
|
servers?: string[];
|
|
@@ -26,6 +27,7 @@ type ConnectParamsJwt = {
|
|
|
26
27
|
* Object.assign(global, { WebSocket: WebSocket });
|
|
27
28
|
*/
|
|
28
29
|
type ConnectParamsPassword = {
|
|
30
|
+
name?: string;
|
|
29
31
|
username: string;
|
|
30
32
|
password: string;
|
|
31
33
|
servers?: string[];
|