@singi-labs/sifa-sdk 0.18.10 → 0.18.12

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 (41) hide show
  1. package/dist/{index-CTzpbW81.d.cts → index-DIwi3bpk.d.cts} +17 -9
  2. package/dist/{index-CTzpbW81.d.ts → index-DIwi3bpk.d.ts} +17 -9
  3. package/dist/index.cjs +7 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +27 -5
  6. package/dist/index.d.ts +27 -5
  7. package/dist/index.js +7 -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-BfjOE-C3.d.ts → network-map-5WbfyFed.d.ts} +15 -6
  12. package/dist/{network-map-CKTFPnYE.d.cts → network-map-Cwv7SsL0.d.cts} +15 -6
  13. package/dist/{org-CPEFdMmo.d.cts → org-BHz9ymjp.d.cts} +124 -6
  14. package/dist/{org-BoLWIj_W.d.ts → org-Bgz5parA.d.ts} +124 -6
  15. package/dist/{profile-summary-C557t4hr.d.cts → profile-summary-BnydsN4P.d.cts} +1 -1
  16. package/dist/{profile-summary-Bj_vVxkv.d.ts → profile-summary-H-R1juYp.d.ts} +1 -1
  17. package/dist/query/fetchers/index.cjs +116 -5
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +6 -6
  20. package/dist/query/fetchers/index.d.ts +6 -6
  21. package/dist/query/fetchers/index.js +113 -6
  22. package/dist/query/fetchers/index.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +152 -4
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +5 -5
  26. package/dist/query/hooks/index.d.ts +5 -5
  27. package/dist/query/hooks/index.js +150 -5
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/index.cjs +161 -5
  30. package/dist/query/index.cjs.map +1 -1
  31. package/dist/query/index.d.cts +8 -8
  32. package/dist/query/index.d.ts +8 -8
  33. package/dist/query/index.js +155 -6
  34. package/dist/query/index.js.map +1 -1
  35. package/dist/resume/index.d.cts +1 -1
  36. package/dist/resume/index.d.ts +1 -1
  37. package/dist/{types-DAEkBwRB.d.cts → types-Co7D0VfD.d.ts} +14 -6
  38. package/dist/{types-zjv3qDWz.d.ts → types-LElwqDU4.d.cts} +14 -6
  39. package/dist/{use-org-notification-emails-LVo7z1M9.d.ts → use-org-notification-emails-C9CWyhSC.d.ts} +26 -4
  40. package/dist/{use-org-notification-emails-5oxcxXP9.d.cts → use-org-notification-emails-vNekuQKF.d.cts} +26 -4
  41. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-CTzpbW81.cjs';
1
+ import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-DIwi3bpk.cjs';
2
2
 
3
3
  /**
4
4
  * JSON Resume v1.0.0 emitter for a Sifa profile.
@@ -1,4 +1,4 @@
1
- import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-CTzpbW81.js';
1
+ import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-DIwi3bpk.js';
2
2
 
3
3
  /**
4
4
  * JSON Resume v1.0.0 emitter for a Sifa profile.
@@ -1,4 +1,4 @@
1
- import { w as PresentationLinkView, b as PdsProviderInfo } from './index-CTzpbW81.cjs';
1
+ import { w as PresentationLinkView, b as PdsProviderInfo } from './index-DIwi3bpk.js';
2
2
 
3
3
  /**
4
4
  * Types for the `id.sifa.getProfileView` XRPC query: the aggregated public
@@ -89,12 +89,18 @@ interface ProjectView {
89
89
  /** AT-URI of the same record on another person's profile, when they keep one. */
90
90
  sameAs?: string;
91
91
  }
