@cavuno/board 4.64.0 → 4.66.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 (52) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/dist/{_spec-D1Qg_Twd.d.mts → _spec-DBI6azWs.d.mts} +96 -2
  3. package/dist/{_spec-D1Qg_Twd.d.ts → _spec-DBI6azWs.d.ts} +96 -2
  4. package/dist/{blog-Dp2jAVVM.d.ts → blog--VKuBIdw.d.ts} +1 -1
  5. package/dist/{blog-e0YbZBjg.d.mts → blog-Bx-rjH4V.d.mts} +1 -1
  6. package/dist/{board-Cc3wbTKI.d.mts → board-BsUhxdjL.d.mts} +2 -2
  7. package/dist/{board-BeNZLOYC.d.ts → board-USJ9ZZab.d.ts} +2 -2
  8. package/dist/{breadcrumbs-C5WjB8jm.d.mts → breadcrumbs-BVN_gIJq.d.mts} +2 -2
  9. package/dist/{breadcrumbs-BOFeIYEX.d.ts → breadcrumbs-maV86vZP.d.ts} +2 -2
  10. package/dist/browser/cavuno-board.global.min.js +1 -1
  11. package/dist/{chunk-H3YIWHXR.mjs → chunk-R62XFNS7.mjs} +1 -0
  12. package/dist/chunk-RDHHRDKN.mjs +6 -0
  13. package/dist/doctor.js +1 -1
  14. package/dist/filters.d.mts +2 -2
  15. package/dist/filters.d.ts +2 -2
  16. package/dist/format.d.mts +4 -4
  17. package/dist/format.d.ts +4 -4
  18. package/dist/index.d.mts +46 -18
  19. package/dist/index.d.ts +46 -18
  20. package/dist/index.js +19 -1
  21. package/dist/index.mjs +22 -5
  22. package/dist/{jobs-D04ngjCP.d.ts → jobs-Dyj1HZ8W.d.ts} +1 -1
  23. package/dist/{jobs-CClqlUld.d.mts → jobs-qoVMh_Zd.d.mts} +1 -1
  24. package/dist/mcp.d.mts +52 -0
  25. package/dist/mcp.d.ts +52 -0
  26. package/dist/mcp.js +150 -0
  27. package/dist/mcp.mjs +128 -0
  28. package/dist/{search-BtrwcLkc.d.mts → search-CrXCM8Hq.d.mts} +1 -1
  29. package/dist/{search-DZeNdYN6.d.ts → search-DPHLf8pI.d.ts} +1 -1
  30. package/dist/{seo-DLoyZRTo.d.ts → seo-BDwe8PwT.d.ts} +1 -1
  31. package/dist/{seo-LfpgbdnO.d.mts → seo-DRVgmTCQ.d.mts} +1 -1
  32. package/dist/seo-files.d.mts +2 -2
  33. package/dist/seo-files.d.ts +2 -2
  34. package/dist/seo.d.mts +22 -7
  35. package/dist/seo.d.ts +22 -7
  36. package/dist/seo.js +12 -3
  37. package/dist/seo.mjs +12 -3
  38. package/dist/server.d.mts +6 -6
  39. package/dist/server.d.ts +6 -6
  40. package/dist/server.mjs +1 -1
  41. package/dist/sitemap.d.mts +6 -6
  42. package/dist/sitemap.d.ts +6 -6
  43. package/dist/sitemap.mjs +1 -1
  44. package/dist/skills.js +1 -1
  45. package/dist/suggest.d.mts +2 -2
  46. package/dist/suggest.d.ts +2 -2
  47. package/package.json +13 -2
  48. package/skills/cavuno-board-filters/SKILL.md +12 -4
  49. package/skills/cavuno-board-mcp/SKILL.md +80 -0
  50. package/skills/cavuno-board-post-a-job/SKILL.md +54 -5
  51. package/skills/cavuno-board-seo/BLOG.md +13 -8
  52. package/skills/manifest.json +8 -1
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
- import { S as Schemas, c as components } from './_spec-D1Qg_Twd.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-BtrwcLkc.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-BtrwcLkc.mjs';
4
- import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as JobCapability, b as CustomFieldFilter, O as ObjectReferenceFilter, c as JobCollectionChoiceQuery, d as JobsListQuery, e as JobCardListEnvelope, f as JobRetrieveQuery, g as JobsSearchBody, h as JobCardSearchEnvelope, i as JobsSimilarQuery, j as SearchEnvelope } from './jobs-CClqlUld.mjs';
5
- export { k as CustomFieldValue, C as CustomFieldValues, l as CustomFilterValue, m as EducationRequirement, n as JobCatalogPagination, o as JobCollectionChoiceList, p as JobCollectionFieldDefinition, q as JobCompany, r as JobCustomEmploymentType, J as JobSort, s as OfficeLocation, t as OffsetPagination, P as PublicJob, u as PublicJobCard, v as RelatedSearch, w as RemotePermit, x as RemoteTimezone, y as ResolvedJobCollectionField, z as StorefrontPagination } from './jobs-CClqlUld.mjs';
6
- import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery, b as CompanySalary } from './board-Cc3wbTKI.mjs';
7
- export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-Cc3wbTKI.mjs';
8
- export { B as BoardSeo } from './seo-LfpgbdnO.mjs';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-e0YbZBjg.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-e0YbZBjg.mjs';
1
+ import { S as Schemas, c as components } from './_spec-DBI6azWs.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-CrXCM8Hq.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-CrXCM8Hq.mjs';
4
+ import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as JobCapability, b as CustomFieldFilter, O as ObjectReferenceFilter, c as JobCollectionChoiceQuery, d as JobsListQuery, e as JobCardListEnvelope, f as JobRetrieveQuery, g as JobsSearchBody, h as JobCardSearchEnvelope, i as JobsSimilarQuery, j as SearchEnvelope } from './jobs-qoVMh_Zd.mjs';
5
+ export { k as CustomFieldValue, C as CustomFieldValues, l as CustomFilterValue, m as EducationRequirement, n as JobCatalogPagination, o as JobCollectionChoiceList, p as JobCollectionFieldDefinition, q as JobCompany, r as JobCustomEmploymentType, J as JobSort, s as OfficeLocation, t as OffsetPagination, P as PublicJob, u as PublicJobCard, v as RelatedSearch, w as RemotePermit, x as RemoteTimezone, y as ResolvedJobCollectionField, z as StorefrontPagination } from './jobs-qoVMh_Zd.mjs';
6
+ import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery, b as CompanySalary } from './board-BsUhxdjL.mjs';
7
+ export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-BsUhxdjL.mjs';
8
+ export { B as BoardSeo } from './seo-DRVgmTCQ.mjs';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-Bx-rjH4V.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-Bx-rjH4V.mjs';
11
11
 
12
12
  /**
13
13
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -20,7 +20,7 @@ export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts,
20
20
  * `unknown_error` is SDK-synthesized when a response carries no parseable
21
21
  * envelope.
22
22
  */
