@bitmovin/api-sdk 1.110.0 → 1.111.0

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.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +246 -3
  3. package/dist/bitmovin-api-sdk.browser.js.map +1 -1
  4. package/dist/bitmovin-api-sdk.browser.min.js +2 -2
  5. package/dist/common/RestClient.js +1 -1
  6. package/dist/encoding/outputs/OutputsApi.d.ts +2 -0
  7. package/dist/encoding/outputs/OutputsApi.js +2 -0
  8. package/dist/encoding/outputs/OutputsApi.js.map +1 -1
  9. package/dist/encoding/outputs/cdn/CdnApi.d.ts +28 -0
  10. package/dist/encoding/outputs/cdn/CdnApi.js +67 -0
  11. package/dist/encoding/outputs/cdn/CdnApi.js.map +1 -0
  12. package/dist/encoding/outputs/cdn/CdnOutputListQueryParams.d.ts +39 -0
  13. package/dist/encoding/outputs/cdn/CdnOutputListQueryParams.js +38 -0
  14. package/dist/encoding/outputs/cdn/CdnOutputListQueryParams.js.map +1 -0
  15. package/dist/models/AccountInformation.d.ts +1 -1
  16. package/dist/models/AccountInformation.js +1 -1
  17. package/dist/models/AccountInformation.js.map +1 -1
  18. package/dist/models/CdnOutput.d.ts +22 -0
  19. package/dist/models/CdnOutput.js +44 -0
  20. package/dist/models/CdnOutput.js.map +1 -0
  21. package/dist/models/Output.d.ts +2 -1
  22. package/dist/models/Output.js +1 -0
  23. package/dist/models/Output.js.map +1 -1
  24. package/dist/models/OutputType.d.ts +2 -1
  25. package/dist/models/OutputType.js +1 -0
  26. package/dist/models/OutputType.js.map +1 -1
  27. package/dist/models/SimpleEncodingVodJobCdnOutput.d.ts +16 -0
  28. package/dist/models/SimpleEncodingVodJobCdnOutput.js +42 -0
  29. package/dist/models/SimpleEncodingVodJobCdnOutput.js.map +1 -0
  30. package/dist/models/SimpleEncodingVodJobOutput.d.ts +2 -1
  31. package/dist/models/SimpleEncodingVodJobOutput.js +2 -1
  32. package/dist/models/SimpleEncodingVodJobOutput.js.map +1 -1
  33. package/dist/models/SimpleEncodingVodJobOutputType.d.ts +2 -1
  34. package/dist/models/SimpleEncodingVodJobOutputType.js +1 -0
  35. package/dist/models/SimpleEncodingVodJobOutputType.js.map +1 -1
  36. package/dist/models/index.d.ts +2 -0
  37. package/dist/models/index.js +2 -0
  38. package/dist/models/index.js.map +1 -1
  39. package/package.json +1 -1
package/README.md CHANGED
@@ -31,7 +31,7 @@ If you have any questions regarding the SDK, provided examples or our services,
31
31
  ## Installation
32
32
 
