@singi-labs/sifa-sdk 0.19.112 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/badge/index.cjs.map +1 -1
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.d.cts +3 -3
  4. package/dist/index.d.ts +3 -3
  5. package/dist/index.js +1 -1
  6. package/dist/{network-map-CrkLq2Gz.d.ts → network-map-2OKh3wSB.d.ts} +2 -2
  7. package/dist/{network-map-BwM-Wvxt.d.cts → network-map-DJonNOl0.d.cts} +2 -2
  8. package/dist/{profile-summary-TkVxvll4.d.cts → profile-summary-BCOKt3qS.d.cts} +1 -1
  9. package/dist/{profile-summary-CwJymH9d.d.ts → profile-summary-DF8-evvA.d.ts} +1 -1
  10. package/dist/query/client.js +2 -1
  11. package/dist/query/client.js.map +1 -1
  12. package/dist/query/fetchers/index.cjs +2 -1
  13. package/dist/query/fetchers/index.cjs.map +1 -1
  14. package/dist/query/fetchers/index.d.cts +5 -5
  15. package/dist/query/fetchers/index.d.ts +5 -5
  16. package/dist/query/fetchers/org.js.map +1 -1
  17. package/dist/query/hooks/index.cjs +2 -1
  18. package/dist/query/hooks/index.cjs.map +1 -1
  19. package/dist/query/hooks/index.d.cts +3 -3
  20. package/dist/query/hooks/index.d.ts +3 -3
  21. package/dist/query/index.cjs +2 -1
  22. package/dist/query/index.cjs.map +1 -1
  23. package/dist/query/index.d.cts +8 -8
  24. package/dist/query/index.d.ts +8 -8
  25. package/dist/resume/index.cjs +148 -24
  26. package/dist/resume/index.cjs.map +1 -1
  27. package/dist/resume/index.d.cts +20 -5
  28. package/dist/resume/index.d.ts +20 -5
  29. package/dist/resume/json-resume.js +67 -5
  30. package/dist/resume/json-resume.js.map +1 -1
  31. package/dist/{types-CQA_vO39.d.ts → types-CkomzDlY.d.ts} +11 -2
  32. package/dist/{types-DMTHqi2m.d.cts → types-JydVIhN5.d.cts} +11 -2
  33. package/dist/{use-user-settings-1zgi6qwl.d.ts → use-user-settings-CrS3ZXoW.d.ts} +2 -2
  34. package/dist/{use-user-settings-BmuAd8D4.d.cts → use-user-settings-YIv1C3qN.d.cts} +2 -2
  35. package/dist/{user-settings-Btvrox4G.d.ts → user-settings-Bvafly0r.d.ts} +3 -2
  36. package/dist/{user-settings-D4vdBf0A.d.cts → user-settings-DWq91Gj-.d.cts} +3 -2
  37. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-DMTHqi2m.cjs';
2
- export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-DMTHqi2m.cjs';
3
- export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-BwM-Wvxt.cjs';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, s as sifaQueryKeys, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../../user-settings-D4vdBf0A.cjs';
1
+ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-JydVIhN5.cjs';
2
+ export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-JydVIhN5.cjs';
3
+ export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-DJonNOl0.cjs';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, s as sifaQueryKeys, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../../user-settings-DWq91Gj-.cjs';
5
5
  import '../../index-BQAKeEoj.cjs';
6
6
  import '../../verification-providers-DeyGqaoC.cjs';
7
7
  import 'zod';
8
8
  import '../../germ-declaration-BQBocGww.cjs';
9
- import '../../profile-summary-TkVxvll4.cjs';
9
+ import '../../profile-summary-BCOKt3qS.cjs';
10
10
  import '../../follow-profile-CgLLLQtJ.cjs';
11
11
  import '../../org-settings-C73Sin5E.cjs';
12
12
 
