@singi-labs/sifa-sdk 0.18.14 → 0.18.16

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/{index-DIwi3bpk.d.cts → index-E2qQbMnv.d.cts} +10 -0
  2. package/dist/{index-DIwi3bpk.d.ts → index-E2qQbMnv.d.ts} +10 -0
  3. package/dist/index.cjs +13 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +32 -7
  6. package/dist/index.d.ts +32 -7
  7. package/dist/index.js +13 -2
  8. package/dist/index.js.map +1 -1
  9. package/dist/jsonld/index.d.cts +1 -1
  10. package/dist/jsonld/index.d.ts +1 -1
  11. package/dist/{network-map-DnQvqpqi.d.ts → network-map-BYdQF1tr.d.ts} +8 -4
  12. package/dist/{network-map-8RDsXsr0.d.cts → network-map-BdDqR9-B.d.cts} +8 -4
  13. package/dist/{org-DvnZsZx9.d.ts → org-BftCzySH.d.ts} +31 -3
  14. package/dist/{org-0uCYKpq1.d.cts → org-DhAmipS-.d.cts} +31 -3
  15. package/dist/{profile-investment-CIG7Hy8g.d.cts → profile-investment-vmHROP_v.d.cts} +5 -0
  16. package/dist/{profile-investment-CIG7Hy8g.d.ts → profile-investment-vmHROP_v.d.ts} +5 -0
  17. package/dist/{profile-summary-B9EQmnC7.d.cts → profile-summary-BeiM3TmH.d.cts} +1 -1
  18. package/dist/{profile-summary-nbzILRkf.d.ts → profile-summary-CKAuwczF.d.ts} +1 -1
  19. package/dist/query/fetchers/index.cjs +26 -0
  20. package/dist/query/fetchers/index.cjs.map +1 -1
  21. package/dist/query/fetchers/index.d.cts +6 -6
  22. package/dist/query/fetchers/index.d.ts +6 -6
  23. package/dist/query/fetchers/index.js +24 -1
  24. package/dist/query/fetchers/index.js.map +1 -1
  25. package/dist/query/hooks/index.cjs +106 -24
  26. package/dist/query/hooks/index.cjs.map +1 -1
  27. package/dist/query/hooks/index.d.cts +5 -5
  28. package/dist/query/hooks/index.d.ts +5 -5
  29. package/dist/query/hooks/index.js +104 -25
  30. package/dist/query/hooks/index.js.map +1 -1
  31. package/dist/query/index.cjs +104 -23
  32. package/dist/query/index.cjs.map +1 -1
  33. package/dist/query/index.d.cts +8 -8
  34. package/dist/query/index.d.ts +8 -8
  35. package/dist/query/index.js +99 -24
  36. package/dist/query/index.js.map +1 -1
  37. package/dist/resume/index.d.cts +1 -1
  38. package/dist/resume/index.d.ts +1 -1
  39. package/dist/schemas/index.cjs +5 -0
  40. package/dist/schemas/index.cjs.map +1 -1
  41. package/dist/schemas/index.d.cts +1 -1
  42. package/dist/schemas/index.d.ts +1 -1
  43. package/dist/schemas/index.js +5 -0
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/{types-XejLm3AA.d.cts → types-2qTC_DBy.d.cts} +6 -1
  46. package/dist/{types-DqVbTzXo.d.ts → types-CLrLfvXz.d.ts} +6 -1
  47. package/dist/{use-org-notification-emails-BL2q3Vf2.d.cts → use-org-notification-emails-CR2PDfjF.d.cts} +19 -4
  48. package/dist/{use-org-notification-emails-BznKD18w.d.ts → use-org-notification-emails-CxBtveF9.d.ts} +19 -4
  49. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-DIwi3bpk.cjs';
1
+ import { L as LocationValue } from '../index-E2qQbMnv.cjs';
2
2
 
