1- import { autocomplete , bulkCompanyEnrichment , bulkEnrichment , bulkRetrieve , changelog , cleaner , enrichment , enrichmentPreview , identify , jobTitle , retrieve , search } from './endpoints/index.js' ;
1+ import { autocomplete , bulkCompanyEnrichment , bulkEnrichment , bulkRetrieve , changelog , cleaner , enrichment , enrichmentPreview , identify , jobPostingSearch , jobTitle , retrieve , search } from './endpoints/index.js' ;
22import ip from './endpoints/ip/index.js' ;
33import { APISettings , RequestOptions } from './types/api-types.js' ;
44import { AutoCompleteParams , AutoCompleteResponse } from './types/autocomplete-types.js' ;
@@ -10,6 +10,7 @@ import { CompanyResponse, PersonResponse } from './types/common-types.js';
1010import { CompanyEnrichmentParams , CompanyEnrichmentResponse , PersonEnrichmentParams , PersonEnrichmentPreviewParams , PersonEnrichmentPreviewResponse , PersonEnrichmentResponse , PersonPreviewResponse } from './types/enrichment-types.js' ;
1111import { IdentifyParams , IdentifyResponse } from './types/identify-types.js' ;
1212import { IPParams , IPResponse } from './types/ip-types.js' ;
13+ import { JobPostingSearchParams , JobPostingSearchResponse } from './types/jobPosting-types.js' ;
1314import { JobTitleParams , JobTitleResponse } from './types/jobTitle-types.js' ;
1415import { RetrieveParams , RetrieveResponse } from './types/retrieve-types.js' ;
1516import { CompanySearchParams , CompanySearchResponse , PersonSearchParams , PersonSearchResponse } from './types/search-types.js' ;
@@ -57,6 +58,10 @@ class PDLJS {
5758
5859 public jobTitle : ( params : JobTitleParams , options ?: RequestOptions ) => Promise < JobTitleResponse > ;
5960
61+ public jobPosting : {
62+ search : ( params : JobPostingSearchParams , options ?: RequestOptions ) => Promise < JobPostingSearchResponse > ;
63+ } ;
64+
6065 public ip : ( params : IPParams , options ?: RequestOptions ) => Promise < IPResponse > ;
6166
6267 constructor ( {
@@ -109,6 +114,10 @@ class PDLJS {
109114
110115 this . jobTitle = ( params : JobTitleParams , options ) => jobTitle ( this . basePath , this . apiKey , params , options ) ;
111116
117+ this . jobPosting = {
118+ search : ( params , options ) => jobPostingSearch ( this . basePath , this . apiKey , params , options ) ,
119+ } ;
120+
112121 this . ip = ( params : IPParams , options ) => ip ( this . basePath , this . apiKey , params , options ) ;
113122 }
114123}
@@ -138,6 +147,8 @@ export type {
138147 IdentifyResponse ,
139148 IPParams ,
140149 IPResponse ,
150+ JobPostingSearchParams ,
151+ JobPostingSearchResponse ,
141152 JobTitleParams ,
142153 JobTitleResponse ,
143154 LocationCleanerParams ,
0 commit comments