@singi-labs/sifa-sdk 0.12.20 → 0.12.21

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 (33) hide show
  1. package/dist/{adult-content-B06bKHpA.d.cts → adult-content-C9gi0C_Q.d.cts} +22 -1
  2. package/dist/{adult-content-B06bKHpA.d.ts → adult-content-C9gi0C_Q.d.ts} +22 -1
  3. package/dist/{index-nBCabKk0.d.cts → index-68tJSEtA.d.cts} +2 -2
  4. package/dist/{index-QUCsiCnz.d.ts → index-B4NfsdTi.d.ts} +2 -2
  5. package/dist/{index-DrOzgNB8.d.ts → index-BEDyt4ZP.d.ts} +2 -2
  6. package/dist/{index-NMOaWN-G.d.cts → index-Cbjiqz7Y.d.cts} +2 -2
  7. package/dist/index.cjs +24 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +2 -2
  10. package/dist/index.d.ts +2 -2
  11. package/dist/index.js +24 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/{org-UaNOo0ya.d.cts → org-BX4WZoOT.d.cts} +1 -1
  14. package/dist/{org-DKbNPMry.d.ts → org-lScz_q2Z.d.ts} +1 -1
  15. package/dist/query/fetchers/index.d.cts +3 -3
  16. package/dist/query/fetchers/index.d.ts +3 -3
  17. package/dist/query/hooks/index.d.cts +3 -3
  18. package/dist/query/hooks/index.d.ts +3 -3
  19. package/dist/query/index.d.cts +5 -5
  20. package/dist/query/index.d.ts +5 -5
  21. package/dist/schemas/index.cjs +23 -0
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.d.cts +13 -0
  24. package/dist/schemas/index.d.ts +13 -0
  25. package/dist/schemas/index.js +23 -0
  26. package/dist/schemas/index.js.map +1 -1
  27. package/dist/schemas/write/index.cjs +15 -0
  28. package/dist/schemas/write/index.cjs.map +1 -1
  29. package/dist/schemas/write/index.d.cts +13 -7
  30. package/dist/schemas/write/index.d.ts +13 -7
  31. package/dist/schemas/write/index.js +15 -0
  32. package/dist/schemas/write/index.js.map +1 -1
  33. 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, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-B06bKHpA.cjs';
2
- export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as RecognizedEntity, a4 as SkillRef, S as SkillSuggestion, a5 as SkillView, a6 as TrustStat, a7 as VerifiedAccount, a8 as VolunteeringView, a9 as hasAdultContent } from './adult-content-B06bKHpA.cjs';
1
+ import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-C9gi0C_Q.cjs';
2
+ export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgAddressView, K as OrgFloorVerdict, M as OrgLinkView, N as OrgProfileView, Q as PositionView, R as PresentationDeliveryView, T as PresentationLinkView, U as PresentationView, V as ProfileCourse, W as ProfileIndustry, X as ProfileInvolvementLink, Y as ProfileLocation, Z as ProfileLocationView, _ as ProfileOverrideSource, $ as ProfilePresentation, a0 as ProfileView, a1 as ProfileVolunteering, a2 as ProjectView, a3 as PublicationContributor, a4 as PublicationView, a5 as RecognizedEntity, a6 as SkillRef, S as SkillSuggestion, a7 as SkillView, a8 as TrustStat, a9 as VerifiedAccount, aa as VolunteeringView, ab as hasAdultContent } from './adult-content-C9gi0C_Q.cjs';
3
3
  import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, OrgProfileRecord } from './schemas/index.cjs';
