@datocms/cma-client 3.1.6 → 3.1.7-alpha.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.
@@ -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.6', 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.0', 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;IAoDE,gBAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,IAAI,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,cAAc,GAAG,IAAI,SAAS,CAAC,aA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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.6', 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.0', 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,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,IAAI,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,cAAc,GAAG,IAAI,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC9C,IAAI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KAAK,EAAE,CAAC,KAAK,EAC/B,YAAY,iCACP,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,GAChC,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW;gBACzB,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE;gBAC9C,CAAC,CAAC,EAAE,CAAC,KACP,eAAe,EAAE,GAAG,KAEtB,cAAc,EAAE,UAAC,KAAa;gBAC5B,OAAO,KAAI,CAAC,iBAAiB;oBAC3B,CAAC,CAAC,KAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC;oBAC/B,CAAC,CAAC,aAAa,CAAC,cAAM,OAAA,KAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,EAA3B,CAA2B,CAAC,CAAC;YACvD,CAAC,IACD,CAAC;IACL,CAAC;IAEK,kCAAiB,GAAvB;;;;;;wBACE,IAAI,IAAI,CAAC,uBAAuB,EAAE;4BAChC,sBAAO,IAAI,CAAC,uBAAuB,EAAC;yBACrC;wBAEsB,qBAAM,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAA;;wBAAlC,IAAI,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;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.
@@ -8285,49 +8285,49 @@ export type BuildTrigger = {
8285
8285
  */
8286
8286
  export type BuildTriggerAttributes = {
8287
8287
  /**
8288
- * Name of the build trigger
8288
+ * Name of the environment
8289
8289
  */
8290
8290
  name: string;
8291
8291
  /**
8292
- * The type of build trigger
8292
+ * The deploy adapter
8293
8293
  */
8294
- adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
8294
+ adapter: string;
8295
8295
  /**
8296
- * Additional settings for the build trigger. The value depends on the `adapter`.
8296
+ * Additional configuration for deploy
8297
8297
  */
8298
8298
  adapter_settings: {
8299
8299
  [k: string]: unknown;
8300
8300
  };
8301
8301
  /**
8302
- * Timestamp of the last build
8302
+ * Timestamp of the last deploy
8303
8303
  */
8304
8304
  last_build_completed_at: string | null;
8305
8305
  /**
8306
- * Status of last build
8306
+ * Status of last deploy
8307
8307
  */
8308
8308
  build_status: string;
8309
8309
  /**
8310
- * Unique token for the webhook (it's the same token present in `webhook_url`)
8310
+ * Unique token of the webhook
8311
8311
  */
8312
8312
  webhook_token?: string;
8313
8313
  /**
8314
- * The URL of the webhook your service has to call when the build completes to report it's status (success or error)
8314
+ * Notification webhook URL
8315
8315
  */
8316
8316
  webhook_url: string;
8317
8317
  /**
8318
- * Status of Site Search for the frontend
8318
+ * Status of site scraper
8319
8319
  */
8320
8320
  indexing_status: string;
8321
8321
  /**
8322
- * The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
8322
+ * Public url of the site
8323
8323
  */
8324
8324
  frontend_url: string | null;
8325
8325
  /**
8326
- * Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
8326
+ * Deploy on scheduled publication
8327
8327
  */
8328
8328
  autotrigger_on_scheduled_publications: boolean;
8329
8329
  /**
8330
- * Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
8330
+ * Enable scraper on the site
8331
8331
  */
8332
8332
  indexing_enabled: boolean;
8333
8333
  };
@@ -8354,31 +8354,31 @@ export type BuildTriggerCreateSchema = {
8354
8354
  type: BuildTriggerType;
8355
8355
  attributes: {
8356
8356
  /**
8357
- * Name of the build trigger
8357
+ * Name of the environment
8358
8358
  */
8359
8359
  name: string;
8360
8360
  /**
8361
- * Unique token for the webhook (it's the same token present in `webhook_url`)
8361
+ * Unique token of the webhook
8362
8362
  */
8363
8363
  webhook_token?: string;
8364
8364
  /**
8365
- * The type of build trigger
8365
+ * The deploy adapter
8366
8366
  */
8367
- adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
8367
+ adapter: string;
8368
8368
  /**
8369
- * Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
8369
+ * Enable scraper on the site
8370
8370
  */
8371
8371
  indexing_enabled: boolean;
8372
8372
  /**
8373
- * The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
8373
+ * Public url of the site
8374
8374
  */
8375
8375
  frontend_url: string | null;
8376
8376
  /**
8377
- * Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
8377
+ * Deploy on scheduled publication
8378
8378
  */
8379
8379
  autotrigger_on_scheduled_publications: boolean;
8380
8380
  /**
8381
- * Additional settings for the build trigger. The value depends on the `adapter`.
8381
+ * Additional configuration for deploy
8382
8382
  */
8383
8383
  adapter_settings: {
8384
8384
  [k: string]: unknown;
@@ -8403,27 +8403,27 @@ export type BuildTriggerUpdateSchema = {
8403
8403
  id: BuildTriggerIdentity;
8404
8404
  attributes: {
8405
8405
  /**
8406
- * Name of the build trigger
8406
+ * Name of the environment
8407
8407
  */
8408
8408
  name?: string;
8409
8409
  /**
8410
- * The type of build trigger
8410
+ * The deploy adapter
8411
8411
  */
8412
- adapter?: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
8412
+ adapter?: string;
8413
8413
  /**
8414
- * Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
8414
+ * Enable scraper on the site
8415
8415
  */
8416
8416
  indexing_enabled?: boolean;
8417
8417
  /**
8418
- * The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
8418
+ * Public url of the site
8419
8419
  */
8420
8420
  frontend_url?: string | null;
8421
8421
  /**
8422
- * Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
8422
+ * Deploy on scheduled publication
8423
8423
  */
8424
8424
  autotrigger_on_scheduled_publications?: boolean;
8425
8425
  /**
8426
- * Additional settings for the build trigger. The value depends on the `adapter`.
8426
+ * Additional configuration for deploy
8427
8427
  */
8428
8428
  adapter_settings?: {
8429
8429
  [k: string]: unknown;
@@ -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.
@@ -8197,49 +8197,49 @@ export type BuildTrigger = {
8197
8197
  id: BuildTriggerIdentity;
8198
8198
  type: BuildTriggerType;
8199
8199
  /**
8200
- * Name of the build trigger
8200
+ * Name of the environment
8201
8201
  */
8202
8202
  name: string;
8203
8203
  /**
8204
- * The type of build trigger
8204
+ * The deploy adapter
8205
8205
  */
8206
- adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
8206
+ adapter: string;
8207
8207
  /**
8208
- * Additional settings for the build trigger. The value depends on the `adapter`.
8208
+ * Additional configuration for deploy
8209
8209
  */
8210
8210
  adapter_settings: {
8211
8211
  [k: string]: unknown;
8212
8212
  };
8213
8213
  /**
8214
- * Timestamp of the last build
8214
+ * Timestamp of the last deploy
8215
8215
  */
8216
8216
  last_build_completed_at: string | null;
8217
8217
  /**
8218
- * Status of last build
8218
+ * Status of last deploy
8219
8219
  */
8220
8220
  build_status: string;
8221
8221
  /**
8222
- * Unique token for the webhook (it's the same token present in `webhook_url`)
8222
+ * Unique token of the webhook
8223
8223
  */
8224
8224
  webhook_token?: string;
8225
8225
  /**
8226
- * The URL of the webhook your service has to call when the build completes to report it's status (success or error)
8226
+ * Notification webhook URL
8227
8227
  */
8228
8228
  webhook_url: string;
8229
8229
  /**
8230
- * Status of Site Search for the frontend
8230
+ * Status of site scraper
8231
8231
  */
8232
8232
  indexing_status: string;
8233
8233
  /**
8234
- * The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
8234
+ * Public url of the site
8235
8235
  */
8236
8236
  frontend_url: string | null;
8237
8237
  /**
8238
- * Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
8238
+ * Deploy on scheduled publication
8239
8239
  */
8240
8240
  autotrigger_on_scheduled_publications: boolean;
8241
8241
  /**
8242
- * Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
8242
+ * Enable scraper on the site
8243
8243
  */
8244
8244
  indexing_enabled: boolean;
8245
8245
  };
@@ -8255,49 +8255,49 @@ export type BuildTriggerDestroyTargetSchema = BuildTrigger;
8255
8255
  */
8256
8256
  export type BuildTriggerAttributes = {
8257
8257
  /**
8258
- * Name of the build trigger
8258
+ * Name of the environment
8259
8259
  */
8260
8260
  name: string;
8261
8261
  /**
8262
- * The type of build trigger
8262
+ * The deploy adapter
8263
8263
  */
8264
- adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
8264
+ adapter: string;
8265
8265
  /**
8266
- * Additional settings for the build trigger. The value depends on the `adapter`.
8266
+ * Additional configuration for deploy
8267
8267
  */
8268
8268
  adapter_settings: {
8269
8269
  [k: string]: unknown;
8270
8270
  };
8271
8271
  /**
8272
- * Timestamp of the last build
8272
+ * Timestamp of the last deploy
8273
8273
  */
8274
8274
  last_build_completed_at: string | null;
8275
8275
  /**
8276
- * Status of last build
8276
+ * Status of last deploy
8277
8277
  */
8278
8278
  build_status: string;
8279
8279
  /**
8280
- * Unique token for the webhook (it's the same token present in `webhook_url`)
8280
+ * Unique token of the webhook
8281
8281
  */
8282
8282
  webhook_token?: string;
8283
8283
  /**
8284
- * The URL of the webhook your service has to call when the build completes to report it's status (success or error)
8284
+ * Notification webhook URL
8285
8285
  */
8286
8286
  webhook_url: string;
8287
8287
  /**
8288
- * Status of Site Search for the frontend
8288
+ * Status of site scraper
8289
8289
  */
8290
8290
  indexing_status: string;
8291
8291
  /**
8292
- * The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
8292
+ * Public url of the site
8293
8293
  */
8294
8294
  frontend_url: string | null;
8295
8295
  /**
8296
- * Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
8296
+ * Deploy on scheduled publication
8297
8297
  */
8298
8298
  autotrigger_on_scheduled_publications: boolean;
8299
8299
  /**
8300
- * Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
8300
+ * Enable scraper on the site
8301
8301
  */
8302
8302
  indexing_enabled: boolean;
8303
8303
  };
@@ -8308,31 +8308,31 @@ export type BuildTriggerAttributes = {
8308
8308
  export type BuildTriggerCreateSchema = {
8309
8309
  type?: BuildTriggerType;
8310
8310
  /**
8311
- * Name of the build trigger
8311
+ * Name of the environment
8312
8312
  */
8313
8313
  name: string;
8314
8314
  /**
8315
- * Unique token for the webhook (it's the same token present in `webhook_url`)
8315
+ * Unique token of the webhook
8316
8316
  */
8317
8317
  webhook_token?: string;
8318
8318
  /**
8319
- * The type of build trigger
8319
+ * The deploy adapter
8320
8320
  */
8321
- adapter: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
8321
+ adapter: string;
8322
8322
  /**
8323
- * Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
8323
+ * Enable scraper on the site
8324
8324
  */
8325
8325
  indexing_enabled: boolean;
8326
8326
  /**
8327
- * The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
8327
+ * Public url of the site
8328
8328
  */
8329
8329
  frontend_url: string | null;
8330
8330
  /**
8331
- * Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
8331
+ * Deploy on scheduled publication
8332
8332
  */
8333
8333
  autotrigger_on_scheduled_publications: boolean;
8334
8334
  /**
8335
- * Additional settings for the build trigger. The value depends on the `adapter`.
8335
+ * Additional configuration for deploy
8336
8336
  */
8337
8337
  adapter_settings: {
8338
8338
  [k: string]: unknown;
@@ -8346,27 +8346,27 @@ export type BuildTriggerUpdateSchema = {
8346
8346
  id?: BuildTriggerIdentity;
8347
8347
  type?: BuildTriggerType;
8348
8348
  /**
8349
- * Name of the build trigger
8349
+ * Name of the environment
8350
8350
  */
8351
8351
  name?: string;
8352
8352
  /**
8353
- * The type of build trigger
8353
+ * The deploy adapter
8354
8354
  */
8355
- adapter?: 'custom' | 'netlify' | 'vercel' | 'circle_ci' | 'gitlab' | 'travis';
8355
+ adapter?: string;
8356
8356
  /**
8357
- * Wether Site Search is enabled or not. With Site Search, everytime the website is built, DatoCMS will respider it to get updated content
8357
+ * Enable scraper on the site
8358
8358
  */
8359
8359
  indexing_enabled?: boolean;
8360
8360
  /**
8361
- * The public URL of the frontend. If Site Search is enabled (indicated by `indexing_enabled`), this is the starting point from which the website's spidering will start
8361
+ * Public url of the site
8362
8362
  */
8363
8363
  frontend_url?: string | null;
8364
8364
  /**
8365
- * Wheter an automatic build request to `webhook_url` should be made on scheduled publications/unpublishings
8365
+ * Deploy on scheduled publication
8366
8366
  */
8367
8367
  autotrigger_on_scheduled_publications?: boolean;
8368
8368
  /**
8369
- * Additional settings for the build trigger. The value depends on the `adapter`.
8369
+ * Additional configuration for deploy
8370
8370
  */
8371
8371
  adapter_settings?: {
8372
8372
  [k: string]: unknown;
@@ -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
  *