@singi-labs/sifa-sdk 0.12.63 → 0.12.66

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 (31) hide show
  1. package/dist/{index-0YagaVMZ.d.ts → index-B61EZesA.d.ts} +3 -3
  2. package/dist/{index-nKxVAIQB.d.cts → index-BARfrksZ.d.cts} +4 -4
  3. package/dist/{index-Bzz43OK-.d.ts → index-C0iPs_NQ.d.ts} +4 -4
  4. package/dist/{index-DMyroYoB.d.cts → index-Cj6jfpAE.d.cts} +10 -0
  5. package/dist/{index-DMyroYoB.d.ts → index-Cj6jfpAE.d.ts} +10 -0
  6. package/dist/{index-wqDm7eYP.d.cts → index-DQrudL91.d.cts} +3 -3
  7. package/dist/index.cjs +6 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +4 -4
  10. package/dist/index.d.ts +4 -4
  11. package/dist/index.js +6 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/jsonld/index.cjs +31 -0
  14. package/dist/jsonld/index.cjs.map +1 -1
  15. package/dist/jsonld/index.d.cts +27 -2
  16. package/dist/jsonld/index.d.ts +27 -2
  17. package/dist/jsonld/index.js +31 -1
  18. package/dist/jsonld/index.js.map +1 -1
  19. package/dist/{org-CP0v111-.d.cts → org-ClPPJ3-J.d.cts} +2 -2
  20. package/dist/{org-e-XmEErj.d.ts → org-wLJm-WXC.d.ts} +2 -2
  21. package/dist/{profile-summary-Yoz6yqZF.d.ts → profile-summary-Cbtnh04E.d.ts} +1 -1
  22. package/dist/{profile-summary-2y26X2x_.d.cts → profile-summary-sEHAdvfm.d.cts} +1 -1
  23. package/dist/query/fetchers/index.d.cts +5 -5
  24. package/dist/query/fetchers/index.d.ts +5 -5
  25. package/dist/query/hooks/index.d.cts +4 -4
  26. package/dist/query/hooks/index.d.ts +4 -4
  27. package/dist/query/index.d.cts +8 -8
  28. package/dist/query/index.d.ts +8 -8
  29. package/dist/{types-BreNOGZr.d.ts → types-BtoIc4cG.d.ts} +1 -1
  30. package/dist/{types-qfncrl4o.d.cts → types-DNrRbi9D.d.cts} +1 -1
  31. package/package.json +2 -2
@@ -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-e-XmEErj.js';
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-wLJm-WXC.js';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
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-BreNOGZr.js';
6
+ import { d as Profile, e as ProfilePosition, K as SkillRef, E as ExternalAccount, S as SkillSuggestion, s as OrgFloorVerdict } from './index-Cj6jfpAE.js';
7
+ import { P as ProfileView, R as RepoDeleteResult, b as RepoInventory } from './types-BtoIc4cG.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-CP0v111-.cjs';
2
- import { d as Profile, e as ProfilePosition, K as SkillRef } from './index-DMyroYoB.cjs';
3
- import { P as ProfileView } from './types-qfncrl4o.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-ClPPJ3-J.cjs';
2
+ import { d as Profile, e as ProfilePosition, K as SkillRef } from './index-Cj6jfpAE.cjs';
3
+ import { P as ProfileView } from './types-DNrRbi9D.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-2y26X2x_.cjs';
5
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-sEHAdvfm.cjs';
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-e-XmEErj.js';
2
- import { d as Profile, e as ProfilePosition, K as SkillRef } from './index-DMyroYoB.js';
3
- import { P as ProfileView } from './types-BreNOGZr.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-wLJm-WXC.js';
2
+ import { d as Profile, e as ProfilePosition, K as SkillRef } from './index-Cj6jfpAE.js';
3
+ import { P as ProfileView } from './types-BtoIc4cG.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-Yoz6yqZF.js';
5
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-Cbtnh04E.js';
6
6
 
7
7
  /**
8
8
  * Read the aggregated profile for a handle or DID.
@@ -38,6 +38,16 @@ interface ProfilePosition {
38
38
  endedAt?: string;
39
39
  location?: LocationValue | null;
40
40
  employmentType?: string;
41
+ /**
42
+ * Party this role is held on behalf of, when the person represents someone else --
43
+ * most often a fund whose board seat this is. A disclosure rather than a role type,
44
+ * so it is a separate field from `employmentType`. Absent for independent roles.
45
+ */
46
+ onBehalfOf?: string;
47
+ /** DID of the represented party, when known. May be an organization or a person. */
48
+ onBehalfOfDid?: string;
49
+ /** Portable entity identifier for the represented party (Wikidata/ROR/LEI URI). */
50
+ onBehalfOfEntityRef?: string;
41
51
  workplaceType?: string;
42
52
  skills?: SkillRef[];
43
53
  linkedSkills?: ProfileSkill[];
@@ -38,6 +38,16 @@ interface ProfilePosition {
38
38
  endedAt?: string;
39
39
  location?: LocationValue | null;
40
40
  employmentType?: string;
41
+ /**
42
+ * Party this role is held on behalf of, when the person represents someone else --
43
+ * most often a fund whose board seat this is. A disclosure rather than a role type,
44
+ * so it is a separate field from `employmentType`. Absent for independent roles.
45
+ */
46
+ onBehalfOf?: string;
47
+ /** DID of the represented party, when known. May be an organization or a person. */
48
+ onBehalfOfDid?: string;
49
+ /** Portable entity identifier for the represented party (Wikidata/ROR/LEI URI). */
50
+ onBehalfOfEntityRef?: string;
41
51
  workplaceType?: string;
42
52
  skills?: SkillRef[];
43
53
  linkedSkills?: ProfileSkill[];
@@ -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-CP0v111-.cjs';
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-ClPPJ3-J.cjs';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
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-qfncrl4o.cjs';
6
+ import { d as Profile, e as ProfilePosition, K as SkillRef, E as ExternalAccount, S as SkillSuggestion, s as OrgFloorVerdict } from './index-Cj6jfpAE.cjs';
7
+ import { P as ProfileView, R as RepoDeleteResult, b as RepoInventory } from './types-DNrRbi9D.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
@@ -483,6 +483,11 @@ function isCompanyRequired(employmentType) {
483
483
  if (!employmentType) return true;
484
484
  return !COMPANY_OPTIONAL_EMPLOYMENT_TYPES.has(employmentType);
485
485
  }
486
+ new Set(
487
+ EMPLOYMENT_TYPE_GROUPS.find((g) => g.label === "Governance & advisory")?.items.map(
488
+ (i) => i.value
489
+ ) ?? []
490
+ );
486
491
 
487
492
  // src/taxonomy/industry-taxonomy.ts
488
493
  var INDUSTRY_OPTIONS = [
@@ -5667,7 +5672,7 @@ function describeSifaRecord(collection, value) {
5667
5672
  }
5668
5673
 
5669
5674
  // src/index.ts
5670
- var SIFA_SDK_VERSION = "0.12.63";
5675
+ var SIFA_SDK_VERSION = "0.12.66";
5671
5676
 
5672
5677
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
5673
5678
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;