@datocms/cma-client 6.2.0 → 6.4.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.
- package/dist/cjs/generated/Client.js +1 -1
- package/dist/esm/generated/ApiTypes.d.ts +54 -54
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/RawApiTypes.d.ts +30 -30
- package/dist/types/generated/ApiTypes.d.ts +54 -54
- package/dist/types/generated/RawApiTypes.d.ts +30 -30
- package/package.json +2 -2
- package/src/generated/ApiTypes.ts +54 -50
- package/src/generated/Client.ts +1 -1
- package/src/generated/RawApiTypes.ts +30 -28
|
@@ -3377,9 +3377,9 @@ export type User = {
|
|
|
3377
3377
|
*/
|
|
3378
3378
|
email: string;
|
|
3379
3379
|
/**
|
|
3380
|
-
* Whether 2-factor authentication is active for this account or not
|
|
3380
|
+
* Whether 2-factor authentication is active for this account or not. It returns `null` if the credentials you are using cannot manage the collaborators of the project.
|
|
3381
3381
|
*/
|
|
3382
|
-
is_2fa_active: boolean;
|
|
3382
|
+
is_2fa_active: boolean | null;
|
|
3383
3383
|
/**
|
|
3384
3384
|
* Full name
|
|
3385
3385
|
*/
|
|
@@ -3402,7 +3402,7 @@ export type UserDestroyTargetSchema = User;
|
|
|
3402
3402
|
*/
|
|
3403
3403
|
export type UserMeta = {
|
|
3404
3404
|
/**
|
|
3405
|
-
* Date of last reading/interaction
|
|
3405
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the collaborators of the project.
|
|
3406
3406
|
*/
|
|
3407
3407
|
last_access: string | null;
|
|
3408
3408
|
};
|
|
@@ -3428,9 +3428,9 @@ export type UserAttributes = {
|
|
|
3428
3428
|
*/
|
|
3429
3429
|
email: string;
|
|
3430
3430
|
/**
|
|
3431
|
-
* Whether 2-factor authentication is active for this account or not
|
|
3431
|
+
* Whether 2-factor authentication is active for this account or not. It returns `null` if the credentials you are using cannot manage the collaborators of the project.
|
|
3432
3432
|
*/
|
|
3433
|
-
is_2fa_active: boolean;
|
|
3433
|
+
is_2fa_active: boolean | null;
|
|
3434
3434
|
/**
|
|
3435
3435
|
* Full name
|
|
3436
3436
|
*/
|
|
@@ -3476,7 +3476,7 @@ export type SsoUser = {
|
|
|
3476
3476
|
*/
|
|
3477
3477
|
username: string;
|
|
3478
3478
|
/**
|
|
3479
|
-
* Identity provider ID
|
|
3479
|
+
* Identity provider ID. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3480
3480
|
*/
|
|
3481
3481
|
external_id: string | null;
|
|
3482
3482
|
/**
|
|
@@ -3515,7 +3515,7 @@ export type SsoGroupData = {
|
|
|
3515
3515
|
*/
|
|
3516
3516
|
export type SsoUserMeta = {
|
|
3517
3517
|
/**
|
|
3518
|
-
* Date of last reading/interaction
|
|
3518
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3519
3519
|
*/
|
|
3520
3520
|
last_access: string | null;
|
|
3521
3521
|
};
|
|
@@ -3541,7 +3541,7 @@ export type SsoUserAttributes = {
|
|
|
3541
3541
|
*/
|
|
3542
3542
|
username: string;
|
|
3543
3543
|
/**
|
|
3544
|
-
* Identity provider ID
|
|
3544
|
+
* Identity provider ID. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3545
3545
|
*/
|
|
3546
3546
|
external_id: string | null;
|
|
3547
3547
|
/**
|
|
@@ -3610,9 +3610,10 @@ export type AccessToken = {
|
|
|
3610
3610
|
*/
|
|
3611
3611
|
hardcoded_type: null | string;
|
|
3612
3612
|
/**
|
|
3613
|
-
* When this API token was last used to access the Content Management API
|
|
3613
|
+
* When this API token was last used to access the Content Management API. It returns `null` if the credentials you are using cannot manage the API tokens of the project.
|
|
3614
3614
|
*/
|
|
3615
3615
|
last_cma_access:
|
|
3616
|
+
| null
|
|
3616
3617
|
| 'today'
|
|
3617
3618
|
| 'yesterday'
|
|
3618
3619
|
| 'this_week'
|
|
@@ -3621,9 +3622,10 @@ export type AccessToken = {
|
|
|
3621
3622
|
| 'last_month'
|
|
3622
3623
|
| 'never';
|
|
3623
3624
|
/**
|
|
3624
|
-
* When this API token was last used to access the Content Delivery API
|
|
3625
|
+
* When this API token was last used to access the Content Delivery API. It returns `null` if the credentials you are using cannot manage the API tokens of the project.
|
|
3625
3626
|
*/
|
|
3626
3627
|
last_cda_access:
|
|
3628
|
+
| null
|
|
3627
3629
|
| 'today'
|
|
3628
3630
|
| 'yesterday'
|
|
3629
3631
|
| 'this_week'
|
|
@@ -3680,9 +3682,10 @@ export type AccessTokenAttributes = {
|
|
|
3680
3682
|
*/
|
|
3681
3683
|
hardcoded_type: null | string;
|
|
3682
3684
|
/**
|
|
3683
|
-
* When this API token was last used to access the Content Management API
|
|
3685
|
+
* When this API token was last used to access the Content Management API. It returns `null` if the credentials you are using cannot manage the API tokens of the project.
|
|
3684
3686
|
*/
|
|
3685
3687
|
last_cma_access:
|
|
3688
|
+
| null
|
|
3686
3689
|
| 'today'
|
|
3687
3690
|
| 'yesterday'
|
|
3688
3691
|
| 'this_week'
|
|
@@ -3691,9 +3694,10 @@ export type AccessTokenAttributes = {
|
|
|
3691
3694
|
| 'last_month'
|
|
3692
3695
|
| 'never';
|
|
3693
3696
|
/**
|
|
3694
|
-
* When this API token was last used to access the Content Delivery API
|
|
3697
|
+
* When this API token was last used to access the Content Delivery API. It returns `null` if the credentials you are using cannot manage the API tokens of the project.
|
|
3695
3698
|
*/
|
|
3696
3699
|
last_cda_access:
|
|
3700
|
+
| null
|
|
3697
3701
|
| 'today'
|
|
3698
3702
|
| 'yesterday'
|
|
3699
3703
|
| 'this_week'
|
|
@@ -7228,9 +7232,9 @@ export type Plugin = {
|
|
|
7228
7232
|
*/
|
|
7229
7233
|
url: string;
|
|
7230
7234
|
/**
|
|
7231
|
-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
|
|
7235
|
+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits. It returns `null` if the credentials you are using cannot edit the schema of the project.
|
|
7232
7236
|
*/
|
|
7233
|
-
parameters: {
|
|
7237
|
+
parameters: null | {
|
|
7234
7238
|
[k: string]: unknown;
|
|
7235
7239
|
};
|
|
7236
7240
|
/**
|
|
@@ -7333,9 +7337,9 @@ export type PluginAttributes = {
|
|
|
7333
7337
|
*/
|
|
7334
7338
|
url: string;
|
|
7335
7339
|
/**
|
|
7336
|
-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
|
|
7340
|
+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits. It returns `null` if the credentials you are using cannot edit the schema of the project.
|
|
7337
7341
|
*/
|
|
7338
|
-
parameters: {
|
|
7342
|
+
parameters: null | {
|
|
7339
7343
|
[k: string]: unknown;
|
|
7340
7344
|
};
|
|
7341
7345
|
/**
|
|
@@ -9447,13 +9451,13 @@ export type Webhook = {
|
|
|
9447
9451
|
*/
|
|
9448
9452
|
http_basic_user: string | null;
|
|
9449
9453
|
/**
|
|
9450
|
-
* HTTP Basic Authorization password
|
|
9454
|
+
* HTTP Basic Authorization password. It is `null` when the webhook has no basic auth, or when the credentials you are using cannot manage the webhooks of the project.
|
|
9451
9455
|
*/
|
|
9452
9456
|
http_basic_password: string | null;
|
|
9453
9457
|
/**
|
|
9454
|
-
* Additional headers that will be sent
|
|
9458
|
+
* Additional headers that will be sent. It returns `null` if the credentials you are using cannot manage the webhooks of the project.
|
|
9455
9459
|
*/
|
|
9456
|
-
headers: {
|
|
9460
|
+
headers: null | {
|
|
9457
9461
|
[k: string]: string;
|
|
9458
9462
|
};
|
|
9459
9463
|
events: {
|
|
@@ -9549,13 +9553,13 @@ export type WebhookAttributes = {
|
|
|
9549
9553
|
*/
|
|
9550
9554
|
http_basic_user: string | null;
|
|
9551
9555
|
/**
|
|
9552
|
-
* HTTP Basic Authorization password
|
|
9556
|
+
* HTTP Basic Authorization password. It is `null` when the webhook has no basic auth, or when the credentials you are using cannot manage the webhooks of the project.
|
|
9553
9557
|
*/
|
|
9554
9558
|
http_basic_password: string | null;
|
|
9555
9559
|
/**
|
|
9556
|
-
* Additional headers that will be sent
|
|
9560
|
+
* Additional headers that will be sent. It returns `null` if the credentials you are using cannot manage the webhooks of the project.
|
|
9557
9561
|
*/
|
|
9558
|
-
headers: {
|
|
9562
|
+
headers: null | {
|
|
9559
9563
|
[k: string]: string;
|
|
9560
9564
|
};
|
|
9561
9565
|
events: {
|
|
@@ -9676,7 +9680,7 @@ export type WebhookCreateSchema = {
|
|
|
9676
9680
|
*/
|
|
9677
9681
|
http_basic_user: string | null;
|
|
9678
9682
|
/**
|
|
9679
|
-
* HTTP Basic Authorization password
|
|
9683
|
+
* HTTP Basic Authorization password. It is `null` when the webhook has no basic auth, or when the credentials you are using cannot manage the webhooks of the project.
|
|
9680
9684
|
*/
|
|
9681
9685
|
http_basic_password: string | null;
|
|
9682
9686
|
/**
|
|
@@ -9764,7 +9768,7 @@ export type WebhookUpdateSchema = {
|
|
|
9764
9768
|
*/
|
|
9765
9769
|
http_basic_user?: string | null;
|
|
9766
9770
|
/**
|
|
9767
|
-
* HTTP Basic Authorization password
|
|
9771
|
+
* HTTP Basic Authorization password. It is `null` when the webhook has no basic auth, or when the credentials you are using cannot manage the webhooks of the project.
|
|
9768
9772
|
*/
|
|
9769
9773
|
http_basic_password?: string | null;
|
|
9770
9774
|
/**
|
|
@@ -9995,9 +9999,9 @@ export type BuildTrigger = {
|
|
|
9995
9999
|
*/
|
|
9996
10000
|
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
|
|
9997
10001
|
/**
|
|
9998
|
-
* Additional settings for the build trigger. The value depends on the `adapter`.
|
|
10002
|
+
* Additional settings for the build trigger. The value depends on the `adapter`. It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
9999
10003
|
*/
|
|
10000
|
-
adapter_settings: {
|
|
10004
|
+
adapter_settings: null | {
|
|
10001
10005
|
[k: string]: unknown;
|
|
10002
10006
|
};
|
|
10003
10007
|
/**
|
|
@@ -10009,13 +10013,13 @@ export type BuildTrigger = {
|
|
|
10009
10013
|
*/
|
|
10010
10014
|
build_status: string;
|
|
10011
10015
|
/**
|
|
10012
|
-
* Unique token for the webhook (it's the same token present in `webhook_url`)
|
|
10016
|
+
* Unique token for the webhook (it's the same token present in `webhook_url`). It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10013
10017
|
*/
|
|
10014
|
-
webhook_token
|
|
10018
|
+
webhook_token: null | string;
|
|
10015
10019
|
/**
|
|
10016
|
-
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
|
|
10020
|
+
* The URL of the webhook your service has to call when the build completes to report it's status (success or error). It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10017
10021
|
*/
|
|
10018
|
-
webhook_url: string;
|
|
10022
|
+
webhook_url: null | string;
|
|
10019
10023
|
/**
|
|
10020
10024
|
* Status of Site Search for the frontend
|
|
10021
10025
|
*/
|
|
@@ -10057,9 +10061,9 @@ export type BuildTriggerAttributes = {
|
|
|
10057
10061
|
*/
|
|
10058
10062
|
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
|
|
10059
10063
|
/**
|
|
10060
|
-
* Additional settings for the build trigger. The value depends on the `adapter`.
|
|
10064
|
+
* Additional settings for the build trigger. The value depends on the `adapter`. It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10061
10065
|
*/
|
|
10062
|
-
adapter_settings: {
|
|
10066
|
+
adapter_settings: null | {
|
|
10063
10067
|
[k: string]: unknown;
|
|
10064
10068
|
};
|
|
10065
10069
|
/**
|
|
@@ -10071,13 +10075,13 @@ export type BuildTriggerAttributes = {
|
|
|
10071
10075
|
*/
|
|
10072
10076
|
build_status: string;
|
|
10073
10077
|
/**
|
|
10074
|
-
* Unique token for the webhook (it's the same token present in `webhook_url`)
|
|
10078
|
+
* Unique token for the webhook (it's the same token present in `webhook_url`). It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10075
10079
|
*/
|
|
10076
|
-
webhook_token
|
|
10080
|
+
webhook_token: null | string;
|
|
10077
10081
|
/**
|
|
10078
|
-
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
|
|
10082
|
+
* The URL of the webhook your service has to call when the build completes to report it's status (success or error). It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10079
10083
|
*/
|
|
10080
|
-
webhook_url: string;
|
|
10084
|
+
webhook_url: null | string;
|
|
10081
10085
|
/**
|
|
10082
10086
|
* Status of Site Search for the frontend
|
|
10083
10087
|
*/
|
|
@@ -11758,7 +11762,7 @@ export type Site = {
|
|
|
11758
11762
|
*/
|
|
11759
11763
|
domain: string | null;
|
|
11760
11764
|
/**
|
|
11761
|
-
* Google API Key to be used by the LatLon
|
|
11765
|
+
* Google API Key to be used by the LatLon field editor. Only the DatoCMS interface uses it: it returns `null` for any other caller.
|
|
11762
11766
|
*/
|
|
11763
11767
|
google_maps_api_token: string | null;
|
|
11764
11768
|
/**
|
|
@@ -11766,7 +11770,7 @@ export type Site = {
|
|
|
11766
11770
|
*/
|
|
11767
11771
|
imgix_host: string | null;
|
|
11768
11772
|
/**
|
|
11769
|
-
* DatoCMS internal domain for the administrative area
|
|
11773
|
+
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
11770
11774
|
*/
|
|
11771
11775
|
internal_domain: string | null;
|
|
11772
11776
|
/**
|
|
@@ -11790,13 +11794,13 @@ export type Site = {
|
|
|
11790
11794
|
*/
|
|
11791
11795
|
last_data_change_at: null | string;
|
|
11792
11796
|
/**
|
|
11793
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
11797
|
+
* Specifies whether all users of this site need to authenticate using two-factor authentication. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
11794
11798
|
*/
|
|
11795
|
-
require_2fa: boolean;
|
|
11799
|
+
require_2fa: boolean | null;
|
|
11796
11800
|
/**
|
|
11797
|
-
* Specifies whether you want IPs to be tracked in the Project usages section
|
|
11801
|
+
* Specifies whether you want IPs to be tracked in the Project usages section. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
11798
11802
|
*/
|
|
11799
|
-
ip_tracking_enabled: boolean;
|
|
11803
|
+
ip_tracking_enabled: boolean | null;
|
|
11800
11804
|
/**
|
|
11801
11805
|
* If enabled, blocks schema changes of primary environment
|
|
11802
11806
|
*/
|
|
@@ -12105,7 +12109,7 @@ export type SiteAttributes = {
|
|
|
12105
12109
|
*/
|
|
12106
12110
|
domain: string | null;
|
|
12107
12111
|
/**
|
|
12108
|
-
* Google API Key to be used by the LatLon
|
|
12112
|
+
* Google API Key to be used by the LatLon field editor. Only the DatoCMS interface uses it: it returns `null` for any other caller.
|
|
12109
12113
|
*/
|
|
12110
12114
|
google_maps_api_token: string | null;
|
|
12111
12115
|
/**
|
|
@@ -12113,7 +12117,7 @@ export type SiteAttributes = {
|
|
|
12113
12117
|
*/
|
|
12114
12118
|
imgix_host: string | null;
|
|
12115
12119
|
/**
|
|
12116
|
-
* DatoCMS internal domain for the administrative area
|
|
12120
|
+
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
12117
12121
|
*/
|
|
12118
12122
|
internal_domain: string | null;
|
|
12119
12123
|
/**
|
|
@@ -12137,13 +12141,13 @@ export type SiteAttributes = {
|
|
|
12137
12141
|
*/
|
|
12138
12142
|
last_data_change_at: null | string;
|
|
12139
12143
|
/**
|
|
12140
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
12144
|
+
* Specifies whether all users of this site need to authenticate using two-factor authentication. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
12141
12145
|
*/
|
|
12142
|
-
require_2fa: boolean;
|
|
12146
|
+
require_2fa: boolean | null;
|
|
12143
12147
|
/**
|
|
12144
|
-
* Specifies whether you want IPs to be tracked in the Project usages section
|
|
12148
|
+
* Specifies whether you want IPs to be tracked in the Project usages section. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
12145
12149
|
*/
|
|
12146
|
-
ip_tracking_enabled: boolean;
|
|
12150
|
+
ip_tracking_enabled: boolean | null;
|
|
12147
12151
|
/**
|
|
12148
12152
|
* If enabled, blocks schema changes of primary environment
|
|
12149
12153
|
*/
|
|
@@ -12529,11 +12533,11 @@ export type SiteUpdateSchema = {
|
|
|
12529
12533
|
*/
|
|
12530
12534
|
timezone?: string;
|
|
12531
12535
|
/**
|
|
12532
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
12536
|
+
* Specifies whether all users of this site need to authenticate using two-factor authentication.
|
|
12533
12537
|
*/
|
|
12534
12538
|
require_2fa?: boolean;
|
|
12535
12539
|
/**
|
|
12536
|
-
* Specifies whether you want IPs to be tracked in the Project usages section
|
|
12540
|
+
* Specifies whether you want IPs to be tracked in the Project usages section.
|
|
12537
12541
|
*/
|
|
12538
12542
|
ip_tracking_enabled?: boolean;
|
|
12539
12543
|
/**
|
package/src/generated/Client.ts
CHANGED
|
@@ -151,7 +151,7 @@ export class Client {
|
|
|
151
151
|
...this.config,
|
|
152
152
|
...options,
|
|
153
153
|
logFn: this.config.logFn || console.log,
|
|
154
|
-
userAgent: '@datocms/cma-client v6.
|
|
154
|
+
userAgent: '@datocms/cma-client v6.4.0',
|
|
155
155
|
baseUrl: this.baseUrl,
|
|
156
156
|
preCallStack: new Error().stack,
|
|
157
157
|
extraHeaders: {
|
|
@@ -2908,9 +2908,9 @@ export type UserAttributes = {
|
|
|
2908
2908
|
*/
|
|
2909
2909
|
email: string;
|
|
2910
2910
|
/**
|
|
2911
|
-
* Whether 2-factor authentication is active for this account or not
|
|
2911
|
+
* Whether 2-factor authentication is active for this account or not. It returns `null` if the credentials you are using cannot manage the collaborators of the project.
|
|
2912
2912
|
*/
|
|
2913
|
-
is_2fa_active: boolean;
|
|
2913
|
+
is_2fa_active: boolean | null;
|
|
2914
2914
|
/**
|
|
2915
2915
|
* Full name
|
|
2916
2916
|
*/
|
|
@@ -2942,7 +2942,7 @@ export type UserRelationships = {
|
|
|
2942
2942
|
*/
|
|
2943
2943
|
export type UserMeta = {
|
|
2944
2944
|
/**
|
|
2945
|
-
* Date of last reading/interaction
|
|
2945
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the collaborators of the project.
|
|
2946
2946
|
*/
|
|
2947
2947
|
last_access: string | null;
|
|
2948
2948
|
};
|
|
@@ -3035,7 +3035,7 @@ export type SsoUserAttributes = {
|
|
|
3035
3035
|
*/
|
|
3036
3036
|
username: string;
|
|
3037
3037
|
/**
|
|
3038
|
-
* Identity provider ID
|
|
3038
|
+
* Identity provider ID. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3039
3039
|
*/
|
|
3040
3040
|
external_id: string | null;
|
|
3041
3041
|
/**
|
|
@@ -3089,7 +3089,7 @@ export type SsoGroupData = {
|
|
|
3089
3089
|
*/
|
|
3090
3090
|
export type SsoUserMeta = {
|
|
3091
3091
|
/**
|
|
3092
|
-
* Date of last reading/interaction
|
|
3092
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3093
3093
|
*/
|
|
3094
3094
|
last_access: string | null;
|
|
3095
3095
|
};
|
|
@@ -3184,9 +3184,10 @@ export type AccessTokenAttributes = {
|
|
|
3184
3184
|
*/
|
|
3185
3185
|
hardcoded_type: null | string;
|
|
3186
3186
|
/**
|
|
3187
|
-
* When this API token was last used to access the Content Management API
|
|
3187
|
+
* When this API token was last used to access the Content Management API. It returns `null` if the credentials you are using cannot manage the API tokens of the project.
|
|
3188
3188
|
*/
|
|
3189
3189
|
last_cma_access:
|
|
3190
|
+
| null
|
|
3190
3191
|
| 'today'
|
|
3191
3192
|
| 'yesterday'
|
|
3192
3193
|
| 'this_week'
|
|
@@ -3195,9 +3196,10 @@ export type AccessTokenAttributes = {
|
|
|
3195
3196
|
| 'last_month'
|
|
3196
3197
|
| 'never';
|
|
3197
3198
|
/**
|
|
3198
|
-
* When this API token was last used to access the Content Delivery API
|
|
3199
|
+
* When this API token was last used to access the Content Delivery API. It returns `null` if the credentials you are using cannot manage the API tokens of the project.
|
|
3199
3200
|
*/
|
|
3200
3201
|
last_cda_access:
|
|
3202
|
+
| null
|
|
3201
3203
|
| 'today'
|
|
3202
3204
|
| 'yesterday'
|
|
3203
3205
|
| 'this_week'
|
|
@@ -6952,9 +6954,9 @@ export type PluginAttributes = {
|
|
|
6952
6954
|
*/
|
|
6953
6955
|
url: string;
|
|
6954
6956
|
/**
|
|
6955
|
-
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits.
|
|
6957
|
+
* Global plugin configuration. Plugins can persist whatever information they want in this object to reuse it later. Refer to the CMA for details about technical limits. It returns `null` if the credentials you are using cannot edit the schema of the project.
|
|
6956
6958
|
*/
|
|
6957
|
-
parameters: {
|
|
6959
|
+
parameters: null | {
|
|
6958
6960
|
[k: string]: unknown;
|
|
6959
6961
|
};
|
|
6960
6962
|
/**
|
|
@@ -9704,13 +9706,13 @@ export type WebhookAttributes = {
|
|
|
9704
9706
|
*/
|
|
9705
9707
|
http_basic_user: string | null;
|
|
9706
9708
|
/**
|
|
9707
|
-
* HTTP Basic Authorization password
|
|
9709
|
+
* HTTP Basic Authorization password. It is `null` when the webhook has no basic auth, or when the credentials you are using cannot manage the webhooks of the project.
|
|
9708
9710
|
*/
|
|
9709
9711
|
http_basic_password: string | null;
|
|
9710
9712
|
/**
|
|
9711
|
-
* Additional headers that will be sent
|
|
9713
|
+
* Additional headers that will be sent. It returns `null` if the credentials you are using cannot manage the webhooks of the project.
|
|
9712
9714
|
*/
|
|
9713
|
-
headers: {
|
|
9715
|
+
headers: null | {
|
|
9714
9716
|
[k: string]: string;
|
|
9715
9717
|
};
|
|
9716
9718
|
events: {
|
|
@@ -9843,7 +9845,7 @@ export type WebhookCreateSchema = {
|
|
|
9843
9845
|
*/
|
|
9844
9846
|
http_basic_user: string | null;
|
|
9845
9847
|
/**
|
|
9846
|
-
* HTTP Basic Authorization password
|
|
9848
|
+
* HTTP Basic Authorization password. It is `null` when the webhook has no basic auth, or when the credentials you are using cannot manage the webhooks of the project.
|
|
9847
9849
|
*/
|
|
9848
9850
|
http_basic_password: string | null;
|
|
9849
9851
|
/**
|
|
@@ -9942,7 +9944,7 @@ export type WebhookUpdateSchema = {
|
|
|
9942
9944
|
*/
|
|
9943
9945
|
http_basic_user?: string | null;
|
|
9944
9946
|
/**
|
|
9945
|
-
* HTTP Basic Authorization password
|
|
9947
|
+
* HTTP Basic Authorization password. It is `null` when the webhook has no basic auth, or when the credentials you are using cannot manage the webhooks of the project.
|
|
9946
9948
|
*/
|
|
9947
9949
|
http_basic_password?: string | null;
|
|
9948
9950
|
/**
|
|
@@ -10161,9 +10163,9 @@ export type BuildTriggerAttributes = {
|
|
|
10161
10163
|
*/
|
|
10162
10164
|
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
|
|
10163
10165
|
/**
|
|
10164
|
-
* Additional settings for the build trigger. The value depends on the `adapter`.
|
|
10166
|
+
* Additional settings for the build trigger. The value depends on the `adapter`. It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10165
10167
|
*/
|
|
10166
|
-
adapter_settings: {
|
|
10168
|
+
adapter_settings: null | {
|
|
10167
10169
|
[k: string]: unknown;
|
|
10168
10170
|
};
|
|
10169
10171
|
/**
|
|
@@ -10175,13 +10177,13 @@ export type BuildTriggerAttributes = {
|
|
|
10175
10177
|
*/
|
|
10176
10178
|
build_status: string;
|
|
10177
10179
|
/**
|
|
10178
|
-
* Unique token for the webhook (it's the same token present in `webhook_url`)
|
|
10180
|
+
* Unique token for the webhook (it's the same token present in `webhook_url`). It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10179
10181
|
*/
|
|
10180
|
-
webhook_token
|
|
10182
|
+
webhook_token: null | string;
|
|
10181
10183
|
/**
|
|
10182
|
-
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
|
|
10184
|
+
* The URL of the webhook your service has to call when the build completes to report it's status (success or error). It returns `null` if the credentials you are using cannot manage the build triggers of the project.
|
|
10183
10185
|
*/
|
|
10184
|
-
webhook_url: string;
|
|
10186
|
+
webhook_url: null | string;
|
|
10185
10187
|
/**
|
|
10186
10188
|
* Status of Site Search for the frontend
|
|
10187
10189
|
*/
|
|
@@ -12029,7 +12031,7 @@ export type SiteAttributes = {
|
|
|
12029
12031
|
*/
|
|
12030
12032
|
domain: string | null;
|
|
12031
12033
|
/**
|
|
12032
|
-
* Google API Key to be used by the LatLon
|
|
12034
|
+
* Google API Key to be used by the LatLon field editor. Only the DatoCMS interface uses it: it returns `null` for any other caller.
|
|
12033
12035
|
*/
|
|
12034
12036
|
google_maps_api_token: string | null;
|
|
12035
12037
|
/**
|
|
@@ -12037,7 +12039,7 @@ export type SiteAttributes = {
|
|
|
12037
12039
|
*/
|
|
12038
12040
|
imgix_host: string | null;
|
|
12039
12041
|
/**
|
|
12040
|
-
* DatoCMS internal domain for the administrative area
|
|
12042
|
+
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
12041
12043
|
*/
|
|
12042
12044
|
internal_domain: string | null;
|
|
12043
12045
|
/**
|
|
@@ -12061,13 +12063,13 @@ export type SiteAttributes = {
|
|
|
12061
12063
|
*/
|
|
12062
12064
|
last_data_change_at: null | string;
|
|
12063
12065
|
/**
|
|
12064
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
12066
|
+
* Specifies whether all users of this site need to authenticate using two-factor authentication. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
12065
12067
|
*/
|
|
12066
|
-
require_2fa: boolean;
|
|
12068
|
+
require_2fa: boolean | null;
|
|
12067
12069
|
/**
|
|
12068
|
-
* Specifies whether you want IPs to be tracked in the Project usages section
|
|
12070
|
+
* Specifies whether you want IPs to be tracked in the Project usages section. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
12069
12071
|
*/
|
|
12070
|
-
ip_tracking_enabled: boolean;
|
|
12072
|
+
ip_tracking_enabled: boolean | null;
|
|
12071
12073
|
/**
|
|
12072
12074
|
* If enabled, blocks schema changes of primary environment
|
|
12073
12075
|
*/
|
|
@@ -12543,11 +12545,11 @@ export type SiteUpdateSchema = {
|
|
|
12543
12545
|
*/
|
|
12544
12546
|
timezone?: string;
|
|
12545
12547
|
/**
|
|
12546
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
12548
|
+
* Specifies whether all users of this site need to authenticate using two-factor authentication.
|
|
12547
12549
|
*/
|
|
12548
12550
|
require_2fa?: boolean;
|
|
12549
12551
|
/**
|
|
12550
|
-
* Specifies whether you want IPs to be tracked in the Project usages section
|
|
12552
|
+
* Specifies whether you want IPs to be tracked in the Project usages section.
|
|
12551
12553
|
*/
|
|
12552
12554
|
ip_tracking_enabled?: boolean;
|
|
12553
12555
|
/**
|