@maxim_mazurok/gapi.client.youtube-v3 0.0.20250326 → 0.0.20250331
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/index.d.ts +12 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://youtube.googleapis.com/$discovery/rest?version=v3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250331
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -564,14 +564,16 @@ declare namespace gapi.client {
|
|
|
564
564
|
authorProfileImageUrl?: string;
|
|
565
565
|
/** Whether the current viewer can rate this comment. */
|
|
566
566
|
canRate?: boolean;
|
|
567
|
-
/** The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel. */
|
|
567
|
+
/** The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video or post comment it's the video/post's channel. */
|
|
568
568
|
channelId?: string;
|
|
569
569
|
/** The total number of likes this comment has received. */
|
|
570
570
|
likeCount?: number;
|
|
571
571
|
/** The comment's moderation status. Will not be set if the comments were requested through the id filter. */
|
|
572
572
|
moderationStatus?: string;
|
|
573
|
-
/** The unique id of the
|
|
573
|
+
/** The unique id of the top-level comment, only set for replies. */
|
|
574
574
|
parentId?: string;
|
|
575
|
+
/** The ID of the post the comment refers to, if any. */
|
|
576
|
+
postId?: string;
|
|
575
577
|
/** The date and time when the comment was originally published. */
|
|
576
578
|
publishedAt?: string;
|
|
577
579
|
/** The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc. */
|
|
@@ -586,6 +588,7 @@ declare namespace gapi.client {
|
|
|
586
588
|
viewerRating?: string;
|
|
587
589
|
}
|
|
588
590
|
interface CommentSnippetAuthorChannelId {
|
|
591
|
+
/** The id of the author's YouTube channel. */
|
|
589
592
|
value?: string;
|
|
590
593
|
}
|
|
591
594
|
interface CommentThread {
|
|
@@ -624,15 +627,17 @@ declare namespace gapi.client {
|
|
|
624
627
|
interface CommentThreadSnippet {
|
|
625
628
|
/** Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field. */
|
|
626
629
|
canReply?: boolean;
|
|
627
|
-
/** The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id
|
|
630
|
+
/** The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If neither video_id nor post_id is set the comments refer to the channel itself. */
|
|
628
631
|
channelId?: string;
|
|
629
632
|
/** Whether the thread (and therefore all its comments) is visible to all YouTube users. */
|
|
630
633
|
isPublic?: boolean;
|
|
634
|
+
/** The ID of the post the comments refer to, if any. */
|
|
635
|
+
postId?: string;
|
|
631
636
|
/** The top level comment of this thread. */
|
|
632
637
|
topLevelComment?: Comment;
|
|
633
638
|
/** The total number of replies (not including the top level comment). */
|
|
634
639
|
totalReplyCount?: number;
|
|
635
|
-
/** The ID of the video the comments refer to, if any.
|
|
640
|
+
/** The ID of the video the comments refer to, if any. */
|
|
636
641
|
videoId?: string;
|
|
637
642
|
}
|
|
638
643
|
interface ContentRating {
|
|
@@ -3388,6 +3393,8 @@ declare namespace gapi.client {
|
|
|
3388
3393
|
pageToken?: string;
|
|
3389
3394
|
/** The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include. */
|
|
3390
3395
|
part: string | string[];
|
|
3396
|
+
/** Returns the comment threads of the specified post. */
|
|
3397
|
+
postId?: string;
|
|
3391
3398
|
/** Returns response with indentations and line breaks. */
|
|
3392
3399
|
prettyPrint?: boolean;
|
|
3393
3400
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|