scrapebadger 0.77.0 → 0.78.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.cjs +36 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -16
- package/dist/index.d.ts +142 -16
- package/dist/index.mjs +36 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2900,8 +2900,6 @@ declare class GoogleClient {
|
|
|
2900
2900
|
googleAiOverviewInlineSerpBlock(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2901
2901
|
/** Google Flights calendar — cheapest fare per date. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2902
2902
|
googleFlightsCalendarCheapestFarePerDate(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2903
|
-
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2904
|
-
googleLightWebSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2905
2903
|
}
|
|
2906
2904
|
|
|
2907
2905
|
/**
|
|
@@ -9549,9 +9547,7 @@ declare class FacebookClient {
|
|
|
9549
9547
|
listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9550
9548
|
/** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9551
9549
|
resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9552
|
-
/** Search
|
|
9553
|
-
* include_details: true for descriptions/photos. Continuations cover price ranges;
|
|
9554
|
-
* search_info reports partial coverage. Sort all collected pages for newest first. */
|
|
9550
|
+
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9555
9551
|
searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9556
9552
|
/** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9557
9553
|
getPageDetail(identifier: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
@@ -18118,6 +18114,22 @@ declare class LoopNetClient {
|
|
|
18118
18114
|
constructor(client: BaseClient);
|
|
18119
18115
|
}
|
|
18120
18116
|
|
|
18117
|
+
/**
|
|
18118
|
+
* Meta-Ai API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
18119
|
+
*/
|
|
18120
|
+
|
|
18121
|
+
/** Client for all Meta-Ai API operations. (Generated from the OpenAPI spec.) */
|
|
18122
|
+
declare class MetaAiClient {
|
|
18123
|
+
private readonly client;
|
|
18124
|
+
constructor(client: BaseClient);
|
|
18125
|
+
/** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18126
|
+
askMetaAiAQuestion(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18127
|
+
/** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
|
|
18128
|
+
askMetaAiAQuestionPost(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18129
|
+
/** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18130
|
+
listMetaAiAssistantModes(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18131
|
+
}
|
|
18132
|
+
|
|
18121
18133
|
/**
|
|
18122
18134
|
* Perplexity API client. Hand-maintained compatibility adapter.
|
|
18123
18135
|
*/
|
|
@@ -19115,10 +19127,10 @@ declare class WallapopClient {
|
|
|
19115
19127
|
* them (`job_id`, `company_url`, `posted_relative`); optional / nullable
|
|
19116
19128
|
* backend fields are typed as `Type | null` or left `?`-optional.
|
|
19117
19129
|
*
|
|
19118
|
-
*
|
|
19119
|
-
*
|
|
19120
|
-
*
|
|
19121
|
-
*
|
|
19130
|
+
* Public data comes from LinkedIn's logged-out guest APIs and SSR pages. The
|
|
19131
|
+
* separately labelled full-profile route uses a server-owned authenticated
|
|
19132
|
+
* projection when configured. Requests are localised by a `country`
|
|
19133
|
+
* residential-proxy param.
|
|
19122
19134
|
*/
|
|
19123
19135
|
/** One job posting as it appears in a guest search result list. */
|
|
19124
19136
|
interface JobCard {
|
|
@@ -19168,39 +19180,144 @@ interface JobDetail {
|
|
|
19168
19180
|
/** External apply link when present. */
|
|
19169
19181
|
apply_url?: string | null;
|
|
19170
19182
|
}
|
|
19171
|
-
/** A current/past role from the public JSON-LD `worksFor`. */
|
|
19172
19183
|
interface ProfileExperience {
|
|
19173
19184
|
title?: string | null;
|
|
19174
19185
|
company?: string | null;
|
|
19175
19186
|
company_url?: string | null;
|
|
19187
|
+
location?: string | null;
|
|
19188
|
+
employment_type?: string | null;
|
|
19189
|
+
description?: string | null;
|
|
19190
|
+
date_range?: string | null;
|
|
19191
|
+
duration?: string | null;
|
|
19176
19192
|
start_year?: number | null;
|
|
19177
19193
|
end_year?: number | null;
|
|
19194
|
+
is_current?: boolean | null;
|
|
19178
19195
|
}
|
|
19179
|
-
/** A school from the public JSON-LD `alumniOf`. */
|
|
19180
19196
|
interface ProfileEducation {
|
|
19181
19197
|
school?: string | null;
|
|
19182
19198
|
school_url?: string | null;
|
|
19199
|
+
degree?: string | null;
|
|
19200
|
+
field_of_study?: string | null;
|
|
19201
|
+
description?: string | null;
|
|
19202
|
+
date_range?: string | null;
|
|
19183
19203
|
start_year?: number | null;
|
|
19184
19204
|
end_year?: number | null;
|
|
19185
19205
|
}
|
|
19186
|
-
|
|
19206
|
+
interface ProfileLanguage {
|
|
19207
|
+
name: string;
|
|
19208
|
+
proficiency?: string | null;
|
|
19209
|
+
}
|
|
19210
|
+
interface ProfileAward {
|
|
19211
|
+
title: string;
|
|
19212
|
+
issuer?: string | null;
|
|
19213
|
+
issued_on?: string | null;
|
|
19214
|
+
url?: string | null;
|
|
19215
|
+
description?: string | null;
|
|
19216
|
+
}
|
|
19217
|
+
interface ProfileVolunteering {
|
|
19218
|
+
title: string;
|
|
19219
|
+
organization?: string | null;
|
|
19220
|
+
organization_url?: string | null;
|
|
19221
|
+
date_range?: string | null;
|
|
19222
|
+
start_year?: number | null;
|
|
19223
|
+
end_year?: number | null;
|
|
19224
|
+
description?: string | null;
|
|
19225
|
+
}
|
|
19226
|
+
interface ProfileRecommendation {
|
|
19227
|
+
author_name?: string | null;
|
|
19228
|
+
author_url?: string | null;
|
|
19229
|
+
text: string;
|
|
19230
|
+
}
|
|
19231
|
+
interface ProfileInstructorCourse {
|
|
19232
|
+
title: string;
|
|
19233
|
+
url?: string | null;
|
|
19234
|
+
instructor?: string | null;
|
|
19235
|
+
duration?: string | null;
|
|
19236
|
+
viewers?: string | null;
|
|
19237
|
+
}
|
|
19238
|
+
interface ProfileActivity {
|
|
19239
|
+
type: string;
|
|
19240
|
+
url?: string | null;
|
|
19241
|
+
title?: string | null;
|
|
19242
|
+
text?: string | null;
|
|
19243
|
+
published_at?: string | null;
|
|
19244
|
+
like_count?: number | null;
|
|
19245
|
+
comment_count?: number | null;
|
|
19246
|
+
author_name?: string | null;
|
|
19247
|
+
author_url?: string | null;
|
|
19248
|
+
}
|
|
19249
|
+
interface ProfileEntry {
|
|
19250
|
+
name?: string | null;
|
|
19251
|
+
title?: string | null;
|
|
19252
|
+
subtitle?: string | null;
|
|
19253
|
+
role?: string | null;
|
|
19254
|
+
organization?: string | null;
|
|
19255
|
+
issuer?: string | null;
|
|
19256
|
+
proficiency?: string | null;
|
|
19257
|
+
number?: string | null;
|
|
19258
|
+
score?: string | null;
|
|
19259
|
+
cause?: string | null;
|
|
19260
|
+
url?: string | null;
|
|
19261
|
+
date_range?: string | null;
|
|
19262
|
+
start_year?: number | null;
|
|
19263
|
+
end_year?: number | null;
|
|
19264
|
+
issued_on?: string | null;
|
|
19265
|
+
published_on?: string | null;
|
|
19266
|
+
description?: string | null;
|
|
19267
|
+
}
|
|
19268
|
+
interface ProfileSimilar {
|
|
19269
|
+
name?: string | null;
|
|
19270
|
+
headline?: string | null;
|
|
19271
|
+
url: string;
|
|
19272
|
+
follower_count?: number | null;
|
|
19273
|
+
location?: string | null;
|
|
19274
|
+
}
|
|
19275
|
+
interface ProfileSectionCount {
|
|
19276
|
+
shown: number;
|
|
19277
|
+
total?: number | null;
|
|
19278
|
+
}
|
|
19279
|
+
/** A LinkedIn profile from the public page or an authenticated projection. */
|
|
19187
19280
|
interface Profile {
|
|
19188
19281
|
public_id: string;
|
|
19189
19282
|
linkedin_url: string;
|
|
19283
|
+
access_scope: "public" | "authenticated";
|
|
19190
19284
|
name?: string | null;
|
|
19191
19285
|
headline?: string | null;
|
|
19192
19286
|
location?: string | null;
|
|
19193
19287
|
country?: string | null;
|
|
19194
19288
|
about?: string | null;
|
|
19195
19289
|
image?: string | null;
|
|
19290
|
+
cover_image?: string | null;
|
|
19196
19291
|
follower_count?: number | null;
|
|
19292
|
+
connection_count?: string | null;
|
|
19293
|
+
badges: string[];
|
|
19294
|
+
websites: string[];
|
|
19197
19295
|
job_titles: string[];
|
|
19198
19296
|
current_company?: string | null;
|
|
19199
19297
|
current_company_url?: string | null;
|
|
19200
19298
|
experience: ProfileExperience[];
|
|
19201
19299
|
education: ProfileEducation[];
|
|
19202
19300
|
languages: string[];
|
|
19301
|
+
language_details: ProfileLanguage[];
|
|
19203
19302
|
awards: string[];
|
|
19303
|
+
award_details: ProfileAward[];
|
|
19304
|
+
volunteering: ProfileVolunteering[];
|
|
19305
|
+
recommendations: ProfileRecommendation[];
|
|
19306
|
+
instructor_courses: ProfileInstructorCourse[];
|
|
19307
|
+
recent_posts: ProfileActivity[];
|
|
19308
|
+
recent_articles: ProfileActivity[];
|
|
19309
|
+
similar_profiles: ProfileSimilar[];
|
|
19310
|
+
skills: string[];
|
|
19311
|
+
certifications: ProfileEntry[];
|
|
19312
|
+
honors: ProfileEntry[];
|
|
19313
|
+
publications: ProfileEntry[];
|
|
19314
|
+
projects: ProfileEntry[];
|
|
19315
|
+
courses: ProfileEntry[];
|
|
19316
|
+
organizations: ProfileEntry[];
|
|
19317
|
+
patents: ProfileEntry[];
|
|
19318
|
+
test_scores: ProfileEntry[];
|
|
19319
|
+
counts: Record<string, ProfileSectionCount>;
|
|
19320
|
+
partial_sections: string[];
|
|
19204
19321
|
}
|
|
19205
19322
|
interface Address {
|
|
19206
19323
|
street?: string | null;
|
|
@@ -19345,10 +19462,9 @@ interface LinkedInCountryParams {
|
|
|
19345
19462
|
/**
|
|
19346
19463
|
* LinkedIn API client.
|
|
19347
19464
|
*
|
|
19348
|
-
* LinkedIn endpoints cover
|
|
19349
|
-
*
|
|
19350
|
-
*
|
|
19351
|
-
* Requests are localised by a `country` residential-proxy param.
|
|
19465
|
+
* LinkedIn endpoints cover public guest jobs and SSR entity pages, plus the
|
|
19466
|
+
* separately labelled authenticated full-profile projection. Requests are
|
|
19467
|
+
* localised by a `country` residential-proxy param.
|
|
19352
19468
|
*
|
|
19353
19469
|
* Company/school/profile/post/course data is SSR-rendered, so those calls take
|
|
19354
19470
|
* a few seconds to return; the guest job APIs are faster HTML fragments.
|
|
@@ -19441,6 +19557,14 @@ declare class LinkedInClient {
|
|
|
19441
19557
|
* @throws NotFoundError - If the profile doesn't exist.
|
|
19442
19558
|
*/
|
|
19443
19559
|
getProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19560
|
+
/**
|
|
19561
|
+
* Get a full profile through the server-owned authenticated projection.
|
|
19562
|
+
*
|
|
19563
|
+
* @param publicId - The profile's public id (URL slug).
|
|
19564
|
+
* @param options - Optional parameters (country).
|
|
19565
|
+
* @returns Full profile with richer verticals and position pagination.
|
|
19566
|
+
*/
|
|
19567
|
+
getFullProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19444
19568
|
/**
|
|
19445
19569
|
* Get a public LinkedIn post (activity share).
|
|
19446
19570
|
*
|
|
@@ -20473,6 +20597,8 @@ declare class ScrapeBadger {
|
|
|
20473
20597
|
readonly immobiliare: ImmobiliareClient;
|
|
20474
20598
|
/** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
|
|
20475
20599
|
readonly loopnet: LoopNetClient;
|
|
20600
|
+
/** Meta_Ai API client. (Generated from the OpenAPI spec.) */
|
|
20601
|
+
readonly meta_ai: MetaAiClient;
|
|
20476
20602
|
/** Perplexity API client. (Generated from the OpenAPI spec.) */
|
|
20477
20603
|
readonly perplexity: PerplexityClient;
|
|
20478
20604
|
/** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
|
package/dist/index.d.ts
CHANGED
|
@@ -2900,8 +2900,6 @@ declare class GoogleClient {
|
|
|
2900
2900
|
googleAiOverviewInlineSerpBlock(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2901
2901
|
/** Google Flights calendar — cheapest fare per date. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2902
2902
|
googleFlightsCalendarCheapestFarePerDate(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2903
|
-
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2904
|
-
googleLightWebSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2905
2903
|
}
|
|
2906
2904
|
|
|
2907
2905
|
/**
|
|
@@ -9549,9 +9547,7 @@ declare class FacebookClient {
|
|
|
9549
9547
|
listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9550
9548
|
/** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9551
9549
|
resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9552
|
-
/** Search
|
|
9553
|
-
* include_details: true for descriptions/photos. Continuations cover price ranges;
|
|
9554
|
-
* search_info reports partial coverage. Sort all collected pages for newest first. */
|
|
9550
|
+
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9555
9551
|
searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9556
9552
|
/** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9557
9553
|
getPageDetail(identifier: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
@@ -18118,6 +18114,22 @@ declare class LoopNetClient {
|
|
|
18118
18114
|
constructor(client: BaseClient);
|
|
18119
18115
|
}
|
|
18120
18116
|
|
|
18117
|
+
/**
|
|
18118
|
+
* Meta-Ai API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
18119
|
+
*/
|
|
18120
|
+
|
|
18121
|
+
/** Client for all Meta-Ai API operations. (Generated from the OpenAPI spec.) */
|
|
18122
|
+
declare class MetaAiClient {
|
|
18123
|
+
private readonly client;
|
|
18124
|
+
constructor(client: BaseClient);
|
|
18125
|
+
/** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18126
|
+
askMetaAiAQuestion(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18127
|
+
/** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
|
|
18128
|
+
askMetaAiAQuestionPost(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18129
|
+
/** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18130
|
+
listMetaAiAssistantModes(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18131
|
+
}
|
|
18132
|
+
|
|
18121
18133
|
/**
|
|
18122
18134
|
* Perplexity API client. Hand-maintained compatibility adapter.
|
|
18123
18135
|
*/
|
|
@@ -19115,10 +19127,10 @@ declare class WallapopClient {
|
|
|
19115
19127
|
* them (`job_id`, `company_url`, `posted_relative`); optional / nullable
|
|
19116
19128
|
* backend fields are typed as `Type | null` or left `?`-optional.
|
|
19117
19129
|
*
|
|
19118
|
-
*
|
|
19119
|
-
*
|
|
19120
|
-
*
|
|
19121
|
-
*
|
|
19130
|
+
* Public data comes from LinkedIn's logged-out guest APIs and SSR pages. The
|
|
19131
|
+
* separately labelled full-profile route uses a server-owned authenticated
|
|
19132
|
+
* projection when configured. Requests are localised by a `country`
|
|
19133
|
+
* residential-proxy param.
|
|
19122
19134
|
*/
|
|
19123
19135
|
/** One job posting as it appears in a guest search result list. */
|
|
19124
19136
|
interface JobCard {
|
|
@@ -19168,39 +19180,144 @@ interface JobDetail {
|
|
|
19168
19180
|
/** External apply link when present. */
|
|
19169
19181
|
apply_url?: string | null;
|
|
19170
19182
|
}
|
|
19171
|
-
/** A current/past role from the public JSON-LD `worksFor`. */
|
|
19172
19183
|
interface ProfileExperience {
|
|
19173
19184
|
title?: string | null;
|
|
19174
19185
|
company?: string | null;
|
|
19175
19186
|
company_url?: string | null;
|
|
19187
|
+
location?: string | null;
|
|
19188
|
+
employment_type?: string | null;
|
|
19189
|
+
description?: string | null;
|
|
19190
|
+
date_range?: string | null;
|
|
19191
|
+
duration?: string | null;
|
|
19176
19192
|
start_year?: number | null;
|
|
19177
19193
|
end_year?: number | null;
|
|
19194
|
+
is_current?: boolean | null;
|
|
19178
19195
|
}
|
|
19179
|
-
/** A school from the public JSON-LD `alumniOf`. */
|
|
19180
19196
|
interface ProfileEducation {
|
|
19181
19197
|
school?: string | null;
|
|
19182
19198
|
school_url?: string | null;
|
|
19199
|
+
degree?: string | null;
|
|
19200
|
+
field_of_study?: string | null;
|
|
19201
|
+
description?: string | null;
|
|
19202
|
+
date_range?: string | null;
|
|
19183
19203
|
start_year?: number | null;
|
|
19184
19204
|
end_year?: number | null;
|
|
19185
19205
|
}
|
|
19186
|
-
|
|
19206
|
+
interface ProfileLanguage {
|
|
19207
|
+
name: string;
|
|
19208
|
+
proficiency?: string | null;
|
|
19209
|
+
}
|
|
19210
|
+
interface ProfileAward {
|
|
19211
|
+
title: string;
|
|
19212
|
+
issuer?: string | null;
|
|
19213
|
+
issued_on?: string | null;
|
|
19214
|
+
url?: string | null;
|
|
19215
|
+
description?: string | null;
|
|
19216
|
+
}
|
|
19217
|
+
interface ProfileVolunteering {
|
|
19218
|
+
title: string;
|
|
19219
|
+
organization?: string | null;
|
|
19220
|
+
organization_url?: string | null;
|
|
19221
|
+
date_range?: string | null;
|
|
19222
|
+
start_year?: number | null;
|
|
19223
|
+
end_year?: number | null;
|
|
19224
|
+
description?: string | null;
|
|
19225
|
+
}
|
|
19226
|
+
interface ProfileRecommendation {
|
|
19227
|
+
author_name?: string | null;
|
|
19228
|
+
author_url?: string | null;
|
|
19229
|
+
text: string;
|
|
19230
|
+
}
|
|
19231
|
+
interface ProfileInstructorCourse {
|
|
19232
|
+
title: string;
|
|
19233
|
+
url?: string | null;
|
|
19234
|
+
instructor?: string | null;
|
|
19235
|
+
duration?: string | null;
|
|
19236
|
+
viewers?: string | null;
|
|
19237
|
+
}
|
|
19238
|
+
interface ProfileActivity {
|
|
19239
|
+
type: string;
|
|
19240
|
+
url?: string | null;
|
|
19241
|
+
title?: string | null;
|
|
19242
|
+
text?: string | null;
|
|
19243
|
+
published_at?: string | null;
|
|
19244
|
+
like_count?: number | null;
|
|
19245
|
+
comment_count?: number | null;
|
|
19246
|
+
author_name?: string | null;
|
|
19247
|
+
author_url?: string | null;
|
|
19248
|
+
}
|
|
19249
|
+
interface ProfileEntry {
|
|
19250
|
+
name?: string | null;
|
|
19251
|
+
title?: string | null;
|
|
19252
|
+
subtitle?: string | null;
|
|
19253
|
+
role?: string | null;
|
|
19254
|
+
organization?: string | null;
|
|
19255
|
+
issuer?: string | null;
|
|
19256
|
+
proficiency?: string | null;
|
|
19257
|
+
number?: string | null;
|
|
19258
|
+
score?: string | null;
|
|
19259
|
+
cause?: string | null;
|
|
19260
|
+
url?: string | null;
|
|
19261
|
+
date_range?: string | null;
|
|
19262
|
+
start_year?: number | null;
|
|
19263
|
+
end_year?: number | null;
|
|
19264
|
+
issued_on?: string | null;
|
|
19265
|
+
published_on?: string | null;
|
|
19266
|
+
description?: string | null;
|
|
19267
|
+
}
|
|
19268
|
+
interface ProfileSimilar {
|
|
19269
|
+
name?: string | null;
|
|
19270
|
+
headline?: string | null;
|
|
19271
|
+
url: string;
|
|
19272
|
+
follower_count?: number | null;
|
|
19273
|
+
location?: string | null;
|
|
19274
|
+
}
|
|
19275
|
+
interface ProfileSectionCount {
|
|
19276
|
+
shown: number;
|
|
19277
|
+
total?: number | null;
|
|
19278
|
+
}
|
|
19279
|
+
/** A LinkedIn profile from the public page or an authenticated projection. */
|
|
19187
19280
|
interface Profile {
|
|
19188
19281
|
public_id: string;
|
|
19189
19282
|
linkedin_url: string;
|
|
19283
|
+
access_scope: "public" | "authenticated";
|
|
19190
19284
|
name?: string | null;
|
|
19191
19285
|
headline?: string | null;
|
|
19192
19286
|
location?: string | null;
|
|
19193
19287
|
country?: string | null;
|
|
19194
19288
|
about?: string | null;
|
|
19195
19289
|
image?: string | null;
|
|
19290
|
+
cover_image?: string | null;
|
|
19196
19291
|
follower_count?: number | null;
|
|
19292
|
+
connection_count?: string | null;
|
|
19293
|
+
badges: string[];
|
|
19294
|
+
websites: string[];
|
|
19197
19295
|
job_titles: string[];
|
|
19198
19296
|
current_company?: string | null;
|
|
19199
19297
|
current_company_url?: string | null;
|
|
19200
19298
|
experience: ProfileExperience[];
|
|
19201
19299
|
education: ProfileEducation[];
|
|
19202
19300
|
languages: string[];
|
|
19301
|
+
language_details: ProfileLanguage[];
|
|
19203
19302
|
awards: string[];
|
|
19303
|
+
award_details: ProfileAward[];
|
|
19304
|
+
volunteering: ProfileVolunteering[];
|
|
19305
|
+
recommendations: ProfileRecommendation[];
|
|
19306
|
+
instructor_courses: ProfileInstructorCourse[];
|
|
19307
|
+
recent_posts: ProfileActivity[];
|
|
19308
|
+
recent_articles: ProfileActivity[];
|
|
19309
|
+
similar_profiles: ProfileSimilar[];
|
|
19310
|
+
skills: string[];
|
|
19311
|
+
certifications: ProfileEntry[];
|
|
19312
|
+
honors: ProfileEntry[];
|
|
19313
|
+
publications: ProfileEntry[];
|
|
19314
|
+
projects: ProfileEntry[];
|
|
19315
|
+
courses: ProfileEntry[];
|
|
19316
|
+
organizations: ProfileEntry[];
|
|
19317
|
+
patents: ProfileEntry[];
|
|
19318
|
+
test_scores: ProfileEntry[];
|
|
19319
|
+
counts: Record<string, ProfileSectionCount>;
|
|
19320
|
+
partial_sections: string[];
|
|
19204
19321
|
}
|
|
19205
19322
|
interface Address {
|
|
19206
19323
|
street?: string | null;
|
|
@@ -19345,10 +19462,9 @@ interface LinkedInCountryParams {
|
|
|
19345
19462
|
/**
|
|
19346
19463
|
* LinkedIn API client.
|
|
19347
19464
|
*
|
|
19348
|
-
* LinkedIn endpoints cover
|
|
19349
|
-
*
|
|
19350
|
-
*
|
|
19351
|
-
* Requests are localised by a `country` residential-proxy param.
|
|
19465
|
+
* LinkedIn endpoints cover public guest jobs and SSR entity pages, plus the
|
|
19466
|
+
* separately labelled authenticated full-profile projection. Requests are
|
|
19467
|
+
* localised by a `country` residential-proxy param.
|
|
19352
19468
|
*
|
|
19353
19469
|
* Company/school/profile/post/course data is SSR-rendered, so those calls take
|
|
19354
19470
|
* a few seconds to return; the guest job APIs are faster HTML fragments.
|
|
@@ -19441,6 +19557,14 @@ declare class LinkedInClient {
|
|
|
19441
19557
|
* @throws NotFoundError - If the profile doesn't exist.
|
|
19442
19558
|
*/
|
|
19443
19559
|
getProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19560
|
+
/**
|
|
19561
|
+
* Get a full profile through the server-owned authenticated projection.
|
|
19562
|
+
*
|
|
19563
|
+
* @param publicId - The profile's public id (URL slug).
|
|
19564
|
+
* @param options - Optional parameters (country).
|
|
19565
|
+
* @returns Full profile with richer verticals and position pagination.
|
|
19566
|
+
*/
|
|
19567
|
+
getFullProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19444
19568
|
/**
|
|
19445
19569
|
* Get a public LinkedIn post (activity share).
|
|
19446
19570
|
*
|
|
@@ -20473,6 +20597,8 @@ declare class ScrapeBadger {
|
|
|
20473
20597
|
readonly immobiliare: ImmobiliareClient;
|
|
20474
20598
|
/** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
|
|
20475
20599
|
readonly loopnet: LoopNetClient;
|
|
20600
|
+
/** Meta_Ai API client. (Generated from the OpenAPI spec.) */
|
|
20601
|
+
readonly meta_ai: MetaAiClient;
|
|
20476
20602
|
/** Perplexity API client. (Generated from the OpenAPI spec.) */
|
|
20477
20603
|
readonly perplexity: PerplexityClient;
|
|
20478
20604
|
/** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
|
package/dist/index.mjs
CHANGED
|
@@ -3788,10 +3788,6 @@ var GoogleClient = class {
|
|
|
3788
3788
|
async googleFlightsCalendarCheapestFarePerDate(params = {}) {
|
|
3789
3789
|
return this._gen.request("/v1/google/flights/calendar", { params });
|
|
3790
3790
|
}
|
|
3791
|
-
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
3792
|
-
async googleLightWebSearch(params = {}) {
|
|
3793
|
-
return this._gen.request("/v1/google/light/search", { params });
|
|
3794
|
-
}
|
|
3795
3791
|
// --- END generated by sdk/codegen/facade ---
|
|
3796
3792
|
};
|
|
3797
3793
|
|
|
@@ -6633,9 +6629,7 @@ var FacebookClient = class {
|
|
|
6633
6629
|
async resolveATownPostcodeToAMarketplaceLocation(params = {}) {
|
|
6634
6630
|
return this.client.request("/v1/facebook/marketplace/locations/resolve", { params });
|
|
6635
6631
|
}
|
|
6636
|
-
/** Search
|
|
6637
|
-
* include_details: true for descriptions/photos. Continuations cover price ranges;
|
|
6638
|
-
* search_info reports partial coverage. Sort all collected pages for newest first. */
|
|
6632
|
+
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6639
6633
|
async searchMarketplace(params = {}) {
|
|
6640
6634
|
return this.client.request("/v1/facebook/marketplace/search", { params });
|
|
6641
6635
|
}
|
|
@@ -9922,6 +9916,26 @@ var LoopNetClient = class {
|
|
|
9922
9916
|
}
|
|
9923
9917
|
};
|
|
9924
9918
|
|
|
9919
|
+
// src/meta_ai/client.ts
|
|
9920
|
+
var MetaAiClient = class {
|
|
9921
|
+
client;
|
|
9922
|
+
constructor(client) {
|
|
9923
|
+
this.client = client;
|
|
9924
|
+
}
|
|
9925
|
+
/** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9926
|
+
async askMetaAiAQuestion(params = {}) {
|
|
9927
|
+
return this.client.request("/v1/meta-ai/ask", { params });
|
|
9928
|
+
}
|
|
9929
|
+
/** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
|
|
9930
|
+
async askMetaAiAQuestionPost(body, params = {}) {
|
|
9931
|
+
return this.client.request("/v1/meta-ai/ask", { method: "POST", params, body });
|
|
9932
|
+
}
|
|
9933
|
+
/** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9934
|
+
async listMetaAiAssistantModes(params = {}) {
|
|
9935
|
+
return this.client.request("/v1/meta-ai/models", { params });
|
|
9936
|
+
}
|
|
9937
|
+
};
|
|
9938
|
+
|
|
9925
9939
|
// src/perplexity/client.ts
|
|
9926
9940
|
function toQuery(params) {
|
|
9927
9941
|
const { strictCountry, ...rest } = params;
|
|
@@ -10330,6 +10344,18 @@ var LinkedInClient = class {
|
|
|
10330
10344
|
params: { country: options.country ?? "us" }
|
|
10331
10345
|
});
|
|
10332
10346
|
}
|
|
10347
|
+
/**
|
|
10348
|
+
* Get a full profile through the server-owned authenticated projection.
|
|
10349
|
+
*
|
|
10350
|
+
* @param publicId - The profile's public id (URL slug).
|
|
10351
|
+
* @param options - Optional parameters (country).
|
|
10352
|
+
* @returns Full profile with richer verticals and position pagination.
|
|
10353
|
+
*/
|
|
10354
|
+
async getFullProfile(publicId, options = {}) {
|
|
10355
|
+
return this.client.request(`/v1/linkedin/profiles/${publicId}/full`, {
|
|
10356
|
+
params: { country: options.country ?? "us" }
|
|
10357
|
+
});
|
|
10358
|
+
}
|
|
10333
10359
|
/**
|
|
10334
10360
|
* Get a public LinkedIn post (activity share).
|
|
10335
10361
|
*
|
|
@@ -10828,6 +10854,8 @@ var ScrapeBadger = class {
|
|
|
10828
10854
|
immobiliare;
|
|
10829
10855
|
/** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
|
|
10830
10856
|
loopnet;
|
|
10857
|
+
/** Meta_Ai API client. (Generated from the OpenAPI spec.) */
|
|
10858
|
+
meta_ai;
|
|
10831
10859
|
/** Perplexity API client. (Generated from the OpenAPI spec.) */
|
|
10832
10860
|
perplexity;
|
|
10833
10861
|
/** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
|
|
@@ -10923,6 +10951,7 @@ var ScrapeBadger = class {
|
|
|
10923
10951
|
this.zillow = new ZillowClient(this.baseClient);
|
|
10924
10952
|
this.immobiliare = new ImmobiliareClient(this.baseClient);
|
|
10925
10953
|
this.loopnet = new LoopNetClient(this.baseClient);
|
|
10954
|
+
this.meta_ai = new MetaAiClient(this.baseClient);
|
|
10926
10955
|
this.perplexity = new PerplexityClient(this.baseClient);
|
|
10927
10956
|
this.depop = new DepopClient(this.baseClient);
|
|
10928
10957
|
this.wallapop = new WallapopClient(this.baseClient);
|