@avallon-labs/sdk 42.2.0 → 42.3.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/dist/index.d.ts CHANGED
@@ -10023,8 +10023,8 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
10023
10023
  * Exchange an identity token (Supabase or WorkOS) for a tenant-scoped Core Plane access token.
10024
10024
 
10025
10025
  - The endpoint detects the token's issuer and verifies it against the matching provider.
10026
- - If `tenant_id` is provided, validates the user is a member of that tenant.
10027
- - If `tenant_id` is omitted, selects the user's default (oldest) tenant.
10026
+ - If `tenant_id` is provided, validates the user is a member of that tenant and returns 404 if they are not.
10027
+ - If `tenant_id` is omitted, selects the tenant of the identity token's organization, falling back to the user's default (oldest) tenant.
10028
10028
  - Call this endpoint again with a different `tenant_id` to switch tenants.
10029
10029
  * @summary Create or switch tenant session
10030
10030
  */