23
- declare const BOARD_API_ERROR_CODES: readonly ["internal_error", "validation_bad_request", "validation_payload_too_large", "rate_limited", "rate_limit_unavailable", "search_unavailable", "search_filter_unavailable", "too_many_filter_values", "pagination_invalid_cursor", "pagination_offset_too_large", "auth_unauthenticated", "auth_forbidden", "plan_upgrade_required", "unknown_error", "boards_not_found", "board_page_not_found", "board_auth_account_not_found", "board_auth_email_taken", "board_auth_invalid_credentials", "board_auth_invalid_token", "board_auth_registration_disabled", "board_auth_token_expired", "board_development_origin_not_allowed_for_email", "board_development_origin_not_registered", "board_development_origin_requires_publishable_key", "sso_required", "board_auth_method_unavailable", "board_auth_sso_connection_not_found", "board_auth_sso_role_unavailable", "board_auth_sso_provider_unavailable", "board_auth_sso_browser_mismatch", "board_auth_sso_not_provisioned", "board_auth_sso_identity_linked_elsewhere", "invalid_current_password", "no_password", "same_email", "email_taken", "invalid_token", "board_password_required", "board_password_invalid", "jobs_not_found", "jobs_invalid_filter", "categories_not_found", "skills_not_found", "places_not_found", "locations_invalid_id", "locations_unavailable", "companies_not_found", "company_markets_not_found", "company_salary_not_found", "company_category_salary_not_found", "salaries_title_not_found", "salaries_skill_not_found", "salaries_location_not_found", "salaries_title_location_not_found", "salaries_skill_location_not_found", "blog_post_not_found", "blog_author_not_found", "blog_tag_not_found", "feeds_not_found", "feed_not_ready", "talent_not_found", "talent_directory_not_found", "talent_directory_restricted", "job_recommendations_not_found", "recommended_talent_not_found", "job_alert_not_found", "job_alerts_disabled", "candidate_alert_limit_reached", "candidate_alert_not_found", "candidate_entry_not_found", "candidate_handle_taken", "candidate_job_not_found", "candidate_notification_preference_paused", "candidate_profile_required", "resume_invalid_file", "resume_upload_forbidden", "applications_external_apply_only", "applications_country_not_allowed", "applications_guest_not_allowed", "applications_job_not_found", "applications_not_found", "applications_resume_invalid_file", "applications_unprocessable", "messaging_application_not_found", "messaging_application_not_linked", "messaging_blocked", "messaging_cannot_block_self", "messaging_cold_rule", "messaging_conversation_not_found", "messaging_disabled", "messaging_edit_window_expired", "messaging_message_deleted", "messaging_message_not_found", "messaging_not_author", "messaging_not_participant", "messaging_not_permitted", "messaging_not_recipient", "messaging_rate_limited", "messaging_recipient_not_found", "messaging_recipient_not_open", "messaging_unsend_window_expired", "employer_applicant_not_found", "employer_ats_unprocessable", "employer_checkout_failed", "employer_company_exists", "employer_free_email_website", "employer_company_name_taken", "employer_company_not_found", "employer_job_not_found", "employer_job_slug_taken", "employer_jobs_quota_exceeded", "membership_required", "employer_not_member", "employer_payment_required", "employer_pipeline_stage_not_found", "employer_member_not_found", "employer_invite_not_found", "not_company_admin", "not_company_member", "company_deletion_disabled", "last_admin", "already_member", "already_invited", "invalid_email", "invite_email_mismatch", "candidate_role", "job_not_published", "talent_list_not_found", "sourced_candidate_not_found", "sourced_convert_unavailable", "talent_list_full", "candidate_paywall_access_required", "paywall_already_active", "paywall_disabled", "paywall_invalid_checkout_session", "paywall_no_candidate_profile", "paywall_no_recurring_subscription", "paywall_offer_not_found", "talent_access_unavailable", "company_required", "already_on_plan", "talent_access_required", "messaging_talent_access_required", "stripe_not_connected", "membership_plan_not_found", "membership_seat_taken", "job_posting_logo_lookup_unavailable", "job_posting_logo_not_found", "job_posting_rejected", "products_not_found", "product_checkout_not_found", "product_reviews_disabled", "product_sold_out", "product_email_invalid", "product_email_blocked", "product_amount_below_minimum", "product_amount_invalid", "product_answers_invalid", "purchases_not_found", "purchase_file_not_found", "purchase_unavailable", "purchase_access_removed", "purchase_awaiting_payment", "purchase_refunded", "purchase_email_confirmation_required", "purchase_email_mismatch", "purchase_file_preparing", "purchase_download_limit_reached", "purchase_review_invalid", "purchase_download_all_unavailable", "tip_jar_not_found", "tip_checkout_not_found", "tip_amount_below_minimum", "tip_amount_invalid", "tip_note_not_allowed", "tip_note_too_long", "tip_fee_cover_not_allowed"];
23
+ declare const BOARD_API_ERROR_CODES: readonly ["internal_error", "validation_bad_request", "validation_payload_too_large", "rate_limited", "rate_limit_unavailable", "search_unavailable", "search_filter_unavailable", "too_many_filter_values", "pagination_invalid_cursor", "pagination_offset_too_large", "auth_unauthenticated", "auth_forbidden", "plan_upgrade_required", "unknown_error", "boards_not_found", "board_page_not_found", "board_auth_account_not_found", "board_auth_email_taken", "board_auth_invalid_credentials", "board_auth_invalid_token", "board_auth_registration_disabled", "board_auth_token_expired", "board_development_origin_not_allowed_for_email", "board_development_origin_not_registered", "board_development_origin_requires_publishable_key", "sso_required", "board_auth_method_unavailable", "board_auth_sso_connection_not_found", "board_auth_sso_role_unavailable", "board_auth_sso_provider_unavailable", "board_auth_sso_browser_mismatch", "board_auth_sso_not_provisioned", "board_auth_sso_identity_linked_elsewhere", "invalid_current_password", "no_password", "same_email", "email_taken", "invalid_token", "board_password_required", "board_password_invalid", "jobs_not_found", "jobs_invalid_filter", "categories_not_found", "skills_not_found", "places_not_found", "locations_invalid_id", "locations_unavailable", "companies_not_found", "company_markets_not_found", "company_salary_not_found", "company_category_salary_not_found", "salaries_title_not_found", "salaries_skill_not_found", "salaries_location_not_found", "salaries_title_location_not_found", "salaries_skill_location_not_found", "blog_post_not_found", "blog_author_not_found", "blog_tag_not_found", "feeds_not_found", "feed_not_ready", "talent_not_found", "talent_directory_not_found", "talent_directory_restricted", "job_recommendations_not_found", "recommended_talent_not_found", "job_alert_not_found", "job_alerts_disabled", "candidate_alert_limit_reached", "candidate_alert_not_found", "candidate_entry_not_found", "candidate_handle_taken", "candidate_job_not_found", "candidate_notification_preference_paused", "candidate_profile_required", "resume_invalid_file", "resume_upload_forbidden", "applications_external_apply_only", "applications_country_not_allowed", "applications_guest_not_allowed", "applications_job_not_found", "applications_not_found", "applications_resume_invalid_file", "applications_unprocessable", "messaging_application_not_found", "messaging_application_not_linked", "messaging_blocked", "messaging_cannot_block_self", "messaging_cold_rule", "messaging_conversation_not_found", "messaging_disabled", "messaging_edit_window_expired", "messaging_message_deleted", "messaging_message_not_found", "messaging_not_author", "messaging_not_participant", "messaging_not_permitted", "messaging_not_recipient", "messaging_rate_limited", "messaging_recipient_not_found", "messaging_recipient_not_open", "messaging_unsend_window_expired", "employer_applicant_not_found", "employer_ats_unprocessable", "employer_checkout_failed", "employer_company_exists", "employer_free_email_website", "employer_company_name_taken", "employer_company_not_found", "employer_job_not_found", "employer_job_slug_taken", "employer_jobs_quota_exceeded", "membership_required", "employer_not_member", "employer_payment_required", "employer_pipeline_stage_not_found", "employer_member_not_found", "employer_invite_not_found", "not_company_admin", "not_company_member", "company_deletion_disabled", "last_admin", "already_member", "already_invited", "invalid_email", "invite_email_mismatch", "candidate_role", "job_not_published", "talent_list_not_found", "sourced_candidate_not_found", "sourced_convert_unavailable", "talent_list_full", "candidate_paywall_access_required", "paywall_already_active", "paywall_disabled", "paywall_invalid_checkout_session", "paywall_no_candidate_profile", "paywall_no_recurring_subscription", "paywall_offer_not_found", "talent_access_unavailable", "company_required", "already_on_plan", "talent_access_required", "messaging_talent_access_required", "stripe_not_connected", "membership_plan_not_found", "membership_seat_taken", "job_posting_logo_lookup_unavailable", "job_posting_logo_not_found", "job_posting_rejected", "job_posting_checkout_not_found", "products_not_found", "product_checkout_not_found", "product_reviews_disabled", "product_sold_out", "product_email_invalid", "product_email_blocked", "product_amount_below_minimum", "product_amount_invalid", "product_answers_invalid", "purchases_not_found", "purchase_file_not_found", "purchase_unavailable", "purchase_access_removed", "purchase_awaiting_payment", "purchase_refunded", "purchase_email_confirmation_required", "purchase_email_mismatch", "purchase_file_preparing", "purchase_download_limit_reached", "purchase_review_invalid", "purchase_download_all_unavailable", "tip_jar_not_found", "tip_checkout_not_found", "tip_amount_below_minimum", "tip_amount_invalid", "tip_note_not_allowed", "tip_note_too_long", "tip_fee_cover_not_allowed"];
24
24
  /**
25
25
  * The known code set plus open string — new codes ship additively within v1,
26
26
  * so exhaustive narrowing is intentionally impossible.
@@ -202,7 +202,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
202
  * constant because the package is platform-neutral and cannot read
203
203
  * package.json at runtime.
204
204
  */
