@bitmovin/api-sdk 1.117.0 → 1.120.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 (49) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +435 -14
  3. package/dist/bitmovin-api-sdk.browser.js.map +1 -1
  4. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  5. package/dist/common/RestClient.js +1 -1
  6. package/dist/encoding/inputs/InputsApi.d.ts +2 -0
  7. package/dist/encoding/inputs/InputsApi.js +2 -0
  8. package/dist/encoding/inputs/InputsApi.js.map +1 -1
  9. package/dist/encoding/inputs/directFileUpload/DirectFileUploadApi.d.ts +45 -0
  10. package/dist/encoding/inputs/directFileUpload/DirectFileUploadApi.js +98 -0
  11. package/dist/encoding/inputs/directFileUpload/DirectFileUploadApi.js.map +1 -0
  12. package/dist/encoding/inputs/directFileUpload/DirectFileUploadInputListQueryParams.d.ts +39 -0
  13. package/dist/encoding/inputs/directFileUpload/DirectFileUploadInputListQueryParams.js +38 -0
  14. package/dist/encoding/inputs/directFileUpload/DirectFileUploadInputListQueryParams.js.map +1 -0
  15. package/dist/encoding/inputs/directFileUpload/customdata/CustomdataApi.d.ts +19 -0
  16. package/dist/encoding/inputs/directFileUpload/customdata/CustomdataApi.js +49 -0
  17. package/dist/encoding/inputs/directFileUpload/customdata/CustomdataApi.js.map +1 -0
  18. package/dist/models/DirectFileUploadInput.d.ts +22 -0
  19. package/dist/models/DirectFileUploadInput.js +46 -0
  20. package/dist/models/DirectFileUploadInput.js.map +1 -0
  21. package/dist/models/Input.d.ts +2 -1
  22. package/dist/models/Input.js +2 -1
  23. package/dist/models/Input.js.map +1 -1
  24. package/dist/models/InputType.d.ts +2 -1
  25. package/dist/models/InputType.js +1 -0
  26. package/dist/models/InputType.js.map +1 -1
  27. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.d.ts +35 -0
  28. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.js +48 -0
  29. package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.js.map +1 -0
  30. package/dist/models/SimpleEncodingVodJobInput.d.ts +16 -0
  31. package/dist/models/SimpleEncodingVodJobInput.js +23 -0
  32. package/dist/models/SimpleEncodingVodJobInput.js.map +1 -0
  33. package/dist/models/SimpleEncodingVodJobInputSourceType.d.ts +10 -0
  34. package/dist/models/SimpleEncodingVodJobInputSourceType.js +15 -0
  35. package/dist/models/SimpleEncodingVodJobInputSourceType.js.map +1 -0
  36. package/dist/models/SimpleEncodingVodJobRequest.d.ts +3 -3
  37. package/dist/models/SimpleEncodingVodJobRequest.js +2 -2
  38. package/dist/models/SimpleEncodingVodJobRequest.js.map +1 -1
  39. package/dist/models/SimpleEncodingVodJobResponse.d.ts +3 -3
  40. package/dist/models/SimpleEncodingVodJobResponse.js +2 -2
  41. package/dist/models/SimpleEncodingVodJobResponse.js.map +1 -1
  42. package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +9 -1
  43. package/dist/models/SimpleEncodingVodJobUrlInput.js +33 -7
  44. package/dist/models/SimpleEncodingVodJobUrlInput.js.map +1 -1
  45. package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +1 -1
  46. package/dist/models/index.d.ts +4 -0
  47. package/dist/models/index.js +4 -0
  48. package/dist/models/index.js.map +1 -1
  49. 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.117.0
