hcloud-sdk 22.33.0 → 22.34.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,11 +1,5 @@
1
- ## [22.33.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.32.0...v22.33.0) (2026-09-16)
1
+ ## [22.34.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.33.1...v22.34.0) (2026-09-17)
2
2
 
3
3
  ### Features
4
4
 
5
- * add storage related nats subjects ([cea8518](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/cea85189093cccdac02c0d3401bd9530d804febb))
6
-
7
- ### Bug Fixes
8
-
9
- * add missing endpoints; add new spaces property ([17b98c4](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/17b98c44a4ccb8f0dcef17e2b5679f8c1d8a8ee7))
10
- * implement review feedback ([edaab1b](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/edaab1bd38acd910cb224bf3139ecd70cea8ad7b))
11
- * outdated interfaces ([465b2b2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/465b2b29f1805eb1d58fb5a8ab217cbdda3c2f64))
5
+ * update error codes ([a6b77a8](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a6b77a8a981e3b215829152fea190ec53ff617ea))
@@ -726,6 +726,14 @@ export declare const ErrorCodes: readonly [{
726
726
  readonly code: "002.059.0002";
727
727
  readonly error: "watchFolder.name.in.use";
728
728
  readonly message: "The provided watch folder name is already in use in this space";
729
+ }, {
730
+ readonly code: "002.059.0003";
731
+ readonly error: "watchFolder.file.not.found";
732
+ readonly message: "No watch folder file matching the given execution was found";
733
+ }, {
734
+ readonly code: "002.059.0004";
735
+ readonly error: "watchFolder.file.reset.limit.exceeded";
736
+ readonly message: "This file has already reached the maximum number of allowed resets";
729
737
  }, {
730
738
  readonly code: "003.000.0002";
731
739
  readonly error: "internal.server.error";
@@ -913,6 +913,16 @@ exports.ErrorCodes = [
913
913
  error: "watchFolder.name.in.use",
914
914
  message: "The provided watch folder name is already in use in this space"
915
915
  },
916
+ {
917
+ code: "002.059.0003",
918
+ error: "watchFolder.file.not.found",
919
+ message: "No watch folder file matching the given execution was found"
920
+ },
921
+ {
922
+ code: "002.059.0004",
923
+ error: "watchFolder.file.reset.limit.exceeded",
924
+ message: "This file has already reached the maximum number of allowed resets"
925
+ },
916
926
  {
917
927
  code: "003.000.0002",
918
928
  error: "internal.server.error",
@@ -12,6 +12,8 @@ export type Storage = {
12
12
  endpoint: string;
13
13
  bucket: string;
14
14
  region: string;
15
+ accessKeyId: string;
16
+ secretAccessKey: string;
15
17
  spaces: ReducedSpace[];
16
18
  valid: boolean;
17
19
  errorMessage?: string;
@@ -27,6 +29,7 @@ export type StorageConfiguration = {
27
29
  isDefault: boolean;
28
30
  valid: boolean;
29
31
  };
32
+ export type StorageDto = Omit<Storage, "accessKeyId" | "secretAccessKey">;
30
33
  export type StorageCreateDto = Pick<Storage, "name" | "endpoint" | "bucket" | "region"> & {
31
34
  accessKeyId: string;
32
35
  secretAccessKey: string;
@@ -60,7 +60,8 @@ export type LicenseQuota = {
60
60
  quota: number;
61
61
  };
62
62
  };
63
- jobs: {
63
+ /** Formerly under `fuse.spaces.jobs`. Absent on older licenses that still carry it under `fuse`. */
64
+ jobs?: {
64
65
  quota: number;
65
66
  logs: {
66
67
  quota: number;
@@ -76,9 +77,11 @@ export type LicenseQuota = {
76
77
  executionLogMaxLimit: {
77
78
  quota: number;
78
79
  };
79
- secondBaseExecutions: boolean;
80
+ /** Formerly under `fuse.secondBaseExecutions`. Absent on older licenses that still carry it under `fuse`. */
81
+ secondBaseExecutions?: boolean;
80
82
  };
81
- fuse: {
83
+ /** Legacy quota for what is now the cronjob-related part of High5. Absent on licenses issued after the Fuse-to-High5 merge. */
84
+ fuse?: {
82
85
  spaces: {
83
86
  quota: number;
84
87
  jobs: {
@@ -1,6 +1,6 @@
1
1
  import Base, { MaybeRaw } from "../../../../Base";
2
2
  import { PaginatedResponse, SearchFilter, Sorting } from "../../../../interfaces/global";
3
- import { Storage, StorageConfiguration, StorageCreateDto, StoragePatchDto } from "../../../../interfaces/global/Storage";
3
+ import { StorageDto as Storage, StorageConfiguration, StorageCreateDto, StoragePatchDto } from "../../../../interfaces/global/Storage";
4
4
  export declare class IdpOrganizationStorages extends Base {
5
5
  /**
6
6
  * Creates a new Storage in the specified Organization.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.33.0",
3
+ "version": "22.34.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",