@workos-inc/node 9.3.1 → 10.1.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.
@@ -1,2 +1,17 @@
1
- import { $ as CreateAuditLogSchemaRequestOptions, $c as ConnectionDomain, $i as VaultDekDecryptedEventResponse, $l as DeleteAuthorizationResourceByExternalIdOptions, $n as DsyncUserCreatedEvent, $o as MagicAuth, $r as OrganizationDomainVerifiedEvent, $s as AuthenticationEventSsoResponse, $t as List, $u as HttpClientResponseInterface, A as IntentOptions, Ac as AuthenticateWithEmailVerificationOptions, Ai as RoleUpdatedEventResponse, Al as SerializedAssignRoleOptions, An as AuthenticationSSOFailedEventResponse, Ao as UpdateUserOptions, Ar as GroupUpdatedEventResponse, As as FactorWithSecrets, At as UserRegistrationActionResponseData, Au as UpdateEnvironmentRoleOptions, B as NoApiKeyProvidedException, Bc as SerializedAuthenticateWithOptionsBase, Bi as UserUpdatedEvent, Bl as RoleAssignmentRole, Bn as DsyncActivatedEventResponse, Bo as RevokeSessionOptions, Br as MagicAuthCreatedEventResponse, Bs as CreatePasswordResetOptions, Bt as ListOrganizationsOptions, Bu as SerializedListDirectoriesOptions, C as PublicUserManagement, Cc as AuthenticateUserWithOrganizationSelectionCredentials, Ci as PermissionUpdatedEvent, Cl as RemoveRoleOptionsWithResourceExternalId, Cn as AuthenticationPasswordFailedEvent, Co as CreateOrganizationDomainOptions, Cr as GroupMemberAddedEvent, Cs as Invitation, Ct as AutoPaginatable, Cu as UpdateOrganizationRoleOptions, D as PortalLinkResponseWire, Dc as AuthenticateWithMagicAuthOptions, Di as RoleDeletedEvent, Dl as AssignRoleOptionsWithResourceExternalId, Dn as AuthenticationRadarRiskDetectedEvent, Do as SerializedUpdateUserPasswordOptions, Dr as GroupMemberRemovedEvent, Ds as Identity, Du as AddEnvironmentRolePermissionOptions, E as PortalLinkResponse, Ec as AuthenticateUserWithMagicAuthCredentials, Ei as RoleCreatedEventResponse, El as AssignRoleOptions, En as AuthenticationPasswordSucceededEventResponse, Eo as VerifyEmailOptions, Er as GroupMemberEventResponseData, Es as InvitationResponse, Eu as OrganizationRole, F as UnauthorizedException, Fc as AuthenticateWithCodeOptions, Fi as UnknownEvent, Fl as SerializedListRoleAssignmentsOptions, Fn as ConnectionDeactivatedEvent, Fo as SessionResponse, Fr as InvitationResentEvent, Fs as EmailVerificationEvent, Ft as UserRegistrationActionPayload, Fu as EnvironmentRoleListResponse, G as AuthenticationException, Gc as ProfileResponse, Gi as VaultDataCreatedEventResponse, Gl as ListResourcesForMembershipOptionsWithParentId, Gn as DsyncGroupDeletedEvent, Go as ResendInvitationOptions, Gr as OrganizationDomainCreatedEvent, Gs as SerializedCreateMagicAuthOptions, Gt as DomainData, Gu as DirectoryResponse, H as BadRequestException, Hc as ProfileAndToken, Hi as VaultByokKeyVerificationCompletedEvent, Hl as ListMembershipsForResourceOptions, Hn as DsyncDeletedEventResponse, Ho as serializeRevokeSessionOptions, Hr as OrganizationCreatedResponse, Hs as CreateOrganizationMembershipOptions, Ht as CreateOrganizationOptions, Hu as DirectoryGroup, I as SignatureVerificationException, Ic as SerializedAuthenticateWithCodeOptions, Ii as UserCreatedEvent, Il as RoleAssignment, In as ConnectionDeactivatedEventResponse, Io as SessionStatus, Ir as InvitationResentEventResponse, Is as EmailVerificationEventResponse, It as SerializedUpdateOrganizationOptions, Iu as EnvironmentRoleResponse, J as WorkOSErrorData, Jc as ListConnectionsOptions, Ji as VaultDataReadEvent, Jl as AuthorizationCheckOptionsWithResourceExternalId, Jn as DsyncGroupUpdatedEventResponse, Jo as RefreshSessionResponse, Jr as OrganizationDomainDeletedEventResponse, Js as AuthenticationRadarRiskDetectedEventData, Jt as WorkOSOptions, Ju as DirectoryType, K as isAuthenticationErrorData, Kc as OauthTokens, Ki as VaultDataDeletedEvent, Kl as SerializedListResourcesForMembershipOptions, Kn as DsyncGroupDeletedEventResponse, Ko as SerializedResendInvitationOptions, Kr as OrganizationDomainCreatedEventResponse, Ks as PKCEAuthorizationURLResult, Kt as DomainDataState, Ku as DirectoryState, L as RateLimitExceededException, Lc as AuthenticateWithOptionsBase, Li as UserCreatedEventResponse, Ll as RoleAssignmentResource, Ln as ConnectionDeletedEvent, Lo as SendVerificationEmailOptions, Lr as InvitationRevokedEvent, Ls as EmailVerificationResponse, Lt as UpdateOrganizationOptions, Lu as ListDirectoryUsersOptions, M as SSOIntentOptions, Mc as AuthenticateWithCodeAndVerifierOptions, Mi as SessionCreatedEventResponse, Ml as ListRoleAssignmentsForResourceOptions, Mn as AuthenticationSSOSucceededEventResponse, Mo as UpdateOrganizationMembershipOptions, Mr as InvitationAcceptedEventResponse, Ms as EnrollAuthFactorOptions, Mt as ActionPayload, Mu as SerializedCreateEnvironmentRoleOptions, N as SSOIntentOptionsResponse, Nc as SerializedAuthenticateWithCodeAndVerifierOptions, Ni as SessionRevokedEvent, Nl as SerializedListRoleAssignmentsForResourceOptions, Nn as ConnectionActivatedEvent, No as AuthMethod, Nr as InvitationCreatedEvent, Ns as SerializedEnrollUserInMfaFactorOptions, Nt as UserData, Nu as EnvironmentRole, O as GenerateLink, Oc as SerializedAuthenticateWithMagicAuthOptions, Oi as RoleDeletedEventResponse, Ol as AssignRoleOptionsWithResourceId, On as AuthenticationRadarRiskDetectedEventResponse, Oo as UpdateUserPasswordOptions, Or as GroupMemberRemovedEventResponse, Os as Factor, Ot as AuthenticationActionResponseData, Ou as SetEnvironmentRolePermissionsOptions, P as UnprocessableEntityException, Pc as AuthenticateUserWithCodeCredentials, Pi as SessionRevokedEventResponse, Pl as ListRoleAssignmentsOptions, Pn as ConnectionActivatedEventResponse, Po as Session, Pr as InvitationCreatedEventResponse, Ps as EmailVerification, Pt as UserDataPayload, Pu as EnvironmentRoleList, Q as CreateAuditLogSchemaOptions, Qc as Connection, Qi as VaultDekDecryptedEvent, Ql as DeleteAuthorizationResourceOptions, Qn as DsyncGroupUserRemovedEventResponse, Qo as PasswordResetResponse, Qr as OrganizationDomainVerificationFailedEventResponse, Qs as AuthenticationEventSso, Qt as PatchOptions, Qu as HttpClientInterface, R as OauthException, Rc as AuthenticateWithSessionOptions, Ri as UserDeletedEvent, Rl as RoleAssignmentResourceResponse, Rn as ConnectionDeletedEventResponse, Ro as SendInvitationOptions, Rr as InvitationRevokedEventResponse, Rs as CreateUserOptions, Rt as Organization, Ru as ListDirectoryGroupsOptions, S as PublicSSO, Sc as SerializedAuthenticateWithPasswordOptions, Si as PermissionDeletedEventResponse, Sl as RemoveRoleOptions, Sn as AuthenticationPasskeySucceededEventResponse, So as OrganizationDomainVerificationStrategy, Sr as GroupDeletedEventResponse, Ss as ListAuthFactorsOptions, St as SerializedListEventOptions, Su as SerializedUpdateOrganizationRoleOptions, T as createWorkOS, Tc as SerializedAuthenticateWithOrganizationSelectionOptions, Ti as RoleCreatedEvent, Tl as SerializedRemoveRoleOptions, Tn as AuthenticationPasswordSucceededEvent, To as SerializedVerifyEmailOptions, Tr as GroupMemberEventData, Ts as InvitationEventResponse, Tt as PKCEPair, Tu as SerializedCreateOrganizationRoleOptions, U as AuthenticationErrorCode, Uc as ProfileAndTokenResponse, Ui as VaultByokKeyVerificationCompletedEventResponse, Ul as ListResourcesForMembershipOptions, Un as DsyncGroupCreatedEvent, Uo as ResetPasswordOptions, Ur as OrganizationDeletedEvent, Us as SerializedCreateOrganizationMembershipOptions, Ut as CreateOrganizationRequestOptions, Uu as DirectoryGroupResponse, V as ConflictException, Vc as WithResolvedClientId, Vi as UserUpdatedEventResponse, Vl as ListMembershipsForResourceByExternalIdOptions, Vn as DsyncDeletedEvent, Vo as SerializedRevokeSessionOptions, Vr as OrganizationCreatedEvent, Vs as SerializedCreatePasswordResetOptions, Vt as ListOrganizationFeatureFlagsOptions, Vu as PaginationOptions, W as AuthenticationErrorData, Wc as Profile, Wi as VaultDataCreatedEvent, Wl as ListResourcesForMembershipOptionsWithParentExternalId, Wn as DsyncGroupCreatedEventResponse, Wo as SerializedResetPasswordOptions, Wr as OrganizationDeletedResponse, Ws as CreateMagicAuthOptions, Wt as SerializedCreateOrganizationOptions, Wu as Directory, Xc as GetProfileAndTokenOptions, Xi as VaultDataUpdatedEvent, Xl as AuthorizationCheckResult, Xn as DsyncGroupUserAddedEventResponse, Xo as PasswordResetEvent, Xr as OrganizationDomainUpdatedEventResponse, Xs as AuthenticationEvent, Xt as PutOptions, Xu as EventDirectoryResponse, Y as ApiKeyRequiredException, Yc as SerializedListConnectionsOptions, Yi as VaultDataReadEventResponse, Yl as AuthorizationCheckOptionsWithResourceId, Yn as DsyncGroupUserAddedEvent, Yo as PasswordReset, Yr as OrganizationDomainUpdatedEvent, Ys as AuthenticationRadarRiskDetectedEventResponseData, Yt as UnprocessableEntityError, Yu as EventDirectory, Zc as GetProfileOptions, Zi as VaultDataUpdatedEventResponse, Zl as SerializedAuthorizationCheckOptions, Zn as DsyncGroupUserRemovedEvent, Zo as PasswordResetEventResponse, Zr as OrganizationDomainVerificationFailedEvent, Zs as AuthenticationEventResponse, Zt as PostOptions, _c as AuthenticateUserWithRefreshTokenCredentials, _i as PasswordResetSucceededEvent, _l as RoleResponse, _n as AuthenticationOAuthSucceededEvent, _o as OrganizationDomainVerificationFailed, _r as FlagUpdatedEvent, _s as OrganizationMembershipResponse, _t as CreatePasswordlessSessionOptions, _u as Permission, aa as VaultMetadataReadEventResponse, ac as AuthenticateWithSessionCookieFailureReason, ai as OrganizationMembershipUpdated, al as DirectoryUser, an as ApiKeyRevokedEvent, ar as EmailVerificationCreatedEvent, as as ListUsersOptions, at as CreateAuditLogEventRequestOptions, au as AuthorizationResourceResponse, b as ConfidentialClientOptions, bc as AuthenticateUserWithPasswordCredentials, bi as PermissionCreatedEventResponse, bl as RemoveRoleAssignmentOptions, bn as AuthenticationPasskeyFailedEventResponse, bo as OrganizationDomainResponse, br as GroupCreatedEventResponse, bs as SerializedListInvitationsOptions, bt as PasswordlessSessionResponse, bu as AddOrganizationRolePermissionOptions, cc as SessionCookieData, ci as OrganizationRoleCreatedEventResponse, cl as DirectoryUserWithGroupsResponse, cn as AuthenticationEmailVerificationSucceededEventResponse, cr as EventBase, cs as ListSessionsOptions, ct as AuditLogSchema, cu as CreateOptionsWithParentResourceId, dc as User, di as OrganizationRoleUpdatedEvent, dl as OrganizationRoleEventResponse, dn as AuthenticationMagicAuthSucceededEvent, dr as FlagCreatedEvent, ds as SerializedListOrganizationMembershipsOptions, dt as AuditLogTargetSchema, du as UpdateAuthorizationResourceOptions, ea as VaultDekReadEvent, ec as AuthenticateUserWithTotpCredentials, ed as RequestHeaders, ei as OrganizationDomainVerifiedEventResponse, el as ConnectionResponse, en as ListResponse, er as DsyncUserCreatedEventResponse, es as MagicAuthEvent, et as CreateAuditLogSchemaResponse, eu as UpdateAuthorizationResourceByExternalIdOptions, fc as UserResponse, fi as OrganizationRoleUpdatedEventResponse, fl as OrganizationRoleResponse, fn as AuthenticationMagicAuthSucceededEventResponse, fr as FlagCreatedEventResponse, fs as AuthorizationOrganizationMembership, ft as AuditLogExport, fu as ListPermissionsOptions, gc as SerializedAuthenticateWithRefreshTokenPublicClientOptions, gi as PasswordResetCreatedEventResponse, gl as RoleList, gn as AuthenticationOAuthFailedEventResponse, gr as FlagRuleUpdatedEventResponse, gs as OrganizationMembership, gt as SendSessionResponse, gu as SerializedCreatePermissionOptions, hc as AuthenticateWithRefreshTokenPublicClientOptions, hi as PasswordResetCreatedEvent, hl as RoleEventResponse, hn as AuthenticationOAuthFailedEvent, hr as FlagRuleUpdatedEvent, hs as BaseOrganizationMembershipResponse, ht as SerializedAuditLogExportOptions, hu as CreatePermissionOptions, ia as VaultMetadataReadEvent, ic as AuthenticateWithSessionCookieFailedResponse, ii as OrganizationMembershipDeletedResponse, il as DefaultCustomAttributes, in as ApiKeyCreatedEventResponse, ir as DsyncUserUpdatedEventResponse, is as Locale, it as CreateAuditLogEventOptions, iu as AuthorizationResource, j as IntentOptionsResponse, jc as SerializedAuthenticateWithEmailVerificationOptions, ji as SessionCreatedEvent, jl as ListRoleAssignmentsForResourceByExternalIdOptions, jn as AuthenticationSSOSucceededEvent, jo as SerializedUpdateOrganizationMembershipOptions, jr as InvitationAcceptedEvent, js as FactorWithSecretsResponse, jt as ActionContext, ju as CreateEnvironmentRoleOptions, k as GenerateLinkResponse, kc as AuthenticateUserWithEmailVerificationCredentials, ki as RoleUpdatedEvent, kl as BaseAssignRoleOptions, kn as AuthenticationSSOFailedEvent, ko as SerializedUpdateUserOptions, kr as GroupUpdatedEvent, ks as FactorResponse, kt as ResponsePayload, ku as SerializedUpdateEnvironmentRoleOptions, lc as AuthenticationResponse, li as OrganizationRoleDeletedEvent, ll as ListOrganizationRolesResponse, ln as AuthenticationMagicAuthFailedEvent, lr as EventName, ls as SerializedListSessionsOptions, lt as AuditLogSchemaMetadata, lu as SerializedCreateAuthorizationResourceOptions, mc as ImpersonatorResponse, mi as OrganizationUpdatedResponse, ml as RoleEvent, mn as AuthenticationMfaSucceededEventResponse, mr as FlagDeletedEventResponse, ms as BaseOrganizationMembership, mt as AuditLogExportOptions, mu as UpdatePermissionOptions, na as VaultKekCreatedEvent, nc as SerializedAuthenticateWithTotpOptions, nd as ResponseHeaderValue, ni as OrganizationMembershipCreatedResponse, nl as SSOAuthorizationURLOptions, nn as GenerateLinkIntent, nr as DsyncUserDeletedEventResponse, ns as MagicAuthResponse, nt as AuditLogActor, nu as ListAuthorizationResourcesOptions, oa as VaultNamesListedEvent, oc as AuthenticateWithSessionCookieOptions, oi as OrganizationMembershipUpdatedResponse, ol as DirectoryUserResponse, on as ApiKeyRevokedEventResponse, or as EmailVerificationCreatedEventResponse, os as SerializedListUsersOptions, ot as SerializedCreateAuditLogEventOptions, ou as CreateAuthorizationResourceOptions, pc as Impersonator, pi as OrganizationUpdatedEvent, pl as Role, pn as AuthenticationMfaSucceededEvent, pr as FlagDeletedEvent, ps as AuthorizationOrganizationMembershipResponse, pt as AuditLogExportResponse, pu as SerializedUpdatePermissionOptions, q as GenericServerException, qc as OauthTokensResponse, qi as VaultDataDeletedEventResponse, ql as AuthorizationCheckOptions, qn as DsyncGroupUpdatedEvent, qo as RefreshSessionFailureReason, qr as OrganizationDomainDeletedEvent, qs as UserManagementAuthorizationURLOptions, qt as WorkOSResponseError, qu as DirectoryStateResponse, ra as VaultKekCreatedEventResponse, rc as AccessToken, rd as ResponseHeaders, ri as OrganizationMembershipDeleted, rl as SSOPKCEAuthorizationURLResult, rn as ApiKeyCreatedEvent, rr as DsyncUserUpdatedEvent, rs as LogoutURLOptions, rt as AuditLogTarget, ru as SerializedListAuthorizationResourcesOptions, sa as VaultNamesListedEventResponse, sc as AuthenticateWithSessionCookieSuccessResponse, si as OrganizationRoleCreatedEvent, sl as DirectoryUserWithGroups, sn as AuthenticationEmailVerificationSucceededEvent, sr as Event, ss as ListUserFeatureFlagsOptions, st as AuditLogActorSchema, su as CreateOptionsWithParentExternalId, ta as VaultDekReadEventResponse, tc as AuthenticateWithTotpOptions, td as RequestOptions, ti as OrganizationMembershipCreated, tl as ConnectionType, tn as GetOptions, tr as DsyncUserDeletedEvent, ts as MagicAuthEventResponse, tt as SerializedCreateAuditLogSchemaOptions, tu as GetAuthorizationResourceByExternalIdOptions, uc as AuthenticationResponseResponse, ui as OrganizationRoleDeletedEventResponse, ul as OrganizationRoleEvent, un as AuthenticationMagicAuthFailedEventResponse, ur as EventResponse, us as ListOrganizationMembershipsOptions, ut as AuditLogSchemaResponse, uu as SerializedUpdateAuthorizationResourceOptions, vc as AuthenticateWithRefreshTokenOptions, vi as PasswordResetSucceededEventResponse, vl as ListEffectivePermissionsByExternalIdOptions, vn as AuthenticationOAuthSucceededEventResponse, vo as OrganizationDomainVerificationFailedResponse, vr as FlagUpdatedEventResponse, vs as OrganizationMembershipStatus, vt as SerializedCreatePasswordlessSessionOptions, vu as PermissionResponse, w as PublicWorkOS, wc as AuthenticateWithOrganizationSelectionOptions, wi as PermissionUpdatedEventResponse, wl as RemoveRoleOptionsWithResourceId, wn as AuthenticationPasswordFailedEventResponse, wo as SerializedCreateOrganizationDomainOptions, wr as GroupMemberAddedEventResponse, ws as InvitationEvent, wt as PKCE, wu as CreateOrganizationRoleOptions, x as PublicClientOptions, xc as AuthenticateWithPasswordOptions, xi as PermissionDeletedEvent, xl as BaseRemoveRoleOptions, xn as AuthenticationPasskeySucceededEvent, xo as OrganizationDomainState, xr as GroupDeletedEvent, xs as ListGroupsForOrganizationMembershipOptions, xt as ListEventOptions, xu as SetOrganizationRolePermissionsOptions, y as WorkOSWorker, yc as SerializedAuthenticateWithRefreshTokenOptions, yi as PermissionCreatedEvent, yl as ListEffectivePermissionsOptions, yn as AuthenticationPasskeyFailedEvent, yo as OrganizationDomain, yr as GroupCreatedEvent, ys as ListInvitationsOptions, yt as PasswordlessSession, yu as RemoveOrganizationRolePermissionOptions, z as NotFoundException, zc as SerializedAuthenticatePublicClientBase, zi as UserDeletedEventResponse, zl as RoleAssignmentResponse, zn as DsyncActivatedEvent, zo as SerializedSendInvitationOptions, zr as MagicAuthCreatedEvent, zs as SerializedCreateUserOptions, zt as OrganizationResponse, zu as ListDirectoriesOptions } from "./workos-D5a84gFU.mjs";
2
- export { AccessToken, ActionContext, ActionPayload, AddEnvironmentRolePermissionOptions, AddOrganizationRolePermissionOptions, ApiKeyCreatedEvent, ApiKeyCreatedEventResponse, ApiKeyRequiredException, ApiKeyRevokedEvent, ApiKeyRevokedEventResponse, AssignRoleOptions, AssignRoleOptionsWithResourceExternalId, AssignRoleOptionsWithResourceId, AuditLogActor, AuditLogActorSchema, AuditLogExport, AuditLogExportOptions, AuditLogExportResponse, AuditLogSchema, AuditLogSchemaMetadata, AuditLogSchemaResponse, AuditLogTarget, AuditLogTargetSchema, AuthMethod, AuthenticateUserWithCodeCredentials, AuthenticateUserWithEmailVerificationCredentials, AuthenticateUserWithMagicAuthCredentials, AuthenticateUserWithOrganizationSelectionCredentials, AuthenticateUserWithPasswordCredentials, AuthenticateUserWithRefreshTokenCredentials, AuthenticateUserWithTotpCredentials, AuthenticateWithCodeAndVerifierOptions, AuthenticateWithCodeOptions, AuthenticateWithEmailVerificationOptions, AuthenticateWithMagicAuthOptions, AuthenticateWithOptionsBase, AuthenticateWithOrganizationSelectionOptions, AuthenticateWithPasswordOptions, AuthenticateWithRefreshTokenOptions, AuthenticateWithRefreshTokenPublicClientOptions, AuthenticateWithSessionCookieFailedResponse, AuthenticateWithSessionCookieFailureReason, AuthenticateWithSessionCookieOptions, AuthenticateWithSessionCookieSuccessResponse, AuthenticateWithSessionOptions, AuthenticateWithTotpOptions, AuthenticationActionResponseData, AuthenticationEmailVerificationSucceededEvent, AuthenticationEmailVerificationSucceededEventResponse, AuthenticationErrorCode, AuthenticationErrorData, AuthenticationEvent, AuthenticationEventResponse, AuthenticationEventSso, AuthenticationEventSsoResponse, AuthenticationException, AuthenticationMagicAuthFailedEvent, AuthenticationMagicAuthFailedEventResponse, AuthenticationMagicAuthSucceededEvent, AuthenticationMagicAuthSucceededEventResponse, AuthenticationMfaSucceededEvent, AuthenticationMfaSucceededEventResponse, AuthenticationOAuthFailedEvent, AuthenticationOAuthFailedEventResponse, AuthenticationOAuthSucceededEvent, AuthenticationOAuthSucceededEventResponse, AuthenticationPasskeyFailedEvent, AuthenticationPasskeyFailedEventResponse, AuthenticationPasskeySucceededEvent, AuthenticationPasskeySucceededEventResponse, AuthenticationPasswordFailedEvent, AuthenticationPasswordFailedEventResponse, AuthenticationPasswordSucceededEvent, AuthenticationPasswordSucceededEventResponse, AuthenticationRadarRiskDetectedEvent, AuthenticationRadarRiskDetectedEventData, AuthenticationRadarRiskDetectedEventResponse, AuthenticationRadarRiskDetectedEventResponseData, AuthenticationResponse, AuthenticationResponseResponse, AuthenticationSSOFailedEvent, AuthenticationSSOFailedEventResponse, AuthenticationSSOSucceededEvent, AuthenticationSSOSucceededEventResponse, AuthorizationCheckOptions, AuthorizationCheckOptionsWithResourceExternalId, AuthorizationCheckOptionsWithResourceId, AuthorizationCheckResult, AuthorizationOrganizationMembership, AuthorizationOrganizationMembershipResponse, AuthorizationResource, AuthorizationResourceResponse, AutoPaginatable, BadRequestException, BaseAssignRoleOptions, BaseOrganizationMembership, BaseOrganizationMembershipResponse, BaseRemoveRoleOptions, ConfidentialClientOptions, ConflictException, Connection, ConnectionActivatedEvent, ConnectionActivatedEventResponse, ConnectionDeactivatedEvent, ConnectionDeactivatedEventResponse, ConnectionDeletedEvent, ConnectionDeletedEventResponse, ConnectionDomain, ConnectionResponse, ConnectionType, CreateAuditLogEventOptions, CreateAuditLogEventRequestOptions, CreateAuditLogSchemaOptions, CreateAuditLogSchemaRequestOptions, CreateAuditLogSchemaResponse, CreateAuthorizationResourceOptions, CreateEnvironmentRoleOptions, CreateMagicAuthOptions, CreateOptionsWithParentExternalId, CreateOptionsWithParentResourceId, CreateOrganizationDomainOptions, CreateOrganizationMembershipOptions, CreateOrganizationOptions, CreateOrganizationRequestOptions, CreateOrganizationRoleOptions, CreatePasswordResetOptions, CreatePasswordlessSessionOptions, CreatePermissionOptions, CreateUserOptions, DefaultCustomAttributes, DeleteAuthorizationResourceByExternalIdOptions, DeleteAuthorizationResourceOptions, Directory, DirectoryGroup, DirectoryGroupResponse, DirectoryResponse, DirectoryState, DirectoryStateResponse, DirectoryType, DirectoryUser, DirectoryUserResponse, DirectoryUserWithGroups, DirectoryUserWithGroupsResponse, DomainData, DomainDataState, DsyncActivatedEvent, DsyncActivatedEventResponse, DsyncDeletedEvent, DsyncDeletedEventResponse, DsyncGroupCreatedEvent, DsyncGroupCreatedEventResponse, DsyncGroupDeletedEvent, DsyncGroupDeletedEventResponse, DsyncGroupUpdatedEvent, DsyncGroupUpdatedEventResponse, DsyncGroupUserAddedEvent, DsyncGroupUserAddedEventResponse, DsyncGroupUserRemovedEvent, DsyncGroupUserRemovedEventResponse, DsyncUserCreatedEvent, DsyncUserCreatedEventResponse, DsyncUserDeletedEvent, DsyncUserDeletedEventResponse, DsyncUserUpdatedEvent, DsyncUserUpdatedEventResponse, EmailVerification, EmailVerificationCreatedEvent, EmailVerificationCreatedEventResponse, EmailVerificationEvent, EmailVerificationEventResponse, EmailVerificationResponse, EnrollAuthFactorOptions, EnvironmentRole, EnvironmentRoleList, EnvironmentRoleListResponse, EnvironmentRoleResponse, Event, EventBase, EventDirectory, EventDirectoryResponse, EventName, EventResponse, Factor, FactorResponse, FactorWithSecrets, FactorWithSecretsResponse, FlagCreatedEvent, FlagCreatedEventResponse, FlagDeletedEvent, FlagDeletedEventResponse, FlagRuleUpdatedEvent, FlagRuleUpdatedEventResponse, FlagUpdatedEvent, FlagUpdatedEventResponse, GenerateLink, GenerateLinkIntent, GenerateLinkResponse, GenericServerException, GetAuthorizationResourceByExternalIdOptions, GetOptions, GetProfileAndTokenOptions, GetProfileOptions, GroupCreatedEvent, GroupCreatedEventResponse, GroupDeletedEvent, GroupDeletedEventResponse, GroupMemberAddedEvent, GroupMemberAddedEventResponse, GroupMemberEventData, GroupMemberEventResponseData, GroupMemberRemovedEvent, GroupMemberRemovedEventResponse, GroupUpdatedEvent, GroupUpdatedEventResponse, HttpClientInterface, HttpClientResponseInterface, Identity, Impersonator, ImpersonatorResponse, IntentOptions, IntentOptionsResponse, Invitation, InvitationAcceptedEvent, InvitationAcceptedEventResponse, InvitationCreatedEvent, InvitationCreatedEventResponse, InvitationEvent, InvitationEventResponse, InvitationResentEvent, InvitationResentEventResponse, InvitationResponse, InvitationRevokedEvent, InvitationRevokedEventResponse, List, ListAuthFactorsOptions, ListAuthorizationResourcesOptions, ListConnectionsOptions, ListDirectoriesOptions, ListDirectoryGroupsOptions, ListDirectoryUsersOptions, ListEffectivePermissionsByExternalIdOptions, ListEffectivePermissionsOptions, ListEventOptions, ListGroupsForOrganizationMembershipOptions, ListInvitationsOptions, ListMembershipsForResourceByExternalIdOptions, ListMembershipsForResourceOptions, ListOrganizationFeatureFlagsOptions, ListOrganizationMembershipsOptions, ListOrganizationRolesResponse, ListOrganizationsOptions, ListPermissionsOptions, ListResourcesForMembershipOptions, ListResourcesForMembershipOptionsWithParentExternalId, ListResourcesForMembershipOptionsWithParentId, ListResponse, ListRoleAssignmentsForResourceByExternalIdOptions, ListRoleAssignmentsForResourceOptions, ListRoleAssignmentsOptions, ListSessionsOptions, ListUserFeatureFlagsOptions, ListUsersOptions, Locale, LogoutURLOptions, MagicAuth, MagicAuthCreatedEvent, MagicAuthCreatedEventResponse, MagicAuthEvent, MagicAuthEventResponse, MagicAuthResponse, NoApiKeyProvidedException, NotFoundException, OauthException, OauthTokens, OauthTokensResponse, Organization, OrganizationCreatedEvent, OrganizationCreatedResponse, OrganizationDeletedEvent, OrganizationDeletedResponse, OrganizationDomain, OrganizationDomainCreatedEvent, OrganizationDomainCreatedEventResponse, OrganizationDomainDeletedEvent, OrganizationDomainDeletedEventResponse, OrganizationDomainResponse, OrganizationDomainState, OrganizationDomainUpdatedEvent, OrganizationDomainUpdatedEventResponse, OrganizationDomainVerificationFailed, OrganizationDomainVerificationFailedEvent, OrganizationDomainVerificationFailedEventResponse, OrganizationDomainVerificationFailedResponse, OrganizationDomainVerificationStrategy, OrganizationDomainVerifiedEvent, OrganizationDomainVerifiedEventResponse, OrganizationMembership, OrganizationMembershipCreated, OrganizationMembershipCreatedResponse, OrganizationMembershipDeleted, OrganizationMembershipDeletedResponse, OrganizationMembershipResponse, OrganizationMembershipStatus, OrganizationMembershipUpdated, OrganizationMembershipUpdatedResponse, OrganizationResponse, OrganizationRole, OrganizationRoleCreatedEvent, OrganizationRoleCreatedEventResponse, OrganizationRoleDeletedEvent, OrganizationRoleDeletedEventResponse, OrganizationRoleEvent, OrganizationRoleEventResponse, OrganizationRoleResponse, OrganizationRoleUpdatedEvent, OrganizationRoleUpdatedEventResponse, OrganizationUpdatedEvent, OrganizationUpdatedResponse, PKCE, PKCEAuthorizationURLResult, PKCEPair, PaginationOptions, PasswordReset, PasswordResetCreatedEvent, PasswordResetCreatedEventResponse, PasswordResetEvent, PasswordResetEventResponse, PasswordResetResponse, PasswordResetSucceededEvent, PasswordResetSucceededEventResponse, PasswordlessSession, PasswordlessSessionResponse, PatchOptions, Permission, PermissionCreatedEvent, PermissionCreatedEventResponse, PermissionDeletedEvent, PermissionDeletedEventResponse, PermissionResponse, PermissionUpdatedEvent, PermissionUpdatedEventResponse, PortalLinkResponse, PortalLinkResponseWire, PostOptions, Profile, ProfileAndToken, ProfileAndTokenResponse, ProfileResponse, PublicClientOptions, PublicSSO, PublicUserManagement, PublicWorkOS, PutOptions, RateLimitExceededException, RefreshSessionFailureReason, RefreshSessionResponse, RemoveOrganizationRolePermissionOptions, RemoveRoleAssignmentOptions, RemoveRoleOptions, RemoveRoleOptionsWithResourceExternalId, RemoveRoleOptionsWithResourceId, RequestHeaders, RequestOptions, ResendInvitationOptions, ResetPasswordOptions, ResponseHeaderValue, ResponseHeaders, ResponsePayload, RevokeSessionOptions, Role, RoleAssignment, RoleAssignmentResource, RoleAssignmentResourceResponse, RoleAssignmentResponse, RoleAssignmentRole, RoleCreatedEvent, RoleCreatedEventResponse, RoleDeletedEvent, RoleDeletedEventResponse, RoleEvent, RoleEventResponse, RoleList, RoleResponse, RoleUpdatedEvent, RoleUpdatedEventResponse, SSOAuthorizationURLOptions, SSOIntentOptions, SSOIntentOptionsResponse, SSOPKCEAuthorizationURLResult, SendInvitationOptions, SendSessionResponse, SendVerificationEmailOptions, SerializedAssignRoleOptions, SerializedAuditLogExportOptions, SerializedAuthenticatePublicClientBase, SerializedAuthenticateWithCodeAndVerifierOptions, SerializedAuthenticateWithCodeOptions, SerializedAuthenticateWithEmailVerificationOptions, SerializedAuthenticateWithMagicAuthOptions, SerializedAuthenticateWithOptionsBase, SerializedAuthenticateWithOrganizationSelectionOptions, SerializedAuthenticateWithPasswordOptions, SerializedAuthenticateWithRefreshTokenOptions, SerializedAuthenticateWithRefreshTokenPublicClientOptions, SerializedAuthenticateWithTotpOptions, SerializedAuthorizationCheckOptions, SerializedCreateAuditLogEventOptions, SerializedCreateAuditLogSchemaOptions, SerializedCreateAuthorizationResourceOptions, SerializedCreateEnvironmentRoleOptions, SerializedCreateMagicAuthOptions, SerializedCreateOrganizationDomainOptions, SerializedCreateOrganizationMembershipOptions, SerializedCreateOrganizationOptions, SerializedCreateOrganizationRoleOptions, SerializedCreatePasswordResetOptions, SerializedCreatePasswordlessSessionOptions, SerializedCreatePermissionOptions, SerializedCreateUserOptions, SerializedEnrollUserInMfaFactorOptions, SerializedListAuthorizationResourcesOptions, SerializedListConnectionsOptions, SerializedListDirectoriesOptions, SerializedListEventOptions, SerializedListInvitationsOptions, SerializedListOrganizationMembershipsOptions, SerializedListResourcesForMembershipOptions, SerializedListRoleAssignmentsForResourceOptions, SerializedListRoleAssignmentsOptions, SerializedListSessionsOptions, SerializedListUsersOptions, SerializedRemoveRoleOptions, SerializedResendInvitationOptions, SerializedResetPasswordOptions, SerializedRevokeSessionOptions, SerializedSendInvitationOptions, SerializedUpdateAuthorizationResourceOptions, SerializedUpdateEnvironmentRoleOptions, SerializedUpdateOrganizationMembershipOptions, SerializedUpdateOrganizationOptions, SerializedUpdateOrganizationRoleOptions, SerializedUpdatePermissionOptions, SerializedUpdateUserOptions, SerializedUpdateUserPasswordOptions, SerializedVerifyEmailOptions, Session, SessionCookieData, SessionCreatedEvent, SessionCreatedEventResponse, SessionResponse, SessionRevokedEvent, SessionRevokedEventResponse, SessionStatus, SetEnvironmentRolePermissionsOptions, SetOrganizationRolePermissionsOptions, SignatureVerificationException, UnauthorizedException, UnknownEvent, UnprocessableEntityError, UnprocessableEntityException, UpdateAuthorizationResourceByExternalIdOptions, UpdateAuthorizationResourceOptions, UpdateEnvironmentRoleOptions, UpdateOrganizationMembershipOptions, UpdateOrganizationOptions, UpdateOrganizationRoleOptions, UpdatePermissionOptions, UpdateUserOptions, UpdateUserPasswordOptions, User, UserCreatedEvent, UserCreatedEventResponse, UserData, UserDataPayload, UserDeletedEvent, UserDeletedEventResponse, UserManagementAuthorizationURLOptions, UserRegistrationActionPayload, UserRegistrationActionResponseData, UserResponse, UserUpdatedEvent, UserUpdatedEventResponse, VaultByokKeyVerificationCompletedEvent, VaultByokKeyVerificationCompletedEventResponse, VaultDataCreatedEvent, VaultDataCreatedEventResponse, VaultDataDeletedEvent, VaultDataDeletedEventResponse, VaultDataReadEvent, VaultDataReadEventResponse, VaultDataUpdatedEvent, VaultDataUpdatedEventResponse, VaultDekDecryptedEvent, VaultDekDecryptedEventResponse, VaultDekReadEvent, VaultDekReadEventResponse, VaultKekCreatedEvent, VaultKekCreatedEventResponse, VaultMetadataReadEvent, VaultMetadataReadEventResponse, VaultNamesListedEvent, VaultNamesListedEventResponse, VerifyEmailOptions, WithResolvedClientId, WorkOSWorker as WorkOS, WorkOSErrorData, WorkOSOptions, WorkOSResponseError, createWorkOS, isAuthenticationErrorData, serializeRevokeSessionOptions };
1
+ import { $a as PermissionDeletedEvent, $c as UserManagementAuthorizationURLOptions, $d as ListDirectoryUsersOptions, $i as GroupDeletedEvent, $l as AuthenticateWithOptionsBase, $r as AuthenticationPasskeySucceededEvent, $s as ResendInvitationOptions, $u as RoleAssignmentResource, A as ApiKeyRequiredException, Aa as OrganizationDomainVerificationFailedEventResponse, Ac as SerializedListInvitationsOptions, Ad as UpdatePermissionOptions, Ai as DsyncGroupUserRemovedEventResponse, Al as ImpersonatorResponse, Ao as VaultDekDecryptedEvent, Ar as PatchOptions, As as OrganizationDomainVerificationStrategy, At as AuditLogExport, Au as RoleEvent, Ba as OrganizationRoleCreatedEventResponse, Bc as EmailVerification, Bd as CreateOrganizationRoleOptions, Bi as EventBase, Bl as AuthenticateWithOrganizationSelectionOptions, Br as AuthenticationEmailVerificationSucceededEventResponse, Bs as UpdateOrganizationMembershipOptions, Bu as RemoveRoleOptionsWithResourceId, C as BadRequestException, Ca as OrganizationDomainCreatedEvent, Cc as AuthorizationOrganizationMembershipResponse, Cd as CreateOptionsWithParentExternalId, Ci as DsyncGroupDeletedEvent, Cl as AuthenticationResponse, Co as VaultDataCreatedEventResponse, Cr as DomainData, Ct as CreateAuditLogEventRequestOptions, Cu as DirectoryUserWithGroups, D as isAuthenticationErrorData, Da as OrganizationDomainUpdatedEvent, Dc as OrganizationMembershipResponse, Dd as UpdateAuthorizationResourceOptions, Di as DsyncGroupUserAddedEvent, Dl as User, Do as VaultDataReadEventResponse, Dr as UnprocessableEntityError, Ds as OrganizationDomain, Dt as AuditLogSchemaMetadata, Du as OrganizationRoleEventResponse, E as AuthenticationException, Ea as OrganizationDomainDeletedEventResponse, Ec as OrganizationMembership, Ed as SerializedUpdateAuthorizationResourceOptions, Ei as DsyncGroupUpdatedEventResponse, El as CreateUserResponseResponse, Eo as VaultDataReadEvent, Er as WorkOSOptions, Es as OrganizationDomainVerificationFailedResponse, Et as AuditLogSchema, Eu as OrganizationRoleEvent, Fa as OrganizationMembershipDeleted, Fc as InvitationEventResponse, Fd as RemoveOrganizationRolePermissionOptions, Fi as DsyncUserUpdatedEvent, Fl as SerializedAuthenticateWithRefreshTokenOptions, Fo as VaultKekCreatedEventResponse, Fr as ApiKeyCreatedEvent, Fs as SerializedUpdateUserPasswordOptions, Fu as ListEffectivePermissionsOptions, Ga as OrganizationUpdatedEvent, Gc as SerializedCreateUserOptions, Gd as SerializedUpdateEnvironmentRoleOptions, Gi as FlagDeletedEvent, Gl as AuthenticateUserWithEmailVerificationCredentials, Gr as AuthenticationMfaSucceededEvent, Gs as SendVerificationEmailOptions, Gu as BaseAssignRoleOptions, Ha as OrganizationRoleDeletedEventResponse, Hc as EmailVerificationEventResponse, Hd as OrganizationRole, Hi as EventResponse, Hl as AuthenticateUserWithMagicAuthCredentials, Hr as AuthenticationMagicAuthFailedEventResponse, Hs as Session, Hu as AssignRoleOptions, Ia as OrganizationMembershipDeletedResponse, Ic as InvitationResponse, Id as AddOrganizationRolePermissionOptions, Ii as DsyncUserUpdatedEventResponse, Il as AuthenticateUserWithPasswordCredentials, Io as VaultMetadataReadEvent, Ir as ApiKeyCreatedEventResponse, Is as UpdateUserPasswordOptions, Iu as RemoveRoleAssignmentOptions, Ja as PasswordResetCreatedEventResponse, Jc as CreateOrganizationMembershipOptions, Jd as SerializedCreateEnvironmentRoleOptions, Ji as FlagRuleUpdatedEventResponse, Jl as AuthenticateWithCodeAndVerifierOptions, Jr as AuthenticationOAuthFailedEventResponse, Js as RevokeSessionOptions, Ju as ListRoleAssignmentsForResourceOptions, Ka as OrganizationUpdatedResponse, Kc as CreatePasswordResetOptions, Kd as UpdateEnvironmentRoleOptions, Ki as FlagDeletedEventResponse, Kl as AuthenticateWithEmailVerificationOptions, Kr as AuthenticationMfaSucceededEventResponse, Ks as SendInvitationOptions, Ku as SerializedAssignRoleOptions, La as OrganizationMembershipUpdated, Lc as Identity, Ld as SetOrganizationRolePermissionsOptions, Li as EmailVerificationCreatedEvent, Ll as AuthenticateWithPasswordOptions, Lo as VaultMetadataReadEventResponse, Lr as ApiKeyRevokedEvent, Ls as SerializedUpdateUserOptions, Lu as BaseRemoveRoleOptions, Ma as OrganizationDomainVerifiedEventResponse, Mc as ListAuthFactorsOptions, Md as SerializedCreatePermissionOptions, Mi as DsyncUserCreatedEventResponse, Ml as SerializedAuthenticateWithRefreshTokenPublicClientOptions, Mo as VaultDekReadEvent, Mr as ListResponse, Ms as SerializedCreateOrganizationDomainOptions, Mt as AuditLogExportOptions, Mu as RoleList, Na as OrganizationMembershipCreated, Nc as Invitation, Nd as Permission, Ni as DsyncUserDeletedEvent, Nl as AuthenticateUserWithRefreshTokenCredentials, No as VaultDekReadEventResponse, Nr as GetOptions, Ns as SerializedVerifyEmailOptions, Nt as SerializedAuditLogExportOptions, Nu as RoleResponse, O as GenericServerException, Oa as OrganizationDomainUpdatedEventResponse, Oc as OrganizationMembershipStatus, Od as ListPermissionsOptions, Oi as DsyncGroupUserAddedEventResponse, Ol as UserResponse, Oo as VaultDataUpdatedEvent, Or as PutOptions, Os as OrganizationDomainResponse, Ot as AuditLogSchemaResponse, Ou as OrganizationRoleResponse, Pa as OrganizationMembershipCreatedResponse, Pc as InvitationEvent, Pd as PermissionResponse, Pi as DsyncUserDeletedEventResponse, Pl as AuthenticateWithRefreshTokenOptions, Po as VaultKekCreatedEvent, Pr as GenerateLinkIntent, Ps as VerifyEmailOptions, Pu as ListEffectivePermissionsByExternalIdOptions, Qa as PermissionCreatedEventResponse, Qc as PKCEAuthorizationURLResult, Qd as EnvironmentRoleResponse, Qi as GroupCreatedEventResponse, Ql as SerializedAuthenticateWithCodeOptions, Qr as AuthenticationPasskeyFailedEventResponse, Qs as SerializedResetPasswordOptions, Qu as RoleAssignment, R as WorkOS, Ra as OrganizationMembershipUpdatedResponse, Rc as EnrollAuthFactorOptions, Rd as SerializedUpdateOrganizationRoleOptions, Ri as EmailVerificationCreatedEventResponse, Rl as SerializedAuthenticateWithPasswordOptions, Ro as VaultNamesListedEvent, Rr as ApiKeyRevokedEventResponse, Rs as UpdateUserOptions, Ru as RemoveRoleOptions, S as ConflictException, Sa as OrganizationDeletedResponse, Sc as AuthorizationOrganizationMembership, Sd as CreateAuthorizationResourceOptions, Si as DsyncGroupCreatedEventResponse, Sl as UserManagementAccessToken, So as VaultDataCreatedEvent, Sr as SerializedCreateOrganizationOptions, St as CreateAuditLogEventOptions, Su as DirectoryUserResponse, T as AuthenticationErrorData, Ta as OrganizationDomainDeletedEvent, Tc as BaseOrganizationMembershipResponse, Td as SerializedCreateAuthorizationResourceOptions, Ti as DsyncGroupUpdatedEvent, Tl as CreateUserResponse, To as VaultDataDeletedEventResponse, Tr as WorkOSResponseError, Ts as OrganizationDomainVerificationFailed, Tt as AuditLogActorSchema, Tu as ListOrganizationRolesResponse, Ua as OrganizationRoleUpdatedEvent, Uc as EmailVerificationResponse, Ud as AddEnvironmentRolePermissionOptions, Ui as FlagCreatedEvent, Ul as AuthenticateWithMagicAuthOptions, Ur as AuthenticationMagicAuthSucceededEvent, Us as SessionResponse, Uu as AssignRoleOptionsWithResourceExternalId, Va as OrganizationRoleDeletedEvent, Vc as EmailVerificationEvent, Vd as SerializedCreateOrganizationRoleOptions, Vi as EventName, Vl as SerializedAuthenticateWithOrganizationSelectionOptions, Vr as AuthenticationMagicAuthFailedEvent, Vs as AuthMethod, Vu as SerializedRemoveRoleOptions, Wa as OrganizationRoleUpdatedEventResponse, Wc as CreateUserOptions, Wd as SetEnvironmentRolePermissionsOptions, Wi as FlagCreatedEventResponse, Wl as SerializedAuthenticateWithMagicAuthOptions, Wr as AuthenticationMagicAuthSucceededEventResponse, Ws as SessionStatus, Wu as AssignRoleOptionsWithResourceId, Xa as PasswordResetSucceededEventResponse, Xc as CreateMagicAuthOptions, Xd as EnvironmentRoleList, Xi as FlagUpdatedEventResponse, Xl as AuthenticateUserWithCodeCredentials, Xr as AuthenticationOAuthSucceededEventResponse, Xs as serializeRevokeSessionOptions, Xu as ListRoleAssignmentsOptions, Ya as PasswordResetSucceededEvent, Yc as SerializedCreateOrganizationMembershipOptions, Yd as EnvironmentRole, Yi as FlagUpdatedEvent, Yl as SerializedAuthenticateWithCodeAndVerifierOptions, Yr as AuthenticationOAuthSucceededEvent, Ys as SerializedRevokeSessionOptions, Yu as SerializedListRoleAssignmentsForResourceOptions, Za as PermissionCreatedEvent, Zc as SerializedCreateMagicAuthOptions, Zd as EnvironmentRoleListResponse, Zi as GroupCreatedEvent, Zl as AuthenticateWithCodeOptions, Zr as AuthenticationPasskeyFailedEvent, Zs as ResetPasswordOptions, Zu as SerializedListRoleAssignmentsOptions, _ as SignatureVerificationException, _a as MagicAuthCreatedEvent, _c as ListUserFeatureFlagsOptions, _d as GetAuthorizationResourceByExternalIdOptions, _f as RequestOptions, _i as DsyncActivatedEvent, _l as AuthenticateWithSessionCookieFailedResponse, _n as PasswordlessSession, _o as UserDeletedEventResponse, _r as OrganizationResponse, _t as CreateAuditLogSchemaRequestOptions, _u as ConnectionType, a as PublicWorkOS, aa as GroupMemberRemovedEvent, ac as PasswordResetEventResponse, ad as ListResourcesForMembershipOptions, af as DirectoryGroupResponse, ai as AuthenticationRadarRiskDetectedEvent, al as AuthenticationFactorWithSecretsResponse, ao as RoleDeletedEvent, ar as Actions, au as ProfileAndTokenResponse, b as NotFoundException, ba as OrganizationCreatedResponse, bc as ListOrganizationMembershipsOptions, bd as AuthorizationResource, bf as CryptoProvider, bi as DsyncDeletedEventResponse, bl as AuthenticateWithSessionCookieSuccessResponse, bn as SerializedListEventOptions, bo as VaultByokKeyVerificationCompletedEvent, br as CreateOrganizationOptions, bt as AuditLogActor, bu as DefaultCustomAttributes, c as PortalLinkResponseWire, ca as GroupUpdatedEventResponse, cc as CreateMagicAuthResponseResponse, cd as SerializedListResourcesForMembershipOptions, cf as DirectoryState, ci as AuthenticationSSOFailedEventResponse, co as RoleUpdatedEventResponse, cr as UserRegistrationActionResponseData, cu as OauthTokens, d as IntentOptions, da as InvitationCreatedEvent, dc as MagicAuthEventResponse, dd as AuthorizationCheckOptionsWithResourceId, df as EventDirectory, di as ConnectionActivatedEvent, dl as AuthenticationEventResponse, do as SessionRevokedEvent, dr as UserData, du as SerializedListConnectionsOptions, ea as GroupDeletedEventResponse, ec as SerializedResendInvitationOptions, ed as RoleAssignmentResourceResponse, ef as ListDirectoryGroupsOptions, ei as AuthenticationPasskeySucceededEventResponse, el as AuthenticationRadarRiskDetectedEventData, eo as PermissionDeletedEventResponse, eu as AuthenticateWithSessionOptions, f as IntentOptionsResponse, fa as InvitationCreatedEventResponse, fc as MagicAuthResponse, fd as AuthorizationCheckResult, ff as EventDirectoryResponse, fi as ConnectionActivatedEventResponse, fl as AuthenticationEventSso, fo as SessionRevokedEventResponse, fr as UserDataPayload, fu as GetProfileAndTokenOptions, g as UnauthorizedException, ga as InvitationRevokedEventResponse, gc as SerializedListUsersOptions, gd as UpdateAuthorizationResourceByExternalIdOptions, gf as RequestHeaders, gi as ConnectionDeletedEventResponse, gl as SerializedAuthenticateWithTotpOptions, gn as SerializedCreatePasswordlessSessionOptions, go as UserDeletedEvent, gr as Organization, gt as CreateAuditLogSchemaOptions, gu as ConnectionResponse, h as UnprocessableEntityException, ha as InvitationRevokedEvent, hc as ListUsersOptions, hd as DeleteAuthorizationResourceByExternalIdOptions, hf as HttpClientResponseInterface, hi as ConnectionDeletedEvent, hl as AuthenticateWithTotpOptions, hn as CreatePasswordlessSessionOptions, ho as UserCreatedEventResponse, hr as UpdateOrganizationOptions, hu as ConnectionDomain, i as PublicUserManagement, ia as GroupMemberEventResponseData, ic as PasswordResetEvent, id as ListMembershipsForResourceOptions, if as DirectoryGroup, ii as AuthenticationPasswordSucceededEventResponse, il as AuthenticationFactorWithSecrets, io as RoleCreatedEventResponse, ir as PKCEPair, iu as ProfileAndToken, j as Webhooks, ja as OrganizationDomainVerifiedEvent, jc as ListGroupsForOrganizationMembershipOptions, jd as CreatePermissionOptions, ji as DsyncUserCreatedEvent, jl as AuthenticateWithRefreshTokenPublicClientOptions, jo as VaultDekDecryptedEventResponse, jr as List, js as CreateOrganizationDomainOptions, jt as AuditLogExportResponse, ju as RoleEventResponse, k as WorkOSErrorData, ka as OrganizationDomainVerificationFailedEvent, kc as ListInvitationsOptions, kd as SerializedUpdatePermissionOptions, ki as DsyncGroupUserRemovedEvent, kl as Impersonator, ko as VaultDataUpdatedEventResponse, kr as PostOptions, ks as OrganizationDomainState, kt as AuditLogTargetSchema, ku as Role, l as GenerateLink, la as InvitationAcceptedEvent, lc as MagicAuth, ld as AuthorizationCheckOptions, lf as DirectoryStateResponse, li as AuthenticationSSOSucceededEvent, lo as SessionCreatedEvent, lr as ActionContext, lu as OauthTokensResponse, m as SSOIntentOptionsResponse, ma as InvitationResentEventResponse, mc as Locale, md as DeleteAuthorizationResourceOptions, mf as HttpClientInterface, mi as ConnectionDeactivatedEventResponse, ml as AuthenticateUserWithTotpCredentials, mn as SendSessionResponse, mo as UserCreatedEvent, mr as SerializedUpdateOrganizationOptions, mu as Connection, n as PublicClientOptions, na as GroupMemberAddedEventResponse, nc as RefreshSessionResponse, nd as RoleAssignmentRole, nf as SerializedListDirectoriesOptions, ni as AuthenticationPasswordFailedEventResponse, nl as AuthenticationFactor, no as PermissionUpdatedEventResponse, nr as AutoPaginatable, nu as SerializedAuthenticateWithOptionsBase, o as createWorkOS, oa as GroupMemberRemovedEventResponse, oc as PasswordResetResponse, od as ListResourcesForMembershipOptionsWithParentExternalId, of as Directory, oi as AuthenticationRadarRiskDetectedEventResponse, oo as RoleDeletedEventResponse, or as AuthenticationActionResponseData, ou as Profile, p as SSOIntentOptions, pa as InvitationResentEvent, pc as LogoutURLOptions, pd as SerializedAuthorizationCheckOptions, pf as HttpClient, pi as ConnectionDeactivatedEvent, pl as AuthenticationEventSsoResponse, po as UnknownEvent, pr as UserRegistrationActionPayload, pu as GetProfileOptions, qa as PasswordResetCreatedEvent, qc as SerializedCreatePasswordResetOptions, qd as CreateEnvironmentRoleOptions, qi as FlagRuleUpdatedEvent, ql as SerializedAuthenticateWithEmailVerificationOptions, qr as AuthenticationOAuthFailedEvent, qs as SerializedSendInvitationOptions, qu as ListRoleAssignmentsForResourceByExternalIdOptions, r as PublicSSO, ra as GroupMemberEventData, rc as PasswordReset, rd as ListMembershipsForResourceByExternalIdOptions, rf as PaginationOptions, ri as AuthenticationPasswordSucceededEvent, rl as AuthenticationFactorResponse, ro as RoleCreatedEvent, rr as PKCE, ru as WithResolvedClientId, s as PortalLinkResponse, sa as GroupUpdatedEvent, sc as CreateMagicAuthResponse, sd as ListResourcesForMembershipOptionsWithParentId, sf as DirectoryResponse, si as AuthenticationSSOFailedEvent, so as RoleUpdatedEvent, sr as ResponsePayload, su as ProfileResponse, t as ConfidentialClientOptions, ta as GroupMemberAddedEvent, tc as RefreshSessionFailureReason, td as RoleAssignmentResponse, tf as ListDirectoriesOptions, ti as AuthenticationPasswordFailedEvent, tl as AuthenticationRadarRiskDetectedEventResponseData, to as PermissionUpdatedEvent, tu as SerializedAuthenticatePublicClientBase, u as GenerateLinkResponse, ua as InvitationAcceptedEventResponse, uc as MagicAuthEvent, ud as AuthorizationCheckOptionsWithResourceExternalId, uf as DirectoryType, ui as AuthenticationSSOSucceededEventResponse, ul as AuthenticationEvent, uo as SessionCreatedEventResponse, ur as ActionPayload, uu as ListConnectionsOptions, v as RateLimitExceededException, va as MagicAuthCreatedEventResponse, vc as ListSessionsOptions, vd as ListAuthorizationResourcesOptions, vf as ResponseHeaderValue, vi as DsyncActivatedEventResponse, vl as AuthenticateWithSessionCookieFailureReason, vn as PasswordlessSessionResponse, vo as UserUpdatedEvent, vr as ListOrganizationsOptions, vt as CreateAuditLogSchemaResponse, vu as SSOAuthorizationURLOptions, w as AuthenticationErrorCode, wa as OrganizationDomainCreatedEventResponse, wc as BaseOrganizationMembership, wd as CreateOptionsWithParentResourceId, wi as DsyncGroupDeletedEventResponse, wl as AuthenticationResponseResponse, wo as VaultDataDeletedEvent, wr as DomainDataState, wt as SerializedCreateAuditLogEventOptions, wu as DirectoryUserWithGroupsResponse, x as NoApiKeyProvidedException, xa as OrganizationDeletedEvent, xc as SerializedListOrganizationMembershipsOptions, xd as AuthorizationResourceResponse, xi as DsyncGroupCreatedEvent, xl as SessionCookieData, xo as VaultByokKeyVerificationCompletedEventResponse, xr as CreateOrganizationRequestOptions, xt as AuditLogTarget, xu as DirectoryUser, y as OauthException, ya as OrganizationCreatedEvent, yc as SerializedListSessionsOptions, yd as SerializedListAuthorizationResourcesOptions, yf as ResponseHeaders, yi as DsyncDeletedEvent, yl as AuthenticateWithSessionCookieOptions, yn as ListEventOptions, yo as UserUpdatedEventResponse, yr as ListOrganizationFeatureFlagsOptions, yt as SerializedCreateAuditLogSchemaOptions, yu as SSOPKCEAuthorizationURLResult, za as OrganizationRoleCreatedEvent, zc as SerializedEnrollUserInMfaFactorOptions, zd as UpdateOrganizationRoleOptions, zi as Event, zl as AuthenticateUserWithOrganizationSelectionCredentials, zo as VaultNamesListedEventResponse, zr as AuthenticationEmailVerificationSucceededEvent, zs as SerializedUpdateOrganizationMembershipOptions, zu as RemoveRoleOptionsWithResourceExternalId } from "./factory-BNdbGia2.mjs";
2
+
3
+ //#region src/index.worker.d.ts
4
+ declare class WorkOSWorker extends WorkOS {
5
+ /** @override */
6
+ createHttpClient(options: WorkOSOptions, userAgent: string): HttpClient;
7
+ /** @override */
8
+ createWebhookClient(): Webhooks;
9
+ getCryptoProvider(): CryptoProvider;
10
+ /** @override */
11
+ createActionsClient(): Actions;
12
+ /** @override */
13
+ emitWarning(warning: string): void;
14
+ }
15
+ //#endregion
16
+ export { ActionContext, ActionPayload, AddEnvironmentRolePermissionOptions, AddOrganizationRolePermissionOptions, ApiKeyCreatedEvent, ApiKeyCreatedEventResponse, ApiKeyRequiredException, ApiKeyRevokedEvent, ApiKeyRevokedEventResponse, AssignRoleOptions, AssignRoleOptionsWithResourceExternalId, AssignRoleOptionsWithResourceId, AuditLogActor, AuditLogActorSchema, AuditLogExport, AuditLogExportOptions, AuditLogExportResponse, AuditLogSchema, AuditLogSchemaMetadata, AuditLogSchemaResponse, AuditLogTarget, AuditLogTargetSchema, AuthMethod, AuthenticateUserWithCodeCredentials, AuthenticateUserWithEmailVerificationCredentials, AuthenticateUserWithMagicAuthCredentials, AuthenticateUserWithOrganizationSelectionCredentials, AuthenticateUserWithPasswordCredentials, AuthenticateUserWithRefreshTokenCredentials, AuthenticateUserWithTotpCredentials, AuthenticateWithCodeAndVerifierOptions, AuthenticateWithCodeOptions, AuthenticateWithEmailVerificationOptions, AuthenticateWithMagicAuthOptions, AuthenticateWithOptionsBase, AuthenticateWithOrganizationSelectionOptions, AuthenticateWithPasswordOptions, AuthenticateWithRefreshTokenOptions, AuthenticateWithRefreshTokenPublicClientOptions, AuthenticateWithSessionCookieFailedResponse, AuthenticateWithSessionCookieFailureReason, AuthenticateWithSessionCookieOptions, AuthenticateWithSessionCookieSuccessResponse, AuthenticateWithSessionOptions, AuthenticateWithTotpOptions, AuthenticationActionResponseData, AuthenticationEmailVerificationSucceededEvent, AuthenticationEmailVerificationSucceededEventResponse, AuthenticationErrorCode, AuthenticationErrorData, AuthenticationEvent, AuthenticationEventResponse, AuthenticationEventSso, AuthenticationEventSsoResponse, AuthenticationException, AuthenticationFactor, AuthenticationFactorResponse, AuthenticationFactorWithSecrets, AuthenticationFactorWithSecretsResponse, AuthenticationMagicAuthFailedEvent, AuthenticationMagicAuthFailedEventResponse, AuthenticationMagicAuthSucceededEvent, AuthenticationMagicAuthSucceededEventResponse, AuthenticationMfaSucceededEvent, AuthenticationMfaSucceededEventResponse, AuthenticationOAuthFailedEvent, AuthenticationOAuthFailedEventResponse, AuthenticationOAuthSucceededEvent, AuthenticationOAuthSucceededEventResponse, AuthenticationPasskeyFailedEvent, AuthenticationPasskeyFailedEventResponse, AuthenticationPasskeySucceededEvent, AuthenticationPasskeySucceededEventResponse, AuthenticationPasswordFailedEvent, AuthenticationPasswordFailedEventResponse, AuthenticationPasswordSucceededEvent, AuthenticationPasswordSucceededEventResponse, AuthenticationRadarRiskDetectedEvent, AuthenticationRadarRiskDetectedEventData, AuthenticationRadarRiskDetectedEventResponse, AuthenticationRadarRiskDetectedEventResponseData, AuthenticationResponse, AuthenticationResponseResponse, AuthenticationSSOFailedEvent, AuthenticationSSOFailedEventResponse, AuthenticationSSOSucceededEvent, AuthenticationSSOSucceededEventResponse, AuthorizationCheckOptions, AuthorizationCheckOptionsWithResourceExternalId, AuthorizationCheckOptionsWithResourceId, AuthorizationCheckResult, AuthorizationOrganizationMembership, AuthorizationOrganizationMembershipResponse, AuthorizationResource, AuthorizationResourceResponse, AutoPaginatable, BadRequestException, BaseAssignRoleOptions, BaseOrganizationMembership, BaseOrganizationMembershipResponse, BaseRemoveRoleOptions, type ConfidentialClientOptions, ConflictException, Connection, ConnectionActivatedEvent, ConnectionActivatedEventResponse, ConnectionDeactivatedEvent, ConnectionDeactivatedEventResponse, ConnectionDeletedEvent, ConnectionDeletedEventResponse, ConnectionDomain, ConnectionResponse, ConnectionType, CreateAuditLogEventOptions, CreateAuditLogEventRequestOptions, CreateAuditLogSchemaOptions, CreateAuditLogSchemaRequestOptions, CreateAuditLogSchemaResponse, CreateAuthorizationResourceOptions, CreateEnvironmentRoleOptions, CreateMagicAuthOptions, CreateMagicAuthResponse, CreateMagicAuthResponseResponse, CreateOptionsWithParentExternalId, CreateOptionsWithParentResourceId, CreateOrganizationDomainOptions, CreateOrganizationMembershipOptions, CreateOrganizationOptions, CreateOrganizationRequestOptions, CreateOrganizationRoleOptions, CreatePasswordResetOptions, CreatePasswordlessSessionOptions, CreatePermissionOptions, CreateUserOptions, CreateUserResponse, CreateUserResponseResponse, DefaultCustomAttributes, DeleteAuthorizationResourceByExternalIdOptions, DeleteAuthorizationResourceOptions, Directory, DirectoryGroup, DirectoryGroupResponse, DirectoryResponse, DirectoryState, DirectoryStateResponse, DirectoryType, DirectoryUser, DirectoryUserResponse, DirectoryUserWithGroups, DirectoryUserWithGroupsResponse, DomainData, DomainDataState, DsyncActivatedEvent, DsyncActivatedEventResponse, DsyncDeletedEvent, DsyncDeletedEventResponse, DsyncGroupCreatedEvent, DsyncGroupCreatedEventResponse, DsyncGroupDeletedEvent, DsyncGroupDeletedEventResponse, DsyncGroupUpdatedEvent, DsyncGroupUpdatedEventResponse, DsyncGroupUserAddedEvent, DsyncGroupUserAddedEventResponse, DsyncGroupUserRemovedEvent, DsyncGroupUserRemovedEventResponse, DsyncUserCreatedEvent, DsyncUserCreatedEventResponse, DsyncUserDeletedEvent, DsyncUserDeletedEventResponse, DsyncUserUpdatedEvent, DsyncUserUpdatedEventResponse, EmailVerification, EmailVerificationCreatedEvent, EmailVerificationCreatedEventResponse, EmailVerificationEvent, EmailVerificationEventResponse, EmailVerificationResponse, EnrollAuthFactorOptions, EnvironmentRole, EnvironmentRoleList, EnvironmentRoleListResponse, EnvironmentRoleResponse, Event, EventBase, EventDirectory, EventDirectoryResponse, EventName, EventResponse, FlagCreatedEvent, FlagCreatedEventResponse, FlagDeletedEvent, FlagDeletedEventResponse, FlagRuleUpdatedEvent, FlagRuleUpdatedEventResponse, FlagUpdatedEvent, FlagUpdatedEventResponse, GenerateLink, GenerateLinkIntent, GenerateLinkResponse, GenericServerException, GetAuthorizationResourceByExternalIdOptions, GetOptions, GetProfileAndTokenOptions, GetProfileOptions, GroupCreatedEvent, GroupCreatedEventResponse, GroupDeletedEvent, GroupDeletedEventResponse, GroupMemberAddedEvent, GroupMemberAddedEventResponse, GroupMemberEventData, GroupMemberEventResponseData, GroupMemberRemovedEvent, GroupMemberRemovedEventResponse, GroupUpdatedEvent, GroupUpdatedEventResponse, HttpClientInterface, HttpClientResponseInterface, Identity, Impersonator, ImpersonatorResponse, IntentOptions, IntentOptionsResponse, Invitation, InvitationAcceptedEvent, InvitationAcceptedEventResponse, InvitationCreatedEvent, InvitationCreatedEventResponse, InvitationEvent, InvitationEventResponse, InvitationResentEvent, InvitationResentEventResponse, InvitationResponse, InvitationRevokedEvent, InvitationRevokedEventResponse, List, ListAuthFactorsOptions, ListAuthorizationResourcesOptions, ListConnectionsOptions, ListDirectoriesOptions, ListDirectoryGroupsOptions, ListDirectoryUsersOptions, ListEffectivePermissionsByExternalIdOptions, ListEffectivePermissionsOptions, ListEventOptions, ListGroupsForOrganizationMembershipOptions, ListInvitationsOptions, ListMembershipsForResourceByExternalIdOptions, ListMembershipsForResourceOptions, ListOrganizationFeatureFlagsOptions, ListOrganizationMembershipsOptions, ListOrganizationRolesResponse, ListOrganizationsOptions, ListPermissionsOptions, ListResourcesForMembershipOptions, ListResourcesForMembershipOptionsWithParentExternalId, ListResourcesForMembershipOptionsWithParentId, ListResponse, ListRoleAssignmentsForResourceByExternalIdOptions, ListRoleAssignmentsForResourceOptions, ListRoleAssignmentsOptions, ListSessionsOptions, ListUserFeatureFlagsOptions, ListUsersOptions, Locale, LogoutURLOptions, MagicAuth, MagicAuthCreatedEvent, MagicAuthCreatedEventResponse, MagicAuthEvent, MagicAuthEventResponse, MagicAuthResponse, NoApiKeyProvidedException, NotFoundException, OauthException, OauthTokens, OauthTokensResponse, Organization, OrganizationCreatedEvent, OrganizationCreatedResponse, OrganizationDeletedEvent, OrganizationDeletedResponse, OrganizationDomain, OrganizationDomainCreatedEvent, OrganizationDomainCreatedEventResponse, OrganizationDomainDeletedEvent, OrganizationDomainDeletedEventResponse, OrganizationDomainResponse, OrganizationDomainState, OrganizationDomainUpdatedEvent, OrganizationDomainUpdatedEventResponse, OrganizationDomainVerificationFailed, OrganizationDomainVerificationFailedEvent, OrganizationDomainVerificationFailedEventResponse, OrganizationDomainVerificationFailedResponse, OrganizationDomainVerificationStrategy, OrganizationDomainVerifiedEvent, OrganizationDomainVerifiedEventResponse, OrganizationMembership, OrganizationMembershipCreated, OrganizationMembershipCreatedResponse, OrganizationMembershipDeleted, OrganizationMembershipDeletedResponse, OrganizationMembershipResponse, OrganizationMembershipStatus, OrganizationMembershipUpdated, OrganizationMembershipUpdatedResponse, OrganizationResponse, OrganizationRole, OrganizationRoleCreatedEvent, OrganizationRoleCreatedEventResponse, OrganizationRoleDeletedEvent, OrganizationRoleDeletedEventResponse, OrganizationRoleEvent, OrganizationRoleEventResponse, OrganizationRoleResponse, OrganizationRoleUpdatedEvent, OrganizationRoleUpdatedEventResponse, OrganizationUpdatedEvent, OrganizationUpdatedResponse, PKCE, PKCEAuthorizationURLResult, PKCEPair, PaginationOptions, PasswordReset, PasswordResetCreatedEvent, PasswordResetCreatedEventResponse, PasswordResetEvent, PasswordResetEventResponse, PasswordResetResponse, PasswordResetSucceededEvent, PasswordResetSucceededEventResponse, PasswordlessSession, PasswordlessSessionResponse, PatchOptions, Permission, PermissionCreatedEvent, PermissionCreatedEventResponse, PermissionDeletedEvent, PermissionDeletedEventResponse, PermissionResponse, PermissionUpdatedEvent, PermissionUpdatedEventResponse, PortalLinkResponse, PortalLinkResponseWire, PostOptions, Profile, ProfileAndToken, ProfileAndTokenResponse, ProfileResponse, type PublicClientOptions, type PublicSSO, type PublicUserManagement, type PublicWorkOS, PutOptions, RateLimitExceededException, RefreshSessionFailureReason, RefreshSessionResponse, RemoveOrganizationRolePermissionOptions, RemoveRoleAssignmentOptions, RemoveRoleOptions, RemoveRoleOptionsWithResourceExternalId, RemoveRoleOptionsWithResourceId, RequestHeaders, RequestOptions, ResendInvitationOptions, ResetPasswordOptions, ResponseHeaderValue, ResponseHeaders, ResponsePayload, RevokeSessionOptions, Role, RoleAssignment, RoleAssignmentResource, RoleAssignmentResourceResponse, RoleAssignmentResponse, RoleAssignmentRole, RoleCreatedEvent, RoleCreatedEventResponse, RoleDeletedEvent, RoleDeletedEventResponse, RoleEvent, RoleEventResponse, RoleList, RoleResponse, RoleUpdatedEvent, RoleUpdatedEventResponse, SSOAuthorizationURLOptions, SSOIntentOptions, SSOIntentOptionsResponse, SSOPKCEAuthorizationURLResult, SendInvitationOptions, SendSessionResponse, SendVerificationEmailOptions, SerializedAssignRoleOptions, SerializedAuditLogExportOptions, SerializedAuthenticatePublicClientBase, SerializedAuthenticateWithCodeAndVerifierOptions, SerializedAuthenticateWithCodeOptions, SerializedAuthenticateWithEmailVerificationOptions, SerializedAuthenticateWithMagicAuthOptions, SerializedAuthenticateWithOptionsBase, SerializedAuthenticateWithOrganizationSelectionOptions, SerializedAuthenticateWithPasswordOptions, SerializedAuthenticateWithRefreshTokenOptions, SerializedAuthenticateWithRefreshTokenPublicClientOptions, SerializedAuthenticateWithTotpOptions, SerializedAuthorizationCheckOptions, SerializedCreateAuditLogEventOptions, SerializedCreateAuditLogSchemaOptions, SerializedCreateAuthorizationResourceOptions, SerializedCreateEnvironmentRoleOptions, SerializedCreateMagicAuthOptions, SerializedCreateOrganizationDomainOptions, SerializedCreateOrganizationMembershipOptions, SerializedCreateOrganizationOptions, SerializedCreateOrganizationRoleOptions, SerializedCreatePasswordResetOptions, SerializedCreatePasswordlessSessionOptions, SerializedCreatePermissionOptions, SerializedCreateUserOptions, SerializedEnrollUserInMfaFactorOptions, SerializedListAuthorizationResourcesOptions, SerializedListConnectionsOptions, SerializedListDirectoriesOptions, SerializedListEventOptions, SerializedListInvitationsOptions, SerializedListOrganizationMembershipsOptions, SerializedListResourcesForMembershipOptions, SerializedListRoleAssignmentsForResourceOptions, SerializedListRoleAssignmentsOptions, SerializedListSessionsOptions, SerializedListUsersOptions, SerializedRemoveRoleOptions, SerializedResendInvitationOptions, SerializedResetPasswordOptions, SerializedRevokeSessionOptions, SerializedSendInvitationOptions, SerializedUpdateAuthorizationResourceOptions, SerializedUpdateEnvironmentRoleOptions, SerializedUpdateOrganizationMembershipOptions, SerializedUpdateOrganizationOptions, SerializedUpdateOrganizationRoleOptions, SerializedUpdatePermissionOptions, SerializedUpdateUserOptions, SerializedUpdateUserPasswordOptions, SerializedVerifyEmailOptions, Session, SessionCookieData, SessionCreatedEvent, SessionCreatedEventResponse, SessionResponse, SessionRevokedEvent, SessionRevokedEventResponse, SessionStatus, SetEnvironmentRolePermissionsOptions, SetOrganizationRolePermissionsOptions, SignatureVerificationException, UnauthorizedException, UnknownEvent, UnprocessableEntityError, UnprocessableEntityException, UpdateAuthorizationResourceByExternalIdOptions, UpdateAuthorizationResourceOptions, UpdateEnvironmentRoleOptions, UpdateOrganizationMembershipOptions, UpdateOrganizationOptions, UpdateOrganizationRoleOptions, UpdatePermissionOptions, UpdateUserOptions, UpdateUserPasswordOptions, User, UserCreatedEvent, UserCreatedEventResponse, UserData, UserDataPayload, UserDeletedEvent, UserDeletedEventResponse, UserManagementAccessToken, UserManagementAuthorizationURLOptions, UserRegistrationActionPayload, UserRegistrationActionResponseData, UserResponse, UserUpdatedEvent, UserUpdatedEventResponse, VaultByokKeyVerificationCompletedEvent, VaultByokKeyVerificationCompletedEventResponse, VaultDataCreatedEvent, VaultDataCreatedEventResponse, VaultDataDeletedEvent, VaultDataDeletedEventResponse, VaultDataReadEvent, VaultDataReadEventResponse, VaultDataUpdatedEvent, VaultDataUpdatedEventResponse, VaultDekDecryptedEvent, VaultDekDecryptedEventResponse, VaultDekReadEvent, VaultDekReadEventResponse, VaultKekCreatedEvent, VaultKekCreatedEventResponse, VaultMetadataReadEvent, VaultMetadataReadEventResponse, VaultNamesListedEvent, VaultNamesListedEventResponse, VerifyEmailOptions, WithResolvedClientId, WorkOSWorker as WorkOS, WorkOSErrorData, WorkOSOptions, WorkOSResponseError, createWorkOS, isAuthenticationErrorData, serializeRevokeSessionOptions };
17
+ //# sourceMappingURL=index.worker.d.mts.map
@@ -1,4 +1,4 @@
1
- import { A as FetchHttpClient, C as NoApiKeyProvidedException, D as isAuthenticationErrorData, E as AuthenticationException, O as GenericServerException, S as NotFoundException, T as BadRequestException, _ as UnprocessableEntityException, a as DomainDataState, b as RateLimitExceededException, d as serializeRevokeSessionOptions, f as AuthenticateWithSessionCookieFailureReason, g as Actions, h as Webhooks, i as OrganizationDomainVerificationStrategy, j as SubtleCryptoProvider, k as ApiKeyRequiredException, m as PKCE, n as ConnectionType, o as GenerateLinkIntent, p as AutoPaginatable, r as OrganizationDomainState, s as WorkOS, t as createWorkOS, u as RefreshSessionFailureReason, v as UnauthorizedException, w as ConflictException, x as OauthException, y as SignatureVerificationException } from "./factory-B2N5WzoO.mjs";
1
+ import { A as GenericServerException, C as OauthException, D as BadRequestException, E as ConflictException, M as FetchHttpClient, N as SubtleCryptoProvider, O as AuthenticationException, S as RateLimitExceededException, T as NoApiKeyProvidedException, _ as AutoPaginatable, a as DomainDataState, b as UnauthorizedException, f as RefreshSessionFailureReason, g as Webhooks, h as PKCE, i as OrganizationDomainVerificationStrategy, j as ApiKeyRequiredException, k as isAuthenticationErrorData, m as AuthenticateWithSessionCookieFailureReason, n as ConnectionType, o as GenerateLinkIntent, p as serializeRevokeSessionOptions, r as OrganizationDomainState, s as WorkOS, t as createWorkOS, v as Actions, w as NotFoundException, x as SignatureVerificationException, y as UnprocessableEntityException } from "./factory-B6eXwJEX.mjs";
2
2
  //#region src/index.worker.ts
