@cavuno/board 4.44.0 → 4.47.0

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 (46) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/dist/{_spec-CLxrfYJb.d.mts → _spec-DHa5r3B0.d.mts} +26 -2
  3. package/dist/{_spec-CLxrfYJb.d.ts → _spec-DHa5r3B0.d.ts} +26 -2
  4. package/dist/bin.mjs +179 -14
  5. package/dist/{blog-CQ40QX7l.d.mts → blog-DylAbc0L.d.mts} +1 -1
  6. package/dist/{blog-mlhJ6UcD.d.ts → blog-wxhB8zAH.d.ts} +1 -1
  7. package/dist/{board-TOzb2D8c.d.mts → board-Bpze3b50.d.mts} +2 -2
  8. package/dist/{board-DWFDeICw.d.ts → board-DHsd92Gy.d.ts} +2 -2
  9. package/dist/{breadcrumbs-DJHyzBji.d.ts → breadcrumbs-15j5xvmN.d.ts} +2 -2
  10. package/dist/{breadcrumbs-DauM7O7_.d.mts → breadcrumbs-B6yhrHJV.d.mts} +2 -2
  11. package/dist/browser/cavuno-board.global.min.js +1 -1
  12. package/dist/doctor.d.mts +1 -0
  13. package/dist/doctor.d.ts +1 -0
  14. package/dist/doctor.js +179 -14
  15. package/dist/doctor.mjs +179 -14
  16. package/dist/filters.d.mts +2 -2
  17. package/dist/filters.d.ts +2 -2
  18. package/dist/format.d.mts +4 -4
  19. package/dist/format.d.ts +4 -4
  20. package/dist/index.d.mts +33 -12
  21. package/dist/index.d.ts +33 -12
  22. package/dist/index.js +78 -20
  23. package/dist/index.mjs +78 -20
  24. package/dist/{jobs-DZVMzBOQ.d.ts → jobs-CIrTcMjw.d.ts} +1 -1
  25. package/dist/{jobs-CjQM8EPT.d.mts → jobs-CMK-DZg3.d.mts} +1 -1
  26. package/dist/{search-CF_wa20h.d.ts → search-666oDd7H.d.ts} +1 -1
  27. package/dist/{search-BtBE6iJO.d.mts → search-DBQApXN1.d.mts} +1 -1
  28. package/dist/seo-files.d.mts +25 -3
  29. package/dist/seo-files.d.ts +25 -3
  30. package/dist/seo-files.js +44 -10
  31. package/dist/seo-files.mjs +44 -10
  32. package/dist/{seo-0bfk63qi.d.mts → seo-gY8y9RMw.d.mts} +1 -1
  33. package/dist/{seo-CU9LpWH7.d.ts → seo-ynqiQmby.d.ts} +1 -1
  34. package/dist/seo.d.mts +6 -6
  35. package/dist/seo.d.ts +6 -6
  36. package/dist/server.d.mts +6 -6
  37. package/dist/server.d.ts +6 -6
  38. package/dist/sitemap.d.mts +6 -6
  39. package/dist/sitemap.d.ts +6 -6
  40. package/dist/suggest.d.mts +2 -2
  41. package/dist/suggest.d.ts +2 -2
  42. package/package.json +1 -1
  43. package/skills/cavuno-board-filters/SKILL.md +13 -0
  44. package/skills/cavuno-board-i18n/SKILL.md +10 -0
  45. package/skills/cavuno-board-job-alerts/SKILL.md +2 -0
  46. package/skills/manifest.json +1 -1
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
- import { S as Schemas, c as components } from './_spec-CLxrfYJb.mjs';
2
- import { F as FetchOptions, S as StorageMode, B as BoardRequest, A as Awaitable, L as Logger, a as BoardClient, b as SearchSuggestQuery } from './search-BtBE6iJO.mjs';
3
- export { c as ACCESS_TOKEN_KEY, d as BOARD_ACCESS_GRANT_KEY, C as CompanySuggestion, e as CustomStorage, M as MarketSuggestion, R as REFRESH_TOKEN_KEY, f as SearchSuggestType, g as SuggestResult, h as SuggestionItem, T as TermSuggestion } from './search-BtBE6iJO.mjs';
4
- import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as CustomFieldFilter, O as ObjectReferenceFilter, b as JobCollectionChoiceQuery, c as JobsListQuery, d as JobCardListEnvelope, e as JobsSearchBody, f as JobCardSearchEnvelope, g as JobsSimilarQuery, h as SearchEnvelope } from './jobs-CjQM8EPT.mjs';
5
- export { i as CustomFieldValue, C as CustomFieldValues, j as CustomFilterValue, k as EducationRequirement, l as JobCatalogPagination, m as JobCollectionChoiceList, n as JobCollectionFieldDefinition, o as JobCompany, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs-CjQM8EPT.mjs';
6
- import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-TOzb2D8c.mjs';
7
- export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, b as CompanySalary, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-TOzb2D8c.mjs';
8
- export { B as BoardSeo } from './seo-0bfk63qi.mjs';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-CQ40QX7l.mjs';
10
- export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts, f as PublicBlogAuthor, g as PublicBlogPost, P as PublicBlogPostSummary, h as PublicBlogTag } from './blog-CQ40QX7l.mjs';
1
+ import { S as Schemas, c as components } from './_spec-DHa5r3B0.mjs';
2
+ import { F as FetchOptions, S as StorageMode, B as BoardRequest, A as Awaitable, L as Logger, a as BoardClient, b as SearchSuggestQuery } from './search-DBQApXN1.mjs';
3
+ export { c as ACCESS_TOKEN_KEY, d as BOARD_ACCESS_GRANT_KEY, C as CompanySuggestion, e as CustomStorage, M as MarketSuggestion, R as REFRESH_TOKEN_KEY, f as SearchSuggestType, g as SuggestResult, h as SuggestionItem, T as TermSuggestion } from './search-DBQApXN1.mjs';
4
+ import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as CustomFieldFilter, O as ObjectReferenceFilter, b as JobCollectionChoiceQuery, c as JobsListQuery, d as JobCardListEnvelope, e as JobsSearchBody, f as JobCardSearchEnvelope, g as JobsSimilarQuery, h as SearchEnvelope } from './jobs-CMK-DZg3.mjs';
5
+ export { i as CustomFieldValue, C as CustomFieldValues, j as CustomFilterValue, k as EducationRequirement, l as JobCatalogPagination, m as JobCollectionChoiceList, n as JobCollectionFieldDefinition, o as JobCompany, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs-CMK-DZg3.mjs';
6
+ import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-Bpze3b50.mjs';
7
+ export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, b as CompanySalary, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-Bpze3b50.mjs';
8
+ export { B as BoardSeo } from './seo-gY8y9RMw.mjs';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-DylAbc0L.mjs';
10
+ export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts, f as PublicBlogAuthor, g as PublicBlogPost, P as PublicBlogPostSummary, h as PublicBlogTag } from './blog-DylAbc0L.mjs';
11
11
 