34
+ npm install @bitmovin/api-sdk@1.120.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -5985,7 +5985,7 @@ var HeaderHandler = /** @class */ (function (_super) {
5985
5985
  var headers = {
5986
5986
  'X-Api-Key': apiKey,
5987
5987
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
5988
- 'X-Api-Client-Version': '1.117.0',
5988
+ 'X-Api-Client-Version': '1.120.0',
5989
5989
  'Content-Type': 'application/json'
5990
5990
  };
5991
5991
  if (tenantOrgId) {
@@ -36391,6 +36391,7 @@ var AsperaApi_1 = __webpack_require__(/*! ./aspera/AsperaApi */ "./encoding/inpu
36391
36391
  var AkamaiNetstorageApi_1 = __webpack_require__(/*! ./akamaiNetstorage/AkamaiNetstorageApi */ "./encoding/inputs/akamaiNetstorage/AkamaiNetstorageApi.ts");
36392
36392
  var SrtApi_1 = __webpack_require__(/*! ./srt/SrtApi */ "./encoding/inputs/srt/SrtApi.ts");
36393
36393
  var ZixiApi_1 = __webpack_require__(/*! ./zixi/ZixiApi */ "./encoding/inputs/zixi/ZixiApi.ts");
36394
+ var DirectFileUploadApi_1 = __webpack_require__(/*! ./directFileUpload/DirectFileUploadApi */ "./encoding/inputs/directFileUpload/DirectFileUploadApi.ts");
36394
36395
  var Input_1 = __webpack_require__(/*! ../../models/Input */ "./models/Input.ts");
36395
36396
  var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
36396
36397
  var InputListQueryParams_1 = __webpack_require__(/*! ./InputListQueryParams */ "./encoding/inputs/InputListQueryParams.ts");
@@ -36422,6 +36423,7 @@ var InputsApi = /** @class */ (function (_super) {
36422
36423
  _this.akamaiNetstorage = new AkamaiNetstorageApi_1.default(configuration);
36423
36424
  _this.srt = new SrtApi_1.default(configuration);
36424
36425
  _this.zixi = new ZixiApi_1.default(configuration);
36426
+ _this.directFileUpload = new DirectFileUploadApi_1.default(configuration);
36425
36427
  return _this;
36426
36428
  }
36427
36429
  /**
@@ -37103,6 +37105,221 @@ var CustomdataApi = /** @class */ (function (_super) {
37103
37105
  exports["default"] = CustomdataApi;
37104
37106
 
37105
37107
 
37108
+ /***/ }),
37109
+
37110
+ /***/ "./encoding/inputs/directFileUpload/DirectFileUploadApi.ts":
37111
+ /*!*****************************************************************!*\
37112
+ !*** ./encoding/inputs/directFileUpload/DirectFileUploadApi.ts ***!
37113
+ \*****************************************************************/
37114
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
37115
+
37116
+ "use strict";
37117
+
37118
+ var __extends = (this && this.__extends) || (function () {
37119
+ var extendStatics = function (d, b) {
37120
+ extendStatics = Object.setPrototypeOf ||
37121
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
37122
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
37123
+ return extendStatics(d, b);
37124
+ };
37125
+ return function (d, b) {
37126
+ if (typeof b !== "function" && b !== null)
37127
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
37128
+ extendStatics(d, b);
37129
+ function __() { this.constructor = d; }
37130
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
37131
+ };
37132
+ })();
37133
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
37134
+ var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
37135
+ var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
37136
+ var CustomdataApi_1 = __webpack_require__(/*! ./customdata/CustomdataApi */ "./encoding/inputs/directFileUpload/customdata/CustomdataApi.ts");
37137
+ var BitmovinResponse_1 = __webpack_require__(/*! ../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
37138
+ var DirectFileUploadInput_1 = __webpack_require__(/*! ../../../models/DirectFileUploadInput */ "./models/DirectFileUploadInput.ts");
37139
+ var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
37140
+ var DirectFileUploadInputListQueryParams_1 = __webpack_require__(/*! ./DirectFileUploadInputListQueryParams */ "./encoding/inputs/directFileUpload/DirectFileUploadInputListQueryParams.ts");
37141
+ /**
37142
+ * DirectFileUploadApi - object-oriented interface
37143
+ * @export
37144
+ * @class DirectFileUploadApi
37145
+ * @extends {BaseAPI}
37146
+ */
37147
+ var DirectFileUploadApi = /** @class */ (function (_super) {
37148
+ __extends(DirectFileUploadApi, _super);
37149
+ function DirectFileUploadApi(configuration) {
37150
+ var _this = _super.call(this, configuration) || this;
37151
+ _this.customdata = new CustomdataApi_1.default(configuration);
37152
+ return _this;
37153
+ }
37154
+ /**
37155
+ * @summary Create Direct File Upload Input
37156
+ * @param {DirectFileUploadInput} directFileUploadInput The Direct File Upload input to be created
37157
+ * @throws {BitmovinError}
37158
+ * @memberof DirectFileUploadApi
37159
+ */
37160
+ DirectFileUploadApi.prototype.create = function (directFileUploadInput) {
37161
+ return this.restClient.post('/encoding/inputs/direct-file-upload', {}, directFileUploadInput).then(function (response) {
37162
+ return (0, Mapper_1.map)(response, DirectFileUploadInput_1.default);
37163
+ });
37164
+ };
37165
+ /**
37166
+ * @summary Delete Direct File Upload Input
37167
+ * @param {string} inputId Id of the input
37168
+ * @throws {BitmovinError}
37169
+ * @memberof DirectFileUploadApi
37170
+ */
37171
+ DirectFileUploadApi.prototype.delete = function (inputId) {
37172
+ var pathParamMap = {
37173
+ input_id: inputId
37174
+ };
37175
+ return this.restClient.delete('/encoding/inputs/direct-file-upload/{input_id}', pathParamMap).then(function (response) {
37176
+ return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
37177
+ });
37178
+ };
37179
+ /**
37180
+ * @summary Direct File Upload Input Details
37181
+ * @param {string} inputId Id of the input
37182
+ * @throws {BitmovinError}
37183
+ * @memberof DirectFileUploadApi
37184
+ */
37185
+ DirectFileUploadApi.prototype.get = function (inputId) {
37186
+ var pathParamMap = {
37187
+ input_id: inputId
37188
+ };
37189
+ return this.restClient.get('/encoding/inputs/direct-file-upload/{input_id}', pathParamMap).then(function (response) {
37190
+ return (0, Mapper_1.map)(response, DirectFileUploadInput_1.default);
37191
+ });
37192
+ };
37193
+ /**
37194
+ * @summary List Direct File Upload Inputs
37195
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
37196
+ * @throws {BitmovinError}
37197
+ * @memberof DirectFileUploadApi
37198
+ */
37199
+ DirectFileUploadApi.prototype.list = function (queryParameters) {
37200
+ var queryParams = {};
37201
+ if (typeof queryParameters === 'function') {
37202
+ queryParams = queryParameters(new DirectFileUploadInputListQueryParams_1.DirectFileUploadInputListQueryParamsBuilder()).buildQueryParams();
37203
+ }
37204
+ else if (queryParameters) {
37205
+ queryParams = queryParameters;
37206
+ }
37207
+ return this.restClient.get('/encoding/inputs/direct-file-upload', {}, queryParams).then(function (response) {
37208
+ return new PaginationResponse_1.default(response, DirectFileUploadInput_1.default);
37209
+ });
37210
+ };
37211
+ return DirectFileUploadApi;
37212
+ }(BaseAPI_1.BaseAPI));
37213
+ exports["default"] = DirectFileUploadApi;
37214
+
37215
+
37216
+ /***/ }),
37217
+
37218
+ /***/ "./encoding/inputs/directFileUpload/DirectFileUploadInputListQueryParams.ts":
37219
+ /*!**********************************************************************************!*\
37220
+ !*** ./encoding/inputs/directFileUpload/DirectFileUploadInputListQueryParams.ts ***!
37221
+ \**********************************************************************************/
37222
+ /***/ ((__unused_webpack_module, exports) => {
37223
+
37224
+ "use strict";
37225
+
37226
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
37227
+ exports.DirectFileUploadInputListQueryParamsBuilder = void 0;
37228
+ var DirectFileUploadInputListQueryParamsBuilder = /** @class */ (function () {
37229
+ function DirectFileUploadInputListQueryParamsBuilder() {
37230
+ this.internalParams = {};
37231
+ }
37232
+ /**
37233
+ *
37234
+ * @param offset Index of the first item to return, starting at 0. Default is 0
37235
+ */
37236
+ DirectFileUploadInputListQueryParamsBuilder.prototype.offset = function (offset) {
37237
+ this.internalParams.offset = offset;
37238
+ return this;
37239
+ };
37240
+ /**
37241
+ *
37242
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
37243
+ */
37244
+ DirectFileUploadInputListQueryParamsBuilder.prototype.limit = function (limit) {
37245
+ this.internalParams.limit = limit;
37246
+ return this;
37247
+ };
37248
+ /**
37249
+ *
37250
+ * @param name Filter inputs by name
37251
+ */
37252
+ DirectFileUploadInputListQueryParamsBuilder.prototype.name = function (name) {
37253
+ this.internalParams.name = name;
37254
+ return this;
37255
+ };
37256
+ DirectFileUploadInputListQueryParamsBuilder.prototype.buildQueryParams = function () {
37257
+ return this.internalParams;
37258
+ };
37259
+ return DirectFileUploadInputListQueryParamsBuilder;
37260
+ }());
37261
+ exports.DirectFileUploadInputListQueryParamsBuilder = DirectFileUploadInputListQueryParamsBuilder;
37262
+
37263
+
37264
+ /***/ }),
37265
+
37266
+ /***/ "./encoding/inputs/directFileUpload/customdata/CustomdataApi.ts":
37267
+ /*!**********************************************************************!*\
37268
+ !*** ./encoding/inputs/directFileUpload/customdata/CustomdataApi.ts ***!
37269
+ \**********************************************************************/
37270
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
37271
+
37272
+ "use strict";
37273
+
37274
+ var __extends = (this && this.__extends) || (function () {
37275
+ var extendStatics = function (d, b) {
37276
+ extendStatics = Object.setPrototypeOf ||
37277
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
37278
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
37279
+ return extendStatics(d, b);
37280
+ };
37281
+ return function (d, b) {
37282
+ if (typeof b !== "function" && b !== null)
37283
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
37284
+ extendStatics(d, b);
37285
+ function __() { this.constructor = d; }
37286
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
37287
+ };
37288
+ })();
37289
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
37290
+ var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
37291
+ var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
37292
+ var CustomData_1 = __webpack_require__(/*! ../../../../models/CustomData */ "./models/CustomData.ts");
37293
+ /**
37294
+ * CustomdataApi - object-oriented interface
37295
+ * @export
37296
+ * @class CustomdataApi
37297
+ * @extends {BaseAPI}
37298
+ */
37299
+ var CustomdataApi = /** @class */ (function (_super) {
37300
+ __extends(CustomdataApi, _super);
37301
+ function CustomdataApi(configuration) {
37302
+ return _super.call(this, configuration) || this;
37303
+ }
37304
+ /**
37305
+ * @summary Direct File Upload Custom Data
37306
+ * @param {string} inputId Id of the input
37307
+ * @throws {BitmovinError}
37308
+ * @memberof CustomdataApi
37309
+ */
37310
+ CustomdataApi.prototype.get = function (inputId) {
37311
+ var pathParamMap = {
37312
+ input_id: inputId
37313
+ };
37314
+ return this.restClient.get('/encoding/inputs/direct-file-upload/{input_id}/customData', pathParamMap).then(function (response) {
37315
+ return (0, Mapper_1.map)(response, CustomData_1.default);
37316
+ });
37317
+ };
37318
+ return CustomdataApi;
37319
+ }(BaseAPI_1.BaseAPI));
37320
+ exports["default"] = CustomdataApi;
37321
+
37322
+
37106
37323
  /***/ }),
37107
37324
 
37108
37325
  /***/ "./encoding/inputs/ftp/FtpApi.ts":
@@ -64200,6 +64417,62 @@ exports.DenoiseHqdn3dFilter = DenoiseHqdn3dFilter;
64200
64417
  exports["default"] = DenoiseHqdn3dFilter;
64201
64418
 
64202
64419
 
64420
+ /***/ }),
64421
+
64422
+ /***/ "./models/DirectFileUploadInput.ts":
64423
+ /*!*****************************************!*\
64424
+ !*** ./models/DirectFileUploadInput.ts ***!
64425
+ \*****************************************/
64426
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
64427
+
64428
+ "use strict";
64429
+
64430
+ var __extends = (this && this.__extends) || (function () {
64431
+ var extendStatics = function (d, b) {
64432
+ extendStatics = Object.setPrototypeOf ||
64433
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
64434
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
64435
+ return extendStatics(d, b);
64436
+ };
64437
+ return function (d, b) {
64438
+ if (typeof b !== "function" && b !== null)
64439
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
64440
+ extendStatics(d, b);
64441
+ function __() { this.constructor = d; }
64442
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
64443
+ };
64444
+ })();
64445
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
64446
+ exports.DirectFileUploadInput = void 0;
64447
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
64448
+ var Input_1 = __webpack_require__(/*! ./Input */ "./models/Input.ts");
64449
+ var InputType_1 = __webpack_require__(/*! ./InputType */ "./models/InputType.ts");
64450
+ /**
64451
+ * @export
64452
+ * @class DirectFileUploadInput
64453
+ */
64454
+ var DirectFileUploadInput = /** @class */ (function (_super) {
64455
+ __extends(DirectFileUploadInput, _super);
64456
+ function DirectFileUploadInput(obj) {
64457
+ var _this = _super.call(this, obj) || this;
64458
+ /**
64459
+ * Discriminator property for Input
64460
+ * @type {string}
64461
+ * @memberof DirectFileUploadInput
64462
+ */
64463
+ _this.type = InputType_1.default.DIRECT_FILE_UPLOAD;
64464
+ if (!obj) {
64465
+ return _this;
64466
+ }
64467
+ _this.uploadUrl = (0, Mapper_1.map)(obj.uploadUrl);
64468
+ return _this;
64469
+ }
64470
+ return DirectFileUploadInput;
64471
+ }(Input_1.default));
64472
+ exports.DirectFileUploadInput = DirectFileUploadInput;
64473
+ exports["default"] = DirectFileUploadInput;
64474
+
64475
+
64203
64476
  /***/ }),
