@singi-labs/sifa-sdk 0.12.5 → 0.12.7

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.
@@ -806,9 +806,9 @@ interface ProfileView {
806
806
  locations?: ProfileLocationView[];
807
807
  website?: string;
808
808
  openTo?: string[];
809
- preferredWorkplace?: string;
810
- availableFromUtc?: string;
811
- availableToUtc?: string;
809
+ preferredWorkplace?: string[];
810
+ availableFromUtc?: number;
811
+ availableToUtc?: number;
812
812
  langs?: string[];
813
813
  createdAt?: string;
814
814
  positions?: PositionView[];
@@ -834,7 +834,7 @@ interface ProfileView {
834
834
  blueskyVerified?: boolean;
835
835
  blueskyVerifiedAt?: string;
836
836
  activeApps?: ActiveAppView[];
837
- pdsProvider?: string;
837
+ pdsProvider?: PdsProviderInfo;
838
838
  claimed?: boolean;
839
839
  }
840
840
 
@@ -806,9 +806,9 @@ interface ProfileView {
806
806
  locations?: ProfileLocationView[];
807
807
  website?: string;
808
808
  openTo?: string[];
809
- preferredWorkplace?: string;
810
- availableFromUtc?: string;
811
- availableToUtc?: string;
809
+ preferredWorkplace?: string[];
810
+ availableFromUtc?: number;
811
+ availableToUtc?: number;
812
812
  langs?: string[];
813
813
  createdAt?: string;
814
814
  positions?: PositionView[];
@@ -834,7 +834,7 @@ interface ProfileView {
834
834
  blueskyVerified?: boolean;
835
835
  blueskyVerifiedAt?: string;
836
836
  activeApps?: ActiveAppView[];
837
- pdsProvider?: string;
837
+ pdsProvider?: PdsProviderInfo;
838
838
  claimed?: boolean;
839
839
  }
840
840
 
@@ -1,5 +1,5 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-92bvwL8H.cjs';
2
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-BOY_T6j3.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-It9hf-ni.cjs';
2
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-DE7XOP9c.cjs';
3
3
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.cjs';
4
4
 
5
5
  /**
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ad as RefreshPdsResult, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, j as CreateResult, a1 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, au as VerifyExternalAccountResult, E as EndorsementInput, ac as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, ao as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, aj as SearchFilters, ak as SearchResponse, an as SkillSearchResult, l as FeaturedProfile, am as SimilarProfile, v as FetchSuggestionsOptions, aq as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ab as ReactionStatus, aa as ReactionResult, a9 as ReactionError, ai as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-92bvwL8H.cjs';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ae as RefreshPdsResult, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, j as CreateResult, a2 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aw as VerifyExternalAccountResult, E as EndorsementInput, ad as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, aq as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, al as SearchFilters, am as SearchResponse, ap as SkillSearchResult, l as FeaturedProfile, ao as SimilarProfile, v as FetchSuggestionsOptions, as as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ac as ReactionStatus, ab as ReactionResult, aa as ReactionError, ak as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, af as ResetProfileResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-It9hf-ni.cjs';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-BOY_T6j3.cjs';
6
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-DE7XOP9c.cjs';
7
7
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-D2ZV8Eaj.cjs';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-CmaSX5ZI.cjs';
9
9
 
@@ -608,7 +608,7 @@ declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteRe
608
608
  * Invalidates the entire `sifaQueryKeys.all()` subtree on success
609
609
  * (everything Sifa-related needs a refresh after a reset).
610
610
  */
611
- declare function useResetProfile(options?: Omit<UseMutationOptions<WriteResult, Error, boolean>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, boolean, unknown>;
611
+ declare function useResetProfile(options?: Omit<UseMutationOptions<ResetProfileResult, Error, boolean>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<ResetProfileResult, Error, boolean, unknown>;
612
612
  /**
613
613
  * React hook for deleting the authenticated user's account. Variable:
614
614
  * `deletePdsData` boolean. Returns the deleted handle on success.
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ad as RefreshPdsResult, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, j as CreateResult, a1 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, au as VerifyExternalAccountResult, E as EndorsementInput, ac as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, ao as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, aj as SearchFilters, ak as SearchResponse, an as SkillSearchResult, l as FeaturedProfile, am as SimilarProfile, v as FetchSuggestionsOptions, aq as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ab as ReactionStatus, aa as ReactionResult, a9 as ReactionError, ai as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-Bxz__jbx.js';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ae as RefreshPdsResult, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, j as CreateResult, a2 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aw as VerifyExternalAccountResult, E as EndorsementInput, ad as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, aq as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, al as SearchFilters, am as SearchResponse, ap as SkillSearchResult, l as FeaturedProfile, ao as SimilarProfile, v as FetchSuggestionsOptions, as as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ac as ReactionStatus, ab as ReactionResult, aa as ReactionError, ak as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, af as ResetProfileResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-BCqhEA6J.js';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-BOY_T6j3.js';
6
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-DE7XOP9c.js';
7
7
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-D2ZV8Eaj.js';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-CmaSX5ZI.js';
9
9
 
@@ -608,7 +608,7 @@ declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteRe
608
608
  * Invalidates the entire `sifaQueryKeys.all()` subtree on success
609
609
  * (everything Sifa-related needs a refresh after a reset).
610
610
  */
611
- declare function useResetProfile(options?: Omit<UseMutationOptions<WriteResult, Error, boolean>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, boolean, unknown>;
611
+ declare function useResetProfile(options?: Omit<UseMutationOptions<ResetProfileResult, Error, boolean>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<ResetProfileResult, Error, boolean, unknown>;
612
612
  /**
613
613
  * React hook for deleting the authenticated user's account. Variable:
614
614
  * `deletePdsData` boolean. Returns the deleted handle on success.
@@ -1,5 +1,5 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-Bxz__jbx.js';
2
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-BOY_T6j3.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-BCqhEA6J.js';
2
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-DE7XOP9c.js';
3
3
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.js';
4
4
 
5
5
  /**
package/dist/index.cjs CHANGED
@@ -3432,7 +3432,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
3432
3432
  });
3433
3433
 
3434
3434
  // src/index.ts
3435
- var SIFA_SDK_VERSION = "0.12.5";
3435
+ var SIFA_SDK_VERSION = "0.12.7";
3436
3436
 
3437
3437
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
3438
3438
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-BOY_T6j3.cjs';
2
- export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-BOY_T6j3.cjs';
1
+ import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-DE7XOP9c.cjs';
2
+ export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-DE7XOP9c.cjs';
3
3
  import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, OrgProfileRecord } from './schemas/index.cjs';
4
4
  export { ArtifactLink, ArtifactLinkSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
5
5
  import { E as EntitySearchResult } from './feed-D2ZV8Eaj.cjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-BOY_T6j3.js';
2
- export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-BOY_T6j3.js';
1
+ import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-DE7XOP9c.js';
2
+ export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-DE7XOP9c.js';
3
3
  import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, OrgProfileRecord } from './schemas/index.js';
4
4
  export { ArtifactLink, ArtifactLinkSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
5
5
  import { E as EntitySearchResult } from './feed-D2ZV8Eaj.js';
package/dist/index.js CHANGED
@@ -3430,7 +3430,7 @@ var ProfileVolunteeringRecordSchema = z.object({
3430
3430
  });
3431
3431
 
3432
3432
  // src/index.ts
3433
- var SIFA_SDK_VERSION = "0.12.5";
3433
+ var SIFA_SDK_VERSION = "0.12.7";
3434
3434
 
3435
3435
  export { ACTIVITY_TIERS, 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, 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, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, MIN_SKILLS, 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_INVOLVEMENT_NSID, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hasAdultContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, truncateGraphemes, uriSchema, visibleItems };
3436
3436
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-BOY_T6j3.js';
1
+ import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-DE7XOP9c.js';
2
2
  import { F as FollowFeedPage, a as FollowProfileItem, b as FeatureAllowlistEntry, c as FeatureFlag } from './feed-D2ZV8Eaj.js';
3
3
  import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-CmaSX5ZI.js';
4
4
 
@@ -1033,10 +1033,38 @@ declare function castRoadmapVote(config: SifaApiConfig, key: string, options?: A
1033
1033
  /** Retract a previously-cast roadmap vote. */
1034
1034
  declare function retractRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<WriteResult>;
1035
1035
 
1036
+ /**
1037
+ * What the server managed to remove from the user's PDS.
1038
+ *
1039
+ * The wipe runs per collection, so it can partly succeed: `success: true` means
1040
+ * the account action completed, NOT that the PDS is clean. A UI that ignores
1041
+ * this can tell someone their data is gone while it is still on their data
1042
+ * server, so treat a non-empty `remaining` as "not deleted".
1043
+ *
1044
+ * Absent when the PDS was not touched (`deletePdsData: false`).
1045
+ */
1046
+ interface PdsWipeOutcome {
1047
+ /** Collections whose records were removed. */
1048
+ deleted: string[];
1049
+ /** Collections whose records are still on the PDS. Non-empty means not done. */
1050
+ remaining: string[];
1051
+ /**
1052
+ * The server could not enumerate the repo, so it does not know what survived.
1053
+ * Without this, that case is indistinguishable from "nothing to delete".
1054
+ */
1055
+ unknown: boolean;
1056
+ }
1057
+ /** Extended write result for {@link resetProfile}. */
1058
+ interface ResetProfileResult extends WriteResult {
1059
+ /** Present when `deletePdsData: true`. See {@link PdsWipeOutcome}. */
1060
+ pds?: PdsWipeOutcome;
1061
+ }
1036
1062
  /** Extended write result for {@link deleteAccount}. */
1037
1063
  interface DeleteAccountResult extends WriteResult {
1038
1064
  /** The deleted handle, returned by the server for confirmation UIs. */
1039
1065
  handle?: string;
1066
+ /** Present when `deletePdsData: true`. See {@link PdsWipeOutcome}. */
1067
+ pds?: PdsWipeOutcome;
1040
1068
  }
1041
1069
  /**
1042
1070
  * Reset the authenticated user's Sifa profile.
@@ -1050,7 +1078,7 @@ interface DeleteAccountResult extends WriteResult {
1050
1078
  * does not gate on additional confirmation. Wrap call sites in your
1051
1079
  * own modal if you want a UX confirmation step.
1052
1080
  */
1053
- declare function resetProfile(config: SifaApiConfig, deletePdsData: boolean, options?: ApiFetchOptions): Promise<WriteResult>;
1081
+ declare function resetProfile(config: SifaApiConfig, deletePdsData: boolean, options?: ApiFetchOptions): Promise<ResetProfileResult>;
1054
1082
  /**
1055
1083
  * Delete the authenticated user's account. Returns the deleted handle
1056
1084
  * on success (used by the post-delete confirmation screen).
@@ -1242,4 +1270,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1242
1270
  */
1243
1271
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1244
1272
 
1245
- export { type ProfileIndustryInput as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CastRoadmapVoteResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowUserResult as G, type FollowingResponse as H, HIDDEN_ITEM_SOURCES as I, HIDDEN_ITEM_TYPES as J, type HeatmapDay as K, type HeatmapResponse as L, type HiddenApp as M, type HiddenItemSource as N, type HiddenItemType as O, type HideProfileItemInput as P, type ListFeatureAllowlistOptions as Q, type OrgClaimBinding as R, type SifaApiConfig as S, type OrgClaimResult as T, type OrgDomainChallengeResult as U, type OrgDomainVerifyResult as V, type WriteResult as W, type OrgNotificationEmailAddResult as X, type OrgNotificationEmailRemoveResult as Y, type OrgProfileEcho as Z, type OrgProfileUpdateResult as _, type AccountCheckResult as a, fetchSearchFilters as a$, type ProfileLocationAddress as a0, type ProfileLocationInput as a1, type ProfileSearchResult as a2, type ProfileSelfLocation as a3, QUOTED_POSTS_BATCH_MAX as a4, type QuotedPostAuthor as a5, type QuotedPostImage as a6, type QuotedPostResult as a7, type QuotedPostView as a8, type ReactionError as a9, apiWriteCreate as aA, bulkHideProfileItems as aB, bulkHideStandardPublications as aC, bulkUnhideProfileItems as aD, bulkUnhideStandardPublications as aE, castRoadmapVote as aF, checkAppAccount as aG, createEndorsement as aH, createExternalAccount as aI, createProfileLocation as aJ, createReaction as aK, deleteAccount as aL, deleteAvatarOverride as aM, deleteExternalAccount as aN, deleteProfileLocation as aO, deleteReaction as aP, fetchActivityFeed as aQ, fetchActivityTeaser as aR, fetchAppsRegistry as aS, fetchExternalAccounts as aT, fetchFeaturedProfile as aU, fetchFollowing as aV, fetchHeatmapData as aW, fetchHiddenApps as aX, fetchMyRoadmapVotes as aY, fetchReactionStatus as aZ, fetchRoadmapVotes as a_, type ReactionResult as aa, type ReactionStatus as ab, type RefreshOrcidPublicationsResult as ac, type RefreshPdsResult as ad, type ResolveQuotedPostsOptions as ae, type RoadmapVoteError as af, type RoadmapVoteResult as ag, type RoadmapVoter as ah, type RoadmapVotesResponse as ai, type SearchFilters as aj, type SearchResponse as ak, type SifaQueryKey as al, type SimilarProfile as am, type SkillSearchResult as an, type StatsResponse as ao, type SuggestionProfile as ap, type SuggestionsResponse as aq, type UpdateProfileOverrideInput as ar, type UpdateProfileSelfInput as as, type UploadAvatarResult as at, type VerifyExternalAccountResult as au, addFeatureAllowlist as av, addOrgNotificationEmail as aw, apiFetch as ax, apiFetchOrNull as ay, apiWrite as az, type ActivityFeedResponse as b, fetchSearchProfiles as b0, fetchSimilarProfiles as b1, fetchSkillSuggestions as b2, fetchStats as b3, fetchSuggestionCount as b4, fetchSuggestions as b5, followUser as b6, getBlueskySuggestions as b7, getFollowers as b8, getFollowing as b9, updateProfileLocation as bA, updateProfileOverride as bB, updateProfileSelf as bC, uploadAvatar as bD, verifyExternalAccount as bE, verifyOrgDomain as bF, getFollowingFeed as ba, getMutuals as bb, hideOrcidPublication as bc, hideProfileItem as bd, hideSifaPublication as be, hideStandardPublication as bf, listFeatureAllowlist as bg, refreshOrcidPublications as bh, refreshPds as bi, removeFeatureAllowlist as bj, removeOrgNotificationEmail as bk, requestOrgDomainChallenge as bl, resetProfile as bm, resolveQuotedPosts as bn, retractRoadmapVote as bo, searchSkills as bp, setExternalAccountPrimary as bq, submitOrgClaim as br, unfollowUser as bs, unhideOrcidPublication as bt, unhideProfileItem as bu, unhideSifaPublication as bv, unhideStandardPublication as bw, unsetExternalAccountPrimary as bx, updateExternalAccount as by, updateOrgProfile as bz, type ActivityItem as c, type ActivityItemLinkHealth as d, type ActivityTeaserResponse as e, ApiError as f, type AppRegistryEntry as g, type CheckAppAccountOptions as h, type CreateExternalAccountResult as i, type CreateResult as j, type ExternalAccountInput as k, type FeaturedProfile as l, type FetchActivityFeedOptions as m, type FetchActivityTeaserOptions as n, type FetchFollowListOptions as o, type FetchFollowProfilePageOptions as p, type FetchFollowingFeedOptions as q, type FetchHiddenAppsOptions as r, sifaQueryKeys as s, type FetchMyRoadmapVotesOptions as t, type FetchReactionStatusOptions as u, type FetchSuggestionsOptions as v, type FilterOptions as w, type FollowListPage as x, type FollowProfile as y, type FollowProfilePageResponse as z };
1273
+ export { type PdsWipeOutcome as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CastRoadmapVoteResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowUserResult as G, type FollowingResponse as H, HIDDEN_ITEM_SOURCES as I, HIDDEN_ITEM_TYPES as J, type HeatmapDay as K, type HeatmapResponse as L, type HiddenApp as M, type HiddenItemSource as N, type HiddenItemType as O, type HideProfileItemInput as P, type ListFeatureAllowlistOptions as Q, type OrgClaimBinding as R, type SifaApiConfig as S, type OrgClaimResult as T, type OrgDomainChallengeResult as U, type OrgDomainVerifyResult as V, type WriteResult as W, type OrgNotificationEmailAddResult as X, type OrgNotificationEmailRemoveResult as Y, type OrgProfileEcho as Z, type OrgProfileUpdateResult as _, type AccountCheckResult as a, fetchReactionStatus as a$, type ProfileIndustryInput as a0, type ProfileLocationAddress as a1, type ProfileLocationInput as a2, type ProfileSearchResult as a3, type ProfileSelfLocation as a4, QUOTED_POSTS_BATCH_MAX as a5, type QuotedPostAuthor as a6, type QuotedPostImage as a7, type QuotedPostResult as a8, type QuotedPostView as a9, apiFetchOrNull as aA, apiWrite as aB, apiWriteCreate as aC, bulkHideProfileItems as aD, bulkHideStandardPublications as aE, bulkUnhideProfileItems as aF, bulkUnhideStandardPublications as aG, castRoadmapVote as aH, checkAppAccount as aI, createEndorsement as aJ, createExternalAccount as aK, createProfileLocation as aL, createReaction as aM, deleteAccount as aN, deleteAvatarOverride as aO, deleteExternalAccount as aP, deleteProfileLocation as aQ, deleteReaction as aR, fetchActivityFeed as aS, fetchActivityTeaser as aT, fetchAppsRegistry as aU, fetchExternalAccounts as aV, fetchFeaturedProfile as aW, fetchFollowing as aX, fetchHeatmapData as aY, fetchHiddenApps as aZ, fetchMyRoadmapVotes as a_, type ReactionError as aa, type ReactionResult as ab, type ReactionStatus as ac, type RefreshOrcidPublicationsResult as ad, type RefreshPdsResult as ae, type ResetProfileResult as af, type ResolveQuotedPostsOptions as ag, type RoadmapVoteError as ah, type RoadmapVoteResult as ai, type RoadmapVoter as aj, type RoadmapVotesResponse as ak, type SearchFilters as al, type SearchResponse as am, type SifaQueryKey as an, type SimilarProfile as ao, type SkillSearchResult as ap, type StatsResponse as aq, type SuggestionProfile as ar, type SuggestionsResponse as as, type UpdateProfileOverrideInput as at, type UpdateProfileSelfInput as au, type UploadAvatarResult as av, type VerifyExternalAccountResult as aw, addFeatureAllowlist as ax, addOrgNotificationEmail as ay, apiFetch as az, type ActivityFeedResponse as b, fetchRoadmapVotes as b0, fetchSearchFilters as b1, fetchSearchProfiles as b2, fetchSimilarProfiles as b3, fetchSkillSuggestions as b4, fetchStats as b5, fetchSuggestionCount as b6, fetchSuggestions as b7, followUser as b8, getBlueskySuggestions as b9, updateExternalAccount as bA, updateOrgProfile as bB, updateProfileLocation as bC, updateProfileOverride as bD, updateProfileSelf as bE, uploadAvatar as bF, verifyExternalAccount as bG, verifyOrgDomain as bH, getFollowers as ba, getFollowing as bb, getFollowingFeed as bc, getMutuals as bd, hideOrcidPublication as be, hideProfileItem as bf, hideSifaPublication as bg, hideStandardPublication as bh, listFeatureAllowlist as bi, refreshOrcidPublications as bj, refreshPds as bk, removeFeatureAllowlist as bl, removeOrgNotificationEmail as bm, requestOrgDomainChallenge as bn, resetProfile as bo, resolveQuotedPosts as bp, retractRoadmapVote as bq, searchSkills as br, setExternalAccountPrimary as bs, submitOrgClaim as bt, unfollowUser as bu, unhideOrcidPublication as bv, unhideProfileItem as bw, unhideSifaPublication as bx, unhideStandardPublication as by, unsetExternalAccountPrimary as bz, type ActivityItem as c, type ActivityItemLinkHealth as d, type ActivityTeaserResponse as e, ApiError as f, type AppRegistryEntry as g, type CheckAppAccountOptions as h, type CreateExternalAccountResult as i, type CreateResult as j, type ExternalAccountInput as k, type FeaturedProfile as l, type FetchActivityFeedOptions as m, type FetchActivityTeaserOptions as n, type FetchFollowListOptions as o, type FetchFollowProfilePageOptions as p, type FetchFollowingFeedOptions as q, type FetchHiddenAppsOptions as r, sifaQueryKeys as s, type FetchMyRoadmapVotesOptions as t, type FetchReactionStatusOptions as u, type FetchSuggestionsOptions as v, type FilterOptions as w, type FollowListPage as x, type FollowProfile as y, type FollowProfilePageResponse as z };
@@ -1,4 +1,4 @@
1
- import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-BOY_T6j3.cjs';
1
+ import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-DE7XOP9c.cjs';
2
2
  import { F as FollowFeedPage, a as FollowProfileItem, b as FeatureAllowlistEntry, c as FeatureFlag } from './feed-D2ZV8Eaj.cjs';
3
3
  import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-CmaSX5ZI.cjs';
4
4
 
@@ -1033,10 +1033,38 @@ declare function castRoadmapVote(config: SifaApiConfig, key: string, options?: A
1033
1033
  /** Retract a previously-cast roadmap vote. */
1034
1034
  declare function retractRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<WriteResult>;
1035
1035
 
1036
+ /**
1037
+ * What the server managed to remove from the user's PDS.
1038
+ *
1039
+ * The wipe runs per collection, so it can partly succeed: `success: true` means
1040
+ * the account action completed, NOT that the PDS is clean. A UI that ignores
1041
+ * this can tell someone their data is gone while it is still on their data
1042
+ * server, so treat a non-empty `remaining` as "not deleted".
1043
+ *
1044
+ * Absent when the PDS was not touched (`deletePdsData: false`).
1045
+ */
1046
+ interface PdsWipeOutcome {
1047
+ /** Collections whose records were removed. */
1048
+ deleted: string[];
1049
+ /** Collections whose records are still on the PDS. Non-empty means not done. */
1050
+ remaining: string[];
1051
+ /**
1052
+ * The server could not enumerate the repo, so it does not know what survived.
1053
+ * Without this, that case is indistinguishable from "nothing to delete".
1054
+ */
1055
+ unknown: boolean;
1056
+ }
1057
+ /** Extended write result for {@link resetProfile}. */
1058
+ interface ResetProfileResult extends WriteResult {
1059
+ /** Present when `deletePdsData: true`. See {@link PdsWipeOutcome}. */
1060
+ pds?: PdsWipeOutcome;
1061
+ }
1036
1062
  /** Extended write result for {@link deleteAccount}. */
1037
1063
  interface DeleteAccountResult extends WriteResult {
1038
1064
  /** The deleted handle, returned by the server for confirmation UIs. */
1039
1065
  handle?: string;
1066
+ /** Present when `deletePdsData: true`. See {@link PdsWipeOutcome}. */
1067
+ pds?: PdsWipeOutcome;
1040
1068
  }
1041
1069
  /**
1042
1070
  * Reset the authenticated user's Sifa profile.
@@ -1050,7 +1078,7 @@ interface DeleteAccountResult extends WriteResult {
1050
1078
  * does not gate on additional confirmation. Wrap call sites in your
1051
1079
  * own modal if you want a UX confirmation step.
1052
1080
  */
1053
- declare function resetProfile(config: SifaApiConfig, deletePdsData: boolean, options?: ApiFetchOptions): Promise<WriteResult>;
1081
+ declare function resetProfile(config: SifaApiConfig, deletePdsData: boolean, options?: ApiFetchOptions): Promise<ResetProfileResult>;
1054
1082
  /**
1055
1083
  * Delete the authenticated user's account. Returns the deleted handle
1056
1084
  * on success (used by the post-delete confirmation screen).
@@ -1242,4 +1270,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1242
1270
  */
1243
1271
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1244
1272
 
1245
- export { type ProfileIndustryInput as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CastRoadmapVoteResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowUserResult as G, type FollowingResponse as H, HIDDEN_ITEM_SOURCES as I, HIDDEN_ITEM_TYPES as J, type HeatmapDay as K, type HeatmapResponse as L, type HiddenApp as M, type HiddenItemSource as N, type HiddenItemType as O, type HideProfileItemInput as P, type ListFeatureAllowlistOptions as Q, type OrgClaimBinding as R, type SifaApiConfig as S, type OrgClaimResult as T, type OrgDomainChallengeResult as U, type OrgDomainVerifyResult as V, type WriteResult as W, type OrgNotificationEmailAddResult as X, type OrgNotificationEmailRemoveResult as Y, type OrgProfileEcho as Z, type OrgProfileUpdateResult as _, type AccountCheckResult as a, fetchSearchFilters as a$, type ProfileLocationAddress as a0, type ProfileLocationInput as a1, type ProfileSearchResult as a2, type ProfileSelfLocation as a3, QUOTED_POSTS_BATCH_MAX as a4, type QuotedPostAuthor as a5, type QuotedPostImage as a6, type QuotedPostResult as a7, type QuotedPostView as a8, type ReactionError as a9, apiWriteCreate as aA, bulkHideProfileItems as aB, bulkHideStandardPublications as aC, bulkUnhideProfileItems as aD, bulkUnhideStandardPublications as aE, castRoadmapVote as aF, checkAppAccount as aG, createEndorsement as aH, createExternalAccount as aI, createProfileLocation as aJ, createReaction as aK, deleteAccount as aL, deleteAvatarOverride as aM, deleteExternalAccount as aN, deleteProfileLocation as aO, deleteReaction as aP, fetchActivityFeed as aQ, fetchActivityTeaser as aR, fetchAppsRegistry as aS, fetchExternalAccounts as aT, fetchFeaturedProfile as aU, fetchFollowing as aV, fetchHeatmapData as aW, fetchHiddenApps as aX, fetchMyRoadmapVotes as aY, fetchReactionStatus as aZ, fetchRoadmapVotes as a_, type ReactionResult as aa, type ReactionStatus as ab, type RefreshOrcidPublicationsResult as ac, type RefreshPdsResult as ad, type ResolveQuotedPostsOptions as ae, type RoadmapVoteError as af, type RoadmapVoteResult as ag, type RoadmapVoter as ah, type RoadmapVotesResponse as ai, type SearchFilters as aj, type SearchResponse as ak, type SifaQueryKey as al, type SimilarProfile as am, type SkillSearchResult as an, type StatsResponse as ao, type SuggestionProfile as ap, type SuggestionsResponse as aq, type UpdateProfileOverrideInput as ar, type UpdateProfileSelfInput as as, type UploadAvatarResult as at, type VerifyExternalAccountResult as au, addFeatureAllowlist as av, addOrgNotificationEmail as aw, apiFetch as ax, apiFetchOrNull as ay, apiWrite as az, type ActivityFeedResponse as b, fetchSearchProfiles as b0, fetchSimilarProfiles as b1, fetchSkillSuggestions as b2, fetchStats as b3, fetchSuggestionCount as b4, fetchSuggestions as b5, followUser as b6, getBlueskySuggestions as b7, getFollowers as b8, getFollowing as b9, updateProfileLocation as bA, updateProfileOverride as bB, updateProfileSelf as bC, uploadAvatar as bD, verifyExternalAccount as bE, verifyOrgDomain as bF, getFollowingFeed as ba, getMutuals as bb, hideOrcidPublication as bc, hideProfileItem as bd, hideSifaPublication as be, hideStandardPublication as bf, listFeatureAllowlist as bg, refreshOrcidPublications as bh, refreshPds as bi, removeFeatureAllowlist as bj, removeOrgNotificationEmail as bk, requestOrgDomainChallenge as bl, resetProfile as bm, resolveQuotedPosts as bn, retractRoadmapVote as bo, searchSkills as bp, setExternalAccountPrimary as bq, submitOrgClaim as br, unfollowUser as bs, unhideOrcidPublication as bt, unhideProfileItem as bu, unhideSifaPublication as bv, unhideStandardPublication as bw, unsetExternalAccountPrimary as bx, updateExternalAccount as by, updateOrgProfile as bz, type ActivityItem as c, type ActivityItemLinkHealth as d, type ActivityTeaserResponse as e, ApiError as f, type AppRegistryEntry as g, type CheckAppAccountOptions as h, type CreateExternalAccountResult as i, type CreateResult as j, type ExternalAccountInput as k, type FeaturedProfile as l, type FetchActivityFeedOptions as m, type FetchActivityTeaserOptions as n, type FetchFollowListOptions as o, type FetchFollowProfilePageOptions as p, type FetchFollowingFeedOptions as q, type FetchHiddenAppsOptions as r, sifaQueryKeys as s, type FetchMyRoadmapVotesOptions as t, type FetchReactionStatusOptions as u, type FetchSuggestionsOptions as v, type FilterOptions as w, type FollowListPage as x, type FollowProfile as y, type FollowProfilePageResponse as z };
1273
+ export { type PdsWipeOutcome as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CastRoadmapVoteResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowUserResult as G, type FollowingResponse as H, HIDDEN_ITEM_SOURCES as I, HIDDEN_ITEM_TYPES as J, type HeatmapDay as K, type HeatmapResponse as L, type HiddenApp as M, type HiddenItemSource as N, type HiddenItemType as O, type HideProfileItemInput as P, type ListFeatureAllowlistOptions as Q, type OrgClaimBinding as R, type SifaApiConfig as S, type OrgClaimResult as T, type OrgDomainChallengeResult as U, type OrgDomainVerifyResult as V, type WriteResult as W, type OrgNotificationEmailAddResult as X, type OrgNotificationEmailRemoveResult as Y, type OrgProfileEcho as Z, type OrgProfileUpdateResult as _, type AccountCheckResult as a, fetchReactionStatus as a$, type ProfileIndustryInput as a0, type ProfileLocationAddress as a1, type ProfileLocationInput as a2, type ProfileSearchResult as a3, type ProfileSelfLocation as a4, QUOTED_POSTS_BATCH_MAX as a5, type QuotedPostAuthor as a6, type QuotedPostImage as a7, type QuotedPostResult as a8, type QuotedPostView as a9, apiFetchOrNull as aA, apiWrite as aB, apiWriteCreate as aC, bulkHideProfileItems as aD, bulkHideStandardPublications as aE, bulkUnhideProfileItems as aF, bulkUnhideStandardPublications as aG, castRoadmapVote as aH, checkAppAccount as aI, createEndorsement as aJ, createExternalAccount as aK, createProfileLocation as aL, createReaction as aM, deleteAccount as aN, deleteAvatarOverride as aO, deleteExternalAccount as aP, deleteProfileLocation as aQ, deleteReaction as aR, fetchActivityFeed as aS, fetchActivityTeaser as aT, fetchAppsRegistry as aU, fetchExternalAccounts as aV, fetchFeaturedProfile as aW, fetchFollowing as aX, fetchHeatmapData as aY, fetchHiddenApps as aZ, fetchMyRoadmapVotes as a_, type ReactionError as aa, type ReactionResult as ab, type ReactionStatus as ac, type RefreshOrcidPublicationsResult as ad, type RefreshPdsResult as ae, type ResetProfileResult as af, type ResolveQuotedPostsOptions as ag, type RoadmapVoteError as ah, type RoadmapVoteResult as ai, type RoadmapVoter as aj, type RoadmapVotesResponse as ak, type SearchFilters as al, type SearchResponse as am, type SifaQueryKey as an, type SimilarProfile as ao, type SkillSearchResult as ap, type StatsResponse as aq, type SuggestionProfile as ar, type SuggestionsResponse as as, type UpdateProfileOverrideInput as at, type UpdateProfileSelfInput as au, type UploadAvatarResult as av, type VerifyExternalAccountResult as aw, addFeatureAllowlist as ax, addOrgNotificationEmail as ay, apiFetch as az, type ActivityFeedResponse as b, fetchRoadmapVotes as b0, fetchSearchFilters as b1, fetchSearchProfiles as b2, fetchSimilarProfiles as b3, fetchSkillSuggestions as b4, fetchStats as b5, fetchSuggestionCount as b6, fetchSuggestions as b7, followUser as b8, getBlueskySuggestions as b9, updateExternalAccount as bA, updateOrgProfile as bB, updateProfileLocation as bC, updateProfileOverride as bD, updateProfileSelf as bE, uploadAvatar as bF, verifyExternalAccount as bG, verifyOrgDomain as bH, getFollowers as ba, getFollowing as bb, getFollowingFeed as bc, getMutuals as bd, hideOrcidPublication as be, hideProfileItem as bf, hideSifaPublication as bg, hideStandardPublication as bh, listFeatureAllowlist as bi, refreshOrcidPublications as bj, refreshPds as bk, removeFeatureAllowlist as bl, removeOrgNotificationEmail as bm, requestOrgDomainChallenge as bn, resetProfile as bo, resolveQuotedPosts as bp, retractRoadmapVote as bq, searchSkills as br, setExternalAccountPrimary as bs, submitOrgClaim as bt, unfollowUser as bu, unhideOrcidPublication as bv, unhideProfileItem as bw, unhideSifaPublication as bx, unhideStandardPublication as by, unsetExternalAccountPrimary as bz, type ActivityItem as c, type ActivityItemLinkHealth as d, type ActivityTeaserResponse as e, ApiError as f, type AppRegistryEntry as g, type CheckAppAccountOptions as h, type CreateExternalAccountResult as i, type CreateResult as j, type ExternalAccountInput as k, type FeaturedProfile as l, type FetchActivityFeedOptions as m, type FetchActivityTeaserOptions as n, type FetchFollowListOptions as o, type FetchFollowProfilePageOptions as p, type FetchFollowingFeedOptions as q, type FetchHiddenAppsOptions as r, sifaQueryKeys as s, type FetchMyRoadmapVotesOptions as t, type FetchReactionStatusOptions as u, type FetchSuggestionsOptions as v, type FilterOptions as w, type FollowListPage as x, type FollowProfile as y, type FollowProfilePageResponse as z };
@@ -1074,10 +1074,15 @@ function resetProfile(config, deletePdsData, options = {}) {
1074
1074
  });
1075
1075
  }
1076
1076
  function deleteAccount(config, deletePdsData, options = {}) {
1077
- return apiWrite(config, "/api/profile/account", "DELETE", {
1078
- body: { deletePdsData },
1079
- ...options
1080
- });
1077
+ return apiWrite(
1078
+ config,
1079
+ "/api/profile/account",
1080
+ "DELETE",
1081
+ {
1082
+ body: { deletePdsData },
1083
+ ...options
1084
+ }
1085
+ );
1081
1086
  }
1082
1087
 
1083
1088
  // src/query/fetchers/network-map.ts