From 3d838e7dc4a5fa26933a0042355cad3f63d8b9a6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 27 Aug 2024 01:35:33 +0000 Subject: [PATCH] feat(youtube): update the API #### youtube:v3 The following keys were added: - schemas.PlaylistStatus.properties.podcastStatus.description - schemas.PlaylistStatus.properties.podcastStatus.enum - schemas.PlaylistStatus.properties.podcastStatus.enumDescriptions - schemas.PlaylistStatus.properties.podcastStatus.type The following keys were changed: - resources.liveChatMessages.methods.list.parameters.part.description --- discovery/youtube-v3.json | 16 ++++++++++++++-- src/apis/youtube/v3.ts | 6 +++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/discovery/youtube-v3.json b/discovery/youtube-v3.json index 178388e479..8e70ea1113 100644 --- a/discovery/youtube-v3.json +++ b/discovery/youtube-v3.json @@ -1770,7 +1770,7 @@ "type": "string" }, "part": { - "description": "The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.", + "description": "The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails.", "location": "query", "repeated": true, "required": true, @@ -4072,7 +4072,7 @@ } } }, - "revision": "20240529", + "revision": "20240814", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -10259,6 +10259,18 @@ "PlaylistStatus": { "id": "PlaylistStatus", "properties": { + "podcastStatus": { + "description": "The playlist's podcast status.", + "enum": [ + "enabled", + "disabled" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "privacyStatus": { "description": "The playlist's privacy status.", "enum": [ diff --git a/src/apis/youtube/v3.ts b/src/apis/youtube/v3.ts index aa3ca7ce78..2ffcc0418e 100644 --- a/src/apis/youtube/v3.ts +++ b/src/apis/youtube/v3.ts @@ -3351,6 +3351,10 @@ export namespace youtube_v3 { title?: string | null; } export interface Schema$PlaylistStatus { + /** + * The playlist's podcast status. + */ + podcastStatus?: string | null; /** * The playlist's privacy status. */ @@ -8786,7 +8790,7 @@ export namespace youtube_v3 { */ pageToken?: string; /** - * The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet. + * The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails. */ part?: string[]; /**