hcloud-sdk 21.4.0 → 21.6.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
- ## [21.4.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v21.3.0...v21.4.0) (2026-07-06)
1
+ ## [21.6.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v21.5.0...v21.6.0) (2026-07-07)
2
2
 
3
3
  ### Features
4
4
 
5
- * add PENDING email status ([c6ff797](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/c6ff797d0d4be6bbefd78aa8004548493816ca64))
5
+ * add CommentColorMap for CommentColors ([7bf7028](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/7bf7028be07f379fc077b8a8eed80bb1766f883e))
@@ -72,6 +72,7 @@ export declare enum CommentColor {
72
72
  LAVENDER = "LAVENDER",
73
73
  WHITE = "WHITE"
74
74
  }
75
+ export declare const CommentColorMap: Record<CommentColor, string>;
75
76
  export interface Timestamp {
76
77
  in: number;
77
78
  out?: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CommentColor = exports.CommentVisibility = exports.CommentSortDirection = exports.CommentSortField = exports.CommentType = void 0;
3
+ exports.CommentColorMap = exports.CommentColor = exports.CommentVisibility = exports.CommentSortDirection = exports.CommentSortField = exports.CommentType = void 0;
4
4
  var CommentType;
5
5
  (function (CommentType) {
6
6
  CommentType["COMMENT"] = "COMMENT";
@@ -34,3 +34,13 @@ var CommentColor;
34
34
  CommentColor["LAVENDER"] = "LAVENDER";
35
35
  CommentColor["WHITE"] = "WHITE";
36
36
  })(CommentColor || (exports.CommentColor = CommentColor = {}));
37
+ exports.CommentColorMap = {
38
+ [CommentColor.RED]: "#FD665D",
39
+ [CommentColor.ORANGE]: "#F1AC5C",
40
+ [CommentColor.YELLOW]: "#FFFD6D",
41
+ [CommentColor.GREEN]: "#3CC34A",
42
+ [CommentColor.BLUE]: "#2674DC",
43
+ [CommentColor.CYAN]: "#35D7D8",
44
+ [CommentColor.LAVENDER]: "#C69ADD",
45
+ [CommentColor.WHITE]: "#F3E8DD",
46
+ };
@@ -30,6 +30,7 @@ export interface Share {
30
30
  _id: string;
31
31
  name: string;
32
32
  active: boolean;
33
+ invalidLink: boolean;
33
34
  creator: ReducedUser;
34
35
  createDate: number;
35
36
  items?: ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "21.4.0",
3
+ "version": "21.6.0",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",