@cavuno/board 4.36.0 → 4.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/{_spec-C4T68Nnr.d.mts → _spec-BcXYrhOP.d.mts} +64 -2
  3. package/dist/{_spec-C4T68Nnr.d.ts → _spec-BcXYrhOP.d.ts} +64 -2
  4. package/dist/{blog-_LtV-JaY.d.ts → blog-BLLQ5H5M.d.ts} +1 -1
  5. package/dist/{blog-bQmqKnw2.d.mts → blog-PS7AwaF7.d.mts} +1 -1
  6. package/dist/{board-CRgQjnrn.d.mts → board-CK62f0G5.d.mts} +2 -2
  7. package/dist/{board-2UfZ7fZk.d.ts → board-CTUrq9MP.d.ts} +2 -2
  8. package/dist/{breadcrumbs-C_jNh4xd.d.ts → breadcrumbs-Adrx69WV.d.ts} +2 -2
  9. package/dist/{breadcrumbs-f7KFSWnx.d.mts → breadcrumbs-CwSd7BN1.d.mts} +2 -2
  10. package/dist/browser/cavuno-board.global.min.js +1 -1
  11. package/dist/filters.d.mts +2 -2
  12. package/dist/filters.d.ts +2 -2
  13. package/dist/format.d.mts +57 -5
  14. package/dist/format.d.ts +57 -5
  15. package/dist/format.js +61 -1
  16. package/dist/format.mjs +61 -1
  17. package/dist/index.d.mts +53 -14
  18. package/dist/index.d.ts +53 -14
  19. package/dist/index.js +34 -4
  20. package/dist/index.mjs +34 -4
  21. package/dist/{jobs-3Md7CCMl.d.ts → jobs--rvR1CgY.d.ts} +7 -3
  22. package/dist/{jobs-Cg2d2oI4.d.mts → jobs-Y9kacbM1.d.mts} +7 -3
  23. package/dist/{search-15gcqPyt.d.ts → search-B-YDO3kN.d.ts} +1 -1
  24. package/dist/{search-CyDzceiR.d.mts → search-Dhy-RqrE.d.mts} +1 -1
  25. package/dist/{seo-CON8CLIF.d.ts → seo-BiissB7X.d.ts} +1 -1
  26. package/dist/{seo-DuWLAh1M.d.mts → seo-C39S8YTH.d.mts} +1 -1
  27. package/dist/seo-files.d.mts +2 -2
  28. package/dist/seo-files.d.ts +2 -2
  29. package/dist/seo.d.mts +6 -6
  30. package/dist/seo.d.ts +6 -6
  31. package/dist/server.d.mts +6 -6
  32. package/dist/server.d.ts +6 -6
  33. package/dist/sitemap.d.mts +6 -6
  34. package/dist/sitemap.d.ts +6 -6
  35. package/dist/suggest.d.mts +2 -2
  36. package/dist/suggest.d.ts +2 -2
  37. package/package.json +1 -1
  38. package/skills/cavuno-board-companies/SKILL.md +5 -1
  39. package/skills/manifest.json +1 -1
package/dist/format.js CHANGED
@@ -20,17 +20,29 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/format/index.ts
21
21
  var format_exports = {};
22
22
  __export(format_exports, {
23
+ COMMUTE_RADIUS_MAX_KM: () => COMMUTE_RADIUS_MAX_KM,
24
+ COMMUTE_RADIUS_MIN_KM: () => COMMUTE_RADIUS_MIN_KM,
23
25
  COUNTRY_CODES: () => COUNTRY_CODES,
26
+ MILES_COUNTRIES: () => MILES_COUNTRIES,
24
27
  buildJobBreadcrumbs: () => buildJobBreadcrumbs,
25
28
  countryOptions: () => countryOptions,
29
+ defaultCommuteRadiusKm: () => defaultCommuteRadiusKm,
30
+ defaultSearchRadius: () => defaultSearchRadius,
31
+ distanceUnitForCountry: () => distanceUnitForCountry,
32
+ distanceUnitToKm: () => distanceUnitToKm,
26
33
  formatDate: () => formatDate,
34
+ formatDistance: () => formatDistance,
27
35
  formatMonthYear: () => formatMonthYear,
28
36
  formatPublishedRelativeDate: () => formatPublishedRelativeDate,
29
37
  formatSalaryRange: () => formatSalaryRange,
30
38
  formatSalaryStat: () => formatSalaryStat,
31
39
  formatSalaryStatRange: () => formatSalaryStatRange,
40
+ kmToDistanceUnit: () => kmToDistanceUnit,
41
+ kmToMiles: () => kmToMiles,
42
+ milesToKm: () => milesToKm,
32
43
  normalizeWebsiteUrl: () => normalizeWebsiteUrl,
33
- resolveCustomFieldDisplay: () => resolveCustomFieldDisplay
44
+ resolveCustomFieldDisplay: () => resolveCustomFieldDisplay,
45
+ searchRadiusOptions: () => searchRadiusOptions
34
46
  });
