@datocms/cma-client 3.3.1 → 3.3.2

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.
@@ -130,7 +130,7 @@ var Client = /** @class */ (function () {
130
130
  });
131
131
  Client.prototype.request = function (options) {
132
132
  var _this = this;
133
- return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.1', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
133
+ return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.2', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
134
134
  ? { 'X-Environment': this.config.environment }
135
135
  : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
136
136
  return _this.jobResultsFetcher
@@ -104,7 +104,7 @@ var Client = /** @class */ (function () {
104
104
  });
105
105
  Client.prototype.request = function (options) {
106
106
  var _this = this;
107
- return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.1', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
107
+ return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.2', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
108
108
  ? { 'X-Environment': this.config.environment }
109
109
  : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
110
110
  return _this.jobResultsFetcher
@@ -9832,9 +9832,13 @@ export type DailyUsageAttributes = {
9832
9832
  */
9833
9833
  assets_traffic_bytes: number;
9834
9834
  /**
9835
- * Video streaming seconds
9835
+ * Regular video streaming (max 1080p), in seconds
9836
9836
  */
9837
9837
  mux_delivered_seconds: number;
9838
+ /**
9839
+ * High-res video streaming (> 1080p), in seconds
9840
+ */
9841
+ mux_high_resolution_delivered_seconds: number;
9838
9842
  /**
9839
9843
  * Video encoding seconds
9840
9844
  */
@@ -9523,9 +9523,13 @@ export type DailyUsage = {
9523
9523
  */
9524
9524
  assets_traffic_bytes: number;
9525
9525
  /**
9526
- * Video streaming seconds
9526
+ * Regular video streaming (max 1080p), in seconds
9527
9527
  */
9528
9528
  mux_delivered_seconds: number;
9529
+ /**
9530
+ * High-res video streaming (> 1080p), in seconds
9531
+ */
9532
+ mux_high_resolution_delivered_seconds: number;
9529
9533
  /**
9530
9534
  * Video encoding seconds
9531
9535
  */
@@ -9573,9 +9577,13 @@ export type DailyUsageAttributes = {
9573
9577
  */
9574
9578
  assets_traffic_bytes: number;
9575
9579
  /**
9576
- * Video streaming seconds
9580
+ * Regular video streaming (max 1080p), in seconds
9577
9581
  */
9578
9582
  mux_delivered_seconds: number;
9583
+ /**
9584
+ * High-res video streaming (> 1080p), in seconds
9585
+ */
9586
+ mux_high_resolution_delivered_seconds: number;
9579
9587
  /**
9580
9588
  * Video encoding seconds
9581
9589
  */
@@ -9832,9 +9832,13 @@ export type DailyUsageAttributes = {
9832
9832
  */
9833
9833
  assets_traffic_bytes: number;
9834
9834
  /**
9835
- * Video streaming seconds
9835
+ * Regular video streaming (max 1080p), in seconds
9836
9836
  */
9837
9837
  mux_delivered_seconds: number;
9838
+ /**
9839
+ * High-res video streaming (> 1080p), in seconds
9840
+ */
9841
+ mux_high_resolution_delivered_seconds: number;
9838
9842
  /**
9839
9843
  * Video encoding seconds
9840
9844
  */
@@ -9523,9 +9523,13 @@ export type DailyUsage = {
9523
9523
  */
9524
9524
  assets_traffic_bytes: number;
9525
9525
  /**
9526
- * Video streaming seconds
9526
+ * Regular video streaming (max 1080p), in seconds
9527
9527
  */
9528
9528
  mux_delivered_seconds: number;
9529
+ /**
9530
+ * High-res video streaming (> 1080p), in seconds
9531
+ */
9532
+ mux_high_resolution_delivered_seconds: number;
9529
9533
  /**
9530
9534
  * Video encoding seconds
9531
9535
  */
@@ -9573,9 +9577,13 @@ export type DailyUsageAttributes = {
9573
9577
  */
9574
9578
  assets_traffic_bytes: number;
9575
9579
  /**
9576
- * Video streaming seconds
9580
+ * Regular video streaming (max 1080p), in seconds
9577
9581
  */
9578
9582
  mux_delivered_seconds: number;
9583
+ /**
9584
+ * High-res video streaming (> 1080p), in seconds
9585
+ */
9586
+ mux_high_resolution_delivered_seconds: number;
9579
9587
  /**
9580
9588
  * Video encoding seconds
9581
9589
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datocms/cma-client",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "JS client for DatoCMS REST Content Management API",
5
5
  "keywords": ["datocms", "client"],
6
6
  "author": "Stefano Verna <s.verna@datocms.com>",
@@ -30,12 +30,12 @@
30
30
  "url": "https://github.com/datocms/js-rest-api-clients/issues"
31
31
  },
32
32
  "dependencies": {
33
- "@datocms/rest-client-utils": "^3.3.1",
33
+ "@datocms/rest-client-utils": "^3.3.2",
34
34
  "uuid": "^9.0.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@datocms/dashboard-client": "^3.3.1",
37
+ "@datocms/dashboard-client": "^3.3.2",
38
38
  "@types/uuid": "^9.0.7"
39
39
  },
40
- "gitHead": "72d7577fe8451175d705bfec742f271351b7de30"
40
+ "gitHead": "db3b3b51daa7a56b933c1cadc47016c72cafb8f0"
41
41
  }
@@ -145,7 +145,7 @@ export class Client {
145
145
  ...this.config,
146
146
  ...options,
147
147
  logFn: this.config.logFn || console.log,
148
- userAgent: '@datocms/cma-client v3.3.1',
148
+ userAgent: '@datocms/cma-client v3.3.2',
149
149
  baseUrl: this.baseUrl,
150
150
  preCallStack: new Error().stack,
151
151
  extraHeaders: {
@@ -10589,9 +10589,13 @@ export type DailyUsageAttributes = {
10589
10589
  */
10590
10590
  assets_traffic_bytes: number;
10591
10591
  /**
10592
- * Video streaming seconds
10592
+ * Regular video streaming (max 1080p), in seconds
10593
10593
  */
10594
10594
  mux_delivered_seconds: number;
10595
+ /**
10596
+ * High-res video streaming (> 1080p), in seconds
10597
+ */
10598
+ mux_high_resolution_delivered_seconds: number;
10595
10599
  /**
10596
10600
  * Video encoding seconds
10597
10601
  */
@@ -10165,9 +10165,13 @@ export type DailyUsage = {
10165
10165
  */
10166
10166
  assets_traffic_bytes: number;
10167
10167
  /**
10168
- * Video streaming seconds
10168
+ * Regular video streaming (max 1080p), in seconds
10169
10169
  */
10170
10170
  mux_delivered_seconds: number;
10171
+ /**
10172
+ * High-res video streaming (> 1080p), in seconds
10173
+ */
10174
+ mux_high_resolution_delivered_seconds: number;
10171
10175
  /**
10172
10176
  * Video encoding seconds
10173
10177
  */
@@ -10217,9 +10221,13 @@ export type DailyUsageAttributes = {
10217
10221
  */
10218
10222
  assets_traffic_bytes: number;
10219
10223
  /**
10220
- * Video streaming seconds
10224
+ * Regular video streaming (max 1080p), in seconds
10221
10225
  */
10222
10226
  mux_delivered_seconds: number;
10227
+ /**
10228
+ * High-res video streaming (> 1080p), in seconds
10229
+ */
10230
+ mux_high_resolution_delivered_seconds: number;
10223
10231
  /**
10224
10232
  * Video encoding seconds
10225
10233
  */