@workos-inc/node 9.3.1 → 10.0.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/lib/{factory-ljCdlI7q.cjs → factory-CKDJjzbQ.cjs} +1160 -260
- package/lib/factory-CKDJjzbQ.cjs.map +1 -0
- package/lib/{workos-D5a84gFU.d.mts → factory-Ct0t70G0.d.cts} +1969 -519
- package/lib/{workos-DPWj5UVH.d.cts → factory-awA8SmsZ.d.mts} +1969 -519
- package/lib/{factory-B2N5WzoO.mjs → factory-fIHNXxrd.mjs} +1149 -261
- package/lib/factory-fIHNXxrd.mjs.map +1 -0
- package/lib/index.cjs +275 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +284 -10
- package/lib/index.d.mts +284 -10
- package/lib/index.mjs +261 -3
- package/lib/index.mjs.map +1 -1
- package/lib/index.worker.cjs +2 -2
- package/lib/index.worker.cjs.map +1 -1
- package/lib/index.worker.d.cts +17 -2
- package/lib/index.worker.d.mts +17 -2
- package/lib/index.worker.mjs +2 -2
- package/lib/index.worker.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/factory-B2N5WzoO.mjs.map +0 -1
- package/lib/factory-ljCdlI7q.cjs.map +0 -1
package/lib/index.worker.d.mts
CHANGED
|
@@ -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 AuthenticationRadarRiskDetectedEventResponseData, $d as PaginationOptions, $i as GroupDeletedEvent, $l as WithResolvedClientId, $r as AuthenticationPasskeySucceededEvent, $s as ResendInvitationOptions, $u as ListMembershipsForResourceByExternalIdOptions, A as ApiKeyRequiredException, Aa as OrganizationDomainVerificationFailedEventResponse, Ac as ListAuthFactorsOptions, Ad as PermissionResponse, Ai as DsyncGroupUserRemovedEventResponse, Al as AuthenticateWithRefreshTokenOptions, Ao as VaultDekDecryptedEvent, Ar as PatchOptions, As as OrganizationDomainVerificationStrategy, At as AuditLogExport, Au as ListEffectivePermissionsByExternalIdOptions, Ba as OrganizationRoleCreatedEventResponse, Bc as EmailVerificationEventResponse, Bd as SetEnvironmentRolePermissionsOptions, Bi as EventBase, Bl as SerializedAuthenticateWithMagicAuthOptions, Br as AuthenticationEmailVerificationSucceededEventResponse, Bs as UpdateOrganizationMembershipOptions, Bu as AssignRoleOptionsWithResourceId, C as BadRequestException, Ca as OrganizationDomainCreatedEvent, Cc as BaseOrganizationMembershipResponse, Cd as UpdateAuthorizationResourceOptions, Ci as DsyncGroupDeletedEvent, Cl as User, Co as VaultDataCreatedEventResponse, Cr as DomainData, Ct as CreateAuditLogEventRequestOptions, Cu as OrganizationRoleEventResponse, D as isAuthenticationErrorData, Da as OrganizationDomainUpdatedEvent, Dc as ListInvitationsOptions, Dd as CreatePermissionOptions, Di as DsyncGroupUserAddedEvent, Dl as AuthenticateWithRefreshTokenPublicClientOptions, Do as VaultDataReadEventResponse, Dr as UnprocessableEntityError, Ds as OrganizationDomain, Dt as AuditLogSchemaMetadata, Du as RoleEventResponse, E as AuthenticationException, Ea as OrganizationDomainDeletedEventResponse, Ec as OrganizationMembershipStatus, Ed as UpdatePermissionOptions, Ei as DsyncGroupUpdatedEventResponse, El as ImpersonatorResponse, Eo as VaultDataReadEvent, Er as WorkOSOptions, Es as OrganizationDomainVerificationFailedResponse, Et as AuditLogSchema, Eu as RoleEvent, Fa as OrganizationMembershipDeleted, Fc as Identity, Fd as UpdateOrganizationRoleOptions, Fi as DsyncUserUpdatedEvent, Fl as AuthenticateUserWithOrganizationSelectionCredentials, Fo as VaultKekCreatedEventResponse, Fr as ApiKeyCreatedEvent, Fs as SerializedUpdateUserPasswordOptions, Fu as RemoveRoleOptionsWithResourceExternalId, Ga as OrganizationUpdatedEvent, Gc as SerializedCreatePasswordResetOptions, Gd as EnvironmentRole, Gi as FlagDeletedEvent, Gl as SerializedAuthenticateWithCodeAndVerifierOptions, Gr as AuthenticationMfaSucceededEvent, Gs as SendVerificationEmailOptions, Gu as SerializedListRoleAssignmentsForResourceOptions, Ha as OrganizationRoleDeletedEventResponse, Hc as CreateUserOptions, Hd as UpdateEnvironmentRoleOptions, Hi as EventResponse, Hl as AuthenticateWithEmailVerificationOptions, Hr as AuthenticationMagicAuthFailedEventResponse, Hs as Session, Hu as SerializedAssignRoleOptions, Ia as OrganizationMembershipDeletedResponse, Ic as EnrollAuthFactorOptions, Id as CreateOrganizationRoleOptions, Ii as DsyncUserUpdatedEventResponse, Il as AuthenticateWithOrganizationSelectionOptions, Io as VaultMetadataReadEvent, Ir as ApiKeyCreatedEventResponse, Is as UpdateUserPasswordOptions, Iu as RemoveRoleOptionsWithResourceId, Ja as PasswordResetCreatedEventResponse, Jc as CreateMagicAuthOptions, Jd as EnvironmentRoleResponse, Ji as FlagRuleUpdatedEventResponse, Jl as SerializedAuthenticateWithCodeOptions, Jr as AuthenticationOAuthFailedEventResponse, Js as RevokeSessionOptions, Ju as RoleAssignment, Ka as OrganizationUpdatedResponse, Kc as CreateOrganizationMembershipOptions, Kd as EnvironmentRoleList, Ki as FlagDeletedEventResponse, Kl as AuthenticateUserWithCodeCredentials, Kr as AuthenticationMfaSucceededEventResponse, Ks as SendInvitationOptions, Ku as ListRoleAssignmentsOptions, La as OrganizationMembershipUpdated, Lc as SerializedEnrollUserInMfaFactorOptions, Ld as SerializedCreateOrganizationRoleOptions, Li as EmailVerificationCreatedEvent, Ll as SerializedAuthenticateWithOrganizationSelectionOptions, Lo as VaultMetadataReadEventResponse, Lr as ApiKeyRevokedEvent, Ls as SerializedUpdateUserOptions, Lu as SerializedRemoveRoleOptions, Ma as OrganizationDomainVerifiedEventResponse, Mc as InvitationEvent, Md as AddOrganizationRolePermissionOptions, Mi as DsyncUserCreatedEventResponse, Ml as AuthenticateUserWithPasswordCredentials, Mo as VaultDekReadEvent, Mr as ListResponse, Ms as SerializedCreateOrganizationDomainOptions, Mt as AuditLogExportOptions, Mu as RemoveRoleAssignmentOptions, Na as OrganizationMembershipCreated, Nc as InvitationEventResponse, Nd as SetOrganizationRolePermissionsOptions, Ni as DsyncUserDeletedEvent, Nl as AuthenticateWithPasswordOptions, No as VaultDekReadEventResponse, Nr as GetOptions, Ns as SerializedVerifyEmailOptions, Nt as SerializedAuditLogExportOptions, Nu as BaseRemoveRoleOptions, O as GenericServerException, Oa as OrganizationDomainUpdatedEventResponse, Oc as SerializedListInvitationsOptions, Od as SerializedCreatePermissionOptions, Oi as DsyncGroupUserAddedEventResponse, Ol as SerializedAuthenticateWithRefreshTokenPublicClientOptions, Oo as VaultDataUpdatedEvent, Or as PutOptions, Os as OrganizationDomainResponse, Ot as AuditLogSchemaResponse, Ou as RoleList, Pa as OrganizationMembershipCreatedResponse, Pc as InvitationResponse, Pd as SerializedUpdateOrganizationRoleOptions, Pi as DsyncUserDeletedEventResponse, Pl as SerializedAuthenticateWithPasswordOptions, Po as VaultKekCreatedEvent, Pr as GenerateLinkIntent, Ps as VerifyEmailOptions, Pu as RemoveRoleOptions, Qa as PermissionCreatedEventResponse, Qc as AuthenticationRadarRiskDetectedEventData, Qd as SerializedListDirectoriesOptions, Qi as GroupCreatedEventResponse, Ql as SerializedAuthenticateWithOptionsBase, Qr as AuthenticationPasskeyFailedEventResponse, Qs as SerializedResetPasswordOptions, Qu as RoleAssignmentRole, R as WorkOS, Ra as OrganizationMembershipUpdatedResponse, Rc as EmailVerification, Rd as OrganizationRole, Ri as EmailVerificationCreatedEventResponse, Rl as AuthenticateUserWithMagicAuthCredentials, Ro as VaultNamesListedEvent, Rr as ApiKeyRevokedEventResponse, Rs as UpdateUserOptions, Ru as AssignRoleOptions, S as ConflictException, Sa as OrganizationDeletedResponse, Sc as BaseOrganizationMembership, Sd as SerializedUpdateAuthorizationResourceOptions, Si as DsyncGroupCreatedEventResponse, Sl as AuthenticationResponseResponse, So as VaultDataCreatedEvent, Sr as SerializedCreateOrganizationOptions, St as CreateAuditLogEventOptions, Su as OrganizationRoleEvent, T as AuthenticationErrorData, Ta as OrganizationDomainDeletedEvent, Tc as OrganizationMembershipResponse, Td as SerializedUpdatePermissionOptions, Ti as DsyncGroupUpdatedEvent, Tl as Impersonator, To as VaultDataDeletedEventResponse, Tr as WorkOSResponseError, Ts as OrganizationDomainVerificationFailed, Tt as AuditLogActorSchema, Tu as Role, Ua as OrganizationRoleUpdatedEvent, Uc as SerializedCreateUserOptions, Ud as CreateEnvironmentRoleOptions, Ui as FlagCreatedEvent, Ul as SerializedAuthenticateWithEmailVerificationOptions, Ur as AuthenticationMagicAuthSucceededEvent, Us as SessionResponse, Uu as ListRoleAssignmentsForResourceByExternalIdOptions, Va as OrganizationRoleDeletedEvent, Vc as EmailVerificationResponse, Vd as SerializedUpdateEnvironmentRoleOptions, Vi as EventName, Vl as AuthenticateUserWithEmailVerificationCredentials, Vr as AuthenticationMagicAuthFailedEvent, Vs as AuthMethod, Vu as BaseAssignRoleOptions, Wa as OrganizationRoleUpdatedEventResponse, Wc as CreatePasswordResetOptions, Wd as SerializedCreateEnvironmentRoleOptions, Wi as FlagCreatedEventResponse, Wl as AuthenticateWithCodeAndVerifierOptions, Wr as AuthenticationMagicAuthSucceededEventResponse, Ws as SessionStatus, Wu as ListRoleAssignmentsForResourceOptions, Xa as PasswordResetSucceededEventResponse, Xc as PKCEAuthorizationURLResult, Xd as ListDirectoryGroupsOptions, Xi as FlagUpdatedEventResponse, Xl as AuthenticateWithSessionOptions, Xr as AuthenticationOAuthSucceededEventResponse, Xs as serializeRevokeSessionOptions, Xu as RoleAssignmentResourceResponse, Ya as PasswordResetSucceededEvent, Yc as SerializedCreateMagicAuthOptions, Yd as ListDirectoryUsersOptions, Yi as FlagUpdatedEvent, Yl as AuthenticateWithOptionsBase, Yr as AuthenticationOAuthSucceededEvent, Ys as SerializedRevokeSessionOptions, Yu as RoleAssignmentResource, Za as PermissionCreatedEvent, Zc as UserManagementAuthorizationURLOptions, Zd as ListDirectoriesOptions, Zi as GroupCreatedEvent, Zl as SerializedAuthenticatePublicClientBase, Zr as AuthenticationPasskeyFailedEvent, Zs as ResetPasswordOptions, Zu as RoleAssignmentResponse, _ as SignatureVerificationException, _a as MagicAuthCreatedEvent, _c as SerializedListSessionsOptions, _d as AuthorizationResourceResponse, _i as DsyncActivatedEvent, _l as AuthenticateWithSessionCookieOptions, _n as PasswordlessSession, _o as UserDeletedEventResponse, _r as OrganizationResponse, _t as CreateAuditLogSchemaRequestOptions, _u as DirectoryUser, a as PublicWorkOS, aa as GroupMemberRemovedEvent, ac as PasswordResetEventResponse, ad as AuthorizationCheckOptions, af as DirectoryStateResponse, ai as AuthenticationRadarRiskDetectedEvent, ao as RoleDeletedEvent, ar as Actions, au as OauthTokensResponse, b as NotFoundException, ba as OrganizationCreatedResponse, bc as AuthorizationOrganizationMembership, bd as CreateOptionsWithParentResourceId, bi as DsyncDeletedEventResponse, bl as UserManagementAccessToken, bn as SerializedListEventOptions, bo as VaultByokKeyVerificationCompletedEvent, br as CreateOrganizationOptions, bt as AuditLogActor, bu as DirectoryUserWithGroupsResponse, c as PortalLinkResponseWire, ca as GroupUpdatedEventResponse, cc as MagicAuthEvent, cd as AuthorizationCheckResult, cf as EventDirectoryResponse, ci as AuthenticationSSOFailedEventResponse, cl as AuthenticationEvent, co as RoleUpdatedEventResponse, cr as UserRegistrationActionResponseData, cu as GetProfileAndTokenOptions, d as IntentOptions, da as InvitationCreatedEvent, dc as LogoutURLOptions, dd as DeleteAuthorizationResourceByExternalIdOptions, df as HttpClientResponseInterface, di as ConnectionActivatedEvent, dl as AuthenticationEventSsoResponse, do as SessionRevokedEvent, dr as UserData, du as ConnectionDomain, ea as GroupDeletedEventResponse, ec as SerializedResendInvitationOptions, ed as ListMembershipsForResourceOptions, ef as DirectoryGroup, ei as AuthenticationPasskeySucceededEventResponse, el as AuthenticationFactor, eo as PermissionDeletedEventResponse, eu as ProfileAndToken, f as IntentOptionsResponse, fa as InvitationCreatedEventResponse, fc as Locale, fd as UpdateAuthorizationResourceByExternalIdOptions, ff as RequestHeaders, fi as ConnectionActivatedEventResponse, fl as AuthenticateUserWithTotpCredentials, fo as SessionRevokedEventResponse, fr as UserDataPayload, fu as ConnectionResponse, g as UnauthorizedException, ga as InvitationRevokedEventResponse, gc as ListSessionsOptions, gd as AuthorizationResource, gf as CryptoProvider, gi as ConnectionDeletedEventResponse, gl as AuthenticateWithSessionCookieFailureReason, gn as SerializedCreatePasswordlessSessionOptions, go as UserDeletedEvent, gr as Organization, gt as CreateAuditLogSchemaOptions, gu as DefaultCustomAttributes, h as UnprocessableEntityException, ha as InvitationRevokedEvent, hc as ListUserFeatureFlagsOptions, hd as SerializedListAuthorizationResourcesOptions, hf as ResponseHeaders, hi as ConnectionDeletedEvent, hl as AuthenticateWithSessionCookieFailedResponse, hn as CreatePasswordlessSessionOptions, ho as UserCreatedEventResponse, hr as UpdateOrganizationOptions, hu as SSOPKCEAuthorizationURLResult, i as PublicUserManagement, ia as GroupMemberEventResponseData, ic as PasswordResetEvent, id as SerializedListResourcesForMembershipOptions, if as DirectoryState, ii as AuthenticationPasswordSucceededEventResponse, io as RoleCreatedEventResponse, ir as PKCEPair, iu as OauthTokens, j as Webhooks, ja as OrganizationDomainVerifiedEvent, jc as Invitation, jd as RemoveOrganizationRolePermissionOptions, ji as DsyncUserCreatedEvent, jl as SerializedAuthenticateWithRefreshTokenOptions, jo as VaultDekDecryptedEventResponse, jr as List, js as CreateOrganizationDomainOptions, jt as AuditLogExportResponse, ju as ListEffectivePermissionsOptions, k as WorkOSErrorData, ka as OrganizationDomainVerificationFailedEvent, kc as ListGroupsForOrganizationMembershipOptions, kd as Permission, ki as DsyncGroupUserRemovedEvent, kl as AuthenticateUserWithRefreshTokenCredentials, ko as VaultDataUpdatedEventResponse, kr as PostOptions, ks as OrganizationDomainState, kt as AuditLogTargetSchema, ku as RoleResponse, l as GenerateLink, la as InvitationAcceptedEvent, lc as MagicAuthEventResponse, ld as SerializedAuthorizationCheckOptions, lf as HttpClient, li as AuthenticationSSOSucceededEvent, ll as AuthenticationEventResponse, lo as SessionCreatedEvent, lr as ActionContext, lu as GetProfileOptions, m as SSOIntentOptionsResponse, ma as InvitationResentEventResponse, mc as SerializedListUsersOptions, md as ListAuthorizationResourcesOptions, mf as ResponseHeaderValue, mi as ConnectionDeactivatedEventResponse, ml as SerializedAuthenticateWithTotpOptions, mn as SendSessionResponse, mo as UserCreatedEvent, mr as SerializedUpdateOrganizationOptions, mu as SSOAuthorizationURLOptions, n as PublicClientOptions, na as GroupMemberAddedEventResponse, nc as RefreshSessionResponse, nd as ListResourcesForMembershipOptionsWithParentExternalId, nf as Directory, ni as AuthenticationPasswordFailedEventResponse, nl as AuthenticationFactorWithSecrets, no as PermissionUpdatedEventResponse, nr as AutoPaginatable, nu as Profile, o as createWorkOS, oa as GroupMemberRemovedEventResponse, oc as PasswordResetResponse, od as AuthorizationCheckOptionsWithResourceExternalId, of as DirectoryType, oi as AuthenticationRadarRiskDetectedEventResponse, oo as RoleDeletedEventResponse, or as AuthenticationActionResponseData, ou as ListConnectionsOptions, p as SSOIntentOptions, pa as InvitationResentEvent, pc as ListUsersOptions, pd as GetAuthorizationResourceByExternalIdOptions, pf as RequestOptions, pi as ConnectionDeactivatedEvent, pl as AuthenticateWithTotpOptions, po as UnknownEvent, pr as UserRegistrationActionPayload, pu as ConnectionType, qa as PasswordResetCreatedEvent, qc as SerializedCreateOrganizationMembershipOptions, qd as EnvironmentRoleListResponse, qi as FlagRuleUpdatedEvent, ql as AuthenticateWithCodeOptions, qr as AuthenticationOAuthFailedEvent, qs as SerializedSendInvitationOptions, qu as SerializedListRoleAssignmentsOptions, r as PublicSSO, ra as GroupMemberEventData, rc as PasswordReset, rd as ListResourcesForMembershipOptionsWithParentId, rf as DirectoryResponse, ri as AuthenticationPasswordSucceededEvent, rl as AuthenticationFactorWithSecretsResponse, ro as RoleCreatedEvent, rr as PKCE, ru as ProfileResponse, s as PortalLinkResponse, sa as GroupUpdatedEvent, sc as MagicAuth, sd as AuthorizationCheckOptionsWithResourceId, sf as EventDirectory, si as AuthenticationSSOFailedEvent, so as RoleUpdatedEvent, sr as ResponsePayload, su as SerializedListConnectionsOptions, t as ConfidentialClientOptions, ta as GroupMemberAddedEvent, tc as RefreshSessionFailureReason, td as ListResourcesForMembershipOptions, tf as DirectoryGroupResponse, ti as AuthenticationPasswordFailedEvent, tl as AuthenticationFactorResponse, to as PermissionUpdatedEvent, tu as ProfileAndTokenResponse, u as GenerateLinkResponse, ua as InvitationAcceptedEventResponse, uc as MagicAuthResponse, ud as DeleteAuthorizationResourceOptions, uf as HttpClientInterface, ui as AuthenticationSSOSucceededEventResponse, ul as AuthenticationEventSso, uo as SessionCreatedEventResponse, ur as ActionPayload, uu as Connection, v as RateLimitExceededException, va as MagicAuthCreatedEventResponse, vc as ListOrganizationMembershipsOptions, vd as CreateAuthorizationResourceOptions, vi as DsyncActivatedEventResponse, vl as AuthenticateWithSessionCookieSuccessResponse, vn as PasswordlessSessionResponse, vo as UserUpdatedEvent, vr as ListOrganizationsOptions, vt as CreateAuditLogSchemaResponse, vu as DirectoryUserResponse, w as AuthenticationErrorCode, wa as OrganizationDomainCreatedEventResponse, wc as OrganizationMembership, wd as ListPermissionsOptions, wi as DsyncGroupDeletedEventResponse, wl as UserResponse, wo as VaultDataDeletedEvent, wr as DomainDataState, wt as SerializedCreateAuditLogEventOptions, wu as OrganizationRoleResponse, x as NoApiKeyProvidedException, xa as OrganizationDeletedEvent, xc as AuthorizationOrganizationMembershipResponse, xd as SerializedCreateAuthorizationResourceOptions, xi as DsyncGroupCreatedEvent, xl as AuthenticationResponse, xo as VaultByokKeyVerificationCompletedEventResponse, xr as CreateOrganizationRequestOptions, xt as AuditLogTarget, xu as ListOrganizationRolesResponse, y as OauthException, ya as OrganizationCreatedEvent, yc as SerializedListOrganizationMembershipsOptions, yd as CreateOptionsWithParentExternalId, yi as DsyncDeletedEvent, yl as SessionCookieData, yn as ListEventOptions, yo as UserUpdatedEventResponse, yr as ListOrganizationFeatureFlagsOptions, yt as SerializedCreateAuditLogSchemaOptions, yu as DirectoryUserWithGroups, za as OrganizationRoleCreatedEvent, zc as EmailVerificationEvent, zd as AddEnvironmentRolePermissionOptions, zi as Event, zl as AuthenticateWithMagicAuthOptions, zo as VaultNamesListedEventResponse, zr as AuthenticationEmailVerificationSucceededEvent, zs as SerializedUpdateOrganizationMembershipOptions, zu as AssignRoleOptionsWithResourceExternalId } from "./factory-awA8SmsZ.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, 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, 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
|
package/lib/index.worker.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
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-fIHNXxrd.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(
|
|
17
|
+
return new Webhooks(this);
|
|
18
18
|
}
|
|
19
19
|
getCryptoProvider() {
|
|
20
20
|
return new SubtleCryptoProvider();
|
package/lib/index.worker.mjs.map
CHANGED
|
@@ -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
|
|
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"}
|