@cavuno/board 1.24.0 → 1.25.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 +32 -6
- package/dist/index.d.ts +32 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/skills/manifest.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1129,16 +1129,16 @@ interface components {
|
|
|
1129
1129
|
name: string;
|
|
1130
1130
|
};
|
|
1131
1131
|
CustomFieldDefinition: {
|
|
1132
|
-
/** @description Immutable per-board slug.
|
|
1132
|
+
/** @description Immutable per-board slug. The key in a job’s `customFieldValues`, and the frontend translation token (`customField.<key>.*`). */
|
|
1133
1133
|
key: string;
|
|
1134
1134
|
/** @description Authoring-default label; the localized public string lives in the board template. */
|
|
1135
1135
|
label: string;
|
|
1136
1136
|
/**
|
|
1137
|
-
* @description Field type, which dictates the
|
|
1137
|
+
* @description Field type, which dictates the value: `short_text`/`long_text` → string; `single_select` → one option key; `multi_select` → array of option keys; `boolean` → boolean; `number` → number.
|
|
1138
1138
|
* @enum {string}
|
|
1139
1139
|
*/
|
|
1140
1140
|
type: "short_text" | "long_text" | "single_select" | "multi_select" | "boolean" | "number";
|
|
1141
|
-
/** @description Present only for `single_select`/`multi_select`. A
|
|
1141
|
+
/** @description Present only for `single_select`/`multi_select`. A stored value is one (or, for multi, several) of these option `key`s — never a label. */
|
|
1142
1142
|
options?: components["schemas"]["CustomFieldOption"][];
|
|
1143
1143
|
/** @description When true, the value cannot be cleared or left empty on a write (rejected with `custom_field_required`). */
|
|
1144
1144
|
required: boolean;
|
|
@@ -1148,7 +1148,7 @@ interface components {
|
|
|
1148
1148
|
max?: number;
|
|
1149
1149
|
};
|
|
1150
1150
|
CustomFieldOption: {
|
|
1151
|
-
/** @description Stable option key —
|
|
1151
|
+
/** @description Stable option key — the value stored on a job, not the label. */
|
|
1152
1152
|
key: string;
|
|
1153
1153
|
/** @description Display label (authoring default; localized per board in the template). */
|
|
1154
1154
|
label: string;
|
|
@@ -2417,6 +2417,8 @@ interface components {
|
|
|
2417
2417
|
};
|
|
2418
2418
|
};
|
|
2419
2419
|
} | null;
|
|
2420
|
+
/** @description Operator-defined custom job-field definitions (CAV-294), in display order. Board-wide; the frontend uses these to render and localize each job's opaque `customFieldValues`. Empty when the board defines none. Display-only — not filterable or searchable in v1. */
|
|
2421
|
+
customFields: components["schemas"]["CustomFieldDefinition"][];
|
|
2420
2422
|
};
|
|
2421
2423
|
PublicCompaniesSearchBody: {
|
|
2422
2424
|
/** @description Free-text search query matched against company name. Up to 200 characters. */
|
|
@@ -2551,6 +2553,10 @@ interface components {
|
|
|
2551
2553
|
slug: string;
|
|
2552
2554
|
name: string;
|
|
2553
2555
|
}[];
|
|
2556
|
+
/** @description Opaque, display-only custom-field values (CAV-294), keyed by each field's `key`. Values are the option `key`(s) for select fields, or the raw boolean/number/text otherwise — resolve labels via the board's `customFields` definitions (see `GET /v1/boards/:identifier`). `{}` when the board defines no custom fields. Not filterable or searchable in v1. */
|
|
2557
|
+
customFieldValues: {
|
|
2558
|
+
[key: string]: string | string[] | boolean | number;
|
|
2559
|
+
};
|
|
2554
2560
|
};
|
|
2555
2561
|
PublicJobAlertConfirmation: {
|
|
2556
2562
|
/** @enum {string} */
|
|
@@ -3843,7 +3849,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
|
|
|
3843
3849
|
* constant because the package is platform-neutral and cannot read
|
|
3844
3850
|
* package.json at runtime.
|
|
3845
3851
|
*/
|
|
3846
|
-
declare const SDK_VERSION = "1.
|
|
3852
|
+
declare const SDK_VERSION = "1.25.0";
|
|
3847
3853
|
|
|
3848
3854
|
type Schemas = components['schemas'];
|
|
3849
3855
|
|
|
@@ -3869,6 +3875,15 @@ type PublicBoard = Schemas['PublicBoardContext'];
|
|
|
3869
3875
|
type PublicBoardFeatures = PublicBoard['features'];
|
|
3870
3876
|
type PublicBoardAnalytics = PublicBoard['analytics'];
|
|
3871
3877
|
type PublicBoardTheme = NonNullable<PublicBoard['theme']>;
|
|
3878
|
+
/**
|
|
3879
|
+
* An operator-defined custom job-field definition (CAV-294). Board-wide;
|
|
3880
|
+
* use it to render and localize a job's opaque `customFieldValues` (resolve
|
|
3881
|
+
* option `key`s → labels, honour field `type` and display order). Shared with
|
|
3882
|
+
* the Operator API's custom-field surface (one canonical schema).
|
|
3883
|
+
*/
|
|
3884
|
+
type CustomFieldDefinition = Schemas['CustomFieldDefinition'];
|
|
3885
|
+
type CustomFieldType = CustomFieldDefinition['type'];
|
|
3886
|
+
type CustomFieldOption = Schemas['CustomFieldOption'];
|
|
3872
3887
|
|
|
3873
3888
|
/**
|
|
3874
3889
|
* The public SEO-infra payload (`board.seo()`) — the values a headless
|
|
@@ -3916,6 +3931,13 @@ interface SearchEnvelope<T> extends StorefrontPagination {
|
|
|
3916
3931
|
|
|
3917
3932
|
type PublicJob = Schemas['PublicJob'];
|
|
3918
3933
|
type PublicJobCard = Schemas['PublicJobCard'];
|
|
3934
|
+
/**
|
|
3935
|
+
* A job's opaque, display-only custom-field values (CAV-294), keyed by each
|
|
3936
|
+
* field's `key`. Resolve labels via the board's `CustomFieldDefinition`s
|
|
3937
|
+
* (`board.context().customFields`).
|
|
3938
|
+
*/
|
|
3939
|
+
type CustomFieldValues = PublicJob['customFieldValues'];
|
|
3940
|
+
type CustomFieldValue = CustomFieldValues[string];
|
|
3919
3941
|
type JobCompany = Schemas['JobCompany'];
|
|
3920
3942
|
type OfficeLocation = Schemas['JobOfficeLocation'];
|
|
3921
3943
|
type RemoteOption = NonNullable<PublicJob['remoteOption']>;
|
|
@@ -4523,6 +4545,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4523
4545
|
};
|
|
4524
4546
|
};
|
|
4525
4547
|
} | null;
|
|
4548
|
+
customFields: components["schemas"]["CustomFieldDefinition"][];
|
|
4526
4549
|
}>;
|
|
4527
4550
|
/**
|
|
4528
4551
|
* Board SEO infra — `ads.txt`, IndexNow key, Google site-verification, and
|
|
@@ -4608,6 +4631,9 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4608
4631
|
slug: string;
|
|
4609
4632
|
name: string;
|
|
4610
4633
|
}[];
|
|
4634
|
+
customFieldValues: {
|
|
4635
|
+
[key: string]: string | string[] | boolean | number;
|
|
4636
|
+
};
|
|
4611
4637
|
}>;
|
|
4612
4638
|
search(body: JobsSearchBody, query?: Record<string, never>, options?: FetchOptions): Promise<JobCardSearchEnvelope>;
|
|
4613
4639
|
similar(jobSlug: string, query?: JobsSimilarQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
@@ -6722,4 +6748,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
6722
6748
|
};
|
|
6723
6749
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
6724
6750
|
|
|
6725
|
-
export { ACCESS_TOKEN_KEY, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyBody, type Awaitable, BOARD_ACCESS_GRANT_KEY, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, 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 BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, type CompaniesListQuery, type CompaniesSearchBody, type CompanyCategorySalary, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanyMembership, type CompanySalary, type CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CustomStorage, type EditMessageBody, type EducationRequirement, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmploymentType, type FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobSort, type JobsListQuery, type JobsSearchBody, type JobsSimilarQuery, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, type OfficeLocation, type PaywallOffer, type PaywallOfferListEnvelope, 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 ReadReceipt, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, 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 SendWorkEmailBody, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StartAboutApplicationBody, type StartConversationBody, type StorageMode, type StorefrontPagination, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyResolution, type ThreadMessagesQuery, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePipelineStageBody, type UpdateSkillsBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
|
|
6751
|
+
export { ACCESS_TOKEN_KEY, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyBody, type Awaitable, BOARD_ACCESS_GRANT_KEY, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, 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 BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, type CompaniesListQuery, type CompaniesSearchBody, type CompanyCategorySalary, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanyMembership, type CompanySalary, type CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CustomFieldDefinition, type CustomFieldOption, type CustomFieldType, type CustomFieldValue, type CustomFieldValues, type CustomStorage, type EditMessageBody, type EducationRequirement, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmploymentType, type FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobSort, type JobsListQuery, type JobsSearchBody, type JobsSimilarQuery, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, type OfficeLocation, type PaywallOffer, type PaywallOfferListEnvelope, 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 ReadReceipt, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, 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 SendWorkEmailBody, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StartAboutApplicationBody, type StartConversationBody, type StorageMode, type StorefrontPagination, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyResolution, type ThreadMessagesQuery, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePipelineStageBody, type UpdateSkillsBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
|
package/dist/index.d.ts
CHANGED
|
@@ -1129,16 +1129,16 @@ interface components {
|
|
|
1129
1129
|
name: string;
|
|
1130
1130
|
};
|
|
1131
1131
|
CustomFieldDefinition: {
|
|
1132
|
-
/** @description Immutable per-board slug.
|
|
1132
|
+
/** @description Immutable per-board slug. The key in a job’s `customFieldValues`, and the frontend translation token (`customField.<key>.*`). */
|
|
1133
1133
|
key: string;
|
|
1134
1134
|
/** @description Authoring-default label; the localized public string lives in the board template. */
|
|
1135
1135
|
label: string;
|
|
1136
1136
|
/**
|
|
1137
|
-
* @description Field type, which dictates the
|
|
1137
|
+
* @description Field type, which dictates the value: `short_text`/`long_text` → string; `single_select` → one option key; `multi_select` → array of option keys; `boolean` → boolean; `number` → number.
|
|
1138
1138
|
* @enum {string}
|
|
1139
1139
|
*/
|
|
1140
1140
|
type: "short_text" | "long_text" | "single_select" | "multi_select" | "boolean" | "number";
|
|
1141
|
-
/** @description Present only for `single_select`/`multi_select`. A
|
|
1141
|
+
/** @description Present only for `single_select`/`multi_select`. A stored value is one (or, for multi, several) of these option `key`s — never a label. */
|
|
1142
1142
|
options?: components["schemas"]["CustomFieldOption"][];
|
|
1143
1143
|
/** @description When true, the value cannot be cleared or left empty on a write (rejected with `custom_field_required`). */
|
|
1144
1144
|
required: boolean;
|
|
@@ -1148,7 +1148,7 @@ interface components {
|
|
|
1148
1148
|
max?: number;
|
|
1149
1149
|
};
|
|
1150
1150
|
CustomFieldOption: {
|
|
1151
|
-
/** @description Stable option key —
|
|
1151
|
+
/** @description Stable option key — the value stored on a job, not the label. */
|
|
1152
1152
|
key: string;
|
|
1153
1153
|
/** @description Display label (authoring default; localized per board in the template). */
|
|
1154
1154
|
label: string;
|
|
@@ -2417,6 +2417,8 @@ interface components {
|
|
|
2417
2417
|
};
|
|
2418
2418
|
};
|
|
2419
2419
|
} | null;
|
|
2420
|
+
/** @description Operator-defined custom job-field definitions (CAV-294), in display order. Board-wide; the frontend uses these to render and localize each job's opaque `customFieldValues`. Empty when the board defines none. Display-only — not filterable or searchable in v1. */
|
|
2421
|
+
customFields: components["schemas"]["CustomFieldDefinition"][];
|
|
2420
2422
|
};
|
|
2421
2423
|
PublicCompaniesSearchBody: {
|
|
2422
2424
|
/** @description Free-text search query matched against company name. Up to 200 characters. */
|
|
@@ -2551,6 +2553,10 @@ interface components {
|
|
|
2551
2553
|
slug: string;
|
|
2552
2554
|
name: string;
|
|
2553
2555
|
}[];
|
|
2556
|
+
/** @description Opaque, display-only custom-field values (CAV-294), keyed by each field's `key`. Values are the option `key`(s) for select fields, or the raw boolean/number/text otherwise — resolve labels via the board's `customFields` definitions (see `GET /v1/boards/:identifier`). `{}` when the board defines no custom fields. Not filterable or searchable in v1. */
|
|
2557
|
+
customFieldValues: {
|
|
2558
|
+
[key: string]: string | string[] | boolean | number;
|
|
2559
|
+
};
|
|
2554
2560
|
};
|
|
2555
2561
|
PublicJobAlertConfirmation: {
|
|
2556
2562
|
/** @enum {string} */
|
|
@@ -3843,7 +3849,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
|
|
|
3843
3849
|
* constant because the package is platform-neutral and cannot read
|
|
3844
3850
|
* package.json at runtime.
|
|
3845
3851
|
*/
|
|
3846
|
-
declare const SDK_VERSION = "1.
|
|
3852
|
+
declare const SDK_VERSION = "1.25.0";
|
|
3847
3853
|
|
|
3848
3854
|
type Schemas = components['schemas'];
|
|
3849
3855
|
|
|
@@ -3869,6 +3875,15 @@ type PublicBoard = Schemas['PublicBoardContext'];
|
|
|
3869
3875
|
type PublicBoardFeatures = PublicBoard['features'];
|
|
3870
3876
|
type PublicBoardAnalytics = PublicBoard['analytics'];
|
|
3871
3877
|
type PublicBoardTheme = NonNullable<PublicBoard['theme']>;
|
|
3878
|
+
/**
|
|
3879
|
+
* An operator-defined custom job-field definition (CAV-294). Board-wide;
|
|
3880
|
+
* use it to render and localize a job's opaque `customFieldValues` (resolve
|
|
3881
|
+
* option `key`s → labels, honour field `type` and display order). Shared with
|
|
3882
|
+
* the Operator API's custom-field surface (one canonical schema).
|
|
3883
|
+
*/
|
|
3884
|
+
type CustomFieldDefinition = Schemas['CustomFieldDefinition'];
|
|
3885
|
+
type CustomFieldType = CustomFieldDefinition['type'];
|
|
3886
|
+
type CustomFieldOption = Schemas['CustomFieldOption'];
|
|
3872
3887
|
|
|
3873
3888
|
/**
|
|
3874
3889
|
* The public SEO-infra payload (`board.seo()`) — the values a headless
|
|
@@ -3916,6 +3931,13 @@ interface SearchEnvelope<T> extends StorefrontPagination {
|
|
|
3916
3931
|
|
|
3917
3932
|
type PublicJob = Schemas['PublicJob'];
|
|
3918
3933
|
type PublicJobCard = Schemas['PublicJobCard'];
|
|
3934
|
+
/**
|
|
3935
|
+
* A job's opaque, display-only custom-field values (CAV-294), keyed by each
|
|
3936
|
+
* field's `key`. Resolve labels via the board's `CustomFieldDefinition`s
|
|
3937
|
+
* (`board.context().customFields`).
|
|
3938
|
+
*/
|
|
3939
|
+
type CustomFieldValues = PublicJob['customFieldValues'];
|
|
3940
|
+
type CustomFieldValue = CustomFieldValues[string];
|
|
3919
3941
|
type JobCompany = Schemas['JobCompany'];
|
|
3920
3942
|
type OfficeLocation = Schemas['JobOfficeLocation'];
|
|
3921
3943
|
type RemoteOption = NonNullable<PublicJob['remoteOption']>;
|
|
@@ -4523,6 +4545,7 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4523
4545
|
};
|
|
4524
4546
|
};
|
|
4525
4547
|
} | null;
|
|
4548
|
+
customFields: components["schemas"]["CustomFieldDefinition"][];
|
|
4526
4549
|
}>;
|
|
4527
4550
|
/**
|
|
4528
4551
|
* Board SEO infra — `ads.txt`, IndexNow key, Google site-verification, and
|
|
@@ -4608,6 +4631,9 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
4608
4631
|
slug: string;
|
|
4609
4632
|
name: string;
|
|
4610
4633
|
}[];
|
|
4634
|
+
customFieldValues: {
|
|
4635
|
+
[key: string]: string | string[] | boolean | number;
|
|
4636
|
+
};
|
|
4611
4637
|
}>;
|
|
4612
4638
|
search(body: JobsSearchBody, query?: Record<string, never>, options?: FetchOptions): Promise<JobCardSearchEnvelope>;
|
|
4613
4639
|
similar(jobSlug: string, query?: JobsSimilarQuery, options?: FetchOptions): Promise<ListEnvelope<{
|
|
@@ -6722,4 +6748,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
|
|
|
6722
6748
|
};
|
|
6723
6749
|
type BoardSdk = ReturnType<typeof createBoardClient>;
|
|
6724
6750
|
|
|
6725
|
-
export { ACCESS_TOKEN_KEY, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyBody, type Awaitable, BOARD_ACCESS_GRANT_KEY, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, 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 BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, type CompaniesListQuery, type CompaniesSearchBody, type CompanyCategorySalary, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanyMembership, type CompanySalary, type CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CustomStorage, type EditMessageBody, type EducationRequirement, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmploymentType, type FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobSort, type JobsListQuery, type JobsSearchBody, type JobsSimilarQuery, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, type OfficeLocation, type PaywallOffer, type PaywallOfferListEnvelope, 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 ReadReceipt, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, 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 SendWorkEmailBody, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StartAboutApplicationBody, type StartConversationBody, type StorageMode, type StorefrontPagination, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyResolution, type ThreadMessagesQuery, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePipelineStageBody, type UpdateSkillsBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
|
|
6751
|
+
export { ACCESS_TOKEN_KEY, type AccessCheckoutBody, type AccessCheckoutSession, type AccessCheckoutSessionState, type AccessGrant, type AccessPortalBody, type AccessPortalSession, type AddApplicantNoteBody, type Alert, type AlertBody, type Application, type ApplicationsListQuery, type ApplyBody, type Awaitable, BOARD_ACCESS_GRANT_KEY, type Block, type BlockStatus, type BlockUserBody, type BlockedUser, 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 BulkMoveApplicantsBody, type BulkRejectApplicantsBody, type CandidateAvatar, type CandidateEducation, type CandidateExperience, type CandidateLanguage, type CandidateProfile, type CandidateSkill, type ClaimableCompany, type CompaniesListQuery, type CompaniesSearchBody, type CompanyCategorySalary, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanyMembership, type CompanySalary, type CompanySimilarQuery, type ConfirmWorkEmailBody, type ConsumeMagicLinkBody, type Conversation, type ConversationArchive, type ConversationDetail, type ConversationRef, type ConversationsListQuery, type CreateBoardClientOptions, type CreateCompanyBody, type CreateEducationBody, type CreateEmployerJobBody, type CreateExperienceBody, type CreateJobPostingInput, type CreatePipelineStageBody, type CustomFieldDefinition, type CustomFieldOption, type CustomFieldType, type CustomFieldValue, type CustomFieldValues, type CustomStorage, type EditMessageBody, type EducationRequirement, type EmbedJobsQuery, type EmployerApplicant, type EmployerBillingOption, type EmployerCheckout, type EmployerCheckoutBody, type EmployerCompany, type EmployerCompanySearchQuery, type EmployerJob, type EmployerJobSummary, type EmployerJobsListQuery, type EmployerPipeline, type EmployerPipelineQuery, type EmployerPipelineStage, type EmploymentType, type FetchOptions, type FindExistingConversationQuery, type ForgotPasswordBody, type HandleAvailability, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingLogoResult, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobSort, type JobsListQuery, type JobsSearchBody, type JobsSimilarQuery, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type Message, type ModerationReport, type MoveApplicantStageBody, type NotificationPreference, type OAuthAuthorizationQuery, type OAuthAuthorizationUrl, type OAuthExchangeBody, type OAuthProvider, type OfficeLocation, type PaywallOffer, type PaywallOfferListEnvelope, 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 ReadReceipt, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ReorderPipelineStagesBody, type ReplyBody, type ReportBody, type RequestMagicLinkBody, type ResetPasswordBody, type Resume, type ResumeUploadOptions, 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 SendWorkEmailBody, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StartAboutApplicationBody, type StartConversationBody, type StorageMode, type StorefrontPagination, type TalentDirectoryEntry, type TalentDirectoryListEnvelope, type TalentDirectoryQuery, type TalentProfile, type TaxonomyGeo, type TaxonomyResolution, type ThreadMessagesQuery, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type UnreadCount, type UnsubscribeBody, type UpdateApplicationFactsBody, type UpdateCandidateProfileBody, type UpdateEducationBody, type UpdateEmployerCompanyBody, type UpdateEmployerJobBody, type UpdateExperienceBody, type UpdateLanguagesBody, type UpdateNotificationPreferenceBody, type UpdatePipelineStageBody, type UpdateSkillsBody, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
package/skills/manifest.json
CHANGED