3
3
  var vocabularies = {
4
4
  schema: "https://schema.org/",
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-DIwi3bpk.js';
1
+ import { L as LocationValue } from '../index-E2qQbMnv.js';
2
2
 
3
3
  var vocabularies = {
4
4
  schema: "https://schema.org/",
@@ -1,7 +1,7 @@
1
- import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-DIwi3bpk.js';
2
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DvnZsZx9.js';
3
- import { n as ProfileView } from './types-DqVbTzXo.js';
4
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-nbzILRkf.js';
1
+ import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-E2qQbMnv.js';
2
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-BftCzySH.js';
3
+ import { n as ProfileView } from './types-CLrLfvXz.js';
4
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CKAuwczF.js';
5
5
  import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.js';
6
6
 
7
7
  /**
@@ -166,6 +166,10 @@ interface PendingEndorsement {
166
166
  * Protocol app -- so the UI needs a fallback for having no name to show.
167
167
  */
168
168
  endorserHandle?: string;
169
+ /** Endorser's display name (Sifa override wins), for naming them without a handle. */
170
+ endorserDisplayName?: string;
171
+ /** Endorser's avatar URL (Sifa override wins). */
172
+ endorserAvatar?: string;
169
173
  rkey: string;
170
174
  /**
171
175
  * AT-URI of the endorsement record. The confirm mutation needs a strongRef,
@@ -1,7 +1,7 @@
1
- import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-DIwi3bpk.cjs';
2
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-0uCYKpq1.cjs';
3
- import { n as ProfileView } from './types-XejLm3AA.cjs';
4
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-B9EQmnC7.cjs';
1
+ import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-E2qQbMnv.cjs';
2
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DhAmipS-.cjs';
3
+ import { n as ProfileView } from './types-2qTC_DBy.cjs';
4
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BeiM3TmH.cjs';
5
5
  import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.cjs';
6
6
 
7
7
  /**
@@ -166,6 +166,10 @@ interface PendingEndorsement {
166
166
  * Protocol app -- so the UI needs a fallback for having no name to show.
167
167
  */
168
168
  endorserHandle?: string;
169
+ /** Endorser's display name (Sifa override wins), for naming them without a handle. */
170
+ endorserDisplayName?: string;
171
+ /** Endorser's avatar URL (Sifa override wins). */
172
+ endorserAvatar?: string;
169
173
  rkey: string;
170
174
  /**
171
175
  * AT-URI of the endorsement record. The confirm mutation needs a strongRef,
@@ -1,6 +1,6 @@
1
- import { p as ExternalAccount, Q as SkillSuggestion } from './index-DIwi3bpk.js';
1
+ import { p as ExternalAccount, Q as SkillSuggestion } from './index-E2qQbMnv.js';
2
2
  import { y as FollowFeedPage, B as FollowProfileItem, q as FeatureAllowlistEntry, s as FeatureFlag } from './feed-BMm9Pkew.js';
3
- import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-DqVbTzXo.js';
3
+ import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-CLrLfvXz.js';
4
4
  import { z } from 'zod';
5
5
  import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-CZ_tmAYl.js';
6
6
 
@@ -208,6 +208,23 @@ declare function uploadNamePronunciationAudio(config: SifaApiConfig, file: Blob,
208
208
  /** Delete the name-pronunciation audio clip from the user's profile. */
209
209
  declare function deleteNamePronunciationAudio(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
210
210
 
211
+ /**
212
+ * Profile sections that support a user-chosen primary item feeding the Highlights
213
+ * block. `position` is excluded: it predates this and keeps its own dedicated
214
+ * endpoint (`setPositionPrimary` / `unsetPositionPrimary` in `positions.ts`).
215
+ */
216
+ type PrimarySection = 'education' | 'publication' | 'presentation' | 'involvement' | 'project';
217
+ /**
218
+ * Mark a section record as the user's primary item for that section. The AppView
219
+ * flips `isPrimary` on the record via the user's OAuth session, clears the flag on
220
+ * any sibling in the same section, and enforces the per-section eligibility rule.
221
+ *
222
+ * Never throws: inspect `result.success` and use `result.error` for UI messaging.
223
+ */
224
+ declare function setSectionPrimary(config: SifaApiConfig, section: PrimarySection, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
225
+ /** Clear the primary flag on a section record. */
226
+ declare function unsetSectionPrimary(config: SifaApiConfig, section: PrimarySection, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
227
+
211
228
  /**
212
229
  * Create a new `id.sifa.profile.skill` record on the authenticated
213
230
  * user's PDS.
@@ -551,6 +568,17 @@ interface FetchUnlinkedPositionsOptions extends ApiFetchOptions {
551
568
  * list degrades to "nothing to link" rather than breaking the hosting surface.
552
569
  */
553
570
  declare function fetchUnlinkedPositions(config: SifaApiConfig, options?: FetchUnlinkedPositionsOptions): Promise<UnlinkedPositionsResult>;
571
+ /** Body accepted by {@link dismissUnlinkedPosition}. */
572
+ interface DismissUnlinkedPositionInput {
573
+ /** rkey of the position whose unlinked-company task to dismiss. */
574
+ rkey: string;
575
+ }
576
+ /**
577
+ * Dismiss the unlinked-company task for one position. Writes nothing to any PDS;
578
+ * it stops the position reappearing in the Inbox (and drops it from the bell
579
+ * count) when there is no company entity worth linking.
580
+ */
581
+ declare function dismissUnlinkedPosition(config: SifaApiConfig, data: DismissUnlinkedPositionInput, options?: ApiFetchOptions): Promise<WriteResult>;
554
582
 
555
583
  /**
556
584
  * The binary profile-completeness signals the AppView tracks. Each maps to a
@@ -1888,4 +1916,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1888
1916
  */
1889
1917
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1890
1918
 
1891
- export { HIDDEN_ITEM_TYPES as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchHiddenActivityItemsOptions as G, type FetchHiddenAppsOptions as H, type FetchInboxCountsOptions as I, type FetchMyGithubPullRequestsOptions as J, type FetchMyRoadmapVotesOptions as K, type FetchProfileCompletenessOptions as L, type FetchReactionStatusOptions as M, type FetchSuggestionsOptions as N, type FetchUnlinkedPositionsOptions as O, type FilterOptions as P, type FollowListPage as Q, type FollowProfile as R, type SifaApiConfig as S, type FollowProfilePageResponse as T, type FollowUserResult as U, type FollowingResponse as V, type WriteResult as W, type GetAdminReviewQueuesOptions as X, type GithubPullRequest as Y, type GivenConfirmation as Z, HIDDEN_ITEM_SOURCES as _, type ConfirmEndorsementInput as a, type VerifyExternalAccountResult as a$, type HeatmapDay as a0, type HeatmapResponse as a1, type HiddenActivityItem as a2, type HiddenApp as a3, type HiddenItemSource as a4, type HiddenItemType as a5, type HideActivityItemInput as a6, type HideProfileItemInput as a7, type InboxCounts as a8, type ListFeatureAllowlistOptions as a9, type ReactionResult as aA, type ReactionStatus as aB, type RefreshOrcidPublicationsResult as aC, type RefreshPdsResult as aD, type RepoDeleteInput as aE, type ResetProfileResult as aF, type ResolveQuotedPostsOptions as aG, type RoadmapVoteError as aH, type RoadmapVoteResult as aI, type RoadmapVoter as aJ, type RoadmapVotesResponse as aK, type SearchFilters as aL, type SearchResponse as aM, type SifaQueryKey as aN, type SimilarProfile as aO, type SkillSearchResult as aP, type StatsResponse as aQ, type SubCategoryBulkResult as aR, type SuggestionProfile as aS, type SuggestionsResponse as aT, type UnhideActivityItemInput as aU, type UnlinkedPosition as aV, type UnlinkedPositionsResult as aW, type UpdateProfileOverrideInput as aX, type UpdateProfileSelfInput as aY, type UploadAvatarResult as aZ, type UploadPronunciationAudioResult as a_, type MyGithubPullRequestsResponse as aa, type OrgClaimBinding as ab, type OrgClaimResult as ac, type OrgDomainChallengeResult as ad, type OrgDomainVerifyResult as ae, type OrgNotificationEmailAddResult as af, type OrgNotificationEmailRemoveResult as ag, type OrgProfileEcho as ah, type OrgProfileUpdateResult as ai, PROFILE_COMPLETENESS_SIGNALS as aj, type PdsWipeOutcome as ak, type PendingConfirmation as al, type PendingConfirmationsPage as am, type ProfileCompleteness as an, type ProfileCompletenessSignal as ao, type ProfileIndustryInput as ap, type ProfileLocationAddress as aq, type ProfileLocationInput as ar, type ProfileSearchResult as as, type ProfileSelfLocation as at, QUOTED_POSTS_BATCH_MAX as au, type QuotedPostAuthor as av, type QuotedPostImage as aw, type QuotedPostResult as ax, type QuotedPostView as ay, type ReactionError as az, type ConfirmEndorsementResult as b, getMutuals as b$, type WipePreview as b0, addFeatureAllowlist as b1, addOrgNotificationEmail as b2, apiFetch as b3, apiFetchOrNull as b4, apiWrite as b5, apiWriteCreate as b6, bulkHideProfileItems as b7, bulkHideStandardPublications as b8, bulkUnhideProfileItems as b9, fetchGivenConfirmations as bA, fetchHeatmapData as bB, fetchHiddenActivityItems as bC, fetchHiddenApps as bD, fetchInboxCounts as bE, fetchMyGithubPullRequests as bF, fetchMyRoadmapVotes as bG, fetchPendingConfirmations as bH, fetchProfileCompleteness as bI, fetchReactionStatus as bJ, fetchRepoInventory as bK, fetchRoadmapVotes as bL, fetchSearchFilters as bM, fetchSearchProfiles as bN, fetchSimilarProfiles as bO, fetchSkillSuggestions as bP, fetchStats as bQ, fetchSuggestionCount as bR, fetchSuggestions as bS, fetchUnlinkedPositions as bT, fetchWipePreview as bU, followUser as bV, getAdminReviewQueues as bW, getBlueskySuggestions as bX, getFollowers as bY, getFollowing as bZ, getFollowingFeed as b_, bulkUnhideStandardPublications as ba, castRoadmapVote as bb, checkAppAccount as bc, confirmEndorsement as bd, createConfirmation as be, createEndorsement as bf, createExternalAccount as bg, createProfileLocation as bh, createReaction as bi, createSkill as bj, deleteAccount as bk, deleteAvatarOverride as bl, deleteExternalAccount as bm, deleteNamePronunciationAudio as bn, deleteProfileLocation as bo, deleteReaction as bp, deleteRepoRecords as bq, deleteSkill as br, dismissConfirmation as bs, fetchAccounts as bt, fetchActivityFeed as bu, fetchActivityTeaser as bv, fetchAppsRegistry as bw, fetchExternalAccounts as bx, fetchFeaturedProfile as by, fetchFollowing as bz, type AccountCheckResult as c, hideActivityItem as c0, hideOrcidPublication as c1, hideProfileItem as c2, hideSifaPublication as c3, hideStandardPublication as c4, listFeatureAllowlist as c5, refreshOrcidPublications as c6, refreshPds as c7, removeFeatureAllowlist as c8, removeOrgNotificationEmail as c9, verifyExternalAccount as cA, verifyOrgDomain as cB, type CompanySearchFilters as cC, type CompanySearchResponse as cD, type CompanySearchResult as cE, fetchSearchCompanies as cF, repoExportUrl as ca, requestOrgDomainChallenge as cb, resetProfile as cc, resolveQuotedPosts as cd, retractRoadmapVote as ce, revokeConfirmation as cf, searchSkills as cg, setExternalAccountPrimary as ch, submitOrgClaim as ci, switchAccount as cj, unfollowUser as ck, unhideActivityItem as cl, unhideOrcidPublication as cm, unhideProfileItem as cn, unhideSifaPublication as co, unhideStandardPublication as cp, unsetExternalAccountPrimary as cq, updateExternalAccount as cr, updateOrgProfile as cs, updateProfileLocation as ct, updateProfileOverride as cu, updateProfileSelf as cv, updateSkill as cw, updateSkillSubCategories as cx, uploadAvatar as cy, uploadNamePronunciationAudio as cz, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityTeaserOptions as v, type FetchConfirmationsOptions as w, type FetchFollowListOptions as x, type FetchFollowProfilePageOptions as y, type FetchFollowingFeedOptions as z };
1919
+ export { HIDDEN_ITEM_SOURCES as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions as N, type FetchSuggestionsOptions as O, type FetchUnlinkedPositionsOptions as P, type FilterOptions as Q, type FollowListPage as R, type SifaApiConfig as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type WriteResult as W, type FollowingResponse as X, type GetAdminReviewQueuesOptions as Y, type GithubPullRequest as Z, type GivenConfirmation as _, type ConfirmEndorsementInput as a, type UploadAvatarResult as a$, HIDDEN_ITEM_TYPES as a0, type HeatmapDay as a1, type HeatmapResponse as a2, type HiddenActivityItem as a3, type HiddenApp as a4, type HiddenItemSource as a5, type HiddenItemType as a6, type HideActivityItemInput as a7, type HideProfileItemInput as a8, type InboxCounts as a9, type QuotedPostView as aA, type ReactionError as aB, type ReactionResult as aC, type ReactionStatus as aD, type RefreshOrcidPublicationsResult as aE, type RefreshPdsResult as aF, type RepoDeleteInput as aG, type ResetProfileResult as aH, type ResolveQuotedPostsOptions as aI, type RoadmapVoteError as aJ, type RoadmapVoteResult as aK, type RoadmapVoter as aL, type RoadmapVotesResponse as aM, type SearchFilters as aN, type SearchResponse as aO, type SifaQueryKey as aP, type SimilarProfile as aQ, type SkillSearchResult as aR, type StatsResponse as aS, type SubCategoryBulkResult as aT, type SuggestionProfile as aU, type SuggestionsResponse as aV, type UnhideActivityItemInput as aW, type UnlinkedPosition as aX, type UnlinkedPositionsResult as aY, type UpdateProfileOverrideInput as aZ, type UpdateProfileSelfInput as a_, type ListFeatureAllowlistOptions as aa, type MyGithubPullRequestsResponse as ab, type OrgClaimBinding as ac, type OrgClaimResult as ad, type OrgDomainChallengeResult as ae, type OrgDomainVerifyResult as af, type OrgNotificationEmailAddResult as ag, type OrgNotificationEmailRemoveResult as ah, type OrgProfileEcho as ai, type OrgProfileUpdateResult as aj, PROFILE_COMPLETENESS_SIGNALS as ak, type PdsWipeOutcome as al, type PendingConfirmation as am, type PendingConfirmationsPage as an, type PrimarySection as ao, type ProfileCompleteness as ap, type ProfileCompletenessSignal as aq, type ProfileIndustryInput as ar, type ProfileLocationAddress as as, type ProfileLocationInput as at, type ProfileSearchResult as au, type ProfileSelfLocation as av, QUOTED_POSTS_BATCH_MAX as aw, type QuotedPostAuthor as ax, type QuotedPostImage as ay, type QuotedPostResult as az, type ConfirmEndorsementResult as b, getFollowers as b$, type UploadPronunciationAudioResult as b0, type VerifyExternalAccountResult as b1, type WipePreview as b2, addFeatureAllowlist as b3, addOrgNotificationEmail as b4, apiFetch as b5, apiFetchOrNull as b6, apiWrite as b7, apiWriteCreate as b8, bulkHideProfileItems as b9, fetchExternalAccounts as bA, fetchFeaturedProfile as bB, fetchFollowing as bC, fetchGivenConfirmations as bD, fetchHeatmapData as bE, fetchHiddenActivityItems as bF, fetchHiddenApps as bG, fetchInboxCounts as bH, fetchMyGithubPullRequests as bI, fetchMyRoadmapVotes as bJ, fetchPendingConfirmations as bK, fetchProfileCompleteness as bL, fetchReactionStatus as bM, fetchRepoInventory as bN, fetchRoadmapVotes as bO, fetchSearchFilters as bP, fetchSearchProfiles as bQ, fetchSimilarProfiles as bR, fetchSkillSuggestions as bS, fetchStats as bT, fetchSuggestionCount as bU, fetchSuggestions as bV, fetchUnlinkedPositions as bW, fetchWipePreview as bX, followUser as bY, getAdminReviewQueues as bZ, getBlueskySuggestions as b_, bulkHideStandardPublications as ba, bulkUnhideProfileItems as bb, bulkUnhideStandardPublications as bc, castRoadmapVote as bd, checkAppAccount as be, confirmEndorsement as bf, createConfirmation as bg, createEndorsement as bh, createExternalAccount as bi, createProfileLocation as bj, createReaction as bk, createSkill as bl, deleteAccount as bm, deleteAvatarOverride as bn, deleteExternalAccount as bo, deleteNamePronunciationAudio as bp, deleteProfileLocation as bq, deleteReaction as br, deleteRepoRecords as bs, deleteSkill as bt, dismissConfirmation as bu, dismissUnlinkedPosition as bv, fetchAccounts as bw, fetchActivityFeed as bx, fetchActivityTeaser as by, fetchAppsRegistry as bz, type AccountCheckResult as c, getFollowing as c0, getFollowingFeed as c1, getMutuals as c2, hideActivityItem as c3, hideOrcidPublication as c4, hideProfileItem as c5, hideSifaPublication as c6, hideStandardPublication as c7, listFeatureAllowlist as c8, refreshOrcidPublications as c9, updateProfileSelf as cA, updateSkill as cB, updateSkillSubCategories as cC, uploadAvatar as cD, uploadNamePronunciationAudio as cE, verifyExternalAccount as cF, verifyOrgDomain as cG, type CompanySearchFilters as cH, type CompanySearchResponse as cI, type CompanySearchResult as cJ, fetchSearchCompanies as cK, refreshPds as ca, removeFeatureAllowlist as cb, removeOrgNotificationEmail as cc, repoExportUrl as cd, requestOrgDomainChallenge as ce, resetProfile as cf, resolveQuotedPosts as cg, retractRoadmapVote as ch, revokeConfirmation as ci, searchSkills as cj, setExternalAccountPrimary as ck, setSectionPrimary as cl, submitOrgClaim as cm, switchAccount as cn, unfollowUser as co, unhideActivityItem as cp, unhideOrcidPublication as cq, unhideProfileItem as cr, unhideSifaPublication as cs, unhideStandardPublication as ct, unsetExternalAccountPrimary as cu, unsetSectionPrimary as cv, updateExternalAccount as cw, updateOrgProfile as cx, updateProfileLocation as cy, updateProfileOverride as cz, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type DismissUnlinkedPositionInput as q, type ExternalAccountInput as r, sifaQueryKeys as s, type FeaturedProfile as t, type FetchAccountsOptions as u, type FetchActivityFeedOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
@@ -1,6 +1,6 @@
1
- import { p as ExternalAccount, Q as SkillSuggestion } from './index-DIwi3bpk.cjs';
1
+ import { p as ExternalAccount, Q as SkillSuggestion } from './index-E2qQbMnv.cjs';
2
2
  import { y as FollowFeedPage, B as FollowProfileItem, q as FeatureAllowlistEntry, s as FeatureFlag } from './feed-BMm9Pkew.cjs';
3
- import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-XejLm3AA.cjs';
3
+ import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-2qTC_DBy.cjs';
4
4
  import { z } from 'zod';
5
5
  import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-CZ_tmAYl.cjs';
6
6
 
@@ -208,6 +208,23 @@ declare function uploadNamePronunciationAudio(config: SifaApiConfig, file: Blob,
208
208
  /** Delete the name-pronunciation audio clip from the user's profile. */
209
209
  declare function deleteNamePronunciationAudio(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
210
210
 
211
+ /**
212
+ * Profile sections that support a user-chosen primary item feeding the Highlights
213
+ * block. `position` is excluded: it predates this and keeps its own dedicated
214
+ * endpoint (`setPositionPrimary` / `unsetPositionPrimary` in `positions.ts`).
215
+ */
216
+ type PrimarySection = 'education' | 'publication' | 'presentation' | 'involvement' | 'project';
217
+ /**
218
+ * Mark a section record as the user's primary item for that section. The AppView
219
+ * flips `isPrimary` on the record via the user's OAuth session, clears the flag on
220
+ * any sibling in the same section, and enforces the per-section eligibility rule.
221
+ *
222
+ * Never throws: inspect `result.success` and use `result.error` for UI messaging.
223
+ */
224
+ declare function setSectionPrimary(config: SifaApiConfig, section: PrimarySection, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
225
+ /** Clear the primary flag on a section record. */
226
+ declare function unsetSectionPrimary(config: SifaApiConfig, section: PrimarySection, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
227
+
211
228
  /**
212
229
  * Create a new `id.sifa.profile.skill` record on the authenticated
213
230
  * user's PDS.
@@ -551,6 +568,17 @@ interface FetchUnlinkedPositionsOptions extends ApiFetchOptions {
551
568
  * list degrades to "nothing to link" rather than breaking the hosting surface.
552
569
  */
553
570
  declare function fetchUnlinkedPositions(config: SifaApiConfig, options?: FetchUnlinkedPositionsOptions): Promise<UnlinkedPositionsResult>;
571
+ /** Body accepted by {@link dismissUnlinkedPosition}. */
572
+ interface DismissUnlinkedPositionInput {
573
+ /** rkey of the position whose unlinked-company task to dismiss. */
574
+ rkey: string;
575
+ }
576
+ /**
577
+ * Dismiss the unlinked-company task for one position. Writes nothing to any PDS;
578
+ * it stops the position reappearing in the Inbox (and drops it from the bell
579
+ * count) when there is no company entity worth linking.
580
+ */
581
+ declare function dismissUnlinkedPosition(config: SifaApiConfig, data: DismissUnlinkedPositionInput, options?: ApiFetchOptions): Promise<WriteResult>;
554
582
 
555
583
  /**
556
584
  * The binary profile-completeness signals the AppView tracks. Each maps to a
@@ -1888,4 +1916,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1888
1916
  */
1889
1917
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1890
1918
 
1891
- export { HIDDEN_ITEM_TYPES as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchHiddenActivityItemsOptions as G, type FetchHiddenAppsOptions as H, type FetchInboxCountsOptions as I, type FetchMyGithubPullRequestsOptions as J, type FetchMyRoadmapVotesOptions as K, type FetchProfileCompletenessOptions as L, type FetchReactionStatusOptions as M, type FetchSuggestionsOptions as N, type FetchUnlinkedPositionsOptions as O, type FilterOptions as P, type FollowListPage as Q, type FollowProfile as R, type SifaApiConfig as S, type FollowProfilePageResponse as T, type FollowUserResult as U, type FollowingResponse as V, type WriteResult as W, type GetAdminReviewQueuesOptions as X, type GithubPullRequest as Y, type GivenConfirmation as Z, HIDDEN_ITEM_SOURCES as _, type ConfirmEndorsementInput as a, type VerifyExternalAccountResult as a$, type HeatmapDay as a0, type HeatmapResponse as a1, type HiddenActivityItem as a2, type HiddenApp as a3, type HiddenItemSource as a4, type HiddenItemType as a5, type HideActivityItemInput as a6, type HideProfileItemInput as a7, type InboxCounts as a8, type ListFeatureAllowlistOptions as a9, type ReactionResult as aA, type ReactionStatus as aB, type RefreshOrcidPublicationsResult as aC, type RefreshPdsResult as aD, type RepoDeleteInput as aE, type ResetProfileResult as aF, type ResolveQuotedPostsOptions as aG, type RoadmapVoteError as aH, type RoadmapVoteResult as aI, type RoadmapVoter as aJ, type RoadmapVotesResponse as aK, type SearchFilters as aL, type SearchResponse as aM, type SifaQueryKey as aN, type SimilarProfile as aO, type SkillSearchResult as aP, type StatsResponse as aQ, type SubCategoryBulkResult as aR, type SuggestionProfile as aS, type SuggestionsResponse as aT, type UnhideActivityItemInput as aU, type UnlinkedPosition as aV, type UnlinkedPositionsResult as aW, type UpdateProfileOverrideInput as aX, type UpdateProfileSelfInput as aY, type UploadAvatarResult as aZ, type UploadPronunciationAudioResult as a_, type MyGithubPullRequestsResponse as aa, type OrgClaimBinding as ab, type OrgClaimResult as ac, type OrgDomainChallengeResult as ad, type OrgDomainVerifyResult as ae, type OrgNotificationEmailAddResult as af, type OrgNotificationEmailRemoveResult as ag, type OrgProfileEcho as ah, type OrgProfileUpdateResult as ai, PROFILE_COMPLETENESS_SIGNALS as aj, type PdsWipeOutcome as ak, type PendingConfirmation as al, type PendingConfirmationsPage as am, type ProfileCompleteness as an, type ProfileCompletenessSignal as ao, type ProfileIndustryInput as ap, type ProfileLocationAddress as aq, type ProfileLocationInput as ar, type ProfileSearchResult as as, type ProfileSelfLocation as at, QUOTED_POSTS_BATCH_MAX as au, type QuotedPostAuthor as av, type QuotedPostImage as aw, type QuotedPostResult as ax, type QuotedPostView as ay, type ReactionError as az, type ConfirmEndorsementResult as b, getMutuals as b$, type WipePreview as b0, addFeatureAllowlist as b1, addOrgNotificationEmail as b2, apiFetch as b3, apiFetchOrNull as b4, apiWrite as b5, apiWriteCreate as b6, bulkHideProfileItems as b7, bulkHideStandardPublications as b8, bulkUnhideProfileItems as b9, fetchGivenConfirmations as bA, fetchHeatmapData as bB, fetchHiddenActivityItems as bC, fetchHiddenApps as bD, fetchInboxCounts as bE, fetchMyGithubPullRequests as bF, fetchMyRoadmapVotes as bG, fetchPendingConfirmations as bH, fetchProfileCompleteness as bI, fetchReactionStatus as bJ, fetchRepoInventory as bK, fetchRoadmapVotes as bL, fetchSearchFilters as bM, fetchSearchProfiles as bN, fetchSimilarProfiles as bO, fetchSkillSuggestions as bP, fetchStats as bQ, fetchSuggestionCount as bR, fetchSuggestions as bS, fetchUnlinkedPositions as bT, fetchWipePreview as bU, followUser as bV, getAdminReviewQueues as bW, getBlueskySuggestions as bX, getFollowers as bY, getFollowing as bZ, getFollowingFeed as b_, bulkUnhideStandardPublications as ba, castRoadmapVote as bb, checkAppAccount as bc, confirmEndorsement as bd, createConfirmation as be, createEndorsement as bf, createExternalAccount as bg, createProfileLocation as bh, createReaction as bi, createSkill as bj, deleteAccount as bk, deleteAvatarOverride as bl, deleteExternalAccount as bm, deleteNamePronunciationAudio as bn, deleteProfileLocation as bo, deleteReaction as bp, deleteRepoRecords as bq, deleteSkill as br, dismissConfirmation as bs, fetchAccounts as bt, fetchActivityFeed as bu, fetchActivityTeaser as bv, fetchAppsRegistry as bw, fetchExternalAccounts as bx, fetchFeaturedProfile as by, fetchFollowing as bz, type AccountCheckResult as c, hideActivityItem as c0, hideOrcidPublication as c1, hideProfileItem as c2, hideSifaPublication as c3, hideStandardPublication as c4, listFeatureAllowlist as c5, refreshOrcidPublications as c6, refreshPds as c7, removeFeatureAllowlist as c8, removeOrgNotificationEmail as c9, verifyExternalAccount as cA, verifyOrgDomain as cB, type CompanySearchFilters as cC, type CompanySearchResponse as cD, type CompanySearchResult as cE, fetchSearchCompanies as cF, repoExportUrl as ca, requestOrgDomainChallenge as cb, resetProfile as cc, resolveQuotedPosts as cd, retractRoadmapVote as ce, revokeConfirmation as cf, searchSkills as cg, setExternalAccountPrimary as ch, submitOrgClaim as ci, switchAccount as cj, unfollowUser as ck, unhideActivityItem as cl, unhideOrcidPublication as cm, unhideProfileItem as cn, unhideSifaPublication as co, unhideStandardPublication as cp, unsetExternalAccountPrimary as cq, updateExternalAccount as cr, updateOrgProfile as cs, updateProfileLocation as ct, updateProfileOverride as cu, updateProfileSelf as cv, updateSkill as cw, updateSkillSubCategories as cx, uploadAvatar as cy, uploadNamePronunciationAudio as cz, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityTeaserOptions as v, type FetchConfirmationsOptions as w, type FetchFollowListOptions as x, type FetchFollowProfilePageOptions as y, type FetchFollowingFeedOptions as z };
1919
+ export { HIDDEN_ITEM_SOURCES as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions as N, type FetchSuggestionsOptions as O, type FetchUnlinkedPositionsOptions as P, type FilterOptions as Q, type FollowListPage as R, type SifaApiConfig as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type WriteResult as W, type FollowingResponse as X, type GetAdminReviewQueuesOptions as Y, type GithubPullRequest as Z, type GivenConfirmation as _, type ConfirmEndorsementInput as a, type UploadAvatarResult as a$, HIDDEN_ITEM_TYPES as a0, type HeatmapDay as a1, type HeatmapResponse as a2, type HiddenActivityItem as a3, type HiddenApp as a4, type HiddenItemSource as a5, type HiddenItemType as a6, type HideActivityItemInput as a7, type HideProfileItemInput as a8, type InboxCounts as a9, type QuotedPostView as aA, type ReactionError as aB, type ReactionResult as aC, type ReactionStatus as aD, type RefreshOrcidPublicationsResult as aE, type RefreshPdsResult as aF, type RepoDeleteInput as aG, type ResetProfileResult as aH, type ResolveQuotedPostsOptions as aI, type RoadmapVoteError as aJ, type RoadmapVoteResult as aK, type RoadmapVoter as aL, type RoadmapVotesResponse as aM, type SearchFilters as aN, type SearchResponse as aO, type SifaQueryKey as aP, type SimilarProfile as aQ, type SkillSearchResult as aR, type StatsResponse as aS, type SubCategoryBulkResult as aT, type SuggestionProfile as aU, type SuggestionsResponse as aV, type UnhideActivityItemInput as aW, type UnlinkedPosition as aX, type UnlinkedPositionsResult as aY, type UpdateProfileOverrideInput as aZ, type UpdateProfileSelfInput as a_, type ListFeatureAllowlistOptions as aa, type MyGithubPullRequestsResponse as ab, type OrgClaimBinding as ac, type OrgClaimResult as ad, type OrgDomainChallengeResult as ae, type OrgDomainVerifyResult as af, type OrgNotificationEmailAddResult as ag, type OrgNotificationEmailRemoveResult as ah, type OrgProfileEcho as ai, type OrgProfileUpdateResult as aj, PROFILE_COMPLETENESS_SIGNALS as ak, type PdsWipeOutcome as al, type PendingConfirmation as am, type PendingConfirmationsPage as an, type PrimarySection as ao, type ProfileCompleteness as ap, type ProfileCompletenessSignal as aq, type ProfileIndustryInput as ar, type ProfileLocationAddress as as, type ProfileLocationInput as at, type ProfileSearchResult as au, type ProfileSelfLocation as av, QUOTED_POSTS_BATCH_MAX as aw, type QuotedPostAuthor as ax, type QuotedPostImage as ay, type QuotedPostResult as az, type ConfirmEndorsementResult as b, getFollowers as b$, type UploadPronunciationAudioResult as b0, type VerifyExternalAccountResult as b1, type WipePreview as b2, addFeatureAllowlist as b3, addOrgNotificationEmail as b4, apiFetch as b5, apiFetchOrNull as b6, apiWrite as b7, apiWriteCreate as b8, bulkHideProfileItems as b9, fetchExternalAccounts as bA, fetchFeaturedProfile as bB, fetchFollowing as bC, fetchGivenConfirmations as bD, fetchHeatmapData as bE, fetchHiddenActivityItems as bF, fetchHiddenApps as bG, fetchInboxCounts as bH, fetchMyGithubPullRequests as bI, fetchMyRoadmapVotes as bJ, fetchPendingConfirmations as bK, fetchProfileCompleteness as bL, fetchReactionStatus as bM, fetchRepoInventory as bN, fetchRoadmapVotes as bO, fetchSearchFilters as bP, fetchSearchProfiles as bQ, fetchSimilarProfiles as bR, fetchSkillSuggestions as bS, fetchStats as bT, fetchSuggestionCount as bU, fetchSuggestions as bV, fetchUnlinkedPositions as bW, fetchWipePreview as bX, followUser as bY, getAdminReviewQueues as bZ, getBlueskySuggestions as b_, bulkHideStandardPublications as ba, bulkUnhideProfileItems as bb, bulkUnhideStandardPublications as bc, castRoadmapVote as bd, checkAppAccount as be, confirmEndorsement as bf, createConfirmation as bg, createEndorsement as bh, createExternalAccount as bi, createProfileLocation as bj, createReaction as bk, createSkill as bl, deleteAccount as bm, deleteAvatarOverride as bn, deleteExternalAccount as bo, deleteNamePronunciationAudio as bp, deleteProfileLocation as bq, deleteReaction as br, deleteRepoRecords as bs, deleteSkill as bt, dismissConfirmation as bu, dismissUnlinkedPosition as bv, fetchAccounts as bw, fetchActivityFeed as bx, fetchActivityTeaser as by, fetchAppsRegistry as bz, type AccountCheckResult as c, getFollowing as c0, getFollowingFeed as c1, getMutuals as c2, hideActivityItem as c3, hideOrcidPublication as c4, hideProfileItem as c5, hideSifaPublication as c6, hideStandardPublication as c7, listFeatureAllowlist as c8, refreshOrcidPublications as c9, updateProfileSelf as cA, updateSkill as cB, updateSkillSubCategories as cC, uploadAvatar as cD, uploadNamePronunciationAudio as cE, verifyExternalAccount as cF, verifyOrgDomain as cG, type CompanySearchFilters as cH, type CompanySearchResponse as cI, type CompanySearchResult as cJ, fetchSearchCompanies as cK, refreshPds as ca, removeFeatureAllowlist as cb, removeOrgNotificationEmail as cc, repoExportUrl as cd, requestOrgDomainChallenge as ce, resetProfile as cf, resolveQuotedPosts as cg, retractRoadmapVote as ch, revokeConfirmation as ci, searchSkills as cj, setExternalAccountPrimary as ck, setSectionPrimary as cl, submitOrgClaim as cm, switchAccount as cn, unfollowUser as co, unhideActivityItem as cp, unhideOrcidPublication as cq, unhideProfileItem as cr, unhideSifaPublication as cs, unhideStandardPublication as ct, unsetExternalAccountPrimary as cu, unsetSectionPrimary as cv, updateExternalAccount as cw, updateOrgProfile as cx, updateProfileLocation as cy, updateProfileOverride as cz, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type DismissUnlinkedPositionInput as q, type ExternalAccountInput as r, sifaQueryKeys as s, type FeaturedProfile as t, type FetchAccountsOptions as u, type FetchActivityFeedOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
@@ -47,6 +47,7 @@ declare const ProfilePresentationRecordSchema: z.ZodObject<{
47
47
  mimeType: z.ZodString;
48
48
  size: z.ZodNumber;
49
49
  }, z.core.$strip>>;
50
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
50
51
  createdAt: z.ZodString;
51
52
  }, z.core.$strip>;
52
53
  type ProfilePresentationRecord = z.infer<typeof ProfilePresentationRecordSchema>;
@@ -270,6 +271,7 @@ declare const ProfileEducationRecordSchema: z.ZodObject<{
270
271
  val: z.ZodString;
271
272
  }, z.core.$strip>>;
272
273
  }, z.core.$strip>>;
274
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
273
275
  createdAt: z.ZodString;
274
276
  }, z.core.$strip>;
275
277
  type ProfileEducationRecord = z.infer<typeof ProfileEducationRecordSchema>;
@@ -357,6 +359,7 @@ declare const ProfileInvolvementRecordSchema: z.ZodObject<{
357
359
  uri: z.ZodString;
358
360
  cid: z.ZodOptional<z.ZodString>;
359
361
  }, z.core.$strip>>;
362
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
360
363
  createdAt: z.ZodString;
361
364
  }, z.core.$loose>;
362
365
  type ProfileInvolvementRecord = z.infer<typeof ProfileInvolvementRecordSchema>;
@@ -474,6 +477,7 @@ declare const ProfileProjectRecordSchema: z.ZodObject<{
474
477
  val: z.ZodString;
475
478
  }, z.core.$strip>>;
476
479
  }, z.core.$strip>>;
480
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
477
481
  createdAt: z.ZodString;
478
482
  }, z.core.$strip>;
479
483
  type ProfileProjectRecord = z.infer<typeof ProfileProjectRecordSchema>;
@@ -496,6 +500,7 @@ declare const ProfilePublicationRecordSchema: z.ZodObject<{
496
500
  did: z.ZodOptional<z.ZodString>;
497
501
  }, z.core.$strip>>>;
498
502
  publishedAt: z.ZodOptional<z.ZodString>;
503
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
499
504
  createdAt: z.ZodString;
500
505
  }, z.core.$strip>;
501
506
  type ProfilePublicationRecord = z.infer<typeof ProfilePublicationRecordSchema>;
@@ -47,6 +47,7 @@ declare const ProfilePresentationRecordSchema: z.ZodObject<{
47
47
  mimeType: z.ZodString;
48
48
  size: z.ZodNumber;
49
49
  }, z.core.$strip>>;
50
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
50
51
  createdAt: z.ZodString;
51
52
  }, z.core.$strip>;
52
53
  type ProfilePresentationRecord = z.infer<typeof ProfilePresentationRecordSchema>;
@@ -270,6 +271,7 @@ declare const ProfileEducationRecordSchema: z.ZodObject<{
270
271
  val: z.ZodString;
271
272
  }, z.core.$strip>>;
272
273
  }, z.core.$strip>>;
274
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
273
275
  createdAt: z.ZodString;
274
276
  }, z.core.$strip>;
275
277
  type ProfileEducationRecord = z.infer<typeof ProfileEducationRecordSchema>;
@@ -357,6 +359,7 @@ declare const ProfileInvolvementRecordSchema: z.ZodObject<{
357
359
  uri: z.ZodString;
358
360
  cid: z.ZodOptional<z.ZodString>;
359
361
  }, z.core.$strip>>;
362
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
360
363
  createdAt: z.ZodString;
361
364
  }, z.core.$loose>;
