{"version":3,"sources":["../../../../src/experimental/api/fetch.ts"],"sourcesContent":["/**\n * Generated by orval v8.5.0 🍺\n * Do not edit manually.\n * WorkOS Widgets\n * WorkOS Widgets API\n * OpenAPI spec version: 1.0\n */\nexport type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];\n\nexport const MemberStatus = {\n  Active: \"Active\",\n  Invited: \"Invited\",\n  InviteExpired: \"InviteExpired\",\n  InviteRevoked: \"InviteRevoked\",\n  NoInvite: \"NoInvite\",\n} as const;\n\nexport type MemberActionsItem =\n  (typeof MemberActionsItem)[keyof typeof MemberActionsItem];\n\nexport const MemberActionsItem = {\n  \"edit-role\": \"edit-role\",\n  \"resend-invite\": \"resend-invite\",\n  \"revoke-invite\": \"revoke-invite\",\n  \"revoke-membership\": \"revoke-membership\",\n} as const;\n\nexport type MemberActions = MemberActionsItem[];\n\nexport type MemberRoles =\n  | {\n      name: string;\n      slug: string;\n      /** @nullable */\n      description?: string | null;\n    }[]\n  | null;\n\nexport interface Member {\n  id: string;\n  email: string;\n  emailVerified: boolean;\n  /** @nullable */\n  profilePictureUrl?: string | null;\n  /** @nullable */\n  firstName?: string | null;\n  /** @nullable */\n  lastName?: string | null;\n  /** An ISO 8601 timestamp. */\n  createdAt: string;\n  /** @nullable */\n  lastActivityAt?: string | null;\n  status: MemberStatus;\n  actions: MemberActions;\n  isLoggedInUser?: true | null;\n  roles?: MemberRoles;\n}\n\n/**\n * Pagination cursors for navigating between pages of results.\n */\nexport interface ListMetadata {\n  /**\n   * An object ID that defines your place in the list. When the ID is not present, you are at the start of the list.\n   * @nullable\n   */\n  before: string | null;\n  /**\n   * An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.\n   * @nullable\n   */\n  after: string | null;\n}\n\nexport interface MembersResponse {\n  data: Member[];\n  list_metadata: ListMetadata;\n}\n\nexport interface MemberRole {\n  name: string;\n  slug: string;\n  default: boolean;\n  /** @nullable */\n  description?: string | null;\n}\n\nexport interface RolesAndConfigResponse {\n  roles: MemberRole[];\n  multipleRolesEnabled: boolean;\n}\n\nexport interface InviteMemberResponse {\n  success: boolean;\n}\n\nexport interface ResendInviteResponse {\n  /** @nullable */\n  id?: string | null;\n  success: boolean;\n}\n\nexport interface RevokeMemberResponse {\n  id: string;\n  success: boolean;\n}\n\nexport interface UpdateMemberResponse {\n  id: string;\n  success: boolean;\n}\n\nexport interface RemoveMemberResponse {\n  id: string;\n  success: boolean;\n}\n\nexport interface OrganizationInfo {\n  id: string;\n  name: string;\n  current: boolean;\n  /** @nullable */\n  favicon?: string | null;\n}\n\nexport interface OrganizationsResponse {\n  data: OrganizationInfo[];\n}\n\nexport interface OAuthProfile {\n  id: string;\n  /** @nullable */\n  email?: string | null;\n  /** @nullable */\n  firstName?: string | null;\n  /** @nullable */\n  lastName?: string | null;\n  /** @nullable */\n  profilePictureUrl?: string | null;\n  /** @nullable */\n  lastLoginAt?: string | null;\n}\n\nexport type MeOauthProfiles = {\n  AppleOAuth?: OAuthProfile;\n  GithubOAuth?: OAuthProfile;\n  GoogleOAuth?: OAuthProfile;\n  MicrosoftOAuth?: OAuthProfile;\n} | null;\n\nexport interface Me {\n  id: string;\n  email: string;\n  /** @nullable */\n  firstName?: string | null;\n  /** @nullable */\n  lastName?: string | null;\n  /** @nullable */\n  locale?: string | null;\n  /** @nullable */\n  profilePictureUrl?: string | null;\n  oauthProfiles?: MeOauthProfiles;\n}\n\nexport type CreateTotpFactorResponseAuthenticationFactor = {\n  object: \"authentication_factor\";\n  id: string;\n  type: \"generic_otp\" | \"sms\" | \"totp\" | \"webauthn\";\n  /** @nullable */\n  user_id?: string | null;\n  sms?: {\n    phone_number: string;\n  } | null;\n  totp?:\n    | {\n        issuer: string;\n        user: string;\n        secret: string;\n        qr_code: string;\n        uri: string;\n      }\n    | {\n        issuer: string;\n        user: string;\n      }\n    | null;\n} & {\n  created_at: string;\n  updated_at: string;\n};\n\nexport type CreateTotpFactorResponseAuthenticationChallenge = {\n  object: \"authentication_challenge\";\n  id: string;\n  /** @nullable */\n  expires_at?: string | null;\n  /** @nullable */\n  code?: string | null;\n  authentication_factor_id: string;\n} & {\n  created_at: string;\n  updated_at: string;\n};\n\nexport interface CreateTotpFactorResponse {\n  authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;\n  authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;\n}\n\nexport interface VerifyTotpFactorRequest {\n  code: string;\n  authenticationChallengeId: string;\n}\n\nexport type AuthenticationInformationResponseDataVerificationMethodsMfa = {\n  provider: \"MFA\";\n  isSetUp: boolean;\n  /** @nullable */\n  lastUsed?: string | null;\n} | null;\n\nexport type AuthenticationInformationResponseDataVerificationMethodsPassword = {\n  provider: \"Password\";\n  isSetUp: boolean;\n  /** @nullable */\n  lastUsed?: string | null;\n  isCurrentSession: boolean;\n} | null;\n\nexport type AuthenticationInformationResponseDataVerificationMethodsPasskey = {\n  provider: \"Passkey\";\n  isSetUp: boolean;\n  /** @nullable */\n  lastUsed?: string | null;\n  passKeys: {\n    id: string;\n  }[];\n  isCurrentSession: boolean;\n} | null;\n\nexport type AuthenticationInformationResponseDataVerificationMethods = {\n  Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;\n  Password?: AuthenticationInformationResponseDataVerificationMethodsPassword;\n  Passkey?: AuthenticationInformationResponseDataVerificationMethodsPasskey;\n};\n\nexport type AuthenticationInformationResponseDataPasswordSettings = {\n  isPasswordNumberRequired: boolean;\n  isPasswordPwnedRequired: boolean;\n  isPasswordSymbolRequired: boolean;\n  isPasswordUppercaseRequired: boolean;\n  passwordMinimumLength: number;\n  passwordMinimumStrength: number;\n};\n\nexport type AuthenticationInformationResponseData = {\n  verificationMethods: AuthenticationInformationResponseDataVerificationMethods;\n  passwordSettings: AuthenticationInformationResponseDataPasswordSettings;\n};\n\nexport interface AuthenticationInformationResponse {\n  data: AuthenticationInformationResponseData;\n}\n\nexport interface CreatePasswordRequest {\n  password: string;\n}\n\nexport interface UpdatePasswordRequest {\n  newPassword: string;\n  currentPassword: string;\n}\n\nexport interface RevokeAllSessionsRequest {\n  currentSessionId: string;\n}\n\nexport type ActiveSessionState = {\n  tag: string;\n  /** @nullable */\n  expiresAt?: string | null;\n};\n\nexport type ActiveSessionCurrentLocation = {\n  cityName: string;\n  countryISOCode: string;\n} | null;\n\nexport interface ActiveSession {\n  id: string;\n  userlandUserId: string;\n  /** @nullable */\n  ipAddress?: string | null;\n  /** @nullable */\n  userAgent?: string | null;\n  /** @nullable */\n  organizationId?: string | null;\n  state: ActiveSessionState;\n  currentLocation?: ActiveSessionCurrentLocation;\n  usedSsoAuth: boolean;\n  usedPasswordAuth: boolean;\n  usedPasskeyAuth: boolean;\n  usedAppleOauth: boolean;\n  usedBitbucketOauth: boolean;\n  usedGithubOauth: boolean;\n  usedGitLabOauth: boolean;\n  usedGoogleOauth: boolean;\n  usedLinkedInOauth: boolean;\n  usedImpersonation: boolean;\n  usedMicrosoftOauth: boolean;\n  usedSlackOauth: boolean;\n  usedXeroOauth: boolean;\n  usedMagicAuth: boolean;\n  /** @nullable */\n  impersonatorUserId?: string | null;\n  /** @nullable */\n  impersonatorEmail?: string | null;\n  /** @nullable */\n  impersonationReason?: string | null;\n  /** @nullable */\n  lastActivityAt?: string | null;\n  createdAt: string;\n  updatedAt: string;\n}\n\nexport interface ActiveSessionsResponse {\n  data: ActiveSession[];\n}\n\nexport interface SendVerificationResponse {\n  authenticationChallenge: string;\n  type: \"EmailVerification\";\n}\n\nexport interface VerifyRequest {\n  code: string;\n  authenticationChallengeId: string;\n}\n\nexport interface VerifyResponse {\n  elevatedAccessToken: string;\n  expiresAt: string;\n}\n\nexport interface SendEmailChangeRequest {\n  newEmail: string;\n}\n\nexport interface SendEmailChangeResponse {\n  expiresAt: string;\n}\n\nexport interface VerifyEmailChangeRequest {\n  code: string;\n}\n\nexport interface VerifyEmailChangeResponse {\n  user: Me;\n  elevatedAccessToken: string;\n  expiresAt: string;\n}\n\nexport type RegisterPasskeyResponseOptions = { [key: string]: unknown };\n\nexport interface RegisterPasskeyResponse {\n  challengeId: string;\n  options: RegisterPasskeyResponseOptions;\n}\n\nexport type VerifyPasskeyRequestResponse = { [key: string]: unknown };\n\nexport interface VerifyPasskeyRequest {\n  challengeId: string;\n  response: VerifyPasskeyRequestResponse;\n}\n\nexport interface SettingsResponse {\n  object: \"settings\";\n  authkitOrigin: string;\n  /** @nullable */\n  logoDarkIconPath?: string | null;\n  /** @nullable */\n  logoDarkPath?: string | null;\n  /** @nullable */\n  logoLightIconPath?: string | null;\n  /** @nullable */\n  logoLightPath?: string | null;\n  teamName: string;\n}\n\nexport type OrganizationDomainState =\n  (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];\n\nexport const OrganizationDomainState = {\n  Failed: \"Failed\",\n  LegacyVerified: \"LegacyVerified\",\n  Pending: \"Pending\",\n  Verified: \"Verified\",\n} as const;\n\nexport type DomainVerificationNameServer =\n  (typeof DomainVerificationNameServer)[keyof typeof DomainVerificationNameServer];\n\nexport const DomainVerificationNameServer = {\n  AwsRoute53: \"AwsRoute53\",\n  GoogleDomains: \"GoogleDomains\",\n  CloudFlare: \"CloudFlare\",\n  GoDaddy: \"GoDaddy\",\n  Other: \"Other\",\n} as const;\n\nexport interface OrganizationDomain {\n  id: string;\n  domain: string;\n  state: OrganizationDomainState;\n  nameServer: DomainVerificationNameServer;\n  /** @nullable */\n  verificationPrefix?: string | null;\n  /** @nullable */\n  verificationToken?: string | null;\n  /** @nullable */\n  subdomain?: string | null;\n  createdAt: string;\n}\n\nexport interface X509CertificateJSON {\n  id: string;\n  value: string;\n  /** @nullable */\n  notBefore?: string | null;\n  /** @nullable */\n  notAfter?: string | null;\n  /** @nullable */\n  lastExpiryEventSentAt?: string | null;\n}\n\nexport type SamlSessionState =\n  (typeof SamlSessionState)[keyof typeof SamlSessionState];\n\nexport const SamlSessionState = {\n  Authorized: \"Authorized\",\n  Failed: \"Failed\",\n  Started: \"Started\",\n  Successful: \"Successful\",\n  Timedout: \"Timedout\",\n} as const;\n\nexport type OidcSessionState =\n  (typeof OidcSessionState)[keyof typeof OidcSessionState];\n\nexport const OidcSessionState = {\n  Started: \"Started\",\n  Authorized: \"Authorized\",\n  Successful: \"Successful\",\n  Failed: \"Failed\",\n  Terminated: \"Terminated\",\n  Timedout: \"Timedout\",\n} as const;\n\nexport const SsoConnectionSessionJSONState = {\n  ...SamlSessionState,\n  ...OidcSessionState,\n} as const;\nexport interface SsoConnectionSessionJSON {\n  id: string;\n  createdAt: string;\n  state: (typeof SsoConnectionSessionJSONState)[keyof typeof SsoConnectionSessionJSONState];\n}\n\nexport type SsoConnection =\n  | {\n      id: string;\n      type:\n        | \"AdfsSaml\"\n        | \"Auth0Saml\"\n        | \"AzureSaml\"\n        | \"CasSaml\"\n        | \"ClassLinkSaml\"\n        | \"CloudflareSaml\"\n        | \"CyberArkSaml\"\n        | \"DuoSaml\"\n        | \"GenericSaml\"\n        | \"GoogleSaml\"\n        | \"JumpCloudSaml\"\n        | \"KeycloakSaml\"\n        | \"LastPassSaml\"\n        | \"MiniOrangeSaml\"\n        | \"NetIqSaml\"\n        | \"OktaSaml\"\n        | \"OneLoginSaml\"\n        | \"OracleSaml\"\n        | \"PingFederateSaml\"\n        | \"PingOneSaml\"\n        | \"RipplingSaml\"\n        | \"SalesforceSaml\"\n        | \"ShibbolethGenericSaml\"\n        | \"ShibbolethSaml\"\n        | \"SimpleSamlPhpSaml\"\n        | \"TestIdp\"\n        | \"VmWareSaml\";\n      name: string;\n      state: \"Inactive\" | \"Validating\" | \"Active\" | \"Deleting\";\n      x509Certificates: X509CertificateJSON[];\n      latestExpiringCertificate?: X509CertificateJSON | null;\n      latestExpiredCertificate?: X509CertificateJSON | null;\n      createdAt: string;\n      providerTag: \"Saml\";\n      lastSession?: SsoConnectionSessionJSON | null;\n    }\n  | ({\n      id: string;\n      name: string;\n      state: \"Inactive\" | \"Validating\" | \"Active\" | \"Deleting\";\n      type:\n        | \"AdpOidc\"\n        | \"Auth0Migration\"\n        | \"CleverOidc\"\n        | \"EntraIdOidc\"\n        | \"GenericOidc\"\n        | \"GoogleOidc\"\n        | \"OktaOidc\"\n        | \"LoginGovOidc\";\n      createdAt: string;\n      providerTag: \"OpenIdConnect\";\n      lastSession?: SsoConnectionSessionJSON | null;\n    } & {\n      /** @nullable */\n      x509Certificates?: null;\n      /** @nullable */\n      latestExpiringCertificate?: null;\n      /** @nullable */\n      latestExpiredCertificate?: null;\n    });\n\nexport type AuditLogStreamState = \"Active\" | \"Inactive\" | \"Error\" | \"Invalid\";\n\nexport type AuditLogStreamType =\n  | \"Datadog\"\n  | \"Splunk\"\n  | \"S3\"\n  | \"GoogleCloudStorage\"\n  | \"GenericHttps\"\n  | \"AzureSentinel\";\n\nexport interface AuditLogStreamJSON {\n  id: string;\n  state: AuditLogStreamState;\n  type: AuditLogStreamType;\n  /** @nullable */\n  errorMessage?: string | null;\n  /** @nullable */\n  lastSyncedEventId?: string | null;\n  auditLogTrailId: string;\n}\n\nexport interface ListOrganizationApiKeysResponseData {\n  id: string;\n  name: string;\n  obfuscatedValue: string;\n  createdAt: string;\n  /** @nullable */\n  lastUsedAt?: string | null;\n  permissions: string[];\n}\n\nexport type ListOrganizationApiKeysResponseListMetadata = {\n  before?: string;\n  after?: string;\n};\n\nexport interface ListOrganizationApiKeysResponse {\n  data: ListOrganizationApiKeysResponseData[];\n  list_metadata: ListOrganizationApiKeysResponseListMetadata;\n}\n\nexport interface CreateOrganizationApiKeyRequest {\n  name: string;\n  permissions: string[];\n}\n\nexport interface CreateOrganizationApiKeyResponse {\n  id: string;\n  value: string;\n  obfuscatedValue: string;\n  createdAt: string;\n  name: string;\n  permissions: string[];\n}\n\nexport interface ListOrganizationApiKeyPermission {\n  id: string;\n  slug: string;\n  name: string;\n  /** @nullable */\n  description?: string | null;\n}\n\nexport type ListOrganizationApiKeyPermissionsResponseListMetadata = {\n  before?: string;\n  after?: string;\n};\n\nexport interface ListOrganizationApiKeyPermissionsResponse {\n  data: ListOrganizationApiKeyPermission[];\n  list_metadata: ListOrganizationApiKeyPermissionsResponseListMetadata;\n}\n\nexport type ListUserApiKeysResponseDataOwner = {\n  type: \"user\";\n  id: string;\n  email: string;\n  /** @nullable */\n  firstName?: string | null;\n  /** @nullable */\n  lastName?: string | null;\n  displayName: string;\n};\n\nexport interface ListUserApiKeysResponseData {\n  id: string;\n  owner: ListUserApiKeysResponseDataOwner;\n  name: string;\n  obfuscatedValue: string;\n  createdAt: string;\n  /** @nullable */\n  lastUsedAt?: string | null;\n  permissions: string[];\n}\n\nexport type ListUserApiKeysResponseListMetadata = {\n  before?: string;\n  after?: string;\n};\n\nexport interface ListUserApiKeysResponse {\n  data: ListUserApiKeysResponseData[];\n  list_metadata: ListUserApiKeysResponseListMetadata;\n}\n\nexport interface CreateUserApiKeyRequest {\n  name: string;\n  permissions: string[];\n}\n\nexport interface CreateUserApiKeyResponse {\n  id: string;\n  value: string;\n  obfuscatedValue: string;\n  createdAt: string;\n  name: string;\n  permissions: string[];\n}\n\nexport interface ListUserApiKeyPermission {\n  id: string;\n  slug: string;\n  name: string;\n  /** @nullable */\n  description?: string | null;\n}\n\nexport type ListUserApiKeyPermissionsResponseListMetadata = {\n  before?: string;\n  after?: string;\n};\n\nexport interface ListUserApiKeyPermissionsResponse {\n  data: ListUserApiKeyPermission[];\n  list_metadata: ListUserApiKeyPermissionsResponseListMetadata;\n}\n\nexport type DataInstallation = {\n  object: \"data_installation\" | \"connected_account\";\n  id: string;\n  /** @nullable */\n  user_id?: string | null;\n  /** @nullable */\n  organization_id?: string | null;\n  scopes: string[];\n  state: \"connected\" | \"needs_reauthorization\";\n  created_at: string;\n  updated_at: string;\n} & {\n  /** @nullable */\n  userlandUserId?: string | null;\n  /** @nullable */\n  organizationId?: string | null;\n  createdAt?: string;\n  updatedAt?: string;\n};\n\nexport type DataIntegration = {\n  object: \"data_integration\";\n  id: string;\n  name: string;\n  /** @nullable */\n  description?: string | null;\n  slug: string;\n  integrationType:\n    | \"asana\"\n    | \"attio\"\n    | \"box\"\n    | \"cal-dot-com\"\n    | \"calendly\"\n    | \"confluence\"\n    | \"datadog\"\n    | \"dropbox\"\n    | \"frame-io\"\n    | \"front\"\n    | \"github\"\n    | \"gitlab\"\n    | \"gmail\"\n    | \"gong\"\n    | \"google\"\n    | \"google-calendar\"\n    | \"google-drive\"\n    | \"helpscout\"\n    | \"hubspot\"\n    | \"intercom\"\n    | \"intralinks\"\n    | \"jira\"\n    | \"linear\"\n    | \"microsoft\"\n    | \"microsoft-onedrive\"\n    | \"microsoft-onenote\"\n    | \"microsoft-outlook\"\n    | \"microsoft-outlook-calendar\"\n    | \"microsoft-sharepoint\"\n    | \"microsoft-teams\"\n    | \"microsoft-todo\"\n    | \"notion\"\n    | \"prefect\"\n    | \"pydantic-logfire\"\n    | \"quickbooks\"\n    | \"salesforce\"\n    | \"sentry\"\n    | \"slack\"\n    | \"snowflake\"\n    | \"stripe\"\n    | \"xero\"\n    | \"zendesk\"\n    | \"zoom\"\n    | string;\n  ownership: \"userland_user\" | \"organization\";\n  credentialsType: \"shared\" | \"custom\";\n  scopes?: string[] | null;\n  createdAt: string;\n  updatedAt: string;\n  installation?: DataInstallation | null;\n} & {\n  iconSlug?: string;\n  iconUrl?: string;\n  iconDarkUrl?: string;\n};\n\nexport interface DataIntegrationsResponse {\n  data: DataIntegration[];\n}\n\nexport type GetDataIntegrationAuthorizeUrlResponse = {\n  url: string;\n  redirectToken: string;\n} & {\n  handoffToken?: string;\n};\n\nexport interface GetAuthorizationStatusResponse {\n  isConnecting: boolean;\n}\n\nexport type DirectoryType = (typeof DirectoryType)[keyof typeof DirectoryType];\n\nexport const DirectoryType = {\n  azure_scim_v20: \"azure scim v2.0\",\n  bamboohr: \"bamboohr\",\n  breathe_hr: \"breathe hr\",\n  cezanne_hr: \"cezanne hr\",\n  cyberark_scim_v20: \"cyberark scim v2.0\",\n  fourth_hr: \"fourth hr\",\n  generic_scim_v20: \"generic scim v2.0\",\n  gsuite_directory: \"gsuite directory\",\n  gusto: \"gusto\",\n  hibob: \"hibob\",\n  jump_cloud_scim_v20: \"jump cloud scim v2.0\",\n  okta_scim_v20: \"okta scim v2.0\",\n  onelogin_scim_v20: \"onelogin scim v2.0\",\n  people_hr: \"people hr\",\n  personio: \"personio\",\n  pingfederate_scim_v20: \"pingfederate scim v2.0\",\n  rippling: \"rippling\",\n  rippling_scim_v20: \"rippling scim v2.0\",\n  s3: \"s3\",\n  sailpoint_scim_v20: \"sailpoint scim v2.0\",\n  sftp: \"sftp\",\n  sftp_workday: \"sftp workday\",\n  workday: \"workday\",\n} as const;\n\nexport type DirectoryState =\n  (typeof DirectoryState)[keyof typeof DirectoryState];\n\nexport const DirectoryState = {\n  requires_type: \"requires_type\",\n  linked: \"linked\",\n  validating: \"validating\",\n  invalid_credentials: \"invalid_credentials\",\n  unlinked: \"unlinked\",\n  deleting: \"deleting\",\n} as const;\n\nexport interface DirectoryUsersMetadata {\n  active: number;\n  inactive: number;\n}\n\nexport interface DirectoryMetadata {\n  users: DirectoryUsersMetadata;\n  groups: number;\n}\n\nexport interface Directory {\n  id: string;\n  name: string;\n  type: DirectoryType;\n  state: DirectoryState;\n  createdAt: string;\n  updatedAt: string;\n  /** @nullable */\n  lastSyncRunAt?: string | null;\n  metadata: DirectoryMetadata;\n}\n\nexport interface DirectoriesResponse {\n  data: Directory[];\n  link: string;\n}\n\nexport type CreateOrganizationApiKey400ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type CreateOrganizationApiKey400 = {\n  message: string;\n  errors: CreateOrganizationApiKey400ErrorsItem[];\n};\n\nexport type CreateOrganizationApiKey403 = {\n  message: string;\n};\n\nexport type CreateOrganizationApiKey404 = {\n  message: string;\n};\n\nexport type CreateOrganizationApiKey422ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type CreateOrganizationApiKey422 = {\n  message: string;\n  errors: CreateOrganizationApiKey422ErrorsItem[];\n};\n\nexport type ListOrganizationApiKeysParams = {\n  limit?: number;\n  before?: string;\n  after?: string;\n  search?: string;\n};\n\nexport type ListOrganizationApiKeys400ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type ListOrganizationApiKeys400 = {\n  message: string;\n  errors: ListOrganizationApiKeys400ErrorsItem[];\n};\n\nexport type ListOrganizationApiKeys403 = {\n  message: string;\n};\n\nexport type ListOrganizationApiKeyPermissionsParams = {\n  search?: string;\n  limit?: number;\n  before?: string;\n  after?: string;\n};\n\nexport type ListOrganizationApiKeyPermissions400ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type ListOrganizationApiKeyPermissions400 = {\n  message: string;\n  errors: ListOrganizationApiKeyPermissions400ErrorsItem[];\n};\n\nexport type ListOrganizationApiKeyPermissions403 = {\n  message: string;\n};\n\nexport type DeleteOrganizationApiKey200 = {\n  success: boolean;\n};\n\nexport type DeleteOrganizationApiKey403 = {\n  message: string;\n};\n\nexport type DeleteOrganizationApiKey404 = {\n  message: string;\n};\n\nexport type DeleteDataInstallation200 = {\n  success: boolean;\n};\n\nexport type DeleteDataInstallation403 = {\n  message: string;\n};\n\nexport type DeleteDataInstallation404 = {\n  message: string;\n};\n\nexport type MyDataIntegrations403 = {\n  message: string;\n};\n\nexport type GetDataInstallationAuthorizationStatus400 = {\n  message: string;\n};\n\nexport type GetDataInstallationAuthorizationStatus403 = {\n  message: string;\n};\n\nexport type GetDataInstallationAuthorizationStatus404 = {\n  message: string;\n};\n\nexport type GetDataIntegrationAuthorizeUrlParams = {\n  requireHandoff?: boolean;\n};\n\nexport type GetDataIntegrationAuthorizeUrl400 = {\n  message: string;\n};\n\nexport type GetDataIntegrationAuthorizeUrl403 = {\n  message: string;\n};\n\nexport type GetDataIntegrationAuthorizeUrl404 = {\n  message: string;\n};\n\nexport type CreateUserApiKey400ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type CreateUserApiKey400 = {\n  message: string;\n  errors: CreateUserApiKey400ErrorsItem[];\n};\n\nexport type CreateUserApiKey403 = {\n  message: string;\n};\n\nexport type CreateUserApiKey404 = {\n  message: string;\n};\n\nexport type CreateUserApiKey422ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type CreateUserApiKey422 = {\n  message: string;\n  errors: CreateUserApiKey422ErrorsItem[];\n};\n\nexport type ListUserApiKeysParams = {\n  limit?: number;\n  before?: string;\n  after?: string;\n  search?: string;\n};\n\nexport type ListUserApiKeys400ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type ListUserApiKeys400 = {\n  message: string;\n  errors: ListUserApiKeys400ErrorsItem[];\n};\n\nexport type ListUserApiKeys403 = {\n  message: string;\n};\n\nexport type ListUserApiKeyPermissionsParams = {\n  search?: string;\n  limit?: number;\n  before?: string;\n  after?: string;\n};\n\nexport type ListUserApiKeyPermissions400ErrorsItem = {\n  code: string;\n  field: string;\n};\n\nexport type ListUserApiKeyPermissions400 = {\n  message: string;\n  errors: ListUserApiKeyPermissions400ErrorsItem[];\n};\n\nexport type ListUserApiKeyPermissions403 = {\n  message: string;\n};\n\nexport type DeleteUserApiKey200 = {\n  success: boolean;\n};\n\nexport type DeleteUserApiKey403 = {\n  message: string;\n};\n\nexport type DeleteUserApiKey404 = {\n  message: string;\n};\n\nexport type InviteMemberBody = {\n  email: string;\n  /** @nullable */\n  firstName?: string | null;\n  /** @nullable */\n  lastName?: string | null;\n  roles: string[];\n};\n\nexport type InviteMember400 = {\n  message: string;\n};\n\nexport type InviteMember403 = {\n  message: string;\n};\n\nexport type InviteMember404 = {\n  message: string;\n};\n\nexport type RevokeInvite400 = {\n  message: string;\n};\n\nexport type RevokeInvite403 = {\n  message: string;\n};\n\nexport type RevokeInvite404 = {\n  message: string;\n};\n\nexport type ResendInvite400 = {\n  message: string;\n};\n\nexport type ResendInvite403 = {\n  message: string;\n};\n\nexport type ResendInvite404 = {\n  message: string;\n};\n\nexport type ResendInvite422 = {\n  message: string;\n};\n\nexport type MembersParams = {\n  search?: string;\n  limit?: string;\n  before?: string;\n  after?: string;\n  role?: string;\n};\n\nexport type Members403 = {\n  message: string;\n};\n\nexport type Members404 = {\n  message: string;\n};\n\nexport type RemoveMember400 = {\n  message: string;\n};\n\nexport type RemoveMember403 = {\n  message: string;\n};\n\nexport type RemoveMember404 = {\n  message: string;\n};\n\nexport type UpdateMemberBody = {\n  roles: string[];\n};\n\nexport type UpdateMember400 = {\n  message: string;\n};\n\nexport type UpdateMember403 = {\n  message: string;\n};\n\nexport type UpdateMember404 = {\n  message: string;\n};\n\nexport type UpdateMember422 = {\n  message: string;\n};\n\nexport type Organizations403 = {\n  message: string;\n};\n\nexport type Organizations404 = {\n  message: string;\n};\n\nexport type Roles403 = {\n  message: string;\n};\n\nexport type Roles404 = {\n  message: string;\n};\n\nexport type RolesAndConfig403 = {\n  message: string;\n};\n\nexport type RolesAndConfig404 = {\n  message: string;\n};\n\nexport type AuthenticationInformation403 = {\n  message: string;\n};\n\nexport type CreatePassword201 = {\n  success: boolean;\n};\n\nexport type CreatePassword400 = {\n  message: string;\n};\n\nexport type CreatePassword403 = {\n  message: string;\n};\n\nexport type CreateTotpFactor400 = {\n  message: string;\n};\n\nexport type CreateTotpFactor403 = {\n  message: string;\n};\n\nexport type Me403 = {\n  message: string;\n};\n\nexport type UpdateMeBody = {\n  firstName?: string;\n  lastName?: string;\n  locale?: string;\n};\n\nexport type UpdateMe400 = {\n  message: string;\n};\n\nexport type UpdateMe403 = {\n  message: string;\n};\n\nexport type RegisterPasskey400 = {\n  message: string;\n};\n\nexport type RegisterPasskey403 = {\n  message: string;\n};\n\nexport type VerifyPasskey200 = {\n  success: boolean;\n};\n\nexport type VerifyPasskey400 = {\n  message: string;\n};\n\nexport type VerifyPasskey403 = {\n  message: string;\n};\n\nexport type DeletePasskey200 = {\n  success: boolean;\n};\n\nexport type DeletePasskey400 = {\n  message: string;\n};\n\nexport type DeletePasskey403 = {\n  message: string;\n};\n\nexport type SendEmailChange400 = {\n  message: string;\n};\n\nexport type SendEmailChange403 = {\n  message: string;\n};\n\nexport type SendEmailChange409 = {\n  message: string;\n};\n\nexport type SendEmailChange422 = {\n  message: string;\n};\n\nexport type SendEmailChange429 = {\n  message: string;\n};\n\nexport type SendVerification400 = {\n  message: string;\n};\n\nexport type SendVerification403 = {\n  message: string;\n};\n\nexport type Sessions403 = {\n  message: string;\n};\n\nexport type RevokeAllSessions200 = {\n  success: boolean;\n};\n\nexport type RevokeAllSessions400 = {\n  message: string;\n};\n\nexport type RevokeAllSessions403 = {\n  message: string;\n};\n\nexport type RevokeSession200 = {\n  success: boolean;\n};\n\nexport type RevokeSession400 = {\n  message: string;\n};\n\nexport type RevokeSession403 = {\n  message: string;\n};\n\nexport type DeleteTotpFactors200 = {\n  success: boolean;\n};\n\nexport type DeleteTotpFactors400 = {\n  message: string;\n};\n\nexport type DeleteTotpFactors403 = {\n  message: string;\n};\n\nexport type UpdatePassword201 = {\n  success: boolean;\n};\n\nexport type UpdatePassword400 = {\n  message: string;\n};\n\nexport type UpdatePassword403 = {\n  message: string;\n};\n\nexport type Verify400 = {\n  message: string;\n};\n\nexport type Verify403 = {\n  message: string;\n};\n\nexport type VerifyEmailChange400 = {\n  message: string;\n};\n\nexport type VerifyEmailChange403 = {\n  message: string;\n};\n\nexport type VerifyEmailChange409 = {\n  message: string;\n};\n\nexport type VerifyEmailChange422 = {\n  message: string;\n};\n\nexport type VerifyEmailChange429 = {\n  message: string;\n};\n\nexport type VerifyTotpFactor200 = {\n  success: boolean;\n};\n\nexport type VerifyTotpFactor400 = {\n  message: string;\n};\n\nexport type VerifyTotpFactor403 = {\n  message: string;\n};\n\nexport type GetAuditLogStream200 =\n  | AuditLogStreamJSON\n  | { [key: string]: unknown };\n\nexport type GetAuditLogStream403 = {\n  message: string;\n};\n\nexport type GenerateAdminPortalLinkParams = {\n  intent: GenerateAdminPortalLinkIntent;\n};\n\nexport type GenerateAdminPortalLinkIntent =\n  (typeof GenerateAdminPortalLinkIntent)[keyof typeof GenerateAdminPortalLinkIntent];\n\nexport const GenerateAdminPortalLinkIntent = {\n  domain_verification: \"domain_verification\",\n  sso: \"sso\",\n  log_streams: \"log_streams\",\n} as const;\n\nexport type GenerateAdminPortalLink201 = {\n  link: string;\n};\n\nexport type GenerateAdminPortalLink403 = {\n  message: string;\n};\n\nexport type GenerateAdminPortalLink404 = {\n  message: string;\n};\n\nexport type GenerateAdminPortalLink500 = {\n  message: string;\n};\n\nexport type ListOrganizationDomains200 = {\n  data: OrganizationDomain[];\n};\n\nexport type ListOrganizationDomains403 = {\n  message: string;\n};\n\nexport type ListOrganizationDomains404 = {\n  message: string;\n};\n\nexport type DeleteOrganizationDomain403 = {\n  message: string;\n};\n\nexport type DeleteOrganizationDomain404 = {\n  message: string;\n};\n\nexport type ReverifyOrganizationDomain403 = {\n  message: string;\n};\n\nexport type ReverifyOrganizationDomain404 = {\n  message: string;\n};\n\nexport type ListDirectories403 = {\n  message: string;\n};\n\nexport type ListDirectories404 = {\n  message: string;\n};\n\nexport type GetDirectory403 = {\n  message: string;\n};\n\nexport type GetDirectory404 = {\n  message: string;\n};\n\nexport type Settings403 = {\n  message: string;\n};\n\nexport type createOrganizationApiKeyResponse201 = {\n  data: CreateOrganizationApiKeyResponse;\n  status: 201;\n};\n\nexport type createOrganizationApiKeyResponse400 = {\n  data: CreateOrganizationApiKey400;\n  status: 400;\n};\n\nexport type createOrganizationApiKeyResponse403 = {\n  data: CreateOrganizationApiKey403;\n  status: 403;\n};\n\nexport type createOrganizationApiKeyResponse404 = {\n  data: CreateOrganizationApiKey404;\n  status: 404;\n};\n\nexport type createOrganizationApiKeyResponse422 = {\n  data: CreateOrganizationApiKey422;\n  status: 422;\n};\n\nexport type createOrganizationApiKeyResponseSuccess =\n  createOrganizationApiKeyResponse201 & {\n    headers: Headers;\n  };\nexport type createOrganizationApiKeyResponseError = (\n  | createOrganizationApiKeyResponse400\n  | createOrganizationApiKeyResponse403\n  | createOrganizationApiKeyResponse404\n  | createOrganizationApiKeyResponse422\n) & {\n  headers: Headers;\n};\n\nexport type createOrganizationApiKeyResponse =\n  | createOrganizationApiKeyResponseSuccess\n  | createOrganizationApiKeyResponseError;\n\nexport const getCreateOrganizationApiKeyUrl = () => {\n  return `https://api.workos.com/_widgets/ApiKeys/organization-api-keys`;\n};\n\nexport const createOrganizationApiKey = async (\n  createOrganizationApiKeyRequest: CreateOrganizationApiKeyRequest,\n  options?: RequestInit,\n): Promise<createOrganizationApiKeyResponse> => {\n  const res = await fetch(getCreateOrganizationApiKeyUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(createOrganizationApiKeyRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: createOrganizationApiKeyResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as createOrganizationApiKeyResponse;\n};\n\nexport type listOrganizationApiKeysResponse200 = {\n  data: ListOrganizationApiKeysResponse;\n  status: 200;\n};\n\nexport type listOrganizationApiKeysResponse400 = {\n  data: ListOrganizationApiKeys400;\n  status: 400;\n};\n\nexport type listOrganizationApiKeysResponse403 = {\n  data: ListOrganizationApiKeys403;\n  status: 403;\n};\n\nexport type listOrganizationApiKeysResponseSuccess =\n  listOrganizationApiKeysResponse200 & {\n    headers: Headers;\n  };\nexport type listOrganizationApiKeysResponseError = (\n  | listOrganizationApiKeysResponse400\n  | listOrganizationApiKeysResponse403\n) & {\n  headers: Headers;\n};\n\nexport type listOrganizationApiKeysResponse =\n  | listOrganizationApiKeysResponseSuccess\n  | listOrganizationApiKeysResponseError;\n\nexport const getListOrganizationApiKeysUrl = (\n  params?: ListOrganizationApiKeysParams,\n) => {\n  const normalizedParams = new URLSearchParams();\n\n  Object.entries(params || {}).forEach(([key, value]) => {\n    if (value !== undefined) {\n      normalizedParams.append(key, value === null ? \"null\" : value.toString());\n    }\n  });\n\n  const stringifiedParams = normalizedParams.toString();\n\n  return stringifiedParams.length > 0\n    ? `https://api.workos.com/_widgets/ApiKeys/organization-api-keys?${stringifiedParams}`\n    : `https://api.workos.com/_widgets/ApiKeys/organization-api-keys`;\n};\n\nexport const listOrganizationApiKeys = async (\n  params?: ListOrganizationApiKeysParams,\n  options?: RequestInit,\n): Promise<listOrganizationApiKeysResponse> => {\n  const res = await fetch(getListOrganizationApiKeysUrl(params), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: listOrganizationApiKeysResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as listOrganizationApiKeysResponse;\n};\n\nexport type listOrganizationApiKeyPermissionsResponse200 = {\n  data: ListOrganizationApiKeyPermissionsResponse;\n  status: 200;\n};\n\nexport type listOrganizationApiKeyPermissionsResponse400 = {\n  data: ListOrganizationApiKeyPermissions400;\n  status: 400;\n};\n\nexport type listOrganizationApiKeyPermissionsResponse403 = {\n  data: ListOrganizationApiKeyPermissions403;\n  status: 403;\n};\n\nexport type listOrganizationApiKeyPermissionsResponseSuccess =\n  listOrganizationApiKeyPermissionsResponse200 & {\n    headers: Headers;\n  };\nexport type listOrganizationApiKeyPermissionsResponseError = (\n  | listOrganizationApiKeyPermissionsResponse400\n  | listOrganizationApiKeyPermissionsResponse403\n) & {\n  headers: Headers;\n};\n\nexport type listOrganizationApiKeyPermissionsResponse =\n  | listOrganizationApiKeyPermissionsResponseSuccess\n  | listOrganizationApiKeyPermissionsResponseError;\n\nexport const getListOrganizationApiKeyPermissionsUrl = (\n  params?: ListOrganizationApiKeyPermissionsParams,\n) => {\n  const normalizedParams = new URLSearchParams();\n\n  Object.entries(params || {}).forEach(([key, value]) => {\n    if (value !== undefined) {\n      normalizedParams.append(key, value === null ? \"null\" : value.toString());\n    }\n  });\n\n  const stringifiedParams = normalizedParams.toString();\n\n  return stringifiedParams.length > 0\n    ? `https://api.workos.com/_widgets/ApiKeys/permissions?${stringifiedParams}`\n    : `https://api.workos.com/_widgets/ApiKeys/permissions`;\n};\n\nexport const listOrganizationApiKeyPermissions = async (\n  params?: ListOrganizationApiKeyPermissionsParams,\n  options?: RequestInit,\n): Promise<listOrganizationApiKeyPermissionsResponse> => {\n  const res = await fetch(getListOrganizationApiKeyPermissionsUrl(params), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: listOrganizationApiKeyPermissionsResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as listOrganizationApiKeyPermissionsResponse;\n};\n\nexport type deleteOrganizationApiKeyResponse200 = {\n  data: DeleteOrganizationApiKey200;\n  status: 200;\n};\n\nexport type deleteOrganizationApiKeyResponse403 = {\n  data: DeleteOrganizationApiKey403;\n  status: 403;\n};\n\nexport type deleteOrganizationApiKeyResponse404 = {\n  data: DeleteOrganizationApiKey404;\n  status: 404;\n};\n\nexport type deleteOrganizationApiKeyResponseSuccess =\n  deleteOrganizationApiKeyResponse200 & {\n    headers: Headers;\n  };\nexport type deleteOrganizationApiKeyResponseError = (\n  | deleteOrganizationApiKeyResponse403\n  | deleteOrganizationApiKeyResponse404\n) & {\n  headers: Headers;\n};\n\nexport type deleteOrganizationApiKeyResponse =\n  | deleteOrganizationApiKeyResponseSuccess\n  | deleteOrganizationApiKeyResponseError;\n\nexport const getDeleteOrganizationApiKeyUrl = (apiKeyId: string) => {\n  return `https://api.workos.com/_widgets/ApiKeys/${apiKeyId}`;\n};\n\nexport const deleteOrganizationApiKey = async (\n  apiKeyId: string,\n  options?: RequestInit,\n): Promise<deleteOrganizationApiKeyResponse> => {\n  const res = await fetch(getDeleteOrganizationApiKeyUrl(apiKeyId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: deleteOrganizationApiKeyResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as deleteOrganizationApiKeyResponse;\n};\n\nexport type deleteDataInstallationResponse200 = {\n  data: DeleteDataInstallation200;\n  status: 200;\n};\n\nexport type deleteDataInstallationResponse403 = {\n  data: DeleteDataInstallation403;\n  status: 403;\n};\n\nexport type deleteDataInstallationResponse404 = {\n  data: DeleteDataInstallation404;\n  status: 404;\n};\n\nexport type deleteDataInstallationResponseSuccess =\n  deleteDataInstallationResponse200 & {\n    headers: Headers;\n  };\nexport type deleteDataInstallationResponseError = (\n  | deleteDataInstallationResponse403\n  | deleteDataInstallationResponse404\n) & {\n  headers: Headers;\n};\n\nexport type deleteDataInstallationResponse =\n  | deleteDataInstallationResponseSuccess\n  | deleteDataInstallationResponseError;\n\nexport const getDeleteDataInstallationUrl = (installationId: string) => {\n  return `https://api.workos.com/_widgets/DataIntegrations/installations/${installationId}`;\n};\n\nexport const deleteDataInstallation = async (\n  installationId: string,\n  options?: RequestInit,\n): Promise<deleteDataInstallationResponse> => {\n  const res = await fetch(getDeleteDataInstallationUrl(installationId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: deleteDataInstallationResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as deleteDataInstallationResponse;\n};\n\nexport type myDataIntegrationsResponse200 = {\n  data: DataIntegrationsResponse;\n  status: 200;\n};\n\nexport type myDataIntegrationsResponse403 = {\n  data: MyDataIntegrations403;\n  status: 403;\n};\n\nexport type myDataIntegrationsResponseSuccess =\n  myDataIntegrationsResponse200 & {\n    headers: Headers;\n  };\nexport type myDataIntegrationsResponseError = myDataIntegrationsResponse403 & {\n  headers: Headers;\n};\n\nexport type myDataIntegrationsResponse =\n  | myDataIntegrationsResponseSuccess\n  | myDataIntegrationsResponseError;\n\nexport const getMyDataIntegrationsUrl = () => {\n  return `https://api.workos.com/_widgets/DataIntegrations/mine`;\n};\n\nexport const myDataIntegrations = async (\n  options?: RequestInit,\n): Promise<myDataIntegrationsResponse> => {\n  const res = await fetch(getMyDataIntegrationsUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: myDataIntegrationsResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as myDataIntegrationsResponse;\n};\n\nexport type getDataInstallationAuthorizationStatusResponse200 = {\n  data: GetAuthorizationStatusResponse;\n  status: 200;\n};\n\nexport type getDataInstallationAuthorizationStatusResponse400 = {\n  data: GetDataInstallationAuthorizationStatus400;\n  status: 400;\n};\n\nexport type getDataInstallationAuthorizationStatusResponse403 = {\n  data: GetDataInstallationAuthorizationStatus403;\n  status: 403;\n};\n\nexport type getDataInstallationAuthorizationStatusResponse404 = {\n  data: GetDataInstallationAuthorizationStatus404;\n  status: 404;\n};\n\nexport type getDataInstallationAuthorizationStatusResponseSuccess =\n  getDataInstallationAuthorizationStatusResponse200 & {\n    headers: Headers;\n  };\nexport type getDataInstallationAuthorizationStatusResponseError = (\n  | getDataInstallationAuthorizationStatusResponse400\n  | getDataInstallationAuthorizationStatusResponse403\n  | getDataInstallationAuthorizationStatusResponse404\n) & {\n  headers: Headers;\n};\n\nexport type getDataInstallationAuthorizationStatusResponse =\n  | getDataInstallationAuthorizationStatusResponseSuccess\n  | getDataInstallationAuthorizationStatusResponseError;\n\nexport const getGetDataInstallationAuthorizationStatusUrl = (\n  dataIntegrationId: string,\n  state: string,\n) => {\n  return `https://api.workos.com/_widgets/DataIntegrations/${dataIntegrationId}/authorization-status/${state}`;\n};\n\nexport const getDataInstallationAuthorizationStatus = async (\n  dataIntegrationId: string,\n  state: string,\n  options?: RequestInit,\n): Promise<getDataInstallationAuthorizationStatusResponse> => {\n  const res = await fetch(\n    getGetDataInstallationAuthorizationStatusUrl(dataIntegrationId, state),\n    {\n      ...options,\n      method: \"GET\",\n    },\n  );\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: getDataInstallationAuthorizationStatusResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as getDataInstallationAuthorizationStatusResponse;\n};\n\nexport type getDataIntegrationAuthorizeUrlResponse200 = {\n  data: GetDataIntegrationAuthorizeUrlResponse;\n  status: 200;\n};\n\nexport type getDataIntegrationAuthorizeUrlResponse400 = {\n  data: GetDataIntegrationAuthorizeUrl400;\n  status: 400;\n};\n\nexport type getDataIntegrationAuthorizeUrlResponse403 = {\n  data: GetDataIntegrationAuthorizeUrl403;\n  status: 403;\n};\n\nexport type getDataIntegrationAuthorizeUrlResponse404 = {\n  data: GetDataIntegrationAuthorizeUrl404;\n  status: 404;\n};\n\nexport type getDataIntegrationAuthorizeUrlResponseSuccess =\n  getDataIntegrationAuthorizeUrlResponse200 & {\n    headers: Headers;\n  };\nexport type getDataIntegrationAuthorizeUrlResponseError = (\n  | getDataIntegrationAuthorizeUrlResponse400\n  | getDataIntegrationAuthorizeUrlResponse403\n  | getDataIntegrationAuthorizeUrlResponse404\n) & {\n  headers: Headers;\n};\n\nexport type getDataIntegrationAuthorizeUrlResponse =\n  | getDataIntegrationAuthorizeUrlResponseSuccess\n  | getDataIntegrationAuthorizeUrlResponseError;\n\nexport const getGetDataIntegrationAuthorizeUrlUrl = (\n  slug: string,\n  params?: GetDataIntegrationAuthorizeUrlParams,\n) => {\n  const normalizedParams = new URLSearchParams();\n\n  Object.entries(params || {}).forEach(([key, value]) => {\n    if (value !== undefined) {\n      normalizedParams.append(key, value === null ? \"null\" : value.toString());\n    }\n  });\n\n  const stringifiedParams = normalizedParams.toString();\n\n  return stringifiedParams.length > 0\n    ? `https://api.workos.com/_widgets/DataIntegrations/${slug}/authorize?${stringifiedParams}`\n    : `https://api.workos.com/_widgets/DataIntegrations/${slug}/authorize`;\n};\n\nexport const getDataIntegrationAuthorizeUrl = async (\n  slug: string,\n  params?: GetDataIntegrationAuthorizeUrlParams,\n  options?: RequestInit,\n): Promise<getDataIntegrationAuthorizeUrlResponse> => {\n  const res = await fetch(getGetDataIntegrationAuthorizeUrlUrl(slug, params), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: getDataIntegrationAuthorizeUrlResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as getDataIntegrationAuthorizeUrlResponse;\n};\n\nexport type createUserApiKeyResponse201 = {\n  data: CreateUserApiKeyResponse;\n  status: 201;\n};\n\nexport type createUserApiKeyResponse400 = {\n  data: CreateUserApiKey400;\n  status: 400;\n};\n\nexport type createUserApiKeyResponse403 = {\n  data: CreateUserApiKey403;\n  status: 403;\n};\n\nexport type createUserApiKeyResponse404 = {\n  data: CreateUserApiKey404;\n  status: 404;\n};\n\nexport type createUserApiKeyResponse422 = {\n  data: CreateUserApiKey422;\n  status: 422;\n};\n\nexport type createUserApiKeyResponseSuccess = createUserApiKeyResponse201 & {\n  headers: Headers;\n};\nexport type createUserApiKeyResponseError = (\n  | createUserApiKeyResponse400\n  | createUserApiKeyResponse403\n  | createUserApiKeyResponse404\n  | createUserApiKeyResponse422\n) & {\n  headers: Headers;\n};\n\nexport type createUserApiKeyResponse =\n  | createUserApiKeyResponseSuccess\n  | createUserApiKeyResponseError;\n\nexport const getCreateUserApiKeyUrl = () => {\n  return `https://api.workos.com/_widgets/UserApiKeys/api-keys`;\n};\n\nexport const createUserApiKey = async (\n  createUserApiKeyRequest: CreateUserApiKeyRequest,\n  options?: RequestInit,\n): Promise<createUserApiKeyResponse> => {\n  const res = await fetch(getCreateUserApiKeyUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(createUserApiKeyRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: createUserApiKeyResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as createUserApiKeyResponse;\n};\n\nexport type listUserApiKeysResponse200 = {\n  data: ListUserApiKeysResponse;\n  status: 200;\n};\n\nexport type listUserApiKeysResponse400 = {\n  data: ListUserApiKeys400;\n  status: 400;\n};\n\nexport type listUserApiKeysResponse403 = {\n  data: ListUserApiKeys403;\n  status: 403;\n};\n\nexport type listUserApiKeysResponseSuccess = listUserApiKeysResponse200 & {\n  headers: Headers;\n};\nexport type listUserApiKeysResponseError = (\n  | listUserApiKeysResponse400\n  | listUserApiKeysResponse403\n) & {\n  headers: Headers;\n};\n\nexport type listUserApiKeysResponse =\n  | listUserApiKeysResponseSuccess\n  | listUserApiKeysResponseError;\n\nexport const getListUserApiKeysUrl = (params?: ListUserApiKeysParams) => {\n  const normalizedParams = new URLSearchParams();\n\n  Object.entries(params || {}).forEach(([key, value]) => {\n    if (value !== undefined) {\n      normalizedParams.append(key, value === null ? \"null\" : value.toString());\n    }\n  });\n\n  const stringifiedParams = normalizedParams.toString();\n\n  return stringifiedParams.length > 0\n    ? `https://api.workos.com/_widgets/UserApiKeys/api-keys?${stringifiedParams}`\n    : `https://api.workos.com/_widgets/UserApiKeys/api-keys`;\n};\n\nexport const listUserApiKeys = async (\n  params?: ListUserApiKeysParams,\n  options?: RequestInit,\n): Promise<listUserApiKeysResponse> => {\n  const res = await fetch(getListUserApiKeysUrl(params), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: listUserApiKeysResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as listUserApiKeysResponse;\n};\n\nexport type listUserApiKeyPermissionsResponse200 = {\n  data: ListUserApiKeyPermissionsResponse;\n  status: 200;\n};\n\nexport type listUserApiKeyPermissionsResponse400 = {\n  data: ListUserApiKeyPermissions400;\n  status: 400;\n};\n\nexport type listUserApiKeyPermissionsResponse403 = {\n  data: ListUserApiKeyPermissions403;\n  status: 403;\n};\n\nexport type listUserApiKeyPermissionsResponseSuccess =\n  listUserApiKeyPermissionsResponse200 & {\n    headers: Headers;\n  };\nexport type listUserApiKeyPermissionsResponseError = (\n  | listUserApiKeyPermissionsResponse400\n  | listUserApiKeyPermissionsResponse403\n) & {\n  headers: Headers;\n};\n\nexport type listUserApiKeyPermissionsResponse =\n  | listUserApiKeyPermissionsResponseSuccess\n  | listUserApiKeyPermissionsResponseError;\n\nexport const getListUserApiKeyPermissionsUrl = (\n  params?: ListUserApiKeyPermissionsParams,\n) => {\n  const normalizedParams = new URLSearchParams();\n\n  Object.entries(params || {}).forEach(([key, value]) => {\n    if (value !== undefined) {\n      normalizedParams.append(key, value === null ? \"null\" : value.toString());\n    }\n  });\n\n  const stringifiedParams = normalizedParams.toString();\n\n  return stringifiedParams.length > 0\n    ? `https://api.workos.com/_widgets/UserApiKeys/permissions?${stringifiedParams}`\n    : `https://api.workos.com/_widgets/UserApiKeys/permissions`;\n};\n\nexport const listUserApiKeyPermissions = async (\n  params?: ListUserApiKeyPermissionsParams,\n  options?: RequestInit,\n): Promise<listUserApiKeyPermissionsResponse> => {\n  const res = await fetch(getListUserApiKeyPermissionsUrl(params), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: listUserApiKeyPermissionsResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as listUserApiKeyPermissionsResponse;\n};\n\nexport type deleteUserApiKeyResponse200 = {\n  data: DeleteUserApiKey200;\n  status: 200;\n};\n\nexport type deleteUserApiKeyResponse403 = {\n  data: DeleteUserApiKey403;\n  status: 403;\n};\n\nexport type deleteUserApiKeyResponse404 = {\n  data: DeleteUserApiKey404;\n  status: 404;\n};\n\nexport type deleteUserApiKeyResponseSuccess = deleteUserApiKeyResponse200 & {\n  headers: Headers;\n};\nexport type deleteUserApiKeyResponseError = (\n  | deleteUserApiKeyResponse403\n  | deleteUserApiKeyResponse404\n) & {\n  headers: Headers;\n};\n\nexport type deleteUserApiKeyResponse =\n  | deleteUserApiKeyResponseSuccess\n  | deleteUserApiKeyResponseError;\n\nexport const getDeleteUserApiKeyUrl = (apiKeyId: string) => {\n  return `https://api.workos.com/_widgets/UserApiKeys/${apiKeyId}`;\n};\n\nexport const deleteUserApiKey = async (\n  apiKeyId: string,\n  options?: RequestInit,\n): Promise<deleteUserApiKeyResponse> => {\n  const res = await fetch(getDeleteUserApiKeyUrl(apiKeyId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: deleteUserApiKeyResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as deleteUserApiKeyResponse;\n};\n\n/**\n * Sends an invitation email to a user to join the organization. If the user does not have an account, they will be prompted to create one upon accepting.\n */\nexport type inviteMemberResponse201 = {\n  data: InviteMemberResponse;\n  status: 201;\n};\n\nexport type inviteMemberResponse400 = {\n  data: InviteMember400;\n  status: 400;\n};\n\nexport type inviteMemberResponse403 = {\n  data: InviteMember403;\n  status: 403;\n};\n\nexport type inviteMemberResponse404 = {\n  data: InviteMember404;\n  status: 404;\n};\n\nexport type inviteMemberResponseSuccess = inviteMemberResponse201 & {\n  headers: Headers;\n};\nexport type inviteMemberResponseError = (\n  | inviteMemberResponse400\n  | inviteMemberResponse403\n  | inviteMemberResponse404\n) & {\n  headers: Headers;\n};\n\nexport type inviteMemberResponse =\n  | inviteMemberResponseSuccess\n  | inviteMemberResponseError;\n\nexport const getInviteMemberUrl = () => {\n  return `https://api.workos.com/_widgets/UserManagement/invite-user`;\n};\n\nexport const inviteMember = async (\n  inviteMemberBody: InviteMemberBody,\n  options?: RequestInit,\n): Promise<inviteMemberResponse> => {\n  const res = await fetch(getInviteMemberUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(inviteMemberBody),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: inviteMemberResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as inviteMemberResponse;\n};\n\n/**\n * Cancels a pending invitation for the specified user, preventing them from joining the organization via that invite link.\n */\nexport type revokeInviteResponse200 = {\n  data: RevokeMemberResponse;\n  status: 200;\n};\n\nexport type revokeInviteResponse400 = {\n  data: RevokeInvite400;\n  status: 400;\n};\n\nexport type revokeInviteResponse403 = {\n  data: RevokeInvite403;\n  status: 403;\n};\n\nexport type revokeInviteResponse404 = {\n  data: RevokeInvite404;\n  status: 404;\n};\n\nexport type revokeInviteResponseSuccess = revokeInviteResponse200 & {\n  headers: Headers;\n};\nexport type revokeInviteResponseError = (\n  | revokeInviteResponse400\n  | revokeInviteResponse403\n  | revokeInviteResponse404\n) & {\n  headers: Headers;\n};\n\nexport type revokeInviteResponse =\n  | revokeInviteResponseSuccess\n  | revokeInviteResponseError;\n\nexport const getRevokeInviteUrl = (userId: string) => {\n  return `https://api.workos.com/_widgets/UserManagement/invites/${userId}`;\n};\n\nexport const revokeInvite = async (\n  userId: string,\n  options?: RequestInit,\n): Promise<revokeInviteResponse> => {\n  const res = await fetch(getRevokeInviteUrl(userId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: revokeInviteResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as revokeInviteResponse;\n};\n\n/**\n * Resends the pending invitation email to the specified user. Returns an error if the invitation has already been accepted or has expired.\n */\nexport type resendInviteResponse201 = {\n  data: ResendInviteResponse;\n  status: 201;\n};\n\nexport type resendInviteResponse400 = {\n  data: ResendInvite400;\n  status: 400;\n};\n\nexport type resendInviteResponse403 = {\n  data: ResendInvite403;\n  status: 403;\n};\n\nexport type resendInviteResponse404 = {\n  data: ResendInvite404;\n  status: 404;\n};\n\nexport type resendInviteResponse422 = {\n  data: ResendInvite422;\n  status: 422;\n};\n\nexport type resendInviteResponseSuccess = resendInviteResponse201 & {\n  headers: Headers;\n};\nexport type resendInviteResponseError = (\n  | resendInviteResponse400\n  | resendInviteResponse403\n  | resendInviteResponse404\n  | resendInviteResponse422\n) & {\n  headers: Headers;\n};\n\nexport type resendInviteResponse =\n  | resendInviteResponseSuccess\n  | resendInviteResponseError;\n\nexport const getResendInviteUrl = (userId: string) => {\n  return `https://api.workos.com/_widgets/UserManagement/invites/${userId}/resend`;\n};\n\nexport const resendInvite = async (\n  userId: string,\n  options?: RequestInit,\n): Promise<resendInviteResponse> => {\n  const res = await fetch(getResendInviteUrl(userId), {\n    ...options,\n    method: \"POST\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: resendInviteResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as resendInviteResponse;\n};\n\n/**\n * Returns a paginated list of members belonging to the organization. Supports filtering by search term and role, and cursor-based pagination via before/after parameters.\n */\nexport type membersResponse200 = {\n  data: MembersResponse;\n  status: 200;\n};\n\nexport type membersResponse403 = {\n  data: Members403;\n  status: 403;\n};\n\nexport type membersResponse404 = {\n  data: Members404;\n  status: 404;\n};\n\nexport type membersResponseSuccess = membersResponse200 & {\n  headers: Headers;\n};\nexport type membersResponseError = (membersResponse403 | membersResponse404) & {\n  headers: Headers;\n};\n\nexport type membersResponse = membersResponseSuccess | membersResponseError;\n\nexport const getMembersUrl = (params?: MembersParams) => {\n  const normalizedParams = new URLSearchParams();\n\n  Object.entries(params || {}).forEach(([key, value]) => {\n    if (value !== undefined) {\n      normalizedParams.append(key, value === null ? \"null\" : value.toString());\n    }\n  });\n\n  const stringifiedParams = normalizedParams.toString();\n\n  return stringifiedParams.length > 0\n    ? `https://api.workos.com/_widgets/UserManagement/members?${stringifiedParams}`\n    : `https://api.workos.com/_widgets/UserManagement/members`;\n};\n\nexport const members = async (\n  params?: MembersParams,\n  options?: RequestInit,\n): Promise<membersResponse> => {\n  const res = await fetch(getMembersUrl(params), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: membersResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return { data, status: res.status, headers: res.headers } as membersResponse;\n};\n\n/**\n * Removes the specified user from the organization by revoking their membership. The user account itself is not deleted.\n */\nexport type removeMemberResponse200 = {\n  data: RemoveMemberResponse;\n  status: 200;\n};\n\nexport type removeMemberResponse400 = {\n  data: RemoveMember400;\n  status: 400;\n};\n\nexport type removeMemberResponse403 = {\n  data: RemoveMember403;\n  status: 403;\n};\n\nexport type removeMemberResponse404 = {\n  data: RemoveMember404;\n  status: 404;\n};\n\nexport type removeMemberResponseSuccess = removeMemberResponse200 & {\n  headers: Headers;\n};\nexport type removeMemberResponseError = (\n  | removeMemberResponse400\n  | removeMemberResponse403\n  | removeMemberResponse404\n) & {\n  headers: Headers;\n};\n\nexport type removeMemberResponse =\n  | removeMemberResponseSuccess\n  | removeMemberResponseError;\n\nexport const getRemoveMemberUrl = (userId: string) => {\n  return `https://api.workos.com/_widgets/UserManagement/members/${userId}`;\n};\n\nexport const removeMember = async (\n  userId: string,\n  options?: RequestInit,\n): Promise<removeMemberResponse> => {\n  const res = await fetch(getRemoveMemberUrl(userId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: removeMemberResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as removeMemberResponse;\n};\n\n/**\n * Updates the specified member's organization membership, such as changing their assigned role.\n */\nexport type updateMemberResponse200 = {\n  data: UpdateMemberResponse;\n  status: 200;\n};\n\nexport type updateMemberResponse400 = {\n  data: UpdateMember400;\n  status: 400;\n};\n\nexport type updateMemberResponse403 = {\n  data: UpdateMember403;\n  status: 403;\n};\n\nexport type updateMemberResponse404 = {\n  data: UpdateMember404;\n  status: 404;\n};\n\nexport type updateMemberResponse422 = {\n  data: UpdateMember422;\n  status: 422;\n};\n\nexport type updateMemberResponseSuccess = updateMemberResponse200 & {\n  headers: Headers;\n};\nexport type updateMemberResponseError = (\n  | updateMemberResponse400\n  | updateMemberResponse403\n  | updateMemberResponse404\n  | updateMemberResponse422\n) & {\n  headers: Headers;\n};\n\nexport type updateMemberResponse =\n  | updateMemberResponseSuccess\n  | updateMemberResponseError;\n\nexport const getUpdateMemberUrl = (userId: string) => {\n  return `https://api.workos.com/_widgets/UserManagement/members/${userId}`;\n};\n\nexport const updateMember = async (\n  userId: string,\n  updateMemberBody: UpdateMemberBody,\n  options?: RequestInit,\n): Promise<updateMemberResponse> => {\n  const res = await fetch(getUpdateMemberUrl(userId), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(updateMemberBody),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: updateMemberResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as updateMemberResponse;\n};\n\n/**\n * Returns the list of organizations the authenticated user is a member of.\n */\nexport type organizationsResponse200 = {\n  data: OrganizationsResponse;\n  status: 200;\n};\n\nexport type organizationsResponse403 = {\n  data: Organizations403;\n  status: 403;\n};\n\nexport type organizationsResponse404 = {\n  data: Organizations404;\n  status: 404;\n};\n\nexport type organizationsResponseSuccess = organizationsResponse200 & {\n  headers: Headers;\n};\nexport type organizationsResponseError = (\n  | organizationsResponse403\n  | organizationsResponse404\n) & {\n  headers: Headers;\n};\n\nexport type organizationsResponse =\n  | organizationsResponseSuccess\n  | organizationsResponseError;\n\nexport const getOrganizationsUrl = () => {\n  return `https://api.workos.com/_widgets/UserManagement/organizations`;\n};\n\nexport const organizations = async (\n  options?: RequestInit,\n): Promise<organizationsResponse> => {\n  const res = await fetch(getOrganizationsUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: organizationsResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as organizationsResponse;\n};\n\n/**\n * Returns the list of roles available in the organization that can be assigned to members.\n */\nexport type rolesResponse200 = {\n  data: MemberRole[];\n  status: 200;\n};\n\nexport type rolesResponse403 = {\n  data: Roles403;\n  status: 403;\n};\n\nexport type rolesResponse404 = {\n  data: Roles404;\n  status: 404;\n};\n\nexport type rolesResponseSuccess = rolesResponse200 & {\n  headers: Headers;\n};\nexport type rolesResponseError = (rolesResponse403 | rolesResponse404) & {\n  headers: Headers;\n};\n\nexport type rolesResponse = rolesResponseSuccess | rolesResponseError;\n\nexport const getRolesUrl = () => {\n  return `https://api.workos.com/_widgets/UserManagement/roles`;\n};\n\nexport const roles = async (options?: RequestInit): Promise<rolesResponse> => {\n  const res = await fetch(getRolesUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: rolesResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return { data, status: res.status, headers: res.headers } as rolesResponse;\n};\n\n/**\n * Returns the list of roles available in the organization along with the user management configuration, such as whether role assignment is enabled.\n */\nexport type rolesAndConfigResponse200 = {\n  data: RolesAndConfigResponse;\n  status: 200;\n};\n\nexport type rolesAndConfigResponse403 = {\n  data: RolesAndConfig403;\n  status: 403;\n};\n\nexport type rolesAndConfigResponse404 = {\n  data: RolesAndConfig404;\n  status: 404;\n};\n\nexport type rolesAndConfigResponseSuccess = rolesAndConfigResponse200 & {\n  headers: Headers;\n};\nexport type rolesAndConfigResponseError = (\n  | rolesAndConfigResponse403\n  | rolesAndConfigResponse404\n) & {\n  headers: Headers;\n};\n\nexport type rolesAndConfigResponse =\n  | rolesAndConfigResponseSuccess\n  | rolesAndConfigResponseError;\n\nexport const getRolesAndConfigUrl = () => {\n  return `https://api.workos.com/_widgets/UserManagement/roles-and-config`;\n};\n\nexport const rolesAndConfig = async (\n  options?: RequestInit,\n): Promise<rolesAndConfigResponse> => {\n  const res = await fetch(getRolesAndConfigUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: rolesAndConfigResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as rolesAndConfigResponse;\n};\n\n/**\n * Returns the authentication methods and MFA factors configured for the authenticated user, including enrolled TOTP factors and passkeys.\n */\nexport type authenticationInformationResponse200 = {\n  data: AuthenticationInformationResponse;\n  status: 200;\n};\n\nexport type authenticationInformationResponse403 = {\n  data: AuthenticationInformation403;\n  status: 403;\n};\n\nexport type authenticationInformationResponseSuccess =\n  authenticationInformationResponse200 & {\n    headers: Headers;\n  };\nexport type authenticationInformationResponseError =\n  authenticationInformationResponse403 & {\n    headers: Headers;\n  };\n\nexport type authenticationInformationResponse =\n  | authenticationInformationResponseSuccess\n  | authenticationInformationResponseError;\n\nexport const getAuthenticationInformationUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/authentication-information`;\n};\n\nexport const authenticationInformation = async (\n  options?: RequestInit,\n): Promise<authenticationInformationResponse> => {\n  const res = await fetch(getAuthenticationInformationUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: authenticationInformationResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as authenticationInformationResponse;\n};\n\n/**\n * Sets a password for the authenticated user. Only available when the user does not already have a password configured. Requires elevated access.\n */\nexport type createPasswordResponse201 = {\n  data: CreatePassword201;\n  status: 201;\n};\n\nexport type createPasswordResponse400 = {\n  data: CreatePassword400;\n  status: 400;\n};\n\nexport type createPasswordResponse403 = {\n  data: CreatePassword403;\n  status: 403;\n};\n\nexport type createPasswordResponseSuccess = createPasswordResponse201 & {\n  headers: Headers;\n};\nexport type createPasswordResponseError = (\n  | createPasswordResponse400\n  | createPasswordResponse403\n) & {\n  headers: Headers;\n};\n\nexport type createPasswordResponse =\n  | createPasswordResponseSuccess\n  | createPasswordResponseError;\n\nexport const getCreatePasswordUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/create-password`;\n};\n\nexport const createPassword = async (\n  createPasswordRequest: CreatePasswordRequest,\n  options?: RequestInit,\n): Promise<createPasswordResponse> => {\n  const res = await fetch(getCreatePasswordUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(createPasswordRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: createPasswordResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as createPasswordResponse;\n};\n\n/**\n * Initiates TOTP (authenticator app) enrollment for the authenticated user by generating a new TOTP secret and QR code. Requires elevated access.\n */\nexport type createTotpFactorResponse201 = {\n  data: CreateTotpFactorResponse;\n  status: 201;\n};\n\nexport type createTotpFactorResponse400 = {\n  data: CreateTotpFactor400;\n  status: 400;\n};\n\nexport type createTotpFactorResponse403 = {\n  data: CreateTotpFactor403;\n  status: 403;\n};\n\nexport type createTotpFactorResponseSuccess = createTotpFactorResponse201 & {\n  headers: Headers;\n};\nexport type createTotpFactorResponseError = (\n  | createTotpFactorResponse400\n  | createTotpFactorResponse403\n) & {\n  headers: Headers;\n};\n\nexport type createTotpFactorResponse =\n  | createTotpFactorResponseSuccess\n  | createTotpFactorResponseError;\n\nexport const getCreateTotpFactorUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/create-totp-factor`;\n};\n\nexport const createTotpFactor = async (\n  options?: RequestInit,\n): Promise<createTotpFactorResponse> => {\n  const res = await fetch(getCreateTotpFactorUrl(), {\n    ...options,\n    method: \"POST\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: createTotpFactorResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as createTotpFactorResponse;\n};\n\n/**\n * Returns the profile information of the currently authenticated user, including their name, email, and linked authentication factors.\n */\nexport type meResponse200 = {\n  data: Me;\n  status: 200;\n};\n\nexport type meResponse403 = {\n  data: Me403;\n  status: 403;\n};\n\nexport type meResponseSuccess = meResponse200 & {\n  headers: Headers;\n};\nexport type meResponseError = meResponse403 & {\n  headers: Headers;\n};\n\nexport type meResponse = meResponseSuccess | meResponseError;\n\nexport const getMeUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/me`;\n};\n\nexport const me = async (options?: RequestInit): Promise<meResponse> => {\n  const res = await fetch(getMeUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: meResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return { data, status: res.status, headers: res.headers } as meResponse;\n};\n\n/**\n * Updates the profile information of the currently authenticated user, such as their first name, last name, or email address.\n */\nexport type updateMeResponse200 = {\n  data: Me;\n  status: 200;\n};\n\nexport type updateMeResponse400 = {\n  data: UpdateMe400;\n  status: 400;\n};\n\nexport type updateMeResponse403 = {\n  data: UpdateMe403;\n  status: 403;\n};\n\nexport type updateMeResponseSuccess = updateMeResponse200 & {\n  headers: Headers;\n};\nexport type updateMeResponseError = (\n  | updateMeResponse400\n  | updateMeResponse403\n) & {\n  headers: Headers;\n};\n\nexport type updateMeResponse = updateMeResponseSuccess | updateMeResponseError;\n\nexport const getUpdateMeUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/me`;\n};\n\nexport const updateMe = async (\n  updateMeBody: UpdateMeBody,\n  options?: RequestInit,\n): Promise<updateMeResponse> => {\n  const res = await fetch(getUpdateMeUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(updateMeBody),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: updateMeResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return { data, status: res.status, headers: res.headers } as updateMeResponse;\n};\n\n/**\n * Initiates passkey (WebAuthn) registration for the authenticated user by returning the credential creation options. Requires elevated access.\n */\nexport type registerPasskeyResponse201 = {\n  data: RegisterPasskeyResponse;\n  status: 201;\n};\n\nexport type registerPasskeyResponse400 = {\n  data: RegisterPasskey400;\n  status: 400;\n};\n\nexport type registerPasskeyResponse403 = {\n  data: RegisterPasskey403;\n  status: 403;\n};\n\nexport type registerPasskeyResponseSuccess = registerPasskeyResponse201 & {\n  headers: Headers;\n};\nexport type registerPasskeyResponseError = (\n  | registerPasskeyResponse400\n  | registerPasskeyResponse403\n) & {\n  headers: Headers;\n};\n\nexport type registerPasskeyResponse =\n  | registerPasskeyResponseSuccess\n  | registerPasskeyResponseError;\n\nexport const getRegisterPasskeyUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/passkeys`;\n};\n\nexport const registerPasskey = async (\n  options?: RequestInit,\n): Promise<registerPasskeyResponse> => {\n  const res = await fetch(getRegisterPasskeyUrl(), {\n    ...options,\n    method: \"POST\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: registerPasskeyResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as registerPasskeyResponse;\n};\n\n/**\n * Completes passkey (WebAuthn) registration by verifying the credential created by the authenticator. Requires elevated access.\n */\nexport type verifyPasskeyResponse200 = {\n  data: VerifyPasskey200;\n  status: 200;\n};\n\nexport type verifyPasskeyResponse400 = {\n  data: VerifyPasskey400;\n  status: 400;\n};\n\nexport type verifyPasskeyResponse403 = {\n  data: VerifyPasskey403;\n  status: 403;\n};\n\nexport type verifyPasskeyResponseSuccess = verifyPasskeyResponse200 & {\n  headers: Headers;\n};\nexport type verifyPasskeyResponseError = (\n  | verifyPasskeyResponse400\n  | verifyPasskeyResponse403\n) & {\n  headers: Headers;\n};\n\nexport type verifyPasskeyResponse =\n  | verifyPasskeyResponseSuccess\n  | verifyPasskeyResponseError;\n\nexport const getVerifyPasskeyUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/passkeys/verify`;\n};\n\nexport const verifyPasskey = async (\n  verifyPasskeyRequest: VerifyPasskeyRequest,\n  options?: RequestInit,\n): Promise<verifyPasskeyResponse> => {\n  const res = await fetch(getVerifyPasskeyUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(verifyPasskeyRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: verifyPasskeyResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as verifyPasskeyResponse;\n};\n\n/**\n * Removes the specified passkey from the authenticated user's account. Requires elevated access.\n */\nexport type deletePasskeyResponse200 = {\n  data: DeletePasskey200;\n  status: 200;\n};\n\nexport type deletePasskeyResponse400 = {\n  data: DeletePasskey400;\n  status: 400;\n};\n\nexport type deletePasskeyResponse403 = {\n  data: DeletePasskey403;\n  status: 403;\n};\n\nexport type deletePasskeyResponseSuccess = deletePasskeyResponse200 & {\n  headers: Headers;\n};\nexport type deletePasskeyResponseError = (\n  | deletePasskeyResponse400\n  | deletePasskeyResponse403\n) & {\n  headers: Headers;\n};\n\nexport type deletePasskeyResponse =\n  | deletePasskeyResponseSuccess\n  | deletePasskeyResponseError;\n\nexport const getDeletePasskeyUrl = (passkeyId: string) => {\n  return `https://api.workos.com/_widgets/UserProfile/passkeys/${passkeyId}`;\n};\n\nexport const deletePasskey = async (\n  passkeyId: string,\n  options?: RequestInit,\n): Promise<deletePasskeyResponse> => {\n  const res = await fetch(getDeletePasskeyUrl(passkeyId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: deletePasskeyResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as deletePasskeyResponse;\n};\n\n/**\n * Sends a verification email containing a one-time code to the new email address. The change does not take effect until the code is submitted via verify-email-change. Requires elevated access.\n */\nexport type sendEmailChangeResponse200 = {\n  data: SendEmailChangeResponse;\n  status: 200;\n};\n\nexport type sendEmailChangeResponse400 = {\n  data: SendEmailChange400;\n  status: 400;\n};\n\nexport type sendEmailChangeResponse403 = {\n  data: SendEmailChange403;\n  status: 403;\n};\n\nexport type sendEmailChangeResponse409 = {\n  data: SendEmailChange409;\n  status: 409;\n};\n\nexport type sendEmailChangeResponse422 = {\n  data: SendEmailChange422;\n  status: 422;\n};\n\nexport type sendEmailChangeResponse429 = {\n  data: SendEmailChange429;\n  status: 429;\n};\n\nexport type sendEmailChangeResponseSuccess = sendEmailChangeResponse200 & {\n  headers: Headers;\n};\nexport type sendEmailChangeResponseError = (\n  | sendEmailChangeResponse400\n  | sendEmailChangeResponse403\n  | sendEmailChangeResponse409\n  | sendEmailChangeResponse422\n  | sendEmailChangeResponse429\n) & {\n  headers: Headers;\n};\n\nexport type sendEmailChangeResponse =\n  | sendEmailChangeResponseSuccess\n  | sendEmailChangeResponseError;\n\nexport const getSendEmailChangeUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/send-email-change`;\n};\n\nexport const sendEmailChange = async (\n  sendEmailChangeRequest: SendEmailChangeRequest,\n  options?: RequestInit,\n): Promise<sendEmailChangeResponse> => {\n  const res = await fetch(getSendEmailChangeUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(sendEmailChangeRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: sendEmailChangeResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as sendEmailChangeResponse;\n};\n\n/**\n * Sends a verification email to the authenticated user to confirm their email address.\n */\nexport type sendVerificationResponse200 = {\n  data: SendVerificationResponse;\n  status: 200;\n};\n\nexport type sendVerificationResponse400 = {\n  data: SendVerification400;\n  status: 400;\n};\n\nexport type sendVerificationResponse403 = {\n  data: SendVerification403;\n  status: 403;\n};\n\nexport type sendVerificationResponseSuccess = sendVerificationResponse200 & {\n  headers: Headers;\n};\nexport type sendVerificationResponseError = (\n  | sendVerificationResponse400\n  | sendVerificationResponse403\n) & {\n  headers: Headers;\n};\n\nexport type sendVerificationResponse =\n  | sendVerificationResponseSuccess\n  | sendVerificationResponseError;\n\nexport const getSendVerificationUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/send-verification`;\n};\n\nexport const sendVerification = async (\n  options?: RequestInit,\n): Promise<sendVerificationResponse> => {\n  const res = await fetch(getSendVerificationUrl(), {\n    ...options,\n    method: \"POST\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: sendVerificationResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as sendVerificationResponse;\n};\n\n/**\n * Returns all currently active sessions for the authenticated user, including device and location information where available.\n */\nexport type sessionsResponse200 = {\n  data: ActiveSessionsResponse;\n  status: 200;\n};\n\nexport type sessionsResponse403 = {\n  data: Sessions403;\n  status: 403;\n};\n\nexport type sessionsResponseSuccess = sessionsResponse200 & {\n  headers: Headers;\n};\nexport type sessionsResponseError = sessionsResponse403 & {\n  headers: Headers;\n};\n\nexport type sessionsResponse = sessionsResponseSuccess | sessionsResponseError;\n\nexport const getSessionsUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/sessions`;\n};\n\nexport const sessions = async (\n  options?: RequestInit,\n): Promise<sessionsResponse> => {\n  const res = await fetch(getSessionsUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: sessionsResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return { data, status: res.status, headers: res.headers } as sessionsResponse;\n};\n\n/**\n * Revokes all active sessions for the authenticated user except optionally the current one, signing them out of all other devices.\n */\nexport type revokeAllSessionsResponse200 = {\n  data: RevokeAllSessions200;\n  status: 200;\n};\n\nexport type revokeAllSessionsResponse400 = {\n  data: RevokeAllSessions400;\n  status: 400;\n};\n\nexport type revokeAllSessionsResponse403 = {\n  data: RevokeAllSessions403;\n  status: 403;\n};\n\nexport type revokeAllSessionsResponseSuccess = revokeAllSessionsResponse200 & {\n  headers: Headers;\n};\nexport type revokeAllSessionsResponseError = (\n  | revokeAllSessionsResponse400\n  | revokeAllSessionsResponse403\n) & {\n  headers: Headers;\n};\n\nexport type revokeAllSessionsResponse =\n  | revokeAllSessionsResponseSuccess\n  | revokeAllSessionsResponseError;\n\nexport const getRevokeAllSessionsUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/sessions/revoke-all`;\n};\n\nexport const revokeAllSessions = async (\n  revokeAllSessionsRequest: RevokeAllSessionsRequest,\n  options?: RequestInit,\n): Promise<revokeAllSessionsResponse> => {\n  const res = await fetch(getRevokeAllSessionsUrl(), {\n    ...options,\n    method: \"DELETE\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(revokeAllSessionsRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: revokeAllSessionsResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as revokeAllSessionsResponse;\n};\n\n/**\n * Revokes a specific active session by ID, signing the user out of that particular device or browser.\n */\nexport type revokeSessionResponse200 = {\n  data: RevokeSession200;\n  status: 200;\n};\n\nexport type revokeSessionResponse400 = {\n  data: RevokeSession400;\n  status: 400;\n};\n\nexport type revokeSessionResponse403 = {\n  data: RevokeSession403;\n  status: 403;\n};\n\nexport type revokeSessionResponseSuccess = revokeSessionResponse200 & {\n  headers: Headers;\n};\nexport type revokeSessionResponseError = (\n  | revokeSessionResponse400\n  | revokeSessionResponse403\n) & {\n  headers: Headers;\n};\n\nexport type revokeSessionResponse =\n  | revokeSessionResponseSuccess\n  | revokeSessionResponseError;\n\nexport const getRevokeSessionUrl = (sessionId: string) => {\n  return `https://api.workos.com/_widgets/UserProfile/sessions/revoke/${sessionId}`;\n};\n\nexport const revokeSession = async (\n  sessionId: string,\n  options?: RequestInit,\n): Promise<revokeSessionResponse> => {\n  const res = await fetch(getRevokeSessionUrl(sessionId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: revokeSessionResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as revokeSessionResponse;\n};\n\n/**\n * Removes all TOTP factors enrolled for the authenticated user, disabling authenticator app as a second factor. Requires elevated access.\n */\nexport type deleteTotpFactorsResponse200 = {\n  data: DeleteTotpFactors200;\n  status: 200;\n};\n\nexport type deleteTotpFactorsResponse400 = {\n  data: DeleteTotpFactors400;\n  status: 400;\n};\n\nexport type deleteTotpFactorsResponse403 = {\n  data: DeleteTotpFactors403;\n  status: 403;\n};\n\nexport type deleteTotpFactorsResponseSuccess = deleteTotpFactorsResponse200 & {\n  headers: Headers;\n};\nexport type deleteTotpFactorsResponseError = (\n  | deleteTotpFactorsResponse400\n  | deleteTotpFactorsResponse403\n) & {\n  headers: Headers;\n};\n\nexport type deleteTotpFactorsResponse =\n  | deleteTotpFactorsResponseSuccess\n  | deleteTotpFactorsResponseError;\n\nexport const getDeleteTotpFactorsUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/totp-factors`;\n};\n\nexport const deleteTotpFactors = async (\n  options?: RequestInit,\n): Promise<deleteTotpFactorsResponse> => {\n  const res = await fetch(getDeleteTotpFactorsUrl(), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: deleteTotpFactorsResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as deleteTotpFactorsResponse;\n};\n\n/**\n * Changes the password for the authenticated user. Requires the current password to be supplied alongside the new password.\n */\nexport type updatePasswordResponse201 = {\n  data: UpdatePassword201;\n  status: 201;\n};\n\nexport type updatePasswordResponse400 = {\n  data: UpdatePassword400;\n  status: 400;\n};\n\nexport type updatePasswordResponse403 = {\n  data: UpdatePassword403;\n  status: 403;\n};\n\nexport type updatePasswordResponseSuccess = updatePasswordResponse201 & {\n  headers: Headers;\n};\nexport type updatePasswordResponseError = (\n  | updatePasswordResponse400\n  | updatePasswordResponse403\n) & {\n  headers: Headers;\n};\n\nexport type updatePasswordResponse =\n  | updatePasswordResponseSuccess\n  | updatePasswordResponseError;\n\nexport const getUpdatePasswordUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/update-password`;\n};\n\nexport const updatePassword = async (\n  updatePasswordRequest: UpdatePasswordRequest,\n  options?: RequestInit,\n): Promise<updatePasswordResponse> => {\n  const res = await fetch(getUpdatePasswordUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(updatePasswordRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: updatePasswordResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as updatePasswordResponse;\n};\n\n/**\n * Verifies the email address of the authenticated user using the code sent via the send-verification endpoint. On success, returns an elevated access token that grants access to sensitive operations such as MFA enrollment and passkey management.\n */\nexport type verifyResponse200 = {\n  data: VerifyResponse;\n  status: 200;\n};\n\nexport type verifyResponse400 = {\n  data: Verify400;\n  status: 400;\n};\n\nexport type verifyResponse403 = {\n  data: Verify403;\n  status: 403;\n};\n\nexport type verifyResponseSuccess = verifyResponse200 & {\n  headers: Headers;\n};\nexport type verifyResponseError = (verifyResponse400 | verifyResponse403) & {\n  headers: Headers;\n};\n\nexport type verifyResponse = verifyResponseSuccess | verifyResponseError;\n\nexport const getVerifyUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/verify`;\n};\n\nexport const verify = async (\n  verifyRequest: VerifyRequest,\n  options?: RequestInit,\n): Promise<verifyResponse> => {\n  const res = await fetch(getVerifyUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(verifyRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: verifyResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return { data, status: res.status, headers: res.headers } as verifyResponse;\n};\n\n/**\n * Verifies a pending email change using the one-time code sent via send-email-change. On success, updates the user’s email address and returns the updated profile along with an elevated access token that grants access to sensitive operations such as setting a password.\n */\nexport type verifyEmailChangeResponse200 = {\n  data: VerifyEmailChangeResponse;\n  status: 200;\n};\n\nexport type verifyEmailChangeResponse400 = {\n  data: VerifyEmailChange400;\n  status: 400;\n};\n\nexport type verifyEmailChangeResponse403 = {\n  data: VerifyEmailChange403;\n  status: 403;\n};\n\nexport type verifyEmailChangeResponse409 = {\n  data: VerifyEmailChange409;\n  status: 409;\n};\n\nexport type verifyEmailChangeResponse422 = {\n  data: VerifyEmailChange422;\n  status: 422;\n};\n\nexport type verifyEmailChangeResponse429 = {\n  data: VerifyEmailChange429;\n  status: 429;\n};\n\nexport type verifyEmailChangeResponseSuccess = verifyEmailChangeResponse200 & {\n  headers: Headers;\n};\nexport type verifyEmailChangeResponseError = (\n  | verifyEmailChangeResponse400\n  | verifyEmailChangeResponse403\n  | verifyEmailChangeResponse409\n  | verifyEmailChangeResponse422\n  | verifyEmailChangeResponse429\n) & {\n  headers: Headers;\n};\n\nexport type verifyEmailChangeResponse =\n  | verifyEmailChangeResponseSuccess\n  | verifyEmailChangeResponseError;\n\nexport const getVerifyEmailChangeUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/verify-email-change`;\n};\n\nexport const verifyEmailChange = async (\n  verifyEmailChangeRequest: VerifyEmailChangeRequest,\n  options?: RequestInit,\n): Promise<verifyEmailChangeResponse> => {\n  const res = await fetch(getVerifyEmailChangeUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(verifyEmailChangeRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: verifyEmailChangeResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as verifyEmailChangeResponse;\n};\n\n/**\n * Completes TOTP enrollment by verifying the one-time code generated by the authenticator app. Requires elevated access.\n */\nexport type verifyTotpFactorResponse200 = {\n  data: VerifyTotpFactor200;\n  status: 200;\n};\n\nexport type verifyTotpFactorResponse400 = {\n  data: VerifyTotpFactor400;\n  status: 400;\n};\n\nexport type verifyTotpFactorResponse403 = {\n  data: VerifyTotpFactor403;\n  status: 403;\n};\n\nexport type verifyTotpFactorResponseSuccess = verifyTotpFactorResponse200 & {\n  headers: Headers;\n};\nexport type verifyTotpFactorResponseError = (\n  | verifyTotpFactorResponse400\n  | verifyTotpFactorResponse403\n) & {\n  headers: Headers;\n};\n\nexport type verifyTotpFactorResponse =\n  | verifyTotpFactorResponseSuccess\n  | verifyTotpFactorResponseError;\n\nexport const getVerifyTotpFactorUrl = () => {\n  return `https://api.workos.com/_widgets/UserProfile/verify-totp-factor`;\n};\n\nexport const verifyTotpFactor = async (\n  verifyTotpFactorRequest: VerifyTotpFactorRequest,\n  options?: RequestInit,\n): Promise<verifyTotpFactorResponse> => {\n  const res = await fetch(getVerifyTotpFactorUrl(), {\n    ...options,\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n    body: JSON.stringify(verifyTotpFactorRequest),\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: verifyTotpFactorResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as verifyTotpFactorResponse;\n};\n\nexport type getAuditLogStreamResponse200 = {\n  data: GetAuditLogStream200;\n  status: 200;\n};\n\nexport type getAuditLogStreamResponse403 = {\n  data: GetAuditLogStream403;\n  status: 403;\n};\n\nexport type getAuditLogStreamResponseSuccess = getAuditLogStreamResponse200 & {\n  headers: Headers;\n};\nexport type getAuditLogStreamResponseError = getAuditLogStreamResponse403 & {\n  headers: Headers;\n};\n\nexport type getAuditLogStreamResponse =\n  | getAuditLogStreamResponseSuccess\n  | getAuditLogStreamResponseError;\n\nexport const getGetAuditLogStreamUrl = () => {\n  return `https://api.workos.com/_widgets/admin-portal/audit-log-stream`;\n};\n\nexport const getAuditLogStream = async (\n  options?: RequestInit,\n): Promise<getAuditLogStreamResponse> => {\n  const res = await fetch(getGetAuditLogStreamUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: getAuditLogStreamResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as getAuditLogStreamResponse;\n};\n\nexport type generateAdminPortalLinkResponse201 = {\n  data: GenerateAdminPortalLink201;\n  status: 201;\n};\n\nexport type generateAdminPortalLinkResponse403 = {\n  data: GenerateAdminPortalLink403;\n  status: 403;\n};\n\nexport type generateAdminPortalLinkResponse404 = {\n  data: GenerateAdminPortalLink404;\n  status: 404;\n};\n\nexport type generateAdminPortalLinkResponse500 = {\n  data: GenerateAdminPortalLink500;\n  status: 500;\n};\n\nexport type generateAdminPortalLinkResponseSuccess =\n  generateAdminPortalLinkResponse201 & {\n    headers: Headers;\n  };\nexport type generateAdminPortalLinkResponseError = (\n  | generateAdminPortalLinkResponse403\n  | generateAdminPortalLinkResponse404\n  | generateAdminPortalLinkResponse500\n) & {\n  headers: Headers;\n};\n\nexport type generateAdminPortalLinkResponse =\n  | generateAdminPortalLinkResponseSuccess\n  | generateAdminPortalLinkResponseError;\n\nexport const getGenerateAdminPortalLinkUrl = (\n  params: GenerateAdminPortalLinkParams,\n) => {\n  const normalizedParams = new URLSearchParams();\n\n  Object.entries(params || {}).forEach(([key, value]) => {\n    if (value !== undefined) {\n      normalizedParams.append(key, value === null ? \"null\" : value.toString());\n    }\n  });\n\n  const stringifiedParams = normalizedParams.toString();\n\n  return stringifiedParams.length > 0\n    ? `https://api.workos.com/_widgets/admin-portal/generate-link?${stringifiedParams}`\n    : `https://api.workos.com/_widgets/admin-portal/generate-link`;\n};\n\nexport const generateAdminPortalLink = async (\n  params: GenerateAdminPortalLinkParams,\n  options?: RequestInit,\n): Promise<generateAdminPortalLinkResponse> => {\n  const res = await fetch(getGenerateAdminPortalLinkUrl(params), {\n    ...options,\n    method: \"POST\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: generateAdminPortalLinkResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as generateAdminPortalLinkResponse;\n};\n\nexport type listOrganizationDomainsResponse200 = {\n  data: ListOrganizationDomains200;\n  status: 200;\n};\n\nexport type listOrganizationDomainsResponse403 = {\n  data: ListOrganizationDomains403;\n  status: 403;\n};\n\nexport type listOrganizationDomainsResponse404 = {\n  data: ListOrganizationDomains404;\n  status: 404;\n};\n\nexport type listOrganizationDomainsResponseSuccess =\n  listOrganizationDomainsResponse200 & {\n    headers: Headers;\n  };\nexport type listOrganizationDomainsResponseError = (\n  | listOrganizationDomainsResponse403\n  | listOrganizationDomainsResponse404\n) & {\n  headers: Headers;\n};\n\nexport type listOrganizationDomainsResponse =\n  | listOrganizationDomainsResponseSuccess\n  | listOrganizationDomainsResponseError;\n\nexport const getListOrganizationDomainsUrl = () => {\n  return `https://api.workos.com/_widgets/admin-portal/organization-domains`;\n};\n\nexport const listOrganizationDomains = async (\n  options?: RequestInit,\n): Promise<listOrganizationDomainsResponse> => {\n  const res = await fetch(getListOrganizationDomainsUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: listOrganizationDomainsResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as listOrganizationDomainsResponse;\n};\n\nexport type deleteOrganizationDomainResponse200 = {\n  data: OrganizationDomain;\n  status: 200;\n};\n\nexport type deleteOrganizationDomainResponse403 = {\n  data: DeleteOrganizationDomain403;\n  status: 403;\n};\n\nexport type deleteOrganizationDomainResponse404 = {\n  data: DeleteOrganizationDomain404;\n  status: 404;\n};\n\nexport type deleteOrganizationDomainResponseSuccess =\n  deleteOrganizationDomainResponse200 & {\n    headers: Headers;\n  };\nexport type deleteOrganizationDomainResponseError = (\n  | deleteOrganizationDomainResponse403\n  | deleteOrganizationDomainResponse404\n) & {\n  headers: Headers;\n};\n\nexport type deleteOrganizationDomainResponse =\n  | deleteOrganizationDomainResponseSuccess\n  | deleteOrganizationDomainResponseError;\n\nexport const getDeleteOrganizationDomainUrl = (domainId: string) => {\n  return `https://api.workos.com/_widgets/admin-portal/organization-domains/${domainId}`;\n};\n\nexport const deleteOrganizationDomain = async (\n  domainId: string,\n  options?: RequestInit,\n): Promise<deleteOrganizationDomainResponse> => {\n  const res = await fetch(getDeleteOrganizationDomainUrl(domainId), {\n    ...options,\n    method: \"DELETE\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: deleteOrganizationDomainResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as deleteOrganizationDomainResponse;\n};\n\nexport type reverifyOrganizationDomainResponse200 = {\n  data: OrganizationDomain;\n  status: 200;\n};\n\nexport type reverifyOrganizationDomainResponse403 = {\n  data: ReverifyOrganizationDomain403;\n  status: 403;\n};\n\nexport type reverifyOrganizationDomainResponse404 = {\n  data: ReverifyOrganizationDomain404;\n  status: 404;\n};\n\nexport type reverifyOrganizationDomainResponseSuccess =\n  reverifyOrganizationDomainResponse200 & {\n    headers: Headers;\n  };\nexport type reverifyOrganizationDomainResponseError = (\n  | reverifyOrganizationDomainResponse403\n  | reverifyOrganizationDomainResponse404\n) & {\n  headers: Headers;\n};\n\nexport type reverifyOrganizationDomainResponse =\n  | reverifyOrganizationDomainResponseSuccess\n  | reverifyOrganizationDomainResponseError;\n\nexport const getReverifyOrganizationDomainUrl = (domainId: string) => {\n  return `https://api.workos.com/_widgets/admin-portal/organization-domains/${domainId}/reverify`;\n};\n\nexport const reverifyOrganizationDomain = async (\n  domainId: string,\n  options?: RequestInit,\n): Promise<reverifyOrganizationDomainResponse> => {\n  const res = await fetch(getReverifyOrganizationDomainUrl(domainId), {\n    ...options,\n    method: \"POST\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: reverifyOrganizationDomainResponse[\"data\"] = body\n    ? JSON.parse(body)\n    : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as reverifyOrganizationDomainResponse;\n};\n\nexport type listSsoConnectionsResponse200 = {\n  data: SsoConnection[];\n  status: 200;\n};\n\nexport type listSsoConnectionsResponseSuccess =\n  listSsoConnectionsResponse200 & {\n    headers: Headers;\n  };\nexport type listSsoConnectionsResponse = listSsoConnectionsResponseSuccess;\n\nexport const getListSsoConnectionsUrl = () => {\n  return `https://api.workos.com/_widgets/admin-portal/sso-connections`;\n};\n\nexport const listSsoConnections = async (\n  options?: RequestInit,\n): Promise<listSsoConnectionsResponse> => {\n  const res = await fetch(getListSsoConnectionsUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: listSsoConnectionsResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as listSsoConnectionsResponse;\n};\n\nexport type listDirectoriesResponse200 = {\n  data: DirectoriesResponse;\n  status: 200;\n};\n\nexport type listDirectoriesResponse403 = {\n  data: ListDirectories403;\n  status: 403;\n};\n\nexport type listDirectoriesResponse404 = {\n  data: ListDirectories404;\n  status: 404;\n};\n\nexport type listDirectoriesResponseSuccess = listDirectoriesResponse200 & {\n  headers: Headers;\n};\nexport type listDirectoriesResponseError = (\n  | listDirectoriesResponse403\n  | listDirectoriesResponse404\n) & {\n  headers: Headers;\n};\n\nexport type listDirectoriesResponse =\n  | listDirectoriesResponseSuccess\n  | listDirectoriesResponseError;\n\nexport const getListDirectoriesUrl = () => {\n  return `https://api.workos.com/_widgets/directory-sync/directories`;\n};\n\nexport const listDirectories = async (\n  options?: RequestInit,\n): Promise<listDirectoriesResponse> => {\n  const res = await fetch(getListDirectoriesUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: listDirectoriesResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as listDirectoriesResponse;\n};\n\nexport type getDirectoryResponse200 = {\n  data: Directory;\n  status: 200;\n};\n\nexport type getDirectoryResponse403 = {\n  data: GetDirectory403;\n  status: 403;\n};\n\nexport type getDirectoryResponse404 = {\n  data: GetDirectory404;\n  status: 404;\n};\n\nexport type getDirectoryResponseSuccess = getDirectoryResponse200 & {\n  headers: Headers;\n};\nexport type getDirectoryResponseError = (\n  | getDirectoryResponse403\n  | getDirectoryResponse404\n) & {\n  headers: Headers;\n};\n\nexport type getDirectoryResponse =\n  | getDirectoryResponseSuccess\n  | getDirectoryResponseError;\n\nexport const getGetDirectoryUrl = (directoryId: string) => {\n  return `https://api.workos.com/_widgets/directory-sync/directories/${directoryId}`;\n};\n\nexport const getDirectory = async (\n  directoryId: string,\n  options?: RequestInit,\n): Promise<getDirectoryResponse> => {\n  const res = await fetch(getGetDirectoryUrl(directoryId), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: getDirectoryResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return {\n    data,\n    status: res.status,\n    headers: res.headers,\n  } as getDirectoryResponse;\n};\n\n/**\n * Returns the widget settings for the current environment, including enabled authentication methods and branding configuration.\n */\nexport type settingsResponse200 = {\n  data: SettingsResponse;\n  status: 200;\n};\n\nexport type settingsResponse403 = {\n  data: Settings403;\n  status: 403;\n};\n\nexport type settingsResponseSuccess = settingsResponse200 & {\n  headers: Headers;\n};\nexport type settingsResponseError = settingsResponse403 & {\n  headers: Headers;\n};\n\nexport type settingsResponse = settingsResponseSuccess | settingsResponseError;\n\nexport const getSettingsUrl = () => {\n  return `https://api.workos.com/_widgets/settings`;\n};\n\nexport const settings = async (\n  options?: RequestInit,\n): Promise<settingsResponse> => {\n  const res = await fetch(getSettingsUrl(), {\n    ...options,\n    method: \"GET\",\n  });\n\n  const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n  const data: settingsResponse[\"data\"] = body ? JSON.parse(body) : {};\n  return { data, status: res.status, headers: res.headers } as settingsResponse;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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