hcloud-sdk 22.23.0 → 22.23.1
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,19 +1,5 @@
|
|
|
1
|
-
## [22.23.
|
|
2
|
-
|
|
3
|
-
### Features
|
|
4
|
-
|
|
5
|
-
* add WatchFolder name validation rules ([de335cf](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/de335cf5b811715f5aef4e1f717a529c257449ac))
|
|
6
|
-
* **auditor:** add WatchFolder event ([1b6f682](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/1b6f6821b51e00ba853feca8e9897771611703e8))
|
|
7
|
-
* **ci:** move release trigger to main ([8128658](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/81286583958ee1a576ab2004f609cc2506b1a7a1))
|
|
8
|
-
* **high5:** add WatchFolder interfaces and methods ([dae83d6](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/dae83d63e00056d40cf4a03753e2d42e83021678))
|
|
9
|
-
* implement metadata for comments, replies and annotations ([e0cbf51](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e0cbf51d9a080689b07d5d4d431a2db5f7eea64c))
|
|
10
|
-
* implement metadata for comments, replies and annotations ([4aad210](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/4aad2100fd7155b4daa94fd1925c095a492230a0))
|
|
11
|
-
* implements visibility field in comment to toggle internal and external visibility ([ff52bb4](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/ff52bb463223a39062aa4d398fbb49f552978c0e))
|
|
12
|
-
* **nats:** add watchfolder scan subject & extend WatchFolderObject ([2483d68](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/2483d68078b3cabbf08e6790d1fc91e00361a150))
|
|
13
|
-
* **nats:** add WatchFolder subjects ([02ed6dd](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/02ed6dd39c0d1a47b88358cdd9bf6e6a72f8785d))
|
|
14
|
-
* **watchfolder:** finalize scan API and type fixes ([b248938](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/b248938240cd98b840bf6a08489b2e0d57afe99b))
|
|
15
|
-
* **watchfolder:** return full WatchFolder objects ([1b6829d](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/1b6829d81b8f2829e0edbce0d60ce716ff5bd0bf))
|
|
1
|
+
## [22.23.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.23.0...v22.23.1) (2026-08-31)
|
|
16
2
|
|
|
17
3
|
### Bug Fixes
|
|
18
4
|
|
|
19
|
-
*
|
|
5
|
+
* add limit and page support to cosemo.listSpaceUsers ([a4034f5](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/a4034f51a91b7104cad2d2201d758fed820d83b3))
|
|
@@ -98,9 +98,11 @@ export declare class CosmoSpace extends Base {
|
|
|
98
98
|
* List all users with access to the given Space.
|
|
99
99
|
* @param orgName Name of the Organization
|
|
100
100
|
* @param spaceName Name of the Cosmo Space
|
|
101
|
+
* @param limit Number of users to return per page (default is 25)
|
|
102
|
+
* @param page Page number to return (default is 0)
|
|
101
103
|
* @returns The SpaceUser array
|
|
102
104
|
*/
|
|
103
|
-
listSpaceUsers<R extends boolean = false>(orgName: string, spaceName: string, raw?: {
|
|
105
|
+
listSpaceUsers<R extends boolean = false>(orgName: string, spaceName: string, limit?: number, page?: number, raw?: {
|
|
104
106
|
raw: R;
|
|
105
107
|
}): Promise<MaybeRaw<R, SpaceUser[]>>;
|
|
106
108
|
/**
|
|
@@ -137,11 +137,13 @@ class CosmoSpace extends Base_1.default {
|
|
|
137
137
|
* List all users with access to the given Space.
|
|
138
138
|
* @param orgName Name of the Organization
|
|
139
139
|
* @param spaceName Name of the Cosmo Space
|
|
140
|
+
* @param limit Number of users to return per page (default is 25)
|
|
141
|
+
* @param page Page number to return (default is 0)
|
|
140
142
|
* @returns The SpaceUser array
|
|
141
143
|
*/
|
|
142
|
-
listSpaceUsers(
|
|
143
|
-
return __awaiter(this,
|
|
144
|
-
const resp = yield this.axios.get(this.getEndpoint(`/v1/org/${orgName}/spaces/${spaceName}/users`));
|
|
144
|
+
listSpaceUsers(orgName_1, spaceName_1) {
|
|
145
|
+
return __awaiter(this, arguments, void 0, function* (orgName, spaceName, limit = 25, page = 0, raw) {
|
|
146
|
+
const resp = yield this.axios.get(this.getEndpoint(`/v1/org/${orgName}/spaces/${spaceName}/users?limit=${limit}&page=${page}`));
|
|
145
147
|
return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
|
|
146
148
|
});
|
|
147
149
|
}
|