@workos-inc/widgets 1.17.2-next.1788288181219 → 1.17.2

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/cjs/api/client-graphql/generated.cjs.map +1 -1
  3. package/dist/cjs/api/client-graphql/generated.d.cts +97 -1
  4. package/dist/cjs/api/endpoint.cjs +113 -0
  5. package/dist/cjs/api/endpoint.cjs.map +1 -1
  6. package/dist/cjs/api/endpoint.d.cts +161 -11
  7. package/dist/cjs/experimental/api/fetch.cjs +68 -0
  8. package/dist/cjs/experimental/api/fetch.cjs.map +1 -1
  9. package/dist/cjs/experimental/api/fetch.d.cts +169 -11
  10. package/dist/cjs/experimental/api/react-query.cjs +132 -0
  11. package/dist/cjs/experimental/api/react-query.cjs.map +1 -1
  12. package/dist/cjs/experimental/api/react-query.d.cts +237 -11
  13. package/dist/cjs/experimental/api/swr.cjs +144 -0
  14. package/dist/cjs/experimental/api/swr.cjs.map +1 -1
  15. package/dist/cjs/experimental/api/swr.d.cts +221 -11
  16. package/dist/cjs/lib/change-email-dialog.cjs +3 -3
  17. package/dist/cjs/lib/change-email-dialog.cjs.map +1 -1
  18. package/dist/cjs/lib/save-button.cjs +6 -2
  19. package/dist/cjs/lib/save-button.cjs.map +1 -1
  20. package/dist/esm/api/client-graphql/generated.d.ts +97 -1
  21. package/dist/esm/api/client-graphql/generated.js.map +1 -1
  22. package/dist/esm/api/endpoint.d.ts +161 -11
  23. package/dist/esm/api/endpoint.js +103 -0
  24. package/dist/esm/api/endpoint.js.map +1 -1
  25. package/dist/esm/experimental/api/fetch.d.ts +169 -11
  26. package/dist/esm/experimental/api/fetch.js +62 -0
  27. package/dist/esm/experimental/api/fetch.js.map +1 -1
  28. package/dist/esm/experimental/api/react-query.d.ts +237 -11
  29. package/dist/esm/experimental/api/react-query.js +119 -0
  30. package/dist/esm/experimental/api/react-query.js.map +1 -1
  31. package/dist/esm/experimental/api/swr.d.ts +221 -11
  32. package/dist/esm/experimental/api/swr.js +130 -0
  33. package/dist/esm/experimental/api/swr.js.map +1 -1
  34. package/dist/esm/lib/change-email-dialog.js +3 -3
  35. package/dist/esm/lib/change-email-dialog.js.map +1 -1
  36. package/dist/esm/lib/save-button.js +6 -2
  37. package/dist/esm/lib/save-button.js.map +1 -1
  38. package/package.json +1 -1