64204
64477
 
64205
64478
  /***/ "./models/DisplayAspectRatio.ts":
@@ -70693,7 +70966,8 @@ var Input = /** @class */ (function (_super) {
70693
70966
  SFTP: 'SftpInput',
70694
70967
  ZIXI: 'ZixiInput',
70695
70968
  SRT: 'SrtInput',
70696
- GCS_SERVICE_ACCOUNT: 'GcsServiceAccountInput'
70969
+ GCS_SERVICE_ACCOUNT: 'GcsServiceAccountInput',
70970
+ DIRECT_FILE_UPLOAD: 'DirectFileUploadInput'
70697
70971
  };
70698
70972
  return Input;
70699
70973
  }(BitmovinResource_1.default));
@@ -71053,6 +71327,7 @@ var InputType;
71053
71327
  InputType["ZIXI"] = "ZIXI";
71054
71328
  InputType["SRT"] = "SRT";
71055
71329
  InputType["GCS_SERVICE_ACCOUNT"] = "GCS_SERVICE_ACCOUNT";
71330
+ InputType["DIRECT_FILE_UPLOAD"] = "DIRECT_FILE_UPLOAD";
71056
71331
  })(InputType = exports.InputType || (exports.InputType = {}));
71057
71332
  exports["default"] = InputType;