362
365
  type ProfileInvolvementRecord = z.infer<typeof ProfileInvolvementRecordSchema>;
@@ -474,6 +477,7 @@ declare const ProfileProjectRecordSchema: z.ZodObject<{
474
477
  val: z.ZodString;
475
478
  }, z.core.$strip>>;
476
479
  }, z.core.$strip>>;
480
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
477
481
  createdAt: z.ZodString;
478
482
  }, z.core.$strip>;
479
483
  type ProfileProjectRecord = z.infer<typeof ProfileProjectRecordSchema>;
@@ -496,6 +500,7 @@ declare const ProfilePublicationRecordSchema: z.ZodObject<{
496
500
  did: z.ZodOptional<z.ZodString>;
497
501
  }, z.core.$strip>>>;
498
502
  publishedAt: z.ZodOptional<z.ZodString>;
503
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
499
504
  createdAt: z.ZodString;
500
505
  }, z.core.$strip>;
501
506
  type ProfilePublicationRecord = z.infer<typeof ProfilePublicationRecordSchema>;
@@ -1,4 +1,4 @@
1
- import { n as ProfileView } from './types-XejLm3AA.cjs';
1
+ import { n as ProfileView } from './types-2qTC_DBy.cjs';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1,4 +1,4 @@
1
- import { n as ProfileView } from './types-DqVbTzXo.js';
1
+ import { n as ProfileView } from './types-CLrLfvXz.js';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -298,6 +298,24 @@ function deleteEducation(config, rkey, options = {}) {
298
298
  return apiWrite(config, `/api/profile/education/${encodeURIComponent(rkey)}`, "DELETE", options);
299
299
  }
