@getanyapi/sdk 0.68.0 → 0.69.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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -26145,7 +26145,7 @@ interface LinkedinCompanyEmployeesInput {
|
|
|
26145
26145
|
*/
|
|
26146
26146
|
jobTitle?: string;
|
|
26147
26147
|
/**
|
|
26148
|
-
* Maximum number of results to return (1-10, default 10).
|
|
26148
|
+
* Maximum number of results to return (1-10, default 10).
|
|
26149
26149
|
* Range: minimum 1, maximum 10.
|
|
26150
26150
|
*/
|
|
26151
26151
|
limit?: number;
|
|
@@ -26535,6 +26535,10 @@ interface LinkedinCompanyThinInput {
|
|
|
26535
26535
|
* Range: minimum 1.
|
|
26536
26536
|
*/
|
|
26537
26537
|
preferLatencyUnderMs?: number;
|
|
26538
|
+
/**
|
|
26539
|
+
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `companyType` or `coverImage`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a company page that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
26540
|
+
*/
|
|
26541
|
+
requireFields?: ("companyType" | "coverImage")[];
|
|
26538
26542
|
/**
|
|
26539
26543
|
* Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
|
|
26540
26544
|
*/
|
|
@@ -26551,11 +26555,11 @@ interface LinkedinCompanyThinData {
|
|
|
26551
26555
|
/**
|
|
26552
26556
|
* Company type, e.g. Privately Held, Public Company.
|
|
26553
26557
|
*/
|
|
26554
|
-
companyType?: string;
|
|
26558
|
+
companyType?: string | null;
|
|
26555
26559
|
/**
|
|
26556
26560
|
* Company page cover image URL. The query string is a signed token, so keep the URL intact.
|
|
26557
26561
|
*/
|
|
26558
|
-
coverImage?: string;
|
|
26562
|
+
coverImage?: string | null;
|
|
26559
26563
|
/**
|
|
26560
26564
|
* Company about/description text. Populated whenever the provider has data for the entity.
|
|
26561
26565
|
*/
|
|
@@ -29505,6 +29509,10 @@ interface LinkedinSearchPostsFullInput {
|
|
|
29505
29509
|
* LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
|
|
29506
29510
|
*/
|
|
29507
29511
|
query: string;
|
|
29512
|
+
/**
|
|
29513
|
+
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `attachmentType` or `pollOptions`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
29514
|
+
*/
|
|
29515
|
+
requireFields?: ("attachmentDescription" | "attachmentImage" | "attachmentSubtitle" | "attachmentTitle" | "attachmentType" | "attachmentUrl" | "pollClosed" | "pollOptions" | "pollQuestion" | "pollTotalVotes")[];
|
|
29508
29516
|
/**
|
|
29509
29517
|
* Order results by search relevance or publication date.
|
|
29510
29518
|
* One of: relevance, date.
|
|
@@ -30423,7 +30431,7 @@ declare class LinkedinNamespace {
|
|
|
30423
30431
|
*
|
|
30424
30432
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
30425
30433
|
*
|
|
30426
|
-
* Price: $0.
|
|
30434
|
+
* Price: $0.006 per request.
|
|
30427
30435
|
*
|
|
30428
30436
|
* @example
|
|
30429
30437
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -30456,7 +30464,7 @@ declare class LinkedinNamespace {
|
|
|
30456
30464
|
*
|
|
30457
30465
|
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
30458
30466
|
*
|
|
30459
|
-
* Price: $0.
|
|
30467
|
+
* Price: $0.001 per request.
|
|
30460
30468
|
*
|
|
30461
30469
|
* @example
|
|
30462
30470
|
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -30650,7 +30658,7 @@ declare class LinkedinNamespace {
|
|
|
30650
30658
|
*
|
|
30651
30659
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
30652
30660
|
*
|
|
30653
|
-
* Price: $0.
|
|
30661
|
+
* Price: $0.003 per request.
|
|
30654
30662
|
*
|
|
30655
30663
|
* @example
|
|
30656
30664
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
package/dist/index.d.ts
CHANGED
|
@@ -26145,7 +26145,7 @@ interface LinkedinCompanyEmployeesInput {
|
|
|
26145
26145
|
*/
|
|
26146
26146
|
jobTitle?: string;
|
|
26147
26147
|
/**
|
|
26148
|
-
* Maximum number of results to return (1-10, default 10).
|
|
26148
|
+
* Maximum number of results to return (1-10, default 10).
|
|
26149
26149
|
* Range: minimum 1, maximum 10.
|
|
26150
26150
|
*/
|
|
26151
26151
|
limit?: number;
|
|
@@ -26535,6 +26535,10 @@ interface LinkedinCompanyThinInput {
|
|
|
26535
26535
|
* Range: minimum 1.
|
|
26536
26536
|
*/
|
|
26537
26537
|
preferLatencyUnderMs?: number;
|
|
26538
|
+
/**
|
|
26539
|
+
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `companyType` or `coverImage`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a company page that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
26540
|
+
*/
|
|
26541
|
+
requireFields?: ("companyType" | "coverImage")[];
|
|
26538
26542
|
/**
|
|
26539
26543
|
* Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
|
|
26540
26544
|
*/
|
|
@@ -26551,11 +26555,11 @@ interface LinkedinCompanyThinData {
|
|
|
26551
26555
|
/**
|
|
26552
26556
|
* Company type, e.g. Privately Held, Public Company.
|
|
26553
26557
|
*/
|
|
26554
|
-
companyType?: string;
|
|
26558
|
+
companyType?: string | null;
|
|
26555
26559
|
/**
|
|
26556
26560
|
* Company page cover image URL. The query string is a signed token, so keep the URL intact.
|
|
26557
26561
|
*/
|
|
26558
|
-
coverImage?: string;
|
|
26562
|
+
coverImage?: string | null;
|
|
26559
26563
|
/**
|
|
26560
26564
|
* Company about/description text. Populated whenever the provider has data for the entity.
|
|
26561
26565
|
*/
|
|
@@ -29505,6 +29509,10 @@ interface LinkedinSearchPostsFullInput {
|
|
|
29505
29509
|
* LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
|
|
29506
29510
|
*/
|
|
29507
29511
|
query: string;
|
|
29512
|
+
/**
|
|
29513
|
+
* Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `attachmentType` or `pollOptions`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
29514
|
+
*/
|
|
29515
|
+
requireFields?: ("attachmentDescription" | "attachmentImage" | "attachmentSubtitle" | "attachmentTitle" | "attachmentType" | "attachmentUrl" | "pollClosed" | "pollOptions" | "pollQuestion" | "pollTotalVotes")[];
|
|
29508
29516
|
/**
|
|
29509
29517
|
* Order results by search relevance or publication date.
|
|
29510
29518
|
* One of: relevance, date.
|
|
@@ -30423,7 +30431,7 @@ declare class LinkedinNamespace {
|
|
|
30423
30431
|
*
|
|
30424
30432
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
30425
30433
|
*
|
|
30426
|
-
* Price: $0.
|
|
30434
|
+
* Price: $0.006 per request.
|
|
30427
30435
|
*
|
|
30428
30436
|
* @example
|
|
30429
30437
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -30456,7 +30464,7 @@ declare class LinkedinNamespace {
|
|
|
30456
30464
|
*
|
|
30457
30465
|
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
30458
30466
|
*
|
|
30459
|
-
* Price: $0.
|
|
30467
|
+
* Price: $0.001 per request.
|
|
30460
30468
|
*
|
|
30461
30469
|
* @example
|
|
30462
30470
|
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -30650,7 +30658,7 @@ declare class LinkedinNamespace {
|
|
|
30650
30658
|
*
|
|
30651
30659
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
30652
30660
|
*
|
|
30653
|
-
* Price: $0.
|
|
30661
|
+
* Price: $0.003 per request.
|
|
30654
30662
|
*
|
|
30655
30663
|
* @example
|
|
30656
30664
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|
package/dist/index.js
CHANGED
|
@@ -4210,7 +4210,7 @@ var LinkedinNamespace = class {
|
|
|
4210
4210
|
*
|
|
4211
4211
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
4212
4212
|
*
|
|
4213
|
-
* Price: $0.
|
|
4213
|
+
* Price: $0.006 per request.
|
|
4214
4214
|
*
|
|
4215
4215
|
* @example
|
|
4216
4216
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -4249,7 +4249,7 @@ var LinkedinNamespace = class {
|
|
|
4249
4249
|
*
|
|
4250
4250
|
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
4251
4251
|
*
|
|
4252
|
-
* Price: $0.
|
|
4252
|
+
* Price: $0.001 per request.
|
|
4253
4253
|
*
|
|
4254
4254
|
* @example
|
|
4255
4255
|
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -4486,7 +4486,7 @@ var LinkedinNamespace = class {
|
|
|
4486
4486
|
*
|
|
4487
4487
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
4488
4488
|
*
|
|
4489
|
-
* Price: $0.
|
|
4489
|
+
* Price: $0.003 per request.
|
|
4490
4490
|
*
|
|
4491
4491
|
* @example
|
|
4492
4492
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|