12
12
  /**
13
13
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -202,7 +202,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
202
  * constant because the package is platform-neutral and cannot read
203
203
  * package.json at runtime.
204
204
  */
205
- declare const SDK_VERSION = "4.44.0";
205
+ declare const SDK_VERSION = "4.47.0";
206
206
 
207
207
  type SavedJob = Schemas['SavedJob'];
208
208
  type SavedJobsListQuery = {
@@ -1019,6 +1019,22 @@ type TalentDirectoryQuery = {
1019
1019
  objectReferences?: ObjectReferenceFilter[];
1020
1020
  };
1021
1021
  type TalentDirectoryListEnvelope = ListEnvelope<TalentDirectoryEntry>;
1022
+ /**
1023
+ * A place the board's directory candidates live in, with how many of them
1024
+ * the viewer can see there: a candidate counts in their home place and every
1025
+ * place above it. Its `slug` is the directory's `place` filter value.
1026
+ */
1027
+ type TalentPlace = Schemas['PublicTalentPlace'];
1028
+ type TalentPlacesQuery = {
1029
+ /**
1030
+ * Location search, as on `taxonomy.places.list`: ≥2 chars → places whose
1031
+ * name contains it or whose slug starts with it, ranked; under 2 → empty.
1032
+ */
1033
+ q?: string;
1034
+ /** 1–500, default 100, busiest first. With `q`: default 10, at most 50. */
1035
+ limit?: number;
1036
+ };
1037
+ type TalentPlacesListEnvelope = ListEnvelope<TalentPlace>;
1022
1038
 
1023
1039
  /**
1024
1040
  * A board plan (employer or job-seeker pricing). `purpose` says what the plan
@@ -3486,7 +3502,9 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3486
3502
  id: string;
3487
3503
  parentId: string | null;
3488
3504
  slug: string | null;
3505
+ canonicalSlug: string | null;
3489
3506
  name: string;
3507
+ displayName: string;
3490
3508
  placeType: string;
3491
3509
  countryCode: string | null;
3492
3510
  regionCode: string | null;
@@ -4168,6 +4186,9 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4168
4186
  };
4169
4187
  objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
4170
4188
  }>;
4189
+ places: {
4190
+ list(query?: TalentPlacesQuery, options?: FetchOptions): Promise<TalentPlacesListEnvelope>;
4191
+ };
4171
4192
  };
4172
4193
  profileFields: {
4173
4194
  retrieve(entity: ProfileFieldEntity, options?: FetchOptions): Promise<{
@@ -4200,4 +4221,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4200
4221
  };
4201
4222
  type BoardSdk = ReturnType<typeof createBoardClient>;
4202
4223
 
4203
- export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
4224
+ export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentPlace, type TalentPlacesListEnvelope, type TalentPlacesQuery, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { S as Schemas, c as components } from './_spec-CLxrfYJb.js';
2
- import { F as FetchOptions, S as StorageMode, B as BoardRequest, A as Awaitable, L as Logger, a as BoardClient, b as SearchSuggestQuery } from './search-CF_wa20h.js';
3
- export { c as ACCESS_TOKEN_KEY, d as BOARD_ACCESS_GRANT_KEY, C as CompanySuggestion, e as CustomStorage, M as MarketSuggestion, R as REFRESH_TOKEN_KEY, f as SearchSuggestType, g as SuggestResult, h as SuggestionItem, T as TermSuggestion } from './search-CF_wa20h.js';
4
- import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as CustomFieldFilter, O as ObjectReferenceFilter, b as JobCollectionChoiceQuery, c as JobsListQuery, d as JobCardListEnvelope, e as JobsSearchBody, f as JobCardSearchEnvelope, g as JobsSimilarQuery, h as SearchEnvelope } from './jobs-DZVMzBOQ.js';
5
- export { i as CustomFieldValue, C as CustomFieldValues, j as CustomFilterValue, k as EducationRequirement, l as JobCatalogPagination, m as JobCollectionChoiceList, n as JobCollectionFieldDefinition, o as JobCompany, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs-DZVMzBOQ.js';
6
- import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-DWFDeICw.js';
7
- export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, b as CompanySalary, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-DWFDeICw.js';
8
- export { B as BoardSeo } from './seo-CU9LpWH7.js';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-mlhJ6UcD.js';
10
- export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts, f as PublicBlogAuthor, g as PublicBlogPost, P as PublicBlogPostSummary, h as PublicBlogTag } from './blog-mlhJ6UcD.js';
1
+ import { S as Schemas, c as components } from './_spec-DHa5r3B0.js';
2
+ import { F as FetchOptions, S as StorageMode, B as BoardRequest, A as Awaitable, L as Logger, a as BoardClient, b as SearchSuggestQuery } from './search-666oDd7H.js';
3
+ export { c as ACCESS_TOKEN_KEY, d as BOARD_ACCESS_GRANT_KEY, C as CompanySuggestion, e as CustomStorage, M as MarketSuggestion, R as REFRESH_TOKEN_KEY, f as SearchSuggestType, g as SuggestResult, h as SuggestionItem, T as TermSuggestion } from './search-666oDd7H.js';
4
+ import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as CustomFieldFilter, O as ObjectReferenceFilter, b as JobCollectionChoiceQuery, c as JobsListQuery, d as JobCardListEnvelope, e as JobsSearchBody, f as JobCardSearchEnvelope, g as JobsSimilarQuery, h as SearchEnvelope } from './jobs-CIrTcMjw.js';
5
+ export { i as CustomFieldValue, C as CustomFieldValues, j as CustomFilterValue, k as EducationRequirement, l as JobCatalogPagination, m as JobCollectionChoiceList, n as JobCollectionFieldDefinition, o as JobCompany, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs-CIrTcMjw.js';
6
+ import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-DHsd92Gy.js';
7
+ export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, b as CompanySalary, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-DHsd92Gy.js';
8
+ export { B as BoardSeo } from './seo-ynqiQmby.js';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-wxhB8zAH.js';
10
+ export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts, f as PublicBlogAuthor, g as PublicBlogPost, P as PublicBlogPostSummary, h as PublicBlogTag } from './blog-wxhB8zAH.js';
11
11
 
12
12
  /**
13
13
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -202,7 +202,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
202
  * constant because the package is platform-neutral and cannot read
203
203
  * package.json at runtime.
204
204
  */
205
- declare const SDK_VERSION = "4.44.0";
205
+ declare const SDK_VERSION = "4.47.0";
206
206
 
207
207
  type SavedJob = Schemas['SavedJob'];
208
208
  type SavedJobsListQuery = {
@@ -1019,6 +1019,22 @@ type TalentDirectoryQuery = {
1019
1019
  objectReferences?: ObjectReferenceFilter[];
1020
1020
  };
1021
1021
  type TalentDirectoryListEnvelope = ListEnvelope<TalentDirectoryEntry>;
1022
+ /**
1023
+ * A place the board's directory candidates live in, with how many of them
1024
+ * the viewer can see there: a candidate counts in their home place and every
1025
+ * place above it. Its `slug` is the directory's `place` filter value.
1026
+ */
1027
+ type TalentPlace = Schemas['PublicTalentPlace'];
1028
+ type TalentPlacesQuery = {
1029
+ /**
1030
+ * Location search, as on `taxonomy.places.list`: ≥2 chars → places whose
1031
+ * name contains it or whose slug starts with it, ranked; under 2 → empty.
1032
+ */
1033
+ q?: string;
1034
+ /** 1–500, default 100, busiest first. With `q`: default 10, at most 50. */
1035
+ limit?: number;
1036
+ };
1037
+ type TalentPlacesListEnvelope = ListEnvelope<TalentPlace>;
1022
1038
 
1023
1039
  /**
1024
1040
  * A board plan (employer or job-seeker pricing). `purpose` says what the plan
@@ -3486,7 +3502,9 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3486
3502
  id: string;
3487
3503
  parentId: string | null;
3488
3504
  slug: string | null;
3505
+ canonicalSlug: string | null;
3489
3506
  name: string;
3507
+ displayName: string;
3490
3508
  placeType: string;
3491
3509
  countryCode: string | null;
3492
3510
  regionCode: string | null;
@@ -4168,6 +4186,9 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4168
4186
  };
4169
4187
  objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
4170
4188
  }>;
4189
+ places: {
4190
+ list(query?: TalentPlacesQuery, options?: FetchOptions): Promise<TalentPlacesListEnvelope>;
4191
+ };
4171
4192
  };
4172
4193
  profileFields: {
4173
4194
  retrieve(entity: ProfileFieldEntity, options?: FetchOptions): Promise<{
@@ -4200,4 +4221,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4200
4221
  };
4201
4222
  type BoardSdk = ReturnType<typeof createBoardClient>;
4202
4223
 
4203
- export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
4224
+ export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentPlace, type TalentPlacesListEnvelope, type TalentPlacesQuery, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
package/dist/index.js CHANGED
@@ -405,7 +405,7 @@ async function clearSession(storage) {
405
405
  }
406
406
 
407
407
  // src/version.ts
408
- var SDK_VERSION = "4.44.0";
408
+ var SDK_VERSION = "4.47.0";
409
409
 
410
410
  // src/client.ts
411
411
  function isRawBody(body) {
@@ -2493,11 +2493,15 @@ function meNamespace(client) {
2493
2493
  },
2494
2494
  /**
2495
2495
  * Company-owned saved searches over the talent directory. Each holds
2496
- * named filters and, optionally, saved people (`members`). Approved
2497
- * members share the same lists. Optional `job` links a list to one
2498
- * company job; pass `job: null` on update to unlink. Linking a list
2499
- * shortlists everyone saved to it onto that job; unlinking changes no
2500
- * pipeline.
2496
+ * named filters and saved people (`members`), with no size limit.
2497
+ * Approved members share the same lists. Optional `job` links a list
2498
+ * to one company job, and a job has at most one list; pass
2499
+ * `job: null` on update to unlink. Saving to a linked list is how a
2500
+ * sourced candidate is shortlisted onto the job, and removing takes
2501
+ * them off while they are still at Shortlisted, so the list and the
2502
+ * job agree. Linking a list shortlists everyone saved to it, saves the
2503
+ * sourced people already on the job, and folds in the job's previous
2504
+ * list. Unlinking changes neither side.
2501
2505
  */
2502
2506
  talentLists: {
2503
2507
  /**
@@ -2569,13 +2573,15 @@ function meNamespace(client) {
2569
2573
  );
2570
2574
  },
2571
2575
  /**
2572
- * People saved to a talent list (at most 500 per list).
2576
+ * People saved to a talent list. A list has no size limit.
2573
2577
  */
2574
2578
  members: {
2575
2579
  /**
2576
- * List the people saved to a list as directory cards, most
2577
- * recently saved first unless `sort` or a keyword (`q`) is set;
2578
- * with a keyword, best match first. Cards are redacted as in the
2580
+ * List the people saved to a list as directory cards, in the
2581
+ * public directory's order: best match first with a keyword
2582
+ * (`q`), otherwise by `sort` or the directory's default order. A
2583
+ * save or removal shows here within seconds; `memberCount` is
2584
+ * immediate. Cards are redacted as in the
2579
2585
  * public directory when the board sells profile unlocks, except
2580
2586
  * for candidates the company has unlocked. Runs the public
2581
2587
  * talent directory search, with the same filters, restricted to
@@ -2604,8 +2610,9 @@ function meNamespace(client) {
2604
2610
  * Save a candidate to a list. Idempotent: saving someone already
2605
2611
  * on it returns `created: false`. When the list is linked to a
2606
2612
  * job, the candidate is also shortlisted onto that job unless they
2607
- * already have a pipeline row there. A full list raises
2608
- * `talent_list_full` (409).
2613
+ * already have a pipeline row there; this is the way to shortlist
2614
+ * a sourced candidate. Lists have no size limit, so
2615
+ * `talent_list_full` is never raised.
2609
2616
  *
2610
2617
  * @example
2611
2618
  * await board.me.companies.talentLists.members.add('acme', listId, {
@@ -2621,8 +2628,11 @@ function meNamespace(client) {
2621
2628
  );
2622
2629
  },
2623
2630
  /**
2624
- * Remove a candidate from a list. Idempotent. Never changes a job
2625
- * pipeline, including the linked job's.
2631
+ * Remove a candidate from a list. Idempotent. On a list linked to
2632
+ * a job, also removes their pipeline row on that job while it is a
2633
+ * sourced row still at Shortlisted; anyone further along, or who
2634
+ * applied, keeps it (end that with a rejection). An unlinked list
2635
+ * changes no pipeline.
2626
2636
  */
2627
2637
  remove(slug, listId, candidateBoardUserId, options) {
2628
2638
  return client.fetch(
@@ -2638,15 +2648,21 @@ function meNamespace(client) {
2638
2648
  },
2639
2649
  /**
2640
2650
  * Per-job sourced membership — the unstaged kanban rail.
2641
- * Saving a candidate always writes here. Convert-on-drop creates a
2642
- * pipeline application with source `sourced` (hidden from the
2643
- * candidate until they apply themselves).
2651
+ *
2652
+ * @deprecated A job's sourced people are the people saved to its
2653
+ * talent list. Use `talentLists.members` on the list whose `jobId` is
2654
+ * the job: `add` shortlists, `remove` takes them off, and `list` with
2655
+ * `stage` reads pipeline columns. `add` and `remove` here forward to
2656
+ * those calls.
2644
2657
  */
2645
2658
  sourcedCandidates: {
2646
2659
  /**
2647
2660
  * List sourced candidates still on the rail for a job. Anyone who
2648
2661
  * already has a pipeline application for that job is omitted.
2649
2662
  *
2663
+ * @deprecated Use `talentLists.members.list` on the job's talent
2664
+ * list.
2665
+ *
2650
2666
  * @example
2651
2667
  * const { data } = await board.me.companies.sourcedCandidates.list(
2652
2668
  * 'acme',
@@ -2661,7 +2677,12 @@ function meNamespace(client) {
2661
2677
  },
2662
2678
  /**
2663
2679
  * Save a candidate onto a job's sourced rail. Idempotent: a second
2664
- * add for the same pair returns `created: false`.
2680
+ * add for the same pair returns `created: false`. Saves them to the
2681
+ * job's talent list (created, named after the job, when it has
2682
+ * none) and shortlists them onto the job.
2683
+ *
2684
+ * @deprecated Use `talentLists.members.add` on the job's talent
2685
+ * list.
2665
2686
  *
2666
2687
  * @example
2667
2688
  * const saved = await board.me.companies.sourcedCandidates.add(
@@ -2676,7 +2697,14 @@ function meNamespace(client) {
2676
2697
  body
2677
2698
  });
2678
2699
  },
2679
- /** Remove a sourced membership. Does not touch pipeline applications. */
2700
+ /**
2701
+ * Remove a sourced membership: the candidate leaves the job's talent
2702
+ * list, and their pipeline row on the job goes too while it is a
2703
+ * sourced row still at Shortlisted.
2704
+ *
2705
+ * @deprecated Use `talentLists.members.remove` on the job's talent
2706
+ * list.
2707
+ */
2680
2708
  remove(slug, sourcedId, options) {
2681
2709
  return client.fetch(
2682
2710
  `/me/companies/${encodeURIComponent(
@@ -2692,6 +2720,9 @@ function meNamespace(client) {
2692
2720
  * `review`. A board without a native pipeline raises
2693
2721
  * `sourced_convert_unavailable` (409).
2694
2722
  *
2723
+ * @deprecated Saving to the job's talent list already shortlists
2724
+ * the candidate; move them on the pipeline from there.
2725
+ *
2695
2726
  * @example
2696
2727
  * const result = await board.me.companies.sourcedCandidates.convert(
2697
2728
  * 'acme',
@@ -3885,6 +3916,31 @@ function talentNamespace(client) {
3885
3916
  `/talent/${encodeURIComponent(handle)}`,
3886
3917
  options
3887
3918
  );
3919
+ },
3920
+ places: {
3921
+ /**
3922
+ * List the places the board's directory candidates live in, busiest
3923
+ * first, each with how many candidates the caller can see there (a
3924
+ * country counts every candidate in its cities). Anonymous callers get
3925
+ * counts of `public` profiles; a signed-in board user also counts
3926
+ * `logged_in_only` ones. Pass a place's `slug` (or its board-language
3927
+ * `canonicalSlug`) as `talent.list`'s `place` filter, and show its
3928
+ * board-language `displayName`. With `q`, returns location search
3929
+ * matches instead, ranked as `taxonomy.places.list` ranks them.
3930
+ *
3931
+ * Same access errors as `talent.list`. Returns an empty list until the
3932
+ * board's place counts are built.
3933
+ *
3934
+ * @example
3935
+ * const { data: places } = await board.talent.places.list({ limit: 50 });
3936
+ * const { data: matches } = await board.talent.places.list({ q: 'lon' });
3937
+ */
3938
+ list(query, options) {
3939
+ return client.fetch("/talent/places", {
3940
+ ...options,
3941
+ query
3942
+ });
3943
+ }
3888
3944
  }
3889
3945
  };
3890
3946
  }
@@ -3938,7 +3994,9 @@ function taxonomyNamespace(client) {
3938
3994
  /**
3939
3995
  * Without `query`: list every place used by a published job, with its
3940
3996
  * live job count (the locations directory). With `query.q` (≥2 chars):
3941
- * location autocomplete — the top name matches ranked.
3997
+ * location autocomplete — the top name matches ranked. Each place
3998
+ * carries its board-language `displayName` and `canonicalSlug`; link
3999
+ * with `canonicalSlug`.
3942
4000
  */
3943
4001
  list(query, options) {
3944
4002
  return client.fetch("/places", {
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ function toSearchParams(query) {
46
46
  }
47
47
 
48
48
  // src/version.ts
49
- var SDK_VERSION = "4.44.0";
49
+ var SDK_VERSION = "4.47.0";
50
50
 
51
51
  // src/client.ts
52
52
  function isRawBody(body) {
@@ -2134,11 +2134,15 @@ function meNamespace(client) {
2134
2134
  },
2135
2135
  /**
2136
2136
  * Company-owned saved searches over the talent directory. Each holds
2137
- * named filters and, optionally, saved people (`members`). Approved
2138
- * members share the same lists. Optional `job` links a list to one
2139
- * company job; pass `job: null` on update to unlink. Linking a list
2140
- * shortlists everyone saved to it onto that job; unlinking changes no
2141
- * pipeline.
2137
+ * named filters and saved people (`members`), with no size limit.
2138
+ * Approved members share the same lists. Optional `job` links a list
2139
+ * to one company job, and a job has at most one list; pass
2140
+ * `job: null` on update to unlink. Saving to a linked list is how a
2141
+ * sourced candidate is shortlisted onto the job, and removing takes
2142
+ * them off while they are still at Shortlisted, so the list and the
2143
+ * job agree. Linking a list shortlists everyone saved to it, saves the
2144
+ * sourced people already on the job, and folds in the job's previous
2145
+ * list. Unlinking changes neither side.
2142
2146
  */
2143
2147
  talentLists: {
2144
2148
  /**
@@ -2210,13 +2214,15 @@ function meNamespace(client) {
2210
2214
  );
2211
2215
  },
2212
2216
  /**
2213
- * People saved to a talent list (at most 500 per list).
2217
+ * People saved to a talent list. A list has no size limit.
2214
2218
  */
2215
2219
  members: {
2216
2220
  /**
2217
- * List the people saved to a list as directory cards, most
2218
- * recently saved first unless `sort` or a keyword (`q`) is set;
2219
- * with a keyword, best match first. Cards are redacted as in the
2221
+ * List the people saved to a list as directory cards, in the
2222
+ * public directory's order: best match first with a keyword
2223
+ * (`q`), otherwise by `sort` or the directory's default order. A
2224
+ * save or removal shows here within seconds; `memberCount` is
2225
+ * immediate. Cards are redacted as in the
2220
2226
  * public directory when the board sells profile unlocks, except
2221
2227
  * for candidates the company has unlocked. Runs the public
2222
2228
  * talent directory search, with the same filters, restricted to
@@ -2245,8 +2251,9 @@ function meNamespace(client) {
2245
2251
  * Save a candidate to a list. Idempotent: saving someone already
2246
2252
  * on it returns `created: false`. When the list is linked to a
2247
2253
  * job, the candidate is also shortlisted onto that job unless they
2248
- * already have a pipeline row there. A full list raises
2249
- * `talent_list_full` (409).
2254
+ * already have a pipeline row there; this is the way to shortlist
2255
+ * a sourced candidate. Lists have no size limit, so
2256
+ * `talent_list_full` is never raised.
2250
2257
  *
2251
2258
  * @example
2252
2259
  * await board.me.companies.talentLists.members.add('acme', listId, {
@@ -2262,8 +2269,11 @@ function meNamespace(client) {
2262
2269
  );
2263
2270
  },
2264
2271
  /**
2265
- * Remove a candidate from a list. Idempotent. Never changes a job
2266
- * pipeline, including the linked job's.
2272
+ * Remove a candidate from a list. Idempotent. On a list linked to
2273
+ * a job, also removes their pipeline row on that job while it is a
2274
+ * sourced row still at Shortlisted; anyone further along, or who
2275
+ * applied, keeps it (end that with a rejection). An unlinked list
2276
+ * changes no pipeline.
2267
2277
  */
2268
2278
  remove(slug, listId, candidateBoardUserId, options) {
2269
2279
  return client.fetch(
@@ -2279,15 +2289,21 @@ function meNamespace(client) {
2279
2289
  },
2280
2290
  /**
2281
2291
  * Per-job sourced membership — the unstaged kanban rail.
2282
- * Saving a candidate always writes here. Convert-on-drop creates a
2283
- * pipeline application with source `sourced` (hidden from the
2284
- * candidate until they apply themselves).
2292
+ *
2293
+ * @deprecated A job's sourced people are the people saved to its
2294
+ * talent list. Use `talentLists.members` on the list whose `jobId` is
2295
+ * the job: `add` shortlists, `remove` takes them off, and `list` with
2296
+ * `stage` reads pipeline columns. `add` and `remove` here forward to
2297
+ * those calls.
2285
2298
  */
2286
2299
  sourcedCandidates: {
2287
2300
  /**
2288
2301
  * List sourced candidates still on the rail for a job. Anyone who
2289
2302
  * already has a pipeline application for that job is omitted.
2290
2303
  *
2304
+ * @deprecated Use `talentLists.members.list` on the job's talent
2305
+ * list.
2306
+ *
2291
2307
  * @example
2292
2308
  * const { data } = await board.me.companies.sourcedCandidates.list(
2293
2309
  * 'acme',
@@ -2302,7 +2318,12 @@ function meNamespace(client) {
2302
2318
  },
2303
2319
  /**
2304
2320
  * Save a candidate onto a job's sourced rail. Idempotent: a second
2305
- * add for the same pair returns `created: false`.
2321
+ * add for the same pair returns `created: false`. Saves them to the
2322
+ * job's talent list (created, named after the job, when it has
2323
+ * none) and shortlists them onto the job.
2324
+ *
2325
+ * @deprecated Use `talentLists.members.add` on the job's talent
2326
+ * list.
2306
2327
  *
2307
2328
  * @example
2308
2329
  * const saved = await board.me.companies.sourcedCandidates.add(
@@ -2317,7 +2338,14 @@ function meNamespace(client) {
2317
2338
  body
2318
2339
  });
2319
2340
  },
2320
- /** Remove a sourced membership. Does not touch pipeline applications. */
2341
+ /**
2342
+ * Remove a sourced membership: the candidate leaves the job's talent
2343
+ * list, and their pipeline row on the job goes too while it is a
2344
+ * sourced row still at Shortlisted.
2345
+ *
2346
+ * @deprecated Use `talentLists.members.remove` on the job's talent
2347
+ * list.
2348
+ */
2321
2349
  remove(slug, sourcedId, options) {
2322
2350
  return client.fetch(
2323
2351
  `/me/companies/${encodeURIComponent(
@@ -2333,6 +2361,9 @@ function meNamespace(client) {
2333
2361
  * `review`. A board without a native pipeline raises
2334
2362
  * `sourced_convert_unavailable` (409).
2335
2363
  *
2364
+ * @deprecated Saving to the job's talent list already shortlists
2365
+ * the candidate; move them on the pipeline from there.
2366
+ *
2336
2367
  * @example
2337
2368
  * const result = await board.me.companies.sourcedCandidates.convert(
2338
2369
  * 'acme',
@@ -3526,6 +3557,31 @@ function talentNamespace(client) {
3526
3557
  `/talent/${encodeURIComponent(handle)}`,
3527
3558
  options
3528
3559
  );
3560
+ },
3561
+ places: {
3562
+ /**
3563
+ * List the places the board's directory candidates live in, busiest
3564
+ * first, each with how many candidates the caller can see there (a
3565
+ * country counts every candidate in its cities). Anonymous callers get
3566
+ * counts of `public` profiles; a signed-in board user also counts
3567
+ * `logged_in_only` ones. Pass a place's `slug` (or its board-language
3568
+ * `canonicalSlug`) as `talent.list`'s `place` filter, and show its
3569
+ * board-language `displayName`. With `q`, returns location search
3570
+ * matches instead, ranked as `taxonomy.places.list` ranks them.
3571
+ *
3572
+ * Same access errors as `talent.list`. Returns an empty list until the
3573
+ * board's place counts are built.
3574
+ *
3575
+ * @example
3576
+ * const { data: places } = await board.talent.places.list({ limit: 50 });
3577
+ * const { data: matches } = await board.talent.places.list({ q: 'lon' });
3578
+ */
3579
+ list(query, options) {
3580
+ return client.fetch("/talent/places", {
3581
+ ...options,
3582
+ query
3583
+ });
3584
+ }
3529
3585
  }
3530
3586
  };
3531
3587
  }
@@ -3579,7 +3635,9 @@ function taxonomyNamespace(client) {
3579
3635
  /**
3580
3636
  * Without `query`: list every place used by a published job, with its
3581
3637
  * live job count (the locations directory). With `query.q` (≥2 chars):
3582
- * location autocomplete — the top name matches ranked.
3638
+ * location autocomplete — the top name matches ranked. Each place
3639
+ * carries its board-language `displayName` and `canonicalSlug`; link
3640
+ * with `canonicalSlug`.
3583
3641
  */
3584
3642
  list(query, options) {
3585
3643
  return client.fetch("/places", {
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-CLxrfYJb.js';
1
+ import { S as Schemas } from './_spec-DHa5r3B0.js';
2
2
 
3
3
  /**
4
4
  * Optional pagination metadata returned by Board API list operations.
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-CLxrfYJb.mjs';
1
+ import { S as Schemas } from './_spec-DHa5r3B0.mjs';
2
2
 
3
3
  /**
4
4
  * Optional pagination metadata returned by Board API list operations.
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-CLxrfYJb.js';
1
+ import { S as Schemas } from './_spec-DHa5r3B0.js';
2
2
 
3
3
  type Awaitable<T> = T | Promise<T>;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-CLxrfYJb.mjs';
1
+ import { S as Schemas } from './_spec-DHa5r3B0.mjs';
2
2
 
3
3
  type Awaitable<T> = T | Promise<T>;
4
4
  /**