@cavuno/board 1.15.0 → 1.16.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.
package/dist/index.d.mts CHANGED
@@ -2255,6 +2255,77 @@ interface components {
2255
2255
  boardMedianMax: number | null;
2256
2256
  currency: string;
2257
2257
  };
2258
+ TalentDirectoryEntry: {
2259
+ /** @enum {string} */
2260
+ object: "talent_directory_entry";
2261
+ handle: string | null;
2262
+ displayName: string | null;
2263
+ headline: string | null;
2264
+ location: string | null;
2265
+ avatarUrl: string | null;
2266
+ bio: string | null;
2267
+ jobSearchStatus: string | null;
2268
+ skills: string[];
2269
+ experiences: {
2270
+ title: string;
2271
+ companyName: string;
2272
+ startDate: string;
2273
+ endDate: string | null;
2274
+ }[];
2275
+ education: {
2276
+ institutionName: string;
2277
+ startDate: string | null;
2278
+ endDate: string | null;
2279
+ }[];
2280
+ };
2281
+ TalentProfile: {
2282
+ /** @enum {string} */
2283
+ object: "talent_profile";
2284
+ handle: string | null;
2285
+ displayName: string | null;
2286
+ headline: string | null;
2287
+ location: string | null;
2288
+ bio: string | null;
2289
+ avatarUrl: string | null;
2290
+ /** @description The candidate job-search status, or `null` when it is set to employers-only (an anonymous caller is not an employer). */
2291
+ jobSearchStatus: string | null;
2292
+ experiences: {
2293
+ title: string;
2294
+ companyName: string;
2295
+ companyUrl: string | null;
2296
+ location: string | null;
2297
+ employmentType: string | null;
2298
+ locationType: string | null;
2299
+ foundVia: string | null;
2300
+ /** @description Start month, `YYYY-MM`. */
2301
+ startDate: string;
2302
+ /** @description End month `YYYY-MM`, or `null` for a current role. */
2303
+ endDate: string | null;
2304
+ description: string | null;
2305
+ /** @description Skills the candidate applied in this role. */
2306
+ experienceSkills: string[];
2307
+ }[];
2308
+ education: {
2309
+ institutionName: string;
2310
+ institutionUrl: string | null;
2311
+ degree: string | null;
2312
+ fieldOfStudy: string | null;
2313
+ grade: string | null;
2314
+ activitiesAndSocieties: string | null;
2315
+ startDate: string | null;
2316
+ endDate: string | null;
2317
+ description: string | null;
2318
+ }[];
2319
+ skills: {
2320
+ name: string;
2321
+ /** @description Reference to the canonical skill taxonomy, when matched. */
2322
+ jobSkillId: string | null;
2323
+ }[];
2324
+ languages: {
2325
+ name: string;
2326
+ proficiency: string;
2327
+ }[];
2328
+ };
2258
2329
  /** @description Geo for place resolutions; `null` for category/skill. */
