@workos-inc/widgets 1.4.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1648 -0
- package/dist/cjs/api/endpoint.cjs.map +1 -0
- package/dist/cjs/api/endpoint.d.cts +1687 -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/api-keys-client.cjs +82 -0
- package/dist/cjs/api-keys-client.cjs.map +1 -0
- package/dist/cjs/api-keys-client.d.cts +10 -0
- 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 +67 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +26 -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/api-key.cjs +65 -0
- package/dist/cjs/lib/api/api-key.cjs.map +1 -0
- package/dist/cjs/lib/api/api-key.d.cts +16 -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/api-keys/api-key-details-card.cjs +61 -0
- package/dist/cjs/lib/api-keys/api-key-details-card.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-key-details-card.d.cts +11 -0
- package/dist/cjs/lib/api-keys/api-key-details-dialog.cjs +79 -0
- package/dist/cjs/lib/api-keys/api-key-details-dialog.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-key-details-dialog.d.cts +13 -0
- package/dist/cjs/lib/api-keys/api-keys-context.cjs +85 -0
- package/dist/cjs/lib/api-keys/api-keys-context.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-keys-context.d.cts +19 -0
- package/dist/cjs/lib/api-keys/api-keys-search-provider.cjs +79 -0
- package/dist/cjs/lib/api-keys/api-keys-search-provider.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-keys-search-provider.d.cts +12 -0
- package/dist/cjs/lib/api-keys/api-keys-search.cjs +99 -0
- package/dist/cjs/lib/api-keys/api-keys-search.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-keys-search.d.cts +6 -0
- package/dist/cjs/lib/api-keys/api-keys-state.cjs +157 -0
- package/dist/cjs/lib/api-keys/api-keys-state.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-keys-state.d.cts +31 -0
- package/dist/cjs/lib/api-keys/api-keys-table.cjs +180 -0
- package/dist/cjs/lib/api-keys/api-keys-table.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-keys-table.d.cts +10 -0
- package/dist/cjs/lib/api-keys/api-keys.cjs +111 -0
- package/dist/cjs/lib/api-keys/api-keys.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/api-keys.d.cts +11 -0
- package/dist/cjs/lib/api-keys/create-api-key.cjs +365 -0
- package/dist/cjs/lib/api-keys/create-api-key.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/create-api-key.d.cts +6 -0
- package/dist/cjs/lib/api-keys/relative-time.cjs +42 -0
- package/dist/cjs/lib/api-keys/relative-time.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/relative-time.d.cts +7 -0
- package/dist/cjs/lib/api-keys/revoke-api-key-dialog.cjs +86 -0
- package/dist/cjs/lib/api-keys/revoke-api-key-dialog.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/revoke-api-key-dialog.d.cts +12 -0
- package/dist/cjs/lib/api-keys/skeleton-table.cjs +39 -0
- package/dist/cjs/lib/api-keys/skeleton-table.cjs.map +1 -0
- package/dist/cjs/lib/api-keys/skeleton-table.d.cts +9 -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 +10 -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/empty-state.cjs +39 -0
- package/dist/cjs/lib/empty-state.cjs.map +1 -0
- package/dist/cjs/lib/empty-state.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 +111 -0
- package/dist/cjs/lib/identity-providers.cjs.map +1 -0
- package/dist/cjs/lib/identity-providers.d.cts +7 -0
- 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/css/lib/api-keys/api-keys.css +3 -0
- package/dist/css/lib/provider-icon.css +87 -9
- package/dist/css/styles.css +1 -0
- 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 +836 -449
- package/dist/esm/api/endpoint.js +1456 -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/api-keys-client.d.ts +10 -0
- package/dist/esm/api-keys-client.js +65 -0
- package/dist/esm/api-keys-client.js.map +1 -0
- 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 +26 -9
- package/dist/esm/index.js +50 -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/api-key.d.ts +16 -0
- package/dist/esm/lib/api/api-key.js +46 -0
- package/dist/esm/lib/api/api-key.js.map +1 -0
- 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/api-keys/api-key-details-card.d.ts +11 -0
- package/dist/esm/lib/api-keys/api-key-details-card.js +37 -0
- package/dist/esm/lib/api-keys/api-key-details-card.js.map +1 -0
- package/dist/esm/lib/api-keys/api-key-details-dialog.d.ts +13 -0
- package/dist/esm/lib/api-keys/api-key-details-dialog.js +57 -0
- package/dist/esm/lib/api-keys/api-key-details-dialog.js.map +1 -0
- package/dist/esm/lib/api-keys/api-keys-context.d.ts +19 -0
- package/dist/esm/lib/api-keys/api-keys-context.js +52 -0
- package/dist/esm/lib/api-keys/api-keys-context.js.map +1 -0
- package/dist/esm/lib/api-keys/api-keys-search-provider.d.ts +12 -0
- package/dist/esm/lib/api-keys/api-keys-search-provider.js +44 -0
- package/dist/esm/lib/api-keys/api-keys-search-provider.js.map +1 -0
- package/dist/esm/lib/api-keys/api-keys-search.d.ts +6 -0
- package/dist/esm/lib/api-keys/api-keys-search.js +65 -0
- package/dist/esm/lib/api-keys/api-keys-search.js.map +1 -0
- package/dist/esm/lib/api-keys/api-keys-state.d.ts +31 -0
- package/dist/esm/lib/api-keys/api-keys-state.js +123 -0
- package/dist/esm/lib/api-keys/api-keys-state.js.map +1 -0
- package/dist/esm/lib/api-keys/api-keys-table.d.ts +10 -0
- package/dist/esm/lib/api-keys/api-keys-table.js +169 -0
- package/dist/esm/lib/api-keys/api-keys-table.js.map +1 -0
- package/dist/esm/lib/api-keys/api-keys.d.ts +11 -0
- package/dist/esm/lib/api-keys/api-keys.js +74 -0
- package/dist/esm/lib/api-keys/api-keys.js.map +1 -0
- package/dist/esm/lib/api-keys/create-api-key.d.ts +6 -0
- package/dist/esm/lib/api-keys/create-api-key.js +352 -0
- package/dist/esm/lib/api-keys/create-api-key.js.map +1 -0
- package/dist/esm/lib/api-keys/relative-time.d.ts +7 -0
- package/dist/esm/lib/api-keys/relative-time.js +18 -0
- package/dist/esm/lib/api-keys/relative-time.js.map +1 -0
- package/dist/esm/lib/api-keys/revoke-api-key-dialog.d.ts +12 -0
- package/dist/esm/lib/api-keys/revoke-api-key-dialog.js +64 -0
- package/dist/esm/lib/api-keys/revoke-api-key-dialog.js.map +1 -0
- package/dist/esm/lib/api-keys/skeleton-table.d.ts +9 -0
- package/dist/esm/lib/api-keys/skeleton-table.js +15 -0
- package/dist/esm/lib/api-keys/skeleton-table.js.map +1 -0
- 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 +6 -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/empty-state.d.ts +10 -0
- package/dist/esm/lib/empty-state.js +15 -0
- package/dist/esm/lib/empty-state.js.map +1 -0
- 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 +6 -6
- package/dist/esm/lib/identity-providers.js +82 -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 +6 -4
- 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 +90 -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 +16 -15
- 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 +0 -7
- 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 -116
- 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 */
|
|
@@ -98,16 +99,18 @@ export interface Me {
|
|
|
98
99
|
/** @nullable */
|
|
99
100
|
lastName?: string | null;
|
|
100
101
|
/** @nullable */
|
|
102
|
+
locale?: string | null;
|
|
103
|
+
/** @nullable */
|
|
101
104
|
profilePictureUrl?: string | null;
|
|
102
105
|
/** @nullable */
|
|
103
106
|
oauthProfiles?: MeOauthProfiles;
|
|
104
107
|
}
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfObject = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfObject];
|
|
109
|
+
declare const CreateTotpFactorResponseAuthenticationFactorAllOfObject: {
|
|
107
110
|
readonly authentication_factor: "authentication_factor";
|
|
108
111
|
};
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfType = (typeof CreateTotpFactorResponseAuthenticationFactorAllOfType)[keyof typeof CreateTotpFactorResponseAuthenticationFactorAllOfType];
|
|
113
|
+
declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
|
|
111
114
|
readonly generic_otp: "generic_otp";
|
|
112
115
|
readonly sms: "sms";
|
|
113
116
|
readonly totp: "totp";
|
|
@@ -116,13 +119,13 @@ export declare const CreateTotpFactorResponseAuthenticationFactorAllOfType: {
|
|
|
116
119
|
/**
|
|
117
120
|
* @nullable
|
|
118
121
|
*/
|
|
119
|
-
|
|
122
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfSms = {
|
|
120
123
|
phone_number: string;
|
|
121
124
|
} | null;
|
|
122
125
|
/**
|
|
123
126
|
* @nullable
|
|
124
127
|
*/
|
|
125
|
-
|
|
128
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
|
|
126
129
|
issuer: string;
|
|
127
130
|
user: string;
|
|
128
131
|
secret: string;
|
|
@@ -132,12 +135,12 @@ export type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf = {
|
|
|
132
135
|
/**
|
|
133
136
|
* @nullable
|
|
134
137
|
*/
|
|
135
|
-
|
|
138
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo = {
|
|
136
139
|
issuer: string;
|
|
137
140
|
user: string;
|
|
138
141
|
} | null;
|
|
139
|
-
|
|
140
|
-
|
|
142
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfTotp = CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOf | CreateTotpFactorResponseAuthenticationFactorAllOfTotpAnyOfTwo;
|
|
143
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOf = {
|
|
141
144
|
object: CreateTotpFactorResponseAuthenticationFactorAllOfObject;
|
|
142
145
|
id: string;
|
|
143
146
|
type: CreateTotpFactorResponseAuthenticationFactorAllOfType;
|
|
@@ -147,16 +150,16 @@ export type CreateTotpFactorResponseAuthenticationFactorAllOf = {
|
|
|
147
150
|
sms?: CreateTotpFactorResponseAuthenticationFactorAllOfSms;
|
|
148
151
|
totp?: CreateTotpFactorResponseAuthenticationFactorAllOfTotp;
|
|
149
152
|
};
|
|
150
|
-
|
|
153
|
+
type CreateTotpFactorResponseAuthenticationFactorAllOfEight = {
|
|
151
154
|
created_at: string;
|
|
152
155
|
updated_at: string;
|
|
153
156
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
+
type CreateTotpFactorResponseAuthenticationFactor = CreateTotpFactorResponseAuthenticationFactorAllOf & CreateTotpFactorResponseAuthenticationFactorAllOfEight;
|
|
158
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfObject = (typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject)[keyof typeof CreateTotpFactorResponseAuthenticationChallengeAllOfObject];
|
|
159
|
+
declare const CreateTotpFactorResponseAuthenticationChallengeAllOfObject: {
|
|
157
160
|
readonly authentication_challenge: "authentication_challenge";
|
|
158
161
|
};
|
|
159
|
-
|
|
162
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
|
|
160
163
|
object: CreateTotpFactorResponseAuthenticationChallengeAllOfObject;
|
|
161
164
|
id: string;
|
|
162
165
|
/** @nullable */
|
|
@@ -165,57 +168,57 @@ export type CreateTotpFactorResponseAuthenticationChallengeAllOf = {
|
|
|
165
168
|
code?: string | null;
|
|
166
169
|
authentication_factor_id: string;
|
|
167
170
|
};
|
|
168
|
-
|
|
171
|
+
type CreateTotpFactorResponseAuthenticationChallengeAllOfThree = {
|
|
169
172
|
created_at: string;
|
|
170
173
|
updated_at: string;
|
|
171
174
|
};
|
|
172
|
-
|
|
173
|
-
|
|
175
|
+
type CreateTotpFactorResponseAuthenticationChallenge = CreateTotpFactorResponseAuthenticationChallengeAllOf & CreateTotpFactorResponseAuthenticationChallengeAllOfThree;
|
|
176
|
+
interface CreateTotpFactorResponse {
|
|
174
177
|
authenticationFactor: CreateTotpFactorResponseAuthenticationFactor;
|
|
175
178
|
authenticationChallenge: CreateTotpFactorResponseAuthenticationChallenge;
|
|
176
179
|
}
|
|
177
|
-
|
|
180
|
+
interface VerifyTotpFactorRequest {
|
|
178
181
|
code: string;
|
|
179
182
|
authenticationChallengeId: string;
|
|
180
183
|
}
|
|
181
|
-
|
|
182
|
-
|
|
184
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfaProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsMfaProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsMfaProvider];
|
|
185
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsMfaProvider: {
|
|
183
186
|
readonly MFA: "MFA";
|
|
184
187
|
};
|
|
185
188
|
/**
|
|
186
189
|
* @nullable
|
|
187
190
|
*/
|
|
188
|
-
|
|
191
|
+
type AuthenticationInformationResponseDataVerificationMethodsMfa = {
|
|
189
192
|
provider: AuthenticationInformationResponseDataVerificationMethodsMfaProvider;
|
|
190
193
|
isSetUp: boolean;
|
|
191
194
|
/** @nullable */
|
|
192
195
|
lastUsed?: string | null;
|
|
193
196
|
} | null;
|
|
194
|
-
|
|
195
|
-
|
|
197
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasswordProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasswordProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasswordProvider];
|
|
198
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasswordProvider: {
|
|
196
199
|
readonly Password: "Password";
|
|
197
200
|
};
|
|
198
201
|
/**
|
|
199
202
|
* @nullable
|
|
200
203
|
*/
|
|
201
|
-
|
|
204
|
+
type AuthenticationInformationResponseDataVerificationMethodsPassword = {
|
|
202
205
|
provider: AuthenticationInformationResponseDataVerificationMethodsPasswordProvider;
|
|
203
206
|
isSetUp: boolean;
|
|
204
207
|
/** @nullable */
|
|
205
208
|
lastUsed?: string | null;
|
|
206
209
|
isCurrentSession: boolean;
|
|
207
210
|
} | null;
|
|
208
|
-
|
|
209
|
-
|
|
211
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider = (typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider)[keyof typeof AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider];
|
|
212
|
+
declare const AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider: {
|
|
210
213
|
readonly Passkey: "Passkey";
|
|
211
214
|
};
|
|
212
|
-
|
|
215
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem = {
|
|
213
216
|
id: string;
|
|
214
217
|
};
|
|
215
218
|
/**
|
|
216
219
|
* @nullable
|
|
217
220
|
*/
|
|
218
|
-
|
|
221
|
+
type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
|
|
219
222
|
provider: AuthenticationInformationResponseDataVerificationMethodsPasskeyProvider;
|
|
220
223
|
isSetUp: boolean;
|
|
221
224
|
/** @nullable */
|
|
@@ -223,7 +226,7 @@ export type AuthenticationInformationResponseDataVerificationMethodsPasskey = {
|
|
|
223
226
|
passKeys: AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem[];
|
|
224
227
|
isCurrentSession: boolean;
|
|
225
228
|
} | null;
|
|
226
|
-
|
|
229
|
+
type AuthenticationInformationResponseDataVerificationMethods = {
|
|
227
230
|
/** @nullable */
|
|
228
231
|
Mfa?: AuthenticationInformationResponseDataVerificationMethodsMfa;
|
|
229
232
|
/** @nullable */
|
|
@@ -231,7 +234,7 @@ export type AuthenticationInformationResponseDataVerificationMethods = {
|
|
|
231
234
|
/** @nullable */
|
|
232
235
|
Passkey?: AuthenticationInformationResponseDataVerificationMethodsPasskey;
|
|
233
236
|
};
|
|
234
|
-
|
|
237
|
+
type AuthenticationInformationResponseDataPasswordSettings = {
|
|
235
238
|
isPasswordNumberRequired: boolean;
|
|
236
239
|
isPasswordPwnedRequired: boolean;
|
|
237
240
|
isPasswordSymbolRequired: boolean;
|
|
@@ -239,24 +242,24 @@ export type AuthenticationInformationResponseDataPasswordSettings = {
|
|
|
239
242
|
passwordMinimumLength: number;
|
|
240
243
|
passwordMinimumStrength: number;
|
|
241
244
|
};
|
|
242
|
-
|
|
245
|
+
type AuthenticationInformationResponseData = {
|
|
243
246
|
verificationMethods: AuthenticationInformationResponseDataVerificationMethods;
|
|
244
247
|
passwordSettings: AuthenticationInformationResponseDataPasswordSettings;
|
|
245
248
|
};
|
|
246
|
-
|
|
249
|
+
interface AuthenticationInformationResponse {
|
|
247
250
|
data: AuthenticationInformationResponseData;
|
|
248
251
|
}
|
|
249
|
-
|
|
252
|
+
interface CreatePasswordRequest {
|
|
250
253
|
password: string;
|
|
251
254
|
}
|
|
252
|
-
|
|
255
|
+
interface UpdatePasswordRequest {
|
|
253
256
|
newPassword: string;
|
|
254
257
|
currentPassword: string;
|
|
255
258
|
}
|
|
256
|
-
|
|
259
|
+
interface RevokeAllSessionsRequest {
|
|
257
260
|
currentSessionId: string;
|
|
258
261
|
}
|
|
259
|
-
|
|
262
|
+
type ActiveSessionState = {
|
|
260
263
|
tag: string;
|
|
261
264
|
/** @nullable */
|
|
262
265
|
expiresAt?: string | null;
|
|
@@ -264,11 +267,11 @@ export type ActiveSessionState = {
|
|
|
264
267
|
/**
|
|
265
268
|
* @nullable
|
|
266
269
|
*/
|
|
267
|
-
|
|
270
|
+
type ActiveSessionCurrentLocation = {
|
|
268
271
|
cityName: string;
|
|
269
272
|
countryISOCode: string;
|
|
270
273
|
} | null;
|
|
271
|
-
|
|
274
|
+
interface ActiveSession {
|
|
272
275
|
id: string;
|
|
273
276
|
userlandUserId: string;
|
|
274
277
|
/** @nullable */
|
|
@@ -305,55 +308,55 @@ export interface ActiveSession {
|
|
|
305
308
|
createdAt: string;
|
|
306
309
|
updatedAt: string;
|
|
307
310
|
}
|
|
308
|
-
|
|
311
|
+
interface ActiveSessionsResponse {
|
|
309
312
|
data: ActiveSession[];
|
|
310
313
|
}
|
|
311
|
-
|
|
312
|
-
|
|
314
|
+
type SendVerificationResponseType = (typeof SendVerificationResponseType)[keyof typeof SendVerificationResponseType];
|
|
315
|
+
declare const SendVerificationResponseType: {
|
|
313
316
|
readonly EmailVerification: "EmailVerification";
|
|
314
317
|
};
|
|
315
|
-
|
|
318
|
+
interface SendVerificationResponse {
|
|
316
319
|
authenticationChallenge: string;
|
|
317
320
|
type: SendVerificationResponseType;
|
|
318
321
|
}
|
|
319
|
-
|
|
322
|
+
interface VerifyRequest {
|
|
320
323
|
code: string;
|
|
321
324
|
authenticationChallengeId: string;
|
|
322
325
|
}
|
|
323
|
-
|
|
326
|
+
interface VerifyResponse {
|
|
324
327
|
elevatedAccessToken: string;
|
|
325
328
|
expiresAt: string;
|
|
326
329
|
}
|
|
327
|
-
|
|
330
|
+
type RegisterPasskeyResponseOptions = {
|
|
328
331
|
[key: string]: unknown;
|
|
329
332
|
};
|
|
330
|
-
|
|
333
|
+
interface RegisterPasskeyResponse {
|
|
331
334
|
challengeId: string;
|
|
332
335
|
options: RegisterPasskeyResponseOptions;
|
|
333
336
|
}
|
|
334
|
-
|
|
337
|
+
type VerifyPasskeyRequestResponse = {
|
|
335
338
|
[key: string]: unknown;
|
|
336
339
|
};
|
|
337
|
-
|
|
340
|
+
interface VerifyPasskeyRequest {
|
|
338
341
|
challengeId: string;
|
|
339
342
|
response: VerifyPasskeyRequestResponse;
|
|
340
343
|
}
|
|
341
|
-
|
|
342
|
-
|
|
344
|
+
type OrganizationDomainState = (typeof OrganizationDomainState)[keyof typeof OrganizationDomainState];
|
|
345
|
+
declare const OrganizationDomainState: {
|
|
343
346
|
readonly Failed: "Failed";
|
|
344
347
|
readonly LegacyVerified: "LegacyVerified";
|
|
345
348
|
readonly Pending: "Pending";
|
|
346
349
|
readonly Verified: "Verified";
|
|
347
350
|
};
|
|
348
|
-
|
|
349
|
-
|
|
351
|
+
type DomainVerificationNameServer = (typeof DomainVerificationNameServer)[keyof typeof DomainVerificationNameServer];
|
|
352
|
+
declare const DomainVerificationNameServer: {
|
|
350
353
|
readonly AwsRoute53: "AwsRoute53";
|
|
351
354
|
readonly GoogleDomains: "GoogleDomains";
|
|
352
355
|
readonly CloudFlare: "CloudFlare";
|
|
353
356
|
readonly GoDaddy: "GoDaddy";
|
|
354
357
|
readonly Other: "Other";
|
|
355
358
|
};
|
|
356
|
-
|
|
359
|
+
interface OrganizationDomain {
|
|
357
360
|
id: string;
|
|
358
361
|
domain: string;
|
|
359
362
|
state: OrganizationDomainState;
|
|
@@ -366,7 +369,7 @@ export interface OrganizationDomain {
|
|
|
366
369
|
subdomain?: string | null;
|
|
367
370
|
createdAt: string;
|
|
368
371
|
}
|
|
369
|
-
|
|
372
|
+
interface X509CertificateJSON {
|
|
370
373
|
id: string;
|
|
371
374
|
value: string;
|
|
372
375
|
/** @nullable */
|
|
@@ -376,14 +379,35 @@ export interface X509CertificateJSON {
|
|
|
376
379
|
/** @nullable */
|
|
377
380
|
lastExpiryEventSentAt?: string | null;
|
|
378
381
|
}
|
|
379
|
-
|
|
380
|
-
|
|
382
|
+
type SamlSessionState = (typeof SamlSessionState)[keyof typeof SamlSessionState];
|
|
383
|
+
declare const SamlSessionState: {
|
|
384
|
+
readonly Authorized: "Authorized";
|
|
385
|
+
readonly Failed: "Failed";
|
|
386
|
+
readonly Started: "Started";
|
|
387
|
+
readonly Successful: "Successful";
|
|
388
|
+
};
|
|
389
|
+
type OidcSessionState = (typeof OidcSessionState)[keyof typeof OidcSessionState];
|
|
390
|
+
declare const OidcSessionState: {
|
|
391
|
+
readonly Started: "Started";
|
|
392
|
+
readonly Authorized: "Authorized";
|
|
393
|
+
readonly Successful: "Successful";
|
|
394
|
+
readonly Failed: "Failed";
|
|
395
|
+
readonly Terminated: "Terminated";
|
|
396
|
+
};
|
|
397
|
+
declare const SsoConnectionSessionJSONState: {
|
|
398
|
+
readonly Started: "Started";
|
|
399
|
+
readonly Authorized: "Authorized";
|
|
400
|
+
readonly Successful: "Successful";
|
|
401
|
+
readonly Failed: "Failed";
|
|
402
|
+
readonly Terminated: "Terminated";
|
|
403
|
+
};
|
|
404
|
+
interface SsoConnectionSessionJSON {
|
|
381
405
|
id: string;
|
|
382
406
|
createdAt: string;
|
|
383
|
-
state: SsoConnectionSessionJSONState;
|
|
407
|
+
state: (typeof SsoConnectionSessionJSONState)[keyof typeof SsoConnectionSessionJSONState];
|
|
384
408
|
}
|
|
385
|
-
|
|
386
|
-
|
|
409
|
+
type SsoConnectionAnyOfType = (typeof SsoConnectionAnyOfType)[keyof typeof SsoConnectionAnyOfType];
|
|
410
|
+
declare const SsoConnectionAnyOfType: {
|
|
387
411
|
readonly AdfsSaml: "AdfsSaml";
|
|
388
412
|
readonly Auth0Saml: "Auth0Saml";
|
|
389
413
|
readonly AzureSaml: "AzureSaml";
|
|
@@ -412,21 +436,21 @@ export declare const SsoConnectionAnyOfType: {
|
|
|
412
436
|
readonly TestIdp: "TestIdp";
|
|
413
437
|
readonly VmWareSaml: "VmWareSaml";
|
|
414
438
|
};
|
|
415
|
-
|
|
416
|
-
|
|
439
|
+
type SsoConnectionAnyOfState = (typeof SsoConnectionAnyOfState)[keyof typeof SsoConnectionAnyOfState];
|
|
440
|
+
declare const SsoConnectionAnyOfState: {
|
|
417
441
|
readonly Inactive: "Inactive";
|
|
418
442
|
readonly Validating: "Validating";
|
|
419
443
|
readonly Active: "Active";
|
|
420
444
|
readonly Deleting: "Deleting";
|
|
421
445
|
};
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
446
|
+
type SsoConnectionAnyOfLatestExpiringCertificate = X509CertificateJSON | null;
|
|
447
|
+
type SsoConnectionAnyOfLatestExpiredCertificate = X509CertificateJSON | null;
|
|
448
|
+
type SsoConnectionAnyOfProviderTag = (typeof SsoConnectionAnyOfProviderTag)[keyof typeof SsoConnectionAnyOfProviderTag];
|
|
449
|
+
declare const SsoConnectionAnyOfProviderTag: {
|
|
426
450
|
readonly Saml: "Saml";
|
|
427
451
|
};
|
|
428
|
-
|
|
429
|
-
|
|
452
|
+
type SsoConnectionAnyOfLastSession = SsoConnectionSessionJSON | null;
|
|
453
|
+
type SsoConnectionAnyOf = {
|
|
430
454
|
id: string;
|
|
431
455
|
type: SsoConnectionAnyOfType;
|
|
432
456
|
name: string;
|
|
@@ -438,15 +462,15 @@ export type SsoConnectionAnyOf = {
|
|
|
438
462
|
providerTag: SsoConnectionAnyOfProviderTag;
|
|
439
463
|
lastSession?: SsoConnectionAnyOfLastSession;
|
|
440
464
|
};
|
|
441
|
-
|
|
442
|
-
|
|
465
|
+
type SsoConnectionAnyOfEightAllOfState = (typeof SsoConnectionAnyOfEightAllOfState)[keyof typeof SsoConnectionAnyOfEightAllOfState];
|
|
466
|
+
declare const SsoConnectionAnyOfEightAllOfState: {
|
|
443
467
|
readonly Inactive: "Inactive";
|
|
444
468
|
readonly Validating: "Validating";
|
|
445
469
|
readonly Active: "Active";
|
|
446
470
|
readonly Deleting: "Deleting";
|
|
447
471
|
};
|
|
448
|
-
|
|
449
|
-
|
|
472
|
+
type SsoConnectionAnyOfEightAllOfType = (typeof SsoConnectionAnyOfEightAllOfType)[keyof typeof SsoConnectionAnyOfEightAllOfType];
|
|
473
|
+
declare const SsoConnectionAnyOfEightAllOfType: {
|
|
450
474
|
readonly AdpOidc: "AdpOidc";
|
|
451
475
|
readonly Auth0Migration: "Auth0Migration";
|
|
452
476
|
readonly EntraIdOidc: "EntraIdOidc";
|
|
@@ -455,12 +479,12 @@ export declare const SsoConnectionAnyOfEightAllOfType: {
|
|
|
455
479
|
readonly OktaOidc: "OktaOidc";
|
|
456
480
|
readonly LoginGovOidc: "LoginGovOidc";
|
|
457
481
|
};
|
|
458
|
-
|
|
459
|
-
|
|
482
|
+
type SsoConnectionAnyOfEightAllOfProviderTag = (typeof SsoConnectionAnyOfEightAllOfProviderTag)[keyof typeof SsoConnectionAnyOfEightAllOfProviderTag];
|
|
483
|
+
declare const SsoConnectionAnyOfEightAllOfProviderTag: {
|
|
460
484
|
readonly OpenIdConnect: "OpenIdConnect";
|
|
461
485
|
};
|
|
462
|
-
|
|
463
|
-
|
|
486
|
+
type SsoConnectionAnyOfEightAllOfLastSession = SsoConnectionSessionJSON | null;
|
|
487
|
+
type SsoConnectionAnyOfEightAllOf = {
|
|
464
488
|
id: string;
|
|
465
489
|
name: string;
|
|
466
490
|
state: SsoConnectionAnyOfEightAllOfState;
|
|
@@ -469,43 +493,160 @@ export type SsoConnectionAnyOfEightAllOf = {
|
|
|
469
493
|
providerTag: SsoConnectionAnyOfEightAllOfProviderTag;
|
|
470
494
|
lastSession?: SsoConnectionAnyOfEightAllOfLastSession;
|
|
471
495
|
};
|
|
472
|
-
|
|
496
|
+
type SsoConnectionAnyOfEightAllOfSix = {
|
|
473
497
|
x509Certificates?: null;
|
|
474
498
|
latestExpiringCertificate?: null;
|
|
475
499
|
latestExpiredCertificate?: null;
|
|
476
500
|
};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
501
|
+
type SsoConnectionAnyOfEight = SsoConnectionAnyOfEightAllOf & SsoConnectionAnyOfEightAllOfSix;
|
|
502
|
+
type SsoConnection = SsoConnectionAnyOf | SsoConnectionAnyOfEight;
|
|
503
|
+
interface ListOrganizationApiKeysResponseData {
|
|
504
|
+
id: string;
|
|
505
|
+
name: string;
|
|
506
|
+
obfuscatedValue: string;
|
|
507
|
+
createdAt: string;
|
|
508
|
+
/** @nullable */
|
|
509
|
+
lastUsedAt?: string | null;
|
|
510
|
+
permissions: string[];
|
|
511
|
+
}
|
|
512
|
+
type ListOrganizationApiKeysResponseListMetadata = {
|
|
513
|
+
before?: string;
|
|
514
|
+
after?: string;
|
|
515
|
+
};
|
|
516
|
+
interface ListOrganizationApiKeysResponse {
|
|
517
|
+
data: ListOrganizationApiKeysResponseData[];
|
|
518
|
+
listMetadata: ListOrganizationApiKeysResponseListMetadata;
|
|
519
|
+
}
|
|
520
|
+
interface CreateOrganizationApiKeyRequest {
|
|
521
|
+
name: string;
|
|
522
|
+
permissions: string[];
|
|
523
|
+
}
|
|
524
|
+
interface CreateOrganizationApiKeyResponse {
|
|
525
|
+
id: string;
|
|
526
|
+
value: string;
|
|
527
|
+
obfuscatedValue: string;
|
|
528
|
+
createdAt: string;
|
|
529
|
+
name: string;
|
|
530
|
+
permissions: string[];
|
|
531
|
+
}
|
|
532
|
+
interface ListOrganizationApiKeyPermission {
|
|
533
|
+
id: string;
|
|
534
|
+
slug: string;
|
|
535
|
+
name: string;
|
|
536
|
+
/** @nullable */
|
|
537
|
+
description?: string | null;
|
|
538
|
+
}
|
|
539
|
+
type ListOrganizationApiKeyPermissionsResponseListMetadata = {
|
|
540
|
+
before?: string;
|
|
541
|
+
after?: string;
|
|
542
|
+
};
|
|
543
|
+
interface ListOrganizationApiKeyPermissionsResponse {
|
|
544
|
+
data: ListOrganizationApiKeyPermission[];
|
|
545
|
+
listMetadata: ListOrganizationApiKeyPermissionsResponseListMetadata;
|
|
546
|
+
}
|
|
547
|
+
type DataInstallationObject = (typeof DataInstallationObject)[keyof typeof DataInstallationObject];
|
|
548
|
+
declare const DataInstallationObject: {
|
|
549
|
+
readonly data_installation: "data_installation";
|
|
550
|
+
};
|
|
551
|
+
declare const DataInstallationState: {
|
|
552
|
+
readonly connected: "connected";
|
|
553
|
+
readonly needs_reauthorization: "needs_reauthorization";
|
|
554
|
+
};
|
|
555
|
+
interface DataInstallation {
|
|
556
|
+
object: DataInstallationObject;
|
|
557
|
+
id: string;
|
|
558
|
+
/** @nullable */
|
|
559
|
+
userlandUserId?: string | null;
|
|
560
|
+
/** @nullable */
|
|
561
|
+
organizationId?: string | null;
|
|
562
|
+
scopes: string[];
|
|
563
|
+
state: (typeof DataInstallationState)[keyof typeof DataInstallationState];
|
|
564
|
+
createdAt: string;
|
|
565
|
+
updatedAt: string;
|
|
566
|
+
}
|
|
567
|
+
type DataIntegrationObject = (typeof DataIntegrationObject)[keyof typeof DataIntegrationObject];
|
|
568
|
+
declare const DataIntegrationObject: {
|
|
569
|
+
readonly data_integration: "data_integration";
|
|
570
|
+
};
|
|
571
|
+
declare const DataIntegrationIntegrationType: {
|
|
572
|
+
readonly asana: "asana";
|
|
573
|
+
readonly box: "box";
|
|
574
|
+
readonly dropbox: "dropbox";
|
|
575
|
+
readonly github: "github";
|
|
576
|
+
readonly gitlab: "gitlab";
|
|
577
|
+
readonly gmail: "gmail";
|
|
578
|
+
readonly google: "google";
|
|
579
|
+
readonly "google-calendar": "google-calendar";
|
|
580
|
+
readonly "google-drive": "google-drive";
|
|
581
|
+
readonly hubspot: "hubspot";
|
|
582
|
+
readonly intercom: "intercom";
|
|
583
|
+
readonly linear: "linear";
|
|
584
|
+
readonly microsoft: "microsoft";
|
|
585
|
+
readonly notion: "notion";
|
|
586
|
+
readonly salesforce: "salesforce";
|
|
587
|
+
readonly slack: "slack";
|
|
588
|
+
readonly stripe: "stripe";
|
|
589
|
+
readonly zendesk: "zendesk";
|
|
590
|
+
};
|
|
591
|
+
declare const DataIntegrationOwnership: {
|
|
592
|
+
readonly userland_user: "userland_user";
|
|
593
|
+
readonly organization: "organization";
|
|
594
|
+
};
|
|
595
|
+
type DataIntegrationInstallation = DataInstallation | null;
|
|
596
|
+
interface DataIntegration {
|
|
597
|
+
object: DataIntegrationObject;
|
|
598
|
+
id: string;
|
|
599
|
+
name: string;
|
|
600
|
+
/** @nullable */
|
|
601
|
+
description?: string | null;
|
|
602
|
+
slug: string;
|
|
603
|
+
integrationType: (typeof DataIntegrationIntegrationType)[keyof typeof DataIntegrationIntegrationType];
|
|
604
|
+
ownership: (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
|
|
605
|
+
/** @nullable */
|
|
606
|
+
scopes?: string[] | null;
|
|
607
|
+
createdAt: string;
|
|
608
|
+
updatedAt: string;
|
|
609
|
+
installation?: DataIntegrationInstallation;
|
|
610
|
+
}
|
|
611
|
+
interface DataIntegrationsResponse {
|
|
612
|
+
data: DataIntegration[];
|
|
613
|
+
}
|
|
614
|
+
interface GetDataIntegrationAuthorizeUrlResponse {
|
|
615
|
+
url: string;
|
|
616
|
+
}
|
|
617
|
+
interface GetAuthorizationStatusResponse {
|
|
618
|
+
isConnecting: boolean;
|
|
619
|
+
}
|
|
620
|
+
type MembersParams = {
|
|
480
621
|
search?: string;
|
|
481
622
|
limit?: string;
|
|
482
623
|
before?: string;
|
|
483
624
|
after?: string;
|
|
484
625
|
role?: string;
|
|
485
626
|
};
|
|
486
|
-
|
|
627
|
+
type Members200 = {
|
|
487
628
|
data: Member[];
|
|
488
629
|
listMetadata: ListMetadata;
|
|
489
630
|
};
|
|
490
|
-
|
|
631
|
+
type Members403 = {
|
|
491
632
|
message: string;
|
|
492
633
|
};
|
|
493
|
-
|
|
634
|
+
type Members404 = {
|
|
494
635
|
message: string;
|
|
495
636
|
};
|
|
496
|
-
|
|
637
|
+
type Roles403 = {
|
|
497
638
|
message: string;
|
|
498
639
|
};
|
|
499
|
-
|
|
640
|
+
type Roles404 = {
|
|
500
641
|
message: string;
|
|
501
642
|
};
|
|
502
|
-
|
|
643
|
+
type RolesAndConfig403 = {
|
|
503
644
|
message: string;
|
|
504
645
|
};
|
|
505
|
-
|
|
646
|
+
type RolesAndConfig404 = {
|
|
506
647
|
message: string;
|
|
507
648
|
};
|
|
508
|
-
|
|
649
|
+
type InviteMemberInput = {
|
|
509
650
|
email: string;
|
|
510
651
|
/** @nullable */
|
|
511
652
|
firstName?: string | null;
|
|
@@ -513,379 +654,452 @@ export type InviteMemberInput = {
|
|
|
513
654
|
lastName?: string | null;
|
|
514
655
|
roles: string[];
|
|
515
656
|
};
|
|
516
|
-
|
|
657
|
+
type InviteMember201 = {
|
|
517
658
|
success: boolean;
|
|
518
659
|
};
|
|
519
|
-
|
|
660
|
+
type InviteMember400 = {
|
|
520
661
|
message: string;
|
|
521
662
|
};
|
|
522
|
-
|
|
663
|
+
type InviteMember403 = {
|
|
523
664
|
message: string;
|
|
524
665
|
};
|
|
525
|
-
|
|
666
|
+
type InviteMember404 = {
|
|
526
667
|
message: string;
|
|
527
668
|
};
|
|
528
|
-
|
|
669
|
+
type ResendInvite201 = {
|
|
529
670
|
/** @nullable */
|
|
530
671
|
id?: string | null;
|
|
531
672
|
success: boolean;
|
|
532
673
|
};
|
|
533
|
-
|
|
674
|
+
type ResendInvite400 = {
|
|
534
675
|
message: string;
|
|
535
676
|
};
|
|
536
|
-
|
|
677
|
+
type ResendInvite403 = {
|
|
537
678
|
message: string;
|
|
538
679
|
};
|
|
539
|
-
|
|
680
|
+
type ResendInvite404 = {
|
|
540
681
|
message: string;
|
|
541
682
|
};
|
|
542
|
-
|
|
683
|
+
type RevokeInvite200 = {
|
|
543
684
|
id: string;
|
|
544
685
|
success: boolean;
|
|
545
686
|
};
|
|
546
|
-
|
|
687
|
+
type RevokeInvite400 = {
|
|
547
688
|
message: string;
|
|
548
689
|
};
|
|
549
|
-
|
|
690
|
+
type RevokeInvite403 = {
|
|
550
691
|
message: string;
|
|
551
692
|
};
|
|
552
|
-
|
|
693
|
+
type RevokeInvite404 = {
|
|
553
694
|
message: string;
|
|
554
695
|
};
|
|
555
|
-
|
|
696
|
+
type RemoveMember200 = {
|
|
556
697
|
id: string;
|
|
557
698
|
success: boolean;
|
|
558
699
|
};
|
|
559
|
-
|
|
700
|
+
type RemoveMember400 = {
|
|
560
701
|
message: string;
|
|
561
702
|
};
|
|
562
|
-
|
|
703
|
+
type RemoveMember403 = {
|
|
563
704
|
message: string;
|
|
564
705
|
};
|
|
565
|
-
|
|
706
|
+
type RemoveMember404 = {
|
|
566
707
|
message: string;
|
|
567
708
|
};
|
|
568
|
-
|
|
709
|
+
type UpdateMemberInput = {
|
|
569
710
|
roles: string[];
|
|
570
711
|
};
|
|
571
|
-
|
|
712
|
+
type UpdateMember200 = {
|
|
572
713
|
id: string;
|
|
573
714
|
success: boolean;
|
|
574
715
|
};
|
|
575
|
-
|
|
716
|
+
type UpdateMember400 = {
|
|
576
717
|
message: string;
|
|
577
718
|
};
|
|
578
|
-
|
|
719
|
+
type UpdateMember403 = {
|
|
579
720
|
message: string;
|
|
580
721
|
};
|
|
581
|
-
|
|
722
|
+
type UpdateMember404 = {
|
|
582
723
|
message: string;
|
|
583
724
|
};
|
|
584
|
-
|
|
725
|
+
type Organizations403 = {
|
|
585
726
|
message: string;
|
|
586
727
|
};
|
|
587
|
-
|
|
728
|
+
type Organizations404 = {
|
|
588
729
|
message: string;
|
|
589
730
|
};
|
|
590
|
-
|
|
731
|
+
type Me403 = {
|
|
591
732
|
message: string;
|
|
592
733
|
};
|
|
593
|
-
|
|
734
|
+
type UpdateMeInput = {
|
|
594
735
|
firstName?: string;
|
|
595
736
|
lastName?: string;
|
|
737
|
+
locale?: string;
|
|
596
738
|
};
|
|
597
|
-
|
|
739
|
+
type UpdateMe400 = {
|
|
598
740
|
message: string;
|
|
599
741
|
};
|
|
600
|
-
|
|
742
|
+
type UpdateMe403 = {
|
|
601
743
|
message: string;
|
|
602
744
|
};
|
|
603
|
-
|
|
745
|
+
type CreateTotpFactor400 = {
|
|
604
746
|
message: string;
|
|
605
747
|
};
|
|
606
|
-
|
|
748
|
+
type CreateTotpFactor403 = {
|
|
607
749
|
message: string;
|
|
608
750
|
};
|
|
609
|
-
|
|
751
|
+
type VerifyTotpFactor200 = {
|
|
610
752
|
success: boolean;
|
|
611
753
|
};
|
|
612
|
-
|
|
754
|
+
type VerifyTotpFactor400 = {
|
|
613
755
|
message: string;
|
|
614
756
|
};
|
|
615
|
-
|
|
757
|
+
type VerifyTotpFactor403 = {
|
|
616
758
|
message: string;
|
|
617
759
|
};
|
|
618
|
-
|
|
760
|
+
type DeleteTotpFactors200 = {
|
|
619
761
|
success: boolean;
|
|
620
762
|
};
|
|
621
|
-
|
|
763
|
+
type DeleteTotpFactors400 = {
|
|
622
764
|
message: string;
|
|
623
765
|
};
|
|
624
|
-
|
|
766
|
+
type DeleteTotpFactors403 = {
|
|
625
767
|
message: string;
|
|
626
768
|
};
|
|
627
|
-
|
|
769
|
+
type AuthenticationInformation403 = {
|
|
628
770
|
message: string;
|
|
629
771
|
};
|
|
630
|
-
|
|
772
|
+
type CreatePassword201 = {
|
|
631
773
|
success: boolean;
|
|
632
774
|
};
|
|
633
|
-
|
|
775
|
+
type CreatePassword400 = {
|
|
634
776
|
message: string;
|
|
635
777
|
};
|
|
636
|
-
|
|
778
|
+
type CreatePassword403 = {
|
|
637
779
|
message: string;
|
|
638
780
|
};
|
|
639
|
-
|
|
781
|
+
type UpdatePassword201 = {
|
|
640
782
|
success: boolean;
|
|
641
783
|
};
|
|
642
|
-
|
|
784
|
+
type UpdatePassword400 = {
|
|
643
785
|
message: string;
|
|
644
786
|
};
|
|
645
|
-
|
|
787
|
+
type UpdatePassword403 = {
|
|
646
788
|
message: string;
|
|
647
789
|
};
|
|
648
|
-
|
|
790
|
+
type RevokeAllSessions200 = {
|
|
649
791
|
success: boolean;
|
|
650
792
|
};
|
|
651
|
-
|
|
793
|
+
type RevokeAllSessions400 = {
|
|
652
794
|
message: string;
|
|
653
795
|
};
|
|
654
|
-
|
|
796
|
+
type RevokeAllSessions403 = {
|
|
655
797
|
message: string;
|
|
656
798
|
};
|
|
657
|
-
|
|
799
|
+
type RevokeSession200 = {
|
|
658
800
|
success: boolean;
|
|
659
801
|
};
|
|
660
|
-
|
|
802
|
+
type RevokeSession400 = {
|
|
661
803
|
message: string;
|
|
662
804
|
};
|
|
663
|
-
|
|
805
|
+
type RevokeSession403 = {
|
|
664
806
|
message: string;
|
|
665
807
|
};
|
|
666
|
-
|
|
808
|
+
type Sessions403 = {
|
|
667
809
|
message: string;
|
|
668
810
|
};
|
|
669
|
-
|
|
811
|
+
type SendVerification400 = {
|
|
670
812
|
message: string;
|
|
671
813
|
};
|
|
672
|
-
|
|
814
|
+
type SendVerification403 = {
|
|
673
815
|
message: string;
|
|
674
816
|
};
|
|
675
|
-
|
|
817
|
+
type Verify400 = {
|
|
676
818
|
message: string;
|
|
677
819
|
};
|
|
678
|
-
|
|
820
|
+
type Verify403 = {
|
|
679
821
|
message: string;
|
|
680
822
|
};
|
|
681
|
-
|
|
823
|
+
type RegisterPasskey400 = {
|
|
682
824
|
message: string;
|
|
683
825
|
};
|
|
684
|
-
|
|
826
|
+
type RegisterPasskey403 = {
|
|
685
827
|
message: string;
|
|
686
828
|
};
|
|
687
|
-
|
|
829
|
+
type VerifyPasskey200 = {
|
|
688
830
|
success: boolean;
|
|
689
831
|
};
|
|
690
|
-
|
|
832
|
+
type VerifyPasskey400 = {
|
|
691
833
|
message: string;
|
|
692
834
|
};
|
|
693
|
-
|
|
835
|
+
type VerifyPasskey403 = {
|
|
694
836
|
message: string;
|
|
695
837
|
};
|
|
696
|
-
|
|
838
|
+
type DeletePasskey200 = {
|
|
697
839
|
success: boolean;
|
|
698
840
|
};
|
|
699
|
-
|
|
841
|
+
type DeletePasskey400 = {
|
|
700
842
|
message: string;
|
|
701
843
|
};
|
|
702
|
-
|
|
844
|
+
type DeletePasskey403 = {
|
|
703
845
|
message: string;
|
|
704
846
|
};
|
|
705
|
-
|
|
847
|
+
type ListOrganizationDomains200 = {
|
|
706
848
|
data: OrganizationDomain[];
|
|
707
849
|
};
|
|
708
|
-
|
|
850
|
+
type ListOrganizationDomains403 = {
|
|
709
851
|
message: string;
|
|
710
852
|
};
|
|
711
|
-
|
|
853
|
+
type ListOrganizationDomains404 = {
|
|
712
854
|
message: string;
|
|
713
855
|
};
|
|
714
|
-
|
|
856
|
+
type GenerateAdminPortalLinkParams = {
|
|
715
857
|
intent: GenerateAdminPortalLinkIntent;
|
|
716
858
|
};
|
|
717
|
-
|
|
718
|
-
|
|
859
|
+
type GenerateAdminPortalLinkIntent = (typeof GenerateAdminPortalLinkIntent)[keyof typeof GenerateAdminPortalLinkIntent];
|
|
860
|
+
declare const GenerateAdminPortalLinkIntent: {
|
|
719
861
|
readonly domain_verification: "domain_verification";
|
|
720
862
|
readonly sso: "sso";
|
|
721
863
|
};
|
|
722
|
-
|
|
864
|
+
type GenerateAdminPortalLink201 = {
|
|
723
865
|
link: string;
|
|
724
866
|
};
|
|
725
|
-
|
|
867
|
+
type GenerateAdminPortalLink403 = {
|
|
868
|
+
message: string;
|
|
869
|
+
};
|
|
870
|
+
type GenerateAdminPortalLink404 = {
|
|
871
|
+
message: string;
|
|
872
|
+
};
|
|
873
|
+
type GenerateAdminPortalLink500 = {
|
|
726
874
|
message: string;
|
|
727
875
|
};
|
|
728
|
-
|
|
876
|
+
type DeleteOrganizationDomain403 = {
|
|
729
877
|
message: string;
|
|
730
878
|
};
|
|
731
|
-
|
|
879
|
+
type DeleteOrganizationDomain404 = {
|
|
732
880
|
message: string;
|
|
733
881
|
};
|
|
734
|
-
|
|
882
|
+
type ReverifyOrganizationDomain403 = {
|
|
735
883
|
message: string;
|
|
736
884
|
};
|
|
737
|
-
|
|
885
|
+
type ReverifyOrganizationDomain404 = {
|
|
738
886
|
message: string;
|
|
739
887
|
};
|
|
740
|
-
|
|
888
|
+
type CreateOrganizationApiKey400 = {
|
|
741
889
|
message: string;
|
|
742
890
|
};
|
|
743
|
-
|
|
891
|
+
type CreateOrganizationApiKey403 = {
|
|
744
892
|
message: string;
|
|
745
893
|
};
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
894
|
+
type CreateOrganizationApiKey404 = {
|
|
895
|
+
message: string;
|
|
896
|
+
};
|
|
897
|
+
type ListOrganizationApiKeysParams = {
|
|
898
|
+
limit?: number;
|
|
899
|
+
before?: string;
|
|
900
|
+
after?: string;
|
|
901
|
+
search?: string;
|
|
902
|
+
};
|
|
903
|
+
type ListOrganizationApiKeys400 = {
|
|
904
|
+
message: string;
|
|
905
|
+
};
|
|
906
|
+
type ListOrganizationApiKeys403 = {
|
|
907
|
+
message: string;
|
|
908
|
+
};
|
|
909
|
+
type ListOrganizationApiKeyPermissionsParams = {
|
|
910
|
+
search?: string;
|
|
911
|
+
limit?: number;
|
|
912
|
+
before?: string;
|
|
913
|
+
after?: string;
|
|
914
|
+
};
|
|
915
|
+
type ListOrganizationApiKeyPermissions400 = {
|
|
916
|
+
message: string;
|
|
917
|
+
};
|
|
918
|
+
type ListOrganizationApiKeyPermissions403 = {
|
|
919
|
+
message: string;
|
|
920
|
+
};
|
|
921
|
+
type DeleteOrganizationApiKey200 = {
|
|
922
|
+
success: boolean;
|
|
923
|
+
};
|
|
924
|
+
type DeleteOrganizationApiKey403 = {
|
|
925
|
+
message: string;
|
|
926
|
+
};
|
|
927
|
+
type DeleteOrganizationApiKey404 = {
|
|
928
|
+
message: string;
|
|
929
|
+
};
|
|
930
|
+
type MyDataIntegrations403 = {
|
|
931
|
+
message: string;
|
|
932
|
+
};
|
|
933
|
+
type GetDataIntegrationAuthorizeUrl400 = {
|
|
934
|
+
message: string;
|
|
935
|
+
};
|
|
936
|
+
type GetDataIntegrationAuthorizeUrl403 = {
|
|
937
|
+
message: string;
|
|
938
|
+
};
|
|
939
|
+
type GetDataIntegrationAuthorizeUrl404 = {
|
|
940
|
+
message: string;
|
|
941
|
+
};
|
|
942
|
+
type GetDataInstallationAuthorizationStatus400 = {
|
|
943
|
+
message: string;
|
|
944
|
+
};
|
|
945
|
+
type GetDataInstallationAuthorizationStatus403 = {
|
|
946
|
+
message: string;
|
|
947
|
+
};
|
|
948
|
+
type GetDataInstallationAuthorizationStatus404 = {
|
|
949
|
+
message: string;
|
|
950
|
+
};
|
|
951
|
+
type DeleteDataInstallation200 = {
|
|
952
|
+
success: boolean;
|
|
953
|
+
};
|
|
954
|
+
type DeleteDataInstallation403 = {
|
|
955
|
+
message: string;
|
|
956
|
+
};
|
|
957
|
+
type DeleteDataInstallation404 = {
|
|
958
|
+
message: string;
|
|
959
|
+
};
|
|
960
|
+
declare const useMembersHook: () => (params?: MembersParams, signal?: AbortSignal) => Promise<Members200>;
|
|
961
|
+
declare const getMembersQueryKey: (params?: MembersParams) => readonly ["/_widgets/UserManagement/members", ...MembersParams[]];
|
|
962
|
+
declare const useMembersQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
749
963
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
|
|
750
964
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData> & {
|
|
751
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
965
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
752
966
|
};
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
967
|
+
type MembersQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>>;
|
|
968
|
+
type MembersQueryError = ErrorType<Members403 | Members404>;
|
|
969
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params: undefined | MembersParams, options: {
|
|
756
970
|
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>;
|
|
971
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
972
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
759
973
|
};
|
|
760
|
-
|
|
974
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
761
975
|
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>;
|
|
976
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
977
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
764
978
|
};
|
|
765
|
-
|
|
979
|
+
declare function useMembers<TData = Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError = ErrorType<Members403 | Members404>>(params?: MembersParams, options?: {
|
|
766
980
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMembersHook>>>, TError, TData>>;
|
|
767
|
-
}): UseQueryResult<TData, TError> & {
|
|
768
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
981
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
982
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
769
983
|
};
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
984
|
+
declare const useRolesHook: () => (signal?: AbortSignal) => Promise<MemberRole[]>;
|
|
985
|
+
declare const getRolesQueryKey: () => readonly ["/_widgets/UserManagement/roles"];
|
|
986
|
+
declare const useRolesQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
773
987
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
|
|
774
988
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData> & {
|
|
775
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
989
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
776
990
|
};
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
991
|
+
type RolesQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>>;
|
|
992
|
+
type RolesQueryError = ErrorType<Roles403 | Roles404>;
|
|
993
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options: {
|
|
780
994
|
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>;
|
|
995
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
996
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
783
997
|
};
|
|
784
|
-
|
|
998
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
785
999
|
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>;
|
|
1000
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1001
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
788
1002
|
};
|
|
789
|
-
|
|
1003
|
+
declare function useRoles<TData = Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError = ErrorType<Roles403 | Roles404>>(options?: {
|
|
790
1004
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesHook>>>, TError, TData>>;
|
|
791
|
-
}): UseQueryResult<TData, TError> & {
|
|
792
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1005
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1006
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
793
1007
|
};
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
1008
|
+
declare const useRolesAndConfigHook: () => (signal?: AbortSignal) => Promise<RolesAndConfigResponse>;
|
|
1009
|
+
declare const getRolesAndConfigQueryKey: () => readonly ["/_widgets/UserManagement/roles-and-config"];
|
|
1010
|
+
declare const useRolesAndConfigQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
797
1011
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
|
|
798
1012
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData> & {
|
|
799
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1013
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
800
1014
|
};
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
1015
|
+
type RolesAndConfigQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>>;
|
|
1016
|
+
type RolesAndConfigQueryError = ErrorType<RolesAndConfig403 | RolesAndConfig404>;
|
|
1017
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options: {
|
|
804
1018
|
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>;
|
|
1019
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1020
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
807
1021
|
};
|
|
808
|
-
|
|
1022
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
809
1023
|
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>;
|
|
1024
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1025
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
812
1026
|
};
|
|
813
|
-
|
|
1027
|
+
declare function useRolesAndConfig<TData = Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError = ErrorType<RolesAndConfig403 | RolesAndConfig404>>(options?: {
|
|
814
1028
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useRolesAndConfigHook>>>, TError, TData>>;
|
|
815
|
-
}): UseQueryResult<TData, TError> & {
|
|
816
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1029
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1030
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
817
1031
|
};
|
|
818
|
-
|
|
819
|
-
|
|
1032
|
+
declare const useInviteMemberHook: () => (inviteMemberInput: BodyType<InviteMemberInput>, signal?: AbortSignal) => Promise<InviteMember201>;
|
|
1033
|
+
declare const useInviteMemberMutationOptions: <TError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>, TContext = unknown>(options?: {
|
|
820
1034
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
821
1035
|
data: BodyType<InviteMemberInput>;
|
|
822
1036
|
}, TContext>;
|
|
823
1037
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
824
1038
|
data: BodyType<InviteMemberInput>;
|
|
825
1039
|
}, TContext>;
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
1040
|
+
type InviteMemberMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>>;
|
|
1041
|
+
type InviteMemberMutationBody = BodyType<InviteMemberInput>;
|
|
1042
|
+
type InviteMemberMutationError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>;
|
|
1043
|
+
declare const useInviteMember: <TError = ErrorType<InviteMember400 | InviteMember403 | InviteMember404>, TContext = unknown>(options?: {
|
|
830
1044
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
831
1045
|
data: BodyType<InviteMemberInput>;
|
|
832
1046
|
}, TContext>;
|
|
833
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
1047
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useInviteMemberHook>>>, TError, {
|
|
834
1048
|
data: BodyType<InviteMemberInput>;
|
|
835
1049
|
}, TContext>;
|
|
836
|
-
|
|
837
|
-
|
|
1050
|
+
declare const useResendInviteHook: () => (userId: string, signal?: AbortSignal) => Promise<ResendInvite201>;
|
|
1051
|
+
declare const useResendInviteMutationOptions: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404>, TContext = unknown>(options?: {
|
|
838
1052
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
839
1053
|
userId: string;
|
|
840
1054
|
}, TContext>;
|
|
841
1055
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
842
1056
|
userId: string;
|
|
843
1057
|
}, TContext>;
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
1058
|
+
type ResendInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>>;
|
|
1059
|
+
type ResendInviteMutationError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404>;
|
|
1060
|
+
declare const useResendInvite: <TError = ErrorType<ResendInvite400 | ResendInvite403 | ResendInvite404>, TContext = unknown>(options?: {
|
|
847
1061
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
848
1062
|
userId: string;
|
|
849
1063
|
}, TContext>;
|
|
850
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
1064
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useResendInviteHook>>>, TError, {
|
|
851
1065
|
userId: string;
|
|
852
1066
|
}, TContext>;
|
|
853
|
-
|
|
854
|
-
|
|
1067
|
+
declare const useRevokeInviteHook: () => (userId: string) => Promise<RevokeInvite200>;
|
|
1068
|
+
declare const useRevokeInviteMutationOptions: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
|
|
855
1069
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
856
1070
|
userId: string;
|
|
857
1071
|
}, TContext>;
|
|
858
1072
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
859
1073
|
userId: string;
|
|
860
1074
|
}, TContext>;
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
1075
|
+
type RevokeInviteMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>>;
|
|
1076
|
+
type RevokeInviteMutationError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>;
|
|
1077
|
+
declare const useRevokeInvite: <TError = ErrorType<RevokeInvite400 | RevokeInvite403 | RevokeInvite404>, TContext = unknown>(options?: {
|
|
864
1078
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
865
1079
|
userId: string;
|
|
866
1080
|
}, TContext>;
|
|
867
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
1081
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeInviteHook>>>, TError, {
|
|
868
1082
|
userId: string;
|
|
869
1083
|
}, TContext>;
|
|
870
|
-
|
|
871
|
-
|
|
1084
|
+
declare const useRemoveMemberHook: () => (userId: string) => Promise<RemoveMember200>;
|
|
1085
|
+
declare const useRemoveMemberMutationOptions: <TError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>, TContext = unknown>(options?: {
|
|
872
1086
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
873
1087
|
userId: string;
|
|
874
1088
|
}, TContext>;
|
|
875
1089
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
876
1090
|
userId: string;
|
|
877
1091
|
}, TContext>;
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
1092
|
+
type RemoveMemberMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>>;
|
|
1093
|
+
type RemoveMemberMutationError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>;
|
|
1094
|
+
declare const useRemoveMember: <TError = ErrorType<RemoveMember400 | RemoveMember403 | RemoveMember404>, TContext = unknown>(options?: {
|
|
881
1095
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
882
1096
|
userId: string;
|
|
883
1097
|
}, TContext>;
|
|
884
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
1098
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRemoveMemberHook>>>, TError, {
|
|
885
1099
|
userId: string;
|
|
886
1100
|
}, TContext>;
|
|
887
|
-
|
|
888
|
-
|
|
1101
|
+
declare const useUpdateMemberHook: () => (userId: string, updateMemberInput: BodyType<UpdateMemberInput>, signal?: AbortSignal) => Promise<UpdateMember200>;
|
|
1102
|
+
declare const useUpdateMemberMutationOptions: <TError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404>, TContext = unknown>(options?: {
|
|
889
1103
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
890
1104
|
userId: string;
|
|
891
1105
|
data: BodyType<UpdateMemberInput>;
|
|
@@ -894,407 +1108,580 @@ export declare const useUpdateMemberMutationOptions: <TError = UpdateMember400 |
|
|
|
894
1108
|
userId: string;
|
|
895
1109
|
data: BodyType<UpdateMemberInput>;
|
|
896
1110
|
}, TContext>;
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1111
|
+
type UpdateMemberMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>>;
|
|
1112
|
+
type UpdateMemberMutationBody = BodyType<UpdateMemberInput>;
|
|
1113
|
+
type UpdateMemberMutationError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404>;
|
|
1114
|
+
declare const useUpdateMember: <TError = ErrorType<UpdateMember400 | UpdateMember403 | UpdateMember404>, TContext = unknown>(options?: {
|
|
901
1115
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
902
1116
|
userId: string;
|
|
903
1117
|
data: BodyType<UpdateMemberInput>;
|
|
904
1118
|
}, TContext>;
|
|
905
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
1119
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMemberHook>>>, TError, {
|
|
906
1120
|
userId: string;
|
|
907
1121
|
data: BodyType<UpdateMemberInput>;
|
|
908
1122
|
}, TContext>;
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
1123
|
+
declare const useOrganizationsHook: () => (signal?: AbortSignal) => Promise<OrganizationsResponse>;
|
|
1124
|
+
declare const getOrganizationsQueryKey: () => readonly ["/_widgets/UserManagement/organizations"];
|
|
1125
|
+
declare const useOrganizationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
912
1126
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>>;
|
|
913
1127
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData> & {
|
|
914
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1128
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
915
1129
|
};
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
1130
|
+
type OrganizationsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>>;
|
|
1131
|
+
type OrganizationsQueryError = ErrorType<Organizations403 | Organizations404>;
|
|
1132
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options: {
|
|
919
1133
|
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>;
|
|
1134
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1135
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
922
1136
|
};
|
|
923
|
-
|
|
1137
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
924
1138
|
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>;
|
|
1139
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1140
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
927
1141
|
};
|
|
928
|
-
|
|
1142
|
+
declare function useOrganizations<TData = Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError = ErrorType<Organizations403 | Organizations404>>(options?: {
|
|
929
1143
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationsHook>>>, TError, TData>>;
|
|
930
|
-
}): UseQueryResult<TData, TError> & {
|
|
931
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1144
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1145
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
932
1146
|
};
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
1147
|
+
declare const useMeHook: () => (signal?: AbortSignal) => Promise<Me>;
|
|
1148
|
+
declare const getMeQueryKey: () => readonly ["/_widgets/UserProfile/me"];
|
|
1149
|
+
declare const useMeQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
|
|
936
1150
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
|
|
937
1151
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData> & {
|
|
938
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1152
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
939
1153
|
};
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
1154
|
+
type MeQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMeHook>>>>;
|
|
1155
|
+
type MeQueryError = ErrorType<Me403>;
|
|
1156
|
+
declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options: {
|
|
943
1157
|
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>;
|
|
1158
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1159
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
946
1160
|
};
|
|
947
|
-
|
|
1161
|
+
declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
|
|
948
1162
|
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>;
|
|
1163
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1164
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
951
1165
|
};
|
|
952
|
-
|
|
1166
|
+
declare function useMe<TData = Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError = ErrorType<Me403>>(options?: {
|
|
953
1167
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMeHook>>>, TError, TData>>;
|
|
954
|
-
}): UseQueryResult<TData, TError> & {
|
|
955
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1168
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1169
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
956
1170
|
};
|
|
957
|
-
|
|
958
|
-
|
|
1171
|
+
declare const useUpdateMeHook: () => (updateMeInput: BodyType<UpdateMeInput>, signal?: AbortSignal) => Promise<Me>;
|
|
1172
|
+
declare const useUpdateMeMutationOptions: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
|
|
959
1173
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
960
1174
|
data: BodyType<UpdateMeInput>;
|
|
961
1175
|
}, TContext>;
|
|
962
1176
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
963
1177
|
data: BodyType<UpdateMeInput>;
|
|
964
1178
|
}, TContext>;
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
1179
|
+
type UpdateMeMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>>;
|
|
1180
|
+
type UpdateMeMutationBody = BodyType<UpdateMeInput>;
|
|
1181
|
+
type UpdateMeMutationError = ErrorType<UpdateMe400 | UpdateMe403>;
|
|
1182
|
+
declare const useUpdateMe: <TError = ErrorType<UpdateMe400 | UpdateMe403>, TContext = unknown>(options?: {
|
|
969
1183
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
970
1184
|
data: BodyType<UpdateMeInput>;
|
|
971
1185
|
}, TContext>;
|
|
972
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
1186
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdateMeHook>>>, TError, {
|
|
973
1187
|
data: BodyType<UpdateMeInput>;
|
|
974
1188
|
}, TContext>;
|
|
975
|
-
|
|
976
|
-
|
|
1189
|
+
declare const useCreateTotpFactorHook: () => (signal?: AbortSignal) => Promise<CreateTotpFactorResponse>;
|
|
1190
|
+
declare const useCreateTotpFactorMutationOptions: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
|
|
977
1191
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
978
1192
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
1193
|
+
type CreateTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>>;
|
|
1194
|
+
type CreateTotpFactorMutationError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>;
|
|
1195
|
+
declare const useCreateTotpFactor: <TError = ErrorType<CreateTotpFactor400 | CreateTotpFactor403>, TContext = unknown>(options?: {
|
|
982
1196
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
983
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
984
|
-
|
|
985
|
-
|
|
1197
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateTotpFactorHook>>>, TError, void, TContext>;
|
|
1198
|
+
declare const useVerifyTotpFactorHook: () => (verifyTotpFactorRequest: BodyType<VerifyTotpFactorRequest>, signal?: AbortSignal) => Promise<VerifyTotpFactor200>;
|
|
1199
|
+
declare const useVerifyTotpFactorMutationOptions: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
|
|
986
1200
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
987
1201
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
988
1202
|
}, TContext>;
|
|
989
1203
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
990
1204
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
991
1205
|
}, TContext>;
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1206
|
+
type VerifyTotpFactorMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>>;
|
|
1207
|
+
type VerifyTotpFactorMutationBody = BodyType<VerifyTotpFactorRequest>;
|
|
1208
|
+
type VerifyTotpFactorMutationError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>;
|
|
1209
|
+
declare const useVerifyTotpFactor: <TError = ErrorType<VerifyTotpFactor400 | VerifyTotpFactor403>, TContext = unknown>(options?: {
|
|
996
1210
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
997
1211
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
998
1212
|
}, TContext>;
|
|
999
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
1213
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyTotpFactorHook>>>, TError, {
|
|
1000
1214
|
data: BodyType<VerifyTotpFactorRequest>;
|
|
1001
1215
|
}, TContext>;
|
|
1002
|
-
|
|
1003
|
-
|
|
1216
|
+
declare const useDeleteTotpFactorsHook: () => () => Promise<DeleteTotpFactors200>;
|
|
1217
|
+
declare const useDeleteTotpFactorsMutationOptions: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
|
|
1004
1218
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1005
1219
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1220
|
+
type DeleteTotpFactorsMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>>;
|
|
1221
|
+
type DeleteTotpFactorsMutationError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>;
|
|
1222
|
+
declare const useDeleteTotpFactors: <TError = ErrorType<DeleteTotpFactors400 | DeleteTotpFactors403>, TContext = unknown>(options?: {
|
|
1009
1223
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1010
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1224
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteTotpFactorsHook>>>, TError, void, TContext>;
|
|
1225
|
+
declare const useAuthenticationInformationHook: () => (signal?: AbortSignal) => Promise<AuthenticationInformationResponse>;
|
|
1226
|
+
declare const getAuthenticationInformationQueryKey: () => readonly ["/_widgets/UserProfile/authentication-information"];
|
|
1227
|
+
declare const useAuthenticationInformationQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
1014
1228
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>>;
|
|
1015
1229
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData> & {
|
|
1016
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1230
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1017
1231
|
};
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1232
|
+
type AuthenticationInformationQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>>;
|
|
1233
|
+
type AuthenticationInformationQueryError = ErrorType<AuthenticationInformation403>;
|
|
1234
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options: {
|
|
1021
1235
|
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>;
|
|
1236
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1237
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1024
1238
|
};
|
|
1025
|
-
|
|
1239
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
1026
1240
|
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>;
|
|
1241
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1242
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1029
1243
|
};
|
|
1030
|
-
|
|
1244
|
+
declare function useAuthenticationInformation<TData = Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError = ErrorType<AuthenticationInformation403>>(options?: {
|
|
1031
1245
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useAuthenticationInformationHook>>>, TError, TData>>;
|
|
1032
|
-
}): UseQueryResult<TData, TError> & {
|
|
1033
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1246
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1247
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1034
1248
|
};
|
|
1035
|
-
|
|
1036
|
-
|
|
1249
|
+
declare const useCreatePasswordHook: () => (createPasswordRequest: BodyType<CreatePasswordRequest>, signal?: AbortSignal) => Promise<CreatePassword201>;
|
|
1250
|
+
declare const useCreatePasswordMutationOptions: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
1037
1251
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1038
1252
|
data: BodyType<CreatePasswordRequest>;
|
|
1039
1253
|
}, TContext>;
|
|
1040
1254
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1041
1255
|
data: BodyType<CreatePasswordRequest>;
|
|
1042
1256
|
}, TContext>;
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1257
|
+
type CreatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>>;
|
|
1258
|
+
type CreatePasswordMutationBody = BodyType<CreatePasswordRequest>;
|
|
1259
|
+
type CreatePasswordMutationError = ErrorType<CreatePassword400 | CreatePassword403>;
|
|
1260
|
+
declare const useCreatePassword: <TError = ErrorType<CreatePassword400 | CreatePassword403>, TContext = unknown>(options?: {
|
|
1047
1261
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1048
1262
|
data: BodyType<CreatePasswordRequest>;
|
|
1049
1263
|
}, TContext>;
|
|
1050
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1264
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreatePasswordHook>>>, TError, {
|
|
1051
1265
|
data: BodyType<CreatePasswordRequest>;
|
|
1052
1266
|
}, TContext>;
|
|
1053
|
-
|
|
1054
|
-
|
|
1267
|
+
declare const useUpdatePasswordHook: () => (updatePasswordRequest: BodyType<UpdatePasswordRequest>, signal?: AbortSignal) => Promise<UpdatePassword201>;
|
|
1268
|
+
declare const useUpdatePasswordMutationOptions: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
|
|
1055
1269
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1056
1270
|
data: BodyType<UpdatePasswordRequest>;
|
|
1057
1271
|
}, TContext>;
|
|
1058
1272
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1059
1273
|
data: BodyType<UpdatePasswordRequest>;
|
|
1060
1274
|
}, TContext>;
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1275
|
+
type UpdatePasswordMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>>;
|
|
1276
|
+
type UpdatePasswordMutationBody = BodyType<UpdatePasswordRequest>;
|
|
1277
|
+
type UpdatePasswordMutationError = ErrorType<UpdatePassword400 | UpdatePassword403>;
|
|
1278
|
+
declare const useUpdatePassword: <TError = ErrorType<UpdatePassword400 | UpdatePassword403>, TContext = unknown>(options?: {
|
|
1065
1279
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1066
1280
|
data: BodyType<UpdatePasswordRequest>;
|
|
1067
1281
|
}, TContext>;
|
|
1068
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1282
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpdatePasswordHook>>>, TError, {
|
|
1069
1283
|
data: BodyType<UpdatePasswordRequest>;
|
|
1070
1284
|
}, TContext>;
|
|
1071
|
-
|
|
1072
|
-
|
|
1285
|
+
declare const useRevokeAllSessionsHook: () => (revokeAllSessionsRequest: BodyType<RevokeAllSessionsRequest>) => Promise<RevokeAllSessions200>;
|
|
1286
|
+
declare const useRevokeAllSessionsMutationOptions: <TError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>, TContext = unknown>(options?: {
|
|
1073
1287
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1074
1288
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1075
1289
|
}, TContext>;
|
|
1076
1290
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1077
1291
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1078
1292
|
}, TContext>;
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1293
|
+
type RevokeAllSessionsMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>>;
|
|
1294
|
+
type RevokeAllSessionsMutationBody = BodyType<RevokeAllSessionsRequest>;
|
|
1295
|
+
type RevokeAllSessionsMutationError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>;
|
|
1296
|
+
declare const useRevokeAllSessions: <TError = ErrorType<RevokeAllSessions400 | RevokeAllSessions403>, TContext = unknown>(options?: {
|
|
1083
1297
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1084
1298
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1085
1299
|
}, TContext>;
|
|
1086
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1300
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeAllSessionsHook>>>, TError, {
|
|
1087
1301
|
data: BodyType<RevokeAllSessionsRequest>;
|
|
1088
1302
|
}, TContext>;
|
|
1089
|
-
|
|
1090
|
-
|
|
1303
|
+
declare const useRevokeSessionHook: () => (sessionId: string) => Promise<RevokeSession200>;
|
|
1304
|
+
declare const useRevokeSessionMutationOptions: <TError = ErrorType<RevokeSession400 | RevokeSession403>, TContext = unknown>(options?: {
|
|
1091
1305
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1092
1306
|
sessionId: string;
|
|
1093
1307
|
}, TContext>;
|
|
1094
1308
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1095
1309
|
sessionId: string;
|
|
1096
1310
|
}, TContext>;
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1311
|
+
type RevokeSessionMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>>;
|
|
1312
|
+
type RevokeSessionMutationError = ErrorType<RevokeSession400 | RevokeSession403>;
|
|
1313
|
+
declare const useRevokeSession: <TError = ErrorType<RevokeSession400 | RevokeSession403>, TContext = unknown>(options?: {
|
|
1100
1314
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1101
1315
|
sessionId: string;
|
|
1102
1316
|
}, TContext>;
|
|
1103
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1317
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRevokeSessionHook>>>, TError, {
|
|
1104
1318
|
sessionId: string;
|
|
1105
1319
|
}, TContext>;
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1320
|
+
declare const useSessionsHook: () => (signal?: AbortSignal) => Promise<ActiveSessionsResponse>;
|
|
1321
|
+
declare const getSessionsQueryKey: () => readonly ["/_widgets/UserProfile/sessions"];
|
|
1322
|
+
declare const useSessionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1109
1323
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
|
|
1110
1324
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData> & {
|
|
1111
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1325
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1112
1326
|
};
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1327
|
+
type SessionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>>;
|
|
1328
|
+
type SessionsQueryError = ErrorType<Sessions403>;
|
|
1329
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options: {
|
|
1116
1330
|
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>;
|
|
1331
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1332
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1119
1333
|
};
|
|
1120
|
-
|
|
1334
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1121
1335
|
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>;
|
|
1336
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1337
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1124
1338
|
};
|
|
1125
|
-
|
|
1339
|
+
declare function useSessions<TData = Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError = ErrorType<Sessions403>>(options?: {
|
|
1126
1340
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSessionsHook>>>, TError, TData>>;
|
|
1127
|
-
}): UseQueryResult<TData, TError> & {
|
|
1128
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1341
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1342
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1129
1343
|
};
|
|
1130
|
-
|
|
1131
|
-
|
|
1344
|
+
declare const useSendVerificationHook: () => (signal?: AbortSignal) => Promise<SendVerificationResponse>;
|
|
1345
|
+
declare const useSendVerificationMutationOptions: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
|
|
1132
1346
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1133
1347
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1348
|
+
type SendVerificationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>>;
|
|
1349
|
+
type SendVerificationMutationError = ErrorType<SendVerification400 | SendVerification403>;
|
|
1350
|
+
declare const useSendVerification: <TError = ErrorType<SendVerification400 | SendVerification403>, TContext = unknown>(options?: {
|
|
1137
1351
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1138
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1139
|
-
|
|
1140
|
-
|
|
1352
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useSendVerificationHook>>>, TError, void, TContext>;
|
|
1353
|
+
declare const useVerifyHook: () => (verifyRequest: BodyType<VerifyRequest>, signal?: AbortSignal) => Promise<VerifyResponse>;
|
|
1354
|
+
declare const useVerifyMutationOptions: <TError = ErrorType<Verify400 | Verify403>, TContext = unknown>(options?: {
|
|
1141
1355
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1142
1356
|
data: BodyType<VerifyRequest>;
|
|
1143
1357
|
}, TContext>;
|
|
1144
1358
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1145
1359
|
data: BodyType<VerifyRequest>;
|
|
1146
1360
|
}, TContext>;
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1361
|
+
type VerifyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>>;
|
|
1362
|
+
type VerifyMutationBody = BodyType<VerifyRequest>;
|
|
1363
|
+
type VerifyMutationError = ErrorType<Verify400 | Verify403>;
|
|
1364
|
+
declare const useVerify: <TError = ErrorType<Verify400 | Verify403>, TContext = unknown>(options?: {
|
|
1151
1365
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1152
1366
|
data: BodyType<VerifyRequest>;
|
|
1153
1367
|
}, TContext>;
|
|
1154
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1368
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyHook>>>, TError, {
|
|
1155
1369
|
data: BodyType<VerifyRequest>;
|
|
1156
1370
|
}, TContext>;
|
|
1157
|
-
|
|
1158
|
-
|
|
1371
|
+
declare const useRegisterPasskeyHook: () => (signal?: AbortSignal) => Promise<RegisterPasskeyResponse>;
|
|
1372
|
+
declare const useRegisterPasskeyMutationOptions: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
|
|
1159
1373
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1160
1374
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1375
|
+
type RegisterPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>>;
|
|
1376
|
+
type RegisterPasskeyMutationError = ErrorType<RegisterPasskey400 | RegisterPasskey403>;
|
|
1377
|
+
declare const useRegisterPasskey: <TError = ErrorType<RegisterPasskey400 | RegisterPasskey403>, TContext = unknown>(options?: {
|
|
1164
1378
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1165
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1166
|
-
|
|
1167
|
-
|
|
1379
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useRegisterPasskeyHook>>>, TError, void, TContext>;
|
|
1380
|
+
declare const useVerifyPasskeyHook: () => (verifyPasskeyRequest: BodyType<VerifyPasskeyRequest>, signal?: AbortSignal) => Promise<VerifyPasskey200>;
|
|
1381
|
+
declare const useVerifyPasskeyMutationOptions: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
|
|
1168
1382
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1169
1383
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1170
1384
|
}, TContext>;
|
|
1171
1385
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1172
1386
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1173
1387
|
}, TContext>;
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1388
|
+
type VerifyPasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>>;
|
|
1389
|
+
type VerifyPasskeyMutationBody = BodyType<VerifyPasskeyRequest>;
|
|
1390
|
+
type VerifyPasskeyMutationError = ErrorType<VerifyPasskey400 | VerifyPasskey403>;
|
|
1391
|
+
declare const useVerifyPasskey: <TError = ErrorType<VerifyPasskey400 | VerifyPasskey403>, TContext = unknown>(options?: {
|
|
1178
1392
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1179
1393
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1180
1394
|
}, TContext>;
|
|
1181
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1395
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useVerifyPasskeyHook>>>, TError, {
|
|
1182
1396
|
data: BodyType<VerifyPasskeyRequest>;
|
|
1183
1397
|
}, TContext>;
|
|
1184
|
-
|
|
1185
|
-
|
|
1398
|
+
declare const useDeletePasskeyHook: () => (passkeyId: string) => Promise<DeletePasskey200>;
|
|
1399
|
+
declare const useDeletePasskeyMutationOptions: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
|
|
1186
1400
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1187
1401
|
passkeyId: string;
|
|
1188
1402
|
}, TContext>;
|
|
1189
1403
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1190
1404
|
passkeyId: string;
|
|
1191
1405
|
}, TContext>;
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1406
|
+
type DeletePasskeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>>;
|
|
1407
|
+
type DeletePasskeyMutationError = ErrorType<DeletePasskey400 | DeletePasskey403>;
|
|
1408
|
+
declare const useDeletePasskey: <TError = ErrorType<DeletePasskey400 | DeletePasskey403>, TContext = unknown>(options?: {
|
|
1195
1409
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1196
1410
|
passkeyId: string;
|
|
1197
1411
|
}, TContext>;
|
|
1198
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1412
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeletePasskeyHook>>>, TError, {
|
|
1199
1413
|
passkeyId: string;
|
|
1200
1414
|
}, TContext>;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1415
|
+
declare const useListOrganizationDomainsHook: () => (signal?: AbortSignal) => Promise<ListOrganizationDomains200>;
|
|
1416
|
+
declare const getListOrganizationDomainsQueryKey: () => readonly ["/_widgets/admin-portal/organization-domains"];
|
|
1417
|
+
declare const useListOrganizationDomainsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
1204
1418
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData>>;
|
|
1205
1419
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData> & {
|
|
1206
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1420
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1207
1421
|
};
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1422
|
+
type ListOrganizationDomainsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>>;
|
|
1423
|
+
type ListOrganizationDomainsQueryError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>;
|
|
1424
|
+
declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options: {
|
|
1211
1425
|
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>;
|
|
1426
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1427
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1214
1428
|
};
|
|
1215
|
-
|
|
1429
|
+
declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
1216
1430
|
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>;
|
|
1431
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1432
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1219
1433
|
};
|
|
1220
|
-
|
|
1434
|
+
declare function useListOrganizationDomains<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError = ErrorType<ListOrganizationDomains403 | ListOrganizationDomains404>>(options?: {
|
|
1221
1435
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationDomainsHook>>>, TError, TData>>;
|
|
1222
|
-
}): UseQueryResult<TData, TError> & {
|
|
1223
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1436
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1437
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1224
1438
|
};
|
|
1225
|
-
|
|
1226
|
-
|
|
1439
|
+
declare const useGenerateAdminPortalLinkHook: () => (params: GenerateAdminPortalLinkParams, signal?: AbortSignal) => Promise<GenerateAdminPortalLink201>;
|
|
1440
|
+
declare const useGenerateAdminPortalLinkMutationOptions: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
|
|
1227
1441
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1228
1442
|
params: GenerateAdminPortalLinkParams;
|
|
1229
1443
|
}, TContext>;
|
|
1230
1444
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1231
1445
|
params: GenerateAdminPortalLinkParams;
|
|
1232
1446
|
}, TContext>;
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1447
|
+
type GenerateAdminPortalLinkMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>>;
|
|
1448
|
+
type GenerateAdminPortalLinkMutationError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>;
|
|
1449
|
+
declare const useGenerateAdminPortalLink: <TError = ErrorType<GenerateAdminPortalLink403 | GenerateAdminPortalLink404 | GenerateAdminPortalLink500>, TContext = unknown>(options?: {
|
|
1236
1450
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1237
1451
|
params: GenerateAdminPortalLinkParams;
|
|
1238
1452
|
}, TContext>;
|
|
1239
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1453
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useGenerateAdminPortalLinkHook>>>, TError, {
|
|
1240
1454
|
params: GenerateAdminPortalLinkParams;
|
|
1241
1455
|
}, TContext>;
|
|
1242
|
-
|
|
1243
|
-
|
|
1456
|
+
declare const useDeleteOrganizationDomainHook: () => (domainId: string) => Promise<OrganizationDomain>;
|
|
1457
|
+
declare const useDeleteOrganizationDomainMutationOptions: <TError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1244
1458
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1245
1459
|
domainId: string;
|
|
1246
1460
|
}, TContext>;
|
|
1247
1461
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1248
1462
|
domainId: string;
|
|
1249
1463
|
}, TContext>;
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1464
|
+
type DeleteOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>>;
|
|
1465
|
+
type DeleteOrganizationDomainMutationError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>;
|
|
1466
|
+
declare const useDeleteOrganizationDomain: <TError = ErrorType<DeleteOrganizationDomain403 | DeleteOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1253
1467
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1254
1468
|
domainId: string;
|
|
1255
1469
|
}, TContext>;
|
|
1256
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1470
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDomainHook>>>, TError, {
|
|
1257
1471
|
domainId: string;
|
|
1258
1472
|
}, TContext>;
|
|
1259
|
-
|
|
1260
|
-
|
|
1473
|
+
declare const useReverifyOrganizationDomainHook: () => (domainId: string, signal?: AbortSignal) => Promise<OrganizationDomain>;
|
|
1474
|
+
declare const useReverifyOrganizationDomainMutationOptions: <TError = ErrorType<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1261
1475
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1262
1476
|
domainId: string;
|
|
1263
1477
|
}, TContext>;
|
|
1264
1478
|
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1265
1479
|
domainId: string;
|
|
1266
1480
|
}, TContext>;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1481
|
+
type ReverifyOrganizationDomainMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>>;
|
|
1482
|
+
type ReverifyOrganizationDomainMutationError = ErrorType<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>;
|
|
1483
|
+
declare const useReverifyOrganizationDomain: <TError = ErrorType<ReverifyOrganizationDomain403 | ReverifyOrganizationDomain404>, TContext = unknown>(options?: {
|
|
1270
1484
|
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1271
1485
|
domainId: string;
|
|
1272
1486
|
}, TContext>;
|
|
1273
|
-
}) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1487
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useReverifyOrganizationDomainHook>>>, TError, {
|
|
1274
1488
|
domainId: string;
|
|
1275
1489
|
}, TContext>;
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1490
|
+
declare const useListSsoConnectionsHook: () => (signal?: AbortSignal) => Promise<SsoConnection[]>;
|
|
1491
|
+
declare const getListSsoConnectionsQueryKey: () => readonly ["/_widgets/admin-portal/sso-connections"];
|
|
1492
|
+
declare const useListSsoConnectionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options?: {
|
|
1279
1493
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData>>;
|
|
1280
1494
|
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData> & {
|
|
1281
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1495
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1282
1496
|
};
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1497
|
+
type ListSsoConnectionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>>;
|
|
1498
|
+
type ListSsoConnectionsQueryError = ErrorType<unknown>;
|
|
1499
|
+
declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options: {
|
|
1286
1500
|
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>;
|
|
1501
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1502
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1289
1503
|
};
|
|
1290
|
-
|
|
1504
|
+
declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options?: {
|
|
1291
1505
|
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>;
|
|
1506
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1507
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1294
1508
|
};
|
|
1295
|
-
|
|
1509
|
+
declare function useListSsoConnections<TData = Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError = ErrorType<unknown>>(options?: {
|
|
1296
1510
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListSsoConnectionsHook>>>, TError, TData>>;
|
|
1297
|
-
}): UseQueryResult<TData, TError> & {
|
|
1298
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1511
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1512
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1299
1513
|
};
|
|
1300
|
-
|
|
1514
|
+
declare const useCreateOrganizationApiKeyHook: () => (createOrganizationApiKeyRequest: BodyType<CreateOrganizationApiKeyRequest>, signal?: AbortSignal) => Promise<CreateOrganizationApiKeyResponse>;
|
|
1515
|
+
declare const useCreateOrganizationApiKeyMutationOptions: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404>, TContext = unknown>(options?: {
|
|
1516
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1517
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1518
|
+
}, TContext>;
|
|
1519
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1520
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1521
|
+
}, TContext>;
|
|
1522
|
+
type CreateOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>>;
|
|
1523
|
+
type CreateOrganizationApiKeyMutationBody = BodyType<CreateOrganizationApiKeyRequest>;
|
|
1524
|
+
type CreateOrganizationApiKeyMutationError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404>;
|
|
1525
|
+
declare const useCreateOrganizationApiKey: <TError = ErrorType<CreateOrganizationApiKey400 | CreateOrganizationApiKey403 | CreateOrganizationApiKey404>, TContext = unknown>(options?: {
|
|
1526
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1527
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1528
|
+
}, TContext>;
|
|
1529
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useCreateOrganizationApiKeyHook>>>, TError, {
|
|
1530
|
+
data: BodyType<CreateOrganizationApiKeyRequest>;
|
|
1531
|
+
}, TContext>;
|
|
1532
|
+
declare const useListOrganizationApiKeysHook: () => (params?: ListOrganizationApiKeysParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeysResponse>;
|
|
1533
|
+
declare const getListOrganizationApiKeysQueryKey: (params?: ListOrganizationApiKeysParams) => readonly ["/_widgets/ApiKeys/organization-api-keys", ...ListOrganizationApiKeysParams[]];
|
|
1534
|
+
declare const useListOrganizationApiKeysQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
1535
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
|
|
1536
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData> & {
|
|
1537
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1538
|
+
};
|
|
1539
|
+
type ListOrganizationApiKeysQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>;
|
|
1540
|
+
type ListOrganizationApiKeysQueryError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>;
|
|
1541
|
+
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params: undefined | ListOrganizationApiKeysParams, options: {
|
|
1542
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
|
|
1543
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1544
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1545
|
+
};
|
|
1546
|
+
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
1547
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>>, "initialData">;
|
|
1548
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1549
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1550
|
+
};
|
|
1551
|
+
declare function useListOrganizationApiKeys<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError = ErrorType<ListOrganizationApiKeys400 | ListOrganizationApiKeys403>>(params?: ListOrganizationApiKeysParams, options?: {
|
|
1552
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeysHook>>>, TError, TData>>;
|
|
1553
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1554
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1555
|
+
};
|
|
1556
|
+
declare const useListOrganizationApiKeyPermissionsHook: () => (params?: ListOrganizationApiKeyPermissionsParams, signal?: AbortSignal) => Promise<ListOrganizationApiKeyPermissionsResponse>;
|
|
1557
|
+
declare const getListOrganizationApiKeyPermissionsQueryKey: (params?: ListOrganizationApiKeyPermissionsParams) => readonly ["/_widgets/ApiKeys/permissions", ...ListOrganizationApiKeyPermissionsParams[]];
|
|
1558
|
+
declare const useListOrganizationApiKeyPermissionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
|
|
1559
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
|
|
1560
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData> & {
|
|
1561
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1562
|
+
};
|
|
1563
|
+
type ListOrganizationApiKeyPermissionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>;
|
|
1564
|
+
type ListOrganizationApiKeyPermissionsQueryError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>;
|
|
1565
|
+
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params: undefined | ListOrganizationApiKeyPermissionsParams, options: {
|
|
1566
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
|
|
1567
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1568
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1569
|
+
};
|
|
1570
|
+
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
|
|
1571
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>>, "initialData">;
|
|
1572
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1573
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1574
|
+
};
|
|
1575
|
+
declare function useListOrganizationApiKeyPermissions<TData = Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError = ErrorType<ListOrganizationApiKeyPermissions400 | ListOrganizationApiKeyPermissions403>>(params?: ListOrganizationApiKeyPermissionsParams, options?: {
|
|
1576
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useListOrganizationApiKeyPermissionsHook>>>, TError, TData>>;
|
|
1577
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1578
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1579
|
+
};
|
|
1580
|
+
declare const useDeleteOrganizationApiKeyHook: () => (apiKeyId: string) => Promise<DeleteOrganizationApiKey200>;
|
|
1581
|
+
declare const useDeleteOrganizationApiKeyMutationOptions: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
|
|
1582
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1583
|
+
apiKeyId: string;
|
|
1584
|
+
}, TContext>;
|
|
1585
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1586
|
+
apiKeyId: string;
|
|
1587
|
+
}, TContext>;
|
|
1588
|
+
type DeleteOrganizationApiKeyMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>>;
|
|
1589
|
+
type DeleteOrganizationApiKeyMutationError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>;
|
|
1590
|
+
declare const useDeleteOrganizationApiKey: <TError = ErrorType<DeleteOrganizationApiKey403 | DeleteOrganizationApiKey404>, TContext = unknown>(options?: {
|
|
1591
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1592
|
+
apiKeyId: string;
|
|
1593
|
+
}, TContext>;
|
|
1594
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationApiKeyHook>>>, TError, {
|
|
1595
|
+
apiKeyId: string;
|
|
1596
|
+
}, TContext>;
|
|
1597
|
+
declare const useMyDataIntegrationsHook: () => (signal?: AbortSignal) => Promise<DataIntegrationsResponse>;
|
|
1598
|
+
declare const getMyDataIntegrationsQueryKey: () => readonly ["/_widgets/DataIntegrations/mine"];
|
|
1599
|
+
declare const useMyDataIntegrationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
|
|
1600
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
|
|
1601
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData> & {
|
|
1602
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1603
|
+
};
|
|
1604
|
+
type MyDataIntegrationsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>;
|
|
1605
|
+
type MyDataIntegrationsQueryError = ErrorType<MyDataIntegrations403>;
|
|
1606
|
+
declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options: {
|
|
1607
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
|
|
1608
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1609
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1610
|
+
};
|
|
1611
|
+
declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
|
|
1612
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>>, "initialData">;
|
|
1613
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1614
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1615
|
+
};
|
|
1616
|
+
declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError = ErrorType<MyDataIntegrations403>>(options?: {
|
|
1617
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useMyDataIntegrationsHook>>>, TError, TData>>;
|
|
1618
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1619
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1620
|
+
};
|
|
1621
|
+
declare const useGetDataIntegrationAuthorizeUrlHook: () => (slug: string, signal?: AbortSignal) => Promise<GetDataIntegrationAuthorizeUrlResponse>;
|
|
1622
|
+
declare const getGetDataIntegrationAuthorizeUrlQueryKey: (slug?: string) => readonly [`/_widgets/DataIntegrations/${string}/authorize`];
|
|
1623
|
+
declare const useGetDataIntegrationAuthorizeUrlQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, options?: {
|
|
1624
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
|
|
1625
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData> & {
|
|
1626
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1627
|
+
};
|
|
1628
|
+
type GetDataIntegrationAuthorizeUrlQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>;
|
|
1629
|
+
type GetDataIntegrationAuthorizeUrlQueryError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>;
|
|
1630
|
+
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, options: {
|
|
1631
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
|
|
1632
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1633
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1634
|
+
};
|
|
1635
|
+
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, options?: {
|
|
1636
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>>, "initialData">;
|
|
1637
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1638
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1639
|
+
};
|
|
1640
|
+
declare function useGetDataIntegrationAuthorizeUrl<TData = Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError = ErrorType<GetDataIntegrationAuthorizeUrl400 | GetDataIntegrationAuthorizeUrl403 | GetDataIntegrationAuthorizeUrl404>>(slug: string, options?: {
|
|
1641
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataIntegrationAuthorizeUrlHook>>>, TError, TData>>;
|
|
1642
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1643
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1644
|
+
};
|
|
1645
|
+
declare const useGetDataInstallationAuthorizationStatusHook: () => (dataIntegrationId: string, state: string, signal?: AbortSignal) => Promise<GetAuthorizationStatusResponse>;
|
|
1646
|
+
declare const getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId?: string, state?: string) => readonly [`/_widgets/DataIntegrations/undefined/authorization-status/${string}` | `/_widgets/DataIntegrations/${string}/authorization-status/undefined` | `/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
|
|
1647
|
+
declare const useGetDataInstallationAuthorizationStatusQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
|
|
1648
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
|
|
1649
|
+
}) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData> & {
|
|
1650
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1651
|
+
};
|
|
1652
|
+
type GetDataInstallationAuthorizationStatusQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>;
|
|
1653
|
+
type GetDataInstallationAuthorizationStatusQueryError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>;
|
|
1654
|
+
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options: {
|
|
1655
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
|
|
1656
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1657
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1658
|
+
};
|
|
1659
|
+
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
|
|
1660
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>>, "initialData">;
|
|
1661
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1662
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1663
|
+
};
|
|
1664
|
+
declare function useGetDataInstallationAuthorizationStatus<TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
|
|
1665
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError, TData>>;
|
|
1666
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1667
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1668
|
+
};
|
|
1669
|
+
declare const useDeleteDataInstallationHook: () => (installationId: string) => Promise<DeleteDataInstallation200>;
|
|
1670
|
+
declare const useDeleteDataInstallationMutationOptions: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
|
|
1671
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1672
|
+
installationId: string;
|
|
1673
|
+
}, TContext>;
|
|
1674
|
+
}) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1675
|
+
installationId: string;
|
|
1676
|
+
}, TContext>;
|
|
1677
|
+
type DeleteDataInstallationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>>;
|
|
1678
|
+
type DeleteDataInstallationMutationError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>;
|
|
1679
|
+
declare const useDeleteDataInstallation: <TError = ErrorType<DeleteDataInstallation403 | DeleteDataInstallation404>, TContext = unknown>(options?: {
|
|
1680
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1681
|
+
installationId: string;
|
|
1682
|
+
}, TContext>;
|
|
1683
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteDataInstallationHook>>>, TError, {
|
|
1684
|
+
installationId: string;
|
|
1685
|
+
}, TContext>;
|
|
1686
|
+
|
|
1687
|
+
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 CreateOrganizationApiKey400, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKeyMutationBody, type CreateOrganizationApiKeyMutationError, type CreateOrganizationApiKeyMutationResult, type CreateOrganizationApiKeyRequest, type CreateOrganizationApiKeyResponse, 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 DataInstallation, DataInstallationObject, DataInstallationState, type DataIntegration, type DataIntegrationInstallation, DataIntegrationIntegrationType, DataIntegrationObject, DataIntegrationOwnership, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationError, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationError, type DeleteOrganizationApiKeyMutationResult, 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 GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type InviteMember201, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys403, type ListOrganizationApiKeysParams, type ListOrganizationApiKeysQueryError, type ListOrganizationApiKeysQueryResult, type ListOrganizationApiKeysResponse, type ListOrganizationApiKeysResponseData, type ListOrganizationApiKeysResponseListMetadata, 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 MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, 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, SamlSessionState, 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, 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, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, 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 };
|