@bitmovin/api-sdk 1.219.0 → 1.221.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.
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * @overview es6-promise - a tiny implementation of Promises/A+.
3
+ * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
4
+ * @license Licensed under MIT license
5
+ * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
6
+ * @version v4.2.8+1e68dce6
7
+ */
@@ -53,10 +53,13 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
53
53
  Object.defineProperty(exports, "__esModule", { value: true });
54
54
  exports.RestClient = void 0;
55
55
  exports.copyAndPrepareBody = copyAndPrepareBody;
56
+ var e6p = require("es6-promise");
56
57
  var urljoin = require("url-join");
58
+ var isomorphicFetch = require("isomorphic-fetch");
57
59
  var BaseAPI_1 = require("./BaseAPI");
58
60
  var NullLogger_1 = require("./NullLogger");
59
61
  var BitmovinErrorBuilder_1 = require("./BitmovinErrorBuilder");
62
+ e6p.polyfill();
60
63
  var BASE_URL = 'https://api.bitmovin.com/v1';
61
64
  function prepareUrlParameterValue(parameterValue) {
62
65
  if (parameterValue instanceof Date) {
@@ -152,7 +155,7 @@ var RestClient = /** @class */ (function () {
152
155
  this.apiKey = configuration.apiKey;
153
156
  this.tenantOrgId = configuration.tenantOrgId;
154
157
  this.baseUrl = configuration.baseUrl || BASE_URL;
155
- this.fetch = configuration.fetch || fetch;
158
+ this.fetch = configuration.fetch || isomorphicFetch;
156
159
  this.logger = configuration.logger || new NullLogger_1.default();
157
160
  this.headers = configuration.headers;
158
161
  this.httpHandler = this.buildHttpHandler();
@@ -237,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
237
240
  var headers = {
238
241
  'X-Api-Key': apiKey,
239
242
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
240
- 'X-Api-Client-Version': '1.219.0',
243
+ 'X-Api-Client-Version': '1.221.0',
241
244
  'Content-Type': 'application/json'
242
245
  };
243
246
  if (tenantOrgId) {
@@ -183,6 +183,126 @@ export declare class AnalyticsLicenseCustomDataFieldLabels {
183
183
  * @memberof AnalyticsLicenseCustomDataFieldLabels
184
184
  */
185
185
  customData30?: string;
186
+ /**
187
+ * Label for field Custom Data 31
188
+ * @type {string}
189
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
190
+ */
191
+ customData31?: string;
192
+ /**
193
+ * Label for field Custom Data 32
194
+ * @type {string}
195
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
196
+ */
197
+ customData32?: string;
198
+ /**
199
+ * Label for field Custom Data 33
200
+ * @type {string}
201
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
202
+ */
203
+ customData33?: string;
204
+ /**
205
+ * Label for field Custom Data 34
206
+ * @type {string}
207
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
208
+ */
209
+ customData34?: string;
210
+ /**
211
+ * Label for field Custom Data 35
212
+ * @type {string}
213
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
214
+ */
215
+ customData35?: string;
216
+ /**
217
+ * Label for field Custom Data 36
218
+ * @type {string}
219
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
220
+ */
221
+ customData36?: string;
222
+ /**
223
+ * Label for field Custom Data 37
224
+ * @type {string}
225
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
226
+ */
227
+ customData37?: string;
228
+ /**
229
+ * Label for field Custom Data 38
230
+ * @type {string}
231
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
232
+ */
233
+ customData38?: string;
234
+ /**
235
+ * Label for field Custom Data 39
236
+ * @type {string}
237
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
238
+ */
239
+ customData39?: string;
240
+ /**
241
+ * Label for field Custom Data 40
242
+ * @type {string}
243
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
244
+ */
245
+ customData40?: string;
246
+ /**
247
+ * Label for field Custom Data 41
248
+ * @type {string}
249
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
250
+ */
251
+ customData41?: string;
252
+ /**
253
+ * Label for field Custom Data 42
254
+ * @type {string}
255
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
256
+ */
257
+ customData42?: string;
258
+ /**
259
+ * Label for field Custom Data 43
260
+ * @type {string}
261
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
262
+ */
263
+ customData43?: string;
264
+ /**
265
+ * Label for field Custom Data 44
266
+ * @type {string}
267
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
268
+ */
269
+ customData44?: string;
270
+ /**
271
+ * Label for field Custom Data 45
272
+ * @type {string}
273
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
274
+ */
275
+ customData45?: string;
276
+ /**
277
+ * Label for field Custom Data 46
278
+ * @type {string}
279
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
280
+ */
281
+ customData46?: string;
282
+ /**
283
+ * Label for field Custom Data 47
284
+ * @type {string}
285
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
286
+ */
287
+ customData47?: string;
288
+ /**
289
+ * Label for field Custom Data 48
290
+ * @type {string}
291
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
292
+ */
293
+ customData48?: string;
294
+ /**
295
+ * Label for field Custom Data 49
296
+ * @type {string}
297
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
298
+ */
299
+ customData49?: string;
300
+ /**
301
+ * Label for field Custom Data 50
302
+ * @type {string}
303
+ * @memberof AnalyticsLicenseCustomDataFieldLabels
304
+ */
305
+ customData50?: string;
186
306
  constructor(obj?: Partial<AnalyticsLicenseCustomDataFieldLabels>);
187
307
  }
188
308
  export default AnalyticsLicenseCustomDataFieldLabels;
@@ -41,6 +41,26 @@ var AnalyticsLicenseCustomDataFieldLabels = /** @class */ (function () {
41
41
  this.customData28 = (0, Mapper_1.map)(obj.customData28);
42
42
  this.customData29 = (0, Mapper_1.map)(obj.customData29);
43
43
  this.customData30 = (0, Mapper_1.map)(obj.customData30);
44
+ this.customData31 = (0, Mapper_1.map)(obj.customData31);
45
+ this.customData32 = (0, Mapper_1.map)(obj.customData32);
46
+ this.customData33 = (0, Mapper_1.map)(obj.customData33);
47
+ this.customData34 = (0, Mapper_1.map)(obj.customData34);
48
+ this.customData35 = (0, Mapper_1.map)(obj.customData35);
49
+ this.customData36 = (0, Mapper_1.map)(obj.customData36);
50
+ this.customData37 = (0, Mapper_1.map)(obj.customData37);
51
+ this.customData38 = (0, Mapper_1.map)(obj.customData38);
52
+ this.customData39 = (0, Mapper_1.map)(obj.customData39);
53
+ this.customData40 = (0, Mapper_1.map)(obj.customData40);
54
+ this.customData41 = (0, Mapper_1.map)(obj.customData41);
55
+ this.customData42 = (0, Mapper_1.map)(obj.customData42);
56
+ this.customData43 = (0, Mapper_1.map)(obj.customData43);
57
+ this.customData44 = (0, Mapper_1.map)(obj.customData44);
58
+ this.customData45 = (0, Mapper_1.map)(obj.customData45);
59
+ this.customData46 = (0, Mapper_1.map)(obj.customData46);
60
+ this.customData47 = (0, Mapper_1.map)(obj.customData47);
61
+ this.customData48 = (0, Mapper_1.map)(obj.customData48);
62
+ this.customData49 = (0, Mapper_1.map)(obj.customData49);
63
+ this.customData50 = (0, Mapper_1.map)(obj.customData50);
44
64
  }
45
65
  return AnalyticsLicenseCustomDataFieldLabels;
46
66
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.219.0",
3
+ "version": "1.221.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -24,12 +24,15 @@
24
24
  "format-check": "prettier --list-different \"./src/**/*.{ts,tsx,scss}\""
25
25
  },
26
26
  "dependencies": {
27
+ "es6-promise": "^4.2.5",
28
+ "isomorphic-fetch": ">=3.0.0",
27
29
  "url-join": "^4.0.0"
28
30
  },
29
31
  "files": [
30
32
  "dist"
31
33
  ],
32
34
  "devDependencies": {
35
+ "@types/isomorphic-fetch": ">=0.0.35",
33
36
  "@types/node": "^20.8.9",
34
37
  "ts-loader": "^9.2.8",
35
38
  "cross-env": "^5.2.0",