33
33
  ``` bash
34
- npm install @bitmovin/api-sdk@1.110.0
34
+ npm install @bitmovin/api-sdk@1.111.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -6974,7 +6974,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6974
6974
  var headers = {
6975
6975
  'X-Api-Key': apiKey,
6976
6976
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6977
- 'X-Api-Client-Version': '1.110.0',
6977
+ 'X-Api-Client-Version': '1.111.0',
6978
6978
  'Content-Type': 'application/json'
6979
6979
  };
6980
6980
  if (tenantOrgId) {
@@ -48628,6 +48628,7 @@ var SftpApi_1 = __webpack_require__(/*! ./sftp/SftpApi */ "./encoding/outputs/sf
48628
48628
  var AkamaiMslApi_1 = __webpack_require__(/*! ./akamaiMsl/AkamaiMslApi */ "./encoding/outputs/akamaiMsl/AkamaiMslApi.ts");
48629
48629
  var AkamaiNetstorageApi_1 = __webpack_require__(/*! ./akamaiNetstorage/AkamaiNetstorageApi */ "./encoding/outputs/akamaiNetstorage/AkamaiNetstorageApi.ts");
48630
48630
  var LiveMediaIngestApi_1 = __webpack_require__(/*! ./liveMediaIngest/LiveMediaIngestApi */ "./encoding/outputs/liveMediaIngest/LiveMediaIngestApi.ts");
48631
+ var CdnApi_1 = __webpack_require__(/*! ./cdn/CdnApi */ "./encoding/outputs/cdn/CdnApi.ts");
48631
48632
  var Output_1 = __webpack_require__(/*! ../../models/Output */ "./models/Output.ts");
48632
48633
  var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
48633
48634
  var OutputListQueryParams_1 = __webpack_require__(/*! ./OutputListQueryParams */ "./encoding/outputs/OutputListQueryParams.ts");
@@ -48654,6 +48655,7 @@ var OutputsApi = /** @class */ (function (_super) {
48654
48655
  _this.akamaiMsl = new AkamaiMslApi_1.default(configuration);
48655
48656
  _this.akamaiNetstorage = new AkamaiNetstorageApi_1.default(configuration);
48656
48657
  _this.liveMediaIngest = new LiveMediaIngestApi_1.default(configuration);
48658
+ _this.cdn = new CdnApi_1.default(configuration);
48657
48659
  return _this;
48658
48660
  }
48659
48661
  /**
@@ -49333,6 +49335,133 @@ var CustomdataApi = /** @class */ (function (_super) {
49333
49335
  exports.default = CustomdataApi;
49334
49336
 
49335
49337
 
49338
+ /***/ }),
49339
+
49340
+ /***/ "./encoding/outputs/cdn/CdnApi.ts":
49341
+ /*!****************************************!*\
49342
+ !*** ./encoding/outputs/cdn/CdnApi.ts ***!
49343
+ \****************************************/
49344
+ /*! no static exports found */
49345
+ /***/ (function(module, exports, __webpack_require__) {
49346
+
49347
+ "use strict";
49348
+
49349
+ var __extends = (this && this.__extends) || (function () {
49350
+ var extendStatics = function (d, b) {
49351
+ extendStatics = Object.setPrototypeOf ||
49352
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
49353
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
49354
+ return extendStatics(d, b);
49355
+ };
49356
+ return function (d, b) {
49357
+ extendStatics(d, b);
49358
+ function __() { this.constructor = d; }
49359
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
49360
+ };
49361
+ })();
49362
+ Object.defineProperty(exports, "__esModule", { value: true });
49363
+ var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
49364
+ var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
49365
+ var CdnOutput_1 = __webpack_require__(/*! ../../../models/CdnOutput */ "./models/CdnOutput.ts");
49366
+ var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
49367
+ var CdnOutputListQueryParams_1 = __webpack_require__(/*! ./CdnOutputListQueryParams */ "./encoding/outputs/cdn/CdnOutputListQueryParams.ts");
49368
+ /**
49369
+ * CdnApi - object-oriented interface
49370
+ * @export
49371
+ * @class CdnApi
49372
+ * @extends {BaseAPI}
49373
+ */
49374
+ var CdnApi = /** @class */ (function (_super) {
49375
+ __extends(CdnApi, _super);
49376
+ function CdnApi(configuration) {
49377
+ return _super.call(this, configuration) || this;
49378
+ }
49379
+ /**
49380
+ * @summary CDN Output Details
49381
+ * @param {string} outputId Id of the output
49382
+ * @throws {BitmovinError}
49383
+ * @memberof CdnApi
49384
+ */
49385
+ CdnApi.prototype.get = function (outputId) {
49386
+ var pathParamMap = {
49387
+ output_id: outputId
49388
+ };
49389
+ return this.restClient.get('/encoding/outputs/cdn/{output_id}', pathParamMap).then(function (response) {
49390
+ return Mapper_1.map(response, CdnOutput_1.default);
49391
+ });
49392
+ };
49393
+ /**
49394
+ * @summary List CDN Outputs
49395
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
49396
+ * @throws {BitmovinError}
49397
+ * @memberof CdnApi
49398
+ */
49399
+ CdnApi.prototype.list = function (queryParameters) {
49400
+ var queryParams = {};
49401
+ if (typeof queryParameters === 'function') {
49402
+ queryParams = queryParameters(new CdnOutputListQueryParams_1.CdnOutputListQueryParamsBuilder()).buildQueryParams();
49403
+ }
49404
+ else if (queryParameters) {
49405
+ queryParams = queryParameters;
49406
+ }
49407
+ return this.restClient.get('/encoding/outputs/cdn', {}, queryParams).then(function (response) {
49408
+ return new PaginationResponse_1.default(response, CdnOutput_1.default);
49409
+ });
49410
+ };
49411
+ return CdnApi;
49412
+ }(BaseAPI_1.BaseAPI));
49413
+ exports.default = CdnApi;
49414
+
49415
+
49416
+ /***/ }),
49417
+
49418
+ /***/ "./encoding/outputs/cdn/CdnOutputListQueryParams.ts":
49419
+ /*!**********************************************************!*\
49420
+ !*** ./encoding/outputs/cdn/CdnOutputListQueryParams.ts ***!
49421
+ \**********************************************************/
49422
+ /*! no static exports found */
49423
+ /***/ (function(module, exports, __webpack_require__) {
49424
+
49425
+ "use strict";
49426
+
49427
+ Object.defineProperty(exports, "__esModule", { value: true });
49428
+ exports.CdnOutputListQueryParamsBuilder = void 0;
49429
+ var CdnOutputListQueryParamsBuilder = /** @class */ (function () {
49430
+ function CdnOutputListQueryParamsBuilder() {
49431
+ this.internalParams = {};
49432
+ }
49433
+ /**
49434
+ *
49435
+ * @param offset Index of the first item to return, starting at 0. Default is 0
49436
+ */
49437
+ CdnOutputListQueryParamsBuilder.prototype.offset = function (offset) {
49438
+ this.internalParams.offset = offset;
49439
+ return this;
49440
+ };
49441
+ /**
49442
+ *
49443
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
49444
+ */
49445
+ CdnOutputListQueryParamsBuilder.prototype.limit = function (limit) {
49446
+ this.internalParams.limit = limit;
49447
+ return this;
49448
+ };
49449
+ /**
49450
+ *
49451
+ * @param name Filter output by name
49452
+ */
49453
+ CdnOutputListQueryParamsBuilder.prototype.name = function (name) {
49454
+ this.internalParams.name = name;
49455
+ return this;
49456
+ };
49457
+ CdnOutputListQueryParamsBuilder.prototype.buildQueryParams = function () {
49458
+ return this.internalParams;
49459
+ };
49460
+ return CdnOutputListQueryParamsBuilder;
49461
+ }());
49462
+ exports.CdnOutputListQueryParamsBuilder = CdnOutputListQueryParamsBuilder;
49463
+
49464
+
49336
49465
  /***/ }),
49337
49466
 
49338
49467
  /***/ "./encoding/outputs/ftp/FtpApi.ts":
@@ -53965,7 +54094,7 @@ var AccountInformation = /** @class */ (function (_super) {
53965
54094
  _this.lastName = Mapper_1.map(obj.lastName);
53966
54095
  _this.phone = Mapper_1.map(obj.phone);
53967
54096
  _this.company = Mapper_1.map(obj.company);
53968
- _this.isVerified = Mapper_1.map(obj.isVerified);
54097
+ _this.verified = Mapper_1.map(obj.verified);
53969
54098
  return _this;
53970
54099
  }
53971
54100
  return AccountInformation;
@@ -61772,6 +61901,61 @@ var CaptionCharacterEncoding;
61772
61901
  exports.default = CaptionCharacterEncoding;
61773
61902
 
61774
61903
 
61904
+ /***/ }),
61905
+
61906
+ /***/ "./models/CdnOutput.ts":
61907
+ /*!*****************************!*\
61908
+ !*** ./models/CdnOutput.ts ***!
61909
+ \*****************************/
61910
+ /*! no static exports found */
61911
+ /***/ (function(module, exports, __webpack_require__) {
61912
+
61913
+ "use strict";
61914
+
61915
+ var __extends = (this && this.__extends) || (function () {
61916
+ var extendStatics = function (d, b) {
61917
+ extendStatics = Object.setPrototypeOf ||
61918
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
61919
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
61920
+ return extendStatics(d, b);
61921
+ };
61922
+ return function (d, b) {
61923
+ extendStatics(d, b);
61924
+ function __() { this.constructor = d; }
61925
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
61926
+ };
61927
+ })();
61928
+ Object.defineProperty(exports, "__esModule", { value: true });
61929
+ exports.CdnOutput = void 0;
61930
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
61931
+ var Output_1 = __webpack_require__(/*! ./Output */ "./models/Output.ts");
61932
+ var OutputType_1 = __webpack_require__(/*! ./OutputType */ "./models/OutputType.ts");
61933
+ /**
61934
+ * @export
61935
+ * @class CdnOutput
61936
+ */
61937
+ var CdnOutput = /** @class */ (function (_super) {
61938
+ __extends(CdnOutput, _super);
61939
+ function CdnOutput(obj) {
61940
+ var _this = _super.call(this, obj) || this;
61941
+ /**
61942
+ * Discriminator property for Output
61943
+ * @type {string}
61944
+ * @memberof CdnOutput
61945
+ */
61946
+ _this.type = OutputType_1.default.CDN;
61947
+ if (!obj) {
61948
+ return _this;
61949
+ }
61950
+ _this.domainName = Mapper_1.map(obj.domainName);
61951
+ return _this;
61952
+ }
61953
+ return CdnOutput;
61954
+ }(Output_1.default));
61955
+ exports.CdnOutput = CdnOutput;
61956
+ exports.default = CdnOutput;
61957
+
61958
+
61775
61959
  /***/ }),
61776
61960
 
61777
61961
  /***/ "./models/Cea608708SubtitleConfiguration.ts":
@@ -75095,6 +75279,7 @@ var Output = /** @class */ (function (_super) {
75095
75279
  Output._discriminatorMapping = {
75096
75280
  AKAMAI_NETSTORAGE: 'AkamaiNetStorageOutput',
75097
75281
  AZURE: 'AzureOutput',
75282
+ CDN: 'CdnOutput',
75098
75283
  GENERIC_S3: 'GenericS3Output',
75099
75284
  GCS: 'GcsOutput',
75100
75285
  FTP: 'FtpOutput',
@@ -75143,6 +75328,7 @@ var OutputType;
75143
75328
  OutputType["AKAMAI_MSL"] = "AKAMAI_MSL";
75144
75329
  OutputType["LIVE_MEDIA_INGEST"] = "LIVE_MEDIA_INGEST";
75145
75330
  OutputType["GCS_SERVICE_ACCOUNT"] = "GCS_SERVICE_ACCOUNT";
75331
+ OutputType["CDN"] = "CDN";
75146
75332
  })(OutputType = exports.OutputType || (exports.OutputType = {}));
75147
75333
  exports.default = OutputType;
75148
75334
 
@@ -79411,6 +79597,59 @@ exports.SimpleEncodingVodJobAzureCredentials = SimpleEncodingVodJobAzureCredenti
79411
79597
  exports.default = SimpleEncodingVodJobAzureCredentials;
79412
79598
 
79413
79599
 
79600
+ /***/ }),
79601
+
79602
+ /***/ "./models/SimpleEncodingVodJobCdnOutput.ts":
79603
+ /*!*************************************************!*\
79604
+ !*** ./models/SimpleEncodingVodJobCdnOutput.ts ***!
79605
+ \*************************************************/
79606
+ /*! no static exports found */
79607
+ /***/ (function(module, exports, __webpack_require__) {
79608
+
79609
+ "use strict";
79610
+
79611
+ var __extends = (this && this.__extends) || (function () {
79612
+ var extendStatics = function (d, b) {
79613
+ extendStatics = Object.setPrototypeOf ||
79614
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
79615
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
79616
+ return extendStatics(d, b);
79617
+ };
79618
+ return function (d, b) {
79619
+ extendStatics(d, b);
79620
+ function __() { this.constructor = d; }
79621
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
79622
+ };
79623
+ })();
79624
+ Object.defineProperty(exports, "__esModule", { value: true });
79625
+ exports.SimpleEncodingVodJobCdnOutput = void 0;
79626
+ var SimpleEncodingVodJobOutput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts");
79627
+ var SimpleEncodingVodJobOutputType_1 = __webpack_require__(/*! ./SimpleEncodingVodJobOutputType */ "./models/SimpleEncodingVodJobOutputType.ts");
79628
+ /**
79629
+ * @export
79630
+ * @class SimpleEncodingVodJobCdnOutput
79631
+ */
79632
+ var SimpleEncodingVodJobCdnOutput = /** @class */ (function (_super) {
79633
+ __extends(SimpleEncodingVodJobCdnOutput, _super);
79634
+ function SimpleEncodingVodJobCdnOutput(obj) {
79635
+ var _this = _super.call(this, obj) || this;
79636
+ /**
79637
+ * Discriminator property for SimpleEncodingVodJobOutput
79638
+ * @type {string}
79639
+ * @memberof SimpleEncodingVodJobCdnOutput
79640
+ */
79641
+ _this.type = SimpleEncodingVodJobOutputType_1.default.CDN;
79642
+ if (!obj) {
79643
+ return _this;
79644
+ }
79645
+ return _this;
79646
+ }
79647
+ return SimpleEncodingVodJobCdnOutput;
79648
+ }(SimpleEncodingVodJobOutput_1.default));
79649
+ exports.SimpleEncodingVodJobCdnOutput = SimpleEncodingVodJobCdnOutput;
79650
+ exports.default = SimpleEncodingVodJobCdnOutput;
79651
+
79652
+
79414
79653
  /***/ }),
79415
79654
 
79416
79655
  /***/ "./models/SimpleEncodingVodJobCredentials.ts":
@@ -79573,7 +79812,8 @@ var SimpleEncodingVodJobOutput = /** @class */ (function () {
79573
79812
  }
79574
79813
  SimpleEncodingVodJobOutput._discriminatorName = 'type';
79575
79814
  SimpleEncodingVodJobOutput._discriminatorMapping = {
79576
- URL: 'SimpleEncodingVodJobUrlOutput'
79815
+ URL: 'SimpleEncodingVodJobUrlOutput',
79816
+ CDN: 'SimpleEncodingVodJobCdnOutput'
79577
79817
  };
79578
79818
  return SimpleEncodingVodJobOutput;
79579
79819
  }());
@@ -79602,6 +79842,7 @@ exports.SimpleEncodingVodJobOutputType = void 0;
79602
79842
  var SimpleEncodingVodJobOutputType;
79603
79843
  (function (SimpleEncodingVodJobOutputType) {
79604
79844
  SimpleEncodingVodJobOutputType["URL"] = "URL";
79845
+ SimpleEncodingVodJobOutputType["CDN"] = "CDN";
79605
79846
  })(SimpleEncodingVodJobOutputType = exports.SimpleEncodingVodJobOutputType || (exports.SimpleEncodingVodJobOutputType = {}));
79606
79847
  exports.default = SimpleEncodingVodJobOutputType;
79607
79848
 
@@ -85398,6 +85639,7 @@ __exportStar(__webpack_require__(/*! ./BroadcastTsVideoInputStreamConfiguration
85398
85639
  __exportStar(__webpack_require__(/*! ./BurnInSubtitleDvbSub */ "./models/BurnInSubtitleDvbSub.ts"), exports);
85399
85640
  __exportStar(__webpack_require__(/*! ./BurnInSubtitleSrt */ "./models/BurnInSubtitleSrt.ts"), exports);
85400
85641
  __exportStar(__webpack_require__(/*! ./CaptionCharacterEncoding */ "./models/CaptionCharacterEncoding.ts"), exports);
85642
+ __exportStar(__webpack_require__(/*! ./CdnOutput */ "./models/CdnOutput.ts"), exports);
85401
85643
  __exportStar(__webpack_require__(/*! ./Cea608708SubtitleConfiguration */ "./models/Cea608708SubtitleConfiguration.ts"), exports);
85402
85644
  __exportStar(__webpack_require__(/*! ./Cea608CaptionInputStream */ "./models/Cea608CaptionInputStream.ts"), exports);
85403
85645
  __exportStar(__webpack_require__(/*! ./Cea608ChannelType */ "./models/Cea608ChannelType.ts"), exports);
@@ -85837,6 +86079,7 @@ __exportStar(__webpack_require__(/*! ./SimpleEncodingLiveJobUsernamePasswordCred
85837
86079
  __exportStar(__webpack_require__(/*! ./SimpleEncodingLiveMaxResolution */ "./models/SimpleEncodingLiveMaxResolution.ts"), exports);
85838
86080
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobAccessKeyCredentials */ "./models/SimpleEncodingVodJobAccessKeyCredentials.ts"), exports);
85839
86081
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobAzureCredentials */ "./models/SimpleEncodingVodJobAzureCredentials.ts"), exports);
86082
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobCdnOutput */ "./models/SimpleEncodingVodJobCdnOutput.ts"), exports);
85840
86083
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobCredentials */ "./models/SimpleEncodingVodJobCredentials.ts"), exports);
85841
86084
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobErrors */ "./models/SimpleEncodingVodJobErrors.ts"), exports);
85842
86085
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobGcsServiceAccountCredentials */ "./models/SimpleEncodingVodJobGcsServiceAccountCredentials.ts"), exports);