@singi-labs/sifa-sdk 0.12.37 → 0.12.39

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 (49) hide show
  1. package/dist/badge/index.cjs +3 -0
  2. package/dist/badge/index.cjs.map +1 -1
  3. package/dist/badge/index.js +3 -0
  4. package/dist/badge/index.js.map +1 -1
  5. package/dist/{index-G5HiA-nk.d.cts → index-BPImvVQq.d.cts} +44 -2
  6. package/dist/{index-N0-ctbY1.d.ts → index-C1szgnQc.d.ts} +44 -2
  7. package/dist/{index-C-TwdQWh.d.cts → index-CO3z2uAZ.d.cts} +1 -1
  8. package/dist/{index-DzjbfKwZ.d.ts → index-DyffAaPT.d.ts} +1 -1
  9. package/dist/index.cjs +10 -3
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +1 -1
  12. package/dist/index.d.ts +1 -1
  13. package/dist/index.js +10 -4
  14. package/dist/index.js.map +1 -1
  15. package/dist/{org-OPyzh-oe.d.cts → org-DPfmXSYv.d.cts} +24 -2
  16. package/dist/{org-BFi9g37U.d.ts → org-dEe3TbBJ.d.ts} +24 -2
  17. package/dist/publishing/index.cjs +3 -0
  18. package/dist/publishing/index.cjs.map +1 -1
  19. package/dist/publishing/index.js +3 -0
  20. package/dist/publishing/index.js.map +1 -1
  21. package/dist/query/fetchers/index.cjs +32 -2
  22. package/dist/query/fetchers/index.cjs.map +1 -1
  23. package/dist/query/fetchers/index.d.cts +2 -2
  24. package/dist/query/fetchers/index.d.ts +2 -2
  25. package/dist/query/fetchers/index.js +30 -3
  26. package/dist/query/fetchers/index.js.map +1 -1
  27. package/dist/query/hooks/index.cjs +8 -2
  28. package/dist/query/hooks/index.cjs.map +1 -1
  29. package/dist/query/hooks/index.d.cts +2 -2
  30. package/dist/query/hooks/index.d.ts +2 -2
  31. package/dist/query/hooks/index.js +8 -2
  32. package/dist/query/hooks/index.js.map +1 -1
  33. package/dist/query/index.cjs +83 -2
  34. package/dist/query/index.cjs.map +1 -1
  35. package/dist/query/index.d.cts +28 -6
  36. package/dist/query/index.d.ts +28 -6
  37. package/dist/query/index.js +78 -3
  38. package/dist/query/index.js.map +1 -1
  39. package/dist/schemas/index.cjs +9 -2
  40. package/dist/schemas/index.cjs.map +1 -1
  41. package/dist/schemas/index.d.cts +12 -3
  42. package/dist/schemas/index.d.ts +12 -3
  43. package/dist/schemas/index.js +9 -3
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/schemas/write/index.cjs +3 -0
  46. package/dist/schemas/write/index.cjs.map +1 -1
  47. package/dist/schemas/write/index.js +3 -0
  48. package/dist/schemas/write/index.js.map +1 -1
  49. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, A as ApiFetchOptions, 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 FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, S as SifaApiConfig, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, av as SuggestionProfile, aw as SuggestionsResponse, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, aA as VerifyExternalAccountResult, aB as WipePreview, W as WriteResult, aC as addFeatureAllowlist, aD as addOrgNotificationEmail, aE as apiFetch, aF as apiFetchOrNull, aG as apiWrite, aH as apiWriteCreate, aI as bulkHideProfileItems, aJ as bulkHideStandardPublications, aK as bulkUnhideProfileItems, aL as bulkUnhideStandardPublications, aM as castRoadmapVote, aN as checkAppAccount, aO as createEndorsement, aP as createExternalAccount, aQ as createProfileLocation, aR as createReaction, aS as createSkill, aT as deleteAccount, aU as deleteAvatarOverride, aV as deleteExternalAccount, aW as deleteProfileLocation, aX as deleteReaction, aY as deleteSkill, aZ as fetchActivityFeed, a_ as fetchActivityTeaser, a$ as fetchAppsRegistry, b0 as fetchExternalAccounts, b1 as fetchFeaturedProfile, b2 as fetchFollowing, b3 as fetchHeatmapData, b4 as fetchHiddenApps, b5 as fetchMyGithubPullRequests, b6 as fetchMyRoadmapVotes, b7 as fetchReactionStatus, b8 as fetchRoadmapVotes, b9 as fetchSearchFilters, ba as fetchSearchProfiles, bb as fetchSimilarProfiles, bc as fetchSkillSuggestions, bd as fetchStats, be as fetchSuggestionCount, bf as fetchSuggestions, bg as fetchWipePreview, bh as followUser, bi as getBlueskySuggestions, bj as getFollowers, bk as getFollowing, bl as getFollowingFeed, bm as getMutuals, bn as hideOrcidPublication, bo as hideProfileItem, bp as hideSifaPublication, bq as hideStandardPublication, br as listFeatureAllowlist, bs as refreshOrcidPublications, bt as refreshPds, bu as removeFeatureAllowlist, bv as removeOrgNotificationEmail, bw as requestOrgDomainChallenge, bx as resetProfile, by as resolveQuotedPosts, bz as retractRoadmapVote, bA as searchSkills, bB as setExternalAccountPrimary, s as sifaQueryKeys, bC as submitOrgClaim, bD as unfollowUser, bE as unhideOrcidPublication, bF as unhideProfileItem, bG as unhideSifaPublication, bH as unhideStandardPublication, bI as unsetExternalAccountPrimary, bJ as updateExternalAccount, bK as updateOrgProfile, bL as updateProfileLocation, bM as updateProfileOverride, bN as updateProfileSelf, bO as updateSkill, bQ as uploadAvatar, bR as verifyExternalAccount, bS as verifyOrgDomain } from '../../org-OPyzh-oe.cjs';
