@singi-labs/sifa-sdk 0.12.64 → 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.
@@ -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.64";
5675
+ var SIFA_SDK_VERSION = "0.12.66";
5671
5676
 
5672
5677
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
5673
5678
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;