@datocms/cma-client 6.3.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 +46 -46
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/RawApiTypes.d.ts +25 -25
- package/dist/types/generated/ApiTypes.d.ts +46 -46
- package/dist/types/generated/RawApiTypes.d.ts +25 -25
- package/package.json +2 -2
- package/src/generated/ApiTypes.ts +46 -42
- package/src/generated/Client.ts +1 -1
- package/src/generated/RawApiTypes.ts +25 -23
|
@@ -90,7 +90,7 @@ class Client {
|
|
|
90
90
|
return this.config.baseUrl || Client.defaultBaseUrl;
|
|
91
91
|
}
|
|
92
92
|
request(options) {
|
|
93
|
-
return (0, rest_client_utils_1.request)(Object.assign(Object.assign(Object.assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v6.
|
|
93
|
+
return (0, rest_client_utils_1.request)(Object.assign(Object.assign(Object.assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v6.4.0', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: Object.assign(Object.assign(Object.assign({}, (this.config.extraHeaders || {})), (this.config.environment
|
|
94
94
|
? { 'X-Environment': this.config.environment }
|
|
95
95
|
: {})), { 'X-API-Version': '3' }), fetchJobResult: (jobId) => {
|
|
96
96
|
return this.jobResultsFetcher
|
|
@@ -3095,9 +3095,9 @@ export type User = {
|
|
|
3095
3095
|
*/
|
|
3096
3096
|
email: string;
|
|
3097
3097
|
/**
|
|
3098
|
-
* Whether 2-factor authentication is active for this account or not
|
|
3098
|
+
* 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.
|
|
3099
3099
|
*/
|
|
3100
|
-
is_2fa_active: boolean;
|
|
3100
|
+
is_2fa_active: boolean | null;
|
|
3101
3101
|
/**
|
|
3102
3102
|
* Full name
|
|
3103
3103
|
*/
|
|
@@ -3120,7 +3120,7 @@ export type UserDestroyTargetSchema = User;
|
|
|
3120
3120
|
*/
|
|
3121
3121
|
export type UserMeta = {
|
|
3122
3122
|
/**
|
|
3123
|
-
* Date of last reading/interaction
|
|
3123
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the collaborators of the project.
|
|
3124
3124
|
*/
|
|
3125
3125
|
last_access: string | null;
|
|
3126
3126
|
};
|
|
@@ -3146,9 +3146,9 @@ export type UserAttributes = {
|
|
|
3146
3146
|
*/
|
|
3147
3147
|
email: string;
|
|
3148
3148
|
/**
|
|
3149
|
-
* Whether 2-factor authentication is active for this account or not
|
|
3149
|
+
* 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.
|
|
3150
3150
|
*/
|
|
3151
|
-
is_2fa_active: boolean;
|
|
3151
|
+
is_2fa_active: boolean | null;
|
|
3152
3152
|
/**
|
|
3153
3153
|
* Full name
|
|
3154
3154
|
*/
|
|
@@ -3194,7 +3194,7 @@ export type SsoUser = {
|
|
|
3194
3194
|
*/
|
|
3195
3195
|
username: string;
|
|
3196
3196
|
/**
|
|
3197
|
-
* Identity provider ID
|
|
3197
|
+
* Identity provider ID. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3198
3198
|
*/
|
|
3199
3199
|
external_id: string | null;
|
|
3200
3200
|
/**
|
|
@@ -3233,7 +3233,7 @@ export type SsoGroupData = {
|
|
|
3233
3233
|
*/
|
|
3234
3234
|
export type SsoUserMeta = {
|
|
3235
3235
|
/**
|
|
3236
|
-
* Date of last reading/interaction
|
|
3236
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3237
3237
|
*/
|
|
3238
3238
|
last_access: string | null;
|
|
3239
3239
|
};
|
|
@@ -3259,7 +3259,7 @@ export type SsoUserAttributes = {
|
|
|
3259
3259
|
*/
|
|
3260
3260
|
username: string;
|
|
3261
3261
|
/**
|
|
3262
|
-
* Identity provider ID
|
|
3262
|
+
* Identity provider ID. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
3263
3263
|
*/
|
|
3264
3264
|
external_id: string | null;
|
|
3265
3265
|
/**
|
|
@@ -3328,13 +3328,13 @@ export type AccessToken = {
|
|
|
3328
3328
|
*/
|
|
3329
3329
|
hardcoded_type: null | string;
|
|
3330
3330
|
/**
|
|
3331
|
-
* When this API token was last used to access the Content Management API
|
|
3331
|
+
* 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.
|
|
3332
3332
|
*/
|
|
3333
|
-
last_cma_access: 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3333
|
+
last_cma_access: null | 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3334
3334
|
/**
|
|
3335
|
-
* When this API token was last used to access the Content Delivery API
|
|
3335
|
+
* 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.
|
|
3336
3336
|
*/
|
|
3337
|
-
last_cda_access: 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3337
|
+
last_cda_access: null | 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3338
3338
|
role: RoleData | null;
|
|
3339
3339
|
};
|
|
3340
3340
|
export type AccessTokenCreateTargetSchema = AccessToken;
|
|
@@ -3384,13 +3384,13 @@ export type AccessTokenAttributes = {
|
|
|
3384
3384
|
*/
|
|
3385
3385
|
hardcoded_type: null | string;
|
|
3386
3386
|
/**
|
|
3387
|
-
* When this API token was last used to access the Content Management API
|
|
3387
|
+
* 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.
|
|
3388
3388
|
*/
|
|
3389
|
-
last_cma_access: 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3389
|
+
last_cma_access: null | 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3390
3390
|
/**
|
|
3391
|
-
* When this API token was last used to access the Content Delivery API
|
|
3391
|
+
* 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.
|
|
3392
3392
|
*/
|
|
3393
|
-
last_cda_access: 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3393
|
+
last_cda_access: null | 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
3394
3394
|
};
|
|
3395
3395
|
/**
|
|
3396
3396
|
* JSON API links
|
|
@@ -6788,9 +6788,9 @@ export type Plugin = {
|
|
|
6788
6788
|
*/
|
|
6789
6789
|
url: string;
|
|
6790
6790
|
/**
|
|
6791
|
-
* 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.
|
|
6791
|
+
* 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.
|
|
6792
6792
|
*/
|
|
6793
|
-
parameters: {
|
|
6793
|
+
parameters: null | {
|
|
6794
6794
|
[k: string]: unknown;
|
|
6795
6795
|
};
|
|
6796
6796
|
/**
|
|
@@ -6872,9 +6872,9 @@ export type PluginAttributes = {
|
|
|
6872
6872
|
*/
|
|
6873
6873
|
url: string;
|
|
6874
6874
|
/**
|
|
6875
|
-
* 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.
|
|
6875
|
+
* 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.
|
|
6876
6876
|
*/
|
|
6877
|
-
parameters: {
|
|
6877
|
+
parameters: null | {
|
|
6878
6878
|
[k: string]: unknown;
|
|
6879
6879
|
};
|
|
6880
6880
|
/**
|
|
@@ -8838,13 +8838,13 @@ export type Webhook = {
|
|
|
8838
8838
|
*/
|
|
8839
8839
|
http_basic_user: string | null;
|
|
8840
8840
|
/**
|
|
8841
|
-
* HTTP Basic Authorization password
|
|
8841
|
+
* 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.
|
|
8842
8842
|
*/
|
|
8843
8843
|
http_basic_password: string | null;
|
|
8844
8844
|
/**
|
|
8845
|
-
* Additional headers that will be sent
|
|
8845
|
+
* Additional headers that will be sent. It returns `null` if the credentials you are using cannot manage the webhooks of the project.
|
|
8846
8846
|
*/
|
|
8847
|
-
headers: {
|
|
8847
|
+
headers: null | {
|
|
8848
8848
|
[k: string]: string;
|
|
8849
8849
|
};
|
|
8850
8850
|
events: {
|
|
@@ -8913,13 +8913,13 @@ export type WebhookAttributes = {
|
|
|
8913
8913
|
*/
|
|
8914
8914
|
http_basic_user: string | null;
|
|
8915
8915
|
/**
|
|
8916
|
-
* HTTP Basic Authorization password
|
|
8916
|
+
* 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.
|
|
8917
8917
|
*/
|
|
8918
8918
|
http_basic_password: string | null;
|
|
8919
8919
|
/**
|
|
8920
|
-
* Additional headers that will be sent
|
|
8920
|
+
* Additional headers that will be sent. It returns `null` if the credentials you are using cannot manage the webhooks of the project.
|
|
8921
8921
|
*/
|
|
8922
|
-
headers: {
|
|
8922
|
+
headers: null | {
|
|
8923
8923
|
[k: string]: string;
|
|
8924
8924
|
};
|
|
8925
8925
|
events: {
|
|
@@ -8986,7 +8986,7 @@ export type WebhookCreateSchema = {
|
|
|
8986
8986
|
*/
|
|
8987
8987
|
http_basic_user: string | null;
|
|
8988
8988
|
/**
|
|
8989
|
-
* HTTP Basic Authorization password
|
|
8989
|
+
* 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.
|
|
8990
8990
|
*/
|
|
8991
8991
|
http_basic_password: string | null;
|
|
8992
8992
|
/**
|
|
@@ -9047,7 +9047,7 @@ export type WebhookUpdateSchema = {
|
|
|
9047
9047
|
*/
|
|
9048
9048
|
http_basic_user?: string | null;
|
|
9049
9049
|
/**
|
|
9050
|
-
* HTTP Basic Authorization password
|
|
9050
|
+
* 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.
|
|
9051
9051
|
*/
|
|
9052
9052
|
http_basic_password?: string | null;
|
|
9053
9053
|
/**
|
|
@@ -9240,9 +9240,9 @@ export type BuildTrigger = {
|
|
|
9240
9240
|
*/
|
|
9241
9241
|
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
|
|
9242
9242
|
/**
|
|
9243
|
-
* Additional settings for the build trigger. The value depends on the `adapter`.
|
|
9243
|
+
* 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.
|
|
9244
9244
|
*/
|
|
9245
|
-
adapter_settings: {
|
|
9245
|
+
adapter_settings: null | {
|
|
9246
9246
|
[k: string]: unknown;
|
|
9247
9247
|
};
|
|
9248
9248
|
/**
|
|
@@ -9254,13 +9254,13 @@ export type BuildTrigger = {
|
|
|
9254
9254
|
*/
|
|
9255
9255
|
build_status: string;
|
|
9256
9256
|
/**
|
|
9257
|
-
* Unique token for the webhook (it's the same token present in `webhook_url`)
|
|
9257
|
+
* 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.
|
|
9258
9258
|
*/
|
|
9259
|
-
webhook_token
|
|
9259
|
+
webhook_token: null | string;
|
|
9260
9260
|
/**
|
|
9261
|
-
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
|
|
9261
|
+
* 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.
|
|
9262
9262
|
*/
|
|
9263
|
-
webhook_url: string;
|
|
9263
|
+
webhook_url: null | string;
|
|
9264
9264
|
/**
|
|
9265
9265
|
* Status of Site Search for the frontend
|
|
9266
9266
|
*/
|
|
@@ -9302,9 +9302,9 @@ export type BuildTriggerAttributes = {
|
|
|
9302
9302
|
*/
|
|
9303
9303
|
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
|
|
9304
9304
|
/**
|
|
9305
|
-
* Additional settings for the build trigger. The value depends on the `adapter`.
|
|
9305
|
+
* 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.
|
|
9306
9306
|
*/
|
|
9307
|
-
adapter_settings: {
|
|
9307
|
+
adapter_settings: null | {
|
|
9308
9308
|
[k: string]: unknown;
|
|
9309
9309
|
};
|
|
9310
9310
|
/**
|
|
@@ -9316,13 +9316,13 @@ export type BuildTriggerAttributes = {
|
|
|
9316
9316
|
*/
|
|
9317
9317
|
build_status: string;
|
|
9318
9318
|
/**
|
|
9319
|
-
* Unique token for the webhook (it's the same token present in `webhook_url`)
|
|
9319
|
+
* 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.
|
|
9320
9320
|
*/
|
|
9321
|
-
webhook_token
|
|
9321
|
+
webhook_token: null | string;
|
|
9322
9322
|
/**
|
|
9323
|
-
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
|
|
9323
|
+
* 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.
|
|
9324
9324
|
*/
|
|
9325
|
-
webhook_url: string;
|
|
9325
|
+
webhook_url: null | string;
|
|
9326
9326
|
/**
|
|
9327
9327
|
* Status of Site Search for the frontend
|
|
9328
9328
|
*/
|
|
@@ -10993,7 +10993,7 @@ export type Site = {
|
|
|
10993
10993
|
*/
|
|
10994
10994
|
imgix_host: string | null;
|
|
10995
10995
|
/**
|
|
10996
|
-
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot
|
|
10996
|
+
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
10997
10997
|
*/
|
|
10998
10998
|
internal_domain: string | null;
|
|
10999
10999
|
/**
|
|
@@ -11017,11 +11017,11 @@ export type Site = {
|
|
|
11017
11017
|
*/
|
|
11018
11018
|
last_data_change_at: null | string;
|
|
11019
11019
|
/**
|
|
11020
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication. Returns `null` if the credentials you are using cannot
|
|
11020
|
+
* 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.
|
|
11021
11021
|
*/
|
|
11022
11022
|
require_2fa: boolean | null;
|
|
11023
11023
|
/**
|
|
11024
|
-
* Specifies whether you want IPs to be tracked in the Project usages section. Returns `null` if the credentials you are using cannot
|
|
11024
|
+
* 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.
|
|
11025
11025
|
*/
|
|
11026
11026
|
ip_tracking_enabled: boolean | null;
|
|
11027
11027
|
/**
|
|
@@ -11340,7 +11340,7 @@ export type SiteAttributes = {
|
|
|
11340
11340
|
*/
|
|
11341
11341
|
imgix_host: string | null;
|
|
11342
11342
|
/**
|
|
11343
|
-
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot
|
|
11343
|
+
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
11344
11344
|
*/
|
|
11345
11345
|
internal_domain: string | null;
|
|
11346
11346
|
/**
|
|
@@ -11364,11 +11364,11 @@ export type SiteAttributes = {
|
|
|
11364
11364
|
*/
|
|
11365
11365
|
last_data_change_at: null | string;
|
|
11366
11366
|
/**
|
|
11367
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication. Returns `null` if the credentials you are using cannot
|
|
11367
|
+
* 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.
|
|
11368
11368
|
*/
|
|
11369
11369
|
require_2fa: boolean | null;
|
|
11370
11370
|
/**
|
|
11371
|
-
* Specifies whether you want IPs to be tracked in the Project usages section. Returns `null` if the credentials you are using cannot
|
|
11371
|
+
* 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.
|
|
11372
11372
|
*/
|
|
11373
11373
|
ip_tracking_enabled: boolean | null;
|
|
11374
11374
|
/**
|
|
@@ -59,7 +59,7 @@ export class Client {
|
|
|
59
59
|
...this.config,
|
|
60
60
|
...options,
|
|
61
61
|
logFn: this.config.logFn || console.log,
|
|
62
|
-
userAgent: '@datocms/cma-client v6.
|
|
62
|
+
userAgent: '@datocms/cma-client v6.4.0',
|
|
63
63
|
baseUrl: this.baseUrl,
|
|
64
64
|
preCallStack: new Error().stack,
|
|
65
65
|
extraHeaders: {
|
|
@@ -2688,9 +2688,9 @@ export type UserAttributes = {
|
|
|
2688
2688
|
*/
|
|
2689
2689
|
email: string;
|
|
2690
2690
|
/**
|
|
2691
|
-
* Whether 2-factor authentication is active for this account or not
|
|
2691
|
+
* 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.
|
|
2692
2692
|
*/
|
|
2693
|
-
is_2fa_active: boolean;
|
|
2693
|
+
is_2fa_active: boolean | null;
|
|
2694
2694
|
/**
|
|
2695
2695
|
* Full name
|
|
2696
2696
|
*/
|
|
@@ -2722,7 +2722,7 @@ export type UserRelationships = {
|
|
|
2722
2722
|
*/
|
|
2723
2723
|
export type UserMeta = {
|
|
2724
2724
|
/**
|
|
2725
|
-
* Date of last reading/interaction
|
|
2725
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the collaborators of the project.
|
|
2726
2726
|
*/
|
|
2727
2727
|
last_access: string | null;
|
|
2728
2728
|
};
|
|
@@ -2815,7 +2815,7 @@ export type SsoUserAttributes = {
|
|
|
2815
2815
|
*/
|
|
2816
2816
|
username: string;
|
|
2817
2817
|
/**
|
|
2818
|
-
* Identity provider ID
|
|
2818
|
+
* Identity provider ID. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
2819
2819
|
*/
|
|
2820
2820
|
external_id: string | null;
|
|
2821
2821
|
/**
|
|
@@ -2869,7 +2869,7 @@ export type SsoGroupData = {
|
|
|
2869
2869
|
*/
|
|
2870
2870
|
export type SsoUserMeta = {
|
|
2871
2871
|
/**
|
|
2872
|
-
* Date of last reading/interaction
|
|
2872
|
+
* Date of last reading/interaction. It returns `null` if the credentials you are using cannot manage the SSO users of the project.
|
|
2873
2873
|
*/
|
|
2874
2874
|
last_access: string | null;
|
|
2875
2875
|
};
|
|
@@ -2964,13 +2964,13 @@ export type AccessTokenAttributes = {
|
|
|
2964
2964
|
*/
|
|
2965
2965
|
hardcoded_type: null | string;
|
|
2966
2966
|
/**
|
|
2967
|
-
* When this API token was last used to access the Content Management API
|
|
2967
|
+
* 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.
|
|
2968
2968
|
*/
|
|
2969
|
-
last_cma_access: 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
2969
|
+
last_cma_access: null | 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
2970
2970
|
/**
|
|
2971
|
-
* When this API token was last used to access the Content Delivery API
|
|
2971
|
+
* 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.
|
|
2972
2972
|
*/
|
|
2973
|
-
last_cda_access: 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
2973
|
+
last_cda_access: null | 'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'never';
|
|
2974
2974
|
};
|
|
2975
2975
|
/**
|
|
2976
2976
|
* JSON API links
|
|
@@ -6620,9 +6620,9 @@ export type PluginAttributes = {
|
|
|
6620
6620
|
*/
|
|
6621
6621
|
url: string;
|
|
6622
6622
|
/**
|
|
6623
|
-
* 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.
|
|
6623
|
+
* 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.
|
|
6624
6624
|
*/
|
|
6625
|
-
parameters: {
|
|
6625
|
+
parameters: null | {
|
|
6626
6626
|
[k: string]: unknown;
|
|
6627
6627
|
};
|
|
6628
6628
|
/**
|
|
@@ -9207,13 +9207,13 @@ export type WebhookAttributes = {
|
|
|
9207
9207
|
*/
|
|
9208
9208
|
http_basic_user: string | null;
|
|
9209
9209
|
/**
|
|
9210
|
-
* HTTP Basic Authorization password
|
|
9210
|
+
* 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.
|
|
9211
9211
|
*/
|
|
9212
9212
|
http_basic_password: string | null;
|
|
9213
9213
|
/**
|
|
9214
|
-
* Additional headers that will be sent
|
|
9214
|
+
* Additional headers that will be sent. It returns `null` if the credentials you are using cannot manage the webhooks of the project.
|
|
9215
9215
|
*/
|
|
9216
|
-
headers: {
|
|
9216
|
+
headers: null | {
|
|
9217
9217
|
[k: string]: string;
|
|
9218
9218
|
};
|
|
9219
9219
|
events: {
|
|
@@ -9292,7 +9292,7 @@ export type WebhookCreateSchema = {
|
|
|
9292
9292
|
*/
|
|
9293
9293
|
http_basic_user: string | null;
|
|
9294
9294
|
/**
|
|
9295
|
-
* HTTP Basic Authorization password
|
|
9295
|
+
* 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.
|
|
9296
9296
|
*/
|
|
9297
9297
|
http_basic_password: string | null;
|
|
9298
9298
|
/**
|
|
@@ -9364,7 +9364,7 @@ export type WebhookUpdateSchema = {
|
|
|
9364
9364
|
*/
|
|
9365
9365
|
http_basic_user?: string | null;
|
|
9366
9366
|
/**
|
|
9367
|
-
* HTTP Basic Authorization password
|
|
9367
|
+
* 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.
|
|
9368
9368
|
*/
|
|
9369
9369
|
http_basic_password?: string | null;
|
|
9370
9370
|
/**
|
|
@@ -9564,9 +9564,9 @@ export type BuildTriggerAttributes = {
|
|
|
9564
9564
|
*/
|
|
9565
9565
|
adapter: 'custom' | 'netlify' | 'vercel' | 'gitlab';
|
|
9566
9566
|
/**
|
|
9567
|
-
* Additional settings for the build trigger. The value depends on the `adapter`.
|
|
9567
|
+
* 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.
|
|
9568
9568
|
*/
|
|
9569
|
-
adapter_settings: {
|
|
9569
|
+
adapter_settings: null | {
|
|
9570
9570
|
[k: string]: unknown;
|
|
9571
9571
|
};
|
|
9572
9572
|
/**
|
|
@@ -9578,13 +9578,13 @@ export type BuildTriggerAttributes = {
|
|
|
9578
9578
|
*/
|
|
9579
9579
|
build_status: string;
|
|
9580
9580
|
/**
|
|
9581
|
-
* Unique token for the webhook (it's the same token present in `webhook_url`)
|
|
9581
|
+
* 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.
|
|
9582
9582
|
*/
|
|
9583
|
-
webhook_token
|
|
9583
|
+
webhook_token: null | string;
|
|
9584
9584
|
/**
|
|
9585
|
-
* The URL of the webhook your service has to call when the build completes to report it's status (success or error)
|
|
9585
|
+
* 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.
|
|
9586
9586
|
*/
|
|
9587
|
-
webhook_url: string;
|
|
9587
|
+
webhook_url: null | string;
|
|
9588
9588
|
/**
|
|
9589
9589
|
* Status of Site Search for the frontend
|
|
9590
9590
|
*/
|
|
@@ -11425,7 +11425,7 @@ export type SiteAttributes = {
|
|
|
11425
11425
|
*/
|
|
11426
11426
|
imgix_host: string | null;
|
|
11427
11427
|
/**
|
|
11428
|
-
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot
|
|
11428
|
+
* DatoCMS internal domain for the administrative area. Returns `null` if the credentials you are using cannot read the configuration of the project.
|
|
11429
11429
|
*/
|
|
11430
11430
|
internal_domain: string | null;
|
|
11431
11431
|
/**
|
|
@@ -11449,11 +11449,11 @@ export type SiteAttributes = {
|
|
|
11449
11449
|
*/
|
|
11450
11450
|
last_data_change_at: null | string;
|
|
11451
11451
|
/**
|
|
11452
|
-
* Specifies whether all users of this site need to authenticate using two-factor authentication. Returns `null` if the credentials you are using cannot
|
|
11452
|
+
* 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.
|
|
11453
11453
|
*/
|
|
11454
11454
|
require_2fa: boolean | null;
|
|
11455
11455
|
/**
|
|
11456
|
-
* Specifies whether you want IPs to be tracked in the Project usages section. Returns `null` if the credentials you are using cannot
|
|
11456
|
+
* 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.
|
|
11457
11457
|
*/
|
|
11458
11458
|
ip_tracking_enabled: boolean | null;
|
|
11459
11459
|
/**
|