2
- 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 deleteEducation, k as deletePosition, l as deleteRecord, m as fetchAtFundLink, n as fetchEndorsementCount, o as fetchEntitySearch, p as fetchGetProfileView, q as fetchNetworkMap, r as fetchNetworkStreamCount, s as fetchProfile, t as fetchProfileSummary, u as hideKeytraceClaim, v as importSearchEntities, w as initiateNetworkMapGeneration, x as isNetworkMapResponse, y as linkSkillToPosition, 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 } from '../../index-G5HiA-nk.cjs';
1
+ export { b as AccountCheckResult, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as ApiError, A as ApiFetchOptions, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, a as ConfirmEndorsementInput, k as CreateExternalAccountResult, C as CreateResult, D as DeleteAccountResult, E as EndorsementInput, l as ExternalAccountInput, F as FeatureAllowlistResponse, m as FeaturedProfile, n as FetchActivityFeedOptions, o as FetchActivityTeaserOptions, p as FetchFollowListOptions, q as FetchFollowProfilePageOptions, r as FetchFollowingFeedOptions, t as FetchHiddenAppsOptions, u as FetchMyGithubPullRequestsOptions, v as FetchMyRoadmapVotesOptions, w as FetchReactionStatusOptions, x as FetchSuggestionsOptions, y as FilterOptions, z as FollowListPage, G as FollowProfile, H as FollowProfilePageResponse, I as FollowUserResult, J as FollowingResponse, K as GithubPullRequest, L as HIDDEN_ITEM_SOURCES, M as HIDDEN_ITEM_TYPES, N as HeatmapDay, O as HeatmapResponse, P as HiddenApp, Q as HiddenItemSource, R as HiddenItemType, T as HideProfileItemInput, U as ListFeatureAllowlistOptions, V as MyGithubPullRequestsResponse, X as OrgClaimBinding, Y as OrgClaimResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult, a1 as OrgProfileEcho, a2 as OrgProfileUpdateResult, a3 as PdsWipeOutcome, a4 as ProfileIndustryInput, a5 as ProfileLocationAddress, a6 as ProfileLocationInput, a7 as ProfileSearchResult, a8 as ProfileSelfLocation, a9 as QUOTED_POSTS_BATCH_MAX, aa as QuotedPostAuthor, ab as QuotedPostImage, ac as QuotedPostResult, ad as QuotedPostView, ae as ReactionError, af as ReactionResult, ag as ReactionStatus, ah as RefreshOrcidPublicationsResult, ai as RefreshPdsResult, aj as ResetProfileResult, ak as ResolveQuotedPostsOptions, al as RoadmapVoteError, am as RoadmapVoteResult, an as RoadmapVoter, ao as RoadmapVotesResponse, ap as SearchFilters, aq as SearchResponse, S as SifaApiConfig, ar as SifaQueryKey, as as SimilarProfile, at as SkillSearchResult, au as StatsResponse, aw as SuggestionProfile, ax as SuggestionsResponse, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, aB as VerifyExternalAccountResult, aC as WipePreview, W as WriteResult, aD as addFeatureAllowlist, aE as addOrgNotificationEmail, aF as apiFetch, aG as apiFetchOrNull, aH as apiWrite, aI as apiWriteCreate, aJ as bulkHideProfileItems, aK as bulkHideStandardPublications, aL as bulkUnhideProfileItems, aM as bulkUnhideStandardPublications, aN as castRoadmapVote, aO as checkAppAccount, aP as confirmEndorsement, aQ as createEndorsement, aR as createExternalAccount, aS as createProfileLocation, aT as createReaction, aU as createSkill, aV as deleteAccount, aW as deleteAvatarOverride, aX as deleteExternalAccount, aY as deleteProfileLocation, aZ as deleteReaction, a_ as deleteSkill, a$ as fetchActivityFeed, b0 as fetchActivityTeaser, b1 as fetchAppsRegistry, b2 as fetchExternalAccounts, b3 as fetchFeaturedProfile, b4 as fetchFollowing, b5 as fetchHeatmapData, b6 as fetchHiddenApps, b7 as fetchMyGithubPullRequests, b8 as fetchMyRoadmapVotes, b9 as fetchReactionStatus, ba as fetchRoadmapVotes, bb as fetchSearchFilters, bc as fetchSearchProfiles, bd as fetchSimilarProfiles, be as fetchSkillSuggestions, bf as fetchStats, bg as fetchSuggestionCount, bh as fetchSuggestions, bi as fetchWipePreview, bj as followUser, bk as getBlueskySuggestions, bl as getFollowers, bm as getFollowing, bn as getFollowingFeed, bo as getMutuals, bp as hideOrcidPublication, bq as hideProfileItem, br as hideSifaPublication, bs as hideStandardPublication, bt as listFeatureAllowlist, bu as refreshOrcidPublications, bv as refreshPds, bw as removeFeatureAllowlist, bx as removeOrgNotificationEmail, by as requestOrgDomainChallenge, bz as resetProfile, bA as resolveQuotedPosts, bB as retractRoadmapVote, bC as searchSkills, bD as setExternalAccountPrimary, s as sifaQueryKeys, bE as submitOrgClaim, bF as unfollowUser, bG as unhideOrcidPublication, bH as unhideProfileItem, bI as unhideSifaPublication, bJ as unhideStandardPublication, bK as unsetExternalAccountPrimary, bL as updateExternalAccount, bM as updateOrgProfile, bN as updateProfileLocation, bO as updateProfileOverride, bP as updateProfileSelf, bQ as updateSkill, bS as uploadAvatar, bT as verifyExternalAccount, bU as verifyOrgDomain } from '../../org-DPfmXSYv.cjs';
2
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, P as PendingEndorsementsPage, g as checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../../index-BPImvVQq.cjs';
3
3
  import '../../adult-content-BQoId34F.cjs';
