@cavuno/board 1.9.0 → 1.10.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
@@ -1612,6 +1612,52 @@ interface components {
1612
1612
  /** @description OAuth client secret. May be supplied here or via HTTP Basic authentication. */
1613
1613
  client_secret?: string;
1614
1614
  };
1615
+ SalaryCompanyIndexItem: {
1616
+ /** @enum {string} */
1617
+ object: "salary_company";
1618
+ companySlug: string;
1619
+ companyName: string;
1620
+ logoPath: string | null;
1621
+ avgSalaryMin: number;
1622
+ avgSalaryMax: number;
1623
+ jobCount: number;
1624
+ currency: string;
1625
+ };
1626
+ SalaryLocationIndexItem: {
1627
+ /** @enum {string} */
1628
+ object: "salary_location";
1629
+ placeSlug: string;
1630
+ placeName: string;
1631
+ /** @description Slug of the parent place; `null` for a top-level node. */
1632
+ parentSlug: string | null;
1633
+ avgSalaryMin: number;
1634
+ avgSalaryMax: number;
1635
+ jobCount: number;
1636
+ };
1637
+ SalarySkillIndexItem: {
1638
+ /** @enum {string} */
1639
+ object: "salary_skill";
1640
+ slug: string;
1641
+ name: string;
1642
+ avgSalaryMin: number;
1643
+ avgSalaryMax: number;
1644
+ p25SalaryMin: number;
1645
+ p75SalaryMax: number;
1646
+ jobCount: number;
1647
+ currency: string;
1648
+ };
1649
+ SalaryTitleIndexItem: {
1650
+ /** @enum {string} */
1651
+ object: "salary_title";
1652
+ slug: string;
1653
+ name: string;
1654
+ avgSalaryMin: number;
1655
+ avgSalaryMax: number;
1656
+ p25SalaryMin: number;
1657
+ p75SalaryMax: number;
1658
+ jobCount: number;
1659
+ currency: string;
1660
+ };
1615
1661
  SaveJobBody: {
1616
1662
  jobId: string;
1617
1663
  };
@@ -2322,7 +2368,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
2322
2368
  * constant because the package is platform-neutral and cannot read
2323
2369
  * package.json at runtime.
2324
2370
  */
2325
- declare const SDK_VERSION = "1.9.0";
2371
+ declare const SDK_VERSION = "1.10.0";
2326
2372
 
2327
2373
  type BoardUser = Schemas['BoardUser'];
2328
2374
  type BoardAuthSession = Schemas['BoardAuthSession'];
@@ -2541,6 +2587,17 @@ type TitleSalaryDetail = Schemas['TitleSalaryDetail'];
2541
2587
  type SkillSalaryDetail = Schemas['SkillSalaryDetail'];
2542
2588
  /** A place's salary breakdown (city overall + siblings, or area child cities). */
2543
2589
  type LocationSalaryDetail = Schemas['LocationSalaryDetail'];
