@singi-labs/sifa-sdk 0.12.32 → 0.12.33

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.
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, aw as UpdateProfileOverrideInput, ax as UpdateProfileSelfInput, ay as UploadAvatarResult, j as CreateResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, az as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, av as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aA as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-5dARVOZ9.js';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-BjiTIiWq.js';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-BHIB4rxu.js';
@@ -128,6 +128,16 @@ interface UpdateSkillVariables {
128
128
  }
129
129
  /** React hook for updating a skill record. */
130
130
  declare function useUpdateSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateSkillVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateSkillVariables, unknown>;
131
+ /** Variables for {@link useUpdateSkillSubCategories}. */
132
+ interface UpdateSkillSubCategoriesVariables {
133
+ rkeys: string[];
134
+ subCategory: string;
135
+ }
136
+ /**
137
+ * React hook for setting (or clearing) the sub-category on many skills in a
138
+ * single request. An empty `subCategory` clears the field.
139
+ */
140
+ declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables, unknown>;
131
141
  /** React hook for deleting a skill record. Variable: the `rkey` string. */
132
142
  declare function useDeleteSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
133
143
 
@@ -732,4 +742,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
732
742
  email: string;
733
743
  }, unknown>;
734
744
 
735
- export { useExternalAccounts as $, type AddFeatureAllowlistVariables as A, useCreateEndorsement as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateExternalAccount as E, type FollowVariables as F, useCreatePosition as G, useCreateProfileLocation as H, useCreateReaction as I, useCreateRecord as J, useCreateSkill as K, useDebouncedValue as L, useDeleteAccount as M, useDeleteAvatarOverride as N, useDeleteEducation as O, type PositionSkillLinkVariables as P, useDeleteExternalAccount as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeletePosition as T, type UnfollowVariables as U, useDeleteProfileLocation as V, useDeleteReaction as W, useDeleteRecord as X, useDeleteSkill as Y, useEndorsementCount as Z, useEntitySearch as _, type CreateRecordVariables as a, useUpdateProfileOverride as a$, useFeatureAllowlist as a0, useFeaturedProfile as a1, useFollow as a2, useFollowers as a3, useFollowing as a4, useFollowingFeed as a5, useFollowingList as a6, useGetProfileView as a7, useHeatmapData as a8, useHiddenApps as a9, useRoadmapVotes as aA, useSearchFilters as aB, useSearchProfiles as aC, useSelectEntity as aD, useSetExternalAccountPrimary as aE, useSetPositionPrimary as aF, useSifaConfig as aG, useSimilarProfiles as aH, useSkillSuggestions as aI, useStats as aJ, useSuggestionCount as aK, useSuggestions as aL, useUnfollow as aM, useUnhideKeytraceClaim as aN, useUnhideOrcidPublication as aO, useUnhideProfileItem as aP, useUnhideSifaPublication as aQ, useUnhideStandardPublication as aR, useUnlinkSkillFromPosition as aS, useUnrevealMarqueDomain as aT, useUnsetExternalAccountPrimary as aU, useUnsetPositionPrimary as aV, useUpdateEducation as aW, useUpdateExternalAccount as aX, useUpdateOrgProfile as aY, useUpdatePosition as aZ, useUpdateProfileLocation as a_, useHideKeytraceClaim as aa, useHideOrcidPublication as ab, useHideProfileItem as ac, useHideSifaPublication as ad, useHideStandardPublication as ae, useImportSearchEntities as af, useLinkSkillToPosition as ag, useMintEntityDomain as ah, useMutuals as ai, useMyGithubPullRequests as aj, useMyRoadmapVotes as ak, useNetworkStreamCount as al, useOrgClaim as am, useOrgDomainChallenge as an, useOrgDomainVerify as ao, useOrgProfile as ap, useProfile as aq, useReactionStatus as ar, useRefreshOrcidPublications as as, useRefreshPds as at, useRemoveFeatureAllowlist as au, useRemoveOrgNotificationEmail as av, useResetProfile as aw, useResolveEntityDomain as ax, useRetractRoadmapVote as ay, useRevealMarqueDomain as az, type DeleteRecordVariables as b, useUpdateProfileSelf as b0, useUpdateRecord as b1, useUpdateSkill as b2, useUploadAvatar as b3, useVerifyExternalAccount as b4, useWipePreview as b5, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillVariables as i, type UseEntitySearchOptions as j, type UseMyGithubPullRequestsParams as k, useActivityTeaser as l, useAddFeatureAllowlist as m, useAddOrgNotificationEmail as n, useAppAccountCheck as o, useAppsRegistry as p, useAtFundLink as q, useBlueskySuggestions as r, useBulkHideProfileItems as s, useBulkHideStandardPublications as t, useActivityFeed as u, useBulkUnhideProfileItems as v, useBulkUnhideStandardPublications as w, useCanonicalSkillSearch as x, useCastRoadmapVote as y, useCreateEducation as z };
745
+ export { useEntitySearch as $, type AddFeatureAllowlistVariables as A, useCreateEducation as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateEndorsement as E, type FollowVariables as F, useCreateExternalAccount as G, useCreatePosition as H, useCreateProfileLocation as I, useCreateReaction as J, useCreateRecord as K, useCreateSkill as L, useDebouncedValue as M, useDeleteAccount as N, useDeleteAvatarOverride as O, type PositionSkillLinkVariables as P, useDeleteEducation as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteExternalAccount as T, type UnfollowVariables as U, useDeletePosition as V, useDeleteProfileLocation as W, useDeleteReaction as X, useDeleteRecord as Y, useDeleteSkill as Z, useEndorsementCount as _, type CreateRecordVariables as a, useUpdateProfileLocation as a$, useExternalAccounts as a0, useFeatureAllowlist as a1, useFeaturedProfile as a2, useFollow as a3, useFollowers as a4, useFollowing as a5, useFollowingFeed as a6, useFollowingList as a7, useGetProfileView as a8, useHeatmapData as a9, useRevealMarqueDomain as aA, useRoadmapVotes as aB, useSearchFilters as aC, useSearchProfiles as aD, useSelectEntity as aE, useSetExternalAccountPrimary as aF, useSetPositionPrimary as aG, useSifaConfig as aH, useSimilarProfiles as aI, useSkillSuggestions as aJ, useStats as aK, useSuggestionCount as aL, useSuggestions as aM, useUnfollow as aN, useUnhideKeytraceClaim as aO, useUnhideOrcidPublication as aP, useUnhideProfileItem as aQ, useUnhideSifaPublication as aR, useUnhideStandardPublication as aS, useUnlinkSkillFromPosition as aT, useUnrevealMarqueDomain as aU, useUnsetExternalAccountPrimary as aV, useUnsetPositionPrimary as aW, useUpdateEducation as aX, useUpdateExternalAccount as aY, useUpdateOrgProfile as aZ, useUpdatePosition as a_, useHiddenApps as aa, useHideKeytraceClaim as ab, useHideOrcidPublication as ac, useHideProfileItem as ad, useHideSifaPublication as ae, useHideStandardPublication as af, useImportSearchEntities as ag, useLinkSkillToPosition as ah, useMintEntityDomain as ai, useMutuals as aj, useMyGithubPullRequests as ak, useMyRoadmapVotes as al, useNetworkStreamCount as am, useOrgClaim as an, useOrgDomainChallenge as ao, useOrgDomainVerify as ap, useOrgProfile as aq, useProfile as ar, useReactionStatus as as, useRefreshOrcidPublications as at, useRefreshPds as au, useRemoveFeatureAllowlist as av, useRemoveOrgNotificationEmail as aw, useResetProfile as ax, useResolveEntityDomain as ay, useRetractRoadmapVote as az, type DeleteRecordVariables as b, useUpdateProfileOverride as b0, useUpdateProfileSelf as b1, useUpdateRecord as b2, useUpdateSkill as b3, useUpdateSkillSubCategories as b4, useUploadAvatar as b5, useVerifyExternalAccount as b6, useWipePreview as b7, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityTeaser as m, useAddFeatureAllowlist as n, useAddOrgNotificationEmail as o, useAppAccountCheck as p, useAppsRegistry as q, useAtFundLink as r, useBlueskySuggestions as s, useBulkHideProfileItems as t, useActivityFeed as u, useBulkHideStandardPublications as v, useBulkUnhideProfileItems as w, useBulkUnhideStandardPublications as x, useCanonicalSkillSearch as y, useCastRoadmapVote as z };
@@ -1,4 +1,4 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-5dARVOZ9.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-BjiTIiWq.js';
2
2
  import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-BHIB4rxu.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
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-sWTKu58A.js';
@@ -85,16 +85,6 @@ declare function updateEducation(config: SifaApiConfig, rkey: string, data: Reco
85
85
  /** Delete an education record by `rkey`. */
86
86
  declare function deleteEducation(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
87
87
 
88
- /**
89
- * Create a new `id.sifa.profile.skill` record on the authenticated
90
- * user's PDS.
91
- */
92
- declare function createSkill(config: SifaApiConfig, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<CreateResult>;
93
- /** Update an existing skill record by `rkey`. */
94
- declare function updateSkill(config: SifaApiConfig, rkey: string, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<WriteResult>;
95
- /** Delete a skill record by `rkey`. */
96
- declare function deleteSkill(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
97
-
98
88
  /**
99
89
  * Generic record-create escape hatch. Most callers should prefer the
100
90
  * dedicated section helpers (`createPosition`, `createEducation`, etc.)
@@ -283,4 +273,4 @@ declare function checkNetworkMapJobStatus(config: SifaApiConfig, jobId: string,
283
273
  */
284
274
  declare function fetchNetworkMap(config: SifaApiConfig, options?: ApiFetchOptions): Promise<NetworkMapResponse | null>;
285
275
 
286
- export { linkSkillToPosition as A, mintEntityDomain as B, resolveEntityDomain as C, revealMarqueDomain as D, selectEntity as E, type FetchNetworkStreamCountOptions as F, setPositionPrimary as G, unhideKeytraceClaim as H, unlinkSkillFromPosition as I, unrevealMarqueDomain as J, unsetPositionPrimary as K, updateEducation as L, updatePosition as M, type NetworkMapEdge as N, updateRecord as O, updateSkill as P, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, createSkill as j, deleteEducation as k, deletePosition as l, deleteRecord as m, deleteSkill as n, fetchAtFundLink as o, fetchEndorsementCount as p, fetchEntitySearch as q, fetchGetProfileView as r, fetchNetworkMap as s, fetchNetworkStreamCount as t, fetchProfile as u, fetchProfileSummary as v, hideKeytraceClaim as w, importSearchEntities as x, initiateNetworkMapGeneration as y, isNetworkMapResponse as z };
276
+ export { resolveEntityDomain as A, revealMarqueDomain as B, selectEntity as C, setPositionPrimary as D, unhideKeytraceClaim as E, type FetchNetworkStreamCountOptions as F, unlinkSkillFromPosition as G, unrevealMarqueDomain as H, unsetPositionPrimary as I, updateEducation as J, updatePosition as K, updateRecord as L, type NetworkMapEdge as N, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, deleteEducation as j, deletePosition as k, deleteRecord as l, fetchAtFundLink as m, fetchEndorsementCount as n, fetchEntitySearch as o, fetchGetProfileView as p, fetchNetworkMap as q, fetchNetworkStreamCount as r, fetchProfile as s, fetchProfileSummary as t, hideKeytraceClaim as u, importSearchEntities as v, initiateNetworkMapGeneration as w, isNetworkMapResponse as x, linkSkillToPosition as y, mintEntityDomain as z };
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, aw as UpdateProfileOverrideInput, ax as UpdateProfileSelfInput, ay as UploadAvatarResult, j as CreateResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, az as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, av as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aA as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-DOQL077g.cjs';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-CcbXH1FW.cjs';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-BHIB4rxu.cjs';
@@ -128,6 +128,16 @@ interface UpdateSkillVariables {
128
128
  }
129
129
  /** React hook for updating a skill record. */
130
130
  declare function useUpdateSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateSkillVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateSkillVariables, unknown>;
131
+ /** Variables for {@link useUpdateSkillSubCategories}. */
132
+ interface UpdateSkillSubCategoriesVariables {
133
+ rkeys: string[];
134
+ subCategory: string;
135
+ }
136
+ /**
137
+ * React hook for setting (or clearing) the sub-category on many skills in a
138
+ * single request. An empty `subCategory` clears the field.
139
+ */
140
+ declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables, unknown>;
131
141
  /** React hook for deleting a skill record. Variable: the `rkey` string. */
132
142
  declare function useDeleteSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
133
143
 
@@ -732,4 +742,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
732
742
  email: string;
733
743
  }, unknown>;
734
744
 
735
- export { useExternalAccounts as $, type AddFeatureAllowlistVariables as A, useCreateEndorsement as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateExternalAccount as E, type FollowVariables as F, useCreatePosition as G, useCreateProfileLocation as H, useCreateReaction as I, useCreateRecord as J, useCreateSkill as K, useDebouncedValue as L, useDeleteAccount as M, useDeleteAvatarOverride as N, useDeleteEducation as O, type PositionSkillLinkVariables as P, useDeleteExternalAccount as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeletePosition as T, type UnfollowVariables as U, useDeleteProfileLocation as V, useDeleteReaction as W, useDeleteRecord as X, useDeleteSkill as Y, useEndorsementCount as Z, useEntitySearch as _, type CreateRecordVariables as a, useUpdateProfileOverride as a$, useFeatureAllowlist as a0, useFeaturedProfile as a1, useFollow as a2, useFollowers as a3, useFollowing as a4, useFollowingFeed as a5, useFollowingList as a6, useGetProfileView as a7, useHeatmapData as a8, useHiddenApps as a9, useRoadmapVotes as aA, useSearchFilters as aB, useSearchProfiles as aC, useSelectEntity as aD, useSetExternalAccountPrimary as aE, useSetPositionPrimary as aF, useSifaConfig as aG, useSimilarProfiles as aH, useSkillSuggestions as aI, useStats as aJ, useSuggestionCount as aK, useSuggestions as aL, useUnfollow as aM, useUnhideKeytraceClaim as aN, useUnhideOrcidPublication as aO, useUnhideProfileItem as aP, useUnhideSifaPublication as aQ, useUnhideStandardPublication as aR, useUnlinkSkillFromPosition as aS, useUnrevealMarqueDomain as aT, useUnsetExternalAccountPrimary as aU, useUnsetPositionPrimary as aV, useUpdateEducation as aW, useUpdateExternalAccount as aX, useUpdateOrgProfile as aY, useUpdatePosition as aZ, useUpdateProfileLocation as a_, useHideKeytraceClaim as aa, useHideOrcidPublication as ab, useHideProfileItem as ac, useHideSifaPublication as ad, useHideStandardPublication as ae, useImportSearchEntities as af, useLinkSkillToPosition as ag, useMintEntityDomain as ah, useMutuals as ai, useMyGithubPullRequests as aj, useMyRoadmapVotes as ak, useNetworkStreamCount as al, useOrgClaim as am, useOrgDomainChallenge as an, useOrgDomainVerify as ao, useOrgProfile as ap, useProfile as aq, useReactionStatus as ar, useRefreshOrcidPublications as as, useRefreshPds as at, useRemoveFeatureAllowlist as au, useRemoveOrgNotificationEmail as av, useResetProfile as aw, useResolveEntityDomain as ax, useRetractRoadmapVote as ay, useRevealMarqueDomain as az, type DeleteRecordVariables as b, useUpdateProfileSelf as b0, useUpdateRecord as b1, useUpdateSkill as b2, useUploadAvatar as b3, useVerifyExternalAccount as b4, useWipePreview as b5, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillVariables as i, type UseEntitySearchOptions as j, type UseMyGithubPullRequestsParams as k, useActivityTeaser as l, useAddFeatureAllowlist as m, useAddOrgNotificationEmail as n, useAppAccountCheck as o, useAppsRegistry as p, useAtFundLink as q, useBlueskySuggestions as r, useBulkHideProfileItems as s, useBulkHideStandardPublications as t, useActivityFeed as u, useBulkUnhideProfileItems as v, useBulkUnhideStandardPublications as w, useCanonicalSkillSearch as x, useCastRoadmapVote as y, useCreateEducation as z };
745
+ export { useEntitySearch as $, type AddFeatureAllowlistVariables as A, useCreateEducation as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateEndorsement as E, type FollowVariables as F, useCreateExternalAccount as G, useCreatePosition as H, useCreateProfileLocation as I, useCreateReaction as J, useCreateRecord as K, useCreateSkill as L, useDebouncedValue as M, useDeleteAccount as N, useDeleteAvatarOverride as O, type PositionSkillLinkVariables as P, useDeleteEducation as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteExternalAccount as T, type UnfollowVariables as U, useDeletePosition as V, useDeleteProfileLocation as W, useDeleteReaction as X, useDeleteRecord as Y, useDeleteSkill as Z, useEndorsementCount as _, type CreateRecordVariables as a, useUpdateProfileLocation as a$, useExternalAccounts as a0, useFeatureAllowlist as a1, useFeaturedProfile as a2, useFollow as a3, useFollowers as a4, useFollowing as a5, useFollowingFeed as a6, useFollowingList as a7, useGetProfileView as a8, useHeatmapData as a9, useRevealMarqueDomain as aA, useRoadmapVotes as aB, useSearchFilters as aC, useSearchProfiles as aD, useSelectEntity as aE, useSetExternalAccountPrimary as aF, useSetPositionPrimary as aG, useSifaConfig as aH, useSimilarProfiles as aI, useSkillSuggestions as aJ, useStats as aK, useSuggestionCount as aL, useSuggestions as aM, useUnfollow as aN, useUnhideKeytraceClaim as aO, useUnhideOrcidPublication as aP, useUnhideProfileItem as aQ, useUnhideSifaPublication as aR, useUnhideStandardPublication as aS, useUnlinkSkillFromPosition as aT, useUnrevealMarqueDomain as aU, useUnsetExternalAccountPrimary as aV, useUnsetPositionPrimary as aW, useUpdateEducation as aX, useUpdateExternalAccount as aY, useUpdateOrgProfile as aZ, useUpdatePosition as a_, useHiddenApps as aa, useHideKeytraceClaim as ab, useHideOrcidPublication as ac, useHideProfileItem as ad, useHideSifaPublication as ae, useHideStandardPublication as af, useImportSearchEntities as ag, useLinkSkillToPosition as ah, useMintEntityDomain as ai, useMutuals as aj, useMyGithubPullRequests as ak, useMyRoadmapVotes as al, useNetworkStreamCount as am, useOrgClaim as an, useOrgDomainChallenge as ao, useOrgDomainVerify as ap, useOrgProfile as aq, useProfile as ar, useReactionStatus as as, useRefreshOrcidPublications as at, useRefreshPds as au, useRemoveFeatureAllowlist as av, useRemoveOrgNotificationEmail as aw, useResetProfile as ax, useResolveEntityDomain as ay, useRetractRoadmapVote as az, type DeleteRecordVariables as b, useUpdateProfileOverride as b0, useUpdateProfileSelf as b1, useUpdateRecord as b2, useUpdateSkill as b3, useUpdateSkillSubCategories as b4, useUploadAvatar as b5, useVerifyExternalAccount as b6, useWipePreview as b7, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityTeaser as m, useAddFeatureAllowlist as n, useAddOrgNotificationEmail as o, useAppAccountCheck as p, useAppsRegistry as q, useAtFundLink as r, useBlueskySuggestions as s, useBulkHideProfileItems as t, useActivityFeed as u, useBulkHideStandardPublications as v, useBulkUnhideProfileItems as w, useBulkUnhideStandardPublications as x, useCanonicalSkillSearch as y, useCastRoadmapVote as z };
@@ -1,4 +1,4 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-DOQL077g.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-CcbXH1FW.cjs';
2
2
  import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-BHIB4rxu.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
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DsaEk_GD.cjs';
@@ -85,16 +85,6 @@ declare function updateEducation(config: SifaApiConfig, rkey: string, data: Reco
85
85
  /** Delete an education record by `rkey`. */
86
86
  declare function deleteEducation(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
87
87
 
88
- /**
89
- * Create a new `id.sifa.profile.skill` record on the authenticated
90
- * user's PDS.
91
- */
92
- declare function createSkill(config: SifaApiConfig, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<CreateResult>;
93
- /** Update an existing skill record by `rkey`. */
94
- declare function updateSkill(config: SifaApiConfig, rkey: string, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<WriteResult>;
95
- /** Delete a skill record by `rkey`. */
96
- declare function deleteSkill(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
97
-
98
88
  /**
99
89
  * Generic record-create escape hatch. Most callers should prefer the
100
90
  * dedicated section helpers (`createPosition`, `createEducation`, etc.)
@@ -283,4 +273,4 @@ declare function checkNetworkMapJobStatus(config: SifaApiConfig, jobId: string,
283
273
  */
284
274
  declare function fetchNetworkMap(config: SifaApiConfig, options?: ApiFetchOptions): Promise<NetworkMapResponse | null>;
285
275
 
286
- export { linkSkillToPosition as A, mintEntityDomain as B, resolveEntityDomain as C, revealMarqueDomain as D, selectEntity as E, type FetchNetworkStreamCountOptions as F, setPositionPrimary as G, unhideKeytraceClaim as H, unlinkSkillFromPosition as I, unrevealMarqueDomain as J, unsetPositionPrimary as K, updateEducation as L, updatePosition as M, type NetworkMapEdge as N, updateRecord as O, updateSkill as P, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, createSkill as j, deleteEducation as k, deletePosition as l, deleteRecord as m, deleteSkill as n, fetchAtFundLink as o, fetchEndorsementCount as p, fetchEntitySearch as q, fetchGetProfileView as r, fetchNetworkMap as s, fetchNetworkStreamCount as t, fetchProfile as u, fetchProfileSummary as v, hideKeytraceClaim as w, importSearchEntities as x, initiateNetworkMapGeneration as y, isNetworkMapResponse as z };
276
+ export { resolveEntityDomain as A, revealMarqueDomain as B, selectEntity as C, setPositionPrimary as D, unhideKeytraceClaim as E, type FetchNetworkStreamCountOptions as F, unlinkSkillFromPosition as G, unrevealMarqueDomain as H, unsetPositionPrimary as I, updateEducation as J, updatePosition as K, updateRecord as L, type NetworkMapEdge as N, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, deleteEducation as j, deletePosition as k, deleteRecord as l, fetchAtFundLink as m, fetchEndorsementCount as n, fetchEntitySearch as o, fetchGetProfileView as p, fetchNetworkMap as q, fetchNetworkStreamCount as r, fetchProfile as s, fetchProfileSummary as t, hideKeytraceClaim as u, importSearchEntities as v, initiateNetworkMapGeneration as w, isNetworkMapResponse as x, linkSkillToPosition as y, mintEntityDomain as z };
package/dist/index.cjs CHANGED
@@ -4820,7 +4820,7 @@ function roadmapIssueUrl(issue) {
4820
4820
  }
4821
4821
 
4822
4822
  // src/index.ts
4823
- var SIFA_SDK_VERSION = "0.12.32";
4823
+ var SIFA_SDK_VERSION = "0.12.33";
4824
4824
 
4825
4825
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
4826
4826
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
package/dist/index.js CHANGED
@@ -4818,7 +4818,7 @@ function roadmapIssueUrl(issue) {
4818
4818
  }
4819
4819
 
4820
4820
  // src/index.ts
4821
- var SIFA_SDK_VERSION = "0.12.32";
4821
+ var SIFA_SDK_VERSION = "0.12.33";
4822
4822
 
4823
4823
  export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, 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, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildTalkSlug, 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, getActivityVerbsVersion, 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, groupSkillsBySubCategory, 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, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
4824
4824
  //# sourceMappingURL=index.js.map
@@ -190,6 +190,33 @@ declare function uploadAvatar(config: SifaApiConfig, file: Blob, options?: ApiFe
190
190
  /** Delete the authenticated user's avatar override (revert to PDS avatar). */
191
191
  declare function deleteAvatarOverride(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
192
192
 
193
+ /**
194
+ * Create a new `id.sifa.profile.skill` record on the authenticated
195
+ * user's PDS.
196
+ */
197
+ declare function createSkill(config: SifaApiConfig, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<CreateResult>;
198
+ /** Update an existing skill record by `rkey`. */
199
+ declare function updateSkill(config: SifaApiConfig, rkey: string, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<WriteResult>;
200
+ /** Outcome of a bulk sub-category assign. */
201
+ interface SubCategoryBulkResult {
202
+ /** Records written. */
203
+ updated: number;
204
+ /** Records that already carried the label, so no write was needed. */
205
+ unchanged: number;
206
+ /** Requested rkeys with no matching record on the PDS. */
207
+ skipped: string[];
208
+ }
209
+ /**
210
+ * Set (or clear) the sub-category on many skills in one request.
211
+ *
212
+ * A single call replaces one PUT per skill, which tripped the AppView's
213
+ * per-IP rate limit on any sizeable profile (#324). An empty `subCategory`
214
+ * clears the field.
215
+ */
216
+ declare function updateSkillSubCategories(config: SifaApiConfig, rkeys: string[], subCategory: string, options?: ApiFetchOptions): Promise<WriteResult & SubCategoryBulkResult>;
217
+ /** Delete a skill record by `rkey`. */
218
+ declare function deleteSkill(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
219
+
193
220
  /**
194
221
  * Address payload accepted by `/api/profile/location` endpoints.
195
222
  *
@@ -1355,4 +1382,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1355
1382
  */
1356
1383
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1357
1384
 
1358
- export { type OrgNotificationEmailRemoveResult 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 FollowProfilePageResponse as G, type FollowUserResult as H, type FollowingResponse as I, type GithubPullRequest as J, HIDDEN_ITEM_SOURCES as K, HIDDEN_ITEM_TYPES as L, type HeatmapDay as M, type HeatmapResponse as N, type HiddenApp as O, type HiddenItemSource as P, type HiddenItemType as Q, type HideProfileItemInput as R, type SifaApiConfig as S, type ListFeatureAllowlistOptions as T, type MyGithubPullRequestsResponse as U, type OrgClaimBinding as V, type WriteResult as W, type OrgClaimResult as X, type OrgDomainChallengeResult as Y, type OrgDomainVerifyResult as Z, type OrgNotificationEmailAddResult as _, type AccountCheckResult as a, fetchFollowing as a$, type OrgProfileEcho as a0, type OrgProfileUpdateResult as a1, type PdsWipeOutcome as a2, type ProfileIndustryInput as a3, type ProfileLocationAddress as a4, type ProfileLocationInput as a5, type ProfileSearchResult as a6, type ProfileSelfLocation as a7, QUOTED_POSTS_BATCH_MAX as a8, type QuotedPostAuthor as a9, type WipePreview as aA, addFeatureAllowlist as aB, addOrgNotificationEmail as aC, apiFetch as aD, apiFetchOrNull as aE, apiWrite as aF, apiWriteCreate as aG, bulkHideProfileItems as aH, bulkHideStandardPublications as aI, bulkUnhideProfileItems as aJ, bulkUnhideStandardPublications as aK, castRoadmapVote as aL, checkAppAccount as aM, createEndorsement as aN, createExternalAccount as aO, createProfileLocation as aP, createReaction as aQ, deleteAccount as aR, deleteAvatarOverride as aS, deleteExternalAccount as aT, deleteProfileLocation as aU, deleteReaction as aV, fetchActivityFeed as aW, fetchActivityTeaser as aX, fetchAppsRegistry as aY, fetchExternalAccounts as aZ, fetchFeaturedProfile as a_, type QuotedPostImage as aa, type QuotedPostResult as ab, type QuotedPostView as ac, type ReactionError as ad, type ReactionResult as ae, type ReactionStatus as af, type RefreshOrcidPublicationsResult as ag, type RefreshPdsResult as ah, type ResetProfileResult as ai, type ResolveQuotedPostsOptions as aj, type RoadmapVoteError as ak, type RoadmapVoteResult as al, type RoadmapVoter as am, type RoadmapVotesResponse as an, type SearchFilters as ao, type SearchResponse as ap, type SifaQueryKey as aq, type SimilarProfile as ar, type SkillSearchResult as as, type StatsResponse as at, type SuggestionProfile as au, type SuggestionsResponse as av, type UpdateProfileOverrideInput as aw, type UpdateProfileSelfInput as ax, type UploadAvatarResult as ay, type VerifyExternalAccountResult as az, type ActivityFeedResponse as b, fetchHeatmapData as b0, fetchHiddenApps as b1, fetchMyGithubPullRequests as b2, fetchMyRoadmapVotes as b3, fetchReactionStatus as b4, fetchRoadmapVotes as b5, fetchSearchFilters as b6, fetchSearchProfiles as b7, fetchSimilarProfiles as b8, fetchSkillSuggestions as b9, unfollowUser as bA, unhideOrcidPublication as bB, unhideProfileItem as bC, unhideSifaPublication as bD, unhideStandardPublication as bE, unsetExternalAccountPrimary as bF, updateExternalAccount as bG, updateOrgProfile as bH, updateProfileLocation as bI, updateProfileOverride as bJ, updateProfileSelf as bK, uploadAvatar as bL, verifyExternalAccount as bM, verifyOrgDomain as bN, fetchStats as ba, fetchSuggestionCount as bb, fetchSuggestions as bc, fetchWipePreview as bd, followUser as be, getBlueskySuggestions as bf, getFollowers as bg, getFollowing as bh, getFollowingFeed as bi, getMutuals as bj, hideOrcidPublication as bk, hideProfileItem as bl, hideSifaPublication as bm, hideStandardPublication as bn, listFeatureAllowlist as bo, refreshOrcidPublications as bp, refreshPds as bq, removeFeatureAllowlist as br, removeOrgNotificationEmail as bs, requestOrgDomainChallenge as bt, resetProfile as bu, resolveQuotedPosts as bv, retractRoadmapVote as bw, searchSkills as bx, setExternalAccountPrimary as by, submitOrgClaim 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 FetchMyGithubPullRequestsOptions as t, type FetchMyRoadmapVotesOptions as u, type FetchReactionStatusOptions as v, type FetchSuggestionsOptions as w, type FilterOptions as x, type FollowListPage as y, type FollowProfile as z };
1385
+ export { type OrgNotificationEmailRemoveResult 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 FollowProfilePageResponse as G, type FollowUserResult as H, type FollowingResponse as I, type GithubPullRequest as J, HIDDEN_ITEM_SOURCES as K, HIDDEN_ITEM_TYPES as L, type HeatmapDay as M, type HeatmapResponse as N, type HiddenApp as O, type HiddenItemSource as P, type HiddenItemType as Q, type HideProfileItemInput as R, type SifaApiConfig as S, type ListFeatureAllowlistOptions as T, type MyGithubPullRequestsResponse as U, type OrgClaimBinding as V, type WriteResult as W, type OrgClaimResult as X, type OrgDomainChallengeResult as Y, type OrgDomainVerifyResult as Z, type OrgNotificationEmailAddResult as _, type AccountCheckResult as a, fetchAppsRegistry as a$, type OrgProfileEcho as a0, type OrgProfileUpdateResult as a1, type PdsWipeOutcome as a2, type ProfileIndustryInput as a3, type ProfileLocationAddress as a4, type ProfileLocationInput as a5, type ProfileSearchResult as a6, type ProfileSelfLocation as a7, QUOTED_POSTS_BATCH_MAX as a8, type QuotedPostAuthor as a9, type VerifyExternalAccountResult as aA, type WipePreview as aB, addFeatureAllowlist as aC, addOrgNotificationEmail as aD, apiFetch as aE, apiFetchOrNull as aF, apiWrite as aG, apiWriteCreate as aH, bulkHideProfileItems as aI, bulkHideStandardPublications as aJ, bulkUnhideProfileItems as aK, bulkUnhideStandardPublications as aL, castRoadmapVote as aM, checkAppAccount as aN, createEndorsement as aO, createExternalAccount as aP, createProfileLocation as aQ, createReaction as aR, createSkill as aS, deleteAccount as aT, deleteAvatarOverride as aU, deleteExternalAccount as aV, deleteProfileLocation as aW, deleteReaction as aX, deleteSkill as aY, fetchActivityFeed as aZ, fetchActivityTeaser as a_, type QuotedPostImage as aa, type QuotedPostResult as ab, type QuotedPostView as ac, type ReactionError as ad, type ReactionResult as ae, type ReactionStatus as af, type RefreshOrcidPublicationsResult as ag, type RefreshPdsResult as ah, type ResetProfileResult as ai, type ResolveQuotedPostsOptions as aj, type RoadmapVoteError as ak, type RoadmapVoteResult as al, type RoadmapVoter as am, type RoadmapVotesResponse as an, type SearchFilters as ao, type SearchResponse as ap, type SifaQueryKey as aq, type SimilarProfile as ar, type SkillSearchResult as as, type StatsResponse as at, type SubCategoryBulkResult as au, type SuggestionProfile as av, type SuggestionsResponse as aw, type UpdateProfileOverrideInput as ax, type UpdateProfileSelfInput as ay, type UploadAvatarResult as az, type ActivityFeedResponse as b, fetchExternalAccounts as b0, fetchFeaturedProfile as b1, fetchFollowing as b2, fetchHeatmapData as b3, fetchHiddenApps as b4, fetchMyGithubPullRequests as b5, fetchMyRoadmapVotes as b6, fetchReactionStatus as b7, fetchRoadmapVotes as b8, fetchSearchFilters as b9, searchSkills as bA, setExternalAccountPrimary as bB, submitOrgClaim as bC, unfollowUser as bD, unhideOrcidPublication as bE, unhideProfileItem as bF, unhideSifaPublication as bG, unhideStandardPublication as bH, unsetExternalAccountPrimary as bI, updateExternalAccount as bJ, updateOrgProfile as bK, updateProfileLocation as bL, updateProfileOverride as bM, updateProfileSelf as bN, updateSkill as bO, updateSkillSubCategories as bP, uploadAvatar as bQ, verifyExternalAccount as bR, verifyOrgDomain as bS, fetchSearchProfiles as ba, fetchSimilarProfiles as bb, fetchSkillSuggestions as bc, fetchStats as bd, fetchSuggestionCount as be, fetchSuggestions as bf, fetchWipePreview as bg, followUser as bh, getBlueskySuggestions as bi, getFollowers as bj, getFollowing as bk, getFollowingFeed as bl, getMutuals as bm, hideOrcidPublication as bn, hideProfileItem as bo, hideSifaPublication as bp, hideStandardPublication as bq, listFeatureAllowlist as br, refreshOrcidPublications as bs, refreshPds as bt, removeFeatureAllowlist as bu, removeOrgNotificationEmail as bv, requestOrgDomainChallenge as bw, resetProfile as bx, resolveQuotedPosts as by, retractRoadmapVote 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 FetchMyGithubPullRequestsOptions as t, type FetchMyRoadmapVotesOptions as u, type FetchReactionStatusOptions as v, type FetchSuggestionsOptions as w, type FilterOptions as x, type FollowListPage as y, type FollowProfile as z };
@@ -190,6 +190,33 @@ declare function uploadAvatar(config: SifaApiConfig, file: Blob, options?: ApiFe
190
190
  /** Delete the authenticated user's avatar override (revert to PDS avatar). */
191
191
  declare function deleteAvatarOverride(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
192
192
 
193
+ /**
194
+ * Create a new `id.sifa.profile.skill` record on the authenticated
195
+ * user's PDS.
196
+ */
197
+ declare function createSkill(config: SifaApiConfig, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<CreateResult>;
198
+ /** Update an existing skill record by `rkey`. */
199
+ declare function updateSkill(config: SifaApiConfig, rkey: string, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<WriteResult>;
200
+ /** Outcome of a bulk sub-category assign. */
201
+ interface SubCategoryBulkResult {
202
+ /** Records written. */
203
+ updated: number;
204
+ /** Records that already carried the label, so no write was needed. */
205
+ unchanged: number;
206
+ /** Requested rkeys with no matching record on the PDS. */
207
+ skipped: string[];
208
+ }
209
+ /**
210
+ * Set (or clear) the sub-category on many skills in one request.
211
+ *
212
+ * A single call replaces one PUT per skill, which tripped the AppView's
213
+ * per-IP rate limit on any sizeable profile (#324). An empty `subCategory`
214
+ * clears the field.
215
+ */
216
+ declare function updateSkillSubCategories(config: SifaApiConfig, rkeys: string[], subCategory: string, options?: ApiFetchOptions): Promise<WriteResult & SubCategoryBulkResult>;
217
+ /** Delete a skill record by `rkey`. */
218
+ declare function deleteSkill(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
219
+
193
220
  /**
194
221
  * Address payload accepted by `/api/profile/location` endpoints.
195
222
  *
@@ -1355,4 +1382,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1355
1382
  */
1356
1383
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1357
1384
 
1358
- export { type OrgNotificationEmailRemoveResult 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 FollowProfilePageResponse as G, type FollowUserResult as H, type FollowingResponse as I, type GithubPullRequest as J, HIDDEN_ITEM_SOURCES as K, HIDDEN_ITEM_TYPES as L, type HeatmapDay as M, type HeatmapResponse as N, type HiddenApp as O, type HiddenItemSource as P, type HiddenItemType as Q, type HideProfileItemInput as R, type SifaApiConfig as S, type ListFeatureAllowlistOptions as T, type MyGithubPullRequestsResponse as U, type OrgClaimBinding as V, type WriteResult as W, type OrgClaimResult as X, type OrgDomainChallengeResult as Y, type OrgDomainVerifyResult as Z, type OrgNotificationEmailAddResult as _, type AccountCheckResult as a, fetchFollowing as a$, type OrgProfileEcho as a0, type OrgProfileUpdateResult as a1, type PdsWipeOutcome as a2, type ProfileIndustryInput as a3, type ProfileLocationAddress as a4, type ProfileLocationInput as a5, type ProfileSearchResult as a6, type ProfileSelfLocation as a7, QUOTED_POSTS_BATCH_MAX as a8, type QuotedPostAuthor as a9, type WipePreview as aA, addFeatureAllowlist as aB, addOrgNotificationEmail as aC, apiFetch as aD, apiFetchOrNull as aE, apiWrite as aF, apiWriteCreate as aG, bulkHideProfileItems as aH, bulkHideStandardPublications as aI, bulkUnhideProfileItems as aJ, bulkUnhideStandardPublications as aK, castRoadmapVote as aL, checkAppAccount as aM, createEndorsement as aN, createExternalAccount as aO, createProfileLocation as aP, createReaction as aQ, deleteAccount as aR, deleteAvatarOverride as aS, deleteExternalAccount as aT, deleteProfileLocation as aU, deleteReaction as aV, fetchActivityFeed as aW, fetchActivityTeaser as aX, fetchAppsRegistry as aY, fetchExternalAccounts as aZ, fetchFeaturedProfile as a_, type QuotedPostImage as aa, type QuotedPostResult as ab, type QuotedPostView as ac, type ReactionError as ad, type ReactionResult as ae, type ReactionStatus as af, type RefreshOrcidPublicationsResult as ag, type RefreshPdsResult as ah, type ResetProfileResult as ai, type ResolveQuotedPostsOptions as aj, type RoadmapVoteError as ak, type RoadmapVoteResult as al, type RoadmapVoter as am, type RoadmapVotesResponse as an, type SearchFilters as ao, type SearchResponse as ap, type SifaQueryKey as aq, type SimilarProfile as ar, type SkillSearchResult as as, type StatsResponse as at, type SuggestionProfile as au, type SuggestionsResponse as av, type UpdateProfileOverrideInput as aw, type UpdateProfileSelfInput as ax, type UploadAvatarResult as ay, type VerifyExternalAccountResult as az, type ActivityFeedResponse as b, fetchHeatmapData as b0, fetchHiddenApps as b1, fetchMyGithubPullRequests as b2, fetchMyRoadmapVotes as b3, fetchReactionStatus as b4, fetchRoadmapVotes as b5, fetchSearchFilters as b6, fetchSearchProfiles as b7, fetchSimilarProfiles as b8, fetchSkillSuggestions as b9, unfollowUser as bA, unhideOrcidPublication as bB, unhideProfileItem as bC, unhideSifaPublication as bD, unhideStandardPublication as bE, unsetExternalAccountPrimary as bF, updateExternalAccount as bG, updateOrgProfile as bH, updateProfileLocation as bI, updateProfileOverride as bJ, updateProfileSelf as bK, uploadAvatar as bL, verifyExternalAccount as bM, verifyOrgDomain as bN, fetchStats as ba, fetchSuggestionCount as bb, fetchSuggestions as bc, fetchWipePreview as bd, followUser as be, getBlueskySuggestions as bf, getFollowers as bg, getFollowing as bh, getFollowingFeed as bi, getMutuals as bj, hideOrcidPublication as bk, hideProfileItem as bl, hideSifaPublication as bm, hideStandardPublication as bn, listFeatureAllowlist as bo, refreshOrcidPublications as bp, refreshPds as bq, removeFeatureAllowlist as br, removeOrgNotificationEmail as bs, requestOrgDomainChallenge as bt, resetProfile as bu, resolveQuotedPosts as bv, retractRoadmapVote as bw, searchSkills as bx, setExternalAccountPrimary as by, submitOrgClaim 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 FetchMyGithubPullRequestsOptions as t, type FetchMyRoadmapVotesOptions as u, type FetchReactionStatusOptions as v, type FetchSuggestionsOptions as w, type FilterOptions as x, type FollowListPage as y, type FollowProfile as z };
1385
+ export { type OrgNotificationEmailRemoveResult 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 FollowProfilePageResponse as G, type FollowUserResult as H, type FollowingResponse as I, type GithubPullRequest as J, HIDDEN_ITEM_SOURCES as K, HIDDEN_ITEM_TYPES as L, type HeatmapDay as M, type HeatmapResponse as N, type HiddenApp as O, type HiddenItemSource as P, type HiddenItemType as Q, type HideProfileItemInput as R, type SifaApiConfig as S, type ListFeatureAllowlistOptions as T, type MyGithubPullRequestsResponse as U, type OrgClaimBinding as V, type WriteResult as W, type OrgClaimResult as X, type OrgDomainChallengeResult as Y, type OrgDomainVerifyResult as Z, type OrgNotificationEmailAddResult as _, type AccountCheckResult as a, fetchAppsRegistry as a$, type OrgProfileEcho as a0, type OrgProfileUpdateResult as a1, type PdsWipeOutcome as a2, type ProfileIndustryInput as a3, type ProfileLocationAddress as a4, type ProfileLocationInput as a5, type ProfileSearchResult as a6, type ProfileSelfLocation as a7, QUOTED_POSTS_BATCH_MAX as a8, type QuotedPostAuthor as a9, type VerifyExternalAccountResult as aA, type WipePreview as aB, addFeatureAllowlist as aC, addOrgNotificationEmail as aD, apiFetch as aE, apiFetchOrNull as aF, apiWrite as aG, apiWriteCreate as aH, bulkHideProfileItems as aI, bulkHideStandardPublications as aJ, bulkUnhideProfileItems as aK, bulkUnhideStandardPublications as aL, castRoadmapVote as aM, checkAppAccount as aN, createEndorsement as aO, createExternalAccount as aP, createProfileLocation as aQ, createReaction as aR, createSkill as aS, deleteAccount as aT, deleteAvatarOverride as aU, deleteExternalAccount as aV, deleteProfileLocation as aW, deleteReaction as aX, deleteSkill as aY, fetchActivityFeed as aZ, fetchActivityTeaser as a_, type QuotedPostImage as aa, type QuotedPostResult as ab, type QuotedPostView as ac, type ReactionError as ad, type ReactionResult as ae, type ReactionStatus as af, type RefreshOrcidPublicationsResult as ag, type RefreshPdsResult as ah, type ResetProfileResult as ai, type ResolveQuotedPostsOptions as aj, type RoadmapVoteError as ak, type RoadmapVoteResult as al, type RoadmapVoter as am, type RoadmapVotesResponse as an, type SearchFilters as ao, type SearchResponse as ap, type SifaQueryKey as aq, type SimilarProfile as ar, type SkillSearchResult as as, type StatsResponse as at, type SubCategoryBulkResult as au, type SuggestionProfile as av, type SuggestionsResponse as aw, type UpdateProfileOverrideInput as ax, type UpdateProfileSelfInput as ay, type UploadAvatarResult as az, type ActivityFeedResponse as b, fetchExternalAccounts as b0, fetchFeaturedProfile as b1, fetchFollowing as b2, fetchHeatmapData as b3, fetchHiddenApps as b4, fetchMyGithubPullRequests as b5, fetchMyRoadmapVotes as b6, fetchReactionStatus as b7, fetchRoadmapVotes as b8, fetchSearchFilters as b9, searchSkills as bA, setExternalAccountPrimary as bB, submitOrgClaim as bC, unfollowUser as bD, unhideOrcidPublication as bE, unhideProfileItem as bF, unhideSifaPublication as bG, unhideStandardPublication as bH, unsetExternalAccountPrimary as bI, updateExternalAccount as bJ, updateOrgProfile as bK, updateProfileLocation as bL, updateProfileOverride as bM, updateProfileSelf as bN, updateSkill as bO, updateSkillSubCategories as bP, uploadAvatar as bQ, verifyExternalAccount as bR, verifyOrgDomain as bS, fetchSearchProfiles as ba, fetchSimilarProfiles as bb, fetchSkillSuggestions as bc, fetchStats as bd, fetchSuggestionCount as be, fetchSuggestions as bf, fetchWipePreview as bg, followUser as bh, getBlueskySuggestions as bi, getFollowers as bj, getFollowing as bk, getFollowingFeed as bl, getMutuals as bm, hideOrcidPublication as bn, hideProfileItem as bo, hideSifaPublication as bp, hideStandardPublication as bq, listFeatureAllowlist as br, refreshOrcidPublications as bs, refreshPds as bt, removeFeatureAllowlist as bu, removeOrgNotificationEmail as bv, requestOrgDomainChallenge as bw, resetProfile as bx, resolveQuotedPosts as by, retractRoadmapVote 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 FetchMyGithubPullRequestsOptions as t, type FetchMyRoadmapVotesOptions as u, type FetchReactionStatusOptions as v, type FetchSuggestionsOptions as w, type FilterOptions as x, type FollowListPage as y, type FollowProfile as z };