@singi-labs/sifa-sdk 0.12.62 → 0.12.63
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/{index-B1WYOzm1.d.ts → index-0YagaVMZ.d.ts} +2 -2
- package/dist/{index-czrerd84.d.ts → index-Bzz43OK-.d.ts} +3 -3
- package/dist/{index-Dqe0Nlck.d.cts → index-nKxVAIQB.d.cts} +3 -3
- package/dist/{index-BcKfdI4X.d.cts → index-wqDm7eYP.d.cts} +2 -2
- package/dist/index.cjs +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/dist/{org-GI1GVjZw.d.cts → org-CP0v111-.d.cts} +1 -1
- package/dist/{org-66bQLHJd.d.ts → org-e-XmEErj.d.ts} +1 -1
- package/dist/{profile-summary-Bqj3TDVd.d.cts → profile-summary-2y26X2x_.d.cts} +1 -1
- package/dist/{profile-summary-YZXjMymn.d.ts → profile-summary-Yoz6yqZF.d.ts} +1 -1
- package/dist/query/fetchers/index.d.cts +4 -4
- package/dist/query/fetchers/index.d.ts +4 -4
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/index.d.cts +7 -7
- package/dist/query/index.d.ts +7 -7
- package/dist/schemas/index.cjs +11 -3
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +11 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +5 -0
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +3 -0
- package/dist/schemas/write/index.d.ts +3 -0
- package/dist/schemas/write/index.js +5 -0
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/{shared-B9ng04Kt.d.cts → shared-BibYErTJ.d.cts} +3 -0
- package/dist/{shared-B9ng04Kt.d.ts → shared-BibYErTJ.d.ts} +3 -0
- package/dist/{types-BkRDvKTp.d.ts → types-BreNOGZr.d.ts} +5 -0
- package/dist/{types-BiBx2Utr.d.cts → types-qfncrl4o.d.cts} +5 -0
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-e-XmEErj.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 { d as Profile, e as ProfilePosition, K as SkillRef, E as ExternalAccount, S as SkillSuggestion, s as OrgFloorVerdict } from './index-DMyroYoB.js';
|
|
7
|
-
import { P as ProfileView, R as RepoDeleteResult, b as RepoInventory } from './types-
|
|
7
|
+
import { P as ProfileView, R as RepoDeleteResult, b as RepoInventory } from './types-BreNOGZr.js';
|
|
8
8
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-dOSy_48Z.js';
|
|
9
9
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.js';
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-e-XmEErj.js';
|
|
2
2
|
import { d as Profile, e as ProfilePosition, K as SkillRef } from './index-DMyroYoB.js';
|
|
3
|
-
import { P as ProfileView } from './types-
|
|
3
|
+
import { P as ProfileView } from './types-BreNOGZr.js';
|
|
4
4
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-dOSy_48Z.js';
|
|
5
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
5
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-Yoz6yqZF.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Read the aggregated profile for a handle or DID.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CP0v111-.cjs';
|
|
2
2
|
import { d as Profile, e as ProfilePosition, K as SkillRef } from './index-DMyroYoB.cjs';
|
|
3
|
-
import { P as ProfileView } from './types-
|
|
3
|
+
import { P as ProfileView } from './types-qfncrl4o.cjs';
|
|
4
4
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-dOSy_48Z.cjs';
|
|
5
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
5
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-2y26X2x_.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Read the aggregated profile for a handle or DID.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-CP0v111-.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 { d as Profile, e as ProfilePosition, K as SkillRef, E as ExternalAccount, S as SkillSuggestion, s as OrgFloorVerdict } from './index-DMyroYoB.cjs';
|
|
7
|
-
import { P as ProfileView, R as RepoDeleteResult, b as RepoInventory } from './types-
|
|
7
|
+
import { P as ProfileView, R as RepoDeleteResult, b as RepoInventory } from './types-qfncrl4o.cjs';
|
|
8
8
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-dOSy_48Z.cjs';
|
|
9
9
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.cjs';
|
|
10
10
|
|
package/dist/index.cjs
CHANGED
|
@@ -5244,15 +5244,23 @@ var ProfileLanguageRecordSchema = zod.z.object({
|
|
|
5244
5244
|
proficiency: zod.z.string().optional(),
|
|
5245
5245
|
createdAt: datetimeSchema
|
|
5246
5246
|
});
|
|
5247
|
+
var entityRefField = zod.z.string().url().refine((s) => /^https?:\/\//i.test(s), { message: "entityRef must be an http(s) URL" }).max(2048).optional();
|
|
5247
5248
|
var ProfilePositionRecordSchema = zod.z.object({
|
|
5248
5249
|
company: zod.z.string().min(1).refine(maxGraphemes(100)).max(1e3).optional(),
|
|
5249
5250
|
companyDid: didSchema.optional(),
|
|
5250
|
-
|
|
5251
|
-
// Constrained to http(s) so a script-bearing scheme is never a valid ref (#159).
|
|
5252
|
-
entityRef: zod.z.string().url().refine((s) => /^https?:\/\//i.test(s), { message: "entityRef must be an http(s) URL" }).max(2048).optional(),
|
|
5251
|
+
entityRef: entityRefField,
|
|
5253
5252
|
title: zod.z.string().min(1).refine(maxGraphemes(100)).max(1e3),
|
|
5254
5253
|
description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
5255
5254
|
employmentType: zod.z.string().optional(),
|
|
5255
|
+
// Disclosure that the role is held as someone else's representative -- most often
|
|
5256
|
+
// a fund whose board seat this is. Capped at the lexicon's 256 graphemes rather
|
|
5257
|
+
// than the tighter limit used for `company`: a schema stricter than the lexicon
|
|
5258
|
+
// would reject records other clients can legally write.
|
|
5259
|
+
onBehalfOf: zod.z.string().refine(maxGraphemes(256)).max(2560).optional(),
|
|
5260
|
+
// May resolve to an organization or to a person (a family-office principal); a DID
|
|
5261
|
+
// does not distinguish the two, so this stays permissive.
|
|
5262
|
+
onBehalfOfDid: didSchema.optional(),
|
|
5263
|
+
onBehalfOfEntityRef: entityRefField,
|
|
5256
5264
|
workplaceType: zod.z.string().optional(),
|
|
5257
5265
|
location: zod.z.unknown().optional(),
|
|
5258
5266
|
startedAt: partialDateSchema,
|
|
@@ -5659,7 +5667,7 @@ function describeSifaRecord(collection, value) {
|
|
|
5659
5667
|
}
|
|
5660
5668
|
|
|
5661
5669
|
// src/index.ts
|
|
5662
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5670
|
+
var SIFA_SDK_VERSION = "0.12.63";
|
|
5663
5671
|
|
|
5664
5672
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5665
5673
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|