@bitmovin/api-sdk 1.270.0 → 1.271.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.
Files changed (23) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +1 -195
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/encodings/EncodingsApi.d.ts +0 -2
  6. package/dist/encoding/encodings/EncodingsApi.js +0 -2
  7. package/dist/encoding/encodings/muxings/fmp4/drm/cenc/CencDrmListQueryParams.d.ts +6 -6
  8. package/dist/encoding/encodings/muxings/fmp4/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  9. package/dist/encoding/encodings/muxings/mp4/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  10. package/dist/encoding/encodings/muxings/progressiveTs/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  11. package/dist/encoding/encodings/muxings/progressiveWebm/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  12. package/dist/encoding/encodings/muxings/ts/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  13. package/dist/encoding/encodings/muxings/webm/drm/cenc/CencDrmListQueryParams.d.ts +6 -6
  14. package/dist/encoding/encodings/muxings/webm/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  15. package/dist/models/index.d.ts +0 -1
  16. package/dist/models/index.js +0 -1
  17. package/package.json +1 -1
  18. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.d.ts +0 -37
  19. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.js +0 -88
  20. package/dist/encoding/encodings/transferRetries/TransferRetryListQueryParams.d.ts +0 -28
  21. package/dist/encoding/encodings/transferRetries/TransferRetryListQueryParams.js +0 -29
  22. package/dist/models/TransferRetry.d.ts +0 -34
  23. package/dist/models/TransferRetry.js +0 -41
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
240
240
  var headers = {
241
241
  'X-Api-Key': apiKey,
242
242
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
243
- 'X-Api-Client-Version': '1.270.0',
243
+ 'X-Api-Client-Version': '1.271.1',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -6,7 +6,6 @@ import StreamsApi from './streams/StreamsApi';
6
6
  import InputStreamsApi from './inputStreams/InputStreamsApi';
7
7
  import MuxingsApi from './muxings/MuxingsApi';
8
8
  import TemplateApi from './template/TemplateApi';
9
- import TransferRetriesApi from './transferRetries/TransferRetriesApi';
10
9
  import OutputPathsApi from './outputPaths/OutputPathsApi';
11
10
  import CaptionsApi from './captions/CaptionsApi';
12
11
  import SidecarsApi from './sidecars/SidecarsApi';
@@ -34,7 +33,6 @@ export default class EncodingsApi extends BaseAPI {
34
33
  inputStreams: InputStreamsApi;
35
34
  muxings: MuxingsApi;
36
35
  template: TemplateApi;
37
- transferRetries: TransferRetriesApi;
38
36
  outputPaths: OutputPathsApi;
39
37
  captions: CaptionsApi;
40
38
  sidecars: SidecarsApi;
@@ -23,7 +23,6 @@ var StreamsApi_1 = require("./streams/StreamsApi");
23
23
  var InputStreamsApi_1 = require("./inputStreams/InputStreamsApi");
24
24
  var MuxingsApi_1 = require("./muxings/MuxingsApi");
25
25
  var TemplateApi_1 = require("./template/TemplateApi");
26
- var TransferRetriesApi_1 = require("./transferRetries/TransferRetriesApi");
27
26
  var OutputPathsApi_1 = require("./outputPaths/OutputPathsApi");
28
27
  var CaptionsApi_1 = require("./captions/CaptionsApi");
29
28
  var SidecarsApi_1 = require("./sidecars/SidecarsApi");
@@ -52,7 +51,6 @@ var EncodingsApi = /** @class */ (function (_super) {
52
51
  _this.inputStreams = new InputStreamsApi_1.default(configuration);
53
52
  _this.muxings = new MuxingsApi_1.default(configuration);
54
53
  _this.template = new TemplateApi_1.default(configuration);
55
- _this.transferRetries = new TransferRetriesApi_1.default(configuration);
56
54
  _this.outputPaths = new OutputPathsApi_1.default(configuration);
57
55
  _this.captions = new CaptionsApi_1.default(configuration);
58
56
  _this.sidecars = new SidecarsApi_1.default(configuration);
@@ -1,16 +1,16 @@
1
1
  export interface CencDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof CencDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof CencDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class CencDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class CencDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): CencDrmListQueryParams;
28
28
  }
@@ -1,16 +1,16 @@
1
1
  export interface SpekeDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof SpekeDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof SpekeDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class SpekeDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): SpekeDrmListQueryParams;
28
28
  }
