hcloud-sdk 22.31.0 → 22.32.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.
|
|
1
|
+
## [22.32.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.31.0...v22.32.0) (2026-09-16)
|
|
2
2
|
|
|
3
3
|
### Features
|
|
4
4
|
|
|
5
|
-
*
|
|
5
|
+
* extends address book member information ([10cb260](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/10cb260f95c553faebe20f65180d6b0a5330bf61))
|
|
@@ -1,11 +1,27 @@
|
|
|
1
|
-
import { ReducedUser } from "../../idp
|
|
2
|
-
/** Members as key-value pairs: mandatory e-mail address -> optional display name */
|
|
1
|
+
import { ReducedUser } from "../../idp";
|
|
2
|
+
/** Members as key-value pairs: mandatory e-mail address -> optional display name (used for create/add input) */
|
|
3
3
|
export type AddressBookMembers = Record<string, string | undefined>;
|
|
4
|
+
export declare enum AddressBookMemberType {
|
|
5
|
+
/** Existing helmut.cloud user */
|
|
6
|
+
INTERNAL = "INTERNAL",
|
|
7
|
+
/** Email-only recipient without a helmut.cloud account */
|
|
8
|
+
EXTERNAL = "EXTERNAL"
|
|
9
|
+
}
|
|
10
|
+
export type AddressBookMember = {
|
|
11
|
+
/** Mandatory e-mail address */
|
|
12
|
+
email: string;
|
|
13
|
+
/** Optional display name */
|
|
14
|
+
name?: string;
|
|
15
|
+
/** Timestamp in milliseconds when the member was added */
|
|
16
|
+
addedDate: number;
|
|
17
|
+
/** Whether the member is an existing helmut.cloud user (INTERNAL) or an email-only recipient (EXTERNAL) */
|
|
18
|
+
type: AddressBookMemberType;
|
|
19
|
+
};
|
|
4
20
|
export type AddressBook = {
|
|
5
21
|
_id: string;
|
|
6
22
|
name: string;
|
|
7
23
|
description?: string;
|
|
8
|
-
members:
|
|
24
|
+
members: AddressBookMember[];
|
|
9
25
|
/** IDs of internal teams referenced by the address book */
|
|
10
26
|
teamIds: string[];
|
|
11
27
|
createDate: number;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddressBookMemberType = void 0;
|
|
4
|
+
var AddressBookMemberType;
|
|
5
|
+
(function (AddressBookMemberType) {
|
|
6
|
+
/** Existing helmut.cloud user */
|
|
7
|
+
AddressBookMemberType["INTERNAL"] = "INTERNAL";
|
|
8
|
+
/** Email-only recipient without a helmut.cloud account */
|
|
9
|
+
AddressBookMemberType["EXTERNAL"] = "EXTERNAL";
|
|
10
|
+
})(AddressBookMemberType || (exports.AddressBookMemberType = AddressBookMemberType = {}));
|