@finueva/auth 0.23.0 → 0.26.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.
@@ -59,6 +59,10 @@ interface OrganizationPageInput {
59
59
  limit?: number;
60
60
  cursor?: string;
61
61
  }
62
+ interface OrganizationMemberPageInput extends OrganizationPageInput {
63
+ /** Literal name or email prefix (ASCII case-insensitive); 1–128 characters. */
64
+ search?: string;
65
+ }
62
66
  interface OrganizationPage {
63
67
  organizations: AuthOrganization[];
64
68
  nextCursor: string | null;
@@ -354,6 +358,10 @@ interface EnterpriseConnectionSetup {
354
358
  clientId: string;
355
359
  enabled: boolean;
356
360
  memberJit: boolean;
361
+ /** Require the provider to attest email verification. Defaults to true for a new connection. */
362
+ requireVerifiedEmail: boolean;
363
+ capability: "federated_sign_in" | "managed_lifecycle";
364
+ groupsSync: boolean;
357
365
  domain: string;
358
366
  domainVerified: boolean;
359
367
  validatedAt: Date | null;
@@ -364,6 +372,10 @@ interface EnterpriseConnectionSetup {
364
372
  redirectUri: string;
365
373
  }
366
374
  interface CreateEnterpriseConnectionInput {
375
+ requireVerifiedEmail?: boolean;
376
+ /** SCIM requires provisioned users before enterprise sign-in. A used connection cannot change mode. */
377
+ provisioning?: boolean;
378
+ groupsSync?: boolean;
367
379
  /** Keep this UUID unchanged when retrying the same creation attempt. */
368
380
  requestId: string;
369
381
  issuer: string;
@@ -373,6 +385,10 @@ interface CreateEnterpriseConnectionInput {
373
385
  memberJit: boolean;
374
386
  }
375
387
  interface UpdateEnterpriseConnectionInput {
388
+ requireVerifiedEmail?: boolean;
389
+ /** SCIM requires provisioned users before enterprise sign-in. A used connection cannot change mode. */
390
+ provisioning?: boolean;
391
+ groupsSync?: boolean;
376
392
  expectedRevision: number;
377
393
  issuer: string;
378
394
  clientId: string;
@@ -380,7 +396,7 @@ interface UpdateEnterpriseConnectionInput {
380
396
  clientSecret?: string;
381
397
  memberJit: boolean;
382
398
  }
383
- type EnterpriseConnectionAction = "challenge" | "verify" | "validate" | "enable" | "disable" | "archive";
399
+ type EnterpriseConnectionAction = "challenge" | "verify" | "validate" | "enable" | "disable" | "archive" | "enable-groups" | "disable-groups";
384
400
  interface ScimCredentialState {
385
401
  status: "active" | "revoked" | "unissued";
386
402
  revision: number | null;
@@ -568,7 +584,7 @@ interface FinuevaAuthClient {
568
584
  cancelOrganizationClosure(organizationId: string, input: OrganizationClosureCancelInput): Promise<OrganizationClosure>;
569
585
  /** Lists the caller's own closing organizations. They are absent from `listOrganizations()`. */
570
586
  listClosingOrganizations(): Promise<ClosingOrganizationList>;
571
- listOrganizationMembers(organizationId: string, input?: OrganizationPageInput): Promise<OrganizationMemberPage>;
587
+ listOrganizationMembers(organizationId: string, input?: OrganizationMemberPageInput): Promise<OrganizationMemberPage>;
572
588
  listOrganizationTeams(organizationId: string, input?: OrganizationPageInput): Promise<OrganizationTeamPage>;
573
589
  listOrganizationTeamMembers(organizationId: string, teamId: string, input?: OrganizationPageInput): Promise<OrganizationTeamMemberPage>;
574
590
  listOrganizationInvitations(organizationId: string, input?: OrganizationPageInput): Promise<OrganizationInvitationPage>;
@@ -642,4 +658,4 @@ interface FinuevaAuthClient {
642
658
  onSessionChange(listener: (session: AuthSession | null) => void): () => void;
643
659
  }
644
660
  //#endregion
645
- export { PasskeyInventory as $, EnterpriseConnection as A, UpdateOrganizationDisplayInput as At, OrganizationDisplay as B, CreatedOrganizationTeam as C, SuspendedOrganizationMember as Ct, DepartedOrganizationMemberPage as D, TwoFactorStatus as Dt, DepartedOrganizationMember as E, TwoFactorEnrollment as Et, InvitationDecline as F, AuthErrorCode as Ft, OrganizationMemberPage as G, OrganizationInvitationPage as H, OrganizationClosure as I, AuthErrorStatus as It, OrganizationTeam as J, OrganizationPage as K, OrganizationClosureCancelInput as L, UserApiCredential as Lt, EnterpriseConnectionSetup as M, UpdateProfileInput as Mt, FinuevaAuthClient as N, WorkspaceSelection as Nt, DriveCredential as O, TwoFactorStepUpInput as Ot, InvitationAcceptance as P, AuthError as Pt, OrganizationWorkspaceSelection as Q, OrganizationClosureStartInput as R, UserApiCredentialInput as Rt, CreatedOrganizationMemberInvitation as S, SocialIdTokenProvider as St, DeletedOrganizationTeam as T, SuspendedOrganizationMemberStatus as Tt, OrganizationMember as U, OrganizationInvitation as V, OrganizationMemberAuthority as W, OrganizationTeamMemberPage as X, OrganizationTeamDisplay as Y, OrganizationTeamPage as Z, ClosingOrganization as _, ScimCredentialIssuance as _t, AuthPersistence as a, PlatformRoleApproval as at, CreateOrganizationMemberInvitationInput as b, SignInInput as bt, AuthSessionInventory as c, PlatformStatus as ct, AuthUser as d, RecentAuthenticationStatus as dt, PasskeySummary as et, CanceledOrganizationInvitation as f, RemovedOrganizationMember as ft, CeremonyReturnInput as g, RotateScimCredentialInput as gt, CeremonyRecentAuthenticationRequest as h, RestoredOrganizationMember as ht, AuthOrganization as i, PlatformRoleApplied as it, EnterpriseConnectionAction as j, UpdateOrganizationTeamDisplayInput as jt, DriveCredentialInput as k, UpdateEnterpriseConnectionInput as kt, AuthSessionSummary as l, ReceivedOrganizationInvitation as lt, CeremonyHandoffInput as m, ResentOrganizationInvitation as mt, AddedOrganizationTeamMember as n, PlatformBootstrapRoleChangeInput as nt, AuthPersistenceDriver as o, PlatformRoleChangeRecentAuthenticationInput as ot, CeremonyHandoff as p, RemovedOrganizationTeamMember as pt, OrganizationPageInput as q, AuthClientOptions as r, PlatformRole as rt, AuthSession as s, PlatformRoleFirstApproval as st, AcceptInvitationInput as t, PersonalWorkspaceSelection as tt, AuthState as u, ReceivedOrganizationInvitationPage as ut, ClosingOrganizationList as v, ScimCredentialState as vt, DeclineInvitationInput as w, SuspendedOrganizationMemberPage as wt, CreatedOrganization as x, SocialIdTokenInput as xt, CreateEnterpriseConnectionInput as y, SendVerificationEmailInput as yt, OrganizationDeparture as z };
661
+ export { OrganizationWorkspaceSelection as $, EnterpriseConnection as A, UpdateEnterpriseConnectionInput as At, OrganizationDisplay as B, CreatedOrganizationTeam as C, SocialIdTokenProvider as Ct, DepartedOrganizationMemberPage as D, TwoFactorEnrollment as Dt, DepartedOrganizationMember as E, SuspendedOrganizationMemberStatus as Et, InvitationDecline as F, AuthError as Ft, OrganizationMemberPage as G, OrganizationInvitationPage as H, OrganizationClosure as I, AuthErrorCode as It, OrganizationPageInput as J, OrganizationMemberPageInput as K, OrganizationClosureCancelInput as L, AuthErrorStatus as Lt, EnterpriseConnectionSetup as M, UpdateOrganizationTeamDisplayInput as Mt, FinuevaAuthClient as N, UpdateProfileInput as Nt, DriveCredential as O, TwoFactorStatus as Ot, InvitationAcceptance as P, WorkspaceSelection as Pt, OrganizationTeamPage as Q, OrganizationClosureStartInput as R, UserApiCredential as Rt, CreatedOrganizationMemberInvitation as S, SocialIdTokenInput as St, DeletedOrganizationTeam as T, SuspendedOrganizationMemberPage as Tt, OrganizationMember as U, OrganizationInvitation as V, OrganizationMemberAuthority as W, OrganizationTeamDisplay as X, OrganizationTeam as Y, OrganizationTeamMemberPage as Z, ClosingOrganization as _, RotateScimCredentialInput as _t, AuthPersistence as a, PlatformRoleApplied as at, CreateOrganizationMemberInvitationInput as b, SendVerificationEmailInput as bt, AuthSessionInventory as c, PlatformRoleFirstApproval as ct, AuthUser as d, ReceivedOrganizationInvitationPage as dt, PasskeyInventory as et, CanceledOrganizationInvitation as f, RecentAuthenticationStatus as ft, CeremonyReturnInput as g, RestoredOrganizationMember as gt, CeremonyRecentAuthenticationRequest as h, ResentOrganizationInvitation as ht, AuthOrganization as i, PlatformRole as it, EnterpriseConnectionAction as j, UpdateOrganizationDisplayInput as jt, DriveCredentialInput as k, TwoFactorStepUpInput as kt, AuthSessionSummary as l, PlatformStatus as lt, CeremonyHandoffInput as m, RemovedOrganizationTeamMember as mt, AddedOrganizationTeamMember as n, PersonalWorkspaceSelection as nt, AuthPersistenceDriver as o, PlatformRoleApproval as ot, CeremonyHandoff as p, RemovedOrganizationMember as pt, OrganizationPage as q, AuthClientOptions as r, PlatformBootstrapRoleChangeInput as rt, AuthSession as s, PlatformRoleChangeRecentAuthenticationInput as st, AcceptInvitationInput as t, PasskeySummary as tt, AuthState as u, ReceivedOrganizationInvitation as ut, ClosingOrganizationList as v, ScimCredentialIssuance as vt, DeclineInvitationInput as w, SuspendedOrganizationMember as wt, CreatedOrganization as x, SignInInput as xt, CreateEnterpriseConnectionInput as y, ScimCredentialState as yt, OrganizationDeparture as z, UserApiCredentialInput as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finueva/auth",
3
- "version": "0.23.0",
3
+ "version": "0.26.0",
4
4
  "description": "Public browser and server SDK for Finueva Auth",
5
5
  "type": "module",
6
6
  "sideEffects": false,