@cavuno/board 4.47.0 → 4.49.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 +34 -0
- package/README.md +19 -0
- package/dist/{_spec-DHa5r3B0.d.mts → _spec-DiQvT7IN.d.mts} +53 -3
- package/dist/{_spec-DHa5r3B0.d.ts → _spec-DiQvT7IN.d.ts} +53 -3
- package/dist/bin.mjs +1 -0
- package/dist/{blog-wxhB8zAH.d.ts → blog-BqUwoJRF.d.ts} +1 -1
- package/dist/{blog-DylAbc0L.d.mts → blog-DGa6Wk08.d.mts} +1 -1
- package/dist/{board-DHsd92Gy.d.ts → board-BNJ5Bsx2.d.ts} +2 -2
- package/dist/{board-Bpze3b50.d.mts → board-DM-vktAo.d.mts} +2 -2
- package/dist/{breadcrumbs-B6yhrHJV.d.mts → breadcrumbs-2A7uGl7p.d.mts} +5 -3
- package/dist/{breadcrumbs-15j5xvmN.d.ts → breadcrumbs-BBwMLBGL.d.ts} +5 -3
- package/dist/browser/cavuno-board.global.min.js +1 -1
- package/dist/{chunk-5KCWHENV.mjs → chunk-2KD2CWFL.mjs} +1 -1
- package/dist/{chunk-XXQCESMU.mjs → chunk-JFDWTTOQ.mjs} +5 -0
- package/dist/{chunk-KDFKVWTZ.mjs → chunk-JTFUOGWE.mjs} +3 -3
- package/dist/doctor.js +1 -0
- package/dist/doctor.mjs +1 -0
- 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/format.js +3 -2
- package/dist/format.mjs +2 -2
- package/dist/go.js +1 -0
- package/dist/go.mjs +1 -1
- package/dist/index.d.mts +75 -14
- package/dist/index.d.ts +75 -14
- package/dist/index.js +15 -4
- package/dist/index.mjs +15 -4
- package/dist/{jobs-CMK-DZg3.d.mts → jobs-DQZEGLIC.d.ts} +24 -2
- package/dist/{jobs-CIrTcMjw.d.ts → jobs-DsO3htwV.d.mts} +24 -2
- package/dist/paths.d.mts +7 -1
- package/dist/paths.d.ts +7 -1
- package/dist/paths.js +5 -0
- package/dist/paths.mjs +3 -1
- package/dist/route-contract.js +1 -0
- package/dist/route-contract.mjs +2 -2
- package/dist/{search-666oDd7H.d.ts → search-C3DpF31i.d.ts} +1 -1
- package/dist/{search-DBQApXN1.d.mts → search-g3oH9aPu.d.mts} +1 -1
- package/dist/{seo-ynqiQmby.d.ts → seo-BOPoZApt.d.ts} +1 -1
- package/dist/{seo-gY8y9RMw.d.mts → seo-DMpAStWc.d.mts} +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/seo.js +3 -2
- package/dist/seo.mjs +2 -2
- 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/sitemap.js +1 -0
- package/dist/sitemap.mjs +1 -1
- package/dist/suggest.d.mts +2 -2
- package/dist/suggest.d.ts +2 -2
- package/dist/well-known.js +1 -0
- package/dist/well-known.mjs +2 -2
- package/package.json +1 -1
- package/skills/cavuno-board-job-alerts/SKILL.md +27 -1
- package/skills/cavuno-board-jobs/SKILL.md +33 -3
- package/skills/cavuno-board-setup/SKILL.md +13 -0
- package/skills/cavuno-board-talent-access/SKILL.md +2 -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-DiQvT7IN.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-g3oH9aPu.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-g3oH9aPu.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-DsO3htwV.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-DsO3htwV.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-DM-vktAo.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-DM-vktAo.mjs';
|
|
8
|
+
export { B as BoardSeo } from './seo-DMpAStWc.mjs';
|
|
9
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-DGa6Wk08.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-DGa6Wk08.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.49.0";
|
|
206
206
|
|
|
207
207
|
type SavedJob = Schemas['SavedJob'];
|
|
208
208
|
type SavedJobsListQuery = {
|
|
@@ -980,7 +980,13 @@ interface ApplyApprovalReceipt {
|
|
|
980
980
|
* candidate scoped it to employers only.
|
|
981
981
|
*/
|
|
982
982
|
type TalentProfile = Schemas['TalentProfile'];
|
|
983
|
-
/**
|
|
983
|
+
/**
|
|
984
|
+
* A candidate card in the public talent directory. On cards and profiles,
|
|
985
|
+
* `lastActive` is a coarse bucket (`today`, `this_week`, `this_month`,
|
|
986
|
+
* `last_3_months`, `over_3_months`) returned only to a signed-in employer on
|
|
987
|
+
* the board, for candidates who are actively looking or open to offers;
|
|
988
|
+
* `null` for everyone else.
|
|
989
|
+
*/
|
|
984
990
|
type TalentDirectoryEntry = Schemas['TalentDirectoryEntry'];
|
|
985
991
|
type TalentDirectoryQuery = {
|
|
986
992
|
cursor?: string;
|
|
@@ -1088,6 +1094,13 @@ type JobAlertRemoteOption = 'on_site' | 'hybrid' | 'remote';
|
|
|
1088
1094
|
* `seniorityLevels`/`salary*` are stored but do not filter delivery.
|
|
1089
1095
|
*/
|
|
1090
1096
|
type JobAlertFiltersInput = {
|
|
1097
|
+
/**
|
|
1098
|
+
* Free-text search keywords (at most 200 characters after trimming). Send
|
|
1099
|
+
* the query a search page ran. On `updatePreference`, `null` clears the
|
|
1100
|
+
* keywords and omitting `query` keeps them while `jobFunctions` are
|
|
1101
|
+
* unchanged. Not accepted on a job-page (similar-job) alert.
|
|
1102
|
+
*/
|
|
1103
|
+
query?: string | null;
|
|
1091
1104
|
jobFunctions?: string[];
|
|
1092
1105
|
seniorityLevels?: string[];
|
|
1093
1106
|
remoteOptions?: JobAlertRemoteOption[];
|
|
@@ -1119,6 +1132,14 @@ type JobAlertManageState = Schemas['PublicJobAlertManageState'];
|
|
|
1119
1132
|
type JobAlertPreference = JobAlertManageState['preferences'][number];
|
|
1120
1133
|
/** The stored filter criteria surfaced on a manage-page preference. */
|
|
1121
1134
|
type JobAlertStoredFilters = JobAlertPreference['filters'];
|
|
1135
|
+
/**
|
|
1136
|
+
* How an alert's digest is filled: `similar_job` (jobs like the job it was
|
|
1137
|
+
* subscribed from), `search` (a board search for its keywords) or `filters`
|
|
1138
|
+
* (jobs matching its stored filters exactly). Read-only.
|
|
1139
|
+
*/
|
|
1140
|
+
type JobAlertKind = JobAlertPreference['kind'];
|
|
1141
|
+
/** A similar-job alert's anchor job (`{ id, slug, title }`), or `null`. */
|
|
1142
|
+
type JobAlertAnchorJob = JobAlertPreference['anchorJob'];
|
|
1122
1143
|
/** Query for `jobAlerts.manage` — the HMAC manage token from the digest email. */
|
|
1123
1144
|
type JobAlertManageQuery = {
|
|
1124
1145
|
subscription: string;
|
|
@@ -1441,7 +1462,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1441
1462
|
nextCursor: string | null;
|
|
1442
1463
|
}>;
|
|
1443
1464
|
list(query?: JobsListQuery, options?: FetchOptions): Promise<JobCardListEnvelope>;
|
|
1444
|
-
retrieve(jobSlug: string, query?:
|
|
1465
|
+
retrieve(jobSlug: string, query?: JobRetrieveQuery, options?: FetchOptions): Promise<{
|
|
1445
1466
|
id: string;
|
|
1446
1467
|
object: "public_job";
|
|
1447
1468
|
title: string;
|
|
@@ -1501,6 +1522,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1501
1522
|
placeHierarchy: {
|
|
1502
1523
|
slug: string;
|
|
1503
1524
|
name: string;
|
|
1525
|
+
canonicalSlug: string;
|
|
1504
1526
|
}[];
|
|
1505
1527
|
customFieldValues: {
|
|
1506
1528
|
[key: string]: string | string[] | boolean | number;
|
|
@@ -3040,7 +3062,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3040
3062
|
label: string | null;
|
|
3041
3063
|
frequency: "weekly";
|
|
3042
3064
|
isActive: boolean;
|
|
3065
|
+
kind: "similar_job" | "search" | "filters";
|
|
3066
|
+
anchorJob: {
|
|
3067
|
+
id: string;
|
|
3068
|
+
slug: string | null;
|
|
3069
|
+
title: string;
|
|
3070
|
+
} | null;
|
|
3043
3071
|
filters: {
|
|
3072
|
+
query: string | null;
|
|
3044
3073
|
jobFunctions: string[];
|
|
3045
3074
|
seniorityLevels: string[];
|
|
3046
3075
|
remoteOptions: string[];
|
|
@@ -3057,7 +3086,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3057
3086
|
label: string | null;
|
|
3058
3087
|
frequency: "weekly";
|
|
3059
3088
|
isActive: boolean;
|
|
3089
|
+
kind: "similar_job" | "search" | "filters";
|
|
3090
|
+
anchorJob: {
|
|
3091
|
+
id: string;
|
|
3092
|
+
slug: string | null;
|
|
3093
|
+
title: string;
|
|
3094
|
+
} | null;
|
|
3060
3095
|
filters: {
|
|
3096
|
+
query: string | null;
|
|
3061
3097
|
jobFunctions: string[];
|
|
3062
3098
|
seniorityLevels: string[];
|
|
3063
3099
|
remoteOptions: string[];
|
|
@@ -3074,7 +3110,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3074
3110
|
label: string | null;
|
|
3075
3111
|
frequency: "weekly";
|
|
3076
3112
|
isActive: boolean;
|
|
3113
|
+
kind: "similar_job" | "search" | "filters";
|
|
3114
|
+
anchorJob: {
|
|
3115
|
+
id: string;
|
|
3116
|
+
slug: string | null;
|
|
3117
|
+
title: string;
|
|
3118
|
+
} | null;
|
|
3077
3119
|
filters: {
|
|
3120
|
+
query: string | null;
|
|
3078
3121
|
jobFunctions: string[];
|
|
3079
3122
|
seniorityLevels: string[];
|
|
3080
3123
|
remoteOptions: string[];
|
|
@@ -3091,7 +3134,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3091
3134
|
label: string | null;
|
|
3092
3135
|
frequency: "weekly";
|
|
3093
3136
|
isActive: boolean;
|
|
3137
|
+
kind: "similar_job" | "search" | "filters";
|
|
3138
|
+
anchorJob: {
|
|
3139
|
+
id: string;
|
|
3140
|
+
slug: string | null;
|
|
3141
|
+
title: string;
|
|
3142
|
+
} | null;
|
|
3094
3143
|
filters: {
|
|
3144
|
+
query: string | null;
|
|
3095
3145
|
jobFunctions: string[];
|
|
3096
3146
|
seniorityLevels: string[];
|
|
3097
3147
|
remoteOptions: string[];
|
|
@@ -3582,7 +3632,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3582
3632
|
label: string | null;
|
|
3583
3633
|
frequency: "weekly";
|
|
3584
3634
|
isActive: boolean;
|
|
3635
|
+
kind: "similar_job" | "search" | "filters";
|
|
3636
|
+
anchorJob: {
|
|
3637
|
+
id: string;
|
|
3638
|
+
slug: string | null;
|
|
3639
|
+
title: string;
|
|
3640
|
+
} | null;
|
|
3585
3641
|
filters: {
|
|
3642
|
+
query?: string;
|
|
3586
3643
|
jobFunctions?: string[];
|
|
3587
3644
|
seniorityLevels?: string[];
|
|
3588
3645
|
remoteOptions?: string[];
|
|
@@ -4025,6 +4082,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4025
4082
|
avgSalaryMin: number;
|
|
4026
4083
|
avgSalaryMax: number;
|
|
4027
4084
|
jobCount: number;
|
|
4085
|
+
currency?: string;
|
|
4028
4086
|
}>>;
|
|
4029
4087
|
retrieve(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
4030
4088
|
object: "location_salary_detail";
|
|
@@ -4118,6 +4176,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4118
4176
|
avgSalaryMin: number;
|
|
4119
4177
|
avgSalaryMax: number;
|
|
4120
4178
|
jobCount: number;
|
|
4179
|
+
currency?: string;
|
|
4121
4180
|
}[];
|
|
4122
4181
|
}>;
|
|
4123
4182
|
skills(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
@@ -4131,6 +4190,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4131
4190
|
avgSalaryMin: number;
|
|
4132
4191
|
avgSalaryMax: number;
|
|
4133
4192
|
jobCount: number;
|
|
4193
|
+
currency?: string;
|
|
4134
4194
|
}[];
|
|
4135
4195
|
}>;
|
|
4136
4196
|
};
|
|
@@ -4185,6 +4245,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4185
4245
|
[key: string]: string | number | boolean | string[];
|
|
4186
4246
|
};
|
|
4187
4247
|
objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
|
|
4248
|
+
lastActive: "today" | "this_week" | "this_month" | "last_3_months" | "over_3_months" | null;
|
|
4188
4249
|
}>;
|
|
4189
4250
|
places: {
|
|
4190
4251
|
list(query?: TalentPlacesQuery, options?: FetchOptions): Promise<TalentPlacesListEnvelope>;
|
|
@@ -4221,4 +4282,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4221
4282
|
};
|
|
4222
4283
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
4223
4284
|
|
|
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 };
|
|
4285
|
+
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 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-DiQvT7IN.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-C3DpF31i.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-C3DpF31i.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-DQZEGLIC.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-DQZEGLIC.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-BNJ5Bsx2.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-BNJ5Bsx2.js';
|
|
8
|
+
export { B as BoardSeo } from './seo-BOPoZApt.js';
|
|
9
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-BqUwoJRF.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-BqUwoJRF.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.49.0";
|
|
206
206
|
|
|
207
207
|
type SavedJob = Schemas['SavedJob'];
|
|
208
208
|
type SavedJobsListQuery = {
|
|
@@ -980,7 +980,13 @@ interface ApplyApprovalReceipt {
|
|
|
980
980
|
* candidate scoped it to employers only.
|
|
981
981
|
*/
|
|
982
982
|
type TalentProfile = Schemas['TalentProfile'];
|
|
983
|
-
/**
|
|
983
|
+
/**
|
|
984
|
+
* A candidate card in the public talent directory. On cards and profiles,
|
|
985
|
+
* `lastActive` is a coarse bucket (`today`, `this_week`, `this_month`,
|
|
986
|
+
* `last_3_months`, `over_3_months`) returned only to a signed-in employer on
|
|
987
|
+
* the board, for candidates who are actively looking or open to offers;
|
|
988
|
+
* `null` for everyone else.
|
|
989
|
+
*/
|
|
984
990
|
type TalentDirectoryEntry = Schemas['TalentDirectoryEntry'];
|
|
985
991
|
type TalentDirectoryQuery = {
|
|
986
992
|
cursor?: string;
|
|
@@ -1088,6 +1094,13 @@ type JobAlertRemoteOption = 'on_site' | 'hybrid' | 'remote';
|
|
|
1088
1094
|
* `seniorityLevels`/`salary*` are stored but do not filter delivery.
|
|
1089
1095
|
*/
|
|
1090
1096
|
type JobAlertFiltersInput = {
|
|
1097
|
+
/**
|
|
1098
|
+
* Free-text search keywords (at most 200 characters after trimming). Send
|
|
1099
|
+
* the query a search page ran. On `updatePreference`, `null` clears the
|
|
1100
|
+
* keywords and omitting `query` keeps them while `jobFunctions` are
|
|
1101
|
+
* unchanged. Not accepted on a job-page (similar-job) alert.
|
|
1102
|
+
*/
|
|
1103
|
+
query?: string | null;
|
|
1091
1104
|
jobFunctions?: string[];
|
|
1092
1105
|
seniorityLevels?: string[];
|
|
1093
1106
|
remoteOptions?: JobAlertRemoteOption[];
|
|
@@ -1119,6 +1132,14 @@ type JobAlertManageState = Schemas['PublicJobAlertManageState'];
|
|
|
1119
1132
|
type JobAlertPreference = JobAlertManageState['preferences'][number];
|
|
1120
1133
|
/** The stored filter criteria surfaced on a manage-page preference. */
|
|
1121
1134
|
type JobAlertStoredFilters = JobAlertPreference['filters'];
|
|
1135
|
+
/**
|
|
1136
|
+
* How an alert's digest is filled: `similar_job` (jobs like the job it was
|
|
1137
|
+
* subscribed from), `search` (a board search for its keywords) or `filters`
|
|
1138
|
+
* (jobs matching its stored filters exactly). Read-only.
|
|
1139
|
+
*/
|
|
1140
|
+
type JobAlertKind = JobAlertPreference['kind'];
|
|
1141
|
+
/** A similar-job alert's anchor job (`{ id, slug, title }`), or `null`. */
|
|
1142
|
+
type JobAlertAnchorJob = JobAlertPreference['anchorJob'];
|
|
1122
1143
|
/** Query for `jobAlerts.manage` — the HMAC manage token from the digest email. */
|
|
1123
1144
|
type JobAlertManageQuery = {
|
|
1124
1145
|
subscription: string;
|
|
@@ -1441,7 +1462,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1441
1462
|
nextCursor: string | null;
|
|
1442
1463
|
}>;
|
|
1443
1464
|
list(query?: JobsListQuery, options?: FetchOptions): Promise<JobCardListEnvelope>;
|
|
1444
|
-
retrieve(jobSlug: string, query?:
|
|
1465
|
+
retrieve(jobSlug: string, query?: JobRetrieveQuery, options?: FetchOptions): Promise<{
|
|
1445
1466
|
id: string;
|
|
1446
1467
|
object: "public_job";
|
|
1447
1468
|
title: string;
|
|
@@ -1501,6 +1522,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1501
1522
|
placeHierarchy: {
|
|
1502
1523
|
slug: string;
|
|
1503
1524
|
name: string;
|
|
1525
|
+
canonicalSlug: string;
|
|
1504
1526
|
}[];
|
|
1505
1527
|
customFieldValues: {
|
|
1506
1528
|
[key: string]: string | string[] | boolean | number;
|
|
@@ -3040,7 +3062,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3040
3062
|
label: string | null;
|
|
3041
3063
|
frequency: "weekly";
|
|
3042
3064
|
isActive: boolean;
|
|
3065
|
+
kind: "similar_job" | "search" | "filters";
|
|
3066
|
+
anchorJob: {
|
|
3067
|
+
id: string;
|
|
3068
|
+
slug: string | null;
|
|
3069
|
+
title: string;
|
|
3070
|
+
} | null;
|
|
3043
3071
|
filters: {
|
|
3072
|
+
query: string | null;
|
|
3044
3073
|
jobFunctions: string[];
|
|
3045
3074
|
seniorityLevels: string[];
|
|
3046
3075
|
remoteOptions: string[];
|
|
@@ -3057,7 +3086,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3057
3086
|
label: string | null;
|
|
3058
3087
|
frequency: "weekly";
|
|
3059
3088
|
isActive: boolean;
|
|
3089
|
+
kind: "similar_job" | "search" | "filters";
|
|
3090
|
+
anchorJob: {
|
|
3091
|
+
id: string;
|
|
3092
|
+
slug: string | null;
|
|
3093
|
+
title: string;
|
|
3094
|
+
} | null;
|
|
3060
3095
|
filters: {
|
|
3096
|
+
query: string | null;
|
|
3061
3097
|
jobFunctions: string[];
|
|
3062
3098
|
seniorityLevels: string[];
|
|
3063
3099
|
remoteOptions: string[];
|
|
@@ -3074,7 +3110,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3074
3110
|
label: string | null;
|
|
3075
3111
|
frequency: "weekly";
|
|
3076
3112
|
isActive: boolean;
|
|
3113
|
+
kind: "similar_job" | "search" | "filters";
|
|
3114
|
+
anchorJob: {
|
|
3115
|
+
id: string;
|
|
3116
|
+
slug: string | null;
|
|
3117
|
+
title: string;
|
|
3118
|
+
} | null;
|
|
3077
3119
|
filters: {
|
|
3120
|
+
query: string | null;
|
|
3078
3121
|
jobFunctions: string[];
|
|
3079
3122
|
seniorityLevels: string[];
|
|
3080
3123
|
remoteOptions: string[];
|
|
@@ -3091,7 +3134,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3091
3134
|
label: string | null;
|
|
3092
3135
|
frequency: "weekly";
|
|
3093
3136
|
isActive: boolean;
|
|
3137
|
+
kind: "similar_job" | "search" | "filters";
|
|
3138
|
+
anchorJob: {
|
|
3139
|
+
id: string;
|
|
3140
|
+
slug: string | null;
|
|
3141
|
+
title: string;
|
|
3142
|
+
} | null;
|
|
3094
3143
|
filters: {
|
|
3144
|
+
query: string | null;
|
|
3095
3145
|
jobFunctions: string[];
|
|
3096
3146
|
seniorityLevels: string[];
|
|
3097
3147
|
remoteOptions: string[];
|
|
@@ -3582,7 +3632,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3582
3632
|
label: string | null;
|
|
3583
3633
|
frequency: "weekly";
|
|
3584
3634
|
isActive: boolean;
|
|
3635
|
+
kind: "similar_job" | "search" | "filters";
|
|
3636
|
+
anchorJob: {
|
|
3637
|
+
id: string;
|
|
3638
|
+
slug: string | null;
|
|
3639
|
+
title: string;
|
|
3640
|
+
} | null;
|
|
3585
3641
|
filters: {
|
|
3642
|
+
query?: string;
|
|
3586
3643
|
jobFunctions?: string[];
|
|
3587
3644
|
seniorityLevels?: string[];
|
|
3588
3645
|
remoteOptions?: string[];
|
|
@@ -4025,6 +4082,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4025
4082
|
avgSalaryMin: number;
|
|
4026
4083
|
avgSalaryMax: number;
|
|
4027
4084
|
jobCount: number;
|
|
4085
|
+
currency?: string;
|
|
4028
4086
|
}>>;
|
|
4029
4087
|
retrieve(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
4030
4088
|
object: "location_salary_detail";
|
|
@@ -4118,6 +4176,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4118
4176
|
avgSalaryMin: number;
|
|
4119
4177
|
avgSalaryMax: number;
|
|
4120
4178
|
jobCount: number;
|
|
4179
|
+
currency?: string;
|
|
4121
4180
|
}[];
|
|
4122
4181
|
}>;
|
|
4123
4182
|
skills(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
@@ -4131,6 +4190,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4131
4190
|
avgSalaryMin: number;
|
|
4132
4191
|
avgSalaryMax: number;
|
|
4133
4192
|
jobCount: number;
|
|
4193
|
+
currency?: string;
|
|
4134
4194
|
}[];
|
|
4135
4195
|
}>;
|
|
4136
4196
|
};
|
|
@@ -4185,6 +4245,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4185
4245
|
[key: string]: string | number | boolean | string[];
|
|
4186
4246
|
};
|
|
4187
4247
|
objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
|
|
4248
|
+
lastActive: "today" | "this_week" | "this_month" | "last_3_months" | "over_3_months" | null;
|
|
4188
4249
|
}>;
|
|
4189
4250
|
places: {
|
|
4190
4251
|
list(query?: TalentPlacesQuery, options?: FetchOptions): Promise<TalentPlacesListEnvelope>;
|
|
@@ -4221,4 +4282,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4221
4282
|
};
|
|
4222
4283
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
4223
4284
|
|
|
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 };
|
|
4285
|
+
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 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.49.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)}`, {
|
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.49.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)}`, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as Schemas } from './_spec-
|
|
1
|
+
import { S as Schemas } from './_spec-DiQvT7IN.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Optional pagination metadata returned by Board API list operations.
|
|
@@ -114,6 +114,14 @@ type JobsListQuery = {
|
|
|
114
114
|
* jobs in the place itself. Ignored for region and country places.
|
|
115
115
|
*/
|
|
116
116
|
radius?: number;
|
|
117
|
+
/**
|
|
118
|
+
* With `location` and no `radius`: widen a city or locality to the market
|
|
119
|
+
* default distance (25 mi in the US, GB, LR and MM; 50 km elsewhere),
|
|
120
|
+
* computed from the resolved place. Regions and countries are not
|
|
121
|
+
* widened; an explicit `radius` wins. Saves resolving the place first to
|
|
122
|
+
* pick the radius.
|
|
123
|
+
*/
|
|
124
|
+
defaultRadius?: boolean;
|
|
117
125
|
/** Category slug seed (the `/jobs/[keyword]` page) — server resolves it to the English source name; unresolvable → 404. */
|
|
118
126
|
category?: string;
|
|
119
127
|
/** Skill slug seed (the `/jobs/skills/[skill]` page) — server-resolved; unresolvable → 404. */
|
|
@@ -121,6 +129,20 @@ type JobsListQuery = {
|
|
|
121
129
|
/** Sparse fieldset (Medusa-style `+field`). Only `'+description'` is supported — adds `description` to each card. */
|
|
122
130
|
fields?: string;
|
|
123
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* An opt-in capability token for `jobs.retrieve`. `apply-gateway-v1` selects
|
|
134
|
+
* the country-gated Apply shape (opaque Sponsored Apply).
|
|
135
|
+
*/
|
|
136
|
+
type JobCapability = 'apply-gateway-v1';
|
|
137
|
+
type JobRetrieveQuery = {
|
|
138
|
+
/**
|
|
139
|
+
* Capability opt-ins, sent as the `capabilities` query parameter. Same
|
|
140
|
+
* effect as the `x-cavuno-board-capabilities` header, but the response
|
|
141
|
+
* stays shared-cacheable under its own URL; the header form is never
|
|
142
|
+
* cached.
|
|
143
|
+
*/
|
|
144
|
+
capabilities?: JobCapability[];
|
|
145
|
+
};
|
|
124
146
|
type JobsSimilarQuery = {
|
|
125
147
|
/** How many similar jobs to return (1–20; default 5). */
|
|
126
148
|
limit?: number;
|
|
@@ -143,4 +165,4 @@ type ObjectReferenceFilter = {
|
|
|
143
165
|
*/
|
|
144
166
|
type JobsSearchBody = Schemas['PublicSearchJobsBody'];
|
|
145
167
|
|
|
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,
|
|
168
|
+
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 };
|