@openhandle/sdk 1.0.0 → 1.0.2

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.
@@ -734,7 +734,6 @@ export interface TikTokResource {
734
734
  * Resource selection is synchronous and does not perform a request.
735
735
  */
736
736
  readonly hashtag: (reference: ResourceReference) => TikTokHashtagResource;
737
- readonly live: TikTokLiveResource;
738
737
  /**
739
738
  * Select the location resource using a supported string shorthand or an explicit ID or URL reference.
740
739
  *
@@ -760,13 +759,6 @@ export interface TikTokResource {
760
759
  */
761
760
  readonly profile: (reference: ProfileReference) => TikTokProfileResource;
762
761
  readonly search: TikTokSearchResource;
763
- readonly shop: TikTokShopResource;
764
- /**
765
- * Select the story resource using a supported string shorthand or an explicit ID or URL reference.
766
- *
767
- * Resource selection is synchronous and does not perform a request.
768
- */
769
- readonly story: (reference: ResourceReference) => TikTokStoryResource;
770
762
  readonly trending: TikTokTrendingResource;
771
763
  }
772
764
  export interface TikTokEffectResource {
@@ -836,88 +828,6 @@ export interface TikTokHashtagPostsResource {
836
828
  */
837
829
  readonly list: (options?: OperationOptions<"/v1/tiktok/hashtags/{identifier}/posts", "get">) => Promise<OperationPage<"/v1/tiktok/hashtags/{identifier}/posts", "get">>;
838
830
  }
839
- export interface TikTokLiveResource {
840
- /**
841
- * Select the event resource using a supported string shorthand or an explicit ID or URL reference.
842
- *
843
- * Resource selection is synchronous and does not perform a request.
844
- */
845
- readonly event: (reference: ResourceReference) => TikTokLiveEventResource;
846
- readonly feed: TikTokLiveFeedResource;
847
- /**
848
- * Select the room resource using a supported string shorthand or an explicit ID or URL reference.
849
- *
850
- * Resource selection is synchronous and does not perform a request.
851
- */
852
- readonly room: (reference: ResourceReference) => TikTokLiveRoomResource;
853
- }
854
- export interface TikTokLiveEventResource {
855
- /**
856
- * Get a live event
857
- *
858
- * Get a live event from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
859
- *
860
- * @example
861
- * await openhandle.tiktok.live.event("920100000000000001").get({ freshness: "24h" });
862
- *
863
- * @see https://openhandle.dev/docs/api-reference/tiktok-live-event-get
864
- */
865
- readonly get: (options?: OperationOptions<"/v1/tiktok/live/events/{identifier}", "get">) => Promise<OperationResponse<"/v1/tiktok/live/events/{identifier}", "get">>;
866
- }
867
- export interface TikTokLiveFeedResource {
868
- /**
869
- * List live feed
870
- *
871
- * List live feed from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
872
- *
873
- * @example
874
- * await openhandle.tiktok.live.feed.list({ freshness: "24h" });
875
- *
876
- * @see https://openhandle.dev/docs/api-reference/tiktok-live-feed-list
877
- */
878
- readonly list: (options?: OperationOptions<"/v1/tiktok/live/feed", "get">) => Promise<OperationPage<"/v1/tiktok/live/feed", "get">>;
879
- }
880
- export interface TikTokLiveRoomResource {
881
- readonly rankings: TikTokLiveRoomRankingsResource;
882
- readonly rankingTypes: TikTokLiveRoomRankingTypesResource;
883
- /**
884
- * Get live room info
885
- *
886
- * Get live room info from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
887
- *
888
- * @example
889
- * await openhandle.tiktok.live.room("920100000000000001").get({ userId: "920000000001", freshness: "24h" });
890
- *
891
- * @see https://openhandle.dev/docs/api-reference/tiktok-live-info-get
892
- */
893
- readonly get: (options: OperationOptions<"/v1/tiktok/live/rooms/{identifier}", "get">) => Promise<OperationResponse<"/v1/tiktok/live/rooms/{identifier}", "get">>;
894
- }
895
- export interface TikTokLiveRoomRankingsResource {
896
- /**
897
- * Get a live ranking
898
- *
899
- * Get a live ranking from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
900
- *
901
- * @example
902
- * await openhandle.tiktok.live.room("920100000000000001").rankings.list({ userId: "920000000001", rankType: "daily", freshness: "24h" });
903
- *
904
- * @see https://openhandle.dev/docs/api-reference/tiktok-live-ranking-list
905
- */
906
- readonly list: (options: OperationOptions<"/v1/tiktok/live/rooms/{identifier}/rankings", "get">) => Promise<OperationPage<"/v1/tiktok/live/rooms/{identifier}/rankings", "get">>;
907
- }
908
- export interface TikTokLiveRoomRankingTypesResource {
909
- /**
910
- * List live ranking types
911
- *
912
- * List live ranking types from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
913
- *
914
- * @example
915
- * await openhandle.tiktok.live.room("920100000000000001").rankingTypes.list({ userId: "920000000001", freshness: "24h" });
916
- *
917
- * @see https://openhandle.dev/docs/api-reference/tiktok-live-ranking-types-list
918
- */
919
- readonly list: (options: OperationOptions<"/v1/tiktok/live/rooms/{identifier}/ranking-types", "get">) => Promise<OperationPage<"/v1/tiktok/live/rooms/{identifier}/ranking-types", "get">>;
920
- }
921
831
  export interface TikTokLocationResource {
922
832
  readonly posts: TikTokLocationPostsResource;
923
833
  /**
@@ -994,17 +904,6 @@ export interface TikTokPostResource {
994
904
  }
995
905
  export interface TikTokPostCommentResource {
996
906
  readonly replies: TikTokPostCommentRepliesResource;
997
- /**
998
- * Get a comment
999
- *
1000
- * Get a comment from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1001
- *
1002
- * @example
1003
- * await openhandle.tiktok.post("920100000000000001").comment("920200000000000001").get({ freshness: "24h" });
1004
- *
1005
- * @see https://openhandle.dev/docs/api-reference/tiktok-comment-get
1006
- */
1007
- readonly get: (options?: OperationOptions<"/v1/tiktok/posts/{identifier}/comments/{comment_id}", "get">) => Promise<OperationResponse<"/v1/tiktok/posts/{identifier}/comments/{comment_id}", "get">>;
1008
907
  }
1009
908
  export interface TikTokPostCommentRepliesResource {
1010
909
  /**
@@ -1036,7 +935,6 @@ export interface TikTokProfileResource {
1036
935
  readonly followers: TikTokProfileFollowersResource;
1037
936
  readonly following: TikTokProfileFollowingResource;
1038
937
  readonly likedPosts: TikTokProfileLikedPostsResource;
1039
- readonly music: TikTokProfileMusicResource;
1040
938
  /**
1041
939
  * Select the playlist resource using a supported string shorthand or an explicit ID or URL reference.
1042
940
  *
@@ -1045,8 +943,6 @@ export interface TikTokProfileResource {
1045
943
  readonly playlist: (reference: ResourceReference) => TikTokProfilePlaylistResource;
1046
944
  readonly playlists: TikTokProfilePlaylistsResource;
1047
945
  readonly posts: TikTokProfilePostsResource;
1048
- readonly qrCode: TikTokProfileQRCodeResource;
1049
- readonly stories: TikTokProfileStoriesResource;
1050
946
  /**
1051
947
  * Get a profile
1052
948
  *
@@ -1098,19 +994,6 @@ export interface TikTokProfileLikedPostsResource {
1098
994
  */
1099
995
  readonly list: (options?: OperationOptions<"/v1/tiktok/profiles/{identifier}/liked-posts", "get">) => Promise<OperationPage<"/v1/tiktok/profiles/{identifier}/liked-posts", "get">>;
1100
996
  }
1101
- export interface TikTokProfileMusicResource {
1102
- /**
1103
- * List profile music
1104
- *
1105
- * Return sounds published by a public TikTok profile. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1106
- *
1107
- * @example
1108
- * await openhandle.tiktok.profile("@pixel_orchard_tt_test").music.list({ freshness: "24h" });
1109
- *
1110
- * @see https://openhandle.dev/docs/api-reference/tiktok-profile-music-list
1111
- */
1112
- readonly list: (options?: OperationOptions<"/v1/tiktok/profiles/{identifier}/music", "get">) => Promise<OperationPage<"/v1/tiktok/profiles/{identifier}/music", "get">>;
1113
- }
1114
997
  export interface TikTokProfilePlaylistResource {
1115
998
  readonly posts: TikTokProfilePlaylistPostsResource;
1116
999
  /**
@@ -1164,55 +1047,12 @@ export interface TikTokProfilePostsResource {
1164
1047
  */
1165
1048
  readonly list: (options?: OperationOptions<"/v1/tiktok/profiles/{identifier}/posts", "get">) => Promise<OperationPage<"/v1/tiktok/profiles/{identifier}/posts", "get">>;
1166
1049
  }
1167
- export interface TikTokProfileQRCodeResource {
1168
- /**
1169
- * Get a profile QR code
1170
- *
1171
- * Get a profile QR code from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1172
- *
1173
- * @example
1174
- * await openhandle.tiktok.profile("@pixel_orchard_tt_test").qrCode.get({ freshness: "24h" });
1175
- *
1176
- * @see https://openhandle.dev/docs/api-reference/tiktok-profile-qr-code-get
1177
- */
1178
- readonly get: (options?: OperationOptions<"/v1/tiktok/profiles/{identifier}/qr-code", "get">) => Promise<OperationResponse<"/v1/tiktok/profiles/{identifier}/qr-code", "get">>;
1179
- }
1180
- export interface TikTokProfileStoriesResource {
1181
- /**
1182
- * List profile stories
1183
- *
1184
- * Return a cursor-paginated Tiktok profile collection. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1185
- *
1186
- * @example
1187
- * await openhandle.tiktok.profile("@pixel_orchard_tt_test").stories.list({ freshness: "24h" });
1188
- *
1189
- * @see https://openhandle.dev/docs/api-reference/tiktok-profile-stories-list
1190
- */
1191
- readonly list: (options?: OperationOptions<"/v1/tiktok/profiles/{identifier}/stories", "get">) => Promise<OperationPage<"/v1/tiktok/profiles/{identifier}/stories", "get">>;
1192
- }
1193
1050
  export interface TikTokSearchResource {
1194
- readonly commentSuggestions: TikTokSearchCommentSuggestionsResource;
1195
1051
  readonly hashtags: TikTokSearchHashtagsResource;
1196
- readonly insights: TikTokSearchInsightsResource;
1197
- readonly live: TikTokSearchLiveResource;
1198
1052
  readonly locations: TikTokSearchLocationsResource;
1199
1053
  readonly music: TikTokSearchMusicResource;
1200
1054
  readonly posts: TikTokSearchPostsResource;
1201
1055
  readonly profiles: TikTokSearchProfilesResource;
1202
- readonly top: TikTokSearchTopResource;
1203
- }
1204
- export interface TikTokSearchCommentSuggestionsResource {
1205
- /**
1206
- * Search comment suggestions
1207
- *
1208
- * Search comment suggestions from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1209
- *
1210
- * @example
1211
- * await openhandle.tiktok.search.commentSuggestions.list({ q: "synthetic", freshness: "24h" });
1212
- *
1213
- * @see https://openhandle.dev/docs/api-reference/tiktok-search-comment-suggestions-list
1214
- */
1215
- readonly list: (options: OperationOptions<"/v1/tiktok/search/comment-suggestions", "get">) => Promise<OperationPage<"/v1/tiktok/search/comment-suggestions", "get">>;
1216
1056
  }
1217
1057
  export interface TikTokSearchHashtagsResource {
1218
1058
  /**
@@ -1227,32 +1067,6 @@ export interface TikTokSearchHashtagsResource {
1227
1067
  */
1228
1068
  readonly list: (options: OperationOptions<"/v1/tiktok/search/hashtags", "get">) => Promise<OperationPage<"/v1/tiktok/search/hashtags", "get">>;
1229
1069
  }
1230
- export interface TikTokSearchInsightsResource {
1231
- /**
1232
- * Search insights
1233
- *
1234
- * Search insights from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1235
- *
1236
- * @example
1237
- * await openhandle.tiktok.search.insights.list({ q: "synthetic", freshness: "24h" });
1238
- *
1239
- * @see https://openhandle.dev/docs/api-reference/tiktok-search-insights-list
1240
- */
1241
- readonly list: (options: OperationOptions<"/v1/tiktok/search/insights", "get">) => Promise<OperationPage<"/v1/tiktok/search/insights", "get">>;
1242
- }
1243
- export interface TikTokSearchLiveResource {
1244
- /**
1245
- * Search live streams
1246
- *
1247
- * Search live streams from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1248
- *
1249
- * @example
1250
- * await openhandle.tiktok.search.live.list({ q: "synthetic", freshness: "24h" });
1251
- *
1252
- * @see https://openhandle.dev/docs/api-reference/tiktok-search-live-list
1253
- */
1254
- readonly list: (options: OperationOptions<"/v1/tiktok/search/live", "get">) => Promise<OperationPage<"/v1/tiktok/search/live", "get">>;
1255
- }
1256
1070
  export interface TikTokSearchLocationsResource {
1257
1071
  /**
1258
1072
  * Search Tiktok locations
@@ -1305,298 +1119,8 @@ export interface TikTokSearchProfilesResource {
1305
1119
  */
1306
1120
  readonly list: (options: OperationOptions<"/v1/tiktok/search/profiles", "get">) => Promise<OperationPage<"/v1/tiktok/search/profiles", "get">>;
1307
1121
  }
1308
- export interface TikTokSearchTopResource {
1309
- /**
1310
- * Search all TikTok results
1311
- *
1312
- * Search all TikTok results from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1313
- *
1314
- * @example
1315
- * await openhandle.tiktok.search.top.list({ q: "synthetic", freshness: "24h" });
1316
- *
1317
- * @see https://openhandle.dev/docs/api-reference/tiktok-search-top-list
1318
- */
1319
- readonly list: (options: OperationOptions<"/v1/tiktok/search/top", "get">) => Promise<OperationPage<"/v1/tiktok/search/top", "get">>;
1320
- }
1321
- export interface TikTokShopResource {
1322
- readonly deals: TikTokShopDealsResource;
1323
- readonly home: TikTokShopHomeResource;
1324
- /**
1325
- * Select the live resource using a supported string shorthand or an explicit ID or URL reference.
1326
- *
1327
- * Resource selection is synchronous and does not perform a request.
1328
- */
1329
- readonly live: (reference: ResourceReference) => TikTokShopLiveResource;
1330
- /**
1331
- * Select the product resource using a supported string shorthand or an explicit ID or URL reference.
1332
- *
1333
- * Resource selection is synchronous and does not perform a request.
1334
- */
1335
- readonly product: (reference: ResourceReference) => TikTokShopProductResource;
1336
- /**
1337
- * Select the profile resource using a username shorthand or an explicit ID or URL reference.
1338
- *
1339
- * Resource selection is synchronous and does not perform a request.
1340
- */
1341
- readonly profile: (reference: ProfileReference) => TikTokShopProfileResource;
1342
- readonly recommendations: TikTokShopRecommendationsResource;
1343
- readonly search: TikTokShopSearchResource;
1344
- /**
1345
- * Select the seller resource using a supported string shorthand or an explicit ID or URL reference.
1346
- *
1347
- * Resource selection is synchronous and does not perform a request.
1348
- */
1349
- readonly seller: (reference: ResourceReference) => TikTokShopSellerResource;
1350
- }
1351
- export interface TikTokShopDealsResource {
1352
- readonly flashSale: TikTokShopDealsFlashSaleResource;
1353
- readonly newUser: TikTokShopDealsNewUserResource;
1354
- }
1355
- export interface TikTokShopDealsFlashSaleResource {
1356
- /**
1357
- * List flash-sale products
1358
- *
1359
- * List flash-sale products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1360
- *
1361
- * @example
1362
- * await openhandle.tiktok.shop.deals.flashSale.list({ freshness: "24h" });
1363
- *
1364
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-flash-sale-list
1365
- */
1366
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/deals/flash-sale", "get">) => Promise<OperationPage<"/v1/tiktok/shop/deals/flash-sale", "get">>;
1367
- }
1368
- export interface TikTokShopDealsNewUserResource {
1369
- /**
1370
- * List new-user deals
1371
- *
1372
- * List new-user deals from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1373
- *
1374
- * @example
1375
- * await openhandle.tiktok.shop.deals.newUser.list({ freshness: "24h" });
1376
- *
1377
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-new-user-deals-list
1378
- */
1379
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/deals/new-user", "get">) => Promise<OperationPage<"/v1/tiktok/shop/deals/new-user", "get">>;
1380
- }
1381
- export interface TikTokShopHomeResource {
1382
- /**
1383
- * List shop home sections
1384
- *
1385
- * List shop home sections from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1386
- *
1387
- * @example
1388
- * await openhandle.tiktok.shop.home.list({ freshness: "24h" });
1389
- *
1390
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-home-list
1391
- */
1392
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/home", "get">) => Promise<OperationPage<"/v1/tiktok/shop/home", "get">>;
1393
- }
1394
- export interface TikTokShopLiveResource {
1395
- readonly products: TikTokShopLiveProductsResource;
1396
- }
1397
- export interface TikTokShopLiveProductsResource {
1398
- /**
1399
- * List livestream products
1400
- *
1401
- * List livestream products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1402
- *
1403
- * @example
1404
- * await openhandle.tiktok.shop.live("920100000000000001").products.list({ roomId: "950000000009", freshness: "24h" });
1405
- *
1406
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-live-products-list
1407
- */
1408
- readonly list: (options: OperationOptions<"/v1/tiktok/shop/live/{identifier}/products", "get">) => Promise<OperationPage<"/v1/tiktok/shop/live/{identifier}/products", "get">>;
1409
- }
1410
- export interface TikTokShopProductResource {
1411
- readonly reviews: TikTokShopProductReviewsResource;
1412
- /**
1413
- * Get a shop product
1414
- *
1415
- * Get a shop product from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1416
- *
1417
- * @example
1418
- * await openhandle.tiktok.shop.product("920100000000000001").get({ freshness: "24h" });
1419
- *
1420
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-product-get
1421
- */
1422
- readonly get: (options?: OperationOptions<"/v1/tiktok/shop/products/{identifier}", "get">) => Promise<OperationResponse<"/v1/tiktok/shop/products/{identifier}", "get">>;
1423
- }
1424
- export interface TikTokShopProductReviewsResource {
1425
- /**
1426
- * List product reviews
1427
- *
1428
- * List product reviews from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1429
- *
1430
- * @example
1431
- * await openhandle.tiktok.shop.product("920100000000000001").reviews.list({ freshness: "24h" });
1432
- *
1433
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-product-reviews-list
1434
- */
1435
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/products/{identifier}/reviews", "get">) => Promise<OperationPage<"/v1/tiktok/shop/products/{identifier}/reviews", "get">>;
1436
- }
1437
- export interface TikTokShopProfileResource {
1438
- readonly page: TikTokShopProfilePageResource;
1439
- readonly products: TikTokShopProfileProductsResource;
1440
- readonly tabs: TikTokShopProfileTabsResource;
1441
- }
1442
- export interface TikTokShopProfilePageResource {
1443
- /**
1444
- * List seller page products
1445
- *
1446
- * List seller page products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1447
- *
1448
- * @example
1449
- * await openhandle.tiktok.shop.profile("@pixel_orchard_tt_test").page.list({ freshness: "24h" });
1450
- *
1451
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-profile-page-list
1452
- */
1453
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/profiles/{identifier}/page", "get">) => Promise<OperationPage<"/v1/tiktok/shop/profiles/{identifier}/page", "get">>;
1454
- }
1455
- export interface TikTokShopProfileProductsResource {
1456
- /**
1457
- * List profile shop products
1458
- *
1459
- * List profile shop products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1460
- *
1461
- * @example
1462
- * await openhandle.tiktok.shop.profile("@pixel_orchard_tt_test").products.list({ freshness: "24h" });
1463
- *
1464
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-profile-products-list
1465
- */
1466
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/profiles/{identifier}/products", "get">) => Promise<OperationPage<"/v1/tiktok/shop/profiles/{identifier}/products", "get">>;
1467
- }
1468
- export interface TikTokShopProfileTabsResource {
1469
- /**
1470
- * List seller tabs
1471
- *
1472
- * List seller tabs from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1473
- *
1474
- * @example
1475
- * await openhandle.tiktok.shop.profile("@pixel_orchard_tt_test").tabs.list({ freshness: "24h" });
1476
- *
1477
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-profile-tabs-list
1478
- */
1479
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/profiles/{identifier}/tabs", "get">) => Promise<OperationPage<"/v1/tiktok/shop/profiles/{identifier}/tabs", "get">>;
1480
- }
1481
- export interface TikTokShopRecommendationsResource {
1482
- /**
1483
- * List recommended shop products
1484
- *
1485
- * List recommended shop products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1486
- *
1487
- * @example
1488
- * await openhandle.tiktok.shop.recommendations.list({ categoryId: "950000000008", freshness: "24h" });
1489
- *
1490
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-recommendations-list
1491
- */
1492
- readonly list: (options: OperationOptions<"/v1/tiktok/shop/recommendations", "get">) => Promise<OperationPage<"/v1/tiktok/shop/recommendations", "get">>;
1493
- }
1494
- export interface TikTokShopSearchResource {
1495
- /**
1496
- * Search shop products
1497
- *
1498
- * Search shop products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1499
- *
1500
- * @example
1501
- * await openhandle.tiktok.shop.search.list({ q: "synthetic", freshness: "24h" });
1502
- *
1503
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-search-list
1504
- */
1505
- readonly list: (options: OperationOptions<"/v1/tiktok/shop/search", "get">) => Promise<OperationPage<"/v1/tiktok/shop/search", "get">>;
1506
- }
1507
- export interface TikTokShopSellerResource {
1508
- readonly categories: TikTokShopSellerCategoriesResource;
1509
- /**
1510
- * Select the category resource using a supported string shorthand or an explicit ID or URL reference.
1511
- *
1512
- * Resource selection is synchronous and does not perform a request.
1513
- */
1514
- readonly category: (reference: ResourceReference) => TikTokShopSellerCategoryResource;
1515
- readonly products: TikTokShopSellerProductsResource;
1516
- readonly sortTypes: TikTokShopSellerSortTypesResource;
1517
- /**
1518
- * Get a seller
1519
- *
1520
- * Get a seller from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1521
- *
1522
- * @example
1523
- * await openhandle.tiktok.shop.seller("920100000000000001").get({ freshness: "24h" });
1524
- *
1525
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-seller-get
1526
- */
1527
- readonly get: (options?: OperationOptions<"/v1/tiktok/shop/sellers/{identifier}", "get">) => Promise<OperationResponse<"/v1/tiktok/shop/sellers/{identifier}", "get">>;
1528
- }
1529
- export interface TikTokShopSellerCategoriesResource {
1530
- /**
1531
- * List seller categories
1532
- *
1533
- * List seller categories from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1534
- *
1535
- * @example
1536
- * await openhandle.tiktok.shop.seller("920100000000000001").categories.list({ freshness: "24h" });
1537
- *
1538
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-seller-categories-list
1539
- */
1540
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/sellers/{identifier}/categories", "get">) => Promise<OperationPage<"/v1/tiktok/shop/sellers/{identifier}/categories", "get">>;
1541
- }
1542
- export interface TikTokShopSellerCategoryResource {
1543
- readonly products: TikTokShopSellerCategoryProductsResource;
1544
- }
1545
- export interface TikTokShopSellerCategoryProductsResource {
1546
- /**
1547
- * List seller category products
1548
- *
1549
- * List seller category products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1550
- *
1551
- * @example
1552
- * await openhandle.tiktok.shop.seller("920100000000000001").category("950000000008").products.list({ productSourceType: "0", freshness: "24h" });
1553
- *
1554
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-seller-category-products-list
1555
- */
1556
- readonly list: (options: OperationOptions<"/v1/tiktok/shop/sellers/{identifier}/categories/{category_id}/products", "get">) => Promise<OperationPage<"/v1/tiktok/shop/sellers/{identifier}/categories/{category_id}/products", "get">>;
1557
- }
1558
- export interface TikTokShopSellerProductsResource {
1559
- /**
1560
- * List seller products
1561
- *
1562
- * List seller products from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1563
- *
1564
- * @example
1565
- * await openhandle.tiktok.shop.seller("920100000000000001").products.list({ freshness: "24h" });
1566
- *
1567
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-seller-products-list
1568
- */
1569
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/sellers/{identifier}/products", "get">) => Promise<OperationPage<"/v1/tiktok/shop/sellers/{identifier}/products", "get">>;
1570
- }
1571
- export interface TikTokShopSellerSortTypesResource {
1572
- /**
1573
- * List seller product sort types
1574
- *
1575
- * List seller product sort types from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1576
- *
1577
- * @example
1578
- * await openhandle.tiktok.shop.seller("920100000000000001").sortTypes.list({ freshness: "24h" });
1579
- *
1580
- * @see https://openhandle.dev/docs/api-reference/tiktok-shop-seller-sort-types-list
1581
- */
1582
- readonly list: (options?: OperationOptions<"/v1/tiktok/shop/sellers/{identifier}/sort-types", "get">) => Promise<OperationPage<"/v1/tiktok/shop/sellers/{identifier}/sort-types", "get">>;
1583
- }
1584
- export interface TikTokStoryResource {
1585
- /**
1586
- * Get a story
1587
- *
1588
- * Return one public TikTok story by its native identifier. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1589
- *
1590
- * @example
1591
- * await openhandle.tiktok.story("920100000000000001").get({ freshness: "24h" });
1592
- *
1593
- * @see https://openhandle.dev/docs/api-reference/tiktok-story-get
1594
- */
1595
- readonly get: (options?: OperationOptions<"/v1/tiktok/stories/{identifier}", "get">) => Promise<OperationResponse<"/v1/tiktok/stories/{identifier}", "get">>;
1596
- }
1597
1122
  export interface TikTokTrendingResource {
1598
1123
  readonly categories: TikTokTrendingCategoriesResource;
1599
- readonly insights: TikTokTrendingInsightsResource;
1600
1124
  readonly music: TikTokTrendingMusicResource;
1601
1125
  readonly posts: TikTokTrendingPostsResource;
1602
1126
  }
@@ -1613,19 +1137,6 @@ export interface TikTokTrendingCategoriesResource {
1613
1137
  */
1614
1138
  readonly list: (options?: OperationOptions<"/v1/tiktok/trending/categories", "get">) => Promise<OperationPage<"/v1/tiktok/trending/categories", "get">>;
1615
1139
  }
1616
- export interface TikTokTrendingInsightsResource {
1617
- /**
1618
- * List trending insights
1619
- *
1620
- * List trending insights from public Tiktok data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1621
- *
1622
- * @example
1623
- * await openhandle.tiktok.trending.insights.list({ tab: "synthetic", freshness: "24h" });
1624
- *
1625
- * @see https://openhandle.dev/docs/api-reference/tiktok-trending-insights-list
1626
- */
1627
- readonly list: (options: OperationOptions<"/v1/tiktok/trending/insights", "get">) => Promise<OperationPage<"/v1/tiktok/trending/insights", "get">>;
1628
- }
1629
1140
  export interface TikTokTrendingMusicResource {
1630
1141
  /**
1631
1142
  * List trending music
@@ -1722,7 +1233,6 @@ export interface TwitterPostResource {
1722
1233
  */
1723
1234
  readonly comment: (reference: ResourceReference) => TwitterPostCommentResource;
1724
1235
  readonly comments: TwitterPostCommentsResource;
1725
- readonly likers: TwitterPostLikersResource;
1726
1236
  readonly reposters: TwitterPostRepostersResource;
1727
1237
  /**
1728
1238
  * Get a post
@@ -1765,19 +1275,6 @@ export interface TwitterPostCommentsResource {
1765
1275
  */
1766
1276
  readonly list: (options?: OperationOptions<"/v1/twitter/posts/{identifier}/comments", "get">) => Promise<OperationPage<"/v1/twitter/posts/{identifier}/comments", "get">>;
1767
1277
  }
1768
- export interface TwitterPostLikersResource {
1769
- /**
1770
- * List post likers
1771
- *
1772
- * Return public profiles that interacted with a Twitter post. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1773
- *
1774
- * @example
1775
- * await openhandle.twitter.post("940100000000000001").likers.list({ freshness: "24h" });
1776
- *
1777
- * @see https://openhandle.dev/docs/api-reference/twitter-post-likers-list
1778
- */
1779
- readonly list: (options?: OperationOptions<"/v1/twitter/posts/{identifier}/likers", "get">) => Promise<OperationPage<"/v1/twitter/posts/{identifier}/likers", "get">>;
1780
- }
1781
1278
  export interface TwitterPostRepostersResource {
1782
1279
  /**
1783
1280
  * List post reposters
@@ -1794,7 +1291,6 @@ export interface TwitterPostRepostersResource {
1794
1291
  export interface TwitterProfileResource {
1795
1292
  readonly followers: TwitterProfileFollowersResource;
1796
1293
  readonly following: TwitterProfileFollowingResource;
1797
- readonly lists: TwitterProfileListsResource;
1798
1294
  readonly media: TwitterProfileMediaResource;
1799
1295
  readonly posts: TwitterProfilePostsResource;
1800
1296
  readonly replies: TwitterProfileRepliesResource;
@@ -1836,19 +1332,6 @@ export interface TwitterProfileFollowingResource {
1836
1332
  */
1837
1333
  readonly list: (options?: OperationOptions<"/v1/twitter/profiles/{identifier}/following", "get">) => Promise<OperationPage<"/v1/twitter/profiles/{identifier}/following", "get">>;
1838
1334
  }
1839
- export interface TwitterProfileListsResource {
1840
- /**
1841
- * List profile lists
1842
- *
1843
- * Return a cursor-paginated collection of public Twitter lists owned by a profile. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
1844
- *
1845
- * @example
1846
- * await openhandle.twitter.profile("@copperfield_lab_x_test").lists.list({ freshness: "24h" });
1847
- *
1848
- * @see https://openhandle.dev/docs/api-reference/twitter-profile-lists-list
1849
- */
1850
- readonly list: (options?: OperationOptions<"/v1/twitter/profiles/{identifier}/lists", "get">) => Promise<OperationPage<"/v1/twitter/profiles/{identifier}/lists", "get">>;
1851
- }
1852
1335
  export interface TwitterProfileMediaResource {
1853
1336
  /**
1854
1337
  * List profile media