@singi-labs/sifa-sdk 0.23.0 → 0.23.1

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 (57) hide show
  1. package/dist/badge/index.cjs.map +1 -1
  2. package/dist/{follow-profile-DGZzB5iM.d.ts → follow-profile-CCL1tT1x.d.ts} +1 -1
  3. package/dist/{follow-profile-BG_6eZwW.d.cts → follow-profile-RijPgyp-.d.cts} +1 -1
  4. package/dist/{index-BR8LDBo1.d.ts → index-Bcy443Qi.d.ts} +1 -1
  5. package/dist/{index-BKvI1Bvg.d.cts → index-Ck5zdubP.d.cts} +1 -1
  6. package/dist/index.cjs +25 -6
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +9 -9
  9. package/dist/index.d.ts +9 -9
  10. package/dist/index.js +15 -1
  11. package/dist/index.js.map +1 -1
  12. package/dist/jsonld/index.d.cts +2 -2
  13. package/dist/jsonld/index.d.ts +2 -2
  14. package/dist/{network-map-CMyjk6jc.d.ts → network-map-BGO1feWW.d.ts} +4 -4
  15. package/dist/{network-map-CqLYThmY.d.cts → network-map-DBiloRce.d.cts} +4 -4
  16. package/dist/{profile-summary-Sv6rqQbx.d.ts → profile-summary-5jNVFUR9.d.ts} +1 -1
  17. package/dist/{profile-summary-CoTNGDpt.d.cts → profile-summary-DJVnLbFV.d.cts} +1 -1
  18. package/dist/publishing/index.cjs +15 -5
  19. package/dist/publishing/index.cjs.map +1 -1
  20. package/dist/query/client.js +20 -1
  21. package/dist/query/client.js.map +1 -1
  22. package/dist/query/fetchers/index.cjs +35 -6
  23. package/dist/query/fetchers/index.cjs.map +1 -1
  24. package/dist/query/fetchers/index.d.cts +8 -8
  25. package/dist/query/fetchers/index.d.ts +8 -8
  26. package/dist/query/hooks/index.cjs +35 -6
  27. package/dist/query/hooks/index.cjs.map +1 -1
  28. package/dist/query/hooks/index.d.cts +6 -6
  29. package/dist/query/hooks/index.d.ts +6 -6
  30. package/dist/query/index.cjs +20 -1
  31. package/dist/query/index.cjs.map +1 -1
  32. package/dist/query/index.d.cts +11 -11
  33. package/dist/query/index.d.ts +11 -11
  34. package/dist/query/index.js.map +1 -1
  35. package/dist/resume/index.d.cts +2 -2
  36. package/dist/resume/index.d.ts +2 -2
  37. package/dist/schemas/index.cjs +24 -5
  38. package/dist/schemas/index.cjs.map +1 -1
  39. package/dist/schemas/index.d.cts +2 -2
  40. package/dist/schemas/index.d.ts +2 -2
  41. package/dist/schemas/index.js +14 -0
  42. package/dist/schemas/index.js.map +1 -1
  43. package/dist/schemas/shared.js +18 -5
  44. package/dist/schemas/shared.js.map +1 -1
  45. package/dist/schemas/write/index.cjs +15 -5
  46. package/dist/schemas/write/index.cjs.map +1 -1
  47. package/dist/testing/index.d.cts +2 -2
  48. package/dist/testing/index.d.ts +2 -2
  49. package/dist/{types-CcVRIHcX.d.ts → types-4MZHuQif.d.cts} +15 -3
  50. package/dist/{types-BC4A9-W9.d.cts → types-DJrmm7p0.d.ts} +15 -3
  51. package/dist/{use-user-settings-CI9eZQpp.d.ts → use-user-settings-BfGwI4x3.d.ts} +4 -4
  52. package/dist/{use-user-settings-CfQKSBAC.d.cts → use-user-settings-g8ATc9zm.d.cts} +4 -4
  53. package/dist/{user-settings-C65eFsPR.d.ts → user-settings-C3_y8_8T.d.ts} +4 -4
  54. package/dist/{user-settings-BVFxLAOa.d.cts → user-settings-CuqhXuTE.d.cts} +4 -4
  55. package/dist/{verification-providers-DQLIOSCK.d.cts → verification-providers-Dq6ni6e-.d.cts} +52 -1
  56. package/dist/{verification-providers-DQLIOSCK.d.ts → verification-providers-Dq6ni6e-.d.ts} +52 -1
  57. package/package.json +4 -1
