@getanyapi/sdk 0.85.1 → 0.87.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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -12
- package/dist/index.d.ts +21 -12
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -23439,6 +23439,11 @@ interface InstagramReelTranscriptItem {
|
|
|
23439
23439
|
* The reel's short code, the part of its instagram.com URL after /reel/. Empty when the request supplied a CDN media URL.
|
|
23440
23440
|
*/
|
|
23441
23441
|
shortcode?: string;
|
|
23442
|
+
/**
|
|
23443
|
+
* Why the transcript reads the way it does. "audio_asr" means the words come from speech recognition over the reel's audio; a reel with only music in it transcribes to an empty text this way, and its audio time is charged. "no_audio" means there was nothing to listen to: the video has no audio track, or the post is a photo with no video. The transcript is empty because that is the answer, and only the request price is charged, with no audio time. "transcript_unavailable" means recognition did not complete for this reel, so the transcript is empty for that reason rather than because the reel has no speech in it; the rest of the record is still what we resolved, and no audio time is charged.
|
|
23444
|
+
* One of: audio_asr, no_audio, transcript_unavailable.
|
|
23445
|
+
*/
|
|
23446
|
+
source?: "audio_asr" | "no_audio" | "transcript_unavailable";
|
|
23442
23447
|
/**
|
|
23443
23448
|
* The full speech transcript. Empty when the reel has no detectable spoken audio, or when the post is a photo with no video to transcribe. Populated whenever the provider has data for the entity.
|
|
23444
23449
|
*/
|
|
@@ -30494,7 +30499,7 @@ interface LinkedinSearchCompaniesData {
|
|
|
30494
30499
|
items: LinkedinSearchCompaniesItem[];
|
|
30495
30500
|
}
|
|
30496
30501
|
/**
|
|
30497
|
-
* Input for LinkedIn
|
|
30502
|
+
* Input for LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
|
|
30498
30503
|
*/
|
|
30499
30504
|
interface LinkedinSearchLeadsInput {
|
|
30500
30505
|
/**
|
|
@@ -30575,7 +30580,7 @@ interface LinkedinSearchLeadsInput {
|
|
|
30575
30580
|
*/
|
|
30576
30581
|
location?: string;
|
|
30577
30582
|
/**
|
|
30578
|
-
* Which page of up to 25 leads to return, starting at 1 (1-100, default 1). Each page is billed as one request.
|
|
30583
|
+
* Which page of up to 25 leads to return, starting at 1 (1-100, default 1). Also pages through a salesNavUrl search. Each page is billed as one request.
|
|
30579
30584
|
* Range: minimum 1, maximum 100.
|
|
30580
30585
|
* Default: 1.
|
|
30581
30586
|
*/
|
|
@@ -30598,9 +30603,9 @@ interface LinkedinSearchLeadsInput {
|
|
|
30598
30603
|
*/
|
|
30599
30604
|
profileLanguages?: ("Arabic" | "English" | "Spanish" | "Portuguese" | "Chinese" | "French" | "Italian" | "Russian" | "German" | "Dutch" | "Turkish" | "Tagalog" | "Polish" | "Korean" | "Japanese" | "Malay" | "Norwegian" | "Danish" | "Romanian" | "Swedish" | "Bahasa Indonesia" | "Czech")[];
|
|
30600
30605
|
/**
|
|
30601
|
-
* Search
|
|
30606
|
+
* Search keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.
|
|
30602
30607
|
*/
|
|
30603
|
-
query
|
|
30608
|
+
query?: string;
|
|
30604
30609
|
/**
|
|
30605
30610
|
* When true, only return people who recently changed jobs (a strong sales/recruiting signal).
|
|
30606
30611
|
*/
|
|
@@ -30609,6 +30614,10 @@ interface LinkedinSearchLeadsInput {
|
|
|
30609
30614
|
* When true, only return people who recently posted on LinkedIn (an activity signal).
|
|
30610
30615
|
*/
|
|
30611
30616
|
recentlyPostedOnLinkedIn?: boolean;
|
|
30617
|
+
/**
|
|
30618
|
+
* Alternatively, a LinkedIn Sales Navigator lead-search URL you built in Sales Navigator (e.g. https://www.linkedin.com/sales/search/people?query=(keywords%3Aengineer)). When set it overrides query and every other filter on this request; only page still applies.
|
|
30619
|
+
*/
|
|
30620
|
+
salesNavUrl?: string;
|
|
30612
30621
|
/**
|
|
30613
30622
|
* Filter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
|
|
30614
30623
|
*/
|
|
@@ -30716,7 +30725,7 @@ interface LinkedinSearchLeadsCurrentPosition {
|
|
|
30716
30725
|
[extra: string]: unknown;
|
|
30717
30726
|
}
|
|
30718
30727
|
/**
|
|
30719
|
-
* The `data` payload of LinkedIn
|
|
30728
|
+
* The `data` payload of LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
|
|
30720
30729
|
*/
|
|
30721
30730
|
interface LinkedinSearchLeadsData {
|
|
30722
30731
|
/**
|
|
@@ -32014,14 +32023,14 @@ declare class LinkedinNamespace {
|
|
|
32014
32023
|
*/
|
|
32015
32024
|
searchCompanies(input: LinkedinSearchCompaniesInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchCompaniesData>>;
|
|
32016
32025
|
/**
|
|
32017
|
-
* LinkedIn
|
|
32026
|
+
* LinkedIn Sales Navigator Lead Search
|
|
32018
32027
|
*
|
|
32019
|
-
*
|
|
32028
|
+
* LinkedIn lead search with Sales Navigator's search and filters: one call returns a page of up to 25 people matching a keyword and Sales Navigator lead filters (location, job title, current and past company, school, seniority, function, company size, and more), or the results of a Sales Navigator lead-search URL you built yourself. Each lead comes with name, current positions, location, summary, and photo, and its url opens the profile and can be passed to linkedin.profile for the full record. For full profiles in one call use linkedin.search_profiles.
|
|
32020
32029
|
*
|
|
32021
32030
|
* Price: $0.07 per request.
|
|
32022
32031
|
*
|
|
32023
32032
|
* @example
|
|
32024
|
-
* const res = await client.linkedin.searchLeads({
|
|
32033
|
+
* const res = await client.linkedin.searchLeads({ currentCompanies: ["Google"], query: "engineer" });
|
|
32025
32034
|
*/
|
|
32026
32035
|
searchLeads(input: LinkedinSearchLeadsInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchLeadsData>>;
|
|
32027
32036
|
/**
|
|
@@ -55437,10 +55446,10 @@ interface TiktokVideoTranscriptFullData {
|
|
|
55437
55446
|
*/
|
|
55438
55447
|
segments?: TiktokVideoTranscriptFullSegment[];
|
|
55439
55448
|
/**
|
|
55440
|
-
* How the text was produced. "audio_asr" means the words come from speech recognition over the video's audio, never from a caption track TikTok published - for TikTok's own captions, use tiktok.video_transcript. "transcript_unavailable" means recognition did not complete for this video, so the transcript is empty for that reason rather than because the video has no speech in it; the rest of the record is still what we resolved, and no audio time is charged. Populated whenever the provider has data for the entity.
|
|
55441
|
-
* One of: audio_asr, transcript_unavailable.
|
|
55449
|
+
* How the text was produced. "audio_asr" means the words come from speech recognition over the video's audio, never from a caption track TikTok published - for TikTok's own captions, use tiktok.video_transcript. "transcript_unavailable" means recognition did not complete for this video, so the transcript is empty for that reason rather than because the video has no speech in it; the rest of the record is still what we resolved, and no audio time is charged. "no_audio" means there was nothing to listen to: the video has no audio track, or the post has no video. The transcript is empty because that is the answer, the rest of the record is still what we resolved, and only the request price is charged, with no audio time. Populated whenever the provider has data for the entity.
|
|
55450
|
+
* One of: audio_asr, no_audio, transcript_unavailable.
|
|
55442
55451
|
*/
|
|
55443
|
-
source: "audio_asr" | "transcript_unavailable";
|
|
55452
|
+
source: "audio_asr" | "no_audio" | "transcript_unavailable";
|
|
55444
55453
|
/**
|
|
55445
55454
|
* Cover image for the video. A signed, short-lived TikTok CDN URL, often served as HEIC rather than JPEG, so fetch it promptly and transcode if you need broad browser support.
|
|
55446
55455
|
* Format: uri.
|
|
@@ -59592,7 +59601,7 @@ declare class TwitterNamespace {
|
|
|
59592
59601
|
*
|
|
59593
59602
|
* Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
|
|
59594
59603
|
*
|
|
59595
|
-
* Price: $0.
|
|
59604
|
+
* Price: $0.0007 per request.
|
|
59596
59605
|
*
|
|
59597
59606
|
* @example
|
|
59598
59607
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
package/dist/index.d.ts
CHANGED
|
@@ -23439,6 +23439,11 @@ interface InstagramReelTranscriptItem {
|
|
|
23439
23439
|
* The reel's short code, the part of its instagram.com URL after /reel/. Empty when the request supplied a CDN media URL.
|
|
23440
23440
|
*/
|
|
23441
23441
|
shortcode?: string;
|
|
23442
|
+
/**
|
|
23443
|
+
* Why the transcript reads the way it does. "audio_asr" means the words come from speech recognition over the reel's audio; a reel with only music in it transcribes to an empty text this way, and its audio time is charged. "no_audio" means there was nothing to listen to: the video has no audio track, or the post is a photo with no video. The transcript is empty because that is the answer, and only the request price is charged, with no audio time. "transcript_unavailable" means recognition did not complete for this reel, so the transcript is empty for that reason rather than because the reel has no speech in it; the rest of the record is still what we resolved, and no audio time is charged.
|
|
23444
|
+
* One of: audio_asr, no_audio, transcript_unavailable.
|
|
23445
|
+
*/
|
|
23446
|
+
source?: "audio_asr" | "no_audio" | "transcript_unavailable";
|
|
23442
23447
|
/**
|
|
23443
23448
|
* The full speech transcript. Empty when the reel has no detectable spoken audio, or when the post is a photo with no video to transcribe. Populated whenever the provider has data for the entity.
|
|
23444
23449
|
*/
|
|
@@ -30494,7 +30499,7 @@ interface LinkedinSearchCompaniesData {
|
|
|
30494
30499
|
items: LinkedinSearchCompaniesItem[];
|
|
30495
30500
|
}
|
|
30496
30501
|
/**
|
|
30497
|
-
* Input for LinkedIn
|
|
30502
|
+
* Input for LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
|
|
30498
30503
|
*/
|
|
30499
30504
|
interface LinkedinSearchLeadsInput {
|
|
30500
30505
|
/**
|
|
@@ -30575,7 +30580,7 @@ interface LinkedinSearchLeadsInput {
|
|
|
30575
30580
|
*/
|
|
30576
30581
|
location?: string;
|
|
30577
30582
|
/**
|
|
30578
|
-
* Which page of up to 25 leads to return, starting at 1 (1-100, default 1). Each page is billed as one request.
|
|
30583
|
+
* Which page of up to 25 leads to return, starting at 1 (1-100, default 1). Also pages through a salesNavUrl search. Each page is billed as one request.
|
|
30579
30584
|
* Range: minimum 1, maximum 100.
|
|
30580
30585
|
* Default: 1.
|
|
30581
30586
|
*/
|
|
@@ -30598,9 +30603,9 @@ interface LinkedinSearchLeadsInput {
|
|
|
30598
30603
|
*/
|
|
30599
30604
|
profileLanguages?: ("Arabic" | "English" | "Spanish" | "Portuguese" | "Chinese" | "French" | "Italian" | "Russian" | "German" | "Dutch" | "Turkish" | "Tagalog" | "Polish" | "Korean" | "Japanese" | "Malay" | "Norwegian" | "Danish" | "Romanian" | "Swedish" | "Bahasa Indonesia" | "Czech")[];
|
|
30600
30605
|
/**
|
|
30601
|
-
* Search
|
|
30606
|
+
* Search keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.
|
|
30602
30607
|
*/
|
|
30603
|
-
query
|
|
30608
|
+
query?: string;
|
|
30604
30609
|
/**
|
|
30605
30610
|
* When true, only return people who recently changed jobs (a strong sales/recruiting signal).
|
|
30606
30611
|
*/
|
|
@@ -30609,6 +30614,10 @@ interface LinkedinSearchLeadsInput {
|
|
|
30609
30614
|
* When true, only return people who recently posted on LinkedIn (an activity signal).
|
|
30610
30615
|
*/
|
|
30611
30616
|
recentlyPostedOnLinkedIn?: boolean;
|
|
30617
|
+
/**
|
|
30618
|
+
* Alternatively, a LinkedIn Sales Navigator lead-search URL you built in Sales Navigator (e.g. https://www.linkedin.com/sales/search/people?query=(keywords%3Aengineer)). When set it overrides query and every other filter on this request; only page still applies.
|
|
30619
|
+
*/
|
|
30620
|
+
salesNavUrl?: string;
|
|
30612
30621
|
/**
|
|
30613
30622
|
* Filter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
|
|
30614
30623
|
*/
|
|
@@ -30716,7 +30725,7 @@ interface LinkedinSearchLeadsCurrentPosition {
|
|
|
30716
30725
|
[extra: string]: unknown;
|
|
30717
30726
|
}
|
|
30718
30727
|
/**
|
|
30719
|
-
* The `data` payload of LinkedIn
|
|
30728
|
+
* The `data` payload of LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
|
|
30720
30729
|
*/
|
|
30721
30730
|
interface LinkedinSearchLeadsData {
|
|
30722
30731
|
/**
|
|
@@ -32014,14 +32023,14 @@ declare class LinkedinNamespace {
|
|
|
32014
32023
|
*/
|
|
32015
32024
|
searchCompanies(input: LinkedinSearchCompaniesInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchCompaniesData>>;
|
|
32016
32025
|
/**
|
|
32017
|
-
* LinkedIn
|
|
32026
|
+
* LinkedIn Sales Navigator Lead Search
|
|
32018
32027
|
*
|
|
32019
|
-
*
|
|
32028
|
+
* LinkedIn lead search with Sales Navigator's search and filters: one call returns a page of up to 25 people matching a keyword and Sales Navigator lead filters (location, job title, current and past company, school, seniority, function, company size, and more), or the results of a Sales Navigator lead-search URL you built yourself. Each lead comes with name, current positions, location, summary, and photo, and its url opens the profile and can be passed to linkedin.profile for the full record. For full profiles in one call use linkedin.search_profiles.
|
|
32020
32029
|
*
|
|
32021
32030
|
* Price: $0.07 per request.
|
|
32022
32031
|
*
|
|
32023
32032
|
* @example
|
|
32024
|
-
* const res = await client.linkedin.searchLeads({
|
|
32033
|
+
* const res = await client.linkedin.searchLeads({ currentCompanies: ["Google"], query: "engineer" });
|
|
32025
32034
|
*/
|
|
32026
32035
|
searchLeads(input: LinkedinSearchLeadsInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchLeadsData>>;
|
|
32027
32036
|
/**
|
|
@@ -55437,10 +55446,10 @@ interface TiktokVideoTranscriptFullData {
|
|
|
55437
55446
|
*/
|
|
55438
55447
|
segments?: TiktokVideoTranscriptFullSegment[];
|
|
55439
55448
|
/**
|
|
55440
|
-
* How the text was produced. "audio_asr" means the words come from speech recognition over the video's audio, never from a caption track TikTok published - for TikTok's own captions, use tiktok.video_transcript. "transcript_unavailable" means recognition did not complete for this video, so the transcript is empty for that reason rather than because the video has no speech in it; the rest of the record is still what we resolved, and no audio time is charged. Populated whenever the provider has data for the entity.
|
|
55441
|
-
* One of: audio_asr, transcript_unavailable.
|
|
55449
|
+
* How the text was produced. "audio_asr" means the words come from speech recognition over the video's audio, never from a caption track TikTok published - for TikTok's own captions, use tiktok.video_transcript. "transcript_unavailable" means recognition did not complete for this video, so the transcript is empty for that reason rather than because the video has no speech in it; the rest of the record is still what we resolved, and no audio time is charged. "no_audio" means there was nothing to listen to: the video has no audio track, or the post has no video. The transcript is empty because that is the answer, the rest of the record is still what we resolved, and only the request price is charged, with no audio time. Populated whenever the provider has data for the entity.
|
|
55450
|
+
* One of: audio_asr, no_audio, transcript_unavailable.
|
|
55442
55451
|
*/
|
|
55443
|
-
source: "audio_asr" | "transcript_unavailable";
|
|
55452
|
+
source: "audio_asr" | "no_audio" | "transcript_unavailable";
|
|
55444
55453
|
/**
|
|
55445
55454
|
* Cover image for the video. A signed, short-lived TikTok CDN URL, often served as HEIC rather than JPEG, so fetch it promptly and transcode if you need broad browser support.
|
|
55446
55455
|
* Format: uri.
|
|
@@ -59592,7 +59601,7 @@ declare class TwitterNamespace {
|
|
|
59592
59601
|
*
|
|
59593
59602
|
* Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
|
|
59594
59603
|
*
|
|
59595
|
-
* Price: $0.
|
|
59604
|
+
* Price: $0.0007 per request.
|
|
59596
59605
|
*
|
|
59597
59606
|
* @example
|
|
59598
59607
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
package/dist/index.js
CHANGED
|
@@ -4482,14 +4482,14 @@ var LinkedinNamespace = class {
|
|
|
4482
4482
|
return this._core.run("linkedin.search_companies", input, options);
|
|
4483
4483
|
}
|
|
4484
4484
|
/**
|
|
4485
|
-
* LinkedIn
|
|
4485
|
+
* LinkedIn Sales Navigator Lead Search
|
|
4486
4486
|
*
|
|
4487
|
-
*
|
|
4487
|
+
* LinkedIn lead search with Sales Navigator's search and filters: one call returns a page of up to 25 people matching a keyword and Sales Navigator lead filters (location, job title, current and past company, school, seniority, function, company size, and more), or the results of a Sales Navigator lead-search URL you built yourself. Each lead comes with name, current positions, location, summary, and photo, and its url opens the profile and can be passed to linkedin.profile for the full record. For full profiles in one call use linkedin.search_profiles.
|
|
4488
4488
|
*
|
|
4489
4489
|
* Price: $0.07 per request.
|
|
4490
4490
|
*
|
|
4491
4491
|
* @example
|
|
4492
|
-
* const res = await client.linkedin.searchLeads({
|
|
4492
|
+
* const res = await client.linkedin.searchLeads({ currentCompanies: ["Google"], query: "engineer" });
|
|
4493
4493
|
*/
|
|
4494
4494
|
searchLeads(input, options) {
|
|
4495
4495
|
return this._core.run("linkedin.search_leads", input, options);
|
|
@@ -7561,7 +7561,7 @@ var TwitterNamespace = class {
|
|
|
7561
7561
|
*
|
|
7562
7562
|
* Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
|
|
7563
7563
|
*
|
|
7564
|
-
* Price: $0.
|
|
7564
|
+
* Price: $0.0007 per request.
|
|
7565
7565
|
*
|
|
7566
7566
|
* @example
|
|
7567
7567
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|