2259
2330
  TaxonomyGeo: {
2260
2331
  lat: number | null;
@@ -2855,7 +2926,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
2855
2926
  * constant because the package is platform-neutral and cannot read
2856
2927
  * package.json at runtime.
2857
2928
  */
2858
- declare const SDK_VERSION = "1.15.0";
2929
+ declare const SDK_VERSION = "1.16.0";
2859
2930
 
2860
2931
  type BoardUser = Schemas['BoardUser'];
2861
2932
  type BoardAuthSession = Schemas['BoardAuthSession'];
@@ -2954,6 +3025,18 @@ type PublicCompany = Schemas['CompanyPublic'];
2954
3025
  type CompanyMarketRef = Schemas['CompanyMarketRef'];
2955
3026
  /** The company DETAIL shape — `PublicCompany` plus `markets` (detail-only). */
2956
3027
  type PublicCompanyDetail = Schemas['CompanyPublicDetail'];
3028
+ /**
3029
+ * A company's salary overview (ADR-0046): overall pay, by-seniority rows vs the
3030
+ * board baseline, top competitors, top locations, and a per-category summary.
3031
+ * Names are board-language localized; the company slug/name are not.
3032
+ */
3033
+ type CompanySalary = Schemas['CompanySalary'];
3034
+ /**
3035
+ * A company's salary for one job category: the category's source + board-language
3036
+ * canonical slug, by-seniority vs the board-category baseline, and competitors in
3037
+ * the category. The category name is localized; the company name is not.
3038
+ */
3039
+ type CompanyCategorySalary = Schemas['CompanyCategorySalary'];
2957
3040
  /** The companies browse list — `PublicCompany`s + `market` `relatedSearches`. */
2958
3041
  interface CompanyListEnvelope extends ListEnvelope<PublicCompany> {
2959
3042
  relatedSearches?: RelatedSearch[];
@@ -2982,6 +3065,26 @@ type CompanyMarketsListQuery = {
2982
3065
  };
2983
3066
  type CompaniesSearchBody = Schemas['PublicCompaniesSearchBody'];
2984
3067
 
3068
+ /**
3069
+ * A candidate's public profile — header (name, headline, location, bio, avatar,
3070
+ * job-search status) plus their experiences, education, skills, and languages.
3071
+ * Only `public` profiles are returned; `jobSearchStatus` is `null` when the
3072
+ * candidate scoped it to employers only.
3073
+ */
3074
+ type TalentProfile = Schemas['TalentProfile'];
3075
+ /** A candidate card in the public talent directory. */
3076
+ type TalentDirectoryEntry = Schemas['TalentDirectoryEntry'];
3077
+ type TalentDirectoryQuery = {
3078
+ cursor?: string;
3079
+ /** Free-text search (name / headline / skills). */
3080
+ q?: string;
3081
+ /** Filter to candidates listing a given skill. */
3082
+ skill?: string;
3083
+ /** 1–100, default 20. */
3084
+ limit?: number;
3085
+ };
3086
+ type TalentDirectoryListEnvelope = ListEnvelope<TalentDirectoryEntry>;
3087
+
2985
3088
  type SavedJob = Schemas['SavedJob'];
2986
3089
  type SavedJobsListQuery = {
2987
3090
  cursor?: string;
@@ -4368,7 +4471,52 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4368
4471
  }>;
4369
4472
  };
4370
4473
  };
4474
+ talent: {
4475
+ list(query?: TalentDirectoryQuery, options?: FetchOptions): Promise<TalentDirectoryListEnvelope>;
4476
+ retrieve(handle: string, options?: FetchOptions): Promise<{
4477
+ object: "talent_profile";
4478
+ handle: string | null;
4479
+ displayName: string | null;
4480
+ headline: string | null;
4481
+ location: string | null;
4482
+ bio: string | null;
4483
+ avatarUrl: string | null;
4484
+ jobSearchStatus: string | null;
4485
+ experiences: {
4486
+ title: string;
4487
+ companyName: string;
4488
+ companyUrl: string | null;
4489
+ location: string | null;
4490
+ employmentType: string | null;
4491
+ locationType: string | null;
4492
+ foundVia: string | null;
4493
+ startDate: string;
4494
+ endDate: string | null;
4495
+ description: string | null;
4496
+ experienceSkills: string[];
4497
+ }[];
4498
+ education: {
4499
+ institutionName: string;
4500
+ institutionUrl: string | null;
4501
+ degree: string | null;
4502
+ fieldOfStudy: string | null;
4503
+ grade: string | null;
4504
+ activitiesAndSocieties: string | null;
4505
+ startDate: string | null;
4506
+ endDate: string | null;
4507
+ description: string | null;
4508
+ }[];
4509
+ skills: {
4510
+ name: string;
4511
+ jobSkillId: string | null;
4512
+ }[];
4513
+ languages: {
4514
+ name: string;
4515
+ proficiency: string;
4516
+ }[];
4517
+ }>;
4518
+ };
4371
4519
  };
4372
4520
  type BoardSdk = ReturnType<typeof createBoardClient>;
4373
4521
 
