@cavuno/board 4.18.0 → 4.19.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 +18 -0
- package/dist/{_spec-Dk0TIRUc.d.mts → _spec-DyTPJbIZ.d.mts} +22 -0
- package/dist/{_spec-Dk0TIRUc.d.ts → _spec-DyTPJbIZ.d.ts} +22 -0
- package/dist/{blog-C04NWTh_.d.mts → blog-Cdw6_ocq.d.mts} +1 -1
- package/dist/{blog-1THfucKR.d.ts → blog-vDgRPBAK.d.ts} +1 -1
- package/dist/{board-DIO9aFXx.d.mts → board-CLDHd9N_.d.mts} +10 -3
- package/dist/{board-CqeoQAa1.d.ts → board-DpDCNMJD.d.ts} +10 -3
- package/dist/{breadcrumbs-mE9Zsxlq.d.mts → breadcrumbs-CKtVWTOB.d.mts} +2 -2
- package/dist/{breadcrumbs-CCT1oC2-.d.ts → breadcrumbs-CYT3HxfO.d.ts} +2 -2
- package/dist/browser/cavuno-board.global.min.js +1 -1
- package/dist/{chunk-2WBQVVOB.mjs → chunk-XNO4NOPW.mjs} +1 -100
- package/dist/chunk-Z4ALWIGS.mjs +101 -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/index.d.mts +41 -12
- package/dist/index.d.ts +41 -12
- package/dist/index.js +18 -2
- package/dist/index.mjs +29 -11
- package/dist/{jobs-CVmAWGtJ.d.mts → jobs-Bnx1B6at.d.mts} +1 -1
- package/dist/{jobs-Dvv0vX8p.d.ts → jobs-Bwl7pKKg.d.ts} +1 -1
- package/dist/{search-CcstbHOe.d.ts → search-CQZ-ibOl.d.ts} +1 -1
- package/dist/{search-BJ5myYaf.d.mts → search-DlxLGmDk.d.mts} +1 -1
- package/dist/{seo-CWO6N-iE.d.ts → seo-BfEBr4pW.d.ts} +1 -1
- package/dist/seo-files.d.mts +2 -2
- package/dist/seo-files.d.ts +2 -2
- package/dist/{seo-Ds6tLMqU.d.mts → seo-zYWVcaj1.d.mts} +1 -1
- package/dist/seo.d.mts +6 -6
- package/dist/seo.d.ts +6 -6
- package/dist/server.d.mts +6 -6
- package/dist/server.d.ts +6 -6
- package/dist/server.mjs +4 -2
- package/dist/sitemap.d.mts +15 -7
- package/dist/sitemap.d.ts +15 -7
- package/dist/sitemap.js +49 -4
- package/dist/sitemap.mjs +44 -4
- package/dist/suggest.d.mts +2 -2
- package/dist/suggest.d.ts +2 -2
- package/package.json +1 -1
- package/skills/manifest.json +1 -1
|
@@ -193,97 +193,6 @@ function isConflict(e) {
|
|
|
193
193
|
return isBoardApiError(e) && e.status === 409;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// src/scope.ts
|
|
197
|
-
function scopeToken(board) {
|
|
198
|
-
let hash = 5381;
|
|
199
|
-
for (let i = 0; i < board.length; i++) {
|
|
200
|
-
hash = (hash << 5) + hash + board.charCodeAt(i) >>> 0;
|
|
201
|
-
}
|
|
202
|
-
const sanitized = board.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
203
|
-
return `${sanitized}-${hash.toString(36)}`;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
// src/storage.ts
|
|
207
|
-
var ACCESS_TOKEN_KEY = "cavuno_board_access_token";
|
|
208
|
-
var REFRESH_TOKEN_KEY = "cavuno_board_refresh_token";
|
|
209
|
-
var BOARD_ACCESS_GRANT_KEY = "cavuno_board_access_grant";
|
|
210
|
-
function isBrowser() {
|
|
211
|
-
return typeof globalThis.document !== "undefined";
|
|
212
|
-
}
|
|
213
|
-
function memoryStorage() {
|
|
214
|
-
const backing = /* @__PURE__ */ new Map();
|
|
215
|
-
return {
|
|
216
|
-
getItem: (key) => backing.get(key) ?? null,
|
|
217
|
-
setItem: (key, value) => {
|
|
218
|
-
backing.set(key, value);
|
|
219
|
-
},
|
|
220
|
-
removeItem: (key) => {
|
|
221
|
-
backing.delete(key);
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
function browserStorage(mode, scope) {
|
|
226
|
-
if (!isBrowser()) {
|
|
227
|
-
throw new Error(
|
|
228
|
-
`storage mode '${mode}' is browser-only \u2014 use 'nostore' + per-call headers on the server`
|
|
229
|
-
);
|
|
230
|
-
}
|
|
231
|
-
let backing;
|
|
232
|
-
try {
|
|
233
|
-
backing = mode === "local" ? globalThis.localStorage : globalThis.sessionStorage;
|
|
234
|
-
if (!backing) throw new Error("unavailable");
|
|
235
|
-
} catch {
|
|
236
|
-
throw new Error(
|
|
237
|
-
`storage mode '${mode}' is unavailable in this browsing context (storage access is blocked \u2014 e.g. a sandboxed or third-party iframe). Use 'memory', or 'nostore' + per-call headers.`
|
|
238
|
-
);
|
|
239
|
-
}
|
|
240
|
-
const suffix = scope ? `:${scopeToken(scope)}` : "";
|
|
241
|
-
return {
|
|
242
|
-
getItem: (key) => backing.getItem(`${key}${suffix}`),
|
|
243
|
-
setItem: (key, value) => {
|
|
244
|
-
backing.setItem(`${key}${suffix}`, value);
|
|
245
|
-
},
|
|
246
|
-
removeItem: (key) => {
|
|
247
|
-
backing.removeItem(`${key}${suffix}`);
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
var NOSTORE_BRAND = /* @__PURE__ */ Symbol.for("@cavuno/board:nostore");
|
|
252
|
-
function isNoStore(storage) {
|
|
253
|
-
return storage[NOSTORE_BRAND] === true;
|
|
254
|
-
}
|
|
255
|
-
var NOSTORE = {
|
|
256
|
-
[NOSTORE_BRAND]: true,
|
|
257
|
-
getItem: () => null,
|
|
258
|
-
setItem: () => {
|
|
259
|
-
},
|
|
260
|
-
removeItem: () => {
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
function resolveStorage(mode, scope) {
|
|
264
|
-
const resolved = mode ?? (isBrowser() ? "memory" : "nostore");
|
|
265
|
-
if (typeof resolved === "object") return resolved;
|
|
266
|
-
switch (resolved) {
|
|
267
|
-
case "memory":
|
|
268
|
-
return memoryStorage();
|
|
269
|
-
case "nostore":
|
|
270
|
-
return NOSTORE;
|
|
271
|
-
case "local":
|
|
272
|
-
case "session":
|
|
273
|
-
return browserStorage(resolved, scope);
|
|
274
|
-
default:
|
|
275
|
-
throw new Error(`Unknown storage mode '${String(resolved)}'`);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
async function writeSession(storage, session) {
|
|
279
|
-
await storage.setItem(ACCESS_TOKEN_KEY, session.accessToken);
|
|
280
|
-
await storage.setItem(REFRESH_TOKEN_KEY, session.refreshToken);
|
|
281
|
-
}
|
|
282
|
-
async function clearSession(storage) {
|
|
283
|
-
await storage.removeItem(ACCESS_TOKEN_KEY);
|
|
284
|
-
await storage.removeItem(REFRESH_TOKEN_KEY);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
196
|
export {
|
|
288
197
|
BOARD_API_ERROR_CODES,
|
|
289
198
|
BoardApiError,
|
|
@@ -294,13 +203,5 @@ export {
|
|
|
294
203
|
isForbidden,
|
|
295
204
|
isValidationError,
|
|
296
205
|
isRateLimited,
|
|
297
|
-
isConflict
|
|
298
|
-
scopeToken,
|
|
299
|
-
ACCESS_TOKEN_KEY,
|
|
300
|
-
REFRESH_TOKEN_KEY,
|
|
301
|
-
BOARD_ACCESS_GRANT_KEY,
|
|
302
|
-
isNoStore,
|
|
303
|
-
resolveStorage,
|
|
304
|
-
writeSession,
|
|
305
|
-
clearSession
|
|
206
|
+
isConflict
|
|
306
207
|
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// src/scope.ts
|
|
2
|
+
function scopeToken(board) {
|
|
3
|
+
let hash = 5381;
|
|
4
|
+
for (let i = 0; i < board.length; i++) {
|
|
5
|
+
hash = (hash << 5) + hash + board.charCodeAt(i) >>> 0;
|
|
6
|
+
}
|
|
7
|
+
const sanitized = board.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
8
|
+
return `${sanitized}-${hash.toString(36)}`;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// src/storage.ts
|
|
12
|
+
var ACCESS_TOKEN_KEY = "cavuno_board_access_token";
|
|
13
|
+
var REFRESH_TOKEN_KEY = "cavuno_board_refresh_token";
|
|
14
|
+
var BOARD_ACCESS_GRANT_KEY = "cavuno_board_access_grant";
|
|
15
|
+
function isBrowser() {
|
|
16
|
+
return typeof globalThis.document !== "undefined";
|
|
17
|
+
}
|
|
18
|
+
function memoryStorage() {
|
|
19
|
+
const backing = /* @__PURE__ */ new Map();
|
|
20
|
+
return {
|
|
21
|
+
getItem: (key) => backing.get(key) ?? null,
|
|
22
|
+
setItem: (key, value) => {
|
|
23
|
+
backing.set(key, value);
|
|
24
|
+
},
|
|
25
|
+
removeItem: (key) => {
|
|
26
|
+
backing.delete(key);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function browserStorage(mode, scope) {
|
|
31
|
+
if (!isBrowser()) {
|
|
32
|
+
throw new Error(
|
|
33
|
+
`storage mode '${mode}' is browser-only \u2014 use 'nostore' + per-call headers on the server`
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
let backing;
|
|
37
|
+
try {
|
|
38
|
+
backing = mode === "local" ? globalThis.localStorage : globalThis.sessionStorage;
|
|
39
|
+
if (!backing) throw new Error("unavailable");
|
|
40
|
+
} catch {
|
|
41
|
+
throw new Error(
|
|
42
|
+
`storage mode '${mode}' is unavailable in this browsing context (storage access is blocked \u2014 e.g. a sandboxed or third-party iframe). Use 'memory', or 'nostore' + per-call headers.`
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
const suffix = scope ? `:${scopeToken(scope)}` : "";
|
|
46
|
+
return {
|
|
47
|
+
getItem: (key) => backing.getItem(`${key}${suffix}`),
|
|
48
|
+
setItem: (key, value) => {
|
|
49
|
+
backing.setItem(`${key}${suffix}`, value);
|
|
50
|
+
},
|
|
51
|
+
removeItem: (key) => {
|
|
52
|
+
backing.removeItem(`${key}${suffix}`);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
var NOSTORE_BRAND = /* @__PURE__ */ Symbol.for("@cavuno/board:nostore");
|
|
57
|
+
function isNoStore(storage) {
|
|
58
|
+
return storage[NOSTORE_BRAND] === true;
|
|
59
|
+
}
|
|
60
|
+
var NOSTORE = {
|
|
61
|
+
[NOSTORE_BRAND]: true,
|
|
62
|
+
getItem: () => null,
|
|
63
|
+
setItem: () => {
|
|
64
|
+
},
|
|
65
|
+
removeItem: () => {
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
function resolveStorage(mode, scope) {
|
|
69
|
+
const resolved = mode ?? (isBrowser() ? "memory" : "nostore");
|
|
70
|
+
if (typeof resolved === "object") return resolved;
|
|
71
|
+
switch (resolved) {
|
|
72
|
+
case "memory":
|
|
73
|
+
return memoryStorage();
|
|
74
|
+
case "nostore":
|
|
75
|
+
return NOSTORE;
|
|
76
|
+
case "local":
|
|
77
|
+
case "session":
|
|
78
|
+
return browserStorage(resolved, scope);
|
|
79
|
+
default:
|
|
80
|
+
throw new Error(`Unknown storage mode '${String(resolved)}'`);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
async function writeSession(storage, session) {
|
|
84
|
+
await storage.setItem(ACCESS_TOKEN_KEY, session.accessToken);
|
|
85
|
+
await storage.setItem(REFRESH_TOKEN_KEY, session.refreshToken);
|
|
86
|
+
}
|
|
87
|
+
async function clearSession(storage) {
|
|
88
|
+
await storage.removeItem(ACCESS_TOKEN_KEY);
|
|
89
|
+
await storage.removeItem(REFRESH_TOKEN_KEY);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export {
|
|
93
|
+
scopeToken,
|
|
94
|
+
ACCESS_TOKEN_KEY,
|
|
95
|
+
REFRESH_TOKEN_KEY,
|
|
96
|
+
BOARD_ACCESS_GRANT_KEY,
|
|
97
|
+
isNoStore,
|
|
98
|
+
resolveStorage,
|
|
99
|
+
writeSession,
|
|
100
|
+
clearSession
|
|
101
|
+
};
|
package/dist/filters.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-
|
|
2
|
-
import './_spec-
|
|
1
|
+
import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-Bnx1B6at.mjs';
|
|
2
|
+
import './_spec-DyTPJbIZ.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `@cavuno/board/filters` — the canonical listing-filter vocabulary and URL
|
package/dist/filters.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-
|
|
2
|
-
import './_spec-
|
|
1
|
+
import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-Bwl7pKKg.js';
|
|
2
|
+
import './_spec-DyTPJbIZ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `@cavuno/board/filters` — the canonical listing-filter vocabulary and URL
|
package/dist/format.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { C as CurrencyDisplay, F as FormattedSalaryRange, J as JobBreadcrumb, N as NumberNotation, S as SalaryTimeframeInput, a as SalaryTimeframeValue, b as buildJobBreadcrumbs, f as formatSalaryRange, c as formatSalaryStat, d as formatSalaryStatRange, n as normalizeWebsiteUrl } from './breadcrumbs-
|
|
2
|
-
import { C as CustomFieldDefinition } from './board-
|
|
3
|
-
import { C as CustomFieldValues } from './jobs-
|
|
4
|
-
import './_spec-
|
|
1
|
+
export { C as CurrencyDisplay, F as FormattedSalaryRange, J as JobBreadcrumb, N as NumberNotation, S as SalaryTimeframeInput, a as SalaryTimeframeValue, b as buildJobBreadcrumbs, f as formatSalaryRange, c as formatSalaryStat, d as formatSalaryStatRange, n as normalizeWebsiteUrl } from './breadcrumbs-CKtVWTOB.mjs';
|
|
2
|
+
import { C as CustomFieldDefinition } from './board-CLDHd9N_.mjs';
|
|
3
|
+
import { C as CustomFieldValues } from './jobs-Bnx1B6at.mjs';
|
|
4
|
+
import './_spec-DyTPJbIZ.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Date display helpers in the board language (required leading parameter,
|
package/dist/format.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { C as CurrencyDisplay, F as FormattedSalaryRange, J as JobBreadcrumb, N as NumberNotation, S as SalaryTimeframeInput, a as SalaryTimeframeValue, b as buildJobBreadcrumbs, f as formatSalaryRange, c as formatSalaryStat, d as formatSalaryStatRange, n as normalizeWebsiteUrl } from './breadcrumbs-
|
|
2
|
-
import { C as CustomFieldDefinition } from './board-
|
|
3
|
-
import { C as CustomFieldValues } from './jobs-
|
|
4
|
-
import './_spec-
|
|
1
|
+
export { C as CurrencyDisplay, F as FormattedSalaryRange, J as JobBreadcrumb, N as NumberNotation, S as SalaryTimeframeInput, a as SalaryTimeframeValue, b as buildJobBreadcrumbs, f as formatSalaryRange, c as formatSalaryStat, d as formatSalaryStatRange, n as normalizeWebsiteUrl } from './breadcrumbs-CYT3HxfO.js';
|
|
2
|
+
import { C as CustomFieldDefinition } from './board-DpDCNMJD.js';
|
|
3
|
+
import { C as CustomFieldValues } from './jobs-Bwl7pKKg.js';
|
|
4
|
+
import './_spec-DyTPJbIZ.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Date display helpers in the board language (required leading parameter,
|
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 { 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, l as CompanySalarySummary, C as CustomFieldDefinition, m as CustomFieldOption, n as CustomFieldType, L as LocationSalaryDetail, o as LocationSkillsIndex, p as LocationTitlesIndex, P as PublicBoard, q as PublicBoardAds, r as PublicBoardAnalytics, s as PublicBoardFeatures, t as PublicBoardJobForm, u as PublicCompany, v as PublicCompanyDetail, w as SalaryCompany, x as SalaryLocation, y as SalarySkill, z as SalaryTitle, A as SkillLocationSalary, B as SkillLocationsIndex, S as SkillSalaryDetail, D as TitleLocationSalary, E as TitleLocationsIndex, T as TitleSalaryDetail } from './board-
|
|
6
|
-
export { B as BoardSeo } from './seo-
|
|
7
|
-
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-
|
|
8
|
-
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-
|
|
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-DyTPJbIZ.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-DlxLGmDk.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-DlxLGmDk.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-CLDHd9N_.mjs';
|
|
5
|
+
export { a as CompanyCategorySalary, j as CompanyMarket, k as CompanyMarketRef, b as CompanySalary, l as CompanySalarySummary, C as CustomFieldDefinition, m as CustomFieldOption, n as CustomFieldType, L as LocationSalaryDetail, o as LocationSkillsIndex, p as LocationTitlesIndex, P as PublicBoard, q as PublicBoardAds, r as PublicBoardAnalytics, s as PublicBoardFeatures, t as PublicBoardJobForm, u as PublicCompany, v as PublicCompanyDetail, w as SalaryCompany, x as SalaryLocation, y as SalarySkill, z as SalaryTitle, A as SkillLocationSalary, B as SkillLocationsIndex, S as SkillSalaryDetail, D as TitleLocationSalary, E as TitleLocationsIndex, T as TitleSalaryDetail } from './board-CLDHd9N_.mjs';
|
|
6
|
+
export { B as BoardSeo } from './seo-zYWVcaj1.mjs';
|
|
7
|
+
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-Bnx1B6at.mjs';
|
|
8
|
+
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-Bnx1B6at.mjs';
|
|
9
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-Cdw6_ocq.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-Cdw6_ocq.mjs';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
|
|
@@ -143,7 +143,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
|
|
|
143
143
|
* constant because the package is platform-neutral and cannot read
|
|
144
144
|
* package.json at runtime.
|
|
145
145
|
*/
|
|
146
|
-
declare const SDK_VERSION = "4.
|
|
146
|
+
declare const SDK_VERSION = "4.19.0";
|
|
147
147
|
|
|
148
148
|
type SavedJob = Schemas['SavedJob'];
|
|
149
149
|
type SavedJobsListQuery = {
|
|
@@ -838,6 +838,29 @@ type PlacesListQuery = {
|
|
|
838
838
|
limit?: number;
|
|
839
839
|
};
|
|
840
840
|
|
|
841
|
+
/** One bucket in the board's sitemap: its name, size, and freshness stamp. */
|
|
842
|
+
type BoardSitemapBucketSummary = Schemas['BoardSitemapBucketSummary'];
|
|
843
|
+
/**
|
|
844
|
+
* The board's sitemap bucket index (`board.sitemap()`) — the buckets the board
|
|
845
|
+
* publishes, in canonical order, empty ones omitted. Read each bucket's paths
|
|
846
|
+
* with `board.sitemap.entries(bucket)`.
|
|
847
|
+
*/
|
|
848
|
+
type BoardSitemapIndex = Schemas['BoardSitemap'];
|
|
849
|
+
/**
|
|
850
|
+
* One sitemap URL as a BOARD-RELATIVE path (always leading `/`). Prefix it with
|
|
851
|
+
* your own origin — the API never returns an origin, so a custom domain, a
|
|
852
|
+
* preview deploy, and production all build correct URLs from the same page.
|
|
853
|
+
*/
|
|
854
|
+
type SitemapEntry = Schemas['SitemapEntry'];
|
|
855
|
+
type SitemapEntriesQuery = {
|
|
856
|
+
/** Page size, 1–1000 (default 1000). */
|
|
857
|
+
limit?: number;
|
|
858
|
+
/** Opaque forward cursor from a previous response's `nextCursor`. */
|
|
859
|
+
cursor?: string;
|
|
860
|
+
};
|
|
861
|
+
/** One page of a bucket's entries. Walk it with `paginate`. */
|
|
862
|
+
type SitemapEntriesEnvelope = ListEnvelope<SitemapEntry>;
|
|
863
|
+
|
|
841
864
|
interface CreateBoardClientOptions {
|
|
842
865
|
/** Cavuno API origin. Defaults to the production service. */
|
|
843
866
|
baseUrl?: string;
|
|
@@ -3456,7 +3479,13 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3456
3479
|
paywall: {
|
|
3457
3480
|
offers(options?: FetchOptions): Promise<PaywallOfferListEnvelope>;
|
|
3458
3481
|
};
|
|
3482
|
+
sitemap: ((options?: FetchOptions) => Promise<{
|
|
3483
|
+
object: "board_sitemap";
|
|
3484
|
+
buckets: components["schemas"]["BoardSitemapBucketSummary"][];
|
|
3485
|
+
}>) & {
|
|
3486
|
+
entries(bucket: string, query?: SitemapEntriesQuery, options?: FetchOptions): Promise<SitemapEntriesEnvelope>;
|
|
3487
|
+
};
|
|
3459
3488
|
};
|
|
3460
3489
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
3461
3490
|
|
|
3462
|
-
export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, 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 BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, 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 RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, 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 SourcedCandidate, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, 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 UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction, resolveApplyDecision };
|
|
3491
|
+
export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, 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 BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, 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 RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, 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 SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, 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 UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction, resolveApplyDecision };
|
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 { 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, l as CompanySalarySummary, C as CustomFieldDefinition, m as CustomFieldOption, n as CustomFieldType, L as LocationSalaryDetail, o as LocationSkillsIndex, p as LocationTitlesIndex, P as PublicBoard, q as PublicBoardAds, r as PublicBoardAnalytics, s as PublicBoardFeatures, t as PublicBoardJobForm, u as PublicCompany, v as PublicCompanyDetail, w as SalaryCompany, x as SalaryLocation, y as SalarySkill, z as SalaryTitle, A as SkillLocationSalary, B as SkillLocationsIndex, S as SkillSalaryDetail, D as TitleLocationSalary, E as TitleLocationsIndex, T as TitleSalaryDetail } from './board-
|
|
6
|
-
export { B as BoardSeo } from './seo-
|
|
7
|
-
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-
|
|
8
|
-
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-
|
|
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-DyTPJbIZ.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-CQZ-ibOl.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-CQZ-ibOl.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-DpDCNMJD.js';
|
|
5
|
+
export { a as CompanyCategorySalary, j as CompanyMarket, k as CompanyMarketRef, b as CompanySalary, l as CompanySalarySummary, C as CustomFieldDefinition, m as CustomFieldOption, n as CustomFieldType, L as LocationSalaryDetail, o as LocationSkillsIndex, p as LocationTitlesIndex, P as PublicBoard, q as PublicBoardAds, r as PublicBoardAnalytics, s as PublicBoardFeatures, t as PublicBoardJobForm, u as PublicCompany, v as PublicCompanyDetail, w as SalaryCompany, x as SalaryLocation, y as SalarySkill, z as SalaryTitle, A as SkillLocationSalary, B as SkillLocationsIndex, S as SkillSalaryDetail, D as TitleLocationSalary, E as TitleLocationsIndex, T as TitleSalaryDetail } from './board-DpDCNMJD.js';
|
|
6
|
+
export { B as BoardSeo } from './seo-BfEBr4pW.js';
|
|
7
|
+
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-Bwl7pKKg.js';
|
|
8
|
+
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-Bwl7pKKg.js';
|
|
9
|
+
import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-vDgRPBAK.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-vDgRPBAK.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
|
|
@@ -143,7 +143,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
|
|
|
143
143
|
* constant because the package is platform-neutral and cannot read
|
|
144
144
|
* package.json at runtime.
|
|
145
145
|
*/
|
|
146
|
-
declare const SDK_VERSION = "4.
|
|
146
|
+
declare const SDK_VERSION = "4.19.0";
|
|
147
147
|
|
|
148
148
|
type SavedJob = Schemas['SavedJob'];
|
|
149
149
|
type SavedJobsListQuery = {
|
|
@@ -838,6 +838,29 @@ type PlacesListQuery = {
|
|
|
838
838
|
limit?: number;
|
|
839
839
|
};
|
|
840
840
|
|
|
841
|
+
/** One bucket in the board's sitemap: its name, size, and freshness stamp. */
|
|
842
|
+
type BoardSitemapBucketSummary = Schemas['BoardSitemapBucketSummary'];
|
|
843
|
+
/**
|
|
844
|
+
* The board's sitemap bucket index (`board.sitemap()`) — the buckets the board
|
|
845
|
+
* publishes, in canonical order, empty ones omitted. Read each bucket's paths
|
|
846
|
+
* with `board.sitemap.entries(bucket)`.
|
|
847
|
+
*/
|
|
848
|
+
type BoardSitemapIndex = Schemas['BoardSitemap'];
|
|
849
|
+
/**
|
|
850
|
+
* One sitemap URL as a BOARD-RELATIVE path (always leading `/`). Prefix it with
|
|
851
|
+
* your own origin — the API never returns an origin, so a custom domain, a
|
|
852
|
+
* preview deploy, and production all build correct URLs from the same page.
|
|
853
|
+
*/
|
|
854
|
+
type SitemapEntry = Schemas['SitemapEntry'];
|
|
855
|
+
type SitemapEntriesQuery = {
|
|
856
|
+
/** Page size, 1–1000 (default 1000). */
|
|
857
|
+
limit?: number;
|
|
858
|
+
/** Opaque forward cursor from a previous response's `nextCursor`. */
|
|
859
|
+
cursor?: string;
|
|
860
|
+
};
|
|
861
|
+
/** One page of a bucket's entries. Walk it with `paginate`. */
|
|
862
|
+
type SitemapEntriesEnvelope = ListEnvelope<SitemapEntry>;
|
|
863
|
+
|
|
841
864
|
interface CreateBoardClientOptions {
|
|
842
865
|
/** Cavuno API origin. Defaults to the production service. */
|
|
843
866
|
baseUrl?: string;
|
|
@@ -3456,7 +3479,13 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3456
3479
|
paywall: {
|
|
3457
3480
|
offers(options?: FetchOptions): Promise<PaywallOfferListEnvelope>;
|
|
3458
3481
|
};
|
|
3482
|
+
sitemap: ((options?: FetchOptions) => Promise<{
|
|
3483
|
+
object: "board_sitemap";
|
|
3484
|
+
buckets: components["schemas"]["BoardSitemapBucketSummary"][];
|
|
3485
|
+
}>) & {
|
|
3486
|
+
entries(bucket: string, query?: SitemapEntriesQuery, options?: FetchOptions): Promise<SitemapEntriesEnvelope>;
|
|
3487
|
+
};
|
|
3459
3488
|
};
|
|
3460
3489
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
3461
3490
|
|
|
3462
|
-
export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, 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 BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, 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 RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, 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 SourcedCandidate, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, 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 UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction, resolveApplyDecision };
|
|
3491
|
+
export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, 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 BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, 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 RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, 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 SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, 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 UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction, resolveApplyDecision };
|
package/dist/index.js
CHANGED
|
@@ -348,7 +348,7 @@ async function clearSession(storage) {
|
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
// src/version.ts
|
|
351
|
-
var SDK_VERSION = "4.
|
|
351
|
+
var SDK_VERSION = "4.19.0";
|
|
352
352
|
|
|
353
353
|
// src/client.ts
|
|
354
354
|
function isRawBody(body) {
|
|
@@ -3207,6 +3207,21 @@ function searchNamespace(client) {
|
|
|
3207
3207
|
};
|
|
3208
3208
|
}
|
|
3209
3209
|
|
|
3210
|
+
// src/namespaces/sitemap.ts
|
|
3211
|
+
function sitemapNamespace(client) {
|
|
3212
|
+
return Object.assign(
|
|
3213
|
+
(options) => client.fetch("/sitemap", options),
|
|
3214
|
+
{
|
|
3215
|
+
entries(bucket, query, options) {
|
|
3216
|
+
return client.fetch(
|
|
3217
|
+
`/sitemap/${encodeURIComponent(bucket)}`,
|
|
3218
|
+
{ ...options, query }
|
|
3219
|
+
);
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3222
|
+
);
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3210
3225
|
// src/namespaces/talent.ts
|
|
3211
3226
|
function talentNamespace(client) {
|
|
3212
3227
|
return {
|
|
@@ -3441,6 +3456,7 @@ function createBoardClient(options) {
|
|
|
3441
3456
|
salaries: salariesNamespace(client),
|
|
3442
3457
|
talent: talentNamespace(client),
|
|
3443
3458
|
plans: plansNamespace(client),
|
|
3444
|
-
paywall: paywallNamespace(client)
|
|
3459
|
+
paywall: paywallNamespace(client),
|
|
3460
|
+
sitemap: sitemapNamespace(client)
|
|
3445
3461
|
};
|
|
3446
3462
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ACCESS_TOKEN_KEY,
|
|
3
3
|
BOARD_ACCESS_GRANT_KEY,
|
|
4
|
-
BOARD_API_ERROR_CODES,
|
|
5
|
-
BoardApiError,
|
|
6
4
|
REFRESH_TOKEN_KEY,
|
|
7
5
|
clearSession,
|
|
6
|
+
resolveStorage,
|
|
7
|
+
writeSession
|
|
8
|
+
} from "./chunk-Z4ALWIGS.mjs";
|
|
9
|
+
import {
|
|
10
|
+
paginate
|
|
11
|
+
} from "./chunk-DLSO6XXY.mjs";
|
|
12
|
+
import {
|
|
13
|
+
BOARD_API_ERROR_CODES,
|
|
14
|
+
BoardApiError,
|
|
8
15
|
isBoardApiError,
|
|
9
16
|
isBoardPasswordRequired,
|
|
10
17
|
isConflict,
|
|
@@ -12,13 +19,8 @@ import {
|
|
|
12
19
|
isNotFound,
|
|
13
20
|
isRateLimited,
|
|
14
21
|
isUnauthorized,
|
|
15
|
-
isValidationError
|
|
16
|
-
|
|
17
|
-
writeSession
|
|
18
|
-
} from "./chunk-2WBQVVOB.mjs";
|
|
19
|
-
import {
|
|
20
|
-
paginate
|
|
21
|
-
} from "./chunk-DLSO6XXY.mjs";
|
|
22
|
+
isValidationError
|
|
23
|
+
} from "./chunk-XNO4NOPW.mjs";
|
|
22
24
|
|
|
23
25
|
// src/query.ts
|
|
24
26
|
function toSearchParams(query) {
|
|
@@ -39,7 +41,7 @@ function toSearchParams(query) {
|
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
// src/version.ts
|
|
42
|
-
var SDK_VERSION = "4.
|
|
44
|
+
var SDK_VERSION = "4.19.0";
|
|
43
45
|
|
|
44
46
|
// src/client.ts
|
|
45
47
|
function isRawBody(body) {
|
|
@@ -2898,6 +2900,21 @@ function searchNamespace(client) {
|
|
|
2898
2900
|
};
|
|
2899
2901
|
}
|
|
2900
2902
|
|
|
2903
|
+
// src/namespaces/sitemap.ts
|
|
2904
|
+
function sitemapNamespace(client) {
|
|
2905
|
+
return Object.assign(
|
|
2906
|
+
(options) => client.fetch("/sitemap", options),
|
|
2907
|
+
{
|
|
2908
|
+
entries(bucket, query, options) {
|
|
2909
|
+
return client.fetch(
|
|
2910
|
+
`/sitemap/${encodeURIComponent(bucket)}`,
|
|
2911
|
+
{ ...options, query }
|
|
2912
|
+
);
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
);
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2901
2918
|
// src/namespaces/talent.ts
|
|
2902
2919
|
function talentNamespace(client) {
|
|
2903
2920
|
return {
|
|
@@ -3102,7 +3119,8 @@ function createBoardClient(options) {
|
|
|
3102
3119
|
salaries: salariesNamespace(client),
|
|
3103
3120
|
talent: talentNamespace(client),
|
|
3104
3121
|
plans: plansNamespace(client),
|
|
3105
|
-
paywall: paywallNamespace(client)
|
|
3122
|
+
paywall: paywallNamespace(client),
|
|
3123
|
+
sitemap: sitemapNamespace(client)
|
|
3106
3124
|
};
|
|
3107
3125
|
}
|
|
3108
3126
|
export {
|
package/dist/seo-files.d.mts
CHANGED
package/dist/seo-files.d.ts
CHANGED