@cavuno/board 4.69.0 → 4.70.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 (42) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/{_spec-CFOj7Qdf.d.mts → _spec-Dk7QyuoJ.d.mts} +58 -2
  3. package/dist/{_spec-CFOj7Qdf.d.ts → _spec-Dk7QyuoJ.d.ts} +58 -2
  4. package/dist/{blog-BaVJi3q1.d.ts → blog-DfUNkngR.d.ts} +1 -1
  5. package/dist/{blog-DCRBPnpZ.d.mts → blog-Oo6YHXSE.d.mts} +1 -1
  6. package/dist/{board-zLt7j6hj.d.ts → board-CfmGT0yV.d.ts} +2 -2
  7. package/dist/{board-DMS3I3sJ.d.mts → board-DzBYIwKz.d.mts} +2 -2
  8. package/dist/{breadcrumbs-yGijUUtR.d.ts → breadcrumbs-CS0nlknq.d.ts} +2 -2
  9. package/dist/{breadcrumbs-Dwf0yq7B.d.mts → breadcrumbs-DeIA0RQp.d.mts} +2 -2
  10. package/dist/browser/cavuno-board.global.min.js +1 -1
  11. package/dist/{chunk-7SAHE7UW.mjs → chunk-UIKN2ERI.mjs} +2 -0
  12. package/dist/filters.d.mts +2 -2
  13. package/dist/filters.d.ts +2 -2
  14. package/dist/format.d.mts +4 -4
  15. package/dist/format.d.ts +4 -4
  16. package/dist/index.d.mts +74 -22
  17. package/dist/index.d.ts +74 -22
  18. package/dist/index.js +50 -2
  19. package/dist/index.mjs +49 -3
  20. package/dist/{jobs-Cew_q69W.d.mts → jobs-BMRvZlNx.d.mts} +1 -1
  21. package/dist/{jobs-Dz_w1jZq.d.ts → jobs-BlAsTCQl.d.ts} +1 -1
  22. package/dist/{search-DwvgvtEg.d.mts → search-BB1TaaLa.d.mts} +1 -1
  23. package/dist/{search-BqAYR47P.d.ts → search-CoBeDgYT.d.ts} +1 -1
  24. package/dist/{seo-CGy4fY5a.d.ts → seo-BmqJ_ChV.d.ts} +1 -1
  25. package/dist/{seo-FKj1pSHZ.d.mts → seo-M_8j5vdP.d.mts} +1 -1
  26. package/dist/seo-files.d.mts +2 -2
  27. package/dist/seo-files.d.ts +2 -2
  28. package/dist/seo.d.mts +6 -6
  29. package/dist/seo.d.ts +6 -6
  30. package/dist/server.d.mts +6 -6
  31. package/dist/server.d.ts +6 -6
  32. package/dist/server.mjs +1 -1
  33. package/dist/sitemap.d.mts +6 -6
  34. package/dist/sitemap.d.ts +6 -6
  35. package/dist/sitemap.mjs +1 -1
  36. package/dist/suggest.d.mts +2 -2
  37. package/dist/suggest.d.ts +2 -2
  38. package/package.json +1 -1
  39. package/skills/cavuno-board-account/SKILL.md +16 -0
  40. package/skills/cavuno-board-job-alerts/SKILL.md +7 -0
  41. package/skills/cavuno-board-newsletter/SKILL.md +79 -0
  42. package/skills/manifest.json +8 -1
