@singi-labs/sifa-sdk 0.12.3 → 0.12.5

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 (47) hide show
  1. package/dist/{adult-content-DDGP8W1e.d.cts → adult-content-BOY_T6j3.d.cts} +295 -1
  2. package/dist/{adult-content-DDGP8W1e.d.ts → adult-content-BOY_T6j3.d.ts} +295 -1
  3. package/dist/{index-CNh-GI9A.d.cts → index-BJV2XHOP.d.cts} +16 -3
  4. package/dist/{index-IMvNS08M.d.ts → index-C1SIpwOj.d.ts} +16 -3
  5. package/dist/{index-iAzeLOcz.d.ts → index-m5MELVUQ.d.ts} +95 -3
  6. package/dist/{index-BS7zO7KI.d.cts → index-xcu81B4E.d.cts} +95 -3
  7. package/dist/index.cjs +73 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +96 -5
  10. package/dist/index.d.ts +96 -5
  11. package/dist/index.js +68 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/{keys-Bn36IA8Q.d.cts → org-92bvwL8H.d.cts} +89 -2
  14. package/dist/{keys-5oyp950_.d.ts → org-Bxz__jbx.d.ts} +89 -2
  15. package/dist/org-settings-CmaSX5ZI.d.cts +74 -0
  16. package/dist/org-settings-CmaSX5ZI.d.ts +74 -0
  17. package/dist/query/fetchers/index.cjs +60 -0
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +4 -3
  20. package/dist/query/fetchers/index.d.ts +4 -3
  21. package/dist/query/fetchers/index.js +54 -1
  22. package/dist/query/fetchers/index.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +144 -0
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +4 -3
  26. package/dist/query/hooks/index.d.ts +4 -3
  27. package/dist/query/hooks/index.js +137 -1
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/index.cjs +147 -0
  30. package/dist/query/index.cjs.map +1 -1
  31. package/dist/query/index.d.cts +6 -5
  32. package/dist/query/index.d.ts +6 -5
  33. package/dist/query/index.js +133 -1
  34. package/dist/query/index.js.map +1 -1
  35. package/dist/schemas/index.cjs +27 -0
  36. package/dist/schemas/index.cjs.map +1 -1
  37. package/dist/schemas/index.d.cts +67 -1
  38. package/dist/schemas/index.d.ts +67 -1
  39. package/dist/schemas/index.js +26 -1
  40. package/dist/schemas/index.js.map +1 -1
  41. package/dist/schemas/write/index.cjs +36 -0
  42. package/dist/schemas/write/index.cjs.map +1 -1
  43. package/dist/schemas/write/index.d.cts +1 -0
  44. package/dist/schemas/write/index.d.ts +1 -0
  45. package/dist/schemas/write/index.js +32 -1
  46. package/dist/schemas/write/index.js.map +1 -1
  47. package/package.json +1 -1