2590
+ /** A company on the `/salaries/companies` hub (ranked by sample size). */
2591
+ type SalaryCompany = Schemas['SalaryCompanyIndexItem'];
2592
+ /** A job title on the `/salaries/titles` index. */
2593
+ type SalaryTitle = Schemas['SalaryTitleIndexItem'];
2594
+ /** A skill on the `/salaries/skills` index. */
2595
+ type SalarySkill = Schemas['SalarySkillIndexItem'];
2596
+ /**
2597
+ * A place on the `/salaries/locations` index — a flattened tree node carrying
2598
+ * its `parentSlug` (the consumer rebuilds the country → region → city browse).
2599
+ */
2600
+ type SalaryLocation = Schemas['SalaryLocationIndexItem'];
2544
2601
  /**
2545
2602
  * Board-language overlay for a salary read. `en` (the default) is the identity
2546
2603
  * fast-path; a non-`en` locale overlays board-language names + canonical slugs.
@@ -3158,7 +3215,30 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3158
3215
  }>;
3159
3216
  };
3160
3217
  salaries: {
3218
+ companies: {
3219
+ list(options?: FetchOptions): Promise<ListEnvelope<{
3220
+ object: "salary_company";
3221
+ companySlug: string;
3222
+ companyName: string;
3223
+ logoPath: string | null;
3224
+ avgSalaryMin: number;
3225
+ avgSalaryMax: number;
3226
+ jobCount: number;
3227
+ currency: string;
3228
+ }>>;
3229
+ };
3161
3230
  titles: {
3231
+ list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
3232
+ object: "salary_title";
3233
+ slug: string;
3234
+ name: string;
3235
+ avgSalaryMin: number;
3236
+ avgSalaryMax: number;
3237
+ p25SalaryMin: number;
3238
+ p75SalaryMax: number;
3239
+ jobCount: number;
3240
+ currency: string;
3241
+ }>>;
3162
3242
  retrieve(categorySlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
3163
3243
  object: "title_salary_detail";
3164
3244
  sourceSlug: string;
@@ -3227,6 +3307,17 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3227
3307
  }>;
3228
3308
  };
3229
3309
  skills: {
3310
+ list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
3311
+ object: "salary_skill";
3312
+ slug: string;
3313
+ name: string;
3314
+ avgSalaryMin: number;
3315
+ avgSalaryMax: number;
3316
+ p25SalaryMin: number;
3317
+ p75SalaryMax: number;
3318
+ jobCount: number;
3319
+ currency: string;
3320
+ }>>;
3230
3321
  retrieve(skillSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
3231
3322
  object: "skill_salary_detail";
3232
3323
  sourceSlug: string;
@@ -3289,6 +3380,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3289
3380
  }>;
3290
3381
  };
3291
3382
  locations: {
3383
+ list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
3384
+ object: "salary_location";
3385
+ placeSlug: string;
3386
+ placeName: string;
3387
+ parentSlug: string | null;
3388
+ avgSalaryMin: number;
3389
+ avgSalaryMax: number;
3390
+ jobCount: number;
3391
+ }>>;
3292
3392
  retrieve(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
3293
3393
  object: "location_salary_detail";
3294
3394
  sourceSlug: string;
@@ -3372,4 +3472,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3372
3472
  };
3373
3473
  type BoardSdk = ReturnType<typeof createBoardClient>;
3374
3474
 
3375
- 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 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 JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, 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 SalaryDetailQuery, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
3475
+ 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 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 JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, 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 SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
package/dist/index.d.ts CHANGED
@@ -1612,6 +1612,52 @@ interface components {
1612
1612
  /** @description OAuth client secret. May be supplied here or via HTTP Basic authentication. */
1613
1613
  client_secret?: string;
1614
1614
  };
1615
+ SalaryCompanyIndexItem: {
1616
+ /** @enum {string} */
1617
+ object: "salary_company";
1618
+ companySlug: string;
1619
+ companyName: string;
1620
+ logoPath: string | null;
1621
+ avgSalaryMin: number;
1622
+ avgSalaryMax: number;
1623
+ jobCount: number;
1624
+ currency: string;
1625
+ };
1626
+ SalaryLocationIndexItem: {
1627
+ /** @enum {string} */
1628
+ object: "salary_location";
1629
+ placeSlug: string;
1630
+ placeName: string;
1631
+ /** @description Slug of the parent place; `null` for a top-level node. */
1632
+ parentSlug: string | null;
1633
+ avgSalaryMin: number;
1634
+ avgSalaryMax: number;
1635
+ jobCount: number;
1636
+ };
1637
+ SalarySkillIndexItem: {
1638
+ /** @enum {string} */
1639
+ object: "salary_skill";
1640
+ slug: string;
1641
+ name: string;
1642
+ avgSalaryMin: number;
1643
+ avgSalaryMax: number;
1644
+ p25SalaryMin: number;
1645
+ p75SalaryMax: number;
1646
+ jobCount: number;
1647
+ currency: string;
1648
+ };
1649
+ SalaryTitleIndexItem: {
1650
+ /** @enum {string} */
1651
+ object: "salary_title";
1652
+ slug: string;
1653
+ name: string;
1654
+ avgSalaryMin: number;
1655
+ avgSalaryMax: number;
1656
+ p25SalaryMin: number;
1657
+ p75SalaryMax: number;
1658
+ jobCount: number;
1659
+ currency: string;
1660
+ };
1615
1661
  SaveJobBody: {
1616
1662
  jobId: string;
1617
1663
  };
