@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.
- package/README.md +4 -0
- package/dist/device.d.ts +3 -3
- package/dist/device.js +37 -9
- package/dist/index.d.ts +2 -2
- package/dist/index.js +59 -16
- package/dist/server.d.ts +99 -3
- package/dist/server.js +1650 -1278
- package/dist/{types-CgtPkDeO.d.ts → types-rx4YxsoH.d.ts} +19 -3
- package/package.json +1 -1
|
@@ -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?:
|
|
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 {
|
|
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 };
|