@cavuno/board 4.36.0 → 4.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/{_spec-C4T68Nnr.d.mts → _spec-BcXYrhOP.d.mts} +64 -2
  3. package/dist/{_spec-C4T68Nnr.d.ts → _spec-BcXYrhOP.d.ts} +64 -2
  4. package/dist/{blog-_LtV-JaY.d.ts → blog-BLLQ5H5M.d.ts} +1 -1
  5. package/dist/{blog-bQmqKnw2.d.mts → blog-PS7AwaF7.d.mts} +1 -1
  6. package/dist/{board-CRgQjnrn.d.mts → board-CK62f0G5.d.mts} +2 -2
  7. package/dist/{board-2UfZ7fZk.d.ts → board-CTUrq9MP.d.ts} +2 -2
  8. package/dist/{breadcrumbs-C_jNh4xd.d.ts → breadcrumbs-Adrx69WV.d.ts} +2 -2
  9. package/dist/{breadcrumbs-f7KFSWnx.d.mts → breadcrumbs-CwSd7BN1.d.mts} +2 -2
  10. package/dist/browser/cavuno-board.global.min.js +1 -1
  11. package/dist/filters.d.mts +2 -2
  12. package/dist/filters.d.ts +2 -2
  13. package/dist/format.d.mts +57 -5
  14. package/dist/format.d.ts +57 -5
  15. package/dist/format.js +61 -1
  16. package/dist/format.mjs +61 -1
  17. package/dist/index.d.mts +53 -14
  18. package/dist/index.d.ts +53 -14
  19. package/dist/index.js +34 -4
  20. package/dist/index.mjs +34 -4
  21. package/dist/{jobs-3Md7CCMl.d.ts → jobs--rvR1CgY.d.ts} +7 -3
  22. package/dist/{jobs-Cg2d2oI4.d.mts → jobs-Y9kacbM1.d.mts} +7 -3
  23. package/dist/{search-15gcqPyt.d.ts → search-B-YDO3kN.d.ts} +1 -1
  24. package/dist/{search-CyDzceiR.d.mts → search-Dhy-RqrE.d.mts} +1 -1
  25. package/dist/{seo-CON8CLIF.d.ts → seo-BiissB7X.d.ts} +1 -1
  26. package/dist/{seo-DuWLAh1M.d.mts → seo-C39S8YTH.d.mts} +1 -1
  27. package/dist/seo-files.d.mts +2 -2
  28. package/dist/seo-files.d.ts +2 -2
  29. package/dist/seo.d.mts +6 -6
  30. package/dist/seo.d.ts +6 -6
  31. package/dist/server.d.mts +6 -6
  32. package/dist/server.d.ts +6 -6
  33. package/dist/sitemap.d.mts +6 -6
  34. package/dist/sitemap.d.ts +6 -6
  35. package/dist/suggest.d.mts +2 -2
  36. package/dist/suggest.d.ts +2 -2
  37. package/package.json +1 -1
  38. package/skills/cavuno-board-companies/SKILL.md +5 -1
  39. package/skills/manifest.json +1 -1
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-C4T68Nnr.js';
1
+ import { S as Schemas } from './_spec-BcXYrhOP.js';
2
2
 
3
3
  /**
4
4
  * Optional pagination metadata returned by Board API list operations.
@@ -106,9 +106,13 @@ type JobsListQuery = {
106
106
  seniority?: Seniority[];
107
107
  /** Result ordering. Absent ⇒ `relevance` (the featured-ranked browse). */
108
108
  sort?: JobSort;
109
- /** Place slug for a geo radius search; unresolvable slugs are ignored. */
109
+ /** Place slug: jobs in the place and the places inside it; unresolvable slugs are ignored. */
110
110
  location?: string;
111
- /** Radius in km around `location` (10–250; default 50). */
111
+ /**
112
+ * Widen a city or locality `location` to jobs placed in a city or
113
+ * locality within this many km of it (1–250, decimals allowed). Omit for
114
+ * jobs in the place itself. Ignored for region and country places.
115
+ */
112
116
  radius?: number;
113
117
  /** Category slug seed (the `/jobs/[keyword]` page) — server resolves it to the English source name; unresolvable → 404. */
114
118
  category?: string;
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-C4T68Nnr.mjs';
1
+ import { S as Schemas } from './_spec-BcXYrhOP.mjs';
2
2
 
3
3
  /**
4
4
  * Optional pagination metadata returned by Board API list operations.
@@ -106,9 +106,13 @@ type JobsListQuery = {
106
106
  seniority?: Seniority[];
107
107
  /** Result ordering. Absent ⇒ `relevance` (the featured-ranked browse). */
108
108
  sort?: JobSort;
