@workos-inc/widgets 1.3.1 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/cjs/admin-portal-domain-verification.client.cjs +115 -0
- package/dist/cjs/admin-portal-domain-verification.client.cjs.map +1 -0
- package/dist/cjs/admin-portal-domain-verification.client.d.cts +14 -0
- package/dist/cjs/admin-portal-sso-connection-client.cjs +269 -0
- package/dist/cjs/admin-portal-sso-connection-client.cjs.map +1 -0
- package/dist/cjs/admin-portal-sso-connection-client.d.cts +12 -0
- package/dist/cjs/api/api-provider.cjs +118 -0
- package/dist/cjs/api/api-provider.cjs.map +1 -0
- package/dist/cjs/api/api-provider.d.cts +31 -0
- package/dist/cjs/api/constants.cjs +29 -0
- package/dist/cjs/api/constants.cjs.map +1 -0
- package/dist/cjs/api/constants.d.cts +3 -0
- package/dist/cjs/api/endpoint.cjs +1252 -0
- package/dist/cjs/api/endpoint.cjs.map +1 -0
- package/dist/cjs/api/endpoint.d.cts +1302 -0
- package/dist/cjs/api/errors.cjs +57 -0
- package/dist/cjs/api/errors.cjs.map +1 -0
- package/dist/cjs/api/{errors.d.ts → errors.d.cts} +5 -5
- package/dist/cjs/api/utils.cjs +68 -0
- package/dist/cjs/api/utils.cjs.map +1 -0
- package/dist/cjs/api/utils.d.cts +11 -0
- package/dist/cjs/api/widgets-api-client.cjs +86 -0
- package/dist/cjs/api/widgets-api-client.cjs.map +1 -0
- package/dist/cjs/api/{widgets-api-client.d.ts → widgets-api-client.d.cts} +8 -7
- package/dist/cjs/card-list.cjs +47 -0
- package/dist/cjs/card-list.cjs.map +1 -0
- package/dist/cjs/card-list.d.cts +9 -0
- package/dist/cjs/index.cjs +64 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +25 -0
- package/dist/cjs/lib/add-mfa-dialog.cjs +335 -0
- package/dist/cjs/lib/add-mfa-dialog.cjs.map +1 -0
- package/dist/cjs/lib/add-mfa-dialog.d.cts +11 -0
- package/dist/cjs/lib/admin-portal-domain-verification.cjs +126 -0
- package/dist/cjs/lib/admin-portal-domain-verification.cjs.map +1 -0
- package/dist/cjs/lib/admin-portal-domain-verification.d.cts +20 -0
- package/dist/cjs/lib/admin-portal-sso-connection.cjs +334 -0
- package/dist/cjs/lib/admin-portal-sso-connection.cjs.map +1 -0
- package/dist/cjs/lib/admin-portal-sso-connection.d.cts +42 -0
- package/dist/cjs/lib/api/config.cjs +38 -0
- package/dist/cjs/lib/api/config.cjs.map +1 -0
- package/dist/cjs/lib/api/{config.d.ts → config.d.cts} +4 -3
- package/dist/cjs/lib/api/user.cjs +113 -0
- package/dist/cjs/lib/api/user.cjs.map +1 -0
- package/dist/cjs/lib/api/user.d.cts +26 -0
- package/dist/cjs/lib/change-password-dialog.cjs +238 -0
- package/dist/cjs/lib/change-password-dialog.cjs.map +1 -0
- package/dist/cjs/lib/change-password-dialog.d.cts +10 -0
- package/dist/cjs/lib/constants.cjs +35 -0
- package/dist/cjs/lib/constants.cjs.map +1 -0
- package/dist/cjs/lib/constants.d.cts +5 -0
- package/dist/cjs/lib/copy-button.cjs +74 -0
- package/dist/cjs/lib/copy-button.cjs.map +1 -0
- package/dist/cjs/lib/copy-button.d.cts +9 -0
- package/dist/cjs/lib/delete-domain-dialog.cjs +72 -0
- package/dist/cjs/lib/delete-domain-dialog.cjs.map +1 -0
- package/dist/cjs/lib/delete-domain-dialog.d.cts +16 -0
- package/dist/cjs/lib/delete-user-dialog.cjs +96 -0
- package/dist/cjs/lib/delete-user-dialog.cjs.map +1 -0
- package/dist/cjs/lib/delete-user-dialog.d.cts +16 -0
- package/dist/cjs/lib/domain-actions.cjs +89 -0
- package/dist/cjs/lib/domain-actions.cjs.map +1 -0
- package/dist/cjs/lib/domain-actions.d.cts +13 -0
- package/dist/cjs/lib/domain-item.cjs +86 -0
- package/dist/cjs/lib/domain-item.cjs.map +1 -0
- package/dist/cjs/lib/domain-item.d.cts +13 -0
- package/dist/cjs/lib/edit-user-profile-dialog.cjs +170 -0
- package/dist/cjs/lib/edit-user-profile-dialog.cjs.map +1 -0
- package/dist/cjs/lib/edit-user-profile-dialog.d.cts +14 -0
- package/dist/cjs/lib/edit-user-role-dialog.cjs +321 -0
- package/dist/cjs/lib/edit-user-role-dialog.cjs.map +1 -0
- package/dist/cjs/lib/edit-user-role-dialog.d.cts +27 -0
- package/dist/cjs/lib/elements.cjs +396 -0
- package/dist/cjs/lib/elements.cjs.map +1 -0
- package/dist/cjs/lib/elements.d.cts +47 -0
- package/dist/cjs/lib/elevated-access.cjs +208 -0
- package/dist/cjs/lib/elevated-access.cjs.map +1 -0
- package/dist/cjs/lib/elevated-access.d.cts +10 -0
- package/dist/cjs/lib/error-boundary.cjs +115 -0
- package/dist/cjs/lib/error-boundary.cjs.map +1 -0
- package/dist/cjs/lib/{error-boundary.d.ts → error-boundary.d.cts} +13 -11
- package/dist/cjs/lib/errors.cjs +66 -0
- package/dist/cjs/lib/errors.cjs.map +1 -0
- package/dist/cjs/lib/{errors.d.ts → errors.d.cts} +6 -6
- package/dist/cjs/lib/generic-error.cjs +109 -0
- package/dist/cjs/lib/generic-error.cjs.map +1 -0
- package/dist/cjs/lib/generic-error.d.cts +7 -0
- package/dist/cjs/lib/icon-panel.cjs +53 -0
- package/dist/cjs/lib/icon-panel.cjs.map +1 -0
- package/dist/cjs/lib/icon-panel.d.cts +8 -0
- package/dist/cjs/lib/icons.cjs +51 -0
- package/dist/cjs/lib/icons.cjs.map +1 -0
- package/dist/cjs/lib/icons.d.cts +6 -0
- package/dist/cjs/lib/identity-providers.cjs +95 -0
- package/dist/cjs/lib/identity-providers.cjs.map +1 -0
- package/dist/cjs/lib/{identity-providers.d.ts → identity-providers.d.cts} +5 -5
- package/dist/cjs/lib/invite-user-dialog.cjs +277 -0
- package/dist/cjs/lib/invite-user-dialog.cjs.map +1 -0
- package/dist/cjs/lib/invite-user-dialog.d.cts +9 -0
- package/dist/cjs/lib/logout-all-sessions-dialog.cjs +97 -0
- package/dist/cjs/lib/logout-all-sessions-dialog.cjs.map +1 -0
- package/dist/cjs/lib/logout-all-sessions-dialog.d.cts +11 -0
- package/dist/cjs/lib/logout-dialog.cjs +109 -0
- package/dist/cjs/lib/logout-dialog.cjs.map +1 -0
- package/dist/cjs/lib/logout-dialog.d.cts +14 -0
- package/dist/cjs/lib/marker.cjs +56 -0
- package/dist/cjs/lib/marker.cjs.map +1 -0
- package/dist/cjs/lib/{marker.d.ts → marker.d.cts} +7 -6
- package/dist/cjs/lib/name-server-icon.cjs +101 -0
- package/dist/cjs/lib/name-server-icon.cjs.map +1 -0
- package/dist/cjs/lib/name-server-icon.d.cts +11 -0
- package/dist/cjs/lib/oauth-icons.cjs +175 -0
- package/dist/cjs/lib/oauth-icons.cjs.map +1 -0
- package/dist/cjs/lib/oauth-icons.d.cts +6 -0
- package/dist/cjs/lib/organization-switcher.cjs +188 -0
- package/dist/cjs/lib/organization-switcher.cjs.map +1 -0
- package/dist/cjs/lib/{organization-switcher.d.ts → organization-switcher.d.cts} +12 -11
- package/dist/cjs/lib/otp-input.cjs +246 -0
- package/dist/cjs/lib/otp-input.cjs.map +1 -0
- package/dist/cjs/lib/otp-input.d.cts +22 -0
- package/dist/cjs/lib/provider-icon.cjs +69 -0
- package/dist/cjs/lib/provider-icon.cjs.map +1 -0
- package/dist/cjs/lib/{provider-icon.d.ts → provider-icon.d.cts} +5 -4
- package/dist/cjs/lib/resend-invite-dialog.cjs +149 -0
- package/dist/cjs/lib/resend-invite-dialog.cjs.map +1 -0
- package/dist/cjs/lib/resend-invite-dialog.d.cts +14 -0
- package/dist/cjs/lib/reset-mfa-dialog.cjs +111 -0
- package/dist/cjs/lib/reset-mfa-dialog.cjs.map +1 -0
- package/dist/cjs/lib/reset-mfa-dialog.d.cts +11 -0
- package/dist/cjs/lib/revoke-invite-dialog.cjs +103 -0
- package/dist/cjs/lib/revoke-invite-dialog.cjs.map +1 -0
- package/dist/cjs/lib/revoke-invite-dialog.d.cts +14 -0
- package/dist/cjs/lib/save-button.cjs +119 -0
- package/dist/cjs/lib/save-button.cjs.map +1 -0
- package/dist/cjs/lib/save-button.d.cts +13 -0
- package/dist/cjs/lib/search-provider.cjs +79 -0
- package/dist/cjs/lib/search-provider.cjs.map +1 -0
- package/dist/cjs/lib/search-provider.d.cts +12 -0
- package/dist/cjs/lib/set-password-dialog.cjs +165 -0
- package/dist/cjs/lib/set-password-dialog.cjs.map +1 -0
- package/dist/cjs/lib/set-password-dialog.d.cts +10 -0
- package/dist/cjs/lib/status.cjs +72 -0
- package/dist/cjs/lib/status.cjs.map +1 -0
- package/dist/cjs/lib/status.d.cts +11 -0
- package/dist/cjs/lib/use-dialog-close.cjs +53 -0
- package/dist/cjs/lib/use-dialog-close.cjs.map +1 -0
- package/dist/cjs/lib/use-dialog-close.d.cts +3 -0
- package/dist/cjs/lib/use-is-hydrated.cjs +50 -0
- package/dist/cjs/lib/use-is-hydrated.cjs.map +1 -0
- package/dist/cjs/lib/use-is-hydrated.d.cts +3 -0
- package/dist/cjs/lib/use-layout-effect.cjs +31 -0
- package/dist/cjs/lib/use-layout-effect.cjs.map +1 -0
- package/dist/cjs/lib/{use-layout-effect.d.ts → use-layout-effect.d.cts} +3 -2
- package/dist/cjs/lib/use-permissions.cjs +55 -0
- package/dist/cjs/lib/use-permissions.cjs.map +1 -0
- package/dist/cjs/lib/use-permissions.d.cts +6 -0
- package/dist/cjs/lib/use-security-settings.cjs +59 -0
- package/dist/cjs/lib/use-security-settings.cjs.map +1 -0
- package/dist/cjs/lib/{use-security-settings.d.ts → use-security-settings.d.cts} +3 -3
- package/dist/cjs/lib/user-actions-dropdown.cjs +168 -0
- package/dist/cjs/lib/user-actions-dropdown.cjs.map +1 -0
- package/dist/cjs/lib/user-actions-dropdown.d.cts +13 -0
- package/dist/cjs/lib/user-profile.cjs +175 -0
- package/dist/cjs/lib/user-profile.cjs.map +1 -0
- package/dist/cjs/lib/user-profile.d.cts +15 -0
- package/dist/cjs/lib/user-security.cjs +135 -0
- package/dist/cjs/lib/user-security.cjs.map +1 -0
- package/dist/cjs/lib/user-security.d.cts +15 -0
- package/dist/cjs/lib/user-sessions.cjs +178 -0
- package/dist/cjs/lib/user-sessions.cjs.map +1 -0
- package/dist/cjs/lib/user-sessions.d.cts +16 -0
- package/dist/cjs/lib/users-filter.cjs +85 -0
- package/dist/cjs/lib/users-filter.cjs.map +1 -0
- package/dist/cjs/lib/users-filter.d.cts +13 -0
- package/dist/cjs/lib/users-management-context.cjs +81 -0
- package/dist/cjs/lib/users-management-context.cjs.map +1 -0
- package/dist/cjs/lib/users-management-context.d.cts +19 -0
- package/dist/cjs/lib/users-management-state.cjs +154 -0
- package/dist/cjs/lib/users-management-state.cjs.map +1 -0
- package/dist/cjs/lib/users-management-state.d.cts +26 -0
- package/dist/cjs/lib/users-management.cjs +485 -0
- package/dist/cjs/lib/users-management.cjs.map +1 -0
- package/dist/cjs/lib/users-management.d.cts +22 -0
- package/dist/cjs/lib/users-search.cjs +101 -0
- package/dist/cjs/lib/users-search.cjs.map +1 -0
- package/dist/cjs/lib/users-search.d.cts +6 -0
- package/dist/cjs/lib/utils.cjs +148 -0
- package/dist/cjs/lib/utils.cjs.map +1 -0
- package/dist/cjs/lib/utils.d.cts +31 -0
- package/dist/cjs/lib/view-dns-record-dialog.cjs +101 -0
- package/dist/cjs/lib/view-dns-record-dialog.cjs.map +1 -0
- package/dist/cjs/lib/view-dns-record-dialog.d.cts +16 -0
- package/dist/cjs/lib/widgets-context.cjs +59 -0
- package/dist/cjs/lib/widgets-context.cjs.map +1 -0
- package/dist/cjs/lib/widgets-context.d.cts +15 -0
- package/dist/cjs/organization-switcher.client.cjs +81 -0
- package/dist/cjs/organization-switcher.client.cjs.map +1 -0
- package/dist/cjs/organization-switcher.client.d.cts +15 -0
- package/dist/cjs/user-profile.client.cjs +65 -0
- package/dist/cjs/user-profile.client.cjs.map +1 -0
- package/dist/cjs/user-profile.client.d.cts +14 -0
- package/dist/cjs/user-security.client.cjs +67 -0
- package/dist/cjs/user-security.client.cjs.map +1 -0
- package/dist/cjs/user-security.client.d.cts +14 -0
- package/dist/cjs/user-sessions.client.cjs +98 -0
- package/dist/cjs/user-sessions.client.cjs.map +1 -0
- package/dist/cjs/user-sessions.client.d.cts +18 -0
- package/dist/cjs/users-management.client.cjs +88 -0
- package/dist/cjs/users-management.client.cjs.map +1 -0
- package/dist/cjs/users-management.client.d.cts +14 -0
- package/dist/cjs/workos-widgets.client.cjs +106 -0
- package/dist/cjs/workos-widgets.client.cjs.map +1 -0
- package/dist/cjs/{workos-widgets.client.d.ts → workos-widgets.client.d.cts} +10 -7
- package/dist/esm/admin-portal-domain-verification.client.d.ts +12 -5
- package/dist/esm/admin-portal-domain-verification.client.js +87 -52
- package/dist/esm/admin-portal-domain-verification.client.js.map +1 -1
- package/dist/esm/admin-portal-sso-connection-client.d.ts +10 -5
- package/dist/esm/admin-portal-sso-connection-client.js +221 -173
- package/dist/esm/admin-portal-sso-connection-client.js.map +1 -1
- package/dist/esm/api/api-provider.d.ts +10 -8
- package/dist/esm/api/api-provider.js +74 -93
- package/dist/esm/api/api-provider.js.map +1 -1
- package/dist/esm/api/constants.d.ts +3 -2
- package/dist/esm/api/constants.js +4 -1
- package/dist/esm/api/constants.js.map +1 -1
- package/dist/esm/api/endpoint.d.ts +471 -431
- package/dist/esm/api/endpoint.js +1098 -994
- package/dist/esm/api/endpoint.js.map +1 -1
- package/dist/esm/api/errors.d.ts +5 -5
- package/dist/esm/api/errors.js +27 -30
- package/dist/esm/api/errors.js.map +1 -1
- package/dist/esm/api/utils.d.ts +6 -5
- package/dist/esm/api/utils.js +34 -29
- package/dist/esm/api/utils.js.map +1 -1
- package/dist/esm/api/widgets-api-client.d.ts +8 -7
- package/dist/esm/api/widgets-api-client.js +54 -50
- package/dist/esm/api/widgets-api-client.js.map +1 -1
- package/dist/esm/card-list.d.ts +8 -5
- package/dist/esm/card-list.js +18 -5
- package/dist/esm/card-list.js.map +1 -1
- package/dist/esm/index.d.ts +25 -9
- package/dist/esm/index.js +48 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/add-mfa-dialog.d.ts +7 -5
- package/dist/esm/lib/add-mfa-dialog.js +290 -86
- package/dist/esm/lib/add-mfa-dialog.js.map +1 -1
- package/dist/esm/lib/admin-portal-domain-verification.d.ts +12 -7
- package/dist/esm/lib/admin-portal-domain-verification.js +77 -10
- package/dist/esm/lib/admin-portal-domain-verification.js.map +1 -1
- package/dist/esm/lib/admin-portal-sso-connection.d.ts +14 -12
- package/dist/esm/lib/admin-portal-sso-connection.js +277 -150
- package/dist/esm/lib/admin-portal-sso-connection.js.map +1 -1
- package/dist/esm/lib/api/config.d.ts +4 -3
- package/dist/esm/lib/api/config.js +11 -7
- package/dist/esm/lib/api/config.js.map +1 -1
- package/dist/esm/lib/api/user.d.ts +19 -10
- package/dist/esm/lib/api/user.js +85 -62
- package/dist/esm/lib/api/user.js.map +1 -1
- package/dist/esm/lib/change-password-dialog.d.ts +7 -5
- package/dist/esm/lib/change-password-dialog.js +197 -58
- package/dist/esm/lib/change-password-dialog.js.map +1 -1
- package/dist/esm/lib/constants.d.ts +5 -4
- package/dist/esm/lib/constants.js +8 -3
- package/dist/esm/lib/constants.js.map +1 -1
- package/dist/esm/lib/copy-button.d.ts +5 -4
- package/dist/esm/lib/copy-button.js +29 -25
- package/dist/esm/lib/copy-button.js.map +1 -1
- package/dist/esm/lib/delete-domain-dialog.d.ts +9 -5
- package/dist/esm/lib/delete-domain-dialog.js +44 -18
- package/dist/esm/lib/delete-domain-dialog.js.map +1 -1
- package/dist/esm/lib/delete-user-dialog.d.ts +10 -6
- package/dist/esm/lib/delete-user-dialog.js +75 -26
- package/dist/esm/lib/delete-user-dialog.js.map +1 -1
- package/dist/esm/lib/domain-actions.d.ts +8 -4
- package/dist/esm/lib/domain-actions.js +57 -10
- package/dist/esm/lib/domain-actions.js.map +1 -1
- package/dist/esm/lib/domain-item.d.ts +8 -4
- package/dist/esm/lib/domain-item.js +49 -21
- package/dist/esm/lib/domain-item.js.map +1 -1
- package/dist/esm/lib/edit-user-profile-dialog.d.ts +10 -6
- package/dist/esm/lib/edit-user-profile-dialog.js +128 -45
- package/dist/esm/lib/edit-user-profile-dialog.js.map +1 -1
- package/dist/esm/lib/edit-user-role-dialog.d.ts +21 -6
- package/dist/esm/lib/edit-user-role-dialog.js +296 -44
- package/dist/esm/lib/edit-user-role-dialog.js.map +1 -1
- package/dist/esm/lib/elements.d.ts +27 -26
- package/dist/esm/lib/elements.js +325 -88
- package/dist/esm/lib/elements.js.map +1 -1
- package/dist/esm/lib/elevated-access.d.ts +6 -4
- package/dist/esm/lib/elevated-access.js +159 -90
- package/dist/esm/lib/elevated-access.js.map +1 -1
- package/dist/esm/lib/error-boundary.d.ts +13 -11
- package/dist/esm/lib/error-boundary.js +69 -74
- package/dist/esm/lib/error-boundary.js.map +1 -1
- package/dist/esm/lib/errors.d.ts +6 -6
- package/dist/esm/lib/errors.js +34 -37
- package/dist/esm/lib/errors.js.map +1 -1
- package/dist/esm/lib/generic-error.d.ts +6 -3
- package/dist/esm/lib/generic-error.js +75 -29
- package/dist/esm/lib/generic-error.js.map +1 -1
- package/dist/esm/lib/icon-panel.d.ts +7 -4
- package/dist/esm/lib/icon-panel.js +25 -10
- package/dist/esm/lib/icon-panel.js.map +1 -1
- package/dist/esm/lib/icons.d.ts +6 -3
- package/dist/esm/lib/icons.js +25 -3
- package/dist/esm/lib/icons.js.map +1 -1
- package/dist/esm/lib/identity-providers.d.ts +5 -5
- package/dist/esm/lib/identity-providers.js +66 -63
- package/dist/esm/lib/identity-providers.js.map +1 -1
- package/dist/esm/lib/invite-user-dialog.d.ts +6 -4
- package/dist/esm/lib/invite-user-dialog.js +236 -117
- package/dist/esm/lib/invite-user-dialog.js.map +1 -1
- package/dist/esm/lib/logout-all-sessions-dialog.d.ts +7 -5
- package/dist/esm/lib/logout-all-sessions-dialog.js +59 -18
- package/dist/esm/lib/logout-all-sessions-dialog.js.map +1 -1
- package/dist/esm/lib/logout-dialog.d.ts +10 -6
- package/dist/esm/lib/logout-dialog.js +74 -24
- package/dist/esm/lib/logout-dialog.js.map +1 -1
- package/dist/esm/lib/marker.d.ts +7 -6
- package/dist/esm/lib/marker.js +17 -4
- package/dist/esm/lib/marker.js.map +1 -1
- package/dist/esm/lib/name-server-icon.d.ts +8 -4
- package/dist/esm/lib/name-server-icon.js +60 -4
- package/dist/esm/lib/name-server-icon.js.map +1 -1
- package/dist/esm/lib/oauth-icons.d.ts +6 -4
- package/dist/esm/lib/oauth-icons.js +132 -31
- package/dist/esm/lib/oauth-icons.js.map +1 -1
- package/dist/esm/lib/organization-switcher.d.ts +12 -11
- package/dist/esm/lib/organization-switcher.js +156 -42
- package/dist/esm/lib/organization-switcher.js.map +1 -1
- package/dist/esm/lib/otp-input.d.ts +9 -7
- package/dist/esm/lib/otp-input.js +163 -100
- package/dist/esm/lib/otp-input.js.map +1 -1
- package/dist/esm/lib/provider-icon.d.ts +5 -4
- package/dist/esm/lib/provider-icon.js +29 -8
- package/dist/esm/lib/provider-icon.js.map +1 -1
- package/dist/esm/lib/resend-invite-dialog.d.ts +10 -6
- package/dist/esm/lib/resend-invite-dialog.js +120 -36
- package/dist/esm/lib/resend-invite-dialog.js.map +1 -1
- package/dist/esm/lib/reset-mfa-dialog.d.ts +7 -5
- package/dist/esm/lib/reset-mfa-dialog.js +70 -23
- package/dist/esm/lib/reset-mfa-dialog.js.map +1 -1
- package/dist/esm/lib/revoke-invite-dialog.d.ts +10 -6
- package/dist/esm/lib/revoke-invite-dialog.js +82 -26
- package/dist/esm/lib/revoke-invite-dialog.js.map +1 -1
- package/dist/esm/lib/save-button.d.ts +6 -4
- package/dist/esm/lib/save-button.js +92 -35
- package/dist/esm/lib/save-button.js.map +1 -1
- package/dist/esm/lib/search-provider.d.ts +7 -6
- package/dist/esm/lib/search-provider.js +37 -20
- package/dist/esm/lib/search-provider.js.map +1 -1
- package/dist/esm/lib/set-password-dialog.d.ts +7 -5
- package/dist/esm/lib/set-password-dialog.js +122 -39
- package/dist/esm/lib/set-password-dialog.js.map +1 -1
- package/dist/esm/lib/status.d.ts +7 -6
- package/dist/esm/lib/status.js +31 -12
- package/dist/esm/lib/status.js.map +1 -1
- package/dist/esm/lib/use-dialog-close.d.ts +3 -2
- package/dist/esm/lib/use-dialog-close.js +16 -14
- package/dist/esm/lib/use-dialog-close.js.map +1 -1
- package/dist/esm/lib/use-is-hydrated.d.ts +3 -2
- package/dist/esm/lib/use-is-hydrated.js +11 -3
- package/dist/esm/lib/use-is-hydrated.js.map +1 -1
- package/dist/esm/lib/use-layout-effect.d.ts +3 -2
- package/dist/esm/lib/use-layout-effect.js +3 -1
- package/dist/esm/lib/use-layout-effect.js.map +1 -1
- package/dist/esm/lib/use-permissions.d.ts +5 -3
- package/dist/esm/lib/use-permissions.js +25 -25
- package/dist/esm/lib/use-permissions.js.map +1 -1
- package/dist/esm/lib/use-security-settings.d.ts +3 -3
- package/dist/esm/lib/use-security-settings.js +33 -32
- package/dist/esm/lib/use-security-settings.js.map +1 -1
- package/dist/esm/lib/user-actions-dropdown.d.ts +9 -5
- package/dist/esm/lib/user-actions-dropdown.js +127 -42
- package/dist/esm/lib/user-actions-dropdown.js.map +1 -1
- package/dist/esm/lib/user-profile.d.ts +11 -7
- package/dist/esm/lib/user-profile.js +137 -16
- package/dist/esm/lib/user-profile.js.map +1 -1
- package/dist/esm/lib/user-security.d.ts +12 -8
- package/dist/esm/lib/user-security.js +81 -14
- package/dist/esm/lib/user-security.js.map +1 -1
- package/dist/esm/lib/user-sessions.d.ts +11 -7
- package/dist/esm/lib/user-sessions.js +131 -25
- package/dist/esm/lib/user-sessions.js.map +1 -1
- package/dist/esm/lib/users-filter.d.ts +9 -6
- package/dist/esm/lib/users-filter.js +42 -20
- package/dist/esm/lib/users-filter.js.map +1 -1
- package/dist/esm/lib/users-management-context.d.ts +11 -6
- package/dist/esm/lib/users-management-context.js +37 -31
- package/dist/esm/lib/users-management-context.js.map +1 -1
- package/dist/esm/lib/users-management-state.d.ts +10 -6
- package/dist/esm/lib/users-management-state.js +108 -105
- package/dist/esm/lib/users-management-state.js.map +1 -1
- package/dist/esm/lib/users-management.d.ts +16 -8
- package/dist/esm/lib/users-management.js +444 -143
- package/dist/esm/lib/users-management.js.map +1 -1
- package/dist/esm/lib/users-search.d.ts +6 -3
- package/dist/esm/lib/users-search.js +48 -15
- package/dist/esm/lib/users-search.js.map +1 -1
- package/dist/esm/lib/utils.d.ts +18 -13
- package/dist/esm/lib/utils.js +92 -84
- package/dist/esm/lib/utils.js.map +1 -1
- package/dist/esm/lib/view-dns-record-dialog.d.ts +9 -5
- package/dist/esm/lib/view-dns-record-dialog.js +80 -14
- package/dist/esm/lib/view-dns-record-dialog.js.map +1 -1
- package/dist/esm/lib/widgets-context.d.ts +11 -7
- package/dist/esm/lib/widgets-context.js +17 -11
- package/dist/esm/lib/widgets-context.js.map +1 -1
- package/dist/esm/organization-switcher.client.d.ts +13 -6
- package/dist/esm/organization-switcher.client.js +47 -21
- package/dist/esm/organization-switcher.client.js.map +1 -1
- package/dist/esm/user-profile.client.d.ts +12 -5
- package/dist/esm/user-profile.client.js +33 -17
- package/dist/esm/user-profile.client.js.map +1 -1
- package/dist/esm/user-security.client.d.ts +12 -5
- package/dist/esm/user-security.client.js +36 -14
- package/dist/esm/user-security.client.js.map +1 -1
- package/dist/esm/user-sessions.client.d.ts +10 -4
- package/dist/esm/user-sessions.client.js +62 -30
- package/dist/esm/user-sessions.client.js.map +1 -1
- package/dist/esm/users-management.client.d.ts +12 -5
- package/dist/esm/users-management.client.js +54 -24
- package/dist/esm/users-management.client.js.map +1 -1
- package/dist/esm/workos-widgets.client.d.ts +10 -7
- package/dist/esm/workos-widgets.client.js +64 -38
- package/dist/esm/workos-widgets.client.js.map +1 -1
- package/package.json +55 -48
- package/LICENSE +0 -21
- package/dist/cjs/admin-portal-domain-verification.client.d.ts +0 -7
- package/dist/cjs/admin-portal-domain-verification.client.d.ts.map +0 -1
- package/dist/cjs/admin-portal-domain-verification.client.js +0 -69
- package/dist/cjs/admin-portal-domain-verification.client.js.map +0 -1
- package/dist/cjs/admin-portal-sso-connection-client.d.ts +0 -7
- package/dist/cjs/admin-portal-sso-connection-client.d.ts.map +0 -1
- package/dist/cjs/admin-portal-sso-connection-client.js +0 -221
- package/dist/cjs/admin-portal-sso-connection-client.js.map +0 -1
- package/dist/cjs/api/api-provider.d.ts +0 -29
- package/dist/cjs/api/api-provider.d.ts.map +0 -1
- package/dist/cjs/api/api-provider.js +0 -130
- package/dist/cjs/api/api-provider.js.map +0 -1
- package/dist/cjs/api/constants.d.ts +0 -2
- package/dist/cjs/api/constants.d.ts.map +0 -1
- package/dist/cjs/api/constants.js +0 -5
- package/dist/cjs/api/constants.js.map +0 -1
- package/dist/cjs/api/endpoint.d.ts +0 -1262
- package/dist/cjs/api/endpoint.d.ts.map +0 -1
- package/dist/cjs/api/endpoint.js +0 -1108
- package/dist/cjs/api/endpoint.js.map +0 -1
- package/dist/cjs/api/errors.d.ts.map +0 -1
- package/dist/cjs/api/errors.js +0 -40
- package/dist/cjs/api/errors.js.map +0 -1
- package/dist/cjs/api/utils.d.ts +0 -10
- package/dist/cjs/api/utils.d.ts.map +0 -1
- package/dist/cjs/api/utils.js +0 -42
- package/dist/cjs/api/utils.js.map +0 -1
- package/dist/cjs/api/widgets-api-client.d.ts.map +0 -1
- package/dist/cjs/api/widgets-api-client.js +0 -62
- package/dist/cjs/api/widgets-api-client.js.map +0 -1
- package/dist/cjs/card-list.d.ts +0 -6
- package/dist/cjs/card-list.d.ts.map +0 -1
- package/dist/cjs/card-list.js +0 -13
- package/dist/cjs/card-list.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -9
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -20
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/lib/add-mfa-dialog.d.ts +0 -9
- package/dist/cjs/lib/add-mfa-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/add-mfa-dialog.js +0 -136
- package/dist/cjs/lib/add-mfa-dialog.js.map +0 -1
- package/dist/cjs/lib/admin-portal-domain-verification.d.ts +0 -15
- package/dist/cjs/lib/admin-portal-domain-verification.d.ts.map +0 -1
- package/dist/cjs/lib/admin-portal-domain-verification.js +0 -55
- package/dist/cjs/lib/admin-portal-domain-verification.js.map +0 -1
- package/dist/cjs/lib/admin-portal-sso-connection.d.ts +0 -40
- package/dist/cjs/lib/admin-portal-sso-connection.d.ts.map +0 -1
- package/dist/cjs/lib/admin-portal-sso-connection.js +0 -209
- package/dist/cjs/lib/admin-portal-sso-connection.js.map +0 -1
- package/dist/cjs/lib/api/config.d.ts.map +0 -1
- package/dist/cjs/lib/api/config.js +0 -12
- package/dist/cjs/lib/api/config.js.map +0 -1
- package/dist/cjs/lib/api/user.d.ts +0 -17
- package/dist/cjs/lib/api/user.d.ts.map +0 -1
- package/dist/cjs/lib/api/user.js +0 -80
- package/dist/cjs/lib/api/user.js.map +0 -1
- package/dist/cjs/lib/change-password-dialog.d.ts +0 -8
- package/dist/cjs/lib/change-password-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/change-password-dialog.js +0 -97
- package/dist/cjs/lib/change-password-dialog.js.map +0 -1
- package/dist/cjs/lib/constants.d.ts +0 -4
- package/dist/cjs/lib/constants.d.ts.map +0 -1
- package/dist/cjs/lib/constants.js +0 -7
- package/dist/cjs/lib/constants.js.map +0 -1
- package/dist/cjs/lib/copy-button.d.ts +0 -8
- package/dist/cjs/lib/copy-button.d.ts.map +0 -1
- package/dist/cjs/lib/copy-button.js +0 -62
- package/dist/cjs/lib/copy-button.js.map +0 -1
- package/dist/cjs/lib/delete-domain-dialog.d.ts +0 -12
- package/dist/cjs/lib/delete-domain-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/delete-domain-dialog.js +0 -26
- package/dist/cjs/lib/delete-domain-dialog.js.map +0 -1
- package/dist/cjs/lib/delete-user-dialog.d.ts +0 -12
- package/dist/cjs/lib/delete-user-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/delete-user-dialog.js +0 -36
- package/dist/cjs/lib/delete-user-dialog.js.map +0 -1
- package/dist/cjs/lib/domain-actions.d.ts +0 -9
- package/dist/cjs/lib/domain-actions.d.ts.map +0 -1
- package/dist/cjs/lib/domain-actions.js +0 -22
- package/dist/cjs/lib/domain-actions.js.map +0 -1
- package/dist/cjs/lib/domain-item.d.ts +0 -9
- package/dist/cjs/lib/domain-item.d.ts.map +0 -1
- package/dist/cjs/lib/domain-item.js +0 -38
- package/dist/cjs/lib/domain-item.js.map +0 -1
- package/dist/cjs/lib/edit-user-profile-dialog.d.ts +0 -10
- package/dist/cjs/lib/edit-user-profile-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/edit-user-profile-dialog.js +0 -85
- package/dist/cjs/lib/edit-user-profile-dialog.js.map +0 -1
- package/dist/cjs/lib/edit-user-role-dialog.d.ts +0 -12
- package/dist/cjs/lib/edit-user-role-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/edit-user-role-dialog.js +0 -82
- package/dist/cjs/lib/edit-user-role-dialog.js.map +0 -1
- package/dist/cjs/lib/elements.d.ts +0 -46
- package/dist/cjs/lib/elements.d.ts.map +0 -1
- package/dist/cjs/lib/elements.js +0 -148
- package/dist/cjs/lib/elements.js.map +0 -1
- package/dist/cjs/lib/elevated-access.d.ts +0 -8
- package/dist/cjs/lib/elevated-access.d.ts.map +0 -1
- package/dist/cjs/lib/elevated-access.js +0 -131
- package/dist/cjs/lib/elevated-access.js.map +0 -1
- package/dist/cjs/lib/error-boundary.d.ts.map +0 -1
- package/dist/cjs/lib/error-boundary.js +0 -113
- package/dist/cjs/lib/error-boundary.js.map +0 -1
- package/dist/cjs/lib/errors.d.ts.map +0 -1
- package/dist/cjs/lib/errors.js +0 -49
- package/dist/cjs/lib/errors.js.map +0 -1
- package/dist/cjs/lib/generic-error.d.ts +0 -4
- package/dist/cjs/lib/generic-error.d.ts.map +0 -1
- package/dist/cjs/lib/generic-error.js +0 -60
- package/dist/cjs/lib/generic-error.js.map +0 -1
- package/dist/cjs/lib/icon-panel.d.ts +0 -5
- package/dist/cjs/lib/icon-panel.d.ts.map +0 -1
- package/dist/cjs/lib/icon-panel.js +0 -17
- package/dist/cjs/lib/icon-panel.js.map +0 -1
- package/dist/cjs/lib/icons.d.ts +0 -3
- package/dist/cjs/lib/icons.d.ts.map +0 -1
- package/dist/cjs/lib/icons.js +0 -8
- package/dist/cjs/lib/icons.js.map +0 -1
- package/dist/cjs/lib/identity-providers.d.ts.map +0 -1
- package/dist/cjs/lib/identity-providers.js +0 -71
- package/dist/cjs/lib/identity-providers.js.map +0 -1
- package/dist/cjs/lib/invite-user-dialog.d.ts +0 -7
- package/dist/cjs/lib/invite-user-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/invite-user-dialog.js +0 -165
- package/dist/cjs/lib/invite-user-dialog.js.map +0 -1
- package/dist/cjs/lib/logout-all-sessions-dialog.d.ts +0 -9
- package/dist/cjs/lib/logout-all-sessions-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/logout-all-sessions-dialog.js +0 -52
- package/dist/cjs/lib/logout-all-sessions-dialog.js.map +0 -1
- package/dist/cjs/lib/logout-dialog.d.ts +0 -10
- package/dist/cjs/lib/logout-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/logout-dialog.js +0 -58
- package/dist/cjs/lib/logout-dialog.js.map +0 -1
- package/dist/cjs/lib/marker.d.ts.map +0 -1
- package/dist/cjs/lib/marker.js +0 -38
- package/dist/cjs/lib/marker.js.map +0 -1
- package/dist/cjs/lib/name-server-icon.d.ts +0 -7
- package/dist/cjs/lib/name-server-icon.d.ts.map +0 -1
- package/dist/cjs/lib/name-server-icon.js +0 -38
- package/dist/cjs/lib/name-server-icon.js.map +0 -1
- package/dist/cjs/lib/oauth-icons.d.ts +0 -4
- package/dist/cjs/lib/oauth-icons.d.ts.map +0 -1
- package/dist/cjs/lib/oauth-icons.js +0 -67
- package/dist/cjs/lib/oauth-icons.js.map +0 -1
- package/dist/cjs/lib/organization-switcher.d.ts.map +0 -1
- package/dist/cjs/lib/organization-switcher.js +0 -63
- package/dist/cjs/lib/organization-switcher.js.map +0 -1
- package/dist/cjs/lib/otp-input.d.ts +0 -20
- package/dist/cjs/lib/otp-input.d.ts.map +0 -1
- package/dist/cjs/lib/otp-input.js +0 -174
- package/dist/cjs/lib/otp-input.js.map +0 -1
- package/dist/cjs/lib/provider-icon.d.ts.map +0 -1
- package/dist/cjs/lib/provider-icon.js +0 -45
- package/dist/cjs/lib/provider-icon.js.map +0 -1
- package/dist/cjs/lib/resend-invite-dialog.d.ts +0 -10
- package/dist/cjs/lib/resend-invite-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/resend-invite-dialog.js +0 -70
- package/dist/cjs/lib/resend-invite-dialog.js.map +0 -1
- package/dist/cjs/lib/reset-mfa-dialog.d.ts +0 -9
- package/dist/cjs/lib/reset-mfa-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/reset-mfa-dialog.js +0 -60
- package/dist/cjs/lib/reset-mfa-dialog.js.map +0 -1
- package/dist/cjs/lib/revoke-invite-dialog.d.ts +0 -10
- package/dist/cjs/lib/revoke-invite-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/revoke-invite-dialog.js +0 -36
- package/dist/cjs/lib/revoke-invite-dialog.js.map +0 -1
- package/dist/cjs/lib/save-button.d.ts +0 -11
- package/dist/cjs/lib/save-button.d.ts.map +0 -1
- package/dist/cjs/lib/save-button.js +0 -47
- package/dist/cjs/lib/save-button.js.map +0 -1
- package/dist/cjs/lib/search-provider.d.ts +0 -11
- package/dist/cjs/lib/search-provider.d.ts.map +0 -1
- package/dist/cjs/lib/search-provider.js +0 -55
- package/dist/cjs/lib/search-provider.js.map +0 -1
- package/dist/cjs/lib/set-password-dialog.d.ts +0 -8
- package/dist/cjs/lib/set-password-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/set-password-dialog.js +0 -80
- package/dist/cjs/lib/set-password-dialog.js.map +0 -1
- package/dist/cjs/lib/status.d.ts +0 -10
- package/dist/cjs/lib/status.d.ts.map +0 -1
- package/dist/cjs/lib/status.js +0 -48
- package/dist/cjs/lib/status.js.map +0 -1
- package/dist/cjs/lib/use-dialog-close.d.ts +0 -2
- package/dist/cjs/lib/use-dialog-close.d.ts.map +0 -1
- package/dist/cjs/lib/use-dialog-close.js +0 -43
- package/dist/cjs/lib/use-dialog-close.js.map +0 -1
- package/dist/cjs/lib/use-is-hydrated.d.ts +0 -2
- package/dist/cjs/lib/use-is-hydrated.d.ts.map +0 -1
- package/dist/cjs/lib/use-is-hydrated.js +0 -34
- package/dist/cjs/lib/use-is-hydrated.js.map +0 -1
- package/dist/cjs/lib/use-layout-effect.d.ts.map +0 -1
- package/dist/cjs/lib/use-layout-effect.js +0 -8
- package/dist/cjs/lib/use-layout-effect.js.map +0 -1
- package/dist/cjs/lib/use-permissions.d.ts +0 -4
- package/dist/cjs/lib/use-permissions.d.ts.map +0 -1
- package/dist/cjs/lib/use-permissions.js +0 -34
- package/dist/cjs/lib/use-permissions.js.map +0 -1
- package/dist/cjs/lib/use-security-settings.d.ts.map +0 -1
- package/dist/cjs/lib/use-security-settings.js +0 -39
- package/dist/cjs/lib/use-security-settings.js.map +0 -1
- package/dist/cjs/lib/user-actions-dropdown.d.ts +0 -9
- package/dist/cjs/lib/user-actions-dropdown.d.ts.map +0 -1
- package/dist/cjs/lib/user-actions-dropdown.js +0 -80
- package/dist/cjs/lib/user-actions-dropdown.js.map +0 -1
- package/dist/cjs/lib/user-profile.d.ts +0 -11
- package/dist/cjs/lib/user-profile.d.ts.map +0 -1
- package/dist/cjs/lib/user-profile.js +0 -36
- package/dist/cjs/lib/user-profile.js.map +0 -1
- package/dist/cjs/lib/user-security.d.ts +0 -11
- package/dist/cjs/lib/user-security.d.ts.map +0 -1
- package/dist/cjs/lib/user-security.js +0 -64
- package/dist/cjs/lib/user-security.js.map +0 -1
- package/dist/cjs/lib/user-sessions.d.ts +0 -12
- package/dist/cjs/lib/user-sessions.d.ts.map +0 -1
- package/dist/cjs/lib/user-sessions.js +0 -72
- package/dist/cjs/lib/user-sessions.js.map +0 -1
- package/dist/cjs/lib/users-filter.d.ts +0 -10
- package/dist/cjs/lib/users-filter.d.ts.map +0 -1
- package/dist/cjs/lib/users-filter.js +0 -56
- package/dist/cjs/lib/users-filter.js.map +0 -1
- package/dist/cjs/lib/users-management-context.d.ts +0 -14
- package/dist/cjs/lib/users-management-context.d.ts.map +0 -1
- package/dist/cjs/lib/users-management-context.js +0 -70
- package/dist/cjs/lib/users-management-context.js.map +0 -1
- package/dist/cjs/lib/users-management-state.d.ts +0 -22
- package/dist/cjs/lib/users-management-state.d.ts.map +0 -1
- package/dist/cjs/lib/users-management-state.js +0 -143
- package/dist/cjs/lib/users-management-state.js.map +0 -1
- package/dist/cjs/lib/users-management.d.ts +0 -14
- package/dist/cjs/lib/users-management.d.ts.map +0 -1
- package/dist/cjs/lib/users-management.js +0 -201
- package/dist/cjs/lib/users-management.js.map +0 -1
- package/dist/cjs/lib/users-search.d.ts +0 -3
- package/dist/cjs/lib/users-search.d.ts.map +0 -1
- package/dist/cjs/lib/users-search.js +0 -63
- package/dist/cjs/lib/users-search.js.map +0 -1
- package/dist/cjs/lib/utils.d.ts +0 -26
- package/dist/cjs/lib/utils.d.ts.map +0 -1
- package/dist/cjs/lib/utils.js +0 -108
- package/dist/cjs/lib/utils.js.map +0 -1
- package/dist/cjs/lib/view-dns-record-dialog.d.ts +0 -12
- package/dist/cjs/lib/view-dns-record-dialog.d.ts.map +0 -1
- package/dist/cjs/lib/view-dns-record-dialog.js +0 -26
- package/dist/cjs/lib/view-dns-record-dialog.js.map +0 -1
- package/dist/cjs/lib/widgets-context.d.ts +0 -11
- package/dist/cjs/lib/widgets-context.d.ts.map +0 -1
- package/dist/cjs/lib/widgets-context.js +0 -45
- package/dist/cjs/lib/widgets-context.js.map +0 -1
- package/dist/cjs/organization-switcher.client.d.ts +0 -8
- package/dist/cjs/organization-switcher.client.d.ts.map +0 -1
- package/dist/cjs/organization-switcher.client.js +0 -38
- package/dist/cjs/organization-switcher.client.js.map +0 -1
- package/dist/cjs/user-profile.client.d.ts +0 -7
- package/dist/cjs/user-profile.client.d.ts.map +0 -1
- package/dist/cjs/user-profile.client.js +0 -32
- package/dist/cjs/user-profile.client.js.map +0 -1
- package/dist/cjs/user-security.client.d.ts +0 -7
- package/dist/cjs/user-security.client.d.ts.map +0 -1
- package/dist/cjs/user-security.client.js +0 -28
- package/dist/cjs/user-security.client.js.map +0 -1
- package/dist/cjs/user-sessions.client.d.ts +0 -12
- package/dist/cjs/user-sessions.client.d.ts.map +0 -1
- package/dist/cjs/user-sessions.client.js +0 -49
- package/dist/cjs/user-sessions.client.js.map +0 -1
- package/dist/cjs/users-management.client.d.ts +0 -7
- package/dist/cjs/users-management.client.d.ts.map +0 -1
- package/dist/cjs/users-management.client.js +0 -41
- package/dist/cjs/users-management.client.js.map +0 -1
- package/dist/cjs/workos-widgets.client.d.ts.map +0 -1
- package/dist/cjs/workos-widgets.client.js +0 -80
- package/dist/cjs/workos-widgets.client.js.map +0 -1
- package/dist/esm/admin-portal-domain-verification.client.d.ts.map +0 -1
- package/dist/esm/admin-portal-sso-connection-client.d.ts.map +0 -1
- package/dist/esm/api/api-provider.d.ts.map +0 -1
- package/dist/esm/api/constants.d.ts.map +0 -1
- package/dist/esm/api/endpoint.d.ts.map +0 -1
- package/dist/esm/api/errors.d.ts.map +0 -1
- package/dist/esm/api/utils.d.ts.map +0 -1
- package/dist/esm/api/widgets-api-client.d.ts.map +0 -1
- package/dist/esm/card-list.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lib/add-mfa-dialog.d.ts.map +0 -1
- package/dist/esm/lib/admin-portal-domain-verification.d.ts.map +0 -1
- package/dist/esm/lib/admin-portal-sso-connection.d.ts.map +0 -1
- package/dist/esm/lib/api/config.d.ts.map +0 -1
- package/dist/esm/lib/api/user.d.ts.map +0 -1
- package/dist/esm/lib/change-password-dialog.d.ts.map +0 -1
- package/dist/esm/lib/constants.d.ts.map +0 -1
- package/dist/esm/lib/copy-button.d.ts.map +0 -1
- package/dist/esm/lib/delete-domain-dialog.d.ts.map +0 -1
- package/dist/esm/lib/delete-user-dialog.d.ts.map +0 -1
- package/dist/esm/lib/domain-actions.d.ts.map +0 -1
- package/dist/esm/lib/domain-item.d.ts.map +0 -1
- package/dist/esm/lib/edit-user-profile-dialog.d.ts.map +0 -1
- package/dist/esm/lib/edit-user-role-dialog.d.ts.map +0 -1
- package/dist/esm/lib/elements.d.ts.map +0 -1
- package/dist/esm/lib/elevated-access.d.ts.map +0 -1
- package/dist/esm/lib/error-boundary.d.ts.map +0 -1
- package/dist/esm/lib/errors.d.ts.map +0 -1
- package/dist/esm/lib/generic-error.d.ts.map +0 -1
- package/dist/esm/lib/icon-panel.d.ts.map +0 -1
- package/dist/esm/lib/icons.d.ts.map +0 -1
- package/dist/esm/lib/identity-providers.d.ts.map +0 -1
- package/dist/esm/lib/invite-user-dialog.d.ts.map +0 -1
- package/dist/esm/lib/logout-all-sessions-dialog.d.ts.map +0 -1
- package/dist/esm/lib/logout-dialog.d.ts.map +0 -1
- package/dist/esm/lib/marker.d.ts.map +0 -1
- package/dist/esm/lib/name-server-icon.d.ts.map +0 -1
- package/dist/esm/lib/oauth-icons.d.ts.map +0 -1
- package/dist/esm/lib/organization-switcher.d.ts.map +0 -1
- package/dist/esm/lib/otp-input.d.ts.map +0 -1
- package/dist/esm/lib/provider-icon.d.ts.map +0 -1
- package/dist/esm/lib/resend-invite-dialog.d.ts.map +0 -1
- package/dist/esm/lib/reset-mfa-dialog.d.ts.map +0 -1
- package/dist/esm/lib/revoke-invite-dialog.d.ts.map +0 -1
- package/dist/esm/lib/save-button.d.ts.map +0 -1
- package/dist/esm/lib/search-provider.d.ts.map +0 -1
- package/dist/esm/lib/set-password-dialog.d.ts.map +0 -1
- package/dist/esm/lib/status.d.ts.map +0 -1
- package/dist/esm/lib/use-dialog-close.d.ts.map +0 -1
- package/dist/esm/lib/use-is-hydrated.d.ts.map +0 -1
- package/dist/esm/lib/use-layout-effect.d.ts.map +0 -1
- package/dist/esm/lib/use-permissions.d.ts.map +0 -1
- package/dist/esm/lib/use-security-settings.d.ts.map +0 -1
- package/dist/esm/lib/user-actions-dropdown.d.ts.map +0 -1
- package/dist/esm/lib/user-profile.d.ts.map +0 -1
- package/dist/esm/lib/user-security.d.ts.map +0 -1
- package/dist/esm/lib/user-sessions.d.ts.map +0 -1
- package/dist/esm/lib/users-filter.d.ts.map +0 -1
- package/dist/esm/lib/users-management-context.d.ts.map +0 -1
- package/dist/esm/lib/users-management-state.d.ts.map +0 -1
- package/dist/esm/lib/users-management.d.ts.map +0 -1
- package/dist/esm/lib/users-search.d.ts.map +0 -1
- package/dist/esm/lib/utils.d.ts.map +0 -1
- package/dist/esm/lib/view-dns-record-dialog.d.ts.map +0 -1
- package/dist/esm/lib/widgets-context.d.ts.map +0 -1
- package/dist/esm/organization-switcher.client.d.ts.map +0 -1
- package/dist/esm/user-profile.client.d.ts.map +0 -1
- package/dist/esm/user-security.client.d.ts.map +0 -1
- package/dist/esm/user-sessions.client.d.ts.map +0 -1
- package/dist/esm/users-management.client.d.ts.map +0 -1
- package/dist/esm/workos-widgets.client.d.ts.map +0 -1
- package/dist/tsconfig.cjs.tsbuildinfo +0 -1
- package/dist/tsconfig.esm.tsbuildinfo +0 -1
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { UseQueryOptions, DataTag, QueryKey, DefinedInitialDataOptions, QueryClient, DefinedUseQueryResult, UndefinedInitialDataOptions, UseQueryResult, UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { ErrorType, BodyType } from './widgets-api-client.js';
|
|
3
|
+
|
|
4
|
+
declare const MemberStatus: {
|
|
4
5
|
readonly Active: "Active";
|
|
5
6
|
readonly Invited: "Invited";
|
|
6
7
|
readonly InviteExpired: "InviteExpired";
|
|
7
8
|
readonly InviteRevoked: "InviteRevoked";
|
|
8
9
|
readonly NoInvite: "NoInvite";
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
|
|
12
|
+
declare const MemberActionsItem: {
|
|
12
13
|
readonly "edit-role": "edit-role";
|
|
13
14
|
readonly "resend-invite": "resend-invite";
|
|
14
15
|
readonly "revoke-invite": "revoke-invite";
|
|
15
16
|
readonly "revoke-membership": "revoke-membership";
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
type MemberActions = (typeof MemberActionsItem)[keyof typeof MemberActionsItem][];
|
|
19
|
+
type MemberRolesItem = {
|
|
19
20
|
name: string;
|
|
20
21
|
slug: string;
|
|
22
|
+
/** @nullable */
|
|
23
|
+
description?: string | null;
|
|
21
24
|
};
|
|
22
|
-
|
|
25
|
+
interface Member {
|
|
23
26
|
id: string;
|
|
24
27
|
email: string;
|
|
25
28
|
emailVerified: boolean;
|
|
@@ -39,28 +42,34 @@ export interface Member {
|
|
|
39
42
|
/** @nullable */
|
|
40
43
|
roles?: MemberRolesItem[] | null;
|
|
41
44
|
}
|
|
42
|
-
|
|
45
|
+
interface ListMetadata {
|
|
43
46
|
/** @nullable */
|
|
44
47
|
before?: string | null;
|
|
45
48
|
/** @nullable */
|
|
46
49
|
after?: string | null;
|
|
47
50
|
}
|
|
48
|
-
|
|
51
|
+
interface MemberRole {
|
|
49
52
|
name: string;
|
|
50
53
|
slug: string;
|
|
51
54
|
default: boolean;
|
|
55
|
+
/** @nullable */
|
|
56
|
+
description?: string | null;
|
|
52
57
|
}
|
|
53
|
-
|
|
58
|
+
interface RolesAndConfigResponse {
|
|
59
|
+
roles: MemberRole[];
|
|
60
|
+
multipleRolesEnabled: boolean;
|
|
61
|
+
}
|
|
62
|
+
interface OrganizationInfo {
|
|
54
63
|
id: string;
|
|
55
64
|
name: string;
|
|
56
65
|
current: boolean;
|
|
57
66
|
/** @nullable */
|
|
58
67
|
favicon?: string | null;
|
|
59
68
|
}
|
|
60
|
-
|
|
69
|
+
interface OrganizationsResponse {
|
|
61
70
|
data: OrganizationInfo[];
|
|
62
71
|
}
|
|
63
|
-
|
|
72
|
+
interface OAuthProfile {
|
|
64
73
|
id: string;
|
|
65
74
|
/** @nullable */
|
|
66
75
|
email?: string | null;
|
|
@@ -76,13 +85,13 @@ export interface OAuthProfile {
|
|
|
76
85
|
/**
|
|
77
86
|
* @nullable
|
|
78
87
|
*/
|
|
79
|
-
|
|
88
|
+
type MeOauthProfiles = {
|
|
80
89
|
AppleOAuth?: OAuthProfile;
|
|
81
90
|
GithubOAuth?: OAuthProfile;
|
|
82
91
|
GoogleOAuth?: OAuthProfile;
|
|
83
92
|
MicrosoftOAuth?: OAuthProfile;
|
|
84
93
|
} | null;
|
|
85
|
-
|
|
94
|
+
interface Me {
|
|
86
95
|
id: string;
|
|
87
96
|
email: string;
|
|
88
97
|
/** @nullable */
|
|
@@ -94,12 +103,12 @@ export interface Me {
|
|
|
94
103
|
/** @nullable */
|
|
95
104
|
oauthProfiles?: MeOauthProfiles;
|
|
96
105
|
}
|
|
97
|
-
|
|
98
|
-
|
|
106
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfObject = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject];
|
|
107
|
+
declare const CreateTotpFactorResponseAuthenticationFactorAllOfObject: {
|
|
99
108
|
readonly authentication_factor: "authentication_factor";
|
|
100
109
|
};
|
|
101
|
-
|
|
102
|
-
|
|
110
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfType = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfType)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfType];
|
|
111
|
+
declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
|
|
103
112
|
readonly generic_otp: "generic_otp";
|
|
104
113
|
readonly sms: "sms";
|
|
105
114
|
readonly totp: "totp";
|
|
@@ -108,13 +117,13 @@ export declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
|
|
|
108
117
|
/**
|
|
109
118
|
* @nullable
|
|
110
119
|
*/
|
|
111
|
-
|
|
120
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfSms = {
|
|
112
121
|
phone_number: string;
|
|
113
122
|
} | null;
|
|
114
123
|
/**
|
|
115
124
|
* @nullable
|
|
116
125
|
*/
|
|
117
|
-
|
|
126
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
|
|
118
127
|
issuer: string;
|
|
119
128
|
user: string;
|
|
120
129
|
secret: string;
|
|
@@ -124,12 +133,12 @@ export type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
|
|
|
124
133
|
/**
|
|
125
134
|
* @nullable
|
|
126
135
|
*/
|
|
127
|
-
|
|
136
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo = {
|
|
128
137
|
issuer: string;
|
|
129
138
|
user: string;
|
|
130
139
|
} | null;
|
|
131
|
-
|
|
132
|
-
|
|
140
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo;
|
|
141
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOf = {
|
|
133
142
|
object: CreateTotpFactorResponseAuthenticationFactorAllOfObject;
|
|
134
143
|
id: string;
|
|
135
144
|
type: CreateTotpFactorResponseAuthenticationFactorAllOfType;
|
|
@@ -139,16 +148,16 @@ export type CreateTotpFactorResponseAuthenticationFactorAllOf = {
|
|
|
139
148
|
sms?: CreateTotpFactorResponseAuthenticationFactorAllOfSms;
|
|
140
149
|
totp?: CreateTotpFactorResponseAuthenticationFactorAllOfTotp;
|
|
141
150
|
};
|
|
142
|
-
|
|
151
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfEight = {
|
|
143
152
|
created_at: string;
|
|
144
153
|
updated_at: string;
|
|
145
154
|
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
155
|
+
type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf & CreateTotpFactorResponseAuthenticationFactorAllOfEight;
|
|
156
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfObject = (typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject];
|
|
157
|
+
declare const CreateTotpFactorResponseAuthenticationChallengeAllOfObject: {
|
|
149
158
|
readonly authentication_challenge: "authentication_challenge";
|
|
150
159
|
};
|
|
151
|
-
|
|
160
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
|
|
152
161
|
object: CreateTotpFactorResponseAuthenticationChallengeAllOfObject;
|
|
153
162
|
id: string;
|
|
154
163
|
/** @nullable */
|
|
@@ -157,57 +166,57 @@ export type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
|
|
|
157
166
|
code?: string | null;
|
|
158
167
|
authentication_factor_id: string;
|
|
159
168
|
};
|
|
160
|
-
|
|
169
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfThree = {
|
|
161
170
|
created_at: string;
|
|
162
171
|
updated_at: string;
|
|
163
172
|
};
|
|
164
|
-
|
|
165
|
-
|
|
173
|
+
type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf & CreateTotpFactorResponseAuthenticationChallengeAllOfThree;
|
|
174
|
+
interface CreateTotpFactorResponse {
|
|
166
175
|
authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
|
|
167
176
|
authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
|
|
168
177
|
}
|
|
169
|
-
|
|
178
|
+
interface VerifyTotpFactorRequest {
|
|
170
179
|
code: string;
|
|
171
180
|
authenticationChallengeId: string;
|
|
172
181
|
}
|
|
173
|
-
|
|
174
|
-
|
|
182
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsMfaProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsMfaProvider];
|
|
183
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsMfaProvider: {
|
|
175
184
|
readonly MFA: "MFA";
|
|
176
185
|
};
|
|
177
186
|
/**
|
|
178
187
|
* @nullable
|
|
179
188
|
*/
|
|
180
|
-
|
|
189
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfa = {
|
|
181
190
|
provider: AuthenticationInformationResponseDataVerificationMethodsMfaProvider;
|
|
182
191
|
isSetUp: boolean;
|
|
183
192
|
/** @nullable */
|
|
184
193
|
lastUsed?: string | null;
|
|
185
194
|
} | null;
|
|
186
|
-
|
|
187
|
-
|
|
195
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasswordProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasswordProvider];
|
|
196
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasswordProvider: {
|
|
188
197
|
readonly Password: "Password";
|
|
189
198
|
};
|
|
190
199
|
/**
|
|
191
200
|
* @nullable
|
|
192
201
|
*/
|
|
193
|
-
|
|
202
|
+
type AuthenticationInformationResponseDataVerificationMethodsPassword = {
|
|
194
203
|
provider: AuthenticationInformationResponseDataVerificationMethodsPasswordProvider;
|
|
195
204
|
isSetUp: boolean;
|
|
196
205
|
/** @nullable */
|
|
197
206
|
lastUsed?: string | null;
|
|
198
207
|
isCurrentSession: boolean;
|
|
199
208
|
} | null;
|
|
200
|
-
|
|
201
|
-
|
|
209
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider];
|
|
210
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider: {
|
|
202
211
|
readonly Passkey: "Passkey";
|
|
203
212
|
};
|
|
204
|
-
|
|
213
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem = {
|
|
205
214
|
id: string;
|
|
206
215
|
};
|
|
207
216
|
/**
|
|
208
217
|
* @nullable
|
|
209
218
|
*/
|
|
210
|
-
|
|
219
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
|
|
211
220
|
provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider;
|
|
212
221
|
isSetUp: boolean;
|
|
213
222
|
/** @nullable */
|
|
@@ -215,7 +224,7 @@ export type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
|
|
|
215
224
|
passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem[];
|
|
216
225
|
isCurrentSession: boolean;
|
|
217
226
|
} | null;
|
|
218
|
-
|
|
227
|
+
type AuthenticationInformationResponseDataVerificationMethods = {
|
|
219
228
|
/** @nullable */
|
|
220
229
|
Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
|
|
221
230
|
/** @nullable */
|
|
@@ -223,7 +232,7 @@ export type AuthenticationInformationResponseDataVerificationMethods = {
|
|
|
223
232
|
/** @nullable */
|
|
224
233
|
Passkey?: AuthenticationInformationResponseDataVerificationMethodsPasskey;
|
|
225
234
|
};
|
|
226
|
-
|
|
235
|
+
type AuthenticationInformationResponseDataPasswordSettings = {
|
|
227
236
|
isPasswordNumberRequired: boolean;
|
|
228
237
|
isPasswordPwnedRequired: boolean;
|
|
229
238
|
isPasswordSymbolRequired: boolean;
|
|
@@ -231,24 +240,24 @@ export type AuthenticationInformationResponseDataPasswordSettings = {
|
|
|
231
240
|
passwordMinimumLength: number;
|
|
232
241
|
passwordMinimumStrength: number;
|
|
233
242
|
};
|
|
234
|
-
|
|
243
|
+
type AuthenticationInformationResponseData = {
|
|
235
244
|
verificationMethods: AuthenticationInformationResponseDataVerificationMethods;
|
|
236
245
|
passwordSettings: AuthenticationInformationResponseDataPasswordSettings;
|
|
237
246
|
};
|
|
238
|
-
|
|
247
|
+
interface AuthenticationInformationResponse {
|
|
239
248
|
data: AuthenticationInformationResponseData;
|
|
240
249
|
}
|
|
241
|
-
|
|
250
|
+
interface CreatePasswordRequest {
|
|
242
251
|
password: string;
|
|
243
252
|
}
|
|
244
|
-
|
|
253
|
+
interface UpdatePasswordRequest {
|
|
245
254
|
newPassword: string;
|
|
246
255
|
currentPassword: string;
|
|
247
256
|
}
|
|
248
|
-
|
|
257
|
+
interface RevokeAllSessionsRequest {
|
|
249
258
|
currentSessionId: string;
|
|
250
259
|
}
|
|
251
|
-
|
|
260
|
+
type ActiveSessionState = {
|
|
252
261
|
tag: string;
|
|
253
262
|
/** @nullable */
|
|
254
263
|
expiresAt?: string | null;
|
|
@@ -256,11 +265,11 @@ export type ActiveSessionState = {
|
|
|
256
265
|
/**
|
|
257
266
|
* @nullable
|
|
258
267
|
*/
|
|
259
|
-
|
|
268
|
+
type ActiveSessionCurrentLocation = {
|
|
260
269
|
cityName: string;
|
|
261
270
|
countryISOCode: string;
|
|
262
271
|
} | null;
|
|
263
|
-
|
|
272
|
+
interface ActiveSession {
|
|
264
273
|
id: string;
|
|
265
274
|
userlandUserId: string;
|
|
266
275
|
/** @nullable */
|
|
@@ -297,55 +306,55 @@ export interface ActiveSession {
|
|
|
297
306
|
createdAt: string;
|
|
298
307
|
updatedAt: string;
|
|
299
308
|
}
|
|
300
|
-
|
|
309
|
+
interface ActiveSessionsResponse {
|
|
301
310
|
data: ActiveSession[];
|
|
302
311
|
}
|
|
303
|
-
|
|
304
|
-
|
|
312
|
+
type SendVerificationResponseType = (typeof SendVerificationResponseType)[keyof typeof SendVerificationResponseType];
|
|
313
|
+
declare const SendVerificationResponseType: {
|
|
305
314
|
readonly EmailVerification: "EmailVerification";
|
|
306
315
|
};
|
|
307
|
-
|
|
316
|
+
interface SendVerificationResponse {
|
|
308
317
|
authenticationChallenge: string;
|
|
309
318
|
type: SendVerificationResponseType;
|
|
310
319
|
}
|
|
311
|
-
|
|
320
|
+
interface VerifyRequest {
|
|
312
321
|
code: string;
|
|
313
322
|
authenticationChallengeId: string;
|
|
314
323
|
}
|
|
315
|
-
|
|
324
|
+
interface VerifyResponse {
|
|
316
325
|
elevatedAccessToken: string;
|
|
317
326
|
expiresAt: string;
|
|
318
327
|
}
|
|
319
|
-
|
|
328
|
+
type RegisterPasskeyResponseOptions = {
|
|
320
329
|
[key: string]: unknown;
|
|
321
330
|
};
|
|
322
|
-
|
|
331
|
+
interface RegisterPasskeyResponse {
|
|
323
332
|
challengeId: string;
|
|
324
333
|
options: RegisterPasskeyResponseOptions;
|
|
325
334
|
}
|
|
326
|
-
|
|
335
|
+
type VerifyPasskeyRequestResponse = {
|
|
327
336
|
[key: string]: unknown;
|
|
328
337
|
};
|
|
329
|
-
|
|
338
|
+
interface VerifyPasskeyRequest {
|
|
330
339
|
challengeId: string;
|
|
331
340
|
response: VerifyPasskeyRequestResponse;
|
|
332
341
|
}
|
|
333
|
-
|
|
334
|
-
|
|
342
|
+
type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
|
|
343
|
+
declare const OrganizationDomainState: {
|
|
335
344
|
readonly Failed: "Failed";
|
|
336
345
|
readonly LegacyVerified: "LegacyVerified";
|
|
337
346
|
readonly Pending: "Pending";
|
|
338
347
|
readonly Verified: "Verified";
|
|
339
348
|
};
|
|
340
|
-
|
|
341
|
-
|
|
349
|
+
type DomainVerificationNameServer = (typeof DomainVerificationNameServer)[keyof typeof DomainVerificationNameServer];
|
|
350
|
+
declare const DomainVerificationNameServer: {
|
|
342
351
|
readonly AwsRoute53: "AwsRoute53";
|
|
343
352
|
readonly GoogleDomains: "GoogleDomains";
|
|
344
353
|
readonly CloudFlare: "CloudFlare";
|
|
345
354
|
readonly GoDaddy: "GoDaddy";
|
|
346
355
|
readonly Other: "Other";
|
|
347
356
|
};
|
|
348
|
-
|
|
357
|
+
interface OrganizationDomain {
|
|
349
358
|
id: string;
|
|
350
359
|
domain: string;
|
|
351
360
|
state: OrganizationDomainState;
|
|
@@ -358,7 +367,7 @@ export interface OrganizationDomain {
|
|
|
358
367
|
subdomain?: string | null;
|
|
359
368
|
createdAt: string;
|
|
360
369
|
}
|
|
361
|
-
|
|
370
|
+
interface X509CertificateJSON {
|
|
362
371
|
id: string;
|
|
363
372
|
value: string;
|
|
364
373
|
/** @nullable */
|
|
@@ -368,14 +377,14 @@ export interface X509CertificateJSON {
|
|
|
368
377
|
/** @nullable */
|
|
369
378
|
lastExpiryEventSentAt?: string | null;
|
|
370
379
|
}
|
|
371
|
-
|
|
372
|
-
|
|
380
|
+
type SsoConnectionSessionJSONState = "Started" | "Authorized" | "Successful" | "Failed" | "Terminated";
|
|
381
|
+
interface SsoConnectionSessionJSON {
|
|
373
382
|
id: string;
|
|
374
383
|
createdAt: string;
|
|
375
384
|
state: SsoConnectionSessionJSONState;
|
|
376
385
|
}
|
|
377
|
-
|
|
378
|
-
|
|
386
|
+
type SsoConnectionAnyOfType = (typeof SsoConnectionAnyOfType)[keyof typeof SsoConnectionAnyOfType];
|
|
387
|
+
declare const SsoConnectionAnyOfType: {
|
|
379
388
|
readonly AdfsSaml: "AdfsSaml";
|
|
380
389
|
readonly Auth0Saml: "Auth0Saml";
|
|
381
390
|
readonly AzureSaml: "AzureSaml";
|
|
@@ -404,21 +413,21 @@ export declare const SsoConnectionAnyOfType: {
|
|
|
404
413
|
readonly TestIdp: "TestIdp";
|
|
405
414
|
readonly VmWareSaml: "VmWareSaml";
|
|
406
415
|
};
|
|
407
|
-
|
|
408
|
-
|
|
416
|
+
type SsoConnectionAnyOfState = (typeof SsoConnectionAnyOfState)[keyof typeof SsoConnectionAnyOfState];
|
|
417
|
+
declare const SsoConnectionAnyOfState: {
|
|
409
418
|
readonly Inactive: "Inactive";
|
|
410
419
|
readonly Validating: "Validating";
|
|
411
420
|
readonly Active: "Active";
|
|
412
421
|
readonly Deleting: "Deleting";
|
|
413
422
|
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
423
|
+
type SsoConnectionAnyOfLatestExpiringCertificate = X509CertificateJSON | null;
|
|
424
|
+
type SsoConnectionAnyOfLatestExpiredCertificate = X509CertificateJSON | null;
|
|
425
|
+
type SsoConnectionAnyOfProviderTag = (typeof SsoConnectionAnyOfProviderTag)[keyof typeof SsoConnectionAnyOfProviderTag];
|
|
426
|
+
declare const SsoConnectionAnyOfProviderTag: {
|
|
418
427
|
readonly Saml: "Saml";
|
|
419
428
|
};
|
|
420
|
-
|
|
421
|
-
|
|
429
|
+
type SsoConnectionAnyOfLastSession = SsoConnectionSessionJSON | null;
|
|
430
|
+
type SsoConnectionAnyOf = {
|
|
422
431
|
id: string;
|
|
423
432
|
type: SsoConnectionAnyOfType;
|
|
424
433
|
name: string;
|
|
@@ -430,15 +439,15 @@ export type SsoConnectionAnyOf = {
|
|
|
430
439
|
providerTag: SsoConnectionAnyOfProviderTag;
|
|
431
440
|
lastSession?: SsoConnectionAnyOfLastSession;
|
|
432
441
|
};
|
|
433
|
-
|
|
434
|
-
|
|
442
|
+
type SsoConnectionAnyOfEightAllOfState = (typeof SsoConnectionAnyOfEightAllOfState)[keyof typeof SsoConnectionAnyOfEightAllOfState];
|
|
443
|
+
declare const SsoConnectionAnyOfEightAllOfState: {
|
|
435
444
|
readonly Inactive: "Inactive";
|
|
436
445
|
readonly Validating: "Validating";
|
|
437
446
|
readonly Active: "Active";
|
|
438
447
|
readonly Deleting: "Deleting";
|
|
439
448
|
};
|
|
440
|
-
|
|
441
|
-
|
|
449
|
+
type SsoConnectionAnyOfEightAllOfType = (typeof SsoConnectionAnyOfEightAllOfType)[keyof typeof SsoConnectionAnyOfEightAllOfType];
|
|
450
|
+
declare const SsoConnectionAnyOfEightAllOfType: {
|
|
442
451
|
readonly AdpOidc: "AdpOidc";
|
|
443
452
|
readonly Auth0Migration: "Auth0Migration";
|
|
444
453
|
readonly EntraIdOidc: "EntraIdOidc";
|
|
@@ -447,12 +456,12 @@ export declare const SsoConnectionAnyOfEightAllOfType: {
|
|
|
447
456
|
readonly OktaOidc: "OktaOidc";
|
|
448
457
|
readonly LoginGovOidc: "LoginGovOidc";
|
|
449
458
|
};
|
|
450
|
-
|
|
451
|
-
|
|
459
|
+
type SsoConnectionAnyOfEightAllOfProviderTag = (typeof SsoConnectionAnyOfEightAllOfProviderTag)[keyof typeof SsoConnectionAnyOfEightAllOfProviderTag];
|
|
460
|
+
declare const SsoConnectionAnyOfEightAllOfProviderTag: {
|
|
452
461
|
readonly OpenIdConnect: "OpenIdConnect";
|
|
453
462
|
};
|
|
454
|
-
|
|
455
|
-
|
|
463
|
+
type SsoConnectionAnyOfEightAllOfLastSession = SsoConnectionSessionJSON | null;
|
|
464
|
+
type SsoConnectionAnyOfEightAllOf = {
|
|
456
465
|
id: string;
|
|
457
466
|
name: string;
|
|
458
467
|
state: SsoConnectionAnyOfEightAllOfState;
|
|
@@ -461,37 +470,43 @@ export type SsoConnectionAnyOfEightAllOf = {
|
|
|
461
470
|
providerTag: SsoConnectionAnyOfEightAllOfProviderTag;
|
|
462
471
|
lastSession?: SsoConnectionAnyOfEightAllOfLastSession;
|
|
463
472
|
};
|
|
464
|
-
|
|
473
|
+
type SsoConnectionAnyOfEightAllOfSix = {
|
|
465
474
|
x509Certificates?: null;
|
|
466
475
|
latestExpiringCertificate?: null;
|
|
467
476
|
latestExpiredCertificate?: null;
|
|
468
477
|
};
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
478
|
+
type SsoConnectionAnyOfEight = SsoConnectionAnyOfEightAllOf & SsoConnectionAnyOfEightAllOfSix;
|
|
479
|
+
type SsoConnection = SsoConnectionAnyOf | SsoConnectionAnyOfEight;
|
|
480
|
+
type MembersParams = {
|
|
472
481
|
search?: string;
|
|
473
482
|
limit?: string;
|
|
474
483
|
before?: string;
|
|
475
484
|
after?: string;
|
|
476
485
|
role?: string;
|
|
477
486
|
};
|
|
478
|
-
|
|
487
|
+
type Members200 = {
|
|
479
488
|
data: Member[];
|
|
480
489
|
listMetadata: ListMetadata;
|
|
481
490
|
};
|
|
482
|
-
|
|
491
|
+
type Members403 = {
|
|
492
|
+
message: string;
|
|
493
|
+
};
|
|
494
|
+
type Members404 = {
|
|
495
|
+
message: string;
|
|
496
|
+
};
|
|
497
|
+
type Roles403 = {
|
|
483
498
|
message: string;
|
|
484
499
|
};
|
|
485
|
-
|
|
500
|
+
type Roles404 = {
|
|
486
501
|
message: string;
|
|
487
502
|
};
|
|
488
|
-
|
|
503
|
+
type RolesAndConfig403 = {
|
|
489
504
|
message: string;
|
|
490
505
|
};
|
|
491
|
-
|
|
506
|
+
type RolesAndConfig404 = {
|
|
492
507
|
message: string;
|
|
493
508
|
};
|
|
494
|
-
|
|
509
|
+
type InviteMemberInput = {
|
|
495
510
|
email: string;
|
|
496
511
|
/** @nullable */
|
|
497
512
|
firstName?: string | null;
|
|
@@ -499,355 +514,379 @@ export type InviteMemberInput = {
|
|
|
499
514
|
lastName?: string | null;
|
|
500
515
|
roles: string[];
|
|
501
516
|
};
|
|
502
|
-
|
|
517
|
+
type InviteMember201 = {
|
|
503
518
|
success: boolean;
|
|
504
519
|
};
|
|
505
|
-
|
|
520
|
+
type InviteMember400 = {
|
|
506
521
|
message: string;
|
|
507
522
|
};
|
|
508
|
-
|
|
523
|
+
type InviteMember403 = {
|
|
509
524
|
message: string;
|
|
510
525
|
};
|
|
511
|
-
|
|
526
|
+
type InviteMember404 = {
|
|
512
527
|
message: string;
|
|
513
528
|
};
|
|
514
|
-
|
|
529
|
+
type ResendInvite201 = {
|
|
515
530
|
/** @nullable */
|
|
516
531
|
id?: string | null;
|
|
517
532
|
success: boolean;
|
|
518
533
|
};
|
|
519
|
-
|
|
534
|
+
type ResendInvite400 = {
|
|
520
535
|
message: string;
|
|
521
536
|
};
|
|
522
|
-
|
|
537
|
+
type ResendInvite403 = {
|
|
523
538
|
message: string;
|
|
524
539
|
};
|
|
525
|
-
|
|
540
|
+
type ResendInvite404 = {
|
|
526
541
|
message: string;
|
|
527
542
|
};
|
|
528
|
-
|
|
543
|
+
type RevokeInvite200 = {
|
|
529
544
|
id: string;
|
|
530
545
|
success: boolean;
|
|
531
546
|
};
|
|
532
|
-
|
|
547
|
+
type RevokeInvite400 = {
|
|
533
548
|
message: string;
|
|
534
549
|
};
|
|
535
|
-
|
|
550
|
+
type RevokeInvite403 = {
|
|
536
551
|
message: string;
|
|
537
552
|
};
|
|
538
|
-
|
|
553
|
+
type RevokeInvite404 = {
|
|
539
554
|
message: string;
|
|
540
555
|
};
|
|
541
|
-
|
|
556
|
+
type RemoveMember200 = {
|
|
542
557
|
id: string;
|
|
543
558
|
success: boolean;
|
|
544
559
|
};
|
|
545
|
-
|
|
560
|
+
type RemoveMember400 = {
|
|
546
561
|
message: string;
|
|
547
562
|
};
|
|
548
|
-
|
|
563
|
+
type RemoveMember403 = {
|
|
549
564
|
message: string;
|
|
550
565
|
};
|
|
551
|
-
|
|
566
|
+
type RemoveMember404 = {
|
|
552
567
|
message: string;
|
|
553
568
|
};
|
|
554
|
-
|
|
569
|
+
type UpdateMemberInput = {
|
|
555
570
|
roles: string[];
|
|
556
571
|
};
|
|
557
|
-
|
|
572
|
+
type UpdateMember200 = {
|
|
558
573
|
id: string;
|
|
559
574
|
success: boolean;
|
|
560
575
|
};
|
|
561
|
-
|
|
576
|
+
type UpdateMember400 = {
|
|
562
577
|
message: string;
|
|
563
578
|
};
|
|
564
|
-
|
|
579
|
+
type UpdateMember403 = {
|
|
565
580
|
message: string;
|
|
566
581
|
};
|
|
567
|
-
|
|
582
|
+
type UpdateMember404 = {
|
|
568
583
|
message: string;
|
|
569
584
|
};
|
|
570
|
-
|
|
585
|
+
type Organizations403 = {
|
|
571
586
|
message: string;
|
|
572
587
|
};
|
|
573
|
-
|
|
588
|
+
type Organizations404 = {
|
|
574
589
|
message: string;
|
|
575
590
|
};
|
|
576
|
-
|
|
591
|
+
type Me403 = {
|
|
577
592
|
message: string;
|
|
578
593
|
};
|
|
579
|
-
|
|
594
|
+
type UpdateMeInput = {
|
|
580
595
|
firstName?: string;
|
|
581
596
|
lastName?: string;
|
|
582
597
|
};
|
|
583
|
-
|
|
598
|
+
type UpdateMe400 = {
|
|
584
599
|
message: string;
|
|
585
600
|
};
|
|
586
|
-
|
|
601
|
+
type UpdateMe403 = {
|
|
587
602
|
message: string;
|
|
588
603
|
};
|
|
589
|
-
|
|
604
|
+
type CreateTotpFactor400 = {
|
|
590
605
|
message: string;
|
|
591
606
|
};
|
|
592
|
-
|
|
607
|
+
type CreateTotpFactor403 = {
|
|
593
608
|
message: string;
|
|
594
609
|
};
|
|
595
|
-
|
|
610
|
+
type VerifyTotpFactor200 = {
|
|
596
611
|
success: boolean;
|
|
597
612
|
};
|
|
598
|
-
|
|
613
|
+
type VerifyTotpFactor400 = {
|
|
599
614
|
message: string;
|
|
600
615
|
};
|
|
601
|
-
|
|
616
|
+
type VerifyTotpFactor403 = {
|
|
602
617
|
message: string;
|
|
603
618
|
};
|
|
604
|
-
|
|
619
|
+
type DeleteTotpFactors200 = {
|
|
605
620
|
success: boolean;
|
|
606
621
|
};
|
|
607
|
-
|
|
622
|
+
type DeleteTotpFactors400 = {
|
|
608
623
|
message: string;
|
|
609
624
|
};
|
|
610
|
-
|
|
625
|
+
type DeleteTotpFactors403 = {
|
|
611
626
|
message: string;
|
|
612
627
|
};
|
|
613
|
-
|
|
628
|
+
type AuthenticationInformation403 = {
|
|
614
629
|
message: string;
|
|
615
630
|
};
|
|
616
|
-
|
|
631
|
+
type CreatePassword201 = {
|
|
617
632
|
success: boolean;
|
|
618
633
|
};
|
|
619
|
-
|
|
634
|
+
type CreatePassword400 = {
|
|
620
635
|
message: string;
|
|
621
636
|
};
|
|
622
|
-
|
|
637
|
+
type CreatePassword403 = {
|
|
623
638
|
message: string;
|
|
624
639
|
};
|
|
625
|
-
|
|
640
|
+
type UpdatePassword201 = {
|
|
626
641
|
success: boolean;
|
|
627
642
|
};
|
|
628
|
-
|
|
643
|
+
type UpdatePassword400 = {
|
|
629
644
|
message: string;
|
|
630
645
|
};
|
|
631
|
-
|
|
646
|
+
type UpdatePassword403 = {
|
|
632
647
|
message: string;
|
|
633
648
|
};
|
|
634
|
-
|
|
649
|
+
type RevokeAllSessions200 = {
|
|
635
650
|
success: boolean;
|
|
636
651
|
};
|
|
637
|
-
|
|
652
|
+
type RevokeAllSessions400 = {
|
|
638
653
|
message: string;
|
|
639
654
|
};
|
|
640
|
-
|
|
655
|
+
type RevokeAllSessions403 = {
|
|
641
656
|
message: string;
|
|
642
657
|
};
|
|
643
|
-
|
|
658
|
+
type RevokeSession200 = {
|
|
644
659
|
success: boolean;
|
|
645
660
|
};
|
|
646
|
-
|
|
661
|
+
type RevokeSession400 = {
|
|
647
662
|
message: string;
|
|
648
663
|
};
|
|
649
|
-
|
|
664
|
+
type RevokeSession403 = {
|
|
650
665
|
message: string;
|
|
651
666
|
};
|
|
652
|
-
|
|
667
|
+
type Sessions403 = {
|
|
653
668
|
message: string;
|
|
654
669
|
};
|
|
655
|
-
|
|
670
|
+
type SendVerification400 = {
|
|
656
671
|
message: string;
|
|
657
672
|
};
|
|
658
|
-
|
|
673
|
+
type SendVerification403 = {
|
|
659
674
|
message: string;
|
|
660
675
|
};
|
|
661
|
-
|
|
676
|
+
type Verify400 = {
|
|
662
677
|
message: string;
|
|
663
678
|
};
|
|
664
|
-
|
|
679
|
+
type Verify403 = {
|
|
665
680
|
message: string;
|
|
666
681
|
};
|
|
667
|
-
|
|
682
|
+
type RegisterPasskey400 = {
|
|
668
683
|
message: string;
|
|
669
684
|
};
|
|
670
|
-
|
|
685
|
+
type RegisterPasskey403 = {
|
|
671
686
|
message: string;
|
|
672
687
|
};
|
|
673
|
-
|
|
688
|
+
type VerifyPasskey200 = {
|
|
674
689
|
success: boolean;
|
|
675
690
|
};
|
|
676
|
-
|
|
691
|
+
type VerifyPasskey400 = {
|
|
677
692
|
message: string;
|
|
678
693
|
};
|
|
679
|
-
|
|
694
|
+
type VerifyPasskey403 = {
|
|
680
695
|
message: string;
|
|
681
696
|
};
|
|
682
|
-
|
|
697
|
+
type DeletePasskey200 = {
|
|
683
698
|
success: boolean;
|
|
684
699
|
};
|
|
685
|
-
|
|
700
|
+
type DeletePasskey400 = {
|
|
686
701
|
message: string;
|
|
687
702
|
};
|
|
688
|
-
|
|
703
|
+
type DeletePasskey403 = {
|
|
689
704
|
message: string;
|
|
690
705
|
};
|
|
691
|
-
|
|
706
|
+
type ListOrganizationDomains200 = {
|
|
692
707
|
data: OrganizationDomain[];
|
|
693
708
|
};
|
|
694
|
-
|
|
709
|
+
type ListOrganizationDomains403 = {
|
|
695
710
|
message: string;
|
|
696
711
|
};
|
|
697
|
-
|
|
712
|
+
type ListOrganizationDomains404 = {
|
|
698
713
|
message: string;
|
|
699
714
|
};
|
|
700
|
-
|
|
715
|
+
type GenerateAdminPortalLinkParams = {
|
|
701
716
|
intent: GenerateAdminPortalLinkIntent;
|
|
702
717
|
};
|
|
703
|
-
|
|
704
|
-
|
|
718
|
+
type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyof typeof GenerateAdminPortalLinkIntent];
|
|
719
|
+
declare const GenerateAdminPortalLinkIntent: {
|
|
705
720
|
readonly domain_verification: "domain_verification";
|
|
706
721
|
readonly sso: "sso";
|
|
707
722
|
};
|
|
708
|
-
|
|
723
|
+
type GenerateAdminPortalLink201 = {
|
|
709
724
|
link: string;
|
|
710
725
|
};
|
|
711
|
-
|
|
726
|
+
type GenerateAdminPortalLink403 = {
|
|
712
727
|
message: string;
|
|
713
728
|
};
|
|
714
|
-
|
|
729
|
+
type GenerateAdminPortalLink404 = {
|
|
715
730
|
message: string;
|
|
716
731
|
};
|
|
717
|
-
|
|
732
|
+
type GenerateAdminPortalLink500 = {
|
|
718
733
|
message: string;
|
|
719
734
|
};
|
|
720
|
-
|
|
735
|
+
type DeleteOrganizationDomain403 = {
|
|
721
736
|
message: string;
|
|
722
737
|
};
|
|
723
|
-
|
|
738
|
+
type DeleteOrganizationDomain404 = {
|
|
724
739
|
message: string;
|
|
725
740
|
};
|
|
726
|
-
|
|
741
|
+
type ReverifyOrganizationDomain403 = {
|
|
727
742
|
message: string;
|
|
728
743
|
};
|
|
729
|
-
|
|
744
|
+
type ReverifyOrganizationDomain404 = {
|
|
730
745
|
message: string;
|
|
731
746
|
};
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
747
|
+
declare const useMembersHook: () => (params?: MembersParams, signal?: AbortSignal) => Promise<Members200>;
|
|
748
|
+
declare const getMembersQueryKey: (params?: MembersParams) => readonly ["/_widgets/UserManagement/members", ...MembersParams[]];
|
|
749
|
+
declare const useMembersQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
735
750
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
|
|
736
751
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData> & {
|
|
737
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
752
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
738
753
|
};
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
754
|
+
type MembersQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>;
|
|
755
|
+
type MembersQueryError = ErrorType<Members403 | Members404>;
|
|
756
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params: undefined | MembersParams, options: {
|
|
742
757
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
|
|
743
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
744
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
758
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
759
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
745
760
|
};
|
|
746
|
-
|
|
761
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
747
762
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>, "initialData">;
|
|
748
|
-
}): UseQueryResult<TData, TError> & {
|
|
749
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
763
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
764
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
750
765
|
};
|
|
751
|
-
|
|
766
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
752
767
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
|
|
753
|
-
}): UseQueryResult<TData, TError> & {
|
|
754
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
768
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
769
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
755
770
|
};
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
771
|
+
declare const useRolesHook: () => (signal?: AbortSignal) => Promise<MemberRole[]>;
|
|
772
|
+
declare const getRolesQueryKey: () => readonly ["/_widgets/UserManagement/roles"];
|
|
773
|
+
declare const useRolesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
759
774
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
|
|
760
775
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData> & {
|
|
761
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
776
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
762
777
|
};
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
778
|
+
type RolesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>;
|
|
779
|
+
type RolesQueryError = ErrorType<Roles403 | Roles404>;
|
|
780
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options: {
|
|
766
781
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
|
|
767
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
768
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
782
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
783
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
769
784
|
};
|
|
770
|
-
|
|
785
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
771
786
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>, "initialData">;
|
|
772
|
-
}): UseQueryResult<TData, TError> & {
|
|
773
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
787
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
788
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
774
789
|
};
|
|
775
|
-
|
|
790
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
776
791
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
|
|
777
|
-
}): UseQueryResult<TData, TError> & {
|
|
778
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
|
|
792
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
793
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
794
|
+
};
|
|
795
|
+
declare const useRolesAndConfigHook: () => (signal?: AbortSignal) => Promise<RolesAndConfigResponse>;
|
|
796
|
+
declare const getRolesAndConfigQueryKey: () => readonly ["/_widgets/UserManagement/roles-and-config"];
|
|
797
|
+
declare const useRolesAndConfigQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
798
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
|
|
799
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData> & {
|
|
800
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
801
|
+
};
|
|
802
|
+
type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>;
|
|
803
|
+
type RolesAndConfigQueryError = ErrorType<RolesAndConfig403 | RolesAndConfig404>;
|
|
804
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options: {
|
|
805
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
|
|
806
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
807
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
808
|
+
};
|
|
809
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
810
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>, "initialData">;
|
|
811
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
812
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
813
|
+
};
|
|
814
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
815
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
|
|
816
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
817
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
818
|
+
};
|
|
819
|
+
declare const useInviteMemberHook: () => (inviteMemberInput: BodyType<InviteMemberInput>, signal?: AbortSignal) => Promise<InviteMember201>;
|
|
820
|
+
declare const useInviteMemberMutationOptions: <TError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>, TContext = unknown>(options?: {
|
|
782
821
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
783
822
|
data: BodyType<InviteMemberInput>;
|
|
784
823
|
}, TContext>;
|
|
785
824
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
786
825
|
data: BodyType<InviteMemberInput>;
|
|
787
826
|
}, TContext>;
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
827
|
+
type InviteMemberMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>>;
|
|
828
|
+
type InviteMemberMutationBody = BodyType<InviteMemberInput>;
|
|
829
|
+
type InviteMemberMutationError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>;
|
|
830
|
+
declare const useInviteMember: <TError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>, TContext = unknown>(options?: {
|
|
792
831
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
793
832
|
data: BodyType<InviteMemberInput>;
|
|
794
833
|
}, TContext>;
|
|
795
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
834
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
796
835
|
data: BodyType<InviteMemberInput>;
|
|
797
836
|
}, TContext>;
|
|
798
|
-
|
|
799
|
-
|
|
837
|
+
declare const useResendInviteHook: () => (userId: string, signal?: AbortSignal) => Promise<ResendInvite201>;
|
|
838
|
+
declare const useResendInviteMutationOptions: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404>, TContext = unknown>(options?: {
|
|
800
839
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
801
840
|
userId: string;
|
|
802
841
|
}, TContext>;
|
|
803
842
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
804
843
|
userId: string;
|
|
805
844
|
}, TContext>;
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
845
|
+
type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>>;
|
|
846
|
+
type ResendInviteMutationError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404>;
|
|
847
|
+
declare const useResendInvite: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404>, TContext = unknown>(options?: {
|
|
809
848
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
810
849
|
userId: string;
|
|
811
850
|
}, TContext>;
|
|
812
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
851
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
813
852
|
userId: string;
|
|
814
853
|
}, TContext>;
|
|
815
|
-
|
|
816
|
-
|
|
854
|
+
declare const useRevokeInviteHook: () => (userId: string) => Promise<RevokeInvite200>;
|
|
855
|
+
declare const useRevokeInviteMutationOptions: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
|
|
817
856
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
818
857
|
userId: string;
|
|
819
858
|
}, TContext>;
|
|
820
859
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
821
860
|
userId: string;
|
|
822
861
|
}, TContext>;
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
862
|
+
type RevokeInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>>;
|
|
863
|
+
type RevokeInviteMutationError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>;
|
|
864
|
+
declare const useRevokeInvite: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
|
|
826
865
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
827
866
|
userId: string;
|
|
828
867
|
}, TContext>;
|
|
829
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
868
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
830
869
|
userId: string;
|
|
831
870
|
}, TContext>;
|
|
832
|
-
|
|
833
|
-
|
|
871
|
+
declare const useRemoveMemberHook: () => (userId: string) => Promise<RemoveMember200>;
|
|
872
|
+
declare const useRemoveMemberMutationOptions: <TError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>, TContext = unknown>(options?: {
|
|
834
873
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
835
874
|
userId: string;
|
|
836
875
|
}, TContext>;
|
|
837
876
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
838
877
|
userId: string;
|
|
839
878
|
}, TContext>;
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
879
|
+
type RemoveMemberMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>>;
|
|
880
|
+
type RemoveMemberMutationError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>;
|
|
881
|
+
declare const useRemoveMember: <TError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>, TContext = unknown>(options?: {
|
|
843
882
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
844
883
|
userId: string;
|
|
845
884
|
}, TContext>;
|
|
846
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
885
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
847
886
|
userId: string;
|
|
848
887
|
}, TContext>;
|
|
849
|
-
|
|
850
|
-
|
|
888
|
+
declare const useUpdateMemberHook: () => (userId: string, updateMemberInput: BodyType<UpdateMemberInput>, signal?: AbortSignal) => Promise<UpdateMember200>;
|
|
889
|
+
declare const useUpdateMemberMutationOptions: <TError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404>, TContext = unknown>(options?: {
|
|
851
890
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
852
891
|
userId: string;
|
|
853
892
|
data: BodyType<UpdateMemberInput>;
|
|
@@ -856,407 +895,408 @@ export declare const useUpdateMemberMutationOptions: <TError = UpdateMember400 |
|
|
|
856
895
|
userId: string;
|
|
857
896
|
data: BodyType<UpdateMemberInput>;
|
|
858
897
|
}, TContext>;
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
898
|
+
type UpdateMemberMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>>;
|
|
899
|
+
type UpdateMemberMutationBody = BodyType<UpdateMemberInput>;
|
|
900
|
+
type UpdateMemberMutationError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404>;
|
|
901
|
+
declare const useUpdateMember: <TError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404>, TContext = unknown>(options?: {
|
|
863
902
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
864
903
|
userId: string;
|
|
865
904
|
data: BodyType<UpdateMemberInput>;
|
|
866
905
|
}, TContext>;
|
|
867
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
906
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
868
907
|
userId: string;
|
|
869
908
|
data: BodyType<UpdateMemberInput>;
|
|
870
909
|
}, TContext>;
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
910
|
+
declare const useOrganizationsHook: () => (signal?: AbortSignal) => Promise<OrganizationsResponse>;
|
|
911
|
+
declare const getOrganizationsQueryKey: () => readonly ["/_widgets/UserManagement/organizations"];
|
|
912
|
+
declare const useOrganizationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
874
913
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>>;
|
|
875
914
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData> & {
|
|
876
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
915
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
877
916
|
};
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
917
|
+
type OrganizationsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>>;
|
|
918
|
+
type OrganizationsQueryError = ErrorType<Organizations403 | Organizations404>;
|
|
919
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options: {
|
|
881
920
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>>, "initialData">;
|
|
882
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
883
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
921
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
922
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
884
923
|
};
|
|
885
|
-
|
|
924
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
886
925
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>>, "initialData">;
|
|
887
|
-
}): UseQueryResult<TData, TError> & {
|
|
888
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
926
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
927
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
889
928
|
};
|
|
890
|
-
|
|
929
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
891
930
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>>;
|
|
892
|
-
}): UseQueryResult<TData, TError> & {
|
|
893
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
931
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
932
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
894
933
|
};
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
934
|
+
declare const useMeHook: () => (signal?: AbortSignal) => Promise<Me>;
|
|
935
|
+
declare const getMeQueryKey: () => readonly ["/_widgets/UserProfile/me"];
|
|
936
|
+
declare const useMeQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
|
|
898
937
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
|
|
899
938
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData> & {
|
|
900
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
939
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
901
940
|
};
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
941
|
+
type MeQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMeHook>>>>;
|
|
942
|
+
type MeQueryError = ErrorType<Me403>;
|
|
943
|
+
declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options: {
|
|
905
944
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMeHook>>>>, "initialData">;
|
|
906
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
907
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
945
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
946
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
908
947
|
};
|
|
909
|
-
|
|
948
|
+
declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
|
|
910
949
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMeHook>>>>, "initialData">;
|
|
911
|
-
}): UseQueryResult<TData, TError> & {
|
|
912
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
950
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
951
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
913
952
|
};
|
|
914
|
-
|
|
953
|
+
declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
|
|
915
954
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
|
|
916
|
-
}): UseQueryResult<TData, TError> & {
|
|
917
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
955
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
956
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
918
957
|
};
|
|
919
|
-
|
|
920
|
-
|
|
958
|
+
declare const useUpdateMeHook: () => (updateMeInput: BodyType<UpdateMeInput>, signal?: AbortSignal) => Promise<Me>;
|
|
959
|
+
declare const useUpdateMeMutationOptions: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
|
|
921
960
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
922
961
|
data: BodyType<UpdateMeInput>;
|
|
923
962
|
}, TContext>;
|
|
924
963
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
925
964
|
data: BodyType<UpdateMeInput>;
|
|
926
965
|
}, TContext>;
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
966
|
+
type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>>;
|
|
967
|
+
type UpdateMeMutationBody = BodyType<UpdateMeInput>;
|
|
968
|
+
type UpdateMeMutationError = ErrorType<UpdateMe400 | UpdateMe403>;
|
|
969
|
+
declare const useUpdateMe: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
|
|
931
970
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
932
971
|
data: BodyType<UpdateMeInput>;
|
|
933
972
|
}, TContext>;
|
|
934
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
973
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
935
974
|
data: BodyType<UpdateMeInput>;
|
|
936
975
|
}, TContext>;
|
|
937
|
-
|
|
938
|
-
|
|
976
|
+
declare const useCreateTotpFactorHook: () => (signal?: AbortSignal) => Promise<CreateTotpFactorResponse>;
|
|
977
|
+
declare const useCreateTotpFactorMutationOptions: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
|
|
939
978
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
940
979
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
980
|
+
type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>>;
|
|
981
|
+
type CreateTotpFactorMutationError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>;
|
|
982
|
+
declare const useCreateTotpFactor: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
|
|
944
983
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
945
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
946
|
-
|
|
947
|
-
|
|
984
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
985
|
+
declare const useVerifyTotpFactorHook: () => (verifyTotpFactorRequest: BodyType<VerifyTotpFactorRequest>, signal?: AbortSignal) => Promise<VerifyTotpFactor200>;
|
|
986
|
+
declare const useVerifyTotpFactorMutationOptions: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
|
|
948
987
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
949
988
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
950
989
|
}, TContext>;
|
|
951
990
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
952
991
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
953
992
|
}, TContext>;
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
993
|
+
type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>>;
|
|
994
|
+
type VerifyTotpFactorMutationBody = BodyType<VerifyTotpFactorRequest>;
|
|
995
|
+
type VerifyTotpFactorMutationError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>;
|
|
996
|
+
declare const useVerifyTotpFactor: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
|
|
958
997
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
959
998
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
960
999
|
}, TContext>;
|
|
961
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
1000
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
962
1001
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
963
1002
|
}, TContext>;
|
|
964
|
-
|
|
965
|
-
|
|
1003
|
+
declare const useDeleteTotpFactorsHook: () => () => Promise<DeleteTotpFactors200>;
|
|
1004
|
+
declare const useDeleteTotpFactorsMutationOptions: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
|
|
966
1005
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
967
1006
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1007
|
+
type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>>;
|
|
1008
|
+
type DeleteTotpFactorsMutationError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>;
|
|
1009
|
+
declare const useDeleteTotpFactors: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
|
|
971
1010
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
972
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
1011
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1012
|
+
declare const useAuthenticationInformationHook: () => (signal?: AbortSignal) => Promise<AuthenticationInformationResponse>;
|
|
1013
|
+
declare const getAuthenticationInformationQueryKey: () => readonly ["/_widgets/UserProfile/authentication-information"];
|
|
1014
|
+
declare const useAuthenticationInformationQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
976
1015
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>>;
|
|
977
1016
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData> & {
|
|
978
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1017
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
979
1018
|
};
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
1019
|
+
type AuthenticationInformationQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>>;
|
|
1020
|
+
type AuthenticationInformationQueryError = ErrorType<AuthenticationInformation403>;
|
|
1021
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options: {
|
|
983
1022
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>>, "initialData">;
|
|
984
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
985
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1023
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1024
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
986
1025
|
};
|
|
987
|
-
|
|
1026
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
988
1027
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>>, "initialData">;
|
|
989
|
-
}): UseQueryResult<TData, TError> & {
|
|
990
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1028
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1029
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
991
1030
|
};
|
|
992
|
-
|
|
1031
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
993
1032
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>>;
|
|
994
|
-
}): UseQueryResult<TData, TError> & {
|
|
995
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1033
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1034
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
996
1035
|
};
|
|
997
|
-
|
|
998
|
-
|
|
1036
|
+
declare const useCreatePasswordHook: () => (createPasswordRequest: BodyType<CreatePasswordRequest>, signal?: AbortSignal) => Promise<CreatePassword201>;
|
|
1037
|
+
declare const useCreatePasswordMutationOptions: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
999
1038
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1000
1039
|
data: BodyType<CreatePasswordRequest>;
|
|
1001
1040
|
}, TContext>;
|
|
1002
1041
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1003
1042
|
data: BodyType<CreatePasswordRequest>;
|
|
1004
1043
|
}, TContext>;
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1044
|
+
type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>>;
|
|
1045
|
+
type CreatePasswordMutationBody = BodyType<CreatePasswordRequest>;
|
|
1046
|
+
type CreatePasswordMutationError = ErrorType<CreatePassword400 | CreatePassword403>;
|
|
1047
|
+
declare const useCreatePassword: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
1009
1048
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1010
1049
|
data: BodyType<CreatePasswordRequest>;
|
|
1011
1050
|
}, TContext>;
|
|
1012
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1051
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1013
1052
|
data: BodyType<CreatePasswordRequest>;
|
|
1014
1053
|
}, TContext>;
|
|
1015
|
-
|
|
1016
|
-
|
|
1054
|
+
declare const useUpdatePasswordHook: () => (updatePasswordRequest: BodyType<UpdatePasswordRequest>, signal?: AbortSignal) => Promise<UpdatePassword201>;
|
|
1055
|
+
declare const useUpdatePasswordMutationOptions: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
|
|
1017
1056
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1018
1057
|
data: BodyType<UpdatePasswordRequest>;
|
|
1019
1058
|
}, TContext>;
|
|
1020
1059
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1021
1060
|
data: BodyType<UpdatePasswordRequest>;
|
|
1022
1061
|
}, TContext>;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1062
|
+
type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>>;
|
|
1063
|
+
type UpdatePasswordMutationBody = BodyType<UpdatePasswordRequest>;
|
|
1064
|
+
type UpdatePasswordMutationError = ErrorType<UpdatePassword400 | UpdatePassword403>;
|
|
1065
|
+
declare const useUpdatePassword: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
|
|
1027
1066
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1028
1067
|
data: BodyType<UpdatePasswordRequest>;
|
|
1029
1068
|
}, TContext>;
|
|
1030
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1069
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1031
1070
|
data: BodyType<UpdatePasswordRequest>;
|
|
1032
1071
|
}, TContext>;
|
|
1033
|
-
|
|
1034
|
-
|
|
1072
|
+
declare const useRevokeAllSessionsHook: () => (revokeAllSessionsRequest: BodyType<RevokeAllSessionsRequest>) => Promise<RevokeAllSessions200>;
|
|
1073
|
+
declare const useRevokeAllSessionsMutationOptions: <TError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>, TContext = unknown>(options?: {
|
|
1035
1074
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1036
1075
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1037
1076
|
}, TContext>;
|
|
1038
1077
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1039
1078
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1040
1079
|
}, TContext>;
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1080
|
+
type RevokeAllSessionsMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>>;
|
|
1081
|
+
type RevokeAllSessionsMutationBody = BodyType<RevokeAllSessionsRequest>;
|
|
1082
|
+
type RevokeAllSessionsMutationError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>;
|
|
1083
|
+
declare const useRevokeAllSessions: <TError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>, TContext = unknown>(options?: {
|
|
1045
1084
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1046
1085
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1047
1086
|
}, TContext>;
|
|
1048
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1087
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1049
1088
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1050
1089
|
}, TContext>;
|
|
1051
|
-
|
|
1052
|
-
|
|
1090
|
+
declare const useRevokeSessionHook: () => (sessionId: string) => Promise<RevokeSession200>;
|
|
1091
|
+
declare const useRevokeSessionMutationOptions: <TError = ErrorType<RevokeSession400 | RevokeSession403>, TContext = unknown>(options?: {
|
|
1053
1092
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1054
1093
|
sessionId: string;
|
|
1055
1094
|
}, TContext>;
|
|
1056
1095
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1057
1096
|
sessionId: string;
|
|
1058
1097
|
}, TContext>;
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1098
|
+
type RevokeSessionMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>>;
|
|
1099
|
+
type RevokeSessionMutationError = ErrorType<RevokeSession400 | RevokeSession403>;
|
|
1100
|
+
declare const useRevokeSession: <TError = ErrorType<RevokeSession400 | RevokeSession403>, TContext = unknown>(options?: {
|
|
1062
1101
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1063
1102
|
sessionId: string;
|
|
1064
1103
|
}, TContext>;
|
|
1065
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1104
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1066
1105
|
sessionId: string;
|
|
1067
1106
|
}, TContext>;
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1107
|
+
declare const useSessionsHook: () => (signal?: AbortSignal) => Promise<ActiveSessionsResponse>;
|
|
1108
|
+
declare const getSessionsQueryKey: () => readonly ["/_widgets/UserProfile/sessions"];
|
|
1109
|
+
declare const useSessionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1071
1110
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
|
|
1072
1111
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData> & {
|
|
1073
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1112
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1074
1113
|
};
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1114
|
+
type SessionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>;
|
|
1115
|
+
type SessionsQueryError = ErrorType<Sessions403>;
|
|
1116
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options: {
|
|
1078
1117
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
|
|
1079
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
1080
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1118
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1119
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1081
1120
|
};
|
|
1082
|
-
|
|
1121
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1083
1122
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>, "initialData">;
|
|
1084
|
-
}): UseQueryResult<TData, TError> & {
|
|
1085
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1123
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1124
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1086
1125
|
};
|
|
1087
|
-
|
|
1126
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1088
1127
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
|
|
1089
|
-
}): UseQueryResult<TData, TError> & {
|
|
1090
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1128
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1129
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1091
1130
|
};
|
|
1092
|
-
|
|
1093
|
-
|
|
1131
|
+
declare const useSendVerificationHook: () => (signal?: AbortSignal) => Promise<SendVerificationResponse>;
|
|
1132
|
+
declare const useSendVerificationMutationOptions: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
|
|
1094
1133
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1095
1134
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1135
|
+
type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>>;
|
|
1136
|
+
type SendVerificationMutationError = ErrorType<SendVerification400 | SendVerification403>;
|
|
1137
|
+
declare const useSendVerification: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
|
|
1099
1138
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1100
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1101
|
-
|
|
1102
|
-
|
|
1139
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1140
|
+
declare const useVerifyHook: () => (verifyRequest: BodyType<VerifyRequest>, signal?: AbortSignal) => Promise<VerifyResponse>;
|
|
1141
|
+
declare const useVerifyMutationOptions: <TError = ErrorType<Verify400 | Verify403>, TContext = unknown>(options?: {
|
|
1103
1142
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1104
1143
|
data: BodyType<VerifyRequest>;
|
|
1105
1144
|
}, TContext>;
|
|
1106
1145
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1107
1146
|
data: BodyType<VerifyRequest>;
|
|
1108
1147
|
}, TContext>;
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1148
|
+
type VerifyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>>;
|
|
1149
|
+
type VerifyMutationBody = BodyType<VerifyRequest>;
|
|
1150
|
+
type VerifyMutationError = ErrorType<Verify400 | Verify403>;
|
|
1151
|
+
declare const useVerify: <TError = ErrorType<Verify400 | Verify403>, TContext = unknown>(options?: {
|
|
1113
1152
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1114
1153
|
data: BodyType<VerifyRequest>;
|
|
1115
1154
|
}, TContext>;
|
|
1116
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1155
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1117
1156
|
data: BodyType<VerifyRequest>;
|
|
1118
1157
|
}, TContext>;
|
|
1119
|
-
|
|
1120
|
-
|
|
1158
|
+
declare const useRegisterPasskeyHook: () => (signal?: AbortSignal) => Promise<RegisterPasskeyResponse>;
|
|
1159
|
+
declare const useRegisterPasskeyMutationOptions: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
|
|
1121
1160
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1122
1161
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1162
|
+
type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>>;
|
|
1163
|
+
type RegisterPasskeyMutationError = ErrorType<RegisterPasskey400 | RegisterPasskey403>;
|
|
1164
|
+
declare const useRegisterPasskey: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
|
|
1126
1165
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1127
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1128
|
-
|
|
1129
|
-
|
|
1166
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1167
|
+
declare const useVerifyPasskeyHook: () => (verifyPasskeyRequest: BodyType<VerifyPasskeyRequest>, signal?: AbortSignal) => Promise<VerifyPasskey200>;
|
|
1168
|
+
declare const useVerifyPasskeyMutationOptions: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
|
|
1130
1169
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1131
1170
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1132
1171
|
}, TContext>;
|
|
1133
1172
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1134
1173
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1135
1174
|
}, TContext>;
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1175
|
+
type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>>;
|
|
1176
|
+
type VerifyPasskeyMutationBody = BodyType<VerifyPasskeyRequest>;
|
|
1177
|
+
type VerifyPasskeyMutationError = ErrorType<VerifyPasskey400 | VerifyPasskey403>;
|
|
1178
|
+
declare const useVerifyPasskey: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
|
|
1140
1179
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1141
1180
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1142
1181
|
}, TContext>;
|
|
1143
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1182
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1144
1183
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1145
1184
|
}, TContext>;
|
|
1146
|
-
|
|
1147
|
-
|
|
1185
|
+
declare const useDeletePasskeyHook: () => (passkeyId: string) => Promise<DeletePasskey200>;
|
|
1186
|
+
declare const useDeletePasskeyMutationOptions: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
|
|
1148
1187
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1149
1188
|
passkeyId: string;
|
|
1150
1189
|
}, TContext>;
|
|
1151
1190
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1152
1191
|
passkeyId: string;
|
|
1153
1192
|
}, TContext>;
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1193
|
+
type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>>;
|
|
1194
|
+
type DeletePasskeyMutationError = ErrorType<DeletePasskey400 | DeletePasskey403>;
|
|
1195
|
+
declare const useDeletePasskey: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
|
|
1157
1196
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1158
1197
|
passkeyId: string;
|
|
1159
1198
|
}, TContext>;
|
|
1160
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1199
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1161
1200
|
passkeyId: string;
|
|
1162
1201
|
}, TContext>;
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1202
|
+
declare const useListOrganizationDomainsHook: () => (signal?: AbortSignal) => Promise<ListOrganizationDomains200>;
|
|
1203
|
+
declare const getListOrganizationDomainsQueryKey: () => readonly ["/_widgets/admin-portal/organization-domains"];
|
|
1204
|
+
declare const useListOrganizationDomainsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
1166
1205
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData>>;
|
|
1167
1206
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData> & {
|
|
1168
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1207
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1169
1208
|
};
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1209
|
+
type ListOrganizationDomainsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>>;
|
|
1210
|
+
type ListOrganizationDomainsQueryError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>;
|
|
1211
|
+
declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options: {
|
|
1173
1212
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>>, "initialData">;
|
|
1174
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
1175
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1213
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1214
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1176
1215
|
};
|
|
1177
|
-
|
|
1216
|
+
declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
1178
1217
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>>, "initialData">;
|
|
1179
|
-
}): UseQueryResult<TData, TError> & {
|
|
1180
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1218
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1219
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1181
1220
|
};
|
|
1182
|
-
|
|
1221
|
+
declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
1183
1222
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData>>;
|
|
1184
|
-
}): UseQueryResult<TData, TError> & {
|
|
1185
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1223
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1224
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1186
1225
|
};
|
|
1187
|
-
|
|
1188
|
-
|
|
1226
|
+
declare const useGenerateAdminPortalLinkHook: () => (params: GenerateAdminPortalLinkParams, signal?: AbortSignal) => Promise<GenerateAdminPortalLink201>;
|
|
1227
|
+
declare const useGenerateAdminPortalLinkMutationOptions: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
|
|
1189
1228
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1190
1229
|
params: GenerateAdminPortalLinkParams;
|
|
1191
1230
|
}, TContext>;
|
|
1192
1231
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1193
1232
|
params: GenerateAdminPortalLinkParams;
|
|
1194
1233
|
}, TContext>;
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1234
|
+
type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>>;
|
|
1235
|
+
type GenerateAdminPortalLinkMutationError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>;
|
|
1236
|
+
declare const useGenerateAdminPortalLink: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
|
|
1198
1237
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1199
1238
|
params: GenerateAdminPortalLinkParams;
|
|
1200
1239
|
}, TContext>;
|
|
1201
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1240
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1202
1241
|
params: GenerateAdminPortalLinkParams;
|
|
1203
1242
|
}, TContext>;
|
|
1204
|
-
|
|
1205
|
-
|
|
1243
|
+
declare const useDeleteOrganizationDomainHook: () => (domainId: string) => Promise<OrganizationDomain>;
|
|
1244
|
+
declare const useDeleteOrganizationDomainMutationOptions: <TError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1206
1245
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1207
1246
|
domainId: string;
|
|
1208
1247
|
}, TContext>;
|
|
1209
1248
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1210
1249
|
domainId: string;
|
|
1211
1250
|
}, TContext>;
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1251
|
+
type DeleteOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>>;
|
|
1252
|
+
type DeleteOrganizationDomainMutationError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>;
|
|
1253
|
+
declare const useDeleteOrganizationDomain: <TError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1215
1254
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1216
1255
|
domainId: string;
|
|
1217
1256
|
}, TContext>;
|
|
1218
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1257
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1219
1258
|
domainId: string;
|
|
1220
1259
|
}, TContext>;
|
|
1221
|
-
|
|
1222
|
-
|
|
1260
|
+
declare const useReverifyOrganizationDomainHook: () => (domainId: string, signal?: AbortSignal) => Promise<OrganizationDomain>;
|
|
1261
|
+
declare const useReverifyOrganizationDomainMutationOptions: <TError = ErrorType<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1223
1262
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1224
1263
|
domainId: string;
|
|
1225
1264
|
}, TContext>;
|
|
1226
1265
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1227
1266
|
domainId: string;
|
|
1228
1267
|
}, TContext>;
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1268
|
+
type ReverifyOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>>;
|
|
1269
|
+
type ReverifyOrganizationDomainMutationError = ErrorType<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>;
|
|
1270
|
+
declare const useReverifyOrganizationDomain: <TError = ErrorType<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1232
1271
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1233
1272
|
domainId: string;
|
|
1234
1273
|
}, TContext>;
|
|
1235
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1274
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1236
1275
|
domainId: string;
|
|
1237
1276
|
}, TContext>;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1277
|
+
declare const useListSsoConnectionsHook: () => (signal?: AbortSignal) => Promise<SsoConnection[]>;
|
|
1278
|
+
declare const getListSsoConnectionsQueryKey: () => readonly ["/_widgets/admin-portal/sso-connections"];
|
|
1279
|
+
declare const useListSsoConnectionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options?: {
|
|
1241
1280
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData>>;
|
|
1242
1281
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData> & {
|
|
1243
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1282
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1244
1283
|
};
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1284
|
+
type ListSsoConnectionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>>;
|
|
1285
|
+
type ListSsoConnectionsQueryError = ErrorType<unknown>;
|
|
1286
|
+
declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options: {
|
|
1248
1287
|
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>>, "initialData">;
|
|
1249
|
-
}): DefinedUseQueryResult<TData, TError> & {
|
|
1250
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1288
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1289
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1251
1290
|
};
|
|
1252
|
-
|
|
1291
|
+
declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options?: {
|
|
1253
1292
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>>, "initialData">;
|
|
1254
|
-
}): UseQueryResult<TData, TError> & {
|
|
1255
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1293
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1294
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1256
1295
|
};
|
|
1257
|
-
|
|
1296
|
+
declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options?: {
|
|
1258
1297
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData>>;
|
|
1259
|
-
}): UseQueryResult<TData, TError> & {
|
|
1260
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1298
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1299
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1261
1300
|
};
|
|
1262
|
-
|
|
1301
|
+
|
|
1302
|
+
export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuthenticationInformation403, type AuthenticationInformationQueryError, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, AuthenticationInformationResponseDataVerificationMethodsMfaProvider, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem, AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider, type AuthenticationInformationResponseDataVerificationMethodsPassword, AuthenticationInformationResponseDataVerificationMethodsPasswordProvider, type CreatePassword201, type CreatePassword400, type CreatePassword403, type CreatePasswordMutationBody, type CreatePasswordMutationError, type CreatePasswordMutationResult, type CreatePasswordRequest, type CreateTotpFactor400, type CreateTotpFactor403, type CreateTotpFactorMutationError, type CreateTotpFactorMutationResult, type CreateTotpFactorResponse, type CreateTotpFactorResponseAuthenticationChallenge, type CreateTotpFactorResponseAuthenticationChallengeAllOf, CreateTotpFactorResponseAuthenticationChallengeAllOfObject, type CreateTotpFactorResponseAuthenticationChallengeAllOfThree, type CreateTotpFactorResponseAuthenticationFactor, type CreateTotpFactorResponseAuthenticationFactorAllOf, type CreateTotpFactorResponseAuthenticationFactorAllOfEight, CreateTotpFactorResponseAuthenticationFactorAllOfObject, type CreateTotpFactorResponseAuthenticationFactorAllOfSms, type CreateTotpFactorResponseAuthenticationFactorAllOfTotp, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf, type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo, CreateTotpFactorResponseAuthenticationFactorAllOfType, type DeleteOrganizationDomain403, type DeleteOrganizationDomain404, type DeleteOrganizationDomainMutationError, type DeleteOrganizationDomainMutationResult, type DeletePasskey200, type DeletePasskey400, type DeletePasskey403, type DeletePasskeyMutationError, type DeletePasskeyMutationResult, type DeleteTotpFactors200, type DeleteTotpFactors400, type DeleteTotpFactors403, type DeleteTotpFactorsMutationError, type DeleteTotpFactorsMutationResult, DomainVerificationNameServer, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type ListMetadata, type ListOrganizationDomains200, type ListOrganizationDomains403, type ListOrganizationDomains404, type ListOrganizationDomainsQueryError, type ListOrganizationDomainsQueryResult, type ListSsoConnectionsQueryError, type ListSsoConnectionsQueryResult, type Me, type Me403, type MeOauthProfiles, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRolesItem, MemberStatus, type Members200, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type OAuthProfile, type OrganizationDomain, OrganizationDomainState, type OrganizationInfo, type Organizations403, type Organizations404, type OrganizationsQueryError, type OrganizationsQueryResult, type OrganizationsResponse, type RegisterPasskey400, type RegisterPasskey403, type RegisterPasskeyMutationError, type RegisterPasskeyMutationResult, type RegisterPasskeyResponse, type RegisterPasskeyResponseOptions, type RemoveMember200, type RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type ResendInvite201, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInviteMutationError, type ResendInviteMutationResult, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationBody, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite200, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeSession200, type RevokeSession400, type RevokeSession403, type RevokeSessionMutationError, type RevokeSessionMutationResult, type Roles403, type Roles404, type RolesAndConfig403, type RolesAndConfig404, type RolesAndConfigQueryError, type RolesAndConfigQueryResult, type RolesAndConfigResponse, type RolesQueryError, type RolesQueryResult, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, SendVerificationResponseType, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type SsoConnection, type SsoConnectionAnyOf, type SsoConnectionAnyOfEight, type SsoConnectionAnyOfEightAllOf, type SsoConnectionAnyOfEightAllOfLastSession, SsoConnectionAnyOfEightAllOfProviderTag, type SsoConnectionAnyOfEightAllOfSix, SsoConnectionAnyOfEightAllOfState, SsoConnectionAnyOfEightAllOfType, type SsoConnectionAnyOfLastSession, type SsoConnectionAnyOfLatestExpiredCertificate, type SsoConnectionAnyOfLatestExpiringCertificate, SsoConnectionAnyOfProviderTag, SsoConnectionAnyOfState, SsoConnectionAnyOfType, type SsoConnectionSessionJSON, type SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember200, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type Verify400, type Verify403, type VerifyMutationBody, type VerifyMutationError, type VerifyMutationResult, type VerifyPasskey200, type VerifyPasskey400, type VerifyPasskey403, type VerifyPasskeyMutationBody, type VerifyPasskeyMutationError, type VerifyPasskeyMutationResult, type VerifyPasskeyRequest, type VerifyPasskeyRequestResponse, type VerifyRequest, type VerifyResponse, type VerifyTotpFactor200, type VerifyTotpFactor400, type VerifyTotpFactor403, type VerifyTotpFactorMutationBody, type VerifyTotpFactorMutationError, type VerifyTotpFactorMutationResult, type VerifyTotpFactorRequest, type X509CertificateJSON, getAuthenticationInformationQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getMeQueryKey, getMembersQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useOrganizations, useOrganizationsHook, useOrganizationsQueryOptions, useRegisterPasskey, useRegisterPasskeyHook, useRegisterPasskeyMutationOptions, useRemoveMember, useRemoveMemberHook, useRemoveMemberMutationOptions, useResendInvite, useResendInviteHook, useResendInviteMutationOptions, useReverifyOrganizationDomain, useReverifyOrganizationDomainHook, useReverifyOrganizationDomainMutationOptions, useRevokeAllSessions, useRevokeAllSessionsHook, useRevokeAllSessionsMutationOptions, useRevokeInvite, useRevokeInviteHook, useRevokeInviteMutationOptions, useRevokeSession, useRevokeSessionHook, useRevokeSessionMutationOptions, useRoles, useRolesAndConfig, useRolesAndConfigHook, useRolesAndConfigQueryOptions, useRolesHook, useRolesQueryOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useVerify, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };
|