@getanyapi/sdk 0.119.7 → 0.121.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.js CHANGED
@@ -1498,6 +1498,27 @@ var BookingNamespace = class {
1498
1498
  }
1499
1499
  };
1500
1500
 
1501
+ // src/generated/platforms/brave.ts
1502
+ var BraveNamespace = class {
1503
+ constructor(_core) {
1504
+ this._core = _core;
1505
+ }
1506
+ _core;
1507
+ /**
1508
+ * Brave Search
1509
+ *
1510
+ * Run a Brave web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON. Brave answers from its own independent index. Returns up to 20 results per call; pick the country Brave searches from.
1511
+ *
1512
+ * Price: $0.00085 per request.
1513
+ *
1514
+ * @example
1515
+ * const res = await client.brave.search({ query: "best running shoes", country: "US", limit: 20 });
1516
+ */
1517
+ search(input, options) {
1518
+ return this._core.run("brave.search", input, options);
1519
+ }
1520
+ };
1521
+
1501
1522
  // src/generated/platforms/capterra.ts
1502
1523
  var CapterraNamespace = class {
1503
1524
  constructor(_core) {
@@ -1951,6 +1972,27 @@ var DouyinNamespace = class {
1951
1972
  }
1952
1973
  };
1953
1974
 
1975
+ // src/generated/platforms/duckduckgo.ts
1976
+ var DuckduckgoNamespace = class {
1977
+ constructor(_core) {
1978
+ this._core = _core;
1979
+ }
1980
+ _core;
1981
+ /**
1982
+ * DuckDuckGo Search
1983
+ *
1984
+ * Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; pick the country DuckDuckGo searches from.
1985
+ *
1986
+ * Price: $0.00085 per request.
1987
+ *
1988
+ * @example
1989
+ * const res = await client.duckduckgo.search({ query: "best running shoes", country: "US", limit: 10 });
1990
+ */
1991
+ search(input, options) {
1992
+ return this._core.run("duckduckgo.search", input, options);
1993
+ }
1994
+ };
1995
+
1954
1996
  // src/generated/platforms/ebay.ts
1955
1997
  var EbayNamespace = class {
1956
1998
  constructor(_core) {
@@ -4419,6 +4461,27 @@ var JobSearchNamespace = class {
4419
4461
  }
4420
4462
  };
4421
4463
 
4464
+ // src/generated/platforms/levels.ts
4465
+ var LevelsNamespace = class {
4466
+ constructor(_core) {
4467
+ this._core = _core;
4468
+ }
4469
+ _core;
4470
+ /**
4471
+ * Levels.fyi Jobs
4472
+ *
4473
+ * Search Levels.fyi job listings by title or keyword and get each job with its salary range and estimated total compensation where Levels.fyi has them, plus company, location, posting date and apply link. Returns up to 20 jobs per call, grouped by company; filter by location and sort by relevance, date or pay.
4474
+ *
4475
+ * Price: $0.00085 per request.
4476
+ *
4477
+ * @example
4478
+ * const res = await client.levels.jobs({ query: "software engineer", limit: 10, location: "united-states" });
4479
+ */
4480
+ jobs(input, options) {
4481
+ return this._core.run("levels.jobs", input, options);
4482
+ }
4483
+ };
4484
+
4422
4485
  // src/generated/platforms/linkedin.ts
4423
4486
  var LinkedinNamespace = class {
4424
4487
  constructor(_core) {
@@ -4508,7 +4571,7 @@ var LinkedinNamespace = class {
4508
4571
  *
4509
4572
  * List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
4510
4573
  *
4511
- * Price: $0.005 per request.
4574
+ * Price: $0.0029 per request.
4512
4575
  *
4513
4576
  * @example
4514
4577
  * const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
@@ -4644,7 +4707,7 @@ var LinkedinNamespace = class {
4644
4707
  *
4645
4708
  * List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
4646
4709
  *
4647
- * Price: $0.005 per request.
4710
+ * Price: $0.0029 per request.
4648
4711
  *
4649
4712
  * @example
4650
4713
  * const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
@@ -4696,7 +4759,7 @@ var LinkedinNamespace = class {
4696
4759
  *
4697
4760
  * List the comments a LinkedIn member has left on other people's posts - the comment text, its permalink and timestamp, plus the post it was left on and that post's author and engagement.
4698
4761
  *
4699
- * Price: $0.005 per request.
4762
+ * Price: $0.0029 per request.
4700
4763
  *
4701
4764
  * @example
4702
4765
  * const res = await client.linkedin.profileComments({ url: "https://www.linkedin.com/in/jeffweiner08", limit: 10 });
@@ -4767,7 +4830,7 @@ var LinkedinNamespace = class {
4767
4830
  *
4768
4831
  * List the posts a LinkedIn member has reacted to - the reaction, its timestamp, and the full post it was made on with author and engagement.
4769
4832
  *
4770
- * Price: $0.005 per request.
4833
+ * Price: $0.0029 per request.
4771
4834
  *
4772
4835
  * @example
4773
4836
  * const res = await client.linkedin.profileReactions({ url: "https://www.linkedin.com/in/williamhgates", limit: 10 });
@@ -7907,7 +7970,7 @@ var TwitterNamespace = class {
7907
7970
  *
7908
7971
  * 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.
7909
7972
  *
7910
- * Price: $0.0007 per request.
7973
+ * Price: $0.00075 per request.
7911
7974
  *
7912
7975
  * @example
7913
7976
  * const res = await client.twitter.searchUsers({ query: "ai agents" });
@@ -8962,6 +9025,14 @@ var AnyAPI2 = class extends AnyAPI {
8962
9025
  this._core
8963
9026
  );
8964
9027
  }
9028
+ /**
9029
+ * Typed methods for the brave platform.
9030
+ */
9031
+ get brave() {
9032
+ return this._namespaces["brave"] ??= new BraveNamespace(
9033
+ this._core
9034
+ );
9035
+ }
8965
9036
  /**
8966
9037
  * Typed methods for the capterra platform.
8967
9038
  */
@@ -9036,6 +9107,14 @@ var AnyAPI2 = class extends AnyAPI {
9036
9107
  this._core
9037
9108
  );
9038
9109
  }
9110
+ /**
9111
+ * Typed methods for the duckduckgo platform.
9112
+ */
9113
+ get duckduckgo() {
9114
+ return this._namespaces["duckduckgo"] ??= new DuckduckgoNamespace(
9115
+ this._core
9116
+ );
9117
+ }
9039
9118
  /**
9040
9119
  * Typed methods for the ebay platform.
9041
9120
  */
@@ -9186,6 +9265,14 @@ var AnyAPI2 = class extends AnyAPI {
9186
9265
  this._core
9187
9266
  );
9188
9267
  }
9268
+ /**
9269
+ * Typed methods for the levels platform.
9270
+ */
9271
+ get levels() {
9272
+ return this._namespaces["levels"] ??= new LevelsNamespace(
9273
+ this._core
9274
+ );
9275
+ }
9189
9276
  /**
9190
9277
  * Typed methods for the linkedin platform.
9191
9278
  */
@@ -9549,6 +9636,7 @@ export {
9549
9636
  BingNamespace,
9550
9637
  BlueskyNamespace,
9551
9638
  BookingNamespace,
9639
+ BraveNamespace,
9552
9640
  CapterraNamespace,
9553
9641
  ChatgptNamespace,
9554
9642
  CoinmarketcapNamespace,
@@ -9560,6 +9648,7 @@ export {
9560
9648
  ConnectionError,
9561
9649
  ContactEnrichmentNamespace,
9562
9650
  DouyinNamespace,
9651
+ DuckduckgoNamespace,
9563
9652
  EbayNamespace,
9564
9653
  EmailFindingNamespace,
9565
9654
  EmailNamespace,
@@ -9580,6 +9669,7 @@ export {
9580
9669
  InstagramNamespace,
9581
9670
  InsufficientBalanceError,
9582
9671
  JobSearchNamespace,
9672
+ LevelsNamespace,
9583
9673
  LinkedinNamespace,
9584
9674
  MapsNamespace,
9585
9675
  MobilePhoneNamespace,