@datocms/cma-client 3.1.7-alpha.2 → 3.1.7-alpha.3

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.
@@ -129,7 +129,7 @@ var Client = /** @class */ (function () {
129
129
  });
130
130
  Client.prototype.request = function (options) {
131
131
  var _this = this;
132
- return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.2', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
132
+ return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.3', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
133
133
  ? { 'X-Environment': this.config.environment }
134
134
  : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
135
135
  return _this.jobResultsFetcher
@@ -103,7 +103,7 @@ var Client = /** @class */ (function () {
103
103
  });
104
104
  Client.prototype.request = function (options) {
105
105
  var _this = this;
106
- return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.2', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
106
+ return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.3', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
107
107
  ? { 'X-Environment': this.config.environment }
108
108
  : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
109
109
  return _this.jobResultsFetcher
@@ -1199,21 +1199,6 @@ export type DailyUsageType = 'daily_usage';
1199
1199
  * via the `definition` "id".
1200
1200
  */
1201
1201
  export type DailyUsageIdentity = string;
1202
- /**
1203
- * This interface was referenced by `Site`'s JSON-Schema
1204
- * via the `definition` "type".
1205
- */
1206
- export type SiteType = 'site';
1207
- /**
1208
- * ID of site
1209
- *
1210
- * This interface was referenced by `Site`'s JSON-Schema
1211
- * via the `definition` "identity".
1212
- *
1213
- * This interface was referenced by `Site`'s JSON-Schema
1214
- * via the `definition` "id".
1215
- */
1216
- export type SiteIdentity = string;
1217
1202
  /**
1218
1203
  * This interface was referenced by `UsageCounter`'s JSON-Schema
1219
1204
  * via the `definition` "type".
@@ -1331,6 +1316,21 @@ export type UploadSmartTagInstancesHrefSchema = {
1331
1316
  };
1332
1317
  [k: string]: unknown;
1333
1318
  };
1319
+ /**
1320
+ * This interface was referenced by `Site`'s JSON-Schema
1321
+ * via the `definition` "type".
1322
+ */
1323
+ export type SiteType = 'site';
1324
+ /**
1325
+ * ID of site
1326
+ *
1327
+ * This interface was referenced by `Site`'s JSON-Schema
1328
+ * via the `definition` "identity".
1329
+ *
1330
+ * This interface was referenced by `Site`'s JSON-Schema
1331
+ * via the `definition` "id".
1332
+ */
1333
+ export type SiteIdentity = string;
1334
1334
  /**
1335
1335
  * This interface was referenced by `Site`'s JSON-Schema
1336
1336
  * via the `self.hrefSchema` link.
@@ -9596,7 +9596,6 @@ export type DailyUsage = {
9596
9596
  type: DailyUsageType;
9597
9597
  id: DailyUsageIdentity;
9598
9598
  attributes: DailyUsageAttributes;
9599
- relationships?: DailyUsageRelationships;
9600
9599
  };
9601
9600
  /**
9602
9601
  * JSON API attributes
@@ -9621,10 +9620,6 @@ export type DailyUsageAttributes = {
9621
9620
  * Content delivery API traffic
9622
9621
  */
9623
9622
  cda_traffic_bytes: number;
9624
- /**
9625
- * Content management API traffic
9626
- */
9627
- cma_traffic_bytes: number;
9628
9623
  /**
9629
9624
  * Uploads requests traffic
9630
9625
  */
@@ -9633,34 +9628,6 @@ export type DailyUsageAttributes = {
9633
9628
  * Video streaming seconds
9634
9629
  */
9635
9630
  mux_delivered_seconds: number;
9636
- /**
9637
- * Video encoding seconds
9638
- */
9639
- mux_encoded_seconds: number;
9640
- };
9641
- /**
9642
- * JSON API links
9643
- *
9644
- * This interface was referenced by `DailyUsage`'s JSON-Schema
9645
- * via the `definition` "relationships".
9646
- */
9647
- export type DailyUsageRelationships = {
9648
- /**
9649
- * Site that generate the usage
9650
- */
9651
- site?: {
9652
- data: SiteData;
9653
- };
9654
- };
9655
- /**
9656
- * JSON API data
9657
- *
9658
- * This interface was referenced by `Site`'s JSON-Schema
9659
- * via the `definition` "data".
9660
- */
9661
- export type SiteData = {
9662
- type: SiteType;
9663
- id: SiteIdentity;
9664
9631
  };
9665
9632
  /**
9666
9633
  * JSON API data
@@ -10065,6 +10032,16 @@ export type SiteMeta = {
10065
10032
  */
10066
10033
  custom_upload_storage_settings?: boolean;
10067
10034
  };
10035
+ /**
10036
+ * JSON API data
10037
+ *
10038
+ * This interface was referenced by `Site`'s JSON-Schema
10039
+ * via the `definition` "data".
10040
+ */
10041
+ export type SiteData = {
10042
+ type: SiteType;
10043
+ id: SiteIdentity;
10044
+ };
10068
10045
  /**
10069
10046
  * This interface was referenced by `Site`'s JSON-Schema
10070
10047
  * via the `self.targetSchema` link.
@@ -1468,21 +1468,6 @@ export type DailyUsageIdentity = string;
1468
1468
  * via the `definition` "type".
1469
1469
  */
1470
1470
  export type DailyUsageType = 'daily_usage';
1471
- /**
1472
- * This interface was referenced by `Site`'s JSON-Schema
1473
- * via the `definition` "type".
1474
- */
1475
- export type SiteType = 'site';
1476
- /**
1477
- * ID of site
1478
- *
1479
- * This interface was referenced by `Site`'s JSON-Schema
1480
- * via the `definition` "identity".
1481
- *
1482
- * This interface was referenced by `Site`'s JSON-Schema
1483
- * via the `definition` "id".
1484
- */
1485
- export type SiteIdentity = string;
1486
1471
  /**
1487
1472
  * This interface was referenced by `DailyUsage`'s JSON-Schema
1488
1473
  * via the `instances.targetSchema` link.
@@ -1615,6 +1600,21 @@ export type UploadSmartTagInstancesHrefSchema = {
1615
1600
  };
1616
1601
  [k: string]: unknown;
1617
1602
  };
1603
+ /**
1604
+ * ID of site
1605
+ *
1606
+ * This interface was referenced by `Site`'s JSON-Schema
1607
+ * via the `definition` "identity".
1608
+ *
1609
+ * This interface was referenced by `Site`'s JSON-Schema
1610
+ * via the `definition` "id".
1611
+ */
1612
+ export type SiteIdentity = string;
1613
+ /**
1614
+ * This interface was referenced by `Site`'s JSON-Schema
1615
+ * via the `definition` "type".
1616
+ */
1617
+ export type SiteType = 'site';
1618
1618
  /**
1619
1619
  * This interface was referenced by `Site`'s JSON-Schema
1620
1620
  * via the `self.hrefSchema` link.
@@ -9347,10 +9347,6 @@ export type DailyUsage = {
9347
9347
  * Content delivery API traffic
9348
9348
  */
9349
9349
  cda_traffic_bytes: number;
9350
- /**
9351
- * Content management API traffic
9352
- */
9353
- cma_traffic_bytes: number;
9354
9350
  /**
9355
9351
  * Uploads requests traffic
9356
9352
  */
@@ -9359,21 +9355,6 @@ export type DailyUsage = {
9359
9355
  * Video streaming seconds
9360
9356
  */
9361
9357
  mux_delivered_seconds: number;
9362
- /**
9363
- * Video encoding seconds
9364
- */
9365
- mux_encoded_seconds: number;
9366
- site?: SiteData;
9367
- };
9368
- /**
9369
- * JSON API data
9370
- *
9371
- * This interface was referenced by `Site`'s JSON-Schema
9372
- * via the `definition` "data".
9373
- */
9374
- export type SiteData = {
9375
- type: SiteType;
9376
- id: SiteIdentity;
9377
9358
  };
9378
9359
  /**
9379
9360
  * JSON API data
@@ -9408,10 +9389,6 @@ export type DailyUsageAttributes = {
9408
9389
  * Content delivery API traffic
9409
9390
  */
9410
9391
  cda_traffic_bytes: number;
9411
- /**
9412
- * Content management API traffic
9413
- */
9414
- cma_traffic_bytes: number;
9415
9392
  /**
9416
9393
  * Uploads requests traffic
9417
9394
  */
@@ -9420,19 +9397,6 @@ export type DailyUsageAttributes = {
9420
9397
  * Video streaming seconds
9421
9398
  */
9422
9399
  mux_delivered_seconds: number;
9423
- /**
9424
- * Video encoding seconds
9425
- */
9426
- mux_encoded_seconds: number;
9427
- };
9428
- /**
9429
- * JSON API links
9430
- *
9431
- * This interface was referenced by `DailyUsage`'s JSON-Schema
9432
- * via the `definition` "relationships".
9433
- */
9434
- export type DailyUsageRelationships = {
9435
- site?: SiteData;
9436
9400
  };
9437
9401
  /**
9438
9402
  * You can use counters to analyze your project's data consumption over a period of time. Counters are especially useful if your project is exceeding its API calls/traffic quota limits, to better understand where and how requests are originating. Counters are updated every minute, so you can debug in real-time the results of your changes.
@@ -9783,6 +9747,16 @@ export type SiteMeta = {
9783
9747
  */
9784
9748
  custom_upload_storage_settings?: boolean;
9785
9749
  };
