@collective-intelligence/external-apps-server-sdk 0.1.10 → 0.1.11

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/dist/auth.d.ts CHANGED
@@ -131,13 +131,15 @@ export type ApplicationUserIdentity = Readonly<{
131
131
  * and request/correlation IDs are deliberately not part of that logical identity.
132
132
  */
133
133
  export type EntityInvocationContext = Readonly<{
134
+ /** The App Permissions of the user's effective roles on the app. */
135
+ appPermissions: readonly string[];
134
136
  applicationId: string;
135
137
  issuer: string;
136
138
  organizationId: string;
137
139
  resourceId: string;
140
+ /** The user's effective roles on the app, read from CI at this lookup. */
138
141
  roles: readonly string[];
139
142
  scopes: readonly string[];
140
- groupIds: readonly string[];
141
143
  user: ApplicationUserIdentity;
142
144
  }>;
143
145
  export declare const createGatewayConnectionAuthentication: (config: GatewayConnectionAuthenticationConfig) => {