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