@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @canopy-io/node
2
2
 
3
+ ## 0.3.9
4
+
5
+ ### Patch Changes
6
+
7
+ - dc7525d: `organizations.setDirectoryGrantableRoles` with an empty list now returns the organization to the Environment's list when one is set, under a connected directory too. It is refused only when there is no Environment list to fall back on. Types regenerated from the live spec; no signatures change.
8
+
3
9
  ## 0.3.8
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -798,9 +798,11 @@ var Organizations = class {
798
798
  * Replace the list in one act, which is how directory sync is opened for
799
799
  * an organization. Exactly one role is `default_role_id`, the one people
800
800
  * arrive with. Withdrawing a role unmaps the groups naming it and keeps
801
- * their members in the organization; an empty list is refused while a
802
- * directory is connected. Your API key only: an organization admin's
803
- * token can read the list but is refused changing it.
801
+ * their members in the organization. An empty list removes the
802
+ * organization's own list: it then holds the Environment's list when one
803
+ * is set, and otherwise directory sync closes for it, which is refused
804
+ * while a directory is connected. Your API key only: an organization
805
+ * admin's token can read the list but is refused changing it.
804
806
  */
805
807
  setDirectoryGrantableRoles(id, input) {
806
808
  return this.client.request(