4
4
  import '../../feed-C8aHEPw4.cjs';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
- export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, A as ApiFetchOptions, 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 FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, S as SifaApiConfig, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, av as SuggestionProfile, aw as SuggestionsResponse, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, aA as VerifyExternalAccountResult, aB as WipePreview, W as WriteResult, aC as addFeatureAllowlist, aD as addOrgNotificationEmail, aE as apiFetch, aF as apiFetchOrNull, aG as apiWrite, aH as apiWriteCreate, aI as bulkHideProfileItems, aJ as bulkHideStandardPublications, aK as bulkUnhideProfileItems, aL as bulkUnhideStandardPublications, aM as castRoadmapVote, aN as checkAppAccount, aO as createEndorsement, aP as createExternalAccount, aQ as createProfileLocation, aR as createReaction, aS as createSkill, aT as deleteAccount, aU as deleteAvatarOverride, aV as deleteExternalAccount, aW as deleteProfileLocation, aX as deleteReaction, aY as deleteSkill, aZ as fetchActivityFeed, a_ as fetchActivityTeaser, a$ as fetchAppsRegistry, b0 as fetchExternalAccounts, b1 as fetchFeaturedProfile, b2 as fetchFollowing, b3 as fetchHeatmapData, b4 as fetchHiddenApps, b5 as fetchMyGithubPullRequests, b6 as fetchMyRoadmapVotes, b7 as fetchReactionStatus, b8 as fetchRoadmapVotes, b9 as fetchSearchFilters, ba as fetchSearchProfiles, bb as fetchSimilarProfiles, bc as fetchSkillSuggestions, bd as fetchStats, be as fetchSuggestionCount, bf as fetchSuggestions, bg as fetchWipePreview, bh as followUser, bi as getBlueskySuggestions, bj as getFollowers, bk as getFollowing, bl as getFollowingFeed, bm as getMutuals, bn as hideOrcidPublication, bo as hideProfileItem, bp as hideSifaPublication, bq as hideStandardPublication, br as listFeatureAllowlist, bs as refreshOrcidPublications, bt as refreshPds, bu as removeFeatureAllowlist, bv as removeOrgNotificationEmail, bw as requestOrgDomainChallenge, bx as resetProfile, by as resolveQuotedPosts, bz as retractRoadmapVote, bA as searchSkills, bB as setExternalAccountPrimary, s as sifaQueryKeys, bC as submitOrgClaim, bD as unfollowUser, bE as unhideOrcidPublication, bF as unhideProfileItem, bG as unhideSifaPublication, bH as unhideStandardPublication, bI as unsetExternalAccountPrimary, bJ as updateExternalAccount, bK as updateOrgProfile, bL as updateProfileLocation, bM as updateProfileOverride, bN as updateProfileSelf, bO as updateSkill, bQ as uploadAvatar, bR as verifyExternalAccount, bS as verifyOrgDomain } from '../../org-BFi9g37U.js';
2
- 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 deleteEducation, k as deletePosition, l as deleteRecord, m as fetchAtFundLink, n as fetchEndorsementCount, o as fetchEntitySearch, p as fetchGetProfileView, q as fetchNetworkMap, r as fetchNetworkStreamCount, s as fetchProfile, t as fetchProfileSummary, u as hideKeytraceClaim, v as importSearchEntities, w as initiateNetworkMapGeneration, x as isNetworkMapResponse, y as linkSkillToPosition, 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 } from '../../index-N0-ctbY1.js';
1
+ export { b as AccountCheckResult, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as ApiError, A as ApiFetchOptions, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, a as ConfirmEndorsementInput, k as CreateExternalAccountResult, C as CreateResult, D as DeleteAccountResult, E as EndorsementInput, l as ExternalAccountInput, F as FeatureAllowlistResponse, m as FeaturedProfile, n as FetchActivityFeedOptions, o as FetchActivityTeaserOptions, p as FetchFollowListOptions, q as FetchFollowProfilePageOptions, r as FetchFollowingFeedOptions, t as FetchHiddenAppsOptions, u as FetchMyGithubPullRequestsOptions, v as FetchMyRoadmapVotesOptions, w as FetchReactionStatusOptions, x as FetchSuggestionsOptions, y as FilterOptions, z as FollowListPage, G as FollowProfile, H as FollowProfilePageResponse, I as FollowUserResult, J as FollowingResponse, K as GithubPullRequest, L as HIDDEN_ITEM_SOURCES, M as HIDDEN_ITEM_TYPES, N as HeatmapDay, O as HeatmapResponse, P as HiddenApp, Q as HiddenItemSource, R as HiddenItemType, T as HideProfileItemInput, U as ListFeatureAllowlistOptions, V as MyGithubPullRequestsResponse, X as OrgClaimBinding, Y as OrgClaimResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult, a1 as OrgProfileEcho, a2 as OrgProfileUpdateResult, a3 as PdsWipeOutcome, a4 as ProfileIndustryInput, a5 as ProfileLocationAddress, a6 as ProfileLocationInput, a7 as ProfileSearchResult, a8 as ProfileSelfLocation, a9 as QUOTED_POSTS_BATCH_MAX, aa as QuotedPostAuthor, ab as QuotedPostImage, ac as QuotedPostResult, ad as QuotedPostView, ae as ReactionError, af as ReactionResult, ag as ReactionStatus, ah as RefreshOrcidPublicationsResult, ai as RefreshPdsResult, aj as ResetProfileResult, ak as ResolveQuotedPostsOptions, al as RoadmapVoteError, am as RoadmapVoteResult, an as RoadmapVoter, ao as RoadmapVotesResponse, ap as SearchFilters, aq as SearchResponse, S as SifaApiConfig, ar as SifaQueryKey, as as SimilarProfile, at as SkillSearchResult, au as StatsResponse, aw as SuggestionProfile, ax as SuggestionsResponse, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, aB as VerifyExternalAccountResult, aC as WipePreview, W as WriteResult, aD as addFeatureAllowlist, aE as addOrgNotificationEmail, aF as apiFetch, aG as apiFetchOrNull, aH as apiWrite, aI as apiWriteCreate, aJ as bulkHideProfileItems, aK as bulkHideStandardPublications, aL as bulkUnhideProfileItems, aM as bulkUnhideStandardPublications, aN as castRoadmapVote, aO as checkAppAccount, aP as confirmEndorsement, aQ as createEndorsement, aR as createExternalAccount, aS as createProfileLocation, aT as createReaction, aU as createSkill, aV as deleteAccount, aW as deleteAvatarOverride, aX as deleteExternalAccount, aY as deleteProfileLocation, aZ as deleteReaction, a_ as deleteSkill, a$ as fetchActivityFeed, b0 as fetchActivityTeaser, b1 as fetchAppsRegistry, b2 as fetchExternalAccounts, b3 as fetchFeaturedProfile, b4 as fetchFollowing, b5 as fetchHeatmapData, b6 as fetchHiddenApps, b7 as fetchMyGithubPullRequests, b8 as fetchMyRoadmapVotes, b9 as fetchReactionStatus, ba as fetchRoadmapVotes, bb as fetchSearchFilters, bc as fetchSearchProfiles, bd as fetchSimilarProfiles, be as fetchSkillSuggestions, bf as fetchStats, bg as fetchSuggestionCount, bh as fetchSuggestions, bi as fetchWipePreview, bj as followUser, bk as getBlueskySuggestions, bl as getFollowers, bm as getFollowing, bn as getFollowingFeed, bo as getMutuals, bp as hideOrcidPublication, bq as hideProfileItem, br as hideSifaPublication, bs as hideStandardPublication, bt as listFeatureAllowlist, bu as refreshOrcidPublications, bv as refreshPds, bw as removeFeatureAllowlist, bx as removeOrgNotificationEmail, by as requestOrgDomainChallenge, bz as resetProfile, bA as resolveQuotedPosts, bB as retractRoadmapVote, bC as searchSkills, bD as setExternalAccountPrimary, s as sifaQueryKeys, bE as submitOrgClaim, bF as unfollowUser, bG as unhideOrcidPublication, bH as unhideProfileItem, bI as unhideSifaPublication, bJ as unhideStandardPublication, bK as unsetExternalAccountPrimary, bL as updateExternalAccount, bM as updateOrgProfile, bN as updateProfileLocation, bO as updateProfileOverride, bP as updateProfileSelf, bQ as updateSkill, bS as uploadAvatar, bT as verifyExternalAccount, bU as verifyOrgDomain } from '../../org-dEe3TbBJ.js';
2
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, P as PendingEndorsementsPage, g as checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../../index-C1szgnQc.js';
3
3
  import '../../adult-content-BQoId34F.js';