109
- /** Place slug for a geo radius search; unresolvable slugs are ignored. */
109
+ /** Place slug: jobs in the place and the places inside it; unresolvable slugs are ignored. */
110
110
  location?: string;
111
- /** Radius in km around `location` (10–250; default 50). */
111
+ /**
112
+ * Widen a city or locality `location` to jobs placed in a city or
113
+ * locality within this many km of it (1–250, decimals allowed). Omit for
114
+ * jobs in the place itself. Ignored for region and country places.
115
+ */
112
116
  radius?: number;
113
117
  /** Category slug seed (the `/jobs/[keyword]` page) — server resolves it to the English source name; unresolvable → 404. */
114
118
  category?: string;
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-C4T68Nnr.js';
1
+ import { S as Schemas } from './_spec-BcXYrhOP.js';
2
2
 
3
3
  type Awaitable<T> = T | Promise<T>;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-C4T68Nnr.mjs';
1
+ import { S as Schemas } from './_spec-BcXYrhOP.mjs';
2
2
 
3
3
  type Awaitable<T> = T | Promise<T>;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-C4T68Nnr.js';
1
+ import { S as Schemas } from './_spec-BcXYrhOP.js';
2
2
 
3
3
  /**
4
4
  * The public SEO-infra payload (`board.seo()`) — platform infrastructure a
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-C4T68Nnr.mjs';
1
+ import { S as Schemas } from './_spec-BcXYrhOP.mjs';
2
2
 
3
3
  /**
4
4
  * The public SEO-infra payload (`board.seo()`) — platform infrastructure a
@@ -1,5 +1,5 @@
1
- import { B as BoardSeo } from './seo-DuWLAh1M.mjs';
2
- import './_spec-C4T68Nnr.mjs';
1
+ import { B as BoardSeo } from './seo-C39S8YTH.mjs';
2
+ import './_spec-BcXYrhOP.mjs';
3
3
 
4
4
  /**
5
5
  * `@cavuno/board/seo-files` — platform-owned crawler/identity file bodies
@@ -1,5 +1,5 @@
1
- import { B as BoardSeo } from './seo-CON8CLIF.js';
2
- import './_spec-C4T68Nnr.js';
1
+ import { B as BoardSeo } from './seo-BiissB7X.js';
2
+ import './_spec-BcXYrhOP.js';
3
3
 
4
4
  /**
5
5
  * `@cavuno/board/seo-files` — platform-owned crawler/identity file bodies
package/dist/seo.d.mts CHANGED
@@ -1,9 +1,9 @@
1
- import { P as PublicBlogPostSummary, B as BlogAuthorEmbed } from './blog-bQmqKnw2.mjs';
2
- import { e as JsonLdObject } from './breadcrumbs-f7KFSWnx.mjs';
3
- export { A as ALL_COUNTRY_CODES, B as BreadcrumbItemInput, g as FaqItem, J as JobBreadcrumb, h as JsonLdBoard, N as NumberNotation, i as SENIORITY_ORDER, j as SalaryFaqEntry, k as SalaryJsonLdOptions, l as SalaryOccupationListOptions, b as buildJobBreadcrumbs, m as buildSalaryFaq, o as companyCategorySalaryJsonLd, p as companySalaryJsonLd, q as createBreadcrumbJsonLd, r as createJobPostingJsonLd, s as crossAxisSalaryJsonLd, t as faqJsonLd, c as formatSalaryStat, d as formatSalaryStatRange, u as itemListJsonLd, v as locationSalaryJsonLd, n as normalizeWebsiteUrl, w as skillSalaryJsonLd, x as sortBySeniority, y as titleSalaryJsonLd } from './breadcrumbs-f7KFSWnx.mjs';
4
- import './_spec-C4T68Nnr.mjs';
5
- import './board-CRgQjnrn.mjs';
6
- import './jobs-Cg2d2oI4.mjs';
1
+ import { P as PublicBlogPostSummary, B as BlogAuthorEmbed } from './blog-PS7AwaF7.mjs';
2
+ import { e as JsonLdObject } from './breadcrumbs-CwSd7BN1.mjs';
3
+ export { A as ALL_COUNTRY_CODES, B as BreadcrumbItemInput, g as FaqItem, J as JobBreadcrumb, h as JsonLdBoard, N as NumberNotation, i as SENIORITY_ORDER, j as SalaryFaqEntry, k as SalaryJsonLdOptions, l as SalaryOccupationListOptions, b as buildJobBreadcrumbs, m as buildSalaryFaq, o as companyCategorySalaryJsonLd, p as companySalaryJsonLd, q as createBreadcrumbJsonLd, r as createJobPostingJsonLd, s as crossAxisSalaryJsonLd, t as faqJsonLd, c as formatSalaryStat, d as formatSalaryStatRange, u as itemListJsonLd, v as locationSalaryJsonLd, n as normalizeWebsiteUrl, w as skillSalaryJsonLd, x as sortBySeniority, y as titleSalaryJsonLd } from './breadcrumbs-CwSd7BN1.mjs';
4
+ import './_spec-BcXYrhOP.mjs';
5
+ import './board-CK62f0G5.mjs';
6
+ import './jobs-Y9kacbM1.mjs';
7
7
 
8
8
  /**
9
9
  * Blog structured data on the `@cavuno/board` wire types, transcribed from
package/dist/seo.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { P as PublicBlogPostSummary, B as BlogAuthorEmbed } from './blog-_LtV-JaY.js';
2
- import { e as JsonLdObject } from './breadcrumbs-C_jNh4xd.js';
3
- export { A as ALL_COUNTRY_CODES, B as BreadcrumbItemInput, g as FaqItem, J as JobBreadcrumb, h as JsonLdBoard, N as NumberNotation, i as SENIORITY_ORDER, j as SalaryFaqEntry, k as SalaryJsonLdOptions, l as SalaryOccupationListOptions, b as buildJobBreadcrumbs, m as buildSalaryFaq, o as companyCategorySalaryJsonLd, p as companySalaryJsonLd, q as createBreadcrumbJsonLd, r as createJobPostingJsonLd, s as crossAxisSalaryJsonLd, t as faqJsonLd, c as formatSalaryStat, d as formatSalaryStatRange, u as itemListJsonLd, v as locationSalaryJsonLd, n as normalizeWebsiteUrl, w as skillSalaryJsonLd, x as sortBySeniority, y as titleSalaryJsonLd } from './breadcrumbs-C_jNh4xd.js';
4
- import './_spec-C4T68Nnr.js';
5
- import './board-2UfZ7fZk.js';
6
- import './jobs-3Md7CCMl.js';
1
+ import { P as PublicBlogPostSummary, B as BlogAuthorEmbed } from './blog-BLLQ5H5M.js';
2
+ import { e as JsonLdObject } from './breadcrumbs-Adrx69WV.js';
3
+ export { A as ALL_COUNTRY_CODES, B as BreadcrumbItemInput, g as FaqItem, J as JobBreadcrumb, h as JsonLdBoard, N as NumberNotation, i as SENIORITY_ORDER, j as SalaryFaqEntry, k as SalaryJsonLdOptions, l as SalaryOccupationListOptions, b as buildJobBreadcrumbs, m as buildSalaryFaq, o as companyCategorySalaryJsonLd, p as companySalaryJsonLd, q as createBreadcrumbJsonLd, r as createJobPostingJsonLd, s as crossAxisSalaryJsonLd, t as faqJsonLd, c as formatSalaryStat, d as formatSalaryStatRange, u as itemListJsonLd, v as locationSalaryJsonLd, n as normalizeWebsiteUrl, w as skillSalaryJsonLd, x as sortBySeniority, y as titleSalaryJsonLd } from './breadcrumbs-Adrx69WV.js';
4
+ import './_spec-BcXYrhOP.js';
5
+ import './board-CTUrq9MP.js';
6
+ import './jobs--rvR1CgY.js';
7
7
 
8
8
  /**
9
9
  * Blog structured data on the `@cavuno/board` wire types, transcribed from
package/dist/server.d.mts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { BoardSdk } from './index.mjs';
2
- import './_spec-C4T68Nnr.mjs';
3
- import './search-CyDzceiR.mjs';
4
- import './board-CRgQjnrn.mjs';
5
- import './jobs-Cg2d2oI4.mjs';
6
- import './seo-DuWLAh1M.mjs';
7
- import './blog-bQmqKnw2.mjs';
2
+ import './_spec-BcXYrhOP.mjs';
3
+ import './search-Dhy-RqrE.mjs';
4
+ import './board-CK62f0G5.mjs';
5
+ import './jobs-Y9kacbM1.mjs';
6
+ import './seo-C39S8YTH.mjs';
7
+ import './blog-PS7AwaF7.mjs';
8
8
 
9
9
  /**
10
10
  * Session cookie codec — pure (no framework imports, no node imports) so it
package/dist/server.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { BoardSdk } from './index.js';
2
- import './_spec-C4T68Nnr.js';
3
- import './search-15gcqPyt.js';
4
- import './board-2UfZ7fZk.js';
5
- import './jobs-3Md7CCMl.js';
6
- import './seo-CON8CLIF.js';
7
- import './blog-_LtV-JaY.js';
2
+ import './_spec-BcXYrhOP.js';
3
+ import './search-B-YDO3kN.js';
4
+ import './board-CTUrq9MP.js';
5
+ import './jobs--rvR1CgY.js';
6
+ import './seo-BiissB7X.js';
7
+ import './blog-BLLQ5H5M.js';
8
8
 
9
9
  /**
10
10
  * Session cookie codec — pure (no framework imports, no node imports) so it
@@ -1,10 +1,10 @@
1
1
  import { BoardSdk } from './index.mjs';
2
- import './_spec-C4T68Nnr.mjs';
3
- import './search-CyDzceiR.mjs';
4
- import './board-CRgQjnrn.mjs';
5
- import './jobs-Cg2d2oI4.mjs';
6
- import './seo-DuWLAh1M.mjs';
7
- import './blog-bQmqKnw2.mjs';
2
+ import './_spec-BcXYrhOP.mjs';
3
+ import './search-Dhy-RqrE.mjs';
4
+ import './board-CK62f0G5.mjs';
5
+ import './jobs-Y9kacbM1.mjs';
6
+ import './seo-C39S8YTH.mjs';
7
+ import './blog-PS7AwaF7.mjs';
8
8
 
9
9
  /**
10
10
  * Sitemap primitives — the pure XML + bucket-filename logic behind a board
package/dist/sitemap.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { BoardSdk } from './index.js';
2
- import './_spec-C4T68Nnr.js';
3
- import './search-15gcqPyt.js';
4
- import './board-2UfZ7fZk.js';
5
- import './jobs-3Md7CCMl.js';
6
- import './seo-CON8CLIF.js';
7
- import './blog-_LtV-JaY.js';
2
+ import './_spec-BcXYrhOP.js';
3
+ import './search-B-YDO3kN.js';
4
+ import './board-CTUrq9MP.js';
5
+ import './jobs--rvR1CgY.js';
6
+ import './seo-BiissB7X.js';
7
+ import './blog-BLLQ5H5M.js';
8
8
 
9
9
  /**
10
10
  * Sitemap primitives — the pure XML + bucket-filename logic behind a board
@@ -1,5 +1,5 @@
1
- import { h as SuggestionItem, b as SearchSuggestQuery, F as FetchOptions, g as SuggestResult } from './search-CyDzceiR.mjs';
2
- import './_spec-C4T68Nnr.mjs';
1
+ import { h as SuggestionItem, b as SearchSuggestQuery, F as FetchOptions, g as SuggestResult } from './search-Dhy-RqrE.mjs';
2
+ import './_spec-BcXYrhOP.mjs';
3
3
 
4
4
  /**
5
5
  * `@cavuno/board/suggest` — framework-agnostic headless search-suggest
package/dist/suggest.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { h as SuggestionItem, b as SearchSuggestQuery, F as FetchOptions, g as SuggestResult } from './search-15gcqPyt.js';
2
- import './_spec-C4T68Nnr.js';
1
+ import { h as SuggestionItem, b as SearchSuggestQuery, F as FetchOptions, g as SuggestResult } from './search-B-YDO3kN.js';
2
+ import './_spec-BcXYrhOP.js';
3
3
 
4
4
  /**
5
5
  * `@cavuno/board/suggest` — framework-agnostic headless search-suggest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cavuno/board",
3
- "version": "4.36.0",
3
+ "version": "4.39.0",
4
4
  "description": "Build custom job boards and careers pages with Cavuno’s TypeScript SDK.",
5
5
  "keywords": [
6
6
  "api-client",
@@ -16,7 +16,10 @@ An approved admin can delete a company they manage and can list, retitle, or
16
16
  remove members. Any approved member can leave with `board.me.companies.leave`.
17
17
  Demoting, removing, or leaving as the last admin is `last_admin`. Admins
18
18
  invite by email; approved members can list pending invites; accept is
19
- session-gated on `board.me.acceptInvite`.
19
+ session-gated on `board.me.acceptInvite`. Before sign-in, the public
20
+ `board.invites.preview({ token })` returns the invite's `status`, `email`,
21
+ `account`, and `company` for a "Join <company>" page; `email` and `account`
22
+ are set only while the invite is `pending`.
20
23
 
21
24
  An approved member can buy a public, priced membership plan for the company
22
25
  with `board.me.companies.startMembershipCheckout(slug, body)`. It returns the
@@ -36,6 +39,7 @@ await board.me.companies.leave('acme');
36
39
  const { data: invites } = await board.me.companies.listInvites('acme');
37
40
  await board.me.companies.createInvite('acme', { email: 'ada@acme.test' });
38
41
  await board.me.companies.revokeInvite('acme', invites[0].id);
42
+ const preview = await board.invites.preview({ token });
39
43
  const { companySlug } = await board.me.acceptInvite({ token });
40
44
  ```
41
45
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.36.0",
2
+ "version": "4.39.0",
3
3
  "skills": [
4
4
  {
5
5
  "name": "cavuno-board-account",