hcloud-sdk 22.56.1 → 22.57.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,6 +1,5 @@
1
- ## [22.56.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.56.0...v22.56.1) (2026-10-14)
1
+ ## [22.57.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.56.2...v22.57.0) (2026-10-15)
2
2
 
3
- ### Bug Fixes
3
+ ### Features
4
4
 
5
- * trigger new build ([c420626](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c42062638a606b3e849fad493707fcb488e10c0b))
6
- * trigger new build ([2e1f5a3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2e1f5a3d765c715f7e2cbd49fa855847e1ad4c79))
5
+ * update error codes ([c0172e9](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c0172e9099760bb489dc7b1725481c2cb4a79267))
@@ -441,7 +441,7 @@ export declare const ErrorCodes: readonly [{
441
441
  }, {
442
442
  readonly code: "001.055.0004";
443
443
  readonly error: "storage.does.not.fulfill.requirements";
444
- readonly message: "Storage does not fulfill requirements: '{{msg}}'";
444
+ readonly message: "'{{msg}}'";
445
445
  readonly shortMessage: "Storage does not fulfill requirements";
446
446
  }, {
447
447
  readonly code: "001.055.0005";
@@ -534,7 +534,7 @@ exports.ErrorCodes = [
534
534
  {
535
535
  code: "001.055.0004",
536
536
  error: "storage.does.not.fulfill.requirements",
537
- message: "Storage does not fulfill requirements: '{{msg}}'",
537
+ message: "'{{msg}}'",
538
538
  shortMessage: "Storage does not fulfill requirements"
539
539
  },
540
540
  {
@@ -11,7 +11,8 @@ export type Storage = {
11
11
  organization?: ReducedOrganization;
12
12
  endpoint: string;
13
13
  bucket: string;
14
- region: string;
14
+ /** Not set for storages without regions (e.g. Cloudflare R2) */
15
+ region?: string;
15
16
  accessKeyId: string;
16
17
  secretAccessKey: string;
17
18
  spaces: (ReducedSpace & {
@@ -32,7 +33,8 @@ export type StorageConfiguration = {
32
33
  name: string;
33
34
  endpoint: string;
34
35
  bucket: string;
35
- region: string;
36
+ /** Not set for storages without regions (e.g. Cloudflare R2) */
37
+ region?: string;
36
38
  accessKeyId: string;
37
39
  secretAccessKey: string;
38
40
  isDefault: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.56.1",
3
+ "version": "22.57.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",