@@ -1,12 +1,13 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../keys-Bn36IA8Q.cjs';
2
- export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R as ProfileIndustryInput, T as ProfileLocationAddress, U as ProfileLocationInput, V as ProfileSearchResult, X as ProfileSelfLocation, Y as QUOTED_POSTS_BATCH_MAX, Z as QuotedPostAuthor, _ as QuotedPostImage, $ as QuotedPostResult, a0 as QuotedPostView, a1 as ReactionError, a2 as ReactionResult, a3 as ReactionStatus, a4 as RefreshOrcidPublicationsResult, a5 as RefreshPdsResult, a6 as ResolveQuotedPostsOptions, a7 as RoadmapVoteError, a8 as RoadmapVoteResult, a9 as RoadmapVoter, aa as RoadmapVotesResponse, ab as SearchFilters, ac as SearchResponse, ad as SifaQueryKey, ae as SimilarProfile, af as SkillSearchResult, ag as StatsResponse, ah as SuggestionProfile, ai as SuggestionsResponse, aj as UpdateProfileOverrideInput, ak as UpdateProfileSelfInput, al as UploadAvatarResult, am as VerifyExternalAccountResult, an as addFeatureAllowlist, ao as apiFetch, ap as apiFetchOrNull, aq as apiWrite, ar as apiWriteCreate, as as bulkHideProfileItems, at as bulkHideStandardPublications, au as bulkUnhideProfileItems, av as bulkUnhideStandardPublications, aw as castRoadmapVote, ax as checkAppAccount, ay as createEndorsement, az as createExternalAccount, aA as createProfileLocation, aB as createReaction, aC as deleteAccount, aD as deleteAvatarOverride, aE as deleteExternalAccount, aF as deleteProfileLocation, aG as deleteReaction, aH as fetchActivityFeed, aI as fetchActivityTeaser, aJ as fetchAppsRegistry, aK as fetchExternalAccounts, aL as fetchFeaturedProfile, aM as fetchFollowing, aN as fetchHeatmapData, aO as fetchHiddenApps, aP as fetchMyRoadmapVotes, aQ as fetchReactionStatus, aR as fetchRoadmapVotes, aS as fetchSearchFilters, aT as fetchSearchProfiles, aU as fetchSimilarProfiles, aV as fetchSkillSuggestions, aW as fetchStats, aX as fetchSuggestionCount, aY as fetchSuggestions, aZ as followUser, a_ as getBlueskySuggestions, a$ as getFollowers, b0 as getFollowing, b1 as getFollowingFeed, b2 as getMutuals, b3 as hideOrcidPublication, b4 as hideProfileItem, b5 as hideSifaPublication, b6 as hideStandardPublication, b7 as listFeatureAllowlist, b8 as refreshOrcidPublications, b9 as refreshPds, ba as removeFeatureAllowlist, bb as resetProfile, bc as resolveQuotedPosts, bd as retractRoadmapVote, be as searchSkills, bf as setExternalAccountPrimary, bg as unfollowUser, bh as unhideOrcidPublication, bi as unhideProfileItem, bj as unhideSifaPublication, bk as unhideStandardPublication, bl as unsetExternalAccountPrimary, bm as updateExternalAccount, bn as updateProfileLocation, bo as updateProfileOverride, bp as updateProfileSelf, bq as uploadAvatar, br as verifyExternalAccount } from '../keys-Bn36IA8Q.cjs';
3
- export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m as useAppAccountCheck, n as useAppsRegistry, o as useAtFundLink, p as useBlueskySuggestions, q as useBulkHideProfileItems, r as useBulkHideStandardPublications, s as useBulkUnhideProfileItems, t as useBulkUnhideStandardPublications, v as useCanonicalSkillSearch, w as useCastRoadmapVote, x as useCreateEducation, y as useCreateEndorsement, z as useCreateExternalAccount, B as useCreatePosition, E as useCreateProfileLocation, G as useCreateReaction, H as useCreateRecord, I as useCreateSkill, J as useDebouncedValue, K as useDeleteAccount, L as useDeleteAvatarOverride, M as useDeleteEducation, N as useDeleteExternalAccount, O as useDeletePosition, Q as useDeleteProfileLocation, T as useDeleteReaction, V as useDeleteRecord, W as useDeleteSkill, X as useEndorsementCount, Y as useEntitySearch, Z as useExternalAccounts, _ as useFeatureAllowlist, $ as useFeaturedProfile, a0 as useFollow, a1 as useFollowers, a2 as useFollowing, a3 as useFollowingFeed, a4 as useFollowingList, a5 as useHeatmapData, a6 as useHiddenApps, a7 as useHideKeytraceClaim, a8 as useHideOrcidPublication, a9 as useHideProfileItem, aa as useHideSifaPublication, ab as useHideStandardPublication, ac as useImportSearchEntities, ad as useLinkSkillToPosition, ae as useMintEntityDomain, af as useMutuals, ag as useMyRoadmapVotes, ah as useNetworkStreamCount, ai as useProfile, aj as useReactionStatus, ak as useRefreshOrcidPublications, al as useRefreshPds, am as useRemoveFeatureAllowlist, an as useResetProfile, ao as useResolveEntityDomain, ap as useRetractRoadmapVote, aq as useRevealMarqueDomain, ar as useRoadmapVotes, as as useSearchFilters, at as useSearchProfiles, au as useSelectEntity, av as useSetExternalAccountPrimary, aw as useSetPositionPrimary, ax as useSifaConfig, ay as useSimilarProfiles, az as useSkillSuggestions, aA as useStats, aB as useSuggestionCount, aC as useSuggestions, aD as useUnfollow, aE as useUnhideKeytraceClaim, aF as useUnhideOrcidPublication, aG as useUnhideProfileItem, aH as useUnhideSifaPublication, aI as useUnhideStandardPublication, aJ as useUnlinkSkillFromPosition, aK as useUnrevealMarqueDomain, aL as useUnsetExternalAccountPrimary, aM as useUnsetPositionPrimary, aN as useUpdateEducation, aO as useUpdateExternalAccount, aP as useUpdatePosition, aQ as useUpdateProfileLocation, aR as useUpdateProfileOverride, aS as useUpdateProfileSelf, aT as useUpdateRecord, aU as useUpdateSkill, aV as useUploadAvatar, aW as useVerifyExternalAccount } from '../index-BS7zO7KI.cjs';
4
- export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchNetworkMap, s as fetchNetworkStreamCount, t as fetchProfile, u as hideKeytraceClaim, v as importSearchEntities, w as initiateNetworkMapGeneration, x as isNetworkMapResponse, y as linkSkillToPosition, z as mintEntityDomain, A as resolveEntityDomain, B as revealMarqueDomain, C as selectEntity, D as setPositionPrimary, E as unhideKeytraceClaim, G as unlinkSkillFromPosition, H as unrevealMarqueDomain, I as unsetPositionPrimary, J as updateEducation, K as updatePosition, L as updateRecord, M as updateSkill } from '../index-CNh-GI9A.cjs';
5
- import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-DDGP8W1e.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-92bvwL8H.cjs';
2
+ export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R as OrgClaimBinding, T as OrgClaimResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult, Z as OrgProfileEcho, _ as OrgProfileUpdateResult, $ as ProfileIndustryInput, a0 as ProfileLocationAddress, a1 as ProfileLocationInput, a2 as ProfileSearchResult, a3 as ProfileSelfLocation, a4 as QUOTED_POSTS_BATCH_MAX, a5 as QuotedPostAuthor, a6 as QuotedPostImage, a7 as QuotedPostResult, a8 as QuotedPostView, a9 as ReactionError, aa as ReactionResult, ab as ReactionStatus, ac as RefreshOrcidPublicationsResult, ad as RefreshPdsResult, ae as ResolveQuotedPostsOptions, af as RoadmapVoteError, ag as RoadmapVoteResult, ah as RoadmapVoter, ai as RoadmapVotesResponse, aj as SearchFilters, ak as SearchResponse, al as SifaQueryKey, am as SimilarProfile, an as SkillSearchResult, ao as StatsResponse, ap as SuggestionProfile, aq as SuggestionsResponse, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, au as VerifyExternalAccountResult, av as addFeatureAllowlist, aw as addOrgNotificationEmail, ax as apiFetch, ay as apiFetchOrNull, az as apiWrite, aA as apiWriteCreate, aB as bulkHideProfileItems, aC as bulkHideStandardPublications, aD as bulkUnhideProfileItems, aE as bulkUnhideStandardPublications, aF as castRoadmapVote, aG as checkAppAccount, aH as createEndorsement, aI as createExternalAccount, aJ as createProfileLocation, aK as createReaction, aL as deleteAccount, aM as deleteAvatarOverride, aN as deleteExternalAccount, aO as deleteProfileLocation, aP as deleteReaction, aQ as fetchActivityFeed, aR as fetchActivityTeaser, aS as fetchAppsRegistry, aT as fetchExternalAccounts, aU as fetchFeaturedProfile, aV as fetchFollowing, aW as fetchHeatmapData, aX as fetchHiddenApps, aY as fetchMyRoadmapVotes, aZ as fetchReactionStatus, a_ as fetchRoadmapVotes, a$ as fetchSearchFilters, b0 as fetchSearchProfiles, b1 as fetchSimilarProfiles, b2 as fetchSkillSuggestions, b3 as fetchStats, b4 as fetchSuggestionCount, b5 as fetchSuggestions, b6 as followUser, b7 as getBlueskySuggestions, b8 as getFollowers, b9 as getFollowing, ba as getFollowingFeed, bb as getMutuals, bc as hideOrcidPublication, bd as hideProfileItem, be as hideSifaPublication, bf as hideStandardPublication, bg as listFeatureAllowlist, bh as refreshOrcidPublications, bi as refreshPds, bj as removeFeatureAllowlist, bk as removeOrgNotificationEmail, bl as requestOrgDomainChallenge, bm as resetProfile, bn as resolveQuotedPosts, bo as retractRoadmapVote, bp as searchSkills, bq as setExternalAccountPrimary, br as submitOrgClaim, bs as unfollowUser, bt as unhideOrcidPublication, bu as unhideProfileItem, bv as unhideSifaPublication, bw as unhideStandardPublication, bx as unsetExternalAccountPrimary, by as updateExternalAccount, bz as updateOrgProfile, bA as updateProfileLocation, bB as updateProfileOverride, bC as updateProfileSelf, bD as uploadAvatar, bE as verifyExternalAccount, bF as verifyOrgDomain } from '../org-92bvwL8H.cjs';
3
+ export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m as useAddOrgNotificationEmail, n as useAppAccountCheck, o as useAppsRegistry, p as useAtFundLink, q as useBlueskySuggestions, r as useBulkHideProfileItems, s as useBulkHideStandardPublications, t as useBulkUnhideProfileItems, v as useBulkUnhideStandardPublications, w as useCanonicalSkillSearch, x as useCastRoadmapVote, y as useCreateEducation, z as useCreateEndorsement, B as useCreateExternalAccount, E as useCreatePosition, G as useCreateProfileLocation, H as useCreateReaction, I as useCreateRecord, J as useCreateSkill, K as useDebouncedValue, L as useDeleteAccount, M as useDeleteAvatarOverride, N as useDeleteEducation, O as useDeleteExternalAccount, Q as useDeletePosition, T as useDeleteProfileLocation, V as useDeleteReaction, W as useDeleteRecord, X as useDeleteSkill, Y as useEndorsementCount, Z as useEntitySearch, _ as useExternalAccounts, $ as useFeatureAllowlist, a0 as useFeaturedProfile, a1 as useFollow, a2 as useFollowers, a3 as useFollowing, a4 as useFollowingFeed, a5 as useFollowingList, a6 as useGetProfileView, a7 as useHeatmapData, a8 as useHiddenApps, a9 as useHideKeytraceClaim, aa as useHideOrcidPublication, ab as useHideProfileItem, ac as useHideSifaPublication, ad as useHideStandardPublication, ae as useImportSearchEntities, af as useLinkSkillToPosition, ag as useMintEntityDomain, ah as useMutuals, ai as useMyRoadmapVotes, aj as useNetworkStreamCount, ak as useOrgClaim, al as useOrgDomainChallenge, am as useOrgDomainVerify, an as useOrgProfile, ao as useProfile, ap as useReactionStatus, aq as useRefreshOrcidPublications, ar as useRefreshPds, as as useRemoveFeatureAllowlist, at as useRemoveOrgNotificationEmail, au as useResetProfile, av as useResolveEntityDomain, aw as useRetractRoadmapVote, ax as useRevealMarqueDomain, ay as useRoadmapVotes, az as useSearchFilters, aA as useSearchProfiles, aB as useSelectEntity, aC as useSetExternalAccountPrimary, aD as useSetPositionPrimary, aE as useSifaConfig, aF as useSimilarProfiles, aG as useSkillSuggestions, aH as useStats, aI as useSuggestionCount, aJ as useSuggestions, aK as useUnfollow, aL as useUnhideKeytraceClaim, aM as useUnhideOrcidPublication, aN as useUnhideProfileItem, aO as useUnhideSifaPublication, aP as useUnhideStandardPublication, aQ as useUnlinkSkillFromPosition, aR as useUnrevealMarqueDomain, aS as useUnsetExternalAccountPrimary, aT as useUnsetPositionPrimary, aU as useUpdateEducation, aV as useUpdateExternalAccount, aW as useUpdateOrgProfile, aX as useUpdatePosition, aY as useUpdateProfileLocation, aZ as useUpdateProfileOverride, a_ as useUpdateProfileSelf, a$ as useUpdateRecord, b0 as useUpdateSkill, b1 as useUploadAvatar, b2 as useVerifyExternalAccount } from '../index-xcu81B4E.cjs';
4
+ export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as hideKeytraceClaim, w as importSearchEntities, x as initiateNetworkMapGeneration, y as isNetworkMapResponse, z as linkSkillToPosition, A as mintEntityDomain, B as resolveEntityDomain, C as revealMarqueDomain, D as selectEntity, E as setPositionPrimary, G as unhideKeytraceClaim, H as unlinkSkillFromPosition, I as unrevealMarqueDomain, J as unsetPositionPrimary, K as updateEducation, L as updatePosition, M as updateRecord, O as updateSkill } from '../index-BJV2XHOP.cjs';
5
+ import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BOY_T6j3.cjs';
6
6
  import * as _tanstack_react_query from '@tanstack/react-query';
