@cavuno/board 4.48.0 → 4.50.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.
- package/CHANGELOG.md +30 -0
- package/README.md +19 -0
- package/dist/{_spec-Fw9b79TI.d.mts → _spec-Dvlsj5V6.d.mts} +12 -2
- package/dist/{_spec-Fw9b79TI.d.ts → _spec-Dvlsj5V6.d.ts} +12 -2
- package/dist/{blog-Dlyky5Eo.d.mts → blog-DhlbCKam.d.mts} +1 -1
- package/dist/{blog-DldIXX6n.d.ts → blog-WtDJZV-Z.d.ts} +1 -1
- package/dist/{board-B1Ueww2w.d.ts → board-BiKb5_ZM.d.ts} +2 -2
- package/dist/{board-DkwbMZdt.d.mts → board-CIbqqcEg.d.mts} +2 -2
- package/dist/{breadcrumbs-Bj8SieZi.d.mts → breadcrumbs-212hOj5L.d.mts} +2 -2
- package/dist/{breadcrumbs-CzFiddAt.d.ts → breadcrumbs-B0QBK24H.d.ts} +2 -2
- package/dist/browser/cavuno-board.global.min.js +1 -1
- package/dist/filters.d.mts +2 -2
- package/dist/filters.d.ts +2 -2
- package/dist/format.d.mts +4 -4
- package/dist/format.d.ts +4 -4
- package/dist/index.d.mts +60 -15
- package/dist/index.d.ts +60 -15
- package/dist/index.js +43 -4
- package/dist/index.mjs +43 -4
- package/dist/{jobs-rnatMRvm.d.ts → jobs-NgZT_lvs.d.mts} +29 -3
- package/dist/{jobs-oSTStcbC.d.mts → jobs-roZu2VmM.d.ts} +29 -3
- package/dist/{search-CKvtGE6t.d.ts → search-DGuJBU-G.d.ts} +1 -1
- package/dist/{search-uiAE7AFt.d.mts → search-Dlo0GUG5.d.mts} +1 -1
- package/dist/{seo-Cz0544dX.d.mts → seo-BDZfybrw.d.mts} +1 -1
- package/dist/{seo-C2WvBFEi.d.ts → seo-DcrK1vzk.d.ts} +1 -1
- package/dist/seo-files.d.mts +2 -2
- package/dist/seo-files.d.ts +2 -2
- package/dist/seo.d.mts +6 -6
- package/dist/seo.d.ts +6 -6
- package/dist/server.d.mts +6 -6
- package/dist/server.d.ts +6 -6
- package/dist/sitemap.d.mts +6 -6
- package/dist/sitemap.d.ts +6 -6
- package/dist/suggest.d.mts +2 -2
- package/dist/suggest.d.ts +2 -2
- package/package.json +1 -1
- package/skills/cavuno-board-jobs/SKILL.md +33 -3
- package/skills/cavuno-board-setup/SKILL.md +13 -0
- 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-
|
|
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-
|
|
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-
|
|
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
|
|
5
|
-
export {
|
|
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-
|
|
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-
|
|
8
|
-
export { B as BoardSeo } from './seo-
|
|
9
|
-
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-
|
|
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-
|
|
1
|
+
import { S as Schemas, c as components } from './_spec-Dvlsj5V6.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-Dlo0GUG5.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-Dlo0GUG5.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 JobRetrieveQuery, f as JobsSearchBody, g as JobCardSearchEnvelope, h as JobsSimilarQuery, i as SearchEnvelope } from './jobs-NgZT_lvs.mjs';
|
|
5
|
+
export { j as CustomFieldValue, C as CustomFieldValues, k as CustomFilterValue, l as EducationRequirement, m as JobCapability, n as JobCatalogPagination, o as JobCollectionChoiceList, p as JobCollectionFieldDefinition, q as JobCompany, r as JobCustomEmploymentType, J as JobSort, s as OfficeLocation, t as OffsetPagination, P as PublicJob, u as PublicJobCard, v as RelatedSearch, w as RemotePermit, x as RemoteTimezone, y as ResolvedJobCollectionField, z as StorefrontPagination } from './jobs-NgZT_lvs.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-CIbqqcEg.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-CIbqqcEg.mjs';
|
|
8
|
+
export { B as BoardSeo } from './seo-BDZfybrw.mjs';
|
|
9
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-DhlbCKam.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-DhlbCKam.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.
|
|
205
|
+
declare const SDK_VERSION = "4.50.0";
|
|
206
206
|
|
|
207
207
|
type SavedJob = Schemas['SavedJob'];
|
|
208
208
|
type SavedJobsListQuery = {
|
|
@@ -920,7 +920,9 @@ type EmbedJobsQuery = {
|
|
|
920
920
|
/**
|
|
921
921
|
* Widen a city or locality `location` to jobs placed in a city or
|
|
922
922
|
* locality within this many km of it (1–250, decimals allowed). Omit for
|
|
923
|
-
* jobs in the place itself. Ignored for region and country places.
|
|
923
|
+
* jobs in the place itself. Ignored for region and country places. For a
|
|
924
|
+
* place from `taxonomy.places.suggest()`, an omitted radius uses the
|
|
925
|
+
* place's own default distance (15 km neighbourhood, 25 km town, 50 km city).
|
|
924
926
|
*/
|
|
925
927
|
radius?: number;
|
|
926
928
|
};
|
|
@@ -1004,6 +1006,11 @@ type TalentDirectoryQuery = {
|
|
|
1004
1006
|
jobSearchStatus?: 'actively_looking' | 'open_to_offers' | 'not_looking';
|
|
1005
1007
|
/** Comma-separated language names. */
|
|
1006
1008
|
languages?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* `'true'`: candidates open to relocate. `'false'`: everyone else,
|
|
1011
|
+
* including candidates who have not answered. Cards and profiles do not
|
|
1012
|
+
* include the answer.
|
|
1013
|
+
*/
|
|
1007
1014
|
openToRelocate?: 'true' | 'false';
|
|
1008
1015
|
/**
|
|
1009
1016
|
* Place slug: candidates whose home is the place or lies within it.
|
|
@@ -1014,7 +1021,9 @@ type TalentDirectoryQuery = {
|
|
|
1014
1021
|
* Widen a city or locality `place` to candidates whose home city or
|
|
1015
1022
|
* locality is within this many km of it (1–250, decimals allowed). Omit
|
|
1016
1023
|
* for candidates in the place itself. Ignored for region and country
|
|
1017
|
-
* places, and without `place`.
|
|
1024
|
+
* places, and without `place`. For a place from `taxonomy.places.suggest()`,
|
|
1025
|
+
* an omitted radius uses the place's own default distance (15 km
|
|
1026
|
+
* neighbourhood, 25 km town, 50 km city).
|
|
1018
1027
|
*/
|
|
1019
1028
|
radius?: number;
|
|
1020
1029
|
sort?: 'relevance' | 'newest';
|
|
@@ -1217,6 +1226,25 @@ type PlacesListQuery = {
|
|
|
1217
1226
|
/** Max autocomplete results when `q` is given (1–50; default 10). */
|
|
1218
1227
|
limit?: number;
|
|
1219
1228
|
};
|
|
1229
|
+
/**
|
|
1230
|
+
* Query for `taxonomy.places.suggest()`: any settlement, not only the places
|
|
1231
|
+
* the board's jobs use.
|
|
1232
|
+
*/
|
|
1233
|
+
type PlaceSuggestQuery = {
|
|
1234
|
+
/** What the user has typed; under 2 characters returns an empty list. */
|
|
1235
|
+
q: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* The searcher's approximate location, for example the city their IP
|
|
1238
|
+
* address locates them in. Nearer places rank higher. Never send a precise
|
|
1239
|
+
* device position.
|
|
1240
|
+
*/
|
|
1241
|
+
near?: {
|
|
1242
|
+
lat: number;
|
|
1243
|
+
lng: number;
|
|
1244
|
+
};
|
|
1245
|
+
/** Maximum suggestions (1–10; default 5). */
|
|
1246
|
+
limit?: number;
|
|
1247
|
+
};
|
|
1220
1248
|
|
|
1221
1249
|
/**
|
|
1222
1250
|
* One global location search result. `id` is accepted back as `locationId`
|
|
@@ -1362,6 +1390,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1362
1390
|
nativeApplications: boolean;
|
|
1363
1391
|
messaging: boolean;
|
|
1364
1392
|
contactPage: boolean;
|
|
1393
|
+
placeSuggestions: boolean;
|
|
1365
1394
|
};
|
|
1366
1395
|
talentAccessModel: "paid_messaging" | "paid_unlocks_and_messaging" | null;
|
|
1367
1396
|
posting: {
|
|
@@ -1462,7 +1491,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1462
1491
|
nextCursor: string | null;
|
|
1463
1492
|
}>;
|
|
1464
1493
|
list(query?: JobsListQuery, options?: FetchOptions): Promise<JobCardListEnvelope>;
|
|
1465
|
-
retrieve(jobSlug: string, query?:
|
|
1494
|
+
retrieve(jobSlug: string, query?: JobRetrieveQuery, options?: FetchOptions): Promise<{
|
|
1466
1495
|
id: string;
|
|
1467
1496
|
object: "public_job";
|
|
1468
1497
|
title: string;
|
|
@@ -3560,6 +3589,19 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3560
3589
|
regionCode: string | null;
|
|
3561
3590
|
jobCount: number;
|
|
3562
3591
|
}>>;
|
|
3592
|
+
suggest(query: PlaceSuggestQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
3593
|
+
object: "place";
|
|
3594
|
+
id: string;
|
|
3595
|
+
parentId: string | null;
|
|
3596
|
+
slug: string | null;
|
|
3597
|
+
canonicalSlug: string | null;
|
|
3598
|
+
name: string;
|
|
3599
|
+
displayName: string;
|
|
3600
|
+
placeType: string;
|
|
3601
|
+
countryCode: string | null;
|
|
3602
|
+
regionCode: string | null;
|
|
3603
|
+
jobCount: number;
|
|
3604
|
+
}>>;
|
|
3563
3605
|
resolve(slug: string, options?: FetchOptions): Promise<{
|
|
3564
3606
|
object: "taxonomy_resolution";
|
|
3565
3607
|
type: "category" | "skill" | "place" | "market";
|
|
@@ -4082,6 +4124,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4082
4124
|
avgSalaryMin: number;
|
|
4083
4125
|
avgSalaryMax: number;
|
|
4084
4126
|
jobCount: number;
|
|
4127
|
+
currency?: string;
|
|
4085
4128
|
}>>;
|
|
4086
4129
|
retrieve(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
4087
4130
|
object: "location_salary_detail";
|
|
@@ -4175,6 +4218,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4175
4218
|
avgSalaryMin: number;
|
|
4176
4219
|
avgSalaryMax: number;
|
|
4177
4220
|
jobCount: number;
|
|
4221
|
+
currency?: string;
|
|
4178
4222
|
}[];
|
|
4179
4223
|
}>;
|
|
4180
4224
|
skills(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
@@ -4188,6 +4232,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4188
4232
|
avgSalaryMin: number;
|
|
4189
4233
|
avgSalaryMax: number;
|
|
4190
4234
|
jobCount: number;
|
|
4235
|
+
currency?: string;
|
|
4191
4236
|
}[];
|
|
4192
4237
|
}>;
|
|
4193
4238
|
};
|
|
@@ -4279,4 +4324,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4279
4324
|
};
|
|
4280
4325
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
4281
4326
|
|
|
4282
|
-
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 JobAlertAnchorJob, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, 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 };
|
|
4327
|
+
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 JobAlertAnchorJob, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, 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, JobRetrieveQuery, 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 PlaceSuggestQuery, 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-
|
|
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-
|
|
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-
|
|
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
|
|
5
|
-
export {
|
|
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-
|
|
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-
|
|
8
|
-
export { B as BoardSeo } from './seo-
|
|
9
|
-
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-
|
|
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-
|
|
1
|
+
import { S as Schemas, c as components } from './_spec-Dvlsj5V6.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-DGuJBU-G.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-DGuJBU-G.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 JobRetrieveQuery, f as JobsSearchBody, g as JobCardSearchEnvelope, h as JobsSimilarQuery, i as SearchEnvelope } from './jobs-roZu2VmM.js';
|
|
5
|
+
export { j as CustomFieldValue, C as CustomFieldValues, k as CustomFilterValue, l as EducationRequirement, m as JobCapability, n as JobCatalogPagination, o as JobCollectionChoiceList, p as JobCollectionFieldDefinition, q as JobCompany, r as JobCustomEmploymentType, J as JobSort, s as OfficeLocation, t as OffsetPagination, P as PublicJob, u as PublicJobCard, v as RelatedSearch, w as RemotePermit, x as RemoteTimezone, y as ResolvedJobCollectionField, z as StorefrontPagination } from './jobs-roZu2VmM.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-BiKb5_ZM.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-BiKb5_ZM.js';
|
|
8
|
+
export { B as BoardSeo } from './seo-DcrK1vzk.js';
|
|
9
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-WtDJZV-Z.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-WtDJZV-Z.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.
|
|
205
|
+
declare const SDK_VERSION = "4.50.0";
|
|
206
206
|
|
|
207
207
|
type SavedJob = Schemas['SavedJob'];
|
|
208
208
|
type SavedJobsListQuery = {
|
|
@@ -920,7 +920,9 @@ type EmbedJobsQuery = {
|
|
|
920
920
|
/**
|
|
921
921
|
* Widen a city or locality `location` to jobs placed in a city or
|
|
922
922
|
* locality within this many km of it (1–250, decimals allowed). Omit for
|
|
923
|
-
* jobs in the place itself. Ignored for region and country places.
|
|
923
|
+
* jobs in the place itself. Ignored for region and country places. For a
|
|
924
|
+
* place from `taxonomy.places.suggest()`, an omitted radius uses the
|
|
925
|
+
* place's own default distance (15 km neighbourhood, 25 km town, 50 km city).
|
|
924
926
|
*/
|
|
925
927
|
radius?: number;
|
|
926
928
|
};
|
|
@@ -1004,6 +1006,11 @@ type TalentDirectoryQuery = {
|
|
|
1004
1006
|
jobSearchStatus?: 'actively_looking' | 'open_to_offers' | 'not_looking';
|
|
1005
1007
|
/** Comma-separated language names. */
|
|
1006
1008
|
languages?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* `'true'`: candidates open to relocate. `'false'`: everyone else,
|
|
1011
|
+
* including candidates who have not answered. Cards and profiles do not
|
|
1012
|
+
* include the answer.
|
|
1013
|
+
*/
|
|
1007
1014
|
openToRelocate?: 'true' | 'false';
|
|
1008
1015
|
/**
|
|
1009
1016
|
* Place slug: candidates whose home is the place or lies within it.
|
|
@@ -1014,7 +1021,9 @@ type TalentDirectoryQuery = {
|
|
|
1014
1021
|
* Widen a city or locality `place` to candidates whose home city or
|
|
1015
1022
|
* locality is within this many km of it (1–250, decimals allowed). Omit
|
|
1016
1023
|
* for candidates in the place itself. Ignored for region and country
|
|
1017
|
-
* places, and without `place`.
|
|
1024
|
+
* places, and without `place`. For a place from `taxonomy.places.suggest()`,
|
|
1025
|
+
* an omitted radius uses the place's own default distance (15 km
|
|
1026
|
+
* neighbourhood, 25 km town, 50 km city).
|
|
1018
1027
|
*/
|
|
1019
1028
|
radius?: number;
|
|
1020
1029
|
sort?: 'relevance' | 'newest';
|
|
@@ -1217,6 +1226,25 @@ type PlacesListQuery = {
|
|
|
1217
1226
|
/** Max autocomplete results when `q` is given (1–50; default 10). */
|
|
1218
1227
|
limit?: number;
|
|
1219
1228
|
};
|
|
1229
|
+
/**
|
|
1230
|
+
* Query for `taxonomy.places.suggest()`: any settlement, not only the places
|
|
1231
|
+
* the board's jobs use.
|
|
1232
|
+
*/
|
|
1233
|
+
type PlaceSuggestQuery = {
|
|
1234
|
+
/** What the user has typed; under 2 characters returns an empty list. */
|
|
1235
|
+
q: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* The searcher's approximate location, for example the city their IP
|
|
1238
|
+
* address locates them in. Nearer places rank higher. Never send a precise
|
|
1239
|
+
* device position.
|
|
1240
|
+
*/
|
|
1241
|
+
near?: {
|
|
1242
|
+
lat: number;
|
|
1243
|
+
lng: number;
|
|
1244
|
+
};
|
|
1245
|
+
/** Maximum suggestions (1–10; default 5). */
|
|
1246
|
+
limit?: number;
|
|
1247
|
+
};
|
|
1220
1248
|
|
|
1221
1249
|
/**
|
|
1222
1250
|
* One global location search result. `id` is accepted back as `locationId`
|
|
@@ -1362,6 +1390,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1362
1390
|
nativeApplications: boolean;
|
|
1363
1391
|
messaging: boolean;
|
|
1364
1392
|
contactPage: boolean;
|
|
1393
|
+
placeSuggestions: boolean;
|
|
1365
1394
|
};
|
|
1366
1395
|
talentAccessModel: "paid_messaging" | "paid_unlocks_and_messaging" | null;
|
|
1367
1396
|
posting: {
|
|
@@ -1462,7 +1491,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1462
1491
|
nextCursor: string | null;
|
|
1463
1492
|
}>;
|
|
1464
1493
|
list(query?: JobsListQuery, options?: FetchOptions): Promise<JobCardListEnvelope>;
|
|
1465
|
-
retrieve(jobSlug: string, query?:
|
|
1494
|
+
retrieve(jobSlug: string, query?: JobRetrieveQuery, options?: FetchOptions): Promise<{
|
|
1466
1495
|
id: string;
|
|
1467
1496
|
object: "public_job";
|
|
1468
1497
|
title: string;
|
|
@@ -3560,6 +3589,19 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3560
3589
|
regionCode: string | null;
|
|
3561
3590
|
jobCount: number;
|
|
3562
3591
|
}>>;
|
|
3592
|
+
suggest(query: PlaceSuggestQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
3593
|
+
object: "place";
|
|
3594
|
+
id: string;
|
|
3595
|
+
parentId: string | null;
|
|
3596
|
+
slug: string | null;
|
|
3597
|
+
canonicalSlug: string | null;
|
|
3598
|
+
name: string;
|
|
3599
|
+
displayName: string;
|
|
3600
|
+
placeType: string;
|
|
3601
|
+
countryCode: string | null;
|
|
3602
|
+
regionCode: string | null;
|
|
3603
|
+
jobCount: number;
|
|
3604
|
+
}>>;
|
|
3563
3605
|
resolve(slug: string, options?: FetchOptions): Promise<{
|
|
3564
3606
|
object: "taxonomy_resolution";
|
|
3565
3607
|
type: "category" | "skill" | "place" | "market";
|
|
@@ -4082,6 +4124,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4082
4124
|
avgSalaryMin: number;
|
|
4083
4125
|
avgSalaryMax: number;
|
|
4084
4126
|
jobCount: number;
|
|
4127
|
+
currency?: string;
|
|
4085
4128
|
}>>;
|
|
4086
4129
|
retrieve(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
4087
4130
|
object: "location_salary_detail";
|
|
@@ -4175,6 +4218,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4175
4218
|
avgSalaryMin: number;
|
|
4176
4219
|
avgSalaryMax: number;
|
|
4177
4220
|
jobCount: number;
|
|
4221
|
+
currency?: string;
|
|
4178
4222
|
}[];
|
|
4179
4223
|
}>;
|
|
4180
4224
|
skills(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
@@ -4188,6 +4232,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4188
4232
|
avgSalaryMin: number;
|
|
4189
4233
|
avgSalaryMax: number;
|
|
4190
4234
|
jobCount: number;
|
|
4235
|
+
currency?: string;
|
|
4191
4236
|
}[];
|
|
4192
4237
|
}>;
|
|
4193
4238
|
};
|
|
@@ -4279,4 +4324,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4279
4324
|
};
|
|
4280
4325
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
4281
4326
|
|
|
4282
|
-
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 JobAlertAnchorJob, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, 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 };
|
|
4327
|
+
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 JobAlertAnchorJob, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, 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, JobRetrieveQuery, 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 PlaceSuggestQuery, 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.
|
|
408
|
+
var SDK_VERSION = "4.50.0";
|
|
409
409
|
|
|
410
410
|
// src/client.ts
|
|
411
411
|
function isRawBody(body) {
|
|
@@ -1377,6 +1377,11 @@ function jobsNamespace(client) {
|
|
|
1377
1377
|
*
|
|
1378
1378
|
* @example
|
|
1379
1379
|
* const { data, nextCursor } = await board.jobs.list({ limit: 20 });
|
|
1380
|
+
* // A location page: nearby jobs at the market default distance.
|
|
1381
|
+
* const nearby = await board.jobs.list({
|
|
1382
|
+
* location: 'houston-texas-united-states',
|
|
1383
|
+
* defaultRadius: true,
|
|
1384
|
+
* });
|
|
1380
1385
|
*/
|
|
1381
1386
|
list(query, options) {
|
|
1382
1387
|
return client.fetch("/jobs", {
|
|
@@ -1386,12 +1391,18 @@ function jobsNamespace(client) {
|
|
|
1386
1391
|
},
|
|
1387
1392
|
/**
|
|
1388
1393
|
* Retrieve one published job by slug.
|
|
1389
|
-
* Compatible starters
|
|
1390
|
-
* apply-gateway-v1
|
|
1391
|
-
*
|
|
1394
|
+
* Compatible starters opt in to the country-gated Apply shape with
|
|
1395
|
+
* `{ capabilities: ['apply-gateway-v1'] }`, which keeps the response
|
|
1396
|
+
* shared-cacheable under its own URL. Passing
|
|
1397
|
+
* `x-cavuno-board-capabilities: apply-gateway-v1` in `options.headers`
|
|
1398
|
+
* still works but is never cached. The SDK never sends the capability
|
|
1399
|
+
* globally.
|
|
1392
1400
|
*
|
|
1393
1401
|
* @example
|
|
1394
1402
|
* const job = await board.jobs.retrieve('senior-chef');
|
|
1403
|
+
* const gated = await board.jobs.retrieve('senior-chef', {
|
|
1404
|
+
* capabilities: ['apply-gateway-v1'],
|
|
1405
|
+
* });
|
|
1395
1406
|
*/
|
|
1396
1407
|
retrieve(jobSlug, query, options) {
|
|
1397
1408
|
return client.fetch(`/jobs/${encodeURIComponent(jobSlug)}`, {
|
|
@@ -4003,6 +4014,34 @@ function taxonomyNamespace(client) {
|
|
|
4003
4014
|
...options,
|
|
4004
4015
|
query
|
|
4005
4016
|
});
|
|
4017
|
+
},
|
|
4018
|
+
/**
|
|
4019
|
+
* Location search beyond the board's own places: cities, towns,
|
|
4020
|
+
* suburbs and villages anywhere, in the board language, ranked by
|
|
4021
|
+
* size, name match and distance from `near`. Each place has `jobCount`
|
|
4022
|
+
* 0; its `canonicalSlug` works as the jobs `location` filter (jobs
|
|
4023
|
+
* within `radius` km of it), in `resolve`, and as the location page
|
|
4024
|
+
* slug. Show these after the board's own matches from `list({ q })`.
|
|
4025
|
+
* Returns an empty list when the board context's
|
|
4026
|
+
* `features.placeSuggestions` is `false`, so check it first. A
|
|
4027
|
+
* suggested place's `id` is not a `locationId` for job posting or
|
|
4028
|
+
* profiles; use its `slug` for job search.
|
|
4029
|
+
*
|
|
4030
|
+
* @example
|
|
4031
|
+
* const { data } = await board.taxonomy.places.suggest({
|
|
4032
|
+
* q: 'marr',
|
|
4033
|
+
* near: { lat: -33.87, lng: 151.21 },
|
|
4034
|
+
* });
|
|
4035
|
+
*/
|
|
4036
|
+
suggest(query, options) {
|
|
4037
|
+
const { near, ...rest } = query;
|
|
4038
|
+
return client.fetch("/places/suggest", {
|
|
4039
|
+
...options,
|
|
4040
|
+
query: {
|
|
4041
|
+
...rest,
|
|
4042
|
+
near: near ? `${near.lat},${near.lng}` : void 0
|
|
4043
|
+
}
|
|
4044
|
+
});
|
|
4006
4045
|
}
|
|
4007
4046
|
}
|
|
4008
4047
|
};
|
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.
|
|
49
|
+
var SDK_VERSION = "4.50.0";
|
|
50
50
|
|
|
51
51
|
// src/client.ts
|
|
52
52
|
function isRawBody(body) {
|
|
@@ -1018,6 +1018,11 @@ function jobsNamespace(client) {
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* @example
|
|
1020
1020
|
* const { data, nextCursor } = await board.jobs.list({ limit: 20 });
|
|
1021
|
+
* // A location page: nearby jobs at the market default distance.
|
|
1022
|
+
* const nearby = await board.jobs.list({
|
|
1023
|
+
* location: 'houston-texas-united-states',
|
|
1024
|
+
* defaultRadius: true,
|
|
1025
|
+
* });
|
|
1021
1026
|
*/
|
|
1022
1027
|
list(query, options) {
|
|
1023
1028
|
return client.fetch("/jobs", {
|
|
@@ -1027,12 +1032,18 @@ function jobsNamespace(client) {
|
|
|
1027
1032
|
},
|
|
1028
1033
|
/**
|
|
1029
1034
|
* Retrieve one published job by slug.
|
|
1030
|
-
* Compatible starters
|
|
1031
|
-
* apply-gateway-v1
|
|
1032
|
-
*
|
|
1035
|
+
* Compatible starters opt in to the country-gated Apply shape with
|
|
1036
|
+
* `{ capabilities: ['apply-gateway-v1'] }`, which keeps the response
|
|
1037
|
+
* shared-cacheable under its own URL. Passing
|
|
1038
|
+
* `x-cavuno-board-capabilities: apply-gateway-v1` in `options.headers`
|
|
1039
|
+
* still works but is never cached. The SDK never sends the capability
|
|
1040
|
+
* globally.
|
|
1033
1041
|
*
|
|
1034
1042
|
* @example
|
|
1035
1043
|
* const job = await board.jobs.retrieve('senior-chef');
|
|
1044
|
+
* const gated = await board.jobs.retrieve('senior-chef', {
|
|
1045
|
+
* capabilities: ['apply-gateway-v1'],
|
|
1046
|
+
* });
|
|
1036
1047
|
*/
|
|
1037
1048
|
retrieve(jobSlug, query, options) {
|
|
1038
1049
|
return client.fetch(`/jobs/${encodeURIComponent(jobSlug)}`, {
|
|
@@ -3644,6 +3655,34 @@ function taxonomyNamespace(client) {
|
|
|
3644
3655
|
...options,
|
|
3645
3656
|
query
|
|
3646
3657
|
});
|
|
3658
|
+
},
|
|
3659
|
+
/**
|
|
3660
|
+
* Location search beyond the board's own places: cities, towns,
|
|
3661
|
+
* suburbs and villages anywhere, in the board language, ranked by
|
|
3662
|
+
* size, name match and distance from `near`. Each place has `jobCount`
|
|
3663
|
+
* 0; its `canonicalSlug` works as the jobs `location` filter (jobs
|
|
3664
|
+
* within `radius` km of it), in `resolve`, and as the location page
|
|
3665
|
+
* slug. Show these after the board's own matches from `list({ q })`.
|
|
3666
|
+
* Returns an empty list when the board context's
|
|
3667
|
+
* `features.placeSuggestions` is `false`, so check it first. A
|
|
3668
|
+
* suggested place's `id` is not a `locationId` for job posting or
|
|
3669
|
+
* profiles; use its `slug` for job search.
|
|
3670
|
+
*
|
|
3671
|
+
* @example
|
|
3672
|
+
* const { data } = await board.taxonomy.places.suggest({
|
|
3673
|
+
* q: 'marr',
|
|
3674
|
+
* near: { lat: -33.87, lng: 151.21 },
|
|
3675
|
+
* });
|
|
3676
|
+
*/
|
|
3677
|
+
suggest(query, options) {
|
|
3678
|
+
const { near, ...rest } = query;
|
|
3679
|
+
return client.fetch("/places/suggest", {
|
|
3680
|
+
...options,
|
|
3681
|
+
query: {
|
|
3682
|
+
...rest,
|
|
3683
|
+
near: near ? `${near.lat},${near.lng}` : void 0
|
|
3684
|
+
}
|
|
3685
|
+
});
|
|
3647
3686
|
}
|
|
3648
3687
|
}
|
|
3649
3688
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as Schemas } from './_spec-
|
|
1
|
+
import { S as Schemas } from './_spec-Dvlsj5V6.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Optional pagination metadata returned by Board API list operations.
|
|
@@ -111,9 +111,21 @@ type JobsListQuery = {
|
|
|
111
111
|
/**
|
|
112
112
|
* Widen a city or locality `location` to jobs placed in a city or
|
|
113
113
|
* locality within this many km of it (1–250, decimals allowed). Omit for
|
|
114
|
-
* jobs in the place itself. Ignored for region and country places.
|
|
114
|
+
* jobs in the place itself. Ignored for region and country places. For a
|
|
115
|
+
* place from `taxonomy.places.suggest()`, an omitted radius uses the
|
|
116
|
+
* place's own default distance (15 km neighbourhood, 25 km town, 50 km city).
|
|
115
117
|
*/
|
|
116
118
|
radius?: number;
|
|
119
|
+
/**
|
|
120
|
+
* With `location` and no `radius`: widen a city or locality to the market
|
|
121
|
+
* default distance (25 mi in the US, GB, LR and MM; 50 km elsewhere),
|
|
122
|
+
* computed from the resolved place. Regions and countries are not
|
|
123
|
+
* widened; an explicit `radius` wins. Saves resolving the place first to
|
|
124
|
+
* pick the radius. A place from `places.suggest` always uses its own
|
|
125
|
+
* default (15 km neighbourhood, 25 km town, 50 km city), with or without
|
|
126
|
+
* this flag.
|
|
127
|
+
*/
|
|
128
|
+
defaultRadius?: boolean;
|
|
117
129
|
/** Category slug seed (the `/jobs/[keyword]` page) — server resolves it to the English source name; unresolvable → 404. */
|
|
118
130
|
category?: string;
|
|
119
131
|
/** Skill slug seed (the `/jobs/skills/[skill]` page) — server-resolved; unresolvable → 404. */
|
|
@@ -121,6 +133,20 @@ type JobsListQuery = {
|
|
|
121
133
|
/** Sparse fieldset (Medusa-style `+field`). Only `'+description'` is supported — adds `description` to each card. */
|
|
122
134
|
fields?: string;
|
|
123
135
|
};
|
|
136
|
+
/**
|
|
137
|
+
* An opt-in capability token for `jobs.retrieve`. `apply-gateway-v1` selects
|
|
138
|
+
* the country-gated Apply shape (opaque Sponsored Apply).
|
|
139
|
+
*/
|
|
140
|
+
type JobCapability = 'apply-gateway-v1';
|
|
141
|
+
type JobRetrieveQuery = {
|
|
142
|
+
/**
|
|
143
|
+
* Capability opt-ins, sent as the `capabilities` query parameter. Same
|
|
144
|
+
* effect as the `x-cavuno-board-capabilities` header, but the response
|
|
145
|
+
* stays shared-cacheable under its own URL; the header form is never
|
|
146
|
+
* cached.
|
|
147
|
+
*/
|
|
148
|
+
capabilities?: JobCapability[];
|
|
149
|
+
};
|
|
124
150
|
type JobsSimilarQuery = {
|
|
125
151
|
/** How many similar jobs to return (1–20; default 5). */
|
|
126
152
|
limit?: number;
|
|
@@ -143,4 +169,4 @@ type ObjectReferenceFilter = {
|
|
|
143
169
|
*/
|
|
144
170
|
type JobsSearchBody = Schemas['PublicSearchJobsBody'];
|
|
145
171
|
|
|
146
|
-
export type { CustomFieldValues as C, EmploymentType as E, JobSort as J, ListEnvelope as L, ObjectReferenceFilter as O, PublicJob as P, RemoteOption as R, Seniority as S, CustomFieldFilter as a, JobCollectionChoiceQuery as b, JobsListQuery as c, JobCardListEnvelope as d,
|
|
172
|
+
export type { CustomFieldValues as C, EmploymentType as E, JobSort as J, ListEnvelope as L, ObjectReferenceFilter as O, PublicJob as P, RemoteOption as R, Seniority as S, CustomFieldFilter as a, JobCollectionChoiceQuery as b, JobsListQuery as c, JobCardListEnvelope as d, JobRetrieveQuery as e, JobsSearchBody as f, JobCardSearchEnvelope as g, JobsSimilarQuery as h, SearchEnvelope as i, CustomFieldValue as j, CustomFilterValue as k, EducationRequirement as l, JobCapability as m, JobCatalogPagination as n, JobCollectionChoiceList as o, JobCollectionFieldDefinition as p, JobCompany as q, JobCustomEmploymentType as r, OfficeLocation as s, OffsetPagination as t, PublicJobCard as u, RelatedSearch as v, RemotePermit as w, RemoteTimezone as x, ResolvedJobCollectionField as y, StorefrontPagination as z };
|