@getanyapi/sdk 0.86.0 → 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.d.cts CHANGED
@@ -25803,7 +25803,7 @@ declare class InstagramNamespace {
25803
25803
  *
25804
25804
  * List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
25805
25805
  *
25806
- * Price: $0.00095 per request.
25806
+ * Price: $0.0008 per request.
25807
25807
  *
25808
25808
  * @example
25809
25809
  * const res = await client.instagram.userReels({ handle: "nasa" });
@@ -30499,7 +30499,7 @@ interface LinkedinSearchCompaniesData {
30499
30499
  items: LinkedinSearchCompaniesItem[];
30500
30500
  }
30501
30501
  /**
30502
- * Input for LinkedIn Fast Leads List (linkedin.search_leads).
30502
+ * Input for LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
30503
30503
  */
30504
30504
  interface LinkedinSearchLeadsInput {
30505
30505
  /**
@@ -30580,7 +30580,7 @@ interface LinkedinSearchLeadsInput {
30580
30580
  */
30581
30581
  location?: string;
30582
30582
  /**
30583
- * 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.
30584
30584
  * Range: minimum 1, maximum 100.
30585
30585
  * Default: 1.
30586
30586
  */
@@ -30603,9 +30603,9 @@ interface LinkedinSearchLeadsInput {
30603
30603
  */
30604
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")[];
30605
30605
  /**
30606
- * Search query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').
30606
+ * Search keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.
30607
30607
  */
30608
- query: string;
30608
+ query?: string;
30609
30609
  /**
30610
30610
  * When true, only return people who recently changed jobs (a strong sales/recruiting signal).
30611
30611
  */
@@ -30614,6 +30614,10 @@ interface LinkedinSearchLeadsInput {
30614
30614
  * When true, only return people who recently posted on LinkedIn (an activity signal).
30615
30615
  */
30616
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;
30617
30621
  /**
30618
30622
  * Filter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
30619
30623
  */
@@ -30721,7 +30725,7 @@ interface LinkedinSearchLeadsCurrentPosition {
30721
30725
  [extra: string]: unknown;
30722
30726
  }
30723
30727
  /**
30724
- * The `data` payload of LinkedIn Fast Leads List (linkedin.search_leads).
30728
+ * The `data` payload of LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
30725
30729
  */
30726
30730
  interface LinkedinSearchLeadsData {
30727
30731
  /**
@@ -32019,14 +32023,14 @@ declare class LinkedinNamespace {
32019
32023
  */
32020
32024
  searchCompanies(input: LinkedinSearchCompaniesInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchCompaniesData>>;
32021
32025
  /**
32022
- * LinkedIn Fast Leads List
32026
+ * LinkedIn Sales Navigator Lead Search
32023
32027
  *
32024
- * Fast LinkedIn leads list: one call returns a page of up to 25 people matching a keyword and optional filters (location, job title, company, school, seniority, function, company size, and more), each with name, current positions, location, summary, and photo. Each lead's 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.
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.
32025
32029
  *
32026
32030
  * Price: $0.07 per request.
32027
32031
  *
32028
32032
  * @example
32029
- * const res = await client.linkedin.searchLeads({ query: "engineer", currentCompanies: ["Google"] });
32033
+ * const res = await client.linkedin.searchLeads({ currentCompanies: ["Google"], query: "engineer" });
32030
32034
  */
32031
32035
  searchLeads(input: LinkedinSearchLeadsInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchLeadsData>>;
32032
32036
  /**
package/dist/index.d.ts CHANGED
@@ -25803,7 +25803,7 @@ declare class InstagramNamespace {
25803
25803
  *
25804
25804
  * List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
25805
25805
  *
25806
- * Price: $0.00095 per request.
25806
+ * Price: $0.0008 per request.
25807
25807
  *
25808
25808
  * @example
25809
25809
  * const res = await client.instagram.userReels({ handle: "nasa" });
@@ -30499,7 +30499,7 @@ interface LinkedinSearchCompaniesData {
30499
30499
  items: LinkedinSearchCompaniesItem[];
30500
30500
  }
30501
30501
  /**
30502
- * Input for LinkedIn Fast Leads List (linkedin.search_leads).
30502
+ * Input for LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
30503
30503
  */
30504
30504
  interface LinkedinSearchLeadsInput {
30505
30505
  /**
@@ -30580,7 +30580,7 @@ interface LinkedinSearchLeadsInput {
30580
30580
  */
30581
30581
  location?: string;
30582
30582
  /**
30583
- * 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.
30584
30584
  * Range: minimum 1, maximum 100.
30585
30585
  * Default: 1.
30586
30586
  */
@@ -30603,9 +30603,9 @@ interface LinkedinSearchLeadsInput {
30603
30603
  */
30604
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")[];
30605
30605
  /**
30606
- * Search query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').
30606
+ * Search keywords for LinkedIn leads: a role, name, or keywords (e.g. 'Marketing Manager'). Provide this or salesNavUrl.
30607
30607
  */
30608
- query: string;
30608
+ query?: string;
30609
30609
  /**
30610
30610
  * When true, only return people who recently changed jobs (a strong sales/recruiting signal).
30611
30611
  */
@@ -30614,6 +30614,10 @@ interface LinkedinSearchLeadsInput {
30614
30614
  * When true, only return people who recently posted on LinkedIn (an activity signal).
30615
30615
  */
30616
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;
30617
30621
  /**
30618
30622
  * Filter to people who attended any of these schools, by name. Commas are not allowed in a value. Up to 50 values.
30619
30623
  */
@@ -30721,7 +30725,7 @@ interface LinkedinSearchLeadsCurrentPosition {
30721
30725
  [extra: string]: unknown;
30722
30726
  }
30723
30727
  /**
30724
- * The `data` payload of LinkedIn Fast Leads List (linkedin.search_leads).
30728
+ * The `data` payload of LinkedIn Sales Navigator Lead Search (linkedin.search_leads).
30725
30729
  */
30726
30730
  interface LinkedinSearchLeadsData {
30727
30731
  /**
@@ -32019,14 +32023,14 @@ declare class LinkedinNamespace {
32019
32023
  */
32020
32024
  searchCompanies(input: LinkedinSearchCompaniesInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchCompaniesData>>;
32021
32025
  /**
32022
- * LinkedIn Fast Leads List
32026
+ * LinkedIn Sales Navigator Lead Search
32023
32027
  *
32024
- * Fast LinkedIn leads list: one call returns a page of up to 25 people matching a keyword and optional filters (location, job title, company, school, seniority, function, company size, and more), each with name, current positions, location, summary, and photo. Each lead's 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.
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.
32025
32029
  *
32026
32030
  * Price: $0.07 per request.
32027
32031
  *
32028
32032
  * @example
32029
- * const res = await client.linkedin.searchLeads({ query: "engineer", currentCompanies: ["Google"] });
32033
+ * const res = await client.linkedin.searchLeads({ currentCompanies: ["Google"], query: "engineer" });
32030
32034
  */
32031
32035
  searchLeads(input: LinkedinSearchLeadsInput, options?: RequestOptions): Promise<RunResult<LinkedinSearchLeadsData>>;
32032
32036
  /**
package/dist/index.js CHANGED
@@ -4074,7 +4074,7 @@ var InstagramNamespace = class {
4074
4074
  *
4075
4075
  * List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
4076
4076
  *
4077
- * Price: $0.00095 per request.
4077
+ * Price: $0.0008 per request.
4078
4078
  *
4079
4079
  * @example
4080
4080
  * const res = await client.instagram.userReels({ handle: "nasa" });
@@ -4482,14 +4482,14 @@ var LinkedinNamespace = class {
4482
4482
  return this._core.run("linkedin.search_companies", input, options);
4483
4483
  }
4484
4484
  /**
4485
- * LinkedIn Fast Leads List
4485
+ * LinkedIn Sales Navigator Lead Search
4486
4486
  *
4487
- * Fast LinkedIn leads list: one call returns a page of up to 25 people matching a keyword and optional filters (location, job title, company, school, seniority, function, company size, and more), each with name, current positions, location, summary, and photo. Each lead's 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.
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({ query: "engineer", currentCompanies: ["Google"] });
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);