package/dist/index.d.mts CHANGED
@@ -1,13 +1,31 @@
1
- import { S as Schemas, c as components } from './_spec-CFOj7Qdf.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-DwvgvtEg.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-DwvgvtEg.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-Cew_q69W.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-Cew_q69W.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-DMS3I3sJ.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-DMS3I3sJ.mjs';
8
- export { B as BoardSeo } from './seo-FKj1pSHZ.mjs';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-DCRBPnpZ.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-DCRBPnpZ.mjs';
1
+ import { S as Schemas, c as components } from './_spec-Dk7QyuoJ.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-BB1TaaLa.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-BB1TaaLa.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-BMRvZlNx.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-BMRvZlNx.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-DzBYIwKz.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-DzBYIwKz.mjs';
8
+ export { B as BoardSeo } from './seo-M_8j5vdP.mjs';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-Oo6YHXSE.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-Oo6YHXSE.mjs';
11
+
12
+ /**
13
+ * A board user's marketing-email consent, or `null` when no decision exists.
14
+ *
15
+ * Carries no disclosure text or wording version: the checkbox copy is authored
16
+ * by the board's own frontend, so the API records the decision, not the prose.
17
+ */
18
+ type MarketingConsent = Schemas['MarketingConsent'];
19
+ /**
20
+ * Body for `board.subscribe`: a newsletter sign-up for the board's email.
21
+ * Nothing is granted until the person clicks the confirmation email.
22
+ */
23
+ type BoardSubscribeInput = Schemas['BoardSubscribeBody'];
24
+ /**
25
+ * The uniform answer to `board.subscribe`: always `submitted`, whatever the
26
+ * address's state. `sendingPaused` says the board's email is paused.
27
+ */
28
+ type SubscriptionRequest = Schemas['PublicSubscriptionRequest'];
11
29
 
12
30
  /**
13
31
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -20,7 +38,7 @@ export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts,
20
38
  * `unknown_error` is SDK-synthesized when a response carries no parseable
21
39
  * envelope.
22
40
  */
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_email_undeliverable", "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", "collections_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", "candidate_custom_field_not_found", "candidate_custom_field_not_editable", "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"];
41
+ 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_email_undeliverable", "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", "collections_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", "candidate_custom_field_not_found", "candidate_custom_field_not_editable", "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", "company_custom_field_not_found", "company_custom_field_not_editable", "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
42
  /**
25
43
  * The known code set plus open string — new codes ship additively within v1,
26
44
  * so exhaustive narrowing is intentionally impossible.
@@ -202,7 +220,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
220
  * constant because the package is platform-neutral and cannot read
203
221
  * package.json at runtime.
204
222
  */
205
- declare const SDK_VERSION = "4.69.0";
223
+ declare const SDK_VERSION = "4.70.0";
206
224
 
207
225
  type SavedJob = Schemas['SavedJob'];