205
- declare const SDK_VERSION = "4.64.0";
205
+ declare const SDK_VERSION = "4.66.0";
206
206
 
207
207
  type SavedJob = Schemas['SavedJob'];
208
208
  type SavedJobsListQuery = {
@@ -1402,10 +1402,13 @@ type JobPostingPlan = Schemas['JobPostingPlan'];
1402
1402
  type CreateJobPostingInput = Schemas['CreateJobPostingBody'];
1403
1403
  /**
1404
1404
  * The status-discriminated outcome of a submission: `checkout` (a Stripe
1405
- * Checkout URL to redirect to), `published`, `pending_approval`, or
1405
+ * Checkout URL to redirect to), `embedded_checkout` (a client secret for
1406
+ * Stripe Embedded Checkout), `published`, `pending_approval`, or
1406
1407
  * `invoice_sent`. A rejected submission throws a `BoardApiError` instead.
1407
1408
  */
1408
1409
  type JobPostingResult = Schemas['JobPostingResult'];
1410
+ /** The result of `getCheckout(sessionId)`: payment and job state after checkout. */
1411
+ type JobPostingCheckoutStatus = Schemas['JobPostingCheckoutStatus'];
1409
1412
  /**
1410
1413
  * The result of `uploadLogo()` / `fetchLogoByDomain()`: a stored logo whose
1411
1414
  * `publicUrl` you pass back as the top-level `logoUrl` on `create(...)`.
@@ -1433,7 +1436,13 @@ type TaxonomyListQuery = {
1433
1436
  sort?: 'name' | 'jobCount';
1434
1437
  };
1435
1438
  /** Query for `taxonomy.categories.list()`. */
1436
- type CategoryListQuery = TaxonomyListQuery & {
1439
+ type CategoryListQuery = Omit<TaxonomyListQuery, 'sort'> & {
1440
+ /**
1441
+ * `name` (default), `jobCount` (jobs tagged with the category itself), or
1442
+ * `totalJobCount` (jobs on the category and its subcategories, which also
1443
+ * lists a parent with no jobs of its own). Highest count first.
1444
+ */
1445
+ sort?: 'name' | 'jobCount' | 'totalJobCount';
1437
1446
  /** `true` returns only top-level categories (those with no parent). */
1438
1447
  topLevel?: boolean;
1439
1448
  };
@@ -1613,6 +1622,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1613
1622
  messaging: boolean;
1614
1623
  contactPage: boolean;
1615
1624
  placeSuggestions: boolean;
1625
+ mcp: boolean;
1616
1626
  };
1617
1627
  talentAccessModel: "paid_messaging" | "paid_unlocks_and_messaging" | null;
1618
1628
  posting: {
@@ -3795,7 +3805,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3795
3805
  object: "marketing_consent";
3796
3806
  status: "granted" | "withdrawn";
3797
3807
  source: string;
3798
- reason: "person_request" | "operator_request" | "account_deleted" | null;
3808
+ reason: "person_request" | "operator_request" | "account_deleted" | "spam_report" | null;
3799
3809
  grantedAt: string | null;
3800
3810
  withdrawnAt: string | null;
3801
3811
  revision: number;
@@ -3805,7 +3815,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3805
3815
  object: "marketing_consent";
3806
3816
  status: "granted" | "withdrawn";
3807
3817
  source: string;
3808
- reason: "person_request" | "operator_request" | "account_deleted" | null;
3818
+ reason: "person_request" | "operator_request" | "account_deleted" | "spam_report" | null;
3809
3819
  grantedAt: string | null;
3810
3820
  withdrawnAt: string | null;
3811
3821
  revision: number;
@@ -3815,7 +3825,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3815
3825
  object: "marketing_consent";
3816
3826
  status: "granted" | "withdrawn";
3817
3827
  source: string;
3818
- reason: "person_request" | "operator_request" | "account_deleted" | null;
3828
+ reason: "person_request" | "operator_request" | "account_deleted" | "spam_report" | null;
3819
3829
  grantedAt: string | null;
3820
3830
  withdrawnAt: string | null;
3821
3831
  revision: number;
@@ -3879,6 +3889,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3879
3889
  canonicalSlug: string;
3880
3890
  displayName: string;
3881
3891
  jobCount: number;
3892
+ totalJobCount?: number;
3882
3893
  }>>;
3883
3894
  resolve(slug: string, options?: FetchOptions): Promise<{
3884
3895
  object: "taxonomy_resolution";
@@ -3906,6 +3917,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3906
3917
  canonicalSlug: string;
3907
3918
  displayName: string;
3908
3919
  jobCount: number;
3920
+ totalJobCount?: number;
3909
3921
  }>>;
3910
3922
  resolve(slug: string, options?: FetchOptions): Promise<{
3911
3923
  object: "taxonomy_resolution";
@@ -4106,6 +4118,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4106
4118
  status: "checkout";
4107
4119
  checkoutUrl: string;
4108
4120
  jobId: string;
4121
+ } | {
4122
+ object: "job_posting_result";
4123
+ status: "embedded_checkout";
4124
+ clientSecret: string;
4125
+ sessionId: string;
4126
+ stripeAccountId: string;
4127
+ publishableKey: string;
4128
+ jobId: string;
4109
4129
  } | {
4110
4130
  object: "job_posting_result";
4111
4131
  status: "published";
@@ -4120,6 +4140,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4120
4140
  status: "invoice_sent";
4121
4141
  jobId: string;
4122
4142
  }>;
4143
+ getCheckout(sessionId: string, options?: FetchOptions): Promise<{
4144
+ object: "job_posting_checkout_status";
4145
+ status: "awaiting_payment" | "processing" | "paid" | "payment_failed" | "canceled";
4146
+ jobId: string;
4147
+ jobTitle: string;
4148
+ jobStatus: "published" | "pending_approval" | "unpublished";
4149
+ jobUrl: string | null;
4150
+ }>;
4123
4151
  uploadLogo(file: Blob, options?: FetchOptions): Promise<{
4124
4152
  object: "job_posting_logo";
4125
4153
  publicUrl: string;
@@ -4898,4 +4926,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4898
4926
  };
4899
4927
  type BoardSdk = ReturnType<typeof createBoardClient>;
4900
4928
 
4901
- export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySalary, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmItemEmailDomainVerificationBody, type ConfirmItemEmailDomainVerificationLinkBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type ItemEmailDomainVerification, type ItemVerification, type ItemVerificationBadge, type JobAlertAnchorJob, type JobAlertClickInput, type JobAlertClickParams, type JobAlertClickReceipt, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUnsubscribeInput, type JobAlertUnsubscribeParams, type JobAlertUpdatePreferenceInput, JobCapability, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobRetrieveQuery, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type MyItemVerification, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, PURCHASE_CONFIRMATION_HEADER, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlaceSuggestQuery, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type Product, type ProductCard, type ProductCardListEnvelope, type ProductCheckout, type ProductCheckoutBody, type ProductCheckoutStatus, type ProductDetailRow, type ProductPrice, type ProductQuestion, type ProductReview, type ProductReviewListEnvelope, type ProductReviewsQuery, type ProductsListQuery, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type Purchase, type PurchaseConfirmation, type PurchaseDownload, type PurchaseDownloadAll, type PurchaseRequestOptions, type PurchaseResendBody, type PurchaseResendResult, type PurchaseReviewBody, type PurchaseReviewResult, type PurchaseSummary, type PurchaseSummaryListEnvelope, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type SubmitItemEmailDomainVerificationBody, type SubmitMyItemVerificationBody, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentPlace, type TalentPlacesListEnvelope, type TalentPlacesQuery, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type TipJar, type TipJarCheckout, type TipJarCheckoutBody, type TipJarCheckoutStatus, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateResumeBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseJobAlertClickParams, parseJobAlertUnsubscribeParams, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore, tipCoverFeeCents };
4929
+ export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySalary, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmItemEmailDomainVerificationBody, type ConfirmItemEmailDomainVerificationLinkBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type ItemEmailDomainVerification, type ItemVerification, type ItemVerificationBadge, type JobAlertAnchorJob, type JobAlertClickInput, type JobAlertClickParams, type JobAlertClickReceipt, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUnsubscribeInput, type JobAlertUnsubscribeParams, type JobAlertUpdatePreferenceInput, JobCapability, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingCheckoutStatus, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobRetrieveQuery, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type MyItemVerification, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, PURCHASE_CONFIRMATION_HEADER, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlaceSuggestQuery, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type Product, type ProductCard, type ProductCardListEnvelope, type ProductCheckout, type ProductCheckoutBody, type ProductCheckoutStatus, type ProductDetailRow, type ProductPrice, type ProductQuestion, type ProductReview, type ProductReviewListEnvelope, type ProductReviewsQuery, type ProductsListQuery, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type Purchase, type PurchaseConfirmation, type PurchaseDownload, type PurchaseDownloadAll, type PurchaseRequestOptions, type PurchaseResendBody, type PurchaseResendResult, type PurchaseReviewBody, type PurchaseReviewResult, type PurchaseSummary, type PurchaseSummaryListEnvelope, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type SubmitItemEmailDomainVerificationBody, type SubmitMyItemVerificationBody, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentPlace, type TalentPlacesListEnvelope, type TalentPlacesQuery, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type TipJar, type TipJarCheckout, type TipJarCheckoutBody, type TipJarCheckoutStatus, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateResumeBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseJobAlertClickParams, parseJobAlertUnsubscribeParams, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore, tipCoverFeeCents };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { S as Schemas, c as components } from './_spec-D1Qg_Twd.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-DZeNdYN6.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-DZeNdYN6.js';
4
- import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as JobCapability, b as CustomFieldFilter, O as ObjectReferenceFilter, c as JobCollectionChoiceQuery, d as JobsListQuery, e as JobCardListEnvelope, f as JobRetrieveQuery, g as JobsSearchBody, h as JobCardSearchEnvelope, i as JobsSimilarQuery, j as SearchEnvelope } from './jobs-D04ngjCP.js';
5
- export { k as CustomFieldValue, C as CustomFieldValues, l as CustomFilterValue, m as EducationRequirement, n as JobCatalogPagination, o as JobCollectionChoiceList, p as JobCollectionFieldDefinition, q as JobCompany, r as JobCustomEmploymentType, J as JobSort, s as OfficeLocation, t as OffsetPagination, P as PublicJob, u as PublicJobCard, v as RelatedSearch, w as RemotePermit, x as RemoteTimezone, y as ResolvedJobCollectionField, z as StorefrontPagination } from './jobs-D04ngjCP.js';
6
- import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery, b as CompanySalary } from './board-BeNZLOYC.js';
7
- export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-BeNZLOYC.js';
8
- export { B as BoardSeo } from './seo-DLoyZRTo.js';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-Dp2jAVVM.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-Dp2jAVVM.js';
1
+ import { S as Schemas, c as components } from './_spec-DBI6azWs.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-DPHLf8pI.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-DPHLf8pI.js';
4
+ import { L as ListEnvelope, R as RemoteOption, E as EmploymentType, S as Seniority, a as JobCapability, b as CustomFieldFilter, O as ObjectReferenceFilter, c as JobCollectionChoiceQuery, d as JobsListQuery, e as JobCardListEnvelope, f as JobRetrieveQuery, g as JobsSearchBody, h as JobCardSearchEnvelope, i as JobsSimilarQuery, j as SearchEnvelope } from './jobs-Dyj1HZ8W.js';
5
+ export { k as CustomFieldValue, C as CustomFieldValues, l as CustomFilterValue, m as EducationRequirement, n as JobCatalogPagination, o as JobCollectionChoiceList, p as JobCollectionFieldDefinition, q as JobCompany, r as JobCustomEmploymentType, J as JobSort, s as OfficeLocation, t as OffsetPagination, P as PublicJob, u as PublicJobCard, v as RelatedSearch, w as RemotePermit, x as RemoteTimezone, y as ResolvedJobCollectionField, z as StorefrontPagination } from './jobs-Dyj1HZ8W.js';
6
+ import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery, b as CompanySalary } from './board-USJ9ZZab.js';
7
+ export { B as BoardCustomEmploymentType, j as BoardFormBuiltinField, k as BoardFormField, l as BoardFormLayout, m as BoardFormLockReason, n as BoardJobFormField, o as BoardProfileFormField, p as BoardRoleSignIn, q as BoardSignInSsoConnection, a as CompanyCategorySalary, r as CompanyMarket, s as CompanyMarketRef, t as CompanySalarySummary, C as CustomFieldDefinition, u as CustomFieldOption, v as CustomFieldType, L as LocationSalaryDetail, w as LocationSkillsIndex, x as LocationTitlesIndex, P as PublicBoard, y as PublicBoardAds, z as PublicBoardAnalytics, A as PublicBoardFeatures, D as PublicBoardJobForm, E as PublicBoardSignIn, F as PublicCompany, G as PublicCompanyDetail, H as PublicCompanyMembership, I as SalaryCompany, J as SalaryLocation, K as SalarySkill, M as SalaryTitle, N as SkillLocationSalary, O as SkillLocationsIndex, S as SkillSalaryDetail, Q as TitleLocationSalary, R as TitleLocationsIndex, T as TitleSalaryDetail } from './board-USJ9ZZab.js';
8
+ export { B as BoardSeo } from './seo-BDwe8PwT.js';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog--VKuBIdw.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--VKuBIdw.js';
11
11
 
