hcloud-sdk 22.39.1 → 22.40.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.39.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.39.0...v22.39.1) (2026-09-24)
1
+ ## [22.40.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.39.2...v22.40.0) (2026-09-24)
2
2
 
3
- ### Performance Improvements
3
+ ### Features
4
4
 
5
- * **high5:** remove spaceId/orgId from CapturedRequest ([c41919d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c41919d3fa0bd2767c26445dd1a6840c4976f69a))
5
+ * update error codes ([57607f3](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/57607f3840e8c3f62b1494c49b7a05a13798ebc5))
@@ -354,6 +354,10 @@ export declare const ErrorCodes: readonly [{
354
354
  readonly code: "001.055.0004";
355
355
  readonly error: "storage.does.not.fulfill.requirements";
356
356
  readonly message: "Storage does not fulfill requirements: '{{msg}}'";
357
+ }, {
358
+ readonly code: "001.055.0005";
359
+ readonly error: "storage.protected";
360
+ readonly message: "This storage is protected";
357
361
  }, {
358
362
  readonly code: "001.056.0001";
359
363
  readonly error: "oidc.provider.already.exists";
@@ -448,6 +448,11 @@ exports.ErrorCodes = [
448
448
  error: "storage.does.not.fulfill.requirements",
449
449
  message: "Storage does not fulfill requirements: '{{msg}}'"
450
450
  },
451
+ {
452
+ code: "001.055.0005",
453
+ error: "storage.protected",
454
+ message: "This storage is protected"
455
+ },
451
456
  {
452
457
  code: "001.056.0001",
453
458
  error: "oidc.provider.already.exists",
@@ -2,7 +2,6 @@ import Base, { MaybeRaw } from "../../../Base";
2
2
  import { HttpMethod, PaginatedResponse, SearchParams } from "../../../interfaces/global";
3
3
  import { Stream } from "../../../interfaces/high5";
4
4
  import { High5Space as Space, High5SpaceEntityPermission as SpaceEntityPermission, High5SpacePermission as SpacePermission } from "../../../interfaces/high5/space";
5
- import { CapturedRequest } from "../../../interfaces/high5/space/request";
6
5
  import { High5Database } from "./database";
7
6
  import { High5Event } from "./event";
8
7
  import { High5SpaceExecute } from "./execution";
@@ -180,10 +179,9 @@ export declare class High5Space extends Base {
180
179
  * @param spaceName Name of the Space
181
180
  * @param data (optional) The body of the request
182
181
  * @param headers (optional) Additional headers to forward
183
- * @returns Captured request details
184
182
  */
185
183
  capturedRequest<R extends boolean = false>(method: HttpMethod, orgName: string, spaceName: string, data?: any, headers?: Record<string, string>, raw?: {
186
184
  raw: R;
187
- }): Promise<MaybeRaw<R, CapturedRequest>>;
185
+ }): Promise<MaybeRaw<R, void>>;
188
186
  protected getEndpoint(endpoint: string): string;
189
187
  }
@@ -293,7 +293,6 @@ class High5Space extends Base_1.default {
293
293
  * @param spaceName Name of the Space
294
294
  * @param data (optional) The body of the request
295
295
  * @param headers (optional) Additional headers to forward
296
- * @returns Captured request details
297
296
  */
298
297
  capturedRequest(method, orgName, spaceName, data, headers, raw) {
299
298
  return __awaiter(this, void 0, void 0, function* () {
@@ -51,7 +51,7 @@ export default class High5Pool extends Base {
51
51
  */
52
52
  deletePool<R extends boolean = false>(orgName: string, spaceName: string, poolName: string, raw?: {
53
53
  raw: R;
54
- }): Promise<MaybeRaw<R, Pool>>;
54
+ }): Promise<MaybeRaw<R, void>>;
55
55
  /**
56
56
  * Retrieves all pools of a High5 Space which match the provided search filter(s). Will return all pools of the Space if no filter is provided.
57
57
  *
@@ -70,7 +70,7 @@ export declare class High5Webhook extends Base {
70
70
  */
71
71
  deleteWebhook<R extends boolean = false>(orgName: string, spaceName: string, webhookId: string, raw?: {
72
72
  raw: R;
73
- }): Promise<MaybeRaw<R, Webhook[]>>;
73
+ }): Promise<MaybeRaw<R, void>>;
74
74
  /**
75
75
  * Executes all Events and Streams connected to the specified Webhook.
76
76
  * @param webhookUrl URL of the webhook to be triggered / executed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.39.1",
3
+ "version": "22.40.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",