@@ -1,16 +1,16 @@
1
1
  export interface SpekeDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof SpekeDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof SpekeDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class SpekeDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): SpekeDrmListQueryParams;
28
28
  }
@@ -1,16 +1,16 @@
1
1
  export interface SpekeDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof SpekeDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof SpekeDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class SpekeDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): SpekeDrmListQueryParams;
28
28
  }
@@ -1,16 +1,16 @@
1
1
  export interface SpekeDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof SpekeDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof SpekeDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class SpekeDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): SpekeDrmListQueryParams;
28
28
  }
@@ -1,16 +1,16 @@
1
1
  export interface SpekeDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof SpekeDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof SpekeDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class SpekeDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): SpekeDrmListQueryParams;
28
28
  }
@@ -1,16 +1,16 @@
1
1
  export interface CencDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof CencDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof CencDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class CencDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class CencDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): CencDrmListQueryParams;
28
28
  }
@@ -1,16 +1,16 @@
1
1
  export interface SpekeDrmListQueryParams {
2
2
  /**
3
3
  * Index of the first item to return, starting at 0. Default is 0
4
- * @type {string}
4
+ * @type {number}
5
5
  * @memberof SpekeDrmListQueryParams
6
6
  */
7
- offset?: string | undefined;
7
+ offset?: number | undefined;
8
8
  /**
9
9
  * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {string}
10
+ * @type {number}
11
11
  * @memberof SpekeDrmListQueryParams
12
12
  */
13
- limit?: string | undefined;
13
+ limit?: number | undefined;
14
14
  }
15
15
  export declare class SpekeDrmListQueryParamsBuilder {
16
16
  private internalParams;
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
18
18
  *
19
19
  * @param offset Index of the first item to return, starting at 0. Default is 0
20
20
  */
21
- offset(offset: string): this;
21
+ offset(offset: number): this;
22
22
  /**
23
23
  *
24
24
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
25
  */
26
- limit(limit: string): this;
26
+ limit(limit: number): this;
27
27
  buildQueryParams(): SpekeDrmListQueryParams;
28
28
  }
@@ -830,7 +830,6 @@ export * from './ThumbnailUnit';
830
830
  export * from './TimeBasedTrimmingInputStream';
831
831
  export * from './TimeSpan';
832
832
  export * from './TimecodeTrackTrimmingInputStream';
833
- export * from './TransferRetry';
834
833
  export * from './TransferVersion';
835
834
  export * from './TransformSkipMode';
836
835
  export * from './Trimming';
@@ -846,7 +846,6 @@ __exportStar(require("./ThumbnailUnit"), exports);
846
846
  __exportStar(require("./TimeBasedTrimmingInputStream"), exports);
847
847
  __exportStar(require("./TimeSpan"), exports);
848
848
  __exportStar(require("./TimecodeTrackTrimmingInputStream"), exports);
849
- __exportStar(require("./TransferRetry"), exports);
850
849
  __exportStar(require("./TransferVersion"), exports);
851
850
  __exportStar(require("./TransformSkipMode"), exports);
