@cavuno/board 1.16.0 → 1.17.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 +71 -2
- package/dist/index.d.ts +71 -2
- package/dist/index.js +33 -2
- package/dist/index.mjs +33 -2
- package/package.json +1 -1
- package/skills/manifest.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1452,6 +1452,43 @@ interface components {
|
|
|
1452
1452
|
[key: string]: unknown;
|
|
1453
1453
|
};
|
|
1454
1454
|
};
|
|
1455
|
+
Plan: {
|
|
1456
|
+
/** @enum {string} */
|
|
1457
|
+
object: "plan";
|
|
1458
|
+
id: string;
|
|
1459
|
+
name: string;
|
|
1460
|
+
description: string | null;
|
|
1461
|
+
/** @enum {string} */
|
|
1462
|
+
purpose: "job_posting" | "talent_access";
|
|
1463
|
+
/** @enum {string} */
|
|
1464
|
+
kind: "free" | "subscription" | "one_time" | "bundle";
|
|
1465
|
+
/** @enum {string|null} */
|
|
1466
|
+
billingInterval: "month" | "year" | null;
|
|
1467
|
+
isRecommended: boolean;
|
|
1468
|
+
displayOrder: number;
|
|
1469
|
+
invoiceOnly: boolean;
|
|
1470
|
+
/** @enum {string|null} */
|
|
1471
|
+
publishTiming: "on_issue" | "on_payment" | null;
|
|
1472
|
+
netTermsDays: number | null;
|
|
1473
|
+
price: {
|
|
1474
|
+
currency: string;
|
|
1475
|
+
amountCents: number;
|
|
1476
|
+
/** @description The public Stripe Price id used to start checkout. */
|
|
1477
|
+
stripePriceId: string | null;
|
|
1478
|
+
} | null;
|
|
1479
|
+
featureSummary: {
|
|
1480
|
+
durationDays: number;
|
|
1481
|
+
maxActiveJobs: number;
|
|
1482
|
+
featuredSlots: number;
|
|
1483
|
+
/** @enum {string} */
|
|
1484
|
+
featureSelectionMode: "auto" | "manual";
|
|
1485
|
+
};
|
|
1486
|
+
/** @description Talent-access allowances (per billing period). Present only when `purpose` is `talent_access`. `"unlimited"` is a sentinel value. */
|
|
1487
|
+
talent?: {
|
|
1488
|
+
unlocksPerPeriod: string;
|
|
1489
|
+
messagesPerPeriod: string;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1455
1492
|
PublicBlogAdjacentPosts: {
|
|
1456
1493
|
/** @enum {string} */
|
|
1457
1494
|
object: "blog_adjacent_posts";
|
|
@@ -1993,6 +2030,20 @@ interface components {
|
|
|
1993
2030
|
jobCount: number;
|
|
1994
2031
|
currency: string;
|
|
1995
2032
|
};
|
|
2033
|
+
SalesLedPlan: {
|
|
2034
|
+
/** @enum {string} */
|
|
2035
|
+
object: "sales_led_plan";
|
|
2036
|
+
id: string;
|
|
2037
|
+
name: string;
|
|
2038
|
+
description: string;
|
|
2039
|
+
/** @description Display price text, e.g. "Contact us". */
|
|
2040
|
+
priceText: string;
|
|
2041
|
+
ctaText: string;
|
|
2042
|
+
/** @description The CTA target — a URL, mailto:, or tel: link. */
|
|
2043
|
+
ctaDestination: string;
|
|
2044
|
+
featuredBullets: string[];
|
|
2045
|
+
displayOrder: number;
|
|
2046
|
+
};
|
|
1996
2047
|
SaveJobBody: {
|
|
1997
2048
|
jobId: string;
|
|
1998
2049
|
};
|
|
@@ -2926,7 +2977,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
|
|
|
2926
2977
|
* constant because the package is platform-neutral and cannot read
|
|
2927
2978
|
* package.json at runtime.
|
|
2928
2979
|
*/
|
|
2929
|
-
declare const SDK_VERSION = "1.
|
|
2980
|
+
declare const SDK_VERSION = "1.17.0";
|
|
2930
2981
|
|
|
2931
2982
|
type BoardUser = Schemas['BoardUser'];
|
|
2932
2983
|
type BoardAuthSession = Schemas['BoardAuthSession'];
|
|
@@ -3085,6 +3136,20 @@ type TalentDirectoryQuery = {
|
|
|
3085
3136
|
};
|
|
3086
3137
|
type TalentDirectoryListEnvelope = ListEnvelope<TalentDirectoryEntry>;
|
|
3087
3138
|
|
|
3139
|
+
/**
|
|
3140
|
+
* A board plan (employer pricing). `purpose` is `job_posting` or
|
|
3141
|
+
* `talent_access`; talent-access plans carry a `talent` allowance block.
|
|
3142
|
+
*/
|
|
3143
|
+
type Plan = Schemas['Plan'];
|
|
3144
|
+
/** A sales-led ("contact us") plan — a custom CTA tier with no programmatic price. */
|
|
3145
|
+
type SalesLedPlan = Schemas['SalesLedPlan'];
|
|
3146
|
+
type PlansListQuery = {
|
|
3147
|
+
/** Filter to a single purpose. Omit to return all public plans. */
|
|
3148
|
+
purpose?: 'job_posting' | 'talent_access';
|
|
3149
|
+
};
|
|
3150
|
+
type PlanListEnvelope = ListEnvelope<Plan>;
|
|
3151
|
+
type SalesLedPlanListEnvelope = ListEnvelope<SalesLedPlan>;
|
|
3152
|
+
|
|
3088
3153
|
type SavedJob = Schemas['SavedJob'];
|
|
3089
3154
|
type SavedJobsListQuery = {
|
|
3090
3155
|
cursor?: string;
|
|
@@ -4516,7 +4581,11 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4516
4581
|
}[];
|
|
4517
4582
|
}>;
|
|
4518
4583
|
};
|
|
4584
|
+
plans: {
|
|
4585
|
+
list(query?: PlansListQuery, options?: FetchOptions): Promise<PlanListEnvelope>;
|
|
4586
|
+
salesLed(options?: FetchOptions): Promise<SalesLedPlanListEnvelope>;
|
|
4587
|
+
};
|
|
4519
4588
|
};
|
|
4520
4589
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
4521
4590
|
|
|
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 };
|
|
4591
|
+
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 Plan, type PlanListEnvelope, type PlansListQuery, 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 SalesLedPlan, type SalesLedPlanListEnvelope, 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
|
@@ -1452,6 +1452,43 @@ interface components {
|
|
|
1452
1452
|
[key: string]: unknown;
|
|
1453
1453
|
};
|
|
1454
1454
|
};
|
|
1455
|
+
Plan: {
|
|
1456
|
+
/** @enum {string} */
|
|
1457
|
+
object: "plan";
|
|
1458
|
+
id: string;
|
|
1459
|
+
name: string;
|
|
1460
|
+
description: string | null;
|
|
1461
|
+
/** @enum {string} */
|
|
1462
|
+
purpose: "job_posting" | "talent_access";
|
|
1463
|
+
/** @enum {string} */
|
|
1464
|
+
kind: "free" | "subscription" | "one_time" | "bundle";
|
|
1465
|
+
/** @enum {string|null} */
|
|
1466
|
+
billingInterval: "month" | "year" | null;
|
|
1467
|
+
isRecommended: boolean;
|
|
1468
|
+
displayOrder: number;
|
|
1469
|
+
invoiceOnly: boolean;
|
|
1470
|
+
/** @enum {string|null} */
|
|
1471
|
+
publishTiming: "on_issue" | "on_payment" | null;
|
|
1472
|
+
netTermsDays: number | null;
|
|
1473
|
+
price: {
|
|
1474
|
+
currency: string;
|
|
1475
|
+
amountCents: number;
|
|
1476
|
+
/** @description The public Stripe Price id used to start checkout. */
|
|
1477
|
+
stripePriceId: string | null;
|
|
1478
|
+
} | null;
|
|
1479
|
+
featureSummary: {
|
|
1480
|
+
durationDays: number;
|
|
1481
|
+
maxActiveJobs: number;
|
|
1482
|
+
featuredSlots: number;
|
|
1483
|
+
/** @enum {string} */
|
|
1484
|
+
featureSelectionMode: "auto" | "manual";
|
|
1485
|
+
};
|
|
1486
|
+
/** @description Talent-access allowances (per billing period). Present only when `purpose` is `talent_access`. `"unlimited"` is a sentinel value. */
|
|
1487
|
+
talent?: {
|
|
1488
|
+
unlocksPerPeriod: string;
|
|
1489
|
+
messagesPerPeriod: string;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1455
1492
|
PublicBlogAdjacentPosts: {
|
|
1456
1493
|
/** @enum {string} */
|
|
1457
1494
|
object: "blog_adjacent_posts";
|
|
@@ -1993,6 +2030,20 @@ interface components {
|
|
|
1993
2030
|
jobCount: number;
|
|
1994
2031
|
currency: string;
|
|
1995
2032
|
};
|
|
2033
|
+
SalesLedPlan: {
|
|
2034
|
+
/** @enum {string} */
|
|
2035
|
+
object: "sales_led_plan";
|
|
2036
|
+
id: string;
|
|
2037
|
+
name: string;
|
|
2038
|
+
description: string;
|
|
2039
|
+
/** @description Display price text, e.g. "Contact us". */
|
|
2040
|
+
priceText: string;
|
|
2041
|
+
ctaText: string;
|
|
2042
|
+
/** @description The CTA target — a URL, mailto:, or tel: link. */
|
|
2043
|
+
ctaDestination: string;
|
|
2044
|
+
featuredBullets: string[];
|
|
2045
|
+
displayOrder: number;
|
|
2046
|
+
};
|
|
1996
2047
|
SaveJobBody: {
|
|
1997
2048
|
jobId: string;
|
|
1998
2049
|
};
|
|
@@ -2926,7 +2977,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
|
|
|
2926
2977
|
* constant because the package is platform-neutral and cannot read
|
|
2927
2978
|
* package.json at runtime.
|
|
2928
2979
|
*/
|
|
2929
|
-
declare const SDK_VERSION = "1.
|
|
2980
|
+
declare const SDK_VERSION = "1.17.0";
|
|
2930
2981
|
|
|
2931
2982
|
type BoardUser = Schemas['BoardUser'];
|
|
2932
2983
|
type BoardAuthSession = Schemas['BoardAuthSession'];
|
|
@@ -3085,6 +3136,20 @@ type TalentDirectoryQuery = {
|
|
|
3085
3136
|
};
|
|
3086
3137
|
type TalentDirectoryListEnvelope = ListEnvelope<TalentDirectoryEntry>;
|
|
3087
3138
|
|
|
3139
|
+
/**
|
|
3140
|
+
* A board plan (employer pricing). `purpose` is `job_posting` or
|
|
3141
|
+
* `talent_access`; talent-access plans carry a `talent` allowance block.
|
|
3142
|
+
*/
|
|
3143
|
+
type Plan = Schemas['Plan'];
|
|
3144
|
+
/** A sales-led ("contact us") plan — a custom CTA tier with no programmatic price. */
|
|
3145
|
+
type SalesLedPlan = Schemas['SalesLedPlan'];
|
|
3146
|
+
type PlansListQuery = {
|
|
3147
|
+
/** Filter to a single purpose. Omit to return all public plans. */
|
|
3148
|
+
purpose?: 'job_posting' | 'talent_access';
|
|
3149
|
+
};
|
|
3150
|
+
type PlanListEnvelope = ListEnvelope<Plan>;
|
|
3151
|
+
type SalesLedPlanListEnvelope = ListEnvelope<SalesLedPlan>;
|
|
3152
|
+
|
|
3088
3153
|
type SavedJob = Schemas['SavedJob'];
|
|
3089
3154
|
type SavedJobsListQuery = {
|
|
3090
3155
|
cursor?: string;
|
|
@@ -4516,7 +4581,11 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4516
4581
|
}[];
|
|
4517
4582
|
}>;
|
|
4518
4583
|
};
|
|
4584
|
+
plans: {
|
|
4585
|
+
list(query?: PlansListQuery, options?: FetchOptions): Promise<PlanListEnvelope>;
|
|
4586
|
+
salesLed(options?: FetchOptions): Promise<SalesLedPlanListEnvelope>;
|
|
4587
|
+
};
|
|
4519
4588
|
};
|
|
4520
4589
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
4521
4590
|
|
|
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 };
|
|
4591
|
+
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 Plan, type PlanListEnvelope, type PlansListQuery, 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 SalesLedPlan, type SalesLedPlanListEnvelope, 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.
|
|
152
|
+
var SDK_VERSION = "1.17.0";
|
|
153
153
|
|
|
154
154
|
// src/client.ts
|
|
155
155
|
function isRawBody(body) {
|
|
@@ -911,6 +911,36 @@ function passwordNamespace(client) {
|
|
|
911
911
|
};
|
|
912
912
|
}
|
|
913
913
|
|
|
914
|
+
// src/namespaces/plans.ts
|
|
915
|
+
function plansNamespace(client) {
|
|
916
|
+
return {
|
|
917
|
+
/**
|
|
918
|
+
* List the board's public plans (employer pricing) — job-posting +
|
|
919
|
+
* talent-access plans as a flat list, filterable by `purpose`. Group by
|
|
920
|
+
* `purpose` to render the pricing columns.
|
|
921
|
+
*
|
|
922
|
+
* @example
|
|
923
|
+
* const { data } = await board.plans.list({ purpose: 'talent_access' });
|
|
924
|
+
*/
|
|
925
|
+
list(query, options) {
|
|
926
|
+
return client.fetch("/plans", { ...options, query });
|
|
927
|
+
},
|
|
928
|
+
/**
|
|
929
|
+
* List the board's sales-led ("contact us") plans — custom marketing tiers
|
|
930
|
+
* with a CTA destination and no programmatic price.
|
|
931
|
+
*
|
|
932
|
+
* @example
|
|
933
|
+
* const { data } = await board.plans.salesLed();
|
|
934
|
+
*/
|
|
935
|
+
salesLed(options) {
|
|
936
|
+
return client.fetch(
|
|
937
|
+
"/sales-led-plans",
|
|
938
|
+
options
|
|
939
|
+
);
|
|
940
|
+
}
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
|
|
914
944
|
// src/namespaces/redirects.ts
|
|
915
945
|
function redirectsNamespace(client) {
|
|
916
946
|
return {
|
|
@@ -1156,6 +1186,7 @@ function createBoardClient(options) {
|
|
|
1156
1186
|
jobAlerts: jobAlertsNamespace(client),
|
|
1157
1187
|
jobPosting: jobPostingNamespace(client),
|
|
1158
1188
|
salaries: salariesNamespace(client),
|
|
1159
|
-
talent: talentNamespace(client)
|
|
1189
|
+
talent: talentNamespace(client),
|
|
1190
|
+
plans: plansNamespace(client)
|
|
1160
1191
|
};
|
|
1161
1192
|
}
|
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.
|
|
112
|
+
var SDK_VERSION = "1.17.0";
|
|
113
113
|
|
|
114
114
|
// src/client.ts
|
|
115
115
|
function isRawBody(body) {
|
|
@@ -871,6 +871,36 @@ function passwordNamespace(client) {
|
|
|
871
871
|
};
|
|
872
872
|
}
|
|
873
873
|
|
|
874
|
+
// src/namespaces/plans.ts
|
|
875
|
+
function plansNamespace(client) {
|
|
876
|
+
return {
|
|
877
|
+
/**
|
|
878
|
+
* List the board's public plans (employer pricing) — job-posting +
|
|
879
|
+
* talent-access plans as a flat list, filterable by `purpose`. Group by
|
|
880
|
+
* `purpose` to render the pricing columns.
|
|
881
|
+
*
|
|
882
|
+
* @example
|
|
883
|
+
* const { data } = await board.plans.list({ purpose: 'talent_access' });
|
|
884
|
+
*/
|
|
885
|
+
list(query, options) {
|
|
886
|
+
return client.fetch("/plans", { ...options, query });
|
|
887
|
+
},
|
|
888
|
+
/**
|
|
889
|
+
* List the board's sales-led ("contact us") plans — custom marketing tiers
|
|
890
|
+
* with a CTA destination and no programmatic price.
|
|
891
|
+
*
|
|
892
|
+
* @example
|
|
893
|
+
* const { data } = await board.plans.salesLed();
|
|
894
|
+
*/
|
|
895
|
+
salesLed(options) {
|
|
896
|
+
return client.fetch(
|
|
897
|
+
"/sales-led-plans",
|
|
898
|
+
options
|
|
899
|
+
);
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
|
|
874
904
|
// src/namespaces/redirects.ts
|
|
875
905
|
function redirectsNamespace(client) {
|
|
876
906
|
return {
|
|
@@ -1116,7 +1146,8 @@ function createBoardClient(options) {
|
|
|
1116
1146
|
jobAlerts: jobAlertsNamespace(client),
|
|
1117
1147
|
jobPosting: jobPostingNamespace(client),
|
|
1118
1148
|
salaries: salariesNamespace(client),
|
|
1119
|
-
talent: talentNamespace(client)
|
|
1149
|
+
talent: talentNamespace(client),
|
|
1150
|
+
plans: plansNamespace(client)
|
|
1120
1151
|
};
|
|
1121
1152
|
}
|
|
1122
1153
|
export {
|
package/package.json
CHANGED
package/skills/manifest.json
CHANGED