@singi-labs/sifa-sdk 0.19.53 → 0.19.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/badge/index.cjs +18 -2
- package/dist/badge/index.cjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{network-map-C-p-k3gB.d.cts → network-map-CdYpUy-t.d.cts} +2 -2
- package/dist/{network-map-CnVlBE0G.d.ts → network-map-CiWrQ1fF.d.ts} +2 -2
- package/dist/{org-CFzRg61Q.d.cts → org-fmpG85L0.d.cts} +32 -27
- package/dist/{org-Bp4mNT8K.d.ts → org-hxHnoBfg.d.ts} +32 -27
- package/dist/{profile-summary-C_wdHGj6.d.cts → profile-summary-5T1hDw6Q.d.cts} +1 -1
- package/dist/{profile-summary-Qtfk-52i.d.ts → profile-summary-Bj7ufSDK.d.ts} +1 -1
- package/dist/query/client.js +26 -6
- package/dist/query/client.js.map +1 -1
- package/dist/query/fetchers/destructive.js.map +1 -1
- package/dist/query/fetchers/external-accounts.js.map +1 -1
- package/dist/query/fetchers/follow.js.map +1 -1
- package/dist/query/fetchers/index.cjs +26 -6
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +5 -5
- package/dist/query/fetchers/index.d.ts +5 -5
- package/dist/query/fetchers/org.js.map +1 -1
- package/dist/query/fetchers/profile-mutations.js.map +1 -1
- package/dist/query/fetchers/publications.js.map +1 -1
- package/dist/query/fetchers/repo-inventory.js.map +1 -1
- package/dist/query/fetchers/skills.js.map +1 -1
- package/dist/query/hooks/index.cjs +26 -6
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/hooks/use-org-claim.js.map +1 -1
- package/dist/query/hooks/use-org-domains.js.map +1 -1
- package/dist/query/hooks/use-org-notification-emails.js.map +1 -1
- package/dist/query/hooks/use-org-profile-settings.js.map +1 -1
- package/dist/query/hooks/use-skill-mutations.js.map +1 -1
- package/dist/query/index.cjs +26 -6
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +8 -8
- package/dist/query/index.d.ts +8 -8
- package/dist/roadmap/index.js +1 -1
- package/dist/roadmap/index.js.map +1 -1
- package/dist/schemas/write/external-account.js +2 -1
- package/dist/schemas/write/external-account.js.map +1 -1
- package/dist/schemas/write/index.cjs +2 -1
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +1 -1
- package/dist/schemas/write/index.d.ts +1 -1
- package/dist/{types-DAGqE0b9.d.cts → types-DHT7jcZc.d.cts} +36 -8
- package/dist/{types-CK8KgdqA.d.ts → types-jB67EFpw.d.ts} +36 -8
- package/dist/{use-org-notification-emails-CJ0hKqco.d.ts → use-org-notification-emails-CWLCWkmb.d.ts} +15 -15
- package/dist/{use-org-notification-emails-Dk084Rrw.d.cts → use-org-notification-emails-Cj8IDI_7.d.cts} +15 -15
- package/package.json +1 -1
package/dist/{use-org-notification-emails-CJ0hKqco.d.ts → use-org-notification-emails-CWLCWkmb.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { K as SifaApiConfig, n as ProfileView, W as WriteResult, N as CreateResult, Q as FilterOptions, S as SearchFilters, U as SearchResponse, X as SkillSearchResult, a4 as CompanySearchFilters, a5 as CompanySearchResponse, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
3
|
+
import { K as SifaApiConfig, n as ProfileView, W as WriteResult, N as CreateResult, Q as FilterOptions, S as SearchFilters, U as SearchResponse, X as SkillSearchResult, a4 as CompanySearchFilters, a5 as CompanySearchResponse, t as RepoDeleteResult, w as RepoInventory } from './types-jB67EFpw.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 { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, T as SkillSuggestion, s as OrgFloorVerdict } from './index-D9GC0u__.js';
|
|
7
|
-
import { s as sifaQueryKeys, aC as RefreshPdsResult, aT as UpdateProfileOverrideInput, aU as UpdateProfileSelfInput, aV as UploadAvatarResult, aW as UploadPronunciationAudioResult, am as PrimarySection, aN as SubCategoryBulkResult, ar as ProfileLocationInput, o as ExternalAccountInput, m as CreateExternalAccountResult, aX as VerifyExternalAccountResult, E as EndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, Y as GivenConfirmation, al as PendingConfirmationsPage, a7 as InboxCounts, n as DismissUnlinkedPositionInput, aS as UnlinkedPositionsResult, an as ProfileCompleteness, aB as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a6 as HideProfileItemInput, a1 as HiddenActivityItem, a5 as HideActivityItemInput, aQ as UnhideActivityItemInput, aM as StatsResponse, h as AppRegistryEntry, a2 as HiddenApp, b as AccountSummary, p as FeaturedProfile, aL as SimilarProfile, L as FetchSuggestionsOptions, aP as SuggestionsResponse, Q as FollowUserResult, v as FetchFollowListOptions, N as FollowListPage, V as FollowingResponse, x as FetchFollowingFeedOptions, T as FollowingFeedResponse, w as FetchFollowProfilePageOptions, P as FollowProfilePageResponse, F as FeatureAllowlistResponse, g as AdminReviewQueues, r as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, a0 as HeatmapResponse, a9 as MyGithubPullRequestsResponse, A as AccountCheckResult, aA as ReactionStatus, az as ReactionResult, ay as ReactionError, aJ as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aE as ResetProfileResult, aY as WipePreview, aD as RepoDeleteInput, ab as OrgClaimResult, ah as OrgProfileUpdateResult, ac as OrgDomainChallengeResult, ad as OrgDomainVerifyResult, ae as OrgNotificationEmailAddResult, af as OrgNotificationEmailRemoveResult } from './org-
|
|
7
|
+
import { s as sifaQueryKeys, aC as RefreshPdsResult, aT as UpdateProfileOverrideInput, aU as UpdateProfileSelfInput, aV as UploadAvatarResult, aW as UploadPronunciationAudioResult, am as PrimarySection, aN as SubCategoryBulkResult, ar as ProfileLocationInput, o as ExternalAccountInput, m as CreateExternalAccountResult, aX as VerifyExternalAccountResult, E as EndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, Y as GivenConfirmation, al as PendingConfirmationsPage, a7 as InboxCounts, n as DismissUnlinkedPositionInput, aS as UnlinkedPositionsResult, an as ProfileCompleteness, aB as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a6 as HideProfileItemInput, a1 as HiddenActivityItem, a5 as HideActivityItemInput, aQ as UnhideActivityItemInput, aM as StatsResponse, h as AppRegistryEntry, a2 as HiddenApp, b as AccountSummary, p as FeaturedProfile, aL as SimilarProfile, L as FetchSuggestionsOptions, aP as SuggestionsResponse, Q as FollowUserResult, v as FetchFollowListOptions, N as FollowListPage, V as FollowingResponse, x as FetchFollowingFeedOptions, T as FollowingFeedResponse, w as FetchFollowProfilePageOptions, P as FollowProfilePageResponse, F as FeatureAllowlistResponse, g as AdminReviewQueues, r as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, a0 as HeatmapResponse, a9 as MyGithubPullRequestsResponse, A as AccountCheckResult, aA as ReactionStatus, az as ReactionResult, ay as ReactionError, aJ as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aE as ResetProfileResult, aY as WipePreview, aD as RepoDeleteInput, ab as OrgClaimResult, ah as OrgProfileUpdateResult, ac as OrgDomainChallengeResult, ad as OrgDomainVerifyResult, ae as OrgNotificationEmailAddResult, af as OrgNotificationEmailRemoveResult } from './org-hxHnoBfg.js';
|
|
8
8
|
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-D1l6pulB.js';
|
|
9
9
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-BShvhyFp.js';
|
|
10
10
|
|
|
@@ -154,7 +154,7 @@ interface UpdateSkillSubCategoriesVariables {
|
|
|
154
154
|
* React hook for setting (or clearing) the sub-category on many skills in a
|
|
155
155
|
* single request. An empty `subCategory` clears the field.
|
|
156
156
|
*/
|
|
157
|
-
declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult
|
|
157
|
+
declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult<SubCategoryBulkResult>, Error, UpdateSkillSubCategoriesVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<SubCategoryBulkResult>, Error, UpdateSkillSubCategoriesVariables, unknown>;
|
|
158
158
|
/** React hook for deleting a skill record. Variable: the `rkey` string. */
|
|
159
159
|
declare function useDeleteSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
160
160
|
|
|
@@ -788,13 +788,13 @@ declare function useDeleteRepoRecords(options?: Omit<UseMutationOptions<RepoDele
|
|
|
788
788
|
*/
|
|
789
789
|
declare function useOrgProfile(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<Profile | null, Error, OrgFloorVerdict | null, ReturnType<typeof sifaQueryKeys.profile.byHandle>>, 'queryKey' | 'queryFn' | 'select'>): _tanstack_react_query.UseQueryResult<NoInfer<OrgFloorVerdict | null>, Error>;
|
|
790
790
|
|
|
791
|
-
type OrgClaimMutationResult = WriteResult
|
|
791
|
+
type OrgClaimMutationResult = WriteResult<Partial<OrgClaimResult>>;
|
|
792
792
|
/**
|
|
793
793
|
* Finalize an org profile claim (`POST /api/org/claim`). Pass the org's
|
|
794
794
|
* handle/DID so the profile cache (which carries the org floor verdict) is
|
|
795
795
|
* invalidated on success; pass `null` to skip invalidation.
|
|
796
796
|
*/
|
|
797
|
-
declare function useOrgClaim(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgClaimMutationResult, Error, OrgClaimRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
797
|
+
declare function useOrgClaim(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgClaimMutationResult, Error, OrgClaimRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgClaimResult>>, Error, {
|
|
798
798
|
name: string;
|
|
799
799
|
entityRefs: string[];
|
|
800
800
|
authorityAck: true;
|
|
@@ -824,12 +824,12 @@ declare function useOrgClaim(handleOrDid: string | null, options?: Omit<UseMutat
|
|
|
824
824
|
personalProfileVisible?: boolean | undefined;
|
|
825
825
|
}, unknown>;
|
|
826
826
|
|
|
827
|
-
type OrgProfileUpdateMutationResult = WriteResult
|
|
827
|
+
type OrgProfileUpdateMutationResult = WriteResult<Partial<OrgProfileUpdateResult>>;
|
|
828
828
|
/**
|
|
829
829
|
* Edit the org record (`PUT /api/org/profile`). Pass the org's handle/DID to
|
|
830
830
|
* invalidate the profile cache (org floor verdict + fields) on success.
|
|
831
831
|
*/
|
|
832
|
-
declare function useUpdateOrgProfile(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgProfileUpdateMutationResult, Error, OrgProfileUpdateRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
832
|
+
declare function useUpdateOrgProfile(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgProfileUpdateMutationResult, Error, OrgProfileUpdateRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgProfileUpdateResult>>, Error, {
|
|
833
833
|
name: string;
|
|
834
834
|
entityRefs: string[];
|
|
835
835
|
description?: string | undefined;
|
|
@@ -866,13 +866,13 @@ declare function useUpdateOrgProfile(handleOrDid: string | null, options?: Omit<
|
|
|
866
866
|
personalProfileVisible?: boolean | undefined;
|
|
867
867
|
}, unknown>;
|
|
868
868
|
|
|
869
|
-
type OrgDomainChallengeMutationResult = WriteResult
|
|
870
|
-
type OrgDomainVerifyMutationResult = WriteResult
|
|
869
|
+
type OrgDomainChallengeMutationResult = WriteResult<Partial<OrgDomainChallengeResult>>;
|
|
870
|
+
type OrgDomainVerifyMutationResult = WriteResult<Partial<OrgDomainVerifyResult>>;
|
|
871
871
|
/**
|
|
872
872
|
* Issue a one-time DNS TXT domain challenge (`POST /api/org/domains/challenge`).
|
|
873
873
|
* The result carries the TXT record name + value for the org to publish.
|
|
874
874
|
*/
|
|
875
|
-
declare function useOrgDomainChallenge(options?: Omit<UseMutationOptions<OrgDomainChallengeMutationResult, Error, OrgDomainChallengeRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
875
|
+
declare function useOrgDomainChallenge(options?: Omit<UseMutationOptions<OrgDomainChallengeMutationResult, Error, OrgDomainChallengeRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgDomainChallengeResult>>, Error, {
|
|
876
876
|
domain: string;
|
|
877
877
|
}, unknown>;
|
|
878
878
|
/**
|
|
@@ -880,24 +880,24 @@ declare function useOrgDomainChallenge(options?: Omit<UseMutationOptions<OrgDoma
|
|
|
880
880
|
* `status` is `verified` or `pending`; other outcomes surface as
|
|
881
881
|
* `{ success: false }`.
|
|
882
882
|
*/
|
|
883
|
-
declare function useOrgDomainVerify(options?: Omit<UseMutationOptions<OrgDomainVerifyMutationResult, Error, OrgDomainVerifyRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
883
|
+
declare function useOrgDomainVerify(options?: Omit<UseMutationOptions<OrgDomainVerifyMutationResult, Error, OrgDomainVerifyRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgDomainVerifyResult>>, Error, {
|
|
884
884
|
token: string;
|
|
885
885
|
}, unknown>;
|
|
886
886
|
|
|
887
|
-
type OrgNotificationEmailAddMutationResult = WriteResult
|
|
888
|
-
type OrgNotificationEmailRemoveMutationResult = WriteResult
|
|
887
|
+
type OrgNotificationEmailAddMutationResult = WriteResult<Partial<OrgNotificationEmailAddResult>>;
|
|
888
|
+
type OrgNotificationEmailRemoveMutationResult = WriteResult<Partial<OrgNotificationEmailRemoveResult>>;
|
|
889
889
|
/**
|
|
890
890
|
* Add an org notification email (`POST /api/org/notification-emails`). The
|
|
891
891
|
* address must use a domain the org controls (checked server-side). Sending is
|
|
892
892
|
* gated behind the dormant email pipeline until activated.
|
|
893
893
|
*/
|
|
894
|
-
declare function useAddOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailAddMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
894
|
+
declare function useAddOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailAddMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgNotificationEmailAddResult>>, Error, {
|
|
895
895
|
email: string;
|
|
896
896
|
}, unknown>;
|
|
897
897
|
/**
|
|
898
898
|
* Remove an org notification email (`DELETE /api/org/notification-emails`).
|
|
899
899
|
*/
|
|
900
|
-
declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailRemoveMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
900
|
+
declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailRemoveMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgNotificationEmailRemoveResult>>, Error, {
|
|
901
901
|
email: string;
|
|
902
902
|
}, unknown>;
|
|
903
903
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { K as SifaApiConfig, n as ProfileView, W as WriteResult, N as CreateResult, Q as FilterOptions, S as SearchFilters, U as SearchResponse, X as SkillSearchResult, a4 as CompanySearchFilters, a5 as CompanySearchResponse, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
3
|
+
import { K as SifaApiConfig, n as ProfileView, W as WriteResult, N as CreateResult, Q as FilterOptions, S as SearchFilters, U as SearchResponse, X as SkillSearchResult, a4 as CompanySearchFilters, a5 as CompanySearchResponse, t as RepoDeleteResult, w as RepoInventory } from './types-DHT7jcZc.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 { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, T as SkillSuggestion, s as OrgFloorVerdict } from './index-DmlIG8sJ.cjs';
|
|
7
|
-
import { s as sifaQueryKeys, aC as RefreshPdsResult, aT as UpdateProfileOverrideInput, aU as UpdateProfileSelfInput, aV as UploadAvatarResult, aW as UploadPronunciationAudioResult, am as PrimarySection, aN as SubCategoryBulkResult, ar as ProfileLocationInput, o as ExternalAccountInput, m as CreateExternalAccountResult, aX as VerifyExternalAccountResult, E as EndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, Y as GivenConfirmation, al as PendingConfirmationsPage, a7 as InboxCounts, n as DismissUnlinkedPositionInput, aS as UnlinkedPositionsResult, an as ProfileCompleteness, aB as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a6 as HideProfileItemInput, a1 as HiddenActivityItem, a5 as HideActivityItemInput, aQ as UnhideActivityItemInput, aM as StatsResponse, h as AppRegistryEntry, a2 as HiddenApp, b as AccountSummary, p as FeaturedProfile, aL as SimilarProfile, L as FetchSuggestionsOptions, aP as SuggestionsResponse, Q as FollowUserResult, v as FetchFollowListOptions, N as FollowListPage, V as FollowingResponse, x as FetchFollowingFeedOptions, T as FollowingFeedResponse, w as FetchFollowProfilePageOptions, P as FollowProfilePageResponse, F as FeatureAllowlistResponse, g as AdminReviewQueues, r as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, a0 as HeatmapResponse, a9 as MyGithubPullRequestsResponse, A as AccountCheckResult, aA as ReactionStatus, az as ReactionResult, ay as ReactionError, aJ as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aE as ResetProfileResult, aY as WipePreview, aD as RepoDeleteInput, ab as OrgClaimResult, ah as OrgProfileUpdateResult, ac as OrgDomainChallengeResult, ad as OrgDomainVerifyResult, ae as OrgNotificationEmailAddResult, af as OrgNotificationEmailRemoveResult } from './org-
|
|
7
|
+
import { s as sifaQueryKeys, aC as RefreshPdsResult, aT as UpdateProfileOverrideInput, aU as UpdateProfileSelfInput, aV as UploadAvatarResult, aW as UploadPronunciationAudioResult, am as PrimarySection, aN as SubCategoryBulkResult, ar as ProfileLocationInput, o as ExternalAccountInput, m as CreateExternalAccountResult, aX as VerifyExternalAccountResult, E as EndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, Y as GivenConfirmation, al as PendingConfirmationsPage, a7 as InboxCounts, n as DismissUnlinkedPositionInput, aS as UnlinkedPositionsResult, an as ProfileCompleteness, aB as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a6 as HideProfileItemInput, a1 as HiddenActivityItem, a5 as HideActivityItemInput, aQ as UnhideActivityItemInput, aM as StatsResponse, h as AppRegistryEntry, a2 as HiddenApp, b as AccountSummary, p as FeaturedProfile, aL as SimilarProfile, L as FetchSuggestionsOptions, aP as SuggestionsResponse, Q as FollowUserResult, v as FetchFollowListOptions, N as FollowListPage, V as FollowingResponse, x as FetchFollowingFeedOptions, T as FollowingFeedResponse, w as FetchFollowProfilePageOptions, P as FollowProfilePageResponse, F as FeatureAllowlistResponse, g as AdminReviewQueues, r as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, a0 as HeatmapResponse, a9 as MyGithubPullRequestsResponse, A as AccountCheckResult, aA as ReactionStatus, az as ReactionResult, ay as ReactionError, aJ as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aE as ResetProfileResult, aY as WipePreview, aD as RepoDeleteInput, ab as OrgClaimResult, ah as OrgProfileUpdateResult, ac as OrgDomainChallengeResult, ad as OrgDomainVerifyResult, ae as OrgNotificationEmailAddResult, af as OrgNotificationEmailRemoveResult } from './org-fmpG85L0.cjs';
|
|
8
8
|
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-D1l6pulB.cjs';
|
|
9
9
|
import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-C73Sin5E.cjs';
|
|
10
10
|
|
|
@@ -154,7 +154,7 @@ interface UpdateSkillSubCategoriesVariables {
|
|
|
154
154
|
* React hook for setting (or clearing) the sub-category on many skills in a
|
|
155
155
|
* single request. An empty `subCategory` clears the field.
|
|
156
156
|
*/
|
|
157
|
-
declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult
|
|
157
|
+
declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult<SubCategoryBulkResult>, Error, UpdateSkillSubCategoriesVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<SubCategoryBulkResult>, Error, UpdateSkillSubCategoriesVariables, unknown>;
|
|
158
158
|
/** React hook for deleting a skill record. Variable: the `rkey` string. */
|
|
159
159
|
declare function useDeleteSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
160
160
|
|
|
@@ -788,13 +788,13 @@ declare function useDeleteRepoRecords(options?: Omit<UseMutationOptions<RepoDele
|
|
|
788
788
|
*/
|
|
789
789
|
declare function useOrgProfile(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<Profile | null, Error, OrgFloorVerdict | null, ReturnType<typeof sifaQueryKeys.profile.byHandle>>, 'queryKey' | 'queryFn' | 'select'>): _tanstack_react_query.UseQueryResult<NoInfer<OrgFloorVerdict | null>, Error>;
|
|
790
790
|
|
|
791
|
-
type OrgClaimMutationResult = WriteResult
|
|
791
|
+
type OrgClaimMutationResult = WriteResult<Partial<OrgClaimResult>>;
|
|
792
792
|
/**
|
|
793
793
|
* Finalize an org profile claim (`POST /api/org/claim`). Pass the org's
|
|
794
794
|
* handle/DID so the profile cache (which carries the org floor verdict) is
|
|
795
795
|
* invalidated on success; pass `null` to skip invalidation.
|
|
796
796
|
*/
|
|
797
|
-
declare function useOrgClaim(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgClaimMutationResult, Error, OrgClaimRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
797
|
+
declare function useOrgClaim(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgClaimMutationResult, Error, OrgClaimRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgClaimResult>>, Error, {
|
|
798
798
|
name: string;
|
|
799
799
|
entityRefs: string[];
|
|
800
800
|
authorityAck: true;
|
|
@@ -824,12 +824,12 @@ declare function useOrgClaim(handleOrDid: string | null, options?: Omit<UseMutat
|
|
|
824
824
|
personalProfileVisible?: boolean | undefined;
|
|
825
825
|
}, unknown>;
|
|
826
826
|
|
|
827
|
-
type OrgProfileUpdateMutationResult = WriteResult
|
|
827
|
+
type OrgProfileUpdateMutationResult = WriteResult<Partial<OrgProfileUpdateResult>>;
|
|
828
828
|
/**
|
|
829
829
|
* Edit the org record (`PUT /api/org/profile`). Pass the org's handle/DID to
|
|
830
830
|
* invalidate the profile cache (org floor verdict + fields) on success.
|
|
831
831
|
*/
|
|
832
|
-
declare function useUpdateOrgProfile(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgProfileUpdateMutationResult, Error, OrgProfileUpdateRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
832
|
+
declare function useUpdateOrgProfile(handleOrDid: string | null, options?: Omit<UseMutationOptions<OrgProfileUpdateMutationResult, Error, OrgProfileUpdateRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgProfileUpdateResult>>, Error, {
|
|
833
833
|
name: string;
|
|
834
834
|
entityRefs: string[];
|
|
835
835
|
description?: string | undefined;
|
|
@@ -866,13 +866,13 @@ declare function useUpdateOrgProfile(handleOrDid: string | null, options?: Omit<
|
|
|
866
866
|
personalProfileVisible?: boolean | undefined;
|
|
867
867
|
}, unknown>;
|
|
868
868
|
|
|
869
|
-
type OrgDomainChallengeMutationResult = WriteResult
|
|
870
|
-
type OrgDomainVerifyMutationResult = WriteResult
|
|
869
|
+
type OrgDomainChallengeMutationResult = WriteResult<Partial<OrgDomainChallengeResult>>;
|
|
870
|
+
type OrgDomainVerifyMutationResult = WriteResult<Partial<OrgDomainVerifyResult>>;
|
|
871
871
|
/**
|
|
872
872
|
* Issue a one-time DNS TXT domain challenge (`POST /api/org/domains/challenge`).
|
|
873
873
|
* The result carries the TXT record name + value for the org to publish.
|
|
874
874
|
*/
|
|
875
|
-
declare function useOrgDomainChallenge(options?: Omit<UseMutationOptions<OrgDomainChallengeMutationResult, Error, OrgDomainChallengeRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
875
|
+
declare function useOrgDomainChallenge(options?: Omit<UseMutationOptions<OrgDomainChallengeMutationResult, Error, OrgDomainChallengeRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgDomainChallengeResult>>, Error, {
|
|
876
876
|
domain: string;
|
|
877
877
|
}, unknown>;
|
|
878
878
|
/**
|
|
@@ -880,24 +880,24 @@ declare function useOrgDomainChallenge(options?: Omit<UseMutationOptions<OrgDoma
|
|
|
880
880
|
* `status` is `verified` or `pending`; other outcomes surface as
|
|
881
881
|
* `{ success: false }`.
|
|
882
882
|
*/
|
|
883
|
-
declare function useOrgDomainVerify(options?: Omit<UseMutationOptions<OrgDomainVerifyMutationResult, Error, OrgDomainVerifyRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
883
|
+
declare function useOrgDomainVerify(options?: Omit<UseMutationOptions<OrgDomainVerifyMutationResult, Error, OrgDomainVerifyRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgDomainVerifyResult>>, Error, {
|
|
884
884
|
token: string;
|
|
885
885
|
}, unknown>;
|
|
886
886
|
|
|
887
|
-
type OrgNotificationEmailAddMutationResult = WriteResult
|
|
888
|
-
type OrgNotificationEmailRemoveMutationResult = WriteResult
|
|
887
|
+
type OrgNotificationEmailAddMutationResult = WriteResult<Partial<OrgNotificationEmailAddResult>>;
|
|
888
|
+
type OrgNotificationEmailRemoveMutationResult = WriteResult<Partial<OrgNotificationEmailRemoveResult>>;
|
|
889
889
|
/**
|
|
890
890
|
* Add an org notification email (`POST /api/org/notification-emails`). The
|
|
891
891
|
* address must use a domain the org controls (checked server-side). Sending is
|
|
892
892
|
* gated behind the dormant email pipeline until activated.
|
|
893
893
|
*/
|
|
894
|
-
declare function useAddOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailAddMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
894
|
+
declare function useAddOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailAddMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgNotificationEmailAddResult>>, Error, {
|
|
895
895
|
email: string;
|
|
896
896
|
}, unknown>;
|
|
897
897
|
/**
|
|
898
898
|
* Remove an org notification email (`DELETE /api/org/notification-emails`).
|
|
899
899
|
*/
|
|
900
|
-
declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailRemoveMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult
|
|
900
|
+
declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions<OrgNotificationEmailRemoveMutationResult, Error, OrgNotificationEmailRequestInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<OrgNotificationEmailRemoveResult>>, Error, {
|
|
901
901
|
email: string;
|
|
902
902
|
}, unknown>;
|
|
903
903
|
|
package/package.json
CHANGED