@singi-labs/sifa-sdk 0.18.14 → 0.18.15
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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{network-map-8RDsXsr0.d.cts → network-map-B2VRYlgb.d.cts} +5 -1
- package/dist/{network-map-DnQvqpqi.d.ts → network-map-CfAPUSb6.d.ts} +5 -1
- package/dist/{org-DvnZsZx9.d.ts → org-C3e5hz3h.d.ts} +12 -1
- package/dist/{org-0uCYKpq1.d.cts → org-CLi7-wje.d.cts} +12 -1
- package/dist/query/fetchers/index.cjs +4 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/fetchers/index.js +4 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +21 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/hooks/index.js +21 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +22 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +21 -1
- package/dist/query/index.js.map +1 -1
- package/dist/{use-org-notification-emails-BznKD18w.d.ts → use-org-notification-emails-6VO57byN.d.ts} +8 -2
- package/dist/{use-org-notification-emails-BL2q3Vf2.d.cts → use-org-notification-emails-DHLosH0F.d.cts} +8 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6227,7 +6227,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6227
6227
|
}
|
|
6228
6228
|
|
|
6229
6229
|
// src/index.ts
|
|
6230
|
-
var SIFA_SDK_VERSION = "0.18.
|
|
6230
|
+
var SIFA_SDK_VERSION = "0.18.15";
|
|
6231
6231
|
|
|
6232
6232
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
6233
6233
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
package/dist/index.js
CHANGED
|
@@ -6225,7 +6225,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6225
6225
|
}
|
|
6226
6226
|
|
|
6227
6227
|
// src/index.ts
|
|
6228
|
-
var SIFA_SDK_VERSION = "0.18.
|
|
6228
|
+
var SIFA_SDK_VERSION = "0.18.15";
|
|
6229
6229
|
|
|
6230
6230
|
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
|
6231
6231
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-DIwi3bpk.cjs';
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CLi7-wje.cjs';
|
|
3
3
|
import { n as ProfileView } from './types-XejLm3AA.cjs';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-B9EQmnC7.cjs';
|
|
5
5
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.cjs';
|
|
@@ -166,6 +166,10 @@ interface PendingEndorsement {
|
|
|
166
166
|
* Protocol app -- so the UI needs a fallback for having no name to show.
|
|
167
167
|
*/
|
|
168
168
|
endorserHandle?: string;
|
|
169
|
+
/** Endorser's display name (Sifa override wins), for naming them without a handle. */
|
|
170
|
+
endorserDisplayName?: string;
|
|
171
|
+
/** Endorser's avatar URL (Sifa override wins). */
|
|
172
|
+
endorserAvatar?: string;
|
|
169
173
|
rkey: string;
|
|
170
174
|
/**
|
|
171
175
|
* AT-URI of the endorsement record. The confirm mutation needs a strongRef,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-DIwi3bpk.js';
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-C3e5hz3h.js';
|
|
3
3
|
import { n as ProfileView } from './types-DqVbTzXo.js';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-nbzILRkf.js';
|
|
5
5
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.js';
|
|
@@ -166,6 +166,10 @@ interface PendingEndorsement {
|
|
|
166
166
|
* Protocol app -- so the UI needs a fallback for having no name to show.
|
|
167
167
|
*/
|
|
168
168
|
endorserHandle?: string;
|
|
169
|
+
/** Endorser's display name (Sifa override wins), for naming them without a handle. */
|
|
170
|
+
endorserDisplayName?: string;
|
|
171
|
+
/** Endorser's avatar URL (Sifa override wins). */
|
|
172
|
+
endorserAvatar?: string;
|
|
169
173
|
rkey: string;
|
|
170
174
|
/**
|
|
171
175
|
* AT-URI of the endorsement record. The confirm mutation needs a strongRef,
|
|
@@ -551,6 +551,17 @@ interface FetchUnlinkedPositionsOptions extends ApiFetchOptions {
|
|
|
551
551
|
* list degrades to "nothing to link" rather than breaking the hosting surface.
|
|
552
552
|
*/
|
|
553
553
|
declare function fetchUnlinkedPositions(config: SifaApiConfig, options?: FetchUnlinkedPositionsOptions): Promise<UnlinkedPositionsResult>;
|
|
554
|
+
/** Body accepted by {@link dismissUnlinkedPosition}. */
|
|
555
|
+
interface DismissUnlinkedPositionInput {
|
|
556
|
+
/** rkey of the position whose unlinked-company task to dismiss. */
|
|
557
|
+
rkey: string;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Dismiss the unlinked-company task for one position. Writes nothing to any PDS;
|
|
561
|
+
* it stops the position reappearing in the Inbox (and drops it from the bell
|
|
562
|
+
* count) when there is no company entity worth linking.
|
|
563
|
+
*/
|
|
564
|
+
declare function dismissUnlinkedPosition(config: SifaApiConfig, data: DismissUnlinkedPositionInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
554
565
|
|
|
555
566
|
/**
|
|
556
567
|
* The binary profile-completeness signals the AppView tracks. Each maps to a
|
|
@@ -1888,4 +1899,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1888
1899
|
*/
|
|
1889
1900
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
|
|
1890
1901
|
|
|
1891
|
-
export {
|
|
1902
|
+
export { HIDDEN_ITEM_SOURCES as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions as N, type FetchSuggestionsOptions as O, type FetchUnlinkedPositionsOptions as P, type FilterOptions as Q, type FollowListPage as R, type SifaApiConfig as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type WriteResult as W, type FollowingResponse as X, type GetAdminReviewQueuesOptions as Y, type GithubPullRequest as Z, type GivenConfirmation as _, type ConfirmEndorsementInput as a, type UploadPronunciationAudioResult as a$, HIDDEN_ITEM_TYPES as a0, type HeatmapDay as a1, type HeatmapResponse as a2, type HiddenActivityItem as a3, type HiddenApp as a4, type HiddenItemSource as a5, type HiddenItemType as a6, type HideActivityItemInput as a7, type HideProfileItemInput as a8, type InboxCounts as a9, type ReactionError as aA, type ReactionResult as aB, type ReactionStatus as aC, type RefreshOrcidPublicationsResult as aD, type RefreshPdsResult as aE, type RepoDeleteInput as aF, type ResetProfileResult as aG, type ResolveQuotedPostsOptions as aH, type RoadmapVoteError as aI, type RoadmapVoteResult as aJ, type RoadmapVoter as aK, type RoadmapVotesResponse as aL, type SearchFilters as aM, type SearchResponse as aN, type SifaQueryKey as aO, type SimilarProfile as aP, type SkillSearchResult as aQ, type StatsResponse as aR, type SubCategoryBulkResult as aS, type SuggestionProfile as aT, type SuggestionsResponse as aU, type UnhideActivityItemInput as aV, type UnlinkedPosition as aW, type UnlinkedPositionsResult as aX, type UpdateProfileOverrideInput as aY, type UpdateProfileSelfInput as aZ, type UploadAvatarResult as a_, type ListFeatureAllowlistOptions as aa, type MyGithubPullRequestsResponse as ab, type OrgClaimBinding as ac, type OrgClaimResult as ad, type OrgDomainChallengeResult as ae, type OrgDomainVerifyResult as af, type OrgNotificationEmailAddResult as ag, type OrgNotificationEmailRemoveResult as ah, type OrgProfileEcho as ai, type OrgProfileUpdateResult as aj, PROFILE_COMPLETENESS_SIGNALS as ak, type PdsWipeOutcome as al, type PendingConfirmation as am, type PendingConfirmationsPage as an, type ProfileCompleteness as ao, type ProfileCompletenessSignal as ap, type ProfileIndustryInput as aq, type ProfileLocationAddress as ar, type ProfileLocationInput as as, type ProfileSearchResult as at, type ProfileSelfLocation as au, QUOTED_POSTS_BATCH_MAX as av, type QuotedPostAuthor as aw, type QuotedPostImage as ax, type QuotedPostResult as ay, type QuotedPostView as az, type ConfirmEndorsementResult as b, getFollowing as b$, type VerifyExternalAccountResult as b0, type WipePreview as b1, addFeatureAllowlist as b2, addOrgNotificationEmail as b3, apiFetch as b4, apiFetchOrNull as b5, apiWrite as b6, apiWriteCreate as b7, bulkHideProfileItems as b8, bulkHideStandardPublications as b9, fetchFeaturedProfile as bA, fetchFollowing as bB, fetchGivenConfirmations as bC, fetchHeatmapData as bD, fetchHiddenActivityItems as bE, fetchHiddenApps as bF, fetchInboxCounts as bG, fetchMyGithubPullRequests as bH, fetchMyRoadmapVotes as bI, fetchPendingConfirmations as bJ, fetchProfileCompleteness as bK, fetchReactionStatus as bL, fetchRepoInventory as bM, fetchRoadmapVotes as bN, fetchSearchFilters as bO, fetchSearchProfiles as bP, fetchSimilarProfiles as bQ, fetchSkillSuggestions as bR, fetchStats as bS, fetchSuggestionCount as bT, fetchSuggestions as bU, fetchUnlinkedPositions as bV, fetchWipePreview as bW, followUser as bX, getAdminReviewQueues as bY, getBlueskySuggestions as bZ, getFollowers as b_, bulkUnhideProfileItems as ba, bulkUnhideStandardPublications as bb, castRoadmapVote as bc, checkAppAccount as bd, confirmEndorsement as be, createConfirmation as bf, createEndorsement as bg, createExternalAccount as bh, createProfileLocation as bi, createReaction as bj, createSkill as bk, deleteAccount as bl, deleteAvatarOverride as bm, deleteExternalAccount as bn, deleteNamePronunciationAudio as bo, deleteProfileLocation as bp, deleteReaction as bq, deleteRepoRecords as br, deleteSkill as bs, dismissConfirmation as bt, dismissUnlinkedPosition as bu, fetchAccounts as bv, fetchActivityFeed as bw, fetchActivityTeaser as bx, fetchAppsRegistry as by, fetchExternalAccounts as bz, type AccountCheckResult as c, getFollowingFeed as c0, getMutuals as c1, hideActivityItem as c2, hideOrcidPublication as c3, hideProfileItem as c4, hideSifaPublication as c5, hideStandardPublication as c6, listFeatureAllowlist as c7, refreshOrcidPublications as c8, refreshPds as c9, uploadAvatar as cA, uploadNamePronunciationAudio as cB, verifyExternalAccount as cC, verifyOrgDomain as cD, type CompanySearchFilters as cE, type CompanySearchResponse as cF, type CompanySearchResult as cG, fetchSearchCompanies as cH, removeFeatureAllowlist as ca, removeOrgNotificationEmail as cb, repoExportUrl as cc, requestOrgDomainChallenge as cd, resetProfile as ce, resolveQuotedPosts as cf, retractRoadmapVote as cg, revokeConfirmation as ch, searchSkills as ci, setExternalAccountPrimary as cj, submitOrgClaim as ck, switchAccount as cl, unfollowUser as cm, unhideActivityItem as cn, unhideOrcidPublication as co, unhideProfileItem as cp, unhideSifaPublication as cq, unhideStandardPublication as cr, unsetExternalAccountPrimary as cs, updateExternalAccount as ct, updateOrgProfile as cu, updateProfileLocation as cv, updateProfileOverride as cw, updateProfileSelf as cx, updateSkill as cy, updateSkillSubCategories as cz, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type DismissUnlinkedPositionInput as q, type ExternalAccountInput as r, sifaQueryKeys as s, type FeaturedProfile as t, type FetchAccountsOptions as u, type FetchActivityFeedOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
|
|
@@ -551,6 +551,17 @@ interface FetchUnlinkedPositionsOptions extends ApiFetchOptions {
|
|
|
551
551
|
* list degrades to "nothing to link" rather than breaking the hosting surface.
|
|
552
552
|
*/
|
|
553
553
|
declare function fetchUnlinkedPositions(config: SifaApiConfig, options?: FetchUnlinkedPositionsOptions): Promise<UnlinkedPositionsResult>;
|
|
554
|
+
/** Body accepted by {@link dismissUnlinkedPosition}. */
|
|
555
|
+
interface DismissUnlinkedPositionInput {
|
|
556
|
+
/** rkey of the position whose unlinked-company task to dismiss. */
|
|
557
|
+
rkey: string;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Dismiss the unlinked-company task for one position. Writes nothing to any PDS;
|
|
561
|
+
* it stops the position reappearing in the Inbox (and drops it from the bell
|
|
562
|
+
* count) when there is no company entity worth linking.
|
|
563
|
+
*/
|
|
564
|
+
declare function dismissUnlinkedPosition(config: SifaApiConfig, data: DismissUnlinkedPositionInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
554
565
|
|
|
555
566
|
/**
|
|
556
567
|
* The binary profile-completeness signals the AppView tracks. Each maps to a
|
|
@@ -1888,4 +1899,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1888
1899
|
*/
|
|
1889
1900
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
|
|
1890
1901
|
|
|
1891
|
-
export {
|
|
1902
|
+
export { HIDDEN_ITEM_SOURCES as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions as N, type FetchSuggestionsOptions as O, type FetchUnlinkedPositionsOptions as P, type FilterOptions as Q, type FollowListPage as R, type SifaApiConfig as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type WriteResult as W, type FollowingResponse as X, type GetAdminReviewQueuesOptions as Y, type GithubPullRequest as Z, type GivenConfirmation as _, type ConfirmEndorsementInput as a, type UploadPronunciationAudioResult as a$, HIDDEN_ITEM_TYPES as a0, type HeatmapDay as a1, type HeatmapResponse as a2, type HiddenActivityItem as a3, type HiddenApp as a4, type HiddenItemSource as a5, type HiddenItemType as a6, type HideActivityItemInput as a7, type HideProfileItemInput as a8, type InboxCounts as a9, type ReactionError as aA, type ReactionResult as aB, type ReactionStatus as aC, type RefreshOrcidPublicationsResult as aD, type RefreshPdsResult as aE, type RepoDeleteInput as aF, type ResetProfileResult as aG, type ResolveQuotedPostsOptions as aH, type RoadmapVoteError as aI, type RoadmapVoteResult as aJ, type RoadmapVoter as aK, type RoadmapVotesResponse as aL, type SearchFilters as aM, type SearchResponse as aN, type SifaQueryKey as aO, type SimilarProfile as aP, type SkillSearchResult as aQ, type StatsResponse as aR, type SubCategoryBulkResult as aS, type SuggestionProfile as aT, type SuggestionsResponse as aU, type UnhideActivityItemInput as aV, type UnlinkedPosition as aW, type UnlinkedPositionsResult as aX, type UpdateProfileOverrideInput as aY, type UpdateProfileSelfInput as aZ, type UploadAvatarResult as a_, type ListFeatureAllowlistOptions as aa, type MyGithubPullRequestsResponse as ab, type OrgClaimBinding as ac, type OrgClaimResult as ad, type OrgDomainChallengeResult as ae, type OrgDomainVerifyResult as af, type OrgNotificationEmailAddResult as ag, type OrgNotificationEmailRemoveResult as ah, type OrgProfileEcho as ai, type OrgProfileUpdateResult as aj, PROFILE_COMPLETENESS_SIGNALS as ak, type PdsWipeOutcome as al, type PendingConfirmation as am, type PendingConfirmationsPage as an, type ProfileCompleteness as ao, type ProfileCompletenessSignal as ap, type ProfileIndustryInput as aq, type ProfileLocationAddress as ar, type ProfileLocationInput as as, type ProfileSearchResult as at, type ProfileSelfLocation as au, QUOTED_POSTS_BATCH_MAX as av, type QuotedPostAuthor as aw, type QuotedPostImage as ax, type QuotedPostResult as ay, type QuotedPostView as az, type ConfirmEndorsementResult as b, getFollowing as b$, type VerifyExternalAccountResult as b0, type WipePreview as b1, addFeatureAllowlist as b2, addOrgNotificationEmail as b3, apiFetch as b4, apiFetchOrNull as b5, apiWrite as b6, apiWriteCreate as b7, bulkHideProfileItems as b8, bulkHideStandardPublications as b9, fetchFeaturedProfile as bA, fetchFollowing as bB, fetchGivenConfirmations as bC, fetchHeatmapData as bD, fetchHiddenActivityItems as bE, fetchHiddenApps as bF, fetchInboxCounts as bG, fetchMyGithubPullRequests as bH, fetchMyRoadmapVotes as bI, fetchPendingConfirmations as bJ, fetchProfileCompleteness as bK, fetchReactionStatus as bL, fetchRepoInventory as bM, fetchRoadmapVotes as bN, fetchSearchFilters as bO, fetchSearchProfiles as bP, fetchSimilarProfiles as bQ, fetchSkillSuggestions as bR, fetchStats as bS, fetchSuggestionCount as bT, fetchSuggestions as bU, fetchUnlinkedPositions as bV, fetchWipePreview as bW, followUser as bX, getAdminReviewQueues as bY, getBlueskySuggestions as bZ, getFollowers as b_, bulkUnhideProfileItems as ba, bulkUnhideStandardPublications as bb, castRoadmapVote as bc, checkAppAccount as bd, confirmEndorsement as be, createConfirmation as bf, createEndorsement as bg, createExternalAccount as bh, createProfileLocation as bi, createReaction as bj, createSkill as bk, deleteAccount as bl, deleteAvatarOverride as bm, deleteExternalAccount as bn, deleteNamePronunciationAudio as bo, deleteProfileLocation as bp, deleteReaction as bq, deleteRepoRecords as br, deleteSkill as bs, dismissConfirmation as bt, dismissUnlinkedPosition as bu, fetchAccounts as bv, fetchActivityFeed as bw, fetchActivityTeaser as bx, fetchAppsRegistry as by, fetchExternalAccounts as bz, type AccountCheckResult as c, getFollowingFeed as c0, getMutuals as c1, hideActivityItem as c2, hideOrcidPublication as c3, hideProfileItem as c4, hideSifaPublication as c5, hideStandardPublication as c6, listFeatureAllowlist as c7, refreshOrcidPublications as c8, refreshPds as c9, uploadAvatar as cA, uploadNamePronunciationAudio as cB, verifyExternalAccount as cC, verifyOrgDomain as cD, type CompanySearchFilters as cE, type CompanySearchResponse as cF, type CompanySearchResult as cG, fetchSearchCompanies as cH, removeFeatureAllowlist as ca, removeOrgNotificationEmail as cb, repoExportUrl as cc, requestOrgDomainChallenge as cd, resetProfile as ce, resolveQuotedPosts as cf, retractRoadmapVote as cg, revokeConfirmation as ch, searchSkills as ci, setExternalAccountPrimary as cj, submitOrgClaim as ck, switchAccount as cl, unfollowUser as cm, unhideActivityItem as cn, unhideOrcidPublication as co, unhideProfileItem as cp, unhideSifaPublication as cq, unhideStandardPublication as cr, unsetExternalAccountPrimary as cs, updateExternalAccount as ct, updateOrgProfile as cu, updateProfileLocation as cv, updateProfileOverride as cw, updateProfileSelf as cx, updateSkill as cy, updateSkillSubCategories as cz, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type DismissUnlinkedPositionInput as q, type ExternalAccountInput as r, sifaQueryKeys as s, type FeaturedProfile as t, type FetchAccountsOptions as u, type FetchActivityFeedOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
|
|
@@ -560,6 +560,9 @@ async function fetchUnlinkedPositions(config, options = {}) {
|
|
|
560
560
|
return { positions: [] };
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
+
function dismissUnlinkedPosition(config, data, options = {}) {
|
|
564
|
+
return apiWrite(config, "/api/positions/unlinked/dismiss", "POST", { body: data, ...options });
|
|
565
|
+
}
|
|
563
566
|
|
|
564
567
|
// src/query/fetchers/profile-completeness.ts
|
|
565
568
|
var PROFILE_COMPLETENESS_SIGNALS = [
|
|
@@ -2012,6 +2015,7 @@ exports.deleteRepoRecords = deleteRepoRecords;
|
|
|
2012
2015
|
exports.deleteSkill = deleteSkill;
|
|
2013
2016
|
exports.dismissConfirmation = dismissConfirmation;
|
|
2014
2017
|
exports.dismissEndorsement = dismissEndorsement;
|
|
2018
|
+
exports.dismissUnlinkedPosition = dismissUnlinkedPosition;
|
|
2015
2019
|
exports.fetchAccounts = fetchAccounts;
|
|
2016
2020
|
exports.fetchActivityFeed = fetchActivityFeed;
|
|
2017
2021
|
exports.fetchActivityTeaser = fetchActivityTeaser;
|