300
300
 
301
+ // src/query/fetchers/section-primary.ts
302
+ function setSectionPrimary(config, section, rkey, options = {}) {
303
+ return apiWrite(
304
+ config,
305
+ `/api/profile/${section}/${encodeURIComponent(rkey)}/primary`,
306
+ "PUT",
307
+ options
308
+ );
309
+ }
310
+ function unsetSectionPrimary(config, section, rkey, options = {}) {
311
+ return apiWrite(
312
+ config,
313
+ `/api/profile/${section}/${encodeURIComponent(rkey)}/primary`,
314
+ "DELETE",
315
+ options
316
+ );
317
+ }
318
+
301
319
  // src/query/fetchers/skills.ts
302
320
  function createSkill(config, data, options = {}) {
303
321
  return apiWriteCreate(config, "/api/profile/skill", data, options);
@@ -560,6 +578,9 @@ async function fetchUnlinkedPositions(config, options = {}) {
560
578
  return { positions: [] };
561
579
  }
562
580
  }
581
+ function dismissUnlinkedPosition(config, data, options = {}) {
582
+ return apiWrite(config, "/api/positions/unlinked/dismiss", "POST", { body: data, ...options });
583
+ }
563
584
 
564
585
  // src/query/fetchers/profile-completeness.ts