35
47
  module.exports = __toCommonJS(format_exports);
36
48
 
@@ -799,3 +811,51 @@ function resolveCustomFieldDisplay(language, definitions, values) {
799
811
  }
800
812
  return entries;
801
813
  }
814
+
815
+ // src/format/distance.ts
816
+ var MILES_COUNTRIES = ["US", "GB", "LR", "MM"];
817
+ var COMMUTE_RADIUS_MIN_KM = 1;
818
+ var COMMUTE_RADIUS_MAX_KM = 250;
819
+ var KM_PER_MILE = 1.609344;
820
+ var MILES_COUNTRY_SET = new Set(MILES_COUNTRIES);
821
+ function isMilesCountry(countryCode) {
822
+ return typeof countryCode === "string" && MILES_COUNTRY_SET.has(countryCode.trim().toUpperCase());
823
+ }
824
+ function distanceUnitForCountry(countryCode) {
825
+ return isMilesCountry(countryCode) ? "mi" : "km";
826
+ }
827
+ function defaultCommuteRadiusKm(countryCode) {
828
+ return isMilesCountry(countryCode) ? 40 : 50;
829
+ }
830
+ function milesToKm(miles) {
831
+ return miles * KM_PER_MILE;
832
+ }
833
+ function kmToMiles(km) {
834
+ return km / KM_PER_MILE;
835
+ }
836
+ function kmToDistanceUnit(km, unit) {
837
+ return unit === "mi" ? kmToMiles(km) : km;
838
+ }
839
+ function distanceUnitToKm(value, unit) {
840
+ return unit === "mi" ? milesToKm(value) : value;
841
+ }
842
+ var SEARCH_RADIUS_PRESETS = [5, 10, 25, 50, 100];
843
+ function searchRadiusOptions(unit) {
844
+ return SEARCH_RADIUS_PRESETS.map((value) => ({
845
+ value,
846
+ unit,
847
+ km: distanceUnitToKm(value, unit)
848
+ }));
849
+ }
850
+ function defaultSearchRadius(unit) {
851
+ const value = unit === "mi" ? 25 : 50;
852
+ return { value, unit, km: distanceUnitToKm(value, unit) };
853
+ }
854
+ function formatDistance(value, unit, locale) {
855
+ return new Intl.NumberFormat(locale, {
856
+ style: "unit",
857
+ unit: unit === "mi" ? "mile" : "kilometer",
858
+ unitDisplay: "short",
859
+ maximumFractionDigits: 1
860
+ }).format(value);
861
+ }
package/dist/format.mjs CHANGED
@@ -480,16 +480,76 @@ function resolveCustomFieldDisplay(language, definitions, values) {
480
480
  }
481
481
  return entries;
482
482
  }