92
- /** A person named as a member of a project. Identity fields appear only once confirmed. */
92
+ /**
93
+ * A person named as a member of a project (also used for involvement
94
+ * collaborators). Identity fields appear when the person's identity may be
95
+ * shown -- when `confirmed` or `claimed` (see `actorShowsIdentity`).
96
+ */
93
97
  interface ProjectMemberView {
94
98
  did: string;
95
99
  handle: string;
96
100
  displayName?: string;
97
101
  avatar?: string;
102
+ /** True when the member has a claimed Sifa account (see `actorShowsIdentity`). */
103
+ claimed?: boolean;
98
104
  confirmed?: boolean;
99
105
  confirmedStale?: boolean;
100
106
  role?: string;
@@ -175,10 +181,10 @@ interface DurationView {
175
181
  /**
176
182
  * A co-speaker on a presentation delivery.
177
183
  *
178
- * `displayName` and `avatar` are served only once `confirmed` is true. The
179
- * lexicon also declares an unlinked free-text `name`, which the AppView has
180
- * never emitted -- the record field is `format: did`, so there is nothing to
181
- * emit it from.
184
+ * `displayName` and `avatar` are served when the person's identity may be shown
185
+ * -- when `confirmed` or `claimed` (see `actorShowsIdentity`). The lexicon also
186
+ * declares an unlinked free-text `name`, which the AppView has never emitted --
187
+ * the record field is `format: did`, so there is nothing to emit it from.
182
188
  */
183
189
  interface CoSpeakerView {
184
190
  did?: string;
@@ -186,6 +192,8 @@ interface CoSpeakerView {
186
192
  displayName?: string;
187
193
  avatar?: string;
188
194
  hasSifaProfile?: boolean;
195
+ /** True when the co-speaker has a claimed Sifa account (see `actorShowsIdentity`). */
196
+ claimed?: boolean;
189
197
  confirmed?: boolean;
190
198
  confirmedStale?: boolean;
191
199
  name?: string;
@@ -1,4 +1,4 @@
1
- import { w as PresentationLinkView, b as PdsProviderInfo } from './index-CTzpbW81.js';
1
+ import { w as PresentationLinkView, b as PdsProviderInfo } from './index-DIwi3bpk.cjs';
2
2
 
3
3
  /**
4
4
  * Types for the `id.sifa.getProfileView` XRPC query: the aggregated public
@@ -89,12 +89,18 @@ interface ProjectView {
89
89
  /** AT-URI of the same record on another person's profile, when they keep one. */
90
90
  sameAs?: string;
91
91
  }
92
- /** A person named as a member of a project. Identity fields appear only once confirmed. */
92
+ /**
93
+ * A person named as a member of a project (also used for involvement
94
+ * collaborators). Identity fields appear when the person's identity may be
95
+ * shown -- when `confirmed` or `claimed` (see `actorShowsIdentity`).
96
+ */
93
97
  interface ProjectMemberView {
94
98
  did: string;
95
99
  handle: string;
96
100
  displayName?: string;
97
101
  avatar?: string;
102
+ /** True when the member has a claimed Sifa account (see `actorShowsIdentity`). */
103
+ claimed?: boolean;
98
104
  confirmed?: boolean;
99
105
  confirmedStale?: boolean;
100
106
  role?: string;
@@ -175,10 +181,10 @@ interface DurationView {
175
181
  /**
176
182
  * A co-speaker on a presentation delivery.
177
183
  *
178
- * `displayName` and `avatar` are served only once `confirmed` is true. The
179
- * lexicon also declares an unlinked free-text `name`, which the AppView has
180
- * never emitted -- the record field is `format: did`, so there is nothing to
181
- * emit it from.
184
+ * `displayName` and `avatar` are served when the person's identity may be shown
185
+ * -- when `confirmed` or `claimed` (see `actorShowsIdentity`). The lexicon also
186
+ * declares an unlinked free-text `name`, which the AppView has never emitted --
187
+ * the record field is `format: did`, so there is nothing to emit it from.
182
188
  */
183
189
  interface CoSpeakerView {
184
190
  did?: string;
@@ -186,6 +192,8 @@ interface CoSpeakerView {
186
192
  displayName?: string;
187
193
  avatar?: string;
188
194
  hasSifaProfile?: boolean;
195
+ /** True when the co-speaker has a claimed Sifa account (see `actorShowsIdentity`). */
196
+ claimed?: boolean;
189
197
  confirmed?: boolean;
190
198
  confirmedStale?: boolean;
191
199
  name?: string;
@@ -1,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, av as RefreshPdsResult, aN as UpdateProfileOverrideInput, aO as UpdateProfileSelfInput, aP as UploadAvatarResult, aQ as UploadPronunciationAudioResult, C as CreateResult, aJ as SubCategoryBulkResult, aj as ProfileLocationInput, q as ExternalAccountInput, p as CreateExternalAccountResult, aR as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, U as GivenConfirmation, ag as PendingConfirmationsPage, au as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a3 as HideProfileItemInput, _ as HiddenActivityItem, a2 as HideActivityItemInput, aM as UnhideActivityItemInput, aI as StatsResponse, k as AppRegistryEntry, $ as HiddenApp, d as AccountSummary, L as FilterOptions, aD as SearchFilters, aE as SearchResponse, aH as SkillSearchResult, cp as CompanySearchFilters, cq as CompanySearchResponse, r as FeaturedProfile, aG as SimilarProfile, K as FetchSuggestionsOptions, aL as SuggestionsResponse, P as FollowUserResult, w as FetchFollowListOptions, M as FollowListPage, Q as FollowingResponse, y as FetchFollowingFeedOptions, x as FetchFollowProfilePageOptions, O as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, u as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, Z as HeatmapResponse, a5 as MyGithubPullRequestsResponse, c as AccountCheckResult, at as ReactionStatus, as as ReactionResult, ar as ReactionError, aC as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, ax as ResetProfileResult, aS as WipePreview, aw as RepoDeleteInput, a7 as OrgClaimResult, ad as OrgProfileUpdateResult, a8 as OrgDomainChallengeResult, a9 as OrgDomainVerifyResult, aa as OrgNotificationEmailAddResult, ab as OrgNotificationEmailRemoveResult } from './org-BoLWIj_W.js';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aD as RefreshPdsResult, aX as UpdateProfileOverrideInput, aY as UpdateProfileSelfInput, aZ as UploadAvatarResult, a_ as UploadPronunciationAudioResult, C as CreateResult, aR as SubCategoryBulkResult, ar as ProfileLocationInput, q as ExternalAccountInput, p as CreateExternalAccountResult, a$ as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, Z as GivenConfirmation, am as PendingConfirmationsPage, a8 as InboxCounts, aW as UnlinkedPositionsResult, an as ProfileCompleteness, aC as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a7 as HideProfileItemInput, a2 as HiddenActivityItem, a6 as HideActivityItemInput, aU as UnhideActivityItemInput, aQ as StatsResponse, k as AppRegistryEntry, a3 as HiddenApp, d as AccountSummary, P as FilterOptions, aL as SearchFilters, aM as SearchResponse, aP as SkillSearchResult, cC as CompanySearchFilters, cD as CompanySearchResponse, r as FeaturedProfile, aO as SimilarProfile, N as FetchSuggestionsOptions, aT as SuggestionsResponse, U as FollowUserResult, x as FetchFollowListOptions, Q as FollowListPage, V as FollowingResponse, z as FetchFollowingFeedOptions, y as FetchFollowProfilePageOptions, T as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, u as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a1 as HeatmapResponse, aa as MyGithubPullRequestsResponse, c as AccountCheckResult, aB as ReactionStatus, aA as ReactionResult, az as ReactionError, aK as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aF as ResetProfileResult, b0 as WipePreview, aE as RepoDeleteInput, ac as OrgClaimResult, ai as OrgProfileUpdateResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult } from './org-Bgz5parA.js';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
- import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-CTzpbW81.js';
7
- import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-zjv3qDWz.js';
6
+ import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-DIwi3bpk.js';
7
+ import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-Co7D0VfD.js';
8
8
  import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-BMm9Pkew.js';
9
9
  import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-CZ_tmAYl.js';
10
10
 
@@ -256,6 +256,28 @@ declare function useDismissConfirmation(options?: Omit<UseMutationOptions<WriteR
256
256
  */
257
257
  declare function useRevokeConfirmation(claimerHandleOrDid: string | null, options?: Omit<UseMutationOptions<WriteResult, Error, ConfirmationSubjectInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, ConfirmationSubjectInput, unknown>;
258
258
 
259
+ /**
260
+ * Combined inbox counts (`tasks` + `unreadNotifications`) for the header bell.
261
+ * Returns zeros when signed out or on error, so the bell renders "nothing
262
+ * waiting" without special-casing. See {@link InboxCounts} for what `tasks`
263
+ * covers and why the two numbers are disjoint.
264
+ */
265
+ declare function useInboxCounts(options?: Omit<UseQueryOptions<InboxCounts, Error, InboxCounts, ReturnType<typeof sifaQueryKeys.inbox.counts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<InboxCounts>, Error>;
266
+
267
+ /**
268
+ * Positions on the signed-in user's profile whose company is not yet linked to a
269
+ * canonical entity, for the unified Inbox. Returns an empty list when signed out
270
+ * or on error.
271
+ */
272
+ declare function useUnlinkedPositions(options?: Omit<UseQueryOptions<UnlinkedPositionsResult, Error, UnlinkedPositionsResult, ReturnType<typeof sifaQueryKeys.position.unlinked>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<UnlinkedPositionsResult>, Error>;
273
+
274
+ /**
275
+ * Completeness of the signed-in user's own profile (which tracked signals are
276
+ * missing), for the unified Inbox checklist. Returns a complete result when
277
+ * signed out or on error.
278
+ */
279
+ declare function useProfileCompleteness(options?: Omit<UseQueryOptions<ProfileCompleteness, Error, ProfileCompleteness, ReturnType<typeof sifaQueryKeys.profile.completeness>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ProfileCompleteness>, Error>;
280
+
259
281
  /** React hook for hiding a keytrace claim. Variable: the claim `rkey` string. */
260
282
  declare function useHideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
261
283
  /** React hook for unhiding a previously-hidden keytrace claim. */
@@ -851,4 +873,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
851
873
  email: string;
852
874
  }, unknown>;
853
875
 
854
- export { useDeleteReaction as $, type AddFeatureAllowlistVariables as A, useCanonicalSkillSearch as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCastRoadmapVote as E, type FollowVariables as F, useCreateConfirmation as G, useCreateEducation as H, useCreateEndorsement as I, useCreateExternalAccount as J, useCreatePosition as K, useCreateProfileLocation as L, useCreateReaction as M, useCreateRecord as N, useCreateSkill as O, type PositionSkillLinkVariables as P, useDebouncedValue as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAccount as T, type UnfollowVariables as U, useDeleteAvatarOverride as V, useDeleteEducation as W, useDeleteExternalAccount as X, useDeleteNamePronunciationAudio as Y, useDeletePosition as Z, useDeleteProfileLocation as _, type CreateRecordVariables as a, useUnhideKeytraceClaim as a$, useDeleteRecord as a0, useDeleteRepoRecords as a1, useDeleteSkill as a2, useDismissConfirmation as a3, useEndorsementCount as a4, useEntitySearch as a5, useExternalAccounts as a6, useFeatureAllowlist as a7, useFeaturedProfile as a8, useFollow as a9, usePendingConfirmations as aA, useProfile as aB, useReactionStatus as aC, useRefreshOrcidPublications as aD, useRefreshPds as aE, useRemoveFeatureAllowlist as aF, useRemoveOrgNotificationEmail as aG, useRepoInventory as aH, useResetProfile as aI, useResolveEntityDomain as aJ, useRetractRoadmapVote as aK, useRevealMarqueDomain as aL, useRevokeConfirmation as aM, useRoadmapVotes as aN, useSearchFilters as aO, useSearchProfiles as aP, useSelectEntity as aQ, useSetExternalAccountPrimary as aR, useSetPositionPrimary as aS, useSifaConfig as aT, useSimilarProfiles as aU, useSkillSuggestions as aV, useStats as aW, useSuggestionCount as aX, useSuggestions as aY, useUnfollow as aZ, useUnhideActivityItem as a_, useFollowers as aa, useFollowing as ab, useFollowingFeed as ac, useFollowingList as ad, useGetProfileView as ae, useGivenConfirmations as af, useHeatmapData as ag, useHiddenActivityItems as ah, useHiddenApps as ai, useHideActivityItem as aj, useHideKeytraceClaim as ak, useHideOrcidPublication as al, useHideProfileItem as am, useHideSifaPublication as an, useHideStandardPublication as ao, useImportSearchEntities as ap, useLinkSkillToPosition as aq, useMintEntityDomain as ar, useMutuals as as, useMyGithubPullRequests as at, useMyRoadmapVotes as au, useNetworkStreamCount as av, useOrgClaim as aw, useOrgDomainChallenge as ax, useOrgDomainVerify as ay, useOrgProfile as az, type DeleteRecordVariables as b, useUnhideOrcidPublication as b0, useUnhideProfileItem as b1, useUnhideSifaPublication as b2, useUnhideStandardPublication as b3, useUnlinkSkillFromPosition as b4, useUnrevealMarqueDomain as b5, useUnsetExternalAccountPrimary as b6, useUnsetPositionPrimary as b7, useUpdateEducation as b8, useUpdateExternalAccount as b9, useUpdateOrgProfile as ba, useUpdatePosition as bb, useUpdateProfileLocation as bc, useUpdateProfileOverride as bd, useUpdateProfileSelf as be, useUpdateRecord as bf, useUpdateSkill as bg, useUpdateSkillSubCategories as bh, useUploadAvatar as bi, useUploadNamePronunciationAudio as bj, useVerifyExternalAccount as bk, useWipePreview as bl, useSearchCompanies as bm, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityFeed as m, useActivityTeaser as n, useAddFeatureAllowlist as o, useAddOrgNotificationEmail as p, useAdminReviewQueues as q, useAppAccountCheck as r, useAppsRegistry as s, useAtFundLink as t, useAccounts as u, useBlueskySuggestions as v, useBulkHideProfileItems as w, useBulkHideStandardPublications as x, useBulkUnhideProfileItems as y, useBulkUnhideStandardPublications as z };
876
+ export { useDeleteReaction as $, type AddFeatureAllowlistVariables as A, useCanonicalSkillSearch as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCastRoadmapVote as E, type FollowVariables as F, useCreateConfirmation as G, useCreateEducation as H, useCreateEndorsement as I, useCreateExternalAccount as J, useCreatePosition as K, useCreateProfileLocation as L, useCreateReaction as M, useCreateRecord as N, useCreateSkill as O, type PositionSkillLinkVariables as P, useDebouncedValue as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAccount as T, type UnfollowVariables as U, useDeleteAvatarOverride as V, useDeleteEducation as W, useDeleteExternalAccount as X, useDeleteNamePronunciationAudio as Y, useDeletePosition as Z, useDeleteProfileLocation as _, type CreateRecordVariables as a, useUnfollow as a$, useDeleteRecord as a0, useDeleteRepoRecords as a1, useDeleteSkill as a2, useDismissConfirmation as a3, useEndorsementCount as a4, useEntitySearch as a5, useExternalAccounts as a6, useFeatureAllowlist as a7, useFeaturedProfile as a8, useFollow as a9, useOrgProfile as aA, usePendingConfirmations as aB, useProfile as aC, useProfileCompleteness as aD, useReactionStatus as aE, useRefreshOrcidPublications as aF, useRefreshPds as aG, useRemoveFeatureAllowlist as aH, useRemoveOrgNotificationEmail as aI, useRepoInventory as aJ, useResetProfile as aK, useResolveEntityDomain as aL, useRetractRoadmapVote as aM, useRevealMarqueDomain as aN, useRevokeConfirmation as aO, useRoadmapVotes as aP, useSearchFilters as aQ, useSearchProfiles as aR, useSelectEntity as aS, useSetExternalAccountPrimary as aT, useSetPositionPrimary as aU, useSifaConfig as aV, useSimilarProfiles as aW, useSkillSuggestions as aX, useStats as aY, useSuggestionCount as aZ, useSuggestions as a_, useFollowers as aa, useFollowing as ab, useFollowingFeed as ac, useFollowingList as ad, useGetProfileView as ae, useGivenConfirmations as af, useHeatmapData as ag, useHiddenActivityItems as ah, useHiddenApps as ai, useHideActivityItem as aj, useHideKeytraceClaim as ak, useHideOrcidPublication as al, useHideProfileItem as am, useHideSifaPublication as an, useHideStandardPublication as ao, useImportSearchEntities as ap, useInboxCounts as aq, useLinkSkillToPosition as ar, useMintEntityDomain as as, useMutuals as at, useMyGithubPullRequests as au, useMyRoadmapVotes as av, useNetworkStreamCount as aw, useOrgClaim as ax, useOrgDomainChallenge as ay, useOrgDomainVerify as az, type DeleteRecordVariables as b, useUnhideActivityItem as b0, useUnhideKeytraceClaim as b1, useUnhideOrcidPublication as b2, useUnhideProfileItem as b3, useUnhideSifaPublication as b4, useUnhideStandardPublication as b5, useUnlinkSkillFromPosition as b6, useUnlinkedPositions as b7, useUnrevealMarqueDomain as b8, useUnsetExternalAccountPrimary as b9, useUnsetPositionPrimary as ba, useUpdateEducation as bb, useUpdateExternalAccount as bc, useUpdateOrgProfile as bd, useUpdatePosition as be, useUpdateProfileLocation as bf, useUpdateProfileOverride as bg, useUpdateProfileSelf as bh, useUpdateRecord as bi, useUpdateSkill as bj, useUpdateSkillSubCategories as bk, useUploadAvatar as bl, useUploadNamePronunciationAudio as bm, useVerifyExternalAccount as bn, useWipePreview as bo, useSearchCompanies as bp, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityFeed as m, useActivityTeaser as n, useAddFeatureAllowlist as o, useAddOrgNotificationEmail as p, useAdminReviewQueues as q, useAppAccountCheck as r, useAppsRegistry as s, useAtFundLink as t, useAccounts as u, useBlueskySuggestions as v, useBulkHideProfileItems as w, useBulkHideStandardPublications as x, useBulkUnhideProfileItems as y, useBulkUnhideStandardPublications as z };
@@ -1,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, av as RefreshPdsResult, aN as UpdateProfileOverrideInput, aO as UpdateProfileSelfInput, aP as UploadAvatarResult, aQ as UploadPronunciationAudioResult, C as CreateResult, aJ as SubCategoryBulkResult, aj as ProfileLocationInput, q as ExternalAccountInput, p as CreateExternalAccountResult, aR as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, U as GivenConfirmation, ag as PendingConfirmationsPage, au as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a3 as HideProfileItemInput, _ as HiddenActivityItem, a2 as HideActivityItemInput, aM as UnhideActivityItemInput, aI as StatsResponse, k as AppRegistryEntry, $ as HiddenApp, d as AccountSummary, L as FilterOptions, aD as SearchFilters, aE as SearchResponse, aH as SkillSearchResult, cp as CompanySearchFilters, cq as CompanySearchResponse, r as FeaturedProfile, aG as SimilarProfile, K as FetchSuggestionsOptions, aL as SuggestionsResponse, P as FollowUserResult, w as FetchFollowListOptions, M as FollowListPage, Q as FollowingResponse, y as FetchFollowingFeedOptions, x as FetchFollowProfilePageOptions, O as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, u as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, Z as HeatmapResponse, a5 as MyGithubPullRequestsResponse, c as AccountCheckResult, at as ReactionStatus, as as ReactionResult, ar as ReactionError, aC as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, ax as ResetProfileResult, aS as WipePreview, aw as RepoDeleteInput, a7 as OrgClaimResult, ad as OrgProfileUpdateResult, a8 as OrgDomainChallengeResult, a9 as OrgDomainVerifyResult, aa as OrgNotificationEmailAddResult, ab as OrgNotificationEmailRemoveResult } from './org-CPEFdMmo.cjs';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aD as RefreshPdsResult, aX as UpdateProfileOverrideInput, aY as UpdateProfileSelfInput, aZ as UploadAvatarResult, a_ as UploadPronunciationAudioResult, C as CreateResult, aR as SubCategoryBulkResult, ar as ProfileLocationInput, q as ExternalAccountInput, p as CreateExternalAccountResult, a$ as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, Z as GivenConfirmation, am as PendingConfirmationsPage, a8 as InboxCounts, aW as UnlinkedPositionsResult, an as ProfileCompleteness, aC as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a7 as HideProfileItemInput, a2 as HiddenActivityItem, a6 as HideActivityItemInput, aU as UnhideActivityItemInput, aQ as StatsResponse, k as AppRegistryEntry, a3 as HiddenApp, d as AccountSummary, P as FilterOptions, aL as SearchFilters, aM as SearchResponse, aP as SkillSearchResult, cC as CompanySearchFilters, cD as CompanySearchResponse, r as FeaturedProfile, aO as SimilarProfile, N as FetchSuggestionsOptions, aT as SuggestionsResponse, U as FollowUserResult, x as FetchFollowListOptions, Q as FollowListPage, V as FollowingResponse, z as FetchFollowingFeedOptions, y as FetchFollowProfilePageOptions, T as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, u as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a1 as HeatmapResponse, aa as MyGithubPullRequestsResponse, c as AccountCheckResult, aB as ReactionStatus, aA as ReactionResult, az as ReactionError, aK as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aF as ResetProfileResult, b0 as WipePreview, aE as RepoDeleteInput, ac as OrgClaimResult, ai as OrgProfileUpdateResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult } from './org-BHz9ymjp.cjs';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
- import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-CTzpbW81.cjs';
7
- import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-DAEkBwRB.cjs';
6
+ import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-DIwi3bpk.cjs';
7
+ import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-LElwqDU4.cjs';
8
8
  import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-BMm9Pkew.cjs';
9
9
  import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-CZ_tmAYl.cjs';
10
10
 
@@ -256,6 +256,28 @@ declare function useDismissConfirmation(options?: Omit<UseMutationOptions<WriteR
256
256
  */
257
257
  declare function useRevokeConfirmation(claimerHandleOrDid: string | null, options?: Omit<UseMutationOptions<WriteResult, Error, ConfirmationSubjectInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, ConfirmationSubjectInput, unknown>;
258
258
 
259
+ /**
260
+ * Combined inbox counts (`tasks` + `unreadNotifications`) for the header bell.
261
+ * Returns zeros when signed out or on error, so the bell renders "nothing
262
+ * waiting" without special-casing. See {@link InboxCounts} for what `tasks`
263
+ * covers and why the two numbers are disjoint.
264
+ */
265
+ declare function useInboxCounts(options?: Omit<UseQueryOptions<InboxCounts, Error, InboxCounts, ReturnType<typeof sifaQueryKeys.inbox.counts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<InboxCounts>, Error>;
266
+
267
+ /**
268
+ * Positions on the signed-in user's profile whose company is not yet linked to a
269
+ * canonical entity, for the unified Inbox. Returns an empty list when signed out
270
+ * or on error.
271
+ */
272
+ declare function useUnlinkedPositions(options?: Omit<UseQueryOptions<UnlinkedPositionsResult, Error, UnlinkedPositionsResult, ReturnType<typeof sifaQueryKeys.position.unlinked>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<UnlinkedPositionsResult>, Error>;
273
+
274
+ /**
275
+ * Completeness of the signed-in user's own profile (which tracked signals are
276
+ * missing), for the unified Inbox checklist. Returns a complete result when
277
+ * signed out or on error.
278
+ */
279
+ declare function useProfileCompleteness(options?: Omit<UseQueryOptions<ProfileCompleteness, Error, ProfileCompleteness, ReturnType<typeof sifaQueryKeys.profile.completeness>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ProfileCompleteness>, Error>;
280
+
259
281
  /** React hook for hiding a keytrace claim. Variable: the claim `rkey` string. */
260
282
  declare function useHideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
261
283
  /** React hook for unhiding a previously-hidden keytrace claim. */
@@ -851,4 +873,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
851
873
  email: string;
852
874
  }, unknown>;
853
875
 
854
- export { useDeleteReaction as $, type AddFeatureAllowlistVariables as A, useCanonicalSkillSearch as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCastRoadmapVote as E, type FollowVariables as F, useCreateConfirmation as G, useCreateEducation as H, useCreateEndorsement as I, useCreateExternalAccount as J, useCreatePosition as K, useCreateProfileLocation as L, useCreateReaction as M, useCreateRecord as N, useCreateSkill as O, type PositionSkillLinkVariables as P, useDebouncedValue as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAccount as T, type UnfollowVariables as U, useDeleteAvatarOverride as V, useDeleteEducation as W, useDeleteExternalAccount as X, useDeleteNamePronunciationAudio as Y, useDeletePosition as Z, useDeleteProfileLocation as _, type CreateRecordVariables as a, useUnhideKeytraceClaim as a$, useDeleteRecord as a0, useDeleteRepoRecords as a1, useDeleteSkill as a2, useDismissConfirmation as a3, useEndorsementCount as a4, useEntitySearch as a5, useExternalAccounts as a6, useFeatureAllowlist as a7, useFeaturedProfile as a8, useFollow as a9, usePendingConfirmations as aA, useProfile as aB, useReactionStatus as aC, useRefreshOrcidPublications as aD, useRefreshPds as aE, useRemoveFeatureAllowlist as aF, useRemoveOrgNotificationEmail as aG, useRepoInventory as aH, useResetProfile as aI, useResolveEntityDomain as aJ, useRetractRoadmapVote as aK, useRevealMarqueDomain as aL, useRevokeConfirmation as aM, useRoadmapVotes as aN, useSearchFilters as aO, useSearchProfiles as aP, useSelectEntity as aQ, useSetExternalAccountPrimary as aR, useSetPositionPrimary as aS, useSifaConfig as aT, useSimilarProfiles as aU, useSkillSuggestions as aV, useStats as aW, useSuggestionCount as aX, useSuggestions as aY, useUnfollow as aZ, useUnhideActivityItem as a_, useFollowers as aa, useFollowing as ab, useFollowingFeed as ac, useFollowingList as ad, useGetProfileView as ae, useGivenConfirmations as af, useHeatmapData as ag, useHiddenActivityItems as ah, useHiddenApps as ai, useHideActivityItem as aj, useHideKeytraceClaim as ak, useHideOrcidPublication as al, useHideProfileItem as am, useHideSifaPublication as an, useHideStandardPublication as ao, useImportSearchEntities as ap, useLinkSkillToPosition as aq, useMintEntityDomain as ar, useMutuals as as, useMyGithubPullRequests as at, useMyRoadmapVotes as au, useNetworkStreamCount as av, useOrgClaim as aw, useOrgDomainChallenge as ax, useOrgDomainVerify as ay, useOrgProfile as az, type DeleteRecordVariables as b, useUnhideOrcidPublication as b0, useUnhideProfileItem as b1, useUnhideSifaPublication as b2, useUnhideStandardPublication as b3, useUnlinkSkillFromPosition as b4, useUnrevealMarqueDomain as b5, useUnsetExternalAccountPrimary as b6, useUnsetPositionPrimary as b7, useUpdateEducation as b8, useUpdateExternalAccount as b9, useUpdateOrgProfile as ba, useUpdatePosition as bb, useUpdateProfileLocation as bc, useUpdateProfileOverride as bd, useUpdateProfileSelf as be, useUpdateRecord as bf, useUpdateSkill as bg, useUpdateSkillSubCategories as bh, useUploadAvatar as bi, useUploadNamePronunciationAudio as bj, useVerifyExternalAccount as bk, useWipePreview as bl, useSearchCompanies as bm, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityFeed as m, useActivityTeaser as n, useAddFeatureAllowlist as o, useAddOrgNotificationEmail as p, useAdminReviewQueues as q, useAppAccountCheck as r, useAppsRegistry as s, useAtFundLink as t, useAccounts as u, useBlueskySuggestions as v, useBulkHideProfileItems as w, useBulkHideStandardPublications as x, useBulkUnhideProfileItems as y, useBulkUnhideStandardPublications as z };
876
+ export { useDeleteReaction as $, type AddFeatureAllowlistVariables as A, useCanonicalSkillSearch as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCastRoadmapVote as E, type FollowVariables as F, useCreateConfirmation as G, useCreateEducation as H, useCreateEndorsement as I, useCreateExternalAccount as J, useCreatePosition as K, useCreateProfileLocation as L, useCreateReaction as M, useCreateRecord as N, useCreateSkill as O, type PositionSkillLinkVariables as P, useDebouncedValue as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAccount as T, type UnfollowVariables as U, useDeleteAvatarOverride as V, useDeleteEducation as W, useDeleteExternalAccount as X, useDeleteNamePronunciationAudio as Y, useDeletePosition as Z, useDeleteProfileLocation as _, type CreateRecordVariables as a, useUnfollow as a$, useDeleteRecord as a0, useDeleteRepoRecords as a1, useDeleteSkill as a2, useDismissConfirmation as a3, useEndorsementCount as a4, useEntitySearch as a5, useExternalAccounts as a6, useFeatureAllowlist as a7, useFeaturedProfile as a8, useFollow as a9, useOrgProfile as aA, usePendingConfirmations as aB, useProfile as aC, useProfileCompleteness as aD, useReactionStatus as aE, useRefreshOrcidPublications as aF, useRefreshPds as aG, useRemoveFeatureAllowlist as aH, useRemoveOrgNotificationEmail as aI, useRepoInventory as aJ, useResetProfile as aK, useResolveEntityDomain as aL, useRetractRoadmapVote as aM, useRevealMarqueDomain as aN, useRevokeConfirmation as aO, useRoadmapVotes as aP, useSearchFilters as aQ, useSearchProfiles as aR, useSelectEntity as aS, useSetExternalAccountPrimary as aT, useSetPositionPrimary as aU, useSifaConfig as aV, useSimilarProfiles as aW, useSkillSuggestions as aX, useStats as aY, useSuggestionCount as aZ, useSuggestions as a_, useFollowers as aa, useFollowing as ab, useFollowingFeed as ac, useFollowingList as ad, useGetProfileView as ae, useGivenConfirmations as af, useHeatmapData as ag, useHiddenActivityItems as ah, useHiddenApps as ai, useHideActivityItem as aj, useHideKeytraceClaim as ak, useHideOrcidPublication as al, useHideProfileItem as am, useHideSifaPublication as an, useHideStandardPublication as ao, useImportSearchEntities as ap, useInboxCounts as aq, useLinkSkillToPosition as ar, useMintEntityDomain as as, useMutuals as at, useMyGithubPullRequests as au, useMyRoadmapVotes as av, useNetworkStreamCount as aw, useOrgClaim as ax, useOrgDomainChallenge as ay, useOrgDomainVerify as az, type DeleteRecordVariables as b, useUnhideActivityItem as b0, useUnhideKeytraceClaim as b1, useUnhideOrcidPublication as b2, useUnhideProfileItem as b3, useUnhideSifaPublication as b4, useUnhideStandardPublication as b5, useUnlinkSkillFromPosition as b6, useUnlinkedPositions as b7, useUnrevealMarqueDomain as b8, useUnsetExternalAccountPrimary as b9, useUnsetPositionPrimary as ba, useUpdateEducation as bb, useUpdateExternalAccount as bc, useUpdateOrgProfile as bd, useUpdatePosition as be, useUpdateProfileLocation as bf, useUpdateProfileOverride as bg, useUpdateProfileSelf as bh, useUpdateRecord as bi, useUpdateSkill as bj, useUpdateSkillSubCategories as bk, useUploadAvatar as bl, useUploadNamePronunciationAudio as bm, useVerifyExternalAccount as bn, useWipePreview as bo, useSearchCompanies as bp, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityFeed as m, useActivityTeaser as n, useAddFeatureAllowlist as o, useAddOrgNotificationEmail as p, useAdminReviewQueues as q, useAppAccountCheck as r, useAppsRegistry as s, useAtFundLink as t, useAccounts as u, useBlueskySuggestions as v, useBulkHideProfileItems as w, useBulkHideStandardPublications as x, useBulkUnhideProfileItems as y, useBulkUnhideStandardPublications as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singi-labs/sifa-sdk",
3
- "version": "0.18.10",
3
+ "version": "0.18.12",
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",