@unified-live/youtube 0.1.0 → 0.1.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.
package/dist/index.d.cts CHANGED
@@ -8,26 +8,26 @@ interface components {
8
8
  exception?: string[];
9
9
  }; /** @description A *channel* resource contains information about a YouTube channel. */
10
10
  Channel: {
11
- /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#channel". */kind?: string; /** @description The ID that YouTube uses to uniquely identify the channel. */
11
+ /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#channel". */kind?: string; /** @description Etag of this resource. */
12
+ etag?: string; /** @description The ID that YouTube uses to uniquely identify the channel. */
12
13
  id?: string;
13
- statistics?: components["schemas"]["ChannelStatistics"];
14
- contentOwnerDetails?: components["schemas"]["ChannelContentOwnerDetails"]; /** @description Etag of this resource. */
15
- etag?: string;
16
14
  snippet?: components["schemas"]["ChannelSnippet"];
15
+ contentDetails?: components["schemas"]["ChannelContentDetails"];
16
+ statistics?: components["schemas"]["ChannelStatistics"];
17
17
  topicDetails?: components["schemas"]["ChannelTopicDetails"];
18
- brandingSettings?: components["schemas"]["ChannelBrandingSettings"]; /** @description Localizations for different languages */
18
+ status?: components["schemas"]["ChannelStatus"];
19
+ brandingSettings?: components["schemas"]["ChannelBrandingSettings"];
20
+ conversionPings?: components["schemas"]["ChannelConversionPings"];
21
+ auditDetails?: components["schemas"]["ChannelAuditDetails"];
22
+ contentOwnerDetails?: components["schemas"]["ChannelContentOwnerDetails"]; /** @description Localizations for different languages */
19
23
  localizations?: {
20
24
  [key: string]: components["schemas"]["ChannelLocalization"];
21
25
  };
22
- auditDetails?: components["schemas"]["ChannelAuditDetails"];
23
- conversionPings?: components["schemas"]["ChannelConversionPings"];
24
- contentDetails?: components["schemas"]["ChannelContentDetails"];
25
- status?: components["schemas"]["ChannelStatus"];
26
26
  }; /** @description The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process. */
27
27
  ChannelAuditDetails: {
28
- /** @description Whether or not the channel has any copyright strikes. */copyrightStrikesGoodStanding?: boolean; /** @description Whether or not the channel has any unresolved claims. */
29
- contentIdClaimsGoodStanding?: boolean; /** @description Whether or not the channel respects the community guidelines. */
30
- communityGuidelinesGoodStanding?: boolean;
28
+ /** @description Whether or not the channel respects the community guidelines. */communityGuidelinesGoodStanding?: boolean; /** @description Whether or not the channel has any copyright strikes. */
29
+ copyrightStrikesGoodStanding?: boolean; /** @description Whether or not the channel has any unresolved claims. */
30
+ contentIdClaimsGoodStanding?: boolean;
31
31
  }; /** @description Branding properties of a YouTube channel. */