9750
+ /**
9751
+ * JSON API data
9752
+ *
9753
+ * This interface was referenced by `Site`'s JSON-Schema
9754
+ * via the `definition` "data".
9755
+ */
9756
+ export type SiteData = {
9757
+ type: SiteType;
9758
+ id: SiteIdentity;
9759
+ };
9786
9760
  /**
9787
9761
  * JSON API attributes
9788
9762
  *
@@ -1199,21 +1199,6 @@ export type DailyUsageType = 'daily_usage';
1199
1199
  * via the `definition` "id".
1200
1200
  */
1201
1201
  export type DailyUsageIdentity = string;
1202
- /**
1203
- * This interface was referenced by `Site`'s JSON-Schema
1204
- * via the `definition` "type".
1205
- */
1206
- export type SiteType = 'site';
1207
- /**
1208
- * ID of site
1209
- *
1210
- * This interface was referenced by `Site`'s JSON-Schema
1211
- * via the `definition` "identity".
1212
- *
1213
- * This interface was referenced by `Site`'s JSON-Schema
1214
- * via the `definition` "id".
1215
- */
1216
- export type SiteIdentity = string;
1217
1202
  /**
1218
1203
  * This interface was referenced by `UsageCounter`'s JSON-Schema
1219
1204
  * via the `definition` "type".
@@ -1331,6 +1316,21 @@ export type UploadSmartTagInstancesHrefSchema = {
1331
1316
  };
1332
1317
  [k: string]: unknown;
1333
1318
  };
1319
+ /**
1320
+ * This interface was referenced by `Site`'s JSON-Schema
1321
+ * via the `definition` "type".
1322
+ */
1323
+ export type SiteType = 'site';
1324
+ /**
1325
+ * ID of site
1326
+ *
1327
+ * This interface was referenced by `Site`'s JSON-Schema
1328
+ * via the `definition` "identity".
1329
+ *
1330
+ * This interface was referenced by `Site`'s JSON-Schema
1331
+ * via the `definition` "id".
1332
+ */
1333
+ export type SiteIdentity = string;
1334
1334
  /**
1335
1335
  * This interface was referenced by `Site`'s JSON-Schema
1336
1336
  * via the `self.hrefSchema` link.
@@ -9596,7 +9596,6 @@ export type DailyUsage = {
9596
9596
  type: DailyUsageType;
9597
9597
  id: DailyUsageIdentity;
9598
9598
  attributes: DailyUsageAttributes;
9599
- relationships?: DailyUsageRelationships;
9600
9599
  };
9601
9600
  /**
9602
9601
  * JSON API attributes
@@ -9621,10 +9620,6 @@ export type DailyUsageAttributes = {
9621
9620
  * Content delivery API traffic
9622
9621
  */