71058
71333
 
@@ -78632,6 +78907,64 @@ exports.SimpleEncodingVodJobCredentials = SimpleEncodingVodJobCredentials;
78632
78907
  exports["default"] = SimpleEncodingVodJobCredentials;
78633
78908
 
78634
78909
 
78910
+ /***/ }),
78911
+
78912
+ /***/ "./models/SimpleEncodingVodJobDirectFileUploadInput.ts":
78913
+ /*!*************************************************************!*\
78914
+ !*** ./models/SimpleEncodingVodJobDirectFileUploadInput.ts ***!
78915
+ \*************************************************************/
78916
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
78917
+
78918
+ "use strict";
78919
+
78920
+ var __extends = (this && this.__extends) || (function () {
78921
+ var extendStatics = function (d, b) {
78922
+ extendStatics = Object.setPrototypeOf ||
78923
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
78924
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
78925
+ return extendStatics(d, b);
78926
+ };
78927
+ return function (d, b) {
78928
+ if (typeof b !== "function" && b !== null)
78929
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
78930
+ extendStatics(d, b);
78931
+ function __() { this.constructor = d; }
78932
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
78933
+ };
78934
+ })();
78935
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
78936
+ exports.SimpleEncodingVodJobDirectFileUploadInput = void 0;
78937
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78938
+ var SimpleEncodingVodJobInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts");
78939
+ var SimpleEncodingVodJobInputSourceType_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInputSourceType */ "./models/SimpleEncodingVodJobInputSourceType.ts");
78940
+ /**
78941
+ * @export
78942
+ * @class SimpleEncodingVodJobDirectFileUploadInput
78943
+ */
78944
+ var SimpleEncodingVodJobDirectFileUploadInput = /** @class */ (function (_super) {
78945
+ __extends(SimpleEncodingVodJobDirectFileUploadInput, _super);
78946
+ function SimpleEncodingVodJobDirectFileUploadInput(obj) {
78947
+ var _this = _super.call(this, obj) || this;
78948
+ /**
78949
+ * Discriminator property for SimpleEncodingVodJobInput
78950
+ * @type {string}
78951
+ * @memberof SimpleEncodingVodJobDirectFileUploadInput
78952
+ */
78953
+ _this.type = SimpleEncodingVodJobInputSourceType_1.default.DIRECT_FILE_UPLOAD;
78954
+ if (!obj) {
78955
+ return _this;
78956
+ }
78957
+ _this.inputId = (0, Mapper_1.map)(obj.inputId);
78958
+ _this.inputType = (0, Mapper_1.map)(obj.inputType);
78959
+ _this.language = (0, Mapper_1.map)(obj.language);
78960
+ return _this;
78961
+ }
78962
+ return SimpleEncodingVodJobDirectFileUploadInput;
78963
+ }(SimpleEncodingVodJobInput_1.default));
78964
+ exports.SimpleEncodingVodJobDirectFileUploadInput = SimpleEncodingVodJobDirectFileUploadInput;
78965
+ exports["default"] = SimpleEncodingVodJobDirectFileUploadInput;
78966
+
78967
+
78635
78968
  /***/ }),