565
586
  var PROFILE_COMPLETENESS_SIGNALS = [
@@ -1892,6 +1913,7 @@ zod.z.object({
1892
1913
  startedAt: partialDateSchema.optional(),
1893
1914
  endedAt: partialDateSchema.optional(),
1894
1915
  labels: selfLabelsSchema.optional(),
1916
+ isPrimary: zod.z.boolean().optional(),
1895
1917
  createdAt: datetimeSchema
1896
1918
  });
1897
1919
 
@@ -1921,6 +1943,7 @@ zod.z.object({
1921
1943
  labels: selfLabelsSchema.optional(),
1922
1944
  collaborators: zod.z.array(projectMemberRefSchema).max(50).optional(),
1923
1945
  sameAs: externalRecordRefSchema.optional(),
1946
+ isPrimary: zod.z.boolean().optional(),
1924
1947
  createdAt: datetimeSchema
1925
1948
  }).passthrough();
1926
1949
 
@@ -2012,6 +2035,7 @@ exports.deleteRepoRecords = deleteRepoRecords;
2012
2035
  exports.deleteSkill = deleteSkill;
2013
2036
  exports.dismissConfirmation = dismissConfirmation;
2014
2037
  exports.dismissEndorsement = dismissEndorsement;
2038
+ exports.dismissUnlinkedPosition = dismissUnlinkedPosition;
2015
2039
  exports.fetchAccounts = fetchAccounts;
2016
2040
  exports.fetchActivityFeed = fetchActivityFeed;
2017
2041
  exports.fetchActivityTeaser = fetchActivityTeaser;
@@ -2087,6 +2111,7 @@ exports.searchSkills = searchSkills;
2087
2111
  exports.selectEntity = selectEntity;
2088
2112
  exports.setExternalAccountPrimary = setExternalAccountPrimary;
2089
2113
  exports.setPositionPrimary = setPositionPrimary;
2114
+ exports.setSectionPrimary = setSectionPrimary;
2090
2115
  exports.sifaQueryKeys = sifaQueryKeys;
2091
2116
  exports.submitOrgClaim = submitOrgClaim;
2092
2117
  exports.switchAccount = switchAccount;
@@ -2101,6 +2126,7 @@ exports.unlinkSkillFromPosition = unlinkSkillFromPosition;
2101
2126
  exports.unrevealMarqueDomain = unrevealMarqueDomain;
2102
2127
  exports.unsetExternalAccountPrimary = unsetExternalAccountPrimary;
2103
2128
  exports.unsetPositionPrimary = unsetPositionPrimary;
2129
+ exports.unsetSectionPrimary = unsetSectionPrimary;
2104
2130
  exports.updateEducation = updateEducation;
2105
2131
  exports.updateExternalAccount = updateExternalAccount;
2106
2132
  exports.updateInvestment = updateInvestment;