9623
9622
  cda_traffic_bytes: number;
9624
- /**
9625
- * Content management API traffic
9626
- */
9627
- cma_traffic_bytes: number;
9628
9623
  /**
9629
9624
  * Uploads requests traffic
9630
9625
  */
@@ -9633,34 +9628,6 @@ export type DailyUsageAttributes = {
9633
9628
  * Video streaming seconds
9634
9629
  */
9635
9630
  mux_delivered_seconds: number;
9636
- /**
9637
- * Video encoding seconds
9638
- */
9639
- mux_encoded_seconds: number;
9640
- };
9641
- /**
9642
- * JSON API links
9643
- *
9644
- * This interface was referenced by `DailyUsage`'s JSON-Schema
9645
- * via the `definition` "relationships".
9646
- */
9647
- export type DailyUsageRelationships = {
9648
- /**
9649
- * Site that generate the usage
9650
- */
9651
- site?: {
9652
- data: SiteData;
9653
- };
9654
- };
9655
- /**
9656
- * JSON API data
9657
- *
9658
- * This interface was referenced by `Site`'s JSON-Schema
9659
- * via the `definition` "data".
9660
- */
9661
- export type SiteData = {
9662
- type: SiteType;
9663
- id: SiteIdentity;
9664
9631
  };
9665
9632
  /**
9666
9633
  * JSON API data
@@ -10065,6 +10032,16 @@ export type SiteMeta = {
10065
10032
  */