@@ -1,13 +1,13 @@
1
- import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-BC4A9-W9.cjs';
2
- export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-BC4A9-W9.cjs';
3
- export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-CqLYThmY.cjs';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRoadmapOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapBoardItem, aO as RoadmapBoardSize, aP as RoadmapBoardStatus, aQ as RoadmapItemRef, aR as RoadmapVoteError, aS as RoadmapVoteResult, aT as RoadmapVoter, aU as RpgClaimableResponse, aV as RpgClaimableResponseSchema, aW as RpgItemStatus, aX as RpgItemStatusSchema, aY as RpgStatusResponse, aZ as RpgStatusResponseSchema, a_ as SifaQueryKey, a$ as SimilarProfile, b0 as SiteActivityPresetResponse, b1 as StatsResponse, b3 as SuggestionProfile, b4 as SuggestionsResponse, b5 as UnhideActivityItemInput, b6 as UnlinkedPosition, b7 as UnlinkedPositionsResult, b8 as UpdateActivityPreferencesInput, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, bd as UserSettings, be as UserSettingsPatch, bf as UserSettingsSchema, bg as VerifyExternalAccountResult, bh as WipePreview, bi as addFeatureAllowlist, bj as addOrgNotificationEmail, bk as bulkHideProfileItems, bl as bulkHideStandardPublications, bm as bulkUnhideProfileItems, bn as bulkUnhideStandardPublications, bo as castRoadmapItemVote, bp as checkAppAccount, bq as clearCompletenessDismissals, br as confirmEndorsement, bs as createConfirmation, bt as createEndorsement, bu as createExternalAccount, bv as createProfileLocation, bw as createReaction, bx as createSkill, by as deleteAccount, bz as deleteAvatarOverride, bA as deleteExternalAccount, bB as deleteNamePronunciationAudio, bC as deleteProfileLocation, bD as deleteReaction, bE as deleteRepoRecords, bF as deleteSkill, bG as dismissCompletenessSignal, bH as dismissConfirmation, bI as dismissUnlinkedPosition, bJ as fetchAccounts, bK as fetchActivityFeed, bL as fetchActivityPreferences, bM as fetchActivityTeaser, bN as fetchAppsRegistry, bO as fetchExternalAccounts, bP as fetchFeaturedProfile, bQ as fetchFollowing, bR as fetchFollowingFeed, bS as fetchFollowingFeedVersion, bT as fetchGivenConfirmations, bU as fetchHeatmapData, bV as fetchHiddenActivityItems, bW as fetchHiddenApps, bX as fetchInboxCounts, bY as fetchMyGithubPullRequests, bZ as fetchPendingConfirmations, b_ as fetchProfileCompleteness, b$ as fetchReactionStatus, c0 as fetchRepoInventory, c1 as fetchRoadmap, c2 as fetchRpgClaimable, c3 as fetchRpgStatus, c4 as fetchSimilarProfiles, c5 as fetchSiteActivityPreset, c6 as fetchStats, c7 as fetchSuggestionCount, c8 as fetchSuggestions, c9 as fetchUnlinkedPositions, ca as fetchUserSettings, cb as fetchViewerPositionConfirmations, cc as fetchWipePreview, cd as followUser, ce as getAdminReviewQueues, cf as getBlueskySuggestions, cg as getFollowers, ch as getFollowing, ci as getMutuals, cj as hideActivityItem, ck as hideOrcidPublication, cl as hideProfileItem, cm as hideSifaPublication, cn as hideStandardPublication, co as isNewerFollowingFeed, cp as listFeatureAllowlist, cq as refreshOrcidPublications, cr as refreshPds, cs as removeFeatureAllowlist, ct as removeOrgNotificationEmail, cu as repoExportUrl, cv as requestOrgDomainChallenge, cw as resetProfile, cx as resolveQuotedPosts, cy as retractRoadmapItemVote, cz as revokeConfirmation, cA as setExternalAccountPrimary, cB as setSectionPrimary, s as sifaQueryKeys, cC as submitOrgClaim, cD as switchAccount, cE as unfollowUser, cF as unhideActivityItem, cG as unhideOrcidPublication, cH as unhideProfileItem, cI as unhideSifaPublication, cJ as unhideStandardPublication, cK as unsetExternalAccountPrimary, cL as unsetSectionPrimary, cM as updateActivityPreferences, cN as updateExternalAccount, cO as updateOrgProfile, cP as updateProfileLocation, cQ as updateProfileOverride, cR as updateProfileSelf, cS as updateSkill, cU as updateUserSettings, cV as uploadAvatar, cW as uploadNamePronunciationAudio, cX as verifyExternalAccount, cY as verifyOrgDomain } from '../../user-settings-BVFxLAOa.cjs';
5
- import '../../index-BKvI1Bvg.cjs';
6
- import '../../verification-providers-DQLIOSCK.cjs';
1
+ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-4MZHuQif.cjs';
2
+ export { a4 as ApiError, ak as CompanySearchFilters, al as CompanySearchResponse, am as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ac as apiFetch, ad as apiFetchOrNull, ae as apiWrite, af as apiWriteCreate, an as fetchSearchCompanies, ag as fetchSearchFilters, ah as fetchSearchProfiles, ai as fetchSkillSuggestions, aj as searchSkills } from '../../types-4MZHuQif.cjs';
3
+ export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-DBiloRce.cjs';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRoadmapOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapBoardItem, aO as RoadmapBoardSize, aP as RoadmapBoardStatus, aQ as RoadmapItemRef, aR as RoadmapVoteError, aS as RoadmapVoteResult, aT as RoadmapVoter, aU as RpgClaimableResponse, aV as RpgClaimableResponseSchema, aW as RpgItemStatus, aX as RpgItemStatusSchema, aY as RpgStatusResponse, aZ as RpgStatusResponseSchema, a_ as SifaQueryKey, a$ as SimilarProfile, b0 as SiteActivityPresetResponse, b1 as StatsResponse, b3 as SuggestionProfile, b4 as SuggestionsResponse, b5 as UnhideActivityItemInput, b6 as UnlinkedPosition, b7 as UnlinkedPositionsResult, b8 as UpdateActivityPreferencesInput, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, bd as UserSettings, be as UserSettingsPatch, bf as UserSettingsSchema, bg as VerifyExternalAccountResult, bh as WipePreview, bi as addFeatureAllowlist, bj as addOrgNotificationEmail, bk as bulkHideProfileItems, bl as bulkHideStandardPublications, bm as bulkUnhideProfileItems, bn as bulkUnhideStandardPublications, bo as castRoadmapItemVote, bp as checkAppAccount, bq as clearCompletenessDismissals, br as confirmEndorsement, bs as createConfirmation, bt as createEndorsement, bu as createExternalAccount, bv as createProfileLocation, bw as createReaction, bx as createSkill, by as deleteAccount, bz as deleteAvatarOverride, bA as deleteExternalAccount, bB as deleteNamePronunciationAudio, bC as deleteProfileLocation, bD as deleteReaction, bE as deleteRepoRecords, bF as deleteSkill, bG as dismissCompletenessSignal, bH as dismissConfirmation, bI as dismissUnlinkedPosition, bJ as fetchAccounts, bK as fetchActivityFeed, bL as fetchActivityPreferences, bM as fetchActivityTeaser, bN as fetchAppsRegistry, bO as fetchExternalAccounts, bP as fetchFeaturedProfile, bQ as fetchFollowing, bR as fetchFollowingFeed, bS as fetchFollowingFeedVersion, bT as fetchGivenConfirmations, bU as fetchHeatmapData, bV as fetchHiddenActivityItems, bW as fetchHiddenApps, bX as fetchInboxCounts, bY as fetchMyGithubPullRequests, bZ as fetchPendingConfirmations, b_ as fetchProfileCompleteness, b$ as fetchReactionStatus, c0 as fetchRepoInventory, c1 as fetchRoadmap, c2 as fetchRpgClaimable, c3 as fetchRpgStatus, c4 as fetchSimilarProfiles, c5 as fetchSiteActivityPreset, c6 as fetchStats, c7 as fetchSuggestionCount, c8 as fetchSuggestions, c9 as fetchUnlinkedPositions, ca as fetchUserSettings, cb as fetchViewerPositionConfirmations, cc as fetchWipePreview, cd as followUser, ce as getAdminReviewQueues, cf as getBlueskySuggestions, cg as getFollowers, ch as getFollowing, ci as getMutuals, cj as hideActivityItem, ck as hideOrcidPublication, cl as hideProfileItem, cm as hideSifaPublication, cn as hideStandardPublication, co as isNewerFollowingFeed, cp as listFeatureAllowlist, cq as refreshOrcidPublications, cr as refreshPds, cs as removeFeatureAllowlist, ct as removeOrgNotificationEmail, cu as repoExportUrl, cv as requestOrgDomainChallenge, cw as resetProfile, cx as resolveQuotedPosts, cy as retractRoadmapItemVote, cz as revokeConfirmation, cA as setExternalAccountPrimary, cB as setSectionPrimary, s as sifaQueryKeys, cC as submitOrgClaim, cD as switchAccount, cE as unfollowUser, cF as unhideActivityItem, cG as unhideOrcidPublication, cH as unhideProfileItem, cI as unhideSifaPublication, cJ as unhideStandardPublication, cK as unsetExternalAccountPrimary, cL as unsetSectionPrimary, cM as updateActivityPreferences, cN as updateExternalAccount, cO as updateOrgProfile, cP as updateProfileLocation, cQ as updateProfileOverride, cR as updateProfileSelf, cS as updateSkill, cU as updateUserSettings, cV as uploadAvatar, cW as uploadNamePronunciationAudio, cX as verifyExternalAccount, cY as verifyOrgDomain } from '../../user-settings-CuqhXuTE.cjs';
5
+ import '../../index-Ck5zdubP.cjs';
6
+ import '../../verification-providers-Dq6ni6e-.cjs';
7
7
  import 'zod';