483
+
484
+ // src/format/distance.ts
485
+ var MILES_COUNTRIES = ["US", "GB", "LR", "MM"];
486
+ var COMMUTE_RADIUS_MIN_KM = 1;
487
+ var COMMUTE_RADIUS_MAX_KM = 250;
488
+ var KM_PER_MILE = 1.609344;
489
+ var MILES_COUNTRY_SET = new Set(MILES_COUNTRIES);
490
+ function isMilesCountry(countryCode) {
491
+ return typeof countryCode === "string" && MILES_COUNTRY_SET.has(countryCode.trim().toUpperCase());
492
+ }
493
+ function distanceUnitForCountry(countryCode) {
494
+ return isMilesCountry(countryCode) ? "mi" : "km";
495
+ }
496
+ function defaultCommuteRadiusKm(countryCode) {
497
+ return isMilesCountry(countryCode) ? 40 : 50;
498
+ }
499
+ function milesToKm(miles) {
500
+ return miles * KM_PER_MILE;
501
+ }
502
+ function kmToMiles(km) {
503
+ return km / KM_PER_MILE;
504
+ }
505
+ function kmToDistanceUnit(km, unit) {
506
+ return unit === "mi" ? kmToMiles(km) : km;
507
+ }
508
+ function distanceUnitToKm(value, unit) {
509
+ return unit === "mi" ? milesToKm(value) : value;
510
+ }
511
+ var SEARCH_RADIUS_PRESETS = [5, 10, 25, 50, 100];
512
+ function searchRadiusOptions(unit) {
513
+ return SEARCH_RADIUS_PRESETS.map((value) => ({
514
+ value,
515
+ unit,
516
+ km: distanceUnitToKm(value, unit)
517
+ }));
518
+ }
519
+ function defaultSearchRadius(unit) {
520
+ const value = unit === "mi" ? 25 : 50;
521
+ return { value, unit, km: distanceUnitToKm(value, unit) };
522
+ }
523
+ function formatDistance(value, unit, locale) {
524
+ return new Intl.NumberFormat(locale, {
525
+ style: "unit",
526
+ unit: unit === "mi" ? "mile" : "kilometer",
527
+ unitDisplay: "short",
528
+ maximumFractionDigits: 1
529
+ }).format(value);
530
+ }
483
531
  export {
532
+ COMMUTE_RADIUS_MAX_KM,
533
+ COMMUTE_RADIUS_MIN_KM,
484
534
  COUNTRY_CODES,
535
+ MILES_COUNTRIES,
485
536
  buildJobBreadcrumbs,
486
537
  countryOptions,
538
+ defaultCommuteRadiusKm,
539
+ defaultSearchRadius,
540
+ distanceUnitForCountry,
541
+ distanceUnitToKm,
487
542
  formatDate,
543
+ formatDistance,
488
544
  formatMonthYear,
489
545
  formatPublishedRelativeDate,
490
546
  formatSalaryRange,
491
547
  formatSalaryStat,
492
548
  formatSalaryStatRange,
549
+ kmToDistanceUnit,
550
+ kmToMiles,
551
+ milesToKm,
493
552
  normalizeWebsiteUrl,
494
- resolveCustomFieldDisplay
553
+ resolveCustomFieldDisplay,
554
+ searchRadiusOptions
495
555
  };
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
- import { S as Schemas, c as components } from './_spec-C4T68Nnr.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-CyDzceiR.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-CyDzceiR.mjs';
4
- import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-CRgQjnrn.mjs';
5
- 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, b as CompanySalary, 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-CRgQjnrn.mjs';
6
- export { B as BoardSeo } from './seo-DuWLAh1M.mjs';
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-Cg2d2oI4.mjs';
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, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs-Cg2d2oI4.mjs';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-bQmqKnw2.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-bQmqKnw2.mjs';
1
+ import { S as Schemas, c as components } from './_spec-BcXYrhOP.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-Dhy-RqrE.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-Dhy-RqrE.mjs';
4
+ import { c as CompaniesListQuery, d as CompanyListEnvelope, e as CompaniesSearchBody, f as CompanyJobsListQuery, g as CompanySimilarQuery, h as CompanyMarketsListQuery, i as SalaryDetailQuery } from './board-CK62f0G5.mjs';
5
+ 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, b as CompanySalary, 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-CK62f0G5.mjs';
6
+ export { B as BoardSeo } from './seo-C39S8YTH.mjs';
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-Y9kacbM1.mjs';
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, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs-Y9kacbM1.mjs';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-PS7AwaF7.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-PS7AwaF7.mjs';
11
11
 
12
12
  /**
13
13
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -202,7 +202,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
202
  * constant because the package is platform-neutral and cannot read
203
203
  * package.json at runtime.
204
204
  */
205
- declare const SDK_VERSION = "4.36.0";
205
+ declare const SDK_VERSION = "4.38.0";
206
206
 
207
207
  type SavedJob = Schemas['SavedJob'];
