@getanyapi/sdk 0.48.3 → 0.49.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 CHANGED
@@ -1894,7 +1894,7 @@ var DouyinNamespace = class {
1894
1894
  * Price: $0.012 per request.
1895
1895
  *
1896
1896
  * @example
1897
- * const res = await client.douyin.searchVideos({ query: "机器人", duration: "0", publishedWithin: 0, sort: 0 });
1897
+ * const res = await client.douyin.searchVideos({ query: "机器人", duration: "0", publishedWithin: 0, sort: "relevance" });
1898
1898
  */
1899
1899
  searchVideos(input, options) {
1900
1900
  return this._core.run("douyin.search_videos", input, options);
@@ -1907,7 +1907,7 @@ var DouyinNamespace = class {
1907
1907
  * Price: $0.0012 per request.
1908
1908
  *
1909
1909
  * @example
1910
- * const res = await client.douyin.userPosts({ secUserId: "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE", limit: 20, sort: 0 });
1910
+ * const res = await client.douyin.userPosts({ secUserId: "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE", limit: 20, sort: "newest" });
1911
1911
  */
1912
1912
  userPosts(input, options) {
1913
1913
  return this._core.run("douyin.user_posts", input, options);
@@ -6492,7 +6492,7 @@ var TiktokNamespace = class {
6492
6492
  * Price: $0.0007 per request.
6493
6493
  *
6494
6494
  * @example
6495
- * const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: 0 });
6495
+ * const res = await client.tiktok.searchKeyword({ query: "cooking", datePosted: 0, sortBy: "relevance" });
6496
6496
  */
6497
6497
  searchKeyword(input, options) {
6498
6498
  return this._core.run("tiktok.search_keyword", input, options);