12
12
  /**
13
13
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -20,7 +20,7 @@ export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts,
20
20
  * `unknown_error` is SDK-synthesized when a response carries no parseable
21
21
  * envelope.
22
22
  */
23
- declare const BOARD_API_ERROR_CODES: readonly ["internal_error", "validation_bad_request", "validation_payload_too_large", "rate_limited", "rate_limit_unavailable", "search_unavailable", "search_filter_unavailable", "too_many_filter_values", "pagination_invalid_cursor", "pagination_offset_too_large", "auth_unauthenticated", "auth_forbidden", "plan_upgrade_required", "unknown_error", "boards_not_found", "board_page_not_found", "board_auth_account_not_found", "board_auth_email_taken", "board_auth_invalid_credentials", "board_auth_invalid_token", "board_auth_registration_disabled", "board_auth_token_expired", "board_development_origin_not_allowed_for_email", "board_development_origin_not_registered", "board_development_origin_requires_publishable_key", "sso_required", "board_auth_method_unavailable", "board_auth_sso_connection_not_found", "board_auth_sso_role_unavailable", "board_auth_sso_provider_unavailable", "board_auth_sso_browser_mismatch", "board_auth_sso_not_provisioned", "board_auth_sso_identity_linked_elsewhere", "invalid_current_password", "no_password", "same_email", "email_taken", "invalid_token", "board_password_required", "board_password_invalid", "jobs_not_found", "jobs_invalid_filter", "categories_not_found", "skills_not_found", "places_not_found", "locations_invalid_id", "locations_unavailable", "companies_not_found", "company_markets_not_found", "company_salary_not_found", "company_category_salary_not_found", "salaries_title_not_found", "salaries_skill_not_found", "salaries_location_not_found", "salaries_title_location_not_found", "salaries_skill_location_not_found", "blog_post_not_found", "blog_author_not_found", "blog_tag_not_found", "feeds_not_found", "feed_not_ready", "talent_not_found", "talent_directory_not_found", "talent_directory_restricted", "job_recommendations_not_found", "recommended_talent_not_found", "job_alert_not_found", "job_alerts_disabled", "candidate_alert_limit_reached", "candidate_alert_not_found", "candidate_entry_not_found", "candidate_handle_taken", "candidate_job_not_found", "candidate_notification_preference_paused", "candidate_profile_required", "resume_invalid_file", "resume_upload_forbidden", "applications_external_apply_only", "applications_country_not_allowed", "applications_guest_not_allowed", "applications_job_not_found", "applications_not_found", "applications_resume_invalid_file", "applications_unprocessable", "messaging_application_not_found", "messaging_application_not_linked", "messaging_blocked", "messaging_cannot_block_self", "messaging_cold_rule", "messaging_conversation_not_found", "messaging_disabled", "messaging_edit_window_expired", "messaging_message_deleted", "messaging_message_not_found", "messaging_not_author", "messaging_not_participant", "messaging_not_permitted", "messaging_not_recipient", "messaging_rate_limited", "messaging_recipient_not_found", "messaging_recipient_not_open", "messaging_unsend_window_expired", "employer_applicant_not_found", "employer_ats_unprocessable", "employer_checkout_failed", "employer_company_exists", "employer_free_email_website", "employer_company_name_taken", "employer_company_not_found", "employer_job_not_found", "employer_job_slug_taken", "employer_jobs_quota_exceeded", "membership_required", "employer_not_member", "employer_payment_required", "employer_pipeline_stage_not_found", "employer_member_not_found", "employer_invite_not_found", "not_company_admin", "not_company_member", "company_deletion_disabled", "last_admin", "already_member", "already_invited", "invalid_email", "invite_email_mismatch", "candidate_role", "job_not_published", "talent_list_not_found", "sourced_candidate_not_found", "sourced_convert_unavailable", "talent_list_full", "candidate_paywall_access_required", "paywall_already_active", "paywall_disabled", "paywall_invalid_checkout_session", "paywall_no_candidate_profile", "paywall_no_recurring_subscription", "paywall_offer_not_found", "talent_access_unavailable", "company_required", "already_on_plan", "talent_access_required", "messaging_talent_access_required", "stripe_not_connected", "membership_plan_not_found", "membership_seat_taken", "job_posting_logo_lookup_unavailable", "job_posting_logo_not_found", "job_posting_rejected", "products_not_found", "product_checkout_not_found", "product_reviews_disabled", "product_sold_out", "product_email_invalid", "product_email_blocked", "product_amount_below_minimum", "product_amount_invalid", "product_answers_invalid", "purchases_not_found", "purchase_file_not_found", "purchase_unavailable", "purchase_access_removed", "purchase_awaiting_payment", "purchase_refunded", "purchase_email_confirmation_required", "purchase_email_mismatch", "purchase_file_preparing", "purchase_download_limit_reached", "purchase_review_invalid", "purchase_download_all_unavailable", "tip_jar_not_found", "tip_checkout_not_found", "tip_amount_below_minimum", "tip_amount_invalid", "tip_note_not_allowed", "tip_note_too_long", "tip_fee_cover_not_allowed"];
23
+ declare const BOARD_API_ERROR_CODES: readonly ["internal_error", "validation_bad_request", "validation_payload_too_large", "rate_limited", "rate_limit_unavailable", "search_unavailable", "search_filter_unavailable", "too_many_filter_values", "pagination_invalid_cursor", "pagination_offset_too_large", "auth_unauthenticated", "auth_forbidden", "plan_upgrade_required", "unknown_error", "boards_not_found", "board_page_not_found", "board_auth_account_not_found", "board_auth_email_taken", "board_auth_invalid_credentials", "board_auth_invalid_token", "board_auth_registration_disabled", "board_auth_token_expired", "board_development_origin_not_allowed_for_email", "board_development_origin_not_registered", "board_development_origin_requires_publishable_key", "sso_required", "board_auth_method_unavailable", "board_auth_sso_connection_not_found", "board_auth_sso_role_unavailable", "board_auth_sso_provider_unavailable", "board_auth_sso_browser_mismatch", "board_auth_sso_not_provisioned", "board_auth_sso_identity_linked_elsewhere", "invalid_current_password", "no_password", "same_email", "email_taken", "invalid_token", "board_password_required", "board_password_invalid", "jobs_not_found", "jobs_invalid_filter", "categories_not_found", "skills_not_found", "places_not_found", "locations_invalid_id", "locations_unavailable", "companies_not_found", "company_markets_not_found", "company_salary_not_found", "company_category_salary_not_found", "salaries_title_not_found", "salaries_skill_not_found", "salaries_location_not_found", "salaries_title_location_not_found", "salaries_skill_location_not_found", "blog_post_not_found", "blog_author_not_found", "blog_tag_not_found", "feeds_not_found", "feed_not_ready", "talent_not_found", "talent_directory_not_found", "talent_directory_restricted", "job_recommendations_not_found", "recommended_talent_not_found", "job_alert_not_found", "job_alerts_disabled", "candidate_alert_limit_reached", "candidate_alert_not_found", "candidate_entry_not_found", "candidate_handle_taken", "candidate_job_not_found", "candidate_notification_preference_paused", "candidate_profile_required", "resume_invalid_file", "resume_upload_forbidden", "applications_external_apply_only", "applications_country_not_allowed", "applications_guest_not_allowed", "applications_job_not_found", "applications_not_found", "applications_resume_invalid_file", "applications_unprocessable", "messaging_application_not_found", "messaging_application_not_linked", "messaging_blocked", "messaging_cannot_block_self", "messaging_cold_rule", "messaging_conversation_not_found", "messaging_disabled", "messaging_edit_window_expired", "messaging_message_deleted", "messaging_message_not_found", "messaging_not_author", "messaging_not_participant", "messaging_not_permitted", "messaging_not_recipient", "messaging_rate_limited", "messaging_recipient_not_found", "messaging_recipient_not_open", "messaging_unsend_window_expired", "employer_applicant_not_found", "employer_ats_unprocessable", "employer_checkout_failed", "employer_company_exists", "employer_free_email_website", "employer_company_name_taken", "employer_company_not_found", "employer_job_not_found", "employer_job_slug_taken", "employer_jobs_quota_exceeded", "membership_required", "employer_not_member", "employer_payment_required", "employer_pipeline_stage_not_found", "employer_member_not_found", "employer_invite_not_found", "not_company_admin", "not_company_member", "company_deletion_disabled", "last_admin", "already_member", "already_invited", "invalid_email", "invite_email_mismatch", "candidate_role", "job_not_published", "talent_list_not_found", "sourced_candidate_not_found", "sourced_convert_unavailable", "talent_list_full", "candidate_paywall_access_required", "paywall_already_active", "paywall_disabled", "paywall_invalid_checkout_session", "paywall_no_candidate_profile", "paywall_no_recurring_subscription", "paywall_offer_not_found", "talent_access_unavailable", "company_required", "already_on_plan", "talent_access_required", "messaging_talent_access_required", "stripe_not_connected", "membership_plan_not_found", "membership_seat_taken", "job_posting_logo_lookup_unavailable", "job_posting_logo_not_found", "job_posting_rejected", "job_posting_checkout_not_found", "products_not_found", "product_checkout_not_found", "product_reviews_disabled", "product_sold_out", "product_email_invalid", "product_email_blocked", "product_amount_below_minimum", "product_amount_invalid", "product_answers_invalid", "purchases_not_found", "purchase_file_not_found", "purchase_unavailable", "purchase_access_removed", "purchase_awaiting_payment", "purchase_refunded", "purchase_email_confirmation_required", "purchase_email_mismatch", "purchase_file_preparing", "purchase_download_limit_reached", "purchase_review_invalid", "purchase_download_all_unavailable", "tip_jar_not_found", "tip_checkout_not_found", "tip_amount_below_minimum", "tip_amount_invalid", "tip_note_not_allowed", "tip_note_too_long", "tip_fee_cover_not_allowed"];
24
24
  /**
25
25
  * The known code set plus open string — new codes ship additively within v1,
26
26
  * so exhaustive narrowing is intentionally impossible.
@@ -202,7 +202,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
202
  * constant because the package is platform-neutral and cannot read
203
203
  * package.json at runtime.
204
204
  */