32
32
  ChannelBrandingSettings: {
33
33
  channel?: components["schemas"]["ChannelSettings"];
@@ -41,12 +41,13 @@ interface components {
41
41
  }; /** @description Details about the content of a channel. */
42
42
  ChannelContentDetails: {
43
43
  relatedPlaylists?: {
44
- /** @description The ID of the playlist that contains the channel"s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos. */uploads?: string;
44
+ /** @description The ID of the playlist that contains the channel"s liked videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list. */likes?: string;
45
45
  /**
46
46
  * @deprecated
47
47
  * @description The ID of the playlist that contains the channel"s favorite videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
48
48
  */
49
- favorites?: string;
49
+ favorites?: string; /** @description The ID of the playlist that contains the channel"s uploaded videos. Use the videos.insert method to upload new videos and the videos.delete method to delete previously uploaded videos. */
50
+ uploads?: string;
50
51
  /**
51
52
  * @deprecated
52
53
  * @description The ID of the playlist that contains the channel"s watch history. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
@@ -56,8 +57,7 @@ interface components {
56
57
  * @deprecated
57
58
  * @description The ID of the playlist that contains the channel"s watch later playlist. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list.
58
59
  */
59
- watchLater?: string; /** @description The ID of the playlist that contains the channel"s liked videos. Use the playlistItems.insert and playlistItems.delete to add or remove items from that list. */
60
- likes?: string;
60
+ watchLater?: string;
61
61
  };
62
62
  }; /** @description The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel. */
63
63
  ChannelContentOwnerDetails: {
@@ -80,35 +80,38 @@ interface components {
80
80
  /** @description Pings that the app shall fire (authenticated by biscotti cookie). Each ping has a context, in which the app must fire the ping, and a url identifying the ping. */pings?: components["schemas"]["ChannelConversionPing"][];
81
81
  };
82
82
  ChannelListResponse: {
83
- /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#channelListResponse". */kind?: string;
83
+ /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#channelListResponse". */kind?: string; /** @description Etag of this resource. */
84
+ etag?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
85
+ nextPageToken?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
86
+ prevPageToken?: string;
87
+ pageInfo?: components["schemas"]["PageInfo"];
84
88
  items?: components["schemas"]["Channel"][];
89
+ tokenPagination?: components["schemas"]["TokenPagination"];
85
90
  /**
86
91
  * @deprecated
87
92
  * @description Serialized EventId of the request which produced this response.
88
93
  */
89
- eventId?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
90
- nextPageToken?: string;
94
+ eventId?: string;
91
95
  /**
92
96
  * @deprecated
93
97
  * @description The visitorId identifies the visitor.
94
98
  */
95
- visitorId?: string; /** @description Etag of this resource. */
96
- etag?: string;
97
- tokenPagination?: components["schemas"]["TokenPagination"]; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
98
- prevPageToken?: string;
99
- pageInfo?: components["schemas"]["PageInfo"];
99
+ visitorId?: string;
100
100
  }; /** @description Channel localization setting */
101
101
  ChannelLocalization: {
102
102
  /** @description The localized strings for channel's title. */title?: string; /** @description The localized strings for channel's description. */
103
103
  description?: string;
104
104
  }; /** @description Branding properties for the channel view. */
105
105
  ChannelSettings: {
106
- /** @description The trailer of the channel, for users that are not subscribers. */unsubscribedTrailer?: string;
106
+ /** @description Specifies the channel title. */title?: string; /** @description Specifies the channel description. */
107
+ description?: string; /** @description Lists keywords associated with the channel, comma-separated. */
108
+ keywords?: string;
107
109
  /**
108
110
  * @deprecated
109
- * @description The list of featured channels.
111
+ * @description Which content tab users should see when viewing the channel.
110
112
  */
111
- featuredChannelsUrls?: string[];
113
+ defaultTab?: string; /** @description The ID for a Google Analytics account to track and measure traffic to the channels. */
114
+ trackingAnalyticsAccountId?: string;
112
115
  /**
113
116
  * @deprecated
114
117
  * @description Whether user-submitted comments left on the channel page need to be approved by the channel owner to be publicly visible.
@@ -116,11 +119,9 @@ interface components {
116
119
  moderateComments?: boolean;
117
120
  /**
118
121
  * @deprecated
119
- * @description Which content tab users should see when viewing the channel.
122
+ * @description Whether related channels should be proposed.
120
123
  */
121
- defaultTab?: string; /** @description Specifies the channel title. */
122
- title?: string; /** @description Lists keywords associated with the channel, comma-separated. */
123
- keywords?: string;
124
+ showRelatedChannels?: boolean;
124
125
  /**
125
126
  * @deprecated
126
127
  * @description Whether the tab to browse the videos should be displayed.
@@ -133,43 +134,40 @@ interface components {
133
134
  featuredChannelsTitle?: string;
134
135
  /**
135
136
  * @deprecated
136
- * @description A prominent color that can be rendered on this channel page.
137
+ * @description The list of featured channels.
137
138
  */
138
- profileColor?: string;
139
- defaultLanguage?: string; /** @description Specifies the channel description. */
140
- description?: string;
139
+ featuredChannelsUrls?: string[]; /** @description The trailer of the channel, for users that are not subscribers. */
140
+ unsubscribedTrailer?: string;
141
141
  /**
142
142
  * @deprecated
143
- * @description Whether related channels should be proposed.
143
+ * @description A prominent color that can be rendered on this channel page.
144
144
  */
145
- showRelatedChannels?: boolean; /** @description The country of the channel. */
146
- country?: string; /** @description The ID for a Google Analytics account to track and measure traffic to the channels. */
147
- trackingAnalyticsAccountId?: string;
145
+ profileColor?: string;
146
+ defaultLanguage?: string; /** @description The country of the channel. */
147
+ country?: string;
148
148
  }; /** @description Basic details about a channel, including title, description and thumbnails. */
149
149
  ChannelSnippet: {
150
- /** @description The language of the channel's default title and description. */defaultLanguage?: string; /** @description The country of the channel. */
151
- country?: string;
150
+ /** @description The channel's title. */title?: string; /** @description The description of the channel. */
151
+ description?: string; /** @description The custom url of the channel. */
152
+ customUrl?: string;
152
153
  /**
153
154
  * Format: date-time
154
155
  * @description The date and time that the channel was created.
155
156
  */
156
- publishedAt?: string; /** @description The description of the channel. */
157
- description?: string;
158
- thumbnails?: components["schemas"]["ThumbnailDetails"];
159
- localized?: components["schemas"]["ChannelLocalization"]; /** @description The channel's title. */
160
- title?: string; /** @description The custom url of the channel. */
161
- customUrl?: string;
157
+ publishedAt?: string;
158
+ thumbnails?: components["schemas"]["ThumbnailDetails"]; /** @description The language of the channel's default title and description. */
159
+ defaultLanguage?: string;
160
+ localized?: components["schemas"]["ChannelLocalization"]; /** @description The country of the channel. */
161
+ country?: string;
162
162
  }; /** @description Statistics about a channel: number of subscribers, number of videos in the channel, etc. */
163
163
  ChannelStatistics: {
164
- /** @description The number of videos uploaded to the channel. */videoCount?: string; /** @description The number of comments for the channel. */
164
+ /** @description The number of times the channel has been viewed. */viewCount?: string; /** @description The number of comments for the channel. */
165
165
  commentCount?: string; /** @description The number of subscribers that the channel has. */
166
- subscriberCount?: string; /** @description The number of times the channel has been viewed. */
167
- viewCount?: string; /** @description Whether or not the number of subscribers is shown for this user. */
168
- hiddenSubscriberCount?: boolean;
166
+ subscriberCount?: string; /** @description Whether or not the number of subscribers is shown for this user. */
167
+ hiddenSubscriberCount?: boolean; /** @description The number of videos uploaded to the channel. */
168
+ videoCount?: string;
169
169
  }; /** @description JSON template for the status part of a channel. */
170
170
  ChannelStatus: {
171
- madeForKids?: boolean; /** @description Whether the channel is considered ypp monetization enabled. See go/yppornot for more details. */
172
- isChannelMonetizationEnabled?: boolean;
173
171
  /**
174
172
  * @description Privacy status of the channel.
175
173
  * @enum {string}
@@ -181,15 +179,17 @@ interface components {
181
179
  * @enum {string}
182
180
  */
183
181
  longUploadsStatus?: "longUploadsUnspecified" | "allowed" | "eligible" | "disallowed";
184
- selfDeclaredMadeForKids?: boolean;
182
+ madeForKids?: boolean;
183
+ selfDeclaredMadeForKids?: boolean; /** @description Whether the channel is considered ypp monetization enabled. See go/yppornot for more details. */
184
+ isChannelMonetizationEnabled?: boolean;
185
185
  }; /** @description Freebase topic information related to the channel. */
186
186
  ChannelTopicDetails: {
187
- /** @description A list of Wikipedia URLs that describe the channel's content. */topicCategories?: string[];
188
187
  /**
189
188
  * @deprecated
190
189
  * @description A list of Freebase topic IDs associated with the channel. You can retrieve information about each topic using the Freebase Topic API.
191
190
  */
192
- topicIds?: string[];
191
+ topicIds?: string[]; /** @description A list of Wikipedia URLs that describe the channel's content. */
192
+ topicCategories?: string[];
193
193
  }; /** @description Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange */
194
194
  ContentRating: {
195
195
  /**
@@ -198,371 +198,376 @@ interface components {
198
198
  */
199
199
  mpaaRating?: "mpaaUnspecified" | "mpaaG" | "mpaaPg" | "mpaaPg13" | "mpaaR" | "mpaaNc17" | "mpaaX" | "mpaaUnrated";
200
200
  /**
201
- * @description The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
201
+ * @description The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
202
202
  * @enum {string}
203
203
  */
204
- oflcRating?: "oflcUnspecified" | "oflcG" | "oflcPg" | "oflcM" | "oflcR13" | "oflcR15" | "oflcR16" | "oflcR18" | "oflcUnrated" | "oflcRp13" | "oflcRp16" | "oflcRp18";
204
+ mpaatRating?: "mpaatUnspecified" | "mpaatGb" | "mpaatRb";
205
205
  /**
206
- * @description The National Media Council ratings system for United Arab Emirates.
206
+ * @description The video's TV Parental Guidelines (TVPG) rating.
207
207
  * @enum {string}
208
208
  */
209
- nmcRating?: "nmcUnspecified" | "nmcG" | "nmcPg" | "nmcPg13" | "nmcPg15" | "nmc15plus" | "nmc18plus" | "nmc18tc" | "nmcUnrated";
209
+ tvpgRating?: "tvpgUnspecified" | "tvpgY" | "tvpgY7" | "tvpgY7Fv" | "tvpgG" | "tvpgPg" | "pg14" | "tvpgMa" | "tvpgUnrated";
210
210
  /**
211
- * @description The video's rating in Peru.
211
+ * @description The video's British Board of Film Classification (BBFC) rating.
212
212
  * @enum {string}
213
213
  */
214
- pefilmRating?: "pefilmUnspecified" | "pefilmPt" | "pefilmPg" | "pefilm14" | "pefilm18" | "pefilmUnrated";
214
+ bbfcRating?: "bbfcUnspecified" | "bbfcU" | "bbfcPg" | "bbfc12a" | "bbfc12" | "bbfc15" | "bbfc18" | "bbfcR18" | "bbfcUnrated";
215
215
  /**
216
- * @description The video's rating from Statens medieråd (Sweden's National Media Council).
216
+ * @description The video's Canadian Home Video Rating System (CHVRS) rating.
217
217
  * @enum {string}
218
218
  */
219
- smsaRating?: "smsaUnspecified" | "smsaA" | "smsa7" | "smsa11" | "smsa15" | "smsaUnrated";
219
+ chvrsRating?: "chvrsUnspecified" | "chvrsG" | "chvrsPg" | "chvrs14a" | "chvrs18a" | "chvrsR" | "chvrsE" | "chvrsUnrated";
220
220
  /**
221
- * @description The video's rating from Malaysia's Film Censorship Board.
221
+ * @description The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
222
222
  * @enum {string}
223
223
  */
224
- fcbmRating?: "fcbmUnspecified" | "fcbmU" | "fcbmPg13" | "fcbmP13" | "fcbm18" | "fcbm18sx" | "fcbm18pa" | "fcbm18sg" | "fcbm18pl" | "fcbmUnrated";
224
+ eirinRating?: "eirinUnspecified" | "eirinG" | "eirinPg12" | "eirinR15plus" | "eirinR18plus" | "eirinUnrated";
225
225
  /**
226
- * @description The video's rating in Poland.
226
+ * @description The video's Central Board of Film Certification (CBFC - India) rating.
227
227
  * @enum {string}
228
228
  */
229
- nbcplRating?: "nbcplUnspecified" | "nbcplI" | "nbcplIi" | "nbcplIii" | "nbcplIv" | "nbcpl18plus" | "nbcplUnrated";
229
+ cbfcRating?: "cbfcUnspecified" | "cbfcU" | "cbfcUA" | "cbfcUA7plus" | "cbfcUA13plus" | "cbfcUA16plus" | "cbfcA" | "cbfcS" | "cbfcUnrated";
230
230
  /**
231
- * @description Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
231
+ * @deprecated
232
+ * @description This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
232
233
  * @enum {string}
233
234
  */
234
- ecbmctRating?: "ecbmctUnspecified" | "ecbmctG" | "ecbmct7a" | "ecbmct7plus" | "ecbmct13a" | "ecbmct13plus" | "ecbmct15a" | "ecbmct15plus" | "ecbmct18plus" | "ecbmctUnrated";
235
+ fmocRating?: "fmocUnspecified" | "fmocU" | "fmoc10" | "fmoc12" | "fmoc16" | "fmoc18" | "fmocE" | "fmocUnrated";
235
236
  /**
236
- * @description The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
237
+ * @description The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
237
238
  * @enum {string}
238
239
  */
239
- incaaRating?: "incaaUnspecified" | "incaaAtp" | "incaaSam13" | "incaaSam16" | "incaaSam18" | "incaaC" | "incaaUnrated";
240
+ icaaRating?: "icaaUnspecified" | "icaaApta" | "icaa7" | "icaa12" | "icaa13" | "icaa16" | "icaa18" | "icaaX" | "icaaUnrated";
240
241
  /**
241
- * @description The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
242
+ * @description The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
242
243
  * @enum {string}
243
244
  */
244
- kijkwijzerRating?: "kijkwijzerUnspecified" | "kijkwijzerAl" | "kijkwijzer6" | "kijkwijzer9" | "kijkwijzer12" | "kijkwijzer16" | "kijkwijzer18" | "kijkwijzerUnrated";
245
+ acbRating?: "acbUnspecified" | "acbE" | "acbP" | "acbC" | "acbG" | "acbPg" | "acbM" | "acbMa15plus" | "acbR18plus" | "acbUnrated";
245
246
  /**
246
- * @description The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
247
+ * @description The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
247
248
  * @enum {string}
248
249
  */
249
- csaRating?: "csaUnspecified" | "csaT" | "csa10" | "csa12" | "csa16" | "csa18" | "csaInterdiction" | "csaUnrated";
250
+ oflcRating?: "oflcUnspecified" | "oflcG" | "oflcPg" | "oflcM" | "oflcR13" | "oflcR15" | "oflcR16" | "oflcR18" | "oflcUnrated" | "oflcRp13" | "oflcRp16" | "oflcRp18";
250
251
  /**
251
- * @description The video's rating from the Commission de Contrôle des Films (Belgium).
252
+ * @description The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
252
253
  * @enum {string}
253
254
  */
254
- cicfRating?: "cicfUnspecified" | "cicfE" | "cicfKtEa" | "cicfKntEna" | "cicfUnrated";
255
+ fskRating?: "fskUnspecified" | "fsk0" | "fsk6" | "fsk12" | "fsk16" | "fsk18" | "fskUnrated";
255
256
  /**
256
- * @description The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
257
+ * @description The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
257
258
  * @enum {string}
258
259
  */
259
- menaMpaaRating?: "menaMpaaUnspecified" | "menaMpaaG" | "menaMpaaPg" | "menaMpaaPg13" | "menaMpaaR" | "menaMpaaUnrated";
260
+ kmrbRating?: "kmrbUnspecified" | "kmrbAll" | "kmrb12plus" | "kmrb15plus" | "kmrbTeenr" | "kmrbR" | "kmrbUnrated";
260
261
  /**
261
- * @description The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
262
+ * @description The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
262
263
  * @enum {string}
263
264
  */
264
- mdaRating?: "mdaUnspecified" | "mdaG" | "mdaPg" | "mdaPg13" | "mdaNc16" | "mdaM18" | "mdaR21" | "mdaUnrated";
265
+ djctqRating?: "djctqUnspecified" | "djctqL" | "djctq10" | "djctq12" | "djctq14" | "djctq16" | "djctq18" | "djctqEr" | "djctqL10" | "djctqL12" | "djctqL14" | "djctqL16" | "djctqL18" | "djctq1012" | "djctq1014" | "djctq1016" | "djctq1018" | "djctq1214" | "djctq1216" | "djctq1218" | "djctq1416" | "djctq1418" | "djctq1618" | "djctqUnrated"; /** @description Reasons that explain why the video received its DJCQT (Brazil) rating. */
266
+ djctqRatingReasons?: ("djctqRatingReasonUnspecified" | "djctqViolence" | "djctqExtremeViolence" | "djctqSexualContent" | "djctqNudity" | "djctqSex" | "djctqExplicitSex" | "djctqDrugs" | "djctqLegalDrugs" | "djctqIllegalDrugs" | "djctqInappropriateLanguage" | "djctqCriminalActs" | "djctqImpactingContent" | "djctqFear" | "djctqMedicalProcedures" | "djctqSensitiveTopics" | "djctqFantasyViolence")[];
265
267
  /**
266
- * @description The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
268
+ * @description The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
267
269
  * @enum {string}
268
270
  */
269
- rtcRating?: "rtcUnspecified" | "rtcAa" | "rtcA" | "rtcB" | "rtcB15" | "rtcC" | "rtcD" | "rtcUnrated";
271
+ russiaRating?: "russiaUnspecified" | "russia0" | "russia6" | "russia12" | "russia16" | "russia18" | "russiaUnrated";
270
272
  /**
271
- * @description The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
273
+ * @description The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
272
274
  * @enum {string}
273
275
  */
274
- eirinRating?: "eirinUnspecified" | "eirinG" | "eirinPg12" | "eirinR15plus" | "eirinR18plus" | "eirinUnrated";
276
+ rtcRating?: "rtcUnspecified" | "rtcAa" | "rtcA" | "rtcB" | "rtcB15" | "rtcC" | "rtcD" | "rtcUnrated";
275
277
  /**
276
- * @description The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
278
+ * @description A rating that YouTube uses to identify age-restricted content.
277
279
  * @enum {string}
278
280
  */
279
- anatelRating?: "anatelUnspecified" | "anatelF" | "anatelI" | "anatelI7" | "anatelI10" | "anatelI12" | "anatelR" | "anatelA" | "anatelUnrated";
281
+ ytRating?: "ytUnspecified" | "ytAgeRestricted";
280
282
  /**
281
- * @description The video's rating from the Movie and Television Review and Classification Board (Philippines).
283
+ * @description The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
282
284
  * @enum {string}
283
285
  */
284
- mtrcbRating?: "mtrcbUnspecified" | "mtrcbG" | "mtrcbPg" | "mtrcbR13" | "mtrcbR16" | "mtrcbR18" | "mtrcbX" | "mtrcbUnrated";
286
+ mibacRating?: "mibacUnspecified" | "mibacT" | "mibacVap" | "mibacVm6" | "mibacVm12" | "mibacVm14" | "mibacVm16" | "mibacVm18" | "mibacUnrated";
285
287
  /**
286
- * @description The video's rating from Medietilsynet, the Norwegian Media Authority.
288
+ * @description Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
287
289
  * @enum {string}
288
290
  */
289
- medietilsynetRating?: "medietilsynetUnspecified" | "medietilsynetA" | "medietilsynet6" | "medietilsynet7" | "medietilsynet9" | "medietilsynet11" | "medietilsynet12" | "medietilsynet15" | "medietilsynet18" | "medietilsynetUnrated";
291
+ catvRating?: "catvUnspecified" | "catvC" | "catvC8" | "catvG" | "catvPg" | "catv14plus" | "catv18plus" | "catvUnrated" | "catvE";
290
292
  /**
291
- * @description The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
293
+ * @description The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
292
294
  * @enum {string}
293
295
  */
294
- cnaRating?: "cnaUnspecified" | "cnaAp" | "cna12" | "cna15" | "cna18" | "cna18plus" | "cnaUnrated";
296
+ catvfrRating?: "catvfrUnspecified" | "catvfrG" | "catvfr8plus" | "catvfr13plus" | "catvfr16plus" | "catvfr18plus" | "catvfrUnrated" | "catvfrE";
295
297
  /**
296
- * @description A rating that YouTube uses to identify age-restricted content.
298
+ * @description The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
297
299
  * @enum {string}
298
300
  */
299
- ytRating?: "ytUnspecified" | "ytAgeRestricted";
301
+ ifcoRating?: "ifcoUnspecified" | "ifcoG" | "ifcoPg" | "ifco12" | "ifco12a" | "ifco15" | "ifco15a" | "ifco16" | "ifco18" | "ifcoUnrated";
300
302
  /**
301
- * @description The video's rating in Greece.
303
+ * @description The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
302
304
  * @enum {string}
303
305
  */
304
- grfilmRating?: "grfilmUnspecified" | "grfilmK" | "grfilmE" | "grfilmK12" | "grfilmK13" | "grfilmK15" | "grfilmK17" | "grfilmK18" | "grfilmUnrated";
306
+ incaaRating?: "incaaUnspecified" | "incaaAtp" | "incaaSam13" | "incaaSam16" | "incaaSam18" | "incaaC" | "incaaUnrated";
305
307
  /**
306
- * @description The video's rating in Iceland.
308
+ * @description The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
307
309
  * @enum {string}
308
310
  */
309
- smaisRating?: "smaisUnspecified" | "smaisL" | "smais7" | "smais12" | "smais14" | "smais16" | "smais18" | "smaisUnrated";
311
+ bmukkRating?: "bmukkUnspecified" | "bmukkAa" | "bmukk6" | "bmukk8" | "bmukk10" | "bmukk12" | "bmukk14" | "bmukk16" | "bmukkUnrated";
310
312
  /**
311
- * @description The video's rating in Venezuela.
313
+ * @description The video's rating from the Commission de Contrôle des Films (Belgium).
312
314
  * @enum {string}
313
315
  */
314
- resorteviolenciaRating?: "resorteviolenciaUnspecified" | "resorteviolenciaA" | "resorteviolenciaB" | "resorteviolenciaC" | "resorteviolenciaD" | "resorteviolenciaE" | "resorteviolenciaUnrated";
316
+ cicfRating?: "cicfUnspecified" | "cicfE" | "cicfKtEa" | "cicfKntEna" | "cicfUnrated";
315
317
  /**
316
- * @description The video's rating in Switzerland.
318
+ * @description The video's rating from the Bulgarian National Film Center.
317
319
  * @enum {string}
318
320
  */
319
- chfilmRating?: "chfilmUnspecified" | "chfilm0" | "chfilm6" | "chfilm12" | "chfilm16" | "chfilm18" | "chfilmUnrated";
321
+ nfrcRating?: "nfrcUnspecified" | "nfrcA" | "nfrcB" | "nfrcC" | "nfrcD" | "nfrcX" | "nfrcUnrated";
320
322
  /**
321
- * @description The video's rating from Nigeria's National Film and Video Censors Board.
323
+ * @description The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
322
324
  * @enum {string}
323
325
  */
324
- nfvcbRating?: "nfvcbUnspecified" | "nfvcbG" | "nfvcbPg" | "nfvcb12" | "nfvcb12a" | "nfvcb15" | "nfvcb18" | "nfvcbRe" | "nfvcbUnrated";
326
+ anatelRating?: "anatelUnspecified" | "anatelF" | "anatelI" | "anatelI7" | "anatelI10" | "anatelI12" | "anatelR" | "anatelA" | "anatelUnrated";
325
327
  /**
326
- * @description The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
328
+ * @description The video's Consejo de Calificación Cinematográfica (Chile) rating.
327
329
  * @enum {string}
328
330
  */
329
- mpaatRating?: "mpaatUnspecified" | "mpaatGb" | "mpaatRb";
331
+ cccRating?: "cccUnspecified" | "cccTe" | "ccc6" | "ccc14" | "ccc18" | "ccc18v" | "ccc18s" | "cccUnrated";
330
332
  /**
331
- * @description The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
333
+ * @description The video's Ministerio de Cultura (Colombia) rating.
332
334
  * @enum {string}
333
335
  */
334
- agcomRating?: "agcomUnspecified" | "agcomT" | "agcomVm14" | "agcomVm18" | "agcomUnrated";
336
+ mocRating?: "mocUnspecified" | "mocE" | "mocT" | "moc7" | "moc12" | "moc15" | "moc18" | "mocX" | "mocBanned" | "mocUnrated";
335
337
  /**
336
- * @description The video's rating from South Africa's Film and Publication Board.
338
+ * @description The video's rating in the Czech Republic.
337
339
  * @enum {string}
338
340
  */
339
- fpbRating?: "fpbUnspecified" | "fpbA" | "fpbPg" | "fpb79Pg" | "fpb1012Pg" | "fpb13" | "fpb16" | "fpb18" | "fpbX18" | "fpbXx" | "fpbUnrated" | "fpb10";
341
+ czfilmRating?: "czfilmUnspecified" | "czfilmU" | "czfilm12" | "czfilm14" | "czfilm18" | "czfilmUnrated";
340
342
  /**
341
- * @description The video's Consejo de Calificación Cinematográfica (Chile) rating.
343
+ * @description The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
342
344
  * @enum {string}
343
345
  */
344
- cccRating?: "cccUnspecified" | "cccTe" | "ccc6" | "ccc14" | "ccc18" | "ccc18v" | "ccc18s" | "cccUnrated";
346
+ mccypRating?: "mccypUnspecified" | "mccypA" | "mccyp7" | "mccyp11" | "mccyp15" | "mccypUnrated";
345
347
  /**
346
- * @description The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
348
+ * @description The video's rating in Egypt.
347
349
  * @enum {string}
348
350
  */
349
- icaaRating?: "icaaUnspecified" | "icaaApta" | "icaa7" | "icaa12" | "icaa13" | "icaa16" | "icaa18" | "icaaX" | "icaaUnrated";
351
+ egfilmRating?: "egfilmUnspecified" | "egfilmGn" | "egfilm18" | "egfilmBn" | "egfilmUnrated";
350
352
  /**
351
- * @description Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
353
+ * @description The video's rating in Estonia.
352
354
  * @enum {string}
353
355
  */
354
- catvRating?: "catvUnspecified" | "catvC" | "catvC8" | "catvG" | "catvPg" | "catv14plus" | "catv18plus" | "catvUnrated" | "catvE";
356
+ eefilmRating?: "eefilmUnspecified" | "eefilmPere" | "eefilmL" | "eefilmMs6" | "eefilmK6" | "eefilmMs12" | "eefilmK12" | "eefilmK14" | "eefilmK16" | "eefilmUnrated";
355
357
  /**
356
- * @description The video's rating from Taiwan's Ministry of Culture (文化部).
358
+ * @description The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
357
359
  * @enum {string}
358
360
  */
359
- moctwRating?: "moctwUnspecified" | "moctwG" | "moctwP" | "moctwPg" | "moctwR" | "moctwUnrated" | "moctwR12" | "moctwR15";
361
+ mekuRating?: "mekuUnspecified" | "mekuS" | "meku7" | "meku12" | "meku16" | "meku18" | "mekuUnrated";
360
362
  /**
361
- * @description The video's rating from Thailand's Board of Film and Video Censors.
363
+ * @description The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
362
364
  * @enum {string}
363
365
  */
364
- bfvcRating?: "bfvcUnspecified" | "bfvcG" | "bfvcE" | "bfvc13" | "bfvc15" | "bfvc18" | "bfvc20" | "bfvcB" | "bfvcUnrated";
366
+ csaRating?: "csaUnspecified" | "csaT" | "csa10" | "csa12" | "csa16" | "csa18" | "csaInterdiction" | "csaUnrated";
365
367
  /**
366
- * @description The video's rating in Slovakia.
368
+ * @description The video's rating in Greece.
367
369
  * @enum {string}
368
370
  */
369
- skfilmRating?: "skfilmUnspecified" | "skfilmG" | "skfilmP2" | "skfilmP5" | "skfilmP8" | "skfilmUnrated"; /** @description Reasons that explain why the video received its DJCQT (Brazil) rating. */
370
- djctqRatingReasons?: ("djctqRatingReasonUnspecified" | "djctqViolence" | "djctqExtremeViolence" | "djctqSexualContent" | "djctqNudity" | "djctqSex" | "djctqExplicitSex" | "djctqDrugs" | "djctqLegalDrugs" | "djctqIllegalDrugs" | "djctqInappropriateLanguage" | "djctqCriminalActs" | "djctqImpactingContent" | "djctqFear" | "djctqMedicalProcedures" | "djctqSensitiveTopics" | "djctqFantasyViolence")[];
371
+ grfilmRating?: "grfilmUnspecified" | "grfilmK" | "grfilmE" | "grfilmK12" | "grfilmK13" | "grfilmK15" | "grfilmK17" | "grfilmK18" | "grfilmUnrated";
371
372
  /**
372
- * @description The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
373
+ * @description The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
373
374
  * @enum {string}
374
375
  */
375
- mekuRating?: "mekuUnspecified" | "mekuS" | "meku7" | "meku12" | "meku16" | "meku18" | "mekuUnrated";
376
+ fcoRating?: "fcoUnspecified" | "fcoI" | "fcoIia" | "fcoIib" | "fcoIi" | "fcoIii" | "fcoUnrated";
376
377
  /**
377
- * @description The video's rating in Egypt.
378
+ * @description The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
378
379
  * @enum {string}
379
380
  */
380
- egfilmRating?: "egfilmUnspecified" | "egfilmGn" | "egfilm18" | "egfilmBn" | "egfilmUnrated";
381
+ rcnofRating?: "rcnofUnspecified" | "rcnofI" | "rcnofIi" | "rcnofIii" | "rcnofIv" | "rcnofV" | "rcnofVi" | "rcnofUnrated";
381
382
  /**
382
- * @description The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
383
+ * @description The video's rating in Iceland.
383
384
  * @enum {string}
384
385
  */
385
- cscfRating?: "cscfUnspecified" | "cscfAl" | "cscfA" | "cscf6" | "cscf9" | "cscf12" | "cscf16" | "cscf18" | "cscfUnrated";
386
+ smaisRating?: "smaisUnspecified" | "smaisL" | "smais7" | "smais12" | "smais14" | "smais16" | "smais18" | "smaisUnrated";
386
387
  /**
387
- * @description The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
388
+ * @description The video's rating from Indonesia's Lembaga Sensor Film.
388
389
  * @enum {string}
389
390
  */
390
- acbRating?: "acbUnspecified" | "acbE" | "acbP" | "acbC" | "acbG" | "acbPg" | "acbM" | "acbMa15plus" | "acbR18plus" | "acbUnrated";
391
+ lsfRating?: "lsfUnspecified" | "lsfSu" | "lsfA" | "lsfBo" | "lsf13" | "lsfR" | "lsf17" | "lsfD" | "lsf21" | "lsfUnrated";
391
392
  /**
392
- * @description The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
393
+ * @description The video's rating from Ireland's Raidió Teilifís Éireann.
393
394
  * @enum {string}
394
395
  */
395
- catvfrRating?: "catvfrUnspecified" | "catvfrG" | "catvfr8plus" | "catvfr13plus" | "catvfr16plus" | "catvfr18plus" | "catvfrUnrated" | "catvfrE";
396
+ rteRating?: "rteUnspecified" | "rteGa" | "rteCh" | "rtePs" | "rteMa" | "rteUnrated";
396
397
  /**
397
- * @description The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
398
+ * @description The video's rating in Israel.
398
399
  * @enum {string}
399
400
  */
400
- fcoRating?: "fcoUnspecified" | "fcoI" | "fcoIia" | "fcoIib" | "fcoIi" | "fcoIii" | "fcoUnrated";
401
+ ilfilmRating?: "ilfilmUnspecified" | "ilfilmAa" | "ilfilm12" | "ilfilm14" | "ilfilm16" | "ilfilm18" | "ilfilmUnrated";
401
402
  /**
402
- * @description The video's British Board of Film Classification (BBFC) rating.
403
+ * @description The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
403
404
  * @enum {string}
404
405
  */
405
- bbfcRating?: "bbfcUnspecified" | "bbfcU" | "bbfcPg" | "bbfc12a" | "bbfc12" | "bbfc15" | "bbfc18" | "bbfcR18" | "bbfcUnrated";
406
+ agcomRating?: "agcomUnspecified" | "agcomT" | "agcomVm14" | "agcomVm18" | "agcomUnrated";
406
407
  /**
407
- * @description The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
408
+ * @description The video's rating from the Kenya Film Classification Board.
408
409
  * @enum {string}
409
410
  */
410
- rcnofRating?: "rcnofUnspecified" | "rcnofI" | "rcnofIi" | "rcnofIii" | "rcnofIv" | "rcnofV" | "rcnofVi" | "rcnofUnrated";
411
+ kfcbRating?: "kfcbUnspecified" | "kfcbG" | "kfcbPg" | "kfcb16plus" | "kfcbR" | "kfcbUnrated";
411
412
  /**
412
- * @description The video's rating from Portugal's Comissão de Classificação de Espect´culos.
413
+ * @description The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
413
414
  * @enum {string}
414
415
  */
415
- cceRating?: "cceUnspecified" | "cceM4" | "cceM6" | "cceM12" | "cceM16" | "cceM18" | "cceUnrated" | "cceM14";
416
+ nkclvRating?: "nkclvUnspecified" | "nkclvU" | "nkclv7plus" | "nkclv12plus" | "nkclv16plus" | "nkclv18plus" | "nkclvUnrated";
416
417
  /**
417
- * @description The video's TV Parental Guidelines (TVPG) rating.
418
+ * @description The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
418
419
  * @enum {string}
419
420
  */
420
- tvpgRating?: "tvpgUnspecified" | "tvpgY" | "tvpgY7" | "tvpgY7Fv" | "tvpgG" | "tvpgPg" | "pg14" | "tvpgMa" | "tvpgUnrated";
421
+ cscfRating?: "cscfUnspecified" | "cscfAl" | "cscfA" | "cscf6" | "cscf9" | "cscf12" | "cscf16" | "cscf18" | "cscfUnrated";
421
422
  /**
422
- * @description The video's Central Board of Film Certification (CBFC - India) rating.
423
+ * @description The video's rating from Malaysia's Film Censorship Board.
423
424
  * @enum {string}
424
425
  */
425
- cbfcRating?: "cbfcUnspecified" | "cbfcU" | "cbfcUA" | "cbfcUA7plus" | "cbfcUA13plus" | "cbfcUA16plus" | "cbfcA" | "cbfcS" | "cbfcUnrated";
426
+ fcbmRating?: "fcbmUnspecified" | "fcbmU" | "fcbmPg13" | "fcbmP13" | "fcbm18" | "fcbm18sx" | "fcbm18pa" | "fcbm18sg" | "fcbm18pl" | "fcbmUnrated";
426
427
  /**
427
- * @description The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
428
+ * @description The video's rating from the Maldives National Bureau of Classification.
428
429
  * @enum {string}
429
430
  */
430
- kmrbRating?: "kmrbUnspecified" | "kmrbAll" | "kmrb12plus" | "kmrb15plus" | "kmrbTeenr" | "kmrbR" | "kmrbUnrated";
431
+ nbcRating?: "nbcUnspecified" | "nbcG" | "nbcPg" | "nbc12plus" | "nbc15plus" | "nbc18plus" | "nbc18plusr" | "nbcPu" | "nbcUnrated";
431
432
  /**
432
- * @description The video's rating from Ireland's Raidió Teilifís Éireann.
433
+ * @description The video's rating from Malta's Film Age-Classification Board.
433
434
  * @enum {string}
434
435
  */
435
- rteRating?: "rteUnspecified" | "rteGa" | "rteCh" | "rtePs" | "rteMa" | "rteUnrated";
436
+ mccaaRating?: "mccaaUnspecified" | "mccaaU" | "mccaaPg" | "mccaa12a" | "mccaa12" | "mccaa14" | "mccaa15" | "mccaa16" | "mccaa18" | "mccaaUnrated";
436
437
  /**
437
- * @description The video's rating from Indonesia's Lembaga Sensor Film.
438
+ * @description The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
438
439
  * @enum {string}
439
440
  */
440
- lsfRating?: "lsfUnspecified" | "lsfSu" | "lsfA" | "lsfBo" | "lsf13" | "lsfR" | "lsf17" | "lsfD" | "lsf21" | "lsfUnrated";
441
+ kijkwijzerRating?: "kijkwijzerUnspecified" | "kijkwijzerAl" | "kijkwijzer6" | "kijkwijzer9" | "kijkwijzer12" | "kijkwijzer16" | "kijkwijzer18" | "kijkwijzerUnrated";
441
442
  /**
442
- * @description The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
443
+ * @description The video's rating from Nigeria's National Film and Video Censors Board.
443
444
  * @enum {string}
444
445
  */
445
- mccypRating?: "mccypUnspecified" | "mccypA" | "mccyp7" | "mccyp11" | "mccyp15" | "mccypUnrated";
446
+ nfvcbRating?: "nfvcbUnspecified" | "nfvcbG" | "nfvcbPg" | "nfvcb12" | "nfvcb12a" | "nfvcb15" | "nfvcb18" | "nfvcbRe" | "nfvcbUnrated";
446
447
  /**
447
- * @description The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
448
+ * @description The video's rating from Medietilsynet, the Norwegian Media Authority.
448
449
  * @enum {string}
449
450
  */
450
- bmukkRating?: "bmukkUnspecified" | "bmukkAa" | "bmukk6" | "bmukk8" | "bmukk10" | "bmukk12" | "bmukk14" | "bmukk16" | "bmukkUnrated";
451
+ medietilsynetRating?: "medietilsynetUnspecified" | "medietilsynetA" | "medietilsynet6" | "medietilsynet7" | "medietilsynet9" | "medietilsynet11" | "medietilsynet12" | "medietilsynet15" | "medietilsynet18" | "medietilsynetUnrated";
451
452
  /**
452
- * @description The video's rating in Israel.
453
+ * @description The video's rating in Peru.
453
454
  * @enum {string}
454
455
  */
455
- ilfilmRating?: "ilfilmUnspecified" | "ilfilmAa" | "ilfilm12" | "ilfilm14" | "ilfilm16" | "ilfilm18" | "ilfilmUnrated";
456
+ pefilmRating?: "pefilmUnspecified" | "pefilmPt" | "pefilmPg" | "pefilm14" | "pefilm18" | "pefilmUnrated";
456
457
  /**
457
- * @description The video's Ministerio de Cultura (Colombia) rating.
458
+ * @description The video's rating from the Movie and Television Review and Classification Board (Philippines).
458
459
  * @enum {string}
459
460
  */
460
- mocRating?: "mocUnspecified" | "mocE" | "mocT" | "moc7" | "moc12" | "moc15" | "moc18" | "mocX" | "mocBanned" | "mocUnrated";
461
+ mtrcbRating?: "mtrcbUnspecified" | "mtrcbG" | "mtrcbPg" | "mtrcbR13" | "mtrcbR16" | "mtrcbR18" | "mtrcbX" | "mtrcbUnrated";
461
462
  /**
462
- * @description The video's rating from the Bulgarian National Film Center.
463
+ * @description The video's rating in Poland.
463
464
  * @enum {string}
464
465
  */
465
- nfrcRating?: "nfrcUnspecified" | "nfrcA" | "nfrcB" | "nfrcC" | "nfrcD" | "nfrcX" | "nfrcUnrated";
466
+ nbcplRating?: "nbcplUnspecified" | "nbcplI" | "nbcplIi" | "nbcplIii" | "nbcplIv" | "nbcpl18plus" | "nbcplUnrated";
466
467
  /**
467
- * @description The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
468
+ * @description The video's rating from Portugal's Comissão de Classificação de Espect´culos.
468
469
  * @enum {string}
469
470
  */
470
- mibacRating?: "mibacUnspecified" | "mibacT" | "mibacVap" | "mibacVm6" | "mibacVm12" | "mibacVm14" | "mibacVm16" | "mibacVm18" | "mibacUnrated";
471
+ cceRating?: "cceUnspecified" | "cceM4" | "cceM6" | "cceM12" | "cceM16" | "cceM18" | "cceUnrated" | "cceM14";
471
472
  /**
472
- * @description The video's rating from Malta's Film Age-Classification Board.
473
+ * @description The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
473
474
  * @enum {string}
474
475
  */
475
- mccaaRating?: "mccaaUnspecified" | "mccaaU" | "mccaaPg" | "mccaa12a" | "mccaa12" | "mccaa14" | "mccaa15" | "mccaa16" | "mccaa18" | "mccaaUnrated";
476
+ cnaRating?: "cnaUnspecified" | "cnaAp" | "cna12" | "cna15" | "cna18" | "cna18plus" | "cnaUnrated";
476
477
  /**
477
- * @description The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
478
+ * @description The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
478
479
  * @enum {string}
479
480
  */
480
- nkclvRating?: "nkclvUnspecified" | "nkclvU" | "nkclv7plus" | "nkclv12plus" | "nkclv16plus" | "nkclv18plus" | "nkclvUnrated";
481
+ mdaRating?: "mdaUnspecified" | "mdaG" | "mdaPg" | "mdaPg13" | "mdaNc16" | "mdaM18" | "mdaR21" | "mdaUnrated";
481
482
  /**
482
- * @description The video's rating in the Czech Republic.
483
+ * @description The video's rating in Slovakia.
483
484
  * @enum {string}
484
485
  */
485
- czfilmRating?: "czfilmUnspecified" | "czfilmU" | "czfilm12" | "czfilm14" | "czfilm18" | "czfilmUnrated";
486
+ skfilmRating?: "skfilmUnspecified" | "skfilmG" | "skfilmP2" | "skfilmP5" | "skfilmP8" | "skfilmUnrated";
486
487
  /**
487
- * @description The video's Canadian Home Video Rating System (CHVRS) rating.
488
+ * @description The video's rating from South Africa's Film and Publication Board.
488
489
  * @enum {string}
489
490
  */
490
- chvrsRating?: "chvrsUnspecified" | "chvrsG" | "chvrsPg" | "chvrs14a" | "chvrs18a" | "chvrsR" | "chvrsE" | "chvrsUnrated"; /** @description Reasons that explain why the video received its FPB (South Africa) rating. */
491
+ fpbRating?: "fpbUnspecified" | "fpbA" | "fpbPg" | "fpb79Pg" | "fpb1012Pg" | "fpb13" | "fpb16" | "fpb18" | "fpbX18" | "fpbXx" | "fpbUnrated" | "fpb10"; /** @description Reasons that explain why the video received its FPB (South Africa) rating. */
491
492
  fpbRatingReasons?: ("fpbRatingReasonUnspecified" | "fpbBlasphemy" | "fpbLanguage" | "fpbNudity" | "fpbPrejudice" | "fpbSex" | "fpbViolence" | "fpbDrugs" | "fpbSexualViolence" | "fpbHorror" | "fpbCriminalTechniques" | "fpbImitativeActsTechniques")[];
492
493
  /**
493
- * @description The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
494
+ * @description The video's rating from Statens medieråd (Sweden's National Media Council).
494
495
  * @enum {string}
495
496
  */
496
- ifcoRating?: "ifcoUnspecified" | "ifcoG" | "ifcoPg" | "ifco12" | "ifco12a" | "ifco15" | "ifco15a" | "ifco16" | "ifco18" | "ifcoUnrated";
497
+ smsaRating?: "smsaUnspecified" | "smsaA" | "smsa7" | "smsa11" | "smsa15" | "smsaUnrated";
497
498
  /**
498
- * @deprecated
499
- * @description This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
499
+ * @description The video's rating in Switzerland.
500
500
  * @enum {string}
501
501
  */
502
- fmocRating?: "fmocUnspecified" | "fmocU" | "fmoc10" | "fmoc12" | "fmoc16" | "fmoc18" | "fmocE" | "fmocUnrated";
502
+ chfilmRating?: "chfilmUnspecified" | "chfilm0" | "chfilm6" | "chfilm12" | "chfilm16" | "chfilm18" | "chfilmUnrated";
503
503
  /**
504
- * @description The video's rating in Estonia.
504
+ * @description The video's rating from Taiwan's Ministry of Culture (文化部).
505
505
  * @enum {string}
506
506
  */
507
- eefilmRating?: "eefilmUnspecified" | "eefilmPere" | "eefilmL" | "eefilmMs6" | "eefilmK6" | "eefilmMs12" | "eefilmK12" | "eefilmK14" | "eefilmK16" | "eefilmUnrated";
507
+ moctwRating?: "moctwUnspecified" | "moctwG" | "moctwP" | "moctwPg" | "moctwR" | "moctwUnrated" | "moctwR12" | "moctwR15";
508
508
  /**
509
- * @description The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
509
+ * @description The video's rating from Thailand's Board of Film and Video Censors.
510
510
  * @enum {string}
511
511
  */
512
- fskRating?: "fskUnspecified" | "fsk0" | "fsk6" | "fsk12" | "fsk16" | "fsk18" | "fskUnrated";
512
+ bfvcRating?: "bfvcUnspecified" | "bfvcG" | "bfvcE" | "bfvc13" | "bfvc15" | "bfvc18" | "bfvc20" | "bfvcB" | "bfvcUnrated";
513
513
  /**
514
- * @description The video's rating from the Kenya Film Classification Board.
514
+ * @description The video's rating in Venezuela.
515
515
  * @enum {string}
516
516
  */
517
- kfcbRating?: "kfcbUnspecified" | "kfcbG" | "kfcbPg" | "kfcb16plus" | "kfcbR" | "kfcbUnrated";
517
+ resorteviolenciaRating?: "resorteviolenciaUnspecified" | "resorteviolenciaA" | "resorteviolenciaB" | "resorteviolenciaC" | "resorteviolenciaD" | "resorteviolenciaE" | "resorteviolenciaUnrated";
518
518
  /**
519
- * @description The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
519
+ * @description Rating system in France - Commission de classification cinematographique
520
520
  * @enum {string}
521
521
  */
522
- djctqRating?: "djctqUnspecified" | "djctqL" | "djctq10" | "djctq12" | "djctq14" | "djctq16" | "djctq18" | "djctqEr" | "djctqL10" | "djctqL12" | "djctqL14" | "djctqL16" | "djctqL18" | "djctq1012" | "djctq1014" | "djctq1016" | "djctq1018" | "djctq1214" | "djctq1216" | "djctq1218" | "djctq1416" | "djctq1418" | "djctq1618" | "djctqUnrated";
522
+ cncRating?: "cncUnspecified" | "cncT" | "cnc10" | "cnc12" | "cnc16" | "cnc18" | "cncE" | "cncInterdiction" | "cncUnrated";
523
523
  /**
524
- * @description The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
524
+ * @description Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
525
525
  * @enum {string}
526
526
  */
527
- russiaRating?: "russiaUnspecified" | "russia0" | "russia6" | "russia12" | "russia16" | "russia18" | "russiaUnrated";
527
+ ecbmctRating?: "ecbmctUnspecified" | "ecbmctG" | "ecbmct7a" | "ecbmct7plus" | "ecbmct13a" | "ecbmct13plus" | "ecbmct15a" | "ecbmct15plus" | "ecbmct18plus" | "ecbmctUnrated";
528
528
  /**
529
- * @description Rating system in France - Commission de classification cinematographique
529
+ * @description The video's rating system for Vietnam - MCST
530
530
  * @enum {string}
531
531
  */
532
- cncRating?: "cncUnspecified" | "cncT" | "cnc10" | "cnc12" | "cnc16" | "cnc18" | "cncE" | "cncInterdiction" | "cncUnrated";
532
+ mcstRating?: "mcstUnspecified" | "mcstP" | "mcst0" | "mcstC13" | "mcstC16" | "mcst16plus" | "mcstC18" | "mcstGPg" | "mcstUnrated";
533
533
  /**
534
- * @description The video's rating system for Vietnam - MCST
534
+ * @description The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
535
535
  * @enum {string}
536
536
  */
537
- mcstRating?: "mcstUnspecified" | "mcstP" | "mcst0" | "mcstC13" | "mcstC16" | "mcst16plus" | "mcstC18" | "mcstGPg" | "mcstUnrated";
537
+ menaMpaaRating?: "menaMpaaUnspecified" | "menaMpaaG" | "menaMpaaPg" | "menaMpaaPg13" | "menaMpaaR" | "menaMpaaUnrated";
538
538
  /**
539
- * @description The video's rating from the Maldives National Bureau of Classification.
539
+ * @description The National Media Council ratings system for United Arab Emirates.
540
540
  * @enum {string}
541
541
  */
542
- nbcRating?: "nbcUnspecified" | "nbcG" | "nbcPg" | "nbc12plus" | "nbc15plus" | "nbc18plus" | "nbc18plusr" | "nbcPu" | "nbcUnrated";
542
+ nmcRating?: "nmcUnspecified" | "nmcG" | "nmcPg" | "nmcPg13" | "nmcPg15" | "nmc15plus" | "nmc18plus" | "nmc18tc" | "nmcUnrated";
543
543
  }; /** @description Geographical coordinates of a point, in WGS84. */
544
544
  GeoPoint: {
545
- /** @description Altitude above the reference ellipsoid, in meters. */altitude?: number; /** @description Latitude in degrees. */
546
- latitude?: number; /** @description Longitude in degrees. */
547
- longitude?: number;
545
+ /** @description Latitude in degrees. */latitude?: number; /** @description Longitude in degrees. */
546
+ longitude?: number; /** @description Altitude above the reference ellipsoid, in meters. */
547
+ altitude?: number;
548
548
  }; /** @description Branding properties for images associated with the channel. */
549
549
  ImageSettings: {
550
550
  /**
551
551
  * @deprecated
552
- * @description The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
552
+ * @description Banner image. Desktop size (1060x175).
553
553
  */
554
- trackingImageUrl?: string;
554
+ bannerImageUrl?: string;
555
555
  /**
556
556
  * @deprecated
557
- * @description Banner image. TV size extra high resolution (2120x1192).
557
+ * @description Banner image. Mobile size (640x175).
558
558
  */
559
- bannerTvImageUrl?: string; /** @deprecated */
559
+ bannerMobileImageUrl?: string;
560
+ backgroundImageUrl?: components["schemas"]["LocalizedProperty"];
561
+ largeBrandedBannerImageImapScript?: components["schemas"]["LocalizedProperty"];
562
+ largeBrandedBannerImageUrl?: components["schemas"]["LocalizedProperty"];
563
+ smallBrandedBannerImageImapScript?: components["schemas"]["LocalizedProperty"];
564
+ smallBrandedBannerImageUrl?: components["schemas"]["LocalizedProperty"]; /** @deprecated */
560
565
  watchIconImageUrl?: string;
561
566
  /**
562
567
  * @deprecated
563
- * @description Banner image. TV size high resolution (1920x1080).
568
+ * @description The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
564
569
  */
565
- bannerTvHighImageUrl?: string;
570
+ trackingImageUrl?: string;
566
571
  /**
567
572
  * @deprecated
568
573
  * @description Banner image. Tablet size low resolution (1138x188).
@@ -570,136 +575,131 @@ interface components {
570
575
  bannerTabletLowImageUrl?: string;
571
576
  /**
572
577
  * @deprecated
573
- * @description Banner image. TV size medium resolution (1280x720).
578
+ * @description Banner image. Tablet size (1707x283).
574
579
  */
575
- bannerTvMediumImageUrl?: string;
576
- largeBrandedBannerImageImapScript?: components["schemas"]["LocalizedProperty"];
577
- smallBrandedBannerImageImapScript?: components["schemas"]["LocalizedProperty"];
580
+ bannerTabletImageUrl?: string;
578
581
  /**
579
582
  * @deprecated
580
- * @description Banner image. Mobile size low resolution (320x88).
583
+ * @description Banner image. Tablet size high resolution (2276x377).
581
584
  */
582
- bannerMobileLowImageUrl?: string;
585
+ bannerTabletHdImageUrl?: string;
583
586
  /**
584
587
  * @deprecated
585
- * @description Banner image. Mobile size high resolution (1440x395).
588
+ * @description Banner image. Tablet size extra high resolution (2560x424).
586
589
  */
587
- bannerMobileExtraHdImageUrl?: string; /** @description This is generated when a ChannelBanner.Insert request has succeeded for the given channel. */
588
- bannerExternalUrl?: string;
589
- backgroundImageUrl?: components["schemas"]["LocalizedProperty"];
590
+ bannerTabletExtraHdImageUrl?: string;
590
591
  /**
591
592
  * @deprecated
592
- * @description Banner image. Tablet size (1707x283).
593
+ * @description Banner image. Mobile size low resolution (320x88).
593
594
  */
594
- bannerTabletImageUrl?: string;
595
+ bannerMobileLowImageUrl?: string;
595
596
  /**
596
597
  * @deprecated
597
- * @description Banner image. Mobile size high resolution (1280x360).
598
+ * @description Banner image. Mobile size medium/high resolution (960x263).
598
599
  */
599
- bannerMobileHdImageUrl?: string;
600
+ bannerMobileMediumHdImageUrl?: string;
600
601
  /**
601
602
  * @deprecated
602
- * @description Banner image. TV size low resolution (854x480).
603
+ * @description Banner image. Mobile size high resolution (1280x360).
603
604
  */
604
- bannerTvLowImageUrl?: string;
605
- largeBrandedBannerImageUrl?: components["schemas"]["LocalizedProperty"];
605
+ bannerMobileHdImageUrl?: string;
606
606
  /**
607
607
  * @deprecated
608
- * @description Banner image. Mobile size (640x175).
608
+ * @description Banner image. Mobile size high resolution (1440x395).
609
609
  */
610
- bannerMobileImageUrl?: string;
610
+ bannerMobileExtraHdImageUrl?: string;
611
611
  /**
612
612
  * @deprecated
613
- * @description Banner image. Tablet size extra high resolution (2560x424).
613
+ * @description Banner image. TV size extra high resolution (2120x1192).
614
614
  */
615
- bannerTabletExtraHdImageUrl?: string;
615
+ bannerTvImageUrl?: string;
616
616
  /**
617
617
  * @deprecated
618
- * @description Banner image. Tablet size high resolution (2276x377).
618
+ * @description Banner image. TV size low resolution (854x480).
619
619
  */
620
- bannerTabletHdImageUrl?: string;
621
- smallBrandedBannerImageUrl?: components["schemas"]["LocalizedProperty"];
620
+ bannerTvLowImageUrl?: string;
622
621
  /**
623
622
  * @deprecated
624
- * @description Banner image. Desktop size (1060x175).
623
+ * @description Banner image. TV size medium resolution (1280x720).
625
624
  */
626
- bannerImageUrl?: string;
625
+ bannerTvMediumImageUrl?: string;
627
626
  /**
628
627
  * @deprecated
629
- * @description Banner image. Mobile size medium/high resolution (960x263).
628
+ * @description Banner image. TV size high resolution (1920x1080).
630
629
  */
631
- bannerMobileMediumHdImageUrl?: string;
630
+ bannerTvHighImageUrl?: string; /** @description This is generated when a ChannelBanner.Insert request has succeeded for the given channel. */
631
+ bannerExternalUrl?: string;
632
632
  };
633
633
  LanguageTag: {
634
634
  value?: string;
635
635
  };
636
636
  LocalizedProperty: {
637
- defaultLanguage?: components["schemas"]["LanguageTag"];
638
637
  default?: string;
639
638
  localized?: components["schemas"]["LocalizedString"][];
639
+ defaultLanguage?: components["schemas"]["LanguageTag"];
640
640
  };
641
641
  LocalizedString: {
642
- language?: string;
643
642
  value?: string;
643
+ language?: string;
644
644
  }; /** @description Paging details for lists of resources, including total number of items available and number of resources returned in a single page. */
645
645
  PageInfo: {
646
646
  /** @description The total number of results in the result set. */totalResults?: number; /** @description The number of results included in the API response. */
647
647
  resultsPerPage?: number;
648
648
  }; /** @description A *playlistItem* resource identifies another resource, such as a video, that is included in a playlist. In addition, the playlistItem resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods. For example, if a user gives a positive rating to a video, you would insert that video into the liked videos playlist for that user's channel. */
649
649
  PlaylistItem: {
650
- snippet?: components["schemas"]["PlaylistItemSnippet"]; /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItem". */
651
- kind?: string; /** @description Etag of this resource. */
650
+ /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItem". */kind?: string; /** @description Etag of this resource. */
652
651
  etag?: string; /** @description The ID that YouTube uses to uniquely identify the playlist item. */
653
652
  id?: string;
653
+ snippet?: components["schemas"]["PlaylistItemSnippet"];
654
654
  contentDetails?: components["schemas"]["PlaylistItemContentDetails"];
655
655
  status?: components["schemas"]["PlaylistItemStatus"];
656
656
  };
657
657
  PlaylistItemContentDetails: {
658
658
  /**
659
- * Format: date-time
660
- * @description The date and time that the video was published to YouTube.
659
+ * @deprecated
660
+ * @description The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) The default value is 0.
661
661
  */
662
- videoPublishedAt?: string;
662
+ startAt?: string;
663
663
  /**
664
664
  * @deprecated
665
665
  * @description The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) By default, assume that the video.endTime is the end of the video.
666
666
  */
667
- endAt?: string; /** @description A user-generated note for this item. */
667
+ endAt?: string; /** @description The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request. */
668
+ videoId?: string; /** @description A user-generated note for this item. */
668
669
  note?: string;
669
670
  /**
670
- * @deprecated
671
- * @description The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) The default value is 0.
671
+ * Format: date-time
672
+ * @description The date and time that the video was published to YouTube.
672
673
  */
673
- startAt?: string; /** @description The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request. */
674
- videoId?: string;
674
+ videoPublishedAt?: string;
675
675
  };
676
676
  PlaylistItemListResponse: {
677
- /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItemListResponse". */kind?: string; /** @description A list of playlist items that match the request criteria. */
678
- items?: components["schemas"]["PlaylistItem"][]; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
679
- nextPageToken?: string; /** @description Serialized EventId of the request which produced this response. */
680
- eventId?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
681
- prevPageToken?: string;
682
- etag?: string;
683
- tokenPagination?: components["schemas"]["TokenPagination"]; /** @description The visitorId identifies the visitor. */
684
- visitorId?: string;
677
+ /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#playlistItemListResponse". */kind?: string;
678
+ etag?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
679
+ nextPageToken?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
680
+ prevPageToken?: string; /** @description A list of playlist items that match the request criteria. */
681
+ items?: components["schemas"]["PlaylistItem"][];
685
682
  pageInfo?: components["schemas"]["PageInfo"];
683
+ tokenPagination?: components["schemas"]["TokenPagination"]; /** @description Serialized EventId of the request which produced this response. */
684
+ eventId?: string; /** @description The visitorId identifies the visitor. */
685
+ visitorId?: string;
686
686
  }; /** @description Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15 */
687
687
  PlaylistItemSnippet: {
688
- /** @description Channel id for the channel this video belongs to. */videoOwnerChannelId?: string;
689
688
  /**
690
689
  * Format: date-time
691
690
  * @description The date and time that the item was added to the playlist.
692
691
  */
693
- publishedAt?: string; /** @description Channel title for the channel this video belongs to. */
694
- videoOwnerChannelTitle?: string; /** @description Channel title for the channel that the playlist item belongs to. */
695
- channelTitle?: string;
696
- thumbnails?: components["schemas"]["ThumbnailDetails"]; /** @description The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth. */
697
- position?: number; /** @description The item's description. */
698
- description?: string; /** @description The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in. */
699
- playlistId?: string; /** @description The ID that YouTube uses to uniquely identify the user that added the item to the playlist. */
692
+ publishedAt?: string; /** @description The ID that YouTube uses to uniquely identify the user that added the item to the playlist. */
700
693
  channelId?: string; /** @description The item's title. */
701
- title?: string;
702
- resourceId?: components["schemas"]["ResourceId"];
694
+ title?: string; /** @description The item's description. */
695
+ description?: string;
696
+ thumbnails?: components["schemas"]["ThumbnailDetails"]; /** @description Channel title for the channel that the playlist item belongs to. */
697
+ channelTitle?: string; /** @description The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in. */
698
+ playlistId?: string; /** @description The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth. */
699
+ position?: number;
700
+ resourceId?: components["schemas"]["ResourceId"]; /** @description Channel title for the channel this video belongs to. */
701
+ videoOwnerChannelTitle?: string; /** @description Channel id for the channel this video belongs to. */
702
+ videoOwnerChannelId?: string;
703
703
  }; /** @description Information about the playlist item's privacy status. */
704
704
  PlaylistItemStatus: {
705
705
  /**
@@ -713,22 +713,22 @@ interface components {
713
713
  value?: string;
714
714
  }; /** @description A resource id is a generic reference that points to another YouTube resource. */
715
715
  ResourceId: {
716
- /** @description The type of the API resource. */kind?: string; /** @description The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist. */
717
- playlistId?: string; /** @description The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel. */
718
- channelId?: string; /** @description The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video. */
719
- videoId?: string;
716
+ /** @description The type of the API resource. */kind?: string; /** @description The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video. */
717
+ videoId?: string; /** @description The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel. */
718
+ channelId?: string; /** @description The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist. */
719
+ playlistId?: string;
720
720
  };
721
721
  SearchListResponse: {
722
- /** @description Serialized EventId of the request which produced this response. */eventId?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
723
- nextPageToken?: string;
724
- regionCode?: string; /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#searchListResponse". */
725
- kind?: string; /** @description Pagination information for token pagination. */
726
- items?: components["schemas"]["SearchResult"][];
727
- pageInfo?: components["schemas"]["PageInfo"]; /** @description The visitorId identifies the visitor. */
728
- visitorId?: string; /** @description Etag of this resource. */
729
- etag?: string;
730
- tokenPagination?: components["schemas"]["TokenPagination"]; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
722
+ /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#searchListResponse". */kind?: string; /** @description Etag of this resource. */
723
+ etag?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
724
+ nextPageToken?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
731
725
  prevPageToken?: string;
726
+ regionCode?: string;
727
+ pageInfo?: components["schemas"]["PageInfo"]; /** @description Pagination information for token pagination. */
728
+ items?: components["schemas"]["SearchResult"][];
729
+ tokenPagination?: components["schemas"]["TokenPagination"]; /** @description Serialized EventId of the request which produced this response. */
730
+ eventId?: string; /** @description The visitorId identifies the visitor. */
731
+ visitorId?: string;
732
732
  }; /** @description A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data. */
733
733
  SearchResult: {
734
734
  /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#searchResult". */kind?: string; /** @description Etag of this resource. */
@@ -737,84 +737,84 @@ interface components {
737
737
  snippet?: components["schemas"]["SearchResultSnippet"];
738
738
  }; /** @description Basic details about a search result, including title, description and thumbnails of the item referenced by the search result. */
739
739
  SearchResultSnippet: {
740
- /** @description The title of the channel that published the resource that the search result identifies. */channelTitle?: string;
741
- thumbnails?: components["schemas"]["ThumbnailDetails"];
742
740
  /**
743
- * @description It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's "none" if there is not any upcoming/active live broadcasts.
744
- * @enum {string}
741
+ * Format: date-time
742
+ * @description The creation date and time of the resource that the search result identifies.
745
743
  */
746
- liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; /** @description The title of the search result. */
747
- title?: string; /** @description The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies. */
748
- channelId?: string; /** @description A description of the search result. */
744
+ publishedAt?: string; /** @description The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies. */
745
+ channelId?: string; /** @description The title of the search result. */
746
+ title?: string; /** @description A description of the search result. */
749
747
  description?: string;
748
+ thumbnails?: components["schemas"]["ThumbnailDetails"]; /** @description The title of the channel that published the resource that the search result identifies. */
749
+ channelTitle?: string;
750
750
  /**
751
- * Format: date-time
752
- * @description The creation date and time of the resource that the search result identifies.
751
+ * @description It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's "none" if there is not any upcoming/active live broadcasts.
752
+ * @enum {string}
753
753
  */
754
- publishedAt?: string;
754
+ liveBroadcastContent?: "none" | "upcoming" | "live" | "completed";
755
755
  }; /** @description A thumbnail is an image representing a YouTube resource. */
756
756
  Thumbnail: {
757
- /** @description The thumbnail image's URL. */url?: string; /** @description (Optional) Height of the thumbnail image. */
758
- height?: number; /** @description (Optional) Width of the thumbnail image. */
759
- width?: number;
757
+ /** @description The thumbnail image's URL. */url?: string; /** @description (Optional) Width of the thumbnail image. */
758
+ width?: number; /** @description (Optional) Height of the thumbnail image. */
759
+ height?: number;
760
760
  }; /** @description Internal representation of thumbnails for a YouTube resource. */
761
761
  ThumbnailDetails: {
762
- high?: components["schemas"]["Thumbnail"];
763
762
  default?: components["schemas"]["Thumbnail"];
764
763
  medium?: components["schemas"]["Thumbnail"];
764
+ high?: components["schemas"]["Thumbnail"];
765
765
  standard?: components["schemas"]["Thumbnail"];
766
766
  maxres?: components["schemas"]["Thumbnail"];
767
767
  }; /** @description Stub token pagination template to suppress results. */
768
768
  TokenPagination: Record<string, never>; /** @description A *video* resource represents a YouTube video. */
769
769
  Video: {
770
- /** @description Etag of this resource. */etag?: string;
771
- recordingDetails?: components["schemas"]["VideoRecordingDetails"];
772
- player?: components["schemas"]["VideoPlayer"];
773
- liveStreamingDetails?: components["schemas"]["VideoLiveStreamingDetails"];
774
- projectDetails?: components["schemas"]["VideoProjectDetails"]; /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#video". */
775
- kind?: string;
776
- ageGating?: components["schemas"]["VideoAgeGating"];
777
- statistics?: components["schemas"]["VideoStatistics"];
778
- suggestions?: components["schemas"]["VideoSuggestions"]; /** @description The ID that YouTube uses to uniquely identify the video. */
770
+ /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#video". */kind?: string; /** @description Etag of this resource. */
771
+ etag?: string; /** @description The ID that YouTube uses to uniquely identify the video. */
779
772
  id?: string;
773
+ snippet?: components["schemas"]["VideoSnippet"];
774
+ contentDetails?: components["schemas"]["VideoContentDetails"];
775
+ status?: components["schemas"]["VideoStatus"];
776
+ statistics?: components["schemas"]["VideoStatistics"];
777
+ player?: components["schemas"]["VideoPlayer"];
778
+ topicDetails?: components["schemas"]["VideoTopicDetails"];
779
+ recordingDetails?: components["schemas"]["VideoRecordingDetails"];
780
780
  fileDetails?: components["schemas"]["VideoFileDetails"];
781
781
  processingDetails?: components["schemas"]["VideoProcessingDetails"];
782
- status?: components["schemas"]["VideoStatus"];
783
- contentDetails?: components["schemas"]["VideoContentDetails"];
784
- monetizationDetails?: components["schemas"]["VideoMonetizationDetails"]; /** @description The localizations object contains localized versions of the basic details about the video, such as its title and description. */
782
+ suggestions?: components["schemas"]["VideoSuggestions"];
783
+ ageGating?: components["schemas"]["VideoAgeGating"];
784
+ monetizationDetails?: components["schemas"]["VideoMonetizationDetails"];
785
+ projectDetails?: components["schemas"]["VideoProjectDetails"];
786
+ liveStreamingDetails?: components["schemas"]["VideoLiveStreamingDetails"]; /** @description The localizations object contains localized versions of the basic details about the video, such as its title and description. */
785
787
  localizations?: {
786
788
  [key: string]: components["schemas"]["VideoLocalization"];
787
789
  };
788
- topicDetails?: components["schemas"]["VideoTopicDetails"];
789
790
  paidProductPlacementDetails?: components["schemas"]["VideoPaidProductPlacementDetails"];
790
- snippet?: components["schemas"]["VideoSnippet"];
791
791
  };
792
792
  VideoAgeGating: {
793
+ /** @description Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present. */restricted?: boolean; /** @description Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content. */
794
+ alcoholContent?: boolean;
793
795
  /**
794
796
  * @description Video game rating, if any.
795
797
  * @enum {string}
796
798
  */
797
- videoGameRating?: "anyone" | "m15Plus" | "m16Plus" | "m17Plus"; /** @description Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content. */
798
- alcoholContent?: boolean; /** @description Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present. */
799
- restricted?: boolean;
799
+ videoGameRating?: "anyone" | "m15Plus" | "m16Plus" | "m17Plus";
800
800
  }; /** @description Details about the content of a YouTube Video. */
801
801
  VideoContentDetails: {
802
- /** @description The value of is_license_content indicates whether the video is licensed content. */licensedContent?: boolean;
803
- contentRating?: components["schemas"]["ContentRating"]; /** @description The value of dimension indicates whether the video is available in 3D or in 2D. */
802
+ /** @description The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long. */duration?: string; /** @description The value of dimension indicates whether the video is available in 3D or in 2D. */
804
803
  dimension?: string;
805
- countryRestriction?: components["schemas"]["AccessPolicy"];
806
804
  /**
807
805
  * @description The value of definition indicates whether the video is available in high definition or only in standard definition.
808
806
  * @enum {string}
809
807
  */
810
- definition?: "sd" | "hd"; /** @description The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long. */
811
- duration?: string;
808
+ definition?: "sd" | "hd";
812
809
  /**
813
810
  * @description The value of captions indicates whether the video has captions or not.
814
811
  * @enum {string}
815
812
  */
816
- caption?: "true" | "false";
813
+ caption?: "true" | "false"; /** @description The value of is_license_content indicates whether the video is licensed content. */
814
+ licensedContent?: boolean;
815
+ countryRestriction?: components["schemas"]["AccessPolicy"];
817
816
  regionRestriction?: components["schemas"]["VideoContentDetailsRegionRestriction"];
817
+ contentRating?: components["schemas"]["ContentRating"];
818
818
  /**
819
819
  * @description Specifies the projection format of the video.
820
820
  * @enum {string}
@@ -827,58 +827,58 @@ interface components {
827
827
  blocked?: string[];
828
828
  }; /** @description Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information. */
829
829
  VideoFileDetails: {
830
- /** @description The uploaded file's name. This field is present whether a video file or another type of file was uploaded. */fileName?: string; /** @description The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM */
831
- creationTime?: string; /** @description The uploaded video file's combined (video and audio) bitrate in bits per second. */
832
- bitrateBps?: string; /** @description A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream. */
833
- audioStreams?: components["schemas"]["VideoFileDetailsAudioStream"][]; /** @description The uploaded video file's container format. */
834
- container?: string; /** @description The length of the uploaded video in milliseconds. */
835
- durationMs?: string; /** @description The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded. */
830
+ /** @description The uploaded file's name. This field is present whether a video file or another type of file was uploaded. */fileName?: string; /** @description The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded. */
836
831
  fileSize?: string;
837
832
  /**
838
833
  * @description The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
839
834
  * @enum {string}
840
835
  */
841
- fileType?: "video" | "audio" | "image" | "archive" | "document" | "project" | "other"; /** @description A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream. */
842
- videoStreams?: components["schemas"]["VideoFileDetailsVideoStream"][];
836
+ fileType?: "video" | "audio" | "image" | "archive" | "document" | "project" | "other"; /** @description The uploaded video file's container format. */
837
+ container?: string; /** @description A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream. */
838
+ videoStreams?: components["schemas"]["VideoFileDetailsVideoStream"][]; /** @description A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream. */
839
+ audioStreams?: components["schemas"]["VideoFileDetailsAudioStream"][]; /** @description The length of the uploaded video in milliseconds. */
840
+ durationMs?: string; /** @description The uploaded video file's combined (video and audio) bitrate in bits per second. */
841
+ bitrateBps?: string; /** @description The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM */
842
+ creationTime?: string;
843
843
  }; /** @description Information about an audio stream. */
844
844
  VideoFileDetailsAudioStream: {
845
- /** @description The audio stream's bitrate, in bits per second. */bitrateBps?: string; /** @description The number of audio channels that the stream contains. */
846
- channelCount?: number; /** @description The audio codec that the stream uses. */
847
- codec?: string; /** @description A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. */
845
+ /** @description The number of audio channels that the stream contains. */channelCount?: number; /** @description The audio codec that the stream uses. */
846
+ codec?: string; /** @description The audio stream's bitrate, in bits per second. */
847
+ bitrateBps?: string; /** @description A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. */
848
848
  vendor?: string;
849
849
  }; /** @description Information about a video stream. */
850
850
  VideoFileDetailsVideoStream: {
851
- /** @description The video stream's bitrate, in bits per second. */bitrateBps?: string; /** @description The video stream's frame rate, in frames per second. */
852
- frameRateFps?: number;
851
+ /** @description The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels. */widthPixels?: number; /** @description The encoded video content's height in pixels. */
852
+ heightPixels?: number; /** @description The video stream's frame rate, in frames per second. */
853
+ frameRateFps?: number; /** @description The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed. */
854
+ aspectRatio?: number; /** @description The video codec that the stream uses. */
855
+ codec?: string; /** @description The video stream's bitrate, in bits per second. */
856
+ bitrateBps?: string;
853
857
  /**
854
858
  * @description The amount that YouTube needs to rotate the original source content to properly display the video.
855
859
  * @enum {string}
856
860
  */
857
- rotation?: "none" | "clockwise" | "upsideDown" | "counterClockwise" | "other"; /** @description The encoded video content's height in pixels. */
858
- heightPixels?: number; /** @description The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed. */
859
- aspectRatio?: number; /** @description The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels. */
860
- widthPixels?: number; /** @description A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. */
861
- vendor?: string; /** @description The video codec that the stream uses. */
862
- codec?: string;
861
+ rotation?: "none" | "clockwise" | "upsideDown" | "counterClockwise" | "other"; /** @description A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code. */
862
+ vendor?: string;
863
863
  };
864
864
  VideoListResponse: {
865
+ /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#videoListResponse". */kind?: string; /** @description Etag of this resource. */
866
+ etag?: string;
867
+ items?: components["schemas"]["Video"][]; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
868
+ nextPageToken?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
869
+ prevPageToken?: string;
870
+ pageInfo?: components["schemas"]["PageInfo"];
871
+ tokenPagination?: components["schemas"]["TokenPagination"];
865
872
  /**
866
873
  * @deprecated
867
874
  * @description Serialized EventId of the request which produced this response.
868
875
  */
869
- eventId?: string; /** @description The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. */
870
- nextPageToken?: string; /** @description Identifies what kind of resource this is. Value: the fixed string "youtube#videoListResponse". */
871
- kind?: string;
872
- items?: components["schemas"]["Video"][];
873
- pageInfo?: components["schemas"]["PageInfo"];
876
+ eventId?: string;
874
877
  /**
875
878
  * @deprecated
876
879
  * @description The visitorId identifies the visitor.
877
880
  */
878
- visitorId?: string; /** @description Etag of this resource. */
879
- etag?: string;
880
- tokenPagination?: components["schemas"]["TokenPagination"]; /** @description The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. */
881
- prevPageToken?: string;
881
+ visitorId?: string;
882
882
  }; /** @description Details about the live streaming metadata. */
883
883
  VideoLiveStreamingDetails: {
884
884
  /**
@@ -888,20 +888,20 @@ interface components {
888
888
  actualStartTime?: string;
889
889
  /**
890
890
  * Format: date-time
891
- * @description The time that the broadcast is scheduled to begin.
891
+ * @description The time that the broadcast actually ended. This value will not be available until the broadcast is over.
892
892
  */
893
- scheduledStartTime?: string; /** @description The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended. */
894
- concurrentViewers?: string;
893
+ actualEndTime?: string;
895
894
  /**
896
895
  * Format: date-time
897
- * @description The time that the broadcast actually ended. This value will not be available until the broadcast is over.
896
+ * @description The time that the broadcast is scheduled to begin.
898
897
  */
899
- actualEndTime?: string;
898
+ scheduledStartTime?: string;
900
899
  /**
901
900
  * Format: date-time
902
901
  * @description The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.
903
902
  */
904
- scheduledEndTime?: string; /** @description The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page. */
903
+ scheduledEndTime?: string; /** @description The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended. */
904
+ concurrentViewers?: string; /** @description The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page. */
905
905
  activeLiveChatId?: string;
906
906
  }; /** @description Localized versions of certain video properties (e.g. title). */
907
907
  VideoLocalization: {
@@ -915,19 +915,16 @@ interface components {
915
915
  /** @description This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png */hasPaidProductPlacement?: boolean;
916
916
  }; /** @description Player to be used for a video playback. */
917
917
  VideoPlayer: {
918
+ /** @description An <iframe> tag that embeds a player that will play the video. */embedHtml?: string;
918
919
  embedHeight?: string; /** @description The embed width */
919
- embedWidth?: string; /** @description An <iframe> tag that embeds a player that will play the video. */
920
- embedHtml?: string;
920
+ embedWidth?: string;
921
921
  }; /** @description Describes processing status and progress and availability of some other Video resource parts. */
922
922
  VideoProcessingDetails: {
923
923
  /**
924
924
  * @description The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.
925
925
  * @enum {string}
926
926
  */
927
- processingStatus?: "processing" | "succeeded" | "failed" | "terminated"; /** @description This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request. */
928
- tagSuggestionsAvailability?: string; /** @description This value indicates whether thumbnail images have been generated for the video. */
929
- thumbnailsAvailability?: string; /** @description This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request. */
930
- editorSuggestionsAvailability?: string;
927
+ processingStatus?: "processing" | "succeeded" | "failed" | "terminated";
931
928
  processingProgress?: components["schemas"]["VideoProcessingDetailsProcessingProgress"];
932
929
  /**
933
930
  * @description The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.
@@ -935,12 +932,15 @@ interface components {
935
932
  */
936
933
  processingFailureReason?: "uploadFailed" | "transcodeFailed" | "streamingFailed" | "other"; /** @description This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request. */
937
934
  fileDetailsAvailability?: string; /** @description This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request. */
938
- processingIssuesAvailability?: string;
935
+ processingIssuesAvailability?: string; /** @description This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request. */
936
+ tagSuggestionsAvailability?: string; /** @description This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request. */
937
+ editorSuggestionsAvailability?: string; /** @description This value indicates whether thumbnail images have been generated for the video. */
938
+ thumbnailsAvailability?: string;
939
939
  }; /** @description Video processing progress and completion time estimate. */
940
940
  VideoProcessingDetailsProcessingProgress: {
941
- /** @description An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video. */partsTotal?: string; /** @description An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video. */
942
- timeLeftMs?: string; /** @description The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video. */
943
- partsProcessed?: string;
941
+ /** @description An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video. */partsTotal?: string; /** @description The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video. */
942
+ partsProcessed?: string; /** @description An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video. */
943
+ timeLeftMs?: string;
944
944
  }; /** @description DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677 */
945
945
  VideoProjectDetails: Record<string, never>; /** @description Recording information associated with the video. */
946
946
  VideoRecordingDetails: {
@@ -953,31 +953,31 @@ interface components {
953
953
  recordingDate?: string;
954
954
  }; /** @description Basic details about a video, including title, description, uploader, thumbnails and category. */
955
955
  VideoSnippet: {
956
- /** @description The ID that YouTube uses to uniquely identify the channel that the video was uploaded to. */channelId?: string; /** @description The default_audio_language property specifies the language spoken in the video's default audio track. */
957
- defaultAudioLanguage?: string; /** @description The video's description. @mutable youtube.videos.insert youtube.videos.update */
958
- description?: string; /** @description The video's title. @mutable youtube.videos.insert youtube.videos.update */
959
- title?: string; /** @description The language of the videos's default snippet. */
960
- defaultLanguage?: string;
961
956
  /**
962
957
  * Format: date-time
963
958
  * @description The date and time when the video was uploaded.
964
959
  */
965
- publishedAt?: string; /** @description The YouTube video category associated with the video. */
960
+ publishedAt?: string; /** @description The ID that YouTube uses to uniquely identify the channel that the video was uploaded to. */
961
+ channelId?: string; /** @description The video's title. @mutable youtube.videos.insert youtube.videos.update */
962
+ title?: string; /** @description The video's description. @mutable youtube.videos.insert youtube.videos.update */
963
+ description?: string;
964
+ thumbnails?: components["schemas"]["ThumbnailDetails"]; /** @description Channel title for the channel that the video belongs to. */
965
+ channelTitle?: string; /** @description A list of keyword tags associated with the video. Tags may contain spaces. */
966
+ tags?: string[]; /** @description The YouTube video category associated with the video. */
966
967
  categoryId?: string;
967
- thumbnails?: components["schemas"]["ThumbnailDetails"];
968
968
  /**
969
969
  * @description Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
970
970
  * @enum {string}
971
971
  */
972
- liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; /** @description Channel title for the channel that the video belongs to. */
973
- channelTitle?: string;
974
- localized?: components["schemas"]["VideoLocalization"]; /** @description A list of keyword tags associated with the video. Tags may contain spaces. */
975
- tags?: string[];
972
+ liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; /** @description The language of the videos's default snippet. */
973
+ defaultLanguage?: string;
974
+ localized?: components["schemas"]["VideoLocalization"]; /** @description The default_audio_language property specifies the language spoken in the video's default audio track. */
975
+ defaultAudioLanguage?: string;
976
976
  }; /** @description Statistics about the video, such as the number of times the video was viewed or liked. */
977
977
  VideoStatistics: {
978
- /** @description The number of users who have indicated that they disliked the video by giving it a negative rating. */dislikeCount?: string; /** @description The number of times the video has been viewed. */
979
- viewCount?: string; /** @description The number of users who have indicated that they liked the video by giving it a positive rating. */
980
- likeCount?: string;
978
+ /** @description The number of times the video has been viewed. */viewCount?: string; /** @description The number of users who have indicated that they liked the video by giving it a positive rating. */
979
+ likeCount?: string; /** @description The number of users who have indicated that they disliked the video by giving it a negative rating. */
980
+ dislikeCount?: string;
981
981
  /**
982
982
  * @deprecated
983
983
  * @description The number of users who currently have the video marked as a favorite video.
@@ -986,14 +986,6 @@ interface components {
986
986
  commentCount?: string;
987
987
  }; /** @description Basic details about a video category, such as its localized title. Next Id: 19 */
988
988
  VideoStatus: {
989
- /**
990
- * Format: date-time
991
- * @description The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..
992
- */
993
- publishAt?: string; /** @description This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update */
994
- embeddable?: boolean; /** @description This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update */
995
- publicStatsViewable?: boolean; /** @description Indicates if the video contains altered or synthetic media. */
996
- containsSyntheticMedia?: boolean;
997
989
  /**
998
990
  * @description The status of the uploaded video.
999
991
  * @enum {string}
@@ -1005,38 +997,46 @@ interface components {
1005
997
  */
1006
998
  failureReason?: "conversion" | "invalidFile" | "emptyFile" | "tooSmall" | "codec" | "uploadAborted";
1007
999
  /**
1008
- * @description The video's license. @mutable youtube.videos.insert youtube.videos.update
1000
+ * @description This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
1009
1001
  * @enum {string}
1010
1002
  */
1011
- license?: "youtube" | "creativeCommon";
1003
+ rejectionReason?: "copyright" | "inappropriate" | "duplicate" | "termsOfUse" | "uploaderAccountSuspended" | "length" | "claim" | "uploaderAccountClosed" | "trademark" | "legal";
1012
1004
  /**
1013
1005
  * @description The video's privacy status.
1014
1006
  * @enum {string}
1015
1007
  */
1016
1008
  privacyStatus?: "public" | "unlisted" | "private";
1017
- madeForKids?: boolean;
1018
1009
  /**
1019
- * @description This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
1010
+ * Format: date-time
1011
+ * @description The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..
1012
+ */
1013
+ publishAt?: string;
1014
+ /**
1015
+ * @description The video's license. @mutable youtube.videos.insert youtube.videos.update
1020
1016
  * @enum {string}
1021
1017
  */
1022
- rejectionReason?: "copyright" | "inappropriate" | "duplicate" | "termsOfUse" | "uploaderAccountSuspended" | "length" | "claim" | "uploaderAccountClosed" | "trademark" | "legal";
1023
- selfDeclaredMadeForKids?: boolean;
1018
+ license?: "youtube" | "creativeCommon"; /** @description This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update */
1019
+ embeddable?: boolean; /** @description This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update */
1020
+ publicStatsViewable?: boolean;
1021
+ madeForKids?: boolean;
1022
+ selfDeclaredMadeForKids?: boolean; /** @description Indicates if the video contains altered or synthetic media. */
1023
+ containsSyntheticMedia?: boolean;
1024
1024
  }; /** @description Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions. */
1025
1025
  VideoSuggestions: {
1026
1026
  /** @description A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed. */processingErrors?: ("audioFile" | "imageFile" | "projectFile" | "notAVideoFile" | "docFile" | "archiveFile" | "unsupportedSpatialAudioLayout")[]; /** @description A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track. */
1027
- processingWarnings?: ("unknownContainer" | "unknownVideoCodec" | "unknownAudioCodec" | "inconsistentResolution" | "hasEditlist" | "problematicVideoCodec" | "problematicAudioCodec" | "unsupportedVrStereoMode" | "unsupportedSphericalProjectionType" | "unsupportedHdrPixelFormat" | "unsupportedHdrColorMetadata" | "problematicHdrLookupTable")[]; /** @description A list of video editing operations that might improve the video quality or playback experience of the uploaded video. */
1028
- editorSuggestions?: ("videoAutoLevels" | "videoStabilize" | "videoCrop" | "audioQuietAudioSwap")[]; /** @description A list of suggestions that may improve YouTube's ability to process the video. */
1027
+ processingWarnings?: ("unknownContainer" | "unknownVideoCodec" | "unknownAudioCodec" | "inconsistentResolution" | "hasEditlist" | "problematicVideoCodec" | "problematicAudioCodec" | "unsupportedVrStereoMode" | "unsupportedSphericalProjectionType" | "unsupportedHdrPixelFormat" | "unsupportedHdrColorMetadata" | "problematicHdrLookupTable")[]; /** @description A list of suggestions that may improve YouTube's ability to process the video. */
1029
1028
  processingHints?: ("nonStreamableMov" | "sendBestQualityVideo" | "sphericalVideo" | "spatialAudio" | "vrVideo" | "hdrVideo")[]; /** @description A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube. */
1030
- tagSuggestions?: components["schemas"]["VideoSuggestionsTagSuggestion"][];
1029
+ tagSuggestions?: components["schemas"]["VideoSuggestionsTagSuggestion"][]; /** @description A list of video editing operations that might improve the video quality or playback experience of the uploaded video. */
1030
+ editorSuggestions?: ("videoAutoLevels" | "videoStabilize" | "videoCrop" | "audioQuietAudioSwap")[];
1031
1031
  }; /** @description A single tag suggestion with its relevance information. */
1032
1032
  VideoSuggestionsTagSuggestion: {
1033
1033
  /** @description The keyword tag suggested for the video. */tag?: string; /** @description A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword. */
1034
1034
  categoryRestricts?: string[];
1035
1035
  }; /** @description Freebase topic information related to the video. */
1036
1036
  VideoTopicDetails: {
1037
- /** @description A list of Wikipedia URLs that provide a high-level description of the video's content. */topicCategories?: string[]; /** @description A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API. */
1038
- topicIds?: string[]; /** @description Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API. */
1039
- relevantTopicIds?: string[];
1037
+ /** @description A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API. */topicIds?: string[]; /** @description Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API. */
1038
+ relevantTopicIds?: string[]; /** @description A list of Wikipedia URLs that provide a high-level description of the video's content. */
1039
+ topicCategories?: string[];
1040
1040
  }; /** @description Branding properties for the watch. All deprecated. */
1041
1041
  WatchSettings: {
1042
1042
  /** @description The background color for the video watch page's branded area. */textColor?: string; /** @description The text color for the video watch page's branded area. */