4374
- export { ACCESS_TOKEN_KEY, type Awaitable, BOARD_ACCESS_GRANT_KEY, type BlogAuthorEmbed, type BlogPostsListQuery, type BlogSearchBody, type BlogSimilarQuery, type BlogTagEmbed, type BoardAccessGrant, BoardApiError, type BoardAuthSession, BoardClient, type BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type CompaniesListQuery, type CompaniesSearchBody, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanySimilarQuery, type CreateBoardClientOptions, type CreateJobPostingInput, type CustomStorage, type EducationRequirement, type EmbedJobsQuery, type EmploymentType, type FetchOptions, type ForgotPasswordBody, 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, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type OfficeLocation, type PlacesListQuery, type PublicBlogAdjacentPosts, type PublicBlogAuthor, type PublicBlogPost, type PublicBlogPostSummary, type PublicBlogTag, type PublicBoard, type PublicBoardAnalytics, type PublicBoardFeatures, type PublicBoardTheme, type PublicCompany, type PublicCompanyDetail, type PublicJob, type PublicJobCard, type PublicLegalPage, type PublicPlace, REFRESH_TOKEN_KEY, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ResetPasswordBody, SDK_VERSION, type SalaryCompany, type SalaryDetailQuery, type SalaryLocation, type SalarySkill, type SalaryTitle, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
4522
+ export { ACCESS_TOKEN_KEY, type Awaitable, BOARD_ACCESS_GRANT_KEY, type BlogAuthorEmbed, type BlogPostsListQuery, type BlogSearchBody, type BlogSimilarQuery, type BlogTagEmbed, type BoardAccessGrant, BoardApiError, type BoardAuthSession, BoardClient, type BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type CompaniesListQuery, type CompaniesSearchBody, type CompanyCategorySalary, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanySalary, type CompanySimilarQuery, type CreateBoardClientOptions, type CreateJobPostingInput, type CustomStorage, type EducationRequirement, type EmbedJobsQuery, type EmploymentType, type FetchOptions, type ForgotPasswordBody, 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, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type OfficeLocation, type PlacesListQuery, type PublicBlogAdjacentPosts, type PublicBlogAuthor, type PublicBlogPost, type PublicBlogPostSummary, type PublicBlogTag, type PublicBoard, type PublicBoardAnalytics, type PublicBoardFeatures, type PublicBoardTheme, type PublicCompany, type PublicCompanyDetail, type PublicJob, type PublicJobCard, type PublicLegalPage, type PublicPlace, REFRESH_TOKEN_KEY, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ResetPasswordBody, SDK_VERSION, type SalaryCompany, type SalaryDetailQuery, type SalaryLocation, type SalarySkill, type SalaryTitle, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyResolution, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
package/dist/index.d.ts CHANGED
@@ -2255,6 +2255,77 @@ interface components {
2255
2255
  boardMedianMax: number | null;
2256
2256
  currency: string;
2257
2257
  };
2258
+ TalentDirectoryEntry: {
2259
+ /** @enum {string} */
2260
+ object: "talent_directory_entry";
2261
+ handle: string | null;
2262
+ displayName: string | null;
2263
+ headline: string | null;
2264
+ location: string | null;
2265
+ avatarUrl: string | null;
2266
+ bio: string | null;
2267
+ jobSearchStatus: string | null;
2268
+ skills: string[];
2269
+ experiences: {
2270
+ title: string;
2271
+ companyName: string;
2272
+ startDate: string;
2273
+ endDate: string | null;
2274
+ }[];
2275
+ education: {
2276
+ institutionName: string;
2277
+ startDate: string | null;
2278
+ endDate: string | null;
2279
+ }[];
2280
+ };
2281
+ TalentProfile: {
2282
+ /** @enum {string} */
2283
+ object: "talent_profile";
2284
+ handle: string | null;
2285
+ displayName: string | null;
2286
+ headline: string | null;
2287
+ location: string | null;
2288
+ bio: string | null;
2289
+ avatarUrl: string | null;
2290
+ /** @description The candidate job-search status, or `null` when it is set to employers-only (an anonymous caller is not an employer). */
2291
+ jobSearchStatus: string | null;
2292
+ experiences: {
2293
+ title: string;
2294
+ companyName: string;
2295
+ companyUrl: string | null;
2296
+ location: string | null;
2297
+ employmentType: string | null;
2298
+ locationType: string | null;
2299
+ foundVia: string | null;
2300
+ /** @description Start month, `YYYY-MM`. */
2301
+ startDate: string;
2302
+ /** @description End month `YYYY-MM`, or `null` for a current role. */
2303
+ endDate: string | null;
2304
+ description: string | null;
2305
+ /** @description Skills the candidate applied in this role. */
2306
+ experienceSkills: string[];
2307
+ }[];
2308
+ education: {
2309
+ institutionName: string;
2310
+ institutionUrl: string | null;
2311
+ degree: string | null;
2312
+ fieldOfStudy: string | null;
2313
+ grade: string | null;
2314
+ activitiesAndSocieties: string | null;
2315
+ startDate: string | null;
2316
+ endDate: string | null;
2317
+ description: string | null;
2318
+ }[];
2319
+ skills: {
2320
+ name: string;
2321
+ /** @description Reference to the canonical skill taxonomy, when matched. */
2322
+ jobSkillId: string | null;
2323
+ }[];
2324
+ languages: {
2325
+ name: string;
2326
+ proficiency: string;
2327
+ }[];
2328
+ };
2258
2329
  /** @description Geo for place resolutions; `null` for category/skill. */
2259
2330
  TaxonomyGeo: {
2260
2331
  lat: number | null;
@@ -2855,7 +2926,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
2855
2926
  * constant because the package is platform-neutral and cannot read
2856
2927
  * package.json at runtime.
2857
2928
  */
2858
- declare const SDK_VERSION = "1.15.0";
2929
+ declare const SDK_VERSION = "1.16.0";
2859
2930
 
2860
2931
  type BoardUser = Schemas['BoardUser'];
2861
2932
  type BoardAuthSession = Schemas['BoardAuthSession'];
@@ -2954,6 +3025,18 @@ type PublicCompany = Schemas['CompanyPublic'];
2954
3025
  type CompanyMarketRef = Schemas['CompanyMarketRef'];
2955
3026
  /** The company DETAIL shape — `PublicCompany` plus `markets` (detail-only). */
2956
3027
  type PublicCompanyDetail = Schemas['CompanyPublicDetail'];
3028
+ /**
3029
+ * A company's salary overview (ADR-0046): overall pay, by-seniority rows vs the
3030
+ * board baseline, top competitors, top locations, and a per-category summary.
3031
+ * Names are board-language localized; the company slug/name are not.
3032
+ */
3033
+ type CompanySalary = Schemas['CompanySalary'];
3034
+ /**
3035
+ * A company's salary for one job category: the category's source + board-language
3036
+ * canonical slug, by-seniority vs the board-category baseline, and competitors in
3037
+ * the category. The category name is localized; the company name is not.
3038
+ */
3039
+ type CompanyCategorySalary = Schemas['CompanyCategorySalary'];
2957
3040
  /** The companies browse list — `PublicCompany`s + `market` `relatedSearches`. */
2958
3041
  interface CompanyListEnvelope extends ListEnvelope<PublicCompany> {
2959
3042
  relatedSearches?: RelatedSearch[];
@@ -2982,6 +3065,26 @@ type CompanyMarketsListQuery = {
2982
3065
  };
2983
3066
  type CompaniesSearchBody = Schemas['PublicCompaniesSearchBody'];
2984
3067
 
3068
+ /**
3069
+ * A candidate's public profile — header (name, headline, location, bio, avatar,
3070
+ * job-search status) plus their experiences, education, skills, and languages.
3071
+ * Only `public` profiles are returned; `jobSearchStatus` is `null` when the
3072
+ * candidate scoped it to employers only.
3073
+ */
3074
+ type TalentProfile = Schemas['TalentProfile'];
3075
+ /** A candidate card in the public talent directory. */
3076
+ type TalentDirectoryEntry = Schemas['TalentDirectoryEntry'];
3077
+ type TalentDirectoryQuery = {
3078
+ cursor?: string;
3079
+ /** Free-text search (name / headline / skills). */
3080
+ q?: string;
3081
+ /** Filter to candidates listing a given skill. */
3082
+ skill?: string;
3083
+ /** 1–100, default 20. */
3084
+ limit?: number;
3085
+ };
3086
+ type TalentDirectoryListEnvelope = ListEnvelope<TalentDirectoryEntry>;
3087
+
2985
3088
  type SavedJob = Schemas['SavedJob'];
2986
3089
  type SavedJobsListQuery = {
2987
3090
  cursor?: string;
@@ -4368,7 +4471,52 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4368
4471
  }>;
4369
4472
  };
4370
4473
  };
4474
+ talent: {
4475
+ list(query?: TalentDirectoryQuery, options?: FetchOptions): Promise<TalentDirectoryListEnvelope>;
4476
+ retrieve(handle: string, options?: FetchOptions): Promise<{
4477
+ object: "talent_profile";
4478
+ handle: string | null;
4479
+ displayName: string | null;
4480
+ headline: string | null;
4481
+ location: string | null;
4482
+ bio: string | null;
4483
+ avatarUrl: string | null;
4484
+ jobSearchStatus: string | null;
4485
+ experiences: {
4486
+ title: string;
4487
+ companyName: string;
4488
+ companyUrl: string | null;
4489
+ location: string | null;
4490
+ employmentType: string | null;
4491
+ locationType: string | null;
4492
+ foundVia: string | null;
4493
+ startDate: string;
4494
+ endDate: string | null;
4495
+ description: string | null;
4496
+ experienceSkills: string[];
4497
+ }[];
4498
+ education: {
4499
+ institutionName: string;
4500
+ institutionUrl: string | null;
4501
+ degree: string | null;
4502
+ fieldOfStudy: string | null;
4503
+ grade: string | null;
4504
+ activitiesAndSocieties: string | null;
4505
+ startDate: string | null;
4506
+ endDate: string | null;
4507
+ description: string | null;
4508
+ }[];
4509
+ skills: {
4510
+ name: string;
4511
+ jobSkillId: string | null;
4512
+ }[];
4513
+ languages: {
4514
+ name: string;
4515
+ proficiency: string;
4516
+ }[];
4517
+ }>;
4518
+ };
4371
4519
  };
4372
4520
  type BoardSdk = ReturnType<typeof createBoardClient>;
4373
4521
 
4374
- export { ACCESS_TOKEN_KEY, type Awaitable, BOARD_ACCESS_GRANT_KEY, type BlogAuthorEmbed, type BlogPostsListQuery, type BlogSearchBody, type BlogSimilarQuery, type BlogTagEmbed, type BoardAccessGrant, BoardApiError, type BoardAuthSession, BoardClient, type BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type CompaniesListQuery, type CompaniesSearchBody, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanySimilarQuery, type CreateBoardClientOptions, type CreateJobPostingInput, type CustomStorage, type EducationRequirement, type EmbedJobsQuery, type EmploymentType, type FetchOptions, type ForgotPasswordBody, 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, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type OfficeLocation, type PlacesListQuery, type PublicBlogAdjacentPosts, type PublicBlogAuthor, type PublicBlogPost, type PublicBlogPostSummary, type PublicBlogTag, type PublicBoard, type PublicBoardAnalytics, type PublicBoardFeatures, type PublicBoardTheme, type PublicCompany, type PublicCompanyDetail, type PublicJob, type PublicJobCard, type PublicLegalPage, type PublicPlace, REFRESH_TOKEN_KEY, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ResetPasswordBody, SDK_VERSION, type SalaryCompany, type SalaryDetailQuery, type SalaryLocation, type SalarySkill, type SalaryTitle, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
4522
+ export { ACCESS_TOKEN_KEY, type Awaitable, BOARD_ACCESS_GRANT_KEY, type BlogAuthorEmbed, type BlogPostsListQuery, type BlogSearchBody, type BlogSimilarQuery, type BlogTagEmbed, type BoardAccessGrant, BoardApiError, type BoardAuthSession, BoardClient, type BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type CompaniesListQuery, type CompaniesSearchBody, type CompanyCategorySalary, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanySalary, type CompanySimilarQuery, type CreateBoardClientOptions, type CreateJobPostingInput, type CustomStorage, type EducationRequirement, type EmbedJobsQuery, type EmploymentType, type FetchOptions, type ForgotPasswordBody, 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, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type OfficeLocation, type PlacesListQuery, type PublicBlogAdjacentPosts, type PublicBlogAuthor, type PublicBlogPost, type PublicBlogPostSummary, type PublicBlogTag, type PublicBoard, type PublicBoardAnalytics, type PublicBoardFeatures, type PublicBoardTheme, type PublicCompany, type PublicCompanyDetail, type PublicJob, type PublicJobCard, type PublicLegalPage, type PublicPlace, REFRESH_TOKEN_KEY, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ResetPasswordBody, SDK_VERSION, type SalaryCompany, type SalaryDetailQuery, type SalaryLocation, type SalarySkill, type SalaryTitle, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyResolution, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
package/dist/index.js CHANGED
@@ -149,7 +149,7 @@ async function clearSession(storage) {
149
149
  }
150
150
 
151
151
  // src/version.ts
152
- var SDK_VERSION = "1.15.0";
152
+ var SDK_VERSION = "1.16.0";
153
153
 
154
154
  // src/client.ts
155
155
  function isRawBody(body) {
@@ -1031,6 +1031,44 @@ function salariesNamespace(client) {
1031
1031
  };
1032
1032
  }
1033
1033
 
1034
+ // src/namespaces/talent.ts
1035
+ function talentNamespace(client) {
1036
+ return {
1037
+ /**
1038
+ * List the board's public talent directory — candidate cards ranked by
1039
+ * job-search status then most-recently-updated, the same ordering the
1040
+ * hosted `/talent` page renders. Only `public` profiles appear.
1041
+ *
1042
+ * Throws `talent_directory_restricted` (403) when the board restricts the
1043
+ * directory to employers (render an employer upsell), or
1044
+ * `talent_directory_not_found` (404) when it is disabled.
1045
+ *
1046
+ * @example
1047
+ * const { data } = await board.talent.list({ skill: 'react', limit: 20 });
1048
+ */
1049
+ list(query, options) {
1050
+ return client.fetch("/talent", {
1051
+ ...options,
1052
+ query
1053
+ });
1054
+ },
1055
+ /**
1056
+ * Retrieve a candidate's public profile by handle (or board-user id). Only
1057
+ * `public` profiles resolve; a non-public or unknown handle throws
1058
+ * `talent_not_found` (404).
1059
+ *
1060
+ * @example
1061
+ * const profile = await board.talent.retrieve('jane-doe');
1062
+ */
1063
+ retrieve(handle, options) {
1064
+ return client.fetch(
1065
+ `/talent/${encodeURIComponent(handle)}`,
1066
+ options
1067
+ );
1068
+ }
1069
+ };
1070
+ }
1071
+
1034
1072
  // src/namespaces/taxonomy.ts
1035
1073
  function taxonomyResolver(client, kind) {
1036
1074
  return {
@@ -1117,6 +1155,7 @@ function createBoardClient(options) {
1117
1155
  redirects: redirectsNamespace(client),
1118
1156
  jobAlerts: jobAlertsNamespace(client),
1119
1157
  jobPosting: jobPostingNamespace(client),
1120
- salaries: salariesNamespace(client)
1158
+ salaries: salariesNamespace(client),
1159
+ talent: talentNamespace(client)
1121
1160
  };
1122
1161
  }
package/dist/index.mjs CHANGED
@@ -109,7 +109,7 @@ async function clearSession(storage) {
109
109
  }
110
110
 
111
111
  // src/version.ts
112
- var SDK_VERSION = "1.15.0";
112
+ var SDK_VERSION = "1.16.0";
113
113
 
114
114
  // src/client.ts
115
115
  function isRawBody(body) {
@@ -991,6 +991,44 @@ function salariesNamespace(client) {
991
991
  };
992
992
  }
993
993
 
994
+ // src/namespaces/talent.ts
995
+ function talentNamespace(client) {
996
+ return {
997
+ /**
998
+ * List the board's public talent directory — candidate cards ranked by
999
+ * job-search status then most-recently-updated, the same ordering the
1000
+ * hosted `/talent` page renders. Only `public` profiles appear.
1001
+ *
1002
+ * Throws `talent_directory_restricted` (403) when the board restricts the
1003
+ * directory to employers (render an employer upsell), or
1004
+ * `talent_directory_not_found` (404) when it is disabled.
1005
+ *
1006
+ * @example
1007
+ * const { data } = await board.talent.list({ skill: 'react', limit: 20 });
1008
+ */
1009
+ list(query, options) {
1010
+ return client.fetch("/talent", {
1011
+ ...options,
1012
+ query
1013
+ });
1014
+ },
1015
+ /**
1016
+ * Retrieve a candidate's public profile by handle (or board-user id). Only
1017
+ * `public` profiles resolve; a non-public or unknown handle throws
1018
+ * `talent_not_found` (404).
1019
+ *
1020
+ * @example
1021
+ * const profile = await board.talent.retrieve('jane-doe');
1022
+ */
1023
+ retrieve(handle, options) {
1024
+ return client.fetch(
1025
+ `/talent/${encodeURIComponent(handle)}`,
1026
+ options
1027
+ );
1028
+ }
1029
+ };
1030
+ }
1031
+
994
1032
  // src/namespaces/taxonomy.ts
995
1033
  function taxonomyResolver(client, kind) {
996
1034
  return {
@@ -1077,7 +1115,8 @@ function createBoardClient(options) {
1077
1115
  redirects: redirectsNamespace(client),
1078
1116
  jobAlerts: jobAlertsNamespace(client),
1079
1117
  jobPosting: jobPostingNamespace(client),
1080
- salaries: salariesNamespace(client)
1118
+ salaries: salariesNamespace(client),
1119
+ talent: talentNamespace(client)
1081
1120
  };
1082
1121
  }
1083
1122
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cavuno/board",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Typed isomorphic client for the Cavuno Board API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.15.0",
2
+ "version": "1.16.0",
3
3
  "skills": [
4
4
  {
5
5
  "name": "cavuno-board-auth",