205
- declare const SDK_VERSION = "4.64.0";
205
+ declare const SDK_VERSION = "4.66.0";
206
206
 
207
207
  type SavedJob = Schemas['SavedJob'];
208
208
  type SavedJobsListQuery = {
@@ -1402,10 +1402,13 @@ type JobPostingPlan = Schemas['JobPostingPlan'];
1402
1402
  type CreateJobPostingInput = Schemas['CreateJobPostingBody'];
1403
1403
  /**
1404
1404
  * The status-discriminated outcome of a submission: `checkout` (a Stripe
1405
- * Checkout URL to redirect to), `published`, `pending_approval`, or
1405
+ * Checkout URL to redirect to), `embedded_checkout` (a client secret for
1406
+ * Stripe Embedded Checkout), `published`, `pending_approval`, or
1406
1407
  * `invoice_sent`. A rejected submission throws a `BoardApiError` instead.
1407
1408
  */
1408
1409
  type JobPostingResult = Schemas['JobPostingResult'];
1410
+ /** The result of `getCheckout(sessionId)`: payment and job state after checkout. */
1411
+ type JobPostingCheckoutStatus = Schemas['JobPostingCheckoutStatus'];
1409
1412
  /**
1410
1413
  * The result of `uploadLogo()` / `fetchLogoByDomain()`: a stored logo whose
1411
1414
  * `publicUrl` you pass back as the top-level `logoUrl` on `create(...)`.
@@ -1433,7 +1436,13 @@ type TaxonomyListQuery = {
1433
1436
  sort?: 'name' | 'jobCount';
1434
1437
  };
1435
1438
  /** Query for `taxonomy.categories.list()`. */
1436
- type CategoryListQuery = TaxonomyListQuery & {
1439
+ type CategoryListQuery = Omit<TaxonomyListQuery, 'sort'> & {
1440
+ /**
1441
+ * `name` (default), `jobCount` (jobs tagged with the category itself), or
1442
+ * `totalJobCount` (jobs on the category and its subcategories, which also
1443
+ * lists a parent with no jobs of its own). Highest count first.
1444
+ */
1445
+ sort?: 'name' | 'jobCount' | 'totalJobCount';
1437
1446
  /** `true` returns only top-level categories (those with no parent). */
1438
1447
  topLevel?: boolean;
1439
1448
  };
@@ -1613,6 +1622,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1613
1622
  messaging: boolean;
1614
1623
  contactPage: boolean;
1615
1624
  placeSuggestions: boolean;
1625
+ mcp: boolean;
1616
1626
  };
1617
1627
  talentAccessModel: "paid_messaging" | "paid_unlocks_and_messaging" | null;
1618
1628
  posting: {
@@ -3795,7 +3805,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3795
3805
  object: "marketing_consent";
3796
3806
  status: "granted" | "withdrawn";
3797
3807
  source: string;
3798
- reason: "person_request" | "operator_request" | "account_deleted" | null;
3808
+ reason: "person_request" | "operator_request" | "account_deleted" | "spam_report" | null;
3799
3809
  grantedAt: string | null;
3800
3810
  withdrawnAt: string | null;
3801
3811
  revision: number;
@@ -3805,7 +3815,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3805
3815
  object: "marketing_consent";
3806
3816
  status: "granted" | "withdrawn";
3807
3817
  source: string;
3808
- reason: "person_request" | "operator_request" | "account_deleted" | null;
3818
+ reason: "person_request" | "operator_request" | "account_deleted" | "spam_report" | null;
3809
3819
  grantedAt: string | null;
3810
3820
  withdrawnAt: string | null;
3811
3821
  revision: number;
@@ -3815,7 +3825,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3815
3825
  object: "marketing_consent";
3816
3826
  status: "granted" | "withdrawn";
3817
3827
  source: string;
3818
- reason: "person_request" | "operator_request" | "account_deleted" | null;
3828
+ reason: "person_request" | "operator_request" | "account_deleted" | "spam_report" | null;
3819
3829
  grantedAt: string | null;
3820
3830
  withdrawnAt: string | null;
3821
3831
  revision: number;
@@ -3879,6 +3889,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3879
3889
  canonicalSlug: string;
3880
3890
  displayName: string;
3881
3891
  jobCount: number;
3892
+ totalJobCount?: number;
3882
3893
  }>>;
3883
3894
  resolve(slug: string, options?: FetchOptions): Promise<{
3884
3895
  object: "taxonomy_resolution";
@@ -3906,6 +3917,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3906
3917
  canonicalSlug: string;
3907
3918
  displayName: string;
3908
3919
  jobCount: number;
3920
+ totalJobCount?: number;
3909
3921
  }>>;
3910
3922
  resolve(slug: string, options?: FetchOptions): Promise<{
3911
3923
  object: "taxonomy_resolution";
@@ -4106,6 +4118,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4106
4118
  status: "checkout";
4107
4119
  checkoutUrl: string;
4108
4120
  jobId: string;
4121
+ } | {
4122
+ object: "job_posting_result";
4123
+ status: "embedded_checkout";
4124
+ clientSecret: string;
4125
+ sessionId: string;
4126
+ stripeAccountId: string;
4127
+ publishableKey: string;
4128
+ jobId: string;
4109
4129
  } | {
4110
4130
  object: "job_posting_result";
4111
4131
  status: "published";
@@ -4120,6 +4140,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4120
4140
  status: "invoice_sent";
4121
4141
  jobId: string;
4122
4142
  }>;
4143
+ getCheckout(sessionId: string, options?: FetchOptions): Promise<{
4144
+ object: "job_posting_checkout_status";
4145
+ status: "awaiting_payment" | "processing" | "paid" | "payment_failed" | "canceled";
4146
+ jobId: string;
4147
+ jobTitle: string;
4148
+ jobStatus: "published" | "pending_approval" | "unpublished";
4149
+ jobUrl: string | null;
4150
+ }>;
4123
4151
  uploadLogo(file: Blob, options?: FetchOptions): Promise<{
4124
4152
  object: "job_posting_logo";
4125
4153
  publicUrl: string;
@@ -4898,4 +4926,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4898
4926
  };
4899
4927
  type BoardSdk = ReturnType<typeof createBoardClient>;
4900
4928
 
4901
- export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySalary, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmItemEmailDomainVerificationBody, type ConfirmItemEmailDomainVerificationLinkBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type ItemEmailDomainVerification, type ItemVerification, type ItemVerificationBadge, type JobAlertAnchorJob, type JobAlertClickInput, type JobAlertClickParams, type JobAlertClickReceipt, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUnsubscribeInput, type JobAlertUnsubscribeParams, type JobAlertUpdatePreferenceInput, JobCapability, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobRetrieveQuery, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type MyItemVerification, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, PURCHASE_CONFIRMATION_HEADER, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlaceSuggestQuery, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type Product, type ProductCard, type ProductCardListEnvelope, type ProductCheckout, type ProductCheckoutBody, type ProductCheckoutStatus, type ProductDetailRow, type ProductPrice, type ProductQuestion, type ProductReview, type ProductReviewListEnvelope, type ProductReviewsQuery, type ProductsListQuery, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type Purchase, type PurchaseConfirmation, type PurchaseDownload, type PurchaseDownloadAll, type PurchaseRequestOptions, type PurchaseResendBody, type PurchaseResendResult, type PurchaseReviewBody, type PurchaseReviewResult, type PurchaseSummary, type PurchaseSummaryListEnvelope, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type SubmitItemEmailDomainVerificationBody, type SubmitMyItemVerificationBody, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentPlace, type TalentPlacesListEnvelope, type TalentPlacesQuery, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type TipJar, type TipJarCheckout, type TipJarCheckoutBody, type TipJarCheckoutStatus, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateResumeBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseJobAlertClickParams, parseJobAlertUnsubscribeParams, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore, tipCoverFeeCents };
4929
+ export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type AddTalentListMemberBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, type AudienceAttribution, type AvailableSignInMethods, Awaitable, BOARD_API_ERROR_CODES, type BindingStorage, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BuiltInSignInMethod, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type CategoryListQuery, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySalary, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmItemEmailDomainVerificationBody, type ConfirmItemEmailDomainVerificationLinkBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type ItemEmailDomainVerification, type ItemVerification, type ItemVerificationBadge, type JobAlertAnchorJob, type JobAlertClickInput, type JobAlertClickParams, type JobAlertClickReceipt, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertKind, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUnsubscribeInput, type JobAlertUnsubscribeParams, type JobAlertUpdatePreferenceInput, JobCapability, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingCheckoutStatus, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobRetrieveQuery, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, type LocationResolveInput, type LocationSearchQuery, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type MyItemVerification, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, PURCHASE_CONFIRMATION_HEADER, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlaceSuggestQuery, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type Product, type ProductCard, type ProductCardListEnvelope, type ProductCheckout, type ProductCheckoutBody, type ProductCheckoutStatus, type ProductDetailRow, type ProductPrice, type ProductQuestion, type ProductReview, type ProductReviewListEnvelope, type ProductReviewsQuery, type ProductsListQuery, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, type Purchase, type PurchaseConfirmation, type PurchaseDownload, type PurchaseDownloadAll, type PurchaseRequestOptions, type PurchaseResendBody, type PurchaseResendResult, type PurchaseReviewBody, type PurchaseReviewResult, type PurchaseSummary, type PurchaseSummaryListEnvelope, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplaceProfileObjectReferencesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SIGN_IN_REDIRECT_ERROR_CODES, SSO_LINK_PROOF_BINDING_TTL_MS, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SignInRedirectErrorCode, type SignInRole, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type SsoAuthorizationQuery, type SsoAuthorizationUrl, type SsoLinkProofBindingStore, type SsoLinkProofBody, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type SubmitItemEmailDomainVerificationBody, type SubmitMyItemVerificationBody, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentListMember, type TalentListMembersListEnvelope, type TalentListMembersQuery, type TalentListMembership, type TalentPlace, type TalentPlacesListEnvelope, type TalentPlacesQuery, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type TipJar, type TipJarCheckout, type TipJarCheckoutBody, type TipJarCheckoutStatus, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateResumeBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseJobAlertClickParams, parseJobAlertUnsubscribeParams, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore, tipCoverFeeCents };
package/dist/index.js CHANGED
@@ -237,6 +237,7 @@ var BOARD_API_ERROR_CODES = [
237
237
  "job_posting_logo_lookup_unavailable",
238
238
  "job_posting_logo_not_found",
239
239
  "job_posting_rejected",
240
+ "job_posting_checkout_not_found",
240
241
  // Digital products and purchases
241
242
  "products_not_found",
242
243
  "product_checkout_not_found",
@@ -441,7 +442,7 @@ async function clearSession(storage) {
441
442
  }
442
443
 
443
444
  // src/version.ts
444
- var SDK_VERSION = "4.64.0";
445
+ var SDK_VERSION = "4.66.0";
445
446
 
446
447
  // src/client.ts
447
448
  function isRawBody(body) {
@@ -1426,6 +1427,23 @@ function jobPostingNamespace(client) {
1426
1427
  body: input
1427
1428
  });
1428
1429
  },