10066
10033
  custom_upload_storage_settings?: boolean;
10067
10034
  };
10035
+ /**
10036
+ * JSON API data
10037
+ *
10038
+ * This interface was referenced by `Site`'s JSON-Schema
10039
+ * via the `definition` "data".
10040
+ */
10041
+ export type SiteData = {
10042
+ type: SiteType;
10043
+ id: SiteIdentity;
10044
+ };
10068
10045
  /**
10069
10046
  * This interface was referenced by `Site`'s JSON-Schema
10070
10047
  * via the `self.targetSchema` link.
@@ -1468,21 +1468,6 @@ export type DailyUsageIdentity = string;
1468
1468
  * via the `definition` "type".
1469
1469
  */
1470
1470
  export type DailyUsageType = 'daily_usage';
1471
- /**
1472
- * This interface was referenced by `Site`'s JSON-Schema
1473
- * via the `definition` "type".
1474
- */
1475
- export type SiteType = 'site';
1476
- /**
1477
- * ID of site
1478
- *
1479
- * This interface was referenced by `Site`'s JSON-Schema
1480
- * via the `definition` "identity".
1481
- *
1482
- * This interface was referenced by `Site`'s JSON-Schema
1483
- * via the `definition` "id".
1484
- */
1485
- export type SiteIdentity = string;
1486
1471
  /**
1487
1472
  * This interface was referenced by `DailyUsage`'s JSON-Schema
1488
1473
  * via the `instances.targetSchema` link.
@@ -1615,6 +1600,21 @@ export type UploadSmartTagInstancesHrefSchema = {
1615
1600
  };
1616
1601
  [k: string]: unknown;
1617
1602
  };
1603
+ /**
1604
+ * ID of site
1605
+ *
1606
+ * This interface was referenced by `Site`'s JSON-Schema
1607
+ * via the `definition` "identity".
1608
+ *
1609
+ * This interface was referenced by `Site`'s JSON-Schema
1610
+ * via the `definition` "id".
1611
+ */
1612
+ export type SiteIdentity = string;
1613
+ /**
1614
+ * This interface was referenced by `Site`'s JSON-Schema
1615
+ * via the `definition` "type".
1616
+ */
1617
+ export type SiteType = 'site';
1618
1618
  /**
1619
1619
  * This interface was referenced by `Site`'s JSON-Schema
1620
1620
  * via the `self.hrefSchema` link.
@@ -9347,10 +9347,6 @@ export type DailyUsage = {
9347
9347
  * Content delivery API traffic
9348
9348
  */
9349
9349
  cda_traffic_bytes: number;
9350
- /**
9351
- * Content management API traffic
9352
- */
9353
- cma_traffic_bytes: number;
9354
9350
  /**
9355
9351
  * Uploads requests traffic
9356
9352
  */