@@ -2322,7 +2368,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
2322
2368
  * constant because the package is platform-neutral and cannot read
2323
2369
  * package.json at runtime.
2324
2370
  */
2325
- declare const SDK_VERSION = "1.9.0";
2371
+ declare const SDK_VERSION = "1.10.0";
2326
2372
 
2327
2373
  type BoardUser = Schemas['BoardUser'];
2328
2374
  type BoardAuthSession = Schemas['BoardAuthSession'];
@@ -2541,6 +2587,17 @@ type TitleSalaryDetail = Schemas['TitleSalaryDetail'];
2541
2587
  type SkillSalaryDetail = Schemas['SkillSalaryDetail'];
2542
2588
  /** A place's salary breakdown (city overall + siblings, or area child cities). */
2543
2589
  type LocationSalaryDetail = Schemas['LocationSalaryDetail'];
2590
+ /** A company on the `/salaries/companies` hub (ranked by sample size). */
2591
+ type SalaryCompany = Schemas['SalaryCompanyIndexItem'];
2592
+ /** A job title on the `/salaries/titles` index. */
2593
+ type SalaryTitle = Schemas['SalaryTitleIndexItem'];
2594
+ /** A skill on the `/salaries/skills` index. */
2595
+ type SalarySkill = Schemas['SalarySkillIndexItem'];
2596
+ /**
2597
+ * A place on the `/salaries/locations` index — a flattened tree node carrying
2598
+ * its `parentSlug` (the consumer rebuilds the country → region → city browse).
2599
+ */
2600
+ type SalaryLocation = Schemas['SalaryLocationIndexItem'];
2544
2601
  /**
2545
2602
  * Board-language overlay for a salary read. `en` (the default) is the identity
2546
2603
  * fast-path; a non-`en` locale overlays board-language names + canonical slugs.
@@ -3158,7 +3215,30 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3158
3215
  }>;
3159
3216
  };
3160
3217
  salaries: {
3218
+ companies: {
3219
+ list(options?: FetchOptions): Promise<ListEnvelope<{
3220
+ object: "salary_company";
3221
+ companySlug: string;
3222
+ companyName: string;
3223
+ logoPath: string | null;
3224
+ avgSalaryMin: number;
3225
+ avgSalaryMax: number;
3226
+ jobCount: number;
3227
+ currency: string;
3228
+ }>>;
3229
+ };
3161
3230
  titles: {
3231
+ list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
3232
+ object: "salary_title";
3233
+ slug: string;
3234
+ name: string;
3235
+ avgSalaryMin: number;
3236
+ avgSalaryMax: number;
3237
+ p25SalaryMin: number;
3238
+ p75SalaryMax: number;
3239
+ jobCount: number;
3240
+ currency: string;
3241
+ }>>;
3162
3242
  retrieve(categorySlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
3163
3243
  object: "title_salary_detail";
3164
3244
  sourceSlug: string;
@@ -3227,6 +3307,17 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3227
3307
  }>;
3228
3308
  };
3229
3309
  skills: {
3310
+ list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
3311
+ object: "salary_skill";
3312
+ slug: string;
3313
+ name: string;
3314
+ avgSalaryMin: number;
3315
+ avgSalaryMax: number;
3316
+ p25SalaryMin: number;
3317
+ p75SalaryMax: number;
3318
+ jobCount: number;
3319
+ currency: string;
3320
+ }>>;
3230
3321
  retrieve(skillSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
3231
3322
  object: "skill_salary_detail";
3232
3323
  sourceSlug: string;
@@ -3289,6 +3380,15 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3289
3380
  }>;
3290
3381
  };
3291
3382
  locations: {
3383
+ list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
3384
+ object: "salary_location";
3385
+ placeSlug: string;
3386
+ placeName: string;
3387
+ parentSlug: string | null;
3388
+ avgSalaryMin: number;
3389
+ avgSalaryMax: number;
3390
+ jobCount: number;
3391
+ }>>;
3292
3392
  retrieve(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
3293
3393
  object: "location_salary_detail";
3294
3394
  sourceSlug: string;
@@ -3372,4 +3472,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3372
3472
  };
3373
3473
  type BoardSdk = ReturnType<typeof createBoardClient>;
3374
3474
 
3375
- 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 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 JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, 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 SalaryDetailQuery, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
3475
+ 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 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 JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, 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 SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, 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.9.0";
152
+ var SDK_VERSION = "1.10.0";
153
153
 
154
154
  // src/client.ts
155
155
  function isRawBody(body) {
@@ -846,7 +846,22 @@ function redirectsNamespace(client) {
846
846
  // src/namespaces/salaries.ts
847
847
  function salariesNamespace(client) {
848
848
  return {
849
+ /** The `/salaries/companies` hub — companies ranked by salary sample size. */
850
+ companies: {
851
+ list(options) {
852
+ return client.fetch(
853
+ "/salaries/companies",
854
+ options
855
+ );
856
+ }
857
+ },
849
858
  titles: {
859
+ list(query, options) {
860
+ return client.fetch("/salaries/titles", {
861
+ ...options,
862
+ query
863
+ });
864
+ },
850
865
  retrieve(categorySlug, query, options) {
851
866
  return client.fetch(
852
867
  `/salaries/titles/${encodeURIComponent(categorySlug)}`,
@@ -855,6 +870,12 @@ function salariesNamespace(client) {
855
870
  }
856
871
  },
857
872
  skills: {
873
+ list(query, options) {
874
+ return client.fetch("/salaries/skills", {
875
+ ...options,
876
+ query
877
+ });
878
+ },
858
879
  retrieve(skillSlug, query, options) {
859
880
  return client.fetch(
860
881
  `/salaries/skills/${encodeURIComponent(skillSlug)}`,
@@ -863,6 +884,13 @@ function salariesNamespace(client) {
863
884
  }
864
885
  },
865
886
  locations: {
887
+ /** The place hierarchy flattened to a list with `parentSlug` edges. */
888
+ list(query, options) {
889
+ return client.fetch(
890
+ "/salaries/locations",
891
+ { ...options, query }
892
+ );
893
+ },
866
894
  retrieve(locationSlug, query, options) {
867
895
  return client.fetch(
868
896
  `/salaries/locations/${encodeURIComponent(locationSlug)}`,
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.9.0";
112
+ var SDK_VERSION = "1.10.0";
113
113
 
114
114
  // src/client.ts
115
115
  function isRawBody(body) {
@@ -806,7 +806,22 @@ function redirectsNamespace(client) {
806
806
  // src/namespaces/salaries.ts
807
807
  function salariesNamespace(client) {
808
808
  return {
809
+ /** The `/salaries/companies` hub — companies ranked by salary sample size. */
810
+ companies: {
811
+ list(options) {
812
+ return client.fetch(
813
+ "/salaries/companies",
814
+ options
815
+ );
816
+ }
817
+ },
809
818
  titles: {
819
+ list(query, options) {
820
+ return client.fetch("/salaries/titles", {
821
+ ...options,
822
+ query
823
+ });
824
+ },
810
825
  retrieve(categorySlug, query, options) {
811
826
  return client.fetch(
812
827
  `/salaries/titles/${encodeURIComponent(categorySlug)}`,
@@ -815,6 +830,12 @@ function salariesNamespace(client) {
815
830
  }
816
831
  },
817
832
  skills: {
833
+ list(query, options) {
834
+ return client.fetch("/salaries/skills", {
835
+ ...options,
836
+ query
837
+ });
838
+ },
818
839
  retrieve(skillSlug, query, options) {
819
840
  return client.fetch(
820
841
  `/salaries/skills/${encodeURIComponent(skillSlug)}`,
@@ -823,6 +844,13 @@ function salariesNamespace(client) {
823
844
  }
824
845
  },
825
846
  locations: {
847
+ /** The place hierarchy flattened to a list with `parentSlug` edges. */
848
+ list(query, options) {
849
+ return client.fetch(
850
+ "/salaries/locations",
851
+ { ...options, query }
852
+ );
853
+ },
826
854
  retrieve(locationSlug, query, options) {
827
855
  return client.fetch(
828
856
  `/salaries/locations/${encodeURIComponent(locationSlug)}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cavuno/board",
3
- "version": "1.9.0",
3
+ "version": "1.10.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.9.0",
2
+ "version": "1.10.0",
3
3
  "skills": [
4
4
  {
5
5
  "name": "cavuno-board-auth",