@getanyapi/sdk 0.69.0 → 0.70.1

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
@@ -18266,7 +18266,7 @@ interface GlassdoorJobsInput {
18266
18266
  */
18267
18267
  ignoreSources?: string[];
18268
18268
  /**
18269
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
18269
+ * Maximum number of results to return (1-20, default 20).
18270
18270
  * Range: minimum 1, maximum 20.
18271
18271
  */
18272
18272
  limit?: number;
@@ -18288,6 +18288,10 @@ interface GlassdoorJobsInput {
18288
18288
  * Job title or keywords to search (keyword mode). Provide this or a url.
18289
18289
  */
18290
18290
  query?: string;
18291
+ /**
18292
+ * 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 `companyIndustry` or `logoUrl`, 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 job listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
18293
+ */
18294
+ requireFields?: ("companyIndustry" | "companyRevenue" | "companySize" | "companyType" | "expired" | "logoUrl" | "normalizedTitle" | "sector")[];
18291
18295
  /**
18292
18296
  * Sort order: most recent (date) or best match (relevance). Keyword mode only.
18293
18297
  * One of: date, relevance.
@@ -18331,19 +18335,19 @@ interface GlassdoorJobsItem {
18331
18335
  /**
18332
18336
  * Primary industry of the hiring employer.
18333
18337
  */
18334
- companyIndustry?: string;
18338
+ companyIndustry?: string | null;
18335
18339
  /**
18336
18340
  * Employer revenue band as Glassdoor words it.
18337
18341
  */
18338
- companyRevenue?: string;
18342
+ companyRevenue?: string | null;
18339
18343
  /**
18340
18344
  * Employer headcount band as Glassdoor words it (e.g. "1001 to 5000 Employees").
18341
18345
  */
18342
- companySize?: string;
18346
+ companySize?: string | null;
18343
18347
  /**
18344
18348
  * Employer ownership type (e.g. "Company - Private").
18345
18349
  */
18346
- companyType?: string;
18350
+ companyType?: string | null;
18347
18351
  /**
18348
18352
  * Full job description (may contain HTML).
18349
18353
  */
@@ -18355,7 +18359,7 @@ interface GlassdoorJobsItem {
18355
18359
  /**
18356
18360
  * Whether Glassdoor reports the listing as expired.
18357
18361
  */
18358
- expired?: boolean;
18362
+ expired?: boolean | null;
18359
18363
  /**
18360
18364
  * Glassdoor job listing id. Populated whenever the provider has data for the entity.
18361
18365
  */
@@ -18371,11 +18375,11 @@ interface GlassdoorJobsItem {
18371
18375
  /**
18372
18376
  * Employer square logo image URL.
18373
18377
  */
18374
- logoUrl?: string;
18378
+ logoUrl?: string | null;
18375
18379
  /**
18376
18380
  * Glassdoor's normalized occupation title for the listing.
18377
18381
  */
18378
- normalizedTitle?: string;
18382
+ normalizedTitle?: string | null;
18379
18383
  /**
18380
18384
  * Employer Glassdoor star rating (0 when not rated).
18381
18385
  */
@@ -18408,7 +18412,7 @@ interface GlassdoorJobsItem {
18408
18412
  /**
18409
18413
  * Sector of the hiring employer.
18410
18414
  */
18411
- sector?: string;
18415
+ sector?: string | null;
18412
18416
  /**
18413
18417
  * Job title. Populated whenever the provider has data for the entity.
18414
18418
  */
@@ -18440,10 +18444,10 @@ declare class GlassdoorNamespace {
18440
18444
  *
18441
18445
  * Search Glassdoor job listings by keyword and location, or scrape any Glassdoor company or job search page URL - up to 20 normalized job records per request.
18442
18446
  *
18443
- * Price: $0.0055 per request plus $0.00523 per result (maximum $0.11).
18447
+ * Price: $0.007 per request.
18444
18448
  *
18445
18449
  * @example
18446
- * const res = await client.glassdoor.jobs({ limit: 3, location: "United States", postedLimit: "month", query: "software engineer" });
18450
+ * const res = await client.glassdoor.jobs({ limit: 3, url: "https://www.glassdoor.com/Jobs/Google-Jobs-E9079.htm" });
18447
18451
  */
18448
18452
  jobs(input: GlassdoorJobsInput, options?: RequestOptions): Promise<RunResult<GlassdoorJobsData>>;
18449
18453
  }
@@ -30658,7 +30662,7 @@ declare class LinkedinNamespace {
30658
30662
  *
30659
30663
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
30660
30664
  *
30661
- * Price: $0.003 per request.
30665
+ * Price: $0.004 per request.
30662
30666
  *
30663
30667
  * @example
30664
30668
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -57977,7 +57981,7 @@ interface UpworkJobsInput {
57977
57981
  */
57978
57982
  jobType?: "fixed" | "hourly";
57979
57983
  /**
57980
- * Maximum number of results to return (10-25, default 25). You are billed per result returned, so a lower limit costs less.
57984
+ * Maximum number of results to return (10-25, default 25).
57981
57985
  * Range: minimum 10, maximum 25.
57982
57986
  */
57983
57987
  limit?: number;
@@ -57998,6 +58002,10 @@ interface UpworkJobsInput {
57998
58002
  * Keywords to search Upwork jobs for (e.g. react developer).
57999
58003
  */
58000
58004
  query: string;
58005
+ /**
58006
+ * 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 `premium` or `reposted`, 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 job that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
58007
+ */
58008
+ requireFields?: ("premium" | "reposted")[];
58001
58009
  /**
58002
58010
  * Sort order for listings: newest or relevance (e.g. newest).
58003
58011
  * One of: newest, relevance.
@@ -58074,7 +58082,7 @@ interface UpworkJobsItem {
58074
58082
  /**
58075
58083
  * Whether Upwork flags the posting as premium.
58076
58084
  */
58077
- premium?: boolean;
58085
+ premium?: boolean | null;
58078
58086
  /**
58079
58087
  * Number of proposals submitted.
58080
58088
  */
@@ -58082,7 +58090,7 @@ interface UpworkJobsItem {
58082
58090
  /**
58083
58091
  * Whether the posting is a repost of an earlier job.
58084
58092
  */
58085
- reposted?: boolean;
58093
+ reposted?: boolean | null;
58086
58094
  /**
58087
58095
  * Skill tags.
58088
58096
  */
@@ -58118,7 +58126,7 @@ declare class UpworkNamespace {
58118
58126
  *
58119
58127
  * Search Upwork job postings by keyword, with up to 25 fresh listings per request.
58120
58128
  *
58121
- * Price: $0.0011 per request plus $0.0011 per result (maximum $0.0286).
58129
+ * Price: $0.007 per request.
58122
58130
  *
58123
58131
  * @example
58124
58132
  * const res = await client.upwork.jobs({ query: "web developer", jobType: "fixed", limit: 10 });
package/dist/index.d.ts CHANGED
@@ -18266,7 +18266,7 @@ interface GlassdoorJobsInput {
18266
18266
  */
18267
18267
  ignoreSources?: string[];
18268
18268
  /**
18269
- * Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
18269
+ * Maximum number of results to return (1-20, default 20).
18270
18270
  * Range: minimum 1, maximum 20.
18271
18271
  */
18272
18272
  limit?: number;
@@ -18288,6 +18288,10 @@ interface GlassdoorJobsInput {
18288
18288
  * Job title or keywords to search (keyword mode). Provide this or a url.
18289
18289
  */
18290
18290
  query?: string;
18291
+ /**
18292
+ * 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 `companyIndustry` or `logoUrl`, 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 job listing that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
18293
+ */
18294
+ requireFields?: ("companyIndustry" | "companyRevenue" | "companySize" | "companyType" | "expired" | "logoUrl" | "normalizedTitle" | "sector")[];
18291
18295
  /**
18292
18296
  * Sort order: most recent (date) or best match (relevance). Keyword mode only.
18293
18297
  * One of: date, relevance.
@@ -18331,19 +18335,19 @@ interface GlassdoorJobsItem {
18331
18335
  /**
18332
18336
  * Primary industry of the hiring employer.
18333
18337
  */
18334
- companyIndustry?: string;
18338
+ companyIndustry?: string | null;
18335
18339
  /**
18336
18340
  * Employer revenue band as Glassdoor words it.
18337
18341
  */
18338
- companyRevenue?: string;
18342
+ companyRevenue?: string | null;
18339
18343
  /**
18340
18344
  * Employer headcount band as Glassdoor words it (e.g. "1001 to 5000 Employees").
18341
18345
  */
18342
- companySize?: string;
18346
+ companySize?: string | null;
18343
18347
  /**
18344
18348
  * Employer ownership type (e.g. "Company - Private").
18345
18349
  */
18346
- companyType?: string;
18350
+ companyType?: string | null;
18347
18351
  /**
18348
18352
  * Full job description (may contain HTML).
18349
18353
  */
@@ -18355,7 +18359,7 @@ interface GlassdoorJobsItem {
18355
18359
  /**
18356
18360
  * Whether Glassdoor reports the listing as expired.
18357
18361
  */
18358
- expired?: boolean;
18362
+ expired?: boolean | null;
18359
18363
  /**
18360
18364
  * Glassdoor job listing id. Populated whenever the provider has data for the entity.
18361
18365
  */
@@ -18371,11 +18375,11 @@ interface GlassdoorJobsItem {
18371
18375
  /**
18372
18376
  * Employer square logo image URL.
18373
18377
  */
18374
- logoUrl?: string;
18378
+ logoUrl?: string | null;
18375
18379
  /**
18376
18380
  * Glassdoor's normalized occupation title for the listing.
18377
18381
  */
18378
- normalizedTitle?: string;
18382
+ normalizedTitle?: string | null;
18379
18383
  /**
18380
18384
  * Employer Glassdoor star rating (0 when not rated).
18381
18385
  */
@@ -18408,7 +18412,7 @@ interface GlassdoorJobsItem {
18408
18412
  /**
18409
18413
  * Sector of the hiring employer.
18410
18414
  */
18411
- sector?: string;
18415
+ sector?: string | null;
18412
18416
  /**
18413
18417
  * Job title. Populated whenever the provider has data for the entity.
18414
18418
  */
@@ -18440,10 +18444,10 @@ declare class GlassdoorNamespace {
18440
18444
  *
18441
18445
  * Search Glassdoor job listings by keyword and location, or scrape any Glassdoor company or job search page URL - up to 20 normalized job records per request.
18442
18446
  *
18443
- * Price: $0.0055 per request plus $0.00523 per result (maximum $0.11).
18447
+ * Price: $0.007 per request.
18444
18448
  *
18445
18449
  * @example
18446
- * const res = await client.glassdoor.jobs({ limit: 3, location: "United States", postedLimit: "month", query: "software engineer" });
18450
+ * const res = await client.glassdoor.jobs({ limit: 3, url: "https://www.glassdoor.com/Jobs/Google-Jobs-E9079.htm" });
18447
18451
  */
18448
18452
  jobs(input: GlassdoorJobsInput, options?: RequestOptions): Promise<RunResult<GlassdoorJobsData>>;
18449
18453
  }
@@ -30658,7 +30662,7 @@ declare class LinkedinNamespace {
30658
30662
  *
30659
30663
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
30660
30664
  *
30661
- * Price: $0.003 per request.
30665
+ * Price: $0.004 per request.
30662
30666
  *
30663
30667
  * @example
30664
30668
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -57977,7 +57981,7 @@ interface UpworkJobsInput {
57977
57981
  */
57978
57982
  jobType?: "fixed" | "hourly";
57979
57983
  /**
57980
- * Maximum number of results to return (10-25, default 25). You are billed per result returned, so a lower limit costs less.
57984
+ * Maximum number of results to return (10-25, default 25).
57981
57985
  * Range: minimum 10, maximum 25.
57982
57986
  */
57983
57987
  limit?: number;
@@ -57998,6 +58002,10 @@ interface UpworkJobsInput {
57998
58002
  * Keywords to search Upwork jobs for (e.g. react developer).
57999
58003
  */
58000
58004
  query: string;
58005
+ /**
58006
+ * 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 `premium` or `reposted`, 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 job that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
58007
+ */
58008
+ requireFields?: ("premium" | "reposted")[];
58001
58009
  /**
58002
58010
  * Sort order for listings: newest or relevance (e.g. newest).
58003
58011
  * One of: newest, relevance.
@@ -58074,7 +58082,7 @@ interface UpworkJobsItem {
58074
58082
  /**
58075
58083
  * Whether Upwork flags the posting as premium.
58076
58084
  */
58077
- premium?: boolean;
58085
+ premium?: boolean | null;
58078
58086
  /**
58079
58087
  * Number of proposals submitted.
58080
58088
  */
@@ -58082,7 +58090,7 @@ interface UpworkJobsItem {
58082
58090
  /**
58083
58091
  * Whether the posting is a repost of an earlier job.
58084
58092
  */
58085
- reposted?: boolean;
58093
+ reposted?: boolean | null;
58086
58094
  /**
58087
58095
  * Skill tags.
58088
58096
  */
@@ -58118,7 +58126,7 @@ declare class UpworkNamespace {
58118
58126
  *
58119
58127
  * Search Upwork job postings by keyword, with up to 25 fresh listings per request.
58120
58128
  *
58121
- * Price: $0.0011 per request plus $0.0011 per result (maximum $0.0286).
58129
+ * Price: $0.007 per request.
58122
58130
  *
58123
58131
  * @example
58124
58132
  * const res = await client.upwork.jobs({ query: "web developer", jobType: "fixed", limit: 10 });
package/dist/index.js CHANGED
@@ -3005,10 +3005,10 @@ var GlassdoorNamespace = class {
3005
3005
  *
3006
3006
  * Search Glassdoor job listings by keyword and location, or scrape any Glassdoor company or job search page URL - up to 20 normalized job records per request.
3007
3007
  *
3008
- * Price: $0.0055 per request plus $0.00523 per result (maximum $0.11).
3008
+ * Price: $0.007 per request.
3009
3009
  *
3010
3010
  * @example
3011
- * const res = await client.glassdoor.jobs({ limit: 3, location: "United States", postedLimit: "month", query: "software engineer" });
3011
+ * const res = await client.glassdoor.jobs({ limit: 3, url: "https://www.glassdoor.com/Jobs/Google-Jobs-E9079.htm" });
3012
3012
  */
3013
3013
  jobs(input, options) {
3014
3014
  return this._core.run("glassdoor.jobs", input, options);
@@ -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.003 per request.
4489
+ * Price: $0.004 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" });
@@ -7613,7 +7613,7 @@ var UpworkNamespace = class {
7613
7613
  *
7614
7614
  * Search Upwork job postings by keyword, with up to 25 fresh listings per request.
7615
7615
  *
7616
- * Price: $0.0011 per request plus $0.0011 per result (maximum $0.0286).
7616
+ * Price: $0.007 per request.
7617
7617
  *
7618
7618
  * @example
7619
7619
  * const res = await client.upwork.jobs({ query: "web developer", jobType: "fixed", limit: 10 });