@@ -9359,21 +9355,6 @@ export type DailyUsage = {
9359
9355
  * Video streaming seconds
9360
9356
  */
9361
9357
  mux_delivered_seconds: number;
9362
- /**
9363
- * Video encoding seconds
9364
- */
9365
- mux_encoded_seconds: number;
9366
- site?: SiteData;
9367
- };
9368
- /**
9369
- * JSON API data
9370
- *
9371
- * This interface was referenced by `Site`'s JSON-Schema
9372
- * via the `definition` "data".
9373
- */
9374
- export type SiteData = {
9375
- type: SiteType;
9376
- id: SiteIdentity;
9377
9358
  };
9378
9359
  /**
9379
9360
  * JSON API data
@@ -9408,10 +9389,6 @@ export type DailyUsageAttributes = {
9408
9389
  * Content delivery API traffic
9409
9390
  */
9410
9391
  cda_traffic_bytes: number;
9411
- /**
9412
- * Content management API traffic
9413
- */
9414
- cma_traffic_bytes: number;
9415
9392
  /**
9416
9393
  * Uploads requests traffic
9417
9394
  */
@@ -9420,19 +9397,6 @@ export type DailyUsageAttributes = {
9420
9397
  * Video streaming seconds
9421
9398
  */
9422
9399
  mux_delivered_seconds: number;
9423
- /**
9424
- * Video encoding seconds
9425
- */
9426
- mux_encoded_seconds: number;
9427
- };
9428
- /**
9429
- * JSON API links
9430
- *
9431
- * This interface was referenced by `DailyUsage`'s JSON-Schema
9432
- * via the `definition` "relationships".
9433
- */
9434
- export type DailyUsageRelationships = {
9435
- site?: SiteData;
9436
9400
  };
9437
9401
  /**
9438
9402
  * You can use counters to analyze your project's data consumption over a period of time. Counters are especially useful if your project is exceeding its API calls/traffic quota limits, to better understand where and how requests are originating. Counters are updated every minute, so you can debug in real-time the results of your changes.
@@ -9783,6 +9747,16 @@ export type SiteMeta = {
9783
9747
  */
9784
9748
  custom_upload_storage_settings?: boolean;
9785
9749
  };
9750
+ /**
9751
+ * JSON API data
9752
+ *
9753
+ * This interface was referenced by `Site`'s JSON-Schema
9754
+ * via the `definition` "data".
9755
+ */
9756
+ export type SiteData = {
9757
+ type: SiteType;
9758
+ id: SiteIdentity;
9759
+ };
9786
9760
  /**
9787
9761
  * JSON API attributes
9788
9762
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datocms/cma-client",
3
- "version": "3.1.7-alpha.2",
3
+ "version": "3.1.7-alpha.3",
4
4
  "description": "JS client for DatoCMS REST Content Management API",
5
5
  "keywords": [
6
6
  "datocms",
@@ -41,8 +41,8 @@
41
41
  "uuid": "^9.0.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@datocms/dashboard-client": "^3.1.7-alpha.2",
44
+ "@datocms/dashboard-client": "^3.1.7-alpha.3",
45
45
  "@types/uuid": "^9.0.7"
46
46
  },
47
- "gitHead": "d3211c7e244f11cf2eef4146cf96c7d7d47f9559"
47
+ "gitHead": "5b2f29ad085e93d9630a01e3011ec38573df6786"
48
48
  }
@@ -139,7 +139,7 @@ export class Client {
139
139
  ...this.config,
140
140
  ...options,
141
141
  logFn: this.config.logFn || console.log,
142
- userAgent: '@datocms/cma-client v3.1.7-alpha.2',
142
+ userAgent: '@datocms/cma-client v3.1.7-alpha.3',
143
143
  baseUrl: this.baseUrl,
144
144
  preCallStack: new Error().stack,
145
145
  extraHeaders: {
@@ -1201,21 +1201,6 @@ export type DailyUsageType = 'daily_usage';
1201
1201
  * via the `definition` "id".
1202
1202
  */
1203
1203
  export type DailyUsageIdentity = string;