4
4
  export { ArtifactLink, ArtifactLinkSchema, BlobRef, BlobRefSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, 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, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
5
5
  import { z } from 'zod';
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, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-B06bKHpA.js';
2
- export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as RecognizedEntity, a4 as SkillRef, S as SkillSuggestion, a5 as SkillView, a6 as TrustStat, a7 as VerifiedAccount, a8 as VolunteeringView, a9 as hasAdultContent } from './adult-content-B06bKHpA.js';
1
+ import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-C9gi0C_Q.js';
2
+ export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgAddressView, K as OrgFloorVerdict, M as OrgLinkView, N as OrgProfileView, Q as PositionView, R as PresentationDeliveryView, T as PresentationLinkView, U as PresentationView, V as ProfileCourse, W as ProfileIndustry, X as ProfileInvolvementLink, Y as ProfileLocation, Z as ProfileLocationView, _ as ProfileOverrideSource, $ as ProfilePresentation, a0 as ProfileView, a1 as ProfileVolunteering, a2 as ProjectView, a3 as PublicationContributor, a4 as PublicationView, a5 as RecognizedEntity, a6 as SkillRef, S as SkillSuggestion, a7 as SkillView, a8 as TrustStat, a9 as VerifiedAccount, aa as VolunteeringView, ab as hasAdultContent } from './adult-content-C9gi0C_Q.js';
3
3
  import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, OrgProfileRecord } from './schemas/index.js';
4
4
  export { ArtifactLink, ArtifactLinkSchema, BlobRef, BlobRefSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, 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, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
5
5
  import { z } from 'zod';
package/dist/index.js CHANGED
@@ -4252,6 +4252,18 @@ var EndorsementRecordSchema = z.object({
4252
4252
  comment: z.string().refine(maxGraphemes(300)).max(3e3).optional(),
4253
4253
  createdAt: datetimeSchema
4254
4254
  });
4255
+ var orgAddressSchema = z.object({
4256
+ country: z.string().optional(),
4257
+ postalCode: z.string().optional(),
4258
+ region: z.string().optional(),
4259
+ locality: z.string().optional(),
4260
+ street: z.string().optional(),
4261
+ name: z.string().optional()
4262
+ });
4263
+ var orgLinkSchema = z.object({
4264
+ name: z.string().refine(maxGraphemes(60)).max(600),
4265
+ url: uriSchema.max(2048)
4266
+ });
4255
4267
  var OrgProfileRecordSchema = z.object({
4256
4268
  name: z.string().min(1).refine(maxGraphemes(200)).max(2e3),
4257
4269
  description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
@@ -4261,6 +4273,17 @@ var OrgProfileRecordSchema = z.object({
4261
4273
  entityRefs: z.array(uriSchema).max(20).optional(),
4262
4274
  /** Contact email. NOT rendered publicly; validated as email at the app layer. */
4263
4275
  contact: z.string().optional(),
4276
+ /** Physical addresses (headquarters, offices). */
4277
+ addresses: z.array(orgAddressSchema).max(10).optional(),
4278
+ /**
4279
+ * Self-selected headcount range (a declared bucket, never a calculated count).
4280
+ * Open enum (bare-string knownValues in the lexicon): `1-10`, `11-50`,
4281
+ * `51-200`, `201-500`, `501-1000`, `1001-5000`, `5001-10000`, `10001+`. Any
4282
+ * string is accepted so future ranges do not break older records.
4283
+ */
4284
+ companySize: z.string().optional(),
4285
+ /** Featured links or content surfaced on the org profile. */
4286
+ links: z.array(orgLinkSchema).max(10).optional(),
4264
4287
  labels: selfLabelsSchema.optional(),
4265
4288
  createdAt: datetimeSchema
4266
4289
  });
@@ -4595,7 +4618,7 @@ var ProfileVolunteeringRecordSchema = z.object({
4595
4618
  });
4596
4619
 
4597
4620
  // src/index.ts
4598
- var SIFA_SDK_VERSION = "0.12.20";
4621
+ var SIFA_SDK_VERSION = "0.12.21";
4599
4622
 
4600
4623
  export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, 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_HEADING_ORDER, 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, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, 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, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hasAdultContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
4601
4624
  //# sourceMappingURL=index.js.map