@openhandle/sdk 1.0.1 → 1.1.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/README.md +3 -1
- package/dist/generated/operations.d.ts +275 -552
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +275 -652
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/public-types.d.ts +578 -248
- package/dist/generated/public-types.d.ts.map +1 -1
- package/dist/generated/resources.d.ts +321 -571
- package/dist/generated/resources.d.ts.map +1 -1
- package/dist/generated/schema.d.ts +19496 -6479
- package/dist/generated/schema.d.ts.map +1 -1
- package/dist/references.js +51 -2
- package/dist/references.js.map +1 -1
- package/dist/runtime.js +2 -2
- package/dist/runtime.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { FetchOptions, OperationOptions, OperationPage, OperationResponse, ProfileReference, ResourceReference } from '../types.js';
|
|
2
2
|
export interface GeneratedClient {
|
|
3
3
|
readonly instagram: InstagramResource;
|
|
4
|
+
readonly reddit: RedditResource;
|
|
4
5
|
readonly testData: TestDataResource;
|
|
5
6
|
readonly tiktok: TikTokResource;
|
|
6
7
|
readonly twitter: TwitterResource;
|
|
7
8
|
/**
|
|
8
9
|
* Fetch the resource at a social URL
|
|
9
10
|
*
|
|
10
|
-
* Parse a supported social URL locally, then return the same typed resource as its canonical Openhandle operation. The underlying data read is metered once
|
|
11
|
+
* Parse a supported social URL locally, then return the same typed resource as its canonical Openhandle operation. TikTok short links such as tiktok.com/t/… and vm.tiktok.com/… are expanded through their redirect first. The underlying data read is metered once.
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* await openhandle.fetch('https://www.instagram.com/openai/', { freshness: '24h' });
|
|
@@ -136,7 +137,6 @@ export interface InstagramHighlightResource {
|
|
|
136
137
|
readonly get: (options?: OperationOptions<"/v1/instagram/highlights/{identifier}", "get">) => Promise<OperationResponse<"/v1/instagram/highlights/{identifier}", "get">>;
|
|
137
138
|
}
|
|
138
139
|
export interface InstagramLocationResource {
|
|
139
|
-
readonly guides: InstagramLocationGuidesResource;
|
|
140
140
|
readonly posts: InstagramLocationPostsResource;
|
|
141
141
|
/**
|
|
142
142
|
* Get a location
|
|
@@ -150,19 +150,6 @@ export interface InstagramLocationResource {
|
|
|
150
150
|
*/
|
|
151
151
|
readonly get: (options?: OperationOptions<"/v1/instagram/locations/{identifier}", "get">) => Promise<OperationResponse<"/v1/instagram/locations/{identifier}", "get">>;
|
|
152
152
|
}
|
|
153
|
-
export interface InstagramLocationGuidesResource {
|
|
154
|
-
/**
|
|
155
|
-
* List location guides
|
|
156
|
-
*
|
|
157
|
-
* List location guides from public Instagram data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
158
|
-
*
|
|
159
|
-
* @example
|
|
160
|
-
* await openhandle.instagram.location("910100000001").guides.list({ freshness: "24h" });
|
|
161
|
-
*
|
|
162
|
-
* @see https://openhandle.dev/docs/api-reference/instagram-location-guides-list
|
|
163
|
-
*/
|
|
164
|
-
readonly list: (options?: OperationOptions<"/v1/instagram/locations/{identifier}/guides", "get">) => Promise<OperationPage<"/v1/instagram/locations/{identifier}/guides", "get">>;
|
|
165
|
-
}
|
|
166
153
|
export interface InstagramLocationPostsResource {
|
|
167
154
|
/**
|
|
168
155
|
* List location posts
|
|
@@ -373,7 +360,6 @@ export interface InstagramProfileResource {
|
|
|
373
360
|
readonly pinnedPosts: InstagramProfilePinnedPostsResource;
|
|
374
361
|
readonly posts: InstagramProfilePostsResource;
|
|
375
362
|
readonly reels: InstagramProfileReelsResource;
|
|
376
|
-
readonly related: InstagramProfileRelatedResource;
|
|
377
363
|
readonly reposts: InstagramProfileRepostsResource;
|
|
378
364
|
readonly stories: InstagramProfileStoriesResource;
|
|
379
365
|
readonly suggested: InstagramProfileSuggestedResource;
|
|
@@ -517,19 +503,6 @@ export interface InstagramProfileReelsResource {
|
|
|
517
503
|
*/
|
|
518
504
|
readonly list: (options?: OperationOptions<"/v1/instagram/profiles/{identifier}/reels", "get">) => Promise<OperationPage<"/v1/instagram/profiles/{identifier}/reels", "get">>;
|
|
519
505
|
}
|
|
520
|
-
export interface InstagramProfileRelatedResource {
|
|
521
|
-
/**
|
|
522
|
-
* List profile related
|
|
523
|
-
*
|
|
524
|
-
* Return a cursor-paginated collection of Instagram profiles. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
525
|
-
*
|
|
526
|
-
* @example
|
|
527
|
-
* await openhandle.instagram.profile("@northstar_forge_test").related.list({ freshness: "24h" });
|
|
528
|
-
*
|
|
529
|
-
* @see https://openhandle.dev/docs/api-reference/instagram-profile-related-list
|
|
530
|
-
*/
|
|
531
|
-
readonly list: (options?: OperationOptions<"/v1/instagram/profiles/{identifier}/related", "get">) => Promise<OperationPage<"/v1/instagram/profiles/{identifier}/related", "get">>;
|
|
532
|
-
}
|
|
533
506
|
export interface InstagramProfileRepostsResource {
|
|
534
507
|
/**
|
|
535
508
|
* List profile reposts
|
|
@@ -694,6 +667,325 @@ export interface InstagramStoryResource {
|
|
|
694
667
|
*/
|
|
695
668
|
readonly get: (options?: OperationOptions<"/v1/instagram/stories/{identifier}", "get">) => Promise<OperationResponse<"/v1/instagram/stories/{identifier}", "get">>;
|
|
696
669
|
}
|
|
670
|
+
export interface RedditResource {
|
|
671
|
+
/**
|
|
672
|
+
* Select the domain resource using a supported string shorthand or an explicit ID or URL reference.
|
|
673
|
+
*
|
|
674
|
+
* Resource selection is synchronous and does not perform a request.
|
|
675
|
+
*/
|
|
676
|
+
readonly domain: (reference: ResourceReference) => RedditDomainResource;
|
|
677
|
+
/**
|
|
678
|
+
* Select the post resource using a supported string shorthand or an explicit ID or URL reference.
|
|
679
|
+
*
|
|
680
|
+
* Resource selection is synchronous and does not perform a request.
|
|
681
|
+
*/
|
|
682
|
+
readonly post: (reference: ResourceReference) => RedditPostResource;
|
|
683
|
+
/**
|
|
684
|
+
* Select the profile resource using a username shorthand or an explicit ID or URL reference.
|
|
685
|
+
*
|
|
686
|
+
* Resource selection is synchronous and does not perform a request.
|
|
687
|
+
*/
|
|
688
|
+
readonly profile: (reference: ProfileReference) => RedditProfileResource;
|
|
689
|
+
readonly search: RedditSearchResource;
|
|
690
|
+
/**
|
|
691
|
+
* Select the subreddit resource using a supported string shorthand or an explicit ID or URL reference.
|
|
692
|
+
*
|
|
693
|
+
* Resource selection is synchronous and does not perform a request.
|
|
694
|
+
*/
|
|
695
|
+
readonly subreddit: (reference: ResourceReference) => RedditSubredditResource;
|
|
696
|
+
readonly subreddits: RedditSubredditsResource;
|
|
697
|
+
readonly trending: RedditTrendingResource;
|
|
698
|
+
}
|
|
699
|
+
export interface RedditDomainResource {
|
|
700
|
+
readonly posts: RedditDomainPostsResource;
|
|
701
|
+
}
|
|
702
|
+
export interface RedditDomainPostsResource {
|
|
703
|
+
/**
|
|
704
|
+
* List domain posts
|
|
705
|
+
*
|
|
706
|
+
* List domain posts from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
707
|
+
*
|
|
708
|
+
* @example
|
|
709
|
+
* await openhandle.reddit.domain("example.com").posts.list({ freshness: "24h" });
|
|
710
|
+
*
|
|
711
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-domain-posts-list
|
|
712
|
+
*/
|
|
713
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/domains/{identifier}/posts", "get">) => Promise<OperationPage<"/v1/reddit/domains/{identifier}/posts", "get">>;
|
|
714
|
+
}
|
|
715
|
+
export interface RedditPostResource {
|
|
716
|
+
readonly comments: RedditPostCommentsResource;
|
|
717
|
+
readonly duplicates: RedditPostDuplicatesResource;
|
|
718
|
+
/**
|
|
719
|
+
* Get a post
|
|
720
|
+
*
|
|
721
|
+
* Get a post from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
722
|
+
*
|
|
723
|
+
* @example
|
|
724
|
+
* await openhandle.reddit.post("synthetic").get({ freshness: "24h" });
|
|
725
|
+
*
|
|
726
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-post-get
|
|
727
|
+
*/
|
|
728
|
+
readonly get: (options?: OperationOptions<"/v1/reddit/posts/{identifier}", "get">) => Promise<OperationResponse<"/v1/reddit/posts/{identifier}", "get">>;
|
|
729
|
+
}
|
|
730
|
+
export interface RedditPostCommentsResource {
|
|
731
|
+
/**
|
|
732
|
+
* List post comments
|
|
733
|
+
*
|
|
734
|
+
* List post comments from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
735
|
+
*
|
|
736
|
+
* @example
|
|
737
|
+
* await openhandle.reddit.post("synthetic").comments.list({ freshness: "24h" });
|
|
738
|
+
*
|
|
739
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-post-comments-list
|
|
740
|
+
*/
|
|
741
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/posts/{identifier}/comments", "get">) => Promise<OperationPage<"/v1/reddit/posts/{identifier}/comments", "get">>;
|
|
742
|
+
}
|
|
743
|
+
export interface RedditPostDuplicatesResource {
|
|
744
|
+
/**
|
|
745
|
+
* List duplicate posts
|
|
746
|
+
*
|
|
747
|
+
* List duplicate posts from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
748
|
+
*
|
|
749
|
+
* @example
|
|
750
|
+
* await openhandle.reddit.post("synthetic").duplicates.list({ freshness: "24h" });
|
|
751
|
+
*
|
|
752
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-post-duplicates-list
|
|
753
|
+
*/
|
|
754
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/posts/{identifier}/duplicates", "get">) => Promise<OperationPage<"/v1/reddit/posts/{identifier}/duplicates", "get">>;
|
|
755
|
+
}
|
|
756
|
+
export interface RedditProfileResource {
|
|
757
|
+
readonly comments: RedditProfileCommentsResource;
|
|
758
|
+
readonly moderated: RedditProfileModeratedResource;
|
|
759
|
+
readonly posts: RedditProfilePostsResource;
|
|
760
|
+
readonly trophies: RedditProfileTrophiesResource;
|
|
761
|
+
/**
|
|
762
|
+
* Get a profile
|
|
763
|
+
*
|
|
764
|
+
* Return one public Reddit profile. Use @username or a t2_ profile ID. An ID resolves only after the profile was read by username once. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
765
|
+
*
|
|
766
|
+
* @example
|
|
767
|
+
* await openhandle.reddit.profile("@synthetic_reddit").get({ freshness: "24h" });
|
|
768
|
+
*
|
|
769
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-profile-get
|
|
770
|
+
*/
|
|
771
|
+
readonly get: (options?: OperationOptions<"/v1/reddit/profiles/{identifier}", "get">) => Promise<OperationResponse<"/v1/reddit/profiles/{identifier}", "get">>;
|
|
772
|
+
}
|
|
773
|
+
export interface RedditProfileCommentsResource {
|
|
774
|
+
/**
|
|
775
|
+
* List profile comments
|
|
776
|
+
*
|
|
777
|
+
* List profile comments from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
778
|
+
*
|
|
779
|
+
* @example
|
|
780
|
+
* await openhandle.reddit.profile("@synthetic_reddit").comments.list({ freshness: "24h" });
|
|
781
|
+
*
|
|
782
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-profile-comments-list
|
|
783
|
+
*/
|
|
784
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/profiles/{identifier}/comments", "get">) => Promise<OperationPage<"/v1/reddit/profiles/{identifier}/comments", "get">>;
|
|
785
|
+
}
|
|
786
|
+
export interface RedditProfileModeratedResource {
|
|
787
|
+
/**
|
|
788
|
+
* List moderated subreddits
|
|
789
|
+
*
|
|
790
|
+
* List moderated subreddits from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
791
|
+
*
|
|
792
|
+
* @example
|
|
793
|
+
* await openhandle.reddit.profile("@synthetic_reddit").moderated.list({ freshness: "24h" });
|
|
794
|
+
*
|
|
795
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-profile-moderated-list
|
|
796
|
+
*/
|
|
797
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/profiles/{identifier}/moderated", "get">) => Promise<OperationPage<"/v1/reddit/profiles/{identifier}/moderated", "get">>;
|
|
798
|
+
}
|
|
799
|
+
export interface RedditProfilePostsResource {
|
|
800
|
+
/**
|
|
801
|
+
* List profile posts
|
|
802
|
+
*
|
|
803
|
+
* List profile posts from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
804
|
+
*
|
|
805
|
+
* @example
|
|
806
|
+
* await openhandle.reddit.profile("@synthetic_reddit").posts.list({ freshness: "24h" });
|
|
807
|
+
*
|
|
808
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-profile-posts-list
|
|
809
|
+
*/
|
|
810
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/profiles/{identifier}/posts", "get">) => Promise<OperationPage<"/v1/reddit/profiles/{identifier}/posts", "get">>;
|
|
811
|
+
}
|
|
812
|
+
export interface RedditProfileTrophiesResource {
|
|
813
|
+
/**
|
|
814
|
+
* List profile trophies
|
|
815
|
+
*
|
|
816
|
+
* List profile trophies from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
817
|
+
*
|
|
818
|
+
* @example
|
|
819
|
+
* await openhandle.reddit.profile("@synthetic_reddit").trophies.list({ freshness: "24h" });
|
|
820
|
+
*
|
|
821
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-profile-trophies-list
|
|
822
|
+
*/
|
|
823
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/profiles/{identifier}/trophies", "get">) => Promise<OperationPage<"/v1/reddit/profiles/{identifier}/trophies", "get">>;
|
|
824
|
+
}
|
|
825
|
+
export interface RedditSearchResource {
|
|
826
|
+
readonly posts: RedditSearchPostsResource;
|
|
827
|
+
readonly profiles: RedditSearchProfilesResource;
|
|
828
|
+
readonly subreddits: RedditSearchSubredditsResource;
|
|
829
|
+
}
|
|
830
|
+
export interface RedditSearchPostsResource {
|
|
831
|
+
/**
|
|
832
|
+
* Search posts
|
|
833
|
+
*
|
|
834
|
+
* Search posts from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
835
|
+
*
|
|
836
|
+
* @example
|
|
837
|
+
* await openhandle.reddit.search.posts.list({ q: "synthetic", freshness: "24h" });
|
|
838
|
+
*
|
|
839
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-search-posts-list
|
|
840
|
+
*/
|
|
841
|
+
readonly list: (options: OperationOptions<"/v1/reddit/search/posts", "get">) => Promise<OperationPage<"/v1/reddit/search/posts", "get">>;
|
|
842
|
+
}
|
|
843
|
+
export interface RedditSearchProfilesResource {
|
|
844
|
+
/**
|
|
845
|
+
* Search profiles
|
|
846
|
+
*
|
|
847
|
+
* Search profiles from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
848
|
+
*
|
|
849
|
+
* @example
|
|
850
|
+
* await openhandle.reddit.search.profiles.list({ q: "synthetic", freshness: "24h" });
|
|
851
|
+
*
|
|
852
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-search-profiles-list
|
|
853
|
+
*/
|
|
854
|
+
readonly list: (options: OperationOptions<"/v1/reddit/search/profiles", "get">) => Promise<OperationPage<"/v1/reddit/search/profiles", "get">>;
|
|
855
|
+
}
|
|
856
|
+
export interface RedditSearchSubredditsResource {
|
|
857
|
+
/**
|
|
858
|
+
* Search subreddits
|
|
859
|
+
*
|
|
860
|
+
* Search subreddits from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
861
|
+
*
|
|
862
|
+
* @example
|
|
863
|
+
* await openhandle.reddit.search.subreddits.list({ q: "synthetic", freshness: "24h" });
|
|
864
|
+
*
|
|
865
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-search-subreddits-list
|
|
866
|
+
*/
|
|
867
|
+
readonly list: (options: OperationOptions<"/v1/reddit/search/subreddits", "get">) => Promise<OperationPage<"/v1/reddit/search/subreddits", "get">>;
|
|
868
|
+
}
|
|
869
|
+
export interface RedditSubredditResource {
|
|
870
|
+
readonly posts: RedditSubredditPostsResource;
|
|
871
|
+
readonly rules: RedditSubredditRulesResource;
|
|
872
|
+
/**
|
|
873
|
+
* Select the wikiPage resource using a supported string shorthand or an explicit ID or URL reference.
|
|
874
|
+
*
|
|
875
|
+
* Resource selection is synchronous and does not perform a request.
|
|
876
|
+
*/
|
|
877
|
+
readonly wikiPage: (reference: ResourceReference) => RedditSubredditWikiPageResource;
|
|
878
|
+
readonly wikiPages: RedditSubredditWikiPagesResource;
|
|
879
|
+
/**
|
|
880
|
+
* Get a subreddit
|
|
881
|
+
*
|
|
882
|
+
* Get a subreddit from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
883
|
+
*
|
|
884
|
+
* @example
|
|
885
|
+
* await openhandle.reddit.subreddit("synthetic").get({ freshness: "24h" });
|
|
886
|
+
*
|
|
887
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-subreddit-get
|
|
888
|
+
*/
|
|
889
|
+
readonly get: (options?: OperationOptions<"/v1/reddit/subreddits/{identifier}", "get">) => Promise<OperationResponse<"/v1/reddit/subreddits/{identifier}", "get">>;
|
|
890
|
+
}
|
|
891
|
+
export interface RedditSubredditPostsResource {
|
|
892
|
+
/**
|
|
893
|
+
* List subreddit posts
|
|
894
|
+
*
|
|
895
|
+
* List subreddit posts from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
896
|
+
*
|
|
897
|
+
* @example
|
|
898
|
+
* await openhandle.reddit.subreddit("synthetic").posts.list({ freshness: "24h" });
|
|
899
|
+
*
|
|
900
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-subreddit-posts-list
|
|
901
|
+
*/
|
|
902
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/subreddits/{identifier}/posts", "get">) => Promise<OperationPage<"/v1/reddit/subreddits/{identifier}/posts", "get">>;
|
|
903
|
+
}
|
|
904
|
+
export interface RedditSubredditRulesResource {
|
|
905
|
+
/**
|
|
906
|
+
* List subreddit rules
|
|
907
|
+
*
|
|
908
|
+
* List subreddit rules from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
909
|
+
*
|
|
910
|
+
* @example
|
|
911
|
+
* await openhandle.reddit.subreddit("synthetic").rules.list({ freshness: "24h" });
|
|
912
|
+
*
|
|
913
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-subreddit-rules-list
|
|
914
|
+
*/
|
|
915
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/subreddits/{identifier}/rules", "get">) => Promise<OperationPage<"/v1/reddit/subreddits/{identifier}/rules", "get">>;
|
|
916
|
+
}
|
|
917
|
+
export interface RedditSubredditWikiPageResource {
|
|
918
|
+
/**
|
|
919
|
+
* Get a wiki page
|
|
920
|
+
*
|
|
921
|
+
* Get a wiki page from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
922
|
+
*
|
|
923
|
+
* @example
|
|
924
|
+
* await openhandle.reddit.subreddit("synthetic").wikiPage("index").get({ freshness: "24h" });
|
|
925
|
+
*
|
|
926
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-subreddit-wiki-page-get
|
|
927
|
+
*/
|
|
928
|
+
readonly get: (options?: OperationOptions<"/v1/reddit/subreddits/{identifier}/wiki-pages/{page}", "get">) => Promise<OperationResponse<"/v1/reddit/subreddits/{identifier}/wiki-pages/{page}", "get">>;
|
|
929
|
+
}
|
|
930
|
+
export interface RedditSubredditWikiPagesResource {
|
|
931
|
+
/**
|
|
932
|
+
* List wiki pages
|
|
933
|
+
*
|
|
934
|
+
* List wiki pages from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
935
|
+
*
|
|
936
|
+
* @example
|
|
937
|
+
* await openhandle.reddit.subreddit("synthetic").wikiPages.list({ freshness: "24h" });
|
|
938
|
+
*
|
|
939
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-subreddit-wiki-list
|
|
940
|
+
*/
|
|
941
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/subreddits/{identifier}/wiki-pages", "get">) => Promise<OperationPage<"/v1/reddit/subreddits/{identifier}/wiki-pages", "get">>;
|
|
942
|
+
}
|
|
943
|
+
export interface RedditSubredditsResource {
|
|
944
|
+
readonly new: RedditSubredditsNewResource;
|
|
945
|
+
readonly popular: RedditSubredditsPopularResource;
|
|
946
|
+
}
|
|
947
|
+
export interface RedditSubredditsNewResource {
|
|
948
|
+
/**
|
|
949
|
+
* List new subreddits
|
|
950
|
+
*
|
|
951
|
+
* List new subreddits from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
952
|
+
*
|
|
953
|
+
* @example
|
|
954
|
+
* await openhandle.reddit.subreddits.new.list({ freshness: "24h" });
|
|
955
|
+
*
|
|
956
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-subreddits-new-list
|
|
957
|
+
*/
|
|
958
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/subreddits/new", "get">) => Promise<OperationPage<"/v1/reddit/subreddits/new", "get">>;
|
|
959
|
+
}
|
|
960
|
+
export interface RedditSubredditsPopularResource {
|
|
961
|
+
/**
|
|
962
|
+
* List popular subreddits
|
|
963
|
+
*
|
|
964
|
+
* List popular subreddits from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
965
|
+
*
|
|
966
|
+
* @example
|
|
967
|
+
* await openhandle.reddit.subreddits.popular.list({ freshness: "24h" });
|
|
968
|
+
*
|
|
969
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-subreddits-popular-list
|
|
970
|
+
*/
|
|
971
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/subreddits/popular", "get">) => Promise<OperationPage<"/v1/reddit/subreddits/popular", "get">>;
|
|
972
|
+
}
|
|
973
|
+
export interface RedditTrendingResource {
|
|
974
|
+
readonly posts: RedditTrendingPostsResource;
|
|
975
|
+
}
|
|
976
|
+
export interface RedditTrendingPostsResource {
|
|
977
|
+
/**
|
|
978
|
+
* List trending posts
|
|
979
|
+
*
|
|
980
|
+
* List trending posts from public Reddit data. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
981
|
+
*
|
|
982
|
+
* @example
|
|
983
|
+
* await openhandle.reddit.trending.posts.list({ freshness: "24h" });
|
|
984
|
+
*
|
|
985
|
+
* @see https://openhandle.dev/docs/api-reference/reddit-trending-posts-list
|
|
986
|
+
*/
|
|
987
|
+
readonly list: (options?: OperationOptions<"/v1/reddit/trending/posts", "get">) => Promise<OperationPage<"/v1/reddit/trending/posts", "get">>;
|
|
988
|
+
}
|
|
697
989
|
export interface TestDataResource {
|
|
698
990
|
/**
|
|
699
991
|
* Select the testDataEntry resource using a supported string shorthand or an explicit ID or URL reference.
|
|
@@ -734,7 +1026,6 @@ export interface TikTokResource {
|
|
|
734
1026
|
* Resource selection is synchronous and does not perform a request.
|
|
735
1027
|
*/
|
|
736
1028
|
readonly hashtag: (reference: ResourceReference) => TikTokHashtagResource;
|
|
737
|
-
readonly live: TikTokLiveResource;
|
|
738
1029
|
/**
|
|
739
1030
|
* Select the location resource using a supported string shorthand or an explicit ID or URL reference.
|
|
740
1031
|
*
|
|
@@ -760,13 +1051,6 @@ export interface TikTokResource {
|
|
|
760
1051
|
*/
|
|
761
1052
|
readonly profile: (reference: ProfileReference) => TikTokProfileResource;
|
|
762
1053
|
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
1054
|
readonly trending: TikTokTrendingResource;
|
|
771
1055
|
}
|
|
772
1056
|
export interface TikTokEffectResource {
|
|
@@ -836,88 +1120,6 @@ export interface TikTokHashtagPostsResource {
|
|
|
836
1120
|
*/
|
|
837
1121
|
readonly list: (options?: OperationOptions<"/v1/tiktok/hashtags/{identifier}/posts", "get">) => Promise<OperationPage<"/v1/tiktok/hashtags/{identifier}/posts", "get">>;
|
|
838
1122
|
}
|
|
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
1123
|
export interface TikTokLocationResource {
|
|
922
1124
|
readonly posts: TikTokLocationPostsResource;
|
|
923
1125
|
/**
|
|
@@ -994,17 +1196,6 @@ export interface TikTokPostResource {
|
|
|
994
1196
|
}
|
|
995
1197
|
export interface TikTokPostCommentResource {
|
|
996
1198
|
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
1199
|
}
|
|
1009
1200
|
export interface TikTokPostCommentRepliesResource {
|
|
1010
1201
|
/**
|
|
@@ -1036,7 +1227,6 @@ export interface TikTokProfileResource {
|
|
|
1036
1227
|
readonly followers: TikTokProfileFollowersResource;
|
|
1037
1228
|
readonly following: TikTokProfileFollowingResource;
|
|
1038
1229
|
readonly likedPosts: TikTokProfileLikedPostsResource;
|
|
1039
|
-
readonly music: TikTokProfileMusicResource;
|
|
1040
1230
|
/**
|
|
1041
1231
|
* Select the playlist resource using a supported string shorthand or an explicit ID or URL reference.
|
|
1042
1232
|
*
|
|
@@ -1045,8 +1235,6 @@ export interface TikTokProfileResource {
|
|
|
1045
1235
|
readonly playlist: (reference: ResourceReference) => TikTokProfilePlaylistResource;
|
|
1046
1236
|
readonly playlists: TikTokProfilePlaylistsResource;
|
|
1047
1237
|
readonly posts: TikTokProfilePostsResource;
|
|
1048
|
-
readonly qrCode: TikTokProfileQRCodeResource;
|
|
1049
|
-
readonly stories: TikTokProfileStoriesResource;
|
|
1050
1238
|
/**
|
|
1051
1239
|
* Get a profile
|
|
1052
1240
|
*
|
|
@@ -1098,19 +1286,6 @@ export interface TikTokProfileLikedPostsResource {
|
|
|
1098
1286
|
*/
|
|
1099
1287
|
readonly list: (options?: OperationOptions<"/v1/tiktok/profiles/{identifier}/liked-posts", "get">) => Promise<OperationPage<"/v1/tiktok/profiles/{identifier}/liked-posts", "get">>;
|
|
1100
1288
|
}
|
|
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
1289
|
export interface TikTokProfilePlaylistResource {
|
|
1115
1290
|
readonly posts: TikTokProfilePlaylistPostsResource;
|
|
1116
1291
|
/**
|
|
@@ -1164,55 +1339,12 @@ export interface TikTokProfilePostsResource {
|
|
|
1164
1339
|
*/
|
|
1165
1340
|
readonly list: (options?: OperationOptions<"/v1/tiktok/profiles/{identifier}/posts", "get">) => Promise<OperationPage<"/v1/tiktok/profiles/{identifier}/posts", "get">>;
|
|
1166
1341
|
}
|
|
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
1342
|
export interface TikTokSearchResource {
|
|
1194
|
-
readonly commentSuggestions: TikTokSearchCommentSuggestionsResource;
|
|
1195
1343
|
readonly hashtags: TikTokSearchHashtagsResource;
|
|
1196
|
-
readonly insights: TikTokSearchInsightsResource;
|
|
1197
|
-
readonly live: TikTokSearchLiveResource;
|
|
1198
1344
|
readonly locations: TikTokSearchLocationsResource;
|
|
1199
1345
|
readonly music: TikTokSearchMusicResource;
|
|
1200
1346
|
readonly posts: TikTokSearchPostsResource;
|
|
1201
1347
|
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
1348
|
}
|
|
1217
1349
|
export interface TikTokSearchHashtagsResource {
|
|
1218
1350
|
/**
|
|
@@ -1227,32 +1359,6 @@ export interface TikTokSearchHashtagsResource {
|
|
|
1227
1359
|
*/
|
|
1228
1360
|
readonly list: (options: OperationOptions<"/v1/tiktok/search/hashtags", "get">) => Promise<OperationPage<"/v1/tiktok/search/hashtags", "get">>;
|
|
1229
1361
|
}
|
|
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
1362
|
export interface TikTokSearchLocationsResource {
|
|
1257
1363
|
/**
|
|
1258
1364
|
* Search Tiktok locations
|
|
@@ -1305,298 +1411,8 @@ export interface TikTokSearchProfilesResource {
|
|
|
1305
1411
|
*/
|
|
1306
1412
|
readonly list: (options: OperationOptions<"/v1/tiktok/search/profiles", "get">) => Promise<OperationPage<"/v1/tiktok/search/profiles", "get">>;
|
|
1307
1413
|
}
|
|
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
1414
|
export interface TikTokTrendingResource {
|
|
1598
1415
|
readonly categories: TikTokTrendingCategoriesResource;
|
|
1599
|
-
readonly insights: TikTokTrendingInsightsResource;
|
|
1600
1416
|
readonly music: TikTokTrendingMusicResource;
|
|
1601
1417
|
readonly posts: TikTokTrendingPostsResource;
|
|
1602
1418
|
}
|
|
@@ -1613,19 +1429,6 @@ export interface TikTokTrendingCategoriesResource {
|
|
|
1613
1429
|
*/
|
|
1614
1430
|
readonly list: (options?: OperationOptions<"/v1/tiktok/trending/categories", "get">) => Promise<OperationPage<"/v1/tiktok/trending/categories", "get">>;
|
|
1615
1431
|
}
|
|
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
1432
|
export interface TikTokTrendingMusicResource {
|
|
1630
1433
|
/**
|
|
1631
1434
|
* List trending music
|
|
@@ -1674,32 +1477,7 @@ export interface TwitterResource {
|
|
|
1674
1477
|
readonly search: TwitterSearchResource;
|
|
1675
1478
|
}
|
|
1676
1479
|
export interface TwitterListResource {
|
|
1677
|
-
readonly members: TwitterListMembersResource;
|
|
1678
1480
|
readonly posts: TwitterListPostsResource;
|
|
1679
|
-
/**
|
|
1680
|
-
* Get a Twitter list
|
|
1681
|
-
*
|
|
1682
|
-
* Return one public Twitter list by its native identifier. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
1683
|
-
*
|
|
1684
|
-
* @example
|
|
1685
|
-
* await openhandle.twitter.list("950000000005").get({ freshness: "24h" });
|
|
1686
|
-
*
|
|
1687
|
-
* @see https://openhandle.dev/docs/api-reference/twitter-list-get
|
|
1688
|
-
*/
|
|
1689
|
-
readonly get: (options?: OperationOptions<"/v1/twitter/lists/{identifier}", "get">) => Promise<OperationResponse<"/v1/twitter/lists/{identifier}", "get">>;
|
|
1690
|
-
}
|
|
1691
|
-
export interface TwitterListMembersResource {
|
|
1692
|
-
/**
|
|
1693
|
-
* List Twitter list members
|
|
1694
|
-
*
|
|
1695
|
-
* Return a cursor-paginated collection of Twitter list members. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.
|
|
1696
|
-
*
|
|
1697
|
-
* @example
|
|
1698
|
-
* await openhandle.twitter.list("950000000005").members.list({ freshness: "24h" });
|
|
1699
|
-
*
|
|
1700
|
-
* @see https://openhandle.dev/docs/api-reference/twitter-list-members-list
|
|
1701
|
-
*/
|
|
1702
|
-
readonly list: (options?: OperationOptions<"/v1/twitter/lists/{identifier}/members", "get">) => Promise<OperationPage<"/v1/twitter/lists/{identifier}/members", "get">>;
|
|
1703
1481
|
}
|
|
1704
1482
|
export interface TwitterListPostsResource {
|
|
1705
1483
|
/**
|
|
@@ -1722,7 +1500,6 @@ export interface TwitterPostResource {
|
|
|
1722
1500
|
*/
|
|
1723
1501
|
readonly comment: (reference: ResourceReference) => TwitterPostCommentResource;
|
|
1724
1502
|
readonly comments: TwitterPostCommentsResource;
|
|
1725
|
-
readonly likers: TwitterPostLikersResource;
|
|
1726
1503
|
readonly reposters: TwitterPostRepostersResource;
|
|
1727
1504
|
/**
|
|
1728
1505
|
* Get a post
|
|
@@ -1765,19 +1542,6 @@ export interface TwitterPostCommentsResource {
|
|
|
1765
1542
|
*/
|
|
1766
1543
|
readonly list: (options?: OperationOptions<"/v1/twitter/posts/{identifier}/comments", "get">) => Promise<OperationPage<"/v1/twitter/posts/{identifier}/comments", "get">>;
|
|
1767
1544
|
}
|
|
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
1545
|
export interface TwitterPostRepostersResource {
|
|
1782
1546
|
/**
|
|
1783
1547
|
* List post reposters
|
|
@@ -1794,7 +1558,6 @@ export interface TwitterPostRepostersResource {
|
|
|
1794
1558
|
export interface TwitterProfileResource {
|
|
1795
1559
|
readonly followers: TwitterProfileFollowersResource;
|
|
1796
1560
|
readonly following: TwitterProfileFollowingResource;
|
|
1797
|
-
readonly lists: TwitterProfileListsResource;
|
|
1798
1561
|
readonly media: TwitterProfileMediaResource;
|
|
1799
1562
|
readonly posts: TwitterProfilePostsResource;
|
|
1800
1563
|
readonly replies: TwitterProfileRepliesResource;
|
|
@@ -1836,19 +1599,6 @@ export interface TwitterProfileFollowingResource {
|
|
|
1836
1599
|
*/
|
|
1837
1600
|
readonly list: (options?: OperationOptions<"/v1/twitter/profiles/{identifier}/following", "get">) => Promise<OperationPage<"/v1/twitter/profiles/{identifier}/following", "get">>;
|
|
1838
1601
|
}
|
|
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
1602
|
export interface TwitterProfileMediaResource {
|
|
1853
1603
|
/**
|
|
1854
1604
|
* List profile media
|