1204
- /**
1205
- * This interface was referenced by `Site`'s JSON-Schema
1206
- * via the `definition` "type".
1207
- */
1208
- export type SiteType = 'site';
1209
- /**
1210
- * ID of site
1211
- *
1212
- * This interface was referenced by `Site`'s JSON-Schema
1213
- * via the `definition` "identity".
1214
- *
1215
- * This interface was referenced by `Site`'s JSON-Schema
1216
- * via the `definition` "id".
1217
- */
1218
- export type SiteIdentity = string;
1219
1204
  /**
1220
1205
  * This interface was referenced by `UsageCounter`'s JSON-Schema
1221
1206
  * via the `definition` "type".
@@ -1352,6 +1337,21 @@ export type UploadSmartTagInstancesHrefSchema = {
1352
1337
  };
1353
1338
  [k: string]: unknown;
1354
1339
  };
1340
+ /**
1341
+ * This interface was referenced by `Site`'s JSON-Schema
1342
+ * via the `definition` "type".
1343
+ */
1344
+ export type SiteType = 'site';
1345
+ /**
1346
+ * ID of site
1347
+ *
1348
+ * This interface was referenced by `Site`'s JSON-Schema
1349
+ * via the `definition` "identity".
1350
+ *
1351
+ * This interface was referenced by `Site`'s JSON-Schema
1352
+ * via the `definition` "id".
1353
+ */
1354
+ export type SiteIdentity = string;
1355
1355
  /**
1356
1356
  * This interface was referenced by `Site`'s JSON-Schema
1357
1357
  * via the `self.hrefSchema` link.
@@ -10337,7 +10337,6 @@ export type DailyUsage = {
10337
10337
  type: DailyUsageType;
10338
10338
  id: DailyUsageIdentity;
10339
10339
  attributes: DailyUsageAttributes;
10340
- relationships?: DailyUsageRelationships;
10341
10340
  };
10342
10341
 
10343
10342
  /**
@@ -10363,10 +10362,6 @@ export type DailyUsageAttributes = {
10363
10362
  * Content delivery API traffic
10364
10363
  */
10365
10364
  cda_traffic_bytes: number;
10366
- /**
10367
- * Content management API traffic
10368
- */
10369
- cma_traffic_bytes: number;
10370
10365
  /**
10371
10366
  * Uploads requests traffic
10372
10367
  */
@@ -10375,36 +10370,6 @@ export type DailyUsageAttributes = {
10375
10370
  * Video streaming seconds
10376
10371
  */
10377
10372
  mux_delivered_seconds: number;
10378
- /**
10379
- * Video encoding seconds
10380
- */
10381
- mux_encoded_seconds: number;
10382
- };
10383
-
10384
- /**
10385
- * JSON API links
10386
- *
10387
- * This interface was referenced by `DailyUsage`'s JSON-Schema
10388
- * via the `definition` "relationships".
10389
- */
10390
- export type DailyUsageRelationships = {
10391
- /**
10392
- * Site that generate the usage
10393
- */
10394
- site?: {
10395
- data: SiteData;
10396
- };
10397
- };
10398
-
10399
- /**
10400
- * JSON API data
10401
- *
10402
- * This interface was referenced by `Site`'s JSON-Schema
10403
- * via the `definition` "data".
10404
- */
10405
- export type SiteData = {
10406
- type: SiteType;
10407
- id: SiteIdentity;
10408
10373
  };
10409
10374
 
10410
10375
  /**
@@ -10830,6 +10795,17 @@ export type SiteMeta = {
10830
10795
  custom_upload_storage_settings?: boolean;
10831
10796
  };
10832
10797
 
10798
+ /**
10799
+ * JSON API data
10800
+ *
10801
+ * This interface was referenced by `Site`'s JSON-Schema
10802
+ * via the `definition` "data".
10803
+ */
10804
+ export type SiteData = {
10805
+ type: SiteType;
10806
+ id: SiteIdentity;
10807
+ };
10808
+
10833
10809
  /**
10834
10810
  * This interface was referenced by `Site`'s JSON-Schema
10835
10811
  * via the `self.targetSchema` link.
@@ -1476,21 +1476,6 @@ export type DailyUsageIdentity = string;
1476
1476
  * via the `definition` "type".
1477
1477
  */
1478
1478
  export type DailyUsageType = 'daily_usage';
