@datocms/cma-client 1.0.0 → 1.0.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/esm/generated/SchemaTypes.d.ts +7 -43
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +11 -59
- package/dist/types/generated/SchemaTypes.d.ts +7 -43
- package/dist/types/generated/SimpleSchemaTypes.d.ts +11 -59
- package/package.json +3 -3
- package/src/generated/SchemaTypes.ts +7 -54
- package/src/generated/SimpleSchemaTypes.ts +11 -59
|
@@ -2959,6 +2959,10 @@ export declare type SitePlanAttributes = {
|
|
|
2959
2959
|
* Whether translator roles are enabled or not
|
|
2960
2960
|
*/
|
|
2961
2961
|
translator_roles: boolean;
|
|
2962
|
+
/**
|
|
2963
|
+
* Whether or not use a static IP when sending webhooks
|
|
2964
|
+
*/
|
|
2965
|
+
static_webhooks_ip: boolean;
|
|
2962
2966
|
/**
|
|
2963
2967
|
* Available extra packets
|
|
2964
2968
|
*/
|
|
@@ -4046,7 +4050,7 @@ export declare type ItemTypeDestroyJobSchema = {
|
|
|
4046
4050
|
* | Parameter | Type | Required | Description |
|
|
4047
4051
|
* | ----------------- | ----------------------------------------- | -------- | ------------------------------ |
|
|
4048
4052
|
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4049
|
-
* | `predefined_list` | one of `"image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4053
|
+
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4050
4054
|
*
|
|
4051
4055
|
* Only one of the parameters must be specified.
|
|
4052
4056
|
*
|
|
@@ -8995,10 +8999,6 @@ export declare type SiteAttributes = {
|
|
|
8995
8999
|
* Specifies the last time when a change of data occurred
|
|
8996
9000
|
*/
|
|
8997
9001
|
last_data_change_at: null | string;
|
|
8998
|
-
/**
|
|
8999
|
-
* Frontend website url
|
|
9000
|
-
*/
|
|
9001
|
-
frontend_url: string | null;
|
|
9002
9002
|
/**
|
|
9003
9003
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
9004
9004
|
*/
|
|
@@ -9091,48 +9091,12 @@ export declare type SiteRelationships = {
|
|
|
9091
9091
|
account: {
|
|
9092
9092
|
data: AccountData;
|
|
9093
9093
|
};
|
|
9094
|
-
build_triggers?: {
|
|
9095
|
-
/**
|
|
9096
|
-
* The list of build trigger
|
|
9097
|
-
*/
|
|
9098
|
-
data: BuildTriggerData[];
|
|
9099
|
-
};
|
|
9100
|
-
menu_items: {
|
|
9101
|
-
/**
|
|
9102
|
-
* The list of site menu items
|
|
9103
|
-
*/
|
|
9104
|
-
data: MenuItemData[];
|
|
9105
|
-
};
|
|
9106
|
-
sso_users: {
|
|
9107
|
-
/**
|
|
9108
|
-
* The list of site SSO users
|
|
9109
|
-
*/
|
|
9110
|
-
data: SsoUserData[];
|
|
9111
|
-
};
|
|
9112
|
-
users: {
|
|
9113
|
-
/**
|
|
9114
|
-
* The list of site users
|
|
9115
|
-
*/
|
|
9116
|
-
data: UserData[];
|
|
9117
|
-
};
|
|
9118
9094
|
item_types: {
|
|
9119
9095
|
/**
|
|
9120
|
-
* The list
|
|
9096
|
+
* The list item types for the site
|
|
9121
9097
|
*/
|
|
9122
9098
|
data: ItemTypeData[];
|
|
9123
9099
|
};
|
|
9124
|
-
sso_default_role?: {
|
|
9125
|
-
/**
|
|
9126
|
-
* Specifies the default role for newly created identity providers users
|
|
9127
|
-
*/
|
|
9128
|
-
data: RoleData[];
|
|
9129
|
-
};
|
|
9130
|
-
roles: {
|
|
9131
|
-
/**
|
|
9132
|
-
* The list of site roles
|
|
9133
|
-
*/
|
|
9134
|
-
data: RoleData[];
|
|
9135
|
-
};
|
|
9136
9100
|
};
|
|
9137
9101
|
/**
|
|
9138
9102
|
* Meta attributes
|
|
@@ -9162,7 +9126,7 @@ export declare type SiteData = {
|
|
|
9162
9126
|
*/
|
|
9163
9127
|
export declare type SiteSelfTargetSchema = {
|
|
9164
9128
|
data: Site;
|
|
9165
|
-
included?: (
|
|
9129
|
+
included?: (ItemType | Field | Upload | Fieldset | Item | Account)[];
|
|
9166
9130
|
};
|
|
9167
9131
|
/**
|
|
9168
9132
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
@@ -3336,6 +3336,10 @@ export declare type SitePlan = {
|
|
|
3336
3336
|
* Whether translator roles are enabled or not
|
|
3337
3337
|
*/
|
|
3338
3338
|
translator_roles: boolean;
|
|
3339
|
+
/**
|
|
3340
|
+
* Whether or not use a static IP when sending webhooks
|
|
3341
|
+
*/
|
|
3342
|
+
static_webhooks_ip: boolean;
|
|
3339
3343
|
/**
|
|
3340
3344
|
* Available extra packets
|
|
3341
3345
|
*/
|
|
@@ -3552,6 +3556,10 @@ export declare type SitePlanAttributes = {
|
|
|
3552
3556
|
* Whether translator roles are enabled or not
|
|
3553
3557
|
*/
|
|
3554
3558
|
translator_roles: boolean;
|
|
3559
|
+
/**
|
|
3560
|
+
* Whether or not use a static IP when sending webhooks
|
|
3561
|
+
*/
|
|
3562
|
+
static_webhooks_ip: boolean;
|
|
3555
3563
|
/**
|
|
3556
3564
|
* Available extra packets
|
|
3557
3565
|
*/
|
|
@@ -4560,7 +4568,7 @@ export declare type JobData = {
|
|
|
4560
4568
|
* | Parameter | Type | Required | Description |
|
|
4561
4569
|
* | ----------------- | ----------------------------------------- | -------- | ------------------------------ |
|
|
4562
4570
|
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4563
|
-
* | `predefined_list` | one of `"image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4571
|
+
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4564
4572
|
*
|
|
4565
4573
|
* Only one of the parameters must be specified.
|
|
4566
4574
|
*
|
|
@@ -8760,10 +8768,6 @@ export declare type Site = {
|
|
|
8760
8768
|
* Specifies the last time when a change of data occurred
|
|
8761
8769
|
*/
|
|
8762
8770
|
last_data_change_at: null | string;
|
|
8763
|
-
/**
|
|
8764
|
-
* Frontend website url
|
|
8765
|
-
*/
|
|
8766
|
-
frontend_url: string | null;
|
|
8767
8771
|
/**
|
|
8768
8772
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
8769
8773
|
*/
|
|
@@ -8847,33 +8851,9 @@ export declare type Site = {
|
|
|
8847
8851
|
} | null;
|
|
8848
8852
|
account: AccountData;
|
|
8849
8853
|
/**
|
|
8850
|
-
* The list
|
|
8851
|
-
*/
|
|
8852
|
-
build_triggers?: BuildTriggerData[];
|
|
8853
|
-
/**
|
|
8854
|
-
* The list of site menu items
|
|
8855
|
-
*/
|
|
8856
|
-
menu_items: MenuItemData[];
|
|
8857
|
-
/**
|
|
8858
|
-
* The list of site SSO users
|
|
8859
|
-
*/
|
|
8860
|
-
sso_users: SsoUserData[];
|
|
8861
|
-
/**
|
|
8862
|
-
* The list of site users
|
|
8863
|
-
*/
|
|
8864
|
-
users: UserData[];
|
|
8865
|
-
/**
|
|
8866
|
-
* The list of site item types
|
|
8854
|
+
* The list item types for the site
|
|
8867
8855
|
*/
|
|
8868
8856
|
item_types: ItemTypeData[];
|
|
8869
|
-
/**
|
|
8870
|
-
* Specifies the default role for newly created identity providers users
|
|
8871
|
-
*/
|
|
8872
|
-
sso_default_role?: RoleData[];
|
|
8873
|
-
/**
|
|
8874
|
-
* The list of site roles
|
|
8875
|
-
*/
|
|
8876
|
-
roles: RoleData[];
|
|
8877
8857
|
meta: SiteMeta;
|
|
8878
8858
|
};
|
|
8879
8859
|
export declare type SiteSelfTargetSchema = Site;
|
|
@@ -8948,10 +8928,6 @@ export declare type SiteAttributes = {
|
|
|
8948
8928
|
* Specifies the last time when a change of data occurred
|
|
8949
8929
|
*/
|
|
8950
8930
|
last_data_change_at: null | string;
|
|
8951
|
-
/**
|
|
8952
|
-
* Frontend website url
|
|
8953
|
-
*/
|
|
8954
|
-
frontend_url: string | null;
|
|
8955
8931
|
/**
|
|
8956
8932
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
8957
8933
|
*/
|
|
@@ -9043,33 +9019,9 @@ export declare type SiteAttributes = {
|
|
|
9043
9019
|
export declare type SiteRelationships = {
|
|
9044
9020
|
account: AccountData;
|
|
9045
9021
|
/**
|
|
9046
|
-
* The list
|
|
9047
|
-
*/
|
|
9048
|
-
build_triggers?: BuildTriggerData[];
|
|
9049
|
-
/**
|
|
9050
|
-
* The list of site menu items
|
|
9051
|
-
*/
|
|
9052
|
-
menu_items: MenuItemData[];
|
|
9053
|
-
/**
|
|
9054
|
-
* The list of site SSO users
|
|
9055
|
-
*/
|
|
9056
|
-
sso_users: SsoUserData[];
|
|
9057
|
-
/**
|
|
9058
|
-
* The list of site users
|
|
9059
|
-
*/
|
|
9060
|
-
users: UserData[];
|
|
9061
|
-
/**
|
|
9062
|
-
* The list of site item types
|
|
9022
|
+
* The list item types for the site
|
|
9063
9023
|
*/
|
|
9064
9024
|
item_types: ItemTypeData[];
|
|
9065
|
-
/**
|
|
9066
|
-
* Specifies the default role for newly created identity providers users
|
|
9067
|
-
*/
|
|
9068
|
-
sso_default_role?: RoleData[];
|
|
9069
|
-
/**
|
|
9070
|
-
* The list of site roles
|
|
9071
|
-
*/
|
|
9072
|
-
roles: RoleData[];
|
|
9073
9025
|
};
|
|
9074
9026
|
/**
|
|
9075
9027
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
@@ -2959,6 +2959,10 @@ export declare type SitePlanAttributes = {
|
|
|
2959
2959
|
* Whether translator roles are enabled or not
|
|
2960
2960
|
*/
|
|
2961
2961
|
translator_roles: boolean;
|
|
2962
|
+
/**
|
|
2963
|
+
* Whether or not use a static IP when sending webhooks
|
|
2964
|
+
*/
|
|
2965
|
+
static_webhooks_ip: boolean;
|
|
2962
2966
|
/**
|
|
2963
2967
|
* Available extra packets
|
|
2964
2968
|
*/
|
|
@@ -4046,7 +4050,7 @@ export declare type ItemTypeDestroyJobSchema = {
|
|
|
4046
4050
|
* | Parameter | Type | Required | Description |
|
|
4047
4051
|
* | ----------------- | ----------------------------------------- | -------- | ------------------------------ |
|
|
4048
4052
|
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4049
|
-
* | `predefined_list` | one of `"image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4053
|
+
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4050
4054
|
*
|
|
4051
4055
|
* Only one of the parameters must be specified.
|
|
4052
4056
|
*
|
|
@@ -8995,10 +8999,6 @@ export declare type SiteAttributes = {
|
|
|
8995
8999
|
* Specifies the last time when a change of data occurred
|
|
8996
9000
|
*/
|
|
8997
9001
|
last_data_change_at: null | string;
|
|
8998
|
-
/**
|
|
8999
|
-
* Frontend website url
|
|
9000
|
-
*/
|
|
9001
|
-
frontend_url: string | null;
|
|
9002
9002
|
/**
|
|
9003
9003
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
9004
9004
|
*/
|
|
@@ -9091,48 +9091,12 @@ export declare type SiteRelationships = {
|
|
|
9091
9091
|
account: {
|
|
9092
9092
|
data: AccountData;
|
|
9093
9093
|
};
|
|
9094
|
-
build_triggers?: {
|
|
9095
|
-
/**
|
|
9096
|
-
* The list of build trigger
|
|
9097
|
-
*/
|
|
9098
|
-
data: BuildTriggerData[];
|
|
9099
|
-
};
|
|
9100
|
-
menu_items: {
|
|
9101
|
-
/**
|
|
9102
|
-
* The list of site menu items
|
|
9103
|
-
*/
|
|
9104
|
-
data: MenuItemData[];
|
|
9105
|
-
};
|
|
9106
|
-
sso_users: {
|
|
9107
|
-
/**
|
|
9108
|
-
* The list of site SSO users
|
|
9109
|
-
*/
|
|
9110
|
-
data: SsoUserData[];
|
|
9111
|
-
};
|
|
9112
|
-
users: {
|
|
9113
|
-
/**
|
|
9114
|
-
* The list of site users
|
|
9115
|
-
*/
|
|
9116
|
-
data: UserData[];
|
|
9117
|
-
};
|
|
9118
9094
|
item_types: {
|
|
9119
9095
|
/**
|
|
9120
|
-
* The list
|
|
9096
|
+
* The list item types for the site
|
|
9121
9097
|
*/
|
|
9122
9098
|
data: ItemTypeData[];
|
|
9123
9099
|
};
|
|
9124
|
-
sso_default_role?: {
|
|
9125
|
-
/**
|
|
9126
|
-
* Specifies the default role for newly created identity providers users
|
|
9127
|
-
*/
|
|
9128
|
-
data: RoleData[];
|
|
9129
|
-
};
|
|
9130
|
-
roles: {
|
|
9131
|
-
/**
|
|
9132
|
-
* The list of site roles
|
|
9133
|
-
*/
|
|
9134
|
-
data: RoleData[];
|
|
9135
|
-
};
|
|
9136
9100
|
};
|
|
9137
9101
|
/**
|
|
9138
9102
|
* Meta attributes
|
|
@@ -9162,7 +9126,7 @@ export declare type SiteData = {
|
|
|
9162
9126
|
*/
|
|
9163
9127
|
export declare type SiteSelfTargetSchema = {
|
|
9164
9128
|
data: Site;
|
|
9165
|
-
included?: (
|
|
9129
|
+
included?: (ItemType | Field | Upload | Fieldset | Item | Account)[];
|
|
9166
9130
|
};
|
|
9167
9131
|
/**
|
|
9168
9132
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
@@ -3336,6 +3336,10 @@ export declare type SitePlan = {
|
|
|
3336
3336
|
* Whether translator roles are enabled or not
|
|
3337
3337
|
*/
|
|
3338
3338
|
translator_roles: boolean;
|
|
3339
|
+
/**
|
|
3340
|
+
* Whether or not use a static IP when sending webhooks
|
|
3341
|
+
*/
|
|
3342
|
+
static_webhooks_ip: boolean;
|
|
3339
3343
|
/**
|
|
3340
3344
|
* Available extra packets
|
|
3341
3345
|
*/
|
|
@@ -3552,6 +3556,10 @@ export declare type SitePlanAttributes = {
|
|
|
3552
3556
|
* Whether translator roles are enabled or not
|
|
3553
3557
|
*/
|
|
3554
3558
|
translator_roles: boolean;
|
|
3559
|
+
/**
|
|
3560
|
+
* Whether or not use a static IP when sending webhooks
|
|
3561
|
+
*/
|
|
3562
|
+
static_webhooks_ip: boolean;
|
|
3555
3563
|
/**
|
|
3556
3564
|
* Available extra packets
|
|
3557
3565
|
*/
|
|
@@ -4560,7 +4568,7 @@ export declare type JobData = {
|
|
|
4560
4568
|
* | Parameter | Type | Required | Description |
|
|
4561
4569
|
* | ----------------- | ----------------------------------------- | -------- | ------------------------------ |
|
|
4562
4570
|
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4563
|
-
* | `predefined_list` | one of `"image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4571
|
+
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4564
4572
|
*
|
|
4565
4573
|
* Only one of the parameters must be specified.
|
|
4566
4574
|
*
|
|
@@ -8760,10 +8768,6 @@ export declare type Site = {
|
|
|
8760
8768
|
* Specifies the last time when a change of data occurred
|
|
8761
8769
|
*/
|
|
8762
8770
|
last_data_change_at: null | string;
|
|
8763
|
-
/**
|
|
8764
|
-
* Frontend website url
|
|
8765
|
-
*/
|
|
8766
|
-
frontend_url: string | null;
|
|
8767
8771
|
/**
|
|
8768
8772
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
8769
8773
|
*/
|
|
@@ -8847,33 +8851,9 @@ export declare type Site = {
|
|
|
8847
8851
|
} | null;
|
|
8848
8852
|
account: AccountData;
|
|
8849
8853
|
/**
|
|
8850
|
-
* The list
|
|
8851
|
-
*/
|
|
8852
|
-
build_triggers?: BuildTriggerData[];
|
|
8853
|
-
/**
|
|
8854
|
-
* The list of site menu items
|
|
8855
|
-
*/
|
|
8856
|
-
menu_items: MenuItemData[];
|
|
8857
|
-
/**
|
|
8858
|
-
* The list of site SSO users
|
|
8859
|
-
*/
|
|
8860
|
-
sso_users: SsoUserData[];
|
|
8861
|
-
/**
|
|
8862
|
-
* The list of site users
|
|
8863
|
-
*/
|
|
8864
|
-
users: UserData[];
|
|
8865
|
-
/**
|
|
8866
|
-
* The list of site item types
|
|
8854
|
+
* The list item types for the site
|
|
8867
8855
|
*/
|
|
8868
8856
|
item_types: ItemTypeData[];
|
|
8869
|
-
/**
|
|
8870
|
-
* Specifies the default role for newly created identity providers users
|
|
8871
|
-
*/
|
|
8872
|
-
sso_default_role?: RoleData[];
|
|
8873
|
-
/**
|
|
8874
|
-
* The list of site roles
|
|
8875
|
-
*/
|
|
8876
|
-
roles: RoleData[];
|
|
8877
8857
|
meta: SiteMeta;
|
|
8878
8858
|
};
|
|
8879
8859
|
export declare type SiteSelfTargetSchema = Site;
|
|
@@ -8948,10 +8928,6 @@ export declare type SiteAttributes = {
|
|
|
8948
8928
|
* Specifies the last time when a change of data occurred
|
|
8949
8929
|
*/
|
|
8950
8930
|
last_data_change_at: null | string;
|
|
8951
|
-
/**
|
|
8952
|
-
* Frontend website url
|
|
8953
|
-
*/
|
|
8954
|
-
frontend_url: string | null;
|
|
8955
8931
|
/**
|
|
8956
8932
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
8957
8933
|
*/
|
|
@@ -9043,33 +9019,9 @@ export declare type SiteAttributes = {
|
|
|
9043
9019
|
export declare type SiteRelationships = {
|
|
9044
9020
|
account: AccountData;
|
|
9045
9021
|
/**
|
|
9046
|
-
* The list
|
|
9047
|
-
*/
|
|
9048
|
-
build_triggers?: BuildTriggerData[];
|
|
9049
|
-
/**
|
|
9050
|
-
* The list of site menu items
|
|
9051
|
-
*/
|
|
9052
|
-
menu_items: MenuItemData[];
|
|
9053
|
-
/**
|
|
9054
|
-
* The list of site SSO users
|
|
9055
|
-
*/
|
|
9056
|
-
sso_users: SsoUserData[];
|
|
9057
|
-
/**
|
|
9058
|
-
* The list of site users
|
|
9059
|
-
*/
|
|
9060
|
-
users: UserData[];
|
|
9061
|
-
/**
|
|
9062
|
-
* The list of site item types
|
|
9022
|
+
* The list item types for the site
|
|
9063
9023
|
*/
|
|
9064
9024
|
item_types: ItemTypeData[];
|
|
9065
|
-
/**
|
|
9066
|
-
* Specifies the default role for newly created identity providers users
|
|
9067
|
-
*/
|
|
9068
|
-
sso_default_role?: RoleData[];
|
|
9069
|
-
/**
|
|
9070
|
-
* The list of site roles
|
|
9071
|
-
*/
|
|
9072
|
-
roles: RoleData[];
|
|
9073
9025
|
};
|
|
9074
9026
|
/**
|
|
9075
9027
|
* This interface was referenced by `Site`'s JSON-Schema
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datocms/cma-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "JS client for DatoCMS REST Content Management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@datocms/rest-client-utils": "^1.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@datocms/dashboard-client": "^1.0.
|
|
43
|
+
"@datocms/dashboard-client": "^1.0.1"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "26cb4780ba5250b654e27356a6e948bee52ab989"
|
|
46
46
|
}
|
|
@@ -3175,6 +3175,10 @@ export type SitePlanAttributes = {
|
|
|
3175
3175
|
* Whether translator roles are enabled or not
|
|
3176
3176
|
*/
|
|
3177
3177
|
translator_roles: boolean;
|
|
3178
|
+
/**
|
|
3179
|
+
* Whether or not use a static IP when sending webhooks
|
|
3180
|
+
*/
|
|
3181
|
+
static_webhooks_ip: boolean;
|
|
3178
3182
|
/**
|
|
3179
3183
|
* Available extra packets
|
|
3180
3184
|
*/
|
|
@@ -4310,7 +4314,7 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
4310
4314
|
* | Parameter | Type | Required | Description |
|
|
4311
4315
|
* | ----------------- | ----------------------------------------- | -------- | ------------------------------ |
|
|
4312
4316
|
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4313
|
-
* | `predefined_list` | one of `"image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4317
|
+
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4314
4318
|
*
|
|
4315
4319
|
* Only one of the parameters must be specified.
|
|
4316
4320
|
*
|
|
@@ -9610,10 +9614,6 @@ export type SiteAttributes = {
|
|
|
9610
9614
|
* Specifies the last time when a change of data occurred
|
|
9611
9615
|
*/
|
|
9612
9616
|
last_data_change_at: null | string;
|
|
9613
|
-
/**
|
|
9614
|
-
* Frontend website url
|
|
9615
|
-
*/
|
|
9616
|
-
frontend_url: string | null;
|
|
9617
9617
|
/**
|
|
9618
9618
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
9619
9619
|
*/
|
|
@@ -9707,48 +9707,12 @@ export type SiteRelationships = {
|
|
|
9707
9707
|
account: {
|
|
9708
9708
|
data: AccountData;
|
|
9709
9709
|
};
|
|
9710
|
-
build_triggers?: {
|
|
9711
|
-
/**
|
|
9712
|
-
* The list of build trigger
|
|
9713
|
-
*/
|
|
9714
|
-
data: BuildTriggerData[];
|
|
9715
|
-
};
|
|
9716
|
-
menu_items: {
|
|
9717
|
-
/**
|
|
9718
|
-
* The list of site menu items
|
|
9719
|
-
*/
|
|
9720
|
-
data: MenuItemData[];
|
|
9721
|
-
};
|
|
9722
|
-
sso_users: {
|
|
9723
|
-
/**
|
|
9724
|
-
* The list of site SSO users
|
|
9725
|
-
*/
|
|
9726
|
-
data: SsoUserData[];
|
|
9727
|
-
};
|
|
9728
|
-
users: {
|
|
9729
|
-
/**
|
|
9730
|
-
* The list of site users
|
|
9731
|
-
*/
|
|
9732
|
-
data: UserData[];
|
|
9733
|
-
};
|
|
9734
9710
|
item_types: {
|
|
9735
9711
|
/**
|
|
9736
|
-
* The list
|
|
9712
|
+
* The list item types for the site
|
|
9737
9713
|
*/
|
|
9738
9714
|
data: ItemTypeData[];
|
|
9739
9715
|
};
|
|
9740
|
-
sso_default_role?: {
|
|
9741
|
-
/**
|
|
9742
|
-
* Specifies the default role for newly created identity providers users
|
|
9743
|
-
*/
|
|
9744
|
-
data: RoleData[];
|
|
9745
|
-
};
|
|
9746
|
-
roles: {
|
|
9747
|
-
/**
|
|
9748
|
-
* The list of site roles
|
|
9749
|
-
*/
|
|
9750
|
-
data: RoleData[];
|
|
9751
|
-
};
|
|
9752
9716
|
};
|
|
9753
9717
|
|
|
9754
9718
|
/**
|
|
@@ -9781,18 +9745,7 @@ export type SiteData = {
|
|
|
9781
9745
|
*/
|
|
9782
9746
|
export type SiteSelfTargetSchema = {
|
|
9783
9747
|
data: Site;
|
|
9784
|
-
included?: (
|
|
9785
|
-
| MenuItem
|
|
9786
|
-
| User
|
|
9787
|
-
| ItemType
|
|
9788
|
-
| Role
|
|
9789
|
-
| Field
|
|
9790
|
-
| Upload
|
|
9791
|
-
| SsoUser
|
|
9792
|
-
| Fieldset
|
|
9793
|
-
| Item
|
|
9794
|
-
| Account
|
|
9795
|
-
)[];
|
|
9748
|
+
included?: (ItemType | Field | Upload | Fieldset | Item | Account)[];
|
|
9796
9749
|
};
|
|
9797
9750
|
|
|
9798
9751
|
/**
|
|
@@ -3564,6 +3564,10 @@ export type SitePlan = {
|
|
|
3564
3564
|
* Whether translator roles are enabled or not
|
|
3565
3565
|
*/
|
|
3566
3566
|
translator_roles: boolean;
|
|
3567
|
+
/**
|
|
3568
|
+
* Whether or not use a static IP when sending webhooks
|
|
3569
|
+
*/
|
|
3570
|
+
static_webhooks_ip: boolean;
|
|
3567
3571
|
/**
|
|
3568
3572
|
* Available extra packets
|
|
3569
3573
|
*/
|
|
@@ -3782,6 +3786,10 @@ export type SitePlanAttributes = {
|
|
|
3782
3786
|
* Whether translator roles are enabled or not
|
|
3783
3787
|
*/
|
|
3784
3788
|
translator_roles: boolean;
|
|
3789
|
+
/**
|
|
3790
|
+
* Whether or not use a static IP when sending webhooks
|
|
3791
|
+
*/
|
|
3792
|
+
static_webhooks_ip: boolean;
|
|
3785
3793
|
/**
|
|
3786
3794
|
* Available extra packets
|
|
3787
3795
|
*/
|
|
@@ -4826,7 +4834,7 @@ export type JobData = {
|
|
|
4826
4834
|
* | Parameter | Type | Required | Description |
|
|
4827
4835
|
* | ----------------- | ----------------------------------------- | -------- | ------------------------------ |
|
|
4828
4836
|
* | `extensions` | `Array<String>` | | Set of allowed file extensions |
|
|
4829
|
-
* | `predefined_list` | one of `"image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4837
|
+
* | `predefined_list` | one of `"image"`, `"transformable_image"`, `"video"`, `"document"` | | Allowed file type |
|
|
4830
4838
|
*
|
|
4831
4839
|
* Only one of the parameters must be specified.
|
|
4832
4840
|
*
|
|
@@ -9244,10 +9252,6 @@ export type Site = {
|
|
|
9244
9252
|
* Specifies the last time when a change of data occurred
|
|
9245
9253
|
*/
|
|
9246
9254
|
last_data_change_at: null | string;
|
|
9247
|
-
/**
|
|
9248
|
-
* Frontend website url
|
|
9249
|
-
*/
|
|
9250
|
-
frontend_url: string | null;
|
|
9251
9255
|
/**
|
|
9252
9256
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
9253
9257
|
*/
|
|
@@ -9331,33 +9335,9 @@ export type Site = {
|
|
|
9331
9335
|
} | null;
|
|
9332
9336
|
account: AccountData;
|
|
9333
9337
|
/**
|
|
9334
|
-
* The list
|
|
9335
|
-
*/
|
|
9336
|
-
build_triggers?: BuildTriggerData[];
|
|
9337
|
-
/**
|
|
9338
|
-
* The list of site menu items
|
|
9339
|
-
*/
|
|
9340
|
-
menu_items: MenuItemData[];
|
|
9341
|
-
/**
|
|
9342
|
-
* The list of site SSO users
|
|
9343
|
-
*/
|
|
9344
|
-
sso_users: SsoUserData[];
|
|
9345
|
-
/**
|
|
9346
|
-
* The list of site users
|
|
9347
|
-
*/
|
|
9348
|
-
users: UserData[];
|
|
9349
|
-
/**
|
|
9350
|
-
* The list of site item types
|
|
9338
|
+
* The list item types for the site
|
|
9351
9339
|
*/
|
|
9352
9340
|
item_types: ItemTypeData[];
|
|
9353
|
-
/**
|
|
9354
|
-
* Specifies the default role for newly created identity providers users
|
|
9355
|
-
*/
|
|
9356
|
-
sso_default_role?: RoleData[];
|
|
9357
|
-
/**
|
|
9358
|
-
* The list of site roles
|
|
9359
|
-
*/
|
|
9360
|
-
roles: RoleData[];
|
|
9361
9341
|
meta: SiteMeta;
|
|
9362
9342
|
};
|
|
9363
9343
|
export type SiteSelfTargetSchema = Site;
|
|
@@ -9434,10 +9414,6 @@ export type SiteAttributes = {
|
|
|
9434
9414
|
* Specifies the last time when a change of data occurred
|
|
9435
9415
|
*/
|
|
9436
9416
|
last_data_change_at: null | string;
|
|
9437
|
-
/**
|
|
9438
|
-
* Frontend website url
|
|
9439
|
-
*/
|
|
9440
|
-
frontend_url: string | null;
|
|
9441
9417
|
/**
|
|
9442
9418
|
* Specifies whether all users of this site need to authenticate using two-factor authentication
|
|
9443
9419
|
*/
|
|
@@ -9530,33 +9506,9 @@ export type SiteAttributes = {
|
|
|
9530
9506
|
export type SiteRelationships = {
|
|
9531
9507
|
account: AccountData;
|
|
9532
9508
|
/**
|
|
9533
|
-
* The list
|
|
9534
|
-
*/
|
|
9535
|
-
build_triggers?: BuildTriggerData[];
|
|
9536
|
-
/**
|
|
9537
|
-
* The list of site menu items
|
|
9538
|
-
*/
|
|
9539
|
-
menu_items: MenuItemData[];
|
|
9540
|
-
/**
|
|
9541
|
-
* The list of site SSO users
|
|
9542
|
-
*/
|
|
9543
|
-
sso_users: SsoUserData[];
|
|
9544
|
-
/**
|
|
9545
|
-
* The list of site users
|
|
9546
|
-
*/
|
|
9547
|
-
users: UserData[];
|
|
9548
|
-
/**
|
|
9549
|
-
* The list of site item types
|
|
9509
|
+
* The list item types for the site
|
|
9550
9510
|
*/
|
|
9551
9511
|
item_types: ItemTypeData[];
|
|
9552
|
-
/**
|
|
9553
|
-
* Specifies the default role for newly created identity providers users
|
|
9554
|
-
*/
|
|
9555
|
-
sso_default_role?: RoleData[];
|
|
9556
|
-
/**
|
|
9557
|
-
* The list of site roles
|
|
9558
|
-
*/
|
|
9559
|
-
roles: RoleData[];
|
|
9560
9512
|
};
|
|
9561
9513
|
|
|
9562
9514
|
/**
|