@cavuno/board 3.2.0 → 4.1.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 +433 -0
- package/README.md +6 -2
- package/dist/{_spec-nkWAraS0.d.mts → _spec-BZDv2dc5.d.mts} +100 -68
- package/dist/{_spec-nkWAraS0.d.ts → _spec-BZDv2dc5.d.ts} +100 -68
- package/dist/bin.mjs +7 -2
- package/dist/{blog-iV9XEIGf.d.ts → blog-BHx6iH3Z.d.ts} +1 -1
- package/dist/{blog-DGBHmExV.d.mts → blog-DyDvyQrI.d.mts} +1 -1
- package/dist/{board-JhdUWIoq.d.ts → board-BF3Qao6J.d.mts} +7 -6
- package/dist/{board-BJbXd_9_.d.mts → board-BTEZ0uiI.d.ts} +7 -6
- package/dist/breadcrumbs-SGaWth6C.d.ts +372 -0
- package/dist/breadcrumbs-icxRVydh.d.mts +372 -0
- package/dist/chunk-BGKNXG4H.mjs +146 -0
- package/dist/{chunk-NXY3OWGF.mjs → chunk-T2KC6XGV.mjs} +1 -1
- package/dist/{chunk-STE77MAT.mjs → chunk-YEAQ3JEI.mjs} +143 -134
- package/dist/doctor.js +1 -1
- package/dist/doctor.mjs +1 -1
- package/dist/filters.d.mts +25 -20
- package/dist/filters.d.ts +25 -20
- package/dist/filters.js +3 -692
- package/dist/filters.mjs +3 -29
- package/dist/format.d.mts +57 -231
- package/dist/format.d.ts +57 -231
- package/dist/format.js +327 -968
- package/dist/format.mjs +207 -264
- package/dist/go.js +11 -1
- package/dist/go.mjs +1 -1
- package/dist/index.d.mts +67 -76
- package/dist/index.d.ts +67 -76
- package/dist/index.js +45 -36
- package/dist/index.mjs +45 -36
- package/dist/{jobs-BiEvL9d7.d.ts → jobs-BX6d_sdd.d.mts} +4 -4
- package/dist/{jobs-lVvKCBCU.d.mts → jobs-BbLJfz1z.d.ts} +4 -4
- package/dist/paths.d.mts +89 -1
- package/dist/paths.d.ts +89 -1
- package/dist/paths.js +62 -14
- package/dist/paths.mjs +11 -3
- package/dist/route-contract.js +23 -13
- package/dist/route-contract.mjs +2 -2
- package/dist/{search-CCyFWPi3.d.mts → search-7B-mVRNA.d.ts} +14 -3
- package/dist/{search-CyRvVMUp.d.ts → search-OKrdAHv8.d.mts} +14 -3
- package/dist/seo.d.mts +30 -29
- package/dist/seo.d.ts +30 -29
- package/dist/seo.js +197 -718
- package/dist/seo.mjs +26 -24
- package/dist/server.d.mts +5 -5
- package/dist/server.d.ts +5 -5
- package/dist/sitemap.d.mts +5 -5
- package/dist/sitemap.d.ts +5 -5
- package/dist/sitemap.js +25 -14
- package/dist/sitemap.mjs +3 -2
- package/dist/skills.js +1 -1
- package/dist/skills.mjs +1 -1
- package/dist/suggest.d.mts +2 -2
- package/dist/suggest.d.ts +2 -2
- package/dist/suggest.js +17 -3
- package/dist/suggest.mjs +17 -3
- package/dist/well-known.js +23 -13
- package/dist/well-known.mjs +2 -2
- package/package.json +2 -4
- package/skills/cavuno-board-api-client/SKILL.md +42 -0
- package/skills/cavuno-board-applications/SKILL.md +4 -1
- package/skills/cavuno-board-filters/SKILL.md +11 -12
- package/skills/cavuno-board-format/SKILL.md +68 -56
- package/skills/cavuno-board-i18n/SKILL.md +102 -21
- package/skills/cavuno-board-search-suggestions/SKILL.md +8 -3
- package/skills/cavuno-board-seo/BLOG.md +4 -1
- package/skills/cavuno-board-seo/JOB_AND_BREADCRUMBS.md +5 -2
- package/skills/cavuno-board-seo/LISTING.md +35 -12
- package/skills/cavuno-board-seo/SALARY.md +83 -18
- package/skills/cavuno-board-seo/SKILL.md +3 -2
- package/skills/manifest.json +3 -3
- package/dist/breadcrumbs-1hMjcsqA.d.mts +0 -171
- package/dist/breadcrumbs-DexU07TT.d.ts +0 -171
- package/dist/chunk-IJCJ26SQ.mjs +0 -596
- package/dist/chunk-L7ZOYWHW.mjs +0 -98
- package/dist/chunk-LUGJWOT7.mjs +0 -96
- package/dist/ui-copy-CCkz6CVF.d.mts +0 -230
- package/dist/ui-copy-CCkz6CVF.d.ts +0 -230
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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, R as REFRESH_TOKEN_KEY, f as
|
|
4
|
-
import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-
|
|
5
|
-
export { a as CompanyCategorySalary, j as CompanyMarket, k as CompanyMarketRef, b as CompanySalary, C as CustomFieldDefinition, l as CustomFieldOption, m as CustomFieldType, L as LocationSalaryDetail, n as LocationSkillsIndex, o as LocationTitlesIndex, P as PublicBoard, p as PublicBoardAnalytics, q as PublicBoardFeatures, r as PublicCompany, s as PublicCompanyDetail, t as SalaryCompany, u as SalaryLocation, v as SalarySkill, w as SalaryTitle, x as SkillLocationSalary, y as SkillLocationsIndex, S as SkillSalaryDetail, z as TitleLocationSalary, A as TitleLocationsIndex, T as TitleSalaryDetail } from './board-
|
|
6
|
-
import { R as RemoteOption, E as EmploymentType, S as Seniority, L as ListEnvelope,
|
|
7
|
-
export {
|
|
8
|
-
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-
|
|
9
|
-
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-BZDv2dc5.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-OKrdAHv8.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-OKrdAHv8.mjs';
|
|
4
|
+
import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-BF3Qao6J.mjs';
|
|
5
|
+
export { a as CompanyCategorySalary, j as CompanyMarket, k as CompanyMarketRef, b as CompanySalary, C as CustomFieldDefinition, l as CustomFieldOption, m as CustomFieldType, L as LocationSalaryDetail, n as LocationSkillsIndex, o as LocationTitlesIndex, P as PublicBoard, p as PublicBoardAnalytics, q as PublicBoardFeatures, r as PublicCompany, s as PublicCompanyDetail, t as SalaryCompany, u as SalaryLocation, v as SalarySkill, w as SalaryTitle, x as SkillLocationSalary, y as SkillLocationsIndex, S as SkillSalaryDetail, z as TitleLocationSalary, A as TitleLocationsIndex, T as TitleSalaryDetail } from './board-BF3Qao6J.mjs';
|
|
6
|
+
import { R as RemoteOption, E as EmploymentType, S as Seniority, L as ListEnvelope, a as JobsListQuery, b as JobCardListEnvelope, c as JobsSearchBody, d as JobCardSearchEnvelope, e as JobsSimilarQuery, f as SearchEnvelope } from './jobs-BX6d_sdd.mjs';
|
|
7
|
+
export { g as CustomFieldValue, C as CustomFieldValues, h as EducationRequirement, i as JobCatalogPagination, j as JobCompany, J as JobSort, O as OfficeLocation, k as OffsetPagination, P as PublicJob, l as PublicJobCard, m as RelatedSearch, n as RemotePermit, o as RemoteTimezone, p as StorefrontPagination } from './jobs-BX6d_sdd.mjs';
|
|
8
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-DyDvyQrI.mjs';
|
|
9
|
+
export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts, f as PublicBlogAuthor, g as PublicBlogPost, P as PublicBlogPostSummary, h as PublicBlogTag } from './blog-DyDvyQrI.mjs';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
|
|
@@ -142,7 +142,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
|
|
|
142
142
|
* constant because the package is platform-neutral and cannot read
|
|
143
143
|
* package.json at runtime.
|
|
144
144
|
*/
|
|
145
|
-
declare const SDK_VERSION = "
|
|
145
|
+
declare const SDK_VERSION = "4.1.0";
|
|
146
146
|
|
|
147
147
|
type SavedJob = Schemas['SavedJob'];
|
|
148
148
|
type SavedJobsListQuery = {
|
|
@@ -425,10 +425,11 @@ type OAuthAuthorizationUrl = Schemas['BoardAuthOAuthAuthorizationUrl'];
|
|
|
425
425
|
type OAuthExchangeBody = Schemas['BoardAuthOAuthExchangeBody'];
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
* The public SEO-infra payload (`board.seo()`) —
|
|
429
|
-
* frontend rebuilds `robots.txt` / `ads.txt` / `indexnow-key.txt`
|
|
430
|
-
* Google site-verification `<meta>`
|
|
431
|
-
*
|
|
428
|
+
* The public SEO-infra payload (`board.seo()`) — platform infrastructure a
|
|
429
|
+
* headless frontend rebuilds `robots.txt` / `ads.txt` / `indexnow-key.txt`
|
|
430
|
+
* (+ the Google site-verification `<meta>`) from, byte-identically to the
|
|
431
|
+
* hosted board. Icons and `themeColor` left in 4.0.0; applications
|
|
432
|
+
* own brand assets and presentation tokens.
|
|
432
433
|
*/
|
|
433
434
|
type BoardSeo = Schemas['BoardSeo'];
|
|
434
435
|
|
|
@@ -458,6 +459,14 @@ type EmbedJobsQuery = {
|
|
|
458
459
|
*/
|
|
459
460
|
type BoardAccessGrant = Schemas['BoardAccessGrant'];
|
|
460
461
|
|
|
462
|
+
/**
|
|
463
|
+
* A board user's marketing-email consent, or `null` when no decision exists.
|
|
464
|
+
*
|
|
465
|
+
* Carries no disclosure text or wording version: the checkbox copy is authored
|
|
466
|
+
* by the board's own frontend, so the API records the decision, not the prose.
|
|
467
|
+
*/
|
|
468
|
+
type MarketingConsent = Schemas['MarketingConsent'];
|
|
469
|
+
|
|
461
470
|
/**
|
|
462
471
|
* The result of resolving a path against the board's configured redirects
|
|
463
472
|
* (`board.redirects.resolve()`). A headless frontend 308s to `target`, or
|
|
@@ -465,16 +474,6 @@ type BoardAccessGrant = Schemas['BoardAccessGrant'];
|
|
|
465
474
|
*/
|
|
466
475
|
type RedirectResolution = Schemas['RedirectResolution'];
|
|
467
476
|
|
|
468
|
-
/**
|
|
469
|
-
* A board legal/about page. The
|
|
470
|
-
* API serves owner-authored prose as portable HTML; the starter authors the
|
|
471
|
-
* layout + JSON-LD. Impressum additionally carries structured legal-entity
|
|
472
|
-
* facts and is gated by the board's `impressumEnabled` flag (404 when off).
|
|
473
|
-
*/
|
|
474
|
-
type LegalPageType = 'terms-of-service' | 'privacy-policy' | 'cookie-policy' | 'about' | 'impressum';
|
|
475
|
-
type PublicLegalPage = Schemas['LegalPage'];
|
|
476
|
-
type LegalEntity = NonNullable<PublicLegalPage['legalEntity']>;
|
|
477
|
-
|
|
478
477
|
/**
|
|
479
478
|
* A candidate's public profile — header (name, headline, location, bio, avatar,
|
|
480
479
|
* job-search status) plus their experiences, education, skills, and languages.
|
|
@@ -631,7 +630,6 @@ type TaxonomyListQuery = {
|
|
|
631
630
|
cursor?: string;
|
|
632
631
|
limit?: number;
|
|
633
632
|
};
|
|
634
|
-
type SuggestionsListQuery = Omit<TaxonomyListQuery, 'cursor'>;
|
|
635
633
|
/**
|
|
636
634
|
* Query for `taxonomy.places.list()`. Omit it (or `q`) for the full
|
|
637
635
|
* locations directory; pass `q` (≥2 chars) for location autocomplete — the
|
|
@@ -700,7 +698,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
700
698
|
candidates: boolean;
|
|
701
699
|
employers: boolean;
|
|
702
700
|
blog: boolean;
|
|
703
|
-
talentDirectory:
|
|
701
|
+
talentDirectory: "off" | "public" | "employers_only";
|
|
704
702
|
registrationWall: boolean;
|
|
705
703
|
passwordProtected: boolean;
|
|
706
704
|
publicJobSubmission: boolean;
|
|
@@ -709,7 +707,6 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
709
707
|
nativeApplications: boolean;
|
|
710
708
|
messaging: boolean;
|
|
711
709
|
};
|
|
712
|
-
talentDirectoryVisibility: "off" | "public" | "employers_only";
|
|
713
710
|
analytics: {
|
|
714
711
|
ga4MeasurementId: string | null;
|
|
715
712
|
gtmId: string | null;
|
|
@@ -717,25 +714,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
717
714
|
linkedInPartnerId: string | null;
|
|
718
715
|
cookieConsentRequired: boolean;
|
|
719
716
|
};
|
|
720
|
-
customFields:
|
|
721
|
-
|
|
722
|
-
[key: string]: {
|
|
723
|
-
[key: string]: string;
|
|
724
|
-
};
|
|
717
|
+
customFields: {
|
|
718
|
+
job: components["schemas"]["CustomFieldDefinition"][];
|
|
725
719
|
};
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
contactEmail: string | null;
|
|
720
|
+
contact: {
|
|
721
|
+
email: string | null;
|
|
729
722
|
websiteUrl: string | null;
|
|
730
723
|
xUrl: string | null;
|
|
731
724
|
facebookUrl: string | null;
|
|
732
725
|
linkedinUrl: string | null;
|
|
733
|
-
navigationOrder: string[];
|
|
734
|
-
customLinks: {
|
|
735
|
-
id: string;
|
|
736
|
-
label: string;
|
|
737
|
-
url: string;
|
|
738
|
-
}[];
|
|
739
726
|
};
|
|
740
727
|
}>;
|
|
741
728
|
/**
|
|
@@ -752,17 +739,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
752
739
|
indexNowKey: string | null;
|
|
753
740
|
googleSiteVerification: string | null;
|
|
754
741
|
canonicalBase: string;
|
|
755
|
-
icons: {
|
|
756
|
-
ico: string | null;
|
|
757
|
-
svg: string | null;
|
|
758
|
-
appleTouch: string | null;
|
|
759
|
-
icon192: string | null;
|
|
760
|
-
icon512: string | null;
|
|
761
|
-
iconMaskable512: string | null;
|
|
762
|
-
};
|
|
763
742
|
manifest: {
|
|
764
743
|
name: string;
|
|
765
|
-
themeColor: string;
|
|
766
744
|
};
|
|
767
745
|
}>;
|
|
768
746
|
jobs: {
|
|
@@ -836,6 +814,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
836
814
|
employmentType: "full_time" | "part_time" | "contract" | "internship" | "temporary" | "volunteer" | "other" | null;
|
|
837
815
|
remoteOption: "on_site" | "hybrid" | "remote" | null;
|
|
838
816
|
remoteLocationLabel: string | null;
|
|
817
|
+
remoteWorldwide: boolean | null;
|
|
818
|
+
remoteWorkPermitCountryCodes: string[];
|
|
839
819
|
salaryMin: number | null;
|
|
840
820
|
salaryMax: number | null;
|
|
841
821
|
salaryCurrency: string | null;
|
|
@@ -933,6 +913,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
933
913
|
employmentType: "full_time" | "part_time" | "contract" | "internship" | "temporary" | "volunteer" | "other" | null;
|
|
934
914
|
remoteOption: "on_site" | "hybrid" | "remote" | null;
|
|
935
915
|
remoteLocationLabel: string | null;
|
|
916
|
+
remoteWorldwide: boolean | null;
|
|
917
|
+
remoteWorkPermitCountryCodes: string[];
|
|
936
918
|
salaryMin: number | null;
|
|
937
919
|
salaryMax: number | null;
|
|
938
920
|
salaryCurrency: string | null;
|
|
@@ -1246,19 +1228,6 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1246
1228
|
tags: components["schemas"]["PublicBlogTagEmbed"][];
|
|
1247
1229
|
}>>;
|
|
1248
1230
|
};
|
|
1249
|
-
legal: {
|
|
1250
|
-
retrieve(type: LegalPageType, options?: FetchOptions): Promise<{
|
|
1251
|
-
object: "legal_page";
|
|
1252
|
-
type: string;
|
|
1253
|
-
title: string;
|
|
1254
|
-
content: string;
|
|
1255
|
-
contentFormat: "html";
|
|
1256
|
-
legalEntity: {
|
|
1257
|
-
legalName: string | null;
|
|
1258
|
-
address: string | null;
|
|
1259
|
-
} | null;
|
|
1260
|
-
}>;
|
|
1261
|
-
};
|
|
1262
1231
|
auth: {
|
|
1263
1232
|
register(body: RegisterBody, options?: FetchOptions): Promise<{
|
|
1264
1233
|
object: "board_auth_session";
|
|
@@ -2110,14 +2079,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
2110
2079
|
object: "saved_job";
|
|
2111
2080
|
jobId: string;
|
|
2112
2081
|
savedAt: string;
|
|
2113
|
-
job: components["schemas"]["
|
|
2082
|
+
job: components["schemas"]["PublicJobCard"];
|
|
2114
2083
|
}>>;
|
|
2115
2084
|
save(body: SaveJobBody, query?: Record<string, never>, options?: FetchOptions): Promise<{
|
|
2116
2085
|
id: string;
|
|
2117
2086
|
object: "saved_job";
|
|
2118
2087
|
jobId: string;
|
|
2119
2088
|
savedAt: string;
|
|
2120
|
-
job: components["schemas"]["
|
|
2089
|
+
job: components["schemas"]["PublicJobCard"];
|
|
2121
2090
|
}>;
|
|
2122
2091
|
unsave(jobId: string, query?: Record<string, never>, options?: FetchOptions): Promise<void>;
|
|
2123
2092
|
};
|
|
@@ -2270,6 +2239,38 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
2270
2239
|
blocked: boolean;
|
|
2271
2240
|
}>;
|
|
2272
2241
|
};
|
|
2242
|
+
marketingConsent: {
|
|
2243
|
+
retrieve(options?: FetchOptions): Promise<{
|
|
2244
|
+
id: string;
|
|
2245
|
+
object: "marketing_consent";
|
|
2246
|
+
status: "granted" | "withdrawn";
|
|
2247
|
+
source: string;
|
|
2248
|
+
reason: "person_request" | "operator_request" | "account_deleted" | null;
|
|
2249
|
+
grantedAt: string | null;
|
|
2250
|
+
withdrawnAt: string | null;
|
|
2251
|
+
revision: number;
|
|
2252
|
+
} | null>;
|
|
2253
|
+
grant(options?: FetchOptions): Promise<{
|
|
2254
|
+
id: string;
|
|
2255
|
+
object: "marketing_consent";
|
|
2256
|
+
status: "granted" | "withdrawn";
|
|
2257
|
+
source: string;
|
|
2258
|
+
reason: "person_request" | "operator_request" | "account_deleted" | null;
|
|
2259
|
+
grantedAt: string | null;
|
|
2260
|
+
withdrawnAt: string | null;
|
|
2261
|
+
revision: number;
|
|
2262
|
+
} | null>;
|
|
2263
|
+
withdraw(options?: FetchOptions): Promise<{
|
|
2264
|
+
id: string;
|
|
2265
|
+
object: "marketing_consent";
|
|
2266
|
+
status: "granted" | "withdrawn";
|
|
2267
|
+
source: string;
|
|
2268
|
+
reason: "person_request" | "operator_request" | "account_deleted" | null;
|
|
2269
|
+
grantedAt: string | null;
|
|
2270
|
+
withdrawnAt: string | null;
|
|
2271
|
+
revision: number;
|
|
2272
|
+
} | null>;
|
|
2273
|
+
};
|
|
2273
2274
|
access: {
|
|
2274
2275
|
checkout(body: AccessCheckoutBody, options?: FetchOptions): Promise<{
|
|
2275
2276
|
object: "checkout_session";
|
|
@@ -2348,16 +2349,6 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
2348
2349
|
label: string;
|
|
2349
2350
|
}>>;
|
|
2350
2351
|
};
|
|
2351
|
-
suggestions: {
|
|
2352
|
-
list(query?: SuggestionsListQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
2353
|
-
object: "taxonomy_term";
|
|
2354
|
-
id: string;
|
|
2355
|
-
type: "category" | "skill";
|
|
2356
|
-
sourceSlug: string;
|
|
2357
|
-
canonicalSlug: string;
|
|
2358
|
-
displayName: string;
|
|
2359
|
-
}>>;
|
|
2360
|
-
};
|
|
2361
2352
|
places: {
|
|
2362
2353
|
list(query?: PlacesListQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
2363
2354
|
object: "place";
|
|
@@ -3020,4 +3011,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3020
3011
|
};
|
|
3021
3012
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
3022
3013
|
|
|
3023
|
-
export { type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyBody, Awaitable, BOARD_API_ERROR_CODES, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMembership, CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, 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, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery,
|
|
3014
|
+
export { type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyBody, Awaitable, BOARD_API_ERROR_CODES, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMembership, CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, 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, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PublicPlace, type PublicTaxonomyTerm, type ReadReceipt, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePipelineStageBody, type UpdateSkillsBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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, R as REFRESH_TOKEN_KEY, f as
|
|
4
|
-
import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-
|
|
5
|
-
export { a as CompanyCategorySalary, j as CompanyMarket, k as CompanyMarketRef, b as CompanySalary, C as CustomFieldDefinition, l as CustomFieldOption, m as CustomFieldType, L as LocationSalaryDetail, n as LocationSkillsIndex, o as LocationTitlesIndex, P as PublicBoard, p as PublicBoardAnalytics, q as PublicBoardFeatures, r as PublicCompany, s as PublicCompanyDetail, t as SalaryCompany, u as SalaryLocation, v as SalarySkill, w as SalaryTitle, x as SkillLocationSalary, y as SkillLocationsIndex, S as SkillSalaryDetail, z as TitleLocationSalary, A as TitleLocationsIndex, T as TitleSalaryDetail } from './board-
|
|
6
|
-
import { R as RemoteOption, E as EmploymentType, S as Seniority, L as ListEnvelope,
|
|
7
|
-
export {
|
|
8
|
-
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-
|
|
9
|
-
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-BZDv2dc5.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-7B-mVRNA.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-7B-mVRNA.js';
|
|
4
|
+
import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-BTEZ0uiI.js';
|
|
5
|
+
export { a as CompanyCategorySalary, j as CompanyMarket, k as CompanyMarketRef, b as CompanySalary, C as CustomFieldDefinition, l as CustomFieldOption, m as CustomFieldType, L as LocationSalaryDetail, n as LocationSkillsIndex, o as LocationTitlesIndex, P as PublicBoard, p as PublicBoardAnalytics, q as PublicBoardFeatures, r as PublicCompany, s as PublicCompanyDetail, t as SalaryCompany, u as SalaryLocation, v as SalarySkill, w as SalaryTitle, x as SkillLocationSalary, y as SkillLocationsIndex, S as SkillSalaryDetail, z as TitleLocationSalary, A as TitleLocationsIndex, T as TitleSalaryDetail } from './board-BTEZ0uiI.js';
|
|
6
|
+
import { R as RemoteOption, E as EmploymentType, S as Seniority, L as ListEnvelope, a as JobsListQuery, b as JobCardListEnvelope, c as JobsSearchBody, d as JobCardSearchEnvelope, e as JobsSimilarQuery, f as SearchEnvelope } from './jobs-BbLJfz1z.js';
|
|
7
|
+
export { g as CustomFieldValue, C as CustomFieldValues, h as EducationRequirement, i as JobCatalogPagination, j as JobCompany, J as JobSort, O as OfficeLocation, k as OffsetPagination, P as PublicJob, l as PublicJobCard, m as RelatedSearch, n as RemotePermit, o as RemoteTimezone, p as StorefrontPagination } from './jobs-BbLJfz1z.js';
|
|
8
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-BHx6iH3Z.js';
|
|
9
|
+
export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts, f as PublicBlogAuthor, g as PublicBlogPost, P as PublicBlogPostSummary, h as PublicBlogTag } from './blog-BHx6iH3Z.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
|
|
@@ -142,7 +142,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
|
|
|
142
142
|
* constant because the package is platform-neutral and cannot read
|
|
143
143
|
* package.json at runtime.
|
|
144
144
|
*/
|
|
145
|
-
declare const SDK_VERSION = "
|
|
145
|
+
declare const SDK_VERSION = "4.1.0";
|
|
146
146
|
|
|
147
147
|
type SavedJob = Schemas['SavedJob'];
|
|
148
148
|
type SavedJobsListQuery = {
|
|
@@ -425,10 +425,11 @@ type OAuthAuthorizationUrl = Schemas['BoardAuthOAuthAuthorizationUrl'];
|
|
|
425
425
|
type OAuthExchangeBody = Schemas['BoardAuthOAuthExchangeBody'];
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
* The public SEO-infra payload (`board.seo()`) —
|
|
429
|
-
* frontend rebuilds `robots.txt` / `ads.txt` / `indexnow-key.txt`
|
|
430
|
-
* Google site-verification `<meta>`
|
|
431
|
-
*
|
|
428
|
+
* The public SEO-infra payload (`board.seo()`) — platform infrastructure a
|
|
429
|
+
* headless frontend rebuilds `robots.txt` / `ads.txt` / `indexnow-key.txt`
|
|
430
|
+
* (+ the Google site-verification `<meta>`) from, byte-identically to the
|
|
431
|
+
* hosted board. Icons and `themeColor` left in 4.0.0; applications
|
|
432
|
+
* own brand assets and presentation tokens.
|
|
432
433
|
*/
|
|
433
434
|
type BoardSeo = Schemas['BoardSeo'];
|
|
434
435
|
|
|
@@ -458,6 +459,14 @@ type EmbedJobsQuery = {
|
|
|
458
459
|
*/
|
|
459
460
|
type BoardAccessGrant = Schemas['BoardAccessGrant'];
|
|
460
461
|
|
|
462
|
+
/**
|
|
463
|
+
* A board user's marketing-email consent, or `null` when no decision exists.
|
|
464
|
+
*
|
|
465
|
+
* Carries no disclosure text or wording version: the checkbox copy is authored
|
|
466
|
+
* by the board's own frontend, so the API records the decision, not the prose.
|
|
467
|
+
*/
|
|
468
|
+
type MarketingConsent = Schemas['MarketingConsent'];
|
|
469
|
+
|
|
461
470
|
/**
|
|
462
471
|
* The result of resolving a path against the board's configured redirects
|
|
463
472
|
* (`board.redirects.resolve()`). A headless frontend 308s to `target`, or
|
|
@@ -465,16 +474,6 @@ type BoardAccessGrant = Schemas['BoardAccessGrant'];
|
|
|
465
474
|
*/
|
|
466
475
|
type RedirectResolution = Schemas['RedirectResolution'];
|
|
467
476
|
|
|
468
|
-
/**
|
|
469
|
-
* A board legal/about page. The
|
|
470
|
-
* API serves owner-authored prose as portable HTML; the starter authors the
|
|
471
|
-
* layout + JSON-LD. Impressum additionally carries structured legal-entity
|
|
472
|
-
* facts and is gated by the board's `impressumEnabled` flag (404 when off).
|
|
473
|
-
*/
|
|
474
|
-
type LegalPageType = 'terms-of-service' | 'privacy-policy' | 'cookie-policy' | 'about' | 'impressum';
|
|
475
|
-
type PublicLegalPage = Schemas['LegalPage'];
|
|
476
|
-
type LegalEntity = NonNullable<PublicLegalPage['legalEntity']>;
|
|
477
|
-
|
|
478
477
|
/**
|
|
479
478
|
* A candidate's public profile — header (name, headline, location, bio, avatar,
|
|
480
479
|
* job-search status) plus their experiences, education, skills, and languages.
|
|
@@ -631,7 +630,6 @@ type TaxonomyListQuery = {
|
|
|
631
630
|
cursor?: string;
|
|
632
631
|
limit?: number;
|
|
633
632
|
};
|
|
634
|
-
type SuggestionsListQuery = Omit<TaxonomyListQuery, 'cursor'>;
|
|
635
633
|
/**
|
|
636
634
|
* Query for `taxonomy.places.list()`. Omit it (or `q`) for the full
|
|
637
635
|
* locations directory; pass `q` (≥2 chars) for location autocomplete — the
|
|
@@ -700,7 +698,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
700
698
|
candidates: boolean;
|
|
701
699
|
employers: boolean;
|
|
702
700
|
blog: boolean;
|
|
703
|
-
talentDirectory:
|
|
701
|
+
talentDirectory: "off" | "public" | "employers_only";
|
|
704
702
|
registrationWall: boolean;
|
|
705
703
|
passwordProtected: boolean;
|
|
706
704
|
publicJobSubmission: boolean;
|
|
@@ -709,7 +707,6 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
709
707
|
nativeApplications: boolean;
|
|
710
708
|
messaging: boolean;
|
|
711
709
|
};
|
|
712
|
-
talentDirectoryVisibility: "off" | "public" | "employers_only";
|
|
713
710
|
analytics: {
|
|
714
711
|
ga4MeasurementId: string | null;
|
|
715
712
|
gtmId: string | null;
|
|
@@ -717,25 +714,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
717
714
|
linkedInPartnerId: string | null;
|
|
718
715
|
cookieConsentRequired: boolean;
|
|
719
716
|
};
|
|
720
|
-
customFields:
|
|
721
|
-
|
|
722
|
-
[key: string]: {
|
|
723
|
-
[key: string]: string;
|
|
724
|
-
};
|
|
717
|
+
customFields: {
|
|
718
|
+
job: components["schemas"]["CustomFieldDefinition"][];
|
|
725
719
|
};
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
contactEmail: string | null;
|
|
720
|
+
contact: {
|
|
721
|
+
email: string | null;
|
|
729
722
|
websiteUrl: string | null;
|
|
730
723
|
xUrl: string | null;
|
|
731
724
|
facebookUrl: string | null;
|
|
732
725
|
linkedinUrl: string | null;
|
|
733
|
-
navigationOrder: string[];
|
|
734
|
-
customLinks: {
|
|
735
|
-
id: string;
|
|
736
|
-
label: string;
|
|
737
|
-
url: string;
|
|
738
|
-
}[];
|
|
739
726
|
};
|
|
740
727
|
}>;
|
|
741
728
|
/**
|
|
@@ -752,17 +739,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
752
739
|
indexNowKey: string | null;
|
|
753
740
|
googleSiteVerification: string | null;
|
|
754
741
|
canonicalBase: string;
|
|
755
|
-
icons: {
|
|
756
|
-
ico: string | null;
|
|
757
|
-
svg: string | null;
|
|
758
|
-
appleTouch: string | null;
|
|
759
|
-
icon192: string | null;
|
|
760
|
-
icon512: string | null;
|
|
761
|
-
iconMaskable512: string | null;
|
|
762
|
-
};
|
|
763
742
|
manifest: {
|
|
764
743
|
name: string;
|
|
765
|
-
themeColor: string;
|
|
766
744
|
};
|
|
767
745
|
}>;
|
|
768
746
|
jobs: {
|
|
@@ -836,6 +814,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
836
814
|
employmentType: "full_time" | "part_time" | "contract" | "internship" | "temporary" | "volunteer" | "other" | null;
|
|
837
815
|
remoteOption: "on_site" | "hybrid" | "remote" | null;
|
|
838
816
|
remoteLocationLabel: string | null;
|
|
817
|
+
remoteWorldwide: boolean | null;
|
|
818
|
+
remoteWorkPermitCountryCodes: string[];
|
|
839
819
|
salaryMin: number | null;
|
|
840
820
|
salaryMax: number | null;
|
|
841
821
|
salaryCurrency: string | null;
|
|
@@ -933,6 +913,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
933
913
|
employmentType: "full_time" | "part_time" | "contract" | "internship" | "temporary" | "volunteer" | "other" | null;
|
|
934
914
|
remoteOption: "on_site" | "hybrid" | "remote" | null;
|
|
935
915
|
remoteLocationLabel: string | null;
|
|
916
|
+
remoteWorldwide: boolean | null;
|
|
917
|
+
remoteWorkPermitCountryCodes: string[];
|
|
936
918
|
salaryMin: number | null;
|
|
937
919
|
salaryMax: number | null;
|
|
938
920
|
salaryCurrency: string | null;
|
|
@@ -1246,19 +1228,6 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
1246
1228
|
tags: components["schemas"]["PublicBlogTagEmbed"][];
|
|
1247
1229
|
}>>;
|
|
1248
1230
|
};
|
|
1249
|
-
legal: {
|
|
1250
|
-
retrieve(type: LegalPageType, options?: FetchOptions): Promise<{
|
|
1251
|
-
object: "legal_page";
|
|
1252
|
-
type: string;
|
|
1253
|
-
title: string;
|
|
1254
|
-
content: string;
|
|
1255
|
-
contentFormat: "html";
|
|
1256
|
-
legalEntity: {
|
|
1257
|
-
legalName: string | null;
|
|
1258
|
-
address: string | null;
|
|
1259
|
-
} | null;
|
|
1260
|
-
}>;
|
|
1261
|
-
};
|
|
1262
1231
|
auth: {
|
|
1263
1232
|
register(body: RegisterBody, options?: FetchOptions): Promise<{
|
|
1264
1233
|
object: "board_auth_session";
|
|
@@ -2110,14 +2079,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
2110
2079
|
object: "saved_job";
|
|
2111
2080
|
jobId: string;
|
|
2112
2081
|
savedAt: string;
|
|
2113
|
-
job: components["schemas"]["
|
|
2082
|
+
job: components["schemas"]["PublicJobCard"];
|
|
2114
2083
|
}>>;
|
|
2115
2084
|
save(body: SaveJobBody, query?: Record<string, never>, options?: FetchOptions): Promise<{
|
|
2116
2085
|
id: string;
|
|
2117
2086
|
object: "saved_job";
|
|
2118
2087
|
jobId: string;
|
|
2119
2088
|
savedAt: string;
|
|
2120
|
-
job: components["schemas"]["
|
|
2089
|
+
job: components["schemas"]["PublicJobCard"];
|
|
2121
2090
|
}>;
|
|
2122
2091
|
unsave(jobId: string, query?: Record<string, never>, options?: FetchOptions): Promise<void>;
|
|
2123
2092
|
};
|
|
@@ -2270,6 +2239,38 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
2270
2239
|
blocked: boolean;
|
|
2271
2240
|
}>;
|
|
2272
2241
|
};
|
|
2242
|
+
marketingConsent: {
|
|
2243
|
+
retrieve(options?: FetchOptions): Promise<{
|
|
2244
|
+
id: string;
|
|
2245
|
+
object: "marketing_consent";
|
|
2246
|
+
status: "granted" | "withdrawn";
|
|
2247
|
+
source: string;
|
|
2248
|
+
reason: "person_request" | "operator_request" | "account_deleted" | null;
|
|
2249
|
+
grantedAt: string | null;
|
|
2250
|
+
withdrawnAt: string | null;
|
|
2251
|
+
revision: number;
|
|
2252
|
+
} | null>;
|
|
2253
|
+
grant(options?: FetchOptions): Promise<{
|
|
2254
|
+
id: string;
|
|
2255
|
+
object: "marketing_consent";
|
|
2256
|
+
status: "granted" | "withdrawn";
|
|
2257
|
+
source: string;
|
|
2258
|
+
reason: "person_request" | "operator_request" | "account_deleted" | null;
|
|
2259
|
+
grantedAt: string | null;
|
|
2260
|
+
withdrawnAt: string | null;
|
|
2261
|
+
revision: number;
|
|
2262
|
+
} | null>;
|
|
2263
|
+
withdraw(options?: FetchOptions): Promise<{
|
|
2264
|
+
id: string;
|
|
2265
|
+
object: "marketing_consent";
|
|
2266
|
+
status: "granted" | "withdrawn";
|
|
2267
|
+
source: string;
|
|
2268
|
+
reason: "person_request" | "operator_request" | "account_deleted" | null;
|
|
2269
|
+
grantedAt: string | null;
|
|
2270
|
+
withdrawnAt: string | null;
|
|
2271
|
+
revision: number;
|
|
2272
|
+
} | null>;
|
|
2273
|
+
};
|
|
2273
2274
|
access: {
|
|
2274
2275
|
checkout(body: AccessCheckoutBody, options?: FetchOptions): Promise<{
|
|
2275
2276
|
object: "checkout_session";
|
|
@@ -2348,16 +2349,6 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
2348
2349
|
label: string;
|
|
2349
2350
|
}>>;
|
|
2350
2351
|
};
|
|
2351
|
-
suggestions: {
|
|
2352
|
-
list(query?: SuggestionsListQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
2353
|
-
object: "taxonomy_term";
|
|
2354
|
-
id: string;
|
|
2355
|
-
type: "category" | "skill";
|
|
2356
|
-
sourceSlug: string;
|
|
2357
|
-
canonicalSlug: string;
|
|
2358
|
-
displayName: string;
|
|
2359
|
-
}>>;
|
|
2360
|
-
};
|
|
2361
2352
|
places: {
|
|
2362
2353
|
list(query?: PlacesListQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
2363
2354
|
object: "place";
|
|
@@ -3020,4 +3011,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3020
3011
|
};
|
|
3021
3012
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
3022
3013
|
|
|
3023
|
-
export { type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyBody, Awaitable, BOARD_API_ERROR_CODES, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMembership, CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, 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, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery,
|
|
3014
|
+
export { type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyBody, Awaitable, BOARD_API_ERROR_CODES, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMembership, CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, 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, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PublicPlace, type PublicTaxonomyTerm, type ReadReceipt, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePipelineStageBody, type UpdateSkillsBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction };
|