@workos/openapi-spec 0.168.0 → 0.169.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.
@@ -3183,7 +3183,10 @@ paths:
3183
3183
  tags:
3184
3184
  - authorization
3185
3185
  post:
3186
- description: Assign a role to an organization membership on a specific resource.
3186
+ description: >-
3187
+ Assign a role to an organization membership on a specific resource. If
3188
+ the role is already assigned to the membership on that resource, the
3189
+ existing role assignment is returned and no changes are made.
3187
3190
  operationId: AuthorizationRoleAssignmentsController_assignRole
3188
3191
  parameters:
3189
3192
  - name: organization_membership_id
package/dist/types.d.ts CHANGED
@@ -715,7 +715,7 @@ export interface paths {
715
715
  put?: never;
716
716
  /**
717
717
  * Assign a role
718
- * @description Assign a role to an organization membership on a specific resource.
718
+ * @description Assign a role to an organization membership on a specific resource. If the role is already assigned to the membership on that resource, the existing role assignment is returned and no changes are made.
719
719
  */
720
720
  post: operations["AuthorizationRoleAssignmentsController_assignRole"];
721
721
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.168.0",
3
+ "version": "0.169.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",