@7365admin1/core 3.71.0 → 3.72.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,5 +1,11 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 3.72.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e38cc35: Invite Client: Seven365 staff choose the new client owner's role permissions with the modules (`permissions` on `POST /api/auth/invite/user`, only with `modules`, each inside them, never a console permission). Onboarding writes them on the client's own application owner role and records it as the organisation's `invitedRole`, so the owner's application membership gets exactly that role. Role writes for that application in that organisation stay within it (`*`/empty becomes the grant; wider strings are refused; Seven365 staff are not capped). Clients invited before this are unchanged. Kill switch: `CLIENT_INVITE_OWNER_PERMISSIONS=off`.
8
+
3
9
  ## 3.71.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -11194,6 +11194,8 @@ type TVerificationMetadataV2 = {
11194
11194
  invitedByPropertyManagement?: boolean;
11195
11195
  /** A new client's modules, chosen by Seven365 on Invite Client. */
11196
11196
  modules?: string[];
11197
+ /** The new client owner's permissions in that application, chosen with the modules. */
11198
+ permissions?: string[];
11197
11199
  };
11198
11200
  /**
11199
11201
  * The one-time code an invitee types to prove they own the mailbox, held on the