@canopy-io/node 0.3.8 → 0.3.9
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 +6 -0
- package/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1733,7 +1733,7 @@ interface paths {
|
|
|
1733
1733
|
get: operations["ApiOrganizationDirectoryController_listGrantableRoles"];
|
|
1734
1734
|
/**
|
|
1735
1735
|
* Replace the roles an organization's directory may grant
|
|
1736
|
-
* @description Replaces the whole list in one act. Withdrawing a role unmaps the groups that name it and releases the grants those mappings produced. An empty list
|
|
1736
|
+
* @description Replaces the whole list in one act. Withdrawing a role unmaps the groups that name it and releases the grants those mappings produced. An empty list removes the organization's own list: it then holds the Environment's identity-provider arrival roles when those are set, and otherwise directory sync is disabled for it, which is refused with `409` while its directory is live.
|
|
1737
1737
|
*/
|
|
1738
1738
|
put: operations["ApiOrganizationDirectoryController_setGrantableRoles"];
|
|
1739
1739
|
post?: never;
|
|
@@ -17402,9 +17402,11 @@ declare class Organizations {
|
|
|
17402
17402
|
* Replace the list in one act, which is how directory sync is opened for
|
|
17403
17403
|
* an organization. Exactly one role is `default_role_id`, the one people
|
|
17404
17404
|
* arrive with. Withdrawing a role unmaps the groups naming it and keeps
|
|
17405
|
-
* their members in the organization
|
|
17406
|
-
*
|
|
17407
|
-
*
|
|
17405
|
+
* their members in the organization. An empty list removes the
|
|
17406
|
+
* organization's own list: it then holds the Environment's list when one
|
|
17407
|
+
* is set, and otherwise directory sync closes for it, which is refused
|
|
17408
|
+
* while a directory is connected. Your API key only: an organization
|
|
17409
|
+
* admin's token can read the list but is refused changing it.
|
|
17408
17410
|
*/
|
|
17409
17411
|
setDirectoryGrantableRoles(id: string, input: RequestBody<"ApiOrganizationDirectoryController_setGrantableRoles">): Promise<ResponseBody<"ApiOrganizationDirectoryController_setGrantableRoles">>;
|
|
17410
17412
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1733,7 +1733,7 @@ interface paths {
|
|
|
1733
1733
|
get: operations["ApiOrganizationDirectoryController_listGrantableRoles"];
|
|
1734
1734
|
/**
|
|
1735
1735
|
* Replace the roles an organization's directory may grant
|
|
1736
|
-
* @description Replaces the whole list in one act. Withdrawing a role unmaps the groups that name it and releases the grants those mappings produced. An empty list
|
|
1736
|
+
* @description Replaces the whole list in one act. Withdrawing a role unmaps the groups that name it and releases the grants those mappings produced. An empty list removes the organization's own list: it then holds the Environment's identity-provider arrival roles when those are set, and otherwise directory sync is disabled for it, which is refused with `409` while its directory is live.
|
|
1737
1737
|
*/
|
|
1738
1738
|
put: operations["ApiOrganizationDirectoryController_setGrantableRoles"];
|
|
1739
1739
|
post?: never;
|
|
@@ -17402,9 +17402,11 @@ declare class Organizations {
|
|
|
17402
17402
|
* Replace the list in one act, which is how directory sync is opened for
|
|
17403
17403
|
* an organization. Exactly one role is `default_role_id`, the one people
|
|
17404
17404
|
* arrive with. Withdrawing a role unmaps the groups naming it and keeps
|
|
17405
|
-
* their members in the organization
|
|
17406
|
-
*
|
|
17407
|
-
*
|
|
17405
|
+
* their members in the organization. An empty list removes the
|
|
17406
|
+
* organization's own list: it then holds the Environment's list when one
|
|
17407
|
+
* is set, and otherwise directory sync closes for it, which is refused
|
|
17408
|
+
* while a directory is connected. Your API key only: an organization
|
|
17409
|
+
* admin's token can read the list but is refused changing it.
|
|
17408
17410
|
*/
|
|
17409
17411
|
setDirectoryGrantableRoles(id: string, input: RequestBody<"ApiOrganizationDirectoryController_setGrantableRoles">): Promise<ResponseBody<"ApiOrganizationDirectoryController_setGrantableRoles">>;
|
|
17410
17412
|
/**
|
package/dist/index.js
CHANGED
|
@@ -796,9 +796,11 @@ var Organizations = class {
|
|
|
796
796
|
* Replace the list in one act, which is how directory sync is opened for
|
|
797
797
|
* an organization. Exactly one role is `default_role_id`, the one people
|
|
798
798
|
* arrive with. Withdrawing a role unmaps the groups naming it and keeps
|
|
799
|
-
* their members in the organization
|
|
800
|
-
*
|
|
801
|
-
*
|
|
799
|
+
* their members in the organization. An empty list removes the
|
|
800
|
+
* organization's own list: it then holds the Environment's list when one
|
|
801
|
+
* is set, and otherwise directory sync closes for it, which is refused
|
|
802
|
+
* while a directory is connected. Your API key only: an organization
|
|
803
|
+
* admin's token can read the list but is refused changing it.
|
|
802
804
|
*/
|
|
803
805
|
setDirectoryGrantableRoles(id, input) {
|
|
804
806
|
return this.client.request(
|