@singi-labs/sifa-sdk 0.12.32 → 0.12.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{feed-D2ZV8Eaj.d.cts → feed-C8aHEPw4.d.cts} +5 -0
  2. package/dist/{feed-D2ZV8Eaj.d.ts → feed-C8aHEPw4.d.ts} +5 -0
  3. package/dist/{index-CQx2Yk7v.d.ts → index-Bf_BI0TG.d.ts} +3 -13
  4. package/dist/{index-D4DUzpXJ.d.ts → index-CBx6UJvX.d.ts} +15 -3
  5. package/dist/{index-DX-0n-2z.d.cts → index-CEoJMzkP.d.cts} +3 -13
  6. package/dist/{index-XXLVtfGw.d.cts → index-DMN5tQBL.d.cts} +15 -3
  7. package/dist/index.cjs +9 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +2 -2
  10. package/dist/index.d.ts +2 -2
  11. package/dist/index.js +9 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/{org-5dARVOZ9.d.ts → org-C8LR9MpF.d.ts} +29 -2
  14. package/dist/{org-DOQL077g.d.cts → org-OFRiuRqU.d.cts} +29 -2
  15. package/dist/query/fetchers/index.cjs +8 -0
  16. package/dist/query/fetchers/index.cjs.map +1 -1
  17. package/dist/query/fetchers/index.d.cts +3 -3
  18. package/dist/query/fetchers/index.d.ts +3 -3
  19. package/dist/query/fetchers/index.js +8 -0
  20. package/dist/query/fetchers/index.js.map +1 -1
  21. package/dist/query/hooks/index.cjs +33 -0
  22. package/dist/query/hooks/index.cjs.map +1 -1
  23. package/dist/query/hooks/index.d.cts +3 -3
  24. package/dist/query/hooks/index.d.ts +3 -3
  25. package/dist/query/hooks/index.js +33 -1
  26. package/dist/query/hooks/index.js.map +1 -1
  27. package/dist/query/index.cjs +34 -0
  28. package/dist/query/index.cjs.map +1 -1
  29. package/dist/query/index.d.cts +5 -5
  30. package/dist/query/index.d.ts +5 -5
  31. package/dist/query/index.js +33 -1
  32. package/dist/query/index.js.map +1 -1
  33. package/dist/schemas/index.cjs +8 -0
  34. package/dist/schemas/index.cjs.map +1 -1
  35. package/dist/schemas/index.d.cts +1 -1
  36. package/dist/schemas/index.d.ts +1 -1
  37. package/dist/schemas/index.js +8 -0
  38. package/dist/schemas/index.js.map +1 -1
  39. package/package.json +1 -1
@@ -70,6 +70,11 @@ declare const EntitySelectResponseSchema: z.ZodObject<{
70
70
  kind: z.ZodString;
71
71
  canonicalName: z.ZodString;
72
72
  domain: z.ZodNullable<z.ZodString>;
73
+ website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
74
+ websiteTier: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
75
+ org: "org";
76
+ curated: "curated";
77
+ }>>>;
73
78
  entityRef: z.ZodNullable<z.ZodString>;
74
79
  }, z.core.$strip>;
75
80
  type EntitySelectResponse = z.infer<typeof EntitySelectResponseSchema>;
@@ -70,6 +70,11 @@ declare const EntitySelectResponseSchema: z.ZodObject<{
70
70
  kind: z.ZodString;
71
71
  canonicalName: z.ZodString;
72
72
  domain: z.ZodNullable<z.ZodString>;
73
+ website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
74
+ websiteTier: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
75
+ org: "org";
76
+ curated: "curated";
77
+ }>>>;
73
78
  entityRef: z.ZodNullable<z.ZodString>;
74
79
  }, z.core.$strip>;
75
80
  type EntitySelectResponse = z.infer<typeof EntitySelectResponseSchema>;
@@ -1,6 +1,6 @@
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-C8LR9MpF.js';
2
2
  import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-BHIB4rxu.js';
3
- import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.js';
3
+ import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.js';
4
4
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-sWTKu58A.js';
5
5
 
6
6
  /**
@@ -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,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, 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-C8LR9MpF.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';
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';
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-C8aHEPw4.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
 
10
10
  interface SifaProviderProps {
@@ -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
 
@@ -309,6 +319,8 @@ declare function useSelectEntity(options?: Omit<UseMutationOptions<EntitySelectR
309
319
  kind: string;
310
320
  canonicalName: string;
311
321
  domain: string | null;
322
+ website: string | null;
323
+ websiteTier: "org" | "curated" | null;
312
324
  entityRef: string | null;
313
325
  }, Error, {
314
326
  entityId?: number | undefined;
@@ -732,4 +744,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
732
744
  email: string;
733
745
  }, unknown>;
734
746
 
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 };
747
+ 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,6 +1,6 @@
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-OFRiuRqU.cjs';
2
2
  import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-BHIB4rxu.cjs';
3
- import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.cjs';
3
+ import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.cjs';
4
4
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DsaEk_GD.cjs';
5
5
 
6
6
  /**
@@ -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,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, 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-OFRiuRqU.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';
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';
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-C8aHEPw4.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
 
10
10
  interface SifaProviderProps {
@@ -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
 
@@ -309,6 +319,8 @@ declare function useSelectEntity(options?: Omit<UseMutationOptions<EntitySelectR
309
319
  kind: string;
310
320
  canonicalName: string;
311
321
  domain: string | null;
322
+ website: string | null;
323
+ websiteTier: "org" | "curated" | null;
312
324
  entityRef: string | null;
313
325
  }, Error, {
314
326
  entityId?: number | undefined;
@@ -732,4 +744,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
732
744
  email: string;
733
745
  }, unknown>;
734
746
 
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 };
747
+ 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 };
package/dist/index.cjs CHANGED
@@ -4334,6 +4334,14 @@ var EntitySelectResponseSchema = zod.z.object({
4334
4334
  kind: zod.z.string(),
4335
4335
  canonicalName: zod.z.string(),
4336
4336
  domain: zod.z.string().nullable(),
4337
+ /**
4338
+ * The entity's website, gated to sources trustworthy enough to prefill into a
4339
+ * record the user signs. Narrower than `domain`, which is a display value and
4340
+ * may come from a crawl. Null when the entity has no such source.
4341
+ */
4342
+ website: httpUrlNullable.default(null),
4343
+ /** Which tier `website` came from. Crawled is never an accepted source. */
4344
+ websiteTier: zod.z.enum(["org", "curated"]).nullable().default(null),
4337
4345
  entityRef: httpUrlNullable
4338
4346
  });
4339
4347
  var EntityImportSearchResponseSchema = zod.z.object({
@@ -4820,7 +4828,7 @@ function roadmapIssueUrl(issue) {
4820
4828
  }
4821
4829
 
4822
4830
  // src/index.ts
4823
- var SIFA_SDK_VERSION = "0.12.32";
4831
+ var SIFA_SDK_VERSION = "0.12.34";
4824
4832
 
4825
4833
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
4826
4834
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;