@googleapis/youtube 6.0.0 → 8.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## [8.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/youtube-v8.0.0...youtube-v8.0.1) (2022-12-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **youtube:** update the API ([b725d15](https://github.com/googleapis/google-api-nodejs-client/commit/b725d15ff930d2e5165f6141d334837bf0770a1c))
9
+
10
+ ## [8.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/youtube-v7.0.1...youtube-v8.0.0) (2022-10-28)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * **build:** This release has breaking changes.
16
+
17
+ ### Features
18
+
19
+ * **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
20
+
21
+ ## [7.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/youtube-v7.0.0...youtube-v7.0.1) (2022-09-21)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **youtube:** update the API ([33f7b09](https://github.com/googleapis/google-api-nodejs-client/commit/33f7b09dfb74e6deeaf3e2e2875f8da12d512dd6))
27
+
28
+ ## [7.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/youtube-v6.0.0...youtube-v7.0.0) (2022-08-19)
29
+
30
+
31
+ ### ⚠ BREAKING CHANGES
32
+
33
+ * **youtube:** This release has breaking changes.
34
+
35
+ ### Features
36
+
37
+ * **youtube:** update the API ([959fbf0](https://github.com/googleapis/google-api-nodejs-client/commit/959fbf078adc02bc1bb704b1c1670fde75b52e58))
38
+
3
39
  ## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/youtube-v5.0.0...youtube-v6.0.0) (2022-07-04)
4
40
 
5
41
 
package/build/index.js CHANGED
@@ -12,19 +12,20 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AuthPlus = exports.youtube_v3 = exports.auth = exports.youtube = exports.VERSIONS = void 0;
15
16
  /*! THIS FILE IS AUTO-GENERATED */
16
17
  const googleapis_common_1 = require("googleapis-common");
17
18
  const v3_1 = require("./v3");
18
- exports.youtube_v3 = v3_1.youtube_v3;
19
+ Object.defineProperty(exports, "youtube_v3", { enumerable: true, get: function () { return v3_1.youtube_v3; } });
19
20
  exports.VERSIONS = {
20
21
  v3: v3_1.youtube_v3.Youtube,
21
22
  };
22
23
  function youtube(versionOrOptions) {
23
- return googleapis_common_1.getAPI('youtube', versionOrOptions, exports.VERSIONS, this);
24
+ return (0, googleapis_common_1.getAPI)('youtube', versionOrOptions, exports.VERSIONS, this);
24
25
  }
25
26
  exports.youtube = youtube;
26
27
  const auth = new googleapis_common_1.AuthPlus();
27
28
  exports.auth = auth;
28
29
  var googleapis_common_2 = require("googleapis-common");
29
- exports.AuthPlus = googleapis_common_2.AuthPlus;
30
+ Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAgC;AAiBxB,qBAjBA,eAAU,CAiBA;AAfL,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,eAAU,CAAC,OAAO;CACvB,CAAC;AAIF,SAAgB,OAAO,CAErB,gBAA2C;IAE3C,OAAO,0BAAM,CAAI,SAAS,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAChE,CAAC;AALD,0BAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,uCAAA,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAgC;AAiBxB,2FAjBA,eAAU,OAiBA;AAfL,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,eAAU,CAAC,OAAO;CACvB,CAAC;AAIF,SAAgB,OAAO,CAErB,gBAA2C;IAE3C,OAAO,IAAA,0BAAM,EAAI,SAAS,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAChE,CAAC;AALD,0BAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
package/build/v3.d.ts CHANGED
@@ -2103,6 +2103,10 @@ export declare namespace youtube_v3 {
2103
2103
  * Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts.
2104
2104
  */
2105
2105
  export interface Schema$LiveBroadcastStatistics {
2106
+ /**
2107
+ * 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.
2108
+ */
2109
+ concurrentViewers?: string | null;
2106
2110
  /**
2107
2111
  * The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
2108
2112
  */
@@ -4349,7 +4353,7 @@ export declare namespace youtube_v3 {
4349
4353
  viewCount?: string | null;
4350
4354
  }
4351
4355
  /**
4352
- * Basic details about a video category, such as its localized title. Next Id: 17
4356
+ * Basic details about a video category, such as its localized title. Next Id: 18
4353
4357
  */
4354
4358
  export interface Schema$VideoStatus {
4355
4359
  /**
@@ -6946,7 +6950,11 @@ export declare namespace youtube_v3 {
6946
6950
  * async function main() {
6947
6951
  * const auth = new google.auth.GoogleAuth({
6948
6952
  * // Scopes can be specified either as an array or as a single, space-delimited string.
6949
- * scopes: [],
6953
+ * scopes: [
6954
+ * 'https://www.googleapis.com/auth/youtube',
6955
+ * 'https://www.googleapis.com/auth/youtube.force-ssl',
6956
+ * 'https://www.googleapis.com/auth/youtubepartner',
6957
+ * ],
6950
6958
  * });
6951
6959
  *
6952
6960
  * // Acquire an auth client, and bind it to all future calls
@@ -6964,17 +6972,18 @@ export declare namespace youtube_v3 {
6964
6972
  * // The *part* parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
6965
6973
  * part: 'placeholder-value',
6966
6974
  *
6967
- * 'resource.cueType': 'placeholder-value',
6968
- * // The duration of this cuepoint.
6969
- * 'resource.durationSecs': 'placeholder-value',
6970
- *
6971
- * 'resource.etag': 'placeholder-value',
6972
- * // The identifier for cuepoint resource.
6973
- * 'resource.id': 'placeholder-value',
6974
- * // The time when the cuepoint should be inserted by offset to the broadcast actual start time.
6975
- * 'resource.insertionOffsetTimeMs': 'placeholder-value',
6976
- * // The wall clock time at which the cuepoint should be inserted. Only one of insertion_offset_time_ms and walltime_ms may be set at a time.
6977
- * 'resource.walltimeMs': 'placeholder-value',
6975
+ * // Request body metadata
6976
+ * requestBody: {
6977
+ * // request body parameters
6978
+ * // {
6979
+ * // "cueType": "my_cueType",
6980
+ * // "durationSecs": 0,
6981
+ * // "etag": "my_etag",
6982
+ * // "id": "my_id",
6983
+ * // "insertionOffsetTimeMs": "my_insertionOffsetTimeMs",
6984
+ * // "walltimeMs": "my_walltimeMs"
6985
+ * // }
6986
+ * },
6978
6987
  * });
6979
6988
  * console.log(res.data);
6980
6989
  *
@@ -7320,29 +7329,9 @@ export declare namespace youtube_v3 {
7320
7329
  */
7321
7330
  part?: string[];
7322
7331
  /**
7323
- *
7324
- */
7325
- 'resource.cueType'?: string;
7326
- /**
7327
- * The duration of this cuepoint.
7328
- */
7329
- 'resource.durationSecs'?: number;
7330
- /**
7331
- *
7332
- */
7333
- 'resource.etag'?: string;
7334
- /**
7335
- * The identifier for cuepoint resource.
7336
- */
7337
- 'resource.id'?: string;
7338
- /**
7339
- * The time when the cuepoint should be inserted by offset to the broadcast actual start time.
7340
- */
7341
- 'resource.insertionOffsetTimeMs'?: string;
7342
- /**
7343
- * The wall clock time at which the cuepoint should be inserted. Only one of insertion_offset_time_ms and walltime_ms may be set at a time.
7332
+ * Request body metadata
7344
7333
  */
7345
- 'resource.walltimeMs'?: string;
7334
+ requestBody?: Schema$Cuepoint;
7346
7335
  }
7347
7336
  export interface Params$Resource$Livebroadcasts$List extends StandardParameters {
7348
7337
  /**