@cavuno/board 1.12.0 → 1.13.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
@@ -891,6 +891,45 @@ interface components {
891
891
  /** @description Free-form location string (e.g. `"Berlin, Germany"`, `"Mountain View, California, USA"`). Mapbox parses + ranks candidates server-side; rejects on low confidence. */
892
892
  query: string;
893
893
  };
894
+ JobPostingBillingCheck: {
895
+ /** @enum {string} */
896
+ object: "job_posting_billing_check";
897
+ hasActiveBilling: boolean;
898
+ };
899
+ JobPostingBillingOptions: {
900
+ /** @enum {string} */
901
+ object: "job_posting_billing_options";
902
+ options: {
903
+ id: string;
904
+ type: string;
905
+ planId: string;
906
+ planName: string;
907
+ planKind: string;
908
+ capacities: {
909
+ key: string;
910
+ total: number;
911
+ used: number;
912
+ remaining: number;
913
+ }[];
914
+ jobsRemaining: number;
915
+ jobsTotal: number;
916
+ featuredRemaining: number;
917
+ featuredTotal: number;
918
+ renewsAt: string | null;
919
+ }[];
920
+ };
921
+ JobPostingBillingOptionsBody: {
922
+ verificationToken: string;
923
+ };
924
+ JobPostingBillingVerification: {
925
+ /** @enum {string} */
926
+ object: "job_posting_billing_verification";
927
+ success: boolean;
928
+ };
929
+ JobPostingCheckBillingBody: {
930
+ /** Format: email */
931
+ email: string;
932
+ };
894
933
  JobPostingPlan: {
895
934
  /** @enum {string} */
896
935
  object: "job_posting_plan";
@@ -945,6 +984,27 @@ interface components {
945
984
  status: "invoice_sent";
946
985
  jobId: string;
947
986
  };
987
+ JobPostingSendVerificationBody: {
988
+ /** Format: email */
989
+ email: string;
990
+ };
991
+ JobPostingSubscriptionEntitlements: {
992
+ /** @enum {string} */
993
+ object: "job_posting_subscription_entitlements";
994
+ hasSubscription: boolean;
995
+ subscriptionId: string | null;
996
+ canFeature: boolean | null;
997
+ featuredSlotsRemaining: number | null;
998
+ featuredSlotsTotal: number | null;
999
+ maxActiveRemaining: number | null;
1000
+ maxActiveTotal: number | null;
1001
+ featureSelectionMode: string | null;
1002
+ };
1003
+ JobPostingSubscriptionEntitlementsBody: {
1004
+ /** Format: email */
1005
+ email: string;
1006
+ planId: string;
1007
+ };
948
1008
  JobSummary: {
949
1009
  /** @description Unique identifier for the object. Use this value as the `{id}` path parameter for the job endpoints (e.g. `GET /v1/jobs/{id}`). */
950
1010
  id: string;
@@ -2686,7 +2746,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
2686
2746
  * constant because the package is platform-neutral and cannot read
2687
2747
  * package.json at runtime.
2688
2748
  */
2689
- declare const SDK_VERSION = "1.12.0";
2749
+ declare const SDK_VERSION = "1.13.0";
2690
2750
 
2691
2751
  type BoardUser = Schemas['BoardUser'];
2692
2752
  type BoardAuthSession = Schemas['BoardAuthSession'];
@@ -2894,6 +2954,10 @@ type CreateJobPostingInput = Schemas['CreateJobPostingBody'];
2894
2954
  * `invoice_sent`. A rejected submission throws a `BoardApiError` instead.
2895
2955
  */
2896
2956
  type JobPostingResult = Schemas['JobPostingResult'];
2957
+ type JobPostingBillingCheck = Schemas['JobPostingBillingCheck'];
2958
+ type JobPostingBillingVerification = Schemas['JobPostingBillingVerification'];
2959
+ type JobPostingBillingOptions = Schemas['JobPostingBillingOptions'];
2960
+ type JobPostingSubscriptionEntitlements = Schemas['JobPostingSubscriptionEntitlements'];
2897
2961
 
2898
2962
  type TaxonomyGeo = Schemas['TaxonomyGeo'];
2899
2963
  type TaxonomyResolution = Schemas['PublicTaxonomyResolution'];
@@ -3600,6 +3664,55 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3600
3664
  status: "invoice_sent";
3601
3665
  jobId: string;
3602
3666
  }>;
3667
+ checkBilling(input: {
3668
+ email: string;
3669
+ }, options?: FetchOptions): Promise<{
3670
+ object: "job_posting_billing_check";
3671
+ hasActiveBilling: boolean;
3672
+ }>;
3673
+ sendBillingVerification(input: {
3674
+ email: string;
3675
+ }, options?: FetchOptions): Promise<{
3676
+ object: "job_posting_billing_verification";
3677
+ success: boolean;
3678
+ }>;
3679
+ getBillingOptions(input: {
3680
+ verificationToken: string;
3681
+ }, options?: FetchOptions): Promise<{
3682
+ object: "job_posting_billing_options";
3683
+ options: {
3684
+ id: string;
3685
+ type: string;
3686
+ planId: string;
3687
+ planName: string;
3688
+ planKind: string;
3689
+ capacities: {
3690
+ key: string;
3691
+ total: number;
3692
+ used: number;
3693
+ remaining: number;
3694
+ }[];
3695
+ jobsRemaining: number;
3696
+ jobsTotal: number;
3697
+ featuredRemaining: number;
3698
+ featuredTotal: number;
3699
+ renewsAt: string | null;
3700
+ }[];
3701
+ }>;
3702
+ checkSubscriptionEntitlements(input: {
3703
+ email: string;
3704
+ planId: string;
3705
+ }, options?: FetchOptions): Promise<{
3706
+ object: "job_posting_subscription_entitlements";
3707
+ hasSubscription: boolean;
3708
+ subscriptionId: string | null;
3709
+ canFeature: boolean | null;
3710
+ featuredSlotsRemaining: number | null;
3711
+ featuredSlotsTotal: number | null;
3712
+ maxActiveRemaining: number | null;
3713
+ maxActiveTotal: number | null;
3714
+ featureSelectionMode: string | null;
3715
+ }>;
3603
3716
  };