3
3
  var WorkOSWorker = class extends WorkOS {
4
4
  /** @override */
@@ -14,7 +14,7 @@ var WorkOSWorker = class extends WorkOS {
14
14
  }
15
15
  /** @override */
16
16
  createWebhookClient() {
17
- return new Webhooks(new SubtleCryptoProvider());
17
+ return new Webhooks(this);
18
18
  }
19
19
  getCryptoProvider() {
20
20
  return new SubtleCryptoProvider();
@@ -1 +1 @@
1
- {"version":3,"file":"index.worker.mjs","names":[],"sources":["../src/index.worker.ts"],"sourcesContent":["// @oagen-ignore-file\nimport { Actions } from './actions/actions';\nimport { CryptoProvider } from './common/crypto/crypto-provider';\nimport { SubtleCryptoProvider } from './common/crypto/subtle-crypto-provider';\nimport { FetchHttpClient } from './common/net/fetch-client';\nimport { HttpClient } from './common/net/http-client';\nimport { WorkOSOptions } from './index.worker';\nimport { Webhooks } from './webhooks/webhooks';\nimport { WorkOS } from './workos';\n\nexport * from './actions/interfaces';\nexport * from './audit-logs/interfaces';\nexport * from './authorization/interfaces';\nexport * from './common/exceptions';\nexport * from './common/interfaces';\nexport * from './common/utils/pagination';\nexport * from './directory-sync/interfaces';\nexport * from './events/interfaces';\nexport * from './organizations/interfaces';\nexport * from './organization-domains/interfaces';\nexport * from './passwordless/interfaces';\nexport * from './admin-portal/interfaces';\nexport * from './sso/interfaces';\nexport * from './user-management/interfaces';\nexport * from './roles/interfaces';\nexport * from './pkce/pkce';\nexport {\n createWorkOS,\n type PublicWorkOS,\n type PublicUserManagement,\n type PublicSSO,\n type PublicClientOptions,\n type ConfidentialClientOptions,\n} from './factory';\n\nclass WorkOSWorker extends WorkOS {\n /** @override */\n createHttpClient(options: WorkOSOptions, userAgent: string): HttpClient {\n const headers: Record<string, string> = {\n 'User-Agent': userAgent,\n };\n\n const configHeaders = options.config?.headers;\n if (\n configHeaders &&\n typeof configHeaders === 'object' &&\n !Array.isArray(configHeaders) &&\n !(configHeaders instanceof Headers)\n ) {\n Object.assign(headers, configHeaders);\n }\n\n if (this.key) {\n headers['Authorization'] = `Bearer ${this.key}`;\n }\n\n return new FetchHttpClient(this.baseURL, {\n ...options.config,\n headers,\n });\n }\n\n /** @override */\n createWebhookClient(): Webhooks {\n const cryptoProvider = new SubtleCryptoProvider();\n\n return new Webhooks(cryptoProvider);\n }\n\n override getCryptoProvider(): CryptoProvider {\n return new SubtleCryptoProvider();\n }\n\n /** @override */\n createActionsClient(): Actions {\n const cryptoProvider = new SubtleCryptoProvider();\n\n return new Actions(cryptoProvider);\n }\n\n /** @override */\n emitWarning(warning: string): void {\n // tslint:disable-next-line:no-console\n return console.warn(`WorkOS: ${warning}`);\n }\n}\n\nexport { WorkOSWorker as WorkOS };\n"],"mappings":";;AAmCA,IAAM,eAAN,cAA2B,OAAO;;CAEhC,iBAAiB,SAAwB,WAA+B;EACtE,MAAM,UAAkC,EACtC,cAAc,WACf;EAED,MAAM,gBAAgB,QAAQ,QAAQ;EACtC,IACE,iBACA,OAAO,kBAAkB,YACzB,CAAC,MAAM,QAAQ,cAAc,IAC7B,EAAE,yBAAyB,UAE3B,OAAO,OAAO,SAAS,cAAc;EAGvC,IAAI,KAAK,KACP,QAAQ,mBAAmB,UAAU,KAAK;EAG5C,OAAO,IAAI,gBAAgB,KAAK,SAAS;GACvC,GAAG,QAAQ;GACX;GACD,CAAC;;;CAIJ,sBAAgC;EAG9B,OAAO,IAAI,SAAS,IAFO,sBAEO,CAAC;;CAGrC,oBAA6C;EAC3C,OAAO,IAAI,sBAAsB;;;CAInC,sBAA+B;EAG7B,OAAO,IAAI,QAAQ,IAFQ,sBAEM,CAAC;;;CAIpC,YAAY,SAAuB;EAEjC,OAAO,QAAQ,KAAK,WAAW,UAAU"}
1
+ {"version":3,"file":"index.worker.mjs","names":[],"sources":["../src/index.worker.ts"],"sourcesContent":["// @oagen-ignore-file\nimport { Actions } from './actions/actions';\nimport { CryptoProvider } from './common/crypto/crypto-provider';\nimport { SubtleCryptoProvider } from './common/crypto/subtle-crypto-provider';\nimport { FetchHttpClient } from './common/net/fetch-client';\nimport { HttpClient } from './common/net/http-client';\nimport { WorkOSOptions } from './index.worker';\nimport { Webhooks } from './webhooks/webhooks';\nimport { WorkOS } from './workos';\n\nexport * from './actions/interfaces';\nexport * from './audit-logs/interfaces';\nexport * from './authorization/interfaces';\nexport * from './common/exceptions';\nexport * from './common/interfaces';\nexport * from './common/utils/pagination';\nexport * from './directory-sync/interfaces';\nexport * from './events/interfaces';\nexport * from './organizations/interfaces';\nexport * from './organization-domains/interfaces';\nexport * from './passwordless/interfaces';\nexport * from './admin-portal/interfaces';\nexport * from './sso/interfaces';\nexport * from './user-management/interfaces';\nexport * from './roles/interfaces';\nexport * from './pkce/pkce';\nexport {\n createWorkOS,\n type PublicWorkOS,\n type PublicUserManagement,\n type PublicSSO,\n type PublicClientOptions,\n type ConfidentialClientOptions,\n} from './factory';\n\nclass WorkOSWorker extends WorkOS {\n /** @override */\n createHttpClient(options: WorkOSOptions, userAgent: string): HttpClient {\n const headers: Record<string, string> = {\n 'User-Agent': userAgent,\n };\n\n const configHeaders = options.config?.headers;\n if (\n configHeaders &&\n typeof configHeaders === 'object' &&\n !Array.isArray(configHeaders) &&\n !(configHeaders instanceof Headers)\n ) {\n Object.assign(headers, configHeaders);\n }\n\n if (this.key) {\n headers['Authorization'] = `Bearer ${this.key}`;\n }\n\n return new FetchHttpClient(this.baseURL, {\n ...options.config,\n headers,\n });\n }\n\n /** @override */\n createWebhookClient(): Webhooks {\n return new Webhooks(this);\n }\n\n override getCryptoProvider(): CryptoProvider {\n return new SubtleCryptoProvider();\n }\n\n /** @override */\n createActionsClient(): Actions {\n const cryptoProvider = new SubtleCryptoProvider();\n\n return new Actions(cryptoProvider);\n }\n\n /** @override */\n emitWarning(warning: string): void {\n // tslint:disable-next-line:no-console\n return console.warn(`WorkOS: ${warning}`);\n }\n}\n\nexport { WorkOSWorker as WorkOS };\n"],"mappings":";;AAmCA,IAAM,eAAN,cAA2B,OAAO;;CAEhC,iBAAiB,SAAwB,WAA+B;EACtE,MAAM,UAAkC,EACtC,cAAc,WACf;EAED,MAAM,gBAAgB,QAAQ,QAAQ;EACtC,IACE,iBACA,OAAO,kBAAkB,YACzB,CAAC,MAAM,QAAQ,cAAc,IAC7B,EAAE,yBAAyB,UAE3B,OAAO,OAAO,SAAS,cAAc;EAGvC,IAAI,KAAK,KACP,QAAQ,mBAAmB,UAAU,KAAK;EAG5C,OAAO,IAAI,gBAAgB,KAAK,SAAS;GACvC,GAAG,QAAQ;GACX;GACD,CAAC;;;CAIJ,sBAAgC;EAC9B,OAAO,IAAI,SAAS,KAAK;;CAG3B,oBAA6C;EAC3C,OAAO,IAAI,sBAAsB;;;CAInC,sBAA+B;EAG7B,OAAO,IAAI,QAAQ,IAFQ,sBAEM,CAAC;;;CAIpC,YAAY,SAAuB;EAEjC,OAAO,QAAQ,KAAK,WAAW,UAAU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos-inc/node",
3
- "version": "9.3.1",
3
+ "version": "10.1.0",
4
4
  "description": "A Node wrapper for the WorkOS API",
5
5
  "keywords": [
6
6
  "workos"