1430
+ /**
1431
+ * After a paid posting's checkout (`sessionId` from an `embedded_checkout`
1432
+ * result, or `session_id` on the return URL): `awaiting_payment` until the
1433
+ * payment is confirmed (poll briefly), `processing` while a bank payment
1434
+ * clears, then `paid` or `payment_failed`, or `canceled` if the checkout
1435
+ * expired. `jobStatus` and `jobUrl` say whether the job is live.
1436
+ *
1437
+ * @example
1438
+ * const s = await board.jobPosting.getCheckout(sessionId);
1439
+ * if (s.jobUrl) location.assign(s.jobUrl);
1440
+ */
1441
+ getCheckout(sessionId, options) {
1442
+ return client.fetch(
1443
+ `/job-postings/checkout/${encodeURIComponent(sessionId)}`,
1444
+ options
1445
+ );
1446
+ },
1429
1447
  /**
1430
1448
  * Upload a company logo (JPEG/PNG/WebP/GIF, ≤2 MB). Returns the stored
1431
1449
  * `publicUrl` — pass it back as the top-level `logoUrl` on `create(...)`.
package/dist/index.mjs CHANGED
@@ -1,3 +1,6 @@
1
+ import {
2
+ DEFAULT_CAVUNO_API_URL
3
+ } from "./chunk-RDHHRDKN.mjs";
1
4
  import {
2
5
  ACCESS_TOKEN_KEY,
3
6
  BOARD_ACCESS_GRANT_KEY,
@@ -25,7 +28,7 @@ import {
25
28
  isSsoRequired,
26
29
  isUnauthorized,
27
30
  isValidationError
28
- } from "./chunk-H3YIWHXR.mjs";
31
+ } from "./chunk-R62XFNS7.mjs";
29
32
 
30
33
  // src/query.ts
31
34
  function toSearchParams(query) {
@@ -46,7 +49,7 @@ function toSearchParams(query) {
46
49
  }
47
50
 
48
51
  // src/version.ts
49
- var SDK_VERSION = "4.64.0";
52
+ var SDK_VERSION = "4.66.0";
50
53
 
51
54
  // src/client.ts
52
55
  function isRawBody(body) {
@@ -150,9 +153,6 @@ var BoardClient = class {
150
153
  }
151
154
  };
152
155
 
153
- // src/constants.ts
154
- var DEFAULT_CAVUNO_API_URL = "https://api.cavuno.com";
155
-
156
156
  // src/sso.ts
157
157
  var SIGN_IN_REDIRECT_ERROR_CODES = [
158
158
  "oauth_cancelled",
@@ -1031,6 +1031,23 @@ function jobPostingNamespace(client) {
1031
1031
  body: input
1032
1032
  });
1033
1033
  },
1034
+ /**
1035
+ * After a paid posting's checkout (`sessionId` from an `embedded_checkout`
1036
+ * result, or `session_id` on the return URL): `awaiting_payment` until the
1037
+ * payment is confirmed (poll briefly), `processing` while a bank payment
1038
+ * clears, then `paid` or `payment_failed`, or `canceled` if the checkout
1039
+ * expired. `jobStatus` and `jobUrl` say whether the job is live.
1040
+ *
1041
+ * @example
1042
+ * const s = await board.jobPosting.getCheckout(sessionId);
1043
+ * if (s.jobUrl) location.assign(s.jobUrl);
1044
+ */
1045
+ getCheckout(sessionId, options) {
1046
+ return client.fetch(
1047
+ `/job-postings/checkout/${encodeURIComponent(sessionId)}`,
1048
+ options
1049
+ );
1050
+ },
1034
1051
  /**
1035
1052
  * Upload a company logo (JPEG/PNG/WebP/GIF, ≤2 MB). Returns the stored
1036
1053
  * `publicUrl` — pass it back as the top-level `logoUrl` on `create(...)`.
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-D1Qg_Twd.js';
1
+ import { S as Schemas } from './_spec-DBI6azWs.js';
2
2
 
3
3
  /**
4
4
  * Optional pagination metadata returned by Board API list operations.
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-D1Qg_Twd.mjs';
1
+ import { S as Schemas } from './_spec-DBI6azWs.mjs';
2
2
 
3
3
  /**
4
4
  * Optional pagination metadata returned by Board API list operations.
package/dist/mcp.d.mts ADDED
@@ -0,0 +1,52 @@
1
+ /**
2
+ * The board's public MCP server on a self-hosted board's own host.
3
+ *
4
+ * Mount the handler at `/mcp`, `/mcp/*` and `/.well-known/ai-catalog.json`.
5
+ * It forwards to the Board API's `POST /v1/boards/{board}/mcp` and its
6
+ * `GET /v1/boards/{board}/mcp/docs`, `/mcp/server-card` and `/mcp/ai-catalog`,
7
+ * the same endpoints Cavuno-hosted boards answer from, so the tools, limits,
8
+ * setup page and discovery documents stay identical everywhere:
9
+ *
10
+ * - `POST /mcp` is the stateless Streamable HTTP transport.
11
+ * - A browser opening `/mcp` is sent to `/mcp/docs`; any other method is 405.
12
+ * - `GET|HEAD /mcp/docs` is the HTML setup page listed in AI directories.
13
+ * - `GET|HEAD /mcp/server-card` is the MCP Server Card: the server's name,
14
+ * version and URL, for an assistant to read before it connects.
15
+ * - `GET|HEAD /.well-known/ai-catalog.json` is the AI Catalog listing that
16
+ * card, so an assistant can find the server from the board's domain alone.
17
+ *
18
+ * Only the MCP transport headers are forwarded: no cookies and no
19
+ * authorization, because every tool is an anonymous read. The Board API's
20
+ * per-visitor limit sees this server's address, so it applies to all of the
21
+ * board's MCP traffic together.
22
+ *
23
+ * Framework-portable: standard Request in, standard Response out.
24
+ */
25
+ interface CreateMcpHandlerConfig {
26
+ /**
27
+ * The board's publishable key (`pk_…`). Job and company links in tool
28
+ * results then point at the key's own origin, this board.
29
+ */
30
+ board: string;
31
+ /** Board API origin. Defaults to `https://api.cavuno.com`. */
32
+ baseUrl?: string;
33
+ }
34
+ /**
35
+ * Create the `(request) => Response` handler for `/mcp`, `/mcp/docs`,
36
+ * `/mcp/server-card` and `/.well-known/ai-catalog.json`.
37
+ *
38
+ * @example
39
+ * // Next.js App Router: app/mcp/[[...path]]/route.ts and
40
+ * // app/.well-known/ai-catalog.json/route.ts, both exporting:
41
+ * import { createMcpHandler } from '@cavuno/board/mcp';
42
+ *
43
+ * const handler = createMcpHandler({
44
+ * board: process.env.NEXT_PUBLIC_CAVUNO_BOARD_KEY!,
45
+ * });
46
+ * export const GET = handler;
47
+ * export const HEAD = handler;
48
+ * export const POST = handler;
49
+ */
50
+ declare function createMcpHandler(config: CreateMcpHandlerConfig): (request: Request) => Promise<Response>;
51
+
52
+ export { type CreateMcpHandlerConfig, createMcpHandler };