@workos-inc/node 10.7.0 → 10.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/lib/{factory-DwW2quUn.cjs → factory-Bd19upQB.cjs} +1034 -113
- package/lib/factory-Bd19upQB.cjs.map +1 -0
- package/lib/{factory-BjWO1KkE.mjs → factory-BdXIrbcU.mjs} +1034 -113
- package/lib/factory-BdXIrbcU.mjs.map +1 -0
- package/lib/{factory-7zoKcOC2.d.cts → factory-DmBBe791.d.cts} +1514 -199
- package/lib/{factory-7zoKcOC2.d.mts → factory-DmBBe791.d.mts} +1514 -199
- package/lib/index.cjs +102 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +158 -3
- package/lib/index.d.mts +158 -3
- package/lib/index.mjs +89 -2
- package/lib/index.mjs.map +1 -1
- package/lib/index.worker.cjs +2 -1
- package/lib/index.worker.cjs.map +1 -1
- package/lib/index.worker.d.cts +2 -3
- package/lib/index.worker.d.mts +2 -3
- package/lib/index.worker.mjs +2 -1
- package/lib/index.worker.mjs.map +1 -1
- package/lib/{webapi-S8D5YgJz.mjs → webapi-BgpV54gi.mjs} +22 -19
- package/lib/{webapi-S8D5YgJz.mjs.map → webapi-BgpV54gi.mjs.map} +1 -1
- package/lib/{webapi-CVu-Hjaz.cjs → webapi-BzGFatFp.cjs} +22 -19
- package/lib/{webapi-CVu-Hjaz.cjs.map → webapi-BzGFatFp.cjs.map} +1 -1
- package/package.json +1 -1
- package/lib/factory-BjWO1KkE.mjs.map +0 -1
- package/lib/factory-DwW2quUn.cjs.map +0 -1
package/lib/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_factory = require("./factory-
|
|
2
|
+
const require_factory = require("./factory-Bd19upQB.cjs");
|
|
3
3
|
//#region src/groups/interfaces/user-organization-membership-base-list-data-status.interface.ts
|
|
4
4
|
const UserOrganizationMembershipBaseListDataStatus = {
|
|
5
5
|
Active: "active",
|
|
@@ -7,6 +7,92 @@ const UserOrganizationMembershipBaseListDataStatus = {
|
|
|
7
7
|
Pending: "pending"
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
|
+
//#region src/pipes/interfaces/connected-account-auth-method.interface.ts
|
|
11
|
+
const ConnectedAccountAuthMethod = {
|
|
12
|
+
OAuth: "oauth",
|
|
13
|
+
ApiKey: "api_key"
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/pipes/interfaces/connected-account-state.interface.ts
|
|
17
|
+
const ConnectedAccountState = {
|
|
18
|
+
Connected: "connected",
|
|
19
|
+
NeedsReauthorization: "needs_reauthorization"
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.ts
|
|
23
|
+
const CustomProviderDefinitionAuthenticateVia = {
|
|
24
|
+
RequestBody: "request_body",
|
|
25
|
+
BasicAuthHeader: "basic_auth_header"
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/pipes/interfaces/data-integration-access-token-response-error.interface.ts
|
|
29
|
+
const DataIntegrationAccessTokenResponseError = {
|
|
30
|
+
NotInstalled: "not_installed",
|
|
31
|
+
NeedsReauthorization: "needs_reauthorization"
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/pipes/interfaces/data-integration-credential-type.interface.ts
|
|
35
|
+
const DataIntegrationCredentialType = {
|
|
36
|
+
Custom: "custom",
|
|
37
|
+
Organization: "organization"
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/pipes/interfaces/data-integration-credentials-response-error.interface.ts
|
|
41
|
+
const DataIntegrationCredentialsResponseError = {
|
|
42
|
+
NotInstalled: "not_installed",
|
|
43
|
+
NeedsReauthorization: "needs_reauthorization"
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/pipes/interfaces/data-integration-credentials-type.interface.ts
|
|
47
|
+
const DataIntegrationCredentialsType = {
|
|
48
|
+
Custom: "custom",
|
|
49
|
+
Organization: "organization"
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.ts
|
|
53
|
+
const DataIntegrationCustomProviderAuthenticateVia = {
|
|
54
|
+
RequestBody: "request_body",
|
|
55
|
+
BasicAuthHeader: "basic_auth_header"
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/pipes/interfaces/data-integration-state.interface.ts
|
|
59
|
+
const DataIntegrationState = {
|
|
60
|
+
Valid: "valid",
|
|
61
|
+
Invalid: "invalid",
|
|
62
|
+
Requested: "requested"
|
|
63
|
+
};
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.ts
|
|
66
|
+
const DataIntegrationsListResponseDataAuthMethods = {
|
|
67
|
+
OAuth: "oauth",
|
|
68
|
+
ApiKey: "api_key"
|
|
69
|
+
};
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.ts
|
|
72
|
+
const DataIntegrationsListResponseDataConnectedAccountAuthMethod = {
|
|
73
|
+
OAuth: "oauth",
|
|
74
|
+
ApiKey: "api_key"
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.ts
|
|
78
|
+
const DataIntegrationsListResponseDataConnectedAccountState = {
|
|
79
|
+
Connected: "connected",
|
|
80
|
+
NeedsReauthorization: "needs_reauthorization",
|
|
81
|
+
Disconnected: "disconnected"
|
|
82
|
+
};
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.ts
|
|
85
|
+
const DataIntegrationsListResponseDataOwnership = {
|
|
86
|
+
UserlandUser: "userland_user",
|
|
87
|
+
Organization: "organization"
|
|
88
|
+
};
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.ts
|
|
91
|
+
const UpdateCustomProviderDefinitionAuthenticateVia = {
|
|
92
|
+
RequestBody: "request_body",
|
|
93
|
+
BasicAuthHeader: "basic_auth_header"
|
|
94
|
+
};
|
|
95
|
+
//#endregion
|
|
10
96
|
//#region src/radar/interfaces/radar-list-action.interface.ts
|
|
11
97
|
const RadarListAction = {
|
|
12
98
|
Block: "block",
|
|
@@ -282,6 +368,7 @@ var WorkOSNode = class extends require_factory.WorkOS {
|
|
|
282
368
|
const opts = {
|
|
283
369
|
...options.config,
|
|
284
370
|
timeout: options.timeout,
|
|
371
|
+
maxRetries: options.maxRetries,
|
|
285
372
|
headers
|
|
286
373
|
};
|
|
287
374
|
return new require_factory.FetchHttpClient(this.baseURL, opts, options.fetchFn);
|
|
@@ -309,9 +396,22 @@ exports.AuthenticationException = require_factory.AuthenticationException;
|
|
|
309
396
|
exports.AutoPaginatable = require_factory.AutoPaginatable;
|
|
310
397
|
exports.BadRequestException = require_factory.BadRequestException;
|
|
311
398
|
exports.ConflictException = require_factory.ConflictException;
|
|
399
|
+
exports.ConnectedAccountAuthMethod = ConnectedAccountAuthMethod;
|
|
400
|
+
exports.ConnectedAccountState = ConnectedAccountState;
|
|
312
401
|
exports.ConnectionType = require_factory.ConnectionType;
|
|
313
402
|
exports.CookieSession = require_factory.CookieSession;
|
|
314
403
|
exports.CreateWebhookEndpointEvents = CreateWebhookEndpointEvents;
|
|
404
|
+
exports.CustomProviderDefinitionAuthenticateVia = CustomProviderDefinitionAuthenticateVia;
|
|
405
|
+
exports.DataIntegrationAccessTokenResponseError = DataIntegrationAccessTokenResponseError;
|
|
406
|
+
exports.DataIntegrationCredentialType = DataIntegrationCredentialType;
|
|
407
|
+
exports.DataIntegrationCredentialsResponseError = DataIntegrationCredentialsResponseError;
|
|
408
|
+
exports.DataIntegrationCredentialsType = DataIntegrationCredentialsType;
|
|
409
|
+
exports.DataIntegrationCustomProviderAuthenticateVia = DataIntegrationCustomProviderAuthenticateVia;
|
|
410
|
+
exports.DataIntegrationState = DataIntegrationState;
|
|
411
|
+
exports.DataIntegrationsListResponseDataAuthMethods = DataIntegrationsListResponseDataAuthMethods;
|
|
412
|
+
exports.DataIntegrationsListResponseDataConnectedAccountAuthMethod = DataIntegrationsListResponseDataConnectedAccountAuthMethod;
|
|
413
|
+
exports.DataIntegrationsListResponseDataConnectedAccountState = DataIntegrationsListResponseDataConnectedAccountState;
|
|
414
|
+
exports.DataIntegrationsListResponseDataOwnership = DataIntegrationsListResponseDataOwnership;
|
|
315
415
|
exports.DomainDataState = require_factory.DomainDataState;
|
|
316
416
|
exports.FeatureFlagsRuntimeClient = require_factory.FeatureFlagsRuntimeClient;
|
|
317
417
|
exports.GenerateLinkIntent = require_factory.GenerateLinkIntent;
|
|
@@ -334,6 +434,7 @@ exports.RefreshSessionFailureReason = require_factory.RefreshSessionFailureReaso
|
|
|
334
434
|
exports.SignatureVerificationException = require_factory.SignatureVerificationException;
|
|
335
435
|
exports.UnauthorizedException = require_factory.UnauthorizedException;
|
|
336
436
|
exports.UnprocessableEntityException = require_factory.UnprocessableEntityException;
|
|
437
|
+
exports.UpdateCustomProviderDefinitionAuthenticateVia = UpdateCustomProviderDefinitionAuthenticateVia;
|
|
337
438
|
exports.UpdateWebhookEndpointEvents = UpdateWebhookEndpointEvents;
|
|
338
439
|
exports.UpdateWebhookEndpointStatus = UpdateWebhookEndpointStatus;
|
|
339
440
|
exports.UserOrganizationMembershipBaseListDataStatus = UserOrganizationMembershipBaseListDataStatus;
|
package/lib/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["WorkOS","FetchHttpClient","Webhooks","SubtleCryptoProvider","Actions"],"sources":["../src/groups/interfaces/user-organization-membership-base-list-data-status.interface.ts","../src/radar/interfaces/radar-list-action.interface.ts","../src/radar/interfaces/radar-list-type.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-action.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.ts","../src/radar/interfaces/radar-standalone-response-blocklist-type.interface.ts","../src/radar/interfaces/radar-standalone-response-control.interface.ts","../src/radar/interfaces/radar-standalone-response-verdict.interface.ts","../src/vault/interfaces/vault-order.interface.ts","../src/webhooks/interfaces/create-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-status.interface.ts","../src/webhooks/interfaces/webhook-endpoint-status.interface.ts","../src/widgets/interfaces/widget-session-token-scopes.interface.ts","../src/index.ts"],"sourcesContent":["// This file is auto-generated by oagen. Do not edit.\n\nexport const UserOrganizationMembershipBaseListDataStatus = {\n Active: 'active',\n Inactive: 'inactive',\n Pending: 'pending',\n} as const;\n\nexport type UserOrganizationMembershipBaseListDataStatus =\n (typeof UserOrganizationMembershipBaseListDataStatus)[keyof typeof UserOrganizationMembershipBaseListDataStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListAction = {\n Block: 'block',\n Allow: 'allow',\n} as const;\n\nexport type RadarListAction =\n (typeof RadarListAction)[keyof typeof RadarListAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarListType = (typeof RadarListType)[keyof typeof RadarListType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAction = {\n SignUp: 'sign-up',\n SignIn: 'sign-in',\n} as const;\n\nexport type RadarStandaloneAssessRequestAction =\n (typeof RadarStandaloneAssessRequestAction)[keyof typeof RadarStandaloneAssessRequestAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAuthMethod = {\n Password: 'Password',\n Passkey: 'Passkey',\n Authenticator: 'Authenticator',\n SmsOtp: 'SMS_OTP',\n EmailOtp: 'Email_OTP',\n Social: 'Social',\n SSO: 'SSO',\n Other: 'Other',\n} as const;\n\nexport type RadarStandaloneAssessRequestAuthMethod =\n (typeof RadarStandaloneAssessRequestAuthMethod)[keyof typeof RadarStandaloneAssessRequestAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseBlocklistType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarStandaloneResponseBlocklistType =\n (typeof RadarStandaloneResponseBlocklistType)[keyof typeof RadarStandaloneResponseBlocklistType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseControl = {\n BotDetection: 'bot_detection',\n BruteForceAttack: 'brute_force_attack',\n DomainSignUpRateLimit: 'domain_sign_up_rate_limit',\n ImpossibleTravel: 'impossible_travel',\n RepeatSignUp: 'repeat_sign_up',\n StaleAccount: 'stale_account',\n UnrecognizedDevice: 'unrecognized_device',\n Restriction: 'restriction',\n} as const;\n\nexport type RadarStandaloneResponseControl =\n (typeof RadarStandaloneResponseControl)[keyof typeof RadarStandaloneResponseControl];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseVerdict = {\n Allow: 'allow',\n Block: 'block',\n Challenge: 'challenge',\n} as const;\n\nexport type RadarStandaloneResponseVerdict =\n (typeof RadarStandaloneResponseVerdict)[keyof typeof RadarStandaloneResponseVerdict];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const VaultOrder = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\n\nexport type VaultOrder = (typeof VaultOrder)[keyof typeof VaultOrder];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateWebhookEndpointEvents = {\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type CreateWebhookEndpointEvents =\n (typeof CreateWebhookEndpointEvents)[keyof typeof CreateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointEvents = {\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type UpdateWebhookEndpointEvents =\n (typeof UpdateWebhookEndpointEvents)[keyof typeof UpdateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type UpdateWebhookEndpointStatus =\n (typeof UpdateWebhookEndpointStatus)[keyof typeof UpdateWebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type WebhookEndpointStatus =\n (typeof WebhookEndpointStatus)[keyof typeof WebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WidgetSessionTokenScopes = {\n WidgetsUsersTableManage: 'widgets:users-table:manage',\n WidgetsDomainVerificationManage: 'widgets:domain-verification:manage',\n WidgetsSSOManage: 'widgets:sso:manage',\n WidgetsApiKeysManage: 'widgets:api-keys:manage',\n WidgetsDsyncManage: 'widgets:dsync:manage',\n WidgetsAuditLogStreamingManage: 'widgets:audit-log-streaming:manage',\n} as const;\n\nexport type WidgetSessionTokenScopes =\n (typeof WidgetSessionTokenScopes)[keyof typeof WidgetSessionTokenScopes];\n","// @oagen-ignore-file\nimport { SubtleCryptoProvider } from './common/crypto/subtle-crypto-provider';\nimport { CryptoProvider } from './common/crypto/crypto-provider';\n\nimport { HttpClient } from './common/net/http-client';\nimport { FetchHttpClient } from './common/net/fetch-client';\n\nimport { Actions } from './actions/actions';\nimport { Webhooks } from './webhooks/webhooks';\nimport { WorkOS } from './workos';\nimport { WorkOSOptions } from './common/interfaces';\n\nexport * from './actions/interfaces';\nexport * from './api-keys/interfaces';\nexport * from './audit-logs/interfaces';\nexport * from './authorization/interfaces';\nexport * from './connect/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 './feature-flags/interfaces';\nexport { FeatureFlagsRuntimeClient } from './feature-flags/runtime-client';\nexport * from './groups/interfaces';\nexport * from './multi-factor-auth/interfaces';\nexport * from './organizations/interfaces';\nexport * from './organization-domains/interfaces';\nexport * from './passwordless/interfaces';\nexport * from './pipes/interfaces';\nexport * from './admin-portal/interfaces';\nexport * from './radar/interfaces';\nexport * from './roles/interfaces';\nexport * from './sso/interfaces';\nexport * from './user-management/interfaces';\nexport { CookieSession } from './user-management/session';\nexport * from './vault/interfaces';\nexport * from './webhooks/interfaces';\nexport * from './widgets/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 WorkOSNode extends WorkOS {\n /** @override */\n createHttpClient(options: WorkOSOptions, userAgent: string): HttpClient {\n const headers: Record<string, string> = {};\n\n const configHeaders = options.config?.headers;\n if (configHeaders) {\n if (configHeaders instanceof Headers) {\n configHeaders.forEach((v, k) => (headers[k] = v));\n } else if (Array.isArray(configHeaders)) {\n configHeaders.forEach(([k, v]) => (headers[k] = v));\n } else {\n Object.assign(headers, configHeaders);\n }\n }\n\n headers['User-Agent'] = userAgent;\n\n if (this.key) {\n headers['Authorization'] = `Bearer ${this.key}`;\n }\n\n const opts = {\n ...options.config,\n timeout: options.timeout,\n headers,\n };\n\n return new FetchHttpClient(this.baseURL, opts, options.fetchFn);\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 return new Actions(this.getCryptoProvider());\n }\n\n /** @override */\n emitWarning(warning: string): void {\n return process.emitWarning(warning, 'WorkOS');\n }\n}\n\nexport { WorkOSNode as WorkOS };\n"],"mappings":";;;AAEA,MAAa,+CAA+C;CAC1D,QAAQ;CACR,UAAU;CACV,SAAS;AACX;;;ACJA,MAAa,kBAAkB;CAC7B,OAAO;CACP,OAAO;AACT;;;ACHA,MAAa,gBAAgB;CAC3B,WAAW;CACX,QAAQ;C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EA,oBAA6C;EAC3C,OAAO,IAAIC,gBAAAA,qBAAqB;CAClC;;CAGA,sBAA+B;EAC7B,OAAO,IAAIC,gBAAAA,QAAQ,KAAK,kBAAkB,CAAC;CAC7C;;CAGA,YAAY,SAAuB;EACjC,OAAO,QAAQ,YAAY,SAAS,QAAQ;CAC9C;AACF"}
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["WorkOS","FetchHttpClient","Webhooks","SubtleCryptoProvider","Actions"],"sources":["../src/groups/interfaces/user-organization-membership-base-list-data-status.interface.ts","../src/pipes/interfaces/connected-account-auth-method.interface.ts","../src/pipes/interfaces/connected-account-state.interface.ts","../src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.ts","../src/pipes/interfaces/data-integration-access-token-response-error.interface.ts","../src/pipes/interfaces/data-integration-credential-type.interface.ts","../src/pipes/interfaces/data-integration-credentials-response-error.interface.ts","../src/pipes/interfaces/data-integration-credentials-type.interface.ts","../src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.ts","../src/pipes/interfaces/data-integration-state.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.ts","../src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.ts","../src/radar/interfaces/radar-list-action.interface.ts","../src/radar/interfaces/radar-list-type.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-action.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.ts","../src/radar/interfaces/radar-standalone-response-blocklist-type.interface.ts","../src/radar/interfaces/radar-standalone-response-control.interface.ts","../src/radar/interfaces/radar-standalone-response-verdict.interface.ts","../src/vault/interfaces/vault-order.interface.ts","../src/webhooks/interfaces/create-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-status.interface.ts","../src/webhooks/interfaces/webhook-endpoint-status.interface.ts","../src/widgets/interfaces/widget-session-token-scopes.interface.ts","../src/index.ts"],"sourcesContent":["// This file is auto-generated by oagen. Do not edit.\n\nexport const UserOrganizationMembershipBaseListDataStatus = {\n Active: 'active',\n Inactive: 'inactive',\n Pending: 'pending',\n} as const;\n\nexport type UserOrganizationMembershipBaseListDataStatus =\n (typeof UserOrganizationMembershipBaseListDataStatus)[keyof typeof UserOrganizationMembershipBaseListDataStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountAuthMethod = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n} as const;\n\nexport type ConnectedAccountAuthMethod =\n (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type ConnectedAccountState =\n (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CustomProviderDefinitionAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type CustomProviderDefinitionAuthenticateVia =\n (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationAccessTokenResponseError = {\n NotInstalled: 'not_installed',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type DataIntegrationAccessTokenResponseError =\n (typeof DataIntegrationAccessTokenResponseError)[keyof typeof DataIntegrationAccessTokenResponseError];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialType =\n (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsResponseError = {\n NotInstalled: 'not_installed',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type DataIntegrationCredentialsResponseError =\n (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialsType =\n (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCustomProviderAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type DataIntegrationCustomProviderAuthenticateVia =\n (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationState = {\n Valid: 'valid',\n Invalid: 'invalid',\n Requested: 'requested',\n} as const;\n\nexport type DataIntegrationState =\n (typeof DataIntegrationState)[keyof typeof DataIntegrationState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataAuthMethods = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n} as const;\n\nexport type DataIntegrationsListResponseDataAuthMethods =\n (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountAuthMethod = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountAuthMethod =\n (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n Disconnected: 'disconnected',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountState =\n (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataOwnership = {\n UserlandUser: 'userland_user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsListResponseDataOwnership =\n (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateCustomProviderDefinitionAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type UpdateCustomProviderDefinitionAuthenticateVia =\n (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListAction = {\n Block: 'block',\n Allow: 'allow',\n} as const;\n\nexport type RadarListAction =\n (typeof RadarListAction)[keyof typeof RadarListAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarListType = (typeof RadarListType)[keyof typeof RadarListType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAction = {\n SignUp: 'sign-up',\n SignIn: 'sign-in',\n} as const;\n\nexport type RadarStandaloneAssessRequestAction =\n (typeof RadarStandaloneAssessRequestAction)[keyof typeof RadarStandaloneAssessRequestAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAuthMethod = {\n Password: 'Password',\n Passkey: 'Passkey',\n Authenticator: 'Authenticator',\n SmsOtp: 'SMS_OTP',\n EmailOtp: 'Email_OTP',\n Social: 'Social',\n SSO: 'SSO',\n Other: 'Other',\n} as const;\n\nexport type RadarStandaloneAssessRequestAuthMethod =\n (typeof RadarStandaloneAssessRequestAuthMethod)[keyof typeof RadarStandaloneAssessRequestAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseBlocklistType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarStandaloneResponseBlocklistType =\n (typeof RadarStandaloneResponseBlocklistType)[keyof typeof RadarStandaloneResponseBlocklistType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseControl = {\n BotDetection: 'bot_detection',\n BruteForceAttack: 'brute_force_attack',\n DomainSignUpRateLimit: 'domain_sign_up_rate_limit',\n ImpossibleTravel: 'impossible_travel',\n RepeatSignUp: 'repeat_sign_up',\n StaleAccount: 'stale_account',\n UnrecognizedDevice: 'unrecognized_device',\n Restriction: 'restriction',\n} as const;\n\nexport type RadarStandaloneResponseControl =\n (typeof RadarStandaloneResponseControl)[keyof typeof RadarStandaloneResponseControl];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseVerdict = {\n Allow: 'allow',\n Block: 'block',\n Challenge: 'challenge',\n} as const;\n\nexport type RadarStandaloneResponseVerdict =\n (typeof RadarStandaloneResponseVerdict)[keyof typeof RadarStandaloneResponseVerdict];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const VaultOrder = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\n\nexport type VaultOrder = (typeof VaultOrder)[keyof typeof VaultOrder];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateWebhookEndpointEvents = {\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type CreateWebhookEndpointEvents =\n (typeof CreateWebhookEndpointEvents)[keyof typeof CreateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointEvents = {\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type UpdateWebhookEndpointEvents =\n (typeof UpdateWebhookEndpointEvents)[keyof typeof UpdateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type UpdateWebhookEndpointStatus =\n (typeof UpdateWebhookEndpointStatus)[keyof typeof UpdateWebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type WebhookEndpointStatus =\n (typeof WebhookEndpointStatus)[keyof typeof WebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WidgetSessionTokenScopes = {\n WidgetsUsersTableManage: 'widgets:users-table:manage',\n WidgetsDomainVerificationManage: 'widgets:domain-verification:manage',\n WidgetsSSOManage: 'widgets:sso:manage',\n WidgetsApiKeysManage: 'widgets:api-keys:manage',\n WidgetsDsyncManage: 'widgets:dsync:manage',\n WidgetsAuditLogStreamingManage: 'widgets:audit-log-streaming:manage',\n} as const;\n\nexport type WidgetSessionTokenScopes =\n (typeof WidgetSessionTokenScopes)[keyof typeof WidgetSessionTokenScopes];\n","// @oagen-ignore-file\nimport { SubtleCryptoProvider } from './common/crypto/subtle-crypto-provider';\nimport { CryptoProvider } from './common/crypto/crypto-provider';\n\nimport { HttpClient } from './common/net/http-client';\nimport { FetchHttpClient } from './common/net/fetch-client';\n\nimport { Actions } from './actions/actions';\nimport { Webhooks } from './webhooks/webhooks';\nimport { WorkOS } from './workos';\nimport { WorkOSOptions } from './common/interfaces';\n\nexport * from './actions/interfaces';\nexport * from './agents/interfaces';\nexport * from './api-keys/interfaces';\nexport * from './audit-logs/interfaces';\nexport * from './authorization/interfaces';\nexport * from './connect/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 './feature-flags/interfaces';\nexport { FeatureFlagsRuntimeClient } from './feature-flags/runtime-client';\nexport * from './groups/interfaces';\nexport * from './multi-factor-auth/interfaces';\nexport * from './organizations/interfaces';\nexport * from './organization-domains/interfaces';\nexport * from './passwordless/interfaces';\nexport * from './pipes/interfaces';\nexport * from './admin-portal/interfaces';\nexport * from './radar/interfaces';\nexport * from './roles/interfaces';\nexport * from './sso/interfaces';\nexport * from './user-management/interfaces';\nexport { CookieSession } from './user-management/session';\nexport * from './vault/interfaces';\nexport * from './webhooks/interfaces';\nexport * from './widgets/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 WorkOSNode extends WorkOS {\n /** @override */\n createHttpClient(options: WorkOSOptions, userAgent: string): HttpClient {\n const headers: Record<string, string> = {};\n\n const configHeaders = options.config?.headers;\n if (configHeaders) {\n if (configHeaders instanceof Headers) {\n configHeaders.forEach((v, k) => (headers[k] = v));\n } else if (Array.isArray(configHeaders)) {\n configHeaders.forEach(([k, v]) => (headers[k] = v));\n } else {\n Object.assign(headers, configHeaders);\n }\n }\n\n headers['User-Agent'] = userAgent;\n\n if (this.key) {\n headers['Authorization'] = `Bearer ${this.key}`;\n }\n\n const opts = {\n ...options.config,\n timeout: options.timeout,\n maxRetries: options.maxRetries,\n headers,\n };\n\n return new FetchHttpClient(this.baseURL, opts, options.fetchFn);\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 return new Actions(this.getCryptoProvider());\n }\n\n /** @override */\n emitWarning(warning: string): void {\n return process.emitWarning(warning, 'WorkOS');\n }\n}\n\nexport { WorkOSNode as WorkOS };\n"],"mappings":";;;AAEA,MAAa,+CAA+C;CAC1D,QAAQ;CACR,UAAU;CACV,SAAS;AACX;;;ACJA,MAAa,6BAA6B;CACxC,OAAO;CACP,QAAQ;AACV;;;ACHA,MAAa,wBAAwB;CACnC,WAAW;CACX,sBAAsB;AACxB;;;ACHA,MAAa,0CAA0C;CACrD,aAAa;CACb,iBAAiB;AACnB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