hcloud-sdk 22.49.0 → 22.50.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,11 +1,5 @@
|
|
|
1
|
-
## [22.
|
|
1
|
+
## [22.50.0](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.49.0...v22.50.0) (2026-10-07)
|
|
2
2
|
|
|
3
3
|
### Features
|
|
4
4
|
|
|
5
|
-
* add
|
|
6
|
-
* add capacityInGB which reflects license quota as max usable capacity ([75a1dea](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/75a1dea437d657eacd967abaad9ae3e5688bd468))
|
|
7
|
-
* reflect new introduced byos license endpoint and interfaces ([efcb701](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/efcb701645e1e0f06800ba8e7c13c117d547c444))
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* default license quota determination and application ([e228077](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/e2280774fec9b1a4969743b8c70ded3e307625fd))
|
|
5
|
+
* add renameDomain method to allow renaming of existing domains ([3e2775c](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/3e2775c42363d739b8568fd3828c5dd551ecd7bb))
|
|
@@ -33,6 +33,16 @@ export declare class IdpDomain extends Base {
|
|
|
33
33
|
verifyDomain<R extends boolean = false>(orgName: string, domainName: string, raw?: {
|
|
34
34
|
raw: R;
|
|
35
35
|
}): Promise<MaybeRaw<R, Domain>>;
|
|
36
|
+
/**
|
|
37
|
+
* Renames a Domain. The renamed Domain is no longer verified and has to be verified again with the same uuid.
|
|
38
|
+
* @param orgName Name of the organization
|
|
39
|
+
* @param domainName Current name of the Domain
|
|
40
|
+
* @param newDomainName New name of the Domain
|
|
41
|
+
* @returns the renamed Domain
|
|
42
|
+
*/
|
|
43
|
+
renameDomain<R extends boolean = false>(orgName: string, domainName: string, newDomainName: string, raw?: {
|
|
44
|
+
raw: R;
|
|
45
|
+
}): Promise<MaybeRaw<R, Domain>>;
|
|
36
46
|
/**
|
|
37
47
|
* Retrieves the SSO provider of a Domain.
|
|
38
48
|
* @param orgName Name of the organization
|
|
@@ -62,6 +62,21 @@ class IdpDomain extends Base_1.default {
|
|
|
62
62
|
return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Renames a Domain. The renamed Domain is no longer verified and has to be verified again with the same uuid.
|
|
67
|
+
* @param orgName Name of the organization
|
|
68
|
+
* @param domainName Current name of the Domain
|
|
69
|
+
* @param newDomainName New name of the Domain
|
|
70
|
+
* @returns the renamed Domain
|
|
71
|
+
*/
|
|
72
|
+
renameDomain(orgName, domainName, newDomainName, raw) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
const resp = yield this.axios.patch(this.getEndpoint(`/v1/org/${orgName}/settings/domains/${domainName}`), {
|
|
75
|
+
name: newDomainName,
|
|
76
|
+
});
|
|
77
|
+
return ((raw === null || raw === void 0 ? void 0 : raw.raw) ? resp : resp.data);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
65
80
|
/**
|
|
66
81
|
* Retrieves the SSO provider of a Domain.
|
|
67
82
|
* @param orgName Name of the organization
|