@@ -630,6 +630,63 @@ type DataIntegration = {
630
630
  interface DataIntegrationsResponse {
631
631
  data: DataIntegration[];
632
632
  }
633
+ type SharedDataConnection = {
634
+ object: "data_integration";
635
+ id: string;
636
+ name: string;
637
+ /** @nullable */
638
+ description?: string | null;
639
+ slug: string;
640
+ ownership: "organization";
641
+ availability: "available" | "needs_admin_attention";
642
+ } & {
643
+ iconSlug?: string;
644
+ iconUrl?: string;
645
+ iconDarkUrl?: string;
646
+ };
647
+ interface SharedDataConnectionsResponse {
648
+ data: SharedDataConnection[];
649
+ }
650
+ interface DataIntegrationCredentials {
651
+ credentialsType: "shared" | "custom" | "organization";
652
+ hasCredentials: boolean;
653
+ /** @nullable */
654
+ client_id?: string | null;
655
+ /** @nullable */
656
+ redactedClientSecret?: string | null;
657
+ redirectUri: string;
658
+ }
659
+ type OrganizationDataIntegrationConfigurationConfig = {
660
+ [key: string]: unknown;
661
+ };
662
+ interface OrganizationDataIntegrationConfiguration {
663
+ hasOverride: boolean;
664
+ rootEnabled: boolean;
665
+ /** @nullable */
666
+ overrideEnabled?: boolean | null;
667
+ enabled: boolean;
668
+ disabledSource?: "developer" | "organization" | null;
669
+ scopes?: string[] | null;
670
+ defaultScopes: string[];
671
+ availableScopes: string[];
672
+ credentials: DataIntegrationCredentials;
673
+ configured: boolean;
674
+ configFields: DataIntegrationConfigField[];
675
+ config: OrganizationDataIntegrationConfigurationConfig;
676
+ }
677
+ interface OrganizationDataIntegrationCapabilities {
678
+ canConfigure: boolean;
679
+ canConnect: boolean;
680
+ canReauthorize: boolean;
681
+ canDisconnect: boolean;
682
+ }
683
+ type OrganizationDataIntegration = DataIntegration & {
684
+ configuration: OrganizationDataIntegrationConfiguration;
685
+ capabilities: OrganizationDataIntegrationCapabilities;
686
+ };
687
+ interface OrganizationDataIntegrationsResponse {
688
+ data: OrganizationDataIntegration[];
689
+ }
633
690
  type GetDataIntegrationAuthorizeUrlResponse = {
634
691
  url: string;
635
692
  redirectToken: string;
@@ -650,15 +707,6 @@ type UpsertClientCredentialsBody = {
650
707
  [key: string]: unknown;
651
708
  };
652
709
  };
653
- interface DataIntegrationCredentials {
654
- credentialsType: "shared" | "custom" | "organization";
655
- hasCredentials: boolean;
656
- /** @nullable */
657
- client_id?: string | null;
658
- /** @nullable */
659
- redactedClientSecret?: string | null;
660
- redirectUri: string;
661
- }
662
710
  type DataIntegrationConfigurationConfig = {
663
711
  [key: string]: unknown;
664
712
  };
@@ -849,6 +897,21 @@ type OrganizationDataIntegrations403 = {
849
897
  type OrganizationDataIntegrations404 = {
850
898
  message: string;
851
899
  };
900
+ type DeleteOrganizationDataInstallation200 = {
901
+ success: boolean;
902
+ };
903
+ type DeleteOrganizationDataInstallation403 = {
904
+ message: string;
905
+ };
906
+ type DeleteOrganizationDataInstallation404 = {
907
+ message: string;
908
+ };
909
+ type SharedDataConnections403 = {
910
+ message: string;
911
+ };
912
+ type SharedDataConnections404 = {
913
+ message: string;
914
+ };
852
915
  type GetDataInstallationAuthorizationStatus400 = {
853
916
  message: string;
854
917
  };
@@ -949,6 +1012,30 @@ type AuthorizeOrganizationDataIntegration403 = {
949
1012
  type AuthorizeOrganizationDataIntegration404 = {
950
1013
  message: string;
951
1014
  };
1015
+ type UpsertOrganizationDataIntegrationConfigurationInputConfig = {
1016
+ [key: string]: string;
1017
+ };
1018
+ type UpsertOrganizationDataIntegrationConfigurationInput = {
1019
+ enabled?: boolean;
1020
+ scopes?: string[] | null;
1021
+ /** @minLength 1 */
1022
+ client_id?: string;
1023
+ /** @minLength 1 */
1024
+ client_secret?: string;
1025
+ config?: UpsertOrganizationDataIntegrationConfigurationInputConfig;
1026
+ };
1027
+ type UpsertOrganizationDataIntegrationConfiguration400 = {
1028
+ message: string;
1029
+ };
1030
+ type UpsertOrganizationDataIntegrationConfiguration403 = {
1031
+ message: string;
1032
+ };
1033
+ type UpsertOrganizationDataIntegrationConfiguration404 = {
1034
+ message: string;
1035
+ };
1036
+ type UpsertOrganizationDataIntegrationConfiguration422 = {
1037
+ message: string;
1038
+ };
952
1039
  type CreateUserApiKey400ErrorsItem = {
953
1040
  code: string;
954
1041
  field: string;
@@ -1631,7 +1718,7 @@ declare function useMyDataIntegrations<TData = Awaited<ReturnType<ReturnType<typ
1631
1718
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1632
1719
  queryKey: DataTag<QueryKey, TData, TError>;
1633
1720
  };
1634
- declare const useOrganizationDataIntegrationsHook: () => (signal?: AbortSignal) => Promise<DataIntegrationsResponse>;
1721
+ declare const useOrganizationDataIntegrationsHook: () => (signal?: AbortSignal) => Promise<OrganizationDataIntegrationsResponse>;
1635
1722
  declare const getOrganizationDataIntegrationsQueryKey: () => readonly ["/_widgets/DataIntegrations/organization"];
1636
1723
  declare const useOrganizationDataIntegrationsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useOrganizationDataIntegrationsHook>>>, TError = ErrorType<OrganizationDataIntegrations403 | OrganizationDataIntegrations404>>(options?: {
1637
1724
  query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useOrganizationDataIntegrationsHook>>>, TError, TData>>;
@@ -1655,6 +1742,47 @@ declare function useOrganizationDataIntegrations<TData = Awaited<ReturnType<Retu
1655
1742
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1656
1743
  queryKey: DataTag<QueryKey, TData, TError>;
1657
1744
  };
1745
+ declare const useDeleteOrganizationDataInstallationHook: () => (installationId: string, signal?: AbortSignal) => Promise<DeleteOrganizationDataInstallation200>;
1746
+ declare const useDeleteOrganizationDataInstallationMutationOptions: <TError = ErrorType<DeleteOrganizationDataInstallation403 | DeleteOrganizationDataInstallation404>, TContext = unknown>(options?: {
1747
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDataInstallationHook>>>, TError, {
1748
+ installationId: string;
1749
+ }, TContext>;
1750
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDataInstallationHook>>>, TError, {
1751
+ installationId: string;
1752
+ }, TContext>;
1753
+ type DeleteOrganizationDataInstallationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDataInstallationHook>>>>;
1754
+ type DeleteOrganizationDataInstallationMutationError = ErrorType<DeleteOrganizationDataInstallation403 | DeleteOrganizationDataInstallation404>;
1755
+ declare const useDeleteOrganizationDataInstallation: <TError = ErrorType<DeleteOrganizationDataInstallation403 | DeleteOrganizationDataInstallation404>, TContext = unknown>(options?: {
1756
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDataInstallationHook>>>, TError, {
1757
+ installationId: string;
1758
+ }, TContext>;
1759
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useDeleteOrganizationDataInstallationHook>>>, TError, {
1760
+ installationId: string;
1761
+ }, TContext>;
1762
+ declare const useSharedDataConnectionsHook: () => (signal?: AbortSignal) => Promise<SharedDataConnectionsResponse>;
1763
+ declare const getSharedDataConnectionsQueryKey: () => readonly ["/_widgets/DataIntegrations/shared-connections"];
1764
+ declare const useSharedDataConnectionsQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError = ErrorType<SharedDataConnections403 | SharedDataConnections404>>(options?: {
1765
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError, TData>>;
1766
+ }) => UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError, TData> & {
1767
+ queryKey: DataTag<QueryKey, TData, TError>;
1768
+ };
1769
+ type SharedDataConnectionsQueryResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>>;
1770
+ type SharedDataConnectionsQueryError = ErrorType<SharedDataConnections403 | SharedDataConnections404>;
1771
+ declare function useSharedDataConnections<TData = Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError = ErrorType<SharedDataConnections403 | SharedDataConnections404>>(options: {
1772
+ query: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>>, "initialData">;
1773
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1774
+ queryKey: DataTag<QueryKey, TData, TError>;
1775
+ };
1776
+ declare function useSharedDataConnections<TData = Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError = ErrorType<SharedDataConnections403 | SharedDataConnections404>>(options?: {
1777
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError, Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>>, "initialData">;
1778
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1779
+ queryKey: DataTag<QueryKey, TData, TError>;
1780
+ };
1781
+ declare function useSharedDataConnections<TData = Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError = ErrorType<SharedDataConnections403 | SharedDataConnections404>>(options?: {
1782
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<ReturnType<typeof useSharedDataConnectionsHook>>>, TError, TData>>;
1783
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1784
+ queryKey: DataTag<QueryKey, TData, TError>;
1785
+ };
1658
1786
  declare const useGetDataInstallationAuthorizationStatusHook: () => (dataIntegrationId: string, state: string, signal?: AbortSignal) => Promise<GetAuthorizationStatusResponse>;
1659
1787
  declare const getGetDataInstallationAuthorizationStatusQueryKey: (dataIntegrationId: string, state: string) => readonly [`/_widgets/DataIntegrations/${string}/authorization-status/${string}`];
1660
1788
  declare const useGetDataInstallationAuthorizationStatusQueryOptions: <TData = Awaited<ReturnType<ReturnType<typeof useGetDataInstallationAuthorizationStatusHook>>>, TError = ErrorType<GetDataInstallationAuthorizationStatus400 | GetDataInstallationAuthorizationStatus403 | GetDataInstallationAuthorizationStatus404>>(dataIntegrationId: string, state: string, options?: {
@@ -1813,6 +1941,28 @@ declare const useAuthorizeOrganizationDataIntegration: <TError = ErrorType<Autho
1813
1941
  slug: string;
1814
1942
  data: BodyType<AuthorizeOrganizationDataIntegrationInput>;
1815
1943
  }, TContext>;
1944
+ declare const useUpsertOrganizationDataIntegrationConfigurationHook: () => (slug: string, upsertOrganizationDataIntegrationConfigurationInput: BodyType<UpsertOrganizationDataIntegrationConfigurationInput>, signal?: AbortSignal) => Promise<OrganizationDataIntegration>;
1945
+ declare const useUpsertOrganizationDataIntegrationConfigurationMutationOptions: <TError = ErrorType<UpsertOrganizationDataIntegrationConfiguration400 | UpsertOrganizationDataIntegrationConfiguration403 | UpsertOrganizationDataIntegrationConfiguration404 | UpsertOrganizationDataIntegrationConfiguration422>, TContext = unknown>(options?: {
1946
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpsertOrganizationDataIntegrationConfigurationHook>>>, TError, {
1947
+ slug: string;
1948
+ data: BodyType<UpsertOrganizationDataIntegrationConfigurationInput>;
1949
+ }, TContext>;
1950
+ }) => UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpsertOrganizationDataIntegrationConfigurationHook>>>, TError, {
1951
+ slug: string;
1952
+ data: BodyType<UpsertOrganizationDataIntegrationConfigurationInput>;
1953
+ }, TContext>;
1954
+ type UpsertOrganizationDataIntegrationConfigurationMutationResult = NonNullable<Awaited<ReturnType<ReturnType<typeof useUpsertOrganizationDataIntegrationConfigurationHook>>>>;
1955
+ type UpsertOrganizationDataIntegrationConfigurationMutationBody = BodyType<UpsertOrganizationDataIntegrationConfigurationInput>;
1956
+ type UpsertOrganizationDataIntegrationConfigurationMutationError = ErrorType<UpsertOrganizationDataIntegrationConfiguration400 | UpsertOrganizationDataIntegrationConfiguration403 | UpsertOrganizationDataIntegrationConfiguration404 | UpsertOrganizationDataIntegrationConfiguration422>;
1957
+ declare const useUpsertOrganizationDataIntegrationConfiguration: <TError = ErrorType<UpsertOrganizationDataIntegrationConfiguration400 | UpsertOrganizationDataIntegrationConfiguration403 | UpsertOrganizationDataIntegrationConfiguration404 | UpsertOrganizationDataIntegrationConfiguration422>, TContext = unknown>(options?: {
1958
+ mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useUpsertOrganizationDataIntegrationConfigurationHook>>>, TError, {
1959
+ slug: string;
1960
+ data: BodyType<UpsertOrganizationDataIntegrationConfigurationInput>;
1961
+ }, TContext>;
1962
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<ReturnType<typeof useUpsertOrganizationDataIntegrationConfigurationHook>>>, TError, {
1963
+ slug: string;
1964
+ data: BodyType<UpsertOrganizationDataIntegrationConfigurationInput>;
1965
+ }, TContext>;
1816
1966
  declare const useCreateUserApiKeyHook: () => (createUserApiKeyRequest: BodyType<CreateUserApiKeyRequest>, signal?: AbortSignal) => Promise<CreateUserApiKeyResponse>;
1817
1967
  declare const useCreateUserApiKeyMutationOptions: <TError = ErrorType<CreateUserApiKey400 | CreateUserApiKey403 | CreateUserApiKey404 | CreateUserApiKey422>, TContext = unknown>(options?: {
1818
1968
  mutation?: UseMutationOptions<Awaited<ReturnType<ReturnType<typeof useCreateUserApiKeyHook>>>, TError, {
@@ -2689,4 +2839,4 @@ declare function useSettings<TData = Awaited<ReturnType<ReturnType<typeof useSet
2689
2839
  queryKey: DataTag<QueryKey, TData, TError>;
2690
2840
  };
2691
2841
 
2692
- export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuditLogStreamJSON, type AuditLogStreamState, type AuditLogStreamType, type AuthenticationInformation403, type AuthenticationInformationQueryError, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem, type AuthenticationInformationResponseDataVerificationMethodsPassword, type AuthorizeDataIntegration400, type AuthorizeDataIntegration403, type AuthorizeDataIntegration404, type AuthorizeDataIntegrationInput, type AuthorizeDataIntegrationInputConfig, type AuthorizeDataIntegrationMutationBody, type AuthorizeDataIntegrationMutationError, type AuthorizeDataIntegrationMutationResult, type AuthorizeOrganizationDataIntegration400, type AuthorizeOrganizationDataIntegration403, type AuthorizeOrganizationDataIntegration404, type AuthorizeOrganizationDataIntegrationInput, type AuthorizeOrganizationDataIntegrationInputConfig, type AuthorizeOrganizationDataIntegrationMutationBody, type AuthorizeOrganizationDataIntegrationMutationError, type AuthorizeOrganizationDataIntegrationMutationResult, type CreateOrganizationApiKey400, type CreateOrganizationApiKey400ErrorsItem, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKey422, type CreateOrganizationApiKey422ErrorsItem, 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 CreateTotpFactorResponseAuthenticationFactor, type CreateUserApiKey400, type CreateUserApiKey400ErrorsItem, type CreateUserApiKey403, type CreateUserApiKey404, type CreateUserApiKey422, type CreateUserApiKey422ErrorsItem, type CreateUserApiKeyMutationBody, type CreateUserApiKeyMutationError, type CreateUserApiKeyMutationResult, type CreateUserApiKeyRequest, type CreateUserApiKeyResponse, type DataInstallation, type DataIntegration, type DataIntegrationConfigField, type DataIntegrationConfiguration, type DataIntegrationConfigurationConfig, type DataIntegrationConfigurationResponse, type DataIntegrationCredentials, 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, type DeleteUserApiKey200, type DeleteUserApiKey403, type DeleteUserApiKey404, type DeleteUserApiKeyMutationError, type DeleteUserApiKeyMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type ExpireOrganizationApiKey400, type ExpireOrganizationApiKey400ErrorsItem, type ExpireOrganizationApiKey403, type ExpireOrganizationApiKey404, type ExpireOrganizationApiKey409, type ExpireOrganizationApiKeyMutationBody, type ExpireOrganizationApiKeyMutationError, type ExpireOrganizationApiKeyMutationResult, type ExpireOrganizationApiKeyRequest, type ExpireUserApiKey400, type ExpireUserApiKey400ErrorsItem, type ExpireUserApiKey403, type ExpireUserApiKey404, type ExpireUserApiKey409, type ExpireUserApiKeyMutationBody, type ExpireUserApiKeyMutationError, type ExpireUserApiKeyMutationResult, type ExpireUserApiKeyRequest, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuditLogStream200, type GetAuditLogStream403, type GetAuditLogStreamQueryError, type GetAuditLogStreamQueryResult, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDirectory403, type GetDirectory404, type GetDirectoryQueryError, type GetDirectoryQueryResult, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type InviteMemberResponse, type ListDataIntegrationConfigurations403, type ListDataIntegrationConfigurations404, type ListDataIntegrationConfigurationsQueryError, type ListDataIntegrationConfigurationsQueryResult, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryError, type ListDirectoriesQueryResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions400ErrorsItem, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys400ErrorsItem, 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 ListUserApiKeyPermission, type ListUserApiKeyPermissions400, type ListUserApiKeyPermissions400ErrorsItem, type ListUserApiKeyPermissions403, type ListUserApiKeyPermissionsParams, type ListUserApiKeyPermissionsQueryError, type ListUserApiKeyPermissionsQueryResult, type ListUserApiKeyPermissionsResponse, type ListUserApiKeyPermissionsResponseListMetadata, type ListUserApiKeys400, type ListUserApiKeys400ErrorsItem, type ListUserApiKeys403, type ListUserApiKeysParams, type ListUserApiKeysQueryError, type ListUserApiKeysQueryResult, type ListUserApiKeysResponse, type ListUserApiKeysResponseData, type ListUserApiKeysResponseDataOwner, type ListUserApiKeysResponseListMetadata, type Me, type Me403, type MeOauthProfiles, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRoles, MemberStatus, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MembersResponse, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDataIntegrations403, type OrganizationDataIntegrations404, type OrganizationDataIntegrationsQueryError, type OrganizationDataIntegrationsQueryResult, 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 RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type RemoveMemberResponse, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationError, type ResendInviteMutationResult, type ResendInviteResponse, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationBody, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeMemberResponse, 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 SendEmailChange400, type SendEmailChange403, type SendEmailChange409, type SendEmailChange422, type SendEmailChange429, type SendEmailChangeMutationBody, type SendEmailChangeMutationError, type SendEmailChangeMutationResult, type SendEmailChangeRequest, type SendEmailChangeResponse, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, type SsoConnection, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdateMemberResponse, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type UpsertApiKeyBody, type UpsertClientCredentialsBody, type UpsertDataIntegrationApiKey400, type UpsertDataIntegrationApiKey403, type UpsertDataIntegrationApiKey404, type UpsertDataIntegrationApiKey409, type UpsertDataIntegrationApiKeyMutationBody, type UpsertDataIntegrationApiKeyMutationError, type UpsertDataIntegrationApiKeyMutationResult, type UpsertDataIntegrationClientCredentials400, type UpsertDataIntegrationClientCredentials403, type UpsertDataIntegrationClientCredentials404, type UpsertDataIntegrationClientCredentials409, type UpsertDataIntegrationClientCredentialsMutationBody, type UpsertDataIntegrationClientCredentialsMutationError, type UpsertDataIntegrationClientCredentialsMutationResult, type UpsertDataIntegrationConfiguration400, type UpsertDataIntegrationConfiguration403, type UpsertDataIntegrationConfiguration404, type UpsertDataIntegrationConfiguration422, type UpsertDataIntegrationConfigurationInput, type UpsertDataIntegrationConfigurationInputConfig, type UpsertDataIntegrationConfigurationMutationBody, type UpsertDataIntegrationConfigurationMutationError, type UpsertDataIntegrationConfigurationMutationResult, type Verify400, type Verify403, type VerifyEmailChange400, type VerifyEmailChange403, type VerifyEmailChange409, type VerifyEmailChange422, type VerifyEmailChange429, type VerifyEmailChangeMutationBody, type VerifyEmailChangeMutationError, type VerifyEmailChangeMutationResult, type VerifyEmailChangeRequest, type VerifyEmailChangeResponse, 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, getGetAuditLogStreamQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getGetDirectoryQueryKey, getListDataIntegrationConfigurationsQueryKey, getListDirectoriesQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getListUserApiKeyPermissionsQueryKey, getListUserApiKeysQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, getSettingsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useAuthorizeDataIntegration, useAuthorizeDataIntegrationHook, useAuthorizeDataIntegrationMutationOptions, useAuthorizeOrganizationDataIntegration, useAuthorizeOrganizationDataIntegrationHook, useAuthorizeOrganizationDataIntegrationMutationOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useCreateUserApiKey, useCreateUserApiKeyHook, useCreateUserApiKeyMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useDeleteUserApiKey, useDeleteUserApiKeyHook, useDeleteUserApiKeyMutationOptions, useExpireOrganizationApiKey, useExpireOrganizationApiKeyHook, useExpireOrganizationApiKeyMutationOptions, useExpireUserApiKey, useExpireUserApiKeyHook, useExpireUserApiKeyMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetAuditLogStream, useGetAuditLogStreamHook, useGetAuditLogStreamQueryOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useGetDirectory, useGetDirectoryHook, useGetDirectoryQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListDataIntegrationConfigurations, useListDataIntegrationConfigurationsHook, useListDataIntegrationConfigurationsQueryOptions, useListDirectories, useListDirectoriesHook, useListDirectoriesQueryOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useListUserApiKeyPermissions, useListUserApiKeyPermissionsHook, useListUserApiKeyPermissionsQueryOptions, useListUserApiKeys, useListUserApiKeysHook, useListUserApiKeysQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizationDataIntegrations, useOrganizationDataIntegrationsHook, useOrganizationDataIntegrationsQueryOptions, 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, useSendEmailChange, useSendEmailChangeHook, useSendEmailChangeMutationOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useSettings, useSettingsHook, useSettingsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useUpsertDataIntegrationApiKey, useUpsertDataIntegrationApiKeyHook, useUpsertDataIntegrationApiKeyMutationOptions, useUpsertDataIntegrationClientCredentials, useUpsertDataIntegrationClientCredentialsHook, useUpsertDataIntegrationClientCredentialsMutationOptions, useUpsertDataIntegrationConfiguration, useUpsertDataIntegrationConfigurationHook, useUpsertDataIntegrationConfigurationMutationOptions, useVerify, useVerifyEmailChange, useVerifyEmailChangeHook, useVerifyEmailChangeMutationOptions, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };
2842
+ export { type ActiveSession, type ActiveSessionCurrentLocation, type ActiveSessionState, type ActiveSessionsResponse, type AuditLogStreamJSON, type AuditLogStreamState, type AuditLogStreamType, type AuthenticationInformation403, type AuthenticationInformationQueryError, type AuthenticationInformationQueryResult, type AuthenticationInformationResponse, type AuthenticationInformationResponseData, type AuthenticationInformationResponseDataPasswordSettings, type AuthenticationInformationResponseDataVerificationMethods, type AuthenticationInformationResponseDataVerificationMethodsMfa, type AuthenticationInformationResponseDataVerificationMethodsPasskey, type AuthenticationInformationResponseDataVerificationMethodsPasskeyPassKeysItem, type AuthenticationInformationResponseDataVerificationMethodsPassword, type AuthorizeDataIntegration400, type AuthorizeDataIntegration403, type AuthorizeDataIntegration404, type AuthorizeDataIntegrationInput, type AuthorizeDataIntegrationInputConfig, type AuthorizeDataIntegrationMutationBody, type AuthorizeDataIntegrationMutationError, type AuthorizeDataIntegrationMutationResult, type AuthorizeOrganizationDataIntegration400, type AuthorizeOrganizationDataIntegration403, type AuthorizeOrganizationDataIntegration404, type AuthorizeOrganizationDataIntegrationInput, type AuthorizeOrganizationDataIntegrationInputConfig, type AuthorizeOrganizationDataIntegrationMutationBody, type AuthorizeOrganizationDataIntegrationMutationError, type AuthorizeOrganizationDataIntegrationMutationResult, type CreateOrganizationApiKey400, type CreateOrganizationApiKey400ErrorsItem, type CreateOrganizationApiKey403, type CreateOrganizationApiKey404, type CreateOrganizationApiKey422, type CreateOrganizationApiKey422ErrorsItem, 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 CreateTotpFactorResponseAuthenticationFactor, type CreateUserApiKey400, type CreateUserApiKey400ErrorsItem, type CreateUserApiKey403, type CreateUserApiKey404, type CreateUserApiKey422, type CreateUserApiKey422ErrorsItem, type CreateUserApiKeyMutationBody, type CreateUserApiKeyMutationError, type CreateUserApiKeyMutationResult, type CreateUserApiKeyRequest, type CreateUserApiKeyResponse, type DataInstallation, type DataIntegration, type DataIntegrationConfigField, type DataIntegrationConfiguration, type DataIntegrationConfigurationConfig, type DataIntegrationConfigurationResponse, type DataIntegrationCredentials, type DataIntegrationsResponse, type DeleteDataInstallation200, type DeleteDataInstallation403, type DeleteDataInstallation404, type DeleteDataInstallationMutationError, type DeleteDataInstallationMutationResult, type DeleteOrganizationApiKey200, type DeleteOrganizationApiKey403, type DeleteOrganizationApiKey404, type DeleteOrganizationApiKeyMutationError, type DeleteOrganizationApiKeyMutationResult, type DeleteOrganizationDataInstallation200, type DeleteOrganizationDataInstallation403, type DeleteOrganizationDataInstallation404, type DeleteOrganizationDataInstallationMutationError, type DeleteOrganizationDataInstallationMutationResult, 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, type DeleteUserApiKey200, type DeleteUserApiKey403, type DeleteUserApiKey404, type DeleteUserApiKeyMutationError, type DeleteUserApiKeyMutationResult, type DirectoriesResponse, type Directory, type DirectoryMetadata, DirectoryState, DirectoryType, type DirectoryUsersMetadata, DomainVerificationNameServer, type ExpireOrganizationApiKey400, type ExpireOrganizationApiKey400ErrorsItem, type ExpireOrganizationApiKey403, type ExpireOrganizationApiKey404, type ExpireOrganizationApiKey409, type ExpireOrganizationApiKeyMutationBody, type ExpireOrganizationApiKeyMutationError, type ExpireOrganizationApiKeyMutationResult, type ExpireOrganizationApiKeyRequest, type ExpireUserApiKey400, type ExpireUserApiKey400ErrorsItem, type ExpireUserApiKey403, type ExpireUserApiKey404, type ExpireUserApiKey409, type ExpireUserApiKeyMutationBody, type ExpireUserApiKeyMutationError, type ExpireUserApiKeyMutationResult, type ExpireUserApiKeyRequest, type GenerateAdminPortalLink201, type GenerateAdminPortalLink403, type GenerateAdminPortalLink404, type GenerateAdminPortalLink500, GenerateAdminPortalLinkIntent, type GenerateAdminPortalLinkMutationError, type GenerateAdminPortalLinkMutationResult, type GenerateAdminPortalLinkParams, type GetAuditLogStream200, type GetAuditLogStream403, type GetAuditLogStreamQueryError, type GetAuditLogStreamQueryResult, type GetAuthorizationStatusResponse, type GetDataInstallationAuthorizationStatus400, type GetDataInstallationAuthorizationStatus403, type GetDataInstallationAuthorizationStatus404, type GetDataInstallationAuthorizationStatusQueryError, type GetDataInstallationAuthorizationStatusQueryResult, type GetDataIntegrationAuthorizeUrl400, type GetDataIntegrationAuthorizeUrl403, type GetDataIntegrationAuthorizeUrl404, type GetDataIntegrationAuthorizeUrlParams, type GetDataIntegrationAuthorizeUrlQueryError, type GetDataIntegrationAuthorizeUrlQueryResult, type GetDataIntegrationAuthorizeUrlResponse, type GetDirectory403, type GetDirectory404, type GetDirectoryQueryError, type GetDirectoryQueryResult, type InviteMember400, type InviteMember403, type InviteMember404, type InviteMemberInput, type InviteMemberMutationBody, type InviteMemberMutationError, type InviteMemberMutationResult, type InviteMemberResponse, type ListDataIntegrationConfigurations403, type ListDataIntegrationConfigurations404, type ListDataIntegrationConfigurationsQueryError, type ListDataIntegrationConfigurationsQueryResult, type ListDirectories403, type ListDirectories404, type ListDirectoriesQueryError, type ListDirectoriesQueryResult, type ListMetadata, type ListOrganizationApiKeyPermission, type ListOrganizationApiKeyPermissions400, type ListOrganizationApiKeyPermissions400ErrorsItem, type ListOrganizationApiKeyPermissions403, type ListOrganizationApiKeyPermissionsParams, type ListOrganizationApiKeyPermissionsQueryError, type ListOrganizationApiKeyPermissionsQueryResult, type ListOrganizationApiKeyPermissionsResponse, type ListOrganizationApiKeyPermissionsResponseListMetadata, type ListOrganizationApiKeys400, type ListOrganizationApiKeys400ErrorsItem, 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 ListUserApiKeyPermission, type ListUserApiKeyPermissions400, type ListUserApiKeyPermissions400ErrorsItem, type ListUserApiKeyPermissions403, type ListUserApiKeyPermissionsParams, type ListUserApiKeyPermissionsQueryError, type ListUserApiKeyPermissionsQueryResult, type ListUserApiKeyPermissionsResponse, type ListUserApiKeyPermissionsResponseListMetadata, type ListUserApiKeys400, type ListUserApiKeys400ErrorsItem, type ListUserApiKeys403, type ListUserApiKeysParams, type ListUserApiKeysQueryError, type ListUserApiKeysQueryResult, type ListUserApiKeysResponse, type ListUserApiKeysResponseData, type ListUserApiKeysResponseDataOwner, type ListUserApiKeysResponseListMetadata, type Me, type Me403, type MeOauthProfiles, type MeQueryError, type MeQueryResult, type Member, type MemberActions, MemberActionsItem, type MemberRole, type MemberRoles, MemberStatus, type Members403, type Members404, type MembersParams, type MembersQueryError, type MembersQueryResult, type MembersResponse, type MyDataIntegrations403, type MyDataIntegrationsQueryError, type MyDataIntegrationsQueryResult, type OAuthProfile, OidcSessionState, type OrganizationDataIntegration, type OrganizationDataIntegrationCapabilities, type OrganizationDataIntegrationConfiguration, type OrganizationDataIntegrationConfigurationConfig, type OrganizationDataIntegrations403, type OrganizationDataIntegrations404, type OrganizationDataIntegrationsQueryError, type OrganizationDataIntegrationsQueryResult, type OrganizationDataIntegrationsResponse, 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 RemoveMember400, type RemoveMember403, type RemoveMember404, type RemoveMemberMutationError, type RemoveMemberMutationResult, type RemoveMemberResponse, type ResendInvite400, type ResendInvite403, type ResendInvite404, type ResendInvite422, type ResendInviteMutationError, type ResendInviteMutationResult, type ResendInviteResponse, type ReverifyOrganizationDomain403, type ReverifyOrganizationDomain404, type ReverifyOrganizationDomainMutationError, type ReverifyOrganizationDomainMutationResult, type RevokeAllSessions200, type RevokeAllSessions400, type RevokeAllSessions403, type RevokeAllSessionsMutationBody, type RevokeAllSessionsMutationError, type RevokeAllSessionsMutationResult, type RevokeAllSessionsRequest, type RevokeInvite400, type RevokeInvite403, type RevokeInvite404, type RevokeInviteMutationError, type RevokeInviteMutationResult, type RevokeMemberResponse, 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 SendEmailChange400, type SendEmailChange403, type SendEmailChange409, type SendEmailChange422, type SendEmailChange429, type SendEmailChangeMutationBody, type SendEmailChangeMutationError, type SendEmailChangeMutationResult, type SendEmailChangeRequest, type SendEmailChangeResponse, type SendVerification400, type SendVerification403, type SendVerificationMutationError, type SendVerificationMutationResult, type SendVerificationResponse, type Sessions403, type SessionsQueryError, type SessionsQueryResult, type Settings403, type SettingsQueryError, type SettingsQueryResult, type SettingsResponse, type SharedDataConnection, type SharedDataConnections403, type SharedDataConnections404, type SharedDataConnectionsQueryError, type SharedDataConnectionsQueryResult, type SharedDataConnectionsResponse, type SsoConnection, type SsoConnectionSessionJSON, SsoConnectionSessionJSONState, type UpdateMe400, type UpdateMe403, type UpdateMeInput, type UpdateMeMutationBody, type UpdateMeMutationError, type UpdateMeMutationResult, type UpdateMember400, type UpdateMember403, type UpdateMember404, type UpdateMember422, type UpdateMemberInput, type UpdateMemberMutationBody, type UpdateMemberMutationError, type UpdateMemberMutationResult, type UpdateMemberResponse, type UpdatePassword201, type UpdatePassword400, type UpdatePassword403, type UpdatePasswordMutationBody, type UpdatePasswordMutationError, type UpdatePasswordMutationResult, type UpdatePasswordRequest, type UpsertApiKeyBody, type UpsertClientCredentialsBody, type UpsertDataIntegrationApiKey400, type UpsertDataIntegrationApiKey403, type UpsertDataIntegrationApiKey404, type UpsertDataIntegrationApiKey409, type UpsertDataIntegrationApiKeyMutationBody, type UpsertDataIntegrationApiKeyMutationError, type UpsertDataIntegrationApiKeyMutationResult, type UpsertDataIntegrationClientCredentials400, type UpsertDataIntegrationClientCredentials403, type UpsertDataIntegrationClientCredentials404, type UpsertDataIntegrationClientCredentials409, type UpsertDataIntegrationClientCredentialsMutationBody, type UpsertDataIntegrationClientCredentialsMutationError, type UpsertDataIntegrationClientCredentialsMutationResult, type UpsertDataIntegrationConfiguration400, type UpsertDataIntegrationConfiguration403, type UpsertDataIntegrationConfiguration404, type UpsertDataIntegrationConfiguration422, type UpsertDataIntegrationConfigurationInput, type UpsertDataIntegrationConfigurationInputConfig, type UpsertDataIntegrationConfigurationMutationBody, type UpsertDataIntegrationConfigurationMutationError, type UpsertDataIntegrationConfigurationMutationResult, type UpsertOrganizationDataIntegrationConfiguration400, type UpsertOrganizationDataIntegrationConfiguration403, type UpsertOrganizationDataIntegrationConfiguration404, type UpsertOrganizationDataIntegrationConfiguration422, type UpsertOrganizationDataIntegrationConfigurationInput, type UpsertOrganizationDataIntegrationConfigurationInputConfig, type UpsertOrganizationDataIntegrationConfigurationMutationBody, type UpsertOrganizationDataIntegrationConfigurationMutationError, type UpsertOrganizationDataIntegrationConfigurationMutationResult, type Verify400, type Verify403, type VerifyEmailChange400, type VerifyEmailChange403, type VerifyEmailChange409, type VerifyEmailChange422, type VerifyEmailChange429, type VerifyEmailChangeMutationBody, type VerifyEmailChangeMutationError, type VerifyEmailChangeMutationResult, type VerifyEmailChangeRequest, type VerifyEmailChangeResponse, 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, getGetAuditLogStreamQueryKey, getGetDataInstallationAuthorizationStatusQueryKey, getGetDataIntegrationAuthorizeUrlQueryKey, getGetDirectoryQueryKey, getListDataIntegrationConfigurationsQueryKey, getListDirectoriesQueryKey, getListOrganizationApiKeyPermissionsQueryKey, getListOrganizationApiKeysQueryKey, getListOrganizationDomainsQueryKey, getListSsoConnectionsQueryKey, getListUserApiKeyPermissionsQueryKey, getListUserApiKeysQueryKey, getMeQueryKey, getMembersQueryKey, getMyDataIntegrationsQueryKey, getOrganizationDataIntegrationsQueryKey, getOrganizationsQueryKey, getRolesAndConfigQueryKey, getRolesQueryKey, getSessionsQueryKey, getSettingsQueryKey, getSharedDataConnectionsQueryKey, useAuthenticationInformation, useAuthenticationInformationHook, useAuthenticationInformationQueryOptions, useAuthorizeDataIntegration, useAuthorizeDataIntegrationHook, useAuthorizeDataIntegrationMutationOptions, useAuthorizeOrganizationDataIntegration, useAuthorizeOrganizationDataIntegrationHook, useAuthorizeOrganizationDataIntegrationMutationOptions, useCreateOrganizationApiKey, useCreateOrganizationApiKeyHook, useCreateOrganizationApiKeyMutationOptions, useCreatePassword, useCreatePasswordHook, useCreatePasswordMutationOptions, useCreateTotpFactor, useCreateTotpFactorHook, useCreateTotpFactorMutationOptions, useCreateUserApiKey, useCreateUserApiKeyHook, useCreateUserApiKeyMutationOptions, useDeleteDataInstallation, useDeleteDataInstallationHook, useDeleteDataInstallationMutationOptions, useDeleteOrganizationApiKey, useDeleteOrganizationApiKeyHook, useDeleteOrganizationApiKeyMutationOptions, useDeleteOrganizationDataInstallation, useDeleteOrganizationDataInstallationHook, useDeleteOrganizationDataInstallationMutationOptions, useDeleteOrganizationDomain, useDeleteOrganizationDomainHook, useDeleteOrganizationDomainMutationOptions, useDeletePasskey, useDeletePasskeyHook, useDeletePasskeyMutationOptions, useDeleteTotpFactors, useDeleteTotpFactorsHook, useDeleteTotpFactorsMutationOptions, useDeleteUserApiKey, useDeleteUserApiKeyHook, useDeleteUserApiKeyMutationOptions, useExpireOrganizationApiKey, useExpireOrganizationApiKeyHook, useExpireOrganizationApiKeyMutationOptions, useExpireUserApiKey, useExpireUserApiKeyHook, useExpireUserApiKeyMutationOptions, useGenerateAdminPortalLink, useGenerateAdminPortalLinkHook, useGenerateAdminPortalLinkMutationOptions, useGetAuditLogStream, useGetAuditLogStreamHook, useGetAuditLogStreamQueryOptions, useGetDataInstallationAuthorizationStatus, useGetDataInstallationAuthorizationStatusHook, useGetDataInstallationAuthorizationStatusQueryOptions, useGetDataIntegrationAuthorizeUrl, useGetDataIntegrationAuthorizeUrlHook, useGetDataIntegrationAuthorizeUrlQueryOptions, useGetDirectory, useGetDirectoryHook, useGetDirectoryQueryOptions, useInviteMember, useInviteMemberHook, useInviteMemberMutationOptions, useListDataIntegrationConfigurations, useListDataIntegrationConfigurationsHook, useListDataIntegrationConfigurationsQueryOptions, useListDirectories, useListDirectoriesHook, useListDirectoriesQueryOptions, useListOrganizationApiKeyPermissions, useListOrganizationApiKeyPermissionsHook, useListOrganizationApiKeyPermissionsQueryOptions, useListOrganizationApiKeys, useListOrganizationApiKeysHook, useListOrganizationApiKeysQueryOptions, useListOrganizationDomains, useListOrganizationDomainsHook, useListOrganizationDomainsQueryOptions, useListSsoConnections, useListSsoConnectionsHook, useListSsoConnectionsQueryOptions, useListUserApiKeyPermissions, useListUserApiKeyPermissionsHook, useListUserApiKeyPermissionsQueryOptions, useListUserApiKeys, useListUserApiKeysHook, useListUserApiKeysQueryOptions, useMe, useMeHook, useMeQueryOptions, useMembers, useMembersHook, useMembersQueryOptions, useMyDataIntegrations, useMyDataIntegrationsHook, useMyDataIntegrationsQueryOptions, useOrganizationDataIntegrations, useOrganizationDataIntegrationsHook, useOrganizationDataIntegrationsQueryOptions, 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, useSendEmailChange, useSendEmailChangeHook, useSendEmailChangeMutationOptions, useSendVerification, useSendVerificationHook, useSendVerificationMutationOptions, useSessions, useSessionsHook, useSessionsQueryOptions, useSettings, useSettingsHook, useSettingsQueryOptions, useSharedDataConnections, useSharedDataConnectionsHook, useSharedDataConnectionsQueryOptions, useUpdateMe, useUpdateMeHook, useUpdateMeMutationOptions, useUpdateMember, useUpdateMemberHook, useUpdateMemberMutationOptions, useUpdatePassword, useUpdatePasswordHook, useUpdatePasswordMutationOptions, useUpsertDataIntegrationApiKey, useUpsertDataIntegrationApiKeyHook, useUpsertDataIntegrationApiKeyMutationOptions, useUpsertDataIntegrationClientCredentials, useUpsertDataIntegrationClientCredentialsHook, useUpsertDataIntegrationClientCredentialsMutationOptions, useUpsertDataIntegrationConfiguration, useUpsertDataIntegrationConfigurationHook, useUpsertDataIntegrationConfigurationMutationOptions, useUpsertOrganizationDataIntegrationConfiguration, useUpsertOrganizationDataIntegrationConfigurationHook, useUpsertOrganizationDataIntegrationConfigurationMutationOptions, useVerify, useVerifyEmailChange, useVerifyEmailChangeHook, useVerifyEmailChangeMutationOptions, useVerifyHook, useVerifyMutationOptions, useVerifyPasskey, useVerifyPasskeyHook, useVerifyPasskeyMutationOptions, useVerifyTotpFactor, useVerifyTotpFactorHook, useVerifyTotpFactorMutationOptions };
@@ -37,6 +37,7 @@ __export(fetch_exports, {
37
37
  createUserApiKey: () => createUserApiKey,
38
38
  deleteDataInstallation: () => deleteDataInstallation,
39
39
  deleteOrganizationApiKey: () => deleteOrganizationApiKey,
40
+ deleteOrganizationDataInstallation: () => deleteOrganizationDataInstallation,
40
41
  deleteOrganizationDomain: () => deleteOrganizationDomain,
41
42
  deletePasskey: () => deletePasskey,
42
43
  deleteTotpFactors: () => deleteTotpFactors,
@@ -56,6 +57,7 @@ __export(fetch_exports, {
56
57
  getDataIntegrationAuthorizeUrl: () => getDataIntegrationAuthorizeUrl,
57
58
  getDeleteDataInstallationUrl: () => getDeleteDataInstallationUrl,
58
59
  getDeleteOrganizationApiKeyUrl: () => getDeleteOrganizationApiKeyUrl,
60
+ getDeleteOrganizationDataInstallationUrl: () => getDeleteOrganizationDataInstallationUrl,
59
61
  getDeleteOrganizationDomainUrl: () => getDeleteOrganizationDomainUrl,
60
62
  getDeletePasskeyUrl: () => getDeletePasskeyUrl,
61
63
  getDeleteTotpFactorsUrl: () => getDeleteTotpFactorsUrl,
@@ -95,12 +97,14 @@ __export(fetch_exports, {
95
97
  getSendVerificationUrl: () => getSendVerificationUrl,
96
98
  getSessionsUrl: () => getSessionsUrl,
97
99
  getSettingsUrl: () => getSettingsUrl,
100
+ getSharedDataConnectionsUrl: () => getSharedDataConnectionsUrl,
98
101
  getUpdateMeUrl: () => getUpdateMeUrl,
99
102
  getUpdateMemberUrl: () => getUpdateMemberUrl,
100
103
  getUpdatePasswordUrl: () => getUpdatePasswordUrl,
101
104
  getUpsertDataIntegrationApiKeyUrl: () => getUpsertDataIntegrationApiKeyUrl,
102
105
  getUpsertDataIntegrationClientCredentialsUrl: () => getUpsertDataIntegrationClientCredentialsUrl,
103
106
  getUpsertDataIntegrationConfigurationUrl: () => getUpsertDataIntegrationConfigurationUrl,
107
+ getUpsertOrganizationDataIntegrationConfigurationUrl: () => getUpsertOrganizationDataIntegrationConfigurationUrl,
104
108
  getVerifyEmailChangeUrl: () => getVerifyEmailChangeUrl,
105
109
  getVerifyPasskeyUrl: () => getVerifyPasskeyUrl,
106
110
  getVerifyTotpFactorUrl: () => getVerifyTotpFactorUrl,
@@ -132,12 +136,14 @@ __export(fetch_exports, {
132
136
  sendVerification: () => sendVerification,
133
137
  sessions: () => sessions,
134
138
  settings: () => settings,
139
+ sharedDataConnections: () => sharedDataConnections,
135
140
  updateMe: () => updateMe,
136
141
  updateMember: () => updateMember,
137
142
  updatePassword: () => updatePassword,
138
143
  upsertDataIntegrationApiKey: () => upsertDataIntegrationApiKey,
139
144
  upsertDataIntegrationClientCredentials: () => upsertDataIntegrationClientCredentials,
140
145
  upsertDataIntegrationConfiguration: () => upsertDataIntegrationConfiguration,
146
+ upsertOrganizationDataIntegrationConfiguration: () => upsertOrganizationDataIntegrationConfiguration,
141
147
  verify: () => verify,
142
148
  verifyEmailChange: () => verifyEmailChange,
143
149
  verifyPasskey: () => verifyPasskey,
@@ -389,6 +395,41 @@ const organizationDataIntegrations = async (options) => {
389
395
  headers: res.headers
390
396
  };
391
397
  };
398
+ const getDeleteOrganizationDataInstallationUrl = (installationId) => {
399
+ return `https://api.workos.com/_widgets/DataIntegrations/organization/installations/${installationId}`;
400
+ };
401
+ const deleteOrganizationDataInstallation = async (installationId, options) => {
402
+ const res = await fetch(
403
+ getDeleteOrganizationDataInstallationUrl(installationId),
404
+ {
405
+ ...options,
406
+ method: "DELETE"
407
+ }
408
+ );
409
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
410
+ const data = body ? JSON.parse(body) : {};
411
+ return {
412
+ data,
413
+ status: res.status,
414
+ headers: res.headers
415
+ };
416
+ };
417
+ const getSharedDataConnectionsUrl = () => {
418
+ return `https://api.workos.com/_widgets/DataIntegrations/shared-connections`;
419
+ };
420
+ const sharedDataConnections = async (options) => {
421
+ const res = await fetch(getSharedDataConnectionsUrl(), {
422
+ ...options,
423
+ method: "GET"
424
+ });
425
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
426
+ const data = body ? JSON.parse(body) : {};
427
+ return {
428
+ data,
429
+ status: res.status,
430
+ headers: res.headers
431
+ };
432
+ };
392
433
  const getGetDataInstallationAuthorizationStatusUrl = (dataIntegrationId, state) => {
393
434
  return `https://api.workos.com/_widgets/DataIntegrations/${dataIntegrationId}/authorization-status/${state}`;
394
435
  };
@@ -521,6 +562,27 @@ const authorizeOrganizationDataIntegration = async (slug, authorizeOrganizationD
521
562
  headers: res.headers
522
563
  };
523
564
  };
565
+ const getUpsertOrganizationDataIntegrationConfigurationUrl = (slug) => {
566
+ return `https://api.workos.com/_widgets/DataIntegrations/${slug}/organization/configuration`;
567
+ };
568
+ const upsertOrganizationDataIntegrationConfiguration = async (slug, upsertOrganizationDataIntegrationConfigurationBody, options) => {
569
+ const res = await fetch(
570
+ getUpsertOrganizationDataIntegrationConfigurationUrl(slug),
571
+ {
572
+ ...options,
573
+ method: "PUT",
574
+ headers: { "Content-Type": "application/json", ...options?.headers },
575
+ body: JSON.stringify(upsertOrganizationDataIntegrationConfigurationBody)
576
+ }
577
+ );
578
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
579
+ const data = body ? JSON.parse(body) : {};
580
+ return {
581
+ data,
582
+ status: res.status,
583
+ headers: res.headers
584
+ };
585
+ };
524
586
  const getCreateUserApiKeyUrl = () => {
525
587
  return `https://api.workos.com/_widgets/UserApiKeys/api-keys`;
526
588
  };
@@ -1224,6 +1286,7 @@ const settings = async (options) => {
1224
1286
  createUserApiKey,
1225
1287
  deleteDataInstallation,
1226
1288
  deleteOrganizationApiKey,
1289
+ deleteOrganizationDataInstallation,
1227
1290
  deleteOrganizationDomain,
1228
1291
  deletePasskey,
1229
1292
  deleteTotpFactors,
@@ -1243,6 +1306,7 @@ const settings = async (options) => {
1243
1306
  getDataIntegrationAuthorizeUrl,
1244
1307
  getDeleteDataInstallationUrl,
1245
1308
  getDeleteOrganizationApiKeyUrl,
1309
+ getDeleteOrganizationDataInstallationUrl,
1246
1310
  getDeleteOrganizationDomainUrl,
1247
1311
  getDeletePasskeyUrl,
1248
1312
  getDeleteTotpFactorsUrl,
@@ -1282,12 +1346,14 @@ const settings = async (options) => {
1282
1346
  getSendVerificationUrl,
1283
1347
  getSessionsUrl,
1284
1348
  getSettingsUrl,
1349
+ getSharedDataConnectionsUrl,
1285
1350
  getUpdateMeUrl,
1286
1351
  getUpdateMemberUrl,
1287
1352
  getUpdatePasswordUrl,
1288
1353
  getUpsertDataIntegrationApiKeyUrl,
1289
1354
  getUpsertDataIntegrationClientCredentialsUrl,
1290
1355
  getUpsertDataIntegrationConfigurationUrl,
1356
+ getUpsertOrganizationDataIntegrationConfigurationUrl,
1291
1357
  getVerifyEmailChangeUrl,
1292
1358
  getVerifyPasskeyUrl,
1293
1359
  getVerifyTotpFactorUrl,
@@ -1319,12 +1385,14 @@ const settings = async (options) => {
1319
1385
  sendVerification,
1320
1386
  sessions,
1321
1387
  settings,
1388
+ sharedDataConnections,
1322
1389
  updateMe,
1323
1390
  updateMember,
1324
1391
  updatePassword,
1325
1392
  upsertDataIntegrationApiKey,
1326
1393
  upsertDataIntegrationClientCredentials,
1327
1394
  upsertDataIntegrationConfiguration,
1395
+ upsertOrganizationDataIntegrationConfiguration,
1328
1396
  verify,
1329
1397
  verifyEmailChange,
1330
1398
  verifyPasskey,