@singi-labs/sifa-sdk 0.12.43 → 0.12.44

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.
@@ -294,8 +294,12 @@ declare function verifyExternalAccount(config: SifaApiConfig, rkey: string, opti
294
294
  interface EndorsementInput {
295
295
  /** DID of the person being endorsed. */
296
296
  subjectDid: string;
297
- /** AT-URI of the subject's `id.sifa.profile.skill` record. */
298
- skillUri: string;
297
+ /**
298
+ * AT-URI of the subject's `id.sifa.profile.skill` record. Omit to propose a
299
+ * skill they have not listed; `skillName` then names what is proposed, and
300
+ * the record is created when they accept.
301
+ */
302
+ skillUri?: string;
299
303
  /**
300
304
  * CID of that skill record, pinning the endorsement to the version endorsed.
301
305
  * Optional: the AppView resolves it when omitted, which is the common case
@@ -310,6 +314,12 @@ interface EndorsementInput {
310
314
  comment?: string;
311
315
  }
312
316
  /** Body accepted by {@link confirmEndorsement}. */
317
+ interface ConfirmEndorsementResult {
318
+ /** Skill the endorsement resolved to, created if it was a proposal. */
319
+ skillUri?: string;
320
+ /** True when accepting added a new skill to the profile. */
321
+ skillCreated?: boolean;
322
+ }
313
323
  interface ConfirmEndorsementInput {
314
324
  endorsementUri: string;
315
325
  /**
@@ -332,7 +342,7 @@ declare function createEndorsement(config: SifaApiConfig, data: EndorsementInput
332
342
  * signed-in user's PDS. This is what makes the endorsement public: until the
333
343
  * confirmation exists, the endorsement is indexed but displays nowhere.
334
344
  */
335
- declare function confirmEndorsement(config: SifaApiConfig, data: ConfirmEndorsementInput, options?: ApiFetchOptions): Promise<CreateResult>;
345
+ declare function confirmEndorsement(config: SifaApiConfig, data: ConfirmEndorsementInput, options?: ApiFetchOptions): Promise<CreateResult & ConfirmEndorsementResult>;
336
346
 
337
347
  /** Extended result for {@link refreshOrcidPublications}. */
338
348
  interface RefreshOrcidPublicationsResult extends WriteResult {
@@ -1414,4 +1424,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1414
1424
  */
1415
1425
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1416
1426
 
1417
- export { type OrgNotificationEmailAddResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowProfile as G, type FollowProfilePageResponse as H, type FollowUserResult as I, type FollowingResponse as J, type GithubPullRequest as K, HIDDEN_ITEM_SOURCES as L, HIDDEN_ITEM_TYPES as M, type HeatmapDay as N, type HeatmapResponse as O, type HiddenApp as P, type HiddenItemSource as Q, type HiddenItemType as R, type SifaApiConfig as S, type HideProfileItemInput as T, type ListFeatureAllowlistOptions as U, type MyGithubPullRequestsResponse as V, type WriteResult as W, type OrgClaimBinding as X, type OrgClaimResult as Y, type OrgDomainChallengeResult as Z, type OrgDomainVerifyResult as _, type ConfirmEndorsementInput as a, fetchActivityFeed as a$, type OrgNotificationEmailRemoveResult as a0, type OrgProfileEcho as a1, type OrgProfileUpdateResult as a2, type PdsWipeOutcome as a3, type ProfileIndustryInput as a4, type ProfileLocationAddress as a5, type ProfileLocationInput as a6, type ProfileSearchResult as a7, type ProfileSelfLocation as a8, QUOTED_POSTS_BATCH_MAX as a9, type UploadAvatarResult as aA, type VerifyExternalAccountResult as aB, type WipePreview as aC, addFeatureAllowlist as aD, addOrgNotificationEmail as aE, apiFetch as aF, apiFetchOrNull as aG, apiWrite as aH, apiWriteCreate as aI, bulkHideProfileItems as aJ, bulkHideStandardPublications as aK, bulkUnhideProfileItems as aL, bulkUnhideStandardPublications as aM, castRoadmapVote as aN, checkAppAccount as aO, confirmEndorsement as aP, createEndorsement as aQ, createExternalAccount as aR, createProfileLocation as aS, createReaction as aT, createSkill as aU, deleteAccount as aV, deleteAvatarOverride as aW, deleteExternalAccount as aX, deleteProfileLocation as aY, deleteReaction as aZ, deleteSkill as a_, type QuotedPostAuthor as aa, type QuotedPostImage as ab, type QuotedPostResult as ac, type QuotedPostView as ad, type ReactionError as ae, type ReactionResult as af, type ReactionStatus as ag, type RefreshOrcidPublicationsResult as ah, type RefreshPdsResult as ai, type ResetProfileResult as aj, type ResolveQuotedPostsOptions as ak, type RoadmapVoteError as al, type RoadmapVoteResult as am, type RoadmapVoter as an, type RoadmapVotesResponse as ao, type SearchFilters as ap, type SearchResponse as aq, type SifaQueryKey as ar, type SimilarProfile as as, type SkillSearchResult as at, type StatsResponse as au, type SubCategoryBulkResult as av, type SuggestionProfile as aw, type SuggestionsResponse as ax, type UpdateProfileOverrideInput as ay, type UpdateProfileSelfInput as az, type AccountCheckResult as b, fetchActivityTeaser as b0, fetchAppsRegistry as b1, fetchExternalAccounts as b2, fetchFeaturedProfile as b3, fetchFollowing as b4, fetchHeatmapData as b5, fetchHiddenApps as b6, fetchMyGithubPullRequests as b7, fetchMyRoadmapVotes as b8, fetchReactionStatus as b9, resolveQuotedPosts as bA, retractRoadmapVote as bB, searchSkills as bC, setExternalAccountPrimary as bD, submitOrgClaim as bE, unfollowUser as bF, unhideOrcidPublication as bG, unhideProfileItem as bH, unhideSifaPublication as bI, unhideStandardPublication as bJ, unsetExternalAccountPrimary as bK, updateExternalAccount as bL, updateOrgProfile as bM, updateProfileLocation as bN, updateProfileOverride as bO, updateProfileSelf as bP, updateSkill as bQ, updateSkillSubCategories as bR, uploadAvatar as bS, verifyExternalAccount as bT, verifyOrgDomain as bU, fetchRoadmapVotes as ba, fetchSearchFilters as bb, fetchSearchProfiles as bc, fetchSimilarProfiles as bd, fetchSkillSuggestions as be, fetchStats as bf, fetchSuggestionCount as bg, fetchSuggestions as bh, fetchWipePreview as bi, followUser as bj, getBlueskySuggestions as bk, getFollowers as bl, getFollowing as bm, getFollowingFeed as bn, getMutuals as bo, hideOrcidPublication as bp, hideProfileItem as bq, hideSifaPublication as br, hideStandardPublication as bs, listFeatureAllowlist as bt, refreshOrcidPublications as bu, refreshPds as bv, removeFeatureAllowlist as bw, removeOrgNotificationEmail as bx, requestOrgDomainChallenge as by, resetProfile as bz, type ActivityFeedResponse as c, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityTeaserResponse as f, ApiError as g, type AppRegistryEntry as h, type CastRoadmapVoteResult as i, type CheckAppAccountOptions as j, type CreateExternalAccountResult as k, type ExternalAccountInput as l, type FeaturedProfile as m, type FetchActivityFeedOptions as n, type FetchActivityTeaserOptions as o, type FetchFollowListOptions as p, type FetchFollowProfilePageOptions as q, type FetchFollowingFeedOptions as r, sifaQueryKeys as s, type FetchHiddenAppsOptions as t, type FetchMyGithubPullRequestsOptions as u, type FetchMyRoadmapVotesOptions as v, type FetchReactionStatusOptions as w, type FetchSuggestionsOptions as x, type FilterOptions as y, type FollowListPage as z };
1427
+ export { type OrgDomainVerifyResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowListPage as G, type FollowProfile as H, type FollowProfilePageResponse as I, type FollowUserResult as J, type FollowingResponse as K, type GithubPullRequest as L, HIDDEN_ITEM_SOURCES as M, HIDDEN_ITEM_TYPES as N, type HeatmapDay as O, type HeatmapResponse as P, type HiddenApp as Q, type HiddenItemSource as R, type SifaApiConfig as S, type HiddenItemType as T, type HideProfileItemInput as U, type ListFeatureAllowlistOptions as V, type WriteResult as W, type MyGithubPullRequestsResponse as X, type OrgClaimBinding as Y, type OrgClaimResult as Z, type OrgDomainChallengeResult as _, type ConfirmEndorsementInput as a, deleteSkill as a$, type OrgNotificationEmailAddResult as a0, type OrgNotificationEmailRemoveResult as a1, type OrgProfileEcho as a2, type OrgProfileUpdateResult as a3, type PdsWipeOutcome as a4, type ProfileIndustryInput as a5, type ProfileLocationAddress as a6, type ProfileLocationInput as a7, type ProfileSearchResult as a8, type ProfileSelfLocation as a9, type UpdateProfileSelfInput as aA, type UploadAvatarResult as aB, type VerifyExternalAccountResult as aC, type WipePreview as aD, addFeatureAllowlist as aE, addOrgNotificationEmail as aF, apiFetch as aG, apiFetchOrNull as aH, apiWrite as aI, apiWriteCreate as aJ, bulkHideProfileItems as aK, bulkHideStandardPublications as aL, bulkUnhideProfileItems as aM, bulkUnhideStandardPublications as aN, castRoadmapVote as aO, checkAppAccount as aP, confirmEndorsement as aQ, createEndorsement as aR, createExternalAccount as aS, createProfileLocation as aT, createReaction as aU, createSkill as aV, deleteAccount as aW, deleteAvatarOverride as aX, deleteExternalAccount as aY, deleteProfileLocation as aZ, deleteReaction as a_, QUOTED_POSTS_BATCH_MAX as aa, type QuotedPostAuthor as ab, type QuotedPostImage as ac, type QuotedPostResult as ad, type QuotedPostView as ae, type ReactionError as af, type ReactionResult as ag, type ReactionStatus as ah, type RefreshOrcidPublicationsResult as ai, type RefreshPdsResult as aj, type ResetProfileResult as ak, type ResolveQuotedPostsOptions as al, type RoadmapVoteError as am, type RoadmapVoteResult as an, type RoadmapVoter as ao, type RoadmapVotesResponse as ap, type SearchFilters as aq, type SearchResponse as ar, type SifaQueryKey as as, type SimilarProfile as at, type SkillSearchResult as au, type StatsResponse as av, type SubCategoryBulkResult as aw, type SuggestionProfile as ax, type SuggestionsResponse as ay, type UpdateProfileOverrideInput as az, type ConfirmEndorsementResult as b, fetchActivityFeed as b0, fetchActivityTeaser as b1, fetchAppsRegistry as b2, fetchExternalAccounts as b3, fetchFeaturedProfile as b4, fetchFollowing as b5, fetchHeatmapData as b6, fetchHiddenApps as b7, fetchMyGithubPullRequests as b8, fetchMyRoadmapVotes as b9, resetProfile as bA, resolveQuotedPosts as bB, retractRoadmapVote as bC, searchSkills as bD, setExternalAccountPrimary as bE, submitOrgClaim as bF, unfollowUser as bG, unhideOrcidPublication as bH, unhideProfileItem as bI, unhideSifaPublication as bJ, unhideStandardPublication as bK, unsetExternalAccountPrimary as bL, updateExternalAccount as bM, updateOrgProfile as bN, updateProfileLocation as bO, updateProfileOverride as bP, updateProfileSelf as bQ, updateSkill as bR, updateSkillSubCategories as bS, uploadAvatar as bT, verifyExternalAccount as bU, verifyOrgDomain as bV, fetchReactionStatus as ba, fetchRoadmapVotes as bb, fetchSearchFilters as bc, fetchSearchProfiles as bd, fetchSimilarProfiles as be, fetchSkillSuggestions as bf, fetchStats as bg, fetchSuggestionCount as bh, fetchSuggestions as bi, fetchWipePreview as bj, followUser as bk, getBlueskySuggestions as bl, getFollowers as bm, getFollowing as bn, getFollowingFeed as bo, getMutuals as bp, hideOrcidPublication as bq, hideProfileItem as br, hideSifaPublication as bs, hideStandardPublication as bt, listFeatureAllowlist as bu, refreshOrcidPublications as bv, refreshPds as bw, removeFeatureAllowlist as bx, removeOrgNotificationEmail as by, requestOrgDomainChallenge as bz, type AccountCheckResult as c, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, ApiError as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type CreateExternalAccountResult as l, type ExternalAccountInput as m, type FeaturedProfile as n, type FetchActivityFeedOptions as o, type FetchActivityTeaserOptions as p, type FetchFollowListOptions as q, type FetchFollowProfilePageOptions as r, sifaQueryKeys as s, type FetchFollowingFeedOptions as t, type FetchHiddenAppsOptions as u, type FetchMyGithubPullRequestsOptions as v, type FetchMyRoadmapVotesOptions as w, type FetchReactionStatusOptions as x, type FetchSuggestionsOptions as y, type FilterOptions as z };
@@ -294,8 +294,12 @@ declare function verifyExternalAccount(config: SifaApiConfig, rkey: string, opti
294
294
  interface EndorsementInput {
295
295
  /** DID of the person being endorsed. */
296
296
  subjectDid: string;
297
- /** AT-URI of the subject's `id.sifa.profile.skill` record. */
298
- skillUri: string;
297
+ /**
298
+ * AT-URI of the subject's `id.sifa.profile.skill` record. Omit to propose a
299
+ * skill they have not listed; `skillName` then names what is proposed, and
300
+ * the record is created when they accept.
301
+ */
302
+ skillUri?: string;
299
303
  /**
300
304
  * CID of that skill record, pinning the endorsement to the version endorsed.
301
305
  * Optional: the AppView resolves it when omitted, which is the common case
@@ -310,6 +314,12 @@ interface EndorsementInput {
310
314
  comment?: string;
311
315
  }
312
316
  /** Body accepted by {@link confirmEndorsement}. */
317
+ interface ConfirmEndorsementResult {
318
+ /** Skill the endorsement resolved to, created if it was a proposal. */
319
+ skillUri?: string;
320
+ /** True when accepting added a new skill to the profile. */
321
+ skillCreated?: boolean;
322
+ }
313
323
  interface ConfirmEndorsementInput {
314
324
  endorsementUri: string;
315
325
  /**
@@ -332,7 +342,7 @@ declare function createEndorsement(config: SifaApiConfig, data: EndorsementInput
332
342
  * signed-in user's PDS. This is what makes the endorsement public: until the
333
343
  * confirmation exists, the endorsement is indexed but displays nowhere.
334
344
  */
335
- declare function confirmEndorsement(config: SifaApiConfig, data: ConfirmEndorsementInput, options?: ApiFetchOptions): Promise<CreateResult>;
345
+ declare function confirmEndorsement(config: SifaApiConfig, data: ConfirmEndorsementInput, options?: ApiFetchOptions): Promise<CreateResult & ConfirmEndorsementResult>;
336
346
 
337
347
  /** Extended result for {@link refreshOrcidPublications}. */
338
348
  interface RefreshOrcidPublicationsResult extends WriteResult {
@@ -1414,4 +1424,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1414
1424
  */
1415
1425
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1416
1426
 
1417
- export { type OrgNotificationEmailAddResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowProfile as G, type FollowProfilePageResponse as H, type FollowUserResult as I, type FollowingResponse as J, type GithubPullRequest as K, HIDDEN_ITEM_SOURCES as L, HIDDEN_ITEM_TYPES as M, type HeatmapDay as N, type HeatmapResponse as O, type HiddenApp as P, type HiddenItemSource as Q, type HiddenItemType as R, type SifaApiConfig as S, type HideProfileItemInput as T, type ListFeatureAllowlistOptions as U, type MyGithubPullRequestsResponse as V, type WriteResult as W, type OrgClaimBinding as X, type OrgClaimResult as Y, type OrgDomainChallengeResult as Z, type OrgDomainVerifyResult as _, type ConfirmEndorsementInput as a, fetchActivityFeed as a$, type OrgNotificationEmailRemoveResult as a0, type OrgProfileEcho as a1, type OrgProfileUpdateResult as a2, type PdsWipeOutcome as a3, type ProfileIndustryInput as a4, type ProfileLocationAddress as a5, type ProfileLocationInput as a6, type ProfileSearchResult as a7, type ProfileSelfLocation as a8, QUOTED_POSTS_BATCH_MAX as a9, type UploadAvatarResult as aA, type VerifyExternalAccountResult as aB, type WipePreview as aC, addFeatureAllowlist as aD, addOrgNotificationEmail as aE, apiFetch as aF, apiFetchOrNull as aG, apiWrite as aH, apiWriteCreate as aI, bulkHideProfileItems as aJ, bulkHideStandardPublications as aK, bulkUnhideProfileItems as aL, bulkUnhideStandardPublications as aM, castRoadmapVote as aN, checkAppAccount as aO, confirmEndorsement as aP, createEndorsement as aQ, createExternalAccount as aR, createProfileLocation as aS, createReaction as aT, createSkill as aU, deleteAccount as aV, deleteAvatarOverride as aW, deleteExternalAccount as aX, deleteProfileLocation as aY, deleteReaction as aZ, deleteSkill as a_, type QuotedPostAuthor as aa, type QuotedPostImage as ab, type QuotedPostResult as ac, type QuotedPostView as ad, type ReactionError as ae, type ReactionResult as af, type ReactionStatus as ag, type RefreshOrcidPublicationsResult as ah, type RefreshPdsResult as ai, type ResetProfileResult as aj, type ResolveQuotedPostsOptions as ak, type RoadmapVoteError as al, type RoadmapVoteResult as am, type RoadmapVoter as an, type RoadmapVotesResponse as ao, type SearchFilters as ap, type SearchResponse as aq, type SifaQueryKey as ar, type SimilarProfile as as, type SkillSearchResult as at, type StatsResponse as au, type SubCategoryBulkResult as av, type SuggestionProfile as aw, type SuggestionsResponse as ax, type UpdateProfileOverrideInput as ay, type UpdateProfileSelfInput as az, type AccountCheckResult as b, fetchActivityTeaser as b0, fetchAppsRegistry as b1, fetchExternalAccounts as b2, fetchFeaturedProfile as b3, fetchFollowing as b4, fetchHeatmapData as b5, fetchHiddenApps as b6, fetchMyGithubPullRequests as b7, fetchMyRoadmapVotes as b8, fetchReactionStatus as b9, resolveQuotedPosts as bA, retractRoadmapVote as bB, searchSkills as bC, setExternalAccountPrimary as bD, submitOrgClaim as bE, unfollowUser as bF, unhideOrcidPublication as bG, unhideProfileItem as bH, unhideSifaPublication as bI, unhideStandardPublication as bJ, unsetExternalAccountPrimary as bK, updateExternalAccount as bL, updateOrgProfile as bM, updateProfileLocation as bN, updateProfileOverride as bO, updateProfileSelf as bP, updateSkill as bQ, updateSkillSubCategories as bR, uploadAvatar as bS, verifyExternalAccount as bT, verifyOrgDomain as bU, fetchRoadmapVotes as ba, fetchSearchFilters as bb, fetchSearchProfiles as bc, fetchSimilarProfiles as bd, fetchSkillSuggestions as be, fetchStats as bf, fetchSuggestionCount as bg, fetchSuggestions as bh, fetchWipePreview as bi, followUser as bj, getBlueskySuggestions as bk, getFollowers as bl, getFollowing as bm, getFollowingFeed as bn, getMutuals as bo, hideOrcidPublication as bp, hideProfileItem as bq, hideSifaPublication as br, hideStandardPublication as bs, listFeatureAllowlist as bt, refreshOrcidPublications as bu, refreshPds as bv, removeFeatureAllowlist as bw, removeOrgNotificationEmail as bx, requestOrgDomainChallenge as by, resetProfile as bz, type ActivityFeedResponse as c, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityTeaserResponse as f, ApiError as g, type AppRegistryEntry as h, type CastRoadmapVoteResult as i, type CheckAppAccountOptions as j, type CreateExternalAccountResult as k, type ExternalAccountInput as l, type FeaturedProfile as m, type FetchActivityFeedOptions as n, type FetchActivityTeaserOptions as o, type FetchFollowListOptions as p, type FetchFollowProfilePageOptions as q, type FetchFollowingFeedOptions as r, sifaQueryKeys as s, type FetchHiddenAppsOptions as t, type FetchMyGithubPullRequestsOptions as u, type FetchMyRoadmapVotesOptions as v, type FetchReactionStatusOptions as w, type FetchSuggestionsOptions as x, type FilterOptions as y, type FollowListPage as z };
1427
+ export { type OrgDomainVerifyResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FollowListPage as G, type FollowProfile as H, type FollowProfilePageResponse as I, type FollowUserResult as J, type FollowingResponse as K, type GithubPullRequest as L, HIDDEN_ITEM_SOURCES as M, HIDDEN_ITEM_TYPES as N, type HeatmapDay as O, type HeatmapResponse as P, type HiddenApp as Q, type HiddenItemSource as R, type SifaApiConfig as S, type HiddenItemType as T, type HideProfileItemInput as U, type ListFeatureAllowlistOptions as V, type WriteResult as W, type MyGithubPullRequestsResponse as X, type OrgClaimBinding as Y, type OrgClaimResult as Z, type OrgDomainChallengeResult as _, type ConfirmEndorsementInput as a, deleteSkill as a$, type OrgNotificationEmailAddResult as a0, type OrgNotificationEmailRemoveResult as a1, type OrgProfileEcho as a2, type OrgProfileUpdateResult as a3, type PdsWipeOutcome as a4, type ProfileIndustryInput as a5, type ProfileLocationAddress as a6, type ProfileLocationInput as a7, type ProfileSearchResult as a8, type ProfileSelfLocation as a9, type UpdateProfileSelfInput as aA, type UploadAvatarResult as aB, type VerifyExternalAccountResult as aC, type WipePreview as aD, addFeatureAllowlist as aE, addOrgNotificationEmail as aF, apiFetch as aG, apiFetchOrNull as aH, apiWrite as aI, apiWriteCreate as aJ, bulkHideProfileItems as aK, bulkHideStandardPublications as aL, bulkUnhideProfileItems as aM, bulkUnhideStandardPublications as aN, castRoadmapVote as aO, checkAppAccount as aP, confirmEndorsement as aQ, createEndorsement as aR, createExternalAccount as aS, createProfileLocation as aT, createReaction as aU, createSkill as aV, deleteAccount as aW, deleteAvatarOverride as aX, deleteExternalAccount as aY, deleteProfileLocation as aZ, deleteReaction as a_, QUOTED_POSTS_BATCH_MAX as aa, type QuotedPostAuthor as ab, type QuotedPostImage as ac, type QuotedPostResult as ad, type QuotedPostView as ae, type ReactionError as af, type ReactionResult as ag, type ReactionStatus as ah, type RefreshOrcidPublicationsResult as ai, type RefreshPdsResult as aj, type ResetProfileResult as ak, type ResolveQuotedPostsOptions as al, type RoadmapVoteError as am, type RoadmapVoteResult as an, type RoadmapVoter as ao, type RoadmapVotesResponse as ap, type SearchFilters as aq, type SearchResponse as ar, type SifaQueryKey as as, type SimilarProfile as at, type SkillSearchResult as au, type StatsResponse as av, type SubCategoryBulkResult as aw, type SuggestionProfile as ax, type SuggestionsResponse as ay, type UpdateProfileOverrideInput as az, type ConfirmEndorsementResult as b, fetchActivityFeed as b0, fetchActivityTeaser as b1, fetchAppsRegistry as b2, fetchExternalAccounts as b3, fetchFeaturedProfile as b4, fetchFollowing as b5, fetchHeatmapData as b6, fetchHiddenApps as b7, fetchMyGithubPullRequests as b8, fetchMyRoadmapVotes as b9, resetProfile as bA, resolveQuotedPosts as bB, retractRoadmapVote as bC, searchSkills as bD, setExternalAccountPrimary as bE, submitOrgClaim as bF, unfollowUser as bG, unhideOrcidPublication as bH, unhideProfileItem as bI, unhideSifaPublication as bJ, unhideStandardPublication as bK, unsetExternalAccountPrimary as bL, updateExternalAccount as bM, updateOrgProfile as bN, updateProfileLocation as bO, updateProfileOverride as bP, updateProfileSelf as bQ, updateSkill as bR, updateSkillSubCategories as bS, uploadAvatar as bT, verifyExternalAccount as bU, verifyOrgDomain as bV, fetchReactionStatus as ba, fetchRoadmapVotes as bb, fetchSearchFilters as bc, fetchSearchProfiles as bd, fetchSimilarProfiles as be, fetchSkillSuggestions as bf, fetchStats as bg, fetchSuggestionCount as bh, fetchSuggestions as bi, fetchWipePreview as bj, followUser as bk, getBlueskySuggestions as bl, getFollowers as bm, getFollowing as bn, getFollowingFeed as bo, getMutuals as bp, hideOrcidPublication as bq, hideProfileItem as br, hideSifaPublication as bs, hideStandardPublication as bt, listFeatureAllowlist as bu, refreshOrcidPublications as bv, refreshPds as bw, removeFeatureAllowlist as bx, removeOrgNotificationEmail as by, requestOrgDomainChallenge as bz, type AccountCheckResult as c, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, ApiError as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type CreateExternalAccountResult as l, type ExternalAccountInput as m, type FeaturedProfile as n, type FetchActivityFeedOptions as o, type FetchActivityTeaserOptions as p, type FetchFollowListOptions as q, type FetchFollowProfilePageOptions as r, sifaQueryKeys as s, type FetchFollowingFeedOptions as t, type FetchHiddenAppsOptions as u, type FetchMyGithubPullRequestsOptions as v, type FetchMyRoadmapVotesOptions as w, type FetchReactionStatusOptions as x, type FetchSuggestionsOptions as y, type FilterOptions as z };
@@ -381,7 +381,12 @@ function createEndorsement(config, data, options = {}) {
381
381
  return apiWriteCreate(config, "/api/endorsement", data, options);
382
382
  }
383
383
  function confirmEndorsement(config, data, options = {}) {
384
- return apiWriteCreate(config, "/api/endorsement/confirm", data, options);
384
+ return apiWriteCreate(
385
+ config,
386
+ "/api/endorsement/confirm",
387
+ data,
388
+ options
389
+ );
385
390
  }
386
391
 
387
392
  // src/query/fetchers/endorsement-inbox.ts