78636
78969
 
78637
78970
  /***/ "./models/SimpleEncodingVodJobErrors.ts":
@@ -78713,6 +79046,64 @@ exports.SimpleEncodingVodJobGcsServiceAccountCredentials = SimpleEncodingVodJobG
78713
79046
  exports["default"] = SimpleEncodingVodJobGcsServiceAccountCredentials;
78714
79047
 
78715
79048
 
79049
+ /***/ }),
79050
+
79051
+ /***/ "./models/SimpleEncodingVodJobInput.ts":
79052
+ /*!*********************************************!*\
79053
+ !*** ./models/SimpleEncodingVodJobInput.ts ***!
79054
+ \*********************************************/
79055
+ /***/ ((__unused_webpack_module, exports) => {
79056
+
79057
+ "use strict";
79058
+
79059
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
79060
+ exports.SimpleEncodingVodJobInput = void 0;
79061
+ /**
79062
+ * @export
79063
+ * @class SimpleEncodingVodJobInput
79064
+ */
79065
+ var SimpleEncodingVodJobInput = /** @class */ (function () {
79066
+ function SimpleEncodingVodJobInput(obj) {
79067
+ if (!obj) {
79068
+ return;
79069
+ }
79070
+ }
79071
+ SimpleEncodingVodJobInput._discriminatorName = 'type';
79072
+ SimpleEncodingVodJobInput._discriminatorMapping = {
79073
+ URL: 'SimpleEncodingVodJobUrlInput',
79074
+ DIRECT_FILE_UPLOAD: 'SimpleEncodingVodJobDirectFileUploadInput'
79075
+ };
79076
+ return SimpleEncodingVodJobInput;
79077
+ }());
79078
+ exports.SimpleEncodingVodJobInput = SimpleEncodingVodJobInput;
79079
+ exports["default"] = SimpleEncodingVodJobInput;
79080
+
79081
+
79082
+ /***/ }),
79083
+
79084
+ /***/ "./models/SimpleEncodingVodJobInputSourceType.ts":
79085
+ /*!*******************************************************!*\
79086
+ !*** ./models/SimpleEncodingVodJobInputSourceType.ts ***!
79087
+ \*******************************************************/
79088
+ /***/ ((__unused_webpack_module, exports) => {
79089
+
79090
+ "use strict";
79091
+
79092
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
79093
+ exports.SimpleEncodingVodJobInputSourceType = void 0;
79094
+ /**
79095
+ * Input source type
79096
+ * @export
79097
+ * @enum {string}
79098
+ */
79099
+ var SimpleEncodingVodJobInputSourceType;
79100
+ (function (SimpleEncodingVodJobInputSourceType) {
79101
+ SimpleEncodingVodJobInputSourceType["URL"] = "URL";
79102
+ SimpleEncodingVodJobInputSourceType["DIRECT_FILE_UPLOAD"] = "DIRECT_FILE_UPLOAD";
79103
+ })(SimpleEncodingVodJobInputSourceType = exports.SimpleEncodingVodJobInputSourceType || (exports.SimpleEncodingVodJobInputSourceType = {}));
79104
+ exports["default"] = SimpleEncodingVodJobInputSourceType;
79105
+
79106
+
78716
79107
  /***/ }),