3604
3717
  salaries: {
3605
3718
  companies: {
@@ -4033,4 +4146,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4033
4146
  };
4034
4147
  type BoardSdk = ReturnType<typeof createBoardClient>;
4035
4148
 
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 };
4149
+ export { ACCESS_TOKEN_KEY, type Awaitable, BOARD_ACCESS_GRANT_KEY, type BlogAuthorEmbed, type BlogPostsListQuery, type BlogSearchBody, type BlogSimilarQuery, type BlogTagEmbed, type BoardAccessGrant, BoardApiError, type BoardAuthSession, BoardClient, type BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type CompaniesListQuery, type CompaniesSearchBody, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanySimilarQuery, type CreateBoardClientOptions, type CreateJobPostingInput, type CustomStorage, type EducationRequirement, type EmbedJobsQuery, type EmploymentType, type FetchOptions, type ForgotPasswordBody, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type OfficeLocation, type PlacesListQuery, type PublicBlogAdjacentPosts, type PublicBlogAuthor, type PublicBlogPost, type PublicBlogPostSummary, type PublicBlogTag, type PublicBoard, type PublicBoardAnalytics, type PublicBoardFeatures, type PublicBoardTheme, type PublicCompany, type PublicCompanyDetail, type PublicJob, type PublicJobCard, type PublicLegalPage, type PublicPlace, REFRESH_TOKEN_KEY, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ResetPasswordBody, SDK_VERSION, type SalaryCompany, type SalaryDetailQuery, type SalaryLocation, type SalarySkill, type SalaryTitle, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
package/dist/index.d.ts CHANGED
@@ -891,6 +891,45 @@ interface components {
891
891
  /** @description Free-form location string (e.g. `"Berlin, Germany"`, `"Mountain View, California, USA"`). Mapbox parses + ranks candidates server-side; rejects on low confidence. */
892
892
  query: string;
893
893
  };
894
+ JobPostingBillingCheck: {
895
+ /** @enum {string} */
896
+ object: "job_posting_billing_check";
897
+ hasActiveBilling: boolean;
898
+ };
899
+ JobPostingBillingOptions: {
900
+ /** @enum {string} */
901
+ object: "job_posting_billing_options";
902
+ options: {
903
+ id: string;
904
+ type: string;
905
+ planId: string;
906
+ planName: string;
907
+ planKind: string;
908
+ capacities: {
909
+ key: string;
910
+ total: number;
911
+ used: number;
912
+ remaining: number;
913
+ }[];
914
+ jobsRemaining: number;
915
+ jobsTotal: number;
916
+ featuredRemaining: number;
917
+ featuredTotal: number;
918
+ renewsAt: string | null;
919
+ }[];
920
+ };
921
+ JobPostingBillingOptionsBody: {
922
+ verificationToken: string;
923
+ };
924
+ JobPostingBillingVerification: {
925
+ /** @enum {string} */
926
+ object: "job_posting_billing_verification";
927
+ success: boolean;
928
+ };
929
+ JobPostingCheckBillingBody: {
930
+ /** Format: email */
931
+ email: string;
932
+ };
894
933
  JobPostingPlan: {
895
934
  /** @enum {string} */
896
935
  object: "job_posting_plan";
@@ -945,6 +984,27 @@ interface components {
945
984
  status: "invoice_sent";
946
985
  jobId: string;
947
986
  };
987
+ JobPostingSendVerificationBody: {
988
+ /** Format: email */
989
+ email: string;
990
+ };
991
+ JobPostingSubscriptionEntitlements: {
992
+ /** @enum {string} */
993
+ object: "job_posting_subscription_entitlements";
994
+ hasSubscription: boolean;
995
+ subscriptionId: string | null;
996
+ canFeature: boolean | null;
997
+ featuredSlotsRemaining: number | null;
998
+ featuredSlotsTotal: number | null;
999
+ maxActiveRemaining: number | null;
1000
+ maxActiveTotal: number | null;
1001
+ featureSelectionMode: string | null;
1002
+ };
1003
+ JobPostingSubscriptionEntitlementsBody: {
1004
+ /** Format: email */
1005
+ email: string;
1006
+ planId: string;
1007
+ };
948
1008
  JobSummary: {
949
1009
  /** @description Unique identifier for the object. Use this value as the `{id}` path parameter for the job endpoints (e.g. `GET /v1/jobs/{id}`). */
950
1010
  id: string;
@@ -2686,7 +2746,7 @@ declare function isConflict(e: unknown): e is BoardApiError;
2686
2746
  * constant because the package is platform-neutral and cannot read
2687
2747
  * package.json at runtime.
2688
2748
  */
2689
- declare const SDK_VERSION = "1.12.0";
2749
+ declare const SDK_VERSION = "1.13.0";
2690
2750
 
2691
2751
  type BoardUser = Schemas['BoardUser'];
2692
2752
  type BoardAuthSession = Schemas['BoardAuthSession'];
@@ -2894,6 +2954,10 @@ type CreateJobPostingInput = Schemas['CreateJobPostingBody'];
2894
2954
  * `invoice_sent`. A rejected submission throws a `BoardApiError` instead.
2895
2955
  */
2896
2956
  type JobPostingResult = Schemas['JobPostingResult'];
2957
+ type JobPostingBillingCheck = Schemas['JobPostingBillingCheck'];
2958
+ type JobPostingBillingVerification = Schemas['JobPostingBillingVerification'];
2959
+ type JobPostingBillingOptions = Schemas['JobPostingBillingOptions'];
2960
+ type JobPostingSubscriptionEntitlements = Schemas['JobPostingSubscriptionEntitlements'];
2897
2961
 
2898
2962
  type TaxonomyGeo = Schemas['TaxonomyGeo'];
2899
2963
  type TaxonomyResolution = Schemas['PublicTaxonomyResolution'];
@@ -3600,6 +3664,55 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
3600
3664
  status: "invoice_sent";
3601
3665
  jobId: string;
3602
3666
  }>;
3667
+ checkBilling(input: {
3668
+ email: string;
3669
+ }, options?: FetchOptions): Promise<{
3670
+ object: "job_posting_billing_check";
3671
+ hasActiveBilling: boolean;
3672
+ }>;
3673
+ sendBillingVerification(input: {
3674
+ email: string;
3675
+ }, options?: FetchOptions): Promise<{
3676
+ object: "job_posting_billing_verification";
3677
+ success: boolean;
3678
+ }>;
3679
+ getBillingOptions(input: {
3680
+ verificationToken: string;
3681
+ }, options?: FetchOptions): Promise<{
3682
+ object: "job_posting_billing_options";
3683
+ options: {
3684
+ id: string;
3685
+ type: string;
3686
+ planId: string;
3687
+ planName: string;
3688
+ planKind: string;
3689
+ capacities: {
3690
+ key: string;
3691
+ total: number;
3692
+ used: number;
3693
+ remaining: number;
3694
+ }[];
3695
+ jobsRemaining: number;
3696
+ jobsTotal: number;
3697
+ featuredRemaining: number;
3698
+ featuredTotal: number;
3699
+ renewsAt: string | null;
3700
+ }[];
3701
+ }>;
3702
+ checkSubscriptionEntitlements(input: {
3703
+ email: string;
3704
+ planId: string;
3705
+ }, options?: FetchOptions): Promise<{
3706
+ object: "job_posting_subscription_entitlements";
3707
+ hasSubscription: boolean;
3708
+ subscriptionId: string | null;
3709
+ canFeature: boolean | null;
3710
+ featuredSlotsRemaining: number | null;
3711
+ featuredSlotsTotal: number | null;
3712
+ maxActiveRemaining: number | null;
3713
+ maxActiveTotal: number | null;
3714
+ featureSelectionMode: string | null;
3715
+ }>;
3603
3716
  };
3604
3717
  salaries: {
3605
3718
  companies: {
@@ -4033,4 +4146,4 @@ declare function createBoardClient(options: CreateBoardClientOptions): {
4033
4146
  };
4034
4147
  type BoardSdk = ReturnType<typeof createBoardClient>;
4035
4148
 
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 };
4149
+ export { ACCESS_TOKEN_KEY, type Awaitable, BOARD_ACCESS_GRANT_KEY, type BlogAuthorEmbed, type BlogPostsListQuery, type BlogSearchBody, type BlogSimilarQuery, type BlogTagEmbed, type BoardAccessGrant, BoardApiError, type BoardAuthSession, BoardClient, type BoardRequest, type BoardSdk, type BoardSeo, type BoardUser, type CompaniesListQuery, type CompaniesSearchBody, type CompanyJobsListQuery, type CompanyListEnvelope, type CompanyMarket, type CompanyMarketRef, type CompanyMarketsListQuery, type CompanySimilarQuery, type CreateBoardClientOptions, type CreateJobPostingInput, type CustomStorage, type EducationRequirement, type EmbedJobsQuery, type EmploymentType, type FetchOptions, type ForgotPasswordBody, type JobAlertConfirmation, type JobAlertDeletePreferenceInput, type JobAlertFiltersInput, type JobAlertFrequency, type JobAlertManageQuery, type JobAlertManageResult, type JobAlertManageState, type JobAlertManageTokenInput, type JobAlertPreference, type JobAlertRemoteOption, type JobAlertResendResult, type JobAlertStoredFilters, type JobAlertSubscribeInput, type JobAlertSubscription, type JobAlertUpdatePreferenceInput, type JobCardListEnvelope, type JobCardSearchEnvelope, type JobCompany, type JobPostingBillingCheck, type JobPostingBillingOptions, type JobPostingBillingVerification, type JobPostingPlan, type JobPostingResult, type JobPostingSubscriptionEntitlements, type JobsListQuery, type JobsSearchBody, type LegalEntity, type LegalPageType, type ListEnvelope, type LocationSalaryDetail, type LocationSkillsIndex, type LocationTitlesIndex, type Logger, type LoginBody, type LogoutBody, type OfficeLocation, type PlacesListQuery, type PublicBlogAdjacentPosts, type PublicBlogAuthor, type PublicBlogPost, type PublicBlogPostSummary, type PublicBlogTag, type PublicBoard, type PublicBoardAnalytics, type PublicBoardFeatures, type PublicBoardTheme, type PublicCompany, type PublicCompanyDetail, type PublicJob, type PublicJobCard, type PublicLegalPage, type PublicPlace, REFRESH_TOKEN_KEY, type RedirectResolution, type RefreshBody, type RegisterBody, type RelatedSearch, type RemoteOption, type RemotePermit, type RemoteTimezone, type ResetPasswordBody, SDK_VERSION, type SalaryCompany, type SalaryDetailQuery, type SalaryLocation, type SalarySkill, type SalaryTitle, type SaveJobBody, type SavedJob, type SavedJobsListQuery, type SearchEnvelope, type Seniority, type SkillLocationSalary, type SkillLocationsIndex, type SkillSalaryDetail, type StorageMode, type StorefrontPagination, type TaxonomyGeo, type TaxonomyResolution, type TitleLocationSalary, type TitleLocationsIndex, type TitleSalaryDetail, type VerifyEmailBody, createBoardClient, isBoardApiError, isBoardPasswordRequired, isConflict, isForbidden, isNotFound, isRateLimited, isUnauthorized, isValidationError };
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.12.0";
152
+ var SDK_VERSION = "1.13.0";
153
153
 
154
154
  // src/client.ts
155
155
  function isRawBody(body) {
@@ -670,6 +670,34 @@ function jobPostingNamespace(client) {
670
670
  method: "POST",
671
671
  body: input
672
672
  });
673
+ },
674
+ /** Does this email already have billing credit on the board? */
675
+ checkBilling(input, options) {
676
+ return client.fetch(
677
+ "/job-postings/check-billing",
678
+ { ...options, method: "POST", body: input }
679
+ );
680
+ },
681
+ /** Email a billing-verification token (then pass it to `getBillingOptions`). */
682
+ sendBillingVerification(input, options) {
683
+ return client.fetch(
684
+ "/job-postings/send-verification",
685
+ { ...options, method: "POST", body: input }
686
+ );
687
+ },
688
+ /** List the credit options for a verified email (an option → `selectedBilling`). */
689
+ getBillingOptions(input, options) {
690
+ return client.fetch(
691
+ "/job-postings/billing-options",
692
+ { ...options, method: "POST", body: input }
693
+ );
694
+ },
695
+ /** The featured/active entitlements a verified email's subscription grants. */
696
+ checkSubscriptionEntitlements(input, options) {
697
+ return client.fetch(
698
+ "/job-postings/subscription-entitlements",
699
+ { ...options, method: "POST", body: input }
700
+ );
673
701
  }
674
702
  };
