hcloud-sdk 22.41.0 → 22.43.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.41.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.40.3...v22.41.0) (2026-09-29)
1
+ ## [22.43.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.42.0...v22.43.0) (2026-10-01)
2
2
 
3
3
  ### Features
4
4
 
5
- * add remainingCooldownInSeconds field to users array for search shares response ([5c3dd9e](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/5c3dd9e506ceedfb1bced7e58f000822dad16d8f))
5
+ * allow target client pool selection for webhook execution ([776de17](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/776de177289affb41de4af45319e4351580962c8))
@@ -30,7 +30,8 @@ export declare enum CommentSortField {
30
30
  TIMECODE = "TIMECODE",
31
31
  CREATOR = "CREATOR",
32
32
  NEWEST = "NEWEST",
33
- OLDEST = "OLDEST"
33
+ OLDEST = "OLDEST",
34
+ INCOMPLETE = "INCOMPLETE"
34
35
  }
35
36
  export declare enum CommentSortDirection {
36
37
  ASC = "ASC",
@@ -12,6 +12,7 @@ var CommentSortField;
12
12
  CommentSortField["CREATOR"] = "CREATOR";
13
13
  CommentSortField["NEWEST"] = "NEWEST";
14
14
  CommentSortField["OLDEST"] = "OLDEST";
15
+ CommentSortField["INCOMPLETE"] = "INCOMPLETE";
15
16
  })(CommentSortField || (exports.CommentSortField = CommentSortField = {}));
16
17
  var CommentSortDirection;
17
18
  (function (CommentSortDirection) {
@@ -52,8 +52,10 @@ export interface Webhook {
52
52
  error?: string;
53
53
  };
54
54
  callbackEnabled: boolean;
55
+ /** If true, the execution target can be overwritten per request via '?target=<pool name or user email>' */
56
+ targetOverrideEnabled: boolean;
55
57
  }
56
- export type WebhookCreate = Pick<Webhook, "name" | "target" | "type" | "sub" | "webhookEncryptionSettings" | "securityHeaders" | "networkSettings" | "callbackEnabled">;
58
+ export type WebhookCreate = Pick<Webhook, "name" | "target" | "type" | "sub" | "webhookEncryptionSettings" | "securityHeaders" | "networkSettings" | "callbackEnabled"> & Partial<Pick<Webhook, "targetOverrideEnabled">>;
57
59
  export type WebhookUpdate = Partial<WebhookCreate> & {
58
60
  deleteWebhookEncryptionSettings?: boolean;
59
61
  deleteSecurityHeaders?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "22.41.0",
3
+ "version": "22.43.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",