@singi-labs/sifa-sdk 0.12.33 → 0.12.35
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/{adult-content-BHIB4rxu.d.cts → adult-content-jthSA_zt.d.cts} +9 -0
- package/dist/{adult-content-BHIB4rxu.d.ts → adult-content-jthSA_zt.d.ts} +9 -0
- package/dist/{feed-D2ZV8Eaj.d.cts → feed-C8aHEPw4.d.cts} +5 -0
- package/dist/{feed-D2ZV8Eaj.d.ts → feed-C8aHEPw4.d.ts} +5 -0
- package/dist/{index-CtWYlM7v.d.ts → index-B8ZxKVvn.d.ts} +4 -4
- package/dist/{index-CQiMQ3NO.d.ts → index-C93Bvwij.d.ts} +5 -3
- package/dist/{index-D-Vlq0r4.d.cts → index-D05PdLte.d.cts} +5 -3
- package/dist/{index-DhO1kFRj.d.cts → index-Dw9QpdKf.d.cts} +4 -4
- package/dist/index.cjs +40 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -6
- package/dist/index.d.ts +59 -6
- package/dist/index.js +39 -2
- package/dist/index.js.map +1 -1
- package/dist/{org-CcbXH1FW.d.cts → org-CU6yud68.d.cts} +2 -2
- package/dist/{org-BjiTIiWq.d.ts → org-De4p7Blr.d.ts} +2 -2
- package/dist/{profile-summary-DsaEk_GD.d.cts → profile-summary-C-SxRTjI.d.cts} +1 -1
- package/dist/{profile-summary-sWTKu58A.d.ts → profile-summary-C6uqYJB1.d.ts} +1 -1
- package/dist/query/fetchers/index.cjs +8 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +5 -5
- package/dist/query/fetchers/index.d.ts +5 -5
- package/dist/query/fetchers/index.js +8 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +8 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/hooks/index.js +8 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +8 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +7 -7
- package/dist/query/index.d.ts +7 -7
- package/dist/query/index.js +8 -0
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +15 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +2 -1
- package/dist/schemas/index.d.ts +2 -1
- package/dist/schemas/index.js +15 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +1 -0
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +1 -0
- package/dist/schemas/write/index.d.ts +1 -0
- package/dist/schemas/write/index.js +1 -0
- package/dist/schemas/write/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -529,6 +529,15 @@ interface OrgFloorVerdict {
|
|
|
529
529
|
isOrg: boolean;
|
|
530
530
|
orgProfile?: OrgProfileView;
|
|
531
531
|
recognized: boolean;
|
|
532
|
+
/**
|
|
533
|
+
* Whether the account also keeps a visible personal profile, from
|
|
534
|
+
* `id.sifa.org.profile.personalProfileVisible`. True only for a claimed org
|
|
535
|
+
* (`isOrg`) that opted in -- the sole-trader case, where one DID carries both
|
|
536
|
+
* a person facet at `/p/` and a company facet at `/c/` and neither route
|
|
537
|
+
* redirects to the other. Absent or false is the exclusive default: the
|
|
538
|
+
* account presents solely as an organization and `/p/` redirects to `/c/`.
|
|
539
|
+
*/
|
|
540
|
+
personalProfileVisible?: boolean;
|
|
532
541
|
/**
|
|
533
542
|
* Invariant (not encoded in the type, matching the flat wire shape the api
|
|
534
543
|
* sends): present whenever `recognized` is true, absent when false. Callers
|
|
@@ -529,6 +529,15 @@ interface OrgFloorVerdict {
|
|
|
529
529
|
isOrg: boolean;
|
|
530
530
|
orgProfile?: OrgProfileView;
|
|
531
531
|
recognized: boolean;
|
|
532
|
+
/**
|
|
533
|
+
* Whether the account also keeps a visible personal profile, from
|
|
534
|
+
* `id.sifa.org.profile.personalProfileVisible`. True only for a claimed org
|
|
535
|
+
* (`isOrg`) that opted in -- the sole-trader case, where one DID carries both
|
|
536
|
+
* a person facet at `/p/` and a company facet at `/c/` and neither route
|
|
537
|
+
* redirects to the other. Absent or false is the exclusive default: the
|
|
538
|
+
* account presents solely as an organization and `/p/` redirects to `/c/`.
|
|
539
|
+
*/
|
|
540
|
+
personalProfileVisible?: boolean;
|
|
532
541
|
/**
|
|
533
542
|
* Invariant (not encoded in the type, matching the flat wire shape the api
|
|
534
543
|
* sends): present whenever `recognized` is true, absent when false. Callers
|
|
@@ -70,6 +70,11 @@ declare const EntitySelectResponseSchema: z.ZodObject<{
|
|
|
70
70
|
kind: z.ZodString;
|
|
71
71
|
canonicalName: z.ZodString;
|
|
72
72
|
domain: z.ZodNullable<z.ZodString>;
|
|
73
|
+
website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
websiteTier: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
75
|
+
org: "org";
|
|
76
|
+
curated: "curated";
|
|
77
|
+
}>>>;
|
|
73
78
|
entityRef: z.ZodNullable<z.ZodString>;
|
|
74
79
|
}, z.core.$strip>;
|
|
75
80
|
type EntitySelectResponse = z.infer<typeof EntitySelectResponseSchema>;
|
|
@@ -70,6 +70,11 @@ declare const EntitySelectResponseSchema: z.ZodObject<{
|
|
|
70
70
|
kind: z.ZodString;
|
|
71
71
|
canonicalName: z.ZodString;
|
|
72
72
|
domain: z.ZodNullable<z.ZodString>;
|
|
73
|
+
website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
websiteTier: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
75
|
+
org: "org";
|
|
76
|
+
curated: "curated";
|
|
77
|
+
}>>>;
|
|
73
78
|
entityRef: z.ZodNullable<z.ZodString>;
|
|
74
79
|
}, z.core.$strip>;
|
|
75
80
|
type EntitySelectResponse = z.infer<typeof EntitySelectResponseSchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-
|
|
2
|
-
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-
|
|
3
|
-
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-De4p7Blr.js';
|
|
2
|
+
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-jthSA_zt.js';
|
|
3
|
+
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.js';
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-C6uqYJB1.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* 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, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-De4p7Blr.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 { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-
|
|
7
|
-
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-
|
|
6
|
+
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-jthSA_zt.js';
|
|
7
|
+
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-C8aHEPw4.js';
|
|
8
8
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-CmaSX5ZI.js';
|
|
9
9
|
|
|
10
10
|
interface SifaProviderProps {
|
|
@@ -319,6 +319,8 @@ declare function useSelectEntity(options?: Omit<UseMutationOptions<EntitySelectR
|
|
|
319
319
|
kind: string;
|
|
320
320
|
canonicalName: string;
|
|
321
321
|
domain: string | null;
|
|
322
|
+
website: string | null;
|
|
323
|
+
websiteTier: "org" | "curated" | null;
|
|
322
324
|
entityRef: string | null;
|
|
323
325
|
}, Error, {
|
|
324
326
|
entityId?: number | undefined;
|
|
@@ -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, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-CU6yud68.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 { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-
|
|
7
|
-
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-
|
|
6
|
+
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-jthSA_zt.cjs';
|
|
7
|
+
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-C8aHEPw4.cjs';
|
|
8
8
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-CmaSX5ZI.cjs';
|
|
9
9
|
|
|
10
10
|
interface SifaProviderProps {
|
|
@@ -319,6 +319,8 @@ declare function useSelectEntity(options?: Omit<UseMutationOptions<EntitySelectR
|
|
|
319
319
|
kind: string;
|
|
320
320
|
canonicalName: string;
|
|
321
321
|
domain: string | null;
|
|
322
|
+
website: string | null;
|
|
323
|
+
websiteTier: "org" | "curated" | null;
|
|
322
324
|
entityRef: string | null;
|
|
323
325
|
}, Error, {
|
|
324
326
|
entityId?: number | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-
|
|
2
|
-
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-
|
|
3
|
-
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-CU6yud68.cjs';
|
|
2
|
+
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-jthSA_zt.cjs';
|
|
3
|
+
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.cjs';
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-C-SxRTjI.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Read the aggregated profile for a handle or DID.
|
package/dist/index.cjs
CHANGED
|
@@ -4090,6 +4090,28 @@ function qualifiesAsOrg(record, handle) {
|
|
|
4090
4090
|
if (record === null || record === void 0) return false;
|
|
4091
4091
|
return isRegistrableDomainHandle(handle);
|
|
4092
4092
|
}
|
|
4093
|
+
function hasPersonalProfileContent(profile) {
|
|
4094
|
+
const filled = (text) => typeof text === "string" && text.trim() !== "";
|
|
4095
|
+
if (filled(profile.headline) || filled(profile.about)) return true;
|
|
4096
|
+
const sections = [
|
|
4097
|
+
profile.positions,
|
|
4098
|
+
profile.education,
|
|
4099
|
+
profile.skills,
|
|
4100
|
+
profile.certifications,
|
|
4101
|
+
profile.projects,
|
|
4102
|
+
profile.publications,
|
|
4103
|
+
profile.volunteering,
|
|
4104
|
+
profile.involvement,
|
|
4105
|
+
profile.honors,
|
|
4106
|
+
profile.courses
|
|
4107
|
+
];
|
|
4108
|
+
return sections.some((section) => Array.isArray(section) && section.length > 0);
|
|
4109
|
+
}
|
|
4110
|
+
function rendersPersonalProfile(org) {
|
|
4111
|
+
if (org === null || org === void 0) return true;
|
|
4112
|
+
if (!org.isOrg && !org.recognized) return true;
|
|
4113
|
+
return org.isOrg && org.personalProfileVisible === true;
|
|
4114
|
+
}
|
|
4093
4115
|
|
|
4094
4116
|
// src/logic/company-page-indexable.ts
|
|
4095
4117
|
var COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS = 2;
|
|
@@ -4334,6 +4356,14 @@ var EntitySelectResponseSchema = zod.z.object({
|
|
|
4334
4356
|
kind: zod.z.string(),
|
|
4335
4357
|
canonicalName: zod.z.string(),
|
|
4336
4358
|
domain: zod.z.string().nullable(),
|
|
4359
|
+
/**
|
|
4360
|
+
* The entity's website, gated to sources trustworthy enough to prefill into a
|
|
4361
|
+
* record the user signs. Narrower than `domain`, which is a display value and
|
|
4362
|
+
* may come from a crawl. Null when the entity has no such source.
|
|
4363
|
+
*/
|
|
4364
|
+
website: httpUrlNullable.default(null),
|
|
4365
|
+
/** Which tier `website` came from. Crawled is never an accepted source. */
|
|
4366
|
+
websiteTier: zod.z.enum(["org", "curated"]).nullable().default(null),
|
|
4337
4367
|
entityRef: httpUrlNullable
|
|
4338
4368
|
});
|
|
4339
4369
|
var EntityImportSearchResponseSchema = zod.z.object({
|
|
@@ -4389,6 +4419,13 @@ var OrgProfileRecordSchema = zod.z.object({
|
|
|
4389
4419
|
companySize: zod.z.string().optional(),
|
|
4390
4420
|
/** Featured links or content surfaced on the org profile. */
|
|
4391
4421
|
links: zod.z.array(orgLinkSchema).max(10).optional(),
|
|
4422
|
+
/**
|
|
4423
|
+
* Whether the account holder's personal profile stays visible alongside this
|
|
4424
|
+
* org profile. For sole traders whose personal domain is also their trade
|
|
4425
|
+
* name: one account, two facets, both pages render. Absent or false means the
|
|
4426
|
+
* account presents solely as an organization.
|
|
4427
|
+
*/
|
|
4428
|
+
personalProfileVisible: zod.z.boolean().optional(),
|
|
4392
4429
|
labels: selfLabelsSchema.optional(),
|
|
4393
4430
|
createdAt: datetimeSchema
|
|
4394
4431
|
});
|
|
@@ -4820,7 +4857,7 @@ function roadmapIssueUrl(issue) {
|
|
|
4820
4857
|
}
|
|
4821
4858
|
|
|
4822
4859
|
// src/index.ts
|
|
4823
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
4860
|
+
var SIFA_SDK_VERSION = "0.12.35";
|
|
4824
4861
|
|
|
4825
4862
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
4826
4863
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -4984,6 +5021,7 @@ exports.groupInvolvementByHeading = groupInvolvementByHeading;
|
|
|
4984
5021
|
exports.groupSkillsByCategory = groupSkillsByCategory;
|
|
4985
5022
|
exports.groupSkillsBySubCategory = groupSkillsBySubCategory;
|
|
4986
5023
|
exports.hasAdultContent = hasAdultContent;
|
|
5024
|
+
exports.hasPersonalProfileContent = hasPersonalProfileContent;
|
|
4987
5025
|
exports.hoistPrimary = hoistPrimary;
|
|
4988
5026
|
exports.isAppCategory = isAppCategory;
|
|
4989
5027
|
exports.isCompanyPageIndexable = isCompanyPageIndexable;
|
|
@@ -5026,6 +5064,7 @@ exports.primaryVerification = primaryVerification;
|
|
|
5026
5064
|
exports.profileToDimensionInputs = profileToDimensionInputs;
|
|
5027
5065
|
exports.qualifiesAsOrg = qualifiesAsOrg;
|
|
5028
5066
|
exports.relativeLuminance = relativeLuminance;
|
|
5067
|
+
exports.rendersPersonalProfile = rendersPersonalProfile;
|
|
5029
5068
|
exports.resolveCardHealth = resolveCardHealth;
|
|
5030
5069
|
exports.resolveCardUrl = resolveCardUrl;
|
|
5031
5070
|
exports.resolveEmbed = resolveEmbed;
|