8
8
  import '../../germ-declaration-BQBocGww.cjs';
9
- import '../../profile-summary-CoTNGDpt.cjs';
10
- import '../../follow-profile-BG_6eZwW.cjs';
9
+ import '../../profile-summary-DJVnLbFV.cjs';
10
+ import '../../follow-profile-RijPgyp-.cjs';
11
11
  import '../../org-settings-BliQdqbB.cjs';
12
12
 
13
13
  /**
@@ -1,13 +1,13 @@
1
- import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-CcVRIHcX.js';
2
- export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-CcVRIHcX.js';
3
- export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-CMyjk6jc.js';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRoadmapOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapBoardItem, aO as RoadmapBoardSize, aP as RoadmapBoardStatus, aQ as RoadmapItemRef, aR as RoadmapVoteError, aS as RoadmapVoteResult, aT as RoadmapVoter, aU as RpgClaimableResponse, aV as RpgClaimableResponseSchema, aW as RpgItemStatus, aX as RpgItemStatusSchema, aY as RpgStatusResponse, aZ as RpgStatusResponseSchema, a_ as SifaQueryKey, a$ as SimilarProfile, b0 as SiteActivityPresetResponse, b1 as StatsResponse, b3 as SuggestionProfile, b4 as SuggestionsResponse, b5 as UnhideActivityItemInput, b6 as UnlinkedPosition, b7 as UnlinkedPositionsResult, b8 as UpdateActivityPreferencesInput, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, bd as UserSettings, be as UserSettingsPatch, bf as UserSettingsSchema, bg as VerifyExternalAccountResult, bh as WipePreview, bi as addFeatureAllowlist, bj as addOrgNotificationEmail, bk as bulkHideProfileItems, bl as bulkHideStandardPublications, bm as bulkUnhideProfileItems, bn as bulkUnhideStandardPublications, bo as castRoadmapItemVote, bp as checkAppAccount, bq as clearCompletenessDismissals, br as confirmEndorsement, bs as createConfirmation, bt as createEndorsement, bu as createExternalAccount, bv as createProfileLocation, bw as createReaction, bx as createSkill, by as deleteAccount, bz as deleteAvatarOverride, bA as deleteExternalAccount, bB as deleteNamePronunciationAudio, bC as deleteProfileLocation, bD as deleteReaction, bE as deleteRepoRecords, bF as deleteSkill, bG as dismissCompletenessSignal, bH as dismissConfirmation, bI as dismissUnlinkedPosition, bJ as fetchAccounts, bK as fetchActivityFeed, bL as fetchActivityPreferences, bM as fetchActivityTeaser, bN as fetchAppsRegistry, bO as fetchExternalAccounts, bP as fetchFeaturedProfile, bQ as fetchFollowing, bR as fetchFollowingFeed, bS as fetchFollowingFeedVersion, bT as fetchGivenConfirmations, bU as fetchHeatmapData, bV as fetchHiddenActivityItems, bW as fetchHiddenApps, bX as fetchInboxCounts, bY as fetchMyGithubPullRequests, bZ as fetchPendingConfirmations, b_ as fetchProfileCompleteness, b$ as fetchReactionStatus, c0 as fetchRepoInventory, c1 as fetchRoadmap, c2 as fetchRpgClaimable, c3 as fetchRpgStatus, c4 as fetchSimilarProfiles, c5 as fetchSiteActivityPreset, c6 as fetchStats, c7 as fetchSuggestionCount, c8 as fetchSuggestions, c9 as fetchUnlinkedPositions, ca as fetchUserSettings, cb as fetchViewerPositionConfirmations, cc as fetchWipePreview, cd as followUser, ce as getAdminReviewQueues, cf as getBlueskySuggestions, cg as getFollowers, ch as getFollowing, ci as getMutuals, cj as hideActivityItem, ck as hideOrcidPublication, cl as hideProfileItem, cm as hideSifaPublication, cn as hideStandardPublication, co as isNewerFollowingFeed, cp as listFeatureAllowlist, cq as refreshOrcidPublications, cr as refreshPds, cs as removeFeatureAllowlist, ct as removeOrgNotificationEmail, cu as repoExportUrl, cv as requestOrgDomainChallenge, cw as resetProfile, cx as resolveQuotedPosts, cy as retractRoadmapItemVote, cz as revokeConfirmation, cA as setExternalAccountPrimary, cB as setSectionPrimary, s as sifaQueryKeys, cC as submitOrgClaim, cD as switchAccount, cE as unfollowUser, cF as unhideActivityItem, cG as unhideOrcidPublication, cH as unhideProfileItem, cI as unhideSifaPublication, cJ as unhideStandardPublication, cK as unsetExternalAccountPrimary, cL as unsetSectionPrimary, cM as updateActivityPreferences, cN as updateExternalAccount, cO as updateOrgProfile, cP as updateProfileLocation, cQ as updateProfileOverride, cR as updateProfileSelf, cS as updateSkill, cU as updateUserSettings, cV as uploadAvatar, cW as uploadNamePronunciationAudio, cX as verifyExternalAccount, cY as verifyOrgDomain } from '../../user-settings-C65eFsPR.js';
5
- import '../../index-BR8LDBo1.js';
6
- import '../../verification-providers-DQLIOSCK.js';
1
+ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, a2 as WriteResult } from '../../types-DJrmm7p0.js';
2
+ export { a4 as ApiError, ak as CompanySearchFilters, al as CompanySearchResponse, am as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ac as apiFetch, ad as apiFetchOrNull, ae as apiWrite, af as apiWriteCreate, an as fetchSearchCompanies, ag as fetchSearchFilters, ah as fetchSearchProfiles, ai as fetchSkillSuggestions, aj as searchSkills } from '../../types-DJrmm7p0.js';
3
+ export { D as DismissEndorsementInput, F as FetchGermMessageLinkOptions, b as FetchNetworkStreamCountOptions, c as FetchPendingEndorsementsOptions, G as GermMessageLink, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, S as SpeakerCard, l as SpeakerDirectoryFilters, m as SpeakerGroup, n as SpeakersResponse, T as TalkEvent, o as TalkRow, p as TalkSpeaker, q as TalksResponse, r as checkNetworkMapJobStatus, s as createEducation, t as createPosition, u as createRecord, v as deleteEducation, w as deletePosition, x as deleteRecord, y as dismissEndorsement, z as fetchAtFundLink, A as fetchEndorsementCount, B as fetchEntitySearch, C as fetchGermMessageLink, E as fetchGetProfileView, H as fetchNetworkMap, I as fetchNetworkStreamCount, J as fetchPendingEndorsements, K as fetchProfile, L as fetchProfileSummary, M as fetchReceivedEndorsements, O as fetchReciprocityCandidate, Q as fetchSpeakers, U as fetchTalks, V as germRedirectPath, W as hideKeytraceClaim, X as importSearchEntities, Y as initiateNetworkMapGeneration, Z as isNetworkMapResponse, _ as linkSkillToPosition, a1 as revealMarqueDomain, a2 as selectEntity, a3 as setPositionPrimary, a4 as unhideKeytraceClaim, a5 as unlinkSkillFromPosition, a6 as unrevealMarqueDomain, a7 as unsetPositionPrimary, a8 as updateEducation, a9 as updatePosition, aa as updateRecord } from '../../network-map-BGO1feWW.js';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRoadmapOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapBoardItem, aO as RoadmapBoardSize, aP as RoadmapBoardStatus, aQ as RoadmapItemRef, aR as RoadmapVoteError, aS as RoadmapVoteResult, aT as RoadmapVoter, aU as RpgClaimableResponse, aV as RpgClaimableResponseSchema, aW as RpgItemStatus, aX as RpgItemStatusSchema, aY as RpgStatusResponse, aZ as RpgStatusResponseSchema, a_ as SifaQueryKey, a$ as SimilarProfile, b0 as SiteActivityPresetResponse, b1 as StatsResponse, b3 as SuggestionProfile, b4 as SuggestionsResponse, b5 as UnhideActivityItemInput, b6 as UnlinkedPosition, b7 as UnlinkedPositionsResult, b8 as UpdateActivityPreferencesInput, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, bd as UserSettings, be as UserSettingsPatch, bf as UserSettingsSchema, bg as VerifyExternalAccountResult, bh as WipePreview, bi as addFeatureAllowlist, bj as addOrgNotificationEmail, bk as bulkHideProfileItems, bl as bulkHideStandardPublications, bm as bulkUnhideProfileItems, bn as bulkUnhideStandardPublications, bo as castRoadmapItemVote, bp as checkAppAccount, bq as clearCompletenessDismissals, br as confirmEndorsement, bs as createConfirmation, bt as createEndorsement, bu as createExternalAccount, bv as createProfileLocation, bw as createReaction, bx as createSkill, by as deleteAccount, bz as deleteAvatarOverride, bA as deleteExternalAccount, bB as deleteNamePronunciationAudio, bC as deleteProfileLocation, bD as deleteReaction, bE as deleteRepoRecords, bF as deleteSkill, bG as dismissCompletenessSignal, bH as dismissConfirmation, bI as dismissUnlinkedPosition, bJ as fetchAccounts, bK as fetchActivityFeed, bL as fetchActivityPreferences, bM as fetchActivityTeaser, bN as fetchAppsRegistry, bO as fetchExternalAccounts, bP as fetchFeaturedProfile, bQ as fetchFollowing, bR as fetchFollowingFeed, bS as fetchFollowingFeedVersion, bT as fetchGivenConfirmations, bU as fetchHeatmapData, bV as fetchHiddenActivityItems, bW as fetchHiddenApps, bX as fetchInboxCounts, bY as fetchMyGithubPullRequests, bZ as fetchPendingConfirmations, b_ as fetchProfileCompleteness, b$ as fetchReactionStatus, c0 as fetchRepoInventory, c1 as fetchRoadmap, c2 as fetchRpgClaimable, c3 as fetchRpgStatus, c4 as fetchSimilarProfiles, c5 as fetchSiteActivityPreset, c6 as fetchStats, c7 as fetchSuggestionCount, c8 as fetchSuggestions, c9 as fetchUnlinkedPositions, ca as fetchUserSettings, cb as fetchViewerPositionConfirmations, cc as fetchWipePreview, cd as followUser, ce as getAdminReviewQueues, cf as getBlueskySuggestions, cg as getFollowers, ch as getFollowing, ci as getMutuals, cj as hideActivityItem, ck as hideOrcidPublication, cl as hideProfileItem, cm as hideSifaPublication, cn as hideStandardPublication, co as isNewerFollowingFeed, cp as listFeatureAllowlist, cq as refreshOrcidPublications, cr as refreshPds, cs as removeFeatureAllowlist, ct as removeOrgNotificationEmail, cu as repoExportUrl, cv as requestOrgDomainChallenge, cw as resetProfile, cx as resolveQuotedPosts, cy as retractRoadmapItemVote, cz as revokeConfirmation, cA as setExternalAccountPrimary, cB as setSectionPrimary, s as sifaQueryKeys, cC as submitOrgClaim, cD as switchAccount, cE as unfollowUser, cF as unhideActivityItem, cG as unhideOrcidPublication, cH as unhideProfileItem, cI as unhideSifaPublication, cJ as unhideStandardPublication, cK as unsetExternalAccountPrimary, cL as unsetSectionPrimary, cM as updateActivityPreferences, cN as updateExternalAccount, cO as updateOrgProfile, cP as updateProfileLocation, cQ as updateProfileOverride, cR as updateProfileSelf, cS as updateSkill, cU as updateUserSettings, cV as uploadAvatar, cW as uploadNamePronunciationAudio, cX as verifyExternalAccount, cY as verifyOrgDomain } from '../../user-settings-C3_y8_8T.js';
5
+ import '../../index-Bcy443Qi.js';
6
+ import '../../verification-providers-Dq6ni6e-.js';
7
7
  import 'zod';
8
8
  import '../../germ-declaration-BQBocGww.js';
9
- import '../../profile-summary-Sv6rqQbx.js';
10
- import '../../follow-profile-DGZzB5iM.js';
9
+ import '../../profile-summary-5jNVFUR9.js';
10
+ import '../../follow-profile-CCL1tT1x.js';
11
11
  import '../../profile-self-D59D_rhI.js';
12
12
 
13
13
  /**
@@ -118,8 +118,26 @@ async function apiFetchOrNull(config, path, options = {}) {
118
118
  throw e;
119
119
  }
120
120
  }
121
+ function parseWriteIssues(raw) {
122
+ if (!Array.isArray(raw)) return void 0;
123
+ const issues = [];
124
+ for (const entry of raw) {
125
+ if (!entry || typeof entry !== "object") continue;
126
+ const { path, message, code } = entry;
127
+ if (typeof message !== "string" || !Array.isArray(path)) continue;
128
+ const segments = path;
129
+ if (!segments.every((p) => typeof p === "string" || typeof p === "number")) continue;
130
+ issues.push({
131
+ path: segments,
132
+ message,
133
+ ...typeof code === "string" ? { code } : {}
134
+ });
135
+ }
136
+ return issues;
137
+ }
121
138
  function extractWriteError(e) {
122
139
  const body = e.body && typeof e.body === "object" ? e.body : {};
140
+ const issues = parseWriteIssues(body.issues);
123
141
  return {
124
142
  // Fastify puts the detail in `message` and the status phrase in `error`;
125
143
  // sifa-api's own handlers (and the rate limiter) only set `error`.
@@ -127,7 +145,8 @@ function extractWriteError(e) {
127
145
  status: e.status,
128
146
  ...e.retryAfterSeconds !== void 0 ? { retryAfterSeconds: e.retryAfterSeconds } : {},
129
147
  ...body.pdsHost ? { pdsHost: body.pdsHost } : {},
130
- ...typeof body.code === "string" && body.code !== "" ? { code: body.code } : {}
148
+ ...typeof body.code === "string" && body.code !== "" ? { code: body.code } : {},
149
+ ...issues ? { issues } : {}
131
150
  };
132
151
  }
133
152
  async function apiWrite(config, path, method, options = {}) {
@@ -3950,11 +3969,21 @@ function lexiconString(graphemes, bytes) {
3950
3969
  message: "This text is too long. Emoji and some scripts take more space, so shorten it a little."
3951
3970
  });
3952
3971
  }
3953
- lexiconString(64, 640);
3954
- lexiconString(64, 640);
3955
- lexiconString(20, 200);
3956
- lexiconString(120, 1200);
3957
- lexiconString(5e3, 5e4);
3972
+ var PROFILE_TEXT_LIMITS = {
3973
+ displayName: { graphemes: 64, bytes: 640 },
3974
+ givenName: { graphemes: 64, bytes: 640 },
3975
+ pronouns: { graphemes: 20, bytes: 200 },
3976
+ headline: { graphemes: 120, bytes: 1200 },
3977
+ about: { graphemes: 5e3, bytes: 5e4 }
3978
+ };
3979
+ function profileText(limit) {
3980
+ return lexiconString(limit.graphemes, limit.bytes);
3981
+ }
3982
+ profileText(PROFILE_TEXT_LIMITS.displayName);
3983
+ profileText(PROFILE_TEXT_LIMITS.givenName);
3984
+ profileText(PROFILE_TEXT_LIMITS.pronouns);
3985
+ profileText(PROFILE_TEXT_LIMITS.headline);
3986
+ profileText(PROFILE_TEXT_LIMITS.about);
3958
3987
  var didSchema = zod.z.string().regex(/^did:[a-z]+:[a-zA-Z0-9._:%-]+$/, "Invalid DID");
3959
3988
  var datetimeSchema = zod.z.string().datetime({ offset: true });
3960
3989
  var partialDateSchema = zod.z.string().regex(/^\d{4}(-\d{2}(-\d{2}(T.+)?)?)?$/, "Expected YYYY, YYYY-MM, YYYY-MM-DD, or a datetime");