@singi-labs/sifa-sdk 0.19.54 → 0.19.56
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/badge/index.cjs.map +1 -1
- package/dist/{follow-profile-D1l6pulB.d.ts → follow-profile-CQ3DTTak.d.cts} +3 -0
- package/dist/{follow-profile-D1l6pulB.d.cts → follow-profile-ceqefXAw.d.ts} +3 -0
- package/dist/{index-DmlIG8sJ.d.cts → index-BeQbepFn.d.cts} +7 -1
- package/dist/{index-D9GC0u__.d.ts → index-CT-A3BEe.d.ts} +7 -1
- package/dist/index.cjs +16 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -81
- package/dist/index.d.ts +10 -81
- package/dist/index.js +1 -1
- package/dist/jsonld/index.d.cts +2 -2
- package/dist/jsonld/index.d.ts +2 -2
- package/dist/{network-map-Bj-s4akz.d.cts → network-map-4C9UwVmp.d.cts} +4 -4
- package/dist/{network-map-v_4bPC5p.d.ts → network-map-D-XnMy5U.d.ts} +4 -4
- package/dist/{org-mUwICoPr.d.cts → org-DTZzfRQs.d.cts} +47 -29
- package/dist/{org-DTHVhan9.d.ts → org-DtO2TCzd.d.ts} +47 -29
- package/dist/{profile-summary-D-Z_C6ZC.d.cts → profile-summary-CVFSy7BE.d.cts} +1 -1
- package/dist/{profile-summary-BXG--PFN.d.ts → profile-summary-DiONU2n-.d.ts} +1 -1
- package/dist/query/client.js.map +1 -1
- package/dist/query/fetchers/destructive.js.map +1 -1
- package/dist/query/fetchers/discovery.js.map +1 -1
- package/dist/query/fetchers/external-accounts.js.map +1 -1
- package/dist/query/fetchers/follow.js.map +1 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +8 -8
- package/dist/query/fetchers/index.d.ts +8 -8
- package/dist/query/fetchers/org.js.map +1 -1
- package/dist/query/fetchers/profile-mutations.js.map +1 -1
- package/dist/query/fetchers/publications.js.map +1 -1
- package/dist/query/fetchers/repo-inventory.js.map +1 -1
- package/dist/query/fetchers/search.js.map +1 -1
- package/dist/query/fetchers/skills.js.map +1 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +6 -6
- package/dist/query/hooks/index.d.ts +6 -6
- package/dist/query/hooks/use-org-claim.js.map +1 -1
- package/dist/query/hooks/use-org-domains.js.map +1 -1
- package/dist/query/hooks/use-org-notification-emails.js.map +1 -1
- package/dist/query/hooks/use-org-profile-settings.js.map +1 -1
- package/dist/query/hooks/use-skill-mutations.js.map +1 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +12 -12
- package/dist/query/index.d.ts +12 -12
- package/dist/resume/index.d.cts +2 -2
- package/dist/resume/index.d.ts +2 -2
- package/dist/schemas/follow-profile.js +18 -1
- package/dist/schemas/follow-profile.js.map +1 -1
- package/dist/schemas/index.cjs +53 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +2 -2
- package/dist/schemas/index.d.ts +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BeEuVVBo.d.cts → types-Bl8KYBSl.d.ts} +34 -9
- package/dist/{types-Dblq-u-n.d.ts → types-CYjcuKr4.d.cts} +34 -9
- package/dist/{use-org-notification-emails-CgEZnFTp.d.ts → use-org-notification-emails-C-GftYx5.d.ts} +17 -17
- package/dist/{use-org-notification-emails-C8Z0U5rH.d.cts → use-org-notification-emails-D29UFyp2.d.cts} +17 -17
- package/dist/verification-providers-7il3kPQS.d.cts +158 -0
- package/dist/verification-providers-7il3kPQS.d.ts +158 -0
- package/package.json +1 -1
- package/dist/shared-v0vl5hov.d.cts +0 -87
- package/dist/shared-v0vl5hov.d.ts +0 -87
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-
|
|
2
|
-
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-
|
|
3
|
-
import { S as SearchFilters } from './types-
|
|
4
|
-
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-
|
|
1
|
+
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-BeQbepFn.cjs';
|
|
2
|
+
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-BeQbepFn.cjs';
|
|
3
|
+
import { S as SearchFilters } from './types-CYjcuKr4.cjs';
|
|
4
|
+
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-CYjcuKr4.cjs';
|
|
5
|
+
import { A as AgentRef } from './verification-providers-7il3kPQS.cjs';
|
|
6
|
+
export { a as AccountVerification, V as VERIFICATION_PROVIDERS, b as VerificationProvider, c as VerificationProviderId, d as VerificationSource, e as agentRefSchema, f as atUriSchema, g as cidSchema, h as datetimeSchema, i as didSchema, j as externalRecordRefSchema, k as getVerificationProvider, l as isKnownVerificationProvider, m as languageTagSchema, n as maxGraphemes, p as partialDateSchema, o as primaryVerification, r as resolveVerifierProvider, s as selfLabelsSchema, q as skillRefSchema, t as strongRefSchema, u as uriSchema } from './verification-providers-7il3kPQS.cjs';
|
|
5
7
|
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-BiHM7C5q.cjs';
|
|
6
8
|
export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EndorsementConfirmationRecord, g as EndorsementConfirmationRecordSchema, h as EndorsementRecord, i as EndorsementRecordSchema, F as FeedActor, j as FeedActorSchema, k as FeedCursor, l as FollowFeedItem, m as FollowFeedItemSchema, n as FollowFeedPage, o as FollowFeedPageSchema, G as GraphFollowRecord, p as GraphFollowRecordSchema, I as InvestmentAmountSchema, q as OrgEmploymentAttestationRecord, r as OrgEmploymentAttestationRecordSchema, s as OrgProfileRecordSchema, t as PROFILE_INVESTMENT_NSID, u as PROFILE_INVOLVEMENT_NSID, v as PresentationDurationSchema, w as PresentationLink, x as PresentationLinkSchema, y as ProfileCertificationRecord, z as ProfileCertificationRecordSchema, C as ProfileCourseRecord, D as ProfileCourseRecordSchema, H as ProfileEducationRecord, J as ProfileEducationRecordSchema, K as ProfileExternalAccountRecord, L as ProfileExternalAccountRecordSchema, M as ProfileHonorRecord, N as ProfileHonorRecordSchema, Q as ProfileInvestmentRecordSchema, R as ProfileInvolvementRecord, S as ProfileInvolvementRecordSchema, T as ProfileLanguageRecord, U as ProfileLanguageRecordSchema, V as ProfilePositionRecord, W as ProfilePositionRecordSchema, X as ProfilePresentationDeliveryRecordSchema, Y as ProfilePresentationRecordSchema, Z as ProfileProjectRecord, _ as ProfileProjectRecordSchema, $ as ProfilePublicationRecord, a0 as ProfilePublicationRecordSchema, a1 as ProfileSelfRecord, a2 as ProfileSelfRecordSchema, a3 as ProfileSkillRecord, a4 as ProfileSkillRecordSchema, a5 as ProfileVolunteeringRecord, a6 as ProfileVolunteeringRecordSchema, a7 as PublicationAuthor, a8 as PublicationAuthorSchema, a9 as RelatedIdentifierSchema, aa as SifaFeedItem, ab as SifaFeedItemSchema, ac as decodeFeedCursor, ad as encodeFeedCursor, ae as makeGraphFollowRecordSchema } from './profile-investment-BiHM7C5q.cjs';
|
|
7
9
|
import { z } from 'zod';
|
|
8
|
-
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-
|
|
9
|
-
import { E as EntitySearchResult } from './follow-profile-
|
|
10
|
-
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-
|
|
11
|
-
import { A as AgentRef } from './shared-v0vl5hov.cjs';
|
|
12
|
-
export { a as agentRefSchema, b as atUriSchema, c as cidSchema, d as datetimeSchema, e as didSchema, f as externalRecordRefSchema, l as languageTagSchema, m as maxGraphemes, p as partialDateSchema, s as selfLabelsSchema, g as skillRefSchema, h as strongRefSchema, u as uriSchema } from './shared-v0vl5hov.cjs';
|
|
10
|
+
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-CVFSy7BE.cjs';
|
|
11
|
+
import { E as EntitySearchResult } from './follow-profile-CQ3DTTak.cjs';
|
|
12
|
+
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-CQ3DTTak.cjs';
|
|
13
13
|
|
|
14
14
|
type ContinentCode = 'AF' | 'AN' | 'AS' | 'EU' | 'NA' | 'OC' | 'SA';
|
|
15
15
|
declare const CONTINENTS: ReadonlyArray<{
|
|
@@ -775,77 +775,6 @@ declare const ARTIFACT_LINK_KIND_LABELS: Record<string, string>;
|
|
|
775
775
|
/** Resolve a label for an artifact-link-kind value. Falls back to the raw value. */
|
|
776
776
|
declare function getArtifactLinkKindLabel(value: string | undefined | null): string | undefined;
|
|
777
777
|
|
|
778
|
-
/**
|
|
779
|
-
* Verification providers -- the trust roots Sifa recognizes for AT Protocol
|
|
780
|
-
* `app.bsky.graph.verification` records.
|
|
781
|
-
*
|
|
782
|
-
* Framing (see decisions/2026-07-13-third-party-verification-providers.md, D4):
|
|
783
|
-
* a verification checkmark is ONE low-tier trust layer, not Sifa's headline.
|
|
784
|
-
* Most of what it certifies is "this account is who they claim to be" -- useful,
|
|
785
|
-
* and worth carrying because it's an already-recognized network signal, but low
|
|
786
|
-
* value on its own. It sits among Sifa's other trust signals and never becomes a
|
|
787
|
-
* score or a gate. This registry only decides which issuers Sifa displays and
|
|
788
|
-
* with what provenance.
|
|
789
|
-
*
|
|
790
|
-
* Data-only: badge colors and icons are consumer concerns (React DOM on web,
|
|
791
|
-
* React Native on mobile), same split as {@link PLATFORM_LABELS}. Consumers map
|
|
792
|
-
* a provider id to a token/color.
|
|
793
|
-
*/
|
|
794
|
-
type VerificationProviderId = 'bluesky' | 'mu';
|
|
795
|
-
/** How Sifa learns about a provider's verifications. */
|
|
796
|
-
type VerificationSource = 'bluesky-api' | 'firehose';
|
|
797
|
-
interface VerificationProvider {
|
|
798
|
-
id: VerificationProviderId;
|
|
799
|
-
/** Human label for the badge popover, e.g. "Bluesky", "mu (Eurosky)". */
|
|
800
|
-
label: string;
|
|
801
|
-
/**
|
|
802
|
-
* Primary-display priority (D1): when an account holds verifications from
|
|
803
|
-
* multiple providers, the lowest number wins the single inline badge and the
|
|
804
|
-
* rest move into the popover. Must be unique across providers.
|
|
805
|
-
*/
|
|
806
|
-
priority: number;
|
|
807
|
-
/**
|
|
808
|
-
* - `bluesky-api`: sourced from Bluesky's public-API `verifiedStatus`. Bluesky
|
|
809
|
-
* maintains its own trusted-verifier set, so Sifa keeps no local DID list.
|
|
810
|
-
* - `firehose`: sourced from the Jetstream, gated on {@link verifierDids}.
|
|
811
|
-
*/
|
|
812
|
-
source: VerificationSource;
|
|
813
|
-
/**
|
|
814
|
-
* Trusted verifier DIDs for firehose-sourced providers. A verification record
|
|
815
|
-
* counts only if its ISSUER DID is in this list. Empty for `bluesky-api`
|
|
816
|
-
* providers (Bluesky's AppView owns that decision). DIDs, not handles: a handle
|
|
817
|
-
* takeover must never confer verifier status.
|
|
818
|
-
*/
|
|
819
|
-
verifierDids: readonly string[];
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* A verification held by an account, as surfaced to the UI. `issuerDid` is
|
|
823
|
-
* present for firehose-sourced providers and absent for `bluesky-api`.
|
|
824
|
-
*/
|
|
825
|
-
interface AccountVerification {
|
|
826
|
-
provider: VerificationProviderId;
|
|
827
|
-
verifiedAt?: string | null;
|
|
828
|
-
issuerDid?: string | null;
|
|
829
|
-
}
|
|
830
|
-
declare const VERIFICATION_PROVIDERS: Record<VerificationProviderId, VerificationProvider>;
|
|
831
|
-
declare function isKnownVerificationProvider(id: string): id is VerificationProviderId;
|
|
832
|
-
declare function getVerificationProvider(id: string): VerificationProvider | undefined;
|
|
833
|
-
/**
|
|
834
|
-
* The firehose issuer gate: given the DID that authored an
|
|
835
|
-
* `app.bsky.graph.verification` record, return the provider it verifies for, or
|
|
836
|
-
* `null` if the issuer is not a recognized firehose verifier. API-sourced
|
|
837
|
-
* providers (Bluesky) are never matched here -- their verifications do not enter
|
|
838
|
-
* through the firehose, so a self-issued record cannot resolve to them.
|
|
839
|
-
*/
|
|
840
|
-
declare function resolveVerifierProvider(issuerDid: string): VerificationProviderId | null;
|
|
841
|
-
/**
|
|
842
|
-
* D1 primary-provider selection: from all verifications an account holds, pick
|
|
843
|
-
* the one whose provider has the highest priority (lowest `priority` number) for
|
|
844
|
-
* the single inline badge. The rest belong in the popover. Verifications from
|
|
845
|
-
* unknown providers are ignored. Returns `null` when nothing is displayable.
|
|
846
|
-
*/
|
|
847
|
-
declare function primaryVerification(verifications: readonly AccountVerification[]): AccountVerification | null;
|
|
848
|
-
|
|
849
778
|
/**
|
|
850
779
|
* Investment taxonomy. Mirrors `id.sifa.defs#investmentRole`, `#investmentStage`
|
|
851
780
|
* and `#investmentStatus` from sifa-lexicons.
|
|
@@ -3165,4 +3094,4 @@ declare function roadmapIssueUrl(issue: number): string;
|
|
|
3165
3094
|
*/
|
|
3166
3095
|
declare const SIFA_SDK_VERSION: string;
|
|
3167
3096
|
|
|
3168
|
-
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type
|
|
3097
|
+
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, type BuildProfileHighlightsOptions, 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, COURSE_ROLE_LABELS, COURSE_ROLE_OPTIONS, COURSE_ROLE_TAKEN, COURSE_ROLE_TAUGHT, COURSE_ROLE_TEACHING_ASSISTANT, type CardHealth, type CardHealthStrategy, type CollapseContributorsOptions, type CollapsedContributors, type CompanyFirmographics, type ContinentCode, type CourseRoleOption, type CsvRow, DATE_LOOKAHEAD_MONTHS, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DateLookaheadKind, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EQF_LEVEL_LABELS, EQF_LEVEL_OPTIONS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type EqfLevel, type EqfLevelOption, type FormatDisplayUrlOptions, type GroupPublicationVersionsOptions, INDUSTRY_LABELS, 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, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_GROUP_LABELS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_LABELS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedEndorsementComment, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryFlagCandidate, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, type ProfileHighlightSection, type ProfileHighlightStatus, type ProfileHighlightTile, type ProfileHighlightsInput, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type PublicationVersionGroup, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, RelatedIdentifier, type RgbColor, type RoadmapItemMeta, SEARCH_FILTER_DEFS, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SearchFilterControl, type SearchFilterDef, type SearchFilterOptionSource, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardContent, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, type VersionablePublication, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, collapseContributors, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, followingFeedFallbackApp, formatCompanyName, formatCredentialDateRange, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatIsoTitle, formatLocation, formatPositionDateRange, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getCourseRoleLabel, getDisplayLabel, getEducationLevelDisplay, getEmploymentTypeLabel, getEqfLevelLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabel, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupPublicationVersions, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isBeyondLookahead, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isTeachingCourse, isUpcomingStart, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, qualifiesAsOrg, readEqfLevel, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, shouldRenderHighlights, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, splitCoursesByRole, streamAddressSchema, streamAuthorSchema, streamCardBodyContent, streamCardBodySchema, streamCardContent, streamCardSubjectSchema, streamCardSubjectText, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, suggestEqfLevelFromDegree, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-
|
|
2
|
-
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-
|
|
3
|
-
import { S as SearchFilters } from './types-
|
|
4
|
-
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-
|
|
1
|
+
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-CT-A3BEe.js';
|
|
2
|
+
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-CT-A3BEe.js';
|
|
3
|
+
import { S as SearchFilters } from './types-Bl8KYBSl.js';
|
|
4
|
+
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-Bl8KYBSl.js';
|
|
5
|
+
import { A as AgentRef } from './verification-providers-7il3kPQS.js';
|
|
6
|
+
export { a as AccountVerification, V as VERIFICATION_PROVIDERS, b as VerificationProvider, c as VerificationProviderId, d as VerificationSource, e as agentRefSchema, f as atUriSchema, g as cidSchema, h as datetimeSchema, i as didSchema, j as externalRecordRefSchema, k as getVerificationProvider, l as isKnownVerificationProvider, m as languageTagSchema, n as maxGraphemes, p as partialDateSchema, o as primaryVerification, r as resolveVerifierProvider, s as selfLabelsSchema, q as skillRefSchema, t as strongRefSchema, u as uriSchema } from './verification-providers-7il3kPQS.js';
|
|
5
7
|
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-BiHM7C5q.js';
|
|
6
8
|
export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EndorsementConfirmationRecord, g as EndorsementConfirmationRecordSchema, h as EndorsementRecord, i as EndorsementRecordSchema, F as FeedActor, j as FeedActorSchema, k as FeedCursor, l as FollowFeedItem, m as FollowFeedItemSchema, n as FollowFeedPage, o as FollowFeedPageSchema, G as GraphFollowRecord, p as GraphFollowRecordSchema, I as InvestmentAmountSchema, q as OrgEmploymentAttestationRecord, r as OrgEmploymentAttestationRecordSchema, s as OrgProfileRecordSchema, t as PROFILE_INVESTMENT_NSID, u as PROFILE_INVOLVEMENT_NSID, v as PresentationDurationSchema, w as PresentationLink, x as PresentationLinkSchema, y as ProfileCertificationRecord, z as ProfileCertificationRecordSchema, C as ProfileCourseRecord, D as ProfileCourseRecordSchema, H as ProfileEducationRecord, J as ProfileEducationRecordSchema, K as ProfileExternalAccountRecord, L as ProfileExternalAccountRecordSchema, M as ProfileHonorRecord, N as ProfileHonorRecordSchema, Q as ProfileInvestmentRecordSchema, R as ProfileInvolvementRecord, S as ProfileInvolvementRecordSchema, T as ProfileLanguageRecord, U as ProfileLanguageRecordSchema, V as ProfilePositionRecord, W as ProfilePositionRecordSchema, X as ProfilePresentationDeliveryRecordSchema, Y as ProfilePresentationRecordSchema, Z as ProfileProjectRecord, _ as ProfileProjectRecordSchema, $ as ProfilePublicationRecord, a0 as ProfilePublicationRecordSchema, a1 as ProfileSelfRecord, a2 as ProfileSelfRecordSchema, a3 as ProfileSkillRecord, a4 as ProfileSkillRecordSchema, a5 as ProfileVolunteeringRecord, a6 as ProfileVolunteeringRecordSchema, a7 as PublicationAuthor, a8 as PublicationAuthorSchema, a9 as RelatedIdentifierSchema, aa as SifaFeedItem, ab as SifaFeedItemSchema, ac as decodeFeedCursor, ad as encodeFeedCursor, ae as makeGraphFollowRecordSchema } from './profile-investment-BiHM7C5q.js';
|
|
7
9
|
import { z } from 'zod';
|
|
8
|
-
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-
|
|
9
|
-
import { E as EntitySearchResult } from './follow-profile-
|
|
10
|
-
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-
|
|
11
|
-
import { A as AgentRef } from './shared-v0vl5hov.js';
|
|
12
|
-
export { a as agentRefSchema, b as atUriSchema, c as cidSchema, d as datetimeSchema, e as didSchema, f as externalRecordRefSchema, l as languageTagSchema, m as maxGraphemes, p as partialDateSchema, s as selfLabelsSchema, g as skillRefSchema, h as strongRefSchema, u as uriSchema } from './shared-v0vl5hov.js';
|
|
10
|
+
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-DiONU2n-.js';
|
|
11
|
+
import { E as EntitySearchResult } from './follow-profile-ceqefXAw.js';
|
|
12
|
+
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-ceqefXAw.js';
|
|
13
13
|
|
|
14
14
|
type ContinentCode = 'AF' | 'AN' | 'AS' | 'EU' | 'NA' | 'OC' | 'SA';
|
|
15
15
|
declare const CONTINENTS: ReadonlyArray<{
|
|
@@ -775,77 +775,6 @@ declare const ARTIFACT_LINK_KIND_LABELS: Record<string, string>;
|
|
|
775
775
|
/** Resolve a label for an artifact-link-kind value. Falls back to the raw value. */
|
|
776
776
|
declare function getArtifactLinkKindLabel(value: string | undefined | null): string | undefined;
|
|
777
777
|
|
|
778
|
-
/**
|
|
779
|
-
* Verification providers -- the trust roots Sifa recognizes for AT Protocol
|
|
780
|
-
* `app.bsky.graph.verification` records.
|
|
781
|
-
*
|
|
782
|
-
* Framing (see decisions/2026-07-13-third-party-verification-providers.md, D4):
|
|
783
|
-
* a verification checkmark is ONE low-tier trust layer, not Sifa's headline.
|
|
784
|
-
* Most of what it certifies is "this account is who they claim to be" -- useful,
|
|
785
|
-
* and worth carrying because it's an already-recognized network signal, but low
|
|
786
|
-
* value on its own. It sits among Sifa's other trust signals and never becomes a
|
|
787
|
-
* score or a gate. This registry only decides which issuers Sifa displays and
|
|
788
|
-
* with what provenance.
|
|
789
|
-
*
|
|
790
|
-
* Data-only: badge colors and icons are consumer concerns (React DOM on web,
|
|
791
|
-
* React Native on mobile), same split as {@link PLATFORM_LABELS}. Consumers map
|
|
792
|
-
* a provider id to a token/color.
|
|
793
|
-
*/
|
|
794
|
-
type VerificationProviderId = 'bluesky' | 'mu';
|
|
795
|
-
/** How Sifa learns about a provider's verifications. */
|
|
796
|
-
type VerificationSource = 'bluesky-api' | 'firehose';
|
|
797
|
-
interface VerificationProvider {
|
|
798
|
-
id: VerificationProviderId;
|
|
799
|
-
/** Human label for the badge popover, e.g. "Bluesky", "mu (Eurosky)". */
|
|
800
|
-
label: string;
|
|
801
|
-
/**
|
|
802
|
-
* Primary-display priority (D1): when an account holds verifications from
|
|
803
|
-
* multiple providers, the lowest number wins the single inline badge and the
|
|
804
|
-
* rest move into the popover. Must be unique across providers.
|
|
805
|
-
*/
|
|
806
|
-
priority: number;
|
|
807
|
-
/**
|
|
808
|
-
* - `bluesky-api`: sourced from Bluesky's public-API `verifiedStatus`. Bluesky
|
|
809
|
-
* maintains its own trusted-verifier set, so Sifa keeps no local DID list.
|
|
810
|
-
* - `firehose`: sourced from the Jetstream, gated on {@link verifierDids}.
|
|
811
|
-
*/
|
|
812
|
-
source: VerificationSource;
|
|
813
|
-
/**
|
|
814
|
-
* Trusted verifier DIDs for firehose-sourced providers. A verification record
|
|
815
|
-
* counts only if its ISSUER DID is in this list. Empty for `bluesky-api`
|
|
816
|
-
* providers (Bluesky's AppView owns that decision). DIDs, not handles: a handle
|
|
817
|
-
* takeover must never confer verifier status.
|
|
818
|
-
*/
|
|
819
|
-
verifierDids: readonly string[];
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* A verification held by an account, as surfaced to the UI. `issuerDid` is
|
|
823
|
-
* present for firehose-sourced providers and absent for `bluesky-api`.
|
|
824
|
-
*/
|
|
825
|
-
interface AccountVerification {
|
|
826
|
-
provider: VerificationProviderId;
|
|
827
|
-
verifiedAt?: string | null;
|
|
828
|
-
issuerDid?: string | null;
|
|
829
|
-
}
|
|
830
|
-
declare const VERIFICATION_PROVIDERS: Record<VerificationProviderId, VerificationProvider>;
|
|
831
|
-
declare function isKnownVerificationProvider(id: string): id is VerificationProviderId;
|
|
832
|
-
declare function getVerificationProvider(id: string): VerificationProvider | undefined;
|
|
833
|
-
/**
|
|
834
|
-
* The firehose issuer gate: given the DID that authored an
|
|
835
|
-
* `app.bsky.graph.verification` record, return the provider it verifies for, or
|
|
836
|
-
* `null` if the issuer is not a recognized firehose verifier. API-sourced
|
|
837
|
-
* providers (Bluesky) are never matched here -- their verifications do not enter
|
|
838
|
-
* through the firehose, so a self-issued record cannot resolve to them.
|
|
839
|
-
*/
|
|
840
|
-
declare function resolveVerifierProvider(issuerDid: string): VerificationProviderId | null;
|
|
841
|
-
/**
|
|
842
|
-
* D1 primary-provider selection: from all verifications an account holds, pick
|
|
843
|
-
* the one whose provider has the highest priority (lowest `priority` number) for
|
|
844
|
-
* the single inline badge. The rest belong in the popover. Verifications from
|
|
845
|
-
* unknown providers are ignored. Returns `null` when nothing is displayable.
|
|
846
|
-
*/
|
|
847
|
-
declare function primaryVerification(verifications: readonly AccountVerification[]): AccountVerification | null;
|
|
848
|
-
|
|
849
778
|
/**
|
|
850
779
|
* Investment taxonomy. Mirrors `id.sifa.defs#investmentRole`, `#investmentStage`
|
|
851
780
|
* and `#investmentStatus` from sifa-lexicons.
|
|
@@ -3165,4 +3094,4 @@ declare function roadmapIssueUrl(issue: number): string;
|
|
|
3165
3094
|
*/
|
|
3166
3095
|
declare const SIFA_SDK_VERSION: string;
|
|
3167
3096
|
|
|
3168
|
-
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type
|
|
3097
|
+
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, type BuildProfileHighlightsOptions, 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, COURSE_ROLE_LABELS, COURSE_ROLE_OPTIONS, COURSE_ROLE_TAKEN, COURSE_ROLE_TAUGHT, COURSE_ROLE_TEACHING_ASSISTANT, type CardHealth, type CardHealthStrategy, type CollapseContributorsOptions, type CollapsedContributors, type CompanyFirmographics, type ContinentCode, type CourseRoleOption, type CsvRow, DATE_LOOKAHEAD_MONTHS, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DateLookaheadKind, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EQF_LEVEL_LABELS, EQF_LEVEL_OPTIONS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type EqfLevel, type EqfLevelOption, type FormatDisplayUrlOptions, type GroupPublicationVersionsOptions, INDUSTRY_LABELS, 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, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_GROUP_LABELS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_LABELS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedEndorsementComment, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryFlagCandidate, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, type ProfileHighlightSection, type ProfileHighlightStatus, type ProfileHighlightTile, type ProfileHighlightsInput, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type PublicationVersionGroup, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, RelatedIdentifier, type RgbColor, type RoadmapItemMeta, SEARCH_FILTER_DEFS, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SearchFilterControl, type SearchFilterDef, type SearchFilterOptionSource, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardContent, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, type VersionablePublication, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, collapseContributors, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, followingFeedFallbackApp, formatCompanyName, formatCredentialDateRange, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatIsoTitle, formatLocation, formatPositionDateRange, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getCourseRoleLabel, getDisplayLabel, getEducationLevelDisplay, getEmploymentTypeLabel, getEqfLevelLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabel, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupPublicationVersions, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isBeyondLookahead, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isTeachingCourse, isUpcomingStart, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, qualifiesAsOrg, readEqfLevel, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, shouldRenderHighlights, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, splitCoursesByRole, streamAddressSchema, streamAuthorSchema, streamCardBodyContent, streamCardBodySchema, streamCardContent, streamCardSubjectSchema, streamCardSubjectText, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, suggestEqfLevelFromDegree, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
package/dist/index.js
CHANGED
|
@@ -350,7 +350,7 @@ import {
|
|
|
350
350
|
roadmapIssueUrl
|
|
351
351
|
} from "./roadmap/index.js";
|
|
352
352
|
import { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from "./repo/index.js";
|
|
353
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
353
|
+
var SIFA_SDK_VERSION = "0.19.56";
|
|
354
354
|
export {
|
|
355
355
|
ACTIVITY_TIERS,
|
|
356
356
|
ACTIVITY_VERBS,
|
package/dist/jsonld/index.d.cts
CHANGED
package/dist/jsonld/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-
|
|
3
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
4
|
-
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-
|
|
1
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-BeQbepFn.cjs';
|
|
2
|
+
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-CYjcuKr4.cjs';
|
|
3
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CVFSy7BE.cjs';
|
|
4
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-CQ3DTTak.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-
|
|
3
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
4
|
-
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-
|
|
1
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-CT-A3BEe.js';
|
|
2
|
+
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-Bl8KYBSl.js';
|
|
3
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DiONU2n-.js';
|
|
4
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-ceqefXAw.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
2
|
-
import { p as ExternalAccount } from './index-
|
|
3
|
-
import {
|
|
1
|
+
import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-CYjcuKr4.cjs';
|
|
2
|
+
import { p as ExternalAccount } from './index-BeQbepFn.cjs';
|
|
3
|
+
import { a as AccountVerification } from './verification-providers-7il3kPQS.cjs';
|
|
4
|
+
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-CQ3DTTak.cjs';
|
|
4
5
|
import { z } from 'zod';
|
|
5
6
|
import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-C73Sin5E.cjs';
|
|
6
7
|
|
|
@@ -56,10 +57,10 @@ interface UpdateProfileOverrideInput {
|
|
|
56
57
|
*/
|
|
57
58
|
declare function updateProfileOverride(config: SifaApiConfig, data: UpdateProfileOverrideInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
58
59
|
/** Extended result for {@link refreshPds}. */
|
|
59
|
-
|
|
60
|
+
type RefreshPdsResult = WriteResult<{
|
|
60
61
|
displayName?: string | null;
|
|
61
62
|
avatar?: string | null;
|
|
62
|
-
}
|
|
63
|
+
}>;
|
|
63
64
|
/**
|
|
64
65
|
* Re-pull the authenticated user's `app.bsky.actor.profile` from their
|
|
65
66
|
* PDS. Returns the freshly resolved `displayName` and `avatar` on
|
|
@@ -67,10 +68,10 @@ interface RefreshPdsResult extends WriteResult {
|
|
|
67
68
|
*/
|
|
68
69
|
declare function refreshPds(config: SifaApiConfig, options?: ApiFetchOptions): Promise<RefreshPdsResult>;
|
|
69
70
|
/** Extended result for {@link uploadAvatar}. */
|
|
70
|
-
|
|
71
|
+
type UploadAvatarResult = WriteResult<{
|
|
71
72
|
/** Publicly accessible URL of the newly uploaded avatar. */
|
|
72
73
|
url?: string;
|
|
73
|
-
}
|
|
74
|
+
}>;
|
|
74
75
|
/**
|
|
75
76
|
* Upload a new avatar via `multipart/form-data`. Pass either a `File`
|
|
76
77
|
* (browser) or any `Blob` (Expo, node). The SDK leaves `Content-Type`
|
|
@@ -82,10 +83,10 @@ declare function uploadAvatar(config: SifaApiConfig, file: Blob, options?: ApiFe
|
|
|
82
83
|
/** Delete the authenticated user's avatar override (revert to PDS avatar). */
|
|
83
84
|
declare function deleteAvatarOverride(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
84
85
|
/** Extended result for {@link uploadNamePronunciationAudio}. */
|
|
85
|
-
|
|
86
|
+
type UploadPronunciationAudioResult = WriteResult<{
|
|
86
87
|
/** Publicly accessible URL of the newly uploaded audio clip. */
|
|
87
88
|
url?: string;
|
|
88
|
-
}
|
|
89
|
+
}>;
|
|
89
90
|
/**
|
|
90
91
|
* Upload a name-pronunciation audio clip via `multipart/form-data`. Pass a
|
|
91
92
|
* `File` (browser) or any `Blob` (Expo, node). The SDK leaves `Content-Type`
|
|
@@ -137,7 +138,7 @@ interface SubCategoryBulkResult {
|
|
|
137
138
|
* per-IP rate limit on any sizeable profile (#324). An empty `subCategory`
|
|
138
139
|
* clears the field.
|
|
139
140
|
*/
|
|
140
|
-
declare function updateSkillSubCategories(config: SifaApiConfig, rkeys: string[], subCategory: string, options?: ApiFetchOptions): Promise<WriteResult
|
|
141
|
+
declare function updateSkillSubCategories(config: SifaApiConfig, rkeys: string[], subCategory: string, options?: ApiFetchOptions): Promise<WriteResult<SubCategoryBulkResult>>;
|
|
141
142
|
/** Delete a skill record by `rkey`. */
|
|
142
143
|
declare function deleteSkill(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
143
144
|
|
|
@@ -182,15 +183,15 @@ interface ExternalAccountInput {
|
|
|
182
183
|
feedUrl?: string;
|
|
183
184
|
}
|
|
184
185
|
/** Extended create result for {@link createExternalAccount}. */
|
|
185
|
-
|
|
186
|
+
type CreateExternalAccountResult = WriteResult<{
|
|
186
187
|
rkey?: string;
|
|
187
188
|
feedUrl?: string | null;
|
|
188
|
-
}
|
|
189
|
+
}>;
|
|
189
190
|
/** Extended write result for {@link verifyExternalAccount}. */
|
|
190
|
-
|
|
191
|
+
type VerifyExternalAccountResult = WriteResult<{
|
|
191
192
|
verified?: boolean;
|
|
192
193
|
verifiedVia?: string;
|
|
193
|
-
}
|
|
194
|
+
}>;
|
|
194
195
|
/** List external accounts attached to a profile. Returns `[]` on error. */
|
|
195
196
|
declare function fetchExternalAccounts(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<ExternalAccount[]>;
|
|
196
197
|
/**
|
|
@@ -516,10 +517,10 @@ interface FetchProfileCompletenessOptions extends ApiFetchOptions {
|
|
|
516
517
|
declare function fetchProfileCompleteness(config: SifaApiConfig, options?: FetchProfileCompletenessOptions): Promise<ProfileCompleteness>;
|
|
517
518
|
|
|
518
519
|
/** Extended result for {@link refreshOrcidPublications}. */
|
|
519
|
-
|
|
520
|
+
type RefreshOrcidPublicationsResult = WriteResult<{
|
|
520
521
|
added?: number;
|
|
521
522
|
removed?: number;
|
|
522
|
-
}
|
|
523
|
+
}>;
|
|
523
524
|
/**
|
|
524
525
|
* Hide an ORCID-imported publication from the user's profile. The
|
|
525
526
|
* `putCode` is the ORCID-side identifier; the underlying record stays
|
|
@@ -736,6 +737,12 @@ interface SuggestionProfile {
|
|
|
736
737
|
source: string;
|
|
737
738
|
dismissed: boolean;
|
|
738
739
|
blueskyVerified?: boolean;
|
|
740
|
+
/**
|
|
741
|
+
* Every verification the account holds, across all recognized providers
|
|
742
|
+
* (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only
|
|
743
|
+
* `blueskyVerified` pair for badge rendering. Absent on older API responses.
|
|
744
|
+
*/
|
|
745
|
+
verificationBadges?: AccountVerification[];
|
|
739
746
|
}
|
|
740
747
|
interface SuggestionsResponse {
|
|
741
748
|
onSifa: SuggestionProfile[];
|
|
@@ -984,6 +991,12 @@ interface FollowProfile {
|
|
|
984
991
|
followedAt: string;
|
|
985
992
|
blueskyVerified?: boolean;
|
|
986
993
|
blueskyVerifiedAt?: string | null;
|
|
994
|
+
/**
|
|
995
|
+
* Every verification the account holds, across all recognized providers
|
|
996
|
+
* (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only
|
|
997
|
+
* `blueskyVerified` pair for badge rendering. Absent on older API responses.
|
|
998
|
+
*/
|
|
999
|
+
verificationBadges?: AccountVerification[];
|
|
987
1000
|
}
|
|
988
1001
|
interface FollowingResponse {
|
|
989
1002
|
follows: FollowProfile[];
|
|
@@ -1001,11 +1014,11 @@ declare function fetchFollowing(config: SifaApiConfig, opts?: {
|
|
|
1001
1014
|
* handle surface as `success: false` with the server-provided message;
|
|
1002
1015
|
* dup-follow is idempotent (sifa-api E7) and resolves as `success: true`.
|
|
1003
1016
|
*/
|
|
1004
|
-
|
|
1017
|
+
type FollowUserResult = WriteResult<{
|
|
1005
1018
|
rkey?: string;
|
|
1006
1019
|
/** DID of the followed subject (server-resolved from the handle). */
|
|
1007
1020
|
subjectDid?: string;
|
|
1008
|
-
}
|
|
1021
|
+
}>;
|
|
1009
1022
|
/**
|
|
1010
1023
|
* Create an `id.sifa.graph.follow` record on the caller's PDS via the
|
|
1011
1024
|
* AppView. Idempotent on duplicate (server catches the unique-violation
|
|
@@ -1442,17 +1455,17 @@ interface WipePreview {
|
|
|
1442
1455
|
*/
|
|
1443
1456
|
declare function fetchWipePreview(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WipePreview>;
|
|
1444
1457
|
/** Extended write result for {@link resetProfile}. */
|
|
1445
|
-
|
|
1458
|
+
type ResetProfileResult = WriteResult<{
|
|
1446
1459
|
/** Present when `deletePdsData: true`. See {@link PdsWipeOutcome}. */
|
|
1447
1460
|
pds?: PdsWipeOutcome;
|
|
1448
|
-
}
|
|
1461
|
+
}>;
|
|
1449
1462
|
/** Extended write result for {@link deleteAccount}. */
|
|
1450
|
-
|
|
1463
|
+
type DeleteAccountResult = WriteResult<{
|
|
1451
1464
|
/** The deleted handle, returned by the server for confirmation UIs. */
|
|
1452
1465
|
handle?: string;
|
|
1453
1466
|
/** Present when `deletePdsData: true`. See {@link PdsWipeOutcome}. */
|
|
1454
1467
|
pds?: PdsWipeOutcome;
|
|
1455
|
-
}
|
|
1468
|
+
}>;
|
|
1456
1469
|
/**
|
|
1457
1470
|
* Reset the authenticated user's Sifa profile.
|
|
1458
1471
|
*
|
|
@@ -1698,7 +1711,12 @@ interface OrgDomainVerifyResult {
|
|
|
1698
1711
|
/** Response body of `POST /api/org/notification-emails`. */
|
|
1699
1712
|
interface OrgNotificationEmailAddResult {
|
|
1700
1713
|
ok: boolean;
|
|
1701
|
-
|
|
1714
|
+
/**
|
|
1715
|
+
* Outcome of the verification email: `verification_sent` (accepted by the
|
|
1716
|
+
* mail provider), `sends_paused` (sending is off, nothing went out) or
|
|
1717
|
+
* `send_failed` (rejected or unreachable).
|
|
1718
|
+
*/
|
|
1719
|
+
status: 'verification_sent' | 'sends_paused' | 'send_failed';
|
|
1702
1720
|
}
|
|
1703
1721
|
/** Response body of `DELETE /api/org/notification-emails`. */
|
|
1704
1722
|
interface OrgNotificationEmailRemoveResult {
|
|
@@ -1711,35 +1729,35 @@ interface OrgNotificationEmailRemoveResult {
|
|
|
1711
1729
|
* structured {@link OrgClaimResult} folded into a {@link WriteResult} on success,
|
|
1712
1730
|
* or `{ success: false, error, pdsHost? }` on failure.
|
|
1713
1731
|
*/
|
|
1714
|
-
declare function submitOrgClaim(config: SifaApiConfig, body: OrgClaimRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult
|
|
1732
|
+
declare function submitOrgClaim(config: SifaApiConfig, body: OrgClaimRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgClaimResult>>>;
|
|
1715
1733
|
/**
|
|
1716
1734
|
* Edit the org record (`PUT /api/org/profile`). Fresh-from-body server-side PUT
|
|
1717
1735
|
* (a cleared optional field is dropped, no spread-merge). Never throws.
|
|
1718
1736
|
*/
|
|
1719
|
-
declare function updateOrgProfile(config: SifaApiConfig, body: OrgProfileUpdateRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult
|
|
1737
|
+
declare function updateOrgProfile(config: SifaApiConfig, body: OrgProfileUpdateRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgProfileUpdateResult>>>;
|
|
1720
1738
|
/**
|
|
1721
1739
|
* Issue a one-time DNS TXT domain challenge (`POST /api/org/domains/challenge`).
|
|
1722
1740
|
* Returns the TXT record name + value the org must publish. Never throws.
|
|
1723
1741
|
*/
|
|
1724
|
-
declare function requestOrgDomainChallenge(config: SifaApiConfig, body: OrgDomainChallengeRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult
|
|
1742
|
+
declare function requestOrgDomainChallenge(config: SifaApiConfig, body: OrgDomainChallengeRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgDomainChallengeResult>>>;
|
|
1725
1743
|
/**
|
|
1726
1744
|
* Verify a DNS TXT domain challenge (`POST /api/org/domains/verify`). On success
|
|
1727
1745
|
* `status` is `verified` or `pending`. Expired / confusable / not-found map to
|
|
1728
1746
|
* non-2xx server responses and surface as `{ success: false, error }`. Never
|
|
1729
1747
|
* throws.
|
|
1730
1748
|
*/
|
|
1731
|
-
declare function verifyOrgDomain(config: SifaApiConfig, body: OrgDomainVerifyRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult
|
|
1749
|
+
declare function verifyOrgDomain(config: SifaApiConfig, body: OrgDomainVerifyRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgDomainVerifyResult>>>;
|
|
1732
1750
|
/**
|
|
1733
1751
|
* Add an org notification email (`POST /api/org/notification-emails`). The
|
|
1734
1752
|
* address must use a domain the org controls (checked server-side). An
|
|
1735
1753
|
* individual verification email is enqueued through the (dormant) sending
|
|
1736
1754
|
* pipeline. Never throws.
|
|
1737
1755
|
*/
|
|
1738
|
-
declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult
|
|
1756
|
+
declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgNotificationEmailAddResult>>>;
|
|
1739
1757
|
/**
|
|
1740
1758
|
* Remove an org notification email (`DELETE /api/org/notification-emails`).
|
|
1741
1759
|
* Never throws.
|
|
1742
1760
|
*/
|
|
1743
|
-
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult
|
|
1761
|
+
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>>;
|
|
1744
1762
|
|
|
1745
1763
|
export { type HeatmapDay 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 FetchInboxCountsOptions as G, type FetchMyGithubPullRequestsOptions as H, type FetchMyRoadmapVotesOptions as I, type FetchProfileCompletenessOptions as J, type FetchReactionStatusOptions as K, type FetchSuggestionsOptions as L, type FetchUnlinkedPositionsOptions as M, type FollowListPage as N, type FollowProfile as O, type FollowProfilePageResponse as P, type FollowUserResult as Q, type FollowingFeedApp as R, type FollowingFeedEmptyReason as S, type FollowingFeedResponse as T, type FollowingFeedVersion as U, type FollowingResponse as V, type GetAdminReviewQueuesOptions as W, type GithubPullRequest as X, type GivenConfirmation as Y, HIDDEN_ITEM_SOURCES as Z, HIDDEN_ITEM_TYPES as _, type ConfirmEndorsementResult as a, bulkHideProfileItems as a$, type HeatmapResponse as a0, type HiddenActivityItem as a1, type HiddenApp as a2, type HiddenItemSource as a3, type HiddenItemType as a4, type HideActivityItemInput as a5, type HideProfileItemInput as a6, type InboxCounts as a7, type ListFeatureAllowlistOptions as a8, type MyGithubPullRequestsResponse as a9, type ReactionStatus as aA, type RefreshOrcidPublicationsResult as aB, type RefreshPdsResult as aC, type RepoDeleteInput as aD, type ResetProfileResult as aE, type ResolveQuotedPostsOptions as aF, type RoadmapVoteError as aG, type RoadmapVoteResult as aH, type RoadmapVoter as aI, type RoadmapVotesResponse as aJ, type SifaQueryKey as aK, type SimilarProfile as aL, type StatsResponse as aM, type SubCategoryBulkResult as aN, type SuggestionProfile as aO, type SuggestionsResponse as aP, type UnhideActivityItemInput as aQ, type UnlinkedPosition as aR, type UnlinkedPositionsResult as aS, type UpdateProfileOverrideInput as aT, type UpdateProfileSelfInput as aU, type UploadAvatarResult as aV, type UploadPronunciationAudioResult as aW, type VerifyExternalAccountResult as aX, type WipePreview as aY, addFeatureAllowlist as aZ, addOrgNotificationEmail as a_, type OrgClaimBinding as aa, type OrgClaimResult as ab, type OrgDomainChallengeResult as ac, type OrgDomainVerifyResult as ad, type OrgNotificationEmailAddResult as ae, type OrgNotificationEmailRemoveResult as af, type OrgProfileEcho as ag, type OrgProfileUpdateResult as ah, PROFILE_COMPLETENESS_SIGNALS as ai, type PdsWipeOutcome as aj, type PendingConfirmation as ak, type PendingConfirmationsPage as al, type PrimarySection as am, type ProfileCompleteness as an, type ProfileCompletenessSignal as ao, type ProfileIndustryInput as ap, type ProfileLocationAddress as aq, type ProfileLocationInput as ar, type ProfileSelfLocation as as, QUOTED_POSTS_BATCH_MAX as at, type QuotedPostAuthor as au, type QuotedPostImage as av, type QuotedPostResult as aw, type QuotedPostView as ax, type ReactionError as ay, type ReactionResult as az, type AccountSummary as b, refreshPds as b$, bulkHideStandardPublications as b0, bulkUnhideProfileItems as b1, bulkUnhideStandardPublications as b2, castRoadmapVote as b3, checkAppAccount as b4, confirmEndorsement as b5, createConfirmation as b6, createEndorsement as b7, createExternalAccount as b8, createProfileLocation as b9, fetchMyGithubPullRequests as bA, fetchMyRoadmapVotes as bB, fetchPendingConfirmations as bC, fetchProfileCompleteness as bD, fetchReactionStatus as bE, fetchRepoInventory as bF, fetchRoadmapVotes as bG, fetchSimilarProfiles as bH, fetchStats as bI, fetchSuggestionCount as bJ, fetchSuggestions as bK, fetchUnlinkedPositions as bL, fetchWipePreview as bM, followUser as bN, getAdminReviewQueues as bO, getBlueskySuggestions as bP, getFollowers as bQ, getFollowing as bR, getMutuals as bS, hideActivityItem as bT, hideOrcidPublication as bU, hideProfileItem as bV, hideSifaPublication as bW, hideStandardPublication as bX, isNewerFollowingFeed as bY, listFeatureAllowlist as bZ, refreshOrcidPublications as b_, createReaction as ba, createSkill as bb, deleteAccount as bc, deleteAvatarOverride as bd, deleteExternalAccount as be, deleteNamePronunciationAudio as bf, deleteProfileLocation as bg, deleteReaction as bh, deleteRepoRecords as bi, deleteSkill as bj, dismissConfirmation as bk, dismissUnlinkedPosition as bl, fetchAccounts as bm, fetchActivityFeed as bn, fetchActivityTeaser as bo, fetchAppsRegistry as bp, fetchExternalAccounts as bq, fetchFeaturedProfile as br, fetchFollowing as bs, fetchFollowingFeed as bt, fetchFollowingFeedVersion as bu, fetchGivenConfirmations as bv, fetchHeatmapData as bw, fetchHiddenActivityItems as bx, fetchHiddenApps as by, fetchInboxCounts as bz, type ActivityFeedResponse as c, removeFeatureAllowlist as c0, removeOrgNotificationEmail as c1, repoExportUrl as c2, requestOrgDomainChallenge as c3, resetProfile as c4, resolveQuotedPosts as c5, retractRoadmapVote as c6, revokeConfirmation as c7, setExternalAccountPrimary as c8, setSectionPrimary 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, updateExternalAccount as ck, updateOrgProfile as cl, updateProfileLocation as cm, updateProfileOverride as cn, updateProfileSelf as co, updateSkill as cp, updateSkillSubCategories as cq, uploadAvatar as cr, uploadNamePronunciationAudio as cs, verifyExternalAccount as ct, verifyOrgDomain as cu, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityTeaserResponse as f, type AdminReviewQueues as g, type AppRegistryEntry as h, type CastRoadmapVoteResult as i, type CheckAppAccountOptions as j, type ConfirmationInput as k, type ConfirmationSubjectInput as l, type CreateExternalAccountResult as m, type DismissUnlinkedPositionInput as n, type ExternalAccountInput as o, type FeaturedProfile as p, type FetchAccountsOptions as q, type FetchActivityFeedOptions as r, sifaQueryKeys as s, type FetchActivityTeaserOptions as t, type FetchConfirmationsOptions as u, type FetchFollowListOptions as v, type FetchFollowProfilePageOptions as w, type FetchFollowingFeedOptions as x, type FetchHiddenActivityItemsOptions as y, type FetchHiddenAppsOptions as z };
|