@singi-labs/sifa-sdk 0.19.96 → 0.19.98

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 (44) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/jev/index.cjs +20 -0
  4. package/dist/jev/index.cjs.map +1 -1
  5. package/dist/jev/index.d.cts +29 -1
  6. package/dist/jev/index.d.ts +29 -1
  7. package/dist/jev/index.js +20 -0
  8. package/dist/jev/index.js.map +1 -1
  9. package/dist/jev/issue.cjs.map +1 -1
  10. package/dist/query/fetchers/admin-review-queues.js +3 -1
  11. package/dist/query/fetchers/admin-review-queues.js.map +1 -1
  12. package/dist/query/fetchers/index.cjs +25 -2
  13. package/dist/query/fetchers/index.cjs.map +1 -1
  14. package/dist/query/fetchers/index.d.cts +1 -1
  15. package/dist/query/fetchers/index.d.ts +1 -1
  16. package/dist/query/fetchers/index.js +4 -0
  17. package/dist/query/fetchers/index.js.map +1 -1
  18. package/dist/query/fetchers/profile-completeness.js +21 -2
  19. package/dist/query/fetchers/profile-completeness.js.map +1 -1
  20. package/dist/query/fetchers/profile-emails.js +66 -0
  21. package/dist/query/fetchers/profile-emails.js.map +1 -0
  22. package/dist/query/hooks/index.cjs +164 -2
  23. package/dist/query/hooks/index.cjs.map +1 -1
  24. package/dist/query/hooks/index.d.cts +2 -2
  25. package/dist/query/hooks/index.d.ts +2 -2
  26. package/dist/query/hooks/index.js +17 -1
  27. package/dist/query/hooks/index.js.map +1 -1
  28. package/dist/query/hooks/use-profile-completeness.js +43 -1
  29. package/dist/query/hooks/use-profile-completeness.js.map +1 -1
  30. package/dist/query/hooks/use-profile-emails.js +73 -0
  31. package/dist/query/hooks/use-profile-emails.js.map +1 -0
  32. package/dist/query/index.cjs +169 -2
  33. package/dist/query/index.cjs.map +1 -1
  34. package/dist/query/index.d.cts +3 -3
  35. package/dist/query/index.d.ts +3 -3
  36. package/dist/query/index.js +33 -1
  37. package/dist/query/index.js.map +1 -1
  38. package/dist/query/keys.js +5 -0
  39. package/dist/query/keys.js.map +1 -1
  40. package/dist/{use-user-settings-CFhaGcAq.d.ts → use-user-settings-CrzlFn2d.d.ts} +100 -2
  41. package/dist/{use-user-settings-CBH1CeDP.d.cts → use-user-settings-DppxALpF.d.cts} +100 -2
  42. package/dist/{user-settings-D1zKOWa2.d.ts → user-settings-Bgm2xbpb.d.ts} +25 -1
  43. package/dist/{user-settings-ChPm0BFN.d.cts → user-settings-C-eXWC6X.d.cts} +25 -1
  44. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a3 as WriteResult, o as Pro
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { c as Profile, d as ProfilePosition, W as SkillRef, p as ExternalAccount, X as SkillSuggestion, s as OrgFloorVerdict } from './index-BEAuoL6l.js';
7
- import { s as sifaQueryKeys, aI as RefreshPdsResult, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, as as PrimarySection, a_ as SubCategoryBulkResult, ax as ProfileLocationInput, p as ExternalAccountInput, n as CreateExternalAccountResult, bc as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a2 as GivenConfirmation, ar as PendingConfirmationsPage, ad as InboxCounts, o as DismissUnlinkedPositionInput, b3 as UnlinkedPositionsResult, at as ProfileCompleteness, aQ as RpgClaimableResponse, aU as RpgStatusResponse, aH as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ac as HideProfileItemInput, a7 as HiddenActivityItem, ab as HideActivityItemInput, b1 as UnhideActivityItemInput, f as ActivityPreferences, aY as SiteActivityPresetResponse, b4 as UpdateActivityPreferencesInput, aZ as StatsResponse, i as AppRegistryEntry, a8 as HiddenApp, b as AccountSummary, q as FeaturedProfile, aX as SimilarProfile, P as FetchSuggestionsOptions, b0 as SuggestionsResponse, V as FollowUserResult, x as FetchFollowListOptions, S as FollowListPage, $ as FollowingResponse, z as FetchFollowingFeedOptions, Z as FollowingFeedResponse, _ as FollowingFeedVersion, y as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, t as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a6 as HeatmapResponse, af as MyGithubPullRequestsResponse, A as AccountCheckResult, aG as ReactionStatus, aF as ReactionResult, aE as ReactionError, aP as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aK as ResetProfileResult, bd as WipePreview, aJ as RepoDeleteInput, ah as OrgClaimResult, an as OrgProfileUpdateResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, b9 as UserSettings } from './user-settings-D1zKOWa2.js';
7
+ import { s as sifaQueryKeys, aJ as RefreshPdsResult, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, at as PrimarySection, a$ as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bd as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b4 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aR as RpgClaimableResponse, aV as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b2 as UnhideActivityItemInput, f as ActivityPreferences, aZ as SiteActivityPresetResponse, b5 as UpdateActivityPreferencesInput, a_ as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, aY as SimilarProfile, Q as FetchSuggestionsOptions, b1 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, aQ as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aL as ResetProfileResult, be as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, ba as UserSettings } from './user-settings-Bgm2xbpb.js';
8
8
  import { z } from 'zod';