1479
- /**
1480
- * This interface was referenced by `Site`'s JSON-Schema
1481
- * via the `definition` "type".
1482
- */
1483
- export type SiteType = 'site';
1484
- /**
1485
- * ID of site
1486
- *
1487
- * This interface was referenced by `Site`'s JSON-Schema
1488
- * via the `definition` "identity".
1489
- *
1490
- * This interface was referenced by `Site`'s JSON-Schema
1491
- * via the `definition` "id".
1492
- */
1493
- export type SiteIdentity = string;
1494
1479
  /**
1495
1480
  * This interface was referenced by `DailyUsage`'s JSON-Schema
1496
1481
  * via the `instances.targetSchema` link.
@@ -1642,6 +1627,21 @@ export type UploadSmartTagInstancesHrefSchema = {
1642
1627
  };
1643
1628
  [k: string]: unknown;
1644
1629
  };
1630
+ /**
1631
+ * ID of site
1632
+ *
1633
+ * This interface was referenced by `Site`'s JSON-Schema
1634
+ * via the `definition` "identity".
1635
+ *
1636
+ * This interface was referenced by `Site`'s JSON-Schema
1637
+ * via the `definition` "id".
1638
+ */
1639
+ export type SiteIdentity = string;
1640
+ /**
1641
+ * This interface was referenced by `Site`'s JSON-Schema
1642
+ * via the `definition` "type".
1643
+ */
1644
+ export type SiteType = 'site';
1645
1645
  /**
1646
1646
  * This interface was referenced by `Site`'s JSON-Schema
1647
1647
  * via the `self.hrefSchema` link.
@@ -9983,10 +9983,6 @@ export type DailyUsage = {
9983
9983
  * Content delivery API traffic
9984
9984
  */
9985
9985
  cda_traffic_bytes: number;
9986
- /**
9987
- * Content management API traffic
9988
- */
9989
- cma_traffic_bytes: number;
9990
9986
  /**
9991
9987
  * Uploads requests traffic
9992
9988
  */
@@ -9995,22 +9991,6 @@ export type DailyUsage = {
9995
9991
  * Video streaming seconds
9996
9992
  */
9997
9993
  mux_delivered_seconds: number;
9998
- /**
9999
- * Video encoding seconds
10000
- */
10001
- mux_encoded_seconds: number;
10002
- site?: SiteData;
10003
- };
10004
-
10005
- /**
10006
- * JSON API data
10007
- *
10008
- * This interface was referenced by `Site`'s JSON-Schema
10009
- * via the `definition` "data".
10010
- */
10011
- export type SiteData = {
10012
- type: SiteType;
10013
- id: SiteIdentity;
10014
9994
  };
10015
9995
 
10016
9996
  /**
@@ -10047,10 +10027,6 @@ export type DailyUsageAttributes = {
10047
10027
  * Content delivery API traffic
10048
10028
  */
10049
10029
  cda_traffic_bytes: number;
10050
- /**
10051
- * Content management API traffic
10052
- */
10053
- cma_traffic_bytes: number;
10054
10030
  /**
10055
10031
  * Uploads requests traffic
10056
10032
  */
@@ -10059,20 +10035,6 @@ export type DailyUsageAttributes = {
10059
10035
  * Video streaming seconds
10060
10036
  */
10061
10037
  mux_delivered_seconds: number;
10062
- /**
10063
- * Video encoding seconds
10064
- */
10065
- mux_encoded_seconds: number;
10066
- };
10067
-
10068
- /**
10069
- * JSON API links
10070
- *
10071
- * This interface was referenced by `DailyUsage`'s JSON-Schema
10072
- * via the `definition` "relationships".
10073
- */
10074
- export type DailyUsageRelationships = {
10075
- site?: SiteData;
10076
10038
  };
10077
10039
 
10078
10040
  /**
@@ -10433,6 +10395,17 @@ export type SiteMeta = {
10433
10395
  custom_upload_storage_settings?: boolean;
10434
10396
  };
10435
10397
 
10398
+ /**
10399
+ * JSON API data
10400
+ *
10401
+ * This interface was referenced by `Site`'s JSON-Schema
10402
+ * via the `definition` "data".
10403
+ */
10404
+ export type SiteData = {
10405
+ type: SiteType;
10406
+ id: SiteIdentity;
10407
+ };
10408
+
10436
10409
  /**
10437
10410
  * JSON API attributes
10438
10411
  *