@datocms/cma-client 3.1.6 → 3.1.7-alpha.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.
- package/dist/cjs/generated/Client.js +1 -1
- package/dist/cjs/generated/Client.js.map +1 -1
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/Client.js.map +1 -1
- package/dist/esm/generated/SchemaTypes.d.ts +48 -25
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +51 -25
- package/dist/types/generated/SchemaTypes.d.ts +48 -25
- package/dist/types/generated/SimpleSchemaTypes.d.ts +51 -25
- package/package.json +3 -3
- package/src/generated/Client.ts +1 -1
- package/src/generated/SchemaTypes.ts +50 -26
- package/src/generated/SimpleSchemaTypes.ts +53 -26
|
@@ -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.
|
|
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.1', 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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../src/generated/Client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAA8E;AAE9E,qDAAyC;AA+BzC;IA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AI,GAAK,CAAA,SAAyB,CAAA,KAA9B;wBAElB,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW;4BACpD,CAAC,CAAC,uBAAgB,IAAI,CAAC,EAAE,0BAAgB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAE;4BAClE,CAAC,CAAC,uBAAgB,IAAI,CAAC,EAAE,CAAE,CAAC;wBAE9B,sBAAO,IAAI,CAAC,uBAAuB,EAAC;;;;KACrC;IAzIe,qBAAc,GAAG,8BAA8B,CAAC;IA0IlE,aAAC;CAAA,AA3ID,IA2IC;AA3IY,wBAAM"}
|
|
@@ -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.
|
|
106
|
+
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.1.7-alpha.1', 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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../src/generated/Client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAY,aAAa,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAE9E,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AA+BzC;IAoDE,gBAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK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B,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW;4BACpD,CAAC,CAAC,uBAAgB,IAAI,CAAC,EAAE,0BAAgB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAE;4BAClE,CAAC,CAAC,uBAAgB,IAAI,CAAC,EAAE,CAAE,CAAC;wBAE9B,sBAAO,IAAI,CAAC,uBAAuB,EAAC;;;;KACrC;IAzIe,qBAAc,GAAG,8BAA8B,CAAC;IA0IlE,aAAC;CAAA,AA3ID,IA2IC;SA3IY,MAAM"}
|
|
@@ -1199,6 +1199,21 @@ 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;
|
|
1202
1217
|
/**
|
|
1203
1218
|
* This interface was referenced by `UsageCounter`'s JSON-Schema
|
|
1204
1219
|
* via the `definition` "type".
|
|
@@ -1316,21 +1331,6 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1316
1331
|
};
|
|
1317
1332
|
[k: string]: unknown;
|
|
1318
1333
|
};
|
|
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,6 +9596,7 @@ export type DailyUsage = {
|
|
|
9596
9596
|
type: DailyUsageType;
|
|
9597
9597
|
id: DailyUsageIdentity;
|
|
9598
9598
|
attributes: DailyUsageAttributes;
|
|
9599
|
+
relationships?: DailyUsageRelationships;
|
|
9599
9600
|
};
|
|
9600
9601
|
/**
|
|
9601
9602
|
* JSON API attributes
|
|
@@ -9620,6 +9621,10 @@ export type DailyUsageAttributes = {
|
|
|
9620
9621
|
* Content delivery API traffic
|
|
9621
9622
|
*/
|
|
9622
9623
|
cda_traffic_bytes: number;
|
|
9624
|
+
/**
|
|
9625
|
+
* Content management API traffic
|
|
9626
|
+
*/
|
|
9627
|
+
cma_traffic_bytes: number;
|
|
9623
9628
|
/**
|
|
9624
9629
|
* Uploads requests traffic
|
|
9625
9630
|
*/
|
|
@@ -9628,6 +9633,34 @@ export type DailyUsageAttributes = {
|
|
|
9628
9633
|
* Video streaming seconds
|
|
9629
9634
|
*/
|
|
9630
9635
|
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;
|
|
9631
9664
|
};
|
|
9632
9665
|
/**
|
|
9633
9666
|
* JSON API data
|
|
@@ -10032,16 +10065,6 @@ export type SiteMeta = {
|
|
|
10032
10065
|
*/
|
|
10033
10066
|
custom_upload_storage_settings?: boolean;
|
|
10034
10067
|
};
|
|
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
|
-
};
|
|
10045
10068
|
/**
|
|
10046
10069
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
10047
10070
|
* via the `self.targetSchema` link.
|
|
@@ -1468,6 +1468,21 @@ 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;
|
|
1471
1486
|
/**
|
|
1472
1487
|
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
1473
1488
|
* via the `instances.targetSchema` link.
|
|
@@ -1600,21 +1615,6 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1600
1615
|
};
|
|
1601
1616
|
[k: string]: unknown;
|
|
1602
1617
|
};
|
|
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,6 +9347,10 @@ 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;
|
|
9350
9354
|
/**
|
|
9351
9355
|
* Uploads requests traffic
|
|
9352
9356
|
*/
|
|
@@ -9355,6 +9359,21 @@ export type DailyUsage = {
|
|
|
9355
9359
|
* Video streaming seconds
|
|
9356
9360
|
*/
|
|
9357
9361
|
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;
|
|
9358
9377
|
};
|
|
9359
9378
|
/**
|
|
9360
9379
|
* JSON API data
|
|
@@ -9389,6 +9408,10 @@ export type DailyUsageAttributes = {
|
|
|
9389
9408
|
* Content delivery API traffic
|
|
9390
9409
|
*/
|
|
9391
9410
|
cda_traffic_bytes: number;
|
|
9411
|
+
/**
|
|
9412
|
+
* Content management API traffic
|
|
9413
|
+
*/
|
|
9414
|
+
cma_traffic_bytes: number;
|
|
9392
9415
|
/**
|
|
9393
9416
|
* Uploads requests traffic
|
|
9394
9417
|
*/
|
|
@@ -9397,6 +9420,19 @@ export type DailyUsageAttributes = {
|
|
|
9397
9420
|
* Video streaming seconds
|
|
9398
9421
|
*/
|
|
9399
9422
|
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;
|
|
9400
9436
|
};
|
|
9401
9437
|
/**
|
|
9402
9438
|
* 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.
|
|
@@ -9747,16 +9783,6 @@ export type SiteMeta = {
|
|
|
9747
9783
|
*/
|
|
9748
9784
|
custom_upload_storage_settings?: boolean;
|
|
9749
9785
|
};
|
|
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
|
-
};
|
|
9760
9786
|
/**
|
|
9761
9787
|
* JSON API attributes
|
|
9762
9788
|
*
|
|
@@ -1199,6 +1199,21 @@ 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;
|
|
1202
1217
|
/**
|
|
1203
1218
|
* This interface was referenced by `UsageCounter`'s JSON-Schema
|
|
1204
1219
|
* via the `definition` "type".
|
|
@@ -1316,21 +1331,6 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1316
1331
|
};
|
|
1317
1332
|
[k: string]: unknown;
|
|
1318
1333
|
};
|
|
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,6 +9596,7 @@ export type DailyUsage = {
|
|
|
9596
9596
|
type: DailyUsageType;
|
|
9597
9597
|
id: DailyUsageIdentity;
|
|
9598
9598
|
attributes: DailyUsageAttributes;
|
|
9599
|
+
relationships?: DailyUsageRelationships;
|
|
9599
9600
|
};
|
|
9600
9601
|
/**
|
|
9601
9602
|
* JSON API attributes
|
|
@@ -9620,6 +9621,10 @@ export type DailyUsageAttributes = {
|
|
|
9620
9621
|
* Content delivery API traffic
|
|
9621
9622
|
*/
|
|
9622
9623
|
cda_traffic_bytes: number;
|
|
9624
|
+
/**
|
|
9625
|
+
* Content management API traffic
|
|
9626
|
+
*/
|
|
9627
|
+
cma_traffic_bytes: number;
|
|
9623
9628
|
/**
|
|
9624
9629
|
* Uploads requests traffic
|
|
9625
9630
|
*/
|
|
@@ -9628,6 +9633,34 @@ export type DailyUsageAttributes = {
|
|
|
9628
9633
|
* Video streaming seconds
|
|
9629
9634
|
*/
|
|
9630
9635
|
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;
|
|
9631
9664
|
};
|
|
9632
9665
|
/**
|
|
9633
9666
|
* JSON API data
|
|
@@ -10032,16 +10065,6 @@ export type SiteMeta = {
|
|
|
10032
10065
|
*/
|
|
10033
10066
|
custom_upload_storage_settings?: boolean;
|
|
10034
10067
|
};
|
|
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
|
-
};
|
|
10045
10068
|
/**
|
|
10046
10069
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
10047
10070
|
* via the `self.targetSchema` link.
|
|
@@ -1468,6 +1468,21 @@ 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;
|
|
1471
1486
|
/**
|
|
1472
1487
|
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
1473
1488
|
* via the `instances.targetSchema` link.
|
|
@@ -1600,21 +1615,6 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1600
1615
|
};
|
|
1601
1616
|
[k: string]: unknown;
|
|
1602
1617
|
};
|
|
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,6 +9347,10 @@ 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;
|
|
9350
9354
|
/**
|
|
9351
9355
|
* Uploads requests traffic
|
|
9352
9356
|
*/
|
|
@@ -9355,6 +9359,21 @@ export type DailyUsage = {
|
|
|
9355
9359
|
* Video streaming seconds
|
|
9356
9360
|
*/
|
|
9357
9361
|
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;
|
|
9358
9377
|
};
|
|
9359
9378
|
/**
|
|
9360
9379
|
* JSON API data
|
|
@@ -9389,6 +9408,10 @@ export type DailyUsageAttributes = {
|
|
|
9389
9408
|
* Content delivery API traffic
|
|
9390
9409
|
*/
|
|
9391
9410
|
cda_traffic_bytes: number;
|
|
9411
|
+
/**
|
|
9412
|
+
* Content management API traffic
|
|
9413
|
+
*/
|
|
9414
|
+
cma_traffic_bytes: number;
|
|
9392
9415
|
/**
|
|
9393
9416
|
* Uploads requests traffic
|
|
9394
9417
|
*/
|
|
@@ -9397,6 +9420,19 @@ export type DailyUsageAttributes = {
|
|
|
9397
9420
|
* Video streaming seconds
|
|
9398
9421
|
*/
|
|
9399
9422
|
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;
|
|
9400
9436
|
};
|
|
9401
9437
|
/**
|
|
9402
9438
|
* 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.
|
|
@@ -9747,16 +9783,6 @@ export type SiteMeta = {
|
|
|
9747
9783
|
*/
|
|
9748
9784
|
custom_upload_storage_settings?: boolean;
|
|
9749
9785
|
};
|
|
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
|
-
};
|
|
9760
9786
|
/**
|
|
9761
9787
|
* JSON API attributes
|
|
9762
9788
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datocms/cma-client",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.7-alpha.1",
|
|
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.
|
|
44
|
+
"@datocms/dashboard-client": "^3.1.7-alpha.1",
|
|
45
45
|
"@types/uuid": "^9.0.7"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "dbdf058508daf88d1fa324124f033fc50fc22517"
|
|
48
48
|
}
|
package/src/generated/Client.ts
CHANGED
|
@@ -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.
|
|
142
|
+
userAgent: '@datocms/cma-client v3.1.7-alpha.1',
|
|
143
143
|
baseUrl: this.baseUrl,
|
|
144
144
|
preCallStack: new Error().stack,
|
|
145
145
|
extraHeaders: {
|
|
@@ -1201,6 +1201,21 @@ 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;
|
|
1204
1219
|
/**
|
|
1205
1220
|
* This interface was referenced by `UsageCounter`'s JSON-Schema
|
|
1206
1221
|
* via the `definition` "type".
|
|
@@ -1337,21 +1352,6 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1337
1352
|
};
|
|
1338
1353
|
[k: string]: unknown;
|
|
1339
1354
|
};
|
|
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,6 +10337,7 @@ export type DailyUsage = {
|
|
|
10337
10337
|
type: DailyUsageType;
|
|
10338
10338
|
id: DailyUsageIdentity;
|
|
10339
10339
|
attributes: DailyUsageAttributes;
|
|
10340
|
+
relationships?: DailyUsageRelationships;
|
|
10340
10341
|
};
|
|
10341
10342
|
|
|
10342
10343
|
/**
|
|
@@ -10362,6 +10363,10 @@ export type DailyUsageAttributes = {
|
|
|
10362
10363
|
* Content delivery API traffic
|
|
10363
10364
|
*/
|
|
10364
10365
|
cda_traffic_bytes: number;
|
|
10366
|
+
/**
|
|
10367
|
+
* Content management API traffic
|
|
10368
|
+
*/
|
|
10369
|
+
cma_traffic_bytes: number;
|
|
10365
10370
|
/**
|
|
10366
10371
|
* Uploads requests traffic
|
|
10367
10372
|
*/
|
|
@@ -10370,6 +10375,36 @@ export type DailyUsageAttributes = {
|
|
|
10370
10375
|
* Video streaming seconds
|
|
10371
10376
|
*/
|
|
10372
10377
|
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;
|
|
10373
10408
|
};
|
|
10374
10409
|
|
|
10375
10410
|
/**
|
|
@@ -10795,17 +10830,6 @@ export type SiteMeta = {
|
|
|
10795
10830
|
custom_upload_storage_settings?: boolean;
|
|
10796
10831
|
};
|
|
10797
10832
|
|
|
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
|
-
|
|
10809
10833
|
/**
|
|
10810
10834
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
10811
10835
|
* via the `self.targetSchema` link.
|
|
@@ -1476,6 +1476,21 @@ 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;
|
|
1479
1494
|
/**
|
|
1480
1495
|
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
1481
1496
|
* via the `instances.targetSchema` link.
|
|
@@ -1627,21 +1642,6 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1627
1642
|
};
|
|
1628
1643
|
[k: string]: unknown;
|
|
1629
1644
|
};
|
|
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,6 +9983,10 @@ 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;
|
|
9986
9990
|
/**
|
|
9987
9991
|
* Uploads requests traffic
|
|
9988
9992
|
*/
|
|
@@ -9991,6 +9995,22 @@ export type DailyUsage = {
|
|
|
9991
9995
|
* Video streaming seconds
|
|
9992
9996
|
*/
|
|
9993
9997
|
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;
|
|
9994
10014
|
};
|
|
9995
10015
|
|
|
9996
10016
|
/**
|
|
@@ -10027,6 +10047,10 @@ export type DailyUsageAttributes = {
|
|
|
10027
10047
|
* Content delivery API traffic
|
|
10028
10048
|
*/
|
|
10029
10049
|
cda_traffic_bytes: number;
|
|
10050
|
+
/**
|
|
10051
|
+
* Content management API traffic
|
|
10052
|
+
*/
|
|
10053
|
+
cma_traffic_bytes: number;
|
|
10030
10054
|
/**
|
|
10031
10055
|
* Uploads requests traffic
|
|
10032
10056
|
*/
|
|
@@ -10035,6 +10059,20 @@ export type DailyUsageAttributes = {
|
|
|
10035
10059
|
* Video streaming seconds
|
|
10036
10060
|
*/
|
|
10037
10061
|
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;
|
|
10038
10076
|
};
|
|
10039
10077
|
|
|
10040
10078
|
/**
|
|
@@ -10395,17 +10433,6 @@ export type SiteMeta = {
|
|
|
10395
10433
|
custom_upload_storage_settings?: boolean;
|
|
10396
10434
|
};
|
|
10397
10435
|
|
|
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
|
-
|
|
10409
10436
|
/**
|
|
10410
10437
|
* JSON API attributes
|
|
10411
10438
|
*
|