4
4
  import '../../feed-C8aHEPw4.js';
5
5
  import 'zod';
@@ -67,6 +67,9 @@ async function apiFetch(config, path, options = {}) {
67
67
  }
68
68
  throw new ApiError(`Sifa API ${res.status} on ${path}`, res.status, errBody);
69
69
  }
70
+ if (res.status === 204 || res.status === 205) {
71
+ return void 0;
72
+ }
70
73
  return await res.json();
71
74
  }
72
75
  throw new ApiError(`Sifa API exhausted retries on ${path}`, 429);
@@ -373,7 +376,28 @@ function verifyExternalAccount(config, rkey, options = {}) {
373
376
 
374
377
  // src/query/fetchers/endorsements.ts
375
378
  function createEndorsement(config, data, options = {}) {
376
- return apiWriteCreate(config, "/api/endorsements", data, options);
379
+ return apiWriteCreate(config, "/api/endorsement", data, options);
380
+ }
381
+ function confirmEndorsement(config, data, options = {}) {
382
+ return apiWriteCreate(config, "/api/endorsement/confirm", data, options);
383
+ }
384
+
385
+ // src/query/fetchers/endorsement-inbox.ts
386
+ async function fetchPendingEndorsements(config, options = {}) {
387
+ try {
388
+ const data = await apiFetch(config, "/api/endorsements/pending", {
389
+ cache: "no-store",
390
+ credentials: "include",
391
+ timeoutMs: 5e3,
392
+ ...options
393
+ });
394
+ return { endorsements: data?.endorsements ?? [], cursor: data?.cursor };
395
+ } catch {
396
+ return { endorsements: [] };
397
+ }
398
+ }
399
+ function dismissEndorsement(config, data, options = {}) {
400
+ return apiWrite(config, "/api/endorsement/dismiss", "POST", { body: data, ...options });
377
401
  }
378
402
 
379
403
  // src/query/fetchers/keytrace-claims.ts
@@ -1398,7 +1422,10 @@ var sifaQueryKeys = {
1398
1422
  },
1399
1423
  endorsement: {
1400
1424
  all: () => ["sifa", "endorsement"],
1401
- count: (did) => ["sifa", "endorsement", "count", did]
1425
+ count: (did) => ["sifa", "endorsement", "count", did],
1426
+ // Scoped to the session rather than a DID -- the AppView reads the subject
1427
+ // from the session cookie, so there is only ever one inbox per client.
1428
+ pending: () => ["sifa", "endorsement", "pending"]
1402
1429
  },
1403
1430
  stream: {
1404
1431
  all: () => ["sifa", "stream"],
@@ -1424,6 +1451,6 @@ var sifaQueryKeys = {
1424
1451
  }
1425
1452
  };
1426
1453
 
1427
- export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, 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, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, verifyExternalAccount, verifyOrgDomain };
1454
+ export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, confirmEndorsement, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, dismissEndorsement, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingEndorsements, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, verifyExternalAccount, verifyOrgDomain };
1428
1455
  //# sourceMappingURL=index.js.map
1429
1456
  //# sourceMappingURL=index.js.map