852
851
  __exportStar(require("./Trimming"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.270.0",
3
+ "version": "1.271.1",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -1,37 +0,0 @@
1
- import { BaseAPI } from '../../../common/BaseAPI';
2
- import Configuration from '../../../common/Configuration';
3
- import TransferRetry from '../../../models/TransferRetry';
4
- import PaginationResponse from '../../../models/PaginationResponse';
5
- import { TransferRetryListQueryParams, TransferRetryListQueryParamsBuilder } from './TransferRetryListQueryParams';
6
- /**
7
- * TransferRetriesApi - object-oriented interface
8
- * @export
9
- * @class TransferRetriesApi
10
- * @extends {BaseAPI}
11
- */
12
- export default class TransferRetriesApi extends BaseAPI {
13
- constructor(configuration: Configuration);
14
- /**
15
- * @summary Transfer retry
16
- * @param {string} encodingId Id of the encoding.
17
- * @throws {BitmovinError}
18
- * @memberof TransferRetriesApi
19
- */
20
- create(encodingId: string): Promise<TransferRetry>;
21
- /**
22
- * @summary Transfer retry Details
23
- * @param {string} encodingId Id of the encoding.
24
- * @param {string} transferRetryId Id of the transfer-retry.
25
- * @throws {BitmovinError}
26
- * @memberof TransferRetriesApi
27
- */
28
- get(encodingId: string, transferRetryId: string): Promise<TransferRetry>;
29
- /**
30
- * @summary List transfer-retries
31
- * @param {string} encodingId Id of the encoding.
32
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
33
- * @throws {BitmovinError}
34
- * @memberof TransferRetriesApi
35
- */
36
- list(encodingId: string, queryParameters?: TransferRetryListQueryParams | ((q: TransferRetryListQueryParamsBuilder) => TransferRetryListQueryParamsBuilder)): Promise<PaginationResponse<TransferRetry>>;
37
- }
@@ -1,88 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- var BaseAPI_1 = require("../../../common/BaseAPI");
19
- var Mapper_1 = require("../../../common/Mapper");
20
- var TransferRetry_1 = require("../../../models/TransferRetry");
21
- var PaginationResponse_1 = require("../../../models/PaginationResponse");
22
- var TransferRetryListQueryParams_1 = require("./TransferRetryListQueryParams");
23
- /**
24
- * TransferRetriesApi - object-oriented interface
25
- * @export
26
- * @class TransferRetriesApi
27
- * @extends {BaseAPI}
28
- */
29
- var TransferRetriesApi = /** @class */ (function (_super) {
30
- __extends(TransferRetriesApi, _super);
31
- function TransferRetriesApi(configuration) {
32
- return _super.call(this, configuration) || this;
33
- }
34
- /**
35
- * @summary Transfer retry
36
- * @param {string} encodingId Id of the encoding.
37
- * @throws {BitmovinError}
38
- * @memberof TransferRetriesApi
39
- */
40
- TransferRetriesApi.prototype.create = function (encodingId) {
41
- var pathParamMap = {
42
- encoding_id: encodingId
43
- };
44
- return this.restClient.post('/encoding/encodings/{encoding_id}/transfer-retries', pathParamMap).then(function (response) {
45
- return (0, Mapper_1.map)(response, TransferRetry_1.default);
46
- });
47
- };
48
- /**
49
- * @summary Transfer retry Details
50
- * @param {string} encodingId Id of the encoding.
51
- * @param {string} transferRetryId Id of the transfer-retry.
52
- * @throws {BitmovinError}
53
- * @memberof TransferRetriesApi
54
- */
55
- TransferRetriesApi.prototype.get = function (encodingId, transferRetryId) {
56
- var pathParamMap = {
57
- encoding_id: encodingId,
58
- transfer_retry_id: transferRetryId
59
- };
60
- return this.restClient.get('/encoding/encodings/{encoding_id}/transfer-retries/{transfer_retry_id}', pathParamMap).then(function (response) {
61
- return (0, Mapper_1.map)(response, TransferRetry_1.default);
62
- });
63
- };
64
- /**
65
- * @summary List transfer-retries
66
- * @param {string} encodingId Id of the encoding.
67
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
68
- * @throws {BitmovinError}
69
- * @memberof TransferRetriesApi
70
- */
71
- TransferRetriesApi.prototype.list = function (encodingId, queryParameters) {
72
- var pathParamMap = {
73
- encoding_id: encodingId
74
- };
75
- var queryParams = {};
76
- if (typeof queryParameters === 'function') {
77
- queryParams = queryParameters(new TransferRetryListQueryParams_1.TransferRetryListQueryParamsBuilder()).buildQueryParams();
78
- }
79
- else if (queryParameters) {
80
- queryParams = queryParameters;
81
- }
82
- return this.restClient.get('/encoding/encodings/{encoding_id}/transfer-retries', pathParamMap, queryParams).then(function (response) {
83
- return new PaginationResponse_1.default(response, TransferRetry_1.default);
84
- });
85
- };
86
- return TransferRetriesApi;
87
- }(BaseAPI_1.BaseAPI));
88
- exports.default = TransferRetriesApi;
@@ -1,28 +0,0 @@
1
- export interface TransferRetryListQueryParams {
2
- /**
3
- * Index of the first item to return, starting at 0. Default is 0
4
- * @type {number}
5
- * @memberof TransferRetryListQueryParams
6
- */
7
- offset?: number | undefined;
8
- /**
9
- * Maximum number of items to return. Default is 25, maximum is 100
10
- * @type {number}
11
- * @memberof TransferRetryListQueryParams
12
- */
13
- limit?: number | undefined;
14
- }
15
- export declare class TransferRetryListQueryParamsBuilder {
16
- private internalParams;
17
- /**
18
- *
19
- * @param offset Index of the first item to return, starting at 0. Default is 0
20
- */
21
- offset(offset: number): this;
22
- /**
23
- *
24
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
25
- */
26
- limit(limit: number): this;
27
- buildQueryParams(): TransferRetryListQueryParams;
28
- }
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransferRetryListQueryParamsBuilder = void 0;
4
- var TransferRetryListQueryParamsBuilder = /** @class */ (function () {
5
- function TransferRetryListQueryParamsBuilder() {
6
- this.internalParams = {};
7
- }
8
- /**
9
- *
10
- * @param offset Index of the first item to return, starting at 0. Default is 0
11
- */
12
- TransferRetryListQueryParamsBuilder.prototype.offset = function (offset) {
13
- this.internalParams.offset = offset;
14
- return this;
15
- };
16
- /**
17
- *
18
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
19
- */
20
- TransferRetryListQueryParamsBuilder.prototype.limit = function (limit) {
21
- this.internalParams.limit = limit;
22
- return this;
23
- };
24
- TransferRetryListQueryParamsBuilder.prototype.buildQueryParams = function () {
25
- return this.internalParams;
26
- };
27
- return TransferRetryListQueryParamsBuilder;
28
- }());
29
- exports.TransferRetryListQueryParamsBuilder = TransferRetryListQueryParamsBuilder;
@@ -1,34 +0,0 @@
1
- import BitmovinResource from './BitmovinResource';
2
- import Status from './Status';
3
- /**
4
- * @export
5
- * @class TransferRetry
6
- */
7
- export declare class TransferRetry extends BitmovinResource {
8
- /**
9
- * The current status of the transfer-retry.
10
- * @type {Status}
11
- * @memberof TransferRetry
12
- */
13
- status?: Status;
14
- /**
15
- * Timestamp when the transfer-retry was started, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
16
- * @type {Date}
17
- * @memberof TransferRetry
18
- */
19
- startedAt?: Date;
20
- /**
21
- * Timestamp when the transfer-retry status changed to 'FINISHED', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
22
- * @type {Date}
23
- * @memberof TransferRetry
24
- */
25
- finishedAt?: Date;
26
- /**
27
- * Timestamp when the transfer-retry status changed to 'ERROR', returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
28
- * @type {Date}
29
- * @memberof TransferRetry
30
- */
31
- errorAt?: Date;
32
- constructor(obj?: Partial<TransferRetry>);
33
- }
34
- export default TransferRetry;
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.TransferRetry = void 0;
19
- var Mapper_1 = require("../common/Mapper");
20
- var BitmovinResource_1 = require("./BitmovinResource");
21
- /**
22
- * @export
23
- * @class TransferRetry
24
- */
25
- var TransferRetry = /** @class */ (function (_super) {
26
- __extends(TransferRetry, _super);
27
- function TransferRetry(obj) {
28
- var _this = _super.call(this, obj) || this;
29
- if (!obj) {
30
- return _this;
31
- }
32
- _this.status = (0, Mapper_1.map)(obj.status);
33
- _this.startedAt = (0, Mapper_1.map)(obj.startedAt, Date);
34
- _this.finishedAt = (0, Mapper_1.map)(obj.finishedAt, Date);
35
- _this.errorAt = (0, Mapper_1.map)(obj.errorAt, Date);
36
- return _this;
37
- }
38
- return TransferRetry;
39
- }(BitmovinResource_1.default));
40
- exports.TransferRetry = TransferRetry;
41
- exports.default = TransferRetry;