From 7452149d3d70dd45b10ceff77310aa09b6c2c57d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Thu, 2 May 2024 01:32:46 +0000 Subject: [PATCH] feat(youtube): update the API #### youtube:v3 The following keys were added: - schemas.CuepointSchedule.properties.repeatIntervalSecs.deprecated - schemas.CuepointSchedule.properties.scheduleStrategy.deprecated - schemas.LiveBroadcastContentDetails.properties.startWithSlate.deprecated --- discovery/youtube-v3.json | 5 ++- src/apis/youtube/v3.ts | 80 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 1 deletion(-) diff --git a/discovery/youtube-v3.json b/discovery/youtube-v3.json index b964a97141..8c759e35d5 100644 --- a/discovery/youtube-v3.json +++ b/discovery/youtube-v3.json @@ -4037,7 +4037,7 @@ } } }, - "revision": "20240312", + "revision": "20240429", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -7679,11 +7679,13 @@ "type": "string" }, "repeatIntervalSecs": { + "deprecated": true, "description": "Interval frequency in seconds that api uses to insert cuepoints automatically.", "format": "int32", "type": "integer" }, "scheduleStrategy": { + "deprecated": true, "description": "The strategy to use when scheduling cuepoints.", "enum": [ "scheduleStrategyUnspecified", @@ -8283,6 +8285,7 @@ "type": "boolean" }, "startWithSlate": { + "deprecated": true, "description": "This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.", "type": "boolean" }, diff --git a/src/apis/youtube/v3.ts b/src/apis/youtube/v3.ts index a799ba0052..eaf1e1fc7d 100644 --- a/src/apis/youtube/v3.ts +++ b/src/apis/youtube/v3.ts @@ -4728,6 +4728,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -4839,6 +4840,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -4969,6 +4971,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -5054,6 +5057,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -5140,6 +5144,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -5233,6 +5238,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -5319,6 +5325,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -5558,6 +5565,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -5693,6 +5701,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -5779,6 +5788,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -5937,6 +5947,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -6024,6 +6035,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -6118,6 +6130,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -6205,6 +6218,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -6371,6 +6385,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -6457,6 +6472,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -6546,6 +6562,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -6631,6 +6648,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -6716,6 +6734,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -6802,6 +6821,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -6973,6 +6993,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -7067,6 +7088,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -7226,6 +7248,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -7336,6 +7359,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -7441,6 +7465,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -7526,6 +7551,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -7613,6 +7639,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -7700,6 +7727,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -7794,6 +7822,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -7881,6 +7910,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -7968,6 +7998,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -8225,6 +8256,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -8312,6 +8344,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -8424,6 +8457,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -8511,6 +8545,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -8605,6 +8640,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -8744,6 +8780,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -8834,6 +8871,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -8928,6 +8966,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -9061,6 +9100,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -9148,6 +9188,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -9239,6 +9280,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -9326,6 +9368,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -9508,6 +9551,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -9636,6 +9680,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -9738,6 +9783,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -9825,6 +9871,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -9923,6 +9970,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -10010,6 +10058,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -10211,6 +10260,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -10298,6 +10348,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -10390,6 +10441,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -10477,6 +10529,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -10643,6 +10696,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -10729,6 +10783,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -10820,6 +10875,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -10906,6 +10962,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -11082,6 +11139,7 @@ export namespace youtube_v3 { { url: (rootUrl + '/youtube/v3/search').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', + apiVersion: '', }, options ), @@ -11301,6 +11359,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -11388,6 +11447,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -11480,6 +11540,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -11652,6 +11713,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -11762,6 +11824,7 @@ export namespace youtube_v3 { { url: (rootUrl + '/youtube/v3/tests').replace(/([^:]\/)\/+/g, '$1'), method: 'POST', + apiVersion: '', }, options ), @@ -11870,6 +11933,7 @@ export namespace youtube_v3 { '$1' ), method: 'DELETE', + apiVersion: '', }, options ), @@ -11957,6 +12021,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -12051,6 +12116,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -12138,6 +12204,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ), @@ -12307,6 +12374,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -12443,6 +12511,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -12558,6 +12627,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -12666,6 +12736,7 @@ export namespace youtube_v3 { { url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), method: 'DELETE', + apiVersion: '', }, options ), @@ -12759,6 +12830,7 @@ export namespace youtube_v3 { '$1' ), method: 'GET', + apiVersion: '', }, options ), @@ -12842,6 +12914,7 @@ export namespace youtube_v3 { { url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), method: 'POST', + apiVersion: '', }, options ), @@ -12932,6 +13005,7 @@ export namespace youtube_v3 { { url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', + apiVersion: '', }, options ), @@ -13016,6 +13090,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -13101,6 +13176,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -13184,6 +13260,7 @@ export namespace youtube_v3 { { url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), method: 'PUT', + apiVersion: '', }, options ), @@ -13433,6 +13510,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -13521,6 +13599,7 @@ export namespace youtube_v3 { '$1' ), method: 'POST', + apiVersion: '', }, options ), @@ -13667,6 +13746,7 @@ export namespace youtube_v3 { '$1' ), method: 'PUT', + apiVersion: '', }, options ),