9
9
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-CVcA2w1v.js';
10
10
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-BShvhyFp.js';
@@ -91,6 +91,58 @@ interface FetchVerificationLogOptions extends ApiFetchOptions {
91
91
  */
92
92
  declare function fetchVerificationLog(config: SifaApiConfig, did: string, positionRkey: string, options?: FetchVerificationLogOptions): Promise<VerificationLog>;
93
93
 
94
+ /**
95
+ * Personal email addresses (sifa-workspace#158), managed in settings and
96
+ * verified one by one through a link. Employment verification by email
97
+ * (#162) builds on the verified ones. Owner-only AppView shapes.
98
+ */
99
+ declare const ProfileEmailSchema: z.ZodObject<{
100
+ id: z.ZodNumber;
101
+ email: z.ZodString;
102
+ emailDomain: z.ZodString;
103
+ status: z.ZodEnum<{
104
+ verified: "verified";
105
+ pending: "pending";
106
+ expired: "expired";
107
+ }>;
108
+ verifiedAt: z.ZodNullable<z.ZodString>;
109
+ verificationSentAt: z.ZodNullable<z.ZodString>;
110
+ createdAt: z.ZodString;
111
+ }, z.core.$loose>;
112
+ type ProfileEmail = z.infer<typeof ProfileEmailSchema>;
113
+ declare const ProfileEmailsSchema: z.ZodObject<{
114
+ emails: z.ZodDefault<z.ZodArray<z.ZodObject<{
115
+ id: z.ZodNumber;
116
+ email: z.ZodString;
117
+ emailDomain: z.ZodString;
118
+ status: z.ZodEnum<{
119
+ verified: "verified";
120
+ pending: "pending";
121
+ expired: "expired";
122
+ }>;
123
+ verifiedAt: z.ZodNullable<z.ZodString>;
124
+ verificationSentAt: z.ZodNullable<z.ZodString>;
125
+ createdAt: z.ZodString;
126
+ }, z.core.$loose>>>;
127
+ sending: z.ZodDefault<z.ZodBoolean>;
128
+ }, z.core.$strip>;
129
+ type ProfileEmails = z.infer<typeof ProfileEmailsSchema>;
130
+ /** `sends_paused` means the address is stored but no link went out. */
131
+ type ProfileEmailSendStatus = 'verification_sent' | 'sends_paused' | 'send_failed' | 'already_verified';
132
+ interface FetchProfileEmailsOptions extends ApiFetchOptions {
133
+ /** Forward the caller's Cookie header on Next.js RSC server-side calls. */
134
+ cookieHeader?: string;
135
+ }
136
+ /** The signed-in account's addresses. Empty on any failure. */
137
+ declare function fetchProfileEmails(config: SifaApiConfig, options?: FetchProfileEmailsOptions): Promise<ProfileEmails>;
138
+ declare function addProfileEmail(config: SifaApiConfig, email: string, options?: ApiFetchOptions): Promise<WriteResult<ProfileEmail & {
139
+ sendStatus: ProfileEmailSendStatus;
140
+ }>>;
141
+ declare function resendProfileEmailVerification(config: SifaApiConfig, id: number, options?: ApiFetchOptions): Promise<WriteResult<{
142
+ sendStatus: ProfileEmailSendStatus;
143
+ }>>;
144
+ declare function removeProfileEmail(config: SifaApiConfig, id: number, options?: ApiFetchOptions): Promise<WriteResult>;
145
+
94
146
  /**
95
147
  * Organization employment attestations (sifa-workspace#623). The org side
96
148
  * writes `id.sifa.org.employmentAttestation` records through the AppView,
@@ -448,6 +500,41 @@ declare function useVerificationLog(did: string, positionRkey: string, options?:
448
500
  }[];
449
501
  }, Error>;
450
502
 
503
+ /** The signed-in account's email addresses. */
504
+ declare function useProfileEmails(options?: Omit<UseQueryOptions<ProfileEmails, Error, ProfileEmails, ReturnType<typeof sifaQueryKeys.profileEmails.list>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<{
505
+ emails: {
506
+ [x: string]: unknown;
507
+ id: number;
508
+ email: string;
509
+ emailDomain: string;
510
+ status: "verified" | "pending" | "expired";
511
+ verifiedAt: string | null;
512
+ verificationSentAt: string | null;
513
+ createdAt: string;
514
+ }[];
515
+ sending: boolean;
516
+ }, Error>;
517
+ declare function useAddProfileEmail(options?: Omit<UseMutationOptions<WriteResult<ProfileEmail & {
518
+ sendStatus: ProfileEmailSendStatus;
519
+ }>, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<{
520
+ [x: string]: unknown;
521
+ id: number;
522
+ email: string;
523
+ emailDomain: string;
524
+ status: "verified" | "pending" | "expired";
525
+ verifiedAt: string | null;
526
+ verificationSentAt: string | null;
527
+ createdAt: string;
528
+ } & {
529
+ sendStatus: ProfileEmailSendStatus;
530
+ }>, Error, string, unknown>;
531
+ declare function useResendProfileEmailVerification(options?: Omit<UseMutationOptions<WriteResult<{
532
+ sendStatus: ProfileEmailSendStatus;
533
+ }>, Error, number>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<{
534
+ sendStatus: ProfileEmailSendStatus;
535
+ }>, Error, number, unknown>;
536
+ declare function useRemoveProfileEmail(options?: Omit<UseMutationOptions<WriteResult, Error, number>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, number, unknown>;
537
+
451
538
  type Attestations = {
452
539
  attestations: OrgAttestation[];
453
540
  };
@@ -490,6 +577,17 @@ declare function useDismissUnlinkedPosition(options?: Omit<UseMutationOptions<Wr
490
577
  * signed out or on error.
491
578
  */
492
579
  declare function useProfileCompleteness(options?: Omit<UseQueryOptions<ProfileCompleteness, Error, ProfileCompleteness, ReturnType<typeof sifaQueryKeys.profile.completeness>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ProfileCompleteness, Error>;
580
+ /**
581
+ * Hide one "complete your profile" item. On success the item leaves the
582
+ * checklist and the bell count, so completeness and inbox counts are
583
+ * invalidated.
584
+ */
585
+ declare function useDismissCompletenessSignal(options?: Omit<UseMutationOptions<WriteResult, Error, DismissCompletenessSignalInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DismissCompletenessSignalInput, unknown>;
586
+ /**
587
+ * Show every hidden "complete your profile" item again. Invalidates the same
588
+ * queries as {@link useDismissCompletenessSignal}.
589
+ */
590
+ declare function useClearCompletenessDismissals(options?: Omit<UseMutationOptions<WriteResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, void, unknown>;
493
591
 
494
592
  /**
495
593
  * How many rpg.actor items the signed-in user can claim right now, for the
@@ -1157,4 +1255,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
1157
1255
  showCitationCounts: boolean;
1158
1256
  }>, unknown>;
1159
1257
 
1160
- export { useAppsRegistry as $, type AddFeatureAllowlistVariables as A, VerificationLogSchema as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, createOrgAttestation as E, type FetchOrgAttestationOptions as F, fetchAttestationRequests as G, fetchOrgAttestations as H, fetchVerificationLog as I, offboardOrgAttestation as J, rejectAttestationRequest as K, requestEmploymentConfirmation as L, revokeOrgAttestation as M, useAccounts as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, useActivityFeed as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useActivityPreferences as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, useActivityTeaser as W, useAddFeatureAllowlist as X, useAddOrgNotificationEmail as Y, useAdminReviewQueues as Z, useAppAccountCheck as _, type AttestationRequest as a, useOffboardOrgAttestation as a$, useAtFundLink as a0, useAttestationRequests as a1, useBlueskySuggestions as a2, useBulkHideProfileItems as a3, useBulkHideStandardPublications as a4, useBulkUnhideProfileItems as a5, useBulkUnhideStandardPublications as a6, useCanonicalSkillSearch as a7, useCastRoadmapVote as a8, useCreateConfirmation as a9, useFeatureAllowlist as aA, useFeaturedProfile as aB, useFollow as aC, useFollowers as aD, useFollowing as aE, useFollowingFeed as aF, useFollowingFeedVersion as aG, useFollowingList as aH, useGetProfileView as aI, useGivenConfirmations as aJ, useHeatmapData as aK, useHiddenActivityItems as aL, useHiddenApps as aM, useHideActivityItem as aN, useHideKeytraceClaim as aO, useHideOrcidPublication as aP, useHideProfileItem as aQ, useHideSifaPublication as aR, useHideStandardPublication as aS, useImportSearchEntities as aT, useInboxCounts as aU, useLinkSkillToPosition as aV, useMintEntityDomain as aW, useMutuals as aX, useMyGithubPullRequests as aY, useMyRoadmapVotes as aZ, useNetworkStreamCount as a_, useCreateEducation as aa, useCreateEndorsement as ab, useCreateExternalAccount as ac, useCreateOrgAttestation as ad, useCreatePosition as ae, useCreateProfileLocation as af, useCreateReaction as ag, useCreateRecord as ah, useCreateSkill as ai, useDebouncedValue as aj, useDeleteAccount as ak, useDeleteAvatarOverride as al, useDeleteEducation as am, useDeleteExternalAccount as an, useDeleteNamePronunciationAudio as ao, useDeletePosition as ap, useDeleteProfileLocation as aq, useDeleteReaction as ar, useDeleteRecord as as, useDeleteRepoRecords as at, useDeleteSkill as au, useDismissConfirmation as av, useDismissUnlinkedPosition as aw, useEndorsementCount as ax, useEntitySearch as ay, useExternalAccounts as az, AttestationRequestSchema as b, useUploadAvatar as b$, useOrgAttestations as b0, useOrgClaim as b1, useOrgDomainChallenge as b2, useOrgDomainVerify as b3, useOrgProfile as b4, usePendingConfirmations as b5, useProfile as b6, useProfileCompleteness as b7, useReactionStatus as b8, useRefreshOrcidPublications as b9, useSuggestionCount as bA, useSuggestions as bB, useUnfollow as bC, useUnhideActivityItem as bD, useUnhideKeytraceClaim as bE, useUnhideOrcidPublication as bF, useUnhideProfileItem as bG, useUnhideSifaPublication as bH, useUnhideStandardPublication as bI, useUnlinkSkillFromPosition as bJ, useUnlinkedPositions as bK, useUnrevealMarqueDomain as bL, useUnsetExternalAccountPrimary as bM, useUnsetPositionPrimary as bN, useUnsetSectionPrimary as bO, useUpdateActivityPreferences as bP, useUpdateEducation as bQ, useUpdateExternalAccount as bR, useUpdateOrgProfile as bS, useUpdatePosition as bT, useUpdateProfileLocation as bU, useUpdateProfileOverride as bV, useUpdateProfileSelf as bW, useUpdateRecord as bX, useUpdateSkill as bY, useUpdateSkillSubCategories as bZ, useUpdateUserSettings as b_, useRefreshPds as ba, useRejectAttestationRequest as bb, useRemoveFeatureAllowlist as bc, useRemoveOrgNotificationEmail as bd, useRepoInventory as be, useRequestEmploymentConfirmation as bf, useResetProfile as bg, useResolveEntityDomain as bh, useRetractRoadmapVote as bi, useRevealMarqueDomain as bj, useRevokeConfirmation as bk, useRevokeOrgAttestation as bl, useRoadmapVotes as bm, useRpgClaimable as bn, useRpgStatus as bo, useSearchFilters as bp, useSearchProfiles as bq, useSelectEntity as br, useSetExternalAccountPrimary as bs, useSetPositionPrimary as bt, useSetSectionPrimary as bu, useSifaConfig as bv, useSimilarProfiles as bw, useSiteActivityPreset as bx, useSkillSuggestions as by, useStats as bz, type AttestationStatus as c, useUploadNamePronunciationAudio as c0, useUserSettings as c1, useVerificationLog as c2, useVerifyExternalAccount as c3, useWipePreview as c4, useSearchCompanies as c5, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchVerificationLogOptions as h, type FollowVariables as i, OrgAttestationSchema as j, type RequestEmploymentConfirmationInput as k, type RequestEmploymentConfirmationResult as l, type SifaProviderProps as m, type UpdateEducationVariables as n, type UpdateExternalAccountVariables as o, type UpdatePositionVariables as p, type UpdateProfileLocationVariables as q, type UpdateRecordVariables as r, type UpdateSkillSubCategoriesVariables as s, type UpdateSkillVariables as t, type UseEntitySearchOptions as u, type UseMyGithubPullRequestsParams as v, type VerificationEventKind as w, type VerificationLog as x, type VerificationLogEntry as y, VerificationLogEntrySchema as z };
1258
+ export { revokeOrgAttestation as $, type AddFeatureAllowlistVariables as A, type UseMyGithubPullRequestsParams as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, type VerificationEventKind as E, type FetchOrgAttestationOptions as F, type VerificationLog as G, type VerificationLogEntry as H, VerificationLogEntrySchema as I, VerificationLogSchema as J, addProfileEmail as K, createOrgAttestation as L, fetchAttestationRequests as M, fetchOrgAttestations as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, fetchProfileEmails as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, fetchVerificationLog as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, offboardOrgAttestation as W, rejectAttestationRequest as X, removeProfileEmail as Y, requestEmploymentConfirmation as Z, resendProfileEmailVerification as _, type AttestationRequest as a, useHideOrcidPublication as a$, useAccounts as a0, useActivityFeed as a1, useActivityPreferences as a2, useActivityTeaser as a3, useAddFeatureAllowlist as a4, useAddOrgNotificationEmail as a5, useAddProfileEmail as a6, useAdminReviewQueues as a7, useAppAccountCheck as a8, useAppsRegistry as a9, useDeletePosition as aA, useDeleteProfileLocation as aB, useDeleteReaction as aC, useDeleteRecord as aD, useDeleteRepoRecords as aE, useDeleteSkill as aF, useDismissCompletenessSignal as aG, useDismissConfirmation as aH, useDismissUnlinkedPosition as aI, useEndorsementCount as aJ, useEntitySearch as aK, useExternalAccounts as aL, useFeatureAllowlist as aM, useFeaturedProfile as aN, useFollow as aO, useFollowers as aP, useFollowing as aQ, useFollowingFeed as aR, useFollowingFeedVersion as aS, useFollowingList as aT, useGetProfileView as aU, useGivenConfirmations as aV, useHeatmapData as aW, useHiddenActivityItems as aX, useHiddenApps as aY, useHideActivityItem as aZ, useHideKeytraceClaim as a_, useAtFundLink as aa, useAttestationRequests as ab, useBlueskySuggestions as ac, useBulkHideProfileItems as ad, useBulkHideStandardPublications as ae, useBulkUnhideProfileItems as af, useBulkUnhideStandardPublications as ag, useCanonicalSkillSearch as ah, useCastRoadmapVote as ai, useClearCompletenessDismissals as aj, useCreateConfirmation as ak, useCreateEducation as al, useCreateEndorsement as am, useCreateExternalAccount as an, useCreateOrgAttestation as ao, useCreatePosition as ap, useCreateProfileLocation as aq, useCreateReaction as ar, useCreateRecord as as, useCreateSkill as at, useDebouncedValue as au, useDeleteAccount as av, useDeleteAvatarOverride as aw, useDeleteEducation as ax, useDeleteExternalAccount as ay, useDeleteNamePronunciationAudio as az, AttestationRequestSchema as b, useUnsetExternalAccountPrimary as b$, useHideProfileItem as b0, useHideSifaPublication as b1, useHideStandardPublication as b2, useImportSearchEntities as b3, useInboxCounts as b4, useLinkSkillToPosition as b5, useMintEntityDomain as b6, useMutuals as b7, useMyGithubPullRequests as b8, useMyRoadmapVotes as b9, useRevokeOrgAttestation as bA, useRoadmapVotes as bB, useRpgClaimable as bC, useRpgStatus as bD, useSearchFilters as bE, useSearchProfiles as bF, useSelectEntity as bG, useSetExternalAccountPrimary as bH, useSetPositionPrimary as bI, useSetSectionPrimary as bJ, useSifaConfig as bK, useSimilarProfiles as bL, useSiteActivityPreset as bM, useSkillSuggestions as bN, useStats as bO, useSuggestionCount as bP, useSuggestions as bQ, useUnfollow as bR, useUnhideActivityItem as bS, useUnhideKeytraceClaim as bT, useUnhideOrcidPublication as bU, useUnhideProfileItem as bV, useUnhideSifaPublication as bW, useUnhideStandardPublication as bX, useUnlinkSkillFromPosition as bY, useUnlinkedPositions as bZ, useUnrevealMarqueDomain as b_, useNetworkStreamCount as ba, useOffboardOrgAttestation as bb, useOrgAttestations as bc, useOrgClaim as bd, useOrgDomainChallenge as be, useOrgDomainVerify as bf, useOrgProfile as bg, usePendingConfirmations as bh, useProfile as bi, useProfileCompleteness as bj, useProfileEmails as bk, useReactionStatus as bl, useRefreshOrcidPublications as bm, useRefreshPds as bn, useRejectAttestationRequest as bo, useRemoveFeatureAllowlist as bp, useRemoveOrgNotificationEmail as bq, useRemoveProfileEmail as br, useRepoInventory as bs, useRequestEmploymentConfirmation as bt, useResendProfileEmailVerification as bu, useResetProfile as bv, useResolveEntityDomain as bw, useRetractRoadmapVote as bx, useRevealMarqueDomain as by, useRevokeConfirmation as bz, type AttestationStatus as c, useUnsetPositionPrimary as c0, useUnsetSectionPrimary as c1, useUpdateActivityPreferences as c2, useUpdateEducation as c3, useUpdateExternalAccount as c4, useUpdateOrgProfile as c5, useUpdatePosition as c6, useUpdateProfileLocation as c7, useUpdateProfileOverride as c8, useUpdateProfileSelf as c9, useUpdateRecord as ca, useUpdateSkill as cb, useUpdateSkillSubCategories as cc, useUpdateUserSettings as cd, useUploadAvatar as ce, useUploadNamePronunciationAudio as cf, useUserSettings as cg, useVerificationLog as ch, useVerifyExternalAccount as ci, useWipePreview as cj, useSearchCompanies as ck, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchProfileEmailsOptions as h, type FetchVerificationLogOptions as i, type FollowVariables as j, OrgAttestationSchema as k, type ProfileEmail as l, ProfileEmailSchema as m, type ProfileEmailSendStatus as n, type ProfileEmails as o, type RequestEmploymentConfirmationInput as p, type RequestEmploymentConfirmationResult as q, type SifaProviderProps as r, type UpdateEducationVariables as s, type UpdateExternalAccountVariables as t, type UpdatePositionVariables as u, type UpdateProfileLocationVariables as v, type UpdateRecordVariables as w, type UpdateSkillSubCategoriesVariables as x, type UpdateSkillVariables as y, type UseEntitySearchOptions as z };
@@ -4,7 +4,7 @@ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a3 as WriteResult, o as Pro
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { c as Profile, d as ProfilePosition, W as SkillRef, p as ExternalAccount, X as SkillSuggestion, s as OrgFloorVerdict } from './index-DU0pYHch.cjs';
7
- import { s as sifaQueryKeys, aI as RefreshPdsResult, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, as as PrimarySection, a_ as SubCategoryBulkResult, ax as ProfileLocationInput, p as ExternalAccountInput, n as CreateExternalAccountResult, bc as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a2 as GivenConfirmation, ar as PendingConfirmationsPage, ad as InboxCounts, o as DismissUnlinkedPositionInput, b3 as UnlinkedPositionsResult, at as ProfileCompleteness, aQ as RpgClaimableResponse, aU as RpgStatusResponse, aH as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ac as HideProfileItemInput, a7 as HiddenActivityItem, ab as HideActivityItemInput, b1 as UnhideActivityItemInput, f as ActivityPreferences, aY as SiteActivityPresetResponse, b4 as UpdateActivityPreferencesInput, aZ as StatsResponse, i as AppRegistryEntry, a8 as HiddenApp, b as AccountSummary, q as FeaturedProfile, aX as SimilarProfile, P as FetchSuggestionsOptions, b0 as SuggestionsResponse, V as FollowUserResult, x as FetchFollowListOptions, S as FollowListPage, $ as FollowingResponse, z as FetchFollowingFeedOptions, Z as FollowingFeedResponse, _ as FollowingFeedVersion, y as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, t as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a6 as HeatmapResponse, af as MyGithubPullRequestsResponse, A as AccountCheckResult, aG as ReactionStatus, aF as ReactionResult, aE as ReactionError, aP as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aK as ResetProfileResult, bd as WipePreview, aJ as RepoDeleteInput, ah as OrgClaimResult, an as OrgProfileUpdateResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, b9 as UserSettings } from './user-settings-ChPm0BFN.cjs';
7
+ import { s as sifaQueryKeys, aJ as RefreshPdsResult, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, at as PrimarySection, a$ as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bd as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b4 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aR as RpgClaimableResponse, aV as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b2 as UnhideActivityItemInput, f as ActivityPreferences, aZ as SiteActivityPresetResponse, b5 as UpdateActivityPreferencesInput, a_ as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, aY as SimilarProfile, Q as FetchSuggestionsOptions, b1 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, aQ as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aL as ResetProfileResult, be as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, ba as UserSettings } from './user-settings-C-eXWC6X.cjs';
8
8
  import { z } from 'zod';
9
9
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-CgLLLQtJ.cjs';
10
10
  import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-C73Sin5E.cjs';
@@ -91,6 +91,58 @@ interface FetchVerificationLogOptions extends ApiFetchOptions {
91
91
  */
92
92
  declare function fetchVerificationLog(config: SifaApiConfig, did: string, positionRkey: string, options?: FetchVerificationLogOptions): Promise<VerificationLog>;
93
93
 
94
+ /**
95
+ * Personal email addresses (sifa-workspace#158), managed in settings and
96
+ * verified one by one through a link. Employment verification by email
97
+ * (#162) builds on the verified ones. Owner-only AppView shapes.
98
+ */
99
+ declare const ProfileEmailSchema: z.ZodObject<{
100
+ id: z.ZodNumber;
101
+ email: z.ZodString;
102
+ emailDomain: z.ZodString;
103
+ status: z.ZodEnum<{
104
+ verified: "verified";
105
+ pending: "pending";
106
+ expired: "expired";
107
+ }>;
108
+ verifiedAt: z.ZodNullable<z.ZodString>;
109
+ verificationSentAt: z.ZodNullable<z.ZodString>;
110
+ createdAt: z.ZodString;
111
+ }, z.core.$loose>;
112
+ type ProfileEmail = z.infer<typeof ProfileEmailSchema>;
113
+ declare const ProfileEmailsSchema: z.ZodObject<{
114
+ emails: z.ZodDefault<z.ZodArray<z.ZodObject<{
115
+ id: z.ZodNumber;
116
+ email: z.ZodString;
117
+ emailDomain: z.ZodString;
118
+ status: z.ZodEnum<{
119
+ verified: "verified";
120
+ pending: "pending";
121
+ expired: "expired";
122
+ }>;
123
+ verifiedAt: z.ZodNullable<z.ZodString>;
124
+ verificationSentAt: z.ZodNullable<z.ZodString>;
125
+ createdAt: z.ZodString;
126
+ }, z.core.$loose>>>;
127
+ sending: z.ZodDefault<z.ZodBoolean>;
128
+ }, z.core.$strip>;
129
+ type ProfileEmails = z.infer<typeof ProfileEmailsSchema>;
130
+ /** `sends_paused` means the address is stored but no link went out. */
131
+ type ProfileEmailSendStatus = 'verification_sent' | 'sends_paused' | 'send_failed' | 'already_verified';
132
+ interface FetchProfileEmailsOptions extends ApiFetchOptions {
133
+ /** Forward the caller's Cookie header on Next.js RSC server-side calls. */
134
+ cookieHeader?: string;
135
+ }
136
+ /** The signed-in account's addresses. Empty on any failure. */
137
+ declare function fetchProfileEmails(config: SifaApiConfig, options?: FetchProfileEmailsOptions): Promise<ProfileEmails>;
138
+ declare function addProfileEmail(config: SifaApiConfig, email: string, options?: ApiFetchOptions): Promise<WriteResult<ProfileEmail & {
139
+ sendStatus: ProfileEmailSendStatus;
140
+ }>>;
141
+ declare function resendProfileEmailVerification(config: SifaApiConfig, id: number, options?: ApiFetchOptions): Promise<WriteResult<{
142
+ sendStatus: ProfileEmailSendStatus;
143
+ }>>;
144
+ declare function removeProfileEmail(config: SifaApiConfig, id: number, options?: ApiFetchOptions): Promise<WriteResult>;
145
+
94
146
  /**
95
147
  * Organization employment attestations (sifa-workspace#623). The org side
96
148
  * writes `id.sifa.org.employmentAttestation` records through the AppView,
@@ -448,6 +500,41 @@ declare function useVerificationLog(did: string, positionRkey: string, options?:
448
500
  }[];
449
501
  }, Error>;
450
502
 
503
+ /** The signed-in account's email addresses. */
504
+ declare function useProfileEmails(options?: Omit<UseQueryOptions<ProfileEmails, Error, ProfileEmails, ReturnType<typeof sifaQueryKeys.profileEmails.list>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<{
505
+ emails: {
506
+ [x: string]: unknown;
507
+ id: number;
508
+ email: string;
509
+ emailDomain: string;
510
+ status: "verified" | "pending" | "expired";
511
+ verifiedAt: string | null;
512
+ verificationSentAt: string | null;
513
+ createdAt: string;
514
+ }[];
515
+ sending: boolean;
516
+ }, Error>;
517
+ declare function useAddProfileEmail(options?: Omit<UseMutationOptions<WriteResult<ProfileEmail & {
518
+ sendStatus: ProfileEmailSendStatus;
519
+ }>, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<{
520
+ [x: string]: unknown;
521
+ id: number;
522
+ email: string;
523
+ emailDomain: string;
524
+ status: "verified" | "pending" | "expired";
525
+ verifiedAt: string | null;
526
+ verificationSentAt: string | null;
527
+ createdAt: string;
528
+ } & {
529
+ sendStatus: ProfileEmailSendStatus;
530
+ }>, Error, string, unknown>;
531
+ declare function useResendProfileEmailVerification(options?: Omit<UseMutationOptions<WriteResult<{
532
+ sendStatus: ProfileEmailSendStatus;
533
+ }>, Error, number>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<{
534
+ sendStatus: ProfileEmailSendStatus;
535
+ }>, Error, number, unknown>;
536
+ declare function useRemoveProfileEmail(options?: Omit<UseMutationOptions<WriteResult, Error, number>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, number, unknown>;
537
+
451
538
  type Attestations = {
452
539
  attestations: OrgAttestation[];
453
540
  };
@@ -490,6 +577,17 @@ declare function useDismissUnlinkedPosition(options?: Omit<UseMutationOptions<Wr
490
577
  * signed out or on error.
491
578
  */
492
579
  declare function useProfileCompleteness(options?: Omit<UseQueryOptions<ProfileCompleteness, Error, ProfileCompleteness, ReturnType<typeof sifaQueryKeys.profile.completeness>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ProfileCompleteness, Error>;
580
+ /**
581
+ * Hide one "complete your profile" item. On success the item leaves the
582
+ * checklist and the bell count, so completeness and inbox counts are
583
+ * invalidated.
584
+ */
585
+ declare function useDismissCompletenessSignal(options?: Omit<UseMutationOptions<WriteResult, Error, DismissCompletenessSignalInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DismissCompletenessSignalInput, unknown>;
586
+ /**
587
+ * Show every hidden "complete your profile" item again. Invalidates the same
588
+ * queries as {@link useDismissCompletenessSignal}.
589
+ */
590
+ declare function useClearCompletenessDismissals(options?: Omit<UseMutationOptions<WriteResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, void, unknown>;
493
591
 
494
592
  /**
495
593
  * How many rpg.actor items the signed-in user can claim right now, for the
@@ -1157,4 +1255,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
1157
1255
  showCitationCounts: boolean;
1158
1256
  }>, unknown>;
1159
1257
 
1160
- export { useAppsRegistry as $, type AddFeatureAllowlistVariables as A, VerificationLogSchema as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, createOrgAttestation as E, type FetchOrgAttestationOptions as F, fetchAttestationRequests as G, fetchOrgAttestations as H, fetchVerificationLog as I, offboardOrgAttestation as J, rejectAttestationRequest as K, requestEmploymentConfirmation as L, revokeOrgAttestation as M, useAccounts as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, useActivityFeed as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useActivityPreferences as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, useActivityTeaser as W, useAddFeatureAllowlist as X, useAddOrgNotificationEmail as Y, useAdminReviewQueues as Z, useAppAccountCheck as _, type AttestationRequest as a, useOffboardOrgAttestation as a$, useAtFundLink as a0, useAttestationRequests as a1, useBlueskySuggestions as a2, useBulkHideProfileItems as a3, useBulkHideStandardPublications as a4, useBulkUnhideProfileItems as a5, useBulkUnhideStandardPublications as a6, useCanonicalSkillSearch as a7, useCastRoadmapVote as a8, useCreateConfirmation as a9, useFeatureAllowlist as aA, useFeaturedProfile as aB, useFollow as aC, useFollowers as aD, useFollowing as aE, useFollowingFeed as aF, useFollowingFeedVersion as aG, useFollowingList as aH, useGetProfileView as aI, useGivenConfirmations as aJ, useHeatmapData as aK, useHiddenActivityItems as aL, useHiddenApps as aM, useHideActivityItem as aN, useHideKeytraceClaim as aO, useHideOrcidPublication as aP, useHideProfileItem as aQ, useHideSifaPublication as aR, useHideStandardPublication as aS, useImportSearchEntities as aT, useInboxCounts as aU, useLinkSkillToPosition as aV, useMintEntityDomain as aW, useMutuals as aX, useMyGithubPullRequests as aY, useMyRoadmapVotes as aZ, useNetworkStreamCount as a_, useCreateEducation as aa, useCreateEndorsement as ab, useCreateExternalAccount as ac, useCreateOrgAttestation as ad, useCreatePosition as ae, useCreateProfileLocation as af, useCreateReaction as ag, useCreateRecord as ah, useCreateSkill as ai, useDebouncedValue as aj, useDeleteAccount as ak, useDeleteAvatarOverride as al, useDeleteEducation as am, useDeleteExternalAccount as an, useDeleteNamePronunciationAudio as ao, useDeletePosition as ap, useDeleteProfileLocation as aq, useDeleteReaction as ar, useDeleteRecord as as, useDeleteRepoRecords as at, useDeleteSkill as au, useDismissConfirmation as av, useDismissUnlinkedPosition as aw, useEndorsementCount as ax, useEntitySearch as ay, useExternalAccounts as az, AttestationRequestSchema as b, useUploadAvatar as b$, useOrgAttestations as b0, useOrgClaim as b1, useOrgDomainChallenge as b2, useOrgDomainVerify as b3, useOrgProfile as b4, usePendingConfirmations as b5, useProfile as b6, useProfileCompleteness as b7, useReactionStatus as b8, useRefreshOrcidPublications as b9, useSuggestionCount as bA, useSuggestions as bB, useUnfollow as bC, useUnhideActivityItem as bD, useUnhideKeytraceClaim as bE, useUnhideOrcidPublication as bF, useUnhideProfileItem as bG, useUnhideSifaPublication as bH, useUnhideStandardPublication as bI, useUnlinkSkillFromPosition as bJ, useUnlinkedPositions as bK, useUnrevealMarqueDomain as bL, useUnsetExternalAccountPrimary as bM, useUnsetPositionPrimary as bN, useUnsetSectionPrimary as bO, useUpdateActivityPreferences as bP, useUpdateEducation as bQ, useUpdateExternalAccount as bR, useUpdateOrgProfile as bS, useUpdatePosition as bT, useUpdateProfileLocation as bU, useUpdateProfileOverride as bV, useUpdateProfileSelf as bW, useUpdateRecord as bX, useUpdateSkill as bY, useUpdateSkillSubCategories as bZ, useUpdateUserSettings as b_, useRefreshPds as ba, useRejectAttestationRequest as bb, useRemoveFeatureAllowlist as bc, useRemoveOrgNotificationEmail as bd, useRepoInventory as be, useRequestEmploymentConfirmation as bf, useResetProfile as bg, useResolveEntityDomain as bh, useRetractRoadmapVote as bi, useRevealMarqueDomain as bj, useRevokeConfirmation as bk, useRevokeOrgAttestation as bl, useRoadmapVotes as bm, useRpgClaimable as bn, useRpgStatus as bo, useSearchFilters as bp, useSearchProfiles as bq, useSelectEntity as br, useSetExternalAccountPrimary as bs, useSetPositionPrimary as bt, useSetSectionPrimary as bu, useSifaConfig as bv, useSimilarProfiles as bw, useSiteActivityPreset as bx, useSkillSuggestions as by, useStats as bz, type AttestationStatus as c, useUploadNamePronunciationAudio as c0, useUserSettings as c1, useVerificationLog as c2, useVerifyExternalAccount as c3, useWipePreview as c4, useSearchCompanies as c5, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchVerificationLogOptions as h, type FollowVariables as i, OrgAttestationSchema as j, type RequestEmploymentConfirmationInput as k, type RequestEmploymentConfirmationResult as l, type SifaProviderProps as m, type UpdateEducationVariables as n, type UpdateExternalAccountVariables as o, type UpdatePositionVariables as p, type UpdateProfileLocationVariables as q, type UpdateRecordVariables as r, type UpdateSkillSubCategoriesVariables as s, type UpdateSkillVariables as t, type UseEntitySearchOptions as u, type UseMyGithubPullRequestsParams as v, type VerificationEventKind as w, type VerificationLog as x, type VerificationLogEntry as y, VerificationLogEntrySchema as z };
1258
+ export { revokeOrgAttestation as $, type AddFeatureAllowlistVariables as A, type UseMyGithubPullRequestsParams as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, type VerificationEventKind as E, type FetchOrgAttestationOptions as F, type VerificationLog as G, type VerificationLogEntry as H, VerificationLogEntrySchema as I, VerificationLogSchema as J, addProfileEmail as K, createOrgAttestation as L, fetchAttestationRequests as M, fetchOrgAttestations as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, fetchProfileEmails as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, fetchVerificationLog as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, offboardOrgAttestation as W, rejectAttestationRequest as X, removeProfileEmail as Y, requestEmploymentConfirmation as Z, resendProfileEmailVerification as _, type AttestationRequest as a, useHideOrcidPublication as a$, useAccounts as a0, useActivityFeed as a1, useActivityPreferences as a2, useActivityTeaser as a3, useAddFeatureAllowlist as a4, useAddOrgNotificationEmail as a5, useAddProfileEmail as a6, useAdminReviewQueues as a7, useAppAccountCheck as a8, useAppsRegistry as a9, useDeletePosition as aA, useDeleteProfileLocation as aB, useDeleteReaction as aC, useDeleteRecord as aD, useDeleteRepoRecords as aE, useDeleteSkill as aF, useDismissCompletenessSignal as aG, useDismissConfirmation as aH, useDismissUnlinkedPosition as aI, useEndorsementCount as aJ, useEntitySearch as aK, useExternalAccounts as aL, useFeatureAllowlist as aM, useFeaturedProfile as aN, useFollow as aO, useFollowers as aP, useFollowing as aQ, useFollowingFeed as aR, useFollowingFeedVersion as aS, useFollowingList as aT, useGetProfileView as aU, useGivenConfirmations as aV, useHeatmapData as aW, useHiddenActivityItems as aX, useHiddenApps as aY, useHideActivityItem as aZ, useHideKeytraceClaim as a_, useAtFundLink as aa, useAttestationRequests as ab, useBlueskySuggestions as ac, useBulkHideProfileItems as ad, useBulkHideStandardPublications as ae, useBulkUnhideProfileItems as af, useBulkUnhideStandardPublications as ag, useCanonicalSkillSearch as ah, useCastRoadmapVote as ai, useClearCompletenessDismissals as aj, useCreateConfirmation as ak, useCreateEducation as al, useCreateEndorsement as am, useCreateExternalAccount as an, useCreateOrgAttestation as ao, useCreatePosition as ap, useCreateProfileLocation as aq, useCreateReaction as ar, useCreateRecord as as, useCreateSkill as at, useDebouncedValue as au, useDeleteAccount as av, useDeleteAvatarOverride as aw, useDeleteEducation as ax, useDeleteExternalAccount as ay, useDeleteNamePronunciationAudio as az, AttestationRequestSchema as b, useUnsetExternalAccountPrimary as b$, useHideProfileItem as b0, useHideSifaPublication as b1, useHideStandardPublication as b2, useImportSearchEntities as b3, useInboxCounts as b4, useLinkSkillToPosition as b5, useMintEntityDomain as b6, useMutuals as b7, useMyGithubPullRequests as b8, useMyRoadmapVotes as b9, useRevokeOrgAttestation as bA, useRoadmapVotes as bB, useRpgClaimable as bC, useRpgStatus as bD, useSearchFilters as bE, useSearchProfiles as bF, useSelectEntity as bG, useSetExternalAccountPrimary as bH, useSetPositionPrimary as bI, useSetSectionPrimary as bJ, useSifaConfig as bK, useSimilarProfiles as bL, useSiteActivityPreset as bM, useSkillSuggestions as bN, useStats as bO, useSuggestionCount as bP, useSuggestions as bQ, useUnfollow as bR, useUnhideActivityItem as bS, useUnhideKeytraceClaim as bT, useUnhideOrcidPublication as bU, useUnhideProfileItem as bV, useUnhideSifaPublication as bW, useUnhideStandardPublication as bX, useUnlinkSkillFromPosition as bY, useUnlinkedPositions as bZ, useUnrevealMarqueDomain as b_, useNetworkStreamCount as ba, useOffboardOrgAttestation as bb, useOrgAttestations as bc, useOrgClaim as bd, useOrgDomainChallenge as be, useOrgDomainVerify as bf, useOrgProfile as bg, usePendingConfirmations as bh, useProfile as bi, useProfileCompleteness as bj, useProfileEmails as bk, useReactionStatus as bl, useRefreshOrcidPublications as bm, useRefreshPds as bn, useRejectAttestationRequest as bo, useRemoveFeatureAllowlist as bp, useRemoveOrgNotificationEmail as bq, useRemoveProfileEmail as br, useRepoInventory as bs, useRequestEmploymentConfirmation as bt, useResendProfileEmailVerification as bu, useResetProfile as bv, useResolveEntityDomain as bw, useRetractRoadmapVote as bx, useRevealMarqueDomain as by, useRevokeConfirmation as bz, type AttestationStatus as c, useUnsetPositionPrimary as c0, useUnsetSectionPrimary as c1, useUpdateActivityPreferences as c2, useUpdateEducation as c3, useUpdateExternalAccount as c4, useUpdateOrgProfile as c5, useUpdatePosition as c6, useUpdateProfileLocation as c7, useUpdateProfileOverride as c8, useUpdateProfileSelf as c9, useUpdateRecord as ca, useUpdateSkill as cb, useUpdateSkillSubCategories as cc, useUpdateUserSettings as cd, useUploadAvatar as ce, useUploadNamePronunciationAudio as cf, useUserSettings as cg, useVerificationLog as ch, useVerifyExternalAccount as ci, useWipePreview as cj, useSearchCompanies as ck, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchProfileEmailsOptions as h, type FetchVerificationLogOptions as i, type FollowVariables as j, OrgAttestationSchema as k, type ProfileEmail as l, ProfileEmailSchema as m, type ProfileEmailSendStatus as n, type ProfileEmails as o, type RequestEmploymentConfirmationInput as p, type RequestEmploymentConfirmationResult as q, type SifaProviderProps as r, type UpdateEducationVariables as s, type UpdateExternalAccountVariables as t, type UpdatePositionVariables as u, type UpdateProfileLocationVariables as v, type UpdateRecordVariables as w, type UpdateSkillSubCategoriesVariables as x, type UpdateSkillVariables as y, type UseEntitySearchOptions as z };
@@ -515,6 +515,12 @@ interface ProfileCompleteness {
515
515
  total: number;
516
516
  /** The signals still missing, for the checklist. */
517
517
  missing: ProfileCompletenessSignal[];
518
+ /**
519
+ * Signals the user hid from the checklist. They stay in `missing` (the score
520
+ * is unchanged); clients hide them. Absent from an AppView that predates
521
+ * server-side dismissals.
522
+ */
523
+ dismissed?: ProfileCompletenessSignal[];
518
524
  }
519
525
  interface FetchProfileCompletenessOptions extends ApiFetchOptions {
520
526
  /**
@@ -532,6 +538,17 @@ interface FetchProfileCompletenessOptions extends ApiFetchOptions {
532
538
  * nagging the user with a phantom checklist.
533
539
  */
534
540
  declare function fetchProfileCompleteness(config: SifaApiConfig, options?: FetchProfileCompletenessOptions): Promise<ProfileCompleteness>;
541
+ /** Body accepted by {@link dismissCompletenessSignal}. */
542
+ interface DismissCompletenessSignalInput {
543
+ signal: ProfileCompletenessSignal;
544
+ }
545
+ /**
546
+ * Hide one "complete your profile" item for the signed-in user, on every
547
+ * device. Writes nothing to any PDS and leaves the score unchanged.
548
+ */
549
+ declare function dismissCompletenessSignal(config: SifaApiConfig, data: DismissCompletenessSignalInput, options?: ApiFetchOptions): Promise<WriteResult>;
550
+ /** Show every hidden "complete your profile" item again. */
551
+ declare function clearCompletenessDismissals(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
535
552
 
536
553
  /** Extended result for {@link refreshOrcidPublications}. */
537
554
  type RefreshOrcidPublicationsResult = WriteResult<{
@@ -1300,6 +1317,8 @@ interface AdminReviewQueues {
1300
1317
  nameCorrections: number;
1301
1318
  pendingCompanies: number;
1302
1319
  duplicateOrgs: number;
1320
+ /** Pending reports of wrong Jev-inferred company facts (one per org + field). */
1321
+ inferredFactReports: number;
1303
1322
  /** Sum of the queues. */
1304
1323
  total: number;
1305
1324
  generatedAt: string;
@@ -1812,6 +1831,11 @@ declare const sifaQueryKeys: {
1812
1831
  /** Pending confirmation requests addressed to the signed-in organization. */
1813
1832
  readonly attestationRequests: () => readonly ["sifa", "org", "attestation-requests"];
1814
1833
  };
1834
+ readonly profileEmails: {
1835
+ readonly all: () => readonly ["sifa", "profile-emails"];
1836
+ /** The signed-in account's email addresses (#158). */
1837
+ readonly list: () => readonly ["sifa", "profile-emails", "list"];
1838
+ };
1815
1839
  readonly verification: {
1816
1840
  readonly all: () => readonly ["sifa", "verification"];
1817
1841
  /** The append-only verification log of one position. */
@@ -1961,4 +1985,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
1961
1985
  /** Save the given preferences. Returns the stored settings, or `null` on failure. */
1962
1986
  declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
1963
1987
 
1964
- export { type FollowingResponse as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput 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 FetchRpgClaimableOptions as N, type FetchRpgStatusOptions as O, type FetchSuggestionsOptions as P, type FetchUnlinkedPositionsOptions as Q, type FetchUserSettingsOptions as R, type FollowListPage as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type FollowingFeedApp as W, type FollowingFeedBuild as X, type FollowingFeedEmptyReason as Y, type FollowingFeedResponse as Z, type FollowingFeedVersion as _, type ConfirmEndorsementResult as a, type SuggestionProfile as a$, type GetAdminReviewQueuesOptions as a0, type GithubPullRequest as a1, type GivenConfirmation as a2, HIDDEN_ITEM_SOURCES as a3, HIDDEN_ITEM_TYPES as a4, type HeatmapDay as a5, type HeatmapResponse as a6, type HiddenActivityItem as a7, type HiddenApp as a8, type HiddenItemSource as a9, type QuotedPostAuthor as aA, type QuotedPostImage as aB, type QuotedPostResult as aC, type QuotedPostView as aD, type ReactionError as aE, type ReactionResult as aF, type ReactionStatus as aG, type RefreshOrcidPublicationsResult as aH, type RefreshPdsResult as aI, type RepoDeleteInput as aJ, type ResetProfileResult as aK, type ResolveQuotedPostsOptions as aL, type RoadmapVoteError as aM, type RoadmapVoteResult as aN, type RoadmapVoter as aO, type RoadmapVotesResponse as aP, type RpgClaimableResponse as aQ, RpgClaimableResponseSchema as aR, type RpgItemStatus as aS, RpgItemStatusSchema as aT, type RpgStatusResponse as aU, RpgStatusResponseSchema as aV, type SifaQueryKey as aW, type SimilarProfile as aX, type SiteActivityPresetResponse as aY, type StatsResponse as aZ, type SubCategoryBulkResult as a_, type HiddenItemType as aa, type HideActivityItemInput as ab, type HideProfileItemInput as ac, type InboxCounts as ad, type ListFeatureAllowlistOptions as ae, type MyGithubPullRequestsResponse as af, type OrgClaimBinding as ag, type OrgClaimResult as ah, type OrgDomainChallengeResult as ai, type OrgDomainVerifyResult as aj, type OrgNotificationEmailAddResult as ak, type OrgNotificationEmailRemoveResult as al, type OrgProfileEcho as am, type OrgProfileUpdateResult as an, PROFILE_COMPLETENESS_SIGNALS as ao, type PdsWipeOutcome as ap, type PendingConfirmation as aq, type PendingConfirmationsPage as ar, type PrimarySection as as, type ProfileCompleteness as at, type ProfileCompletenessSignal as au, type ProfileIndustryInput as av, type ProfileLocationAddress as aw, type ProfileLocationInput as ax, type ProfileSelfLocation as ay, QUOTED_POSTS_BATCH_MAX as az, type AccountSummary as b, fetchSimilarProfiles as b$, type SuggestionsResponse as b0, type UnhideActivityItemInput as b1, type UnlinkedPosition as b2, type UnlinkedPositionsResult as b3, type UpdateActivityPreferencesInput as b4, type UpdateProfileOverrideInput as b5, type UpdateProfileSelfInput as b6, type UploadAvatarResult as b7, type UploadPronunciationAudioResult as b8, type UserSettings as b9, deleteSkill as bA, dismissConfirmation as bB, dismissUnlinkedPosition as bC, fetchAccounts as bD, fetchActivityFeed as bE, fetchActivityPreferences as bF, fetchActivityTeaser as bG, fetchAppsRegistry as bH, fetchExternalAccounts as bI, fetchFeaturedProfile as bJ, fetchFollowing as bK, fetchFollowingFeed as bL, fetchFollowingFeedVersion as bM, fetchGivenConfirmations as bN, fetchHeatmapData as bO, fetchHiddenActivityItems as bP, fetchHiddenApps as bQ, fetchInboxCounts as bR, fetchMyGithubPullRequests as bS, fetchMyRoadmapVotes as bT, fetchPendingConfirmations as bU, fetchProfileCompleteness as bV, fetchReactionStatus as bW, fetchRepoInventory as bX, fetchRoadmapVotes as bY, fetchRpgClaimable as bZ, fetchRpgStatus as b_, type UserSettingsPatch as ba, UserSettingsSchema as bb, type VerifyExternalAccountResult as bc, type WipePreview as bd, addFeatureAllowlist as be, addOrgNotificationEmail as bf, bulkHideProfileItems as bg, bulkHideStandardPublications as bh, bulkUnhideProfileItems as bi, bulkUnhideStandardPublications as bj, castRoadmapVote as bk, checkAppAccount as bl, confirmEndorsement as bm, createConfirmation as bn, createEndorsement as bo, createExternalAccount as bp, createProfileLocation as bq, createReaction as br, createSkill as bs, deleteAccount as bt, deleteAvatarOverride as bu, deleteExternalAccount as bv, deleteNamePronunciationAudio as bw, deleteProfileLocation as bx, deleteReaction as by, deleteRepoRecords as bz, type ActivityFeedResponse as c, fetchSiteActivityPreset as c0, fetchStats as c1, fetchSuggestionCount as c2, fetchSuggestions as c3, fetchUnlinkedPositions as c4, fetchUserSettings as c5, fetchViewerPositionConfirmations as c6, fetchWipePreview as c7, followUser as c8, getAdminReviewQueues as c9, unhideActivityItem as cA, unhideOrcidPublication as cB, unhideProfileItem as cC, unhideSifaPublication as cD, unhideStandardPublication as cE, unsetExternalAccountPrimary as cF, unsetSectionPrimary as cG, updateActivityPreferences as cH, updateExternalAccount as cI, updateOrgProfile as cJ, updateProfileLocation as cK, updateProfileOverride as cL, updateProfileSelf as cM, updateSkill as cN, updateSkillSubCategories as cO, updateUserSettings as cP, uploadAvatar as cQ, uploadNamePronunciationAudio as cR, verifyExternalAccount as cS, verifyOrgDomain as cT, getBlueskySuggestions as ca, getFollowers as cb, getFollowing as cc, getMutuals as cd, hideActivityItem as ce, hideOrcidPublication as cf, hideProfileItem as cg, hideSifaPublication as ch, hideStandardPublication as ci, isNewerFollowingFeed as cj, listFeatureAllowlist as ck, refreshOrcidPublications as cl, refreshPds as cm, removeFeatureAllowlist as cn, removeOrgNotificationEmail as co, repoExportUrl as cp, requestOrgDomainChallenge as cq, resetProfile as cr, resolveQuotedPosts as cs, retractRoadmapVote as ct, revokeConfirmation as cu, setExternalAccountPrimary as cv, setSectionPrimary as cw, submitOrgClaim as cx, switchAccount as cy, unfollowUser as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissUnlinkedPositionInput as o, type ExternalAccountInput as p, type FeaturedProfile as q, type FetchAccountsOptions as r, sifaQueryKeys as s, type FetchActivityFeedOptions as t, type FetchActivityPreferencesOptions as u, type FetchActivityTeaserOptions as v, type FetchConfirmationsOptions as w, type FetchFollowListOptions as x, type FetchFollowProfilePageOptions as y, type FetchFollowingFeedOptions as z };
1988
+ export { type FollowingFeedVersion as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput 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 FetchRpgClaimableOptions as O, type FetchRpgStatusOptions as P, type FetchSuggestionsOptions as Q, type FetchUnlinkedPositionsOptions as R, type FetchUserSettingsOptions as S, type FollowListPage as T, type FollowProfile as U, type FollowProfilePageResponse as V, type FollowUserResult as W, type FollowingFeedApp as X, type FollowingFeedBuild as Y, type FollowingFeedEmptyReason as Z, type FollowingFeedResponse as _, type ConfirmEndorsementResult as a, type SubCategoryBulkResult as a$, type FollowingResponse as a0, type GetAdminReviewQueuesOptions as a1, type GithubPullRequest as a2, type GivenConfirmation as a3, HIDDEN_ITEM_SOURCES as a4, HIDDEN_ITEM_TYPES as a5, type HeatmapDay as a6, type HeatmapResponse as a7, type HiddenActivityItem as a8, type HiddenApp as a9, QUOTED_POSTS_BATCH_MAX as aA, type QuotedPostAuthor as aB, type QuotedPostImage as aC, type QuotedPostResult as aD, type QuotedPostView as aE, type ReactionError as aF, type ReactionResult as aG, type ReactionStatus as aH, type RefreshOrcidPublicationsResult as aI, type RefreshPdsResult as aJ, type RepoDeleteInput as aK, type ResetProfileResult as aL, type ResolveQuotedPostsOptions as aM, type RoadmapVoteError as aN, type RoadmapVoteResult as aO, type RoadmapVoter as aP, type RoadmapVotesResponse as aQ, type RpgClaimableResponse as aR, RpgClaimableResponseSchema as aS, type RpgItemStatus as aT, RpgItemStatusSchema as aU, type RpgStatusResponse as aV, RpgStatusResponseSchema as aW, type SifaQueryKey as aX, type SimilarProfile as aY, type SiteActivityPresetResponse as aZ, type StatsResponse as a_, type HiddenItemSource as aa, type HiddenItemType as ab, type HideActivityItemInput as ac, type HideProfileItemInput as ad, type InboxCounts as ae, type ListFeatureAllowlistOptions as af, type MyGithubPullRequestsResponse as ag, type OrgClaimBinding as ah, type OrgClaimResult as ai, type OrgDomainChallengeResult as aj, type OrgDomainVerifyResult as ak, type OrgNotificationEmailAddResult as al, type OrgNotificationEmailRemoveResult as am, type OrgProfileEcho as an, type OrgProfileUpdateResult as ao, PROFILE_COMPLETENESS_SIGNALS as ap, type PdsWipeOutcome as aq, type PendingConfirmation as ar, type PendingConfirmationsPage as as, type PrimarySection as at, type ProfileCompleteness as au, type ProfileCompletenessSignal as av, type ProfileIndustryInput as aw, type ProfileLocationAddress as ax, type ProfileLocationInput as ay, type ProfileSelfLocation as az, type AccountSummary as b, fetchRoadmapVotes as b$, type SuggestionProfile as b0, type SuggestionsResponse as b1, type UnhideActivityItemInput as b2, type UnlinkedPosition as b3, type UnlinkedPositionsResult as b4, type UpdateActivityPreferencesInput as b5, type UpdateProfileOverrideInput as b6, type UpdateProfileSelfInput as b7, type UploadAvatarResult as b8, type UploadPronunciationAudioResult as b9, deleteReaction as bA, deleteRepoRecords as bB, deleteSkill as bC, dismissCompletenessSignal as bD, dismissConfirmation as bE, dismissUnlinkedPosition as bF, fetchAccounts as bG, fetchActivityFeed as bH, fetchActivityPreferences as bI, fetchActivityTeaser as bJ, fetchAppsRegistry as bK, fetchExternalAccounts as bL, fetchFeaturedProfile as bM, fetchFollowing as bN, fetchFollowingFeed as bO, fetchFollowingFeedVersion as bP, fetchGivenConfirmations as bQ, fetchHeatmapData as bR, fetchHiddenActivityItems as bS, fetchHiddenApps as bT, fetchInboxCounts as bU, fetchMyGithubPullRequests as bV, fetchMyRoadmapVotes as bW, fetchPendingConfirmations as bX, fetchProfileCompleteness as bY, fetchReactionStatus as bZ, fetchRepoInventory as b_, type UserSettings as ba, type UserSettingsPatch as bb, UserSettingsSchema as bc, type VerifyExternalAccountResult as bd, type WipePreview as be, addFeatureAllowlist as bf, addOrgNotificationEmail as bg, bulkHideProfileItems as bh, bulkHideStandardPublications as bi, bulkUnhideProfileItems as bj, bulkUnhideStandardPublications as bk, castRoadmapVote as bl, checkAppAccount as bm, clearCompletenessDismissals as bn, confirmEndorsement as bo, createConfirmation as bp, createEndorsement as bq, createExternalAccount as br, createProfileLocation as bs, createReaction as bt, createSkill as bu, deleteAccount as bv, deleteAvatarOverride as bw, deleteExternalAccount as bx, deleteNamePronunciationAudio as by, deleteProfileLocation as bz, type ActivityFeedResponse as c, fetchRpgClaimable as c0, fetchRpgStatus as c1, fetchSimilarProfiles as c2, fetchSiteActivityPreset as c3, fetchStats as c4, fetchSuggestionCount as c5, fetchSuggestions as c6, fetchUnlinkedPositions as c7, fetchUserSettings as c8, fetchViewerPositionConfirmations as c9, submitOrgClaim as cA, switchAccount as cB, unfollowUser as cC, unhideActivityItem as cD, unhideOrcidPublication as cE, unhideProfileItem as cF, unhideSifaPublication as cG, unhideStandardPublication as cH, unsetExternalAccountPrimary as cI, unsetSectionPrimary as cJ, updateActivityPreferences as cK, updateExternalAccount as cL, updateOrgProfile as cM, updateProfileLocation as cN, updateProfileOverride as cO, updateProfileSelf as cP, updateSkill as cQ, updateSkillSubCategories as cR, updateUserSettings as cS, uploadAvatar as cT, uploadNamePronunciationAudio as cU, verifyExternalAccount as cV, verifyOrgDomain as cW, fetchWipePreview as ca, followUser as cb, getAdminReviewQueues as cc, getBlueskySuggestions as cd, getFollowers as ce, getFollowing as cf, getMutuals as cg, hideActivityItem as ch, hideOrcidPublication as ci, hideProfileItem as cj, hideSifaPublication as ck, hideStandardPublication as cl, isNewerFollowingFeed as cm, listFeatureAllowlist as cn, refreshOrcidPublications as co, refreshPds as cp, removeFeatureAllowlist as cq, removeOrgNotificationEmail as cr, repoExportUrl as cs, requestOrgDomainChallenge as ct, resetProfile as cu, resolveQuotedPosts as cv, retractRoadmapVote as cw, revokeConfirmation as cx, setExternalAccountPrimary as cy, setSectionPrimary as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissCompletenessSignalInput as o, type DismissUnlinkedPositionInput as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityPreferencesOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
@@ -515,6 +515,12 @@ interface ProfileCompleteness {
515
515
  total: number;
516
516
  /** The signals still missing, for the checklist. */
517
517
  missing: ProfileCompletenessSignal[];
518
+ /**
519
+ * Signals the user hid from the checklist. They stay in `missing` (the score
520
+ * is unchanged); clients hide them. Absent from an AppView that predates
521
+ * server-side dismissals.
522
+ */
523
+ dismissed?: ProfileCompletenessSignal[];
518
524
  }
519
525
  interface FetchProfileCompletenessOptions extends ApiFetchOptions {
520
526
  /**
@@ -532,6 +538,17 @@ interface FetchProfileCompletenessOptions extends ApiFetchOptions {
532
538
  * nagging the user with a phantom checklist.
533
539
  */
534
540
  declare function fetchProfileCompleteness(config: SifaApiConfig, options?: FetchProfileCompletenessOptions): Promise<ProfileCompleteness>;
541
+ /** Body accepted by {@link dismissCompletenessSignal}. */
542
+ interface DismissCompletenessSignalInput {
543
+ signal: ProfileCompletenessSignal;
544
+ }
545
+ /**
546
+ * Hide one "complete your profile" item for the signed-in user, on every
547
+ * device. Writes nothing to any PDS and leaves the score unchanged.
548
+ */
549
+ declare function dismissCompletenessSignal(config: SifaApiConfig, data: DismissCompletenessSignalInput, options?: ApiFetchOptions): Promise<WriteResult>;
550
+ /** Show every hidden "complete your profile" item again. */
551
+ declare function clearCompletenessDismissals(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
535
552
 
536
553
  /** Extended result for {@link refreshOrcidPublications}. */
537
554
  type RefreshOrcidPublicationsResult = WriteResult<{
@@ -1300,6 +1317,8 @@ interface AdminReviewQueues {
1300
1317
  nameCorrections: number;
1301
1318
  pendingCompanies: number;
1302
1319
  duplicateOrgs: number;
1320
+ /** Pending reports of wrong Jev-inferred company facts (one per org + field). */
1321
+ inferredFactReports: number;
1303
1322
  /** Sum of the queues. */
1304
1323
  total: number;
1305
1324
  generatedAt: string;
@@ -1812,6 +1831,11 @@ declare const sifaQueryKeys: {
1812
1831
  /** Pending confirmation requests addressed to the signed-in organization. */
1813
1832
  readonly attestationRequests: () => readonly ["sifa", "org", "attestation-requests"];
1814
1833
  };
1834
+ readonly profileEmails: {
1835
+ readonly all: () => readonly ["sifa", "profile-emails"];
1836
+ /** The signed-in account's email addresses (#158). */
1837
+ readonly list: () => readonly ["sifa", "profile-emails", "list"];
1838
+ };
1815
1839
  readonly verification: {
1816
1840
  readonly all: () => readonly ["sifa", "verification"];
1817
1841
  /** The append-only verification log of one position. */
@@ -1961,4 +1985,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
1961
1985
  /** Save the given preferences. Returns the stored settings, or `null` on failure. */
1962
1986
  declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
1963
1987
 
1964
- export { type FollowingResponse as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput 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 FetchRpgClaimableOptions as N, type FetchRpgStatusOptions as O, type FetchSuggestionsOptions as P, type FetchUnlinkedPositionsOptions as Q, type FetchUserSettingsOptions as R, type FollowListPage as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type FollowingFeedApp as W, type FollowingFeedBuild as X, type FollowingFeedEmptyReason as Y, type FollowingFeedResponse as Z, type FollowingFeedVersion as _, type ConfirmEndorsementResult as a, type SuggestionProfile as a$, type GetAdminReviewQueuesOptions as a0, type GithubPullRequest as a1, type GivenConfirmation as a2, HIDDEN_ITEM_SOURCES as a3, HIDDEN_ITEM_TYPES as a4, type HeatmapDay as a5, type HeatmapResponse as a6, type HiddenActivityItem as a7, type HiddenApp as a8, type HiddenItemSource as a9, type QuotedPostAuthor as aA, type QuotedPostImage as aB, type QuotedPostResult as aC, type QuotedPostView as aD, type ReactionError as aE, type ReactionResult as aF, type ReactionStatus as aG, type RefreshOrcidPublicationsResult as aH, type RefreshPdsResult as aI, type RepoDeleteInput as aJ, type ResetProfileResult as aK, type ResolveQuotedPostsOptions as aL, type RoadmapVoteError as aM, type RoadmapVoteResult as aN, type RoadmapVoter as aO, type RoadmapVotesResponse as aP, type RpgClaimableResponse as aQ, RpgClaimableResponseSchema as aR, type RpgItemStatus as aS, RpgItemStatusSchema as aT, type RpgStatusResponse as aU, RpgStatusResponseSchema as aV, type SifaQueryKey as aW, type SimilarProfile as aX, type SiteActivityPresetResponse as aY, type StatsResponse as aZ, type SubCategoryBulkResult as a_, type HiddenItemType as aa, type HideActivityItemInput as ab, type HideProfileItemInput as ac, type InboxCounts as ad, type ListFeatureAllowlistOptions as ae, type MyGithubPullRequestsResponse as af, type OrgClaimBinding as ag, type OrgClaimResult as ah, type OrgDomainChallengeResult as ai, type OrgDomainVerifyResult as aj, type OrgNotificationEmailAddResult as ak, type OrgNotificationEmailRemoveResult as al, type OrgProfileEcho as am, type OrgProfileUpdateResult as an, PROFILE_COMPLETENESS_SIGNALS as ao, type PdsWipeOutcome as ap, type PendingConfirmation as aq, type PendingConfirmationsPage as ar, type PrimarySection as as, type ProfileCompleteness as at, type ProfileCompletenessSignal as au, type ProfileIndustryInput as av, type ProfileLocationAddress as aw, type ProfileLocationInput as ax, type ProfileSelfLocation as ay, QUOTED_POSTS_BATCH_MAX as az, type AccountSummary as b, fetchSimilarProfiles as b$, type SuggestionsResponse as b0, type UnhideActivityItemInput as b1, type UnlinkedPosition as b2, type UnlinkedPositionsResult as b3, type UpdateActivityPreferencesInput as b4, type UpdateProfileOverrideInput as b5, type UpdateProfileSelfInput as b6, type UploadAvatarResult as b7, type UploadPronunciationAudioResult as b8, type UserSettings as b9, deleteSkill as bA, dismissConfirmation as bB, dismissUnlinkedPosition as bC, fetchAccounts as bD, fetchActivityFeed as bE, fetchActivityPreferences as bF, fetchActivityTeaser as bG, fetchAppsRegistry as bH, fetchExternalAccounts as bI, fetchFeaturedProfile as bJ, fetchFollowing as bK, fetchFollowingFeed as bL, fetchFollowingFeedVersion as bM, fetchGivenConfirmations as bN, fetchHeatmapData as bO, fetchHiddenActivityItems as bP, fetchHiddenApps as bQ, fetchInboxCounts as bR, fetchMyGithubPullRequests as bS, fetchMyRoadmapVotes as bT, fetchPendingConfirmations as bU, fetchProfileCompleteness as bV, fetchReactionStatus as bW, fetchRepoInventory as bX, fetchRoadmapVotes as bY, fetchRpgClaimable as bZ, fetchRpgStatus as b_, type UserSettingsPatch as ba, UserSettingsSchema as bb, type VerifyExternalAccountResult as bc, type WipePreview as bd, addFeatureAllowlist as be, addOrgNotificationEmail as bf, bulkHideProfileItems as bg, bulkHideStandardPublications as bh, bulkUnhideProfileItems as bi, bulkUnhideStandardPublications as bj, castRoadmapVote as bk, checkAppAccount as bl, confirmEndorsement as bm, createConfirmation as bn, createEndorsement as bo, createExternalAccount as bp, createProfileLocation as bq, createReaction as br, createSkill as bs, deleteAccount as bt, deleteAvatarOverride as bu, deleteExternalAccount as bv, deleteNamePronunciationAudio as bw, deleteProfileLocation as bx, deleteReaction as by, deleteRepoRecords as bz, type ActivityFeedResponse as c, fetchSiteActivityPreset as c0, fetchStats as c1, fetchSuggestionCount as c2, fetchSuggestions as c3, fetchUnlinkedPositions as c4, fetchUserSettings as c5, fetchViewerPositionConfirmations as c6, fetchWipePreview as c7, followUser as c8, getAdminReviewQueues as c9, unhideActivityItem as cA, unhideOrcidPublication as cB, unhideProfileItem as cC, unhideSifaPublication as cD, unhideStandardPublication as cE, unsetExternalAccountPrimary as cF, unsetSectionPrimary as cG, updateActivityPreferences as cH, updateExternalAccount as cI, updateOrgProfile as cJ, updateProfileLocation as cK, updateProfileOverride as cL, updateProfileSelf as cM, updateSkill as cN, updateSkillSubCategories as cO, updateUserSettings as cP, uploadAvatar as cQ, uploadNamePronunciationAudio as cR, verifyExternalAccount as cS, verifyOrgDomain as cT, getBlueskySuggestions as ca, getFollowers as cb, getFollowing as cc, getMutuals as cd, hideActivityItem as ce, hideOrcidPublication as cf, hideProfileItem as cg, hideSifaPublication as ch, hideStandardPublication as ci, isNewerFollowingFeed as cj, listFeatureAllowlist as ck, refreshOrcidPublications as cl, refreshPds as cm, removeFeatureAllowlist as cn, removeOrgNotificationEmail as co, repoExportUrl as cp, requestOrgDomainChallenge as cq, resetProfile as cr, resolveQuotedPosts as cs, retractRoadmapVote as ct, revokeConfirmation as cu, setExternalAccountPrimary as cv, setSectionPrimary as cw, submitOrgClaim as cx, switchAccount as cy, unfollowUser as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissUnlinkedPositionInput as o, type ExternalAccountInput as p, type FeaturedProfile as q, type FetchAccountsOptions as r, sifaQueryKeys as s, type FetchActivityFeedOptions as t, type FetchActivityPreferencesOptions as u, type FetchActivityTeaserOptions as v, type FetchConfirmationsOptions as w, type FetchFollowListOptions as x, type FetchFollowProfilePageOptions as y, type FetchFollowingFeedOptions as z };
1988
+ export { type FollowingFeedVersion as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput 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 FetchRpgClaimableOptions as O, type FetchRpgStatusOptions as P, type FetchSuggestionsOptions as Q, type FetchUnlinkedPositionsOptions as R, type FetchUserSettingsOptions as S, type FollowListPage as T, type FollowProfile as U, type FollowProfilePageResponse as V, type FollowUserResult as W, type FollowingFeedApp as X, type FollowingFeedBuild as Y, type FollowingFeedEmptyReason as Z, type FollowingFeedResponse as _, type ConfirmEndorsementResult as a, type SubCategoryBulkResult as a$, type FollowingResponse as a0, type GetAdminReviewQueuesOptions as a1, type GithubPullRequest as a2, type GivenConfirmation as a3, HIDDEN_ITEM_SOURCES as a4, HIDDEN_ITEM_TYPES as a5, type HeatmapDay as a6, type HeatmapResponse as a7, type HiddenActivityItem as a8, type HiddenApp as a9, QUOTED_POSTS_BATCH_MAX as aA, type QuotedPostAuthor as aB, type QuotedPostImage as aC, type QuotedPostResult as aD, type QuotedPostView as aE, type ReactionError as aF, type ReactionResult as aG, type ReactionStatus as aH, type RefreshOrcidPublicationsResult as aI, type RefreshPdsResult as aJ, type RepoDeleteInput as aK, type ResetProfileResult as aL, type ResolveQuotedPostsOptions as aM, type RoadmapVoteError as aN, type RoadmapVoteResult as aO, type RoadmapVoter as aP, type RoadmapVotesResponse as aQ, type RpgClaimableResponse as aR, RpgClaimableResponseSchema as aS, type RpgItemStatus as aT, RpgItemStatusSchema as aU, type RpgStatusResponse as aV, RpgStatusResponseSchema as aW, type SifaQueryKey as aX, type SimilarProfile as aY, type SiteActivityPresetResponse as aZ, type StatsResponse as a_, type HiddenItemSource as aa, type HiddenItemType as ab, type HideActivityItemInput as ac, type HideProfileItemInput as ad, type InboxCounts as ae, type ListFeatureAllowlistOptions as af, type MyGithubPullRequestsResponse as ag, type OrgClaimBinding as ah, type OrgClaimResult as ai, type OrgDomainChallengeResult as aj, type OrgDomainVerifyResult as ak, type OrgNotificationEmailAddResult as al, type OrgNotificationEmailRemoveResult as am, type OrgProfileEcho as an, type OrgProfileUpdateResult as ao, PROFILE_COMPLETENESS_SIGNALS as ap, type PdsWipeOutcome as aq, type PendingConfirmation as ar, type PendingConfirmationsPage as as, type PrimarySection as at, type ProfileCompleteness as au, type ProfileCompletenessSignal as av, type ProfileIndustryInput as aw, type ProfileLocationAddress as ax, type ProfileLocationInput as ay, type ProfileSelfLocation as az, type AccountSummary as b, fetchRoadmapVotes as b$, type SuggestionProfile as b0, type SuggestionsResponse as b1, type UnhideActivityItemInput as b2, type UnlinkedPosition as b3, type UnlinkedPositionsResult as b4, type UpdateActivityPreferencesInput as b5, type UpdateProfileOverrideInput as b6, type UpdateProfileSelfInput as b7, type UploadAvatarResult as b8, type UploadPronunciationAudioResult as b9, deleteReaction as bA, deleteRepoRecords as bB, deleteSkill as bC, dismissCompletenessSignal as bD, dismissConfirmation as bE, dismissUnlinkedPosition as bF, fetchAccounts as bG, fetchActivityFeed as bH, fetchActivityPreferences as bI, fetchActivityTeaser as bJ, fetchAppsRegistry as bK, fetchExternalAccounts as bL, fetchFeaturedProfile as bM, fetchFollowing as bN, fetchFollowingFeed as bO, fetchFollowingFeedVersion as bP, fetchGivenConfirmations as bQ, fetchHeatmapData as bR, fetchHiddenActivityItems as bS, fetchHiddenApps as bT, fetchInboxCounts as bU, fetchMyGithubPullRequests as bV, fetchMyRoadmapVotes as bW, fetchPendingConfirmations as bX, fetchProfileCompleteness as bY, fetchReactionStatus as bZ, fetchRepoInventory as b_, type UserSettings as ba, type UserSettingsPatch as bb, UserSettingsSchema as bc, type VerifyExternalAccountResult as bd, type WipePreview as be, addFeatureAllowlist as bf, addOrgNotificationEmail as bg, bulkHideProfileItems as bh, bulkHideStandardPublications as bi, bulkUnhideProfileItems as bj, bulkUnhideStandardPublications as bk, castRoadmapVote as bl, checkAppAccount as bm, clearCompletenessDismissals as bn, confirmEndorsement as bo, createConfirmation as bp, createEndorsement as bq, createExternalAccount as br, createProfileLocation as bs, createReaction as bt, createSkill as bu, deleteAccount as bv, deleteAvatarOverride as bw, deleteExternalAccount as bx, deleteNamePronunciationAudio as by, deleteProfileLocation as bz, type ActivityFeedResponse as c, fetchRpgClaimable as c0, fetchRpgStatus as c1, fetchSimilarProfiles as c2, fetchSiteActivityPreset as c3, fetchStats as c4, fetchSuggestionCount as c5, fetchSuggestions as c6, fetchUnlinkedPositions as c7, fetchUserSettings as c8, fetchViewerPositionConfirmations as c9, submitOrgClaim as cA, switchAccount as cB, unfollowUser as cC, unhideActivityItem as cD, unhideOrcidPublication as cE, unhideProfileItem as cF, unhideSifaPublication as cG, unhideStandardPublication as cH, unsetExternalAccountPrimary as cI, unsetSectionPrimary as cJ, updateActivityPreferences as cK, updateExternalAccount as cL, updateOrgProfile as cM, updateProfileLocation as cN, updateProfileOverride as cO, updateProfileSelf as cP, updateSkill as cQ, updateSkillSubCategories as cR, updateUserSettings as cS, uploadAvatar as cT, uploadNamePronunciationAudio as cU, verifyExternalAccount as cV, verifyOrgDomain as cW, fetchWipePreview as ca, followUser as cb, getAdminReviewQueues as cc, getBlueskySuggestions as cd, getFollowers as ce, getFollowing as cf, getMutuals as cg, hideActivityItem as ch, hideOrcidPublication as ci, hideProfileItem as cj, hideSifaPublication as ck, hideStandardPublication as cl, isNewerFollowingFeed as cm, listFeatureAllowlist as cn, refreshOrcidPublications as co, refreshPds as cp, removeFeatureAllowlist as cq, removeOrgNotificationEmail as cr, repoExportUrl as cs, requestOrgDomainChallenge as ct, resetProfile as cu, resolveQuotedPosts as cv, retractRoadmapVote as cw, revokeConfirmation as cx, setExternalAccountPrimary as cy, setSectionPrimary as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissCompletenessSignalInput as o, type DismissUnlinkedPositionInput as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityPreferencesOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singi-labs/sifa-sdk",
3
- "version": "0.19.96",
3
+ "version": "0.19.98",
4
4
  "description": "Sifa SDK — public client library for the Sifa AppView on AT Protocol. Shared by sifa-web and sifa-app.",
5
5
  "license": "MIT",
6
6
  "type": "module",