@cavuno/board 4.26.0 → 4.27.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 (50) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/dist/{_spec-EgN7VmAI.d.mts → _spec-B_pBNVUd.d.mts} +487 -47
  3. package/dist/{_spec-EgN7VmAI.d.ts → _spec-B_pBNVUd.d.ts} +487 -47
  4. package/dist/bin.mjs +7989 -10
  5. package/dist/{blog-BIjFcNcm.d.ts → blog-DzGRUsj5.d.ts} +1 -1
  6. package/dist/{blog-T7gQ0ciz.d.mts → blog-fhXRik6k.d.mts} +1 -1
  7. package/dist/{board-q0svBKW3.d.mts → board-DEiEHcpe.d.mts} +25 -4
  8. package/dist/{board-CsEAgsKh.d.ts → board-fVAXZ8T5.d.ts} +25 -4
  9. package/dist/{breadcrumbs-xuDid8BS.d.ts → breadcrumbs-DNaaP3xa.d.ts} +2 -2
  10. package/dist/{breadcrumbs-CFcCjuG7.d.mts → breadcrumbs-qE3CD--N.d.mts} +2 -2
  11. package/dist/browser/cavuno-board.global.min.js +1 -1
  12. package/dist/{chunk-DP2ZZZEO.mjs → chunk-DUTQOLOF.mjs} +1 -0
  13. package/dist/doctor.js +7989 -10
  14. package/dist/doctor.mjs +7989 -10
  15. package/dist/filters.d.mts +19 -3
  16. package/dist/filters.d.ts +19 -3
  17. package/dist/filters.js +10 -1
  18. package/dist/filters.mjs +10 -1
  19. package/dist/format.d.mts +4 -4
  20. package/dist/format.d.ts +4 -4
  21. package/dist/index.d.mts +173 -13
  22. package/dist/index.d.ts +173 -13
  23. package/dist/index.js +175 -23
  24. package/dist/index.mjs +175 -24
  25. package/dist/{jobs-ub3gywNQ.d.ts → jobs-BRysn2m0.d.ts} +25 -3
  26. package/dist/{jobs-CfrxlDMU.d.mts → jobs-R-h3A3kl.d.mts} +25 -3
  27. package/dist/{search-Dx1TiAZk.d.ts → search-BK_zHHNQ.d.ts} +1 -1
  28. package/dist/{search-DKS7OIn2.d.mts → search-BlB690ma.d.mts} +1 -1
  29. package/dist/{seo-CI3wLKUW.d.mts → seo-0mbZ7M_E.d.mts} +1 -1
  30. package/dist/{seo-BbG2Ujyo.d.ts → seo-C7gMl6Y7.d.ts} +1 -1
  31. package/dist/seo-files.d.mts +2 -2
  32. package/dist/seo-files.d.ts +2 -2
  33. package/dist/seo.d.mts +6 -6
  34. package/dist/seo.d.ts +6 -6
  35. package/dist/server.d.mts +6 -6
  36. package/dist/server.d.ts +6 -6
  37. package/dist/server.mjs +1 -1
  38. package/dist/sitemap.d.mts +6 -6
  39. package/dist/sitemap.d.ts +6 -6
  40. package/dist/sitemap.mjs +1 -1
  41. package/dist/suggest.d.mts +2 -2
  42. package/dist/suggest.d.ts +2 -2
  43. package/package.json +2 -1
  44. package/skills/cavuno-board-account/SKILL.md +95 -1
  45. package/skills/cavuno-board-collections/SKILL.md +148 -0
  46. package/skills/cavuno-board-companies/SKILL.md +43 -1
  47. package/skills/cavuno-board-filters/SKILL.md +71 -1
  48. package/skills/cavuno-board-paywall/SKILL.md +5 -2
  49. package/skills/cavuno-board-post-a-job/SKILL.md +64 -0
  50. package/skills/manifest.json +11 -4
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { S as Schemas, c as components } from './_spec-EgN7VmAI.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-Dx1TiAZk.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-Dx1TiAZk.js';
4
- import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-CsEAgsKh.js';
5
- export { a as CompanyCategorySalary, j as CompanyMarket, k as CompanyMarketRef, b as CompanySalary, l as CompanySalarySummary, C as CustomFieldDefinition, m as CustomFieldOption, n as CustomFieldType, L as LocationSalaryDetail, o as LocationSkillsIndex, p as LocationTitlesIndex, P as PublicBoard, q as PublicBoardAds, r as PublicBoardAnalytics, s as PublicBoardFeatures, t as PublicBoardJobForm, u as PublicCompany, v as PublicCompanyDetail, w as PublicCompanyMembership, x as SalaryCompany, y as SalaryLocation, z as SalarySkill, A as SalaryTitle, B as SkillLocationSalary, D as SkillLocationsIndex, S as SkillSalaryDetail, E as TitleLocationSalary, F as TitleLocationsIndex, T as TitleSalaryDetail } from './board-CsEAgsKh.js';
6
- export { B as BoardSeo } from './seo-BbG2Ujyo.js';
7
- import { R as RemoteOption, E as EmploymentType, S as Seniority, L as ListEnvelope, a as JobsListQuery, b as JobCardListEnvelope, c as JobsSearchBody, d as JobCardSearchEnvelope, e as JobsSimilarQuery, f as SearchEnvelope } from './jobs-ub3gywNQ.js';
8
- export { g as CustomFieldValue, C as CustomFieldValues, h as EducationRequirement, i as JobCatalogPagination, j as JobCompany, J as JobSort, O as OfficeLocation, k as OffsetPagination, P as PublicJob, l as PublicJobCard, m as RelatedSearch, n as RemotePermit, o as RemoteTimezone, p as StorefrontPagination } from './jobs-ub3gywNQ.js';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-BIjFcNcm.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-BIjFcNcm.js';
1
+ import { S as Schemas, c as components } from './_spec-B_pBNVUd.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-BK_zHHNQ.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-BK_zHHNQ.js';
4
+ import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-fVAXZ8T5.js';
5
+ export { B as BoardFormBuiltinField, j as BoardFormField, k as BoardFormLayout, l as BoardFormLockReason, m as BoardJobFormField, n as BoardProfileFormField, a as CompanyCategorySalary, o as CompanyMarket, p as CompanyMarketRef, b as CompanySalary, q as CompanySalarySummary, C as CustomFieldDefinition, r as CustomFieldOption, s as CustomFieldType, L as LocationSalaryDetail, t as LocationSkillsIndex, u as LocationTitlesIndex, P as PublicBoard, v as PublicBoardAds, w as PublicBoardAnalytics, x as PublicBoardFeatures, y as PublicBoardJobForm, z as PublicCompany, A as PublicCompanyDetail, D as PublicCompanyMembership, E as SalaryCompany, F as SalaryLocation, G as SalarySkill, H as SalaryTitle, I as SkillLocationSalary, J as SkillLocationsIndex, S as SkillSalaryDetail, K as TitleLocationSalary, M as TitleLocationsIndex, T as TitleSalaryDetail } from './board-fVAXZ8T5.js';
6
+ export { B as BoardSeo } from './seo-C7gMl6Y7.js';
7
+ import { R as RemoteOption, E as EmploymentType, S as Seniority, a as CustomFieldFilter, O as ObjectReferenceFilter, L as ListEnvelope, b as JobCollectionChoiceQuery, c as JobsListQuery, d as JobCardListEnvelope, e as JobsSearchBody, f as JobCardSearchEnvelope, g as JobsSimilarQuery, h as SearchEnvelope } from './jobs-BRysn2m0.js';
8
+ export { i as CustomFieldValue, C as CustomFieldValues, j as CustomFilterValue, k as EducationRequirement, l as JobCatalogPagination, m as JobCollectionChoiceList, n as JobCollectionFieldDefinition, o as JobCompany, J as JobSort, p as OfficeLocation, q as OffsetPagination, P as PublicJob, r as PublicJobCard, s as RelatedSearch, t as RemotePermit, u as RemoteTimezone, v as ResolvedJobCollectionField, w as StorefrontPagination } from './jobs-BRysn2m0.js';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-DzGRUsj5.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-DzGRUsj5.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", "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", "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", "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", "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", "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", "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"];
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", "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", "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", "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", "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", "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"];
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.
@@ -150,7 +150,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
150
150
  * constant because the package is platform-neutral and cannot read
