@cavuno/board 1.10.0 → 1.12.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 +563 -2
- package/dist/index.d.ts +563 -2
- package/dist/index.js +65 -1
- package/dist/index.mjs +65 -1
- package/package.json +1 -1
- package/skills/manifest.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -577,6 +577,90 @@ interface components {
|
|
|
577
577
|
*/
|
|
578
578
|
status?: "draft" | "published";
|
|
579
579
|
};
|
|
580
|
+
CreateJobPostingBody: {
|
|
581
|
+
submission: {
|
|
582
|
+
companyName: string;
|
|
583
|
+
companyWebsite?: string;
|
|
584
|
+
contactName: string;
|
|
585
|
+
contactEmail: string;
|
|
586
|
+
title: string;
|
|
587
|
+
description: string;
|
|
588
|
+
employmentType: string;
|
|
589
|
+
remoteOption: string;
|
|
590
|
+
officeLocations: {
|
|
591
|
+
/** @enum {string} */
|
|
592
|
+
provider?: "mapbox";
|
|
593
|
+
providerPlaceId?: string;
|
|
594
|
+
displayName: string;
|
|
595
|
+
countryCode?: string;
|
|
596
|
+
region?: string;
|
|
597
|
+
locality?: string;
|
|
598
|
+
city?: string;
|
|
599
|
+
latitude?: number;
|
|
600
|
+
longitude?: number;
|
|
601
|
+
boundingBox?: number[];
|
|
602
|
+
raw?: {
|
|
603
|
+
suggestion?: {
|
|
604
|
+
[key: string]: unknown;
|
|
605
|
+
};
|
|
606
|
+
retrieve?: {
|
|
607
|
+
[key: string]: unknown;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
}[];
|
|
611
|
+
inOfficePeriod?: string;
|
|
612
|
+
inOfficeFrequency?: number;
|
|
613
|
+
seniority?: string;
|
|
614
|
+
applicationUrl: string;
|
|
615
|
+
salaryRangeEnabled: boolean;
|
|
616
|
+
salaryMin?: number;
|
|
617
|
+
salaryMax?: number;
|
|
618
|
+
salaryTimeframe?: string;
|
|
619
|
+
salaryCurrency?: string;
|
|
620
|
+
selectedPlan?: string;
|
|
621
|
+
isFeatured?: boolean;
|
|
622
|
+
remoteWorkingPermits?: {
|
|
623
|
+
type: string;
|
|
624
|
+
value: string;
|
|
625
|
+
label: string;
|
|
626
|
+
}[];
|
|
627
|
+
remoteTimezones?: {
|
|
628
|
+
type: string;
|
|
629
|
+
value: string;
|
|
630
|
+
label: string;
|
|
631
|
+
plusMinus: number;
|
|
632
|
+
offset?: number;
|
|
633
|
+
}[];
|
|
634
|
+
/** @enum {string} */
|
|
635
|
+
remoteSponsorship?: "yes" | "no" | "unknown";
|
|
636
|
+
customFieldValues?: {
|
|
637
|
+
[key: string]: string | string[] | boolean | number;
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
remoteAllowedTzOffsets?: number[];
|
|
641
|
+
remoteWorkPermitCountryCodes?: string[];
|
|
642
|
+
logoUrl?: string;
|
|
643
|
+
selectedBilling?: {
|
|
644
|
+
type: string;
|
|
645
|
+
id?: string;
|
|
646
|
+
planId: string;
|
|
647
|
+
};
|
|
648
|
+
invoiceBilling?: {
|
|
649
|
+
billingName?: string;
|
|
650
|
+
address: {
|
|
651
|
+
line1?: string;
|
|
652
|
+
city?: string;
|
|
653
|
+
postalCode?: string;
|
|
654
|
+
country?: string;
|
|
655
|
+
};
|
|
656
|
+
taxId?: string;
|
|
657
|
+
detailFields?: {
|
|
658
|
+
name: string;
|
|
659
|
+
value: string;
|
|
660
|
+
}[];
|
|
661
|
+
};
|
|
662
|
+
colorMode?: string;
|
|
663
|
+
};
|
|
580
664
|
CreateTagBody: {
|
|
581
665
|
/** @description URL-friendly slug for the tag. Auto-generated from `name` when omitted. */
|
|
582
666
|
slug?: string;
|
|
@@ -807,6 +891,60 @@ interface components {
|
|
|
807
891
|
/** @description Free-form location string (e.g. `"Berlin, Germany"`, `"Mountain View, California, USA"`). Mapbox parses + ranks candidates server-side; rejects on low confidence. */
|
|
808
892
|
query: string;
|
|
809
893
|
};
|
|
894
|
+
JobPostingPlan: {
|
|
895
|
+
/** @enum {string} */
|
|
896
|
+
object: "job_posting_plan";
|
|
897
|
+
id: string;
|
|
898
|
+
name: string;
|
|
899
|
+
description: string | null;
|
|
900
|
+
kind: string;
|
|
901
|
+
/** @enum {string|null} */
|
|
902
|
+
billingInterval: "month" | "year" | null;
|
|
903
|
+
/** @enum {string|null} */
|
|
904
|
+
purpose: "job_posting" | "talent_access" | null;
|
|
905
|
+
isRecommended: boolean;
|
|
906
|
+
displayOrder: number | null;
|
|
907
|
+
invoiceOnly: boolean;
|
|
908
|
+
/** @enum {string|null} */
|
|
909
|
+
publishTiming: "on_issue" | "on_payment" | null;
|
|
910
|
+
netTermsDays: number | null;
|
|
911
|
+
prices: {
|
|
912
|
+
currency: string;
|
|
913
|
+
amountCents: number;
|
|
914
|
+
isActive: boolean;
|
|
915
|
+
}[];
|
|
916
|
+
features: {
|
|
917
|
+
key: string | null;
|
|
918
|
+
value: string | null;
|
|
919
|
+
}[];
|
|
920
|
+
};
|
|
921
|
+
JobPostingResult: {
|
|
922
|
+
/** @enum {string} */
|
|
923
|
+
object: "job_posting_result";
|
|
924
|
+
/** @enum {string} */
|
|
925
|
+
status: "checkout";
|
|
926
|
+
checkoutUrl: string;
|
|
927
|
+
jobId: string;
|
|
928
|
+
} | {
|
|
929
|
+
/** @enum {string} */
|
|
930
|
+
object: "job_posting_result";
|
|
931
|
+
/** @enum {string} */
|
|
932
|
+
status: "published";
|
|
933
|
+
jobId: string;
|
|
934
|
+
jobSlug: string;
|
|
935
|
+
} | {
|
|
936
|
+
/** @enum {string} */
|
|
937
|
+
object: "job_posting_result";
|
|
938
|
+
/** @enum {string} */
|
|
939
|
+
status: "pending_approval";
|
|
940
|
+
jobId: string;
|
|
941
|
+
} | {
|
|
942
|
+
/** @enum {string} */
|
|
943
|
+
object: "job_posting_result";
|
|
944
|
+
/** @enum {string} */
|
|
945
|
+
status: "invoice_sent";
|
|
946
|
+
jobId: string;
|
|
947
|
+
};
|
|
810
948
|
JobSummary: {
|
|
811
949
|
/** @description Unique identifier for the object. Use this value as the `{id}` path parameter for the job endpoints (e.g. `GET /v1/jobs/{id}`). */
|
|
812
950
|
id: string;
|
|
@@ -968,6 +1106,34 @@ interface components {
|
|
|
968
1106
|
boardOverallAvgMax: number | null;
|
|
969
1107
|
currency: string;
|
|
970
1108
|
};
|
|
1109
|
+
LocationSkillsIndex: {
|
|
1110
|
+
/** @enum {string} */
|
|
1111
|
+
object: "location_skills_index";
|
|
1112
|
+
sourceSlug: string;
|
|
1113
|
+
canonicalSlug: string;
|
|
1114
|
+
placeName: string;
|
|
1115
|
+
skills: {
|
|
1116
|
+
slug: string;
|
|
1117
|
+
name: string;
|
|
1118
|
+
avgSalaryMin: number;
|
|
1119
|
+
avgSalaryMax: number;
|
|
1120
|
+
jobCount: number;
|
|
1121
|
+
}[];
|
|
1122
|
+
};
|
|
1123
|
+
LocationTitlesIndex: {
|
|
1124
|
+
/** @enum {string} */
|
|
1125
|
+
object: "location_titles_index";
|
|
1126
|
+
sourceSlug: string;
|
|
1127
|
+
canonicalSlug: string;
|
|
1128
|
+
placeName: string;
|
|
1129
|
+
titles: {
|
|
1130
|
+
slug: string;
|
|
1131
|
+
name: string;
|
|
1132
|
+
avgSalaryMin: number;
|
|
1133
|
+
avgSalaryMax: number;
|
|
1134
|
+
jobCount: number;
|
|
1135
|
+
}[];
|
|
1136
|
+
};
|
|
971
1137
|
MediaGet: components["schemas"]["MediaUpload"] & {
|
|
972
1138
|
/** @description Time at which the file was uploaded. ISO 8601 datetime. */
|
|
973
1139
|
uploadedAt: string;
|
|
@@ -1781,6 +1947,82 @@ interface components {
|
|
|
1781
1947
|
/** @description Stripe billing-portal configuration ID used for self-serve plan management. Pass `null` to clear. */
|
|
1782
1948
|
jobAccessStripePortalConfigId?: string | unknown | unknown;
|
|
1783
1949
|
};
|
|
1950
|
+
SkillLocationSalary: {
|
|
1951
|
+
/** @enum {string} */
|
|
1952
|
+
object: "skill_location_salary";
|
|
1953
|
+
skillSourceSlug: string;
|
|
1954
|
+
skillCanonicalSlug: string;
|
|
1955
|
+
locationSourceSlug: string;
|
|
1956
|
+
locationCanonicalSlug: string;
|
|
1957
|
+
skillName: string;
|
|
1958
|
+
placeName: string;
|
|
1959
|
+
countryCode: string;
|
|
1960
|
+
adminLevel: string;
|
|
1961
|
+
overallSalary: {
|
|
1962
|
+
avgMin: number;
|
|
1963
|
+
avgMax: number;
|
|
1964
|
+
p25Min: number | null;
|
|
1965
|
+
p75Max: number | null;
|
|
1966
|
+
jobCount: number;
|
|
1967
|
+
} | null;
|
|
1968
|
+
bySeniority: {
|
|
1969
|
+
seniority: string;
|
|
1970
|
+
avgSalaryMin: number;
|
|
1971
|
+
avgSalaryMax: number;
|
|
1972
|
+
jobCount: number;
|
|
1973
|
+
}[];
|
|
1974
|
+
childLocations: {
|
|
1975
|
+
placeSlug: string;
|
|
1976
|
+
placeName: string;
|
|
1977
|
+
avgSalaryMin: number;
|
|
1978
|
+
avgSalaryMax: number;
|
|
1979
|
+
jobCount: number;
|
|
1980
|
+
}[];
|
|
1981
|
+
childLocationsByRegion: {
|
|
1982
|
+
regionName: string;
|
|
1983
|
+
regionSlug: string;
|
|
1984
|
+
cities: {
|
|
1985
|
+
placeSlug: string;
|
|
1986
|
+
placeName: string;
|
|
1987
|
+
avgSalaryMin: number;
|
|
1988
|
+
avgSalaryMax: number;
|
|
1989
|
+
jobCount: number;
|
|
1990
|
+
}[];
|
|
1991
|
+
}[];
|
|
1992
|
+
otherLocations: {
|
|
1993
|
+
placeSlug: string;
|
|
1994
|
+
placeName: string;
|
|
1995
|
+
avgSalaryMin: number;
|
|
1996
|
+
avgSalaryMax: number;
|
|
1997
|
+
jobCount: number;
|
|
1998
|
+
}[];
|
|
1999
|
+
topSkills: {
|
|
2000
|
+
avgSalaryMin: number;
|
|
2001
|
+
avgSalaryMax: number;
|
|
2002
|
+
jobCount: number;
|
|
2003
|
+
skillSlug: string;
|
|
2004
|
+
skillName: string;
|
|
2005
|
+
}[];
|
|
2006
|
+
topTitles: {
|
|
2007
|
+
avgSalaryMin: number;
|
|
2008
|
+
avgSalaryMax: number;
|
|
2009
|
+
jobCount: number;
|
|
2010
|
+
categorySlug: string;
|
|
2011
|
+
categoryName: string;
|
|
2012
|
+
}[];
|
|
2013
|
+
boardSkillAvgMin: number | null;
|
|
2014
|
+
boardSkillAvgMax: number | null;
|
|
2015
|
+
currency: string;
|
|
2016
|
+
};
|
|
2017
|
+
SkillLocationsIndex: {
|
|
2018
|
+
/** @enum {string} */
|
|
2019
|
+
object: "skill_locations_index";
|
|
2020
|
+
sourceSlug: string;
|
|
2021
|
+
canonicalSlug: string;
|
|
2022
|
+
skillName: string;
|
|
2023
|
+
currency: string;
|
|
2024
|
+
locations: components["schemas"]["SalaryLocationIndexItem"][];
|
|
2025
|
+
};
|
|
1784
2026
|
SkillSalaryDetail: {
|
|
1785
2027
|
/** @enum {string} */
|
|
1786
2028
|
object: "skill_salary_detail";
|
|
@@ -1855,6 +2097,82 @@ interface components {
|
|
|
1855
2097
|
locality: string | null;
|
|
1856
2098
|
placeType: string | null;
|
|
1857
2099
|
} | null;
|
|
2100
|
+
TitleLocationSalary: {
|
|
2101
|
+
/** @enum {string} */
|
|
2102
|
+
object: "title_location_salary";
|
|
2103
|
+
categorySourceSlug: string;
|
|
2104
|
+
categoryCanonicalSlug: string;
|
|
2105
|
+
locationSourceSlug: string;
|
|
2106
|
+
locationCanonicalSlug: string;
|
|
2107
|
+
categoryName: string;
|
|
2108
|
+
placeName: string;
|
|
2109
|
+
countryCode: string;
|
|
2110
|
+
adminLevel: string;
|
|
2111
|
+
overallSalary: {
|
|
2112
|
+
avgMin: number;
|
|
2113
|
+
avgMax: number;
|
|
2114
|
+
p25Min: number | null;
|
|
2115
|
+
p75Max: number | null;
|
|
2116
|
+
jobCount: number;
|
|
2117
|
+
} | null;
|
|
2118
|
+
bySeniority: {
|
|
2119
|
+
seniority: string;
|
|
2120
|
+
avgSalaryMin: number;
|
|
2121
|
+
avgSalaryMax: number;
|
|
2122
|
+
jobCount: number;
|
|
2123
|
+
}[];
|
|
2124
|
+
childLocations: {
|
|
2125
|
+
placeSlug: string;
|
|
2126
|
+
placeName: string;
|
|
2127
|
+
avgSalaryMin: number;
|
|
2128
|
+
avgSalaryMax: number;
|
|
2129
|
+
jobCount: number;
|
|
2130
|
+
}[];
|
|
2131
|
+
childLocationsByRegion: {
|
|
2132
|
+
regionName: string;
|
|
2133
|
+
regionSlug: string;
|
|
2134
|
+
cities: {
|
|
2135
|
+
placeSlug: string;
|
|
2136
|
+
placeName: string;
|
|
2137
|
+
avgSalaryMin: number;
|
|
2138
|
+
avgSalaryMax: number;
|
|
2139
|
+
jobCount: number;
|
|
2140
|
+
}[];
|
|
2141
|
+
}[];
|
|
2142
|
+
otherLocations: {
|
|
2143
|
+
placeSlug: string;
|
|
2144
|
+
placeName: string;
|
|
2145
|
+
avgSalaryMin: number;
|
|
2146
|
+
avgSalaryMax: number;
|
|
2147
|
+
jobCount: number;
|
|
2148
|
+
}[];
|
|
2149
|
+
topSkills: {
|
|
2150
|
+
avgSalaryMin: number;
|
|
2151
|
+
avgSalaryMax: number;
|
|
2152
|
+
jobCount: number;
|
|
2153
|
+
skillSlug: string;
|
|
2154
|
+
skillName: string;
|
|
2155
|
+
}[];
|
|
2156
|
+
topTitles: {
|
|
2157
|
+
avgSalaryMin: number;
|
|
2158
|
+
avgSalaryMax: number;
|
|
2159
|
+
jobCount: number;
|
|
2160
|
+
categorySlug: string;
|
|
2161
|
+
categoryName: string;
|
|
2162
|
+
}[];
|
|
2163
|
+
boardCategoryAvgMin: number | null;
|
|
2164
|
+
boardCategoryAvgMax: number | null;
|
|
2165
|
+
currency: string;
|
|
2166
|
+
};
|
|
2167
|
+
TitleLocationsIndex: {
|
|
2168
|
+
/** @enum {string} */
|
|
2169
|
+
object: "title_locations_index";
|
|
2170
|
+
sourceSlug: string;
|
|
2171
|
+
canonicalSlug: string;
|
|
2172
|
+
categoryName: string;
|
|
2173
|
+
currency: string;
|
|
2174
|
+
locations: components["schemas"]["SalaryLocationIndexItem"][];
|
|
2175
|
+
};
|
|
1858
2176
|
TitleSalaryDetail: {
|
|
1859
2177
|
/** @enum {string} */
|
|
1860
2178
|
object: "title_salary_detail";
|
|
@@ -2368,7 +2686,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
|
|
|
2368
2686
|
* constant because the package is platform-neutral and cannot read
|
|
2369
2687
|
* package.json at runtime.
|
|
2370
2688
|
*/
|
|
2371
|
-
declare const SDK_VERSION = "1.
|
|
2689
|
+
declare const SDK_VERSION = "1.12.0";
|
|
2372
2690
|
|
|
2373
2691
|
type BoardUser = Schemas['BoardUser'];
|
|
2374
2692
|
type BoardAuthSession = Schemas['BoardAuthSession'];
|
|
@@ -2566,6 +2884,17 @@ type JobAlertDeletePreferenceInput = {
|
|
|
2566
2884
|
token: string;
|
|
2567
2885
|
};
|
|
2568
2886
|
|
|
2887
|
+
/** A board plan for the job-submission wizard. The `id` is the `selectedPlan`. */
|
|
2888
|
+
type JobPostingPlan = Schemas['JobPostingPlan'];
|
|
2889
|
+
/** The body of `board.jobPosting.create(...)` — mirrors the Convex submitJob args. */
|
|
2890
|
+
type CreateJobPostingInput = Schemas['CreateJobPostingBody'];
|
|
2891
|
+
/**
|
|
2892
|
+
* The status-discriminated outcome of a submission: `checkout` (a Stripe
|
|
2893
|
+
* Checkout URL to redirect to), `published`, `pending_approval`, or
|
|
2894
|
+
* `invoice_sent`. A rejected submission throws a `BoardApiError` instead.
|
|
2895
|
+
*/
|
|
2896
|
+
type JobPostingResult = Schemas['JobPostingResult'];
|
|
2897
|
+
|
|
2569
2898
|
type TaxonomyGeo = Schemas['TaxonomyGeo'];
|
|
2570
2899
|
type TaxonomyResolution = Schemas['PublicTaxonomyResolution'];
|
|
2571
2900
|
type PublicPlace = Schemas['PublicPlace'];
|
|
@@ -2598,6 +2927,18 @@ type SalarySkill = Schemas['SalarySkillIndexItem'];
|
|
|
2598
2927
|
* its `parentSlug` (the consumer rebuilds the country → region → city browse).
|
|
2599
2928
|
*/
|
|
2600
2929
|
type SalaryLocation = Schemas['SalaryLocationIndexItem'];
|
|
2930
|
+
/** A title's salary across locations (flattened `parentSlug` tree). */
|
|
2931
|
+
type TitleLocationsIndex = Schemas['TitleLocationsIndex'];
|
|
2932
|
+
/** A skill's salary across locations. */
|
|
2933
|
+
type SkillLocationsIndex = Schemas['SkillLocationsIndex'];
|
|
2934
|
+
/** A place's salary by title (suffix read-model). */
|
|
2935
|
+
type LocationTitlesIndex = Schemas['LocationTitlesIndex'];
|
|
2936
|
+
/** A place's salary by skill. */
|
|
2937
|
+
type LocationSkillsIndex = Schemas['LocationSkillsIndex'];
|
|
2938
|
+
/** A title's salary in one place (4 source + canonical slugs). */
|
|
2939
|
+
type TitleLocationSalary = Schemas['TitleLocationSalary'];
|
|
2940
|
+
/** A skill's salary in one place. */
|
|
2941
|
+
type SkillLocationSalary = Schemas['SkillLocationSalary'];
|
|
2601
2942
|
/**
|
|
2602
2943
|
* Board-language overlay for a salary read. `en` (the default) is the identity
|
|
2603
2944
|
* fast-path; a non-`en` locale overlays board-language names + canonical slugs.
|
|
@@ -3214,6 +3555,52 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3214
3555
|
success: boolean;
|
|
3215
3556
|
}>;
|
|
3216
3557
|
};
|
|
3558
|
+
jobPosting: {
|
|
3559
|
+
plans(query?: {
|
|
3560
|
+
purpose?: "job_posting" | "talent_access";
|
|
3561
|
+
}, options?: FetchOptions): Promise<ListEnvelope<{
|
|
3562
|
+
object: "job_posting_plan";
|
|
3563
|
+
id: string;
|
|
3564
|
+
name: string;
|
|
3565
|
+
description: string | null;
|
|
3566
|
+
kind: string;
|
|
3567
|
+
billingInterval: "month" | "year" | null;
|
|
3568
|
+
purpose: "job_posting" | "talent_access" | null;
|
|
3569
|
+
isRecommended: boolean;
|
|
3570
|
+
displayOrder: number | null;
|
|
3571
|
+
invoiceOnly: boolean;
|
|
3572
|
+
publishTiming: "on_issue" | "on_payment" | null;
|
|
3573
|
+
netTermsDays: number | null;
|
|
3574
|
+
prices: {
|
|
3575
|
+
currency: string;
|
|
3576
|
+
amountCents: number;
|
|
3577
|
+
isActive: boolean;
|
|
3578
|
+
}[];
|
|
3579
|
+
features: {
|
|
3580
|
+
key: string | null;
|
|
3581
|
+
value: string | null;
|
|
3582
|
+
}[];
|
|
3583
|
+
}>>;
|
|
3584
|
+
create(input: CreateJobPostingInput, options?: FetchOptions): Promise<{
|
|
3585
|
+
object: "job_posting_result";
|
|
3586
|
+
status: "checkout";
|
|
3587
|
+
checkoutUrl: string;
|
|
3588
|
+
jobId: string;
|
|
3589
|
+
} | {
|
|
3590
|
+
object: "job_posting_result";
|
|
3591
|
+
status: "published";
|
|
3592
|
+
jobId: string;
|
|
3593
|
+
jobSlug: string;
|
|
3594
|
+
} | {
|
|
3595
|
+
object: "job_posting_result";
|
|
3596
|
+
status: "pending_approval";
|
|
3597
|
+
jobId: string;
|
|
3598
|
+
} | {
|
|
3599
|
+
object: "job_posting_result";
|
|
3600
|
+
status: "invoice_sent";
|
|
3601
|
+
jobId: string;
|
|
3602
|
+
}>;
|
|
3603
|
+
};
|
|
3217
3604
|
salaries: {
|
|
3218
3605
|
companies: {
|
|
3219
3606
|
list(options?: FetchOptions): Promise<ListEnvelope<{
|
|
@@ -3305,6 +3692,80 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3305
3692
|
boardP75Max: number | null;
|
|
3306
3693
|
currency: string;
|
|
3307
3694
|
}>;
|
|
3695
|
+
locations(categorySlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
3696
|
+
object: "title_locations_index";
|
|
3697
|
+
sourceSlug: string;
|
|
3698
|
+
canonicalSlug: string;
|
|
3699
|
+
categoryName: string;
|
|
3700
|
+
currency: string;
|
|
3701
|
+
locations: components["schemas"]["SalaryLocationIndexItem"][];
|
|
3702
|
+
}>;
|
|
3703
|
+
location(categorySlug: string, locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
3704
|
+
object: "title_location_salary";
|
|
3705
|
+
categorySourceSlug: string;
|
|
3706
|
+
categoryCanonicalSlug: string;
|
|
3707
|
+
locationSourceSlug: string;
|
|
3708
|
+
locationCanonicalSlug: string;
|
|
3709
|
+
categoryName: string;
|
|
3710
|
+
placeName: string;
|
|
3711
|
+
countryCode: string;
|
|
3712
|
+
adminLevel: string;
|
|
3713
|
+
overallSalary: {
|
|
3714
|
+
avgMin: number;
|
|
3715
|
+
avgMax: number;
|
|
3716
|
+
p25Min: number | null;
|
|
3717
|
+
p75Max: number | null;
|
|
3718
|
+
jobCount: number;
|
|
3719
|
+
} | null;
|
|
3720
|
+
bySeniority: {
|
|
3721
|
+
seniority: string;
|
|
3722
|
+
avgSalaryMin: number;
|
|
3723
|
+
avgSalaryMax: number;
|
|
3724
|
+
jobCount: number;
|
|
3725
|
+
}[];
|
|
3726
|
+
childLocations: {
|
|
3727
|
+
placeSlug: string;
|
|
3728
|
+
placeName: string;
|
|
3729
|
+
avgSalaryMin: number;
|
|
3730
|
+
avgSalaryMax: number;
|
|
3731
|
+
jobCount: number;
|
|
3732
|
+
}[];
|
|
3733
|
+
childLocationsByRegion: {
|
|
3734
|
+
regionName: string;
|
|
3735
|
+
regionSlug: string;
|
|
3736
|
+
cities: {
|
|
3737
|
+
placeSlug: string;
|
|
3738
|
+
placeName: string;
|
|
3739
|
+
avgSalaryMin: number;
|
|
3740
|
+
avgSalaryMax: number;
|
|
3741
|
+
jobCount: number;
|
|
3742
|
+
}[];
|
|
3743
|
+
}[];
|
|
3744
|
+
otherLocations: {
|
|
3745
|
+
placeSlug: string;
|
|
3746
|
+
placeName: string;
|
|
3747
|
+
avgSalaryMin: number;
|
|
3748
|
+
avgSalaryMax: number;
|
|
3749
|
+
jobCount: number;
|
|
3750
|
+
}[];
|
|
3751
|
+
topSkills: {
|
|
3752
|
+
avgSalaryMin: number;
|
|
3753
|
+
avgSalaryMax: number;
|
|
3754
|
+
jobCount: number;
|
|
3755
|
+
skillSlug: string;
|
|
3756
|
+
skillName: string;
|
|
3757
|
+
}[];
|
|
3758
|
+
topTitles: {
|
|
3759
|
+
avgSalaryMin: number;
|
|
3760
|
+
avgSalaryMax: number;
|
|
3761
|
+
jobCount: number;
|
|
3762
|
+
categorySlug: string;
|
|
3763
|
+
categoryName: string;
|
|
3764
|
+
}[];
|
|
3765
|
+
boardCategoryAvgMin: number | null;
|
|
3766
|
+
boardCategoryAvgMax: number | null;
|
|
3767
|
+
currency: string;
|
|
3768
|
+
}>;
|
|
3308
3769
|
};
|
|
3309
3770
|
skills: {
|
|
3310
3771
|
list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
@@ -3378,6 +3839,80 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3378
3839
|
boardMedianMax: number | null;
|
|
3379
3840
|
currency: string;
|
|
3380
3841
|
}>;
|
|
3842
|
+
locations(skillSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
3843
|
+
object: "skill_locations_index";
|
|
3844
|
+
sourceSlug: string;
|
|
3845
|
+
canonicalSlug: string;
|
|
3846
|
+
skillName: string;
|
|
3847
|
+
currency: string;
|
|
3848
|
+
locations: components["schemas"]["SalaryLocationIndexItem"][];
|
|
3849
|
+
}>;
|
|
3850
|
+
location(skillSlug: string, locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
3851
|
+
object: "skill_location_salary";
|
|
3852
|
+
skillSourceSlug: string;
|
|
3853
|
+
skillCanonicalSlug: string;
|
|
3854
|
+
locationSourceSlug: string;
|
|
3855
|
+
locationCanonicalSlug: string;
|
|
3856
|
+
skillName: string;
|
|
3857
|
+
placeName: string;
|
|
3858
|
+
countryCode: string;
|
|
3859
|
+
adminLevel: string;
|
|
3860
|
+
overallSalary: {
|
|
3861
|
+
avgMin: number;
|
|
3862
|
+
avgMax: number;
|
|
3863
|
+
p25Min: number | null;
|
|
3864
|
+
p75Max: number | null;
|
|
3865
|
+
jobCount: number;
|
|
3866
|
+
} | null;
|
|
3867
|
+
bySeniority: {
|
|
3868
|
+
seniority: string;
|
|
3869
|
+
avgSalaryMin: number;
|
|
3870
|
+
avgSalaryMax: number;
|
|
3871
|
+
jobCount: number;
|
|
3872
|
+
}[];
|
|
3873
|
+
childLocations: {
|
|
3874
|
+
placeSlug: string;
|
|
3875
|
+
placeName: string;
|
|
3876
|
+
avgSalaryMin: number;
|
|
3877
|
+
avgSalaryMax: number;
|
|
3878
|
+
jobCount: number;
|
|
3879
|
+
}[];
|
|
3880
|
+
childLocationsByRegion: {
|
|
3881
|
+
regionName: string;
|
|
3882
|
+
regionSlug: string;
|
|
3883
|
+
cities: {
|
|
3884
|
+
placeSlug: string;
|
|
3885
|
+
placeName: string;
|
|
3886
|
+
avgSalaryMin: number;
|
|
3887
|
+
avgSalaryMax: number;
|
|
3888
|
+
jobCount: number;
|
|
3889
|
+
}[];
|
|
3890
|
+
}[];
|
|
3891
|
+
otherLocations: {
|
|
3892
|
+
placeSlug: string;
|
|
3893
|
+
placeName: string;
|
|
3894
|
+
avgSalaryMin: number;
|
|
3895
|
+
avgSalaryMax: number;
|
|
3896
|
+
jobCount: number;
|
|
3897
|
+
}[];
|
|
3898
|
+
topSkills: {
|
|
3899
|
+
avgSalaryMin: number;
|
|
3900
|
+
avgSalaryMax: number;
|
|
3901
|
+
jobCount: number;
|
|
3902
|
+
skillSlug: string;
|
|
3903
|
+
skillName: string;
|
|
3904
|
+
}[];
|
|
3905
|
+
topTitles: {
|
|
3906
|
+
avgSalaryMin: number;
|
|
3907
|
+
avgSalaryMax: number;
|
|
3908
|
+
jobCount: number;
|
|
3909
|
+
categorySlug: string;
|
|
3910
|
+
categoryName: string;
|
|
3911
|
+
}[];
|
|
3912
|
+
boardSkillAvgMin: number | null;
|
|
3913
|
+
boardSkillAvgMax: number | null;
|
|
3914
|
+
currency: string;
|
|
3915
|
+
}>;
|
|
3381
3916
|
};
|
|
3382
3917
|
locations: {
|
|
3383
3918
|
list(query?: SalaryDetailQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
@@ -3467,9 +4002,35 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
3467
4002
|
boardOverallAvgMax: number | null;
|
|
3468
4003
|
currency: string;
|
|
3469
4004
|
}>;
|
|
4005
|
+
titles(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
4006
|
+
object: "location_titles_index";
|
|
4007
|
+
sourceSlug: string;
|
|
4008
|
+
canonicalSlug: string;
|
|
4009
|
+
placeName: string;
|
|
4010
|
+
titles: {
|
|
4011
|
+
slug: string;
|
|
4012
|
+
name: string;
|
|
4013
|
+
avgSalaryMin: number;
|
|
4014
|
+
avgSalaryMax: number;
|
|
4015
|
+
jobCount: number;
|
|
4016
|
+
}[];
|
|
4017
|
+
}>;
|
|
4018
|
+
skills(locationSlug: string, query?: SalaryDetailQuery, options?: FetchOptions): Promise<{
|
|
4019
|
+
object: "location_skills_index";
|
|
4020
|
+
sourceSlug: string;
|
|
4021
|
+
canonicalSlug: string;
|
|
4022
|
+
placeName: string;
|
|
4023
|
+
skills: {
|
|
4024
|
+
slug: string;
|
|
4025
|
+
name: string;
|
|
4026
|
+
avgSalaryMin: number;
|
|
4027
|
+
avgSalaryMax: number;
|
|
4028
|
+
jobCount: number;
|
|
4029
|
+
}[];
|
|
4030
|
+
}>;
|
|
3470
4031
|
};
|
|
3471
4032
|
};
|
|
3472
4033
|
};
|
|
3473
4034
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
3474
4035
|
|
|
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 };
|
|
4036
|
+
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 JobPostingPlan, type JobPostingResult, 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 };
|