@singi-labs/sifa-sdk 0.11.30 → 0.11.31
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-C34UkvI6.d.cts → adult-content-BO4nea-m.d.cts} +15 -3
- package/dist/{adult-content-C34UkvI6.d.ts → adult-content-BO4nea-m.d.ts} +15 -3
- package/dist/{index-kI-vBdnE.d.cts → index-BeAu_9VV.d.cts} +2 -2
- package/dist/{index-wv9ynfAS.d.ts → index-BjzvRGGZ.d.ts} +2 -2
- package/dist/{index-D8RLonDG.d.cts → index-D6ZKjuEo.d.cts} +2 -2
- package/dist/{index-OH2lArWp.d.ts → index-DUSGkW3U.d.ts} +2 -2
- package/dist/index.cjs +31 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +31 -16
- package/dist/index.js.map +1 -1
- package/dist/{keys-CA2WLIM6.d.cts → keys-B9_KrPw_.d.cts} +1 -1
- package/dist/{keys-BAdZNl3S.d.ts → keys-Cy0T900D.d.ts} +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/schemas/index.cjs +30 -15
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.js +30 -15
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-
|
|
2
|
-
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileInvolvement, r as ProfileInvolvementLink, s as ProfileLanguage, t as ProfileLocation, u as ProfileOverrideSource, v as ProfilePosition, w as ProfilePresentation, x as ProfileProject, y as ProfilePublication, z as ProfileVolunteering, B as PublicationContributor, D as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, G as hasAdultContent } from './adult-content-
|
|
1
|
+
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-BO4nea-m.cjs';
|
|
2
|
+
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileInvolvement, r as ProfileInvolvementLink, s as ProfileLanguage, t as ProfileLocation, u as ProfileOverrideSource, v as ProfilePosition, w as ProfilePresentation, x as ProfileProject, y as ProfilePublication, z as ProfileVolunteering, B as PublicationContributor, D as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, G as hasAdultContent } from './adult-content-BO4nea-m.cjs';
|
|
3
3
|
import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord } from './schemas/index.cjs';
|
|
4
4
|
export { ArtifactLink, ArtifactLinkSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
|
|
5
5
|
import { E as EntitySearchResult } from './feed-D2ZV8Eaj.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-
|
|
2
|
-
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileInvolvement, r as ProfileInvolvementLink, s as ProfileLanguage, t as ProfileLocation, u as ProfileOverrideSource, v as ProfilePosition, w as ProfilePresentation, x as ProfileProject, y as ProfilePublication, z as ProfileVolunteering, B as PublicationContributor, D as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, G as hasAdultContent } from './adult-content-
|
|
1
|
+
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-BO4nea-m.js';
|
|
2
|
+
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileInvolvement, r as ProfileInvolvementLink, s as ProfileLanguage, t as ProfileLocation, u as ProfileOverrideSource, v as ProfilePosition, w as ProfilePresentation, x as ProfileProject, y as ProfilePublication, z as ProfileVolunteering, B as PublicationContributor, D as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, G as hasAdultContent } from './adult-content-BO4nea-m.js';
|
|
3
3
|
import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord } from './schemas/index.js';
|
|
4
4
|
export { ArtifactLink, ArtifactLinkSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
|
|
5
5
|
import { E as EntitySearchResult } from './feed-D2ZV8Eaj.js';
|
package/dist/index.js
CHANGED
|
@@ -2901,8 +2901,10 @@ var ProfileCertificationRecordSchema = z.object({
|
|
|
2901
2901
|
entityRef: z.string().url().refine((s) => /^https?:\/\//i.test(s), { message: "entityRef must be an http(s) URL" }).max(2048).optional(),
|
|
2902
2902
|
credentialId: z.string().refine(maxGraphemes(100)).max(1e3).optional(),
|
|
2903
2903
|
credentialUrl: uriSchema.optional(),
|
|
2904
|
-
|
|
2905
|
-
|
|
2904
|
+
// Freeform YYYY-MM or YYYY-MM-DD (not a strict datetime) so partial dates
|
|
2905
|
+
// and LinkedIn-importer writes are accepted. See sifa-lexicons#256.
|
|
2906
|
+
issuedAt: z.string().optional(),
|
|
2907
|
+
expiresAt: z.string().optional(),
|
|
2906
2908
|
labels: selfLabelsSchema.optional(),
|
|
2907
2909
|
createdAt: datetimeSchema
|
|
2908
2910
|
});
|
|
@@ -2917,9 +2919,10 @@ var ProfileCourseRecordSchema = z.object({
|
|
|
2917
2919
|
// AT-URI of the associated id.sifa.profile.certification record. Plain
|
|
2918
2920
|
// at-uri (not a strongRef) so the link tracks the live certification.
|
|
2919
2921
|
credential: atUriSchema.optional(),
|
|
2920
|
-
// Date the course was completed.
|
|
2921
|
-
//
|
|
2922
|
-
|
|
2922
|
+
// Date the course was completed. Freeform YYYY-MM or YYYY-MM-DD (not a strict
|
|
2923
|
+
// datetime) so month-granularity and partial dates are accepted. See
|
|
2924
|
+
// sifa-lexicons#256.
|
|
2925
|
+
completedAt: z.string().optional(),
|
|
2923
2926
|
createdAt: datetimeSchema
|
|
2924
2927
|
});
|
|
2925
2928
|
var ProfileEducationRecordSchema = z.object({
|
|
@@ -2934,8 +2937,10 @@ var ProfileEducationRecordSchema = z.object({
|
|
|
2934
2937
|
activities: z.string().refine(maxGraphemes(1e3)).max(1e4).optional(),
|
|
2935
2938
|
description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
2936
2939
|
location: z.unknown().optional(),
|
|
2937
|
-
|
|
2938
|
-
|
|
2940
|
+
// Freeform YYYY-MM or YYYY-MM-DD (not a strict datetime) so partial dates
|
|
2941
|
+
// and LinkedIn-importer writes are accepted. See sifa-lexicons#256.
|
|
2942
|
+
startedAt: z.string().optional(),
|
|
2943
|
+
endedAt: z.string().optional(),
|
|
2939
2944
|
labels: selfLabelsSchema.optional(),
|
|
2940
2945
|
createdAt: datetimeSchema
|
|
2941
2946
|
});
|
|
@@ -2955,7 +2960,9 @@ var ProfileHonorRecordSchema = z.object({
|
|
|
2955
2960
|
// Constrained to http(s) so a script-bearing scheme is never a valid ref (#159).
|
|
2956
2961
|
entityRef: z.string().url().refine((s) => /^https?:\/\//i.test(s), { message: "entityRef must be an http(s) URL" }).max(2048).optional(),
|
|
2957
2962
|
description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
2958
|
-
|
|
2963
|
+
// Freeform YYYY-MM or YYYY-MM-DD (not a strict datetime) so partial dates
|
|
2964
|
+
// and LinkedIn-importer writes are accepted. See sifa-lexicons#256.
|
|
2965
|
+
awardedAt: z.string().optional(),
|
|
2959
2966
|
createdAt: datetimeSchema
|
|
2960
2967
|
});
|
|
2961
2968
|
var PROFILE_INVOLVEMENT_NSID = "id.sifa.profile.involvement";
|
|
@@ -3001,8 +3008,10 @@ var ProfilePositionRecordSchema = z.object({
|
|
|
3001
3008
|
employmentType: z.string().optional(),
|
|
3002
3009
|
workplaceType: z.string().optional(),
|
|
3003
3010
|
location: z.unknown().optional(),
|
|
3004
|
-
|
|
3005
|
-
|
|
3011
|
+
// Freeform YYYY-MM or YYYY-MM-DD (not a strict datetime) so partial dates
|
|
3012
|
+
// and LinkedIn-importer writes are accepted. See sifa-lexicons#256.
|
|
3013
|
+
startedAt: z.string(),
|
|
3014
|
+
endedAt: z.string().optional(),
|
|
3006
3015
|
skills: z.array(strongRefSchema).max(50).optional(),
|
|
3007
3016
|
labels: selfLabelsSchema.optional(),
|
|
3008
3017
|
createdAt: datetimeSchema
|
|
@@ -3054,8 +3063,10 @@ var ProfileProjectRecordSchema = z.object({
|
|
|
3054
3063
|
description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
3055
3064
|
url: uriSchema.optional(),
|
|
3056
3065
|
position: strongRefSchema.optional(),
|
|
3057
|
-
|
|
3058
|
-
|
|
3066
|
+
// Freeform YYYY-MM or YYYY-MM-DD (not a strict datetime) so partial dates
|
|
3067
|
+
// and LinkedIn-importer writes are accepted. See sifa-lexicons#256.
|
|
3068
|
+
startedAt: z.string().optional(),
|
|
3069
|
+
endedAt: z.string().optional(),
|
|
3059
3070
|
labels: selfLabelsSchema.optional(),
|
|
3060
3071
|
createdAt: datetimeSchema
|
|
3061
3072
|
});
|
|
@@ -3070,7 +3081,9 @@ var ProfilePublicationRecordSchema = z.object({
|
|
|
3070
3081
|
url: uriSchema.optional(),
|
|
3071
3082
|
description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
3072
3083
|
authors: z.array(PublicationAuthorSchema).max(50).optional(),
|
|
3073
|
-
|
|
3084
|
+
// Freeform YYYY-MM or YYYY-MM-DD (not a strict datetime) so partial dates
|
|
3085
|
+
// and LinkedIn-importer writes are accepted. See sifa-lexicons#256.
|
|
3086
|
+
publishedAt: z.string().optional(),
|
|
3074
3087
|
createdAt: datetimeSchema
|
|
3075
3088
|
});
|
|
3076
3089
|
var ProfileSelfRecordSchema = z.object({
|
|
@@ -3101,13 +3114,15 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
3101
3114
|
role: z.string().refine(maxGraphemes(100)).max(1e3).optional(),
|
|
3102
3115
|
cause: z.string().refine(maxGraphemes(100)).max(1e3).optional(),
|
|
3103
3116
|
description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
3104
|
-
|
|
3105
|
-
|
|
3117
|
+
// Freeform YYYY-MM or YYYY-MM-DD (not a strict datetime) so partial dates
|
|
3118
|
+
// and LinkedIn-importer writes are accepted. See sifa-lexicons#256.
|
|
3119
|
+
startedAt: z.string().optional(),
|
|
3120
|
+
endedAt: z.string().optional(),
|
|
3106
3121
|
createdAt: datetimeSchema
|
|
3107
3122
|
});
|
|
3108
3123
|
|
|
3109
3124
|
// src/index.ts
|
|
3110
|
-
var SIFA_SDK_VERSION = "0.11.
|
|
3125
|
+
var SIFA_SDK_VERSION = "0.11.31";
|
|
3111
3126
|
|
|
3112
3127
|
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVOLVEMENT_NSID, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, SifaFeedItemSchema, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, findIndustry, formatCompanyName, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, hasAdultContent, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isPseudoEmployer, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardHealth, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, sortByDateDesc, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, truncateGraphemes, uriSchema };
|
|
3113
3128
|
//# sourceMappingURL=index.js.map
|