151
151
  * package.json at runtime.
152
152
  */
153
- declare const SDK_VERSION = "4.26.0";
153
+ declare const SDK_VERSION = "4.27.0";
154
154
 
155
155
  type SavedJob = Schemas['SavedJob'];
156
156
  type SavedJobsListQuery = {
@@ -233,10 +233,17 @@ type ConvertSourcedCandidateBody = {
233
233
  type SaveJobBody = Schemas['SaveJobBody'];
234
234
  /** The authenticated user's lean candidate profile singleton. */
235
235
  type CandidateProfile = Schemas['CandidateProfile'];
236
+ type ProfileObjectReferenceSelectionWrite = Schemas['ProfileObjectReferenceSelectionWrite'];
237
+ type ReplaceProfileObjectReferencesBody = Schemas['ReplaceProfileObjectReferenceSelectionsBody'];
238
+ type ProfileObjectReferences = Schemas['ProfileObjectReferencesResult'];
236
239
  /** Optional-field merge-patch body for `board.me.profile.update`. */
237
240
  type UpdateCandidateProfileBody = Schemas['UpdateCandidateProfileBody'];
238
241
  /** The result of `board.me.profile.handleAvailable(handle)`. */
239
242
  type HandleAvailability = Schemas['HandleAvailability'];
243
+ /** Profile custom-field definitions and current values. */
244
+ type ProfileFieldValues = Schemas['ProfileFieldValuesResponse'];
245
+ /** Additive update body for owner-editable profile custom fields. */
246
+ type UpdateProfileFieldValuesBody = Schemas['ProfileFieldValuesBody'];
240
247
  type CandidateExperience = Schemas['CandidateExperience'];
241
248
  type CreateExperienceBody = Schemas['CreateExperienceBody'];
242
249
  type UpdateExperienceBody = Schemas['UpdateExperienceBody'];
@@ -710,6 +717,8 @@ type TalentDirectoryQuery = {
710
717
  seniority?: string;
711
718
  permitCountry?: string;
712
719
  interestedRole?: string;
720
+ customFields?: CustomFieldFilter[];
721
+ objectReferences?: ObjectReferenceFilter[];
713
722
  };
714
723
  type TalentDirectoryListEnvelope = ListEnvelope<TalentDirectoryEntry>;
715
724
 
@@ -888,6 +897,15 @@ type SitemapEntriesQuery = {
888
897
  /** One page of a bucket's entries. Walk it with `paginate`. */
889
898
  type SitemapEntriesEnvelope = ListEnvelope<SitemapEntry>;
890
899
 
900
+ type PublicProfileFields = Schemas['PublicProfileFields'];
901
+ type ProfileChoiceList = Schemas['ProfileChoiceList'];
902
+ type ProfileFieldEntity = 'candidate' | 'company';
903
+ type ProfileChoiceQuery = {
904
+ search?: string;
905
+ cursor?: string;
906
+ limit?: number;
907
+ };
908
+
891
909
  interface CreateBoardClientOptions {
892
910
  /** Cavuno API origin. Defaults to the production service. */
893
911
  baseUrl?: string;
@@ -988,6 +1006,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
988
1006
  };
989
1007
  customFields: {
990
1008
  job: components["schemas"]["CustomFieldDefinition"][];
1009
+ jobCollections: components["schemas"]["JobCollectionFieldDefinition"][];
991
1010
  };
992
1011
  jobForm: {
993
1012
  salary: {
@@ -1016,6 +1035,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1016
1035
  allowedOptions: string[];
1017
1036
  };
1018
1037
  };
1038
+ forms: components["schemas"]["BoardForms"];
1019
1039
  contact: {
1020
1040
  email: string | null;
1021
1041
  legalName: string | null;
@@ -1044,6 +1064,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1044
1064
  };
1045
1065
  }>;
1046
1066
  jobs: {
1067
+ collectionChoices(fieldKey: string, query?: JobCollectionChoiceQuery, options?: FetchOptions): Promise<{
1068
+ data: {
1069
+ id: string;
1070
+ name: string;
1071
+ slug?: string;
1072
+ logoUrl?: string;
1073
+ }[];
1074
+ nextCursor: string | null;
1075
+ }>;
1047
1076
  list(query?: JobsListQuery, options?: FetchOptions): Promise<JobCardListEnvelope>;
1048
1077
  retrieve(jobSlug: string, query?: Record<string, never>, options?: FetchOptions): Promise<{
1049
1078
  id: string;
@@ -1105,6 +1134,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1105
1134
  customFieldValues: {
1106
1135
  [key: string]: string | string[] | boolean | number;
1107
1136
  };
1137
+ resolvedCollectionFields: components["schemas"]["ResolvedJobCollectionField"][];
1108
1138
  }>;
1109
1139
  search(body: JobsSearchBody, query?: Record<string, never>, options?: FetchOptions): Promise<JobCardSearchEnvelope>;
1110
1140
  similar(jobSlug: string, query?: JobsSimilarQuery, options?: FetchOptions): Promise<ListEnvelope<{
@@ -1276,6 +1306,10 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1276
1306
  publishedJobCount: number;
1277
1307
  salarySampleCount: number;
1278
1308
  membership: components["schemas"]["PublicCompanyMembership"];
1309
+ customFieldValues: {
1310
+ [key: string]: string | number | boolean | string[];
1311
+ };
1312
+ objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
1279
1313
  links: components["schemas"]["PublicCompanyLinks"];
1280
1314
  } & {
1281
1315
  markets: components["schemas"]["CompanyMarketRef"][];
@@ -1293,6 +1327,10 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1293
1327
  publishedJobCount: number;
1294
1328
  salarySampleCount: number;
1295
1329
  membership: components["schemas"]["PublicCompanyMembership"];
1330
+ customFieldValues: {
1331
+ [key: string]: string | number | boolean | string[];
1332
+ };
1333
+ objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
1296
1334
  links: components["schemas"]["PublicCompanyLinks"];
1297
1335
  }>>;
1298
1336
  listJobs(companySlug: string, query?: CompanyJobsListQuery, options?: FetchOptions): Promise<JobCardListEnvelope>;
@@ -1309,6 +1347,10 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1309
1347
  publishedJobCount: number;
1310
1348
  salarySampleCount: number;
1311
1349
  membership: components["schemas"]["PublicCompanyMembership"];
1350
+ customFieldValues: {
1351
+ [key: string]: string | number | boolean | string[];
1352
+ };
1353
+ objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
1312
1354
  links: components["schemas"]["PublicCompanyLinks"];
1313
1355
  }>>;
1314
1356
  markets: ((query?: CompanyMarketsListQuery, options?: FetchOptions) => Promise<ListEnvelope<{
@@ -1678,6 +1720,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1678
1720
  companySlug: string;
1679
1721
  }>;
1680
1722
  profile: {
1723
+ listObjectReferenceChoices(fieldKey: string, query?: ProfileChoiceQuery, options?: FetchOptions): Promise<{
1724
+ data: {
1725
+ id: string;
1726
+ name: string;
1727
+ slug?: string;
1728
+ logoUrl?: string;
1729
+ }[];
1730
+ nextCursor: string | null;
1731
+ }>;
1681
1732
  retrieve(query?: Record<string, never>, options?: FetchOptions): Promise<{
1682
1733
  id: string;
1683
1734
  object: "candidate_profile";
@@ -1708,6 +1759,26 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1708
1759
  jobSearchStatusVisibleTo: "everyone" | "employers_only";
1709
1760
  openToRelocate: boolean;
1710
1761
  }>;
1762
+ retrieveCustomFields(options?: FetchOptions): Promise<{
1763
+ definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
1764
+ values: {
1765
+ [key: string]: string | number | boolean | string[];
1766
+ };
1767
+ }>;
1768
+ updateCustomFields(body: UpdateProfileFieldValuesBody, options?: FetchOptions): Promise<{
1769
+ definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
1770
+ values: {
1771
+ [key: string]: string | number | boolean | string[];
1772
+ };
1773
+ }>;
1774
+ retrieveObjectReferences(options?: FetchOptions): Promise<{
1775
+ definitions: components["schemas"]["ProfileObjectReferenceDefinition"][];
1776
+ selections: components["schemas"]["ResolvedProfileObjectReference"][];
1777
+ }>;
1778
+ updateObjectReferences(body: ReplaceProfileObjectReferencesBody, options?: FetchOptions): Promise<{
1779
+ definitions: components["schemas"]["ProfileObjectReferenceDefinition"][];
1780
+ selections: components["schemas"]["ResolvedProfileObjectReference"][];
1781
+ }>;
1711
1782
  handleAvailable(handle: string, options?: FetchOptions): Promise<{
1712
1783
  object: "handle_availability";
1713
1784
  handle: string;
@@ -1848,6 +1919,23 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1848
1919
  unsubscribeWithToken(body: UnsubscribeBody, options?: FetchOptions): Promise<void>;
1849
1920
  };
1850
1921
  companies: {
1922
+ listObjectReferenceChoices(slug: string, fieldKey: string, query?: ProfileChoiceQuery, options?: FetchOptions): Promise<{
1923
+ data: {
1924
+ id: string;
1925
+ name: string;
1926
+ slug?: string;
1927
+ logoUrl?: string;
1928
+ }[];
1929
+ nextCursor: string | null;
1930
+ }>;
1931
+ retrieveObjectReferences(slug: string, options?: FetchOptions): Promise<{
1932
+ definitions: components["schemas"]["ProfileObjectReferenceDefinition"][];
1933
+ selections: components["schemas"]["ResolvedProfileObjectReference"][];
1934
+ }>;
1935
+ updateObjectReferences(slug: string, body: ReplaceProfileObjectReferencesBody, options?: FetchOptions): Promise<{
1936
+ definitions: components["schemas"]["ProfileObjectReferenceDefinition"][];
1937
+ selections: components["schemas"]["ResolvedProfileObjectReference"][];
1938
+ }>;
1851
1939
  search(query: EmployerCompanySearchQuery, options?: FetchOptions): Promise<ListEnvelope<{
1852
1940
  id: string;
1853
1941
  object: "claimable_company";
@@ -1929,6 +2017,18 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
1929
2017
  logoUrl: string | null;
1930
2018
  deletionEnabled: boolean;
1931
2019
  }>;
2020
+ retrieveCustomFields(slug: string, options?: FetchOptions): Promise<{
2021
+ definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
2022
+ values: {
2023
+ [key: string]: string | number | boolean | string[];
2024
+ };
2025
+ }>;
2026
+ updateCustomFields(slug: string, body: UpdateProfileFieldValuesBody, options?: FetchOptions): Promise<{
2027
+ definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
2028
+ values: {
2029
+ [key: string]: string | number | boolean | string[];
2030
+ };
2031
+ }>;
1932
2032
  delete(slug: string, options?: FetchOptions): Promise<void>;
1933
2033
  listMembers(slug: string, options?: FetchOptions): Promise<ListEnvelope<{
1934
2034
  id: string;
@@ -2037,6 +2137,12 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2037
2137
  expiresAt: string | null;
2038
2138
  createdAt: string;
2039
2139
  updatedAt: string;
2140
+ customFieldValues: {
2141
+ [key: string]: string | string[] | boolean | number;
2142
+ };
2143
+ collectionValues: {
2144
+ [key: string]: string[];
2145
+ };
2040
2146
  links: components["schemas"]["EmployerJobLinks"];
2041
2147
  }>>;
2042
2148
  retrieve(slug: string, id: string, options?: FetchOptions): Promise<{
@@ -2058,8 +2164,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2058
2164
  expiresAt: string | null;
2059
2165
  createdAt: string;
2060
2166
  updatedAt: string;
2167
+ customFieldValues: {
2168
+ [key: string]: string | string[] | boolean | number;
2169
+ };
2170
+ collectionValues: {
2171
+ [key: string]: string[];
2172
+ };
2061
2173
  links: components["schemas"]["EmployerJobLinks"];
2062
2174
  } & {
2175
+ resolvedCollectionFields: components["schemas"]["ResolvedJobCollectionField"][];
2063
2176
  description: string | null;
2064
2177
  applicationUrl: string | null;
2065
2178
  remotePermits: {
@@ -2103,8 +2216,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2103
2216
  expiresAt: string | null;
2104
2217
  createdAt: string;
2105
2218
  updatedAt: string;
2219
+ customFieldValues: {
2220
+ [key: string]: string | string[] | boolean | number;
2221
+ };
2222
+ collectionValues: {
2223
+ [key: string]: string[];
2224
+ };
2106
2225
  links: components["schemas"]["EmployerJobLinks"];
2107
2226
  } & {
2227
+ resolvedCollectionFields: components["schemas"]["ResolvedJobCollectionField"][];
2108
2228
  description: string | null;
2109
2229
  applicationUrl: string | null;
2110
2230
  remotePermits: {
@@ -2148,8 +2268,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2148
2268
  expiresAt: string | null;
2149
2269
  createdAt: string;
2150
2270
  updatedAt: string;
2271
+ customFieldValues: {
2272
+ [key: string]: string | string[] | boolean | number;
2273
+ };
2274
+ collectionValues: {
2275
+ [key: string]: string[];
2276
+ };
2151
2277
  links: components["schemas"]["EmployerJobLinks"];
2152
2278
  } & {
2279
+ resolvedCollectionFields: components["schemas"]["ResolvedJobCollectionField"][];
2153
2280
  description: string | null;
2154
2281
  applicationUrl: string | null;
2155
2282
  remotePermits: {
@@ -2194,8 +2321,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2194
2321
  expiresAt: string | null;
2195
2322
  createdAt: string;
2196
2323
  updatedAt: string;
2324
+ customFieldValues: {
2325
+ [key: string]: string | string[] | boolean | number;
2326
+ };
2327
+ collectionValues: {
2328
+ [key: string]: string[];
2329
+ };
2197
2330
  links: components["schemas"]["EmployerJobLinks"];
2198
2331
  } & {
2332
+ resolvedCollectionFields: components["schemas"]["ResolvedJobCollectionField"][];
2199
2333
  description: string | null;
2200
2334
  applicationUrl: string | null;
2201
2335
  remotePermits: {
@@ -2239,8 +2373,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2239
2373
  expiresAt: string | null;
2240
2374
  createdAt: string;
2241
2375
  updatedAt: string;
2376
+ customFieldValues: {
2377
+ [key: string]: string | string[] | boolean | number;
2378
+ };
2379
+ collectionValues: {
2380
+ [key: string]: string[];
2381
+ };
2242
2382
  links: components["schemas"]["EmployerJobLinks"];
2243
2383
  } & {
2384
+ resolvedCollectionFields: components["schemas"]["ResolvedJobCollectionField"][];
2244
2385
  description: string | null;
2245
2386
  applicationUrl: string | null;
2246
2387
  remotePermits: {
@@ -3525,6 +3666,25 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3525
3666
  name: string;
3526
3667
  proficiency: string;
3527
3668
  }[];
3669
+ customFieldValues: {
3670
+ [key: string]: string | number | boolean | string[];
3671
+ };
3672
+ objectReferences: components["schemas"]["ResolvedProfileObjectReference"][];
3673
+ }>;
3674
+ };
3675
+ profileFields: {
3676
+ retrieve(entity: ProfileFieldEntity, options?: FetchOptions): Promise<{
3677
+ definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
3678
+ referenceDefinitions: components["schemas"]["ProfileObjectReferenceDefinition"][];
3679
+ }>;
3680
+ choices(entity: ProfileFieldEntity, fieldKey: string, query?: ProfileChoiceQuery, options?: FetchOptions): Promise<{
3681
+ data: {
3682
+ id: string;
3683
+ name: string;
3684
+ slug?: string;
3685
+ logoUrl?: string;
3686
+ }[];
3687
+ nextCursor: string | null;
3528
3688
  }>;
3529
3689
  };
3530
3690
  plans: {
@@ -3543,4 +3703,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3543
3703
  };
3544
3704
  type BoardSdk = ReturnType<typeof createBoardClient>;
3545
3705
 
3546
- export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, Awaitable, BOARD_API_ERROR_CODES, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, JobCardListEnvelope, JobCardSearchEnvelope, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PublicPlace, type PublicTaxonomyTerm, type ReadReceipt, type RecommendedJob, type RecommendedJobsListQuery, type RecommendedTalent, type RecommendedTalentListQuery, type RedirectResolution, type RefreshBody, type RegisterBody, RemoteOption, type RemotePermitTaxonomyEntry, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestEmailChangeBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, SDK_VERSION, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction, resolveApplyDecision };
3706
+ export { type AcceptCompanyMemberInviteBody, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type AddSourcedCandidateBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyAction, type ApplyApprovalPlan, type ApplyApprovalReceipt, type ApplyBody, type ApplyDecisionState, type ApplyIntent, Awaitable, BOARD_API_ERROR_CODES, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, BlogPostsListQuery, BlogSearchBody, BlogSimilarQuery, type BoardAccessGrant, BoardApiError, type BoardApiErrorCode, type BoardAuthSession, BoardClient, BoardRequest, type BoardSdk, type BoardSitemapBucketSummary, type BoardSitemapIndex, type BoardUser, type BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, 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 JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, JobCardListEnvelope, JobCardSearchEnvelope, JobCollectionChoiceQuery, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, JobsListQuery, JobsSearchBody, JobsSimilarQuery, ListEnvelope, Logger, type LoginBody, type LogoutBody, type MarketingConsent, type MembershipCheckoutBody, type MembershipCheckoutSession, type MembershipCheckoutSessionState, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicPlace, type PublicProfileFields, type PublicTaxonomyTerm, 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, SalaryDetailQuery, type SalesLedPlan, type SalesLedPlanListEnvelope, type SaveJobBody, type SavedJob, type SavedJobsListQuery, SearchEnvelope, SearchSuggestQuery, type SendWorkEmailBody, Seniority, type SitemapEntriesEnvelope, type SitemapEntriesQuery, type SitemapEntry, type SourcedCandidate, type StartAboutApplicationBody, type StartConversationBody, StorageMode, type TalentAccess, type TalentAccessCheckoutBody, type TalentAccessCheckoutSession, type TalentAccessCheckoutSessionState, type TalentAccessClaim, type TalentAccessClaimBody, type TalentAccessUpgrade, type TalentAccessUpgradeBody, type TalentCandidateAccess, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentList, type TalentListFilters, type TalentProfile, type TalentUnlock, type TalentUnlockBody, type TaxonomyGeo, type TaxonomyListQuery, type TaxonomyResolution, type ThreadMessagesQuery, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateCompanyMemberRoleBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePasswordBody, type UpdatePipelineStageBody, type UpdateProfileFieldValuesBody, type UpdateSkillsBody, type UpdateTalentListBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isColdRule, isConflict, isForbidden, isFreeEmailWebsiteError, isNotFound, isOwnMessage, isRateLimited, isSafeApplicationUrl, isUnauthorized, isValidationError, lastOwnMessageId, paginate, resolveApplyAction, resolveApplyDecision };