hcloud-sdk 22.39.0 → 22.39.2

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,9 @@
1
- ## [22.39.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.38.0...v22.39.0) (2026-09-21)
1
+ ## [22.39.2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.39.1...v22.39.2) (2026-09-24)
2
2
 
3
- ### Features
3
+ ### Bug Fixes
4
4
 
5
- * implement missing nats subjects ([787b724](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/787b7247deb47842bce569ebad7c38240654a688))
5
+ * void return for 204 delete endpoints ([2941a14](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2941a14104b94b6f49916c4d985621ed441adbe9))
6
+
7
+ ### Performance Improvements
8
+
9
+ * **high5:** capturedRequest returns void, no body ([047764c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/047764ce113dfd6f5cc0abb2c7d8b888feacffbc))
@@ -4,6 +4,4 @@ export interface CapturedRequest {
4
4
  method: HttpMethod;
5
5
  headers: IncomingHttpHeaders;
6
6
  body: any;
7
- spaceId: string;
8
- organizationId: string;
9
7
  }
@@ -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.0",
3
+ "version": "22.39.2",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",