78717
79108
 
78718
79109
  /***/ "./models/SimpleEncodingVodJobInputType.ts":
@@ -78810,8 +79201,8 @@ exports["default"] = SimpleEncodingVodJobOutputType;
78810
79201
  Object.defineProperty(exports, "__esModule", ({ value: true }));
78811
79202
  exports.SimpleEncodingVodJobRequest = void 0;
78812
79203
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
79204
+ var SimpleEncodingVodJobInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts");
78813
79205
  var SimpleEncodingVodJobOutput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts");
78814
- var SimpleEncodingVodJobUrlInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobUrlInput */ "./models/SimpleEncodingVodJobUrlInput.ts");
78815
79206
  /**
78816
79207
  * @export
78817
79208
  * @class SimpleEncodingVodJobRequest
@@ -78822,7 +79213,7 @@ var SimpleEncodingVodJobRequest = /** @class */ (function () {
78822
79213
  return;
78823
79214
  }
78824
79215
  this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
78825
- this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
79216
+ this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
78826
79217
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
78827
79218
  this.name = (0, Mapper_1.map)(obj.name);
78828
79219
  }
@@ -78846,8 +79237,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
78846
79237
  exports.SimpleEncodingVodJobResponse = void 0;
78847
79238
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78848
79239
  var SimpleEncodingVodJobErrors_1 = __webpack_require__(/*! ./SimpleEncodingVodJobErrors */ "./models/SimpleEncodingVodJobErrors.ts");