208
226
  type SavedJobsListQuery = {
@@ -385,6 +403,11 @@ type MyCandidateProfileFieldValues = Schemas['MyCandidateProfileFieldValuesRespo
385
403
  * `customFieldMedia`.
386
404
  */
387
405
  type ProfileFieldMedia = Schemas['ProfileFieldMedia'];
406
+ /**
407
+ * My company's profile custom fields: definitions, current values, and the
408
+ * saved files of upload fields as `customFieldMedia`.
409
+ */
410
+ type MyCompanyProfileFieldValues = Schemas['MyCompanyProfileFieldValuesResponse'];
388
411
  /** Additive update body for owner-editable profile custom fields. */
389
412
  type UpdateProfileFieldValuesBody = Schemas['ProfileFieldValuesBody'];
390
413
  type CandidateExperience = Schemas['CandidateExperience'];
@@ -1042,14 +1065,6 @@ type CompanyMemberInvitePreview = Schemas['CompanyMemberInvitePreview'];
1042
1065
  /** Body for `board.invites.preview`. */
1043
1066
  type PreviewCompanyMemberInviteBody = Schemas['PreviewCompanyMemberInviteBody'];
1044
1067
 
1045
- /**
1046
- * A board user's marketing-email consent, or `null` when no decision exists.
1047
- *
1048
- * Carries no disclosure text or wording version: the checkbox copy is authored
1049
- * by the board's own frontend, so the API records the decision, not the prose.
1050
- */
1051
- type MarketingConsent = Schemas['MarketingConsent'];
1052
-
1053
1068
  /**
1054
1069
  * The result of resolving a path against the board's configured redirects
1055
1070
  * (`board.redirects.resolve()`). A headless frontend 308s to `target`, or
@@ -1755,6 +1770,27 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1755
1770
  name: string;
1756
1771
  };
1757
1772
  }>;
1773
+ /**
1774
+ * Sign an address up for the board's email from a newsletter form. Sends
1775
+ * a confirmation email; nothing is granted until the person clicks it.
1776
+ * Always resolves `{ status: 'submitted', sendingPaused }`. Limited to 3
1777
+ * a minute per address and 10 requests a minute per IP; on a builder
1778
+ * site Cavuno hosts the IP limit counts each visitor, plus 6 sign-ups a
1779
+ * minute per visitor (429 `rate_limited`).
1780
+ *
1781
+ * @example
1782
+ * await board.subscribe({
1783
+ * email,
1784
+ * consent: true,
1785
+ * consentText: 'Send me news and offers from Acme Jobs.',
1786
+ * source: 'blog-footer',
1787
+ * });
1788
+ */
1789
+ subscribe(input: BoardSubscribeInput, options?: FetchOptions): Promise<{
1790
+ object: "subscription_request";
1791
+ status: "submitted";
1792
+ sendingPaused: boolean;
1793
+ }>;
1758
1794
  jobs: {
1759
1795
  collectionChoices(fieldKey: string, query?: JobCollectionChoiceQuery, options?: FetchOptions): Promise<{
1760
1796
  data: {
@@ -2876,12 +2912,27 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2876
2912
  values: {
2877
2913
  [key: string]: string | number | boolean | string[];
2878
2914
  };
2915
+ } & {
2916
+ customFieldMedia: {
2917
+ [key: string]: components["schemas"]["ProfileFieldMedia"][];
2918
+ };
2879
2919
  }>;
2880
2920
  updateCustomFields(slug: string, body: UpdateProfileFieldValuesBody, options?: FetchOptions): Promise<{
2881
2921
  definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
2882
2922
  values: {
2883
2923
  [key: string]: string | number | boolean | string[];
2884
2924
  };
2925
+ } & {
2926
+ customFieldMedia: {
2927
+ [key: string]: components["schemas"]["ProfileFieldMedia"][];
2928
+ };
2929
+ }>;
2930
+ uploadCustomFieldFile(slug: string, fieldKey: string, file: Blob, options?: FetchOptions): Promise<{
2931
+ id: string;
2932
+ name: string;
2933
+ contentType: string;
2934
+ sizeBytes: number;
2935
+ url: string;
2885
2936
  }>;
2886
2937
  delete(slug: string, options?: FetchOptions): Promise<void>;
2887
2938
  listMembers(slug: string, options?: FetchOptions): Promise<ListEnvelope<{
@@ -4076,7 +4127,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4076
4127
  token: string;
4077
4128
  }, options?: FetchOptions): Promise<{
4078
4129
  object: "job_alert_confirmation";
4079
- status: "confirmed" | "already_confirmed" | "expired" | "not_found";
4130
+ status: "confirmed" | "already_confirmed" | "expired" | "not_found" | "waitlisted" | "unsubscribed";
4131
+ subscription?: "job_alerts" | "marketing";
4080
4132
  }>;
4081
4133
  resendConfirmation(input: {
4082
4134
  email: string;
@@ -4979,4 +5031,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4979
5031
  };
4980
5032
  type BoardSdk = ReturnType<typeof createBoardClient>;
4981
5033
 
4982
- 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 EmployerBillingOptionsList, 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 EmployerPostingCapabilities, 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 MyCandidateProfileFieldValues, 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 ProfileFieldMedia, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicCollectionEntriesQuery, type PublicCollectionEntry, type PublicCollectionEntryList, 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 };
5034
+ 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 BoardSubscribeInput, 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 EmployerBillingOptionsList, 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 EmployerPostingCapabilities, 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 MyCandidateProfileFieldValues, type MyCompanyProfileFieldValues, 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 ProfileFieldMedia, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicCollectionEntriesQuery, type PublicCollectionEntry, type PublicCollectionEntryList, 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 SubscriptionRequest, 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,31 @@
1
- import { S as Schemas, c as components } from './_spec-CFOj7Qdf.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-BqAYR47P.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-BqAYR47P.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-Dz_w1jZq.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-Dz_w1jZq.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-zLt7j6hj.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-zLt7j6hj.js';
8
- export { B as BoardSeo } from './seo-CGy4fY5a.js';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-BaVJi3q1.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-BaVJi3q1.js';
1
+ import { S as Schemas, c as components } from './_spec-Dk7QyuoJ.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-CoBeDgYT.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-CoBeDgYT.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-BlAsTCQl.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-BlAsTCQl.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-CfmGT0yV.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-CfmGT0yV.js';
8
+ export { B as BoardSeo } from './seo-BmqJ_ChV.js';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-DfUNkngR.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-DfUNkngR.js';
11
+
12
+ /**
13
+ * A board user's marketing-email consent, or `null` when no decision exists.
14
+ *
15
+ * Carries no disclosure text or wording version: the checkbox copy is authored
16
+ * by the board's own frontend, so the API records the decision, not the prose.
17
+ */
18
+ type MarketingConsent = Schemas['MarketingConsent'];
19
+ /**
20
+ * Body for `board.subscribe`: a newsletter sign-up for the board's email.
21
+ * Nothing is granted until the person clicks the confirmation email.
22
+ */
23
+ type BoardSubscribeInput = Schemas['BoardSubscribeBody'];
24
+ /**
25
+ * The uniform answer to `board.subscribe`: always `submitted`, whatever the
26
+ * address's state. `sendingPaused` says the board's email is paused.
27
+ */
28
+ type SubscriptionRequest = Schemas['PublicSubscriptionRequest'];
11
29
 
12
30
  /**
13
31
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -20,7 +38,7 @@ export { B as BlogAuthorEmbed, d as BlogTagEmbed, e as PublicBlogAdjacentPosts,
20
38
  * `unknown_error` is SDK-synthesized when a response carries no parseable
21
39
  * envelope.
22
40
  */
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_email_undeliverable", "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", "collections_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", "candidate_custom_field_not_found", "candidate_custom_field_not_editable", "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"];
41
+ 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_email_undeliverable", "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", "collections_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", "candidate_custom_field_not_found", "candidate_custom_field_not_editable", "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", "company_custom_field_not_found", "company_custom_field_not_editable", "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
42
  /**
25
43
  * The known code set plus open string — new codes ship additively within v1,
26
44
  * so exhaustive narrowing is intentionally impossible.
@@ -202,7 +220,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
220
  * constant because the package is platform-neutral and cannot read
203
221
  * package.json at runtime.
204
222
  */
205
- declare const SDK_VERSION = "4.69.0";
223
+ declare const SDK_VERSION = "4.70.0";
206
224
 
207
225
  type SavedJob = Schemas['SavedJob'];
208
226
  type SavedJobsListQuery = {
@@ -385,6 +403,11 @@ type MyCandidateProfileFieldValues = Schemas['MyCandidateProfileFieldValuesRespo
385
403
  * `customFieldMedia`.
386
404
  */
387
405
  type ProfileFieldMedia = Schemas['ProfileFieldMedia'];
406
+ /**
407
+ * My company's profile custom fields: definitions, current values, and the
408
+ * saved files of upload fields as `customFieldMedia`.
409
+ */
410
+ type MyCompanyProfileFieldValues = Schemas['MyCompanyProfileFieldValuesResponse'];
388
411
  /** Additive update body for owner-editable profile custom fields. */
389
412
  type UpdateProfileFieldValuesBody = Schemas['ProfileFieldValuesBody'];
390
413
  type CandidateExperience = Schemas['CandidateExperience'];
@@ -1042,14 +1065,6 @@ type CompanyMemberInvitePreview = Schemas['CompanyMemberInvitePreview'];
1042
1065
  /** Body for `board.invites.preview`. */
1043
1066
  type PreviewCompanyMemberInviteBody = Schemas['PreviewCompanyMemberInviteBody'];
1044
1067
 
1045
- /**
1046
- * A board user's marketing-email consent, or `null` when no decision exists.
1047
- *
1048
- * Carries no disclosure text or wording version: the checkbox copy is authored
1049
- * by the board's own frontend, so the API records the decision, not the prose.
1050
- */
1051
- type MarketingConsent = Schemas['MarketingConsent'];
1052
-
1053
1068
  /**
1054
1069
  * The result of resolving a path against the board's configured redirects
1055
1070
  * (`board.redirects.resolve()`). A headless frontend 308s to `target`, or
@@ -1755,6 +1770,27 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1755
1770
  name: string;
1756
1771
  };
1757
1772
  }>;
1773
+ /**
1774
+ * Sign an address up for the board's email from a newsletter form. Sends
1775
+ * a confirmation email; nothing is granted until the person clicks it.
1776
+ * Always resolves `{ status: 'submitted', sendingPaused }`. Limited to 3
1777
+ * a minute per address and 10 requests a minute per IP; on a builder
1778
+ * site Cavuno hosts the IP limit counts each visitor, plus 6 sign-ups a
1779
+ * minute per visitor (429 `rate_limited`).
1780
+ *
1781
+ * @example
1782
+ * await board.subscribe({
1783
+ * email,
1784
+ * consent: true,
1785
+ * consentText: 'Send me news and offers from Acme Jobs.',
1786
+ * source: 'blog-footer',
1787
+ * });
1788
+ */
1789
+ subscribe(input: BoardSubscribeInput, options?: FetchOptions): Promise<{
1790
+ object: "subscription_request";
1791
+ status: "submitted";
1792
+ sendingPaused: boolean;
1793
+ }>;
1758
1794
  jobs: {
1759
1795
  collectionChoices(fieldKey: string, query?: JobCollectionChoiceQuery, options?: FetchOptions): Promise<{
1760
1796
  data: {
@@ -2876,12 +2912,27 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2876
2912
  values: {
2877
2913
  [key: string]: string | number | boolean | string[];
2878
2914
  };
2915
+ } & {
2916
+ customFieldMedia: {
2917
+ [key: string]: components["schemas"]["ProfileFieldMedia"][];
2918
+ };
2879
2919
  }>;
2880
2920
  updateCustomFields(slug: string, body: UpdateProfileFieldValuesBody, options?: FetchOptions): Promise<{
2881
2921
  definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
2882
2922
  values: {
2883
2923
  [key: string]: string | number | boolean | string[];
2884
2924
  };
2925
+ } & {
2926
+ customFieldMedia: {
2927
+ [key: string]: components["schemas"]["ProfileFieldMedia"][];
2928
+ };
2929
+ }>;
2930
+ uploadCustomFieldFile(slug: string, fieldKey: string, file: Blob, options?: FetchOptions): Promise<{
2931
+ id: string;
2932
+ name: string;
2933
+ contentType: string;
2934
+ sizeBytes: number;
2935
+ url: string;
2885
2936
  }>;
2886
2937
  delete(slug: string, options?: FetchOptions): Promise<void>;
2887
2938
  listMembers(slug: string, options?: FetchOptions): Promise<ListEnvelope<{
@@ -4076,7 +4127,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4076
4127
  token: string;
4077
4128
  }, options?: FetchOptions): Promise<{
4078
4129
  object: "job_alert_confirmation";
4079
- status: "confirmed" | "already_confirmed" | "expired" | "not_found";
4130
+ status: "confirmed" | "already_confirmed" | "expired" | "not_found" | "waitlisted" | "unsubscribed";
4131
+ subscription?: "job_alerts" | "marketing";
4080
4132
  }>;
4081
4133
  resendConfirmation(input: {
4082
4134
  email: string;
@@ -4979,4 +5031,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4979
5031
  };
4980
5032
  type BoardSdk = ReturnType<typeof createBoardClient>;
4981
5033
 
4982
- 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 EmployerBillingOptionsList, 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 EmployerPostingCapabilities, 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 MyCandidateProfileFieldValues, 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 ProfileFieldMedia, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicCollectionEntriesQuery, type PublicCollectionEntry, type PublicCollectionEntryList, 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 };
5034
+ 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 BoardSubscribeInput, 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 EmployerBillingOptionsList, 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 EmployerPostingCapabilities, 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 MyCandidateProfileFieldValues, type MyCompanyProfileFieldValues, 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 ProfileFieldMedia, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicCollectionEntriesQuery, type PublicCollectionEntry, type PublicCollectionEntryList, 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 SubscriptionRequest, 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
@@ -200,6 +200,8 @@ var BOARD_API_ERROR_CODES = [
200
200
  "employer_not_member",
201
201
  "employer_payment_required",
202
202
  "employer_pipeline_stage_not_found",
203
+ "company_custom_field_not_found",
204
+ "company_custom_field_not_editable",
203
205
  "employer_member_not_found",
204
206
  "employer_invite_not_found",
205
207
  "not_company_admin",
@@ -447,7 +449,7 @@ async function clearSession(storage) {
447
449
  }
448
450
 
449
451
  // src/version.ts
450
- var SDK_VERSION = "4.69.0";
452
+ var SDK_VERSION = "4.70.0";
451
453
 
452
454
  // src/client.ts
453
455
  function isRawBody(body) {
@@ -2263,7 +2265,10 @@ function meNamespace(client) {
2263
2265
  { ...options, method: "PATCH", body }
2264
2266
  );
2265
2267
  },
2266
- /** Retrieve profile custom fields for a company I belong to. */
2268
+ /**
2269
+ * Retrieve profile custom fields for a company I belong to, with the
2270
+ * saved files of upload fields (`customFieldMedia`).
2271
+ */
2267
2272
  retrieveCustomFields(slug, options) {
2268
2273
  return client.fetch(
2269
2274
  `/me/companies/${encodeURIComponent(slug)}/custom-fields`,
@@ -2277,6 +2282,26 @@ function meNamespace(client) {
2277
2282
  { ...options, method: "PATCH", body }
2278
2283
  );
2279
2284
  },
2285
+ /**
2286
+ * Upload one file to an owner-editable `image_gallery` or `file` field
2287
+ * of a company I belong to (up to 10 MB; galleries take JPEG, PNG, WebP
2288
+ * or GIF). The file is a draft until its `id` is saved to the field with
2289
+ * `updateCustomFields`, as the ordered list of file IDs.
2290
+ *
2291
+ * @example
2292
+ * const image = await board.me.companies.uploadCustomFieldFile('acme', 'office_photos', file);
2293
+ * await board.me.companies.updateCustomFields('acme', {
2294
+ * values: { office_photos: [...savedIds, image.id] },
2295
+ * });
2296
+ */
2297
+ uploadCustomFieldFile(slug, fieldKey, file, options) {
2298
+ const form = new FormData();
2299
+ form.append("file", file);
2300
+ return client.fetch(
2301
+ `/me/companies/${encodeURIComponent(slug)}/custom-fields/${encodeURIComponent(fieldKey)}/files`,
2302
+ { ...options, method: "POST", body: form }
2303
+ );
2304
+ },
2280
2305
  /**
2281
2306
  * Delete a company I admin (soft-delete cascade + Forager
2282
2307
  * exclusion). Resolves void on success (204).
@@ -4803,6 +4828,29 @@ function createBoardClient(options) {
4803
4828
  seo(options2) {
4804
4829
  return client.fetch("/seo", options2);
4805
4830
  },
4831
+ /**
4832
+ * Sign an address up for the board's email from a newsletter form. Sends
4833
+ * a confirmation email; nothing is granted until the person clicks it.
4834
+ * Always resolves `{ status: 'submitted', sendingPaused }`. Limited to 3
4835
+ * a minute per address and 10 requests a minute per IP; on a builder
4836
+ * site Cavuno hosts the IP limit counts each visitor, plus 6 sign-ups a
4837
+ * minute per visitor (429 `rate_limited`).
4838
+ *
4839
+ * @example
4840
+ * await board.subscribe({
4841
+ * email,
4842
+ * consent: true,
4843
+ * consentText: 'Send me news and offers from Acme Jobs.',
4844
+ * source: 'blog-footer',
4845
+ * });
4846
+ */
4847
+ subscribe(input, options2) {
4848
+ return client.fetch("/subscribe", {
4849
+ ...options2,
4850
+ method: "POST",
4851
+ body: input
4852
+ });
4853
+ },
4806
4854
  jobs: jobsNamespace(client),
4807
4855
  embed: embedNamespace(client),
4808
4856
  companies: companiesNamespace(client),
package/dist/index.mjs CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  isSsoRequired,
29
29
  isUnauthorized,
30
30
  isValidationError
31
- } from "./chunk-7SAHE7UW.mjs";
31
+ } from "./chunk-UIKN2ERI.mjs";
32
32
 
33
33
  // src/query.ts
34
34
  function toSearchParams(query) {
@@ -49,7 +49,7 @@ function toSearchParams(query) {
49
49
  }
50
50
 
51
51
  // src/version.ts
52
- var SDK_VERSION = "4.69.0";
52
+ var SDK_VERSION = "4.70.0";
53
53
 
54
54
  // src/client.ts
55
55
  function isRawBody(body) {
@@ -1862,7 +1862,10 @@ function meNamespace(client) {
1862
1862
  { ...options, method: "PATCH", body }
1863
1863
  );
1864
1864
  },
1865
- /** Retrieve profile custom fields for a company I belong to. */
1865
+ /**
1866
+ * Retrieve profile custom fields for a company I belong to, with the
1867
+ * saved files of upload fields (`customFieldMedia`).
1868
+ */
1866
1869
  retrieveCustomFields(slug, options) {
1867
1870
  return client.fetch(
1868
1871
  `/me/companies/${encodeURIComponent(slug)}/custom-fields`,
@@ -1876,6 +1879,26 @@ function meNamespace(client) {
1876
1879
  { ...options, method: "PATCH", body }
1877
1880
  );
1878
1881
  },
1882
+ /**
1883
+ * Upload one file to an owner-editable `image_gallery` or `file` field
1884
+ * of a company I belong to (up to 10 MB; galleries take JPEG, PNG, WebP
1885
+ * or GIF). The file is a draft until its `id` is saved to the field with
1886
+ * `updateCustomFields`, as the ordered list of file IDs.
1887
+ *
1888
+ * @example
1889
+ * const image = await board.me.companies.uploadCustomFieldFile('acme', 'office_photos', file);
1890
+ * await board.me.companies.updateCustomFields('acme', {
1891
+ * values: { office_photos: [...savedIds, image.id] },
1892
+ * });
1893
+ */
1894
+ uploadCustomFieldFile(slug, fieldKey, file, options) {
1895
+ const form = new FormData();
1896
+ form.append("file", file);
1897
+ return client.fetch(
1898
+ `/me/companies/${encodeURIComponent(slug)}/custom-fields/${encodeURIComponent(fieldKey)}/files`,
1899
+ { ...options, method: "POST", body: form }
1900
+ );
1901
+ },
1879
1902
  /**
1880
1903
  * Delete a company I admin (soft-delete cascade + Forager
1881
1904
  * exclusion). Resolves void on success (204).
@@ -4372,6 +4395,29 @@ function createBoardClient(options) {
4372
4395
  seo(options2) {
4373
4396
  return client.fetch("/seo", options2);
4374
4397
  },
4398
+ /**
4399
+ * Sign an address up for the board's email from a newsletter form. Sends
4400
+ * a confirmation email; nothing is granted until the person clicks it.
4401
+ * Always resolves `{ status: 'submitted', sendingPaused }`. Limited to 3
4402
+ * a minute per address and 10 requests a minute per IP; on a builder
4403
+ * site Cavuno hosts the IP limit counts each visitor, plus 6 sign-ups a
4404
+ * minute per visitor (429 `rate_limited`).
4405
+ *
4406
+ * @example
4407
+ * await board.subscribe({
4408
+ * email,
4409
+ * consent: true,
4410
+ * consentText: 'Send me news and offers from Acme Jobs.',
4411
+ * source: 'blog-footer',
4412
+ * });
4413
+ */
4414
+ subscribe(input, options2) {
4415
+ return client.fetch("/subscribe", {
4416
+ ...options2,
4417
+ method: "POST",
4418
+ body: input
4419
+ });
4420
+ },
4375
4421
  jobs: jobsNamespace(client),
4376
4422
  embed: embedNamespace(client),
4377
4423
  companies: companiesNamespace(client),
@@ -1,4 +1,4 @@
1
- import { S as Schemas } from './_spec-CFOj7Qdf.mjs';
1
+ import { S as Schemas } from './_spec-Dk7QyuoJ.mjs';
2
2
 
3
3
  /**
4
4
  * Optional pagination metadata returned by Board API list operations.