@@ -1,12 +1,12 @@
1
- import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-CQA_vO39.js';
2
- export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-CQA_vO39.js';
3
- export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-CrkLq2Gz.js';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, s as sifaQueryKeys, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../../user-settings-Btvrox4G.js';
1
+ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-CkomzDlY.js';
2
+ export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-CkomzDlY.js';
3
+ export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-2OKh3wSB.js';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, s as sifaQueryKeys, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../../user-settings-Bvafly0r.js';
5
5
  import '../../index-DDh2RLvx.js';
6
6
  import '../../verification-providers-DeyGqaoC.js';
7
7
  import 'zod';
8
8
  import '../../germ-declaration-BQBocGww.js';
9
- import '../../profile-summary-CwJymH9d.js';
9
+ import '../../profile-summary-DF8-evvA.js';
10
10
  import '../../follow-profile-CVcA2w1v.js';
11
11
  import '../../org-settings-BShvhyFp.js';
12
12
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/query/fetchers/org.ts"],"sourcesContent":["import { apiWrite, type ApiFetchOptions, type SifaApiConfig, type WriteResult } from '../client.js';\nimport type { OrgClaimRequestInput } from '../../schemas/write/org-claim.js';\nimport type {\n OrgDomainChallengeRequestInput,\n OrgDomainVerifyRequestInput,\n OrgNotificationEmailRequestInput,\n OrgProfileUpdateRequestInput,\n} from '../../schemas/write/org-settings.js';\n\n/** How a single entity binding was resolved during a claim. */\nexport interface OrgClaimBinding {\n entityId: number;\n entityRef: string;\n validatedBy: string | null;\n status: 'active' | 'pending';\n dissolved: boolean;\n}\n\n/** The public org-profile echo returned by claim / update endpoints (no `contact`). */\nexport interface OrgProfileEcho {\n name: string;\n description: string | null;\n website: string | null;\n entityRefs: string[];\n}\n\n/** Response body of `POST /api/org/claim`. */\nexport interface OrgClaimResult {\n orgDid: string;\n status: 'active' | 'review';\n bindings: OrgClaimBinding[];\n orgProfile: OrgProfileEcho;\n}\n\n/** Response body of `PUT /api/org/profile`. */\nexport interface OrgProfileUpdateResult {\n ok: boolean;\n orgProfile: OrgProfileEcho;\n}\n\n/** Response body of `POST /api/org/domains/challenge`. */\nexport interface OrgDomainChallengeResult {\n domain: string;\n txtRecordName: string;\n txtRecordValue: string;\n}\n\n/** Response body of `POST /api/org/domains/verify` (happy path). */\nexport interface OrgDomainVerifyResult {\n status: 'verified' | 'pending';\n domain: string;\n}\n\n/** Response body of `POST /api/org/notification-emails`. */\nexport interface OrgNotificationEmailAddResult {\n ok: boolean;\n /**\n * Outcome of the verification email: `verification_sent` (accepted by the\n * mail provider), `sends_paused` (sending is off, nothing went out) or\n * `send_failed` (rejected or unreachable).\n */\n status: 'verification_sent' | 'sends_paused' | 'send_failed';\n}\n\n/** Response body of `DELETE /api/org/notification-emails`. */\nexport interface OrgNotificationEmailRemoveResult {\n ok: boolean;\n removed: number;\n}\n\n/**\n * Finalize an org profile claim (`POST /api/org/claim`). Auth-gated (org-claim\n * JIT scope) and floor-checked server-side. Never throws -- returns the\n * structured {@link OrgClaimResult} folded into a {@link WriteResult} on success,\n * or `{ success: false, error, pdsHost? }` on failure.\n */\nexport function submitOrgClaim(\n config: SifaApiConfig,\n body: OrgClaimRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgClaimResult>>> {\n return apiWrite<Partial<OrgClaimResult>>(config, '/api/org/claim', 'POST', { body, ...options });\n}\n\n/**\n * Edit the org record (`PUT /api/org/profile`). Fresh-from-body server-side PUT\n * (a cleared optional field is dropped, no spread-merge). Never throws.\n */\nexport function updateOrgProfile(\n config: SifaApiConfig,\n body: OrgProfileUpdateRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgProfileUpdateResult>>> {\n return apiWrite<Partial<OrgProfileUpdateResult>>(config, '/api/org/profile', 'PUT', {\n body,\n ...options,\n });\n}\n\n/**\n * Issue a one-time DNS TXT domain challenge (`POST /api/org/domains/challenge`).\n * Returns the TXT record name + value the org must publish. Never throws.\n */\nexport function requestOrgDomainChallenge(\n config: SifaApiConfig,\n body: OrgDomainChallengeRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgDomainChallengeResult>>> {\n return apiWrite<Partial<OrgDomainChallengeResult>>(config, '/api/org/domains/challenge', 'POST', {\n body,\n ...options,\n });\n}\n\n/**\n * Verify a DNS TXT domain challenge (`POST /api/org/domains/verify`). On success\n * `status` is `verified` or `pending`. Expired / confusable / not-found map to\n * non-2xx server responses and surface as `{ success: false, error }`. Never\n * throws.\n */\nexport function verifyOrgDomain(\n config: SifaApiConfig,\n body: OrgDomainVerifyRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgDomainVerifyResult>>> {\n return apiWrite<Partial<OrgDomainVerifyResult>>(config, '/api/org/domains/verify', 'POST', {\n body,\n ...options,\n });\n}\n\n/**\n * Add an org notification email (`POST /api/org/notification-emails`). The\n * address must use a domain the org controls (checked server-side). An\n * individual verification email is enqueued through the (dormant) sending\n * pipeline. Never throws.\n */\nexport function addOrgNotificationEmail(\n config: SifaApiConfig,\n body: OrgNotificationEmailRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgNotificationEmailAddResult>>> {\n return apiWrite<Partial<OrgNotificationEmailAddResult>>(\n config,\n '/api/org/notification-emails',\n 'POST',\n { body, ...options },\n );\n}\n\n/**\n * Remove an org notification email (`DELETE /api/org/notification-emails`).\n * Never throws.\n */\nexport function removeOrgNotificationEmail(\n config: SifaApiConfig,\n body: OrgNotificationEmailRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>> {\n return apiWrite<Partial<OrgNotificationEmailRemoveResult>>(\n config,\n '/api/org/notification-emails',\n 'DELETE',\n { body, ...options },\n );\n}\n"],"mappings":";AAAA,SAAS,gBAA4E;AA4E9E,SAAS,eACd,QACA,MACA,UAAoD,CAAC,GACN;AAC/C,SAAO,SAAkC,QAAQ,kBAAkB,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAC;AACjG;AAMO,SAAS,iBACd,QACA,MACA,UAAoD,CAAC,GACE;AACvD,SAAO,SAA0C,QAAQ,oBAAoB,OAAO;AAAA,IAClF;AAAA,IACA,GAAG;AAAA,EACL,CAAC;AACH;AAMO,SAAS,0BACd,QACA,MACA,UAAoD,CAAC,GACI;AACzD,SAAO,SAA4C,QAAQ,8BAA8B,QAAQ;AAAA,IAC/F;AAAA,IACA,GAAG;AAAA,EACL,CAAC;AACH;AAQO,SAAS,gBACd,QACA,MACA,UAAoD,CAAC,GACC;AACtD,SAAO,SAAyC,QAAQ,2BAA2B,QAAQ;AAAA,IACzF;AAAA,IACA,GAAG;AAAA,EACL,CAAC;AACH;AAQO,SAAS,wBACd,QACA,MACA,UAAoD,CAAC,GACS;AAC9D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA,EAAE,MAAM,GAAG,QAAQ;AAAA,EACrB;AACF;AAMO,SAAS,2BACd,QACA,MACA,UAAoD,CAAC,GACY;AACjE,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA,EAAE,MAAM,GAAG,QAAQ;AAAA,EACrB;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/query/fetchers/org.ts"],"sourcesContent":["import { apiWrite, type ApiFetchOptions, type SifaApiConfig, type WriteResult } from '../client.js';\nimport type { OrgClaimRequestInput } from '../../schemas/write/org-claim.js';\nimport type {\n OrgDomainChallengeRequestInput,\n OrgDomainVerifyRequestInput,\n OrgNotificationEmailRequestInput,\n OrgProfileUpdateRequestInput,\n} from '../../schemas/write/org-settings.js';\n\n/** How a single entity binding was resolved during a claim. */\nexport interface OrgClaimBinding {\n entityId: number;\n entityRef: string;\n validatedBy: string | null;\n status: 'active' | 'pending';\n dissolved: boolean;\n}\n\n/** The public org-profile echo returned by claim / update endpoints (no `contact`). */\nexport interface OrgProfileEcho {\n name: string;\n description: string | null;\n website: string | null;\n entityRefs: string[];\n}\n\n/** Response body of `POST /api/org/claim`. */\nexport interface OrgClaimResult {\n orgDid: string;\n status: 'active' | 'review';\n bindings: OrgClaimBinding[];\n orgProfile: OrgProfileEcho;\n}\n\n/** Response body of `PUT /api/org/profile`. */\nexport interface OrgProfileUpdateResult {\n ok: boolean;\n orgProfile: OrgProfileEcho;\n}\n\n/** Response body of `POST /api/org/domains/challenge`. */\nexport interface OrgDomainChallengeResult {\n domain: string;\n txtRecordName: string;\n txtRecordValue: string;\n}\n\n/** Response body of `POST /api/org/domains/verify` (happy path). */\nexport interface OrgDomainVerifyResult {\n status: 'verified' | 'pending';\n domain: string;\n}\n\n/** Response body of `POST /api/org/notification-emails`. */\nexport interface OrgNotificationEmailAddResult {\n ok: boolean;\n /**\n * Outcome of the verification email: `verification_sent` (accepted by the\n * mail provider), `sends_paused` (sending is off, nothing went out) or\n * `send_failed` (rejected or unreachable).\n */\n status: 'verification_sent' | 'sends_paused' | 'send_failed';\n}\n\n/** Response body of `DELETE /api/org/notification-emails`. */\nexport interface OrgNotificationEmailRemoveResult {\n ok: boolean;\n removed: number;\n}\n\n/**\n * Finalize an org profile claim (`POST /api/org/claim`). Auth-gated (org-claim\n * JIT scope) and floor-checked server-side. Never throws -- returns the\n * structured {@link OrgClaimResult} folded into a {@link WriteResult} on success,\n * or `{ success: false, error, pdsHost?, code? }` on failure. A claim refused for\n * a handle without a custom domain carries `code: 'CustomDomainRequired'`.\n */\nexport function submitOrgClaim(\n config: SifaApiConfig,\n body: OrgClaimRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgClaimResult>>> {\n return apiWrite<Partial<OrgClaimResult>>(config, '/api/org/claim', 'POST', { body, ...options });\n}\n\n/**\n * Edit the org record (`PUT /api/org/profile`). Fresh-from-body server-side PUT\n * (a cleared optional field is dropped, no spread-merge). Never throws.\n */\nexport function updateOrgProfile(\n config: SifaApiConfig,\n body: OrgProfileUpdateRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgProfileUpdateResult>>> {\n return apiWrite<Partial<OrgProfileUpdateResult>>(config, '/api/org/profile', 'PUT', {\n body,\n ...options,\n });\n}\n\n/**\n * Issue a one-time DNS TXT domain challenge (`POST /api/org/domains/challenge`).\n * Returns the TXT record name + value the org must publish. Never throws.\n */\nexport function requestOrgDomainChallenge(\n config: SifaApiConfig,\n body: OrgDomainChallengeRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgDomainChallengeResult>>> {\n return apiWrite<Partial<OrgDomainChallengeResult>>(config, '/api/org/domains/challenge', 'POST', {\n body,\n ...options,\n });\n}\n\n/**\n * Verify a DNS TXT domain challenge (`POST /api/org/domains/verify`). On success\n * `status` is `verified` or `pending`. Expired / confusable / not-found map to\n * non-2xx server responses and surface as `{ success: false, error }`. Never\n * throws.\n */\nexport function verifyOrgDomain(\n config: SifaApiConfig,\n body: OrgDomainVerifyRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgDomainVerifyResult>>> {\n return apiWrite<Partial<OrgDomainVerifyResult>>(config, '/api/org/domains/verify', 'POST', {\n body,\n ...options,\n });\n}\n\n/**\n * Add an org notification email (`POST /api/org/notification-emails`). The\n * address must use a domain the org controls (checked server-side). An\n * individual verification email is enqueued through the (dormant) sending\n * pipeline. Never throws.\n */\nexport function addOrgNotificationEmail(\n config: SifaApiConfig,\n body: OrgNotificationEmailRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgNotificationEmailAddResult>>> {\n return apiWrite<Partial<OrgNotificationEmailAddResult>>(\n config,\n '/api/org/notification-emails',\n 'POST',\n { body, ...options },\n );\n}\n\n/**\n * Remove an org notification email (`DELETE /api/org/notification-emails`).\n * Never throws.\n */\nexport function removeOrgNotificationEmail(\n config: SifaApiConfig,\n body: OrgNotificationEmailRequestInput,\n options: Omit<ApiFetchOptions, 'method' | 'body'> = {},\n): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>> {\n return apiWrite<Partial<OrgNotificationEmailRemoveResult>>(\n config,\n '/api/org/notification-emails',\n 'DELETE',\n { body, ...options },\n );\n}\n"],"mappings":";AAAA,SAAS,gBAA4E;AA6E9E,SAAS,eACd,QACA,MACA,UAAoD,CAAC,GACN;AAC/C,SAAO,SAAkC,QAAQ,kBAAkB,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAC;AACjG;AAMO,SAAS,iBACd,QACA,MACA,UAAoD,CAAC,GACE;AACvD,SAAO,SAA0C,QAAQ,oBAAoB,OAAO;AAAA,IAClF;AAAA,IACA,GAAG;AAAA,EACL,CAAC;AACH;AAMO,SAAS,0BACd,QACA,MACA,UAAoD,CAAC,GACI;AACzD,SAAO,SAA4C,QAAQ,8BAA8B,QAAQ;AAAA,IAC/F;AAAA,IACA,GAAG;AAAA,EACL,CAAC;AACH;AAQO,SAAS,gBACd,QACA,MACA,UAAoD,CAAC,GACC;AACtD,SAAO,SAAyC,QAAQ,2BAA2B,QAAQ;AAAA,IACzF;AAAA,IACA,GAAG;AAAA,EACL,CAAC;AACH;AAQO,SAAS,wBACd,QACA,MACA,UAAoD,CAAC,GACS;AAC9D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA,EAAE,MAAM,GAAG,QAAQ;AAAA,EACrB;AACF;AAMO,SAAS,2BACd,QACA,MACA,UAAoD,CAAC,GACY;AACjE,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA,EAAE,MAAM,GAAG,QAAQ;AAAA,EACrB;AACF;","names":[]}
@@ -126,7 +126,8 @@ function extractWriteError(e) {
126
126
  error: body.message ?? body.error ?? `Request failed (${e.status})`,
127
127
  status: e.status,
128
128
  ...e.retryAfterSeconds !== void 0 ? { retryAfterSeconds: e.retryAfterSeconds } : {},
129
- ...body.pdsHost ? { pdsHost: body.pdsHost } : {}
129
+ ...body.pdsHost ? { pdsHost: body.pdsHost } : {},
130
+ ...typeof body.code === "string" && body.code !== "" ? { code: body.code } : {}
130
131
  };
131
132
  }
132
133
  async function apiWrite(config, path, method, options = {}) {