675
703
  }
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.12.0";
112
+ var SDK_VERSION = "1.13.0";
113
113
 
114
114
  // src/client.ts
115
115
  function isRawBody(body) {
@@ -630,6 +630,34 @@ function jobPostingNamespace(client) {
630
630
  method: "POST",
631
631
  body: input
632
632
  });
633
+ },
634
+ /** Does this email already have billing credit on the board? */
635
+ checkBilling(input, options) {
636
+ return client.fetch(
637
+ "/job-postings/check-billing",
638
+ { ...options, method: "POST", body: input }
639
+ );
640
+ },
641
+ /** Email a billing-verification token (then pass it to `getBillingOptions`). */
642
+ sendBillingVerification(input, options) {
643
+ return client.fetch(
644
+ "/job-postings/send-verification",
645
+ { ...options, method: "POST", body: input }
646
+ );
647
+ },
648
+ /** List the credit options for a verified email (an option → `selectedBilling`). */
649
+ getBillingOptions(input, options) {
650
+ return client.fetch(
651
+ "/job-postings/billing-options",
652
+ { ...options, method: "POST", body: input }
653
+ );
654
+ },
655
+ /** The featured/active entitlements a verified email's subscription grants. */
656
+ checkSubscriptionEntitlements(input, options) {
657
+ return client.fetch(
658
+ "/job-postings/subscription-entitlements",
659
+ { ...options, method: "POST", body: input }
660
+ );
633
661
  }
634
662
  };
635
663
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cavuno/board",
3
- "version": "1.12.0",
3
+ "version": "1.13.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.12.0",
2
+ "version": "1.13.0",
3
3
  "skills": [
4
4
  {
5
5
  "name": "cavuno-board-auth",