79240
+ var SimpleEncodingVodJobInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts");
78849
79241
  var SimpleEncodingVodJobOutput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts");
78850
- var SimpleEncodingVodJobUrlInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobUrlInput */ "./models/SimpleEncodingVodJobUrlInput.ts");
78851
79242
  /**
78852
79243
  * @export
78853
79244
  * @class SimpleEncodingVodJobResponse
@@ -78861,7 +79252,7 @@ var SimpleEncodingVodJobResponse = /** @class */ (function () {
78861
79252
  this.status = (0, Mapper_1.map)(obj.status);
78862
79253
  this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
78863
79254
  this.encodingId = (0, Mapper_1.map)(obj.encodingId);
78864
- this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
79255
+ this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
78865
79256
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
78866
79257
  this.errors = (0, Mapper_1.mapArray)(obj.errors, SimpleEncodingVodJobErrors_1.default);
78867
79258
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
@@ -78959,30 +79350,56 @@ exports["default"] = SimpleEncodingVodJobStatus;
78959
79350
  /*!************************************************!*\
78960
79351
  !*** ./models/SimpleEncodingVodJobUrlInput.ts ***!
78961
79352
  \************************************************/
78962
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
79353
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
78963
79354
 
78964
79355
  "use strict";
78965
79356
 
79357
+ var __extends = (this && this.__extends) || (function () {
79358
+ var extendStatics = function (d, b) {
79359
+ extendStatics = Object.setPrototypeOf ||
79360
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
79361
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
79362
+ return extendStatics(d, b);
79363
+ };
79364
+ return function (d, b) {
79365
+ if (typeof b !== "function" && b !== null)
79366
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
79367
+ extendStatics(d, b);
79368
+ function __() { this.constructor = d; }
79369
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
79370
+ };
79371
+ })();
78966
79372
  Object.defineProperty(exports, "__esModule", ({ value: true }));
78967
79373
  exports.SimpleEncodingVodJobUrlInput = void 0;
78968
79374
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78969
79375
  var SimpleEncodingVodJobCredentials_1 = __webpack_require__(/*! ./SimpleEncodingVodJobCredentials */ "./models/SimpleEncodingVodJobCredentials.ts");
79376
+ var SimpleEncodingVodJobInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts");
79377
+ var SimpleEncodingVodJobInputSourceType_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInputSourceType */ "./models/SimpleEncodingVodJobInputSourceType.ts");
78970
79378
  /**
78971
79379
  * @export
78972
79380
  * @class SimpleEncodingVodJobUrlInput
78973
79381
  */
78974
- var SimpleEncodingVodJobUrlInput = /** @class */ (function () {
79382
+ var SimpleEncodingVodJobUrlInput = /** @class */ (function (_super) {
79383
+ __extends(SimpleEncodingVodJobUrlInput, _super);
78975
79384
  function SimpleEncodingVodJobUrlInput(obj) {
79385
+ var _this = _super.call(this, obj) || this;
79386
+ /**
79387
+ * Discriminator property for SimpleEncodingVodJobInput
79388
+ * @type {string}
79389
+ * @memberof SimpleEncodingVodJobUrlInput
79390
+ */
79391
+ _this.type = SimpleEncodingVodJobInputSourceType_1.default.URL;
78976
79392
  if (!obj) {
78977
- return;
79393
+ return _this;
78978
79394
  }
78979
- this.url = (0, Mapper_1.map)(obj.url);
78980
- this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingVodJobCredentials_1.default);
78981
- this.inputType = (0, Mapper_1.map)(obj.inputType);
78982
- this.language = (0, Mapper_1.map)(obj.language);
79395
+ _this.url = (0, Mapper_1.map)(obj.url);
79396
+ _this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingVodJobCredentials_1.default);
79397
+ _this.inputType = (0, Mapper_1.map)(obj.inputType);
79398
+ _this.language = (0, Mapper_1.map)(obj.language);
79399
+ return _this;
78983
79400
  }
78984
79401
  return SimpleEncodingVodJobUrlInput;
78985
- }());
79402
+ }(SimpleEncodingVodJobInput_1.default));
78986
79403
  exports.SimpleEncodingVodJobUrlInput = SimpleEncodingVodJobUrlInput;