208
208
  type SavedJobsListQuery = {
@@ -532,6 +532,10 @@ type EmployerPipelineQuery = {
532
532
  job: string;
533
533
  /** Filter to a single stage (systemStage key, custom stage id, or `applied`). */
534
534
  stage?: string;
535
+ /** Applicants per page (1–2000, default 2000). */
536
+ limit?: number;
537
+ /** The `nextCursor` of the previous page, to read the next page of applicants. */
538
+ cursor?: string;
535
539
  };
536
540
  /** A reusable billing option (active subscription / pre-purchased bundle slot). */
537
541
  type EmployerBillingOption = Schemas['EmployerBillingOption'];
@@ -855,9 +859,13 @@ type EmbedJobsQuery = {
855
859
  /** Custom employment type keys, ORed with `employmentType`. Up to 10. */
856
860
  customEmploymentType?: string[];
857
861
  seniority?: Seniority[];
858
- /** Place slug for a geo radius search; unresolvable slugs are ignored. */
862
+ /** Place slug: jobs in the place and the places inside it; unresolvable slugs are ignored. */
859
863
  location?: string;
860
- /** Radius in km around `location` (10–250; default 50). */
864
+ /**
865
+ * Widen a city or locality `location` to jobs placed in a city or
866
+ * locality within this many km of it (1–250, decimals allowed). Omit for
867
+ * jobs in the place itself. Ignored for region and country places.
868
+ */
861
869
  radius?: number;
862
870
  };
863
871
 
@@ -868,6 +876,15 @@ type EmbedJobsQuery = {
868
876
  */
869
877
  type BoardAccessGrant = Schemas['BoardAccessGrant'];
870
878
 
879
+ /**
880
+ * A company member invite looked up by token before sign-in
881
+ * (`board.invites.preview()`). `email` and `account` are only set while
882
+ * `status` is `pending`.
883
+ */
884
+ type CompanyMemberInvitePreview = Schemas['CompanyMemberInvitePreview'];
885
+ /** Body for `board.invites.preview`. */
886
+ type PreviewCompanyMemberInviteBody = Schemas['PreviewCompanyMemberInviteBody'];
887
+
871
888
  /**
872
889
  * A board user's marketing-email consent, or `null` when no decision exists.
873
890
  *
@@ -2046,11 +2063,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2046
2063
  handle: string | null;
2047
2064
  headline: string | null;
2048
2065
  location: string | null;
2066
+ locationPlace: components["schemas"]["CandidateLocationPlace"];
2049
2067
  countryCode: string | null;
2050
2068
  profileVisibility: "hidden" | "logged_in_only" | "public";
2051
2069
  jobSearchStatus: "actively_looking" | "open_to_offers" | "not_looking";
2052
2070
  jobSearchStatusVisibleTo: "everyone" | "employers_only";
2053
2071
  openToRelocate: boolean;
2072
+ commuteRadiusKm: number | null;
2073
+ commuteRadiusDefaultKm: number;
2054
2074
  }>;
2055
2075
  update(body: UpdateCandidateProfileBody, query?: Record<string, never>, options?: FetchOptions): Promise<{
2056
2076
  id: string;
@@ -2061,11 +2081,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2061
2081
  handle: string | null;
2062
2082
  headline: string | null;
2063
2083
  location: string | null;
2084
+ locationPlace: components["schemas"]["CandidateLocationPlace"];
2064
2085
  countryCode: string | null;
2065
2086
  profileVisibility: "hidden" | "logged_in_only" | "public";
2066
2087
  jobSearchStatus: "actively_looking" | "open_to_offers" | "not_looking";
2067
2088
  jobSearchStatusVisibleTo: "everyone" | "employers_only";
2068
2089
  openToRelocate: boolean;
2090
+ commuteRadiusKm: number | null;
2091
+ commuteRadiusDefaultKm: number;
2069
2092
  }>;
2070
2093
  retrieveCustomFields(options?: FetchOptions): Promise<{
2071
2094
  definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
@@ -2838,6 +2861,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2838
2861
  };
2839
2862
  stages: components["schemas"]["EmployerPipelineStage"][];
2840
2863
  applicants: components["schemas"]["EmployerApplicant"][];
2864
+ hasMore: boolean;
2865
+ nextCursor: string | null;
2841
2866
  }>;
2842
2867
  move(slug: string, applicationId: string, body: MoveApplicantStageBody, options?: FetchOptions): Promise<void>;
2843
2868
  bulkMove(slug: string, body: BulkMoveApplicantsBody, options?: FetchOptions): Promise<void>;
@@ -3299,6 +3324,20 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3299
3324
  }>;
3300
3325
  };
3301
3326
  };
3327
+ invites: {
3328
+ preview(body: PreviewCompanyMemberInviteBody, options?: FetchOptions): Promise<{
3329
+ object: "company_member_invite_preview";
3330
+ status: "pending" | "expired" | "accepted" | "revoked";
3331
+ email: string | null;
3332
+ expiresAt: string;
3333
+ account: "none" | "employer" | "candidate" | null;
3334
+ company: {
3335
+ slug: string;
3336
+ name: string;
3337
+ logoUrl: string | null;
3338
+ };
3339
+ }>;
3340
+ };
3302
3341
  password: {
3303
3342
  verify(password: string, options?: FetchOptions): Promise<BoardAccessGrant>;
3304
3343
  };
@@ -4070,4 +4109,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4070
4109
  };
4071
4110
  type BoardSdk = ReturnType<typeof createBoardClient>;
4072
4111
 
4073
- 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, 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 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 CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type 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, type LocationResolveInput, type LocationSearchQuery, 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 OAuthCompletion, 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 PublicLocation, 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, 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 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, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
4112
+ 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, 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 ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type 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, type LocationResolveInput, type LocationSearchQuery, 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 OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, 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, 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 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, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { S as Schemas, c as components } from './_spec-C4T68Nnr.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-15gcqPyt.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-15gcqPyt.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-2UfZ7fZk.js';
5
- 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, b as CompanySalary, 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-2UfZ7fZk.js';
6
- export { B as BoardSeo } from './seo-CON8CLIF.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-3Md7CCMl.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, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs-3Md7CCMl.js';
9
- import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-_LtV-JaY.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-_LtV-JaY.js';
1
+ import { S as Schemas, c as components } from './_spec-BcXYrhOP.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-B-YDO3kN.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-B-YDO3kN.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-CTUrq9MP.js';
5
+ 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, b as CompanySalary, 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-CTUrq9MP.js';
6
+ export { B as BoardSeo } from './seo-BiissB7X.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--rvR1CgY.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, p as JobCustomEmploymentType, J as JobSort, q as OfficeLocation, r as OffsetPagination, P as PublicJob, s as PublicJobCard, t as RelatedSearch, u as RemotePermit, v as RemoteTimezone, w as ResolvedJobCollectionField, x as StorefrontPagination } from './jobs--rvR1CgY.js';
9
+ import { a as BlogPostsListQuery, b as BlogSimilarQuery, c as BlogSearchBody } from './blog-BLLQ5H5M.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-BLLQ5H5M.js';
11
11
 
12
12
  /**
13
13
  * Well-known `<domain>_<snake_reason>` codes the Board API sends, grouped by
@@ -202,7 +202,7 @@ declare function paginate<Q extends Record<string, unknown>, P extends PageShape
202
202
  * constant because the package is platform-neutral and cannot read
203
203
  * package.json at runtime.
204
204
  */
205
- declare const SDK_VERSION = "4.36.0";
205
+ declare const SDK_VERSION = "4.38.0";
206
206
 
207
207
  type SavedJob = Schemas['SavedJob'];
208
208
  type SavedJobsListQuery = {
@@ -532,6 +532,10 @@ type EmployerPipelineQuery = {
532
532
  job: string;
533
533
  /** Filter to a single stage (systemStage key, custom stage id, or `applied`). */
534
534
  stage?: string;
535
+ /** Applicants per page (1–2000, default 2000). */
536
+ limit?: number;
537
+ /** The `nextCursor` of the previous page, to read the next page of applicants. */
538
+ cursor?: string;
535
539
  };
536
540
  /** A reusable billing option (active subscription / pre-purchased bundle slot). */
537
541
  type EmployerBillingOption = Schemas['EmployerBillingOption'];
@@ -855,9 +859,13 @@ type EmbedJobsQuery = {
855
859
  /** Custom employment type keys, ORed with `employmentType`. Up to 10. */
856
860
  customEmploymentType?: string[];
857
861
  seniority?: Seniority[];
858
- /** Place slug for a geo radius search; unresolvable slugs are ignored. */
862
+ /** Place slug: jobs in the place and the places inside it; unresolvable slugs are ignored. */
859
863
  location?: string;
860
- /** Radius in km around `location` (10–250; default 50). */
864
+ /**
865
+ * Widen a city or locality `location` to jobs placed in a city or
866
+ * locality within this many km of it (1–250, decimals allowed). Omit for
867
+ * jobs in the place itself. Ignored for region and country places.
868
+ */
861
869
  radius?: number;
862
870
  };
863
871
 
@@ -868,6 +876,15 @@ type EmbedJobsQuery = {
868
876
  */
869
877
  type BoardAccessGrant = Schemas['BoardAccessGrant'];
870
878
 
879
+ /**
880
+ * A company member invite looked up by token before sign-in
881
+ * (`board.invites.preview()`). `email` and `account` are only set while
882
+ * `status` is `pending`.
883
+ */
884
+ type CompanyMemberInvitePreview = Schemas['CompanyMemberInvitePreview'];
885
+ /** Body for `board.invites.preview`. */
886
+ type PreviewCompanyMemberInviteBody = Schemas['PreviewCompanyMemberInviteBody'];
887
+
871
888
  /**
872
889
  * A board user's marketing-email consent, or `null` when no decision exists.
873
890
  *
@@ -2046,11 +2063,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2046
2063
  handle: string | null;
2047
2064
  headline: string | null;
2048
2065
  location: string | null;
2066
+ locationPlace: components["schemas"]["CandidateLocationPlace"];
2049
2067
  countryCode: string | null;
2050
2068
  profileVisibility: "hidden" | "logged_in_only" | "public";
2051
2069
  jobSearchStatus: "actively_looking" | "open_to_offers" | "not_looking";
2052
2070
  jobSearchStatusVisibleTo: "everyone" | "employers_only";
2053
2071
  openToRelocate: boolean;
2072
+ commuteRadiusKm: number | null;
2073
+ commuteRadiusDefaultKm: number;
2054
2074
  }>;
2055
2075
  update(body: UpdateCandidateProfileBody, query?: Record<string, never>, options?: FetchOptions): Promise<{
2056
2076
  id: string;
@@ -2061,11 +2081,14 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2061
2081
  handle: string | null;
2062
2082
  headline: string | null;
2063
2083
  location: string | null;
2084
+ locationPlace: components["schemas"]["CandidateLocationPlace"];
2064
2085
  countryCode: string | null;
2065
2086
  profileVisibility: "hidden" | "logged_in_only" | "public";
2066
2087
  jobSearchStatus: "actively_looking" | "open_to_offers" | "not_looking";
2067
2088
  jobSearchStatusVisibleTo: "everyone" | "employers_only";
2068
2089
  openToRelocate: boolean;
2090
+ commuteRadiusKm: number | null;
2091
+ commuteRadiusDefaultKm: number;
2069
2092
  }>;
2070
2093
  retrieveCustomFields(options?: FetchOptions): Promise<{
2071
2094
  definitions: components["schemas"]["ProfileCustomFieldDefinition"][];
@@ -2838,6 +2861,8 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
2838
2861
  };
2839
2862
  stages: components["schemas"]["EmployerPipelineStage"][];
2840
2863
  applicants: components["schemas"]["EmployerApplicant"][];
2864
+ hasMore: boolean;
2865
+ nextCursor: string | null;
2841
2866
  }>;
2842
2867
  move(slug: string, applicationId: string, body: MoveApplicantStageBody, options?: FetchOptions): Promise<void>;
2843
2868
  bulkMove(slug: string, body: BulkMoveApplicantsBody, options?: FetchOptions): Promise<void>;
@@ -3299,6 +3324,20 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3299
3324
  }>;
3300
3325
  };
3301
3326
  };
3327
+ invites: {
3328
+ preview(body: PreviewCompanyMemberInviteBody, options?: FetchOptions): Promise<{
3329
+ object: "company_member_invite_preview";
3330
+ status: "pending" | "expired" | "accepted" | "revoked";
3331
+ email: string | null;
3332
+ expiresAt: string;
3333
+ account: "none" | "employer" | "candidate" | null;
3334
+ company: {
3335
+ slug: string;
3336
+ name: string;
3337
+ logoUrl: string | null;
3338
+ };
3339
+ }>;
3340
+ };
3302
3341
  password: {
3303
3342
  verify(password: string, options?: FetchOptions): Promise<BoardAccessGrant>;
3304
3343
  };
@@ -4070,4 +4109,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4070
4109
  };
4071
4110
  type BoardSdk = ReturnType<typeof createBoardClient>;
4072
4111
 
4073
- 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, 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 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 CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type 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, type LocationResolveInput, type LocationSearchQuery, 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 OAuthCompletion, 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 PublicLocation, 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, 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 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, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
4112
+ 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, 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 ClaimableCompany, CompaniesListQuery, CompaniesSearchBody, type CompanyBillingPortalBody, type CompanyBillingPortalSession, CompanyJobsListQuery, CompanyListEnvelope, CompanyMarketsListQuery, type CompanyMember, type CompanyMemberInvite, type CompanyMemberInviteAcceptance, type CompanyMemberInvitePreview, type CompanyMembership, CompanySimilarQuery, type ConfirmEmailChangeBody, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type ConvertSourcedCandidateBody, type CreateAlertBody, type CreateApplyApprovalBody, type CreateApplyIntentBody, type CreateBoardClientOptions, type CreateCompanyBody, type CreateCompanyMemberInviteBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CreateTalentListBody, CustomFieldFilter, type EditMessageBody, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobStat, type EmployerJobStatsPoint, type EmployerJobStatsTimeseriesQuery, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmployerProfileStats, type EmployerProfileViewsPoint, type EmployerProfileViewsTimeseriesQuery, EmploymentType, FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type 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, type LocationResolveInput, type LocationSearchQuery, 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 OAuthCompletion, type OAuthExchangeBody, type OAuthProvider, ObjectReferenceFilter, type Paginator, type PaywallOffer, type PaywallOfferListEnvelope, type PlacesListQuery, type Plan, type PlanListEnvelope, type PlansListQuery, type PreviewCompanyMemberInviteBody, type ProfileChoiceList, type ProfileChoiceQuery, type ProfileFieldEntity, type ProfileFieldValues, type ProfileObjectReferenceSelectionWrite, type ProfileObjectReferences, type PublicLocation, 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, 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 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, isSignInMethodUnavailable, isSsoBrowserMismatch, isSsoRequired, isUnauthorized, isValidationError, lastOwnMessageId, paginate, parseOAuthCompletion, resolveApplyAction, resolveApplyDecision, ssoLinkProofBindingStore };
package/dist/index.js CHANGED
@@ -403,7 +403,7 @@ async function clearSession(storage) {
403
403
  }
404
404
 
405
405
  // src/version.ts
406
- var SDK_VERSION = "4.36.0";
406
+ var SDK_VERSION = "4.38.0";
407
407
 
408
408
  // src/client.ts
409
409
  function isRawBody(body) {
@@ -1202,6 +1202,33 @@ function embedNamespace(client) {
1202
1202
  };
1203
1203
  }
1204
1204
 
1205
+ // src/namespaces/invites.ts
1206
+ function invitesNamespace(client) {
1207
+ return {
1208
+ /**
1209
+ * Look up a company member invite by the `token` from its link, before
1210
+ * the person signs in. Use it to render a "Join <company>" page and
1211
+ * pick the next step from `status` and `account`: sign up (`none`),
1212
+ * sign in (`employer`), or explain that the link no longer works.
1213
+ * Read-only — accept with `board.me.acceptInvite({ token })` once
1214
+ * signed in. Unknown tokens throw `employer_invite_not_found` (404).
1215
+ *
1216
+ * @example
1217
+ * const invite = await board.invites.preview({ token });
1218
+ * if (invite.status === 'pending' && invite.account === 'none') {
1219
+ * // offer sign-up for invite.email, passing inviteToken: token
1220
+ * }
1221
+ */
1222
+ preview(body, options) {
1223
+ return client.fetch("/invites/preview", {
1224
+ ...options,
1225
+ method: "POST",
1226
+ body
1227
+ });
1228
+ }
1229
+ };
1230
+ }
1231
+
1205
1232
  // src/namespaces/job-alerts.ts
1206
1233
  function jobAlertsNamespace(client) {
1207
1234
  return {
@@ -2594,9 +2621,11 @@ function meNamespace(client) {
2594
2621
  */
2595
2622
  applicants: {
2596
2623
  /**
2597
- * Read a job's applicant pipeline: its header, stage rail, and every
2598
- * applicant (candidate snapshot, signed resume URL, activity timeline).
2599
- * `query.job` is required; `query.stage` filters to one stage.
2624
+ * Read a job's applicant pipeline: its header, stage rail, and one page
2625
+ * of applicants, newest first (candidate snapshot, signed resume URL,
2626
+ * activity timeline). `query.job` is required; `query.stage` filters to
2627
+ * one stage. A page holds up to `query.limit` applicants (default
2628
+ * 2000); when `hasMore` is true, pass `nextCursor` as `query.cursor`.
2600
2629
  *
2601
2630
  * @example
2602
2631
  * const pipeline = await board.me.companies.applicants.list('acme', {
@@ -3952,6 +3981,7 @@ function createBoardClient(options) {
3952
3981
  blog: blogNamespace(client),
3953
3982
  auth: authNamespace(client, options.board),
3954
3983
  me: meNamespace(client),
3984
+ invites: invitesNamespace(client),
3955
3985
  password: passwordNamespace(client),
3956
3986
  taxonomy: taxonomyNamespace(client),
3957
3987
  search: searchNamespace(client),
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ function toSearchParams(query) {
46
46
  }
47
47
 
48
48
  // src/version.ts
49
- var SDK_VERSION = "4.36.0";
49
+ var SDK_VERSION = "4.38.0";
50
50
 
51
51
  // src/client.ts
52
52
  function isRawBody(body) {
@@ -845,6 +845,33 @@ function embedNamespace(client) {
845
845
  };
846
846
  }
847
847
 
848
+ // src/namespaces/invites.ts
849
+ function invitesNamespace(client) {
850
+ return {
851
+ /**
852
+ * Look up a company member invite by the `token` from its link, before
853
+ * the person signs in. Use it to render a "Join <company>" page and
854
+ * pick the next step from `status` and `account`: sign up (`none`),
855
+ * sign in (`employer`), or explain that the link no longer works.
856
+ * Read-only — accept with `board.me.acceptInvite({ token })` once
857
+ * signed in. Unknown tokens throw `employer_invite_not_found` (404).
858
+ *
859
+ * @example
860
+ * const invite = await board.invites.preview({ token });
861
+ * if (invite.status === 'pending' && invite.account === 'none') {
862
+ * // offer sign-up for invite.email, passing inviteToken: token
863
+ * }
864
+ */
865
+ preview(body, options) {
866
+ return client.fetch("/invites/preview", {
867
+ ...options,
868
+ method: "POST",
869
+ body
870
+ });
871
+ }
872
+ };
873
+ }
874
+
848
875
  // src/namespaces/job-alerts.ts
849
876
  function jobAlertsNamespace(client) {
850
877
  return {
@@ -2237,9 +2264,11 @@ function meNamespace(client) {
2237
2264
  */
2238
2265
  applicants: {
2239
2266
  /**
2240
- * Read a job's applicant pipeline: its header, stage rail, and every
2241
- * applicant (candidate snapshot, signed resume URL, activity timeline).
2242
- * `query.job` is required; `query.stage` filters to one stage.
2267
+ * Read a job's applicant pipeline: its header, stage rail, and one page
2268
+ * of applicants, newest first (candidate snapshot, signed resume URL,
2269
+ * activity timeline). `query.job` is required; `query.stage` filters to
2270
+ * one stage. A page holds up to `query.limit` applicants (default
2271
+ * 2000); when `hasMore` is true, pass `nextCursor` as `query.cursor`.
2243
2272
  *
2244
2273
  * @example
2245
2274
  * const pipeline = await board.me.companies.applicants.list('acme', {
@@ -3565,6 +3594,7 @@ function createBoardClient(options) {
3565
3594
  blog: blogNamespace(client),
3566
3595
  auth: authNamespace(client, options.board),
3567
3596
  me: meNamespace(client),
3597
+ invites: invitesNamespace(client),
3568
3598
  password: passwordNamespace(client),
3569
3599
  taxonomy: taxonomyNamespace(client),
3570
3600
  search: searchNamespace(client),