7
7
  import { UseQueryOptions } from '@tanstack/react-query';
8
8
  import '../feed-D2ZV8Eaj.cjs';
9
9
  import 'zod';
10
+ import '../org-settings-CmaSX5ZI.cjs';
10
11
  import 'react';
11
12
 
12
13
  /**
@@ -1,12 +1,13 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../keys-5oyp950_.js';
2
- export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R as ProfileIndustryInput, T as ProfileLocationAddress, U as ProfileLocationInput, V as ProfileSearchResult, X as ProfileSelfLocation, Y as QUOTED_POSTS_BATCH_MAX, Z as QuotedPostAuthor, _ as QuotedPostImage, $ as QuotedPostResult, a0 as QuotedPostView, a1 as ReactionError, a2 as ReactionResult, a3 as ReactionStatus, a4 as RefreshOrcidPublicationsResult, a5 as RefreshPdsResult, a6 as ResolveQuotedPostsOptions, a7 as RoadmapVoteError, a8 as RoadmapVoteResult, a9 as RoadmapVoter, aa as RoadmapVotesResponse, ab as SearchFilters, ac as SearchResponse, ad as SifaQueryKey, ae as SimilarProfile, af as SkillSearchResult, ag as StatsResponse, ah as SuggestionProfile, ai as SuggestionsResponse, aj as UpdateProfileOverrideInput, ak as UpdateProfileSelfInput, al as UploadAvatarResult, am as VerifyExternalAccountResult, an as addFeatureAllowlist, ao as apiFetch, ap as apiFetchOrNull, aq as apiWrite, ar as apiWriteCreate, as as bulkHideProfileItems, at as bulkHideStandardPublications, au as bulkUnhideProfileItems, av as bulkUnhideStandardPublications, aw as castRoadmapVote, ax as checkAppAccount, ay as createEndorsement, az as createExternalAccount, aA as createProfileLocation, aB as createReaction, aC as deleteAccount, aD as deleteAvatarOverride, aE as deleteExternalAccount, aF as deleteProfileLocation, aG as deleteReaction, aH as fetchActivityFeed, aI as fetchActivityTeaser, aJ as fetchAppsRegistry, aK as fetchExternalAccounts, aL as fetchFeaturedProfile, aM as fetchFollowing, aN as fetchHeatmapData, aO as fetchHiddenApps, aP as fetchMyRoadmapVotes, aQ as fetchReactionStatus, aR as fetchRoadmapVotes, aS as fetchSearchFilters, aT as fetchSearchProfiles, aU as fetchSimilarProfiles, aV as fetchSkillSuggestions, aW as fetchStats, aX as fetchSuggestionCount, aY as fetchSuggestions, aZ as followUser, a_ as getBlueskySuggestions, a$ as getFollowers, b0 as getFollowing, b1 as getFollowingFeed, b2 as getMutuals, b3 as hideOrcidPublication, b4 as hideProfileItem, b5 as hideSifaPublication, b6 as hideStandardPublication, b7 as listFeatureAllowlist, b8 as refreshOrcidPublications, b9 as refreshPds, ba as removeFeatureAllowlist, bb as resetProfile, bc as resolveQuotedPosts, bd as retractRoadmapVote, be as searchSkills, bf as setExternalAccountPrimary, bg as unfollowUser, bh as unhideOrcidPublication, bi as unhideProfileItem, bj as unhideSifaPublication, bk as unhideStandardPublication, bl as unsetExternalAccountPrimary, bm as updateExternalAccount, bn as updateProfileLocation, bo as updateProfileOverride, bp as updateProfileSelf, bq as uploadAvatar, br as verifyExternalAccount } from '../keys-5oyp950_.js';
3
- export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m as useAppAccountCheck, n as useAppsRegistry, o as useAtFundLink, p as useBlueskySuggestions, q as useBulkHideProfileItems, r as useBulkHideStandardPublications, s as useBulkUnhideProfileItems, t as useBulkUnhideStandardPublications, v as useCanonicalSkillSearch, w as useCastRoadmapVote, x as useCreateEducation, y as useCreateEndorsement, z as useCreateExternalAccount, B as useCreatePosition, E as useCreateProfileLocation, G as useCreateReaction, H as useCreateRecord, I as useCreateSkill, J as useDebouncedValue, K as useDeleteAccount, L as useDeleteAvatarOverride, M as useDeleteEducation, N as useDeleteExternalAccount, O as useDeletePosition, Q as useDeleteProfileLocation, T as useDeleteReaction, V as useDeleteRecord, W as useDeleteSkill, X as useEndorsementCount, Y as useEntitySearch, Z as useExternalAccounts, _ as useFeatureAllowlist, $ as useFeaturedProfile, a0 as useFollow, a1 as useFollowers, a2 as useFollowing, a3 as useFollowingFeed, a4 as useFollowingList, a5 as useHeatmapData, a6 as useHiddenApps, a7 as useHideKeytraceClaim, a8 as useHideOrcidPublication, a9 as useHideProfileItem, aa as useHideSifaPublication, ab as useHideStandardPublication, ac as useImportSearchEntities, ad as useLinkSkillToPosition, ae as useMintEntityDomain, af as useMutuals, ag as useMyRoadmapVotes, ah as useNetworkStreamCount, ai as useProfile, aj as useReactionStatus, ak as useRefreshOrcidPublications, al as useRefreshPds, am as useRemoveFeatureAllowlist, an as useResetProfile, ao as useResolveEntityDomain, ap as useRetractRoadmapVote, aq as useRevealMarqueDomain, ar as useRoadmapVotes, as as useSearchFilters, at as useSearchProfiles, au as useSelectEntity, av as useSetExternalAccountPrimary, aw as useSetPositionPrimary, ax as useSifaConfig, ay as useSimilarProfiles, az as useSkillSuggestions, aA as useStats, aB as useSuggestionCount, aC as useSuggestions, aD as useUnfollow, aE as useUnhideKeytraceClaim, aF as useUnhideOrcidPublication, aG as useUnhideProfileItem, aH as useUnhideSifaPublication, aI as useUnhideStandardPublication, aJ as useUnlinkSkillFromPosition, aK as useUnrevealMarqueDomain, aL as useUnsetExternalAccountPrimary, aM as useUnsetPositionPrimary, aN as useUpdateEducation, aO as useUpdateExternalAccount, aP as useUpdatePosition, aQ as useUpdateProfileLocation, aR as useUpdateProfileOverride, aS as useUpdateProfileSelf, aT as useUpdateRecord, aU as useUpdateSkill, aV as useUploadAvatar, aW as useVerifyExternalAccount } from '../index-iAzeLOcz.js';
4
- export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchNetworkMap, s as fetchNetworkStreamCount, t as fetchProfile, u as hideKeytraceClaim, v as importSearchEntities, w as initiateNetworkMapGeneration, x as isNetworkMapResponse, y as linkSkillToPosition, z as mintEntityDomain, A as resolveEntityDomain, B as revealMarqueDomain, C as selectEntity, D as setPositionPrimary, E as unhideKeytraceClaim, G as unlinkSkillFromPosition, H as unrevealMarqueDomain, I as unsetPositionPrimary, J as updateEducation, K as updatePosition, L as updateRecord, M as updateSkill } from '../index-IMvNS08M.js';
5
- import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-DDGP8W1e.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-Bxz__jbx.js';
2
+ export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R as OrgClaimBinding, T as OrgClaimResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult, Z as OrgProfileEcho, _ as OrgProfileUpdateResult, $ as ProfileIndustryInput, a0 as ProfileLocationAddress, a1 as ProfileLocationInput, a2 as ProfileSearchResult, a3 as ProfileSelfLocation, a4 as QUOTED_POSTS_BATCH_MAX, a5 as QuotedPostAuthor, a6 as QuotedPostImage, a7 as QuotedPostResult, a8 as QuotedPostView, a9 as ReactionError, aa as ReactionResult, ab as ReactionStatus, ac as RefreshOrcidPublicationsResult, ad as RefreshPdsResult, ae as ResolveQuotedPostsOptions, af as RoadmapVoteError, ag as RoadmapVoteResult, ah as RoadmapVoter, ai as RoadmapVotesResponse, aj as SearchFilters, ak as SearchResponse, al as SifaQueryKey, am as SimilarProfile, an as SkillSearchResult, ao as StatsResponse, ap as SuggestionProfile, aq as SuggestionsResponse, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, au as VerifyExternalAccountResult, av as addFeatureAllowlist, aw as addOrgNotificationEmail, ax as apiFetch, ay as apiFetchOrNull, az as apiWrite, aA as apiWriteCreate, aB as bulkHideProfileItems, aC as bulkHideStandardPublications, aD as bulkUnhideProfileItems, aE as bulkUnhideStandardPublications, aF as castRoadmapVote, aG as checkAppAccount, aH as createEndorsement, aI as createExternalAccount, aJ as createProfileLocation, aK as createReaction, aL as deleteAccount, aM as deleteAvatarOverride, aN as deleteExternalAccount, aO as deleteProfileLocation, aP as deleteReaction, aQ as fetchActivityFeed, aR as fetchActivityTeaser, aS as fetchAppsRegistry, aT as fetchExternalAccounts, aU as fetchFeaturedProfile, aV as fetchFollowing, aW as fetchHeatmapData, aX as fetchHiddenApps, aY as fetchMyRoadmapVotes, aZ as fetchReactionStatus, a_ as fetchRoadmapVotes, a$ as fetchSearchFilters, b0 as fetchSearchProfiles, b1 as fetchSimilarProfiles, b2 as fetchSkillSuggestions, b3 as fetchStats, b4 as fetchSuggestionCount, b5 as fetchSuggestions, b6 as followUser, b7 as getBlueskySuggestions, b8 as getFollowers, b9 as getFollowing, ba as getFollowingFeed, bb as getMutuals, bc as hideOrcidPublication, bd as hideProfileItem, be as hideSifaPublication, bf as hideStandardPublication, bg as listFeatureAllowlist, bh as refreshOrcidPublications, bi as refreshPds, bj as removeFeatureAllowlist, bk as removeOrgNotificationEmail, bl as requestOrgDomainChallenge, bm as resetProfile, bn as resolveQuotedPosts, bo as retractRoadmapVote, bp as searchSkills, bq as setExternalAccountPrimary, br as submitOrgClaim, bs as unfollowUser, bt as unhideOrcidPublication, bu as unhideProfileItem, bv as unhideSifaPublication, bw as unhideStandardPublication, bx as unsetExternalAccountPrimary, by as updateExternalAccount, bz as updateOrgProfile, bA as updateProfileLocation, bB as updateProfileOverride, bC as updateProfileSelf, bD as uploadAvatar, bE as verifyExternalAccount, bF as verifyOrgDomain } from '../org-Bxz__jbx.js';
3
+ export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m as useAddOrgNotificationEmail, n as useAppAccountCheck, o as useAppsRegistry, p as useAtFundLink, q as useBlueskySuggestions, r as useBulkHideProfileItems, s as useBulkHideStandardPublications, t as useBulkUnhideProfileItems, v as useBulkUnhideStandardPublications, w as useCanonicalSkillSearch, x as useCastRoadmapVote, y as useCreateEducation, z as useCreateEndorsement, B as useCreateExternalAccount, E as useCreatePosition, G as useCreateProfileLocation, H as useCreateReaction, I as useCreateRecord, J as useCreateSkill, K as useDebouncedValue, L as useDeleteAccount, M as useDeleteAvatarOverride, N as useDeleteEducation, O as useDeleteExternalAccount, Q as useDeletePosition, T as useDeleteProfileLocation, V as useDeleteReaction, W as useDeleteRecord, X as useDeleteSkill, Y as useEndorsementCount, Z as useEntitySearch, _ as useExternalAccounts, $ as useFeatureAllowlist, a0 as useFeaturedProfile, a1 as useFollow, a2 as useFollowers, a3 as useFollowing, a4 as useFollowingFeed, a5 as useFollowingList, a6 as useGetProfileView, a7 as useHeatmapData, a8 as useHiddenApps, a9 as useHideKeytraceClaim, aa as useHideOrcidPublication, ab as useHideProfileItem, ac as useHideSifaPublication, ad as useHideStandardPublication, ae as useImportSearchEntities, af as useLinkSkillToPosition, ag as useMintEntityDomain, ah as useMutuals, ai as useMyRoadmapVotes, aj as useNetworkStreamCount, ak as useOrgClaim, al as useOrgDomainChallenge, am as useOrgDomainVerify, an as useOrgProfile, ao as useProfile, ap as useReactionStatus, aq as useRefreshOrcidPublications, ar as useRefreshPds, as as useRemoveFeatureAllowlist, at as useRemoveOrgNotificationEmail, au as useResetProfile, av as useResolveEntityDomain, aw as useRetractRoadmapVote, ax as useRevealMarqueDomain, ay as useRoadmapVotes, az as useSearchFilters, aA as useSearchProfiles, aB as useSelectEntity, aC as useSetExternalAccountPrimary, aD as useSetPositionPrimary, aE as useSifaConfig, aF as useSimilarProfiles, aG as useSkillSuggestions, aH as useStats, aI as useSuggestionCount, aJ as useSuggestions, aK as useUnfollow, aL as useUnhideKeytraceClaim, aM as useUnhideOrcidPublication, aN as useUnhideProfileItem, aO as useUnhideSifaPublication, aP as useUnhideStandardPublication, aQ as useUnlinkSkillFromPosition, aR as useUnrevealMarqueDomain, aS as useUnsetExternalAccountPrimary, aT as useUnsetPositionPrimary, aU as useUpdateEducation, aV as useUpdateExternalAccount, aW as useUpdateOrgProfile, aX as useUpdatePosition, aY as useUpdateProfileLocation, aZ as useUpdateProfileOverride, a_ as useUpdateProfileSelf, a$ as useUpdateRecord, b0 as useUpdateSkill, b1 as useUploadAvatar, b2 as useVerifyExternalAccount } from '../index-m5MELVUQ.js';
4
+ export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as hideKeytraceClaim, w as importSearchEntities, x as initiateNetworkMapGeneration, y as isNetworkMapResponse, z as linkSkillToPosition, A as mintEntityDomain, B as resolveEntityDomain, C as revealMarqueDomain, D as selectEntity, E as setPositionPrimary, G as unhideKeytraceClaim, H as unlinkSkillFromPosition, I as unrevealMarqueDomain, J as unsetPositionPrimary, K as updateEducation, L as updatePosition, M as updateRecord, O as updateSkill } from '../index-C1SIpwOj.js';
5
+ import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BOY_T6j3.js';
6
6
  import * as _tanstack_react_query from '@tanstack/react-query';
7
7
  import { UseQueryOptions } from '@tanstack/react-query';
8
8
  import '../feed-D2ZV8Eaj.js';
9
9
  import 'zod';
10
+ import '../org-settings-CmaSX5ZI.js';
10
11
  import 'react';
11
12
 
12
13
  /**
@@ -146,6 +146,19 @@ async function fetchAtFundLink(config, did, options = {}) {
146
146
  }
147
147
  }
148
148
 
149
+ // src/query/fetchers/get-profile-view.ts
150
+ async function fetchGetProfileView(config, actor, options = {}) {
151
+ const path = `/xrpc/id.sifa.getProfileView?actor=${encodeIdentifier(actor)}`;
152
+ try {
153
+ return await apiFetch(config, path, { retryOn429: true, ...options });
154
+ } catch (e) {
155
+ if (e instanceof ApiError && e.status === 400 && typeof e.body === "object" && e.body !== null && e.body.error === "ProfileNotFound") {
156
+ return null;
157
+ }
158
+ throw e;
159
+ }
160
+ }
161
+
149
162
  // src/query/fetchers/profile-mutations.ts
150
163
  function updateProfileSelf(config, data, options = {}) {
151
164
  return apiWrite(config, "/api/profile/self", "PUT", { body: data, ...options });
@@ -1230,6 +1243,7 @@ var sifaQueryKeys = {
1230
1243
  all: () => ["sifa", "profile"],
1231
1244
  byHandle: (handleOrDid) => ["sifa", "profile", handleOrDid],
1232
1245
  atFundLink: (did) => ["sifa", "profile", "at-fund-link", did],
1246
+ view: (actor) => ["sifa", "profile", "view", actor],
1233
1247
  externalAccounts: (handleOrDid) => ["sifa", "profile", "external-accounts", handleOrDid]
1234
1248
  },
1235
1249
  position: {
@@ -1325,6 +1339,15 @@ function useAtFundLink(did, options) {
1325
1339
  ...options
1326
1340
  });
1327
1341
  }
1342
+ function useGetProfileView(actor, options) {
1343
+ const config = useSifaConfig();
1344
+ return useQuery({
1345
+ queryKey: sifaQueryKeys.profile.view(actor ?? ""),
1346
+ queryFn: () => fetchGetProfileView(config, actor ?? ""),
1347
+ enabled: Boolean(actor) && (options?.enabled ?? true),
1348
+ ...options
1349
+ });
1350
+ }
1328
1351
  async function invalidateProfile(queryClient, ownerHandleOrDid) {
1329
1352
  await queryClient.invalidateQueries({
1330
1353
  queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
@@ -2538,6 +2561,115 @@ function useUpdateBskyContentLabelPrefs() {
2538
2561
  });
2539
2562
  }
2540
2563
 
2541
- export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchHeatmapData, fetchHiddenApps, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyRoadmapVotes, useNetworkStreamCount, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUploadAvatar, useVerifyExternalAccount, verifyExternalAccount };
2564
+ // src/query/fetchers/org.ts
2565
+ function submitOrgClaim(config, body, options = {}) {
2566
+ return apiWrite(config, "/api/org/claim", "POST", { body, ...options });
2567
+ }
2568
+ function updateOrgProfile(config, body, options = {}) {
2569
+ return apiWrite(config, "/api/org/profile", "PUT", {
2570
+ body,
2571
+ ...options
2572
+ });
2573
+ }
2574
+ function requestOrgDomainChallenge(config, body, options = {}) {
2575
+ return apiWrite(config, "/api/org/domains/challenge", "POST", {
2576
+ body,
2577
+ ...options
2578
+ });
2579
+ }
2580
+ function verifyOrgDomain(config, body, options = {}) {
2581
+ return apiWrite(config, "/api/org/domains/verify", "POST", {
2582
+ body,
2583
+ ...options
2584
+ });
2585
+ }
2586
+ function addOrgNotificationEmail(config, body, options = {}) {
2587
+ return apiWrite(
2588
+ config,
2589
+ "/api/org/notification-emails",
2590
+ "POST",
2591
+ { body, ...options }
2592
+ );
2593
+ }
2594
+ function removeOrgNotificationEmail(config, body, options = {}) {
2595
+ return apiWrite(
2596
+ config,
2597
+ "/api/org/notification-emails",
2598
+ "DELETE",
2599
+ { body, ...options }
2600
+ );
2601
+ }
2602
+ function useOrgProfile(handleOrDid, options) {
2603
+ const config = useSifaConfig();
2604
+ return useQuery({
2605
+ queryKey: sifaQueryKeys.profile.byHandle(handleOrDid ?? ""),
2606
+ queryFn: () => fetchProfile(config, handleOrDid ?? ""),
2607
+ enabled: Boolean(handleOrDid) && (options?.enabled ?? true),
2608
+ select: (profile) => profile?.org ?? null,
2609
+ ...options
2610
+ });
2611
+ }
2612
+ function useOrgClaim(handleOrDid, options) {
2613
+ const config = useSifaConfig();
2614
+ const queryClient = useQueryClient();
2615
+ return useMutation({
2616
+ mutationFn: (body) => submitOrgClaim(config, body),
2617
+ onSuccess: async (result, variables, onMutateResult, context) => {
2618
+ if (result.success && handleOrDid) {
2619
+ await queryClient.invalidateQueries({
2620
+ queryKey: sifaQueryKeys.profile.byHandle(handleOrDid)
2621
+ });
2622
+ }
2623
+ await options?.onSuccess?.(result, variables, onMutateResult, context);
2624
+ },
2625
+ ...options
2626
+ });
2627
+ }
2628
+ function useUpdateOrgProfile(handleOrDid, options) {
2629
+ const config = useSifaConfig();
2630
+ const queryClient = useQueryClient();
2631
+ return useMutation({
2632
+ mutationFn: (body) => updateOrgProfile(config, body),
2633
+ onSuccess: async (result, variables, onMutateResult, context) => {
2634
+ if (result.success && handleOrDid) {
2635
+ await queryClient.invalidateQueries({
2636
+ queryKey: sifaQueryKeys.profile.byHandle(handleOrDid)
2637
+ });
2638
+ }
2639
+ await options?.onSuccess?.(result, variables, onMutateResult, context);
2640
+ },
2641
+ ...options
2642
+ });
2643
+ }
2644
+ function useOrgDomainChallenge(options) {
2645
+ const config = useSifaConfig();
2646
+ return useMutation({
2647
+ mutationFn: (body) => requestOrgDomainChallenge(config, body),
2648
+ ...options
2649
+ });
2650
+ }
2651
+ function useOrgDomainVerify(options) {
2652
+ const config = useSifaConfig();
2653
+ return useMutation({
2654
+ mutationFn: (body) => verifyOrgDomain(config, body),
2655
+ ...options
2656
+ });
2657
+ }
2658
+ function useAddOrgNotificationEmail(options) {
2659
+ const config = useSifaConfig();
2660
+ return useMutation({
2661
+ mutationFn: (body) => addOrgNotificationEmail(config, body),
2662
+ ...options
2663
+ });
2664
+ }
2665
+ function useRemoveOrgNotificationEmail(options) {
2666
+ const config = useSifaConfig();
2667
+ return useMutation({
2668
+ mutationFn: (body) => removeOrgNotificationEmail(config, body),
2669
+ ...options
2670
+ });
2671
+ }
2672
+
2673
+ export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAddOrgNotificationEmail, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUploadAvatar, useVerifyExternalAccount, verifyExternalAccount, verifyOrgDomain };
2542
2674
  //# sourceMappingURL=index.js.map
2543
2675
  //# sourceMappingURL=index.js.map