78987
79404
  exports["default"] = SimpleEncodingVodJobUrlInput;
78988
79405
 
@@ -84485,6 +84902,7 @@ __exportStar(__webpack_require__(/*! ./DeinterlaceFilter */ "./models/Deinterlac
84485
84902
  __exportStar(__webpack_require__(/*! ./DeinterlaceFrameSelectionMode */ "./models/DeinterlaceFrameSelectionMode.ts"), exports);
84486
84903
  __exportStar(__webpack_require__(/*! ./DeinterlaceMode */ "./models/DeinterlaceMode.ts"), exports);
84487
84904
  __exportStar(__webpack_require__(/*! ./DenoiseHqdn3dFilter */ "./models/DenoiseHqdn3dFilter.ts"), exports);
84905
+ __exportStar(__webpack_require__(/*! ./DirectFileUploadInput */ "./models/DirectFileUploadInput.ts"), exports);
84488
84906
  __exportStar(__webpack_require__(/*! ./DisplayAspectRatio */ "./models/DisplayAspectRatio.ts"), exports);
84489
84907
  __exportStar(__webpack_require__(/*! ./DolbyAtmosAudioConfiguration */ "./models/DolbyAtmosAudioConfiguration.ts"), exports);
84490
84908
  __exportStar(__webpack_require__(/*! ./DolbyAtmosDialogueIntelligence */ "./models/DolbyAtmosDialogueIntelligence.ts"), exports);
@@ -84853,8 +85271,11 @@ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobAccessKeyCredentials
84853
85271
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobAzureCredentials */ "./models/SimpleEncodingVodJobAzureCredentials.ts"), exports);
84854
85272
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobCdnOutput */ "./models/SimpleEncodingVodJobCdnOutput.ts"), exports);
84855
85273
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobCredentials */ "./models/SimpleEncodingVodJobCredentials.ts"), exports);
85274
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobDirectFileUploadInput */ "./models/SimpleEncodingVodJobDirectFileUploadInput.ts"), exports);
84856
85275
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobErrors */ "./models/SimpleEncodingVodJobErrors.ts"), exports);
84857
85276
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobGcsServiceAccountCredentials */ "./models/SimpleEncodingVodJobGcsServiceAccountCredentials.ts"), exports);
85277
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts"), exports);
85278
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputSourceType */ "./models/SimpleEncodingVodJobInputSourceType.ts"), exports);
84858
85279
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputType */ "./models/SimpleEncodingVodJobInputType.ts"), exports);
84859
85280
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts"), exports);
84860
85281
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutputType */ "./models/SimpleEncodingVodJobOutputType.ts"), exports);